redpanda-data / redpanda

Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
https://redpanda.com
9.48k stars 580 forks source link

CI Failure (boto Unable to locate credentials during bucket creation) in `ShadowIndexingCloudRetentionTest.test_cloud_size_based_retention` #19324

Closed vbotbuildovich closed 1 week ago

vbotbuildovich commented 3 months ago

https://buildkite.com/redpanda/vtools/builds/14576

Module: rptest.tests.retention_policy_test
Class: ShadowIndexingCloudRetentionTest
Method: test_cloud_size_based_retention
Arguments: {
    "cloud_storage_type": 1
}
test_id:    ShadowIndexingCloudRetentionTest.test_cloud_size_based_retention
status:     FAIL
run time:   9.265 seconds

NoCredentialsError('Unable to locate credentials')
Traceback (most recent call last):
  File "/opt/.ducktape-venv/lib/python3.10/site-packages/ducktape/tests/runner_client.py", line 182, in _do_run
    self.setup_test()
  File "/opt/.ducktape-venv/lib/python3.10/site-packages/ducktape/tests/runner_client.py", line 267, in setup_test
    self.test.setup()
  File "/opt/.ducktape-venv/lib/python3.10/site-packages/ducktape/tests/test.py", line 91, in setup
    self.setUp()
  File "/home/ubuntu/redpanda/tests/rptest/tests/redpanda_test.py", line 39, in setUp
    self.__redpanda.start()
  File "/home/ubuntu/redpanda/tests/rptest/services/redpanda.py", line 2694, in start
    self.start_si()
  File "/home/ubuntu/redpanda/tests/rptest/services/redpanda.py", line 3175, in start_si
    self.cloud_storage_client.create_bucket(
  File "/home/ubuntu/redpanda/tests/rptest/archival/s3_client.py", line 185, in create_bucket
    res = self._cli.create_bucket(
  File "/opt/.ducktape-venv/lib/python3.10/site-packages/botocore/client.py", line 530, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/opt/.ducktape-venv/lib/python3.10/site-packages/botocore/client.py", line 947, in _make_api_call
    http, parsed_response = self._make_request(
  File "/opt/.ducktape-venv/lib/python3.10/site-packages/botocore/client.py", line 970, in _make_request
    return self._endpoint.make_request(operation_model, request_dict)
  File "/opt/.ducktape-venv/lib/python3.10/site-packages/botocore/endpoint.py", line 119, in make_request
    return self._send_request(request_dict, operation_model)
  File "/opt/.ducktape-venv/lib/python3.10/site-packages/botocore/endpoint.py", line 198, in _send_request
    request = self.create_request(request_dict, operation_model)
  File "/opt/.ducktape-venv/lib/python3.10/site-packages/botocore/endpoint.py", line 134, in create_request
    self._event_emitter.emit(
  File "/opt/.ducktape-venv/lib/python3.10/site-packages/botocore/hooks.py", line 412, in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
  File "/opt/.ducktape-venv/lib/python3.10/site-packages/botocore/hooks.py", line 256, in emit
    return self._emit(event_name, kwargs)
  File "/opt/.ducktape-venv/lib/python3.10/site-packages/botocore/hooks.py", line 239, in _emit
    response = handler(**kwargs)
botocore.exceptions.NoCredentialsError: Unable to locate credentials

JIRA Link: CORE-3708

vbotbuildovich commented 3 months ago

*https://buildkite.com/redpanda/vtools/builds/14576

travisdowns commented 3 months ago

Related: https://redpandadata.atlassian.net/browse/PESDLC-1089 and https://redpandadata.atlassian.net/browse/CORE-3708.

cc @andrewhsu

piyushredpanda commented 1 week ago

Closing older-bot-filed CI issues as we transition to a more reliable system.