[rtems-tools commit] python: Provide support to select a valid python version.

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Nov 12 08:54:56 UTC 2018


On 08/11/2018 23:58, Chris Johns wrote:
> Module:    rtems-tools
> Branch:    master
> Commit:    e058db02816d7729e7cfa898522a6073f5d7e714
> Changeset: http://git.rtems.org/rtems-tools/commit/?id=e058db02816d7729e7cfa898522a6073f5d7e714
>
> Author:    Chris Johns <chrisj at rtems.org>
> Date:      Wed Nov  7 14:55:20 2018 +1100
>
> python: Provide support to select a valid python version.
>
> - Update imports after wrapping the code.
> - Fix python3 issues.
> - Fix config path issues for in repo and install runs.
>
> Closes #3537

After this commit the rtems-test no longer works on my machine. All 
tests ends up in a timeout:

rtems-test --rtems-bsp=erc32 --rtems-tools=/build/rtems/5 
/build/git-build/b-erc32/
RTEMS Testing - Tester, 5.0.not_released
  Command Line: /build/rtems/5/bin/rtems-test --rtems-bsp=erc32 
--rtems-tools=/build/rtems/5 /build/git-build/b-erc32/
  Python: 3.6.5 (default, Mar 31 2018, 19:45:04) [GCC]
