Sanity: script to verify ping across multi-cluster esxi

Bug #1721142 reported by Sarath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
High
Sarath
R4.1
Fix Committed
High
Sarath
Trunk
Fix Committed
High
Sarath

Bug Description

testcase "test_ping_within_vn" to verify ping across both vcenter-compute Esxi clusters along with kvm compute.

2017-10-02 21:42:18,568 - INFO - Initial checks done. Running the testcase now
2017-10-02 21:42:18,568 - INFO -
2017-10-02 21:42:20,653 - INFO - Created VN ctest-vn30-86373277
2017-10-02 21:42:28,025 - INFO - VM ([<Server: ctest-vm1-59642564>]) created on node: (5a10s23), Zone: (nova:5a10s23)
2017-10-02 21:42:34,649 - INFO - VM ([<Server: ctest-vm2-91720147>]) created on node: (5a10s01b), Zone: (nova:5a10s01b)
2017-10-02 21:42:42,042 - INFO - VM ([<Server: ctest-vm3-02169255>]) created on node: (5a10s29), Zone: (nova:5a10s29)
> /contrail-test/scripts/vm_regression/test_vm_basic.py(303)test_ping_within_vn()
-> assert vm1_fixture.wait_till_vm_is_up()
(Pdb) c
2017-10-02 21:49:38,632 - INFO - Waiting for VM ctest-vm1-59642564 to be up..
2017-10-02 21:49:46,283 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-59642564 passed
2017-10-02 21:49:51,612 - INFO - Waiting for VM ctest-vm2-91720147 to be up..
2017-10-02 21:49:58,684 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-91720147 passed
2017-10-02 21:50:03,955 - INFO - Waiting for VM ctest-vm3-02169255 to be up..
2017-10-02 21:50:10,803 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm3-02169255 passed
[ubuntu@169.254.0.3] sudo: ping -s 56 -c 5 -W 1 155.141.43.4
[ubuntu@169.254.0.3] out: PING 155.141.43.4 (155.141.43.4) 56(84) bytes of data.
[ubuntu@169.254.0.3] out: 64 bytes from 155.141.43.4: icmp_seq=1 ttl=64 time=2.32 ms
[ubuntu@169.254.0.3] out: 64 bytes from 155.141.43.4: icmp_seq=2 ttl=64 time=0.804 ms
[ubuntu@169.254.0.3] out: 64 bytes from 155.141.43.4: icmp_seq=3 ttl=64 time=0.708 ms
[ubuntu@169.254.0.3] out: 64 bytes from 155.141.43.4: icmp_seq=4 ttl=64 time=0.618 ms
[ubuntu@169.254.0.3] out: 64 bytes from 155.141.43.4: icmp_seq=5 ttl=64 time=0.698 ms
[ubuntu@169.254.0.3] out:
[ubuntu@169.254.0.3] out: --- 155.141.43.4 ping statistics ---
[ubuntu@169.254.0.3] out: 5 packets transmitted, 5 received, 0% packet loss, time 3997ms
[ubuntu@169.254.0.3] out: rtt min/avg/max/mdev = 0.618/1.030/2.323/0.649 ms
[ubuntu@169.254.0.3] out:

2017-10-02 21:50:22,041 - INFO - Ping to IP 155.141.43.4 from VM ctest-vm1-59642564 passed
[ubuntu@169.254.0.5] sudo: ping -s 56 -c 5 -W 1 155.141.43.3
[ubuntu@169.254.0.5] out: PING 155.141.43.3 (155.141.43.3) 56(84) bytes of data.
[ubuntu@169.254.0.5] out: 64 bytes from 155.141.43.3: icmp_seq=1 ttl=64 time=1.62 ms
[ubuntu@169.254.0.5] out: 64 bytes from 155.141.43.3: icmp_seq=2 ttl=64 time=0.776 ms
[ubuntu@169.254.0.5] out: 64 bytes from 155.141.43.3: icmp_seq=3 ttl=64 time=0.687 ms
[ubuntu@169.254.0.5] out: 64 bytes from 155.141.43.3: icmp_seq=4 ttl=64 time=0.905 ms
[ubuntu@169.254.0.5] out: 64 bytes from 155.141.43.3: icmp_seq=5 ttl=64 time=0.722 ms
[ubuntu@169.254.0.5] out:
[ubuntu@169.254.0.5] out: --- 155.141.43.3 ping statistics ---
[ubuntu@169.254.0.5] out: 5 packets transmitted, 5 received, 0% packet loss, time 4003ms
[ubuntu@169.254.0.5] out: rtt min/avg/max/mdev = 0.687/0.942/1.622/0.348 ms
[ubuntu@169.254.0.5] out:

