Menu

#846 sblim-test association bug

Function
open
Test (37)
5
2007-07-11
2007-06-07
LukeS
No

I work in the Xen CIM group and have recently added some tests for our providers using the sblim-test suite.

I am running the interface test for associations. In some cases an association like e.g. Xen_MemoryElementSettingData, has the source and target classes Xen_MemorySettingData. The associations/associatorNames fail, however, this is a legal setup.

Discussion

  • LukeS

    LukeS - 2007-06-07

    association provider test results

     
  • Heidi Eckhart

    Heidi Eckhart - 2007-06-14

    Logged In: YES
    user_id=1206169
    Originator: NO

    Luke, please also attach the cim/Xen_MemoryElementSettingData.cim and stat/Xen_MemoryElementSettingData.cim files. Thanks ... Heidi

     
  • LukeS

    LukeS - 2007-06-14

    Xen_MemoryElementSettingData.cim

     
  • LukeS

    LukeS - 2007-06-14

    Logged In: YES
    user_id=1811463
    Originator: YES

    File Added: Xen_MemoryElementSettingData.cim

     
  • LukeS

    LukeS - 2007-06-14

    Xen_MemoryElementSettingData.cim.stat

     
  • LukeS

    LukeS - 2007-06-14

    Logged In: YES
    user_id=1811463
    Originator: YES

    File Added: Xen_MemoryElementSettingData.cim.stat

     
  • Heidi Eckhart

    Heidi Eckhart - 2007-06-15

    Logged In: YES
    user_id=1206169
    Originator: NO

    Luke, please can you provide the result of the following command ?
    wbemai -ac Xen_MemoryElementSettingData 'http://localhost:5988/root/cimv2:Xen_MemoryCapabilitiesSettingData.InstanceID="Minimum"'
    thanks

     
  • LukeS

    LukeS - 2007-06-20

    Logged In: YES
    user_id=1811463
    Originator: YES

    Heidi - here it is.

    wbemai -ac Xen_MemoryElementSettingData 'http://localhost:5988/root/cimv2:Xen_MemoryCapabilitiesSettingData.InstanceID="Minimum"'
    localhost:5988/root/cimv2:Xen_MemoryCapabilitiesSettingData.InstanceID="Minimum" ResourceType=3,OtherResourceType,ResourceSubType,PoolID,ConsumerVisibility,HostResource,AllocationUnits="Bytes",VirtualQuantity,Reservation=16777216,Limit=16777216,Weight,AutomaticAllocation,AutomaticDeallocation,Parent,Connection,Address,MappingBehavior,InstanceID="Minimum",ElementName,Caption,Description,Quantity=16777216,Virtualized=false,Mutable=true

    Thanks,
    Luke

     
  • Heidi Eckhart

    Heidi Eckhart - 2007-06-21
    • assigned_to: nobody --> heidineu
     
  • Heidi Eckhart

    Heidi Eckhart - 2007-06-21

    Logged In: YES
    user_id=1206169
    Originator: NO

    Luke,
    please can you verify if the sourceClass and targetClass names are correctly defined in the cim/Xen_MemoryElementSettingData.cim file ?
    Regarding to the executed call it should be Xen_MemoryCapabilitiesSettingData instead of Xen_MemorySettingData.
    In the case of Xen_MemoryCapabilitiesSettingData is derived from Xen_MemorySettingData, then a list of valid class names can be configured by:
    sourceClass : Xen_MemorySettingData Xen_MemoryCapabilitiesSettingData
    targetClass : Xen_MemorySettingData Xen_MemoryCapabilitiesSettingData
    Thanks ... Heidi

     
  • LukeS

    LukeS - 2007-06-26

    Logged In: YES
    user_id=1811463
    Originator: YES

    Heidi -

    I verified the source and target classes for Xen_MemoryElementSettingData and they are correct. I am not sure I follow you when you say "Regarding to the executed call it should be
    Xen_MemoryCapabilitiesSettingData instead of Xen_MemorySettingData." However, MemoryCapabilitiesSettingData is derived from Xen_MemorySettingData.

    I tried the sourceClass : Xen_MemorySettingData Xen_MemoryCapabilitiesSettingData etc. approach and it did not work - I am attaching the file from the stat directory.

    Thanks,
    Luke
    File Added: Xen_MemoryElementSettingData.cim2

     
  • LukeS

    LukeS - 2007-06-26

    Xen_MemoryElementSettingData.cim from stat

     
  • Heidi Eckhart

    Heidi Eckhart - 2007-07-11

    Logged In: YES
    user_id=1206169
    Originator: NO

    Luke,
    sorry for the late reply. I can confirm that this is a bug in the testsuite. It does not handle the list of class names correct. As fixing this is a bigger effort and I am completely busy with a new job, I will assign this bug report to Tyrel.

    Tyrel,
    please can you help me and have a look into it ? I would like to fix it, but have no chance to spend the effort. Many Thanks !

     
  • Heidi Eckhart

    Heidi Eckhart - 2007-07-11
    • assigned_to: heidineu --> tyreld
     

Log in to post a comment.