blob: c1cd49b0c9fb74e43a1120a4a809c8481adbaee6 [file] [log] [blame]
Thangavelu K Sd4d954f2017-10-12 20:05:30 +00001ubuntu@olt-tester:~/cord-tester/src/test/setup$
2ubuntu@olt-tester:~/cord-tester/src/test/setup$ ./voltha-test.py --test-type=dhcpl2relay:dhcpl2relay_exchange.test_dhcpl2relay_with_wrong_serial_id_of_olt --manifest=manifest-olt-voltha-local.json --voltha-host=10.70.47.64 --olt-type=tibit-olt --olt-arg=00:0c:e2:31:05:00 --disable-cleanup --disable-teardown
3Starting CordTester Web Server
4 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
5 * Restarting with stat
6 * Debugger is active!
7 * Debugger PIN: 718-316-938
8WARNING: No route found for IPv6 destination :: (no default route?)
9Cleaning up existing cluster volumes
10Onos IP 10.70.47.64
11Installing ONOS cord apps
12# Host [10.70.47.64]:8101 found: line 5
13/root/.ssh/known_hosts updated.
14Original contents retained as /root/.ssh/known_hosts.old
15onoscli: eof exception found
16onoscli: logout
17
18Connection to 10.70.47.64 closed.
19
20result.ok, result.status_code are False and 409
21ONOS app cord-config, version 3.0-SNAPSHOT installed
22result.ok, result.status_code are False and 409
23ONOS app sadis-app, version 3.0-SNAPSHOT installed
24result.ok, result.status_code are False and 409
25ONOS app olt-app, version 3.0-SNAPSHOT installed
26result.ok, result.status_code are False and 409
27ONOS app aaa, version 3.0-SNAPSHOT installed
28result.ok, result.status_code are False and 409
29ONOS app igmp, version 3.0-SNAPSHOT installed
30Installing cord tester ONOS app /home/ubuntu/cord-tester/src/test/apps/ciena-cordigmp-multitable-3.0-SNAPSHOT.oar
31result.ok, result.status_code are False and 409
32Radius server running with IP 11.0.0.3
33Provisioning the ports for the test container
34
35Running PIPEWORK cmd: pipework enp1s0f0 -i veth0 -l l1 cord-tester1 192.168.100.1/24 02:03:04:00:00:01
36RTNETLINK answers: File exists
37Running PIPEWORK cmd: pipework enp1s0f0 -i veth2 -l l2 cord-tester1 192.168.100.2/24 02:03:04:00:00:02
38RTNETLINK answers: File exists
39Running PIPEWORK cmd: pipework enp1s0f0 -i veth4 -l l3 cord-tester1 192.168.100.3/24 02:03:04:00:00:03
40RTNETLINK answers: File exists
41Running PIPEWORK cmd: pipework enp1s0f0 -i veth6 -l l4 cord-tester1 192.168.100.4/24 02:03:04:00:00:04
42RTNETLINK answers: File exists
43Running PIPEWORK cmd: pipework enp1s0f0 -i veth8 -l l5 cord-tester1 192.168.100.5/24 02:03:04:00:00:05
44RTNETLINK answers: File exists
45Running PIPEWORK cmd: pipework enp1s0f0 -i veth10 -l l6 cord-tester1 192.168.100.6/24 02:03:04:00:00:06
46RTNETLINK answers: File exists
47Running PIPEWORK cmd: pipework enp1s0f0 -i veth12 -l l7 cord-tester1 192.168.100.7/24 02:03:04:00:00:07
48RTNETLINK answers: File exists
49Running PIPEWORK cmd: pipework enp1s0f0 -i veth14 -l l8 cord-tester1 192.168.100.8/24 02:03:04:00:00:08
50RTNETLINK answers: File exists
51Running PIPEWORK cmd: pipework enp1s0f0 -i veth16 -l l9 cord-tester1 192.168.100.9/24 02:03:04:00:00:09
52RTNETLINK answers: File exists
53Running PIPEWORK cmd: pipework enp1s0f0 -i veth18 -l l10 cord-tester1 192.168.100.10/24 02:03:04:00:00:0a
54RTNETLINK answers: File exists
55Running PIPEWORK cmd: pipework enp1s0f0 -i veth20 -l l11 cord-tester1 192.168.100.11/24 02:03:04:00:00:0b
56RTNETLINK answers: File exists
57Running PIPEWORK cmd: pipework enp1s0f0 -i veth22 -l l12 cord-tester1 192.168.100.12/24 02:03:04:00:00:0c
58RTNETLINK answers: File exists
59Running PIPEWORK cmd: pipework enp1s0f0 -i veth24 -l l13 cord-tester1 192.168.100.13/24 02:03:04:00:00:0d
60RTNETLINK answers: File exists
61Running PIPEWORK cmd: pipework enp1s0f0 -i veth26 -l l14 cord-tester1 192.168.100.14/24 02:03:04:00:00:0e
62RTNETLINK answers: File exists
63Running PIPEWORK cmd: pipework enp1s0f0 -i veth28 -l l15 cord-tester1 192.168.100.15/24 02:03:04:00:00:0f
64RTNETLINK answers: File exists
65Running PIPEWORK cmd: pipework enp1s0f0 -i veth30 -l l16 cord-tester1 192.168.100.16/24 02:03:04:00:00:10
66RTNETLINK answers: File exists
67Running PIPEWORK cmd: pipework enp1s0f0 -i veth32 -l l17 cord-tester1 192.168.100.17/24 02:03:04:00:00:11
68RTNETLINK answers: File exists
69Running PIPEWORK cmd: pipework enp1s0f0 -i veth34 -l l18 cord-tester1 192.168.100.18/24 02:03:04:00:00:12
70RTNETLINK answers: File exists
71Running PIPEWORK cmd: pipework enp1s0f0 -i veth36 -l l19 cord-tester1 192.168.100.19/24 02:03:04:00:00:13
72RTNETLINK answers: File exists
73Running PIPEWORK cmd: pipework enp1s0f0 -i veth38 -l l20 cord-tester1 192.168.100.20/24 02:03:04:00:00:14
74RTNETLINK answers: File exists
75Running PIPEWORK cmd: pipework enp1s0f0 -i veth40 -l l21 cord-tester1 192.168.100.21/24 02:03:04:00:00:15
76RTNETLINK answers: File exists
77Running PIPEWORK cmd: pipework enp1s0f0 -i veth42 -l l22 cord-tester1 192.168.100.22/24 02:03:04:00:00:16
78RTNETLINK answers: File exists
79Running PIPEWORK cmd: pipework enp1s0f0 -i veth44 -l l23 cord-tester1 192.168.100.23/24 02:03:04:00:00:17
80RTNETLINK answers: File exists
81Running PIPEWORK cmd: pipework enp1s0f0 -i veth46 -l l24 cord-tester1 192.168.100.24/24 02:03:04:00:00:18
82RTNETLINK answers: File exists
83Running PIPEWORK cmd: pipework enp1s0f0 -i veth48 -l l25 cord-tester1 192.168.100.25/24
84RTNETLINK answers: File exists
85Running PIPEWORK cmd: pipework enp1s0f0 -i veth50 -l l26 cord-tester1 192.168.100.26/24
86RTNETLINK answers: File exists
87Running PIPEWORK cmd: pipework enp1s0f0 -i veth52 -l l27 cord-tester1 192.168.100.27/24
88RTNETLINK answers: File exists
89Running PIPEWORK cmd: pipework enp1s0f0 -i veth54 -l l28 cord-tester1 192.168.100.28/24
90RTNETLINK answers: File exists
91Running PIPEWORK cmd: pipework enp1s0f0 -i veth56 -l l29 cord-tester1 192.168.100.29/24
92RTNETLINK answers: File exists
93Running PIPEWORK cmd: pipework enp1s0f0 -i veth58 -l l30 cord-tester1 192.168.100.30/24
94RTNETLINK answers: File exists
95Running PIPEWORK cmd: pipework enp1s0f0 -i veth60 -l l31 cord-tester1 192.168.100.31/24
96RTNETLINK answers: File exists
97Running PIPEWORK cmd: pipework enp1s0f0 -i veth62 -l l32 cord-tester1 192.168.100.32/24
98RTNETLINK answers: File exists
99Running PIPEWORK cmd: pipework enp1s0f0 -i veth64 -l l33 cord-tester1 192.168.100.33/24
100RTNETLINK answers: File exists
101Running PIPEWORK cmd: pipework enp1s0f0 -i veth66 -l l34 cord-tester1 192.168.100.34/24
102RTNETLINK answers: File exists
103Running PIPEWORK cmd: pipework enp1s0f0 -i veth68 -l l35 cord-tester1 192.168.100.35/24
104RTNETLINK answers: File exists
105Running PIPEWORK cmd: pipework enp1s0f0 -i veth70 -l l36 cord-tester1 192.168.100.36/24
106RTNETLINK answers: File exists
107Provisioning guest port vcpe0 for cord-tester1 with host port: enp1s0f0, s_tag: 222, c_tag: 111
108
109RTNETLINK answers: File exists
110Provisioning guest port vcpe1 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 304
111
112RTNETLINK answers: File exists
113Provisioning guest port vcpe2 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 305
114
115RTNETLINK answers: File exists
116Provisioning guest port vcpe3 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 306
117
118RTNETLINK answers: File exists
119Provisioning guest port vcpe4 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 307
120
121RTNETLINK answers: File exists
122Provisioning guest port vcpe5 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 308
123
124RTNETLINK answers: File exists
125Provisioning guest port vcpe6 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 309
126
127RTNETLINK answers: File exists
128Provisioning guest port vcpe7 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 310
129
130RTNETLINK answers: File exists
131Provisioning guest port vcpe8 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 311
132
133RTNETLINK answers: File exists
134Test container cord-tester1 started and provisioned to run tests using nosetests
135127.0.0.1 - - [11/Oct/2017 02:19:05] "POST /start HTTP/1.1" 200 -
136Running test case dhcpl2relay:dhcpl2relay_exchange.test_dhcpl2relay_with_wrong_serial_id_of_olt
137WARNING: No route found for IPv6 destination :: (no default route?)
138Controller IP [u'10.70.47.64'], Test type dhcpl2relay:dhcpl2relay_exchange.test_dhcpl2relay_with_wrong_serial_id_of_olt
139Installing ONOS cord apps
140# Host [10.70.47.64]:8101 found: line 5
141/root/.ssh/known_hosts updated.
142Original contents retained as /root/.ssh/known_hosts.old
143onoscli: eof exception found
144onoscli: logout
145
146Connection to 10.70.47.64 closed.
147
148result.ok, result.status_code are False and 409
149ONOS app cord-config, version 3.0-SNAPSHOT installed
150result.ok, result.status_code are False and 409
151ONOS app sadis-app, version 3.0-SNAPSHOT installed
152result.ok, result.status_code are False and 409
153ONOS app olt-app, version 3.0-SNAPSHOT installed
154result.ok, result.status_code are False and 409
155ONOS app aaa, version 3.0-SNAPSHOT installed
156result.ok, result.status_code are False and 409
157ONOS app igmp, version 3.0-SNAPSHOT installed
158Installing cord tester ONOS app /home/ubuntu/cord-tester/src/test/apps/ciena-cordigmp-multitable-3.0-SNAPSHOT.oar
159result.ok, result.status_code are False and 409
160Radius server running with IP 11.0.0.3
161Running ['dhcpl2relay:dhcpl2relay_exchange.test_dhcpl2relay_with_wrong_serial_id_of_olt'] tests across 1 containers in parallel
162Modifying scapy tool files before running a test: ['dhcpl2relay:dhcpl2relay_exchange.test_dhcpl2relay_with_wrong_serial_id_of_olt']
163Running tests: ['dhcpl2relay:dhcpl2relay_exchange.test_dhcpl2relay_with_wrong_serial_id_of_olt']
164Connecting to controller at 10.70.47.64
165onoscli: Trying to connect to 10.70.47.64
166Spawning pexpect for ip 10.70.47.64
167ssh connection asked for password, gave password
168Command 'summary -j' sent to onoscli.
169onoscli: eof exception found
170onoscli: logout
171
172Connection to 10.70.47.64 closed.
173
174Voltha device of:0001000000000001 not in map. Using uplink vlan 333
175Installing OLT app /root/test/src/test/utils/../apps/olt-app-3.0-SNAPSHOT.oar
176Connecting to controller at 10.70.47.64
177onoscli: Trying to connect to 10.70.47.64
178# Host [10.70.47.64]:8101 found: line 1 type RSA
179Spawning pexpect for ip 10.70.47.64
180ssh connection asked for password, gave password
181Command 'summary -j' sent to onoscli.
182onoscli: eof exception found
183onoscli: logout
184
185Connection to 10.70.47.64 closed.
186
187Running command: ip link add link veth48 name veth48.333 type vlan id 333
188RTNETLINK answers: File exists
189Running command: ip link set veth48.333 up
190Running command: ip link add link veth48.333 name veth48.333.254 type vlan id 254
191RTNETLINK answers: File exists
192Running command: ip link set veth48.333.254 up
193Configuring OVS flow for port 37, s_tag 333
194test_dhcpl2relay_with_wrong_serial_id_of_olt (dhcpl2relay.dhcpl2relayTest.dhcpl2relay_exchange) ... # Host [10.70.47.64]:8101 found: line 1 type RSA
195org.opencord.sadis app is being installed
196The serial Id info from network configuration is shown = 07f20d06696041febf974ccdhdhhjh37
197
198Test test_dhcpl2relay_with_wrong_serial_id_of_olt has errors and warnings
199
2002017-10-11 09:19:52,103 | WARN | I/O worker #340 | IgmpSnoop | 203 - org.opencord.igmp - 1.3.0.SNAPSHOT | No SSM translate source found for group 224.0.0.251
2012017-10-11 09:19:52,527 | WARN | f-event-stats-20 | FlowModBuilderVer13 | 194 - org.onosproject.onos-providers-openflow-flow - 1.10.6 | Match type INNER_VLAN_VID not yet implemented.
2022017-10-11 09:19:56,570 | ERROR | I/O worker #340 | SadisManager | 243 - org.opencord.sadis-app - 1.2.0.SNAPSHOT | Data not found for id d9f17c736cb04df3b583ea54ef58e9ad
2032017-10-11 09:19:56,570 | WARN | I/O worker #340 | DhcpL2Relay | 244 - org.opencord.dhcpl2relay - 1.2.0.SNAPSHOT | Device not found for of:0001000000000001/254
2042017-10-11 09:19:56,570 | WARN | I/O worker #340 | DhcpL2Relay | 244 - org.opencord.dhcpl2relay - 1.2.0.SNAPSHOT | RelayAgent MAC not found
2052017-10-11 09:19:57,526 | WARN | of-event-stats-9 | FlowModBuilderVer13 | 194 - org.onosproject.onos-providers-openflow-flow - 1.10.6 | Match type INNER_VLAN_VID not yet implemented.
2062017-10-11 09:20:02,554 | WARN | f-event-stats-26 | FlowModBuilderVer13 | 194 - org.onosproject.onos-providers-openflow-flow - 1.10.6 | Match type INNER_VLAN_VID not yet implemented.
207ok
208
209----------------------------------------------------------------------
210Ran 1 test in 52.397s
211
212OK
213Test dhcpl2relayTest.py:dhcpl2relay_exchange.test_dhcpl2relay_with_wrong_serial_id_of_olt Success
214Done running tests
215127.0.0.1 - - [11/Oct/2017 02:20:10] "POST /test HTTP/1.1" 200 -
216ubuntu@olt-tester:~/cord-tester/src/test/setup$
217