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
WIP: node e2e add ginkgo progress reports #116120
WIP: node e2e add ginkgo progress reports #116120
Conversation
This was never being used, the only config that used it was deleted in kubernetes/test-infra#26017 and I don't think we need this anymore, so let's delete it. Signed-off-by: David Porter <david@porter.me>
When running multiple node e2e with multiple machine images, the tests are run for each node. The final log has all of the results for each of the hosts which make debugging the log difficult. To make it easier, emit a log for each host that was run. This log will be written to the results directory and uploaded as an artifact in prow jobs. Signed-off-by: David Porter <david@porter.me>
Add the following gingko flags for each node e2e similiar to the existing hack/ginkgo-e2e.sh script. * --no-color, colors aren't rendered proplery and make examining the log in text editors more diffiuclt, so let's disable them * -v, enable verbose logs. This is needed so we get more detailed info even when the tests pass. * --poll-progress-after and --poll-progress-interval, these will provide a progress report if the test is stuck. Signed-off-by: David Porter <david@porter.me>
If a node e2e gets stuck, it is currently hard to debug. ginkgo supports progress reports via `poll-progress-after` and `poll-progress-interval` which will print where a test is stuck if if it has not progressed after a set period of time. To use this feature and provide line numbers, ginkgo needs the k8s source. To ensure the node e2e has the source, when building the node e2e archive, also copy the k8s source and pass it to ginkgo via `--source-root`. Signed-off-by: David Porter <david@porter.me>
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. 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 kubernetes/test-infra repository. |
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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 kubernetes/test-infra repository. |
This is dependent on #116057 and k/k needs to update gomega to 1.27.2 to address onsi/ginkgo#1150 |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: bobbypage The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
PR needs rebase. 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 kubernetes/test-infra repository. |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
This work-in-progress PR needs a rebase. please rebase if this PR is still needed for the upcoming release. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. In 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 kubernetes/test-infra repository. |
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: