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

Functional tests fail due to scan timeout #555

Open
rhmdnd opened this issue Jul 23, 2024 · 2 comments
Open

Functional tests fail due to scan timeout #555

rhmdnd opened this issue Jul 23, 2024 · 2 comments

Comments

@rhmdnd
Copy link

rhmdnd commented Jul 23, 2024

We're seeing the following issue crop up consistently in CI:

2024/07/22 19:38:13 waiting until suite test-scan-has-profile-g-u-i-d reaches target status 'DONE'. Current status: RUNNING
2024/07/22 19:38:18 waiting until suite test-scan-has-profile-g-u-i-d reaches target status 'DONE'. Current status: RUNNING
2024/07/22 19:38:19 waiting until suite test-scan-has-profile-g-u-i-d reaches target status 'DONE'. Current status: RUNNING
    main_test.go:329: timed out waiting for the condition
--- FAIL: TestScanHasProfileGUID (1800.65s)
=== RUN   TestMixProductScan

In this case, the TestScanHasProfileGUID test failed because the scan involved in the test didn't complete within a 30 minute timeout:

https://github.com/ComplianceAsCode/compliance-operator/blob/master/pkg/apis/compliance/v1alpha1/compliancescan_types.go#L218-L221

We should find a way to make this more resilient so that we don't need to recheck as many jobs to get patches merged.

@rhmdnd
Copy link
Author

rhmdnd commented Jul 23, 2024

That's interesting, since the content testing uses a separate E2E runner (ComplianceAsCode/ocp4e2e) than the functional testing we have in the ComplianceAsCode/compliance-operator.

That could mean we actually have a bug in the operator somewhere that manifests as a bricked scan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants