← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1517579] [NEW] neutron.tests.unit.debug.test_shell.ShellTest.test_endpoint_option fails due to neutronclient change

 

Public bug reported:

This failure is a result of https://review.openstack.org/#/c/236325/
renaming the endpoint option default from publicURL to public. However
this hasn't affected upstream CI yet because this code is newer than the
3.1.0 release.

======================================================================
FAIL: neutron.tests.unit.debug.test_shell.ShellTest.test_endpoint_option
neutron.tests.unit.debug.test_shell.ShellTest.test_endpoint_option
----------------------------------------------------------------------
_StringException: Empty attachments:
  pythonlogging:''
  pythonlogging:'neutron.api.extensions'
  stderr
  stdout

Traceback (most recent call last):
  File "neutron/tests/unit/debug/test_shell.py", line 94, in test_endpoint_option
    self.assertEqual('publicURL', namespace.os_endpoint_type)
  File "/home/jenkins/workspace/Merge-neutron-Ply/virtualenv/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/home/jenkins/workspace/Merge-neutron-Ply/virtualenv/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'publicURL' != 'public'

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  neutron.tests.unit.debug.test_shell.ShellTest.test_endpoint_option
  fails due to neutronclient change

Status in neutron:
  New

Bug description:
  This failure is a result of https://review.openstack.org/#/c/236325/
  renaming the endpoint option default from publicURL to public. However
  this hasn't affected upstream CI yet because this code is newer than
  the 3.1.0 release.

  ======================================================================
  FAIL: neutron.tests.unit.debug.test_shell.ShellTest.test_endpoint_option
  neutron.tests.unit.debug.test_shell.ShellTest.test_endpoint_option
  ----------------------------------------------------------------------
  _StringException: Empty attachments:
    pythonlogging:''
    pythonlogging:'neutron.api.extensions'
    stderr
    stdout

  Traceback (most recent call last):
    File "neutron/tests/unit/debug/test_shell.py", line 94, in test_endpoint_option
      self.assertEqual('publicURL', namespace.os_endpoint_type)
    File "/home/jenkins/workspace/Merge-neutron-Ply/virtualenv/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/home/jenkins/workspace/Merge-neutron-Ply/virtualenv/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: 'publicURL' != 'public'

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


Follow ups