On Wed, 2010-06-23 at 15:09 -0300, Lucas Meneghel Rodrigues wrote: > 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 > If I remove 'at'sign only the first one gets executed. For eg if i refer to something as below only qemu_dotu_map_passthrough qemu_dotl_map_passthrough
only qemu_dotu_map_passthrough gets executed. Even kvm_config generates dictionary for the first variant mentioned in the line. Even tried referring them as only qemu_dotu_map_passthrough only qemu_dotl_map_passthrough This does not generate dictionary at all for both the variants. Anyway thanks a lot Lucas for quick response, I was concerned that I may not get quick reply as the subject of the mail is not specifying the problem. Regards Poornima _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
