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
test/extended/cli/mustgather: Separate gather_audit_logs test #24680
Conversation
/approve holding so you can make it compile. release and retag after. |
6a774d2
to
5b11a80
Compare
5b11a80
to
45a05a1
Compare
The three e2e failures were:
We probably don't want to land this until have those sorted. |
45a05a1
to
769c5f3
Compare
Rebased around the generated-file conflict (from #24682?) with 45a05a1 -> 769c5f3. I still have no idea what's going on with the EOF failures, maybe someone who understands must-gather can weigh in? |
It's very weird, I've just tried with the artifacts gathered after the failure and they work fine with similar gzip code. That EOF suggest the file is empty/corrupted/being written to? Can you add a nasty |
769c5f3
to
e86b60e
Compare
/hold cancel |
/test all |
/retest |
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
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
18 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/hold |
@wking: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
[1] is removing these from the default gather, because they're mostly useful for internal debugging, less useful in end-user bug reports, and can run to hundreds of megabytes. But we still want to ensure that they work as expected when they are explicitly requested. This commit pulls the audit-log checks out of the test-case for the generic invocation. And it adds a new test case with those checks after an explict gather_audit_logs request. The EOF sleep was recommended by Maciej [2,3], although it's not clear to me how the oc call could exit success before the output directory was on disk. The annotation change was generated with: $ hack/verify-generated-bindata.sh [1]: openshift/must-gather#143 [2]: openshift#24680 (comment) [3]: openshift#24680 (comment)
[1] is removing these from the default gather, because they're mostly useful for internal debugging, less useful in end-user bug reports, and can run to hundreds of megabytes. But we still want to ensure that they work as expected when they are explicitly requested. This commit pulls the audit-log checks out of the test-case for the generic invocation. And it adds a new test case with those checks after an explict gather_audit_logs request. The EOF sleep was recommended by Maciej [2,3], although it's not clear to me how the oc call could exit success before the output directory was on disk. The annotation change was generated with: $ hack/verify-generated-bindata.sh [1]: openshift/must-gather#143 [2]: openshift#24680 (comment) [3]: openshift#24680 (comment)
I've managed to nail down the problems with this PR, updated version for review is in #25283 |
@soltysh: 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. |
[1] is removing these from the default gather, because they're mostly useful for internal debugging, less useful in end-user bug reports, and can run to hundreds of megabytes. But we still want to ensure that they work as expected when they are explicitly requested. This commit pulls the audit-log checks out of the test-case for the generic invocation. And it adds a new test case with those checks after an explict gather_audit_logs request. The EOF sleep was recommended by Maciej [2,3], although it's not clear to me how the oc call could exit success before the output directory was on disk. The annotation change was generated with: $ hack/verify-generated-bindata.sh [1]: openshift/must-gather#143 [2]: openshift#24680 (comment) [3]: openshift#24680 (comment)
[1] is removing these from the default gather, because they're mostly useful for internal debugging, less useful in end-user bug reports, and can run to hundreds of megabytes. But we still want to ensure that they work as expected when they are explicitly requested. This commit pulls the audit-log checks out of the test-case for the generic invocation. And it adds a new test case with those checks after an explict gather_audit_logs request. The EOF sleep was recommended by Maciej [2,3], although it's not clear to me how the oc call could exit success before the output directory was on disk. The annotation change was generated with: $ hack/verify-generated-bindata.sh [1]: openshift/must-gather#143 [2]: openshift#24680 (comment) [3]: openshift#24680 (comment)
openshift/must-gather#143 is removing these from the default gather, because they're mostly useful for internal debugging, less useful in end-user bug reports, and can run to hundreds of megabytes. But we still want to ensure that they work as expected when they are explicitly requested. This commit pulls the audit-log checks out of the test-case for the generic invocation. And it adds a new test case with those checks after an explict
gather_audit_logs
request.CC @deads2k, @sanchezl, @sferich888, @soltysh