rtems-tester initial port getting "'NoneType' object is not iterable"

Peter Dufault dufault at hda.com
Fri Sep 20 19:46:15 UTC 2019


I’m bringing up the rtems-tester for the PowerPC “beatnik” bsp.  I’m impressed with how easy it is to implement (well done, Chris).  But after doing all the easy work, and just as I thought my initial run of the “samples" was about to exit successfully, the script faulted and gave me the error "TypeError: 'NoneType' object is not iterable”.  I’ve pasted the output of my run below.

There’s no useful information in the output of the log file.  It ends with the summary of what passed, failed, and the time it took, the same as you see below in the pasted output.

I looked at the called-out line in the python code.  It’s trying to generate reports, I think.  Maybe I missed a required configuration step to specify a format that isn’t detected until this happens?

- What have I neglected to send?
- Anybody seen this?  I couldn’t find it via searches.

This is the console output from when I ran the test.  *Note that “ltimer.exe” is not a real RTEMS sample test, and that’s why it shows up as an invalid result.*

[dufault at gen6 lou_files]$ ./my_beatnik.sh 
RTEMS Testing - Tester, 5 (12bd8f77bad4)
[ 1/14] p:0  f:0  u:0  e:0  I:0  B:0  t:0  i:0  W:0  | powerpc/beatnik: base_sp.exe
[ 2/14] p:1  f:0  u:0  e:0  I:0  B:0  t:0  i:0  W:0  | powerpc/beatnik: capture.exe
[ 3/14] p:1  f:0  u:1  e:0  I:0  B:0  t:0  i:0  W:0  | powerpc/beatnik: cdtest.exe
[ 4/14] p:2  f:0  u:1  e:0  I:0  B:0  t:0  i:0  W:0  | powerpc/beatnik: cxx_iostream.exe
[ 5/14] p:3  f:0  u:1  e:0  I:0  B:0  t:0  i:0  W:0  | powerpc/beatnik: fileio.exe
[ 6/14] p:3  f:0  u:2  e:0  I:0  B:0  t:0  i:0  W:0  | powerpc/beatnik: hello.exe
[ 7/14] p:4  f:0  u:2  e:0  I:0  B:0  t:0  i:0  W:0  | powerpc/beatnik: loopback.exe
[ 8/14] p:5  f:0  u:2  e:0  I:0  B:0  t:0  i:0  W:0  | powerpc/beatnik: ltimer.exe
[ 9/14] p:5  f:0  u:2  e:0  I:0  B:0  t:0  i:1  W:0  | powerpc/beatnik: minimum.exe
[10/14] p:6  f:0  u:2  e:0  I:0  B:0  t:0  i:1  W:0  | powerpc/beatnik: nsecs.exe
[11/14] p:7  f:0  u:2  e:0  I:0  B:0  t:0  i:1  W:0  | powerpc/beatnik: paranoia.exe
[12/14] p:8  f:0  u:2  e:0  I:0  B:0  t:0  i:1  W:0  | powerpc/beatnik: pppd.exe
[13/14] p:9  f:0  u:2  e:0  I:0  B:0  t:0  i:1  W:0  | powerpc/beatnik: ticker.exe
[14/14] p:10 f:0  u:2  e:0  I:0  B:0  t:0  i:1  W:0  | powerpc/beatnik: unlimited.exe
Passed:        11
Failed:         0
User Input:     2
Expected Fail:  0
Indeterminate:  0
Benchmark:      0
Timeout:        0
Invalid:        1
Wrong Version:  0
Wrong Build:    0
Wrong Tools:    0
-----------------
Total:         14
Average test time: 0:00:40.583694
Testing time     : 0:09:28.171711
Traceback (most recent call last):
  File "../rtems-tools/tester/rt/cmd-test.py", line 42, in <module>
    test.run(sys.argv[1:], command_path = base)
  File "/home/dufault/development/rtems/rtems-tools/tester/rt/test.py", line 455, in run
    for report_format in report_formats:
TypeError: 'NoneType' object is not iterable
[dufault at gen6 lou_files]$ 

Peter
-----------------
Peter Dufault
HD Associates, Inc.      Software and System Engineering

This email is delivered through the public internet using protocols subject to interception and tampering.



More information about the devel mailing list