-
Notifications
You must be signed in to change notification settings - Fork 440
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
smoke-simplest e2e test fails intermittently #969
Comments
Please provide as well links to the failed jobs. It helps with the "investigation". |
It looks like this is an issue with how ports are listed. Normally "kubectl get service..." for the collector or collector-headless object created returns yaml that looks like:
Occasionally, however it returns yaml like that below with the jaeger-grpc port listed last instead of first, which causes the test to fail:
|
The issue is most likely in the way how the operator derives ports. It might store ports in a map which is used to create port array - this approach can produce different results. Some code pointers to places where the ports are handled:
|
I have seen this on CI and can reproduce it on my laptop by running the test repeatedly. The last time I did so it failed on the 11th iteration with the output below. The key part is: ".spec.ports.name: value mismatch, expected: jaeger-grpc != actual: otlp-grpc" as if it's confusing the jaeger-grpc and otlp-grpc ports.
The text was updated successfully, but these errors were encountered: