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