-
-
Save hughesjj/c0d3fe334ccae646ce1a367b309a208b to your computer and use it in GitHub Desktop.
FROM golang:bookworm | |
RUN git clone https://github.com/open-telemetry/opentelemetry-collector-contrib.git | |
WORKDIR ./opentelemetry-collector-contrib | |
RUN make install-tools | |
RUN make # as of 2023-12-05 fails first on sigv4 | |
RUN make integration-test # fails on jmx receiver | |
# How about we at least add to docs (README.md? CONTRIBUTING.md?) how to test individual recievers? |
hughesjj
commented
Dec 6, 2023
--- FAIL: TestLoadConfigError (0.00s)
config_test.go:55:
Error Trace: /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/extension/sigv4authextension/config_test.go:55
Error: An error is expected but got nil.
Test: TestLoadConfigError
For this error, do you have valid AWS credentials in your environment when running the tests? I have seen this behavior before in some of the AWS components. The tests expect no valid credentials to exist which can lead to flaky behavior if they do.
--- FAIL: TestLoadConfigError (0.00s)
config_test.go:55:
Error Trace: /home/jameshughes/workspace/otel-github/opentelemetry-collector-contrib/extension/sigv4authextension/config_test.go:55
Error: An error is expected but got nil.
Test: TestLoadConfigErrorFor this error, do you have valid AWS credentials in your environment when running the tests? I have seen this behavior before in some of the AWS components. The tests expect no valid credentials to exist which can lead to flaky behavior if they do.
Oh, yes, I definitely have some expired role sessions in my .aws/credentials
, will try clearing that out and re-running. Thanks Bryan!