-
Notifications
You must be signed in to change notification settings - Fork 223
Split CI by device group #797
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It was moved by bitcoin/bitcoin#31161
This reverts commit edab2af.
``` error: "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/Cargo.lock" does not exist, unable to build with the standard library, try: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu ``` https://github.com/bitcoin-core/HWI/actions/runs/16440824447/job/46462763374?pr=795
We can now use the main esp-idf toochain to install the appropriate version of the qemu emulator, rather than building it ourselves from source. Mirrors change recently made to Jade repo.
CI fails with: ``` Traceback (most recent call last): File "/home/runner/work/HWI/HWI/test/work/keepkey-firmware/nanopb/generator/nanopb_generator.py", line 1816, in <module> main_plugin() File "/home/runner/work/HWI/HWI/test/work/keepkey-firmware/nanopb/generator/nanopb_generator.py", line 1796, in main_plugin other_files[fdesc.name] = parse_file(fdesc.name, fdesc, options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/HWI/HWI/test/work/keepkey-firmware/nanopb/generator/nanopb_generator.py", line 1628, in parse_file Globals.separate_options = read_options_file(open(optfilename, "rU")) ^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid mode: 'rU' --nanopb_out: protoc-gen-nanopb: Plugin failed with status code 1. ``` https://github.com/bitcoin-core/HWI/actions/runs/16440824447/job/46462763445 This was changed in: nanopb/nanopb@01e9186 That's been in the releases since 0.4.6.
See e.g. https://github.com/bitcoin-core/HWI/actions/runs/16440824447/job/46463441252 ``` work/bitcoin/build/bin/bitcoind: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by work/bitcoin/build/bin/bitcoind) ```` Job lingered for 45 minutes.
Merged
Merged
This is definitely easier to work with... I'll continue debugging here and then port the fixes to #795. |
This ensures the failure to build a simulator for one device doesn't abort running jobs for the others. They're still grouped by manufacturer. Alternative to bitcoin-core#743.
a57942b
to
b5ad34e
Compare
On Ubuntu-latest the Speculos sim fails to build: ``` In file included from /home/runner/work/HWI/HWI/test/work/speculos/src/bolos/io/io.c:11: /home/runner/work/HWI/HWI/test/work/speculos/src/bolos/io/mock/include/os_utils.h:17:22: error: static declaration of ‘strlcpy’ follows non-static declaration 17 | static inline size_t strlcpy(char *dst, const char *src, size_t size) | ^~~~~~~ In file included from /home/runner/work/HWI/HWI/test/work/speculos/src/bolos/cx_hash.h:4, from /home/runner/work/HWI/HWI/test/work/speculos/src/bolos/cx.h:11, from /home/runner/work/HWI/HWI/test/work/speculos/src/emulate.h:15, from /home/runner/work/HWI/HWI/test/work/speculos/src/bolos/io/io.c:10: /usr/arm-linux-gnueabihf/include/string.h:506:15: note: previous declaration of ‘strlcpy’ with type ‘size_t(char * restrict, const char * restrict, size_t)’ {aka ‘unsigned int(char * restrict, const char * restrict, unsigned int)’} 506 | extern size_t strlcpy (char *__restrict __dest, | ^~~~~~~ make[2]: *** [src/CMakeFiles/emu.dir/build.make:737: src/CMakeFiles/emu.dir/bolos/io/io.c.o] Error 1 make[2]: Leaving directory '/home/runner/work/HWI/HWI/test/work/speculos/build' make[1]: *** [CMakeFiles/Makefile2:1285: src/CMakeFiles/emu.dir/all] Error 2 make[1]: Leaving directory '/home/runner/work/HWI/HWI/test/work/speculos/build' make: *** [Makefile:101: all] Error 2 make: Leaving directory '/home/runner/work/HWI/HWI/test/work/speculos/build' ``` See e.g. https://github.com/bitcoin-core/HWI/actions/runs/16463666304/job/46535976240
This reverts commit e64d38b.
Seems to be no longer needed: Coldcard/firmware#537 Related CI failure: https://github.com/bitcoin-core/HWI/actions/runs/16464204169/job/46537622260?pr=797
Folding this into #795. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ensures the failure to build a simulator for one device doesn't abort running jobs for the others. They're still grouped by manufacturer.
It uses composite actions so it's hopefully too verbose.
Alternative approach to #743.
Builds on #795.