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

Gate fail-swap-on flag with a version check #17410

Merged
merged 2 commits into from
Nov 22, 2017
Merged

Gate fail-swap-on flag with a version check #17410

merged 2 commits into from
Nov 22, 2017

Conversation

liggitt
Copy link
Contributor

@liggitt liggitt commented Nov 21, 2017

Move "fail-on-swap" logic into "openshift start --write-config"

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 21, 2017
@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 21, 2017
@liggitt
Copy link
Contributor Author

liggitt commented Nov 21, 2017

/test extended_clusterup

Copy link
Contributor

@csrwng csrwng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit, otherwise lgtm

@@ -91,6 +91,7 @@ var (
version15 = semver.MustParse("1.5.0")
version35 = semver.MustParse("3.5.0")
version37 = semver.MustParse("3.7.0")
version38 = semver.MustParse("3.8.0")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't look like it's used in the code below

@csrwng
Copy link
Contributor

csrwng commented Nov 21, 2017

/assign @bparees

@liggitt
Copy link
Contributor Author

liggitt commented Nov 21, 2017

still working on this... semver comparisons with post v3.8.0-alpha.0 versions don't give the answer we want

@liggitt
Copy link
Contributor Author

liggitt commented Nov 21, 2017

updated, PTAL

@liggitt
Copy link
Contributor Author

liggitt commented Nov 21, 2017

/test extended_clusterup

@liggitt
Copy link
Contributor Author

liggitt commented Nov 21, 2017

made sure all of the following work:

oc cluster up
oc cluster up --version=latest
oc cluster up --version=v3.7.0-rc.0

@bparees
Copy link
Contributor

bparees commented Nov 21, 2017

/lgtm

/hold
for passing cluster up test though.

@openshift-ci-robot openshift-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. labels Nov 21, 2017
@mfojtik
Copy link
Contributor

mfojtik commented Nov 21, 2017

/lgtm

@0xmichalis 0xmichalis removed their assignment Nov 21, 2017
@liggitt
Copy link
Contributor Author

liggitt commented Nov 21, 2017

extended test passes the cluster up point, dies waiting for a build to succeed

@openshift-merge-robot openshift-merge-robot removed the lgtm Indicates that a PR is ready to be merged. label Nov 21, 2017
@liggitt
Copy link
Contributor Author

liggitt commented Nov 21, 2017

once more, with feeling

all the "fail-swap-on" nonsense is contained to the openshift start [node] --write-config path, which oc cluster up exercises

@bparees
Copy link
Contributor

bparees commented Nov 21, 2017

lgtm, let's see how the cluster up tests do.

@bparees
Copy link
Contributor

bparees commented Nov 21, 2017

testing this in my cluster up fixup PR here:
#17338

@bparees
Copy link
Contributor

bparees commented Nov 21, 2017

[WARNING] !!! gofmt needs to be run on the listed files
./pkg/cmd/server/start/start_node.go
[FATAL] Try running 'gofmt -s -d [path]'

@liggitt
Copy link
Contributor Author

liggitt commented Nov 21, 2017

ugh, fixed

@bparees
Copy link
Contributor

bparees commented Nov 21, 2017

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 21, 2017
@openshift-merge-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bparees, liggitt, mfojtik

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@bparees
Copy link
Contributor

bparees commented Nov 21, 2017

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 21, 2017
@liggitt
Copy link
Contributor Author

liggitt commented Nov 21, 2017

extended cluster up passed the bringup point this affects
unit test was a flake
/test unit

@liggitt
Copy link
Contributor Author

liggitt commented Nov 22, 2017

/retest

1 similar comment
@liggitt
Copy link
Contributor Author

liggitt commented Nov 22, 2017

/retest

@openshift-merge-robot
Copy link
Contributor

/test all [submit-queue is verifying that this PR is safe to merge]

@openshift-ci-robot
Copy link

openshift-ci-robot commented Nov 22, 2017

@liggitt: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/openshift-jenkins/extended_clusterup 2b69c32 link /test extended_clusterup
ci/openshift-jenkins/extended_conformance_install_update 2b69c32 link /test extended_conformance_install_update

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue (batch tested with PRs 17405, 17410).

@openshift-merge-robot openshift-merge-robot merged commit dcfc49c into openshift:master Nov 22, 2017
@liggitt liggitt deleted the version-check-fail-swap-on branch November 22, 2017 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/post-rebase lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants