Skip to content
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

CI is broken #1338

Closed
2 tasks done
Tracked by #1343
YannLocatelli opened this issue Dec 13, 2023 · 1 comment
Closed
2 tasks done
Tracked by #1343

CI is broken #1338

YannLocatelli opened this issue Dec 13, 2023 · 1 comment
Assignees
Labels
01 - type: bug Report a bug or issue

Comments

@YannLocatelli
Copy link
Member

YannLocatelli commented Dec 13, 2023

2 kind of issues seems to break the CI


import of pyelftools

  • Resolved
Logs
🏃 Running configuration script for target LEKA_V1_2_DEV 📝
python3 /home/runner/work/LekaOS/LekaOS/cmake/scripts/configure_cmake_for_target.py LEKA_V1_2_DEV -p /home/runner/work/LekaOS/LekaOS/_build/LEKA_V1_2_DEV/cmake_config -a /home/runner/work/LekaOS/LekaOS/config/mbed_app.json
Traceback (most recent call last):
  File "/home/runner/work/LekaOS/LekaOS/cmake/scripts/configure_cmake_for_target.py", line 21, in <module>
    from tools import build_api, options
  File "/home/runner/work/LekaOS/LekaOS/extern/mbed-os/tools/build_api.py", line 36, in <module>
    from .arm_pack_manager import Cache
  File "/home/runner/work/LekaOS/LekaOS/extern/mbed-os/tools/arm_pack_manager/__init__.py", line 29, in <module>
    from tools.flash_algo import PackFlashAlgo
  File "/home/runner/work/LekaOS/LekaOS/extern/mbed-os/tools/flash_algo/__init__.py", line 33, in <module>
    from elftools.common.py3compat import bytes2str
ModuleNotFoundError: No module named 'elftools.common.py3compat'
Failed to import the Mbed OS Python configuration system!
Be sure that you have installed all required python modules, see  /home/runner/work/LekaOS/LekaOS/extern/mbed-os /requirements.txt
make[1]: *** [Makefile:1[46](https://github.com/leka/LekaOS/actions/runs/7169779695/job/19520951046#step:6:47): config_cmake_target] Error 1
make[1]: Leaving directory '/home/runner/work/LekaOS/LekaOS'
make: *** [Makefile:140: config] Error 2
Error: Process completed with exit code 2.

From https://github.com/leka/LekaOS/actions/runs/7169779695/job/19520951046

Might be resolved with #1339 see leka/mbed-os@6dd070f


unit tests with clang

  • Resolved

Workflows using clang seem to fail

Logs
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: error: call to consteval function 'std::chrono::hh_mm_ss::_S_fractional_width' is not a constant expression
        static constexpr unsigned fractional_width = {_S_fractional_width()};

From https://github.com/leka/LekaOS/actions/runs/7193938786/job/19593400509

Might be related to issue actions/runner-images#8659

Might be resolved with #1340 xor #1341 #1342

@YannLocatelli
Copy link
Member Author

Resolved with leka/mbed-os@6dd070f and #1342

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
01 - type: bug Report a bug or issue
Projects
None yet
Development

No branches or pull requests

1 participant