-
Notifications
You must be signed in to change notification settings - Fork 374
versions: Update golang to 1.10.4 #744
versions: Update golang to 1.10.4 #744
Conversation
PSS Measurement: Memory inside container: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
But I think it blew the CIs... for instance, Centos 7.4:
|
Like the idea - let's see if the CI can be agreeable. |
I think this can only be fixed by reordering field in this structs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jodh-intel looks good to me, but you need to rework some of the Go structures there if you want to make maligned happy ;)
+1. Due to golang release policy, 1.9 is not supported since 1.11 is released. |
071c640
to
717b08c
Compare
/me tweaks branch to hopefully stop the linters bleating... |
PSS Measurement: Memory inside container: |
CI failed due to a factory test failure:
/cc @bergwolf. |
717b08c
to
67979b4
Compare
PSS Measurement: Memory inside container: |
Sigh - go 1.10 is spotting issues in other projects code and failing our tests ;((
|
/test |
/me watches the CI turbines start spinning... |
PSS Measurement: Memory inside container: |
CI turbines bombed @jodh-intel Is this still something you will pursue? |
@jodh-intel Any updates? |
@grahamwhaley Are you referring to containerd/cri#941 ? It is already merged. Now we can update cri/containerd dependency and then bump golang version. cc @jodh-intel |
@jodh-intel ping from your weekly Kata herder. |
67979b4
to
a6f5464
Compare
/test |
a6f5464
to
33aefe8
Compare
/test |
33aefe8
to
986ba30
Compare
/test |
Updated `externals.cri-containerd.version` in `versions.yaml` to the newest version that includes the fix for building on golang 1.10.2: - https://github.com/containerd/cri/commits/8b0d53c09c41d9fbc3b3896548ecf011518e3c42 Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Move to golang version 1.10.4 -- the oldest stable golang release at the time of writing -- since golang 1.10+ is needed to make namespace handling safe. Re-ordered a couple of structs (moved `sync.WaitGroup` fields) to keep the `maligned` linter happy. Previously: `` virtcontainers/pkg/mock/cc_proxy_mock.go:24:18:warning: struct of size 160 could be 152 (maligned) virtcontainers/monitor.go:15:14:warning: struct of size 80 could be 72 (maligned) ``` See: - golang/go#20676 - golang/go@2595fe7 Also bumped `languages.golang.meta.newest-version` to golang version 1.11, which is the newest stable release at the time of writing. Fixes kata-containers#148. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
986ba30
to
526d55b
Compare
/test |
We now have a cyclic dependency since this PR is failing due to kata-containers/tests#843 (and vice versa). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still:
lgtm
OK, we know this will fail on the xurl stuff, which we need to land this to fix:
@jodh-intel and I propose we force merge. Of course it carries some risk, but right now the CI is broken on the xurl item, and we can merge nothing else anyway... |
Travis appears to be providing a version of golang that is too old for https://mvdan.cc/xurls/cmd/xurls, which is used by the CI scripts in the tests repo. See: - kata-containers/runtime#744 - kata-containers/tests#843 (comment) Fixes kata-containers#281. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Travis appears to be providing a version of golang that is too old for https://mvdan.cc/xurls/cmd/xurls, which is used by the CI scripts in the tests repo. See: - kata-containers/runtime#744 - kata-containers/tests#843 (comment) Fixes kata-containers#281. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Travis appears to be providing a version of golang that is too old for https://mvdan.cc/xurls/cmd/xurls, which is used by the CI scripts in the tests repo. See: - kata-containers/runtime#744 - kata-containers/tests#843 (comment) Fixes kata-containers#281. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Travis appears to be providing a version of golang that is too old for https://mvdan.cc/xurls/cmd/xurls, which is used by the CI scripts in the tests repo. See: - kata-containers/runtime#744 - kata-containers/tests#843 (comment) Fixes kata-containers#281. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Travis appears to be providing a version of golang that is too old for https://mvdan.cc/xurls/cmd/xurls, which is used by the CI scripts in the tests repo. See: - kata-containers/runtime#744 - kata-containers/tests#843 (comment) Fixes kata-containers#281. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Travis appears to be providing a version of golang that is too old for https://mvdan.cc/xurls/cmd/xurls, which is used by the CI scripts in the tests repo. See: - kata-containers/runtime#744 - kata-containers/tests#843 (comment) Required adding a NOP makefile to avoid Travis from trying to build this repo using `go`. Fixes kata-containers#281. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Move to golang version 1.10.4 -- the oldest stable golang release at the
time of writing -- since golang 1.10+ is needed to make namespace
handling safe.
See:
Also bumped
languages.golang.meta.newest-version
to golang version1.11, which is the newest stable release at the time of writing.
Fixes #148.
Signed-off-by: James O. D. Hunt james.o.hunt@intel.com