Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VM_to_NTK_IP inside Traffic Class for == {'PVM1': ['11.11.11.7', 'e95cb89f-0b17-4388-9144-ac2bcc8f82f9'], 'PVM2': ['21.21.21.7', '578c0539-ade2-4c3e-96e2-2e06bf51d269']}
- VM Properties == {'PVM1': {'src_ip': '11.11.11.7', 'netns': 'qdhcp-e95cb89f-0b17-4388-9144-ac2bcc8f82f9', 'dest_ip': ['21.21.21.7']}, 'PVM2': {'src_ip': '21.21.21.7', 'netns': 'qdhcp-578c0539-ade2-4c3e-96e2-2e06bf51d269', 'dest_ip': ['11.11.11.7']}}
- Run Traffic for the Protocols: ['icmp', 'tcp', 'metadata'] and then analyze results
- Entered test_setup, dest_ep is ['21.21.21.7']
- test_setup: ip %s 21.21.21.7
- hostname
- f3-compute-1.noiro.lab
- [root@f3-compute-1 ~]
- ip netns exec qdhcp-e95cb89f-0b17-4388-9144-ac2bcc8f82f9 ping 21.21.21.7 -c 2
- ping 21.21.21.7 -c 2-e95cb89f-0b17-4388-9144-ac2bcc8f82f9
- PING 21.21.21.7 (21.21.21.7) 56(84) bytes of data.
- 64 bytes from 21.21.21.7: icmp_seq=1 ttl=63 time=0.716 ms
- 64 bytes from 21.21.21.7: icmp_seq=2 ttl=63 time=0.222 ms
- --- 21.21.21.7 ping statistics ---
- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms
- rtt min/avg/max/mdev = 0.222/0.469/0.716/0.247 ms
- [root@f3-compute-1 ~]
- Out ==NOIRO
- Trying to SSH into VM 21.21.21.7.....
- ip netns exec qdhcp-e95cb89f-0b17-4388-9144-ac2bcc8f82f9 ssh cirros@21.21.21.7
- Entering sudo priviledged command mode
- Stopping netcat session on port 80
- output from ps is ps -ef | grep [n]c | awk -F" " '{print $1
- output from ps is
- 12
- Starting netcat session on port 80
- HTTP server command is: nohup nc -p 80 -n -lk -e 'echo -e Hi!'&
- hostname
- f3-compute-1.noiro.lab
- [root@f3-compute-1 ~]
- ip netns exec qdhcp-e95cb89f-0b17-4388-9144-ac2bcc8f82f9 ping 11.11.11.7 -c 2
- ping 11.11.11.7 -c 2-e95cb89f-0b17-4388-9144-ac2bcc8f82f9
- PING 11.11.11.7 (11.11.11.7) 56(84) bytes of data.
- 64 bytes from 11.11.11.7: icmp_seq=1 ttl=64 time=0.914 ms
- 64 bytes from 11.11.11.7: icmp_seq=2 ttl=64 time=0.241 ms
- --- 11.11.11.7 ping statistics ---
- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms
- rtt min/avg/max/mdev = 0.241/0.577/0.914/0.337 ms
- [root@f3-compute-1 ~]
- Out ==NOIRO
- Trying to SSH into VM 11.11.11.7.....
- ip netns exec qdhcp-e95cb89f-0b17-4388-9144-ac2bcc8f82f9 ssh cirros@11.11.11.7
- Entering sudo priviledged command mode
- Starting netcat session on port 80
- HTTP server command is: nohup nc -p 80 -n -lk -e 'echo -e Hi!'&
- ip addr show eth0
- 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
- link/ether fa:16:3e:5a:b5:6f brd ff:ff:ff:ff:ff:ff
- inet 11.11.11.7/28 brd 11.11.11.15 scope global eth0
- inet6 fe80::f816:3eff:fe5a:b56f/64 scope link
- valid_lft forever preferred_lft forever
- ping command: ping 21.21.21.7 -c 3 -s 1000
- Sent ICMP packets
- ICMP result: ping 21.21.21.7 -c 3 -s 1000
- PING 21.21.21.7 (21.21.21.7): 1000 data bytes
- 1008 bytes from 21.21.21.7: seq=0 ttl=62 time=0.845 ms
- 1008 bytes from 21.21.21.7: seq=1 ttl=62 time=0.360 ms
- 1008 bytes from 21.21.21.7: seq=2 ttl=62 time=0.275 ms
- --- 21.21.21.7 ping statistics ---
- 3 packets transmitted, 3 packets received, 0% packet loss
- round-trip min/avg/max = 0.275/0.493/0.845 ms
- Traceback (most recent call last):
- File "run_ml2_sanity.py", line 82, in <module>
- if test_traff.traff_from_ml2_tenants(tnt1) == 0:
- File "/home/noiro/noirotest/testcases/testcases_sanity/common_sanity_methods.py", line 958, in traff_from_ml2_tenants
- if not vm_traff.run_and_verify_traffic(proto,tcp_syn_only=1):
- File "/home/noiro/noirotest/libs/gbp_pexp_traff_libs.py", line 269, in run_and_verify_traffic
- results = self.test_run(protocols=proto,tcp_syn_only=tcp_syn_only,jumbo=jumbo,no_ipv6=no_ipv6)
- File "/home/noiro/noirotest/libs/gbp_pexp_traff_libs.py", line 252, in test_run
- self.vm_test_traffic(pexpect_session, protocols, results, tcp_syn_only=tcp_syn_only, port=port, no_ipv6=no_ipv6)
- File "/home/noiro/noirotest/libs/gbp_pexp_traff_libs.py", line 443, in vm_test_traffic
- pexpect_session.expect(self.vm_prompt)
- File "/usr/local/lib/python2.7/dist-packages/pexpect/spawnbase.py", line 321, in expect
- timeout, searchwindowsize, async)
- File "/usr/local/lib/python2.7/dist-packages/pexpect/spawnbase.py", line 345, in expect_list
- return exp.expect_loop(timeout)
- File "/usr/local/lib/python2.7/dist-packages/pexpect/expect.py", line 107, in expect_loop
- return self.timeout(e)
- File "/usr/local/lib/python2.7/dist-packages/pexpect/expect.py", line 70, in timeout
- raise TIMEOUT(msg)
- pexpect.exceptions.TIMEOUT: Timeout exceeded.
- <pexpect.pty_spawn.spawn object at 0x7fa9a8466c90>
- command: /usr/bin/ssh
- args: ['/usr/bin/ssh', 'root@172.28.184.46']
- buffer (last 100 chars): ' nc -w 1 -v 21.21.21.7 -z 22\r\n21.21.21.7 (21.21.21.7:22) open\r\nSSH-2.0-dropbear_2012.55\r\r\n'
- before (last 100 chars): ' nc -w 1 -v 21.21.21.7 -z 22\r\n21.21.21.7 (21.21.21.7:22) open\r\nSSH-2.0-dropbear_2012.55\r\r\n'
- after: <class 'pexpect.exceptions.TIMEOUT'>
- match: None
- match_index: None
- exitstatus: None
- flag_eof: False
- pid: 20777
- child_fd: 7
- closed: False
- timeout: 30
- delimiter: <class 'pexpect.exceptions.EOF'>
- logfile: None
- logfile_read: None
- logfile_send: None
- maxread: 2000
- ignorecase: False
- searchwindowsize: None
- delaybeforesend: 0.05
- delayafterclose: 0.1
- delayafterterminate: 0.1
- searcher: searcher_re:
- 0: re.compile("\$")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement