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 “ |
|
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:
Best wishes! Baohua |
|
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 “
-- |
|
Luis Gomez <luis.gomez@...>
Skip steps 3 & 4 and it will work.
From: integration-dev-bounces@... [mailto:integration-dev-bounces@...]
On Behalf Of Liguangpeng (Roc, IPTechnologyResearchDept&HW)
Sent: Thursday, November 07, 2013 12:58 AM To: Baohua Yang Cc: integration-dev@... Subject: Re: [integration-dev] Problems with CSIT_Test code
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@...]
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 “
-- |
|
Baohua Yang <yangbaohua@...>
Please follow the instructions at https://wiki.opendaylight.org/index.php?title=CrossProject:Integration_Group:CSIT_Test_Tools.
There are no requirements on step 3) and 4) currently, thanks! On Thu, Nov 7, 2013 at 4:58 PM, Liguangpeng (Roc, IPTechnologyResearchDept&HW) <guangpeng.li@...> wrote:
Best wishes! Baohua |
|
Liguangpeng (Roc, IPTechnologyResearchDept&HW) <guangpeng.li@...>
Yes, It works. And I updated the wiki (https://wiki.opendaylight.org/view/CrossProject:Integration_Group:CSIT_Test_Tools) by adding step1 . Baohua can check it and correct it if necessary.
BR/Guangpeng
From: Luis Gomez [mailto:luis.gomez@...]
Sent: Thursday, November 07, 2013 5:13 PM To: Liguangpeng (Roc, IPTechnologyResearchDept&HW); Baohua Yang Cc: integration-dev@... Subject: RE: Problems with CSIT_Test code
Skip steps 3 & 4 and it will work.
From:
integration-dev-bounces@... [mailto:integration-dev-bounces@...]
On Behalf Of Liguangpeng (Roc, IPTechnologyResearchDept&HW)
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@...]
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 “
-- |
|
Baohua Yang <yangbaohua@...>
Thanks guangpeng! Welcome for further improvement! On Thu, Nov 7, 2013 at 5:25 PM, Liguangpeng (Roc, IPTechnologyResearchDept&HW) <guangpeng.li@...> wrote:
Best wishes! Baohua |
|