| Summary: | Ptest-runner does not run python, in 2.4rc1 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [QA/Testing] Build Testing | Reporter: | oscar lopez arandas <oscarx.lopez.arandas> | ||||||||
| Component: | general | Assignee: | Juro Bystricky <juro.bystricky> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | High | CC: | jose.perez.carranza, joshuagloe, randy.macleod | ||||||||
| Version: | 2.4 | ||||||||||
| Target Milestone: | 2.4 M4 | ||||||||||
| Hardware: | NUC | ||||||||||
| OS: | x86_64 | ||||||||||
| Whiteboard: | |||||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||||
| Verified: | Documentation change: | Don't know | |||||||||
| Attachments: |
|
||||||||||
|
Description
oscar lopez arandas
2017-09-29 20:37:12 UTC
Recently it was discovered that before 2.4 rc1 ptest analysis and comparisons are not reliable due to a bug in the script that was used. I am attaching the new results obtain by comparing again the results of the ptest execution. 2.3 rc1 2.4 M1 2.4 m1 2.4 m2 rc1 2.4 m2 rc1 2.4 m2rc3 2.4 m2 rc3 2.4 m3 2.4 m3 2.4 rc1 you will clearly see that python stoped being executed on 2.4 m2 rc3 Created attachment 4055 [details]
ptest_resullts.png
python-ptest needs to have python test suite installed. The suite is in the package python-tests, so this package needs to be installed in the image.
The fix is simple, just add {PN}-tests into RDEPENDS.
RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests"
With new image built with the updated recipe for python_2.7.13.bb I was able to run core-image-sato-sdk-ptest in qemu:
# ptest-runner python
with the results:
PASS: 6632
FAIL:26
SKIP: 28
python does present run in the ptest-runner automatic test POKY : 2.4_M4_r2 COMMIT:da05a01423a60a23cd1073eb0ad3776e5bf4f2a8 HW: NUC 6i5SYH IMAGES: https://autobuilder.yocto.io/pub/releases/yocto-2.4.rc2/machines/genericx86-64/core-image-sato-sdk-ptest-genericx86-64.hddimg Results Chart table: https://wiki.yoctoproject.org/wiki/Ptest_da05a01423a60a23cd1073eb0ad3776e5bf4f2a8 EXPECTED OUTCOME: python run correctly ACTUAL OUTCOME: python run correctly NOTES: full log in attachment Created attachment 4070 [details]
full_log
|