Dear , all We found that when lava executed a script which may output a long string (more than 30000 bytes) in a line (only one line break), lava web UI always hung and there was no more lava log outputting and devices under test (short for DUT) were still powered until Lava Job time-out function triggered , however, after checked the whole log file we found that cases behind the hanging case were executed (there's new files generated) . So the problem is that when lava encountered those cases lava web UI always hangs and DUTs may not be powered off when all the cases are completed !
best wishes, Chuan Su
Hello,
thanks for the bug report; Could you send (in private) the raw log file in order to test on my local instance.
Regards
Le mer. 12 déc. 2018 à 03:26, Chuan Su lavanxp@126.com a écrit :
Dear , all We found that when lava executed a script which may output a long string (more than 30000 bytes) in a line (only one line break), lava web UI always hung and there was no more lava log outputting and devices under test (short for DUT) were still powered until Lava Job time-out function triggered , however, after checked the whole log file we found that cases behind the hanging case were executed (there's new files generated) . So the problem is that when lava encountered those cases lava web UI always hangs and DUTs may not be powered off when all the cases are completed ! best wishes, Chuan Su
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Hello,
thanks for sharing the job definition. The problem comes down to the fact that pexpect is slow at matching really long strings without any return line statements while your test is exactly generating this output.
So the web ui is not hanging, it's lava-run (the process actually starting the board), that is slow at parsing the output.
It's a known and documented issue, see https://master.lavasoftware.org/static/docs/v2/writing-tests.html#problems-w...
Rgds
Le mer. 12 déc. 2018 à 16:24, Remi Duraffort remi.duraffort@linaro.org a écrit :
Hello,
thanks for the bug report; Could you send (in private) the raw log file in order to test on my local instance.
Regards
Le mer. 12 déc. 2018 à 03:26, Chuan Su lavanxp@126.com a écrit :
Dear , all We found that when lava executed a script which may output a long string (more than 30000 bytes) in a line (only one line break), lava web UI always hung and there was no more lava log outputting and devices under test (short for DUT) were still powered until Lava Job time-out function triggered , however, after checked the whole log file we found that cases behind the hanging case were executed (there's new files generated) . So the problem is that when lava encountered those cases lava web UI always hangs and DUTs may not be powered off when all the cases are completed ! best wishes, Chuan Su
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Team
lava-users@lists.lavasoftware.org