[ OST Failure Report ] [ oVirt 4.2 ] [ 22-11-2017 ] [ 002_bootstrap.add_dc ]

Juan Hernández jhernand at redhat.com
Wed Nov 22 12:01:53 UTC 2017


On 11/22/2017 12:40 PM, Dafna Ron wrote:
> Hi,
> 
> I am not sure we should be alerting on 4.2 versions yet but since we are
> getting several cq failures for the same reasons and test, I decided
> this should be communicated.
> 
> The failed test is 002_bootstrap.add_dc in OST 4.2. and all are pointing
> to one patch.
> 
> Remove mandatory option for cluster in register operation -
> https://gerrit.ovirt.org/#/c/84359/*
> *
> 
> can you please have a look?
> 
> I was unable to determine from what log the error was coming from as
> well but looking at the failed test and the patch reported there seem to
> be a connection.
>

It is almost impossible that that patch causes that problem. That patch 
is included in a release of the specification of the API that the engine 
and the SDKs aren't using yet.

The stack trace below looks similar to a recent problem in version 4.2 
(not yet released) of the Python SDK, which was fixed by this patch:

   No exceptions when 'raise_exception=False'
   https://gerrit.ovirt.org/83565

Please make sure that you use either a released version of the SDK, or 
else a pre-release build that contains that fix. Latest build from 
Jenkins should work fine.

> **
> 
> *Link and headline of suspected patches: *
> 
> **
> 
> Patch that is marked as root cause:
> 
> Remove mandatory option for cluster in register operation -
> https://gerrit.ovirt.org/#/c/84359/*
> *
> 
> Patches reported as failed:
> 1. Add discoveredTargets property to HostService -
> https://gerrit.ovirt.org/#/c/84489/
> 
> *2. Document the fact that sparse/raw isn't supported on block -
> https://gerrit.ovirt.org/#/c/84490/*
> 
> 3. Update CHANGES.adoc for release 4.2.25 -
> https://gerrit.ovirt.org/#/c/84499/*
> *
> 
> 4. [maven-release-plugin] prepare release 4.2.26 -
> https://gerrit.ovirt.org/#/c/84500/*
> *
> 
> **
> 
> *
> 
> Link to Job:
> 
> http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/*
> 
> *
> *
> 
> *Link to all logs:*
> 
> *http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/75/artifact/*
> 
> *
> *
> 
> *(Relevant) error snippet from the log: *
> 
> *
> 
> <error>
> 
> 
> 
> *
> 
> 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/ovirt-4.2_change-queue-tester/ovirt-system-tests/basic-suite-4.2/test-scenarios/002_bootstrap.py", line 109, in add_dc
>      api = prefix.virt_env.engine_vm().get_api(api_ver=4)
>    File "/usr/lib/python2.7/site-packages/ovirtlago/virt.py", line 329, in get_api
>      return self.get_api_v4()
>    File "/usr/lib/python2.7/site-packages/ovirtlago/virt.py", line 338, in get_api_v4
>      self._api_v4 = self._get_api(api_ver=4)
>    File "/usr/lib/python2.7/site-packages/ovirtlago/virt.py", line 316, in _get_api
>      while not testapi.test():
>    File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 744, in test
>      six.reraise(*sys.exc_info())
>    File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 741, in test
>      self.system_service().get()
>    File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py", line 21865, in get
>      return self._internal_get(headers, query, wait)
>    File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 202, in _internal_get
>      context = self._connection.send(request)
>    File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 370, in send
>      return self.__send(request)
>    File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 388, in __send
>      self.authenticate()
>    File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 381, in authenticate
>      self._sso_token = self._get_access_token()
>    File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 617, in _get_access_token
>      sso_response = self._get_sso_response(self._sso_url, post_data)
>    File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 702, in _get_sso_response
>      self._check_content_type(self.__JSON_CONTENT_TYPE_RE, 'JSON', header_lines)
>    File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 887, in _check_content_type
>      raise Error(msg)
> Error: The response content type 'text/html; charset=UTF-8' isn't the expected JSON
> 
> **
> 
> *</error>*
> 
> **
> 
> 
> 



More information about the Infra mailing list