On Wed, 2010-06-23 at 23:14 +0530, Poornima Nayak wrote:
> The last line in tests.cfg is reffering to two variants
> only qemu_dotl_map_passthrough qemu_dotu_map_passthrough
> 
> The defination for these two variants only differs where i call set of
> autotest tests that has to be run. for example I am pasting the lines
> which differ in the two variants.
> @qemu_dotu_map_passthrough:
>     only boot v9fs_setup connecthon tuxera_posix fsstress shutdown
> 
> 
> @qemu_dotl_map_passthrough:
>     only boot v9fs_dotl_setup connecthon tuxera_posix fsstress shutdown
> 
> The problem with this is after qemu_dotu_map_passthrough execution
> completes, autotest exits when it has to execute 'boot' under
> qemu_dotl_map_passthrough with error
> TestError: kvm.raw.Fedora.12.64.virtio.boot already exists; multiple
> tests cannot run with the same subdirectory
> 
> I need help in resolving this issue, how to genrate filenames unique for
> tests under qemu_dotu_map_passthrough &  qemu_dotl_map_passthrough.
> 
> FYI: v9fs_setup & v9fs_dotl_setup setup test environment before
> executing autotest tests fsstress, connecthon. These files are
> implemented in kvm/tests directory.
> 
> Any suggestion would be a great help.

A simple suggestion would be to remove the 'at' signs at the beginning
of your variants. This will make them to be part of the testname, thus,
generating different names and the issue you mentioned will no longer
exist.

qemu_dotu_map_passthrough:
     only boot v9fs_setup connecthon tuxera_posix fsstress shutdown
 
 
qemu_dotl_map_passthrough:
     only boot v9fs_dotl_setup connecthon tuxera_posix fsstress shutdown

Good to hear from you!

Lucas

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to