compliance-operator
compliance-operator copied to clipboard
E2E tests fail on network issues during suite cleanup
We've been seeing the following error in our e2e testing:
2024/09/03 18:51:39 deleting ClusterRole profilebundle-editor-role
2024/09/03 18:51:40 deleting ClusterRole profilebundle-viewer-role
2024/09/03 18:51:40 deleting ClusterRole remediation-aggregator
2024/09/03 18:51:40 deleting ClusterRole scansettingbinding-editor-role
2024/09/03 18:51:40 failed to delete ClusterRole: Delete "https://api.ci-op-34v0bft8-f837a.quay.devcluster.openshift.com:6443/apis/rbac.authorization.k8s.io/v1/clusterroles/scansettingbinding-editor-role": read tcp 10.129.165.125:60796->18.144.129.21:6443: read: connection reset by peer
FAIL github.com/ComplianceAsCode/compliance-operator/tests/e2e/serial 3360.653s
FAIL
make: *** [Makefile:614: e2e-serial] Error 1
{"component":"entrypoint","error":"wrapped process failed: exit status 2","file":"sigs.k8s.io/prow/pkg/entrypoint/run.go:84","func":"sigs.k8s.io/prow/pkg/entrypoint.Options.internalRun","level":"error","msg":"Error executing test process","severity":"error","time":"2024-09-03T18:51:40Z"}
Blips in network connectivity happen, but in this case it's causing the test suite to fail even though all the tests have already run and we're in the process of cleaning up resources.