Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

VMs used in CI must not have a PVSCSI controller. #579

Closed
govint opened this issue Aug 18, 2016 · 4 comments
Closed

VMs used in CI must not have a PVSCSI controller. #579

govint opened this issue Aug 18, 2016 · 4 comments

Comments

@govint
Copy link
Contributor

govint commented Aug 18, 2016

The plugin server logic includes code to add a PVSCSI controller and as such that must be tested during CI. Which is easily done by having VMs in CI that don't have a pvscsi controller. This will ensure more of the plugin server logic getting exercised and any regressions caught there.

@kerneltime
Copy link
Contributor

Can we add a test which removes a PVSCSI controller and then adds it? It is cheaper than keeping dedicated VMs for it.

@govint
Copy link
Contributor Author

govint commented Nov 17, 2016

Yes, may be test set up should add the controller and remove at end of the
test.

On Thu, Nov 17, 2016 at 4:34 AM, Ritesh H Shukla notifications@github.com
wrote:

Can we add a test which removes a PVSCSI controller and then adds it? It
is cheaper than keeping dedicated VMs for it.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#579 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/APHseOdCb5POjODtMZCWjg_jOMzpSmyzks5q-4v9gaJpZM4JnY8e
.

@shuklanirdesh82
Copy link
Contributor

As per the ask, PVSCSI controller is removed from all the vms exist in the current CI system.

ESX 6.5 having 4 vms

echo "=> Running tests on VMFS ESX_6.5" `date`
VMFS datastore: photon.vmfs & Ubuntu.16.10

echo "=> Running tests on VSAN ESX_6.5" `date`
VSAN datastore: photon.vsan & Ubuntu.14.04

ESX 6.0 having 4 vms

echo "=> Running tests on VMFS ESX_6.0" `date`
VMFS datastore: photon.ga.vmfs & Ubuntu.1404.vmfs

echo "=> Running tests on VSAN ESX_6.0" `date`
VSAN datastore: photon.ga.vsan & Ubuntu.1404.vsan

After removing controller from above vms and #989 exposes the volume creation failure for the test TestVolumeCreationFirstTime; which was added as part of #794 (to cover #656 failure case)

https://ci.vmware.run/vmware/docker-volume-vsphere/1477

=== RUN TestVolumeCreationFirstTime

creating volume [abc_1488520428] on VM[192.168.31.176]--- FAIL: TestVolumeCreationFirstTime (21.66s)
	createVolume_test.go:58: 
		Error has occurred [Error response from daemon: create abc_1488520428: Post http://%2Frun%2Fdocker%2Fplugins%2Fvsphere.sock/VolumeDriver.Create: http: ContentLength=36 with Body length 0
		] 
			while creating volume [abc_1488520428] very first time: err -> exit status 1

@shuklanirdesh82
Copy link
Contributor

Expected work is done and supplied a change to reorder test sequence as part of this activity.

currently CI is failing as expected and @govint is looking at similar failure cause.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

4 participants