-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Cmd test fails "oc delete all -l app=testapp2" #19588
Comments
@openshift/sig-developer-experience |
this is really an issue w/ how oc delete operates, what is happening is the buildconfig is deleted which triggers reaping (GC i think?) of the builds. Regardless, oc delete has already grabbed the list of builds while it still existed, and then when it tries to delete it, finds it is already deleted. there is already an open issue for this, hopefully @soltysh or @juanvallejo know where it is (they own it). That said, we can make the test more robust by explicitly deleting the resources we created, rather than "all". @adambkaplan can you make that change and close this issue w/ the PR? (I think getting oc delete fixed is blocked by upstream, but the correct behavior imho would be to ignore or warn when trying to delete things that are already gone, not error) |
* Addresses timing issues with reap/GC on build objects * Explicit deletes for services, dc, bc, and imagestreams Fixes openshift#19588
I accidentally fixed this in #19616 |
Test flake in cmd tests - the "delete all" test seems to fail, potentially because the application under test has already been deleted.
Version
v3.10.0-alpha0
Current Result
Test failure: github.com/openshift/origin/test/cmd/newapp test/cmd/newapp.sh:428: executing 'oc delete all -l app=testapp2' expecting success 1.66s
Expected Result
Test passes.
Additional Information
Failed test: https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/19532/test_pull_request_origin_cmd/13227/
Logs:
The text was updated successfully, but these errors were encountered: