Build failed in Jenkins: system-sync_mirrors-centos-updates-el7-x86_64 #1244

Sandro Bonazzola sbonazzo at redhat.com
Mon Feb 5 15:19:50 UTC 2018


Evgheni, can you please check we have latest updates installed on mirror
server? looks like yum has a bug there, fails creating directories
with  _dirSetupMkdir_p if directory already exist

Also please check avc denials there, it may be a selinux problem


2018-02-05 1:39 GMT+01:00 <jenkins at jenkins.phx.ovirt.org>:

> See <http://jenkins.ovirt.org/job/system-sync_mirrors-centos-
> updates-el7-x86_64/1244/display/redirect>
>
> ------------------------------------------
> Started by timer
> [EnvInject] - Loading node environment variables.
> Building remotely on mirrors.phx.ovirt.org (mirrors) in workspace <
> http://jenkins.ovirt.org/job/system-sync_mirrors-centos-
> updates-el7-x86_64/ws/>
>  > git rev-parse --is-inside-work-tree # timeout=10
> Fetching changes from the remote Git repository
>  > git config remote.origin.url http://gerrit.ovirt.org/jenkins.git #
> timeout=10
> Cleaning workspace
>  > git rev-parse --verify HEAD # timeout=10
> Resetting working tree
>  > git reset --hard # timeout=10
>  > git clean -fdx # timeout=10
> Pruning obsolete local branches
> Fetching upstream changes from http://gerrit.ovirt.org/jenkins.git
>  > git --version # timeout=10
>  > git fetch --tags --progress http://gerrit.ovirt.org/jenkins.git
> +refs/heads/*:refs/remotes/origin/* --prune
>  > git rev-parse origin/master^{commit} # timeout=10
> Checking out Revision 1a50d6d60ddb901eb280ba70895fdbe2f8063306
> (origin/master)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f 1a50d6d60ddb901eb280ba70895fdbe2f8063306
> Commit message: "dsl: Search for different ci configurations"
>  > git rev-list 1a50d6d60ddb901eb280ba70895fdbe2f8063306 # timeout=10
> [system-sync_mirrors-centos-updates-el7-x86_64] $ /bin/bash -xe /tmp/
> jenkins3219906071628485055.sh
> + jenkins/scripts/mirror_mgr.sh resync_yum_mirror centos-updates-el7
> x86_64 jenkins/data/mirrors-reposync.conf
> Checking if mirror needs a resync
> Traceback (most recent call last):
>   File "/usr/bin/reposync", line 343, in <module>
>     main()
>   File "/usr/bin/reposync", line 175, in main
>     my.doRepoSetup()
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 681, in
> doRepoSetup
>     return self._getRepos(thisrepo, True)
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 721, in
> _getRepos
>     self._repos.doSetup(thisrepo)
>   File "/usr/lib/python2.7/site-packages/yum/repos.py", line 157, in
> doSetup
>     self.retrieveAllMD()
>   File "/usr/lib/python2.7/site-packages/yum/repos.py", line 88, in
> retrieveAllMD
>     dl = repo._async and repo._commonLoadRepoXML(repo)
>   File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1465, in
> _commonLoadRepoXML
>     local  = self.cachedir + '/repomd.xml'
>   File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 774, in
> <lambda>
>     cachedir = property(lambda self: self._dirGetAttr('cachedir'))
>   File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 757, in
> _dirGetAttr
>     self.dirSetup()
>   File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 735, in
> dirSetup
>     self._dirSetupMkdir_p(dir)
>   File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 712, in
> _dirSetupMkdir_p
>     raise Errors.RepoError, msg
> yum.Errors.RepoError: Error making cache directory:
> /home/jenkins/mirrors_cache/centos-updates-el7 error was: [Errno 17] File
> exists: '/home/jenkins/mirrors_cache/centos-updates-el7'
> Build step 'Execute shell' marked build as failure
> _______________________________________________
> 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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20180205/5e2fe473/attachment.html>


More information about the Infra mailing list