| Summary: | pTest - strace fails on NUC 5425WYK for YP 2.1_M2.rc1 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [QA/Testing] Runtime Testing | Reporter: | Francisco Pedraza <francisco.j.pedraza.gonzalez> | ||||
| Component: | general | Assignee: | Changqing Li <changqing.li> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | alexandru.c.georgescu, cristina-danielax.agurida, jose.perez.carranza, liezhi.yang, ross.burton, yi.zhao | ||||
| Version: | 2.1 | ||||||
| Target Milestone: | 2.7 M2 | ||||||
| Hardware: | NUC | ||||||
| OS: | x86_64 | ||||||
| URL: | http://autobuilder.yoctoproject.org/pub/releases/yocto-2.1_M2.rc1/ptest/machines/genericx86-64/core-image-sato-sdk-genericx86-64.hddimg | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
|
Description
Francisco Pedraza
2016-02-03 15:28:06 UTC
The pTest-strace fails because when run the test on the target, the test use the necessary files under the /usr/lib/strace/ptest/tests, the /usr/lib/strace/ptest/tests/init.sh use the variable "srcdir" to find the necessary files, the /usr/lib/strace/ptest/tests/Makefile define the variable "srcdir = ../../strace-4.11/tests", so it can't find the necessary files, my solution is change this varialbe when the build system do the do_install_ptest function. Using the string "ptest" replace the "strace-4.11", so I do this:
"sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile"
Created attachment 3001 [details]
fixed the fail of pTest-strace
This picture is the result of pTest-strace on the target.
Wrong operations. Fixed in oe-core 74b5088f1cc1708db43c33ac2dc7f01f4a4db9c1. 1 failure still came up on commit: 4b94b498e21aeba945fe7e72a6b7c4bb0314fb83 hence reopening this bug ********** Failures ******* FAIL:strace-V.test *************************** Results: https://wiki.yoctoproject.org/wiki/Ptest_4b94b498e21aeba945fe7e72a6b7c4bb0314fb83 Image: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.2.rc4/machines/genericx86-64/core-image-sato-sdk-ptest-genericx86-64.hddimg The failure on strace-V.test continues reproducing on 2.3 M3 rc2. ********** Failures ******* FAIL:strace-V.test *************************** Results: https://wiki.yoctoproject.org/wiki/Ptest_6e20b31d5d17133e0fca086e12a0ad06ab5c4cc8 Correcting the link for results on 2.3 M3 rc2: https://wiki.yoctoproject.org/wiki/Ptest_415b72ffcbd26e5f3664370d8b2a9b8105fb6342 this is fixed by commit 74b5088f1cc1708db43c33ac2dc7f01f4a4db9c1, but was removed days ago. I will close this defect, and send fix for new problem to oe-core. |