Fix test_volumes_get volumes cleanup.
Fix test_volumes_get volumes cleanup.

Currently for test_volumes_get if the volume creation fails and we won't define
the volume variable which will result in an undefined error in the finally
block that always gets run. This will mask the actual cause of the test
failure. This commit fixes this by reworking the cleanup logic in the tests
to use the addCleanup so if the api call fails the actual error will be printed.

Change-Id: I2619575fe80d4f3ce38cc951e7dbd44311d61432

LIS/lis-tempest,roopali8/tempest,pczerkas/tempest,danielmellado/tempest,bigswitch/tempest,vedujoshi/os_tempest,rzarzynski/tempest,Lilywei123/tempest,redhat-cip/tempest,xbezdick/tempest,Lilywei123/tempest,Mirantis/tempest,danielmellado/tempest,Juraci/tempest,ntymtsiv/tempest,afaheem88/tempest_neutron,JioCloud/tempest,pczerkas/tempest,itskewpie/tempest,yamt/tempest,zsoltdudas/lis-tempest,tonyli71/tempest,Tesora/tesora-tempest,NexusIS/tempest,sebrandon1/tempest,vedujoshi/os_tempest,hpcloud-mon/tempest,citrix-openstack/build-tempest,armando-migliaccio/tempest,citrix-openstack/build-tempest,izadorozhna/tempest,pandeyop/tempest,flyingfish007/tempest,tudorvio/tempest,manasi24/tempest,rakeshmi/tempest,cloudbase/lis-tempest,citrix-openstack-build/tempest,Vaidyanath/tempest,openstack/tempest,afaheem88/tempest,tudorvio/tempest,armando-migliaccio/tempest,dkalashnik/tempest,citrix-openstack-build/tempest,neerja28/Tempest,adkerr/tempest,nunogt/tempest,FujitsuEnablingSoftwareTechnologyGmbH/tempest,dkalashnik/tempest,hpcloud-mon/tempest,flyingfish007/tempest,JioCloud/tempest,rakeshmi/tempest,roopali8/tempest,vmahuli/tempest,queria/my-tempest,manasi24/jiocloud-tempest-qatempest,cloudbase/lis-tempest,alinbalutoiu/tempest,manasi24/jiocloud-tempest-qatempest,pandeyop/tempest,Juniper/tempest,cisco-openstack/tempest,tonyli71/tempest,afaheem88/tempest_neutron,varunarya10/tempest,CiscoSystems/tempest,Juraci/tempest,bigswitch/tempest,manasi24/tempest,zsoltdudas/lis-tempest,ntymtsiv/tempest,eggmaster/tempest,ebagdasa/tempest,yamt/tempest,masayukig/tempest,eggmaster/tempest,vedujoshi/tempest,FujitsuEnablingSoftwareTechnologyGmbH/tempest,neerja28/Tempest,queria/my-tempest,xbezdick/tempest,Juniper/tempest,alinbalutoiu/tempest,masayukig/tempest,redhat-cip/tempest,izadorozhna/tempest,afaheem88/tempest,LIS/lis-tempest,CiscoSystems/tempest,itskewpie/tempest,jaspreetw/tempest,jaspreetw/tempest,BeenzSyed/tempest,jamielennox/tempest,Vaidyanath/tempest,hayderimran7/tempest,Mirantis/tempest,jamielennox/tempest,hayderimran7/tempest,adkerr/tempest,Tesora/tesora-tempest,nunogt/tempest,vmahuli/tempest,rzarzynski/tempest,akash1808/tempest,openstack/tempest,sebrandon1/tempest,BeenzSyed/tempest,vedujoshi/tempest,cisco-openstack/tempest,varunarya10/tempest,ebagdasa/tempest,akash1808/tempest,NexusIS/tempest