On 8 May 2018 at 16:06, Steffen Volkmann <volkmann@volkmann.com> wrote:
Hi all,

we are using the lava system for test of several i.mx6 boards with yocto based linux images.
Sometimes the test cases failed with following error message:
"Test error: Unable to handle the test shell signal correctly: _on_sync() takes exactly 2 arguments (16 given)"

This is the problem of kernel message interlacing with stdout.

https://staging.validation.linaro.org/static/docs/v2/connections.html#multiple-serial-port-support

All the advice is available on that page.
 
A closer look into the logfile shows, that the Message "<LAVA_SIGNAL_TESTCASE ... >"  seems to be interrupted by output of kernel messages.

# example from logfile start#

<LAVA_SIGNAL_TESTCASE TEST_CASE_ID=Test[  113.747589] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
_Step_22 RESULT=pass>
2018-05-08 03:24:20,633 INFO     [  113.759603] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm)
: PerformShellCmd: testcase_throughput_sta_2_4ghz_Station2_4GHz_Linksys0302[ 113.774770] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm)
4 pass
Received signal: <TESTCASE> TEST_CASE_ID=Test[  113.747589] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
_Step_22 RESULT=pass
Ignoring malformed parameter for signal: "113.747589]".

# example from logfile end#

Is there someone with semilar observations and a solution for this problem?

Best Regards


Steffen Volkmann

_______________________________________________
Lava-users mailing list
Lava-users@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lava-users



--