| Summary: | ptest reports contain corrupted lines | ||
|---|---|---|---|
| Product: | [QA/Testing] Package Testing (ptest) | Reporter: | Ross Burton <ross.burton> |
| Component: | ptest | Assignee: | Armin Kuster <akuster> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | randy.macleod, richard.purdie |
| Version: | 0.0.0 | ||
| Target Milestone: | 2.7.2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
For that exact instance: GLib-GIO:ERROR:../glib-2.60.3/gio/tests/resources.c:582:test_resource_binary_linked: 'found' should be TRUE Bail out! GLib-GIO:ERROR:../glib-2.60.3/gio/tests/resources.c:582:test_resource_binary_linked: 'found' should be TRUE FAIL: glib/resources.test (Child process killed by signal 6) So the code to parse the FAIL line should ignore the stuff in brackets. Fixed in master, possible backport: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=85075b80d610d5ced47d909b8efe1ee531db0c71 in warrior mainline https://git.openembedded.org/openembedded-core/commit/meta/lib/oeqa/utils/logparser.py?h=warrior&id=95031da4f08295ad81efac1c082c48dd5c330fb0 . |
When some tests fail the ptest report is corrupted: instead of listing the test that failed, it reports: ptestresult.glib-2.0.glib/resources.test__Child_process_killed_by_signal_6_ Some of that line is the message, not the test name.