Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

update go version #90

Open
wants to merge 1 commit into
base: feature/helm3_support
Choose a base branch
from

Conversation

ltagliamonte-dd
Copy link

@ltagliamonte-dd ltagliamonte-dd commented May 7, 2021

bump go version.
Please let me know if you want me to open another PR for master branch as well
Tested the new build on 1.15 and it works.
During my pipeline I'm recording the following failure:

+ helm push-artifactory kube-bench-1.0.0+d881e977.tgz repo-local --path cluster-config --skip-reindex

runtime: mlock of signal stack failed: 12

runtime: increase the mlock limit (ulimit -l) or

runtime: update your kernel to 5.3.15+, 5.4.2+, or 5.5+

fatal error: mlock failed



runtime stack:

runtime.throw(0x1438cd0, 0xc)

	/usr/local/opt/go/libexec/src/runtime/panic.go:1112 +0x72

runtime.mlockGsignal(0xc000702600)

	/usr/local/opt/go/libexec/src/runtime/os_linux_x86.go:72 +0x107

runtime.mpreinit(0xc000700700)

	/usr/local/opt/go/libexec/src/runtime/os_linux.go:341 +0x78

runtime.mcommoninit(0xc000700700)

	/usr/local/opt/go/libexec/src/runtime/proc.go:630 +0x108

runtime.allocm(0xc00007f000, 0x14d96d8, 0x0)

	/usr/local/opt/go/libexec/src/runtime/proc.go:1390 +0x14e

runtime.newm(0x14d96d8, 0xc00007f000)

	/usr/local/opt/go/libexec/src/runtime/proc.go:1704 +0x39

runtime.startm(0x0, 0xc000102d01)

	/usr/local/opt/go/libexec/src/runtime/proc.go:1869 +0x12a

runtime.wakep(...)

	/usr/local/opt/go/libexec/src/runtime/proc.go:1953

runtime.resetspinning()

	/usr/local/opt/go/libexec/src/runtime/proc.go:2415 +0x93

runtime.schedule()

	/usr/local/opt/go/libexec/src/runtime/proc.go:2527 +0x2de

runtime.park_m(0xc000102a80)

	/usr/local/opt/go/libexec/src/runtime/proc.go:2690 +0x9d

runtime.mcall(0x0)

	/usr/local/opt/go/libexec/src/runtime/asm_amd64.s:318 +0x5b



goroutine 1 [runnable, locked to thread]:

k8s.io/apimachinery/pkg/runtime.(*Scheme).AddKnownTypeWithName(0xc000192690, 0x143a9e5, 0xe, 0x1434f2e, 0x7, 0x121b378, 0x10, 0x15fe8a0, 0xc0002d5e00)

	/Users/miguel/go/pkg/mod/k8s.io/apimachinery@v0.17.3/pkg/runtime/scheme.go:208 +0x30e

k8s.io/apimachinery/pkg/runtime.(*Scheme).AddKnownTypes(0xc000192690, 0x143a9e5, 0xe, 0x1434f2e, 0x7, 0xc000515b98, 0x8, 0x8)

	/Users/miguel/go/pkg/mod/k8s.io/apimachinery@v0.17.3/pkg/runtime/scheme.go:180 +0x255

k8s.io/api/storage/v1beta1.addKnownTypes(0xc000192690, 0x0, 0x0)

	/Users/miguel/go/pkg/mod/k8s.io/api@v0.17.2/storage/v1beta1/register.go:46 +0x24a

k8s.io/apimachinery/pkg/runtime.(*SchemeBuilder).AddToScheme(0x1fb5890, 0xc000192690, 0x0, 0x0)

	/Users/miguel/go/pkg/mod/k8s.io/apimachinery@v0.17.3/pkg/runtime/scheme_builder.go:29 +0x6d

k8s.io/apimachinery/pkg/runtime.(*SchemeBuilder).AddToScheme(0x1fa38a0, 0xc000192690, 0x15feea0, 0xc000192770)

	/Users/miguel/go/pkg/mod/k8s.io/apimachinery@v0.17.3/pkg/runtime/scheme_builder.go:29 +0x6d

k8s.io/kubectl/pkg/scheme.init.0()

	/Users/miguel/go/pkg/mod/k8s.io/kubectl@v0.17.2/pkg/scheme/install.go:64 +0xcf

@TomasKohout
Copy link

Having the same issue. Could someone merge this PR please? 🙂

@ltagliamonte
Copy link

I was still recording random failures during ci, after updating go, so i just went for the old reliable curl to upload the archive.

@TomasKohout
Copy link

I went for curl too, but I hoped that it would be only for a while. 🙂 Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants