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

flake test: WithError(Failed to setup certs)=certificate symlinks #7720

Closed
medyagh opened this issue Apr 16, 2020 · 0 comments · Fixed by #7723
Closed

flake test: WithError(Failed to setup certs)=certificate symlinks #7720

medyagh opened this issue Apr 16, 2020 · 0 comments · Fixed by #7723
Assignees
Labels
area/testing kind/flake Categorizes issue or PR as related to a flaky test. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone

Comments

@medyagh
Copy link
Member

medyagh commented Apr 16, 2020

as seen here:
https://storage.googleapis.com/minikube-builds/logs/7705/c44655c/Docker_Linux.html#fail_TestStartStop%2fgroup%2fold-docker


	I0416 07:59:55.037956   15523 ssh_runner.go:148] Run: sudo /bin/bash -c "test -s /usr/share/ca-certificates/minikubeCA.pem && ln -fs /usr/share/ca-certificates/minikubeCA.pem /etc/ssl/certs/minikubeCA.pem"
	I0416 07:59:55.050765   15523 ssh_runner.go:148] Run: ls -la /usr/share/ca-certificates/minikubeCA.pem
	I0416 07:59:55.056011   15523 certs.go:382] hashing: -rw-r--r-- 1 root root 1066 Apr 16 14:45 /usr/share/ca-certificates/minikubeCA.pem
	I0416 07:59:55.056098   15523 ssh_runner.go:148] Run: openssl x509 -hash -noout -in /usr/share/ca-certificates/minikubeCA.pem
	I0416 07:59:55.063764   15523 ssh_runner.go:148] Run: sudo /bin/bash -c "test -L /etc/ssl/certs/b5213941.0 || ln -fs /etc/ssl/certs/minikubeCA.pem /etc/ssl/certs/b5213941.0"
	I0416 07:59:55.076632   15523 ssh_runner.go:148] Run: sudo /bin/bash -c "test -s /usr/share/ca-certificates/6700.pem && ln -fs /usr/share/ca-certificates/6700.pem /etc/ssl/certs/6700.pem"
	I0416 07:59:55.078009   15523 ssh_runner.go:148] Run: sudo systemctl start kubelet
	I0416 07:59:55.114008   15523 exit.go:58] WithError(Failed to setup certs)=certificate symlinks: create symlink for /usr/share/ca-certificates/6700.pem: sudo /bin/bash -c "test -s /usr/share/ca-certificates/6700.pem && ln -fs /usr/share/ca-certificates/6700.pem /etc/ssl/certs/6700.pem": Process exited with status 1
	stdout:
	
	stderr:
	 called from:
	goroutine 346 [running]:
	runtime/debug.Stack(0x0, 0x0, 0x20fb)
		/usr/local/go/src/runtime/debug/stack.go:24 +0x9d
	k8s.io/minikube/pkg/minikube/exit.WithError(0x1ac8e78, 0x15, 0x1d7d240, 0xc0005bada0)
		/app/pkg/minikube/exit/exit.go:58 +0x34
	k8s.io/minikube/pkg/minikube/node.setupKubeAdm.func2(0x1de8d40, 0xc0004e3290, 0xc000386300, 0x0, 0x0, 0xc00053e6a0, 0xa, 0x20fb, 0xc000622340, 0x8, ...)
		/app/pkg/minikube/node/start.go:276 +0x155
	created by k8s.io/minikube/pkg/minikube/node.setupKubeAdm
		/app/pkg/minikube/node/start.go:274 +0x513
	W0416 07:59:55.114274   15523 out.go:201] Failed to setup certs: certificate symlinks: create symlink for /usr/share/ca-certificates/6700.pem: sudo /bin/bash -c "test -s /usr/share/ca-certificates/6700.pem && ln -fs /usr/share/ca-certificates/6700.pem /etc/ssl/certs/6700.pem": Process exited with status 1
	stdout:
	
	stderr:
	* 
	X Failed to setup certs: certificate symlinks: create symlink for /usr/share/ca-certificates/6700.pem: sudo /bin/bash -c "test -s /usr/share/ca-certificates/6700.pem && ln -fs /usr/share/ca-certificates/6700.pem /etc/ssl/certs/6700.pem": Process exited with status 1
	stdout:
	
	stderr:
	
	* 
	* minikube is exiting due to an error. If the above message is not useful, open an issue:
	  - https://github.com/kubernetes/minikube/issues/new/choose
** /stderr **
start_stop_delete_test.go:132: failed to start minikube post-stop. args "out/minikube-linux-amd64 start -p old-docker-20200416T075527-6700 --memory=2200 --alsologtostderr -v=3 --wait=true --kvm-network=default --kvm-qemu-uri=qemu:///system --disable-driver-mounts --keep-context=false --container-runtime=docker --driver=docker  --kubernetes-version=v1.11.10": exit status 70

To run locally:

make integration -e TEST_ARGS="-test.run TestStartStop/group/old-docker --profile=minikube --cleanup=false --minikube-start-args="--driver=docker""
@medyagh medyagh changed the title WithError(Failed to setup certs)=certificate symlinks flake test: WithError(Failed to setup certs)=certificate symlinks Apr 16, 2020
@medyagh medyagh added this to the v1.10.0 milestone Apr 16, 2020
@priyawadhwa priyawadhwa self-assigned this Apr 16, 2020
@medyagh medyagh added kind/flake Categorizes issue or PR as related to a flaky test. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. area/testing labels Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing kind/flake Categorizes issue or PR as related to a flaky test. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants