RTEMS master LEON test status

Daniel Hellstrom daniel at gaisler.com
Tue Jan 24 12:25:04 UTC 2017


Hi,

We started some time ago to work with the RTEMS master again. Daniel C 
has updated the toolchain to use GCC-7 which now seems to be working 
fine. I just want to share the current status of the RTEMS test-suite on 
the GR712RC with you. Please let me know if you expect something or a 
particular tests to be failing before we go too deep into them.

In the SMP configuration there were a couple of tests hanging and GRMON 
interrupted them after 4 minutes. sp20 for example resulted in a hang 
while acquiring a SMP lock from the Clock interrupt handler:


   CPU 0:  Interrupted!
           0x400102e8: 01000000  nop <_SMP_lock_Acquire+44>
   CPU 1:  Interrupted!
           0x40000000: a1480000  mov  %psr, %l0

grmon2> bt

        %pc          %sp
   #0   0x400102e8   0x40029d50 <_SMP_lock_Acquire+0x2c>
   #1   0x4000ba00   0x40029d50 <_Rate_monotonic_Timeout+0x18>
   #2   0x40016080   0x40029db8 <_Watchdog_Do_tickle+0x88>
   #3   0x40016158   0x40029e18 <_Watchdog_Tick+0x54>
   #4   0x4000e664   0x40029e88 <_Timecounter_Tick+0x2c>
   #5   0x40002564   0x40029ef0   <Clock_isr+0x1c>
   #6   0x4000417c   0x40029f50 <bsp_isr_handler+0x60>
   #7   0x40023c0c   0x40029fb0
   #8   0x4001177c   0x4002f9f0 <_Thread_Entry_adaptor_idle+0x8>
   #9   0x40017a6c   0x4002fb00 <_Thread_Handler+0x48>
   #10  0x40017a24   0x4002fb60 <_Thread_Handler+0>

grmon2> inst
       TIME     ADDRESS   INSTRUCTION RESULT
     639576231  400102E4  bne  0x400102DC [00000016]
     639576232  400102E8  nop [00000000]
     639576233  400102DC  ld  [%o0], %g1 [00000015]
     639576235  400102E0  cmp  %g2, %g1 [00000001]
     639576236  400102E4  bne  0x400102DC [00000016]
     639576237  400102E8  nop [00000000]
     639576238  400102DC  ld  [%o0], %g1 [00000015]
     639576240  400102E0  cmp  %g2, %g1 [00000001]
     639576241  400102E4  bne  0x400102DC [00000016]
     639576242  400102E8  nop                           [ TRAP  ]

grmon2> reg
          INS        LOCALS     OUTS       GLOBALS
      0:  4002E668   F3000FC0   4002E664   00000000
      1:  4002E668   4000B9E8   40029DB4   00000015
      2:  80000000   4000B9EC   400264A4   00000016
      3:  00000001   F30000C0   40026490   4002E190
      4:  4002D538   40003000   4002A0A8   00000000
      5:  4002E650   00000080   400264A8   00000060
      6:  40029DB8   00000000   40029D50   400284C0
      7:  40016080   00000000   4000BA00   00000000

    psr: F3000FE0   wim: 00000080   tbr: 40000890   y: 0007613F

    pc:   400102E8  nop
    npc:  400102DC  ld  [%o0], %g1


grmon2>


GR712RC, RTEMS Single-core configuration results:

   #######################################################
   # RTEMS TESTSUITE FAILURE SUMMARY
   #
   # Result Test ExecRes ConsoleRes ExitCode1 ExitCode2
   # FAIL: ./fstests/fsdosfsname01 OK FAIL 5 0
   # FAIL: ./psxtests/psxsem01 OK FAIL 5 11
   # FAIL: ./sptests/spinternalerror01 OK N/A -559038737 1611526157
   # FAIL: ./sptests/sptimecounter01 OK N/A 5 0
   #
   # SUMMARY
   #  Tests failing:    4
   #  Tests successful: 528
   #
   #######################################################


GR712RC, RTEMS SMP configuration results:

   #######################################################
   # RTEMS TESTSUITE FAILURE SUMMARY
   #
   # Result Test ExecRes ConsoleRes ExitCode1 ExitCode2
   # FAIL: ./fstests/fsdosfsname01 OK FAIL 5 0
   # FAIL: ./libtests/rtmonuse FAIL FAIL N/A N/A
   # FAIL: ./psxtests/psxshm01 FAIL FAIL N/A N/A
   # FAIL: ./psxtests/psxshm02 FAIL FAIL N/A N/A
   # FAIL: ./sptests/sp20 FAIL FAIL N/A N/A
   # FAIL: ./sptests/sp60 FAIL FAIL N/A N/A
   # FAIL: ./sptests/sp69 FAIL FAIL N/A N/A
   # FAIL: ./sptests/spcbssched03 FAIL FAIL N/A N/A
   # FAIL: ./sptests/spedfsched02 FAIL FAIL N/A N/A
   # FAIL: ./sptests/spedfsched04 OK FAIL 5 0
   # FAIL: ./sptests/spinternalerror01 OK N/A -559038737 1611526157
   # FAIL: ./sptests/spintrcritical08 FAIL FAIL N/A N/A
   # FAIL: ./sptests/spratemon_err01 FAIL FAIL N/A N/A
   # FAIL: ./sptests/sprmsched01 OK FAIL 5 0
   # FAIL: ./sptests/sptimecounter01 OK N/A 5 0
   #
   # SUMMARY
   #  Tests failing:    15
   #  Tests successful: 564
   #
   #######################################################

Best Regards,
Daniel Hellstrom

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smp.log.lzma
Type: application/x-lzma
Size: 116935 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20170124/77a83054/attachment-0001.bin>


More information about the devel mailing list