[victoria][ussuri][c8 train]testtools.matchers._impl.MismatchError: 404 != 401 failing on sc004

Bug #1936285 reported by Bhagyashri Shewale
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Unassigned

Bug Description

ft1.1: tempest.scenario.test_object_storage_basic_ops.TestObjectStorageBasicOps.test_swift_acl_anonymous_download[id-916c7111-cb1f-44b2-816d-8f760e4ea910,object_storage,slow]testtools.testresult.real._StringException: pythonlogging:'': {{{
2021-07-14 20:07:13,588 192271 INFO [tempest.lib.common.rest_client] Request (TestObjectStorageBasicOps:test_swift_acl_anonymous_download): 201 PUT http://192.168.24.1:8080/swift/v1/AUTH_e17f231156c141b7b24e3336a99c67f9/tempest-swift-scenario-container-1110903270 2.422s
2021-07-14 20:07:13,588 192271 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'content-length': '0', 'x-trans-id': 'tx000000000000000000004-0060ef43ef-1094-default', 'x-openstack-request-id': 'tx000000000000000000004-0060ef43ef-1094-default', 'accept-ranges': 'bytes', 'content-type': 'text/plain; charset=utf-8', 'date': 'Wed, 14 Jul 2021 20:07:13 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://192.168.24.1:8080/swift/v1/AUTH_e17f231156c141b7b24e3336a99c67f9/tempest-swift-scenario-container-1110903270'}
        Body: b''
2021-07-14 20:07:13,592 192271 INFO [tempest.lib.common.rest_client] Request (TestObjectStorageBasicOps:test_swift_acl_anonymous_download): 204 GET http://192.168.24.1:8080/swift/v1/AUTH_e17f231156c141b7b24e3336a99c67f9/tempest-swift-scenario-container-1110903270 0.003s
2021-07-14 20:07:13,592 192271 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'x-timestamp': '1626293231.68067', 'x-container-object-count': '0', 'x-container-bytes-used': '0', 'x-container-bytes-used-actual': '0', 'x-storage-policy': 'default-placement', 'x-storage-class': 'STANDARD', 'last-modified': 'Wed, 14 Jul 2021 20:07:13 GMT', 'x-trans-id': 'tx000000000000000000005-0060ef43f1-1094-default', 'x-openstack-request-id': 'tx000000000000000000005-0060ef43f1-1094-default', 'accept-ranges': 'bytes', 'content-type': 'text/plain; charset=utf-8', 'date': 'Wed, 14 Jul 2021 20:07:13 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://192.168.24.1:8080/swift/v1/AUTH_e17f231156c141b7b24e3336a99c67f9/tempest-swift-scenario-container-1110903270'}
        Body: b''
2021-07-14 20:07:13,592 192271 DEBUG [tempest.scenario.manager] Container tempest-swift-scenario-container-1110903270 created
2021-07-14 20:07:15,599 192271 INFO [tempest.lib.common.rest_client] Request (TestObjectStorageBasicOps:test_swift_acl_anonymous_download): 201 PUT http://192.168.24.1:8080/swift/v1/AUTH_e17f231156c141b7b24e3336a99c67f9/tempest-swift-scenario-container-1110903270/tempest-swift-scenario-object-793811271 2.004s
2021-07-14 20:07:15,601 192271 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: b'\xae[\xe3\n\xadA\xfcf\x9b,=\x96\xd6\x12\x8d\xda\x9d\xa84\x92\x9b\x17\xc6\xe2?\x17H\xda\x08/\xbe\r\x88\xc6\x9b\xe99\xf8\x9f\x91:\xf6\x84SP\xfeb\xee]\x9e\xe4#n\xce\x8cP\x8ea,\xf1\x1e\xa4\x9f#\xf1\x89t\xaf\xb1v\xc4\x8c\x18\x8b\x8c\x8a\xb8A\t\x07\x9eMA\x91\xdf\xcc\x9b\xd4g\xae\x17*O\xb8|U\x9e\x08\xc0\r\x87\xe1>\xdf\x8c\xc7Qdxl\x8b\xe9\xcfW\x04F4U$\x89\x1bJ\xdf\xb70\x1ecz\x10\x86\x83\xd9\xbfm2*>\x88\x9e#\x85\xe9\xa4\xb6e\xacb_\x06@\x85&/\xdaOq\x03ES\xef\x89-\x1e\x8b\xc3v_\xcf\x9cfD$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\xe7\xc1\xb4,\x1b\xea\xbc;\xa2\xbdy\x87\xe9\x9c\xda\x12\x9f\xc37\x13\x81\x92\x97r\xcf\xa2\x01P\x9f\t\x05\xf0\xf9\xf8Z\x7f\x8a$D\xf5\xeaP\xc8\xd1\x88\xb2\xd8\n\xc0\x82\xe2\x0e\xc6E\xb5\x9b\x92\x10\x05\xb1\xd3ZW\xbe6\x0c\xa2\'\xa1\xa8\x99\xbd\xb4\xa4\xd2\x116\x14p\xf9e\xb2\xd7\x9e\x99\xb8\t'
    Response - Headers: {'etag': '5262c673db8ce75c050deb6abbc19b07', 'last-modified': 'Wed, 14 Jul 2021 20:07:15 GMT', 'x-trans-id': 'tx000000000000000000006-0060ef43f1-1094-default', 'x-openstack-request-id': 'tx000000000000000000006-0060ef43f1-1094-default', 'content-type': 'application/json; charset=utf-8', 'content-length': '0', 'date': 'Wed, 14 Jul 2021 20:07:15 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://192.168.24.1:8080/swift/v1/AUTH_e17f231156c141b7b24e3336a99c67f9/tempest-swift-scenario-container-1110903270/tempest-swift-scenario-object-793811271'}
        Body: b''
2021-07-14 20:07:15,605 192271 INFO [tempest.lib.common.rest_client] Request (TestObjectStorageBasicOps:test_swift_acl_anonymous_download): 404 GET http://192.168.24.1:8080/swift/v1/AUTH_e17f231156c141b7b24e3336a99c67f9/tempest-swift-scenario-container-1110903270/tempest-swift-scenario-object-793811271 0.004s
2021-07-14 20:07:15,606 192271 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}
        Body: None
    Response - Headers: {'content-length': '176', 'x-trans-id': 'tx000000000000000000007-0060ef43f3-1094-default', 'x-openstack-request-id': 'tx000000000000000000007-0060ef43f3-1094-default', 'accept-ranges': 'bytes', 'content-type': 'application/json; charset=utf-8', 'date': 'Wed, 14 Jul 2021 20:07:15 GMT', 'connection': 'close', 'status': '404', 'content-location': 'http://192.168.24.1:8080/swift/v1/AUTH_e17f231156c141b7b24e3336a99c67f9/tempest-swift-scenario-container-1110903270/tempest-swift-scenario-object-793811271'}
        Body: b'{"Code":"NoSuchBucket","BucketName":"tempest-swift-scenario-container-1110903270","RequestId":"tx000000000000000000007-0060ef43f3-1094-default","HostId":"1094-default-default"}'
