[JIRA] (OVIRT-2641) mirror_mgr.sh - Build error
by Barak Korren (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2641?page=com.atlassian.jir... ]
Barak Korren commented on OVIRT-2641:
-------------------------------------
If I understand correctly the severity is low since this sorts itslef out in the next run right?
> mirror_mgr.sh - Build error
> ---------------------------
>
> Key: OVIRT-2641
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2641
> Project: oVirt - virtualization made easy
> Issue Type: Bug
> Components: CI Mirrors
> Reporter: Liora Milbaum
> Assignee: infra
>
> From job run:
> [https://jenkins.ovirt.org/blue/organizations/jenkins/system-sync_mirrors-...]
> {code}+ jenkins/scripts/mirror_mgr.sh resync_yum_mirror epel-el6 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'
> {code}
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100096)
5 years, 10 months
[JIRA] (OVIRT-2641) mirror_mgr.sh - Build error
by Barak Korren (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2641?page=com.atlassian.jir... ]
Barak Korren commented on OVIRT-2641:
-------------------------------------
Maybe we have some sort of a race condition there - AFAIR that cache directory is not supposed to be kept around over time... or maybe it does and there was a change of behaviour in yum since I wrote the script...
If you feel like trying to debug this, the script is at {{scripts/mirror_mgr.sh}} in the jenkins repo.
> mirror_mgr.sh - Build error
> ---------------------------
>
> Key: OVIRT-2641
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2641
> Project: oVirt - virtualization made easy
> Issue Type: Bug
> Components: CI Mirrors
> Reporter: Liora Milbaum
> Assignee: infra
>
> From job run:
> [https://jenkins.ovirt.org/blue/organizations/jenkins/system-sync_mirrors-...]
> {code}+ jenkins/scripts/mirror_mgr.sh resync_yum_mirror epel-el6 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'
> {code}
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100096)
5 years, 10 months
[JIRA] (OVIRT-2641) mirror_mgr.sh - Build error
by Barak Korren (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2641?page=com.atlassian.jir... ]
Barak Korren updated OVIRT-2641:
--------------------------------
Component/s: CI Mirrors
> mirror_mgr.sh - Build error
> ---------------------------
>
> Key: OVIRT-2641
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2641
> Project: oVirt - virtualization made easy
> Issue Type: Bug
> Components: CI Mirrors
> Reporter: Liora Milbaum
> Assignee: infra
>
> From job run:
> [https://jenkins.ovirt.org/blue/organizations/jenkins/system-sync_mirrors-...]
> {code}+ jenkins/scripts/mirror_mgr.sh resync_yum_mirror epel-el6 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'
> {code}
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100096)
5 years, 10 months
[JIRA] (OVIRT-2641) mirror_mgr.sh - Build error
by Liora Milbaum (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2641?page=com.atlassian.jir... ]
Liora Milbaum commented on OVIRT-2641:
--------------------------------------
[~bkorren(a)redhat.com] this error or similar one appears almost every day.
> mirror_mgr.sh - Build error
> ---------------------------
>
> Key: OVIRT-2641
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2641
> Project: oVirt - virtualization made easy
> Issue Type: Bug
> Reporter: Liora Milbaum
> Assignee: infra
>
> From job run:
> [https://jenkins.ovirt.org/blue/organizations/jenkins/system-sync_mirrors-...]
> {code}+ jenkins/scripts/mirror_mgr.sh resync_yum_mirror epel-el6 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'
> {code}
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100096)
5 years, 10 months
[JIRA] (OVIRT-2641) mirror_mgr.sh - Build error
by Liora Milbaum (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2641?page=com.atlassian.jir... ]
Liora Milbaum updated OVIRT-2641:
---------------------------------
Description:
From job run:
[https://jenkins.ovirt.org/blue/organizations/jenkins/system-sync_mirrors-...]
{code}+ jenkins/scripts/mirror_mgr.sh resync_yum_mirror epel-el6 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'
{code}
> mirror_mgr.sh - Build error
> ---------------------------
>
> Key: OVIRT-2641
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2641
> Project: oVirt - virtualization made easy
> Issue Type: Bug
> Reporter: Liora Milbaum
> Assignee: infra
>
> From job run:
> [https://jenkins.ovirt.org/blue/organizations/jenkins/system-sync_mirrors-...]
> {code}+ jenkins/scripts/mirror_mgr.sh resync_yum_mirror epel-el6 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'
> {code}
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100096)
5 years, 10 months
Build failed in Jenkins:
system-sync_mirrors-fedora-base-fc29-x86_64 #165
by jenkins@jenkins.phx.ovirt.org
See <http://jenkins.ovirt.org/job/system-sync_mirrors-fedora-base-fc29-x86_64/...>
------------------------------------------
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-fedora-base-fc29-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 65b7fcabfccd9439d71f60b039775b03d81bf113 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 65b7fcabfccd9439d71f60b039775b03d81bf113
Commit message: "Add mock configs for Fedora 29"
> git rev-list --no-walk 65b7fcabfccd9439d71f60b039775b03d81bf113 # timeout=10
[system-sync_mirrors-fedora-base-fc29-x86_64] $ /bin/bash -xe /tmp/jenkins3712860142715657240.sh
+ jenkins/scripts/mirror_mgr.sh resync_yum_mirror fedora-base-fc29 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-kvm-common-el7 error was: [Errno 17] File exists: '/home/jenkins/mirrors_cache/centos-kvm-common-el7'
Build step 'Execute shell' marked build as failure
5 years, 10 months
[JIRA] (OVIRT-2636) Tests failed because global_setup.sh failed
by Liora Milbaum (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2636?page=com.atlassian.jir... ]
Liora Milbaum commented on OVIRT-2636:
--------------------------------------
[~bkorren(a)redhat.com] Are we logging the systemctl/journalctl logs in case of failure?
> Tests failed because global_setup.sh failed
> -------------------------------------------
>
> Key: OVIRT-2636
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2636
> Project: oVirt - virtualization made easy
> Issue Type: By-EMAIL
> Reporter: Nir Soffer
> Assignee: infra
>
> Not sure why global setup failed:
> + [[ ! -O /home/jenkins/.ssh ]]
> + [[ ! -G /home/jenkins/.ssh ]]
> + verify_set_permissions 700 /home/jenkins/.ssh
> + local target_permissions=700
> + local path_to_set=/home/jenkins/.ssh
> ++ stat -c %a /home/jenkins/.ssh
> + local access=700
> + [[ 700 != \7\0\0 ]]
> + return 0
> + [[ -f /home/jenkins/.ssh/known_hosts ]]
> + verify_set_ownership /home/jenkins/.ssh/known_hosts
> + local path_to_set=/home/jenkins/.ssh/known_hosts
> ++ id -un
> + local owner=jenkins
> ++ id -gn
> + local group=jenkins
> + [[ ! -O /home/jenkins/.ssh/known_hosts ]]
> + [[ ! -G /home/jenkins/.ssh/known_hosts ]]
> + verify_set_permissions 644 /home/jenkins/.ssh/known_hosts
> + local target_permissions=644
> + local path_to_set=/home/jenkins/.ssh/known_hosts
> ++ stat -c %a /home/jenkins/.ssh/known_hosts
> + local access=644
> + [[ 644 != \6\4\4 ]]
> + return 0
> + return 0
> + true
> + log ERROR Aborting.
> Build:
> https://jenkins.ovirt.org/blue/rest/organizations/jenkins/pipelines/vdsm_...
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100096)
5 years, 10 months