See
<
https://jenkins.ovirt.org/job/system-sync_mirrors-centos-updates-7.6-el7-...
Changes:
[Shlomi] Added mirror cleanup functionality
[Evgheni Dereveanchin] Modules support for mirror_mgr.sh
------------------------------------------
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-centos-updates-7.6-el7-...
No credentials specified
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 --prune
http://gerrit.ovirt.org/jenkins.git
+refs/heads/*:refs/remotes/origin/*
git rev-parse origin/master^{commit} # timeout=10
Checking out Revision
b0242f912aee94ecc7c666a3a4d7a2e9e04a41ae (origin/master)
git config core.sparsecheckout # timeout=10
git checkout -f b0242f912aee94ecc7c666a3a4d7a2e9e04a41ae
Commit message:
"Modules support for mirror_mgr.sh"
git rev-list --no-walk e05031190c69f2bb02c8d7fbe206529444ec1f12 #
timeout=10
[system-sync_mirrors-centos-updates-7.6-el7-x86_64] $ /bin/bash -xe
/tmp/jenkins4110956842342858110.sh
+ jenkins/scripts/mirror_mgr.sh resync_yum_mirror centos-updates-7.6-el7 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 centos-updates-7.6-el7 x86_64 jenkins/data/mirrors-reposync.conf
+ local command=resync_yum_mirror
+ command_args=("${@:2}")
+ local command_args
+ cmd_resync_yum_mirror centos-updates-7.6-el7 x86_64 jenkins/data/mirrors-reposync.conf
+ local repo_name=centos-updates-7.6-el7
+ 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 centos-updates-7.6-el7 yum
+ local repo_name=centos-updates-7.6-el7
+ local repo_type=yum
+ sudo install -o jenkins -d /var/www/html/repos/yum
/var/www/html/repos/yum/centos-updates-7.6-el7
/var/www/html/repos/yum/centos-updates-7.6-el7/base
+ check_yum_sync_needed centos-updates-7.6-el7 x86_64 jenkins/data/mirrors-reposync.conf
sync_needed
+ local repo_name=centos-updates-7.6-el7
+ 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/centos-updates-7.6-el7
++ IFS=,
++ echo x86_64
+ for arch in '$(IFS=,; echo $repo_archs)'
++ run_reposync centos-updates-7.6-el7 x86_64 jenkins/data/mirrors-reposync.conf --urls
--quiet
++ local repo_name=centos-updates-7.6-el7
++ 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=centos-updates-7.6-el7
--arch=x86_64 --cachedir=/home/jenkins/mirrors_cache
--download_path=/var/www/html/repos/yum/centos-updates-7.6-el7/base --norepopath
--newest-only --urls --quiet
Error setting up repositories: failure:
repodata/65b728bb44786c3cfb7b7b8ac9eaf86217c43cdef1560c939dadb7860aaf042a-primary.sqlite.bz2
from centos-updates-7.6-el7: [Errno 256] No more mirrors to try.
http://vault.centos.org/7.6.1810/updates/x86_64/repodata/65b728bb44786c3c...:
[Errno 16] error setting timestamp on file
/home/jenkins/mirrors_cache/centos-updates-7.6-el7/65b728bb44786c3cfb7b7b8ac9eaf86217c43cdef1560c939dadb7860aaf042a-primary.sqlite.bz2
from
http://vault.centos.org/7.6.1810/updates/x86_64/repodata/65b728bb44786c3c...,
OSError: [Errno 2] No such file or directory:
'/home/jenkins/mirrors_cache/centos-updates-7.6-el7/65b728bb44786c3cfb7b7b8ac9eaf86217c43cdef1560c939dadb7860aaf042a-primary.sqlite.bz2'
+ reposync_out=
Build step 'Execute shell' marked build as failure