Bug 9054 - pTest - quilt (NUC) failed, tested on NUC 5425WYK for YP 2.1_M2.rc1
Summary: pTest - quilt (NUC) failed, tested 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.1 M4
Assignee: dengke
QA Contact: Francisco Pedraza
URL: http://autobuilder.yoctoproject.org/p...
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-04 10:35 UTC by Francisco Pedraza
Modified: 2018-04-24 04:10 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Pedraza 2016-02-04 10:35:35 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 quilt 2016-01-28:
********************************
Tests that failed now and worked last time: 0

Tests that passed now and and failed last time: 0

Tests that were skipped now and worked last time: 0

Tests that were skipped last time and worked now: 0
Tests that failed now: 1
faildiff.test
Comment 1 dengke 2016-03-08 12:15:51 UTC
When run the quilt ptest on the target, the faildiff.test failed,
because the user is root. The faildiff.test had the following:
	$ chmod -r test.txt
	$ quilt refresh
when we drop the read permission of the file test.txt, we can't
"quilt refresh" as normal user, so we got the following:
	>~ .*diff: test\.txt: Permission denied
	> Diff failed on file 'test.txt', aborting
But when the user is root, we can access the file, so we get the
following:
	> Nothing in patch patches/test.diff
So I change the file "meta/recipes-devtools/quilt/quilt/run-ptest",
when it meet the faildiff.test it skipped. I will report this bug to
quilt upstream.

I have send the patch to:
http://cgit.openembedded.org/openembedded-core-contrib/commit/?h=dengke/pTest-quilt-fail-fixed&id=f20640eec6e027b1e3b905a3357c934a4fe93d98
Comment 2 Ross Burton 2016-04-07 15:17:30 UTC
Merged in oe-core f7d52d12f943b9e1f79b32758308607036d6a760.