test_create_delete_ro_access_rule fails on the dummy driver

Bug #1782837 reported by Goutham Pacha Ravi on 2018-07-20
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Manila
Undecided
Unassigned

Bug Description

This only occurs in the gate, and is worth investigating to ensure we don't have race conditions.

From http://logs.openstack.org/73/579273/1/check/manila-tempest-minimal-dsvm-dummy/20e69da/logs/tempest_2/testr_results.html.gz

ft1.14: manila_tempest_tests.tests.api.test_rules.ShareIpRulesForNFSTest.test_create_delete_ro_access_rule_2_2_42[backend,positive]_StringException: pythonlogging:'': {{{
2018-07-20 13:24:19,341 30578 INFO [tempest.lib.common.rest_client] Request (ShareIpRulesForNFSTest:test_create_delete_ro_access_rule): 200 POST http://149.202.174.112:8786/v2/070db05c8cc24332a3b22bffaf137da9/shares/e861ceb5-1a1b-47a2-bba5-91aa04c1f638/action 4.039s
2018-07-20 13:24:19,342 30578 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'x-openstack-manila-api-version': '2.42', 'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: {"allow_access": {"access_level": "ro", "access_type": "ip", "access_to": "2.2.2.2"}}
    Response - Headers: {'status': '200', u'content-length': '282', 'content-location': 'http://149.202.174.112:8786/v2/070db05c8cc24332a3b22bffaf137da9/shares/e861ceb5-1a1b-47a2-bba5-91aa04c1f638/action', u'x-compute-request-id': 'req-f30bb6b6-2a3a-487b-8433-2f4f25d2ac7e', u'vary': 'X-OpenStack-Manila-API-Version', u'x-openstack-manila-api-version': '2.42', u'connection': 'close', u'date': 'Fri, 20 Jul 2018 13:24:19 GMT', u'content-type': 'application/json'}
        Body: {"access": {"access_key": null, "share_id": "e861ceb5-1a1b-47a2-bba5-91aa04c1f638", "created_at": "2018-07-20T13:24:15.000000", "updated_at": null, "access_type": "ip", "access_to": "2.2.2.2", "access_level": "ro", "state": "applying", "id": "4b56cd3c-c642-4a70-b89e-961836a72bd6"}}
}}}

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/ddt.py", line 139, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/stack/new/manila-tempest-plugin/manila_tempest_tests/tests/api/test_rules.py", line 206, in test_create_delete_ro_access_rule
    _create_delete_ro_access_rule(self, client_name)
  File "/opt/stack/new/manila-tempest-plugin/manila_tempest_tests/tests/api/test_rules.py", line 53, in _create_delete_ro_access_rule
    self.assertEqual("queued_to_apply", rule['state'])
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 411, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'queued_to_apply' != u'applying'

Jason Grosso (jgrosso) wrote :

Goutham is this one yours? :)

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

Other bug subscribers