Problems with CSIT_Test code


Liguangpeng (Roc, IPTechnologyResearchDept&HW) <guangpeng.li@...>
 

Hi Baohua,

I try to run the code following the wiki at https://wiki.opendaylight.org/view/CrossProject:Integration_Group:CSIT_Test_Tools , finally, I got some failures as follows. Can you tell me where is File ‘forwarding_rule_manager.py’ and what the function ‘ForwardingRuleManager().test_flow_operations’ do ?

 

Thanks J

**********************************************************************

File "forwarding_rule_manager.py", line 45, in forwarding_rule_manager.ForwardingRuleManager.test_flow_operations

Failed example:

    ForwardingRuleManager().test_flow_operations('OF','00:00:00:00:00:00:00:02','flow1',body)

Expected:

    True

Got:

    False

**********************************************************************

File "forwarding_rule_manager.py", line 48, in forwarding_rule_manager.ForwardingRuleManager.test_flow_operations

Failed example:

    ForwardingRuleManager().test_flow_operations('OF','00:00:00:00:00:00:00:02','flow2',body)

Expected:

    True

Got:

    False

**********************************************************************

1 items had failures:

   2 of   4 in forwarding_rule_manager.ForwardingRuleManager.test_flow_operations

***Test Failed*** 2 failures.

**********************************************************************

File "arp_handler.py", line 48, in arp_handler.ArpHandler.test_subnet_operations

Failed example:

    ArpHandler().test_subnet_operations('test',{'name':'test','subnet':'10.0.0.254/8'})

Expected:

    True

Got:

    False

**********************************************************************

1 items had failures:

   1 of   1 in arp_handler.ArpHandler.test_subnet_operations

***Test Failed*** 1 failures.

#Test case: switch manager

#Test case: topology manager

#Test case: forwarding rule manager

#Test case: statistics manager

#Test case: host tracker

#Test case: arp handler

#Test case: forwarding manager

#Test case: container manager

Join {integration-dev@lists.opendaylight.org to automatically receive all group messages.