Host: Linux-4.12.14-lp150.12.25-default-x86_64-with-glibc2.3.4 (Linux 
huber-nb-linux.suse 4.12.14-lp150.12.25-default #1 SMP Thu Nov 1 
06:14:23 UTC 2018 (3fcf457) x86_64 x86_64)
[  1/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_base_sp.exe
[  4/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_ticker.exe
[  3/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_nsecs.exe
[  2/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_hello.exe
[  9/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp05.exe
[  6/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp02.exe
[  5/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp01.exe
[ 10/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp06.exe
[  7/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp03.exe
[  8/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp04.exe
[ 11/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp07.exe
[ 12/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp08.exe
[  1/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_base_sp.exe
Result: timeout    Time: 0:03:02.255187 ada_base_sp.exe
=>  gdb: /build/rtems/5/bin/sparc-rtems5-gdb -i=mi --nx --quiet 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/samples/base_sp/ada_base_sp.exe
] =thread-group-added,id="i1"
] ~"Reading symbols from 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/samples/base_sp/ada_base_sp.exe..."
] ~"done.\n"
] *** TIMEOUT TIMEOUT
[  2/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_hello.exe
Result: timeout    Time: 0:03:02.246428 ada_hello.exe
=>  gdb: /build/rtems/5/bin/sparc-rtems5-gdb -i=mi --nx --quiet 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/samples/hello/ada_hello.exe
] =thread-group-added,id="i1"
] ~"Reading symbols from 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/samples/hello/ada_hello.exe..."
] ~"done.\n"
] *** TIMEOUT TIMEOUT
[  3/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_nsecs.exe
Result: timeout    Time: 0:03:02.263136 ada_nsecs.exe
=>  gdb: /build/rtems/5/bin/sparc-rtems5-gdb -i=mi --nx --quiet 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/samples/nsecs/ada_nsecs.exe
] =thread-group-added,id="i1"
] ~"Reading symbols from 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/samples/nsecs/ada_nsecs.exe..."
] ~"done.\n"
] *** TIMEOUT TIMEOUT
[  4/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_ticker.exe
Result: timeout    Time: 0:03:02.245867 ada_ticker.exe
=>  gdb: /build/rtems/5/bin/sparc-rtems5-gdb -i=mi --nx --quiet 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/samples/ticker/ada_ticker.exe
] =thread-group-added,id="i1"
] ~"Reading symbols from 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/samples/ticker/ada_ticker.exe..."
] ~"done.\n"
] *** TIMEOUT TIMEOUT
[ 13/694] p:0   f:0   u:0   e:0   I:0   B:0   t:5   i:0   W:0   | 
sparc/erc32: ada_sp09.exe
[ 14/694] p:0   f:0   u:0   e:0   I:0   B:0   t:6   i:0   W:0   | 
sparc/erc32: ada_sp11.exe
[ 16/694] p:0   f:0   u:0   e:0   I:0   B:0   t:7   i:0   W:0   | 
sparc/erc32: ada_sp13.exe
[ 15/694] p:0   f:0   u:0   e:0   I:0   B:0   t:9   i:0   W:0   | 
sparc/erc32: ada_sp12.exe
[  5/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp01.exe
Result: timeout    Time: 0:03:02.239565 ada_sp01.exe
=>  gdb: /build/rtems/5/bin/sparc-rtems5-gdb -i=mi --nx --quiet 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp01/ada_sp01.exe
] =thread-group-added,id="i1"
] ~"Reading symbols from 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp01/ada_sp01.exe..."
] ~"done.\n"
] *** TIMEOUT TIMEOUT
[  6/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp02.exe
Result: timeout    Time: 0:03:02.265622 ada_sp02.exe
=>  gdb: /build/rtems/5/bin/sparc-rtems5-gdb -i=mi --nx --quiet 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp02/ada_sp02.exe
] =thread-group-added,id="i1"
] ~"Reading symbols from 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp02/ada_sp02.exe..."
] ~"done.\n"
] *** TIMEOUT TIMEOUT
[  7/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp03.exe
Result: timeout    Time: 0:03:02.240176 ada_sp03.exe
=>  gdb: /build/rtems/5/bin/sparc-rtems5-gdb -i=mi --nx --quiet 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp03/ada_sp03.exe
] =thread-group-added,id="i1"
] ~"Reading symbols from 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp03/ada_sp03.exe..."
] ~"done.\n"
] *** TIMEOUT TIMEOUT
[  8/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp04.exe
Result: timeout    Time: 0:03:02.248100 ada_sp04.exe
=>  gdb: /build/rtems/5/bin/sparc-rtems5-gdb -i=mi --nx --quiet 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp04/ada_sp04.exe
] =thread-group-added,id="i1"
] ~"Reading symbols from 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp04/ada_sp04.exe..."
] ~"done.\n"
] *** TIMEOUT TIMEOUT
[  9/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp05.exe
Result: timeout    Time: 0:03:02.248878 ada_sp05.exe
=>  gdb: /build/rtems/5/bin/sparc-rtems5-gdb -i=mi --nx --quiet 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp05/ada_sp05.exe
] =thread-group-added,id="i1"
] ~"Reading symbols from 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp05/ada_sp05.exe..."
] ~"done.\n"
] *** TIMEOUT TIMEOUT
[ 10/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp06.exe
Result: timeout    Time: 0:03:02.257075 ada_sp06.exe
=>  gdb: /build/rtems/5/bin/sparc-rtems5-gdb -i=mi --nx --quiet 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp06/ada_sp06.exe
] =thread-group-added,id="i1"
] ~"Reading symbols from 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp06/ada_sp06.exe..."
] ~"done.\n"
] *** TIMEOUT TIMEOUT
[ 11/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp07.exe
Result: timeout    Time: 0:03:02.227100 ada_sp07.exe
=>  gdb: /build/rtems/5/bin/sparc-rtems5-gdb -i=mi --nx --quiet 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp07/ada_sp07.exe
] =thread-group-added,id="i1"
] ~"Reading symbols from 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp07/ada_sp07.exe..."
] ~"done.\n"
] *** TIMEOUT TIMEOUT
[ 12/694] p:0   f:0   u:0   e:0   I:0   B:0   t:0   i:0   W:0   | 
sparc/erc32: ada_sp08.exe
Result: timeout    Time: 0:03:02.219634 ada_sp08.exe
=>  gdb: /build/rtems/5/bin/sparc-rtems5-gdb -i=mi --nx --quiet 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp08/ada_sp08.exe
] =thread-group-added,id="i1"
] ~"Reading symbols from 
/build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp08/ada_sp08.exe..."
] ~"done.\n"
] *** TIMEOUT TIMEOUT
[ 17/694] p:0   f:0   u:0   e:0   I:0   B:0   t:12  i:0   W:0   | 
sparc/erc32: ada_sp14.exe
[ 18/694] p:0   f:0   u:0   e:0   I:0   B:0   t:12  i:0   W:0   | 
sparc/erc32: ada_sp15.exe
[ 22/694] p:0   f:0   u:0   e:0   I:0   B:0   t:12  i:0   W:0   | 
sparc/erc32: ada_sp20.exe
[ 20/694] p:0   f:0   u:0   e:0   I:0   B:0   t:12  i:0   W:0   | 
sparc/erc32: ada_sp17.exe
[ 19/694] p:0   f:0   u:0   e:0   I:0   B:0   t:12  i:0   W:0   | 
sparc/erc32: ada_sp16.exe
[ 21/694] p:0   f:0   u:0   e:0   I:0   B:0   t:12  i:0   W:0   | 
sparc/erc32: ada_sp19.exe
[ 24/694] p:0   f:0   u:0   e:0   I:0   B:0   t:12  i:0   W:0   | 
sparc/erc32: ada_sp23.exe
[ 23/694] p:0   f:0   u:0   e:0   I:0   B:0   t:12  i:0   W:0   | 
sparc/erc32: ada_sp22.exe
^Cabort: user terminated

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list