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

heptio-ark: 0.9.4 -> 0.9.6 #47609

Merged
merged 1 commit into from Oct 6, 2018
Merged

heptio-ark: 0.9.4 -> 0.9.6 #47609

merged 1 commit into from Oct 6, 2018

Conversation

mbode
Copy link
Contributor

@mbode mbode commented Oct 1, 2018

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@timokau
Copy link
Member

timokau commented Oct 1, 2018

@GrahamcOfBorg build heptio-ark

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: heptio-ark

Partial log (click to expand)

github.com/heptio/ark/vendor/k8s.io/apimachinery/pkg/labels
github.com/heptio/ark/vendor/github.com/golang/protobuf/ptypes/any
github.com/heptio/ark/vendor/github.com/golang/protobuf/ptypes/duration
github.com/heptio/ark/vendor/github.com/golang/protobuf/ptypes/timestamp
github.com/heptio/ark/vendor/github.com/golang/protobuf/ptypes
github.com/heptio/ark/vendor/github.com/googleapis/gnostic/extensions
github.com/heptio/ark/vendor/k8s.io/apimachinery/pkg/util/intstr
github.com/heptio/ark/vendor/k8s.io/apimachinery/pkg/runtime/schema
builder for '/nix/store/10qp3vr9w7zw2jsdprvffkiwhrsf1wzz-heptio-ark-0.9.6.drv' failed with exit code 51
error: build of '/nix/store/10qp3vr9w7zw2jsdprvffkiwhrsf1wzz-heptio-ark-0.9.6.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: heptio-ark

Partial log (click to expand)

shrinking /nix/store/88mj7yf10d40fh3bd80rv091bhi7pnfn-heptio-ark-0.9.6-bin/bin/ark
shrinking /nix/store/88mj7yf10d40fh3bd80rv091bhi7pnfn-heptio-ark-0.9.6-bin/bin/ark-restic-restore-helper
cannot find section .dynamic
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/88mj7yf10d40fh3bd80rv091bhi7pnfn-heptio-ark-0.9.6-bin/bin
patching script interpreter paths in /nix/store/88mj7yf10d40fh3bd80rv091bhi7pnfn-heptio-ark-0.9.6-bin
checking for references to /build in /nix/store/88mj7yf10d40fh3bd80rv091bhi7pnfn-heptio-ark-0.9.6-bin...
cannot find section .dynamic
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
/nix/store/88mj7yf10d40fh3bd80rv091bhi7pnfn-heptio-ark-0.9.6-bin

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: heptio-ark

Partial log (click to expand)

find: '/nix/store/6sd3d10xij8k7fy4nqx53nswc7pxv3bp-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/6sd3d10xij8k7fy4nqx53nswc7pxv3bp-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/6sd3d10xij8k7fy4nqx53nswc7pxv3bp-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/6sd3d10xij8k7fy4nqx53nswc7pxv3bp-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/6sd3d10xij8k7fy4nqx53nswc7pxv3bp-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/6sd3d10xij8k7fy4nqx53nswc7pxv3bp-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/6sd3d10xij8k7fy4nqx53nswc7pxv3bp-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/6sd3d10xij8k7fy4nqx53nswc7pxv3bp-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/6sd3d10xij8k7fy4nqx53nswc7pxv3bp-heptio-ark-0.9.6': No such file or directory
/nix/store/brc13a1ji0d6pdaxyq5099vymjs0sb9m-heptio-ark-0.9.6-bin

@timokau
Copy link
Member

timokau commented Oct 1, 2018

Any idea about the cause of the aarch64 failure?

@mbode
Copy link
Contributor Author

mbode commented Oct 3, 2018

In the log there are many blocks of

runtime: failed to create new OS thread (have n already; errno=11)
runtime: may need to increase max user processes (ulimit -u)
fatal error: newosproc

I am not sure how exactly the build infrastructure works but I could just restrict to x86_64-linux and x86_64-darwin – what do you think?

@timokau
Copy link
Member

timokau commented Oct 3, 2018

If heptio-ark never built on aarch64 that would be a solution, but in this case it did and restricting it would be a regression.

@mbode
Copy link
Contributor Author

mbode commented Oct 6, 2018

(At least) #45419 and #46864 seem to have run into the same issue, in both cases it was regarded as a hydra limitation. Is there anything I can do?

@timokau
Copy link
Member

timokau commented Oct 6, 2018

Lets see if its a transient error
@GrahamcOfBorg build heptio-ark

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: heptio-ark

Partial log (click to expand)

github.com/heptio/ark/vendor/k8s.io/apimachinery/pkg/util/intstr
github.com/heptio/ark/vendor/github.com/googleapis/gnostic/OpenAPIv2
github.com/heptio/ark/vendor/k8s.io/apimachinery/pkg/runtime
github.com/heptio/ark/vendor/k8s.io/apimachinery/pkg/runtime/serializer/recognizer
github.com/heptio/ark/vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming
github.com/heptio/ark/vendor/k8s.io/client-go/tools/clientcmd/api
github.com/heptio/ark/vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning
github.com/heptio/ark/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf
builder for '/nix/store/7s5916wfxf47zfdx253yn0zxvx3p061a-heptio-ark-0.9.6.drv' failed with exit code 37
error: build of '/nix/store/7s5916wfxf47zfdx253yn0zxvx3p061a-heptio-ark-0.9.6.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: heptio-ark

Partial log (click to expand)

shrinking /nix/store/inwbxff3x5dkixcpvbzz83bma0ly2xyg-heptio-ark-0.9.6-bin/bin/ark-restic-restore-helper
cannot find section .dynamic
shrinking /nix/store/inwbxff3x5dkixcpvbzz83bma0ly2xyg-heptio-ark-0.9.6-bin/bin/ark
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/inwbxff3x5dkixcpvbzz83bma0ly2xyg-heptio-ark-0.9.6-bin/bin
patching script interpreter paths in /nix/store/inwbxff3x5dkixcpvbzz83bma0ly2xyg-heptio-ark-0.9.6-bin
checking for references to /build in /nix/store/inwbxff3x5dkixcpvbzz83bma0ly2xyg-heptio-ark-0.9.6-bin...
cannot find section .dynamic
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
/nix/store/inwbxff3x5dkixcpvbzz83bma0ly2xyg-heptio-ark-0.9.6-bin

@timokau
Copy link
Member

timokau commented Oct 6, 2018

@GrahamcOfBorg build heptio-ark

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: heptio-ark

Partial log (click to expand)

github.com/heptio/ark/vendor/github.com/sirupsen/logrus
github.com/heptio/ark/vendor/github.com/golang/protobuf/ptypes
github.com/heptio/ark/vendor/github.com/googleapis/gnostic/extensions
github.com/heptio/ark/vendor/k8s.io/apimachinery/pkg/util/yaml
github.com/heptio/ark/vendor/k8s.io/apimachinery/pkg/runtime/schema
github.com/heptio/ark/vendor/k8s.io/apimachinery/pkg/util/intstr
github.com/heptio/ark/vendor/github.com/googleapis/gnostic/compiler
github.com/heptio/ark/vendor/github.com/googleapis/gnostic/OpenAPIv2
builder for '/nix/store/7s5916wfxf47zfdx253yn0zxvx3p061a-heptio-ark-0.9.6.drv' failed with exit code 53
error: build of '/nix/store/7s5916wfxf47zfdx253yn0zxvx3p061a-heptio-ark-0.9.6.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: heptio-ark

Partial log (click to expand)

shrinking /nix/store/inwbxff3x5dkixcpvbzz83bma0ly2xyg-heptio-ark-0.9.6-bin/bin/ark-restic-restore-helper
cannot find section .dynamic
shrinking /nix/store/inwbxff3x5dkixcpvbzz83bma0ly2xyg-heptio-ark-0.9.6-bin/bin/ark
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/inwbxff3x5dkixcpvbzz83bma0ly2xyg-heptio-ark-0.9.6-bin/bin
patching script interpreter paths in /nix/store/inwbxff3x5dkixcpvbzz83bma0ly2xyg-heptio-ark-0.9.6-bin
checking for references to /build in /nix/store/inwbxff3x5dkixcpvbzz83bma0ly2xyg-heptio-ark-0.9.6-bin...
cannot find section .dynamic
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
/nix/store/inwbxff3x5dkixcpvbzz83bma0ly2xyg-heptio-ark-0.9.6-bin

@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-darwin (full log)

Attempted: heptio-ark

Partial log (click to expand)

t7111-reset-table.sh ............................... ok
t7112-reset-submodule.sh ........................... ok
t7201-co.sh ........................................ ok
t7300-clean.sh ..................................... ok
t7301-clean-interactive.sh ......................... ok
building of '/nix/store/bvskg1mlz6hxgp7xs8xdsxa3amvivgmk-git-2.19.1.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/5203jkfib3b8fbc6jqcxyls1z8smszkv-go-1.11.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/y5nvcyy4niljgbd5w9izfxv6qxm0fznd-govers-20150109-3b5f175.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/i3bvvcx7czb23zds1lg645l81mbh690c-heptio-ark-0.9.6.drv': 2 dependencies couldn't be built
error: build of '/nix/store/i3bvvcx7czb23zds1lg645l81mbh690c-heptio-ark-0.9.6.drv' failed

@timokau
Copy link
Member

timokau commented Oct 6, 2018

There are some reports (golang/go#23613, cloudfoundry/garden#52) with the same error online, but with a quick look I couldn't find a solution. Probably either ofborg is under load and go can't handle it somehow or go has an issue with the sandbox. Since I don't know much about go I can't tell. Since it probably is not an issue with the package itself, I'll merge for now. I hope that won't break anything for anyone. It'll be interesting to see if hydra succeeds.

@timokau
Copy link
Member

timokau commented Oct 6, 2018

Thanks for your work on this!

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: heptio-ark

Partial log (click to expand)

find: '/nix/store/hasiz2jhcay1k6vjqfd9xggrl5ggiwbv-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/hasiz2jhcay1k6vjqfd9xggrl5ggiwbv-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/hasiz2jhcay1k6vjqfd9xggrl5ggiwbv-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/hasiz2jhcay1k6vjqfd9xggrl5ggiwbv-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/hasiz2jhcay1k6vjqfd9xggrl5ggiwbv-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/hasiz2jhcay1k6vjqfd9xggrl5ggiwbv-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/hasiz2jhcay1k6vjqfd9xggrl5ggiwbv-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/hasiz2jhcay1k6vjqfd9xggrl5ggiwbv-heptio-ark-0.9.6': No such file or directory
find: '/nix/store/hasiz2jhcay1k6vjqfd9xggrl5ggiwbv-heptio-ark-0.9.6': No such file or directory
/nix/store/r28qbwiin0fbz1y0gya57vbwkzm15l4q-heptio-ark-0.9.6-bin

@timokau timokau merged commit ec7d7e1 into NixOS:master Oct 6, 2018
@mbode mbode deleted the heptio-ark_0_9_6 branch October 6, 2018 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants