Repository navigation
NO-ISSUE: wait for greenboot before service failure - #7449
redhat-chai-bot wants to merge 2 commits into
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@redhat-chai-bot: This pull request explicitly references no jira issue. 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: redhat-chai-bot 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 |
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Wait for Greenboot health check test/suites/greenboot/greenboot.robot |
Both tests wait for the Greenboot health check to exit before checking MicroShift health. |
Priority:
Estimated code review effort: 1 (Trivial) | ~5 minutes
Change: Bug fix
Suggested reviewers: pacevedom
Merge Risk: 
Minimal · up to 06860
-
The change implements the intended ordering in both tests, with no actionable merge-blocking risk remaining.
Pre-merge checks: 
15
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
Full details: Stable And Deterministic Test Names
-
Explanation
The pull request changes only Robot Framework test bodies. The test titles
Simulate Service FailureandSimulate Pod Failureremain static and contain no dynamic values or legacy metadata tokens. The added lines only wait for the Greenboot health check to exit.
Full details: Test Structure And Quality
-
Explanation
PASS: The pull request changes only
test/suites/greenboot/greenboot.robot. It adds Robot Framework keywords to two existing test cases and does not add or modify Ginkgo test code,Itblocks, cluster operations, or Ginkgo assertions.
Full details: Microshift Test Compatibility
-
Explanation
PASS: The pull request changes only
test/suites/greenboot/greenboot.robot, a Robot Framework suite. It addsWait Until Greenboot Health Check Exitedto two existing Robot test cases. It does not add Ginkgo tests or reference MicroShift-incompatible OpenShift APIs or features.
Full details: Single Node Openshift (Sno) Test Compatibility
-
Explanation
PASS: The pull request changes only
test/suites/greenboot/greenboot.robot, a Robot Framework suite. It adds waits to existingSimulate Service FailureandSimulate Pod Failurecases. It adds no Ginkgo e2e tests and introduces no SNO multi-node assumptions.
Full details: Topology-Aware Scheduling Compatibility
-
Explanation
PASS: The pull request changes only
test/suites/greenboot/greenboot.robot. It adds waits for the Greenboot health check in two tests. It does not modify deployment manifests, operator code, controllers, replicas, affinity, topology spread, node selectors, tolerations, or PDBs.
Full details: Ote Binary Stdout Contract
-
Explanation
PASS: The pull request changes only
test/suites/greenboot/greenboot.robot, adding waits inside theSimulate Service FailureandSimulate Pod Failuretest cases. It changes no OTE binary or process-level Go code, so it introduces no stdout contract violation.
Full details: Ipv6 And Disconnected Network Test Compatibility
-
Explanation
The pull request changes only the existing Robot suite
test/suites/greenboot/greenboot.robot. It adds wait keywords to two existing tests and adds no Ginkgo tests. Therefore, this check is not applicable. The existing IPv4 CIDRs inDisrupt Pod Networkare unchanged by the pull request.
Full details: No-Weak-Crypto
-
Explanation
PASS. The PR adds only two calls to
Wait Until Greenboot Health Check Exitedintest/suites/greenboot/greenboot.robot. The referenced keyword only waits forgreenboot-healthcheck.serviceto reach theexitedstate. The diff introduces no MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB, custom cryptography, or secret comparison.
Full details: Container-Privileges
-
Explanation
PASS. The pull request changes only
test/suites/greenboot/greenboot.robotby adding twoWait Until Greenboot Health Check Exitedcalls. The diff adds no container or Kubernetes manifest settings and noprivileged, host namespace,SYS_ADMIN, root, orallowPrivilegeEscalationconfiguration. The referenced keyword only waits for the greenboot service state.
Full details: No-Sensitive-Data-In-Logs
-
Explanation
PASS: The pull request only adds calls to
Wait Until Greenboot Health Check Exitedin two Robot tests. The referenced keyword reconnects and checks service state; it does not log passwords, tokens, PII, session IDs, hostnames, or customer data. No logging statements or sensitive values were added.
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
Comment @coderabbitai help to get the list of available commands.
00e5a37 to
07482e4
Compare
edc61ac to
ad06b6d
Compare
ad06b6d to
4d866f5
Compare
|
/pipeline required |
|
Scheduling tests matching the |
|
|
||
| Simulate Pod Failure | ||
| [Documentation] Simulate pod network failure | ||
| Wait For MicroShift Healthcheck Success |
There was a problem hiding this comment.
Isnt the same check needed here?
There was a problem hiding this comment.
Yes. Simulate Pod Failure currently calls Wait For MicroShift Healthcheck Success before disrupting the pod network, but that keyword runs microshift healthcheck; it does not wait for greenboot-healthcheck.service to exit. The same Wait Until Greenboot Health Check Exited call should precede it, matching Simulate Service Failure. This establishes the same pre-disruption ordering; it does not by itself confirm the cause of the previously observed test failure.
AI-assisted response
AI-generated. Review for accuracy.
There was a problem hiding this comment.
Added the same wait before the MicroShift healthcheck in Simulate Pod Failure in commit 543111d. make verify-rf passed, and the focused Greenboot Robot dry-run passed all 3 tests. This is static validation; live Greenboot execution was not tested.
AI-generated. Review for accuracy.
|
/pipeline required |
|
Scheduling tests matching the |
543111d to
fcb56b7
Compare
Ensure the previous greenboot health check has exited before disrupting the MicroShift service.
Wait for the greenboot health check to exit before simulating pod network failure, matching the service failure test.
fcb56b7 to
06860de
Compare
|
/pipeline required |
|
Scheduling tests matching the |
|
@redhat-chai-bot: The following tests failed, say
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. |
|
Investigated the two failed checks on this revision:
Neither failing scenario executes the changed test cases. Retrying the failed checks once; no code changes. /retest AI-generated. Review for accuracy. |
Summary
Wait for the current boot's greenboot health check to exit before the test deliberately makes MicroShift unhealthy.
The change is limited to one line in
test/suites/greenboot/greenboot.robot.Validation
make verify-rfgit diff --checkSummary by CodeRabbit