Closed miri64 closed 4 years ago
04. Task 04 - ICMPv6 echo with iotlab-m3/samr21-xpro 15 minutes
FAILED
The problem with running tests as root ^^"
Commenting did not work for some reason for the success, but it marked it above, so :woman_shrugging:
No surprises for 2.1. They PASS except for the sudo
tests and they also succeed when run with sudo
for test in tests/{gnrc_dhcpv6_client,gnrc_ipv6_ext,gnrc_ipv6_nib,gnrc_rpl_srh,gnrc_tcp}*; do
RIOT_CI_BUILD=1 BOARD=native make --no-print-directory -C ${test} -j16 flash && \
sudo BOARD=native make --no-print-directory -C ${test} test || break
done
The usual suspects for 2.2 2.3. I'm a bit confused about tests/shell
failing. I thought this was fixed by https://github.com/RIOT-OS/RIOT/pull/14537 :confused:
The usual suspects for 2.2. I'm a bit confused about
tests/shell
failing. I thought this was fixed by RIOT-OS/RIOT#14537 confused
The samr21-xpro is not affected by the idle thread removal. The idle thread removal only affects the cortex-m3, m4 and m7's (dynamic priority modifications during the execution of the interrupt is required and is not supported on the m0(+)). I'm afraid this is unrelated to that issue/fix
I see. I just noticed also that, while I can reproduce this in 2020.07-RC1 with my local nodes (I used those this time), it does not show up in my test results from then. Those I did in the testbed. Will recheck that.
Ok.. it works in the testbed, so I suspect it might be just the revision of the board? oO
Same host machine, but different samr21-xpro
deployments:
On Saclay site of IoT-LAB PASS
```
$ BOARD=samr21-xpro IOTLAB_NODE=auto-ssh make -C tests/shell/ flash test
make: Entering directory '/home/mlenders/Repositories/RIOT-OS/RIOT/tests/shell'
Building application "tests_shell" for "samr21-xpro" with MCU "samd21".
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/boards/samr21-xpro
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/core
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/cpu/samd21
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/cpu/cortexm_common
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/cpu/cortexm_common/periph
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/cpu/sam0_common
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/cpu/sam0_common/periph
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/cpu/samd21/periph
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/drivers
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/drivers/periph_common
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/sys
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/sys/app_metadata
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/sys/auto_init
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/sys/isrpipe
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/sys/newlib_syscalls_default
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/sys/pm_layered
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/sys/ps
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/sys/shell
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/sys/shell/commands
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/sys/stdio_uart
"make" -C /home/mlenders/Repositories/RIOT-OS/RIOT-release/sys/tsrb
text data bss dec hex filename
12848 132 2624 15604 3cf4 /home/mlenders/Repositories/RIOT-OS/RIOT/tests/shell/bin/samr21-xpro/tests_shell.elf
iotlab-node --jmespath='keys(@)[0]' --format='int' --list saclay,samr21,10 --flash /home/mlenders/Repositories/RIOT-OS/RIOT/tests/shell/bin/samr21-xpro/tests_shell.bin | grep 0
0
ssh -t lenders@saclay.iot-lab.info 'socat - tcp:samr21-10.saclay.iot-lab.info:20000'
>
> bufsize
bufsize
128
> ________________________________________________________________________________________________________________________________verylong
________________________________________________________________________________________________________________________________verylong
shell: maximum line length exceeded
> garbage1234
garbage1234
>
> start_test
start_test
[TEST_START]
>
>
>
>
> echo a string
echo a string
"echo""a""string"
> echo multiple spaces between argv
echo multiple spaces between argv
"echo""multiple""spaces""between""argv"
> echo tabs processed like spaces
echo tabs processed like spaces
"echo""tabs""processed""like""spaces"
> 123456789012345678901234567890123456789012345678901234567890
123456789012345678901234567890123456789012345678901234567890
shell: command not found: 123456789012345678901234567890123456789012345678901234567890
> unknown_command
unknown_command
shell: command not found: unknown_command
> echo leading spaces
echo leading spaces
"echo""leading""spaces"
> echo leading tabs
echo leading tabs
"echo""leading""tabs"
> echo trailing spaces
echo trailing spaces
"echo""trailing""spaces"
> echo trailing tabs
echo trailing tabs
"echo""trailing""tabs"
> hello-world
hello-world
shell: command not found: hello-world
echo
echo
"echo"
> echo \'
echo \'
"echo""'"
> echo \"
echo \"
"echo""""
> echo escaped\ space
echo escaped\ space
"echo""escaped space"
> echo escape within '\s\i\n\g\l\e\q\u\o\t\e'
echo escape within '\s\i\n\g\l\e\q\u\o\t\e'
"echo""escape""within""singlequote"
> echo escape within "\d\o\u\b\l\e\q\u\o\t\e"
echo escape within "\d\o\u\b\l\e\q\u\o\t\e"
"echo""escape""within""doublequote"
> echo "t\e st" "\"" '\'' a\ b
echo "t\e st" "\"" '\'' a\ b
"echo""te st"""""'""a b"
> echo "hello"world
echo "hello"world
"echo""helloworld"
> echo hel"lowo"rld
echo hel"lowo"rld
"echo""helloworld"
> echo hello"world"
echo hello"world"
"echo""helloworld"
> echo quoted space " "
echo quoted space " "
"echo""quoted""space"" "
> echo abc"def'ghijk"lmn
echo abc"def'ghijk"lmn
"echo""abcdef'ghijklmn"
> echo abc'def"ghijk'lmn
echo abc'def"ghijk'lmn
"echo""abcdef"ghijklmn"
> echo "'" '"'
echo "'" '"'
"echo""'""""
> echo a\
echo a\
shell: incorrect quoting
> echo "
echo "
shell: incorrect quoting
> echo '
echo '
shell: incorrect quoting
> echo abcdef"ghijklmn
echo abcdef"ghijklmn
shell: incorrect quoting
> echo abcdef'ghijklmn
echo abcdef'ghijklmn
shell: incorrect quoting
> ps
ps
pid | state Q | pri
1 | pending Q | 15
2 | running Q | 7
> help
help
Command Description
---------------------------------------
bufsize Get the shell's buffer size
start_test starts a test
end_test ends a test
echo prints the input command
reboot Reboot the node
version Prints current RIOT_VERSION
pm interact with layered PM subsystem
ps Prints information about running threads.
app_metadata Returns application metadata
> reboot
reboot
main(): This is RIOT! (Version: 2020.10-devel-18-gab072-2020.07-branch)
test_shell.
> end_test
end_test
[TEST_END]
>
make: Leaving directory '/home/mlenders/Repositories/RIOT-OS/RIOT/tests/shell'
```
Bisected this to commit https://github.com/RIOT-OS/RIOT/commit/68a35f53de2c881f82edb09ae5cd6f0d5a5f22ee, Not sure if this is an issue with EDBG or with the atsam itself.
Seems like it might be realated to https://github.com/RIOT-OS/RIOT/issues/10639
More observations. It does not fail in the nightlies:
It does not fail when using an FTDI adapter connected to the samr21-xpro
's UART0 (after flashing reconnect the USB to the TARGET USB port and reset manually when the test starts, otherwise you might get garbage):
Accessing EDBG via a Raspberry Pi (basically the setup in the nightlies):
So it seems to be an EDBG issue or some buffering issue with EDBG when the host machine is too fast (raspberry pi vs non-raspberry pi) or the latency on the connection between the host machine and the node is high (testbed).
I can also reproduce the issue on the same54-xpro (also using EDBG).
The usual suspects for 2.2. I'm a bit confused about
tests/shell
failing. I thought this was fixed by RIOT-OS/RIOT#14537 confused
And lastly no surprises in 2.2.
If anyone wants to test the remaining test cases, feel free to do so. However, I consider the testing efforts for RC2 finished. So let's wait for the release notes (and maybe a potential fix for https://github.com/RIOT-OS/RIOT/issues/14548).
Sorry for all the delays with the results on multiple boards. I had parallelized the builds and found some concurrency issues with the new pkg system, where with the -clean-after
option called clean-pkg
which erased the shared pkg tree. This means that the run had a lot of noise, I'll re-run wihthout --clean-after
before uploading to the results directory, nonetheless here are the results. I went through all unexpected failures that didn't pass on individual re-runs. Those that where not documented in previous issues are in the following summary
tests/pkg_libfixmath_unittests
seem to not be working on any board that can run it.
NOTE: in the build I excluded all tests requiring sudo
. examples/micropython
is excluded as well.
I'll open issues for the ones I don't find a fix before friday.
Regarding:
### openmote-b/failuresummary
Failures during test:
- [tests/unittests](archive/openmote-b/tests/unittests/test.failed)
Its actually a failure on tests/unittests/tests-rtt_rtc/tests-rtt_rtc.c
.
Regarding:
### openmote-b/failuresummary Failures during test: - [tests/unittests](archive/openmote-b/tests/unittests/test.failed)
Its actually a failure on
tests/unittests/tests-rtt_rtc/tests-rtt_rtc.c
.
Seems to be the common problem among boards failing the unittests.
The two failures to flash on nrf52840dk
are related to the usage of jlink, they work with openocd:
All ffs
failures on nrf52840dk
seem to be related to my local board, all three pass on an iotlab board except for a timeout issue (Timeout doesn't seem very deterministic I had to increase it a lot for every test, took as much as 11min on one of them).
tests/ssp
on openmote-b
fails just because the boards shut-downs before printing the message.
tests/periph_wdt
: succeeds for me locally on arduino-mega2560
PASSED target time: 128[ms], actual_time: 167.4[ms]
PASSED target time: 512[ms], actual_time: 669.716[ms]
PASSED target time: 1024[ms], actual_time: 1339.476[ms]
PASSED target time: 8192[ms], actual_time: 10019.32[ms]
TEST PASSED
Closing in favor of #175
This issue lists the status of all tests for the Release Candidate 2 of the 2020.07 release.
Specs tested: