Closed caglar10ur closed 7 years ago
Otherwise multiple tests running on the same host machine ends up doing things on the same volume store.
Apr 25 2017 20:47:48.612Z DEBUG [BEGIN] [github.com/vmware/vic/lib/apiservers/portlayer/restapi/handlers.(*StorageHandlersImpl).CreateVolume:349] storage_handlers.CreateVolume Apr 25 2017 20:47:48.612Z DEBUG op=264.41 (delta:2.875µs): [NewOperation] op=264.41 (delta:945ns) [github.com/vmware/vic/lib/apiservers/portlayer/restapi/handlers.(*StorageHandlersImpl).CreateVolume:373] Apr 25 2017 20:47:48.612Z INFO Creating directory [datastore1] test/volumes/7136934e-29f8-11e7-a53f-000c29ef15a5 Apr 25 2017 20:47:48.631Z DEBUG Creating [datastore1] test/volumes/7136934e-29f8-11e7-a53f-000c29ef15a5 error: ServerFaultCode: File [datastore1] test/volumes/7136934e-29f8-11e7-a53f-000c29ef15a5 was not found Apr 25 2017 20:47:48.631Z ERROR storagehandler: VolumeCreate error: soap.soapFaultError{fault:(*soap.Fault)(0xc4203f0e60)} Apr 25 2017 20:47:48.631Z DEBUG [ END ] [github.com/vmware/vic/lib/apiservers/portlayer/restapi/handlers.(*StorageHandlersImpl).CreateVolume:349] [18.900815ms] storage_handlers.CreateVolume
and corresponding hostd part
4164 2017-04-25T20:47:49.257Z info hostd[2AC80B70] [Originator@6876 sub=Vimsvc.TaskManager opID=9324ed88 user=droneci] Task Created : haTask--vim.FileManager.makeDirectory-922522 4165 2017-04-25T20:47:49.258Z info hostd[2AC80B70] [Originator@6876 sub=Nfcsvc opID=9324ed88 user=droneci] Create requested for /vmfs/volumes/58a3a549-2925c61b-9e5f-0cc47a9c19a4/test/volumes/7136934e-29f8-11e7-a53f-000c29ef15a5 4166 2017-04-25T20:47:49.259Z info hostd[2AC80B70] [Originator@6876 sub=Default opID=9324ed88 user=droneci] AdapterServer caught exception: vim.fault.FileNotFound 4167 2017-04-25T20:47:49.259Z info hostd[2AC80B70] [Originator@6876 sub=Vimsvc.TaskManager opID=9324ed88 user=droneci] Task Completed : haTask--vim.FileManager.makeDirectory-922522 Status error 4168 2017-04-25T20:47:49.259Z info hostd[2AC80B70] [Originator@6876 sub=Solo.Vmomi opID=9324ed88 user=droneci] Activation [N5Vmomi10ActivationE:0x2da41390] : Invoke done [makeDirectory] on [vim.FileManager:ha-nfc-file-manager] 4169 2017-04-25T20:47:49.259Z verbose hostd[2AC80B70] [Originator@6876 sub=Solo.Vmomi opID=9324ed88 user=droneci] Arg name: 4170 --> "[datastore1] test/volumes/7136934e-29f8-11e7-a53f-000c29ef15a5" 4171 2017-04-25T20:47:49.259Z verbose hostd[2AC80B70] [Originator@6876 sub=Solo.Vmomi opID=9324ed88 user=droneci] Arg datacenter: 4172 --> 'vim.Datacenter:ha-datacenter' 4173 2017-04-25T20:47:49.259Z verbose hostd[2AC80B70] [Originator@6876 sub=Solo.Vmomi opID=9324ed88 user=droneci] Arg createParentDirectories: 4174 --> false 4175 2017-04-25T20:47:49.259Z info hostd[2AC80B70] [Originator@6876 sub=Solo.Vmomi opID=9324ed88 user=droneci] Throw vim.fault.FileNotFound 4176 2017-04-25T20:47:49.259Z info hostd[2AC80B70] [Originator@6876 sub=Solo.Vmomi opID=9324ed88 user=droneci] Result: 4177 --> (vim.fault.FileNotFound) { 4178 --> faultCause = (vmodl.MethodFault) null, 4179 --> file = "[datastore1] test/volumes/7136934e-29f8-11e7-a53f-000c29ef15a5", 4180 --> msg = "" 4181 --> }```
Closing as dup of #4297
Otherwise multiple tests running on the same host machine ends up doing things on the same volume store.
and corresponding hostd part