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