-
Notifications
You must be signed in to change notification settings - Fork 374
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
TestLabelsDemoApp: Replace isovalent/jobs-app by Opentelemetry demo app #2345
TestLabelsDemoApp: Replace isovalent/jobs-app by Opentelemetry demo app #2345
Conversation
✅ Deploy Preview for tetragon ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey thanks a lot for doing this work, I think the patch works, failures are unrelated. Could you maybe squash your commits into one?
I need to take a deeper look to see if we can make the label a bit more explicit maybe (add more of them if they are any) and test your patch locally in the meantime.
Those are the only ones set by the default helm chart install, so let's keep this it's plenty enough and it simplifies how they are checked! |
As mentioned in #2176 (comment), I replaced labels to be checked by looked into https://github.com/GoogleCloudPlatform/microservices-demo/tree/90b81cca772eb61b8695a638e44b9b2cde70853f/helm-chart/templates and saw only the app label :D So just let it simple like this, right? @mtardy :D |
This is perfect like this, thanks a lot! |
Again, if you can squash those commits, I'll run the tests and I guess we can merge this! |
So we have a failure on e2e tests but I think it's unrelated https://github.com/cilium/tetragon/actions/runs/8752369371/job/24019870334?pr=2345#step:7:1061. Since all the checkers have matched, I don't think it's related to your changes. Let me just investigate a bit before merging this. |
By the way, it seems the deployment time and checker time is a ~50% (or a bit more) gain from before, that's great for CI speed. |
Relate to the CI speed, I have a concern why we need An with my experience, the |
So in the end, even if the output is very confusing, it was related to this. Unfortunately the microservices-demo does not ship arm64 images for all the microservices and it seems now it builds okay, they just don't want to publish the image for some reason GoogleCloudPlatform/microservices-demo#622. It worked fine locally on my computer since I use a rosetta share between my OS and the Linux VM I use and didn't realize the arch issue... Unfortunately it does not run as well with just qemu for x86_64 on arm64 :(! I posted a message here but it seems it's pretty compromised to use this for our tests GoogleCloudPlatform/microservices-demo#622 (comment). |
Just as a note, it worked previously because the event checker does not need everything to deploy gracefully to get all the events. Even with some of the services to CrashLoopBackoff it still got events. The thing blocks when trying to use the So maybe we should find an alternative that really supports arm64, or just simplify this deployment with a more simple nginx deployment with custom labels that we can try to retrieve on the tetragon event instead of "real-life" example. I know this is frustrating, especially since I was expecting something as big as a Google microservices demo to support arm64 out of the box :/! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So yeah again I'm sorry, you did a really good job and helped us a lot on something we have been postponing forever and you just bumped into this not being the ideal solution in the end.
At least now we know it, and we can see what actions should be taken:
- we can see if Google moves quickly on publishing the arm64 images;
- or if we should find an alternative real-life deployment;
- or just use something made-up that is simpler.
Let me chat about that with the rest of the team and see what we can do! Thanks again for your PR :)
Thank @mtardy for supporting me :D. While waiting for support from Google microservices demo, let me check that may we reduce the |
Hey, @lambdanis suggested we use this demo instead https://github.com/open-telemetry/opentelemetry-demo, apparently, it's a fork of the Google microservice demo and I tested it on arm64, and it works fine! You can find the doc here https://opentelemetry.io/docs/demo/kubernetes-deployment/. If you still have the motivation to switch the e2e tests to use this one it would be amazing, otherwise, I can update the issue with the new desired deployment and someone can pick this up. |
Thank you for your suggestion. Let me change the Helm charts, that would be a great start for me 💪 |
Hi @mtardy , I have update the Help me to review this change :D |
Signed-off-by: Trung-DV <TrungDV.PMB@gmail.com>
LGTM we can follow up with the -p * if we need/want to. |
Lovely thanks! |
Migrate e2e labels test from
isovalent/jobs-app
to Opentelemetry demo app-p 1 -parallel 1
flags when running testsFixes: #1976, #2176