Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

manifest publish panics on MacOS Monterey #179

Closed
goober opened this issue Mar 8, 2022 · 0 comments · Fixed by #180
Closed

manifest publish panics on MacOS Monterey #179

goober opened this issue Mar 8, 2022 · 0 comments · Fixed by #180
Labels
bug Something isn't working

Comments

@goober
Copy link
Contributor

goober commented Mar 8, 2022

What happened?

When running make build publish in the provider-helm repository on MacOS Monterey the build panics with the following error:

fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x14b2fa9, 0x21)
        /usr/local/go/src/runtime/panic.go:605 +0x95 fp=0x7ff7bfefdfc0 sp=0x7ff7bfefdfa0 pc=0x1029c35
runtime.goenvs()
        /usr/local/go/src/runtime/os_darwin.go:108 +0x83 fp=0x7ff7bfefdff0 sp=0x7ff7bfefdfc0 pc=0x10274d3
runtime.schedinit()
        /usr/local/go/src/runtime/proc.go:482 +0xa1 fp=0x7ff7bfefe030 sp=0x7ff7bfefdff0 pc=0x102c5e1
runtime.rt0_go(0x7ff7bfefe060, 0x9, 0x7ff7bfefe060, 0x1000000, 0x9, 0x7ff7bfefe410, 0x7ff7bfefe471, 0x7ff7bfefe476, 0x7ff7bfefe480, 0x7ff7bfefe48c, ...)
        /usr/local/go/src/runtime/asm_amd64.s:175 +0x1eb fp=0x7ff7bfefe038 sp=0x7ff7bfefe030 pc=0x10546db
21:23:07 [FAIL]
make[1]: *** [img.release.manifest.publish.provider-helm] Error 1

Related issue: golang/go#49425

It seems to fail when executing the manifest tool. The version used is 0.7.0 which was released 2017. A possible solution would be to upgrade the manifest tool to a later version.

How can we reproduce it?

  • Clone provider-helm
  • Update DOCKER_REGISTRY in Makefile to your individual docker user
  • Commit the change so you have a clean git history to enable publishing
  • run make build publish

What environment did it happen in?

provider-helm master
MacOS Monterey 12.2
go version go1.17.7 darwin/amd64

@goober goober added the bug Something isn't working label Mar 8, 2022
goober added a commit to goober/build that referenced this issue Mar 9, 2022
This PR bump the manifest-tool version to v1.0.3 and fixes upbound#179
goober added a commit to goober/build that referenced this issue Mar 9, 2022
This PR bump the manifest-tool version to v1.0.3 and fixes upbound#179

Signed-off-by: Mathias Åhsberg <mathias.ahsberg@resurs.se>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant