CI (https://ci.vmware.run/vmware/docker-volume-vsphere/464) failed with below error,
FAIL: volumecreate_test.go:177: VolumeCreateTestSuite.TestValidOptions
volumecreate_test.go:82:
// positive test case
c.Assert(err, IsNil, Commentf(out))
... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc420363140), Stderr:[]uint8(nil)} ("exit status 1")
... Error response from daemon: create option_volume_n9ocblmgyv6t: Post http://%!F(MISSING)run%!F(MISSING)docker%!F(MISSING)plugins%!F(MISSING)334cbf101410e47e1360d8793088a0e9b8fe25e263fe87cbe190729a8020203c%!F(MISSING)vsphere.sock/VolumeDriver.Create: http: ContentLength=69 with Body length 0
volumecreate_test.go:82:
// positive test case
c.Assert(err, IsNil, Commentf(out))
... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc42045d360), Stderr:[]uint8(nil)} ("exit status 1")
... Error response from daemon: create option_volume_1x211hubfnfyi: Post http://%!F(MISSING)run%!F(MISSING)docker%!F(MISSING)plugins%!F(MISSING)334cbf101410e47e1360d8793088a0e9b8fe25e263fe87cbe190729a8020203c%!F(MISSING)vsphere.sock/VolumeDriver.Create: http: ContentLength=80 with Body length 0
From the test logs looks like the plugin restarted around the time the volume create req was made:
2017/06/12 14:03:35 Creating volume [option_volume_n9ocblmgyv6t] with options [ -o access=read-write] on VM [192.168.31.241]
2017/06/12 14:03:56 Failed to invoke command [docker volume create --driver=vsphere --name=option_volume_n9ocblmgyv6t -o access=read-write]: exit status 1
ANd plugin logs around this time shows a restart,
2017-06-12 14:03:41.809238398 +0000 UTC [INFO] Scan complete device="/dev/disk/by-path/pci-0000:0b:00.0-scsi-0:0:0:0" event="/dev/disk/by-path/pci-0000:0b:00.0-scsi-0:0:0:0": 0x100 == IN_CREATE
Plugin has restarted here,
2017-06-12 14:03:42.189414369 +0000 UTC [INFO] No config file found. Using defaults.
2017-06-12 14:03:42.189457766 +0000 UTC [WARNING] Failed to load config file /etc/docker-volume-vsphere.conf: open /etc/docker-volume-vsphere.conf: no such file or directory
2017-06-12 14:03:42.189477992 +0000 UTC [INFO] Starting plugin config="/etc/docker-volume-vsphere.conf" driver=vsphere log_level=info
2017-06-12 14:03:42.189489074 +0000 UTC [INFO] Plugin options - port=1019
2017-06-12 14:03:42.189499786 +0000 UTC [INFO] Getting volume data from unix:///var/run/docker.sock
2017-06-12 14:03:42.204896214 +0000 UTC [INFO] Found 0 running or paused containers
May be skip this test and lets run it outside of CI to see if the issue is repro'ed.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4