OCPBUGS-83512: add retry in nested container tests#31015
OCPBUGS-83512: add retry in nested container tests#31015bitoku wants to merge 1 commit intoopenshift:mainfrom
Conversation
|
@bitoku: This pull request references Jira Issue OCPBUGS-83512, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
WalkthroughAdds an environment assignment Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 10✅ Passed checks (10 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: bitoku The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/refresh |
|
/jira refresh |
|
@bitoku: This pull request references Jira Issue OCPBUGS-83512, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@bitoku: This pull request references Jira Issue OCPBUGS-83512, which is valid. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
test/extended/testdata/node/nested_container/run_tests.sh (1)
6-6: Quote$(nproc)on Line 6 to resolve SC2046 and harden shell parsing.ShellCheck flags
$(nproc)with SC2046 warning: word splitting may occur if the command substitution contains multiple tokens. Adding quotes prevents this:"$(nproc)".Proposed diff
-PODMAN=$(pwd)/bin/podman BATS_TEST_RETRIES=3 bats -T --report-formatter junit -o parallel-junit --filter-tags ci:parallel -j $(nproc) test/system/ || touch fail +PODMAN=$(pwd)/bin/podman BATS_TEST_RETRIES=3 bats -T --report-formatter junit -o parallel-junit --filter-tags ci:parallel -j "$(nproc)" test/system/ || touch fail🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@test/extended/testdata/node/nested_container/run_tests.sh` at line 6, The command in run_tests.sh uses an unquoted command substitution $(nproc) which triggers ShellCheck SC2046 and can cause word-splitting; update the invocation that sets PODMAN and runs bats (the line containing PODMAN=$(pwd)/bin/podman BATS_TEST_RETRIES=3 bats ... -j $(nproc) test/system/ || touch fail) to quote the substitution as "$(nproc)" so the -j argument receives a single token.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@test/extended/testdata/node/nested_container/run_tests.sh`:
- Line 6: The command in run_tests.sh uses an unquoted command substitution
$(nproc) which triggers ShellCheck SC2046 and can cause word-splitting; update
the invocation that sets PODMAN and runs bats (the line containing
PODMAN=$(pwd)/bin/podman BATS_TEST_RETRIES=3 bats ... -j $(nproc) test/system/
|| touch fail) to quote the substitution as "$(nproc)" so the -j argument
receives a single token.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 0211d9b3-272f-49e6-b92d-6d17d0550637
📒 Files selected for processing (2)
test/extended/testdata/bindata.gotest/extended/testdata/node/nested_container/run_tests.sh
|
@bitoku: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
Scheduling required tests: |
|
/payload-aggregate periodic-ci-openshift-release-main-ci-4.22-e2e-gcp-ovn-usernamespace 10 |
|
@bitoku: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/0f0a3590-3945-11f1-85f0-4a1fbecf30a8-0 |
|
/payload-aggregate periodic-ci-openshift-release-main-ci-4.22-e2e-gcp-ovn-usernamespace 10 |
|
@bitoku: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/59c63850-396c-11f1-8cd8-dd74cf8bc276-0 |
|
Scheduling required tests: |
Add retries so that it won't fail by transient network issues.
Summary by CodeRabbit