blob: b539baef3751c3f56a181f9d857ab9293df18bb4 [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$ vi ../dhcpl2relay/dhcpl2relayTest.py
3ubuntu@olt-tester:~/cord-tester/src/test/setup$
4ubuntu@olt-tester:~/cord-tester/src/test/setup$ ./voltha-test.py --test-type=dhcpl2relay:dhcpl2relay_exchange.test_dhcpl2relay_netcfg --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-teardown --disable-cleanup --test-mode
5Starting CordTester Web Server
6 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
7 * Restarting with stat
8 * Debugger is active!
9 * Debugger PIN: 718-316-938
10Running test case dhcpl2relay:dhcpl2relay_exchange.test_dhcpl2relay_netcfg
11WARNING: No route found for IPv6 destination :: (no default route?)
12Controller IP [u'10.70.47.64'], Test type dhcpl2relay:dhcpl2relay_exchange.test_dhcpl2relay_netcfg
13Installing ONOS cord apps
14# Host [10.70.47.64]:8101 found: line 5
15/root/.ssh/known_hosts updated.
16Original contents retained as /root/.ssh/known_hosts.old
17onoscli: eof exception found
18onoscli: logout
19
20Connection to 10.70.47.64 closed.
21
22result.ok, result.status_code are False and 409
23ONOS app cord-config, version 3.0-SNAPSHOT installed
24result.ok, result.status_code are False and 409
25ONOS app sadis-app, version 3.0-SNAPSHOT installed
26result.ok, result.status_code are False and 409
27ONOS app olt-app, version 3.0-SNAPSHOT installed
28result.ok, result.status_code are False and 409
29ONOS app aaa, version 3.0-SNAPSHOT installed
30result.ok, result.status_code are False and 409
31ONOS app igmp, version 3.0-SNAPSHOT installed
32Installing cord tester ONOS app /home/ubuntu/cord-tester/src/test/apps/ciena-cordigmp-multitable-3.0-SNAPSHOT.oar
33result.ok, result.status_code are False and 409
34Radius server running with IP 11.0.0.3
35Running ['dhcpl2relay:dhcpl2relay_exchange.test_dhcpl2relay_netcfg'] tests across 1 containers in parallel
36Starting test container cord-tester1, image cordtest/nose, tag candidate
37Provisioning the ports for the test container
38
39Running PIPEWORK cmd: pipework enp1s0f0 -i veth0 -l l1 cord-tester1 192.168.100.1/24 02:03:04:00:00:01
40Running PIPEWORK cmd: pipework enp1s0f0 -i veth2 -l l2 cord-tester1 192.168.100.2/24 02:03:04:00:00:02
41Running PIPEWORK cmd: pipework enp1s0f0 -i veth4 -l l3 cord-tester1 192.168.100.3/24 02:03:04:00:00:03
42Running PIPEWORK cmd: pipework enp1s0f0 -i veth6 -l l4 cord-tester1 192.168.100.4/24 02:03:04:00:00:04
43Running PIPEWORK cmd: pipework enp1s0f0 -i veth8 -l l5 cord-tester1 192.168.100.5/24 02:03:04:00:00:05
44Running PIPEWORK cmd: pipework enp1s0f0 -i veth10 -l l6 cord-tester1 192.168.100.6/24 02:03:04:00:00:06
45Running PIPEWORK cmd: pipework enp1s0f0 -i veth12 -l l7 cord-tester1 192.168.100.7/24 02:03:04:00:00:07
46Running PIPEWORK cmd: pipework enp1s0f0 -i veth14 -l l8 cord-tester1 192.168.100.8/24 02:03:04:00:00:08
47Running PIPEWORK cmd: pipework enp1s0f0 -i veth16 -l l9 cord-tester1 192.168.100.9/24 02:03:04:00:00:09
48Running PIPEWORK cmd: pipework enp1s0f0 -i veth18 -l l10 cord-tester1 192.168.100.10/24 02:03:04:00:00:0a
49Running PIPEWORK cmd: pipework enp1s0f0 -i veth20 -l l11 cord-tester1 192.168.100.11/24 02:03:04:00:00:0b
50Running PIPEWORK cmd: pipework enp1s0f0 -i veth22 -l l12 cord-tester1 192.168.100.12/24 02:03:04:00:00:0c
51Running PIPEWORK cmd: pipework enp1s0f0 -i veth24 -l l13 cord-tester1 192.168.100.13/24 02:03:04:00:00:0d
52Running PIPEWORK cmd: pipework enp1s0f0 -i veth26 -l l14 cord-tester1 192.168.100.14/24 02:03:04:00:00:0e
53Running PIPEWORK cmd: pipework enp1s0f0 -i veth28 -l l15 cord-tester1 192.168.100.15/24 02:03:04:00:00:0f
54Running PIPEWORK cmd: pipework enp1s0f0 -i veth30 -l l16 cord-tester1 192.168.100.16/24 02:03:04:00:00:10
55Running PIPEWORK cmd: pipework enp1s0f0 -i veth32 -l l17 cord-tester1 192.168.100.17/24 02:03:04:00:00:11
56Running PIPEWORK cmd: pipework enp1s0f0 -i veth34 -l l18 cord-tester1 192.168.100.18/24 02:03:04:00:00:12
57Running PIPEWORK cmd: pipework enp1s0f0 -i veth36 -l l19 cord-tester1 192.168.100.19/24 02:03:04:00:00:13
58Running PIPEWORK cmd: pipework enp1s0f0 -i veth38 -l l20 cord-tester1 192.168.100.20/24 02:03:04:00:00:14
59Running PIPEWORK cmd: pipework enp1s0f0 -i veth40 -l l21 cord-tester1 192.168.100.21/24 02:03:04:00:00:15
60Running PIPEWORK cmd: pipework enp1s0f0 -i veth42 -l l22 cord-tester1 192.168.100.22/24 02:03:04:00:00:16
61Running PIPEWORK cmd: pipework enp1s0f0 -i veth44 -l l23 cord-tester1 192.168.100.23/24 02:03:04:00:00:17
62Running PIPEWORK cmd: pipework enp1s0f0 -i veth46 -l l24 cord-tester1 192.168.100.24/24 02:03:04:00:00:18
63Running PIPEWORK cmd: pipework enp1s0f0 -i veth48 -l l25 cord-tester1 192.168.100.25/24
64Running PIPEWORK cmd: pipework enp1s0f0 -i veth50 -l l26 cord-tester1 192.168.100.26/24
65Running PIPEWORK cmd: pipework enp1s0f0 -i veth52 -l l27 cord-tester1 192.168.100.27/24
66Running PIPEWORK cmd: pipework enp1s0f0 -i veth54 -l l28 cord-tester1 192.168.100.28/24
67Running PIPEWORK cmd: pipework enp1s0f0 -i veth56 -l l29 cord-tester1 192.168.100.29/24
68Running PIPEWORK cmd: pipework enp1s0f0 -i veth58 -l l30 cord-tester1 192.168.100.30/24
69Running PIPEWORK cmd: pipework enp1s0f0 -i veth60 -l l31 cord-tester1 192.168.100.31/24
70Running PIPEWORK cmd: pipework enp1s0f0 -i veth62 -l l32 cord-tester1 192.168.100.32/24
71Running PIPEWORK cmd: pipework enp1s0f0 -i veth64 -l l33 cord-tester1 192.168.100.33/24
72Running PIPEWORK cmd: pipework enp1s0f0 -i veth66 -l l34 cord-tester1 192.168.100.34/24
73Running PIPEWORK cmd: pipework enp1s0f0 -i veth68 -l l35 cord-tester1 192.168.100.35/24
74Running PIPEWORK cmd: pipework enp1s0f0 -i veth70 -l l36 cord-tester1 192.168.100.36/24
75Provisioning guest port vcpe0 for cord-tester1 with host port: enp1s0f0, s_tag: 222, c_tag: 111
76
77Provisioning guest port vcpe1 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 304
78
79Provisioning guest port vcpe2 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 305
80
81Provisioning guest port vcpe3 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 306
82
83Provisioning guest port vcpe4 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 307
84
85Provisioning guest port vcpe5 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 308
86
87Provisioning guest port vcpe6 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 309
88
89Provisioning guest port vcpe7 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 310
90
91Provisioning guest port vcpe8 for cord-tester1 with host port: enp1s0f0, s_tag: 304, c_tag: 311
92
93Modifying scapy tool files before running a test: ['dhcpl2relay:dhcpl2relay_exchange.test_dhcpl2relay_netcfg']
94Running tests: ['dhcpl2relay:dhcpl2relay_exchange.test_dhcpl2relay_netcfg']
95Connecting to controller at 10.70.47.64
96onoscli: Trying to connect to 10.70.47.64
97Spawning pexpect for ip 10.70.47.64
98ssh connection asked for password, gave password
99Command 'summary -j' sent to onoscli.
100onoscli: eof exception found
101onoscli: logout
102
103Connection to 10.70.47.64 closed.
104
105Voltha device of:0001000000000001 not in map. Using uplink vlan 333
106Installing OLT app /root/test/src/test/utils/../apps/olt-app-3.0-SNAPSHOT.oar
107Connecting to controller at 10.70.47.64
108onoscli: Trying to connect to 10.70.47.64
109# Host [10.70.47.64]:8101 found: line 1 type RSA
110Spawning pexpect for ip 10.70.47.64
111ssh connection asked for password, gave password
112Command 'summary -j' sent to onoscli.
113onoscli: eof exception found
114onoscli: logout
115
116Connection to 10.70.47.64 closed.
117
118Running command: ip link add link veth48 name veth48.333 type vlan id 333
119Running command: ip link set veth48.333 up
120Running command: ip link add link veth48.333 name veth48.333.254 type vlan id 254
121Running command: ip link set veth48.333.254 up
122Configuring OVS flow for port 37, s_tag 333
123test_dhcpl2relay_netcfg (dhcpl2relay.dhcpl2relayTest.dhcpl2relay_exchange) ... # Host [10.70.47.64]:8101 found: line 1 type RSA
124org.opencord.dhcpl2relay app is being installed
125The network configuration is shown = {u'dhcpl2relay': {u'dhcpServerConnectPoints': [u'of:000022589e4e744e/9', u'of:000022589e4e744e/1', u'of:000022589e4e744e/5', u'of:00003ee38e69ac49/12', u'of:000022589e4e744e/19', u'of:000022589e4e744e/12', u'of:00003e11096a754a/12', u'of:00003acc45bea44c/12']}}
126
127Test test_dhcpl2relay_netcfg has no errors and warnings in the logs
128ok
129
130----------------------------------------------------------------------
131Ran 1 test in 33.440s
132
133OK
134Test dhcpl2relayTest.py:dhcpl2relay_exchange.test_dhcpl2relay_netcfg Success
135Done running tests
136Removing test container cord-tester1
137127.0.0.1 - - [10/Oct/2017 22:59:24] "POST /test HTTP/1.1" 200 -
138ubuntu@olt-tester:~/cord-tester/src/test/setup$
139