Skip to content

[FLAKE] blocks a CRD upgrade that could cause data loss #2638

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

Closed
perdasilva opened this issue Feb 16, 2022 · 0 comments · Fixed by #3173
Closed

[FLAKE] blocks a CRD upgrade that could cause data loss #2638

perdasilva opened this issue Feb 16, 2022 · 0 comments · Fixed by #3173
Labels
kind/flake Categorizes issue or PR as related to a flaky test.

Comments

@perdasilva
Copy link
Collaborator

Description

Failure log

CRD Versions 
  [FLAKY] blocks a CRD upgrade that could cause data loss
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/crd_e2e_test.go:97
[It] [FLAKY] blocks a CRD upgrade that could cause data loss
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/crd_e2e_test.go:97
STEP: checking the storage versions in the existing CRD status and the spec of the new CRD
Creating catalog source mock-ocs-main-update2-hkwnn in namespace operators...
Catalog source mock-ocs-main-update2-hkwnn created
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - TRANSIENT_FAILURE
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - CONNECTING
waiting for catalog pod mock-ocs-main-update2-hkwnn to be available (for sync) - TRANSIENT_FAILURE
catalog mock-ocs-main-update2-hkwnn pod with address mock-ocs-main-update2-hkwnn.operators.svc:50051
09:42:50.6888:  (): nil
waiting for sub-nginx-update2-4p4bb to have installplan ref
09:42:51.6883:  (): nil
waiting for sub-nginx-update2-4p4bb to have installplan ref
09:42:52.6893: UpgradePending (nginx-update2-nwtsb-stable): &ObjectReference{Kind:InstallPlan,Namespace:operators,Name:install-2ztwk,UID:257ae4fd-9ef4-4b20-85c6-dbd6bae6d5fb,APIVersion:operators.coreos.com/v1alpha1,ResourceVersion:4739,FieldPath:,}
waiting for sub-nginx-update2-4p4bb to have installplan ref
installplan install-2ztwk is in phase Complete
Install plan install-2ztwk fetched with status Complete
updated subscription to point to alpha channel
09:42:54.7433: AtLatestKnown (nginx-update2-nwtsb-stable): &ObjectReference{Kind:InstallPlan,Namespace:operators,Name:install-2ztwk,UID:257ae4fd-9ef4-4b20-85c6-dbd6bae6d5fb,APIVersion:operators.coreos.com/v1alpha1,ResourceVersion:4739,FieldPath:,}
09:42:55.7424: AtLatestKnown (nginx-update2-nwtsb-stable): &ObjectReference{Kind:InstallPlan,Namespace:operators,Name:install-2ztwk,UID:257ae4fd-9ef4-4b20-85c6-dbd6bae6d5fb,APIVersion:operators.coreos.com/v1alpha1,ResourceVersion:4739,FieldPath:,}
09:42:56.[741](https://github.com/operator-framework/operator-lifecycle-manager/runs/5213828924?check_suite_focus=true#step:4:741)6: UpgradePending (nginx-update2-nwtsb-alpha): &ObjectReference{Kind:InstallPlan,Namespace:operators,Name:install-z4l6l,UID:6da1829b-e7b4-440c-88f7-d882e8748898,APIVersion:operators.coreos.com/v1alpha1,ResourceVersion:4849,FieldPath:,}
09:42:57.[745](https://github.com/operator-framework/operator-lifecycle-manager/runs/5213828924?check_suite_focus=true#step:4:745)5: AtLatestKnown (nginx-update2-nwtsb-alpha): &ObjectReference{Kind:InstallPlan,Namespace:operators,Name:install-z4l6l,UID:6da1829b-e7b4-440c-88f7-d882e8[748](https://github.com/operator-framework/operator-lifecycle-manager/runs/5213828924?check_suite_focus=true#step:4:748)898,APIVersion:operators.coreos.com/v1alpha1,ResourceVersion:4849,FieldPath:,}
Deleting config map mock-ocs-main-update2-hkwnn-configmap...
Deleting catalog source mock-ocs-main-update2-hkwnn...
waiting for the catalog source mock-ocs-main-update2-hkwnn-85nn7 pod to be deleted...
waiting for the catalog source mock-ocs-main-update2-hkwnn-85nn7 pod to be deleted...
[AfterEach] CRD Versions
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/crd_e2e_test.go:22
cleaning up ephemeral test resources...
deleting test subscriptions...
deleting test installplans...
deleting test catalogsources...
deleting test crds...
deleting test csvs...
test resources deleted

• Failure [94.303 seconds]
CRD Versions
/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/crd_e2e_test.go:21
  [FLAKY] blocks a CRD upgrade that could cause data loss [It]
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/crd_e2e_test.go:97

  Timed out after 60.001s.
  Expected
      <v1alpha1.InstallPlanPhase>: Installing
  to equal
      <v1alpha1.InstallPlanPhase>: Failed

  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/crd_e2e_test.go:253

  Full Stack Trace
  github.com/operator-framework/operator-lifecycle-manager/test/e2e.glob..func5.3()
  	/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/crd_e2e_test.go:253 +0x186e
  github.com/operator-framework/operator-lifecycle-manager/test/e2e.TestEndToEnd(0xf908f9)
  	/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/e2e_test.go:59 +0x268
  testing.tRunner(0xc000b721a0, 0x3005930)
  	/opt/hostedtoolcache/go/1.17.7/x64/src/testing/testing.go:1259 +0x102
  created by testing.(*T).Run
  	/opt/hostedtoolcache/go/1.17.7/x64/src/testing/testing.go:1306 +0x35a
@perdasilva perdasilva added the kind/flake Categorizes issue or PR as related to a flaky test. label Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/flake Categorizes issue or PR as related to a flaky test.
Projects
None yet
1 participant