>
> All of the failing tc passed when run manually.
>
> LogicalDisk - 02_nodevs.py: FAIL
The above test case fails in the bulk run but does not when run
individually. This is because the guest domain information "test_domain"
that is created by the first test case is still persistent when the
02_nodevs.py tc is executed.
Here is the o/p of the devices.enumerate() function called within the
02_nodevs.py tc. This tc does not define any domain but yet it has the
information about the domain.
Thu, 14 Aug 2008 05:14:10:TEST LOG:INFO - ====02_nodevs.py Log====
Thu, 14 Aug 2008 05:14:11:TEST LOG:ERROR - DEBUG Sys on the
machine are ['Domain-0']
Thu, 14 Aug 2008 05:14:12:TEST LOG:ERROR - DEBUG
test_domain123/hda
Thu, 14 Aug 2008 05:14:12:TEST LOG:ERROR - DEBUG Xen_LogicalDisk
Thu, 14 Aug 2008 05:14:12:TEST LOG:ERROR - DEBUG test_domain123
Thu, 14 Aug 2008 05:14:12:TEST LOG:ERROR - DEBUG
Xen_ComputerSystem
Thu, 14 Aug 2008 05:14:12:TEST LOG:ERROR - DEBUG key_list is
{'CreationClassName': u'Xen_LogicalDisk', 'SystemName':
u'test_domain123', 'DeviceID': u'test_domain123/hda',
'SystemCreationClassName': u'Xen_ComputerSystem'}
This looks like you're hitting the caching issue in libvirt.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com