[JIRA] (OVIRT-2001) Create FAQ/Knowledge Base/HOWTO pages for STDCI
by Barak Korren (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2001?page=com.atlassian.jir... ]
Barak Korren commented on OVIRT-2001:
-------------------------------------
[~lmilbaum(a)redhat.com] do you think you can take on this ticket?
> Create FAQ/Knowledge Base/HOWTO pages for STDCI
> -----------------------------------------------
>
> Key: OVIRT-2001
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2001
> Project: oVirt - virtualization made easy
> Issue Type: Improvement
> Components: Documentation
> Reporter: Barak Korren
> Assignee: infra
> Labels: first_time_task
>
> There are many common use cases and issues in STDCI that could benefit from case/task-specific documentation. So we should have a FAQ page or a Knowledge Base about STDCI to cover these issues.
> Before we can make the page we need a critical mass (at least 3) of issues and solutions, so we will use comments on this ticket to collect them as they arise.
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100090)
6 years, 4 months
[JIRA] (OVIRT-2001) Create FAQ/Knowledge Base/HOWTO pages for STDCI
by Barak Korren (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2001?page=com.atlassian.jir... ]
Barak Korren commented on OVIRT-2001:
-------------------------------------
Hers is some text posted elsewhere describing how to re-trigger post-merge events from GitHub:
{quote}[~gbenhaim(a)redhat.com] the way to do this is:
# Go to the 'standard-webhook-trigger' job build that triggered the stuck job (in this case [#1345|https://jenkins.ovirt.org/job/standard-webhook-trigger/1345/])
# The build description includes something like 'push \[79309ea2-a53f-11e8-92b7-a759f1132bfd]' - this is the event ID from Github.
# Go to the [repo on GitHub|https://github.com/ovirt/ovirt-ansible-image-template] and from there go to Settings->Webhooks and click on the webhook with the ' http://jenkins.ovirt.org/generic-webhook-trigger/invoke' URL. You will be required to enter your gitHub password to move beyond this point.
# In the "Recnet Deliveries" list belowe click on the '...' button next to the event ID we saw in the 'standard-webhook-trigger' job build
# Click on 'Redeliver'
In this case I already did the above for the relevant patch. {quote}
> Create FAQ/Knowledge Base/HOWTO pages for STDCI
> -----------------------------------------------
>
> Key: OVIRT-2001
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2001
> Project: oVirt - virtualization made easy
> Issue Type: Improvement
> Components: Documentation
> Reporter: Barak Korren
> Assignee: infra
> Labels: first_time_task
>
> There are many common use cases and issues in STDCI that could benefit from case/task-specific documentation. So we should have a FAQ page or a Knowledge Base about STDCI to cover these issues.
> Before we can make the page we need a critical mass (at least 3) of issues and solutions, so we will use comments on this ticket to collect them as they arise.
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100090)
6 years, 4 months
Build failed in Jenkins:
system-sync_mirrors-centos-updates-el7-x86_64 #1866
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/heads/*:refs/remotes/origin/* --prune
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 89a51f35237a574500539f1299c589067ac5faac (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 89a51f35237a574500539f1299c589067ac5faac
Commit message: "Remove Ruby SDK build for s390x"
> git rev-list --no-walk 89a51f35237a574500539f1299c589067ac5faac # timeout=10
[system-sync_mirrors-centos-updates-el7-x86_64] $ /bin/bash -xe /tmp/jenkins395495011305010798.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
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 96, in retrieveAllMD
downloading = repo._commonRetrieveDataMD_list(mdtypes)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1618, in _commonRetrieveDataMD_list
os.rename(local, local + '.old.tmp')
OSError: [Errno 2] No such file or directory
Build step 'Execute shell' marked build as failure
6 years, 4 months
[JIRA] (OVIRT-2202)
006_migrations.prepare_migration_attachments_ipv4 for
ovirt-engine-dashboard
by Alona Kaplan (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2202?page=com.atlassian.jir... ]
Alona Kaplan commented on OVIRT-2202:
-------------------------------------
Hi, I've already talked about it with Dafna. The last race she found is caused because of an event sent from the vdsm.
Due to a recent fix (https://bugzilla.redhat.com/1590109), now the event mechanism actually works in the engine. And if the engine gets event from the vdsm a getCaps is invoked on the host.
Since it's unpredictable when an event will arrive (it can happen when setting dhcp on a host nic, when the dhcp lease is renewed, ...).
We have an open jira task planned for RHV sprint 4 to handle the issue in the OST - https://projects.engineering.redhat.com/browse/RHV-2165
> 006_migrations.prepare_migration_attachments_ipv4 for ovirt-engine-dashboard
> ----------------------------------------------------------------------------
>
> Key: OVIRT-2202
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2202
> Project: oVirt - virtualization made easy
> Issue Type: Bug
> Reporter: Dafna Ron
> Assignee: infra
> Labels: ost_failures, ost_race
>
> There was a failed test 006_migrations.prepare_migration_attachments_ipv4
> Error: The response content type 'text/html; charset=iso-8859-1' isn't the expected XML
> Build: http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/8208/
> patch reported: https://gerrit.ovirt.org/#/c/92238/1 - add resolutions section to force jquery and bootstrap versions
> The actual error is: Unable to process messages Broken pipe: java.io.IOException: Broken pipe
> this would be the error in vdsm:
> '2018-06-14 04:05:34,698-0400 ERROR (jsonrpc/5) [vds] connectivity check failed (API:1537)
> Traceback (most recent call last):
> File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1534, in setupNetworks
> supervdsm.getProxy().setupNetworks(networks, bondings, options)
> File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 56, in __call__
> return callMethod()
> File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 54, in <lambda>
> **kwargs)
> File "<string>", line 2, in setupNetworks
> File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _callmethod
> raise convert_to_error(kind, result)
> ConfigNetworkError: (10, 'connectivity check failed')
> 2018-06-14 04:05:34,699-0400 INFO (jsonrpc/5) [api.network] FINISH setupNetworks return={'status': {'message': 'connectivity check failed', 'code': 10}} from=::ffff:192.168.201.4,50952 (api:53)
> 2018-06-14 04:05:34,699-0400 INFO (jsonrpc/5) [jsonrpc.JsonRpcServer] RPC call Host.setupNetworks failed (error 10) in 127.20 seconds (__init__:311)'
> The patch may be related so I will as Greg to take a look
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100090)
6 years, 4 months
[JIRA] (OVIRT-2447) Make mock_runner no use proxy for localhost
connections
by Barak Korren (oVirt JIRA)
Barak Korren created OVIRT-2447:
-----------------------------------
Summary: Make mock_runner no use proxy for localhost connections
Key: OVIRT-2447
URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2447
Project: oVirt - virtualization made easy
Issue Type: Improvement
Components: mock_runner
Reporter: Barak Korren
Assignee: infra
As a developer using STDCI, I do not want the PHX proxy to intercept connections my test code is doing to localhost, as that will make such connections fail.
h3. Acceptance Criteria
# When inside a proxied mock_runner environment, the no_proxy environment variable is set to 'localhost,127.0.0.1'
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100090)
6 years, 4 months
[oVirt Jenkins] ovirt-system-tests_network-suite-4.2 - Build # 505
- Failure!
by jenkins@jenkins.phx.ovirt.org
Project: http://jenkins.ovirt.org/job/ovirt-system-tests_network-suite-4.2/
Build: http://jenkins.ovirt.org/job/ovirt-system-tests_network-suite-4.2/505/
Build Number: 505
Build Status: Failure
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #505
[Roy Golan] Introduce openshift-on-ovirt
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED: network-suite-4.2.tests.ovs.test_ovn_physnet.test_connect_vm_to_external_physnet
Error Message:
test setup failure
Stack Trace:
system = <lib.system.SDKSystemRoot object at 0x7f8de105bf50>
ovs_cluster = <lib.clusterlib.Cluster object at 0x7f8ddd927e90>
default_cluster = <lib.clusterlib.Cluster object at 0x7f8de105b210>
default_data_center = <lib.datacenterlib.DataCenter object at 0x7f8de1add710>
@pytest.fixture(scope='session')
def host_in_ovs_cluster(
system, ovs_cluster, default_cluster, default_data_center):
host_id = default_cluster.host_ids()[0]
host = hostlib.Host(system)
host.import_by_id(host_id)
host.wait_for_up_status(timeout=15 * 60)
> with hostlib.change_cluster(host, ovs_cluster):
network-suite-4.2/fixtures/host.py:70:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python2.7/contextlib.py:17: in __enter__
return self.gen.next()
network-suite-4.2/lib/hostlib.py:77: in change_cluster
host.change_cluster(cluster)
network-suite-4.2/lib/hostlib.py:133: in change_cluster
self.update(cluster=cluster.get_sdk_type())
network-suite-4.2/lib/sdkentity.py:87: in update
self._service.update(sdk_type)
/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py:37311: in update
return self._internal_update(host, headers, query, wait)
/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py:253: in _internal_update
return future.wait() if wait else future
/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py:55: in wait
return self._code(response)
/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py:250: in callback
self._check_fault(response)
/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py:132: in _check_fault
self._raise_error(response, body)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <ovirtsdk4.http.Response object at 0x7f8ddf6f19d0>
detail = <ovirtsdk4.types.Fault object at 0x7f8ddd931b50>
@staticmethod
def _raise_error(response, detail=None):
"""
Creates and raises an error containing the details of the given HTTP
response and fault.
This method is intended for internal use by other components of the
SDK. Refrain from using it directly, as backwards compatibility isn't
guaranteed.
"""
fault = detail if isinstance(detail, types.Fault) else None
msg = ''
if fault:
if fault.reason:
if msg:
msg += ' '
msg = msg + 'Fault reason is "%s".' % fault.reason
if fault.detail:
if msg:
msg += ' '
msg = msg + 'Fault detail is "%s".' % fault.detail
if response:
if response.code:
if msg:
msg += ' '
msg = msg + 'HTTP response code is %s.' % response.code
if response.message:
if msg:
msg += ' '
msg = msg + 'HTTP response message is "%s".' % response.message
if isinstance(detail, six.string_types):
if msg:
msg += ' '
msg = msg + detail + '.'
class_ = Error
if response is not None:
if response.code in [401, 403]:
class_ = AuthError
elif response.code == 404:
class_ = NotFoundError
error = class_(msg)
error.code = response.code if response else None
error.fault = fault
> raise error
E Error: Fault reason is "Operation Failed". Fault detail is "[Cannot edit Host. Related operation is currently in progress. Please try again later.]". HTTP response code is 409.
/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py:118: Error
6 years, 4 months
[oVirt Jenkins] ovirt-system-tests_he-node-ng-suite-4.2 - Build #
239 - Failure!
by jenkins@jenkins.phx.ovirt.org
Project: http://jenkins.ovirt.org/job/ovirt-system-tests_he-node-ng-suite-4.2/
Build: http://jenkins.ovirt.org/job/ovirt-system-tests_he-node-ng-suite-4.2/239/
Build Number: 239
Build Status: Failure
Triggered By: Started by timer
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #239
[Roy Golan] Introduce openshift-on-ovirt
[Ondra Machacek] Remove Ruby SDK build for s390x
-----------------
Failed Tests:
-----------------
1 tests failed.
FAILED: 012_local_maintenance_sdk.local_maintenance
Error Message:
The response content type 'text/html; charset=iso-8859-1' isn't the expected XML
-------------------- >> begin captured logging << --------------------
root: INFO: * Waiting For System Stability...
root: INFO: * Performing Deactivation...
ovirtlago.testlib: ERROR: * Unhandled exception in <function <lambda> at 0x7f5d21e5f9b0>
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 234, in assert_equals_within
res = func()
File "/home/jenkins/workspace/ovirt-system-tests_he-node-ng-suite-4.2/ovirt-system-tests/he-node-ng-suite-4.2/test-scenarios/012_local_maintenance_sdk.py", line 65, in <lambda>
lambda: host_service.get().status == types.HostStatus.MAINTENANCE or
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py", line 37037, in get
return self._internal_get(headers, query, wait)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 211, in _internal_get
return future.wait() if wait else future
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 55, in wait
return self._code(response)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 208, in callback
self._check_fault(response)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 130, in _check_fault
body = self._internal_read_body(response)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 316, in _internal_read_body
self._connection.check_xml_content_type(response)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 849, in check_xml_content_type
response.headers
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 889, in _check_content_type
raise Error(msg)
Error: The response content type 'text/html; charset=iso-8859-1' isn't the expected XML
--------------------- >> 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 runTest
self.test(*self.arg)
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 142, in wrapped_test
test()
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 60, in wrapper
return func(get_test_prefix(), *args, **kwargs)
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 79, in wrapper
prefix.virt_env.engine_vm().get_api(api_ver=4), *args, **kwargs
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 60, in wrapper
return func(get_test_prefix(), *args, **kwargs)
File "/home/jenkins/workspace/ovirt-system-tests_he-node-ng-suite-4.2/ovirt-system-tests/he-node-ng-suite-4.2/test-scenarios/012_local_maintenance_sdk.py", line 65, in local_maintenance
lambda: host_service.get().status == types.HostStatus.MAINTENANCE or
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 286, in assert_true_within_long
assert_equals_within_long(func, True, allowed_exceptions)
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 273, in assert_equals_within_long
func, value, LONG_TIMEOUT, allowed_exceptions=allowed_exceptions
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 234, in assert_equals_within
res = func()
File "/home/jenkins/workspace/ovirt-system-tests_he-node-ng-suite-4.2/ovirt-system-tests/he-node-ng-suite-4.2/test-scenarios/012_local_maintenance_sdk.py", line 65, in <lambda>
lambda: host_service.get().status == types.HostStatus.MAINTENANCE or
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py", line 37037, in get
return self._internal_get(headers, query, wait)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 211, in _internal_get
return future.wait() if wait else future
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 55, in wait
return self._code(response)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 208, in callback
self._check_fault(response)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 130, in _check_fault
body = self._internal_read_body(response)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 316, in _internal_read_body
self._connection.check_xml_content_type(response)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 849, in check_xml_content_type
response.headers
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 889, in _check_content_type
raise Error(msg)
'The response content type \'text/html; charset=iso-8859-1\' isn\'t the expected XML\n-------------------- >> begin captured logging << --------------------\nroot: INFO: * Waiting For System Stability...\nroot: INFO: * Performing Deactivation...\novirtlago.testlib: ERROR: * Unhandled exception in <function <lambda> at 0x7f5d21e5f9b0>\nTraceback (most recent call last):\n File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 234, in assert_equals_within\n res = func()\n File "/home/jenkins/workspace/ovirt-system-tests_he-node-ng-suite-4.2/ovirt-system-tests/he-node-ng-suite-4.2/test-scenarios/012_local_maintenance_sdk.py", line 65, in <lambda>\n lambda: host_service.get().status == types.HostStatus.MAINTENANCE or\n File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py", line 37037, in get\n return self._internal_get(headers, query, wait)\n File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 211, in _internal_get\n return future.wait() if wait else future\n File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 55, in wait\n return self._code(response)\n File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 208, in callback\n self._check_fault(response)\n File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 130, in _check_fault\n body = self._internal_read_body(response)\n File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 316, in _internal_read_body\n self._connection.check_xml_content_type(response)\n File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 849, in check_xml_content_type\n response.headers\n File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 889, in _check_content_type\n raise Error(msg)\nError: The response content type \'text/html; charset=iso-8859-1\' isn\'t the expected XML\n--------------------- >> end captured logging << ---------------------'
6 years, 4 months