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

Break up os::cleanup::all #14982

Merged

Conversation

stevekuznetsov
Copy link
Contributor

The previous attempt to DRY out cleanup code went too far. Generating
jUnit, cleaning up after a cluster and describing the outcome of a
script are separate steps and it makes sense to choose to run them
independently. This allows scripts like the unit tests to not spend time
tearing down clusters, etc.

Signed-off-by: Steve Kuznetsov skuznets@redhat.com

[test]

/cc @csrwng @DirectXMan12

The previous attempt to DRY out cleanup code went too far. Generating
jUnit, cleaning up after a cluster and describing the outcome of a
script are separate steps and it makes sense to choose to run them
independently. This allows scripts like the unit tests to not spend time
tearing down clusters, etc.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
@csrwng
Copy link
Contributor

csrwng commented Jun 30, 2017

@stevekuznetsov were you going to add support for a SKIP_CLEANUP var?

@stevekuznetsov
Copy link
Contributor Author

stevekuznetsov commented Jun 30, 2017

Sure, is easy

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
@stevekuznetsov
Copy link
Contributor Author

@csrwng added

@csrwng
Copy link
Contributor

csrwng commented Jun 30, 2017

LGTM

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to e416e24

@stevekuznetsov
Copy link
Contributor Author

@dobbymoodge why did it take 2h for rosie to pick this up?

@DirectXMan12
Copy link
Contributor

thanks!

@dobbymoodge
Copy link
Contributor

@stevekuznetsov It didn't? Trigger comment was 11:55 AM, p_p_r_o picked it up at 12:07 PM (https://ci.openshift.redhat.com/jenkins/job/process_pull_requests_origin/64723/), and it kicked off the test job at 12:08 PM: https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/2881/

Now that's not the job it's running now. I'll figure out why it retriggered the test.

@dobbymoodge
Copy link
Contributor

@stevekuznetsov Looks like it retriggered at 1:55 PM because the base commit ID changed: https://ci.openshift.redhat.com/jenkins/job/process_pull_requests_origin/64736/console

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/2887/) (Base Commit: b75e645) (PR Branch Commit: e416e24)

@stevekuznetsov
Copy link
Contributor Author

Ah I see. [merge]

@stevekuznetsov
Copy link
Contributor Author

@stevekuznetsov
Copy link
Contributor Author

@0xmichalis
Copy link
Contributor

#14575 [merge]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to e416e24

@openshift-bot openshift-bot merged commit 8c14994 into openshift:master Jul 5, 2017
@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/1232/) (Base Commit: c9f829c) (PR Branch Commit: e416e24)

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

Successfully merging this pull request may close these issues.

6 participants