Build failed in Jenkins: system-sync_mirrors-ovirt-master-glusterfs-7-el8-x86_64 #1
2 Apr
2020
2 Apr
'20
8:57 a.m.
See <https://jenkins.ovirt.org/job/system-sync_mirrors-ovirt-master-glusterfs-7-el8-x86_64/1/display/redirect>
Changes:
------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on mirrors.phx.ovirt.org (mirrors) in workspace <https://jenkins.ovirt.org/job/system-sync_mirrors-ovirt-master-glusterfs-7-el8-x86_64/ws/>
No credentials specified
Cloning the remote Git repository
Cloning repository http://gerrit.ovirt.org/jenkins.git
> git init <https://jenkins.ovirt.org/job/system-sync_mirrors-ovirt-master-glusterfs-7-el8-x86_64/ws/jenkins> # timeout=10
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/*
> git config remote.origin.url http://gerrit.ovirt.org/jenkins.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url http://gerrit.ovirt.org/jenkins.git # timeout=10
Cleaning workspace
> git rev-parse --verify HEAD # timeout=10
No valid HEAD. Skipping the resetting
> git clean -fdx # timeout=10
Pruning obsolete local branches
Fetching upstream changes from http://gerrit.ovirt.org/jenkins.git
> git fetch --tags --progress --prune http://gerrit.ovirt.org/jenkins.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 1a6fa1a66d9b8d03a1743688ee5850d559fdccfe (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 1a6fa1a66d9b8d03a1743688ee5850d559fdccfe
Commit message: "fix gpg keys for COPR repos"
First time build. Skipping changelog.
[system-sync_mirrors-ovirt-master-glusterfs-7-el8-x86_64] $ /bin/bash -xe /tmp/jenkins4294545504113489729.sh
+ jenkins/scripts/mirror_mgr.sh resync_yum_mirror ovirt-master-glusterfs-7-el8 x86_64 jenkins/data/mirrors-reposync.conf
+ MIRRORS_MP_BASE=/var/www/html/repos
+ MIRRORS_HTTP_BASE=http://mirrors.phx.ovirt.org/repos
+ MIRRORS_CACHE=/home/jenkins/mirrors_cache
+ YUM_PATH=/yum/
+ MIRRORS_BASE_PREFIX=/var/www/html/repos/yum/
+ REPOQUERY_HTTP_BASE=http://mirrors.phx.ovirt.org/repos/yum/
+ MAX_LOCK_ATTEMPTS=120
+ LOCK_WAIT_INTERVAL=5
+ LOCK_BASE=/home/jenkins
+ OLD_MD_TO_KEEP=100
+ MAX_AGE=14
+ HTTP_SELINUX_TYPE=httpd_sys_content_t
+ HTTP_FILE_MODE=644
+ main resync_yum_mirror ovirt-master-glusterfs-7-el8 x86_64 jenkins/data/mirrors-reposync.conf
+ local command=resync_yum_mirror
+ command_args=("${@:2}")
+ local command_args
+ cmd_resync_yum_mirror ovirt-master-glusterfs-7-el8 x86_64 jenkins/data/mirrors-reposync.conf
+ local repo_name=ovirt-master-glusterfs-7-el8
+ local repo_archs=x86_64
+ local reposync_conf=jenkins/data/mirrors-reposync.conf
+ local sync_needed
+ mkdir -p /home/jenkins/mirrors_cache
+ verify_repo_fs ovirt-master-glusterfs-7-el8 yum
+ local repo_name=ovirt-master-glusterfs-7-el8
+ local repo_type=yum
+ sudo install -o jenkins -d /var/www/html/repos/yum /var/www/html/repos/yum/ovirt-master-glusterfs-7-el8 /var/www/html/repos/yum/ovirt-master-glusterfs-7-el8/base
+ check_yum_sync_needed ovirt-master-glusterfs-7-el8 x86_64 jenkins/data/mirrors-reposync.conf sync_needed
+ local repo_name=ovirt-master-glusterfs-7-el8
+ local repo_archs=x86_64
+ local reposync_conf=jenkins/data/mirrors-reposync.conf
+ local p_sync_needed=sync_needed
+ local reposync_out
+ echo 'Checking if mirror needs a resync'
Checking if mirror needs a resync
+ rm -rf /home/jenkins/mirrors_cache/ovirt-master-glusterfs-7-el8
++ IFS=,
++ echo x86_64
+ for arch in '$(IFS=,; echo $repo_archs)'
++ run_reposync ovirt-master-glusterfs-7-el8 x86_64 jenkins/data/mirrors-reposync.conf --urls --quiet
++ local repo_name=ovirt-master-glusterfs-7-el8
++ local repo_arch=x86_64
++ local reposync_conf=jenkins/data/mirrors-reposync.conf
++ extra_args=("${@:4}")
++ local extra_args
++ reposync --config=jenkins/data/mirrors-reposync.conf --repoid=ovirt-master-glusterfs-7-el8 --arch=x86_64 --cachedir=/home/jenkins/mirrors_cache --download_path=/var/www/html/repos/yum/ovirt-master-glusterfs-7-el8/base --norepopath --newest-only --urls --quiet
Not using downloaded epel-el8/repomd.xml because it is older than what we have:
Current : Thu Apr 2 06:00:45 2020
Downloaded: Wed Apr 1 03:06:06 2020
Traceback (most recent call last):
File "/usr/bin/reposync", line 377, in <module>
main()
File "/usr/bin/reposync", line 186, 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 1506, in _commonLoadRepoXML
self._revertOldRepoXML()
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1334, in _revertOldRepoXML
os.rename(old_data['old_local'], old_data['local'])
OSError: [Errno 2] No such file or directory
+ reposync_out='Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64 error was
16: error opening file from https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64, IOError: [Errno 2] No such file or directory: '\''/home/jenkins/mirrors_cache/epel-el7/metalink.xml.tmp'\'''
Build step 'Execute shell' marked build as failure
2 Apr
2 Apr
9:58 a.m.
New subject: Jenkins build is back to normal :
system-sync_mirrors-ovirt-master-glusterfs-7-el8-x86_64 #2
2043
Age (days ago)
2043
Last active (days ago)
1 comments
1 participants
participants (1)
-
jenkins@jenkins.phx.ovirt.org