sof icon indicating copy to clipboard operation
sof copied to clipboard

xtensa-build-zephyr.py: add flexibility to generate `tools/` only

Open marc-hb opened this issue 11 months ago • 5 comments

Installing most of the tools/ directory does not technically require building any platform, so add that possibility.

This is useful because the Jenkins-based CI builds the (userspace) tools separately. So far it has been picking hardcoded source paths but of course the HWMv2 transition just broke that:

  • https://github.com/thesofproject/sof/pull/8913

While it's too late this time (we want to keep CI able to test stable branches for some time), this commit prepares a future where all CIs can stop hardcoding Zephyr source paths and pick the output of the xtensa-build-zephyr.py installer and indirection layer instead.

marc-hb avatar Mar 07 '24 05:03 marc-hb

@lrudyX , @wszypelt I can't find any error message in failed https://sof-ci.01.org/sof-pr-viewer/#/build/PR8916/build13686222, can you help?

CAVS https://sof-ci.01.org/sofpr/PR8916/build3192/devicetest/index.html is all green.

ACE https://sof-ci.01.org/sofpr/PR8916/build3191/devicetest/index.html has a lot of unrelated failures.

marc-hb avatar Mar 07 '24 19:03 marc-hb

@marc-hb hmmm problem when creating compilation and empty logs ;/(I need to analyze it) I have already added this PR to the queue. I think there will be new results within an hour or two

wszypelt avatar Mar 08 '24 09:03 wszypelt

I have already added this PR to the queue. I think there will be new results within an hour or two

https://sof-ci.01.org/sof-pr-viewer/#/build/PR8916/build13691475 is reported green but when looking at the internal site I see some red in a mostly green and I discovered that... no tests were run at all

Triggered build: [SOF_FW_null_01.01.00.6961] build/13691711

I'm going to refresh the commit date and force-push to re-run.

marc-hb avatar Mar 08 '24 21:03 marc-hb

https://sof-ci.01.org/sof-pr-viewer/#/build/PR8916/build13693983 now ran fine; all green.

Both ACE https://sof-ci.01.org/sofpr/PR8916/build3251/devicetest/index.html and CAVS https://sof-ci.01.org/sofpr/PR8916/build3252/devicetest/index.html are a DSP panic disaster due to #8908

marc-hb avatar Mar 10 '24 04:03 marc-hb

New, much better results after a lot of Zephyr water under the bridge.

ACE https://sof-ci.01.org/sofpr/PR8916/build3487/devicetest/index.html has only one known and unrelated pause/resume failure

https://sof-ci.01.org/sofpr/PR8916/build3488/devicetest/index.html is 100% green.

Everything else including https://sof-ci.01.org/sof-pr-viewer/#/build/PR8916/build13728357 is green.

marc-hb avatar Mar 16 '24 02:03 marc-hb