blob: 7b9aa08a3d836ba9bbcd3786073fe8bacd0d9a9b [file] [log] [blame]
Chetan Gaonkera58c2582017-08-02 00:02:04 +00001ubuntu@cord-rs-s8:~/cord-tester/src/test/setup$ vi ../voltha/volthaTest.py
2ubuntu@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_toggling_olt_verifying_traffic
3# Host [172.17.0.2]:8101 found: line 3 type RSA
4onoscli: eof exception found
5onoscli: logout
6
7Connection to 172.17.0.2 closed.
8
9result.ok, result.status_code are False and 409
10ONOS app cord-config, version 2.0-SNAPSHOT installed
11result.ok, result.status_code are False and 409
12ONOS app aaa, version 2.0-SNAPSHOT installed
13result.ok, result.status_code are False and 409
14ONOS app igmp, version 2.0-SNAPSHOT installed
15Controller IP [u'172.17.0.2'], Test type voltha:voltha_exchange.test_two_subscribers_with_voltha_for_igmp_toggling_olt_verifying_traffic
16Installing cord tester ONOS app /home/ubuntu/cord-tester/src/test/apps/ciena-cordigmp-multitable-3.0-SNAPSHOT.oar
17result.ok, result.status_code are False and 409
18WARNING: The DOCKER_HOST_IP variable is not set. Defaulting to a blank string.
19compose_zookeeper_1 is up-to-date
20compose_fluentd_1 is up-to-date
21compose_consul_1 is up-to-date
22compose_registrator_1 is up-to-date
23compose_kafka_1 is up-to-date
24IP 172.18.0.2 for service consul
25IP 172.18.0.5 for service kafka
26IP 172.18.0.4 for service zookeeper
27IP 172.18.0.6 for service registrator
28IP 172.18.0.3 for service fluentd
29Chameleon voltha sevice is already running. Skipped start
30VOLTHA core is already running. Skipped start
31VOLTHA ofagent is already running. Skipped start
32PONSIM already running. Skipped start
33Radius server running with IP 172.17.0.3
34Running ['voltha:voltha_exchange.test_two_subscribers_with_voltha_for_igmp_toggling_olt_verifying_traffic'] tests across 1 containers in parallel
35Starting test container cord-tester1, image cordtest/nose, tag candidate
36Provisioning the ports for the test container
37
38Running PIPEWORK cmd: pipework pon1_128 -i veth0 -l l1 cord-tester1 192.168.100.1/24
39Running PIPEWORK cmd: pipework ponmgmt -i veth2 -l l2 cord-tester1 192.168.100.2/24
40Running PIPEWORK cmd: pipework pon1_129 -i veth4 -l l3 cord-tester1 192.168.100.3/24
41Running PIPEWORK cmd: pipework pon1_130 -i veth6 -l l4 cord-tester1 192.168.100.4/24
42Running PIPEWORK cmd: pipework pon1_131 -i veth8 -l l5 cord-tester1 192.168.100.5/24
43Running PIPEWORK cmd: pipework pon1_132 -i veth10 -l l6 cord-tester1 192.168.100.6/24
44Running PIPEWORK cmd: pipework pon1_133 -i veth12 -l l7 cord-tester1 192.168.100.7/24
45Running PIPEWORK cmd: pipework pon1_134 -i veth14 -l l8 cord-tester1 192.168.100.8/24
46Running PIPEWORK cmd: pipework pon1_135 -i veth16 -l l9 cord-tester1 192.168.100.9/24
47Running PIPEWORK cmd: pipework pon1_136 -i veth18 -l l10 cord-tester1 192.168.100.10/24
48Running PIPEWORK cmd: pipework pon1_137 -i veth20 -l l11 cord-tester1 192.168.100.11/24
49Running PIPEWORK cmd: pipework pon1_128 -i veth22 -l l12 cord-tester1 192.168.100.12/24
50Running PIPEWORK cmd: pipework pon1_129 -i veth24 -l l13 cord-tester1 192.168.100.13/24
51Running PIPEWORK cmd: pipework pon1_130 -i veth26 -l l14 cord-tester1 192.168.100.14/24
52Running PIPEWORK cmd: pipework pon1_131 -i veth28 -l l15 cord-tester1 192.168.100.15/24
53Running PIPEWORK cmd: pipework pon1_132 -i veth30 -l l16 cord-tester1 192.168.100.16/24
54Running PIPEWORK cmd: pipework pon1_133 -i veth32 -l l17 cord-tester1 192.168.100.17/24
55Running PIPEWORK cmd: pipework pon1_134 -i veth34 -l l18 cord-tester1 192.168.100.18/24
56Running PIPEWORK cmd: pipework pon1_135 -i veth36 -l l19 cord-tester1 192.168.100.19/24
57Running PIPEWORK cmd: pipework pon1_136 -i veth38 -l l20 cord-tester1 192.168.100.20/24
58Running PIPEWORK cmd: pipework pon1_137 -i veth40 -l l21 cord-tester1 192.168.100.21/24
59Running PIPEWORK cmd: pipework pon1_138 -i veth42 -l l22 cord-tester1 192.168.100.22/24
60Modifying scapy tool files before running a test: ['voltha:voltha_exchange.test_two_subscribers_with_voltha_for_igmp_toggling_olt_verifying_traffic']
61Running tests: ['voltha:voltha_exchange.test_two_subscribers_with_voltha_for_igmp_toggling_olt_verifying_traffic']
62WARNING: No route found for IPv6 destination :: (no default route?)
63Connecting to controller at 172.17.0.2
64onoscli: Trying to connect to 172.17.0.2
65Spawning pexpect for ip 172.17.0.2
66ssh connection asked for password, gave password
67Command 'summary -j' sent to onoscli.
68onoscli: eof exception found
69onoscli: logout
70
71Connection to 172.17.0.2 closed.
72
73Installing the multi table app /root/test/src/test/voltha/../apps/ciena-cordigmp-multitable-3.0-SNAPSHOT.oar for subscriber test
74Test Method: ... Enabling ponsim olt
75Pre-provisioning ponsim_olt with address 172.17.0.1:50060
76Enabling device e75d026f30b5
77Checking operational status for device e75d026f30b5
78Installing OLT app
79Adding subscribers through OLT app
80172.17.0.4 - - [01/Aug/2017 10:10:42] "POST /RPC2 HTTP/1.1" 200 -
81Adding group 225.0.0.1
82Adding group 225.0.0.1
83All subscribers have joined the channel
84Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
85All subscribers have joined the channel
86Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
87Subscriber on port veth4 timed out
88Joining channel 0 for subscriber port veth4
89Subscriber on port veth0 timed out
90Restarting olt or onu device e75d026f30b5
91All subscribers have joined the channel
92Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
93Joining channel 0 for subscriber port veth0
94All subscribers have joined the channel
95Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
96Subscriber on port veth4 timed out
97Subscriber on port veth0 timed out
98Joining channel 0 for subscriber port veth4
99All subscribers have joined the channel
100Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
101Joining channel 0 for subscriber port veth0
102All subscribers have joined the channel
103Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
104Subscriber on port veth4 timed out
105Subscriber on port veth0 timed out
106Joining channel 0 for subscriber port veth4
107All subscribers have joined the channel
108Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
109Joining channel 0 for subscriber port veth0
110All subscribers have joined the channel
111Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
112Subscriber on port veth4 timed out
113Subscriber on port veth0 timed out
114Joining channel 0 for subscriber port veth4
115All subscribers have joined the channel
116Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
117Joining channel 0 for subscriber port veth0
118All subscribers have joined the channel
119Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
120Subscriber on port veth4 timed out
121Subscriber on port veth0 timed out
122Joining channel 0 for subscriber port veth4
123All subscribers have joined the channel
124Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
125Joining channel 0 for subscriber port veth0
126All subscribers have joined the channel
127Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
128Subscriber on port veth4 timed out
129Subscriber on port veth0 timed out
130Joining channel 0 for subscriber port veth4
131All subscribers have joined the channel
132Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
133Joining channel 0 for subscriber port veth0
134All subscribers have joined the channel
135Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
136Subscriber on port veth4 timed out
137Subscriber on port veth0 timed out
138Joining channel 0 for subscriber port veth4
139All subscribers have joined the channel
140Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
141Joining channel 0 for subscriber port veth0
142All subscribers have joined the channel
143Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
144Subscriber on port veth4 timed out
145Subscriber on port veth0 timed out
146Joining channel 0 for subscriber port veth4
147All subscribers have joined the channel
148Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
149Joining channel 0 for subscriber port veth0
150All subscribers have joined the channel
151Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
152Subscriber on port veth4 timed out
153Subscriber on port veth0 timed out
154Joining channel 0 for subscriber port veth4
155All subscribers have joined the channel
156Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
157Joining channel 0 for subscriber port veth0
158All subscribers have joined the channel
159Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
160Subscriber on port veth4 timed out
161Subscriber on port veth0 timed out
162Joining channel 0 for subscriber port veth4
163All subscribers have joined the channel
164Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
165Joining channel 0 for subscriber port veth0
166All subscribers have joined the channel
167Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
168Subscriber on port veth4 timed out
169Subscriber on port veth0 timed out
170Joining channel 0 for subscriber port veth4
171This service is failed and other services will not run for this subscriber
172This Subscriber is tested for multiple service eligibility
173Joining channel 0 for subscriber port veth0
174This service is failed and other services will not run for this subscriber
175This Subscriber is tested for multiple service eligibility
176Deleted subscriber for device of:0000000000000001 on port 128
177Deleted subscriber for device of:0000000000000001 on port 129
178Deleted subscriber for device of:0000000000000001 on port 130
179Deleted subscriber for device of:0000000000000001 on port 131
180Deleted subscriber for device of:0000000000000001 on port 132
181Deleted subscriber for device of:0000000000000001 on port 133
182Deleted subscriber for device of:0000000000000001 on port 134
183Deleted subscriber for device of:0000000000000001 on port 135
184Deleted subscriber for device of:0000000000000001 on port 136
185Deleted subscriber for device of:0000000000000001 on port 137
186Deleted subscriber for device of:0000000000000001 on port 138
187Disabling device e75d026f30b5
188Deleting device e75d026f30b5
189Uninstalling OLT app
190Exception in thread Thread-2:
191Traceback (most recent call last):
192 File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
193 self.run()
194 File "/usr/lib/python2.7/threading.py", line 763, in run
195 self.__target(*self.__args, **self.__kwargs)
196 File "/root/test/src/test/voltha/volthaTest.py", line 1444, in voltha_subscribers
197 assert_equal(test_status, True)
198 File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual
199 assertion_func(first, second, msg=msg)
200 File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual
201 raise self.failureException(msg)
202AssertionError: False != True
203
204Unhandled Error
205Traceback (most recent call last):
206 File "/usr/lib/python2.7/threading.py", line 763, in run
207 self.__target(*self.__args, **self.__kwargs)
208 File "/usr/local/lib/python2.7/dist-packages/nose-1.3.7-py2.7.egg/nose/twistedtools.py", line 57, in <lambda>
209 installSignalHandlers=False))
210 File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run
211 self.mainLoop()
212 File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
213 self.runUntilCurrent()
214--- <exception caught here> ---
215 File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent
216 call.func(*call.args, **call.kw)
217 File "/root/test/src/test/voltha/volthaTest.py", line 5157, in igmp_flow_check_operating_olt_admin_restart
218 assert_equal(self.success, True)
219 File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual
220 assertion_func(first, second, msg=msg)
221 File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual
222 raise self.failureException(msg)
223exceptions.AssertionError: False != True
224FAIL
225Installing back the cord igmp app /root/test/src/test/voltha/../apps/ciena-cordigmp-3.0-SNAPSHOT.oar for subscriber test on exit
226
227======================================================================
228FAIL: Test Method:
229----------------------------------------------------------------------
230Traceback (most recent call last):
231 File "/usr/local/lib/python2.7/dist-packages/nose-1.3.7-py2.7.egg/nose/twistedtools.py", line 165, in wrapper
232 % timeout)
233TimeExpired: timeout expired before end of test (300.000000 s.)
234-------------------- >> begin captured stdout << ---------------------
235result.ok, result.status_code are True and 200
236
237--------------------- >> end captured stdout << ----------------------
238-------------------- >> begin captured logging << --------------------
239scapy.runtime: WARNING: No route found for IPv6 destination :: (no default route?)
240docker.auth.auth: DEBUG: Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
241docker.auth.auth: DEBUG: No config file found
242docker.auth.auth: DEBUG: Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
243docker.auth.auth: DEBUG: No config file found
244cordTester: INFO: Connecting to controller at 172.17.0.2
245cordTester: INFO: onoscli: Trying to connect to 172.17.0.2
246onoscli: INFO:
247cordTester: INFO: Spawning pexpect for ip 172.17.0.2
248cordTester: INFO: ssh connection asked for password, gave password
249cordTester: INFO: Command 'summary -j' sent to onoscli.
250cordTester: ERROR: onoscli: eof exception found
251cordTester: ERROR: onoscli: logout
252
253Connection to 172.17.0.2 closed.
254
255cordTester: INFO: Installing the multi table app /root/test/src/test/voltha/../apps/ciena-cordigmp-multitable-3.0-SNAPSHOT.oar for subscriber test
256cordTester: INFO: Enabling ponsim olt
257cordTester: INFO: Pre-provisioning ponsim_olt with address 172.17.0.1:50060
258cordTester: INFO: Enabling device e75d026f30b5
259cordTester: INFO: Checking operational status for device e75d026f30b5
260cordTester: INFO: Installing OLT app
261cordTester: INFO: Adding subscribers through OLT app
262cordTester: DEBUG: Adding group 225.0.0.1
263cordTester: DEBUG: Adding group 225.0.0.1
264cordTester: INFO: All subscribers have joined the channel
265cordTester: INFO: Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
266cordTester: INFO: All subscribers have joined the channel
267cordTester: INFO: Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
268cordTester: INFO: Subscriber on port veth4 timed out
269cordTester: INFO: Joining channel 0 for subscriber port veth4
270cordTester: INFO: Subscriber on port veth0 timed out
271cordTester: INFO: Restarting olt or onu device e75d026f30b5
272cordTester: INFO: All subscribers have joined the channel
273cordTester: INFO: Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
274cordTester: INFO: Joining channel 0 for subscriber port veth0
275cordTester: INFO: All subscribers have joined the channel
276cordTester: INFO: Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
277cordTester: INFO: Subscriber on port veth4 timed out
278cordTester: INFO: Subscriber on port veth0 timed out
279cordTester: INFO: Joining channel 0 for subscriber port veth4
280cordTester: INFO: All subscribers have joined the channel
281cordTester: INFO: Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
282cordTester: INFO: Joining channel 0 for subscriber port veth0
283cordTester: INFO: All subscribers have joined the channel
284cordTester: INFO: Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
285cordTester: INFO: Subscriber on port veth4 timed out
286cordTester: INFO: Subscriber on port veth0 timed out
287cordTester: INFO: Joining channel 0 for subscriber port veth4
288cordTester: INFO: All subscribers have joined the channel
289cordTester: INFO: Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
290cordTester: INFO: Joining channel 0 for subscriber port veth0
291cordTester: INFO: All subscribers have joined the channel
292cordTester: INFO: Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
293cordTester: INFO: Subscriber on port veth4 timed out
294cordTester: INFO: Subscriber on port veth0 timed out
295cordTester: INFO: Joining channel 0 for subscriber port veth4
296cordTester: INFO: All subscribers have joined the channel
297cordTester: INFO: Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
298cordTester: INFO: Joining channel 0 for subscriber port veth0
299cordTester: INFO: All subscribers have joined the channel
300cordTester: INFO: Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
301cordTester: INFO: Subscriber on port veth4 timed out
302cordTester: INFO: Subscriber on port veth0 timed out
303cordTester: INFO: Joining channel 0 for subscriber port veth4
304cordTester: INFO: All subscribers have joined the channel
305cordTester: INFO: Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
306cordTester: INFO: Joining channel 0 for subscriber port veth0
307cordTester: INFO: All subscribers have joined the channel
308cordTester: INFO: Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
309cordTester: INFO: Subscriber on port veth4 timed out
310cordTester: INFO: Subscriber on port veth0 timed out
311cordTester: INFO: Joining channel 0 for subscriber port veth4
312cordTester: INFO: All subscribers have joined the channel
313cordTester: INFO: Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
314cordTester: INFO: Joining channel 0 for subscriber port veth0
315cordTester: INFO: All subscribers have joined the channel
316cordTester: INFO: Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
317cordTester: INFO: Subscriber on port veth4 timed out
318cordTester: INFO: Subscriber on port veth0 timed out
319cordTester: INFO: Joining channel 0 for subscriber port veth4
320cordTester: INFO: All subscribers have joined the channel
321cordTester: INFO: Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
322cordTester: INFO: Joining channel 0 for subscriber port veth0
323cordTester: INFO: All subscribers have joined the channel
324cordTester: INFO: Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
325cordTester: INFO: Subscriber on port veth4 timed out
326cordTester: INFO: Subscriber on port veth0 timed out
327cordTester: INFO: Joining channel 0 for subscriber port veth4
328cordTester: INFO: All subscribers have joined the channel
329cordTester: INFO: Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
330cordTester: INFO: Joining channel 0 for subscriber port veth0
331cordTester: INFO: All subscribers have joined the channel
332cordTester: INFO: Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
333cordTester: INFO: Subscriber on port veth4 timed out
334cordTester: INFO: Subscriber on port veth0 timed out
335cordTester: INFO: Joining channel 0 for subscriber port veth4
336cordTester: INFO: All subscribers have joined the channel
337cordTester: INFO: Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
338cordTester: INFO: Joining channel 0 for subscriber port veth0
339cordTester: INFO: All subscribers have joined the channel
340cordTester: INFO: Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
341cordTester: INFO: Subscriber on port veth4 timed out
342cordTester: INFO: Subscriber on port veth0 timed out
343cordTester: INFO: Joining channel 0 for subscriber port veth4
344cordTester: INFO: All subscribers have joined the channel
345cordTester: INFO: Subscriber on port veth4 checking data traffic receiving from group 225.0.0.1, channel 0
346cordTester: INFO: Joining channel 0 for subscriber port veth0
347cordTester: INFO: All subscribers have joined the channel
348cordTester: INFO: Subscriber on port veth0 checking data traffic receiving from group 225.0.0.1, channel 0
349cordTester: INFO: Subscriber on port veth4 timed out
350cordTester: INFO: Subscriber on port veth0 timed out
351cordTester: INFO: Joining channel 0 for subscriber port veth4
352cordTester: INFO: This service is failed and other services will not run for this subscriber
353cordTester: INFO: This Subscriber is tested for multiple service eligibility
354cordTester: INFO: Joining channel 0 for subscriber port veth0
355cordTester: INFO: This service is failed and other services will not run for this subscriber
356cordTester: INFO: This Subscriber is tested for multiple service eligibility
357cordTester: INFO: Deleted subscriber for device of:0000000000000001 on port 128
358cordTester: INFO: Deleted subscriber for device of:0000000000000001 on port 129
359cordTester: INFO: Deleted subscriber for device of:0000000000000001 on port 130
360cordTester: INFO: Deleted subscriber for device of:0000000000000001 on port 131
361cordTester: INFO: Deleted subscriber for device of:0000000000000001 on port 132
362cordTester: INFO: Deleted subscriber for device of:0000000000000001 on port 133
363cordTester: INFO: Deleted subscriber for device of:0000000000000001 on port 134
364cordTester: INFO: Deleted subscriber for device of:0000000000000001 on port 135
365cordTester: INFO: Deleted subscriber for device of:0000000000000001 on port 136
366cordTester: INFO: Deleted subscriber for device of:0000000000000001 on port 137
367cordTester: INFO: Deleted subscriber for device of:0000000000000001 on port 138
368cordTester: INFO: Disabling device e75d026f30b5
369cordTester: INFO: Deleting device e75d026f30b5
370cordTester: INFO: Uninstalling OLT app
371--------------------- >> end captured logging << ---------------------
372
373----------------------------------------------------------------------
374Ran 1 test in 324.048s
375
376FAILED (failures=1)
377Test volthaTest.py:voltha_exchange.test_two_subscribers_with_voltha_for_igmp_toggling_olt_verifying_traffic Failure
378Done running tests
379Removing test container cord-tester1
380ubuntu@cord-rs-s8:~/cord-tester/src/test/setup$
381