Conversation
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Summary of ChangesHello @kolyshkin, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request implements a targeted debugging enhancement to the e2e test suite. The primary goal is to improve diagnostic capabilities by ensuring that relevant kernel logs are consistently collected after test runs, regardless of their outcome. This change is specifically aimed at investigating a reported issue, likely involving filesystem interactions within the container runtime. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request appears to be for debugging purposes, adding a command to check kernel logs after tests run. However, the current implementation uses || true which will cause the test suite to always report success, even if there are test failures. This is a critical issue for CI. I've provided a review comment with a suggested code change to ensure the kernel logs are printed without suppressing the actual test results.
| -timeout=50m -cover -flake-attempts 3 -progress -trace -no-color test/e2e/. || true | ||
| dmesg | grep overlay |
There was a problem hiding this comment.
Using || true will suppress the exit code of the test suite, causing the CI to pass even if tests fail. This is a critical issue as it can hide genuine test failures. To ensure kernel logs are captured on failure without suppressing the test result, you should capture the exit code of the test command and then exit with it after printing the logs.
| -timeout=50m -cover -flake-attempts 3 -progress -trace -no-color test/e2e/. || true | |
| dmesg | grep overlay | |
| -timeout=50m -cover -flake-attempts 3 -progress -trace -no-color test/e2e/. | |
| result=$? | |
| dmesg | grep overlay | |
| exit $result |
|
TMT tests failed. @containers/packit-build please check. |
Usually upperdir is either under /var/lib/containers or /var/tmp, both are bind-mounted from the host here: crun/.github/workflows/test.yaml Line 133 in 0bc3050 and therefore are not on overlayfs. We need to exclude the test. |
Debugging #1999