Bug 10766 - patchtest: patchtest deletes the content of .git/config in openembedded-core
Summary: patchtest: patchtest deletes the content of .git/config in openembedded-core
Status: RESOLVED NOTABUG
Alias: None
Product: Patchwork/Patchtest
Classification: Yocto Project Subprojects
Component: Patchtest (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: High normal
Target Milestone: 2.3 M2
Assignee: Leonardo Sandoval Gonzalez
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-12-05 17:16 UTC by Daniela Plascencia
Modified: 2017-12-06 17:19 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniela Plascencia 2016-12-05 17:16:11 UTC
It seems the patchtest execution in guest is corrupting the content of openembedded-core's .git/config, thus making further executions impossible due to dependencies on such repo. If ran for a first time, guest will do its job and test all mboxes, but when executed for the second time, the machine will stop and halt with the following message:

fatal: Not a git repository (or any parent up to mount point /patchtest)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
INIT: Switching to runlevel: 0
INIT: Sending processes the TERM signal
Comment 1 Leonardo Sandoval Gonzalez 2016-12-06 17:40:49 UTC
Moving to M1
Comment 2 Leonardo Sandoval Gonzalez 2016-12-16 23:38:18 UTC
Daniela,

can you run the 'create-guest' script and follow directions to launch the new guest machine? The script has not being tested (neither the final indications) so please test it and let me know the result. Use the development branch [1] on the patchtest repo. This script will make it much easier to create the guest machine, so following it, 'identical' machines are produced no matter the host being used.

[1] http://git.yoctoproject.org/cgit/cgit.cgi/patchtest/log/?h=create-guest
Comment 3 Daniela Plascencia 2016-12-19 22:13:28 UTC
(In reply to comment #2)
> Daniela,
> 
> can you run the 'create-guest' script and follow directions to launch the
> new guest machine? The script has not being tested (neither the final
> indications) so please test it and let me know the result. 

The script builds and launches the guest machine as expected. I just had to change poky's branch a few commits before master as it had issues in build-time.

> Use the development branch [1] on the patchtest repo. This script will make it much easier to create the guest machine, so following it, 'identical' machines
> are produced no matter the host being used.

Guest seems to be working fine and the patchtest execution doesn't corrupt openembedded-core's .git/config anymore, but the the machine still halts before testing all mboxes [YOCTO 10765]. I haven't found a pattern here, but out of 61 mboxes, around 45 are tested correctly.

> [1] http://git.yoctoproject.org/cgit/cgit.cgi/patchtest/log/?h=create-guest
Comment 4 Leonardo Sandoval Gonzalez 2016-12-20 18:29:33 UTC
With the  reference script to create the guest machine, the guest machine does not cause the reported problem. Resolving it as not-a-bug.