Re: Problems with CSIT_Test code


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

Hi Baohua,

 

I tried again, follow is my steps:

0/ modify controller default ip in ‘restlib.py’ file.

1/start controller(IP 10.125.136.52)  $sudo ./run.sh

2/start mininet    $ sudo mn --controller=remote,ip=10.125.136.52 --mac --topo tree,2

3/add gateway 10.0.0.254/24 in web UI.

4/execute ‘h1 ping h2’ at mininet prompt. And succeed.

 

Finally, run ‘python run.py > /log.log’ under base directory. The newest log as follows:

 

FYI, I browsed the code of ‘forwarding_rule_manager.py’ and found that initially expect current flow table is empty. I think this may not be true. Because I can see 2 flows in node 2 through web UI.

 

Thanks/Guangpeng

 

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

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

From: Baohua Yang [mailto:yangbaohua@...]
Sent: Thursday, November 07, 2013 4:22 PM
To: Liguangpeng (Roc, IPTechnologyResearchDept&HW)
Cc: integration-dev@...
Subject: Re: Problems with CSIT_Test code

 

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.