LTP-Realtime hangs on Arndale when the full suite is run

Bug #1218377 reported by Mike Holmes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linaro-networking
Won't Fix
Low
Gary S. Robertson

Bug Description

To repeat the test run the LNG RT kernel 3.10.6-rt3 with the command ./testscripts/test_realtime.sh -t all -l1

Tags: ltp
Revision history for this message
Mike Holmes (mike-holmes) wrote :

Working sub lists are now handled by a yaml script that explicity lists what shoudl be run.

Changed in linaro-networking:
importance: Undecided → Low
Changed in linaro-networking:
assignee: nobody → Mike Holmes (mike-holmes)
Changed in linaro-networking:
status: New → Confirmed
Changed in linaro-networking:
assignee: Mike Holmes (mike-holmes) → Gary S. Robertson (gary-robertson)
Revision history for this message
Mike Holmes (mike-holmes) wrote :
Revision history for this message
Gary S. Robertson (gary-robertson) wrote :

Testing is in progress to discover and resolve the reasons why some LTP-realtime tests are 'hanging' on Arndale. This effort is also focused on expanding the number of LTP realtime tests which LNG runs to encompass the full suite of available tests.

Some priority inheritance tests are hanging because conditional compilation prevents complete initialization of PI mutexes used in the tests. This issue is being addressed and additional issues will be likewise resolved as they are discovered.

Changed in linaro-networking:
status: Confirmed → In Progress
Revision history for this message
Gary S. Robertson (gary-robertson) wrote :

Conditional compilation issues were resolved locally... now hanging in func/prio-wake test... apparently some issue with condition variables deep in the futex library... investigating this. Everything else seems at least to run to completion. Will submit patches as soon as prio-wake issues are resolved.

Revision history for this message
Gary S. Robertson (gary-robertson) wrote :

Still working on isolation of prio-wake issues. Intend to check x86_64 to see if this fails there. If it fails on both ARM and x86_64 then it's probably a code issue in the NPTL / futex code. If x86_64 is okay but ARM fails then it's likely an issue with the assembly code generated by the ARM compiler.

Revision history for this message
Gary S. Robertson (gary-robertson) wrote :

prio-wake functions properly on x86_64. GDB tracing inside a LAVA hacking session appears to show a race condition in the mutex locking code between multiple waking waiters on armv7a. Submitted a separate bug on this issue via BUGZILLA.

All the other ltp-realtime tests run to completion on linux-lng-preempt-rt-v3.14.x - see results bundle:
https://validation.linaro.org/dashboard/permalink/bundle/5df34d85858a91fdd7ff4f617b3f6388b4f205c8/

I made a number of patches to ltp-realtime via the bitbake recipe in 'jenkins-setup/openembedded-core/meta/recipes-extended/ltp'. These patches are appropriate to the OE environment but maybe not so much in the more generic LTP environment - since LTP normally expects to be configured and built from a tarball on the same system where it will be executed, and this is not the situation in the OE build environment.

Accordingly I will submit my recipe patches to the OE maintainers, but unless directed otherwise I am disinclined to bother the LTP maintainers with them.

Revision history for this message
Gary S. Robertson (gary-robertson) wrote :

Patches have been submitted upstream to both LTP and OE-core maintainers, and are currently undergoing review and discussion pending hopeful approval.

Revision history for this message
Mike Holmes (mike-holmes) wrote :

Should mention the issue to Fathi as it as some of the issue is related to our build process

Revision history for this message
Mike Holmes (mike-holmes) wrote :
Changed in linaro-networking:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.