2021-07-14 20:07:15,640 192271 INFO [tempest.lib.common.rest_client] Request (TestObjectStorageBasicOps:_run_cleanups): 204 DELETE http://192.168.24.1:8080/swift/v1/AUTH_e17f231156c141b7b24e3336a99c67f9/tempest-swift-scenario-container-1110903270/tempest-swift-scenario-object-793811271 0.030s
2021-07-14 20:07:15,640 192271 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'x-trans-id': 'tx000000000000000000008-0060ef43f3-1094-default', 'x-openstack-request-id': 'tx000000000000000000008-0060ef43f3-1094-default', 'content-type': 'text/plain; charset=utf-8', 'date': 'Wed, 14 Jul 2021 20:07:15 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://192.168.24.1:8080/swift/v1/AUTH_e17f231156c141b7b24e3336a99c67f9/tempest-swift-scenario-container-1110903270/tempest-swift-scenario-object-793811271'}
        Body: b''
2021-07-14 20:07:15,707 192271 INFO [tempest.lib.common.rest_client] Request (TestObjectStorageBasicOps:_run_cleanups): 204 DELETE http://192.168.24.1:8080/swift/v1/AUTH_e17f231156c141b7b24e3336a99c67f9/tempest-swift-scenario-container-1110903270 0.066s
2021-07-14 20:07:15,707 192271 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'x-trans-id': 'tx000000000000000000009-0060ef43f3-1094-default', 'x-openstack-request-id': 'tx000000000000000000009-0060ef43f3-1094-default', 'accept-ranges': 'bytes', 'content-type': 'application/json; charset=utf-8', 'date': 'Wed, 14 Jul 2021 20:07:15 GMT', 'connection': 'close', 'status': '204', 'content-location': 'http://192.168.24.1:8080/swift/v1/AUTH_e17f231156c141b7b24e3336a99c67f9/tempest-swift-scenario-container-1110903270'}
        Body: b''
}}}

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tempest/common/utils/__init__.py", line 90, in wrapper
    return f(*func_args, **func_kwargs)
  File "/usr/lib/python3.6/site-packages/tempest/scenario/test_object_storage_basic_ops.py", line 65, in test_swift_acl_anonymous_download
    self.assertEqual(resp.status, 401)
  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: 404 != 401

