WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-cim

[Xen-cim] sblim-test files

To: <xen-cim@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-cim] sblim-test files
From: "Szymanski, Lukasz K" <Lukasz.Szymanski@xxxxxxxxxx>
Date: Thu, 22 Feb 2007 12:18:33 -0500
Delivery-date: Thu, 22 Feb 2007 09:17:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-cim-request@lists.xensource.com?subject=help>
List-id: xen-cim mailing list <xen-cim.lists.xensource.com>
List-post: <mailto:xen-cim@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-cim-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdWpXq70xNoFbj9QkKGz1+8vwQeZQ==
Thread-topic: sblim-test files

Jim -

As per the call today I am sending some input and output files for our testing effort.  I got confused about which package I got working - it was sblim-test, not cimteser.  I will work on cimtester and report on it as well.  In any event, the sblim test is run with ./run.sh <class name>

Here is what an input file looks like:

********************************************************************************
class : Xen_ComputerSystem
objectPath : Xen_ComputerSystem.CreationClassName=Xen_ComputerSystem,Name=Xen_ComputerSystem

--------------------------------------------------------------------------------
Instance                                                       enumInstanceNames

--------------------------------------------------------------------------------
Instance                                                           enumInstances

--------------------------------------------------------------------------------
Instance                                                                     get

--------------------------------------------------------------------------------
Instance                                                                     set
Expected Exception : NOT_SUPPORTED

--------------------------------------------------------------------------------
Instance                                                                  create
Expected Exception : NOT_SUPPORTED

--------------------------------------------------------------------------------
Instance                                                                  delete
Expected Exception : NOT_SUPPORTED

--------------------------------------------------------------------------------
Instance                                                               execQuery
Expected Exception : NOT_SUPPORTED


The expected exceptions are items that are expected to fail and will not count as a failed test.
Here is the output file:

********************************************************************************
class : Xen_ComputerSystem
Wed Feb 21 14:33:16 2007

--------------------------------------------------------------------------------
Instance                                                       enumInstanceNames
Status : ok
RC     : 1
last executed call : wbemein  http://localhost:5988/root/cimv2:Xen_ComputerSystem
Number of Returned Instances : 1
user time       : 0              child user time   : 0              ut :       0
system time     : 0              child system time : 0              st :       0

--------------------------------------------------------------------------------
Instance                                                           enumInstances
Status : ok
RC     : 1
last executed call : wbemei  http://localhost:5988/root/cimv2:Xen_ComputerSystem
Number of Returned Instances : 1
user time       : 0              child user time   : 0.01           ut :    0.01
system time     : 0              child system time : 0              st :       0

--------------------------------------------------------------------------------
Instance                                                                     get
Status : ok
RC     : 1
last executed call : wbemgi  'http://localhost:5988/root/cimv2:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="Domain-0"'

user time       : 0              child user time   : 0              ut :       0
system time     : 0              child system time : 0.01           st :    0.01

--------------------------------------------------------------------------------
Instance                                                                     set
Status : NOT_SUPPORTED
RC     : 0

--------------------------------------------------------------------------------
Instance                                                                  create
Status : ok - operation returned with NOT_SUPPORTED
RC     : 1
last executed call : wbemci  'http://localhost:5988/root/cimv2:Xen_ComputerSystem.CreationClassName=Xen_ComputerSystem,Name=Xen_ComputerSystem' CreationClassName=Xen_ComputerSystem,Name=Xen_ComputerSystem

user time       : 0              child user time   : 0.01           ut :    0.01
system time     : 0              child system time : 0              st :       0

--------------------------------------------------------------------------------
Instance                                                                  delete
Status : failed - unexpected exception occured - wbemdi: Cim: (6) CIM_ERR_NOT_FOUND: Target instance not found
RC     : 9
last executed call : wbemdi  'http://localhost:5988/root/cimv2:Xen_ComputerSystem.CreationClassName=Xen_ComputerSystem,Name=Xen_ComputerSystem'

--------------------------------------------------------------------------------
Instance                                                               execQuery
Status : NOT_SUPPORTED
RC     : 0


--------------------------------------------------------------------------------
********************************************************************************
Xen_ComputerSystem

Number of Tests where Status ok     : 4
Number of Tests where Status failed : 1
user time       : 0              child user time   : 0.02           ut :    0.02
system time     : 0              child system time : 0.01           st :    0.01

_______________________________________________
Xen-cim mailing list
Xen-cim@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-cim
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-cim] sblim-test files, Szymanski, Lukasz K <=