← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1585706] [NEW] neutron-lbaas test failure webob.exc.HTTPClientError: Unexpected error code: 400

 

Public bug reported:

I have several tests failing similar to the following ever since commit
b0b6a0aa8566bae552f6a7607cf254ee0cbc76ae.  If I revert that commit (e.g.
s/n_constants.ATTR_NOT_SPECIFIED/attributes.ATTR_NOT_SPECIFIED) then
this error goes away.

======================================================================
FAIL: neutron_lbaas.tests.unit.test_agent_scheduler.LBaaSAgentSchedulerTestCase.test_schedule_loadbalancer_with_down_agent
neutron_lbaas.tests.unit.test_agent_scheduler.LBaaSAgentSchedulerTestCase.test_schedule_loadbalancer_with_down_agent
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/build/neutron-lbaas-8.1.1~dev34/neutron_lbaas/tests/unit/test_agent_scheduler.py", line 199, in test_schedule_loadbalancer_with_down_agent
    with self.loadbalancer() as loadbalancer:
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/build/neutron-lbaas-8.1.1~dev34/neutron_lbaas/tests/unit/db/loadbalancer/test_db_loadbalancerv2.py", line 257, in loadbalancer
    res.status_int
webob.exc.HTTPClientError: Unexpected error code: 400

** Affects: neutron
     Importance: Undecided
         Status: New

** Summary changed:

- webob.exc.HTTPClientError: Unexpected error code: 400
+ neutron-lbaas test failure webob.exc.HTTPClientError: Unexpected error code: 400

** Also affects: neutron
   Importance: Undecided
       Status: New

** No longer affects: neutron-lbaas-dashboard

** Description changed:

  I have several tests failing similar to the following ever since commit
  b0b6a0aa8566bae552f6a7607cf254ee0cbc76ae.  If I revert that commit (e.g.
- s/attributes.ATTR_NOT_SPECIFIED/attributes.ATTR_NOT_SPECIFIED) then this
- error goes away.
+ s/n_constants.ATTR_NOT_SPECIFIED/attributes.ATTR_NOT_SPECIFIED) then
+ this error goes away.
  
  ======================================================================
  FAIL: neutron_lbaas.tests.unit.test_agent_scheduler.LBaaSAgentSchedulerTestCase.test_schedule_loadbalancer_with_down_agent
  neutron_lbaas.tests.unit.test_agent_scheduler.LBaaSAgentSchedulerTestCase.test_schedule_loadbalancer_with_down_agent
  ----------------------------------------------------------------------
  
  Traceback (most recent call last):
-   File "/build/neutron-lbaas-8.1.1~dev34/neutron_lbaas/tests/unit/test_agent_scheduler.py", line 199, in test_schedule_loadbalancer_with_down_agent
-     with self.loadbalancer() as loadbalancer:
-   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
-     return self.gen.next()
-   File "/build/neutron-lbaas-8.1.1~dev34/neutron_lbaas/tests/unit/db/loadbalancer/test_db_loadbalancerv2.py", line 257, in loadbalancer
-     res.status_int
+   File "/build/neutron-lbaas-8.1.1~dev34/neutron_lbaas/tests/unit/test_agent_scheduler.py", line 199, in test_schedule_loadbalancer_with_down_agent
+     with self.loadbalancer() as loadbalancer:
+   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
+     return self.gen.next()
+   File "/build/neutron-lbaas-8.1.1~dev34/neutron_lbaas/tests/unit/db/loadbalancer/test_db_loadbalancerv2.py", line 257, in loadbalancer
+     res.status_int
  webob.exc.HTTPClientError: Unexpected error code: 400

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

Title:
  neutron-lbaas test failure webob.exc.HTTPClientError: Unexpected error
  code: 400

Status in neutron:
  New

Bug description:
  I have several tests failing similar to the following ever since
  commit b0b6a0aa8566bae552f6a7607cf254ee0cbc76ae.  If I revert that
  commit (e.g.
  s/n_constants.ATTR_NOT_SPECIFIED/attributes.ATTR_NOT_SPECIFIED) then
  this error goes away.

  ======================================================================
  FAIL: neutron_lbaas.tests.unit.test_agent_scheduler.LBaaSAgentSchedulerTestCase.test_schedule_loadbalancer_with_down_agent
  neutron_lbaas.tests.unit.test_agent_scheduler.LBaaSAgentSchedulerTestCase.test_schedule_loadbalancer_with_down_agent
  ----------------------------------------------------------------------

  Traceback (most recent call last):
    File "/build/neutron-lbaas-8.1.1~dev34/neutron_lbaas/tests/unit/test_agent_scheduler.py", line 199, in test_schedule_loadbalancer_with_down_agent
      with self.loadbalancer() as loadbalancer:
    File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
      return self.gen.next()
    File "/build/neutron-lbaas-8.1.1~dev34/neutron_lbaas/tests/unit/db/loadbalancer/test_db_loadbalancerv2.py", line 257, in loadbalancer
      res.status_int
  webob.exc.HTTPClientError: Unexpected error code: 400

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


Follow ups