-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fix(CI): 'update-otel' make target fails with 'go-chi' dependency issue #8838
Conversation
8923243
to
a14c880
Compare
Don't think a changelog is required. |
Getting fails on
=== RUN TestEndToEnd
[17684](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689034341?check_suite_focus=true#step:8:17684)
receiver_test.go:118:
[17685](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689034341?check_suite_focus=true#step:8:17685)
Error Trace: receiver_test.go:118
[17686](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689034341?check_suite_focus=true#step:8:17686)
receiver_test.go:100
[17687](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689034341?check_suite_focus=true#step:8:17687)
receiver_test.go:72
[17688](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689034341?check_suite_focus=true#step:8:17688)
Error: Should be true
[17689](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689034341?check_suite_focus=true#step:8:17689)
Test: TestEndToEnd
[17690](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689034341?check_suite_focus=true#step:8:17690)
Messages: timestamp_now metric not found
--- FAIL: TestMetricsFromFile (3.16s)
[294](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689071865?check_suite_focus=true#step:14:294)
FAIL
[295](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689071865?check_suite_focus=true#step:14:295)
exit status 1
[296](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689071865?check_suite_focus=true#step:14:296)
FAIL github.com/open-telemetry/opentelemetry-collector-contrib/testbed/tests 80.561s
[297](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689071865?check_suite_focus=true#step:14:297)
# Test PerformanceResults
[298](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689071865?check_suite_focus=true#step:14:298)
Started: Fri, 25 Mar 2022 08:39:24 +0000
[299](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689071865?check_suite_focus=true#step:14:299)
[300](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689071865?check_suite_focus=true#step:14:300)
Test |Result|Duration|CPU Avg%|CPU Max%|RAM Avg MiB|RAM Max MiB|Sent Items|Received Items|
[301](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689071865?check_suite_focus=true#step:14:301)
----------------------------------------|------|-------:|-------:|-------:|----------:|----------:|---------:|-------------:|
[302](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689071865?check_suite_focus=true#step:14:302)
Metric10kDPS/Carbon |PASS | 16s| 93.5| 111.3| 63| 90| 443100| 443100|
[303](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689071865?check_suite_focus=true#step:14:303)
Metric10kDPS/OpenCensus |PASS | 15s| 30.7| 31.3| 67| 94| 1049300| 1049300|
[304](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689071865?check_suite_focus=true#step:14:304)
Metric10kDPS/OTLP |PASS | 15s| 36.3| 36.7| 68| 96| 1049300| 1049300|
[305](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689071865?check_suite_focus=true#step:14:305)
Metric10kDPS/OTLP-HTTP |PASS | 15s| 38.8| 39.7| 64| 90| 1050000| 1050000|
[306](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689071865?check_suite_focus=true#step:14:306)
Metric10kDPS/SignalFx |PASS | 15s| 54.8| 55.0| 70| 95| 1049300| 1049300|
[307](https://github.com/open-telemetry/opentelemetry-collector-contrib/runs/5689071865?check_suite_focus=true#step:14:307)
MetricsFromFile |FAIL | 3s| 33.0| 33.0| 31| 95| 3074| 2914|RAM consumption is 95 MiB, max expected is 94 MiB Not really sure what is causing this. I would appreciate any feedback. Also, getting 'timeout' issues when trying to run the test locally. |
Update => Test passing locally. |
Meant to write a comment but forgot to do it 😅 I don't think the test failures are related to the changes on this PR, you can ignore them (and/or raise an issue so that they get fixed). I requested a review from @Aneurysm9 since he also faces the |
Thanks @mx-psi. Seems to be some flakiness going on. Tests are passing now! :) |
This is the same workaround we applied in the AWS distro. Can confirm it was working there. Please ensure you've merged |
a14c880
to
852aa6b
Compare
Thanks for review and feedback @Aneurysm9.
Rebased. |
@mx-psi Looks like the load tests that are failing are flakes. |
opentelemetry-collector-contrib has a dependency on `gopkg.in/DataDog/dd-trace-go.v1 v1.37.0`. `gopkg.in/DataDog/dd-trace-go.v1 v1.37.0` has a dependency on `github.com/go-chi/chi v4.0.0-rc1`. However, the tag has been removed from the repository for `v4.0.0-rc1`. This means then that the `update-otel` target fails as follows: go: gopkg.in/DataDog/[email protected] requires github.com/go-chi/chi/[email protected]: reading github.com/go-chi/chi/go.mod at revision v4.0.0-rc1: unknown revision v4.0.0-rc1 This PR replaces the chi dependency with `v4.0.0` until the issue is resolved with the `dd-trace-go` module. Signed-off-by: Martin Hickey <[email protected]>
852aa6b
to
dbbf5e5
Compare
Rebased there again. If this is good to go, does someone mind merging this? It's just that there will potentially be lots of changes around the Go module dependencies. |
I marked as ready to merge, a maintainer will give a final look and should merge it soon :) |
Thanks for the reviews folks and the merge. |
This PR replaces the chi dependency with
v4.0.0
until the issue is resolved with thedd-trace-go
module.Fixes #8837
Signed-off-by: Martin Hickey [email protected]