-
Notifications
You must be signed in to change notification settings - Fork 80
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
[YUNIKORN-2726] Add How to check E2E test logs? to developer guide #450
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly good, minor nit.
docs/developer_guide/e2e_test.md
Outdated
## Checking E2E Test Logs | ||
|
||
After implementing [YUNIKORN-2305](https://issues.apache.org/jira/browse/YUNIKORN-2305), the logs of failed E2E tests are stored locally and uploaded to the GitHub Action Artifact. This section explains how to retrieve and understand these logs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to mention the JIRA that implemented this. It's fine to have it in the docs without that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ryankert01 thanks for this nice documents!
docs/developer_guide/e2e_test.md
Outdated
### Steps to Retrieve Local Logs | ||
|
||
1. Run the E2E test using `make e2e_test`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we recommend to use ./scripts/run-e2e-tests.sh -a "test" -n "yk8s"
instead of make e2e_test
? run-e2e-tests.sh
is easy to use. Also it is the command used by CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! Great suggestion. Totally agreed with aligning with CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What is this PR for?
After YUNIKORN-2305 , the logs of failed E2E test are dumped to local and upload to Github Action Artifact. We should let new developers know how to retrieve them.
We should add some explaination to developer guide(https://yunikorn.apache.org/docs/next/developer_guide/e2e_test), below should be included:
Where to find the local e2e test logs after
make e2e_test
failed? (In yunikorn-k8shim/build/e2e/{suite}/)What's logs types we have
a. {specName}_k8sClusterInfo.txt
b.{specName}_ykContainerLog.txt
c.{specName}_ykFullStateDump.json
How to download logs in Github Action (Check below screenshot in the failed CI Link)
What type of PR is it?
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-2726
How should this be tested?
Screenshots (if appropriate)
Questions: