[JIRA] (OVIRT-1702) Jenkins STD-CI are running in dirty mock chroots

Sandro Bonazzola sbonazzo at redhat.com
Mon Oct 16 11:14:43 UTC 2017


2017-10-16 13:09 GMT+02:00 eyal edri (oVirt JIRA) <
jira at ovirt-jira.atlassian.net>:

> [ https://ovirt-jira.atlassian.net/browse/OVIRT-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35140#comment-35140 ]
>
> eyal edri commented on OVIRT-1702:
>
> You mean that because it found an existing dir, the mock wasn't cleaned
> properly? We do have cache for RPMs, but I agree other files shouldn't
> exists from previous runs, are we positive this wasn't created during the
> same job?
>

Yes, I'm sure it hasn't been created during the same instance of the job.
As a workaround I changed the code for deleting the directory if found
there but yes, having a dirty chroot is a risk.




> Jenkins STD-CI are running in dirty mock chroots
>
>      Key: OVIRT-1702
>      URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1702
>  Project: oVirt - virtualization made easy
>          Issue Type: By-EMAIL
> Reporter: sbonazzo
> Assignee: infra
>
> Example: http://jenkins.ovirt.org/job/ovirt-wgt_master_check-patch-
> fc26-x86_64/11/console *09:44:06* + ./automation/build-artifacts.sh*09:44:06*
> + [[ -d exported-artifacts ]]*09:44:06* + mkdir -p
> exported-artifacts*09:44:06* + [[ -d tmp.repos/SOURCES ]]*09:44:06* + mkdir
> -p tmp.repos/SOURCES*09:44:06* + git clone git://anongit.freedesktop.org/
> spice/spice-nsis*09:44:06* fatal: destination path ‘spice-nsis’ already
> exists and is not an empty directory. jobs should run in clean chroots. —
> SANDRO BONAZZOLA ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG
> VIRTUALIZATION R&D Red Hat EMEA <https://www.redhat.com/> <
> https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> <
> http://www.teraplan.it/redhat-osd-2017/>
>
> — This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100065)
>
> _______________________________________________
> Infra mailing list
> Infra at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/infra
>
>


-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
<http://www.teraplan.it/redhat-osd-2017/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20171016/cca7e5d3/attachment-0001.html>


More information about the Infra mailing list