blob: a666bfbf598adfe9fd807d7035cc4055793c087c [file] [log] [blame]
Chetan Gaonkera58c2582017-08-02 00:02:04 +00001ubuntu@cord-rs-s8:~/cord-tester/src/test/setup$ sudo ./cord-test.py run -m manifest-ponsim.json -t voltha:voltha_exchange.test_two_subscribers_with_voltha_for_igmp_disabling_olt_verifying_traffic
2# Host [172.17.0.2]:8101 found: line 3 type RSA
3onoscli: eof exception found
4onoscli: logout
5
6Connection to 172.17.0.2 closed.
7
8result.ok, result.status_code are False and 409
9ONOS app cord-config, version 2.0-SNAPSHOT installed
10result.ok, result.status_code are False and 409
11ONOS app aaa, version 2.0-SNAPSHOT installed
12result.ok, result.status_code are False and 409
13ONOS app igmp, version 2.0-SNAPSHOT installed
14Controller IP [u'172.17.0.2'], Test type voltha:voltha_exchange.test_two_subscribers_with_voltha_for_igmp_disabling_olt_verifying_traffic
15Installing cord tester ONOS app /home/ubuntu/cord-tester/src/test/apps/ciena-cordigmp-multitable-3.0-SNAPSHOT.oar
16result.ok, result.status_code are False and 409
17WARNING: The DOCKER_HOST_IP variable is not set. Defaulting to a blank string.
18compose_zookeeper_1 is up-to-date
19compose_fluentd_1 is up-to-date
20compose_consul_1 is up-to-date
21compose_registrator_1 is up-to-date
22compose_kafka_1 is up-to-date
23IP 172.18.0.2 for service consul
24IP 172.18.0.5 for service kafka
25IP 172.18.0.4 for service zookeeper
26IP 172.18.0.6 for service registrator
27IP 172.18.0.3 for service fluentd
28Chameleon voltha sevice is already running. Skipped start
29VOLTHA core is already running. Skipped start
30VOLTHA ofagent is already running. Skipped start
31PONSIM already running. Skipped start
32Radius server running with IP 172.17.0.3
33Running ['voltha:voltha_exchange.test_two_subscribers_with_voltha_for_igmp_disabling_olt_verifying_traffic'] tests across 1 containers in parallel
34Starting test container cord-tester1, image cordtest/nose, tag candidate
35Provisioning the ports for the test container
36
37Running PIPEWORK cmd: pipework pon1_128 -i veth0 -l l1 cord-tester1 192.168.100.1/24
38Running PIPEWORK cmd: pipework ponmgmt -i veth2 -l l2 cord-tester1 192.168.100.2/24
39Running PIPEWORK cmd: pipework pon1_129 -i veth4 -l l3 cord-tester1 192.168.100.3/24
40Running PIPEWORK cmd: pipework pon1_130 -i veth6 -l l4 cord-tester1 192.168.100.4/24
41Running PIPEWORK cmd: pipework pon1_131 -i veth8 -l l5 cord-tester1 192.168.100.5/24
42Running PIPEWORK cmd: pipework pon1_132 -i veth10 -l l6 cord-tester1 192.168.100.6/24
43Running PIPEWORK cmd: pipework pon1_133 -i veth12 -l l7 cord-tester1 192.168.100.7/24
44Running PIPEWORK cmd: pipework pon1_134 -i veth14 -l l8 cord-tester1 192.168.100.8/24
45Running PIPEWORK cmd: pipework pon1_135 -i veth16 -l l9 cord-tester1 192.168.100.9/24
46Running PIPEWORK cmd: pipework pon1_136 -i veth18 -l l10 cord-tester1 192.168.100.10/24
47Running PIPEWORK cmd: pipework pon1_137 -i veth20 -l l11 cord-tester1 192.168.100.11/24
48Running PIPEWORK cmd: pipework pon1_128 -i veth22 -l l12 cord-tester1 192.168.100.12/24
49Running PIPEWORK cmd: pipework pon1_129 -i veth24 -l l13 cord-tester1 192.168.100.13/24
50Running PIPEWORK cmd: pipework pon1_130 -i veth26 -l l14 cord-tester1 192.168.100.14/24
51Running PIPEWORK cmd: pipework pon1_131 -i veth28 -l l15 cord-tester1 192.168.100.15/24
52Running PIPEWORK cmd: pipework pon1_132 -i veth30 -l l16 cord-tester1 192.168.100.16/24
53Running PIPEWORK cmd: pipework pon1_133 -i veth32 -l l17 cord-tester1 192.168.100.17/24
54Running PIPEWORK cmd: pipework pon1_134 -i veth34 -l l18 cord-tester1 192.168.100.18/24
55Running PIPEWORK cmd: pipework pon1_135 -i veth36 -l l19 cord-tester1 192.168.100.19/24
56Running PIPEWORK cmd: pipework pon1_136 -i veth38 -l l20 cord-tester1 192.168.100.20/24
57Running PIPEWORK cmd: pipework pon1_137 -i veth40 -l l21 cord-tester1 192.168.100.21/24
58Running PIPEWORK cmd: pipework pon1_138 -i veth42 -l l22 cord-tester1 192.168.100.22/24
59Modifying scapy tool files before running a test: ['voltha:voltha_exchange.test_two_subscribers_with_voltha_for_igmp_disabling_olt_verifying_traffic']
60Running tests: ['voltha:voltha_exchange.test_two_subscribers_with_voltha_for_igmp_disabling_olt_verifying_traffic']
61WARNING: No route found for IPv6 destination :: (no default route?)
62Connecting to controller at 172.17.0.2
63onoscli: Trying to connect to 172.17.0.2
64Spawning pexpect for ip 172.17.0.2
65ssh connection asked for password, gave password
66Command 'summary -j' sent to onoscli.
67onoscli: eof exception found
68onoscli: logout
69
70Connection to 172.17.0.2 closed.
71
72Installing the multi table app /root/test/src/test/voltha/../apps/ciena-cordigmp-multitable-3.0-SNAPSHOT.oar for subscriber test
73Test Method: ... Enabling ponsim olt
74Pre-provisioning ponsim_olt with address 172.17.0.1:50060
75Enabling device e147e595aa6e
76Checking operational status for device e147e595aa6e
77Installing OLT app
78Adding subscribers through OLT app
79172.17.0.4 - - [01/Aug/2017 09:57:54] "POST /RPC2 HTTP/1.1" 200 -
80Adding group 225.0.0.1
81Adding group 225.0.0.1
82All subscribers have joined the channel
83Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
84All subscribers have joined the channel
85Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
86Subscriber on port veth4 timed out
87Leaving channel 0 for subscriber on port veth4
88Disabling device e147e595aa6e
89Subscriber on port veth0 timed out
90Leaving channel 0 for subscriber on port veth0
91Interface veth4 Join RX stats for subscriber, Avg 0.000 usecs, Std deviation 0.000 usecs, Min 0.000, Max 0.000 for 1 packets
92
93Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
94Interface veth0 Join RX stats for subscriber, Avg 0.000 usecs, Std deviation 0.000 usecs, Min 0.000, Max 0.000 for 1 packets
95
96Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
97Subscriber on port veth4 timed out
98Subscriber on port veth4 not received 0 packets
99Joining channel 0 for subscriber port veth4
100Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
101Subscriber on port veth0 timed out
102Subscriber on port veth0 not received 0 packets
103Joining channel 0 for subscriber port veth0
104Subscriber on port veth4 timed out
105Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
106Leaving channel 0 for subscriber on port veth4
107Subscriber on port veth0 timed out
108Leaving channel 0 for subscriber on port veth0
109Interface veth4 Join RX stats for subscriber, Avg 0.000 usecs, Std deviation 0.000 usecs, Min 0.000, Max 0.000 for 1 packets
110
111Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
112Interface veth0 Join RX stats for subscriber, Avg 0.000 usecs, Std deviation 0.000 usecs, Min 0.000, Max 0.000 for 1 packets
113
114Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
115Subscriber on port veth4 timed out
116Subscriber on port veth4 not received 0 packets
117Joining channel 0 for subscriber port veth4
118This service is failed and other services will not run for this subscriber
119This Subscriber is tested for multiple service eligibility
120Subscriber on port veth0 timed out
121Subscriber on port veth0 not received 0 packets
122Joining channel 0 for subscriber port veth0
123This service is failed and other services will not run for this subscriber
124This Subscriber is tested for multiple service eligibility
125Deleted subscriber for device of:0000000000000001 on port 128
126Deleted subscriber for device of:0000000000000001 on port 129
127Deleted subscriber for device of:0000000000000001 on port 130
128Deleted subscriber for device of:0000000000000001 on port 131
129Deleted subscriber for device of:0000000000000001 on port 132
130Deleted subscriber for device of:0000000000000001 on port 133
131Deleted subscriber for device of:0000000000000001 on port 134
132Deleted subscriber for device of:0000000000000001 on port 135
133Deleted subscriber for device of:0000000000000001 on port 136
134Deleted subscriber for device of:0000000000000001 on port 137
135Deleted subscriber for device of:0000000000000001 on port 138
136Disabling device e147e595aa6e
137Uninstalling OLT app
138Exception in thread Thread-2:
139Traceback (most recent call last):
140 File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
141 self.run()
142 File "/usr/lib/python2.7/threading.py", line 763, in run
143 self.__target(*self.__args, **self.__kwargs)
144 File "/root/test/src/test/voltha/volthaTest.py", line 1444, in voltha_subscribers
145 assert_equal(test_status, True)
146 File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual
147 assertion_func(first, second, msg=msg)
148 File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual
149 raise self.failureException(msg)
150AssertionError: False != True
151
152Igmp flow check expected to fail during olt device is disabled, so ignored test_status of this test
153ok
154Installing back the cord igmp app /root/test/src/test/voltha/../apps/ciena-cordigmp-3.0-SNAPSHOT.oar for subscriber test on exit
155
156----------------------------------------------------------------------
157Ran 1 test in 121.717s
158
159OK
160Test volthaTest.py:voltha_exchange.test_two_subscribers_with_voltha_for_igmp_disabling_olt_verifying_traffic Success
161Done running tests
162Removing test container cord-tester1
163ubuntu@cord-rs-s8:~/cord-tester/src/test/setup$
164