e2e: fix label-filter shell quoting in test-e2e target#447
Conversation
The E2E_GINKGO_LABEL_FILTER value contains spaces and '&&', so the shell word-splits it when the Make variable is expanded unquoted. Ginkgo receives only 'Platform:' as the filter and fails with 'Missing set operation'. Wrap the expansion in single quotes so the full expression is passed as a single argument.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tashirj 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 |
|
Hi @tashirj. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughThe ChangesE2E test target
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Problem
make test-e2efails immediately with:Syntax Error Parsing Label Filter
Platform:
Missing set operation.
The shell word-splits the unquoted $(E2E_GINKGO_LABEL_FILTER) expansion,
so Ginkgo only sees "Platform:" instead of the full expression.
Fix
Wrap $(E2E_GINKGO_LABEL_FILTER) in single quotes at the call site.
Summary by CodeRabbit