Last active
December 11, 2024 06:49
-
-
Save lupyuen/c59a642a3f3c5934ec53d5d72dd6e01d to your computer and use it in GitHub Desktop.
cibuild.sh -c -A -N -R testlist/risc-v-05.dat
This file contains 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
sudo docker run \ | |
-it \ | |
--name nuttx \ | |
ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest \ | |
/bin/bash | |
cd | |
git clone https://github.com/apache/nuttx | |
git clone https://github.com/apache/nuttx-apps apps | |
pushd nuttx ; echo NuttX Source: https://github.com/apache/nuttx/tree/$(git rev-parse HEAD) ; popd | |
pushd apps ; echo NuttX Apps: https://github.com/apache/nuttx-apps/tree/$(git rev-parse HEAD) ; popd | |
cd nuttx/tools/ci | |
./cibuild.sh -c -A -N -R testlist/risc-v-05.dat | |
luppy@thinkstation:~/nuttx-release$ sudo docker run \ | |
-it \ | |
--name nuttx \ | |
ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest \ | |
/bin/bash | |
[sudo] password for luppy: | |
root@0a81ed0abe55:/tools# cd | |
root@0a81ed0abe55:~# git clone https://github.com/apache/nuttx | |
Cloning into 'nuttx'... | |
remote: Enumerating objects: 829390, done. | |
remote: Counting objects: 100% (75/75), done. | |
remote: Compressing objects: 100% (50/50), done. | |
remote: Total 829390 (delta 32), reused 50 (delta 24), pack-reused 829315 (from 1) | |
Receiving objects: 100% (829390/829390), 292.46 MiB | 15.12 MiB/s, done. | |
Resolving deltas: 100% (647239/647239), done. | |
Updating files: 100% (23564/23564), done. | |
root@0a81ed0abe55:~# git clone https://github.com/apache/nuttx-apps apps | |
Cloning into 'apps'... | |
remote: Enumerating objects: 88504, done. | |
remote: Counting objects: 100% (226/226), done. | |
remote: Compressing objects: 100% (134/134), done. | |
remote: Total 88504 (delta 113), reused 171 (delta 91), pack-reused 88278 (from 1) | |
Receiving objects: 100% (88504/88504), 22.82 MiB | 12.11 MiB/s, done. | |
Resolving deltas: 100% (71473/71473), done. | |
root@0a81ed0abe55:~# pushd nuttx ; echo NuttX Source: https://github.com/apache/nuttx/tree/$(git rev-parse HEAD) ; popd | |
~/nuttx ~ | |
NuttX Source: https://github.com/apache/nuttx/tree/5607eece841346ae807f1474ea36e422d6dfc97d | |
~ | |
root@0a81ed0abe55:~# pushd apps ; echo NuttX Apps: https://github.com/apache/nuttx-apps/tree/$(git rev-parse HEAD) ; popd | |
~/apps ~ | |
NuttX Apps: https://github.com/apache/nuttx-apps/tree/1f8b9aa74c38460fe8fe47646f70e85e79bcc21f | |
~ | |
root@0a81ed0abe55:~# cd nuttx/tools/ci | |
root@0a81ed0abe55:~/nuttx/tools/ci# ./cibuild.sh -c -A -N -R testlist/risc-v-05.dat | |
+++ dirname ./cibuild.sh | |
++ cd . | |
++ pwd | |
+ CID=/root/nuttx/tools/ci | |
++ cd /root/nuttx/tools/ci/../../../ | |
++ pwd -P | |
+ CIWORKSPACE=/root | |
+ CIPLAT=/root/nuttx/tools/ci/platforms | |
+ nuttx=/root/nuttx | |
+ apps=/root/apps | |
++ uname -s | |
+ os=Linux | |
++ uname -m | |
+ osarch=x86_64 | |
+ '[' -f /etc/os-release ']' | |
++ grep '^ID=' /etc/os-release | |
++ tr -d '"' | |
++ cut -d= -f2 | |
+ osname=ubuntu | |
+ '[' -z -c ']' | |
+ '[' -n -c ']' | |
+ case "$1" in | |
+ enable_ccache | |
+ export CCACHE_DIR=/root/tools/ccache | |
+ CCACHE_DIR=/root/tools/ccache | |
+ shift | |
+ '[' -n -A ']' | |
+ case "$1" in | |
+ options+='-A ' | |
+ shift | |
+ '[' -n -N ']' | |
+ case "$1" in | |
+ options+='-N ' | |
+ shift | |
+ '[' -n -R ']' | |
+ case "$1" in | |
+ options+='-R ' | |
+ shift | |
+ '[' -n testlist/risc-v-05.dat ']' | |
+ case "$1" in | |
+ builds=("$@") | |
+ break | |
+ run_builds | |
+ local ncpus | |
+ '[' Xubuntu == XDarwin ']' | |
++ grep -c '^processor' /proc/cpuinfo | |
+ ncpus=24 | |
+ '[' Xubuntu == Xmsys2 ']' | |
+ options+='-j 24' | |
+ for build in "${builds[@]}" | |
+ /root/nuttx/tools/testbuild.sh -A -N -R -j 24 -e '-Wno-cpp -Werror' testlist/risc-v-05.dat | |
==================================================================================== | |
Configuration/Tool: rv-virt/citest | |
2024-12-11 06:30:35 | |
------------------------------------------------------------------------------------ | |
Cleaning... | |
Configuring... | |
Building NuttX... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 143k 0 143k 0 0 130k 0 --:--:-- 0:00:01 --:--:-- 7204k | |
riscv-none-elf-ld: warning: /root/nuttx/nuttx has a LOAD segment with RWX permissions | |
Running NuttX... | |
+++ dirname /root/nuttx/../nuttx/boards/risc-v/qemu-rv/rv-virt/configs/citest/run | |
++ cd /root/nuttx/../nuttx/boards/risc-v/qemu-rv/rv-virt/configs/citest | |
++ pwd | |
+ WD=/root/nuttx/boards/risc-v/qemu-rv/rv-virt/configs/citest | |
++ cd /root/nuttx/boards/risc-v/qemu-rv/rv-virt/configs/citest/../../../../../../../ | |
++ pwd -P | |
+ WORKSPACE=/root | |
+ nuttx=/root/nuttx | |
+ logs=/root/nuttx/boards/risc-v/qemu-rv/rv-virt/configs/citest/logs | |
++ echo /root/nuttx/boards/risc-v/qemu-rv/rv-virt/configs/citest | |
++ awk -F / '{print $(NF-2)}' | |
+ BOARD=rv-virt | |
+ echo /root/nuttx/boards/risc-v/qemu-rv/rv-virt/configs/citest | |
/root/nuttx/boards/risc-v/qemu-rv/rv-virt/configs/citest | |
+ echo /root | |
/root | |
++ basename /root/nuttx/boards/risc-v/qemu-rv/rv-virt/configs/citest | |
+ config=citest | |
+ '[' rv-virt == sim ']' | |
+ '[' st == 64 ']' | |
+ '[' rv-virt == rv-virt ']' | |
+ target=qemu | |
+ mark='qemu or rv_virt' | |
+ core=qemu | |
++ find /root/nuttx -type f -name nuttx | |
+ image=/root/nuttx/nuttx | |
+ path=/root/nuttx | |
+ cd /root/nuttx/tools/ci/testrun/script | |
+ python3 -m pytest -m 'qemu or rv_virt' ./ -B rv-virt -P /root/nuttx -L /root/nuttx/boards/risc-v/qemu-rv/rv-virt/configs/citest/logs/rv-virt/qemu -R qemu -C --json=/root/nuttx/boards/risc-v/qemu-rv/rv-virt/configs/citest/logs/rv-virt/qemu/pytest.json | |
=================================================== test session starts =================================================== | |
platform linux -- Python 3.10.12, pytest-6.2.5, py-1.11.0, pluggy-1.5.0 -- /usr/bin/python3 | |
cachedir: .pytest_cache | |
rootdir: /root/nuttx/tools/ci/testrun, configfile: pytest.ini | |
plugins: repeat-0.9.1, ordering-0.6, json-0.4.0 | |
collected 1068 items / 67 deselected / 1001 selected | |
test_framework/test_cmocka.py::test_cmocka 131072+0 records in | |
131072+0 records out | |
67108864 bytes (67 MB, 64 MiB) copied, 0.491273 s, 137 MB/s | |
sh: 1: mkfs.fat: not found | |
PASSED [ 0%] | |
test_example/test_example.py::test_hello FAILED [ 0%] | |
test_example/test_example.py::test_helloxx FAILED [ 0%] | |
test_example/test_example.py::test_pipe FAILED [ 0%] | |
[In the CI Test Session: Press Ctrl-C a few times to stop it] | |
^C^C/usr/local/lib/python3.10/dist-packages/_pytest/main.py:304: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. | |
Plugin: terminalreporter, Hook: pytest_sessionfinish | |
KeyError: 'teardown' | |
For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning | |
config.hook.pytest_sessionfinish( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment