Bug 1710973
Summary: | "oc adm must-gather" test in e2e-vsphere suite failing in origin repo | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Matthew Staebler <mstaeble> |
Component: | Installer | Assignee: | Matthew Staebler <mstaeble> |
Installer sub component: | openshift-installer | QA Contact: | sheng.lao <shlao> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | unspecified | ||
Priority: | unspecified | CC: | bleanhar |
Version: | 4.1.0 | ||
Target Milestone: | --- | ||
Target Release: | 4.1.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-08-15 14:24:02 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Matthew Staebler
2019-05-16 16:36:01 UTC
This is failing because the audit log listing is only 78 bytes. The test is verifying that the size is at least 100 bytes. Cloud you provide the url of this pr, so that I can verify it with accurate log. @mstaeble Could you please give me more hints about how to reproduce the bug? In the latest version, if the file size is greater than 50 bytes, then it is not empty, as the following code shows: 108 stat, err := os.Stat(expectedFilePath) 109 o.Expect(err).ToNot(o.HaveOccurred()) 110 if size := stat.Size(); size < 50 { 111 emptyFiles = append(emptyFiles, expectedFilePath) 112 } Verification steps: # oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.2.0-0.nightly-2019-08-01-113533 True False 23m Cluster version is 4.2.0-0.nightly-2019-08-01-113533 # openshift-tests run-test "[cli] oc adm must-gather runs successfully [Suite:openshift/conformance/parallel]" ... INFO: Worker host service log collection to complete. audit_logs/kube-apiserver.audit_logs_listing audit_logs/openshift-apiserver.audit_logs_listing ... Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2417 |