2017-10-02 21:50:27,813 - INFO - Ping to IP 155.141.43.3 from VM ctest-vm2-91720147 passed
[ubuntu@169.254.0.3] sudo: ping -s 56 -c 5 -W 1 155.141.43.5
[ubuntu@169.254.0.3] out: PING 155.141.43.5 (155.141.43.5) 56(84) bytes of data.
[ubuntu@169.254.0.3] out: 64 bytes from 155.141.43.5: icmp_seq=1 ttl=64 time=1.65 ms
[ubuntu@169.254.0.3] out: 64 bytes from 155.141.43.5: icmp_seq=2 ttl=64 time=0.757 ms
[ubuntu@169.254.0.3] out: 64 bytes from 155.141.43.5: icmp_seq=3 ttl=64 time=0.738 ms
[ubuntu@169.254.0.3] out: 64 bytes from 155.141.43.5: icmp_seq=4 ttl=64 time=0.710 ms
[ubuntu@169.254.0.3] out: 64 bytes from 155.141.43.5: icmp_seq=5 ttl=64 time=0.670 ms
[ubuntu@169.254.0.3] out:
[ubuntu@169.254.0.3] out: --- 155.141.43.5 ping statistics ---
[ubuntu@169.254.0.3] out: 5 packets transmitted, 5 received, 0% packet loss, time 4001ms
[ubuntu@169.254.0.3] out: rtt min/avg/max/mdev = 0.670/0.906/1.656/0.376 ms
[ubuntu@169.254.0.3] out:

2017-10-02 21:50:33,082 - INFO - Ping to IP 155.141.43.5 from VM ctest-vm1-59642564 passed
[ubuntu@169.254.0.4] sudo: ping -s 56 -c 5 -W 1 155.141.43.3
[ubuntu@169.254.0.4] out: PING 155.141.43.3 (155.141.43.3) 56(84) bytes of data.
[ubuntu@169.254.0.4] out: 64 bytes from 155.141.43.3: icmp_seq=1 ttl=64 time=1.22 ms
[ubuntu@169.254.0.4] out: 64 bytes from 155.141.43.3: icmp_seq=2 ttl=64 time=0.797 ms
[ubuntu@169.254.0.4] out: 64 bytes from 155.141.43.3: icmp_seq=3 ttl=64 time=0.631 ms
[ubuntu@169.254.0.4] out: 64 bytes from 155.141.43.3: icmp_seq=4 ttl=64 time=0.741 ms
[ubuntu@169.254.0.4] out: 64 bytes from 155.141.43.3: icmp_seq=5 ttl=64 time=0.719 ms
[ubuntu@169.254.0.4] out:
[ubuntu@169.254.0.4] out: --- 155.141.43.3 ping statistics ---
[ubuntu@169.254.0.4] out: 5 packets transmitted, 5 received, 0% packet loss, time 4000ms
[ubuntu@169.254.0.4] out: rtt min/avg/max/mdev = 0.631/0.822/1.222/0.207 ms
[ubuntu@169.254.0.4] out:

2017-10-02 21:50:38,955 - INFO - Ping to IP 155.141.43.3 from VM ctest-vm3-02169255 passed
2017-10-02 21:50:38,955 - INFO - Deleting VM ctest-vm3-02169255
2017-10-02 21:50:39,313 - INFO - Deleting VM ctest-vm2-91720147
2017-10-02 21:50:39,752 - INFO - Deleting VM ctest-vm1-59642564
2017-10-02 21:50:40,036 - INFO - Deleting VN ctest-vn30-86373277
Neutron server returns request_ids: ['req-5edb7645-e0c4-4855-b958-01e7adc704f1']
2017-10-02 21:50:40,833 - WARNING - Deleting VN ctest-vn30-86373277 failed..Will retry
2017-10-02 21:50:54,580 - INFO -
2017-10-02 21:50:54,580 - INFO - END TEST : test_ping_within_vn : PASSED[0:08:39]

Tags: automation
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/35718
Submitter: Sarath (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/35718
Committed: http://github.com/Juniper/contrail-test-ci/commit/6df957e0443ce70180359778caa4f2cdb8a58727
Submitter: Zuul (<email address hidden>)
Branch: master

commit 6df957e0443ce70180359778caa4f2cdb8a58727
Author: sarath <email address hidden>
Date: Mon Sep 18 23:56:00 2017 -0700

to verify ping for 3 vm so that covers vcenter-compute clusters scenario

Closes-Bug: #1721142

Change-Id: Ibd3e0eb153664d58e438e362af9f0cf346fc9a50

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/40095
Submitter: Ankit Jain (<email address hidden>)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.