Build failed in Jenkins: system-sync_mirrors-centos-base-el7-x86_64 #5380
23 Nov
2021
23 Nov
'21
6:22 p.m.
See <https://jenkins.ovirt.org/job/system-sync_mirrors-centos-base-el7-x86_64/5380/display/redirect>
Changes:
------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on mirrors-wdc.ovirt.org (mirrors) in workspace <https://jenkins.ovirt.org/job/system-sync_mirrors-centos-base-el7-x86_64/ws/>
The recommended git tool is: NONE
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-centos-base-el7-x86_64/ws/jenkins> # timeout=10
Fetching upstream changes from http://gerrit.ovirt.org/jenkins.git
> git --version # timeout=10
> git --version # 'git version 2.27.0'
> git fetch --tags --force --progress -- http://gerrit.ovirt.org/jenkins.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> 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 --force --progress --prune -- http://gerrit.ovirt.org/jenkins.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision e3367824844aaa565cd7a665f25d029732a066df (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f e3367824844aaa565cd7a665f25d029732a066df # timeout=10
Commit message: "pipelines: drop ovirt-engine-sdk-go"
> git rev-list --no-walk e3367824844aaa565cd7a665f25d029732a066df # timeout=10
[system-sync_mirrors-centos-base-el7-x86_64] $ /bin/bash -xe /tmp/jenkins7512024542318495993.sh
+ jenkins/scripts/mirror_mgr.sh resync_yum_mirror centos-base-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-base-el7 x86_64 jenkins/data/mirrors-reposync.conf
+ local command=resync_yum_mirror
+ command_args=("${@:2}")
+ local command_args
+ cmd_resync_yum_mirror centos-base-el7 x86_64 jenkins/data/mirrors-reposync.conf
+ local repo_name=centos-base-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-base-el7 yum
+ local repo_name=centos-base-el7
+ local repo_type=yum
+ sudo install -o jenkins -d /var/www/html/repos/yum /var/www/html/repos/yum/centos-base-el7 /var/www/html/repos/yum/centos-base-el7/base
+ modify_reposync_conf centos-base-el7 jenkins/data/mirrors-reposync.conf
+ local repo_name=centos-base-el7
+ local reposync_conf=jenkins/data/mirrors-reposync.conf
+ local tmp_file=reposync.tmp
+ awk -v RS= -v 'ORS=\n\n' /main/ jenkins/data/mirrors-reposync.conf
+ awk -v RS= -v 'ORS=\n\n' /centos-base-el7/ jenkins/data/mirrors-reposync.conf
+ mv reposync.tmp jenkins/data/mirrors-reposync.conf
+ check_yum_sync_needed centos-base-el7 x86_64 jenkins/data/mirrors-reposync.conf sync_needed
+ local repo_name=centos-base-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-base-el7
++ IFS=,
++ echo x86_64
+ for arch in $(IFS=,; echo $repo_archs)
++ run_reposync centos-base-el7 x86_64 jenkins/data/mirrors-reposync.conf --urls --quiet
++ local repo_name=centos-base-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-base-el7 --arch=x86_64 --cachedir=/home/jenkins/mirrors_cache --download_path=/var/www/html/repos/yum/centos-base-el7/base --norepopath --urls --quiet
2021-11-23 12:22:04,103 [ERROR] reposync:5791:MainThread @logutil.py:194 - [Errno 13] Permission denied: '/var/log/rhsm/rhsm.log' - Further logging output will be written to stderr
2021-11-23 12:22:04,105 [ERROR] reposync:5791:MainThread @identity.py:156 - Reload of consumer identity cert /etc/pki/consumer/cert.pem raised an exception with msg: [Errno 13] Permission denied: '/etc/pki/consumer/key.pem'
usage: dnf reposync [-c [config file]] [-q] [-v] [--version]
[--installroot [path]] [--nodocs] [--noplugins]
[--enableplugin [plugin]] [--disableplugin [plugin]]
[--releasever RELEASEVER] [--setopt SETOPTS]
[--skip-broken] [-h] [--allowerasing] [-b | --nobest] [-C]
[-R [minutes]] [-d [debug level]] [--debugsolver]
[--showduplicates] [-e ERRORLEVEL] [--obsoletes]
[--rpmverbosity [debug level name]] [-y] [--assumeno]
[--enablerepo [repo]] [--disablerepo [repo] | --repo
[repo]] [--enable | --disable] [-x [package]]
[--disableexcludes [repo]] [--repofrompath [repo,path]]
[--noautoremove] [--nogpgcheck] [--color COLOR]
[--refresh] [-4] [-6] [--destdir DESTDIR] [--downloadonly]
[--comment COMMENT] [--bugfix] [--enhancement]
[--newpackage] [--security] [--advisory ADVISORY]
[--bz BUGZILLA] [--cve CVES]
[--sec-severity {Critical,Important,Moderate,Low}]
[--forcearch ARCH] [-a [arch]] [--delete]
[--download-metadata] [-g] [-m]
[--metadata-path METADATA_PATH] [-n] [--norepopath]
[-p DOWNLOAD_PATH] [--remote-time] [--source] [-u]
dnf reposync: error: unrecognized arguments: --cachedir=/home/jenkins/mirrors_cache --download_path=/var/www/html/repos/yum/centos-base-el7/base
+ reposync_out=
Build step 'Execute shell' marked build as failure
24 Nov
24 Nov
2:24 a.m.
New subject: Jenkins build is back to normal :
system-sync_mirrors-centos-base-el7-x86_64 #5381
1439
Age (days ago)
1440
Last active (days ago)
1 comments
1 participants
participants (1)
-
jenkins@jenkins.phx.ovirt.org