hyperd
hyperd copied to clipboard
Cannot pass hyper::test::with_volume in hack/test-cmd.sh
E1201 15:14:28.882125 58398 run.go:34] test-container-volume: failed to add pod: Conflict. The name "/c1" is already in use by container 9a8da244a90d7275d4e9bae7da051d4f11c03d40ad7381451e3917aee16e4226. You have to remove (or rename) that container to be able to reuse that name. E1201 15:14:28.882241 58398 server.go:170] Handler for POST /v1.0.0/pod/create returned error: Conflict. The name "/c1" is already in use by container 9a8da244a90d7275d4e9bae7da051d4f11c03d40ad7381451e3917aee16e4226. You have to remove (or rename) that container to be able to reuse that name. I1201 15:14:28.882369 58398 hypervisor.go:31] SB[vm-CgWThOBOXz] main event loop exiting I1201 15:14:28.882426 58398 decommission.go:526] Pod[test-container-volume] got vm exit event I1201 15:14:28.882446 58398 decommission.go:576] Pod[test-container-volume] umount all containers and volumes, release IP addresses I1201 15:14:28.882465 58398 etchosts.go:97] cleanupHosts /var/lib/hyper/hosts/test-container-volume, /var/lib/hyper/hosts/test-container-volume/hosts I1201 15:14:28.882487 58398 etchosts.go:101] cannot find /var/lib/hyper/hosts/test-container-volume/hosts I1201 15:14:28.882552 58398 decommission.go:555] Pod[test-container-volume] sandbox info removed from db I1201 15:14:28.882569 58398 decommission.go:561] Pod[test-container-volume] tag pod as stopped I1201 15:14:28.882583 58398 decommission.go:568] Pod[test-container-volume] pod stopped !!! Error in /home/teawater/gopath/src/github.com/hyperhq/hyperd/hack/lib/test.sh:51 'sudo env PATH=$PATH hyperctl run --rm -a -p $1' exited with status 255 Call stack: 1: /home/teawater/gopath/src/github.com/hyperhq/hyperd/hack/lib/test.sh:51 hyper::test::run_attached_pod(...) 2: /home/teawater/gopath/src/github.com/hyperhq/hyperd/hack/lib/test.sh:112 hyper::test::with_volume(...) 3: hack/test-cmd.sh:190 runTests(...) 4: hack/test-cmd.sh:226 main(...) Exiting with status 1 !!! Error in /home/teawater/gopath/src/github.com/hyperhq/hyperd/hack/lib/test.sh:112 'grep OK' exited with status 1 1 Call stack: 1: /home/teawater/gopath/src/github.com/hyperhq/hyperd/hack/lib/test.sh:112 hyper::test::with_volume(...) 2: hack/test-cmd.sh:190 runTests(...) 3: hack/test-cmd.sh:226 main(...) Exiting with status 1 I1201 15:14:28.914815 58398 daemon.go:390] The daemon will be shutdown I1201 15:14:28.914840 58398 daemon.go:391] Shutdown all VMs E1201 15:14:28.914902 58398 hyperd.go:173] Hyper serve RPC error: accept tcp [::]:22318: use of closed network connection +++ [1201 15:14:28] Clean up complete
looks like a container name as c1 had not been cleaned up well... Is this the first time of failure? I guess there were different fail log for the first time.