API tests for show/list port chain fails

Bug #1845311 reported by Slawek Kaplonski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-sfc
New
Undecided
Unassigned

Bug Description

It happend at least twice that show/list port chain API tests defined in neutron_tempest_plugin failed recently.

Error:

Traceback (most recent call last):
  File "/opt/stack/neutron-tempest-plugin/neutron_tempest_plugin/sfc/tests/api/test_sfc_extensions.py", line 368, in test_list_port_chain
    flow_classifiers=[fc['id']])
  File "/opt/stack/neutron-tempest-plugin/neutron_tempest_plugin/sfc/tests/api/base.py", line 177, in _try_create_port_chain
    **kwargs)
  File "/opt/stack/neutron-tempest-plugin/neutron_tempest_plugin/sfc/tests/sfc_client.py", line 77, in create_port_chain
    **kwargs)
  File "/opt/stack/neutron-tempest-plugin/neutron_tempest_plugin/sfc/services/sfc_client.py", line 25, in create_port_chain
    return self.create_resource(uri, post_data)
  File "/opt/stack/tempest/tempest/lib/services/network/base.py", line 61, in create_resource
    resp, body = self.post(req_uri, req_post_data)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 283, in post
    return self.request('POST', url, extra_headers, headers, body, chunked)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 679, in request
    self._error_checker(resp, resp_body)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 790, in _error_checker
    raise exceptions.BadRequest(resp_body, resp=resp)
tempest.lib.exceptions.BadRequest: Bad request
Details: {'type': 'PortChainFlowClassifierInConflict', 'message': 'Flow Classifier a8fd96b9-1c0d-4c75-b009-9ada34bff50e conflicts with Flow Classifier 4862b34b-ffa5-4462-ac5a-1b47d0661e0b in port chain cfceeb41-8764-4b15-8dbf-691bd711129d.', 'detail': ''}

And for second example:

Traceback (most recent call last):
  File "/opt/stack/neutron-tempest-plugin/neutron_tempest_plugin/sfc/tests/api/test_sfc_extensions.py", line 390, in test_show_port_chain
    flow_classifiers=[fc['id']])
  File "/opt/stack/neutron-tempest-plugin/neutron_tempest_plugin/sfc/tests/api/base.py", line 177, in _try_create_port_chain
    **kwargs)
  File "/opt/stack/neutron-tempest-plugin/neutron_tempest_plugin/sfc/tests/sfc_client.py", line 77, in create_port_chain
    **kwargs)
  File "/opt/stack/neutron-tempest-plugin/neutron_tempest_plugin/sfc/services/sfc_client.py", line 25, in create_port_chain
    return self.create_resource(uri, post_data)
  File "/opt/stack/tempest/tempest/lib/services/network/base.py", line 61, in create_resource
    resp, body = self.post(req_uri, req_post_data)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 283, in post
    return self.request('POST', url, extra_headers, headers, body, chunked)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 679, in request
    self._error_checker(resp, resp_body)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 790, in _error_checker
    raise exceptions.BadRequest(resp_body, resp=resp)
tempest.lib.exceptions.BadRequest: Bad request
Details: {'type': 'PortChainFlowClassifierInConflict', 'message': 'Flow Classifier d3e2a7b7-87f4-4636-8f19-01f4f8d4f2fa conflicts with Flow Classifier 80f604b0-181c-46f4-85f6-cbf0a3a5285d in port chain 5e481881-00e5-4001-8686-d3c8403397e9.', 'detail': ''}

Logs can be found at:

https://storage.bhs1.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_d1f/662874/8/check/neutron-tempest-plugin-sfc/d1f816a/testr_results.html.gz

https://81cbabef1d042fcc4df8-7423a674c5d28aae147de020b8cd992d.ssl.cf1.rackcdn.com/682059/3/check/neutron-tempest-plugin-sfc/e89b7ff/testr_results.html.gz

Tags: gate-failure
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.