← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1567801] [NEW] incorrect status codes from pecan shim controller

 

Public bug reported:

found in API test from pecan job:

Traceback (most recent call last):
  File "neutron/tests/api/admin/test_l3_agent_scheduler.py", line 93, in test_add_list_remove_router_on_l3_agent
    self.router['id'])
  File "neutron/tests/tempest/services/network/json/network_client.py", line 555, in add_router_to_l3_agent
    self.expected_success(201, resp.status)
  File "/opt/stack/new/neutron/.tox/api/local/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 243, in expected_success
    raise exceptions.InvalidHttpSuccessCode(details)
tempest.lib.exceptions.InvalidHttpSuccessCode: The success code is different than the expected one
Details: Unexpected http success status code 200,
                         The expected status code is 201

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1567801

Title:
  incorrect status codes from pecan shim controller

Status in neutron:
  New

Bug description:
  found in API test from pecan job:

  Traceback (most recent call last):
    File "neutron/tests/api/admin/test_l3_agent_scheduler.py", line 93, in test_add_list_remove_router_on_l3_agent
      self.router['id'])
    File "neutron/tests/tempest/services/network/json/network_client.py", line 555, in add_router_to_l3_agent
      self.expected_success(201, resp.status)
    File "/opt/stack/new/neutron/.tox/api/local/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 243, in expected_success
      raise exceptions.InvalidHttpSuccessCode(details)
  tempest.lib.exceptions.InvalidHttpSuccessCode: The success code is different than the expected one
  Details: Unexpected http success status code 200,
                           The expected status code is 201

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


Follow ups