Several git errors in several jobs
Description
is duplicated by
Activity
Eyal Edri December 7, 2016 at 10:55 AM
any patch on its yet?
Fabian Deutsch December 7, 2016 at 9:36 AMEdited
Tonight 4 jobs failed because of this issue.
Barak Korren December 6, 2016 at 5:16 PM
sudo rm will just mean you need to re-clone everything from Gerrit every time the job runs, its a waste of time...
I will try to send a patch for this soon
Eyal Edri December 6, 2016 at 5:04 PM
can you help with the patch to fix mock cleanup? I'm not sure is familiar enough with standard ci and we need it fixed soon so node jobs can run
Fabian Deutsch December 6, 2016 at 4:05 PM
Could be the case, because libvirt is involved, which might also touch this directory, which could be setting different users.
What about sudo rm'ing the workspace?
I'm open to any fix for this issue.
Barak Korren December 6, 2016 at 12:58 PM
Hmm... I can make an educated guess that what we're seeing here is that some files in the local git clone belong to the root user as opposed to the jenkins user.
This could happen if something from inside mock is running any git commands that write to the repo...
I guess what we could do is make mock_cleanup.sh ensure that no file are left in $WORKSPACE that do not belong the 'jenkins'
Eyal Edri December 6, 2016 at 11:16 AM
I think you have another ticket on it, need to find it, but as it continuous to happen on multiple jobs, please give it high priority,
We can do a more aggressive cleanup before git clone or shutdown problematic slaves if it happens only on specific ones, but let's address it now even with the cost of adding a few more seconds to runtime until we have a proper solution.
The following jobs all had the same git issue, first cloning then cleaning:
* http://jenkins.ovirt.org/user/fabiand/my-views/view/Unstable/job/ovirt-node-ng_ovirt-3.6_build-artifacts-el7-x86_64/138/console
http://jenkins.ovirt.org/user/fabiand/my-views/view/Unstable/job/ovirt-node-ng_ovirt-4.1-pre_build-artifacts-el7-x86_64/6/console
http://jenkins.ovirt.org/user/fabiand/my-views/view/Unstable/job/ovirt-node-ng_ovirt-master-experimental_build-artifacts-el7-x86_64/19/console
This happened several times in the last weeks.