[PATCH] [TEST] Modify SystemDevice 02_reverse.py to use new GetInstance() call

# HG changeset patch # User Guolian Yun <yunguol@cn.ibm.com> # Date 1223885227 25200 # Node ID 2bcf4547d32b7f64e750e5b65405bcbae9edc3f0 # Parent c7eaf17bd591f313b93ff2b2087cee11b25789e0 [TEST] Modify SystemDevice 02_reverse.py to use new GetInstance() call Signed-off-by: Guolian Yun <yunguol@cn.ibm.com> diff -r c7eaf17bd591 -r 2bcf4547d32b suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py --- a/suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py Fri Oct 10 03:08:12 2008 -0700 +++ b/suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py Mon Oct 13 01:07:07 2008 -0700 @@ -99,7 +99,8 @@ 'Name': systems[0]['Name'], 'CreationClassName': systems[0]['CreationClassName'] } - system = enumclass.getInstance(options.ip, 'ComputerSystem', keys, options.virt) + cs = get_typed_class(options.virt, 'ComputerSystem') + system = enumclass.GetInstance(options.ip, cs, keys) if system.Name == test_dom: status = PASS

yunguol@cn.ibm.com wrote:
# HG changeset patch # User Guolian Yun <yunguol@cn.ibm.com> # Date 1223885227 25200 # Node ID 2bcf4547d32b7f64e750e5b65405bcbae9edc3f0 # Parent c7eaf17bd591f313b93ff2b2087cee11b25789e0 [TEST] Modify SystemDevice 02_reverse.py to use new GetInstance() call
Signed-off-by: Guolian Yun <yunguol@cn.ibm.com>
diff -r c7eaf17bd591 -r 2bcf4547d32b suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py --- a/suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py Fri Oct 10 03:08:12 2008 -0700 +++ b/suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py Mon Oct 13 01:07:07 2008 -0700 @@ -99,7 +99,8 @@ 'Name': systems[0]['Name'], 'CreationClassName': systems[0]['CreationClassName'] } - system = enumclass.getInstance(options.ip, 'ComputerSystem', keys, options.virt) + cs = get_typed_class(options.virt, 'ComputerSystem') + system = enumclass.GetInstance(options.ip, cs, keys)
if system.Name == test_dom: status = PASS
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
This tc fails for me on Xen with and without XenFV.

Deepti B Kalakeri wrote:
yunguol@cn.ibm.com wrote:
# HG changeset patch # User Guolian Yun <yunguol@cn.ibm.com> # Date 1223885227 25200 # Node ID 2bcf4547d32b7f64e750e5b65405bcbae9edc3f0 # Parent c7eaf17bd591f313b93ff2b2087cee11b25789e0 [TEST] Modify SystemDevice 02_reverse.py to use new GetInstance() call
Signed-off-by: Guolian Yun <yunguol@cn.ibm.com>
diff -r c7eaf17bd591 -r 2bcf4547d32b suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py
This tc fails for me on Xen with and without XenFV.
It fails for me without printing any debug messages - can you also add the appropriate debug when you fix the failure? Thanks! -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

libvirt-cim-bounces@redhat.com wrote on 2008-10-13 21:28:15:
yunguol@cn.ibm.com wrote:
# HG changeset patch # User Guolian Yun <yunguol@cn.ibm.com> # Date 1223885227 25200 # Node ID 2bcf4547d32b7f64e750e5b65405bcbae9edc3f0 # Parent c7eaf17bd591f313b93ff2b2087cee11b25789e0 [TEST] Modify SystemDevice 02_reverse.py to use new GetInstance() call
Signed-off-by: Guolian Yun <yunguol@cn.ibm.com>
diff -r c7eaf17bd591 -r 2bcf4547d32b suites/libvirt- cim/cimtest/SystemDevice/02_reverse.py --- a/suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py Fri Oct 10 03:08:12 2008 -0700 +++ b/suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py Mon Oct 13 01:07:07 2008 -0700 @@ -99,7 +99,8 @@ 'Name': systems[0]['Name'], 'CreationClassName':
systems[0]['CreationClassName']
} - system = enumclass.getInstance(options.ip,
'ComputerSystem', keys, options.virt)
+ cs = get_typed_class(options.virt, 'ComputerSystem') + system = enumclass.GetInstance(options.ip, cs, keys)
if system.Name == test_dom: status = PASS
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
This tc fails for me on Xen with and without XenFV.
Yeah, this tc fails with sblim base provider installed, we have to fix it firstly. Thanks!
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim

+1 for me. yunguol@cn.ibm.com wrote:
# HG changeset patch # User Guolian Yun <yunguol@cn.ibm.com> # Date 1223885227 25200 # Node ID 2bcf4547d32b7f64e750e5b65405bcbae9edc3f0 # Parent c7eaf17bd591f313b93ff2b2087cee11b25789e0 [TEST] Modify SystemDevice 02_reverse.py to use new GetInstance() call
Signed-off-by: Guolian Yun <yunguol@cn.ibm.com>
diff -r c7eaf17bd591 -r 2bcf4547d32b suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py --- a/suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py Fri Oct 10 03:08:12 2008 -0700 +++ b/suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py Mon Oct 13 01:07:07 2008 -0700 @@ -99,7 +99,8 @@ 'Name': systems[0]['Name'], 'CreationClassName': systems[0]['CreationClassName'] } - system = enumclass.getInstance(options.ip, 'ComputerSystem', keys, options.virt) + cs = get_typed_class(options.virt, 'ComputerSystem') + system = enumclass.GetInstance(options.ip, cs, keys)
if system.Name == test_dom: status = PASS
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim

Sorry, Please ignore this. I accidentally sent +1 for this. Please see the comments sent for this in the previous mail. Thanks and Regards, Deepti. Deepti B Kalakeri wrote:
+1 for me.
yunguol@cn.ibm.com wrote:
# HG changeset patch # User Guolian Yun <yunguol@cn.ibm.com> # Date 1223885227 25200 # Node ID 2bcf4547d32b7f64e750e5b65405bcbae9edc3f0 # Parent c7eaf17bd591f313b93ff2b2087cee11b25789e0 [TEST] Modify SystemDevice 02_reverse.py to use new GetInstance() call
Signed-off-by: Guolian Yun <yunguol@cn.ibm.com>
diff -r c7eaf17bd591 -r 2bcf4547d32b suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py --- a/suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py Fri Oct 10 03:08:12 2008 -0700 +++ b/suites/libvirt-cim/cimtest/SystemDevice/02_reverse.py Mon Oct 13 01:07:07 2008 -0700 @@ -99,7 +99,8 @@ 'Name': systems[0]['Name'], 'CreationClassName': systems[0]['CreationClassName'] } - system = enumclass.getInstance(options.ip, 'ComputerSystem', keys, options.virt) + cs = get_typed_class(options.virt, 'ComputerSystem') + system = enumclass.GetInstance(options.ip, cs, keys) if system.Name == test_dom: status = PASS
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
participants (4)
-
Deepti B Kalakeri
-
Guo Lian Yun
-
Kaitlin Rupert
-
yunguol@cn.ibm.com