Skip to content

The E2E test TestCatalogdMetricsExportedEndpoint is flaking #1781

@camilamacedo86

Description

@camilamacedo86

The E2E test TestCatalogdMetricsExportedEndpoint is intermittently failing.

GitHub Actions Run:
Failed Run

Error Log Snippet:

=== RUN   TestCatalogdMetricsExportedEndpoint
    utils.go:21: Finding kubectl client
    utils.go:26: Using "kubectl" as k8s client
    metrics_test.go:100: Creating ClusterRoleBinding catalogd-metrics-binding in namespace olmv1-system
    metrics_test.go:110: Generating ServiceAccount token at namespace olmv1-system
    metrics_test.go:119: Creating curl pod (olmv1-system/catalogd-curl-metrics) to validate the metrics endpoint
    metrics_test.go:146: Waiting for the curl pod to be ready
    metrics_test.go:151: Validating the metrics endpoint
    metrics_test.go:161: Cleaning up resources
panic: test timed out after 10m0s

Potential Causes:

  • The curl pod may not be reaching a ready state within the expected time.
  • Cleanup of resources might be blocking test completion. (race condition)

Steps to Reproduce:

  • Run make e2e multiple times.
  • Observe that the test intermittently times out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions