Re: Problems with CSIT_Test code


Baohua Yang <yangbaohua@...>
 

Hi guangpeng.
    Do you follow the instructions exactly? And is the controller runing at linux platform?
    Seems the controller does not response normally.
    Can you do a clean run (just start controller and start mininet as wikipage indicates) again and let me know your output?
    And, all code is in the base/ directory. The function will try flow operations, such as adding a new flow.
    Thanks!


On Thu, Nov 7, 2013 at 4:12 PM, Liguangpeng (Roc, IPTechnologyResearchDept&HW) <guangpeng.li@...> wrote:

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




--
Best wishes!
Baohua

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