Affected job:

periodic-tripleo-ci-centos-8-scenario004-standalone-train
periodic-tripleo-ci-centos-8-scenario004-standalone-ussuri
periodic-tripleo-ci-centos-8-scenario004-standalone-victoria
tripleo-ci-centos-8-scenario004-standalone

#link:

[1]: https://logserver.rdoproject.org/openstack-periodic-integration-stable4/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-scenario004-standalone-train/07b91c0/logs/undercloud/var/log/tempest/stestr_results.html.gz
[2]: https://logserver.rdoproject.org/openstack-periodic-integration-stable4/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-scenario004-standalone-train/07b91c0/logs/undercloud/var/log/extra/errors.txt.gz
[3]: https://logserver.rdoproject.org/openstack-periodic-integration-stable4/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-scenario004-standalone-train/07b91c0/job-output.txt
[4]: https://review.rdoproject.org/zuul/builds?job_name=periodic-tripleo-ci-centos-8-scenario004-standalone-train&pipeline=openstack-periodic-integration-stable4
[5]: https://logserver.rdoproject.org/openstack-periodic-integration-stable3/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-scenario004-standalone-ussuri/69ce75f/logs/undercloud/var/log/tempest/stestr_results.html.gz
[6]: https://ff00fa925e62fbd157b6-5de95738ef5101e6146255f245e6c201.ssl.cf1.rackcdn.com/800020/1/check/tripleo-ci-centos-8-scenario004-standalone/57cfa5b/logs/undercloud/var/log/tempest/stestr_results.html

summary: - testtools.matchers._impl.MismatchError: 404 != 401 failing on c8 train
- sc004
+ [ussuri][c8 train]testtools.matchers._impl.MismatchError: 404 != 401
+ failing on sc004
description: updated
summary: - [ussuri][c8 train]testtools.matchers._impl.MismatchError: 404 != 401
- failing on sc004
+ [victoria][ussuri][c8 train]testtools.matchers._impl.MismatchError: 404
+ != 401 failing on sc004
description: updated
Revision history for this message
Bhagyashri Shewale (bhagyashri-shewale) wrote :
description: updated
description: updated
Changed in tripleo:
milestone: xena-2 → xena-3
Revision history for this message
Soniya Murlidhar Vyas (svyas) wrote :
Revision history for this message
Marios Andreou (marios-b) wrote :
Revision history for this message
Ronelle Landy (rlandy) wrote :

no trace in the skiplist - closing this out

Changed in tripleo:
status: Triaged → Fix Released
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.