[JIRA] (OVIRT-1561) Fix SCM and trigger yamls to support project and custom project
by Gil Shinar (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-1561?page=com.atlassian.jir... ]
Gil Shinar reassigned OVIRT-1561:
---------------------------------
Assignee: infra (was: Gil Shinar)
> Fix SCM and trigger yamls to support project and custom project
> ---------------------------------------------------------------
>
> Key: OVIRT-1561
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1561
> Project: oVirt - virtualization made easy
> Issue Type: Task
> Reporter: Gil Shinar
> Assignee: infra
>
> In order to support all types of git URLs and project folders, we have decided to do the following:
> 1) Git clone dir, $\{WORKSPACE}/\{dir} will always stay $\{WORKSPACE}/\{project}
> 2) git URL will be different when using default macro and custom-repo macro.
> for default it'll be: \{git-proto}://\{git-server}/\{gerrit_subpath}\{project}
> for custom-repo it'll be: \{git-proto}://\{git-server}/\{gerrit_subpath}\{custom_repo}
> 3) trigger will also have default and custom repo.
> for default it'll be \{project}
> for custom-repo it'll be \{custome_repo}
> custom_repo can be a project name or project name + path
--
This message was sent by Atlassian JIRA
(v1000.1145.0#100056)
7 years, 3 months
[JIRA] (OVIRT-1561) Fix SCM and trigger yamls to support project, custom project and special foldering
by Gil Shinar (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-1561?page=com.atlassian.jir... ]
Gil Shinar reassigned OVIRT-1561:
---------------------------------
Assignee: Gil Shinar (was: infra)
> Fix SCM and trigger yamls to support project, custom project and special foldering
> ----------------------------------------------------------------------------------
>
> Key: OVIRT-1561
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1561
> Project: oVirt - virtualization made easy
> Issue Type: Task
> Reporter: Gil Shinar
> Assignee: Gil Shinar
>
> In order to support all types of git URLs and project folders, we have decided to do the following:
> 1) Git clone dir, ${WORKSPACE}/{dir} will always stays ${WORKSPACE}/{project}
> 2) git URL will be different when using default macro and custom-repo macro.
> for default it'll be: {git-proto}://{git-server}/{project}
> for custom-repo it'll be: {git-proto}://{git-server}/{gerrit_subpath}/{custom_repo}
> 3) trigger will also have default and custom repo.
> for default it'll be {project}
> for custom-repo it'll be {custome_repo}
> custom_repo can be a project name or project name + path
--
This message was sent by Atlassian JIRA
(v1000.1145.0#100056)
7 years, 3 months
[JIRA] (OVIRT-1561) Fix SCM and trigger yamls to support project, custom project and special foldering
by Gil Shinar (oVirt JIRA)
Gil Shinar created OVIRT-1561:
---------------------------------
Summary: Fix SCM and trigger yamls to support project, custom project and special foldering
Key: OVIRT-1561
URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1561
Project: oVirt - virtualization made easy
Issue Type: Task
Reporter: Gil Shinar
Assignee: infra
In order to support all types of git URLs and project folders, we have decided to do the following:
1) Git clone dir, ${WORKSPACE}/{dir} will always stays ${WORKSPACE}/{project}
2) git URL will be different when using default macro and custom-repo macro.
for default it'll be: {git-proto}://{git-server}/{project}
for custom-repo it'll be: {git-proto}://{git-server}/{gerrit_subpath}/{custom_repo}
3) trigger will also have default and custom repo.
for default it'll be {project}
for custom-repo it'll be {custome_repo}
custom_repo can be a project name or project name + path
--
This message was sent by Atlassian JIRA
(v1000.1145.0#100056)
7 years, 3 months
[oVirt Jenkins] system-tests_he-basic-suite-master - Build # 4 - Unstable!
by jenkins@jenkins.phx.ovirt.org
------=_Part_111_1128399044.1501298816209
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Project: http://jenkins.ovirt.org/job/system-tests_he-basic-suite-master/
Build: http://jenkins.ovirt.org/job/system-tests_he-basic-suite-master/4/
Build Number: 4
Build Status: Unstable
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #4
[Gal Ben Haim] Adding docs about reposync and repoman
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED: 002_bootstrap.wait_engine
Error Message:
None != True after 600 seconds
Stack Trace:
Traceback (most recent call last):
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 runTest
self.test(*self.arg)
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 129, in 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/system-tests_he-basic-suite-master/ovirt-system-tests/he-basic-suite-master/test-scenarios/002_bootstrap.py", line 714, in wait_engine
testlib.assert_true_within(_engine_is_up, timeout=10 * 60)
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 256, in assert_true_within
assert_equals_within(func, True, timeout, allowed_exceptions)
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 230, in assert_equals_within
'%s != %s after %s seconds' % (res, value, timeout)
AssertionError: None != True after 600 seconds
------=_Part_111_1128399044.1501298816209--
7 years, 3 months
Build failed in Jenkins: deploy-to_ovirt-4.1_tested #198
by jenkins@jenkins.phx.ovirt.org
See <http://jenkins.ovirt.org/job/deploy-to_ovirt-4.1_tested/198/display/redirect>
------------------------------------------
Started by upstream project "ovirt-release_4.1_build-artifacts-el7-x86_64" build number 271
originally caused by:
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on vm0168.workers-phx.ovirt.org (phx nested fc25) in workspace <http://jenkins.ovirt.org/job/deploy-to_ovirt-4.1_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-b2EG8LixjEgU/agent.9269
SSH_AGENT_PID=9271
[ssh-agent] Started.
$ ssh-add <http://jenkins.ovirt.org/job/deploy-to_ovirt-4.1_tested/ws/@tmp/private_k...>
Identity added: <http://jenkins.ovirt.org/job/deploy-to_ovirt-4.1_tested/ws/@tmp/private_k...> (<http://jenkins.ovirt.org/job/deploy-to_ovirt-4.1_tested/ws/@tmp/private_k...)>
[ssh-agent] Using credentials deploy-ovirt-experimental (SSH key for deploying to the tested repo)
[deploy-to_ovirt-4.1_tested] $ /bin/bash -xe /tmp/jenkins4869391050682400974.sh
+ [[ http://jenkins.ovirt.org/job/ovirt-release_4.1_build-artifacts-el7-x86_64... == '' ]]
+ echo repo-extra-dir:4.1
+ ssh -o StrictHostKeyChecking=no deploy-ovirt-experimental(a)resources.ovirt.org
+ echo http://jenkins.ovirt.org/job/ovirt-release_4.1_build-artifacts-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.4lSKh9NTEV
+ trap 'rm -rf '\''/srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV'\''' EXIT HUP
+ echo 'Collecting packages'
+ collect_packages /srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV
+ local repoman_dst=/srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV
+ repoman --temp-dir generate-in-repo --option main.allowed_repo_paths=/srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV /srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV add conf:stdin
2017-07-29 02:59:48,594::INFO::repoman.cmd::
2017-07-29 02:59:48,595::INFO::repoman.cmd::Adding artifacts to the repo /srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV
2017-07-29 02:59:48,595::INFO::repoman.common.repo::Adding repo extra dir 4.1
2017-07-29 02:59:48,597::INFO::repoman.common.stores.RPM::Loading repo /srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV/4.1
2017-07-29 02:59:48,597::INFO::repoman.common.stores.RPM::Repo /srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV/4.1 loaded
2017-07-29 02:59:48,599::INFO::repoman.common.stores.iso::Loading repo /srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV/4.1
2017-07-29 02:59:48,599::INFO::repoman.common.stores.iso::Repo /srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV/4.1 loaded
2017-07-29 02:59:48,606::INFO::repoman.common.repo::Resolving artifact source http://jenkins.ovirt.org/job/ovirt-release_4.1_build-artifacts-el7-x86_64...
2017-07-29 02:59:53,690::INFO::repoman.common.sources.jenkins::Parsing jenkins URL: http://jenkins.ovirt.org/job/ovirt-release_4.1_build-artifacts-el7-x86_64...
2017-07-29 02:59:53,691::INFO::repoman.common.sources.jenkins:: Got URL: http://jenkins.ovirt.org/job/ovirt-release_4.1_build-artifacts-el7-x86_64...
2017-07-29 02:59:53,691::INFO::repoman.common.sources.jenkins:: Got URL: http://jenkins.ovirt.org/job/ovirt-release_4.1_build-artifacts-el7-x86_64...
2017-07-29 02:59:53,691::INFO::repoman.common.sources.jenkins:: Got URL: http://jenkins.ovirt.org/job/ovirt-release_4.1_build-artifacts-el7-x86_64...
2017-07-29 02:59:53,692::INFO::repoman.common.sources.jenkins:: Got URL: http://jenkins.ovirt.org/job/ovirt-release_4.1_build-artifacts-el7-x86_64...
2017-07-29 02:59:53,692::INFO::repoman.common.sources.jenkins:: Got URL: http://jenkins.ovirt.org/job/ovirt-release_4.1_build-artifacts-el7-x86_64...
2017-07-29 02:59:53,692::INFO::repoman.common.sources.jenkins:: Got URL: http://jenkins.ovirt.org/job/ovirt-release_4.1_build-artifacts-el7-x86_64...
2017-07-29 02:59:53,692::INFO::repoman.common.sources.jenkins:: Got URL: http://jenkins.ovirt.org/job/ovirt-release_4.1_build-artifacts-el7-x86_64...
2017-07-29 02:59:53,693::INFO::root:: Done
2017-07-29 02:59:53,996::INFO::root::Downloading http://jenkins.ovirt.org/job/ovirt-release_4.1_build-artifacts-el7-x86_64..., length 7K ...
%[-----------------------25------------------------50-----------------------75------------------------] %[====================================================================================================]
2017-07-29 02:59:54,084::INFO::repoman.common.stores.RPM::Adding package /srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV/.lago_tmp/tmp9zsE_h/tmppBFmb6/ovirt-node-ng-image-update-placeholder-4.1.5-0.1.rc1.20170729025908.git5a0814b.el7.centos.noarch.rpm to repo /srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV/4.1
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 338, in do_add
repo.add_source(art_src.strip())
File "/usr/lib/python2.7/site-packages/repoman/common/repo.py", line 153, in add_source
self.parse_source_stream(sys.stdin.readlines())
File "/usr/lib/python2.7/site-packages/repoman/common/repo.py", line 193, in parse_source_stream
self.add_source(line.strip())
File "/usr/lib/python2.7/site-packages/repoman/common/repo.py", line 179, in add_source
store.add_artifact(artifact_path)
File "/usr/lib/python2.7/site-packages/repoman/common/stores/RPM/__init__.py", line 192, in add_artifact
self.add_rpm(pkg, **args)
File "/usr/lib/python2.7/site-packages/repoman/common/stores/RPM/__init__.py", line 213, in add_rpm
verify_ssl=self.config.getboolean('verify_ssl'),
File "/usr/lib/python2.7/site-packages/repoman/common/stores/RPM/RPM.py", line 100, in __init__
download(path, fpath, verify=verify_ssl)
File "/usr/lib/python2.7/site-packages/repoman/common/utils.py", line 215, in download
headers = requests.head(path, verify=verify)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 94, in head
return request('head', url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 464, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known'))
2017-07-29 03:00:14,488::INFO::repoman.common.repo::Cleaning up temporary dir /srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV/.lago_tmp/tmp9zsE_h/tmppBFmb6
2017-07-29 03:00:14,489::INFO::repoman.common.repo::Cleaning up temporary dir /srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV/.lago_tmp/tmp9zsE_h
+ rm -rf /srv/resources/repos/ovirt/tested/.deploy.4lSKh9NTEV
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 9271 killed;
[ssh-agent] Stopped.
7 years, 3 months