Hi,

My setup is more or less correct. When I do
$ BOARD=sodaq-sara-sff make -C tests/evtimer_msg flash term
...
2020-05-26 21:50:39,186 # Are the reception times of all 4 msgs close to
the supposed values?
2020-05-26 21:50:39,187 # At   2361 ms received msg 0: "#2 supposed to
be 2361"
2020-05-26 21:50:39,187 # At   2702 ms received msg 1: "#0 supposed to
be 2701"
2020-05-26 21:50:39,670 # At   3202 ms received msg 2: "#1 supposed to
be 3202"
2020-05-26 21:50:42,116 # At   5656 ms received msg 3: "#3 supposed to
be 5656"
2020-05-26 21:50:42,127 # By now all msgs should have been received
2020-05-26 21:50:42,127 # If yes, the tests were successful

It connects nicely to the /dev/ttyACM0 with all the expected
output.

However, when I make the "test" target it fails to find /dev/ttyACM0

$ BOARD=sodaq-sara-sff make RIOT_CI_BUILD=1 CC_NOCOLOR=1
--no-print-directory -C /home/kees/src/RIOT/tests/evtimer_msg test
r
/home/kees/src/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b
"115200" --no-reconnect --noprefix --no-repeat-command-on-empty-line
Connect to serial port /dev/ttyACM0
could not open port /dev/ttyACM0: [Errno 2] No such file or directory:
'/dev/ttyACM0'
make[1]: *** [/home/kees/src/RIOT/Makefile.include:726: cleanterm] Error 2
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 166,
in read_nonblocking
    s = os.read(self.child_fd, size)
OSError: [Errno 5] Input/output error

In fact, I'm trying to run compile_and_test_for_board.py, but that fails
on the "make test" command.

Is there a timeout value somewhere that needs to be increased?
-- 
Kees
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to