Bug 1859916 - [sig-cli] oc adm must-gather runs successfully
Summary: [sig-cli] oc adm must-gather runs successfully
Keywords:
Status: CLOSED DUPLICATE of bug 1861746
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.6.0
Assignee: Maciej Szulik
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-23 10:04 UTC by Nikolaos Leandros Moraitis
Modified: 2020-08-11 10:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
[sig-cli] oc adm must-gather runs successfully
Last Closed: 2020-08-11 10:27:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift origin pull 25283 0 None closed test/extended/cli/mustgather: Separate gather_audit_logs test 2020-10-12 02:40:42 UTC

Description Nikolaos Leandros Moraitis 2020-07-23 10:04:28 UTC
test:
[sig-cli] oc adm must-gather runs successfully 

is failing frequently in CI, see search results:
https://search.svc.ci.openshift.org/?maxAge=168h&context=1&type=bug%2Bjunit&name=&maxMatches=5&maxBytes=20971520&groupBy=job&search=%5C%5Bsig-cli%5C%5D+oc+adm+must-gather+runs+successfully


FIXME: Replace this paragraph with a particular job URI from the search results to ground discussion.  A given test may fail for several reasons, and this bug should be scoped to one of those reasons.  Ideally you'd pick a job showing the most-common reason, but since that's hard to determine, you may also chose to pick a job at random.  Release-gating jobs (release-openshift-...) should be preferred over presubmits (pull-ci-...) because they are closer to the released product and less likely to have in-flight code changes that complicate analysis.

FIXME: Provide a snippet of the test failure or error from the job log

Comment 1 Maciej Szulik 2020-07-23 11:35:56 UTC
A possible fix is in the works, which is changing the tests and making it more resilient. 
See https://github.com/openshift/origin/pull/25283

Comment 2 W. Trevor King 2020-07-28 03:57:10 UTC
PR landed.

Comment 3 W. Trevor King 2020-07-28 04:09:40 UTC
I've filed bug 1861201 for the new-ish 'oc adm must-gather runs successfully for audit logs' flake.

Comment 6 zhou ying 2020-08-04 01:36:12 UTC
Seems the fixed PR involved new issue, the test : "[sig-cli] oc adm must-gather runs successfully with options" is failing frequently in CI 

 Always see error: 
[sig-cli] oc adm must-gather runs successfully with options [Suite:openshift/conformance/parallel] expand_less        1m19s
fail [github.com/openshift/origin/test/extended/cli/mustgather.go:198]: Expected success, but got an error:
    <*util.ExitError | 0xc002248750>: {
        Cmd: "oc --namespace=e2e-test-oc-adm-must-gather-69f8x --kubeconfig=/tmp/admin.kubeconfig adm must-gather --dest-dir /tmp/test.oc-adm-must-gather.929254864 --source-dir /artifacts -- /bin/bash -c ls -l > /artifacts/ls.log",
        StdErr: "[must-gather      ] OUT Using must-gather plugin-in image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:b94584fdb5a5967a27bebce78cfac7e4320b7b2a6c21bbcf1f1cf04a05674236\n[must-gather      ] OUT namespace/openshift-must-gather-vsrps created\n[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-rhxx8 created\n[must-gather      ] OUT pod for plug-in image quay.io/openshi\n...\npods/must-gather-4rgj7: unexpected EOF\n[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-rhxx8 deleted\n[must-gather      ] OUT namespace/openshift-must-gather-vsrps deleted\nerror: gather did not start for pod must-gather-4rgj7: Get https://api.ci-op-y4hddz6t-0a3ce.libvirt-ppc64le-01:6443/api/v1/namespaces/openshift-must-gather-vsrps/pods/must-gather-4rgj7: unexpected EOF",
        ExitError: {
            ProcessState: {
                pid: 31408,
                status: 256,
                rusage: {
                    Utime: {Sec: 0, Usec: 189057},
                    Stime: {Sec: 0, Usec: 62359},
                    Maxrss: 83540,
                    Ixrss: 0,
                    Idrss: 0,
                    Isrss: 0,
                    Minflt: 12064,
                    Majflt: 0,
                    Nswap: 0,
                    Inblock: 0,
                    Oublock: 0,
                    Msgsnd: 0,
                    Msgrcv: 0,
                    Nsignals: 0,
                    Nvcsw: 1164,
                    Nivcsw: 1,
                },
            },
            Stderr: nil,
        },
    }
    exit status 1

Expected results:

Comment 7 Maciej Szulik 2020-08-11 10:27:32 UTC

*** This bug has been marked as a duplicate of bug 1861746 ***


Note You need to log in before you can comment on or make changes to this bug.