-
Notifications
You must be signed in to change notification settings - Fork 349
workflows: Zephyr workflow uses new 0.16.1 Zephyr SDK #7645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
89f0399 to
2aff07a
Compare
2aff07a to
05e99c4
Compare
05e99c4 to
e9c3fbe
Compare
|
@marc-hb we got all green on the Zephyr workflows. |
e9c3fbe to
7162f04
Compare
marc-hb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you! Very glad it seems to have gone smoothly.
Just to be on the safe side please add this:
--- a/.github/workflows/sparse-zephyr.yml
+++ b/.github/workflows/sparse-zephyr.yml
@@ -15,9 +15,9 @@ jobs:
# sof/scripts/parse_sparse_output.sh
warnings-subset:
- # We're sharing binaries with the zephyr-build container so keep
+ # We're sharing the sparse binary with the zephyr-build container so keep
# this in sync with it.
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
strategy:
fail-fast: false|
Ok, upgraded OS for Sparse Zephyr workflow to Ubuntu 22,04. |
|
Wow - codestyle / checkpatch failed with the following message:
I sometimes think this checkpatch is chatGTP powered or something... |
ec3c640 to
9a878e3
Compare
it's been that way for a very long time... |
|
checkpatch.pl is a Linux kernel tool. The Linux kernel tool has no CI scripts or configuration in the same git repo, nothing like the While this warning is wrong in this case, it is unfortunately very common to see people submitting bad commit messages like "fix warning from tool X" without describing what the actual code change is. Then this warning is very useful. |
|
Also: https://www.kernel.org/doc/html/latest/dev-tools/checkpatch.html
False positives are OK because checkpatch only check PATCHES which means warnings do NOT stick after merge like with other linters. |
9a878e3 to
dfcfd35
Compare
|
Ok, upgraded Zephyr revision in west.yml. We should be good to go now, however we need to wait for Intel Internal CI results to make sure we have no regression introduced. |
|
Thanks again @aborisovich , this solves a big problem! Something's not right in EDIT: it's not sparse, it's everything MTL: https://github.com/thesofproject/sof/actions/runs/5017216783/jobs/8995053803?pr=7645 |
OK this didn't take long: @aborisovich can you please bump sof/west.yml a bit further to zephyrproject-rtos/zephyr@9fc99928caf0 ? We need that one too for MTL
Note the Zephyr SDK is NOT used in sof-ci/jenkins, XCC is used instead. However the Zephyr uprev can of course make a difference! Speaking of which, TGLU_UP_HDA_IPC4ZPH looks pretty bad in https://sof-ci.01.org/sofpr/PR7645/build8107/devicetest/index.html :-( No idea why yet. https://sof-ci.01.org/sofpr/PR7645/build8106/devicetest/index.html is mostly fine. |
kv2019i
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @aborisovich !
|
The manifest mtl fails to https://github.com/thesofproject/sof/actions/runs/5017216783/jobs/8995053803?pr=7645 While main mtl test passes and correct compiler is found: https://github.com/thesofproject/sof/actions/runs/5017216783/jobs/8995053803?pr=7645 Why is this happening, the PR is updating the manifest, right...? |
dfcfd35 to
df43f1e
Compare
Commit zephyrproject-rtos/zephyr@9fc99928caf0 requires new Zephyr SDK 0.16.1 to work and breaks compatibility to older Zephyr revisions. Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
Zephyr main branch requires new Zephyr SDK. Upgraded version of Zephyr SDK to newest available v0.16.1 in the build-windows job. New SDK is backward compatible with old Zephyr revisions so the upgrade is applied to all CI. Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
Installation of new Zephyr SDK 0.16.1 does not require unzip anymore in the setup.cmd script. This tool had been replaced by 7z that is by default present on all Github Windows runners. Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
New Docker container tagged v0.26.4 contains new Zephyr SDK v0.16.1 needed to build with Zephyr main branch. New Zephyr SDK is backward compatible with the older Zephyr revisions so the upgrade is done for SOF manifest revisions too. Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
New Zephyr Docker container v.26.4 is based on Ubuntu 22.04, upgrading build-linux job OS to match the one in the container. Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
Runner OS for the Zephyr workflow had been updated to Ubuntu 22.04, so upgrading this workflow too. Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
df43f1e to
52c0502
Compare
|
All green now, thanks @marc-hb . |
marc-hb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job, thanks a lot @aborisovich ! Please merge this first thing on Monday, thanks!
https://sof-ci.01.org/sofpr/PR7645/build8158/devicetest/index.html?model=TGLU_RVP_NOCODEC_IPC4ZPH&testcase=multiple-pause-resume-5 has the known corrupted heap issue 7191
https://sof-ci.01.org/sofpr/PR7645/build8157/devicetest is all green.
Checkpatch is wrong.
Everything else is green!
Updated Zephyr workflow - installed new Zephyr SDK v0.16.1 that is required by Zephyr main branch.
New Zephyr SDK is NOT backward compatible to older Zephyr revisions so the upgrade in
west.ymlis done to the commit: zephyrproject-rtos/zephyr@9fc99928caf0 that requires this toolchain.Build-windows job changes:
Build-linux job changes:
zephyr\docker-run.shthat clones Zephyr Docker container to clone latest tag versioned v0.26.4.Sparse-Zephyr workflow:
Signed-off-by: Andrey Borisovich andrey.borisovich@intel.com