Skip to content

switch to go 1.9 #17670

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

Closed
wants to merge 3 commits into from
Closed

switch to go 1.9 #17670

wants to merge 3 commits into from

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented Dec 7, 2017

/assign skuznets

needed to land the rebase

@openshift-ci-robot
Copy link

@deads2k: GitHub didn't allow me to assign the following users: skuznets.

Note that only openshift members can be assigned.

In response to this:

/assign skuznets

needed to land the rebase

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.

@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 7, 2017
@deads2k deads2k force-pushed the golang-1.9 branch 2 times, most recently from ae8d1ab to 2fd7d5b Compare December 7, 2017 20:37
@imcsk8
Copy link
Contributor

imcsk8 commented Dec 7, 2017

LGTM

@deads2k
Copy link
Contributor Author

deads2k commented Dec 7, 2017

@stevekuznetsov fail

@stevekuznetsov
Copy link
Contributor

Fixed in openshift-eng/aos-cd-jobs#928

/test verify

@deads2k
Copy link
Contributor Author

deads2k commented Dec 7, 2017

/retest

@stevekuznetsov
Copy link
Contributor

[INFO] Detected go version: go version go1.9 linux/amd64.
[FATAL] Please install Go version go1.9 or use PERMISSIVE_GO=y to bypass this check.

FUN.

@deads2k
Copy link
Contributor Author

deads2k commented Dec 7, 2017

/retest

@deads2k
Copy link
Contributor Author

deads2k commented Dec 7, 2017

[INFO] Detected go version: go version go1.9 linux/amd64.
[FATAL] Please install Go version go1.9 or use PERMISSIVE_GO=y to bypass this check.
FUN.

hacked the check out.

@deads2k
Copy link
Contributor Author

deads2k commented Dec 8, 2017

/retest

I'll update unit tomorrow

@openshift-merge-robot openshift-merge-robot added the vendor-update Touching vendor dir or related files label Dec 8, 2017
@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 8, 2017
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k

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

@stevekuznetsov
Copy link
Contributor

So here is our snafu:

  • we still have not either containerized or gotten rid of the dependency on the Docker daemon for the end-to-end suite
  • that suite uses go test to run integration-type tests that touch the Docker daemon directly
  • that action requires go of the correct version on the host
  • upgrading go on the host is only possible (without crazy hacks) in the base AMI for all jobs for all repos

I think the best course of action today is:

  • merge the refactors in this PR (as long as they are compatible with 1.8)
  • move all CI to 1.9
  • merge the bash bits

@@ -11,7 +11,8 @@ function os::golang::verify_go_version() {
if [[ "${go_version[2]}" != go1.8* ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be OS_REQUIRED_GO_VERSION

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should be OS_REQUIRED_GO_VERSION

done

@deads2k
Copy link
Contributor Author

deads2k commented Dec 11, 2017

I think the best course of action today is:

merge the refactors in this PR (as long as they are compatible with 1.8)
move all CI to 1.9
merge the bash bits

I'll split the bits apart. We'll need to green button them in.

@deads2k deads2k mentioned this pull request Dec 11, 2017
@openshift-ci-robot
Copy link

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

Test name Commit Details Rerun command
ci/openshift-jenkins/verify 65db132 link /test verify
ci/openshift-jenkins/end_to_end 65db132 link /test end_to_end
ci/openshift-jenkins/extended_conformance_gce 65db132 link /test extended_conformance_gce
ci/openshift-jenkins/extended_conformance_install 65db132 link /test extended_conformance_install

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.

Copy link
Contributor

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

lgtm

@liggitt
Copy link
Contributor

liggitt commented Dec 12, 2017

move all CI to 1.9

does that mean 3.6, 3.7, 3.8 cannot run CI? or do we have a base AMI per branch?

@stevekuznetsov
Copy link
Contributor

Historically no, Origin does not test older versions. OSE does.

@stevekuznetsov
Copy link
Contributor

Well, not quite -- the tests running inside of a container (all but registry and router integration) use the Go version declared in the repo under hack/ and select the correct version regardless of the AMI.

@deads2k
Copy link
Contributor Author

deads2k commented Dec 13, 2017

no longer required. I think #17755 is the dangling bit now.

@stevekuznetsov
Copy link
Contributor

/close

@deads2k deads2k deleted the golang-1.9 branch January 24, 2018 14:38
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. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. vendor-update Touching vendor dir or related files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants