Bug 1921720

Summary: test: openshift-tests.[sig-cli] oc observe works as expected [Suite:openshift/conformance/parallel]
Product: OpenShift Container Platform Reporter: dmoiseev
Component: ocAssignee: Maciej Szulik <maszulik>
Status: CLOSED ERRATA QA Contact: zhou ying <yinzhou>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.7CC: aojeagar, aos-bugs, fpaoline, jchaloup, jluhrsen, jokerman, mfojtik, obulatov
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1929677 (view as bug list) Environment:
test: openshift-tests.[sig-cli] oc observe works as expected [Suite:openshift/conformance/parallel]
Last Closed: 2021-07-27 22:37:10 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:
Bug Depends On:    
Bug Blocks: 1929677, 1931401    

Description dmoiseev 2021-01-28 13:45:22 UTC
test: openshift-tests.[sig-cli] oc observe works as expected [Suite:openshift/conformance/parallel] failed, see jobs:

https://prow.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-4.7/1354757841046474752

https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-ovirt-4.7/1354757833538670592

https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ocp-4.7-e2e-vsphere-upi/1354757853620998144

https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_release/15294/rehearse-15294-periodic-ci-openshift-release-master-ocp-4.7-e2e-ovirt/1354749193607974912


Clipped from tests stdout, its the same across different jobs: 
----
Jan 28 01:52:39.729: INFO: Running 'oc --kubeconfig=/tmp/tmp.FRnyvFhXOV observe serviceaccounts --once'
[AfterEach] [sig-cli] oc observe
  github.com/openshift/origin/test/extended/util/client.go:138
[AfterEach] [sig-cli] oc observe
  github.com/openshift/origin/test/extended/util/client.go:139
Jan 28 01:52:40.111: INFO: Waiting up to 7m0s for all (but 100) nodes to be ready
Jan 28 01:52:40.278: INFO: Running AfterSuite actions on all nodes
Jan 28 01:52:40.278: INFO: Running AfterSuite actions on node 1
fail [github.com/openshift/origin/test/extended/cli/observe.go:25]: Expected
    <string>: Nothing to sync, exiting immediately
to contain substring
    <string>: Sync ended
---

Almost all the time appears together with failing
`[sig-network] pods should successfully create sandboxes by getting pod` test, probably connected with bug 1908378

Comment 1 Maciej Szulik 2021-01-29 09:35:11 UTC
This looks like low profile flake only, I'll wait for https://bugzilla.redhat.com/show_bug.cgi?id=1915085 resolution.

Comment 2 Oleg Bulatov 2021-02-09 13:07:12 UTC
Note, in 4.8 its pass rate is about 65% (i.e. every third run flakes).

Comment 3 Maciej Szulik 2021-02-18 10:49:11 UTC
*** Bug 1929677 has been marked as a duplicate of this bug. ***

Comment 4 jamo luhrsen 2021-02-18 16:43:43 UTC
(In reply to Oleg Bulatov from comment #2)
> Note, in 4.8 its pass rate is about 65% (i.e. every third run flakes).

this 4.7 search shows it a little under 60% for 4.7 as well.
https://search.ci.openshift.org/?search=oc+observe+works+as+expected&maxAge=48h&context=1&type=junit&name=4.7&maxMatches=5&maxBytes=20971520&groupBy=job

Comment 5 Maciej Szulik 2021-02-19 14:32:30 UTC
*** Bug 1930722 has been marked as a duplicate of this bug. ***

Comment 7 zhou ying 2021-02-22 08:46:14 UTC
Will verify this issue days later.

Comment 9 jamo luhrsen 2021-02-24 16:49:22 UTC
(In reply to zhou ying from comment #8)
> Couldn't see the errors from
> https://search.ci.openshift.org/
> ?search=oc+observe+works+as+expected&maxAge=48h&context=1&type=junit&name=4.
> 8&maxMatches=5&maxBytes=20971520&groupBy=job. will  verify this .

It's still showing up in 4.7, but every one I checked was just a flake (first try failed, second try passed):
https://search.ci.openshift.org/?search=oc+observe+works+as+expected&maxAge=48h&context=1&type=junit&name=4.7&maxMatches=5&maxBytes=20971520&groupBy=job

just fyi.

Comment 10 Maciej Szulik 2021-02-25 11:03:52 UTC
(In reply to jamo luhrsen from comment #9)
> (In reply to zhou ying from comment #8)
> > Couldn't see the errors from
> > https://search.ci.openshift.org/
> > ?search=oc+observe+works+as+expected&maxAge=48h&context=1&type=junit&name=4.
> > 8&maxMatches=5&maxBytes=20971520&groupBy=job. will  verify this .
> 
> It's still showing up in 4.7, but every one I checked was just a flake
> (first try failed, second try passed):
> https://search.ci.openshift.org/
> ?search=oc+observe+works+as+expected&maxAge=48h&context=1&type=junit&name=4.
> 7&maxMatches=5&maxBytes=20971520&groupBy=job
> 
> just fyi.

Correct, that's why I have 4.7 BZ https://bugzilla.redhat.com/show_bug.cgi?id=1931401 and https://github.com/openshift/origin/pull/25910 backport.

Comment 13 errata-xmlrpc 2021-07-27 22:37:10 UTC
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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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/RHSA-2021:2438