Skip to content

[FLAKE e2e (3)] Subscription when unpacking bundle with bundle which OLM will fail to unpack [It] should expose a condition indicating failure to unpack #3088

@tmshort

Description

@tmshort

Flaky Test Report

Failure Log Link
Failure Log

Relevant Failure Log

------------------------------
• [FAILED] [396.557 seconds]
Subscription when unpacking bundle with bundle which OLM will fail to unpack [It] should expose a condition indicating failure to unpack
/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:2499

  Captured StdOut/StdErr Output >>
  Using the kubectl kubectl binary
  Using the artifacts/subscription-e2e-ffmrk output directory
  Storing the test artifact output in the artifacts/subscription-e2e-ffmrk directory
  Collecting get catalogsources -o yaml output...
  Collecting get subscriptions -o yaml output...
  Collecting get operatorgroups -o yaml output...
  Collecting get clusterserviceversions -o yaml output...
  Collecting get installplans -o yaml output...
  Collecting get pods -o wide output...
  Collecting get events --sort-by .lastTimestamp output...
  << Captured StdOut/StdErr Output

  Timeline >>
  created the subscription-e2e-ffmrk testing namespace
  STEP: deploying the testing catalog @ 11/03/23 18:03:31.687
  STEP: creating the testing subscription @ 11/03/23 18:04:19.414
  STEP: waiting until the subscription has an IP reference @ 11/03/23 18:04:19.422
  18:04:30.2179: subscription subscription-e2e-ffmrk/subscription-e2e-ffmrk-packagea-sub state: UpgradePending (csv example-operator.v0.1.0): installPlanRef: &v1.ObjectReference{Kind:"InstallPlan", Namespace:"subscription-e2e-ffmrk", Name:"install-bvnn8", UID:"e98e1623-463e-48d6-ba44-80afa97905f2", APIVersion:"operators.coreos.com/v1alpha1", ResourceVersion:"7839", FieldPath:""}
  waiting 10.7957204s for subscription subscription-e2e-ffmrk/subscription-e2e-ffmrk-packagea-sub to have installplan ref: has ref &v1.ObjectReference{Kind:"InstallPlan", Namespace:"subscription-e2e-ffmrk", Name:"install-bvnn8", UID:"e98e1623-463e-48d6-ba44-80afa97905f2", APIVersion:"operators.coreos.com/v1alpha1", ResourceVersion:"7839", FieldPath:""}
  STEP: waiting for the v0.1.0 CSV to report a succeeded phase @ 11/03/23 18:04:30.217
  waiting for CSV subscription-e2e-ffmrk/example-operator.v0.1.0 to reach condition
  waited 201.003077ms for csv subscription-e2e-ffmrk/example-operator.v0.1.0 - Pending (RequirementsNotMet): one or more requirements couldn't be found
  waited 201.013177ms for CSV subscription-e2e-ffmrk/example-operator.v0.1.0: to be in phases [Succeeded], in phase Pending (RequirementsNotMet): one or more requirements couldn't be found
  waited 2.400086868s for csv subscription-e2e-ffmrk/example-operator.v0.1.0 - InstallReady (AllRequirementsMet): all requirements found, attempting install
  waited 2.400091669s for CSV subscription-e2e-ffmrk/example-operator.v0.1.0: to be in phases [Succeeded], in phase InstallReady (AllRequirementsMet): all requirements found, attempting install
  waited 209.362184ms for csv subscription-e2e-ffmrk/example-operator.v0.1.0 - Installing (InstallSucceeded): waiting for install components to report healthy
  waited 209.368384ms for CSV subscription-e2e-ffmrk/example-operator.v0.1.0: to be in phases [Succeeded], in phase Installing (InstallSucceeded): waiting for install components to report healthy
  waited 393.95395ms for csv subscription-e2e-ffmrk/example-operator.v0.1.0 - Installing (InstallWaiting): installing: waiting for deployment example-operator-controller-manager to become ready: deployment "example-operator-controller-manager" not available: Deployment does not have minimum availability.
  waited 393.96225ms for CSV subscription-e2e-ffmrk/example-operator.v0.1.0: to be in phases [Succeeded], in phase Installing (InstallWaiting): installing: waiting for deployment example-operator-controller-manager to become ready: deployment "example-operator-controller-manager" not available: Deployment does not have minimum availability.
  waited 10.196417168s for csv subscription-e2e-ffmrk/example-operator.v0.1.0 - Succeeded (InstallSucceeded): install strategy completed with no errors
  waited 10.196421068s for CSV subscription-e2e-ffmrk/example-operator.v0.1.0: to be in phases [Succeeded], in phase Succeeded (InstallSucceeded): install strategy completed with no errors
  STEP: patching the OperatorGroup to reduce the bundle unpacking timeout @ 11/03/23 18:04:43.619
  STEP: updating the catalog with a broken v0.2.0 bundle image @ 11/03/23 18:04:43.629
  STEP: verifying that the subscription is reporting bundle unpack failure condition @ 11/03/23 18:05:06.98
  [FAILED] in [It] - /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:2516 @ 11/03/23 18:10:06.985
  collecting the subscription-e2e-ffmrk namespace artifacts as the 'should expose a condition indicating failure to unpack' test case failed
  collecting logs in the ./artifacts/ artifacts directory
  tearing down the subscription-e2e-ffmrk namespace
  resetting e2e kube client
  deleting subscription-e2e-ffmrk/subscription-e2e-ffmrk-catsrc-pod
  deleting subscription-e2e-ffmrk/subscription-e2e-ffmrk-catsrc-configmap
  deleting subscription-e2e-ffmrk/subscription-e2e-ffmrk-catsrc
  deleting subscription-e2e-ffmrk/subscription-e2e-ffmrk-catsrc-svc
  deleting subscription-e2e-ffmrk/subscription-e2e-ffmrk-catsrc-pod
  deleting subscription-e2e-ffmrk/subscription-e2e-ffmrk-catsrc-configmap
  deleting subscription-e2e-ffmrk/subscription-e2e-ffmrk-operatorgroup
  deleting <global>/subscription-e2e-ffmrk
  garbage collecting CRDs
  deleting crd apps.example.com
  << Timeline

  [FAILED] Timed out after 300.004s.
  The function passed to Eventually returned the following error:
      <*errors.errorString | 0xc0014e1c40>: 
      BundleUnpackFailed condition not found
      {
          s: "BundleUnpackFailed condition not found",
      }
  In [It] at: /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:2516 @ 11/03/23 18:10:06.985

  Full Stack Trace
    github.com/operator-framework/operator-lifecycle-manager/test/e2e.glob..func25.23.3.2()
    	/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:2516 +0x163
------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/flakeCategorizes issue or PR as related to a flaky test.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions