Bug #47588
closedsts test failures
0%
Description
2020-09-18T17:03:41.954 INFO:teuthology.orchestra.run.smithi071:s3 tests against rgw> S3TEST_CONF=/home/ubuntu/cephtest/archive/s3-tests.client.0.conf BOTO_CONFIG=/home/ubuntu/cephtest/boto.cfg REQUESTS_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt /home/ubuntu/cephtest/s3-tests/virtualenv/bin/python -m nose -w /home/ubuntu/cephtest/s3-tests -v -a sts_test 2020-09-18T17:03:43.062 INFO:teuthology.orchestra.run.smithi071.stderr:s3tests_boto3.functional.test_sts.test_get_session_token ... ERROR 2020-09-18T17:03:43.083 INFO:teuthology.orchestra.run.smithi071.stderr:s3tests_boto3.functional.test_sts.test_get_session_token_permanent_creds_denied ... ERROR 2020-09-18T17:03:43.204 INFO:teuthology.orchestra.run.smithi071.stderr:s3tests_boto3.functional.test_sts.test_assume_role_allow ... ok 2020-09-18T17:03:43.285 INFO:teuthology.orchestra.run.smithi071.stderr:s3tests_boto3.functional.test_sts.test_assume_role_deny ... ok 2020-09-18T17:18:43.454 INFO:teuthology.orchestra.run.smithi071.stderr:s3tests_boto3.functional.test_sts.test_assume_role_creds_expiry ... ok 2020-09-18T17:18:43.532 INFO:teuthology.orchestra.run.smithi071.stderr: 2020-09-18T17:18:43.532 INFO:teuthology.orchestra.run.smithi071.stderr:====================================================================== 2020-09-18T17:18:43.532 INFO:teuthology.orchestra.run.smithi071.stderr:ERROR: s3tests_boto3.functional.test_sts.test_get_session_token 2020-09-18T17:18:43.533 INFO:teuthology.orchestra.run.smithi071.stderr:---------------------------------------------------------------------- 2020-09-18T17:18:43.533 INFO:teuthology.orchestra.run.smithi071.stderr:Traceback (most recent call last): 2020-09-18T17:18:43.533 INFO:teuthology.orchestra.run.smithi071.stderr: File "/home/ubuntu/cephtest/s3-tests/virtualenv/lib/python3.6/site-packages/nose/case.py", line 198, in runTest 2020-09-18T17:18:43.533 INFO:teuthology.orchestra.run.smithi071.stderr: self.test(*self.arg) 2020-09-18T17:18:43.533 INFO:teuthology.orchestra.run.smithi071.stderr: File "/home/ubuntu/cephtest/s3-tests/s3tests_boto3/functional/test_sts.py", line 89, in test_get_session_token 2020-09-18T17:18:43.533 INFO:teuthology.orchestra.run.smithi071.stderr: response=sts_client.get_session_token(DurationSeconds=43200) 2020-09-18T17:18:43.534 INFO:teuthology.orchestra.run.smithi071.stderr: File "/home/ubuntu/cephtest/s3-tests/virtualenv/lib/python3.6/site-packages/botocore/client.py", line 337, in _api_call 2020-09-18T17:18:43.534 INFO:teuthology.orchestra.run.smithi071.stderr: return self._make_api_call(operation_name, kwargs) 2020-09-18T17:18:43.534 INFO:teuthology.orchestra.run.smithi071.stderr: File "/home/ubuntu/cephtest/s3-tests/virtualenv/lib/python3.6/site-packages/botocore/client.py", line 656, in _make_api_call 2020-09-18T17:18:43.534 INFO:teuthology.orchestra.run.smithi071.stderr: raise error_class(parsed_response, operation_name) 2020-09-18T17:18:43.534 INFO:teuthology.orchestra.run.smithi071.stderr:botocore.exceptions.ClientError: An error occurred (Unknown) when calling the GetSessionToken operation: Unknown 2020-09-18T17:18:43.534 INFO:teuthology.orchestra.run.smithi071.stderr:-------------------- >> begin captured logging << --------------------
2020-09-18T17:18:43.583 INFO:teuthology.orchestra.run.smithi071.stderr:====================================================================== 2020-09-18T17:18:43.583 INFO:teuthology.orchestra.run.smithi071.stderr:ERROR: s3tests_boto3.functional.test_sts.test_get_session_token_permanent_creds_denied 2020-09-18T17:18:43.583 INFO:teuthology.orchestra.run.smithi071.stderr:---------------------------------------------------------------------- 2020-09-18T17:18:43.584 INFO:teuthology.orchestra.run.smithi071.stderr:Traceback (most recent call last): 2020-09-18T17:18:43.584 INFO:teuthology.orchestra.run.smithi071.stderr: File "/home/ubuntu/cephtest/s3-tests/virtualenv/lib/python3.6/site-packages/nose/case.py", line 198, in runTest 2020-09-18T17:18:43.584 INFO:teuthology.orchestra.run.smithi071.stderr: self.test(*self.arg) 2020-09-18T17:18:43.584 INFO:teuthology.orchestra.run.smithi071.stderr: File "/home/ubuntu/cephtest/s3-tests/s3tests_boto3/functional/test_sts.py", line 119, in test_get_session_token_permanent_creds_denied 2020-09-18T17:18:43.584 INFO:teuthology.orchestra.run.smithi071.stderr: response=sts_client.get_session_token(DurationSeconds=43200) 2020-09-18T17:18:43.584 INFO:teuthology.orchestra.run.smithi071.stderr: File "/home/ubuntu/cephtest/s3-tests/virtualenv/lib/python3.6/site-packages/botocore/client.py", line 337, in _api_call 2020-09-18T17:18:43.584 INFO:teuthology.orchestra.run.smithi071.stderr: return self._make_api_call(operation_name, kwargs) 2020-09-18T17:18:43.585 INFO:teuthology.orchestra.run.smithi071.stderr: File "/home/ubuntu/cephtest/s3-tests/virtualenv/lib/python3.6/site-packages/botocore/client.py", line 656, in _make_api_call 2020-09-18T17:18:43.585 INFO:teuthology.orchestra.run.smithi071.stderr: raise error_class(parsed_response, operation_name) 2020-09-18T17:18:43.585 INFO:teuthology.orchestra.run.smithi071.stderr:botocore.exceptions.ClientError: An error occurred (Unknown) when calling the GetSessionToken operation: Unknown 2020-09-18T17:18:43.585 INFO:teuthology.orchestra.run.smithi071.stderr:-------------------- >> begin captured logging << --------------------
Updated by Kalpesh Pandya over 3 years ago
Casey Bodley wrote:
After seeing the logs I see that the error is coming because someone has made a change in the code and has set the configurable rgw_enable_ops_log to True. So, I'm to see who has made this change and will further investigate the root cause of the error.
Updated by Kalpesh Pandya over 3 years ago
Kalpesh Pandya wrote:
Casey Bodley wrote:
After seeing the logs I see that the error is coming because someone has made a change in the code and has set the configurable rgw_enable_ops_log to True. So, I'm yet to see who has made this change and will further investigate the root cause of the error.
Updated by Kalpesh Pandya over 3 years ago
Casey Bodley wrote:
I tried to look into the error and have fixed this. Following is the link of the run: http://pulpito.front.sepia.ceph.com/kapandya-2020-09-25_13:31:04-rgw:sts-master-distro-basic-smithi/
I will raise a PR in ceph/s3-tests for the change made in test_sts.py.
Updated by Casey Bodley over 3 years ago
https://github.com/ceph/s3-tests/pull/362 merged to ceph-master, waiting on a new test run to confirm