← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1770705] [NEW] test_list_servers_by_changes_since_invalid_date fails as HTTP500 on the gate

 

Public bug reported:

http://logs.openstack.org/14/566814/4/experimental/legacy-tempest-dsvm-
nova-v20-api/dd0e26d/logs/

test: test_list_servers_by_changes_since_invalid_date
job: legacy-tempest-dsvm-nova-v20-api

tempest:

Traceback (most recent call last):
  File "tempest/api/compute/servers/test_list_servers_negative.py", line 123, in test_list_servers_by_changes_since_invalid_date
    **params)
  File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/testcase.py", line 485, in assertRaises
    self.assertThat(our_callable, matcher)
  File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/testcase.py", line 496, in assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/testcase.py", line 547, in _matchHelper
    mismatch = matcher.match(matchee)
  File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 108, in match
    mismatch = self.exception_matcher.match(exc_info)
  File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 62, in match
    mismatch = matcher.match(matchee)
  File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/testcase.py", line 475, in match
    reraise(*matchee)
  File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 101, in match
    result = matchee()
  File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/testcase.py", line 1049, in __call__
    return self._callable_object(*self._args, **self._kwargs)
  File "tempest/lib/services/compute/servers_client.py", line 167, in list_servers
    resp, body = self.get(url)
  File "tempest/lib/common/rest_client.py", line 294, in get
    return self.request('GET', url, extra_headers, headers)
  File "tempest/lib/services/compute/base_compute_client.py", line 48, in request
    method, url, extra_headers, headers, body, chunked)
  File "tempest/lib/common/rest_client.py", line 668, in request
    self._error_checker(resp, resp_body)
  File "tempest/lib/common/rest_client.py", line 845, in _error_checker
    message=message)
tempest.lib.exceptions.ServerFault: Got server fault
Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.ValueError'>

nova-api:

May 11 08:20:43.922899 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi [None req-7ea14065-8262-42c1-8b49-40185365abfb tempest-ListServersNegativeTestJSON-1060147707 tempest-ListServersNegativeTestJSON-1060147707] Unexpected exception in API method: ValueError: Unable to parse date string u'2011/01/01'
May 11 08:20:43.923159 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi Traceback (most recent call last):
May 11 08:20:43.923363 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi   File "/opt/stack/new/nova/nova/api/openstack/wsgi.py", line 801, in wrapped
May 11 08:20:43.923573 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi     return f(*args, **kwargs)
May 11 08:20:43.923781 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi   File "/opt/stack/new/nova/nova/api/validation/__init__.py", line 192, in wrapper
May 11 08:20:43.923987 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
May 11 08:20:43.924189 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi   File "/opt/stack/new/nova/nova/api/validation/__init__.py", line 192, in wrapper
May 11 08:20:43.924410 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
May 11 08:20:43.924681 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi   File "/opt/stack/new/nova/nova/api/openstack/compute/servers.py", line 152, in index
May 11 08:20:43.924880 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi     servers = self._get_servers(req, is_detail=False)
May 11 08:20:43.925069 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi   File "/opt/stack/new/nova/nova/api/openstack/compute/servers.py", line 211, in _get_servers
May 11 08:20:43.925273 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi     search_opts['changes-since'])
May 11 08:20:43.925474 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/timeutils.py", line 68, in parse_isotime
May 11 08:20:43.925689 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi     raise ValueError(six.text_type(e))
May 11 08:20:43.925896 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi ValueError: Unable to parse date string u'2011/01/01'
May 11 08:20:43.926109 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1770705

Title:
  test_list_servers_by_changes_since_invalid_date fails as HTTP500 on
  the gate

Status in OpenStack Compute (nova):
  New

Bug description:
  http://logs.openstack.org/14/566814/4/experimental/legacy-tempest-
  dsvm-nova-v20-api/dd0e26d/logs/

  test: test_list_servers_by_changes_since_invalid_date
  job: legacy-tempest-dsvm-nova-v20-api

  tempest:

  Traceback (most recent call last):
    File "tempest/api/compute/servers/test_list_servers_negative.py", line 123, in test_list_servers_by_changes_since_invalid_date
      **params)
    File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/testcase.py", line 485, in assertRaises
      self.assertThat(our_callable, matcher)
    File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/testcase.py", line 496, in assertThat
      mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
    File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/testcase.py", line 547, in _matchHelper
      mismatch = matcher.match(matchee)
    File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 108, in match
      mismatch = self.exception_matcher.match(exc_info)
    File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 62, in match
      mismatch = matcher.match(matchee)
    File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/testcase.py", line 475, in match
      reraise(*matchee)
    File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 101, in match
      result = matchee()
    File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/testtools/testcase.py", line 1049, in __call__
      return self._callable_object(*self._args, **self._kwargs)
    File "tempest/lib/services/compute/servers_client.py", line 167, in list_servers
      resp, body = self.get(url)
    File "tempest/lib/common/rest_client.py", line 294, in get
      return self.request('GET', url, extra_headers, headers)
    File "tempest/lib/services/compute/base_compute_client.py", line 48, in request
      method, url, extra_headers, headers, body, chunked)
    File "tempest/lib/common/rest_client.py", line 668, in request
      self._error_checker(resp, resp_body)
    File "tempest/lib/common/rest_client.py", line 845, in _error_checker
      message=message)
  tempest.lib.exceptions.ServerFault: Got server fault
  Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <type 'exceptions.ValueError'>

  nova-api:

  May 11 08:20:43.922899 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi [None req-7ea14065-8262-42c1-8b49-40185365abfb tempest-ListServersNegativeTestJSON-1060147707 tempest-ListServersNegativeTestJSON-1060147707] Unexpected exception in API method: ValueError: Unable to parse date string u'2011/01/01'
  May 11 08:20:43.923159 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi Traceback (most recent call last):
  May 11 08:20:43.923363 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi   File "/opt/stack/new/nova/nova/api/openstack/wsgi.py", line 801, in wrapped
  May 11 08:20:43.923573 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi     return f(*args, **kwargs)
  May 11 08:20:43.923781 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi   File "/opt/stack/new/nova/nova/api/validation/__init__.py", line 192, in wrapper
  May 11 08:20:43.923987 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
  May 11 08:20:43.924189 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi   File "/opt/stack/new/nova/nova/api/validation/__init__.py", line 192, in wrapper
  May 11 08:20:43.924410 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
  May 11 08:20:43.924681 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi   File "/opt/stack/new/nova/nova/api/openstack/compute/servers.py", line 152, in index
  May 11 08:20:43.924880 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi     servers = self._get_servers(req, is_detail=False)
  May 11 08:20:43.925069 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi   File "/opt/stack/new/nova/nova/api/openstack/compute/servers.py", line 211, in _get_servers
  May 11 08:20:43.925273 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi     search_opts['changes-since'])
  May 11 08:20:43.925474 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/timeutils.py", line 68, in parse_isotime
  May 11 08:20:43.925689 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi     raise ValueError(six.text_type(e))
  May 11 08:20:43.925896 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi ValueError: Unable to parse date string u'2011/01/01'
  May 11 08:20:43.926109 ubuntu-xenial-ovh-gra1-0003975677 devstack@n-api.service[19462]: ERROR nova.api.openstack.wsgi

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1770705/+subscriptions


Follow ups