Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration tests fail but build pipelines still pass #858

Open
dtcaciuc-ggs opened this issue Oct 22, 2024 · 0 comments
Open

Integration tests fail but build pipelines still pass #858

dtcaciuc-ggs opened this issue Oct 22, 2024 · 0 comments

Comments

@dtcaciuc-ggs
Copy link
Contributor

dtcaciuc-ggs commented Oct 22, 2024

I noticed this because I was going to make a PR and was trying to run integration tests, which were failing. I then checked a successful pipeline and noticed they're failing there as well in the same way

For example in https://github.com/DataDog/datadog-serverless-functions/actions/runs/10471442547/job/28998735949

Error: er-1  | botocore.exceptions.NoCredentialsError: Unable to locate credentials[ERROR]	2024-08-20T12:24:43.717Z	6aa39bd3-1bbf-1dcb-95be-e6d8aa5879a2	[dd.trace_id=4842834437835386637 dd.span_id=15492748736702574567]	Failed to update log group tags cache
forwarder-1  | Traceback (most recent call last):
forwarder-1  |   File "/var/task/caching/cloudwatch_log_group_cache.py", line 144, in _update_log_group_tags_cache
forwarder-1  |     self.s3_client.put_object(
forwarder-1  |   File "/var/lang/lib/python3.11/site-packages/botocore/client.py", line 534, in _api_call
forwarder-1  |     return self._make_api_call(operation_name, kwargs)
forwarder-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
forwarder-1  |   File "/var/lang/lib/python3.11/site-packages/botocore/client.py", line 927, in _make_api_call
forwarder-1  |     api_params = self._emit_api_params(
forwarder-1  |                  ^^^^^^^^^^^^^^^^^^^^^^
forwarder-1  |   File "/var/lang/lib/python3.11/site-packages/botocore/client.py", line 1039, in _emit_api_params
forwarder-1  |     self.meta.events.emit(
forwarder-1  |   File "/var/lang/lib/python3.11/site-packages/botocore/hooks.py", line 412, in emit
forwarder-1  |     return self._emitter.emit(aliased_event_name, **kwargs)
forwarder-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
forwarder-1  |   File "/var/lang/lib/python3.11/site-packages/botocore/hooks.py", line 256, in emit
forwarder-1  |     return self._emit(event_name, kwargs)
forwarder-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
forwarder-1  |   File "/var/lang/lib/python3.11/site-packages/botocore/hooks.py", line 239, in _emit
forwarder-1  |     response = handler(**kwargs)
forwarder-1  |                ^^^^^^^^^^^^^^^^^
forwarder-1  |   File "/var/lang/lib/python3.11/site-packages/botocore/handlers.py", line 285, in validate_bucket_name
forwarder-1  |     raise ParamValidationError(report=error_msg)
forwarder-1  | botocore.exceptions.ParamValidationError: Parameter validation failed:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant