Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MrKevinWeiss/2a1ddbdf5655947adee81f1292cd4031 to your computer and use it in GitHub Desktop.
Save MrKevinWeiss/2a1ddbdf5655947adee81f1292cd4031 to your computer and use it in GitHub Desktop.
make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./examples/arduino_hello-world clean all --jobs 7
Launching build container using image "riot/riotbuild:latest".
docker run --rm --tty --user $(id -u) -v '/usr/share/zoneinfo/Europe/Berlin:/etc/localtime:ro' -v '/home/weiss/wd/RIOT:/data/riotbuild/riotbase:delegated' -v '/home/weiss/.cargo/registry:/data/riotbuild/.cargo/registry:delegated' -v '/home/weiss/.cargo/git:/data/riotbuild/.cargo/git:delegated' -e 'RIOTBASE=/data/riotbuild/riotbase' -e 'CCACHE_BASEDIR=/data/riotbuild/riotbase' -e 'BUILD_DIR=/data/riotbuild/riotbase/build' -e 'RIOTPROJECT=/data/riotbuild/riotbase' -e 'RIOTCPU=/data/riotbuild/riotbase/cpu' -e 'RIOTBOARD=/data/riotbuild/riotbase/boards' -e 'RIOTMAKE=/data/riotbuild/riotbase/makefiles' -e 'BOARD=arduino-mega2560' -e 'CC_NOCOLOR=1' -e 'RIOT_CI_BUILD=1' -e 'DISABLE_MODULE=' -e 'DEFAULT_MODULE=' -e 'FEATURES_REQUIRED=' -e 'FEATURES_BLACKLIST=' -e 'FEATURES_OPTIONAL=' -e 'USEMODULE=arduino' -e 'USEPKG=' -w '/data/riotbuild/riotbase/examples/arduino_hello-world/' 'riot/riotbuild:latest' make 'CC_NOCOLOR=1' 'RIOT_CI_BUILD=1' -j7 all
Building application "arduino_hello-world" for "arduino-mega2560" with MCU "atmega2560".
/data/riotbuild/riotbase/examples/arduino_hello-world/bin/arduino-mega2560/arduino_sketches/arduino_sketches.o: In function `setup()':
/data/riotbuild/riotbase/examples/arduino_hello-world/bin/arduino-mega2560/arduino_sketches/arduino_sketches.cpp:39: multiple definition of `setup()'
/data/riotbuild/riotbase/examples/arduino_hello-world/bin/arduino-mega2560/application_arduino_hello-world/_sketches.o:/data/riotbuild/riotbase/examples/arduino_hello-world/_sketches.cpp:39: first defined here
/data/riotbuild/riotbase/examples/arduino_hello-world/bin/arduino-mega2560/arduino_sketches/arduino_sketches.o:(.data.ledPin+0x0): multiple definition of `ledPin'
/data/riotbuild/riotbase/examples/arduino_hello-world/bin/arduino-mega2560/application_arduino_hello-world/_sketches.o:(.data.ledPin+0x0): first defined here
/data/riotbuild/riotbase/examples/arduino_hello-world/bin/arduino-mega2560/arduino_sketches/arduino_sketches.o: In function `loop()':
arduino_sketches.cpp:(.text._Z4loopv+0x0): multiple definition of `loop()'
/data/riotbuild/riotbase/examples/arduino_hello-world/bin/arduino-mega2560/application_arduino_hello-world/_sketches.o:_sketches.cpp:(.text._Z4loopv+0x0): first defined here
/data/riotbuild/riotbase/examples/arduino_hello-world/bin/arduino-mega2560/arduino_sketches/arduino_sketches.o:(.bss.buf+0x0): multiple definition of `buf'
/data/riotbuild/riotbase/examples/arduino_hello-world/bin/arduino-mega2560/application_arduino_hello-world/_sketches.o:(.bss.buf+0x0): first defined here
/data/riotbuild/riotbase/examples/arduino_hello-world/bin/arduino-mega2560/arduino_sketches/arduino_sketches.o:(.bss.count+0x0): multiple definition of `count'
/data/riotbuild/riotbase/examples/arduino_hello-world/bin/arduino-mega2560/application_arduino_hello-world/_sketches.o:(.bss.count+0x0): first defined here
/data/riotbuild/riotbase/examples/arduino_hello-world/bin/arduino-mega2560/arduino_sketches/arduino_sketches.o: In function `main':
arduino_sketches.cpp:(.text.startup.main+0x0): multiple definition of `main'
/data/riotbuild/riotbase/examples/arduino_hello-world/bin/arduino-mega2560/application_arduino_hello-world/_sketches.o:_sketches.cpp:(.text.startup.main+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [/data/riotbuild/riotbase/Makefile.include:728: /data/riotbuild/riotbase/examples/arduino_hello-world/bin/arduino-mega2560/arduino_hello-world.elf] Error 1
make: *** [/home/weiss/wd/RIOT/makefiles/docker.inc.mk:349: ..in-docker-container] Error 2
Return value: 2
make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./tests/congure_test test
F.F...........F.....F............................
======================================================================
FAIL: test_init_success (__main__.TestCongUREWithCongureTestSI)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/weiss/wd/RIOT/tests/congure_test/tests/01-run.py", line 522, in test_init_success
self.assertEqual(int(res['init']['last_args']['ctx'], base=16),
AssertionError: 9029 != 74565
======================================================================
FAIL: test_report_ecn_ce_success (__main__.TestCongUREWithCongureTestSI)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/weiss/wd/RIOT/tests/congure_test/tests/01-run.py", line 646, in test_report_ecn_ce_success
self.assertEqual(res['report_ecn_ce']['last_args']['time'],
AssertionError: 18446744073709550432 != 64352
======================================================================
FAIL: test_init_success (__main__.TestCongUREWithSetup)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/weiss/wd/RIOT/tests/congure_test/tests/01-run.py", line 182, in test_init_success
self.assertEqual(int(res['init']['last_args']['ctx'], base=16),
AssertionError: 9029 != 74565
======================================================================
FAIL: test_report_ecn_ce_success (__main__.TestCongUREWithSetup)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/weiss/wd/RIOT/tests/congure_test/tests/01-run.py", line 486, in test_report_ecn_ce_success
self.assertEqual(res['report_ecn_ce']['last_args']['time'],
AssertionError: 18446744073709550432 != 64352
----------------------------------------------------------------------
Ran 49 tests in 53.127s
FAILED (failures=4)
make: *** [/home/weiss/wd/RIOT/makefiles/tests/tests.inc.mk:22: test] Error 1
Return value: 2
make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./tests/pkg_mbedtls test
r
/home/weiss/wd/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "9600" --no-reconnect --noprefix --no-repeat-command-on-empty-line
Twisted not available, please install it if you want to use pyterm's JSON capabilities
Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
ss s to start test, r to print it is ready
Help: Press s to start test, r to print it is ready
READY
s
START
main(): This is RIOT! (Version: buildtest)
mbedtls test
SHA-224 test #1: passed
SHA-224 test #2: passed
Timeout in expect script at "child.expect_exact('SHA-224 test #3: passed')" (tests/pkg_mbedtls/tests/01-run.py:16)
make: *** [/home/weiss/wd/RIOT/makefiles/tests/tests.inc.mk:22: test] Error 1
Return value: 2
make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./tests/senml_cbor test
r
/home/weiss/wd/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "9600" --no-reconnect --noprefix --no-repeat-command-on-empty-line
Twisted not available, please install it if you want to use pyterm's JSON capabilities
Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
Press s to start test, r to print it is ready
Help: Press s to start test, r to print it is ready
READY
s
START
main(): This is RIOT! (Version: buildtest)
.
senml_tests.test_senml_encode (tests/senml_cbor/main.c 107) exp 188 was 184
run 1 failures 1
{ "threads": [{ "name": "idle, "stack_size": 128, "stack_used": 96}]}
{ "threads": [{ "name": "main, "stack_size": 1664, "stack_used": 1114}]}
Timeout in expect script at "child.expect(r'OK \((\d+) tests\)', timeout=timeout)" (dist/pythonlibs/testrunner/__init__.py:57)
make: *** [/home/weiss/wd/RIOT/makefiles/tests/tests.inc.mk:22: test] Error 1
Return value: 2
make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./tests/sys_arduino clean all --jobs 7
Launching build container using image "riot/riotbuild:latest".
docker run --rm --tty --user $(id -u) -v '/usr/share/zoneinfo/Europe/Berlin:/etc/localtime:ro' -v '/home/weiss/wd/RIOT:/data/riotbuild/riotbase:delegated' -v '/home/weiss/.cargo/registry:/data/riotbuild/.cargo/registry:delegated' -v '/home/weiss/.cargo/git:/data/riotbuild/.cargo/git:delegated' -e 'RIOTBASE=/data/riotbuild/riotbase' -e 'CCACHE_BASEDIR=/data/riotbuild/riotbase' -e 'BUILD_DIR=/data/riotbuild/riotbase/build' -e 'RIOTPROJECT=/data/riotbuild/riotbase' -e 'RIOTCPU=/data/riotbuild/riotbase/cpu' -e 'RIOTBOARD=/data/riotbuild/riotbase/boards' -e 'RIOTMAKE=/data/riotbuild/riotbase/makefiles' -e 'BOARD=arduino-mega2560' -e 'CC_NOCOLOR=1' -e 'RIOT_CI_BUILD=1' -e 'DISABLE_MODULE=' -e 'DEFAULT_MODULE=test_utils_interactive_sync test_utils_print_stack_usage' -e 'FEATURES_REQUIRED=' -e 'FEATURES_BLACKLIST=' -e 'FEATURES_OPTIONAL=' -e 'USEMODULE=arduino' -e 'USEPKG=' -w '/data/riotbuild/riotbase/tests/sys_arduino/' 'riot/riotbuild:latest' make 'CC_NOCOLOR=1' 'RIOT_CI_BUILD=1' -j7 all
Building application "tests_sys_arduino" for "arduino-mega2560" with MCU "atmega2560".
/data/riotbuild/riotbase/tests/sys_arduino/bin/arduino-mega2560/arduino_sketches/arduino_sketches.o: In function `setup()':
/data/riotbuild/riotbase/tests/sys_arduino/bin/arduino-mega2560/arduino_sketches/arduino_sketches.cpp:40: multiple definition of `setup()'
/data/riotbuild/riotbase/tests/sys_arduino/bin/arduino-mega2560/application_tests_sys_arduino/_sketches.o:/data/riotbuild/riotbase/tests/sys_arduino/_sketches.cpp:40: first defined here
/data/riotbuild/riotbase/tests/sys_arduino/bin/arduino-mega2560/arduino_sketches/arduino_sketches.o: In function `loop()':
arduino_sketches.cpp:(.text._Z4loopv+0x0): multiple definition of `loop()'
/data/riotbuild/riotbase/tests/sys_arduino/bin/arduino-mega2560/application_tests_sys_arduino/_sketches.o:_sketches.cpp:(.text._Z4loopv+0x0): first defined here
/data/riotbuild/riotbase/tests/sys_arduino/bin/arduino-mega2560/arduino_sketches/arduino_sketches.o:(.bss.count+0x0): multiple definition of `count'
/data/riotbuild/riotbase/tests/sys_arduino/bin/arduino-mega2560/application_tests_sys_arduino/_sketches.o:(.bss.count+0x0): first defined here
/data/riotbuild/riotbase/tests/sys_arduino/bin/arduino-mega2560/arduino_sketches/arduino_sketches.o:(.bss.buf+0x0): multiple definition of `buf'
/data/riotbuild/riotbase/tests/sys_arduino/bin/arduino-mega2560/application_tests_sys_arduino/_sketches.o:(.bss.buf+0x0): first defined here
/data/riotbuild/riotbase/tests/sys_arduino/bin/arduino-mega2560/arduino_sketches/arduino_sketches.o: In function `main':
arduino_sketches.cpp:(.text.startup.main+0x0): multiple definition of `main'
/data/riotbuild/riotbase/tests/sys_arduino/bin/arduino-mega2560/application_tests_sys_arduino/_sketches.o:_sketches.cpp:(.text.startup.main+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [/data/riotbuild/riotbase/Makefile.include:728: /data/riotbuild/riotbase/tests/sys_arduino/bin/arduino-mega2560/tests_sys_arduino.elf] Error 1
make: *** [/home/weiss/wd/RIOT/makefiles/docker.inc.mk:349: ..in-docker-container] Error 2
Return value: 2
make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./tests/sys_sema_inv test
r
/home/weiss/wd/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "9600" --no-reconnect --noprefix --no-repeat-command-on-empty-line
Twisted not available, please install it if you want to use pyterm's JSON capabilities
Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
ress s to start test, r to print it is ready
Help: Press s to start test, r to print it is ready
READY
s
START
main(): This is RIOT! (Version: buildtest)
counter mode
THREAD 1 start
THRE{ "threads": [{ "name": "nr1", "stack_size": 256, "stack_used": 136 }]}
AD 2 start
THREAD 3 start
{ "threads": [{ "name": "nr2", "stack_size": 256, "stack_used": 182 }]}
thread synced
THREAD 3 woke main thread
{ "threads": [{ "namemask mode
THREAD 1 start
THRE{ "threads": [{ "name": "nr1", "stack_size": 256, "stack_used": 136 }]}
AD 3 start
{ "threads": [{ "name": "nr3", "stack_size": 256, "stack_used": 182 }]}
Timeout in expect script at "child.expect_exact('THREAD 2 start')" (tests/sys_sema_inv/tests/01-run.py:10)
make: *** [/home/weiss/wd/RIOT/makefiles/tests/tests.inc.mk:22: test] Error 1
Return value: 2
make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./tests/thread_float test
r
/home/weiss/wd/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "9600" --no-reconnect --noprefix --no-repeat-command-on-empty-line
Twisted not available, please install it if you want to use pyterm's JSON capabilities
Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
ss s to start test, r to print it is ready
Help: Press s to start test, r to print it is ready
READY
s
START
main(): This is RIOT! (Version: buildtest)
THREADS CREATED
Timeout in expect script at "child.expect(r"THREAD t(\d) start\r\n")" (tests/thread_float/tests/01-run.py:43)
make: *** [/home/weiss/wd/RIOT/makefiles/tests/tests.inc.mk:22: test] Error 1
Return value: 2
Operating System Environment
----------------------------
Operating System: "Ubuntu" "20.04.4 LTS (Focal Fossa)"
Kernel: Linux 5.15.0-41-generic x86_64 x86_64
System shell: /usr/bin/dash (probably dash)
make's shell: /usr/bin/dash (probably dash)
Installed compiler toolchains
-----------------------------
native gcc: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
arm-none-eabi-gcc: arm-none-eabi-gcc (15:9-2019-q4-0ubuntu1) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]
avr-gcc: avr-gcc (GCC) 5.4.0
mips-mti-elf-gcc: missing
msp430-elf-gcc: msp430-elf-gcc (GCC) 10.1.0
riscv-none-elf-gcc: missing
riscv64-unknown-elf-gcc: missing
riscv-none-embed-gcc: riscv-none-embed-gcc (GNU MCU Eclipse RISC-V Embedded GCC, 64-bit) 8.2.0
xtensa-esp32-elf-gcc: xtensa-esp32-elf-gcc (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 5.2.0
xtensa-esp8266-elf-gcc: missing
clang: clang version 10.0.0-4ubuntu1
Installed compiler libs
-----------------------
arm-none-eabi-newlib: "3.3.0"
mips-mti-elf-newlib: missing
msp430-elf-newlib: "3.3.0"
riscv-none-elf-newlib: missing
riscv64-unknown-elf-newlib: missing
riscv-none-embed-newlib: "3.0.0"
xtensa-esp32-elf-newlib: "2.2.0"
xtensa-esp8266-elf-newlib: missing
avr-libc: "2.0.0" ("20150208")
Installed development tools
---------------------------
ccache: ccache version 3.7.7
cmake: cmake version 3.16.3
cppcheck: Cppcheck 1.90
doxygen: 1.8.17
git: git version 2.25.1
make: GNU Make 4.2.1
openocd: Open On-Chip Debugger 0.11.0+dev-00035-g8d6f7c922-dirty (2021-03-16-15:33)
python: Python 2.7.18
python2: Python 2.7.18
python3: Python 3.8.10
flake8: 3.8.3 (mccabe: 0.6.1, pycodestyle: 2.6.0, pyflakes: 2.2.0) CPython 3.8.10 on
coccinelle: missing
make RIOT_CI_BUILD=1 CC_NOCOLOR=1 --no-print-directory -C ./tests/ztimer_backends test
r
/home/weiss/wd/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "9600" --no-reconnect --noprefix --no-repeat-command-on-empty-line
Twisted not available, please install it if you want to use pyterm's JSON capabilities
Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
to start test, r to print it is ready
Help: Press s to start test, r to print it is ready
READY
s
START
main(): This is RIOT! (Version: buildtest)
SUCCESS!
{ "threads": [{ "name": "idle", "stack_size": 192, "stack_used": 96 }]}
{ "threads": [{ "name": "main", "stack_size": 640, "stack_used": 146 }]}
Timeout in expect script at "child.expect_exact("starting ztimers")" (tests/ztimer_backends/tests/01-run.py:14)
make: *** [/home/weiss/wd/RIOT/makefiles/tests/tests.inc.mk:22: test] Error 1
Return value: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment