-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Panic in otlptrace triggered by integration test #5356
Comments
@titpetric Could you describe how one might reproduce the issue? |
Currently we have two PRs that are trying to replicate this, however we are not able to replicate it locally (still working on using the actual image in the CI test due to access control). It's failing in GH actions right now, and it seems to be caused by the go upgrade (same test suite passes on 1.21.x). I wish I had more info, other than that the trace from the panic seems fully invalid, the code in question is using a struct{} with 2 fields and have no idea where https://github.com/TykTechnologies/tyk/actions/runs/9098478917/job/25009198049?pr=6269 I'll post any updates. |
Replicated the panic on local with the ECR image, continuing investigation. The second PR without an otel update produces a similar panic, but with v1.18.0.
Things are pointing to some particular build issue with Go 1.22.3 in the CI environment, build from source doesn't experience this issue even with Go 1.22.3, so it's likely related to our CI cross build environment which is different (build with goreleaser, -X cflags, tags, trimpath,...) |
I'm getting the following panic (in CI, but not on local):
Looking at the code, this should not be possible. We are using go
1.22.3
to build the project, and running the same test locally doesn't trigger the panic. I'm still investigating the issue, but if anyone has any ideas, I'm open for advice. This uses otel collector 0.100.0, and 1.26.0 release of otel, otel/trace (as seen in panic output).The text was updated successfully, but these errors were encountered: