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

kubernetes: 1.11.3 -> 1.11.4 #49297

Merged
merged 1 commit into from Oct 28, 2018
Merged

Conversation

johanot
Copy link
Contributor

@johanot johanot commented Oct 27, 2018

Motivation for this change

Kubernetes 1.11.4 contains various bugfixes and non-breaking features, which would be nice to get backported to 18.09.

ref: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.11.md#changelog-since-v1113

Things done

Besides running applicable NixOS tests, kubernetes 1.11.4 has been tested on my company staging cluster running real workloads.

  • 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.

@johanot
Copy link
Contributor Author

johanot commented Oct 27, 2018

@GrahamcOfBorg test kubernetes.rbac.singlenode kubernetes.dns.singlenode kubernetes.rbac.multinode kubernetes.dns.multinode

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: tests.kubernetes.rbac.singlenode, tests.kubernetes.dns.singlenode, tests.kubernetes.rbac.multinode, tests.kubernetes.dns.multinode

Partial log (click to expand)


Cannot nix-instantiate `tests.kubernetes.dns.singlenode' because:
error: attribute 'singlenode' in selection path 'tests.kubernetes.dns.singlenode' not found

Cannot nix-instantiate `tests.kubernetes.rbac.multinode' because:
error: attribute 'multinode' in selection path 'tests.kubernetes.rbac.multinode' not found

Cannot nix-instantiate `tests.kubernetes.dns.multinode' because:
error: attribute 'multinode' in selection path 'tests.kubernetes.dns.multinode' not found

@GrahamcOfBorg
Copy link

Unexpected error: unexpected build failure on x86_64-linux (full log)

Attempted: tests.kubernetes.rbac.singlenode, tests.kubernetes.dns.singlenode, tests.kubernetes.rbac.multinode, tests.kubernetes.dns.multinode

Partial log (click to expand)

machine1: running command: kubectl get node machine1.my.zyx | grep -w Ready
machine1: running command: kubectl get node machine1.my.zyx | grep -w Ready
machine2# [  249.271583] kube-proxy[603]: E1027 18:10:46.126968     603 reflector.go:205] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:129: Failed to list *core.Service: Get https://api.my.zyx/api/v1/services?limit=500&resourceVersion=0: dial tcp 192.168.1.1:443: connect: connection refused
machine2# [  249.963952] kube-proxy[606]: E1027 18:10:46.151223     606 reflector.go:205] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:129: Failed to list *core.Service: Get https://api.my.zyx/api/v1/services?limit=500&resourceVersion=0: dial tcp 192.168.1.1:443: connect: connection refused
machine1# [  256.053298] kube-controller-manager[1038]: E1027 18:10:47.080354    1038 leaderelection.go:234] error retrieving resource lock kube-system/kube-controller-manager: Get https://api.my.zyx/api/v1/namespaces/kube-system/endpoints/kube-controller-manager: dial tcp 192.168.1.1:443: i/o timeout
machine1# [  256.133629] etcd[821]: sync duration of 2.212183112s, expected less than 1s
machine2# [  252.101312] kube-proxy[606]: E1027 18:10:46.806589     606 reflector.go:205] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:129: Failed to list *core.Endpoints: Get https://api.my.zyx/api/v1/endpoints?limit=500&resourceVersion=0: dial tcp 192.168.1.1:443: connect: connection refused
machine2# [  252.281078] kube-proxy[606]: E1027 18:10:48.471799     606 reflector.go:205] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:129: Failed to list *core.Service: Get https://api.my.zyx/api/v1/services?limit=500&resourceVersion=0: dial tcp 192.168.1.1:443: connect: connection refused
machine2# [  250.918804] kube-proxy[606]: E1027 18:10:48.472376     606 reflector.go:205] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:129: Failed to list *core.Endpoints: Get https://api.my.zyx/api/v1/endpoints?limit=500&resourceVersion=0: dial tcp 192.168.1.1:443: connect: connection refused
machine1# [  256.254487] kube-proxy[1039]: E1027 18:10:48.277638    1039 event.go:212] Unable to write event: 'Post https://api.my.zyx/api/v1/namespaces/default/events: dial tcp 192.168.1.1:443: i/o timeout' (may retry after sleeping)

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: kubernetes

Partial log (click to expand)

strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/lzql84asp597b5y1k6v5wglivk3wwddg-kubernetes-1.11.4-man
checking for references to /build in /nix/store/lzql84asp597b5y1k6v5wglivk3wwddg-kubernetes-1.11.4-man...
shrinking RPATHs of ELF executables and libraries in /nix/store/5f2j34049r5lb4m8vy0v0gbakmnvgh3z-kubernetes-1.11.4-pause
shrinking /nix/store/5f2j34049r5lb4m8vy0v0gbakmnvgh3z-kubernetes-1.11.4-pause/bin/pause
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/5f2j34049r5lb4m8vy0v0gbakmnvgh3z-kubernetes-1.11.4-pause/bin
patching script interpreter paths in /nix/store/5f2j34049r5lb4m8vy0v0gbakmnvgh3z-kubernetes-1.11.4-pause
checking for references to /build in /nix/store/5f2j34049r5lb4m8vy0v0gbakmnvgh3z-kubernetes-1.11.4-pause...
/nix/store/wfyrmzinimjmyqyim62wc85v2whjjyxq-kubernetes-1.11.4

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: kubernetes

Partial log (click to expand)

/nix/store/mgxgimcyfviii5a96pss6wyh4c71chhy-kubernetes-1.11.4

@johanot
Copy link
Contributor Author

johanot commented Oct 27, 2018

@GrahamcOfBorg test kubernetes.rbac.singlenode kubernetes.dns.singlenode kubernetes.rbac.multinode kubernetes.dns.multinode

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: tests.kubernetes.rbac.singlenode, tests.kubernetes.dns.singlenode, tests.kubernetes.rbac.multinode, tests.kubernetes.dns.multinode

Partial log (click to expand)


Cannot nix-instantiate `tests.kubernetes.dns.singlenode' because:
error: attribute 'singlenode' in selection path 'tests.kubernetes.dns.singlenode' not found

Cannot nix-instantiate `tests.kubernetes.rbac.multinode' because:
error: attribute 'multinode' in selection path 'tests.kubernetes.rbac.multinode' not found

Cannot nix-instantiate `tests.kubernetes.dns.multinode' because:
error: attribute 'multinode' in selection path 'tests.kubernetes.dns.multinode' not found

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: tests.kubernetes.rbac.singlenode, tests.kubernetes.dns.singlenode, tests.kubernetes.rbac.multinode, tests.kubernetes.dns.multinode

Partial log (click to expand)

test script finished in 99.66s
cleaning up
killing machine2 (pid 597)
killing machine1 (pid 609)
vde_switch: EOF on stdin, cleaning up and exiting
vde_switch: Could not remove ctl dir '/build/vde1.ctl': Directory not empty
/nix/store/iqzhh4q6g6i618yry218lc04m7diqb6q-vm-test-run-kubernetes-rbac-singlenode
/nix/store/35fvw4fxqddklad7h93c1z9rxglxk5gp-vm-test-run-kubernetes-dns-singlenode
/nix/store/s6r2zncxbxn40vf9hjilylhj96hy27gh-vm-test-run-kubernetes-rbac-multinode
/nix/store/jj3d7nxaiw3nsd1ca9mkqa7q31zqfwjc-vm-test-run-kubernetes-dns-multinode

@srhb
Copy link
Contributor

srhb commented Oct 28, 2018

Looks good to me. By the way, it looks like our docs test disabling is no longer necessary. Next bump (on master) could probably use a little spring cleaning to see if we can get rid of some of our changes.

@srhb srhb merged commit 8fa0017 into NixOS:release-18.09 Oct 28, 2018
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

4 participants