Build failed in Jenkins: deploy-to_ovirt-tmp_for_testing_tested #7
by jenkins@jenkins.phx.ovirt.org
See <http://jenkins.ovirt.org/job/deploy-to_ovirt-tmp_for_testing_tested/7/dis...>
------------------------------------------
Started by user Barak Korren
[EnvInject] - Loading node environment variables.
Building remotely on vm0010.workers-phx.ovirt.org (el7 phx nested) in workspace <http://jenkins.ovirt.org/job/deploy-to_ovirt-tmp_for_testing_tested/ws/>
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-Q4hSNEcH6DkV/agent.1593
SSH_AGENT_PID=1595
[ssh-agent] Started.
$ ssh-add <http://jenkins.ovirt.org/job/deploy-to_ovirt-tmp_for_testing_tested/ws/@t...>
Identity added: <http://jenkins.ovirt.org/job/deploy-to_ovirt-tmp_for_testing_tested/ws/@t...> (<http://jenkins.ovirt.org/job/deploy-to_ovirt-tmp_for_testing_tested/ws/@t...)>
[ssh-agent] Using credentials deploy-ovirt-experimental (SSH key for deploying to the tested repo)
[deploy-to_ovirt-tmp_for_testing_tested] $ /bin/bash -xe /tmp/hudson3725215972434471662.sh
+ [[ dir:/srv/resources/repos/ci-tools/el7/x86_64 == '' ]]
+ echo repo-extra-dir:tmp_for_testing
+ ssh -o StrictHostKeyChecking=no deploy-ovirt-experimental(a)resources.ovirt.org
+ echo dir:/srv/resources/repos/ci-tools/el7/x86_64
Pseudo-terminal will not be allocated because stdin is not a terminal.
+ BASE_DIR=/srv/resources/repos/ovirt/tested
+ PUBLISH_MD_COPIES=50
+ main
+ local tmp_dir
+ mkdir -p /srv/resources/repos/ovirt/tested
++ mktemp -d /srv/resources/repos/ovirt/tested/.deploy.XXXXXXXXXX
Collecting packages
+ tmp_dir=/srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ
+ trap 'rm -rf '\''/srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ'\''' EXIT HUP
+ echo 'Collecting packages'
+ collect_packages /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ
+ local repoman_dst=/srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ
+ repoman --temp-dir generate-in-repo --option main.allowed_repo_paths=/srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ add conf:stdin
2017-06-22 12:35:21,950::INFO::repoman.cmd::
2017-06-22 12:35:21,950::INFO::repoman.cmd::Adding artifacts to the repo /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ
2017-06-22 12:35:21,950::INFO::repoman.common.repo::Adding repo extra dir tmp_for_testing
2017-06-22 12:35:21,955::INFO::repoman.common.stores.RPM::Loading repo /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ/tmp_for_testing
2017-06-22 12:35:21,955::INFO::repoman.common.stores.RPM::Repo /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ/tmp_for_testing loaded
2017-06-22 12:35:21,957::INFO::repoman.common.stores.iso::Loading repo /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ/tmp_for_testing
2017-06-22 12:35:21,958::INFO::repoman.common.stores.iso::Repo /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ/tmp_for_testing loaded
2017-06-22 12:35:21,973::INFO::repoman.common.repo::Resolving artifact source dir:/srv/resources/repos/ci-tools/el7/x86_64
2017-06-22 12:35:22,019::INFO::repoman.common.stores.RPM::Adding package /srv/resources/repos/ci-tools/el7/x86_64/hfsplus-tools-540.1.linux3-4.el7.x86_64.rpm to repo /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ/tmp_for_testing
2017-06-22 12:35:22,072::INFO::repoman.common.stores.RPM::Adding package /srv/resources/repos/ci-tools/el7/x86_64/livecd-tools-23.2-0.el7.centos.x86_64.rpm to repo /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ/tmp_for_testing
2017-06-22 12:35:22,116::INFO::repoman.common.stores.RPM::Adding package /srv/resources/repos/ci-tools/el7/x86_64/livecd-tools-20.1-2.el7.x86_64.rpm to repo /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ/tmp_for_testing
2017-06-22 12:35:22,131::INFO::repoman.common.stores.RPM::Adding package /srv/resources/repos/ci-tools/el7/x86_64/python-imgcreate-23.2-0.el7.centos.x86_64.rpm to repo /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ/tmp_for_testing
2017-06-22 12:35:22,140::INFO::repoman.common.stores.RPM::Adding package /srv/resources/repos/ci-tools/el7/x86_64/python-imgcreate-20.1-2.el7.x86_64.rpm to repo /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ/tmp_for_testing
2017-06-22 12:35:22,140::INFO::repoman.cmd::
2017-06-22 12:35:22,140::INFO::repoman.common.stores.RPM::Saving new added rpms into /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ/tmp_for_testing
2017-06-22 12:35:22,141::INFO::root::Saving /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ/tmp_for_testing/rpm/el7/x86_64/hfsplus-tools-540.1.linux3-4.el7.x86_64.rpm
2017-06-22 12:35:22,142::ERROR::root::cannot copy /srv/resources/repos/ci-tools/el7/x86_64/hfsplus-tools-540.1.linux3-4.el7.x86_64.rpm on /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ/tmp_for_testing/rpm/el7/x86_64/hfsplus-tools-540.1.linux3-4.el7.x86_64.rpm
Traceback (most recent call last):
File "/usr/bin/repoman", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/repoman/cmd.py", line 455, in main
exit_code = do_add(args, config, repo)
File "/usr/lib/python2.7/site-packages/repoman/cmd.py", line 355, in do_add
repo.save()
File "/usr/lib/python2.7/site-packages/repoman/common/repo.py", line 42, in _func
return func(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/repoman/common/repo.py", line 201, in save
store.save()
File "/usr/lib/python2.7/site-packages/repoman/common/stores/RPM/__init__.py", line 261, in save
self._save(**args)
File "/usr/lib/python2.7/site-packages/repoman/common/stores/RPM/__init__.py", line 300, in _save
save_file(pkg.path, dst_path)
File "/usr/lib/python2.7/site-packages/repoman/common/utils.py", line 413, in save_file
copy(src_path, dst_path)
File "/usr/lib/python2.7/site-packages/repoman/common/utils.py", line 271, in copy
os.link(what, where)
OSError: [Errno 1] Operation not permitted
2017-06-22 12:35:22,162::INFO::repoman.common.repo::Cleaning up temporary dir /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ/.lago_tmp/tmpr6UmH7/tmpMsI7Qj
2017-06-22 12:35:22,162::INFO::repoman.common.repo::Cleaning up temporary dir /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ/.lago_tmp/tmpr6UmH7
+ rm -rf /srv/resources/repos/ovirt/tested/.deploy.1L7oJZXEmZ
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 1595 killed;
[ssh-agent] Stopped.
7 years, 5 months
Build failed in Jenkins: system-sync_mirrors-centos-updates-el7-x86_64 #524
by jenkins@jenkins.phx.ovirt.org
See <http://jenkins.ovirt.org/job/system-sync_mirrors-centos-updates-el7-x86_6...>
------------------------------------------
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_6...>
> 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/changes/13/75913/5:patch --prune
> git rev-parse origin/patch^{commit} # timeout=10
> git rev-parse patch^{commit} # timeout=10
Checking out Revision 4b0fe3e0c9fba26cdbaafe2b29fddd3411225d6f (patch)
> git config core.sparsecheckout # timeout=10
> git checkout -f 4b0fe3e0c9fba26cdbaafe2b29fddd3411225d6f
> git rev-list 4b0fe3e0c9fba26cdbaafe2b29fddd3411225d6f # timeout=10
[system-sync_mirrors-centos-updates-el7-x86_64] $ /bin/bash -xe /tmp/hudson5276107032353713280.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
Not using downloaded repomd.xml because it is older than what we have:
Current : Wed Jun 21 07:41:56 2017
Downloaded: Wed Jun 21 07:40:34 2017
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 1494, in _commonLoadRepoXML
self._revertOldRepoXML()
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1323, in _revertOldRepoXML
os.rename(old_data['old_local'], old_data['local'])
OSError: [Errno 2] No such file or directory
Build step 'Execute shell' marked build as failure
7 years, 5 months
[JIRA] (OVIRT-1468) Use CI mirrors for the slaves
by eedri (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-1468?page=com.atlassian.jir... ]
eedri commented on OVIRT-1468:
------------------------------
+1 for the idea, let's discuss on the best way to do it.
We should also consider how we want to manage the slaves in the future, and if will affect the solution.
> Use CI mirrors for the slaves
> -----------------------------
>
> Key: OVIRT-1468
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1468
> Project: oVirt - virtualization made easy
> Issue Type: Improvement
> Components: oVirt Infra
> Reporter: Barak Korren
> Assignee: infra
> Labels: jenkins, mirrors, slaves
>
> Since we've seen that issues like OVIRT-1467 can very quickly break our entire infrastructure, it may be advisable to use out mirrors to isolate the slave VMs from the upstream repos as well, and not just the testing environments.
--
This message was sent by Atlassian JIRA
(v1000.1080.0#100052)
7 years, 5 months
[JIRA] (OVIRT-1472) Add SSL to resources.ovirt.org
by Barak Korren (oVirt JIRA)
Barak Korren created OVIRT-1472:
-----------------------------------
Summary: Add SSL to resources.ovirt.org
Key: OVIRT-1472
URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1472
Project: oVirt - virtualization made easy
Issue Type: Improvement
Components: oVirt Infra
Reporter: Barak Korren
Assignee: infra
Priority: High
This was already requested in the past, not sure why we didn't follow up. We need to allow users to D/L packages without fear of MITM attacks.
Package signing can help a little, but not everything is signed. (ISOs are not signed for example...)
--
This message was sent by Atlassian JIRA
(v1000.1080.0#100052)
7 years, 5 months