Skip to content
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

The E2E test TestCatalogdMetricsExportedEndpoint is flaking #1781

Open
camilamacedo86 opened this issue Feb 15, 2025 · 0 comments
Open

The E2E test TestCatalogdMetricsExportedEndpoint is flaking #1781

camilamacedo86 opened this issue Feb 15, 2025 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@camilamacedo86
Copy link
Contributor

camilamacedo86 commented Feb 15, 2025

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.
@camilamacedo86 camilamacedo86 added kind/documentation Categorizes issue or PR as related to documentation. kind/bug Categorizes issue or PR as related to a bug. and removed kind/documentation Categorizes issue or PR as related to documentation. labels Feb 15, 2025
@camilamacedo86 camilamacedo86 changed the title The E2E test TestCatalogdMetricsExportedEndpoint is intermittently failing. The E2E test TestCatalogdMetricsExportedEndpoint is flaking Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant