[JIRA] (OVIRT-1441) [RFE] Add a jenkins job for copying external packages to static repos
by eedri (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-1441?page=com.atlassian.jir... ]
eedri commented on OVIRT-1441:
------------------------------
I think we need to remove the static repos completely [1], they already
caused problems in the past which are hard to debug sometimes.
We need a very good reason to want to copy packages manually into oVirt
repos,
There should be 2 options:
1. Add a new project via yaml and build-artifacts so the project will be
built as any other oVirt project, and a build will be done on any commit.
2. If this comes from external source, then we should strive to use an
externa repo for it ( which will be mirrored to ovirt-mirrors )
If the use case isn't one of the above we need to understand it and decide
what is the best solution for it, before we start implementing workaround
jobs to deploy static rpms.
[1] https://ovirt-jira.atlassian.net/browse/OVIRT-1097
On Wed, Jun 14, 2017 at 9:56 AM, Yedidyah Bar David (oVirt JIRA) <
--
Eyal edri
ASSOCIATE MANAGER
RHV DevOps
EMEA VIRTUALIZATION R&D
Red Hat EMEA <https://www.redhat.com/>
<https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)
> [RFE] Add a jenkins job for copying external packages to static repos
> ---------------------------------------------------------------------
>
> Key: OVIRT-1441
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1441
> Project: oVirt - virtualization made easy
> Issue Type: By-EMAIL
> Reporter: Yedidyah Bar David
> Assignee: infra
>
> Description of problem:
> Currently, when we want to copy a package from elsewhere to
> resources.ovirt.org, we manually run repoman. It will be nice to have
> a jenkins job for this - with inputs probably being URLs of source
> packages/repos and target versions to copy to:
> 1. It will not require us anymore to login there and do sensitive
> stuff on it directly
> 2. It will have proper logs, allowing much more easily understand when
> a package was added, by whom, and even perhaps why. So better add to
> the inputs also 'Notes'.
> This is cloned from:
> https://bugzilla.redhat.com/show_bug.cgi?id=1455316
> Best,
> --
> Didi
--
This message was sent by Atlassian JIRA
(v1000.1045.3#100046)
7 years, 7 months
[JIRA] (OVIRT-1441) [RFE] Add a jenkins job for copying external packages to static repos
by Yedidyah Bar David (oVirt JIRA)
Yedidyah Bar David created OVIRT-1441:
-----------------------------------------
Summary: [RFE] Add a jenkins job for copying external packages to static repos
Key: OVIRT-1441
URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1441
Project: oVirt - virtualization made easy
Issue Type: By-EMAIL
Reporter: Yedidyah Bar David
Assignee: infra
Description of problem:
Currently, when we want to copy a package from elsewhere to
resources.ovirt.org, we manually run repoman. It will be nice to have
a jenkins job for this - with inputs probably being URLs of source
packages/repos and target versions to copy to:
1. It will not require us anymore to login there and do sensitive
stuff on it directly
2. It will have proper logs, allowing much more easily understand when
a package was added, by whom, and even perhaps why. So better add to
the inputs also 'Notes'.
This is cloned from:
https://bugzilla.redhat.com/show_bug.cgi?id=1455316
Best,
--
Didi
--
This message was sent by Atlassian JIRA
(v1000.1045.3#100046)
7 years, 7 months
Build failed in Jenkins: system-sync_mirrors-epel-el6-x86_64 #430
by jenkins@jenkins.phx.ovirt.org
See <http://jenkins.ovirt.org/job/system-sync_mirrors-epel-el6-x86_64/430/disp...>
------------------------------------------
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-epel-el6-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/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-epel-el6-x86_64] $ /bin/bash -xe /tmp/hudson8359234339226768270.sh
+ 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 112, in retrieveAllMD
repo._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, 7 months
oVirt infra daily report - unstable production jobs - 352
by jenkins@jenkins.phx.ovirt.org
------=_Part_339_1907269602.1497394801691
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Good morning!
Attached is the HTML page with the jenkins status report. You can see it also here:
- http://jenkins.ovirt.org/job/system_jenkins-report/352//artifact/exported...
Cheers,
Jenkins
------=_Part_339_1907269602.1497394801691
Content-Type: text/html; charset=us-ascii; name=upstream_report.html
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=upstream_report.html
Content-ID: <upstream_report.html>
<!DOCTYPE html><head><style type="text/css">
table.gridtable {
border-collapse: collapse;
table-layout:fixed;
width:1600px;
font-family: monospace;
font-size:13px;
}
.head {
font-size:20px;
font-family: arial;
}
.sub {
font-size:18px;
background-color:#e5e5e5;
font-family: arial;
}
pre {
font-family: monospace;
display: inline;
white-space: pre-wrap;
white-space: -moz-pre-wrap !important;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
}
</style>
</head>
<body>
<table class="gridtable" border=2>
<tr><th colspan=2 class=head>
RHEVM CI Jenkins Daily Report - 13/06/2017
</th></tr><tr><th colspan=2 class=sub>
<font color="blue"><a href="http://jenkins.ovirt.org/">00 Unstable Critical</a></font>
</th></tr>
<tr><td>
<a href="http://jenkins.ovirt.org/job/ovirt_master_image-ng-system-tests/">ovirt_master_image-ng-system-tests</a>
</td><td>
This job is automatically updated by jenkins job builder, any manual
change will be lost in the next update. If you want to make permanent
changes, check out the <a href="http://gerrit.ovirt.org/gitweb?p=jenkins.git;a=tree;h=refs/heads/master;h...">
jenkins</a> repo.
<!-- Managed by Jenkins Job Builder -->
</td></tr>
<tr><td>
<a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/">test-repo_ovirt_experimental_master</a>
</td><td>
This job is automatically updated by jenkins job builder, any manual
change will be lost in the next update. If you want to make permanent
changes, check out the <a href="http://gerrit.ovirt.org/gitweb?p=jenkins.git;a=tree;h=refs/heads/master;h...">
jenkins</a> repo.
<!-- Managed by Jenkins Job Builder -->
</td></tr>
------=_Part_339_1907269602.1497394801691--
7 years, 7 months
[JIRA] (OVIRT-1440) fix gerrit accounts for rmeggins
by Evgheni Dereveanchin (oVirt JIRA)
Evgheni Dereveanchin created OVIRT-1440:
-------------------------------------------
Summary: fix gerrit accounts for rmeggins
Key: OVIRT-1440
URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1440
Project: oVirt - virtualization made easy
Issue Type: Task
Components: Gerrit/git
Reporter: Evgheni Dereveanchin
Assignee: infra
Richard Megginson seems to have two accounts on gerrit none of which can be added as reviewer. Logging ticket to investigate and fix.
--
This message was sent by Atlassian JIRA
(v1000.1043.2#100046)
7 years, 7 months
[oVirt Jenkins] ovirt-appliance_master_build-artifacts-el7-x86_64 - Build # 451 - Failure!
by jenkins@jenkins.phx.ovirt.org
------=_Part_269_176307941.1497275729355
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Project: http://jenkins.ovirt.org/job/ovirt-appliance_master_build-artifacts-el7-x...
Build: http://jenkins.ovirt.org/job/ovirt-appliance_master_build-artifacts-el7-x...
Build Number: 451
Build Status: Failure
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #451
[Barak Korren] Adding production change queue job scaffolding
[Barak Korren] Add support for bundling builds in changes
[Barak Korren] Added build tracking to change queue pipelines
[Barak Korren] Improve pipeline-loader checkout_repo function
[Sandro Bonazzola] python-windows: add el7 and fc26
[Sandro Bonazzola] pywin32-py2.7: add fc26 and el7 support
[Sandro Bonazzola] ovirt-engine-sdk: add fc26 jobs on master
[Sandro Bonazzola] ovirt-host: add automation
[Yuval Turgeman] Revert "engine-appliance: build in selinux enforcing mode"
-----------------
Failed Tests:
-----------------
No tests ran.
------=_Part_269_176307941.1497275729355--
7 years, 7 months
[oVirt Jenkins] ovirt_4.1_hc-system-tests - Build # 76 - Failure!
by jenkins@jenkins.phx.ovirt.org
------=_Part_9_1929539558.1495683988033
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Project: http://jenkins.ovirt.org/job/ovirt_4.1_hc-system-tests/=20
Build: http://jenkins.ovirt.org/job/ovirt_4.1_hc-system-tests/76/
Build Number: 76
Build Status: Failure
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #76
[Ond=C5=99ej Svoboda] Use SDKv4 code in add_labeled_network.
[Barak Korren] Refactor: Use macros in defaults file
[Barak Korren] Default values for 'arch' and 'distro' in STD-CI
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED: 002_bootstrap.add_hosts
Error Message:
status: 409
reason: Conflict
detail: Cannot add Host. There is no available server in the cluster to pro=
be the new server.
-------------------- >> begin captured logging << --------------------
lago.utils: ERROR: Error while running thread
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 58, in _ret_v=
ia_queue
queue.put({'return': func()})
File "/home/jenkins/workspace/ovirt_4.1_hc-system-tests/ovirt-system-test=
s/hc-basic-suite-4.1/test-scenarios/002_bootstrap.py", line 141, in _add_ho=
st
return api.hosts.add(p)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py=
", line 18306, in add
headers=3D{"Correlation-Id":correlation_id, "Expect":expect}
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py",=
line 79, in add
return self.request('POST', url, body, headers, cls=3Dcls)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py",=
line 122, in request
persistent_auth=3Dself.__persistent_auth
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connection=
spool.py", line 79, in do_request
persistent_auth)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connection=
spool.py", line 162, in __do_request
raise errors.RequestError(response_code, response_reason, response_body=
)
RequestError:=20
status: 409
reason: Conflict
detail: Cannot add Host. There is no available server in the cluster to pro=
be the new server.
lago.utils: ERROR: Error while running thread
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 58, in _ret_v=
ia_queue
queue.put({'return': func()})
File "/home/jenkins/workspace/ovirt_4.1_hc-system-tests/ovirt-system-test=
s/hc-basic-suite-4.1/test-scenarios/002_bootstrap.py", line 141, in _add_ho=
st
return api.hosts.add(p)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py=
", line 18306, in add
headers=3D{"Correlation-Id":correlation_id, "Expect":expect}
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py",=
line 79, in add
return self.request('POST', url, body, headers, cls=3Dcls)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py",=
line 122, in request
persistent_auth=3Dself.__persistent_auth
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connection=
spool.py", line 79, in do_request
persistent_auth)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connection=
spool.py", line 162, in __do_request
raise errors.RequestError(response_code, response_reason, response_body=
)
RequestError:=20
status: 409
reason: Conflict
detail: Cannot add Host. There is no available server in the cluster to pro=
be the new server.
--------------------- >> end captured logging << ---------------------
Stack Trace:
File "/usr/lib64/python2.7/unittest/case.py", line 369, in run
testMethod()
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTes=
t
self.test(*self.arg)
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 129, i=
n wrapped_test
test()
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 59, in=
wrapper
return func(get_test_prefix(), *args, **kwargs)
File "/home/jenkins/workspace/ovirt_4.1_hc-system-tests/ovirt-system-test=
s/hc-basic-suite-4.1/test-scenarios/002_bootstrap.py", line 160, in add_hos=
ts
nt.assert_true(all(vt.join_all()))
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 58, in _ret_v=
ia_queue
queue.put({'return': func()})
File "/home/jenkins/workspace/ovirt_4.1_hc-system-tests/ovirt-system-test=
s/hc-basic-suite-4.1/test-scenarios/002_bootstrap.py", line 141, in _add_ho=
st
return api.hosts.add(p)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py=
", line 18306, in add
headers=3D{"Correlation-Id":correlation_id, "Expect":expect}
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py",=
line 79, in add
return self.request('POST', url, body, headers, cls=3Dcls)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py",=
line 122, in request
persistent_auth=3Dself.__persistent_auth
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connection=
spool.py", line 79, in do_request
persistent_auth)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connection=
spool.py", line 162, in __do_request
raise errors.RequestError(response_code, response_reason, response_body=
)
status: 409
reason: Conflict
detail: Cannot add Host. There is no available server in the cluster to pro=
be the new server.
-------------------- >> begin captured logging << --------------------
lago.utils: ERROR: Error while running thread
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 58, in _ret_v=
ia_queue
queue.put({'return': func()})
File "/home/jenkins/workspace/ovirt_4.1_hc-system-tests/ovirt-system-test=
s/hc-basic-suite-4.1/test-scenarios/002_bootstrap.py", line 141, in _add_ho=
st
return api.hosts.add(p)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py=
", line 18306, in add
headers=3D{"Correlation-Id":correlation_id, "Expect":expect}
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py",=
line 79, in add
return self.request('POST', url, body, headers, cls=3Dcls)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py",=
line 122, in request
persistent_auth=3Dself.__persistent_auth
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connection=
spool.py", line 79, in do_request
persistent_auth)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connection=
spool.py", line 162, in __do_request
raise errors.RequestError(response_code, response_reason, response_body=
)
RequestError:=20
status: 409
reason: Conflict
detail: Cannot add Host. There is no available server in the cluster to pro=
be the new server.
lago.utils: ERROR: Error while running thread
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 58, in _ret_v=
ia_queue
queue.put({'return': func()})
File "/home/jenkins/workspace/ovirt_4.1_hc-system-tests/ovirt-system-test=
s/hc-basic-suite-4.1/test-scenarios/002_bootstrap.py", line 141, in _add_ho=
st
return api.hosts.add(p)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py=
", line 18306, in add
headers=3D{"Correlation-Id":correlation_id, "Expect":expect}
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py",=
line 79, in add
return self.request('POST', url, body, headers, cls=3Dcls)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py",=
line 122, in request
persistent_auth=3Dself.__persistent_auth
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connection=
spool.py", line 79, in do_request
persistent_auth)
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/connection=
spool.py", line 162, in __do_request
raise errors.RequestError(response_code, response_reason, response_body=
)
RequestError:=20
status: 409
reason: Conflict
detail: Cannot add Host. There is no available server in the cluster to pro=
be the new server.
--------------------- >> end captured logging << ---------------------
------=_Part_9_1929539558.1495683988033--
7 years, 7 months