Octavia tempest test test_provider_list fails

Bug #1830702 reported by Carlos Goncalves
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Carlos Goncalves

Bug Description

When running Octavia tempest tests on a TripleO Stein deployment, test octavia_tempest_plugin.tests.api.v2.test_provider.ProviderAPITest.test_provider_list fails.

ft4.1: octavia_tempest_plugin.tests.api.v2.test_provider.ProviderAPITest.test_provider_list[id-8b94e0cc-a24d-4c29-bc8e-53f58214dc67]testtools.testresult.real._StringException: pythonlogging:'': {{{
2019-05-27 15:50:17,924 310905 INFO [tempest.lib.common.rest_client] Request (ProviderAPITest:test_provider_list): 200 GET http://10.0.0.116:9876/v2.0/lbaas/providers 0.349s
2019-05-27 15:50:17,924 310905 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'date': 'Mon, 27 May 2019 19:50:17 GMT', 'server': 'Apache', 'content-length': '220', 'x-openstack-request-id': 'req-58b949eb-35ad-4a7b-a1f8-dd665731921c', 'vary': 'Accept-Encoding', 'connection': 'close', 'content-type': 'application/json', 'status': '200', 'content-location': 'http://10.0.0.116:9876/v2.0/lbaas/providers'}
        Body: b'{"providers": [{"name": "amphora", "description": "Octavia Amphora Driver."}, {"name": "octavia", "description": "Deprecated alias of the Octavia Amphora driver."}, {"name": "ovn", "description": "Octavia OVN driver."}]}'
}}}

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/octavia_tempest_plugin/tests/api/v2/test_provider.py", line 58, in test_provider_list
    provider.get(const.DESCRIPTION, ''))
  File "/usr/lib/python3.6/site-packages/testtools/testcase.py", line 411, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3.6/site-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'The Octavia Amphora driver.' != 'Octavia Amphora Driver.'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

Fix proposed to branch: master
Review: https://review.opendev.org/661703

Changed in tripleo:
assignee: nobody → Carlos Goncalves (cgoncalves)
status: New → In Progress
Revision history for this message
Brent Eagles (beagles) wrote :

Wow. That seems like an overly specific test.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.opendev.org/661703
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=c6858e7a1cd15fa0eb8563973ae7e52b406174d8
Submitter: Zuul
Branch: master

commit c6858e7a1cd15fa0eb8563973ae7e52b406174d8
Author: Carlos Goncalves <email address hidden>
Date: Tue May 28 11:11:47 2019 +0200

    Fix amphora provider driver description

    Closes-Bug: #1830702
    Change-Id: Id2c61fd10df8c5427416fd6e6914e95502c3a714

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/661842

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/stein)

Reviewed: https://review.opendev.org/661842
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=6b4c231c5b3405db69093de65ad2d8b4fe472c86
Submitter: Zuul
Branch: stable/stein

commit 6b4c231c5b3405db69093de65ad2d8b4fe472c86
Author: Carlos Goncalves <email address hidden>
Date: Tue May 28 11:11:47 2019 +0200

    Fix amphora provider driver description

    Closes-Bug: #1830702
    Change-Id: Id2c61fd10df8c5427416fd6e6914e95502c3a714
    (cherry picked from commit c6858e7a1cd15fa0eb8563973ae7e52b406174d8)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 11.0.0

This issue was fixed in the openstack/puppet-tripleo 11.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.opendev.org/667561
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=77ffbe059b42ec15c7ab501ae2e78f88f0cae0cc
Submitter: Zuul
Branch: master

commit 77ffbe059b42ec15c7ab501ae2e78f88f0cae0cc
Author: Gregory Thiemonge <email address hidden>
Date: Wed Jun 26 11:15:27 2019 +0200

    Fix amphora provider driver description

    Fixed provider driver description to match octavia and
    octavia-tempest-plugin descriptions.

    See: https://opendev.org/openstack/octavia/src/branch/master/octavia/common/\
    config.py\#L89

    Closes-Bug: #1830702
    Change-Id: I04ad7b59c1cdbef61fcd6188c09525da989020c6

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 10.5.0

This issue was fixed in the openstack/puppet-tripleo 10.5.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/669612

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/stein)

Reviewed: https://review.opendev.org/669612
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=1c96d897663c5160754b8e56407cc1d8b10ad97b
Submitter: Zuul
Branch: stable/stein

commit 1c96d897663c5160754b8e56407cc1d8b10ad97b
Author: Gregory Thiemonge <email address hidden>
Date: Wed Jun 26 11:15:27 2019 +0200

    Fix amphora provider driver description

    Fixed provider driver description to match octavia and
    octavia-tempest-plugin descriptions.

    See: https://opendev.org/openstack/octavia/src/branch/master/octavia/common/\
    config.py\#L89

    Closes-Bug: #1830702
    Change-Id: I04ad7b59c1cdbef61fcd6188c09525da989020c6
    (cherry picked from commit 77ffbe059b42ec15c7ab501ae2e78f88f0cae0cc)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 11.1.0

This issue was fixed in the openstack/puppet-tripleo 11.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 10.5.1

This issue was fixed in the openstack/puppet-tripleo 10.5.1 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.