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

Chris Johns chrisj at rtems.org
Tue Nov 13 01:25:34 UTC 2018



On 12/11/2018 22:10, Sebastian Huber wrote:
> On 12/11/2018 12:07, Sebastian Huber wrote:
>> Result: timeout    Time: 0:03:00.250565 ada_ticker.exe
>> =>  run: /build/rtems/5/bin/sparc-rtems5-run
>> /build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/samples/ticker/ada_ticker.exe
>>
>> ]
>> ]
>> ]
>> ]
>> =>  test start: ADA TICKER
>> ] *** BEGIN OF TEST ADA TICKER ***
>> ] *** TEST VERSION: 5.0.0.9b55081eb6c686e3b5fde13e6c84e021639317d3
>> ] *** TEST STATE: EXPECTED-PASS
>> ] *** TEST BUILD: RTEMS_DEBUG RTEMS_NETWORKING RTEMS_POSIX_API RTEMS_SMP
>> ] *** TEST TOOLS: 7.3.0 20180125 (RTEMS 5, RSB
>> 30da0c720b78eba16a3f5272206c07415368617b, Newlib
>> 2ab57ad59bc35dafffa69cd4da5e228971de069f)
>> ] TA1 - clock_get -  9: 0: 0   12/31/1988
>> ] TA2 - clock_get -  9: 0: 0   12/31/1988
>> ] TA3 - clock_get -  9: 0: 0   12/31/1988
>> ] TA1 - clock_get -  9: 0: 5   12/31/1988
>> ] *** TIMEOUT TIMEOUT
>> [  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:00.233552 ada_sp01.exe
>> =>  run: /build/rtems/5/bin/sparc-rtems5-run
>> /build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp01/ada_sp01.exe
>>
> 
> If I run the command directly:
> 
> time /build/rtems/5/bin/sparc-rtems5-run
> /build/git-build/b-erc32/sparc-rtems5/c/erc32/testsuites/ada/samples/ticker/ada_ticker.exe
> 

Thanks. I suspect this is a python3 issue in the tester code. I wonder if:

 $ export RTEMS_PYTHON_OVERRIDE=python2

lets the tester work. This is how you can override the automatic detection of
the python being used. The rtems-tools repo is now defaulting to python3. Given
these failures that are appearing this was a good choice.

Chris



More information about the devel mailing list