Bug 9042 - pTest - strace fails on NUC 5425WYK for YP 2.1_M2.rc1
Summary: pTest - strace fails on NUC 5425WYK for YP 2.1_M2.rc1
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.1
Hardware: NUC x86_64
: Medium normal
Target Milestone: 2.7 M2
Assignee: Changqing Li
QA Contact:
URL: http://autobuilder.yoctoproject.org/p...
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-03 15:28 UTC by Francisco Pedraza
Modified: 2018-12-05 07:43 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
fixed the fail of pTest-strace (15.18 KB, image/png)
2016-02-23 08:13 UTC, dengke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Pedraza 2016-02-03 15:28:06 UTC
Here are the results for YP 2.1_M2.rc1 ran on a NUC 5425WYK
poky: 3d2c0f5902cacf9d8544bf263b51ef0dd1a7218c
AB Link: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.1_M2.rc1/ptest/machines/genericx86-64/core-image-sato-sdk-genericx86-64.hddimg

Report: https://wiki.yoctoproject.org/wiki/Ptest_3d2c0f5902cacf9d8544bf263b51ef0dd1a7218c
compared with commit 5e3e2e0cbb0a49986f4653e64c4c8d2b5461645e




Results for NUC ptest strace 2016-01-28:
********************************

Tests that failed now and worked last time: 10

net.test
sigaction.test
filter-unavailable.test
scm_rights-fd.test
mmsg.test
dumpio.test
eventfd.test
umovestr.test
sigaltstack.test
net-fd.test

Tests that were skipped now and worked last time: 1

stat64-v.test


Tests that failed now: 14

net.test
sigaction.test
filter-unavailable.test
scm_rights-fd.test
net-yy.test
sun_path.test
mmsg.test
dumpio.test
caps.test
eventfd.test
umovestr.test
sigaltstack.test
net-fd.test
uid.test
Comment 1 dengke 2016-02-23 08:09:25 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"
Comment 2 dengke 2016-02-23 08:13:05 UTC
Created attachment 3001 [details]
fixed the fail of pTest-strace

This picture is the result of pTest-strace on the target.
Comment 3 dengke 2016-02-23 08:40:08 UTC
Wrong operations.
Comment 4 Ross Burton 2016-04-07 15:11:35 UTC
Fixed in oe-core 74b5088f1cc1708db43c33ac2dc7f01f4a4db9c1.
Comment 5 Jose Perez C 2016-10-20 19:51:12 UTC
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
Comment 6 Jair Gonzalez 2017-04-06 17:38:11 UTC
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
Comment 7 Jair Gonzalez 2017-04-06 17:57:29 UTC
Correcting the link for results on 2.3 M3 rc2:

https://wiki.yoctoproject.org/wiki/Ptest_415b72ffcbd26e5f3664370d8b2a9b8105fb6342
Comment 8 Changqing Li 2018-12-05 07:43:12 UTC
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.