Bug 9054

Summary: pTest - quilt (NUC) failed, tested on NUC 5425WYK for YP 2.1_M2.rc1
Product: [QA/Testing] Runtime Testing Reporter: Francisco Pedraza <francisco.j.pedraza.gonzalez>
Component: generalAssignee: dengke <dengke.du>
Status: RESOLVED FIXED QA Contact: Francisco Pedraza <francisco.j.pedraza.gonzalez>
Severity: normal    
Priority: Medium CC: cristina-danielax.agurida, ross.burton
Version: 2.1   
Target Milestone: 2.1 M4   
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: Yes (doc changes required)

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.