is in ACTIVE state now
2025-03-31 02:39:43,039 - INFO - VM name : ctest-vm2-test-70749172
2025-03-31 02:39:43,110 - DEBUG - VM ctest-vm2-test-70749172 ID is a4e829af-a10b-4336-892f-ba5a9b79ae49
2025-03-31 02:39:43,110 - DEBUG - VM ctest-vm2-test-70749172 launched on Node cn-jenkins-deploy-platform-ansible-os-3014-1
2025-03-31 02:39:43,183 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a4e829af-a10b-4336-892f-ba5a9b79ae49
2025-03-31 02:39:43,192 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cd679167-4f0f-4da4-a2bf-c1936247a8ef
2025-03-31 02:39:46,447 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2025-03-31 02:39:46,447 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-70749172 failed!
2025-03-31 02:39:46,502 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81698142:ctest-vn1-vdns-62993277 is 10.10.10.1 and allocation pool is NOT set
2025-03-31 02:39:48,563 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.88 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.876/2.934/3.992/1.058 ms')
2025-03-31 02:39:48,563 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-70749172 passed
2025-03-31 02:39:48,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-31 02:39:48,714 - DEBUG - Waiting to SSH to VM ctest-vm2-test-70749172, IP 10.10.10.4, Port 22
2025-03-31 02:39:48,870 - DEBUG - VM ctest-vm2-test-70749172 is ready for SSH connections
2025-03-31 02:39:48,870 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-03-31 02:39:48,870 - DEBUG - ifconfig | grep 10.10.10.4
2025-03-31 02:39:49,489 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-03-31 02:39:49,490 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-70749172", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-03-31 02:39:49,490 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-70749172", None, socket.AF_INET6)'
2025-03-31 02:39:49,737 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-70749172, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-03-31 02:39:49,737 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-70749172
2025-03-31 02:39:51,990 - DEBUG - PING ctest-vm2-test-70749172 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=2.884 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.324 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.453 ms
--- ctest-vm2-test-70749172 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.324/1.220/2.884 ms
2025-03-31 02:39:51,990 - INFO - Ping to IP ctest-vm2-test-70749172 from VM ctest-vm2-test-70749172 passed
2025-03-31 02:39:52,003 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-03-31 02:39:52,009 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01989664@0%20AllEntriesVdnsRecordsReq
2025-03-31 02:39:52,015 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-01989664:1:ctest-vm2-test-70749172:10.10.10.4', 'rec_name': 'ctest-vm2-test-70749172', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.4', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3014-1/dns'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-70749172.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-03-31 02:39:52,015 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-01989664:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-70749172', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-70749172', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3014-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-70749172.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '4.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'}
2025-03-31 02:39:52,016 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-70749172", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-03-31 02:39:52,016 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-70749172", None, socket.AF_INET6)'
2025-03-31 02:39:52,194 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-70749172, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-03-31 02:39:52,194 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-70749172
2025-03-31 02:39:54,447 - DEBUG - PING ctest-vm2-test-70749172 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=8.360 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.821 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.876 ms
--- ctest-vm2-test-70749172 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.821/3.352/8.360 ms
2025-03-31 02:39:54,447 - INFO - Ping to IP ctest-vm2-test-70749172 from VM ctest-vm1-test-17667602 passed
2025-03-31 02:39:54,447 - INFO - Try deleting the VDNS entry ctest-vdns1-01989664 with back ref of ipam.
2025-03-31 02:39:54,502 - DEBUG - Delete when resource still referred: ['http://10.0.0.22:8082/network-ipam/22c16b0a-39f2-47a2-9fe8-c9dcc4d33fbf']
2025-03-31 02:39:54,502 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-03-31 02:39:54,502 - INFO - Add CNAME VDNS record for ctest-vm1-test-17667602 and verify we able to ping by alias name
2025-03-31 02:39:54,550 - DEBUG - Creating VDNS record data : test-rec
2025-03-31 02:39:54,658 - INFO - In verify_on_setup
2025-03-31 02:39:54,754 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-01989664', 'test-rec'] created succesfully
2025-03-31 02:39:54,754 - INFO - Verify VDNS record is shown in the API server
2025-03-31 02:39:54,754 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-03-31 02:39:54,760 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2e3ba078-0ff6-4cdb-b0cb-5f08421c2c62
2025-03-31 02:39:54,773 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS/56fe470f-fb2d-4547-9136-e703796ad22a
2025-03-31 02:39:54,781 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS-record/43659b85-5409-488f-b3a3-79094cb30efb
2025-03-31 02:39:54,787 - INFO - Verify VDNS record is shown in the control node
2025-03-31 02:39:54,792 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-03-31 02:39:54,792 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-03-31 02:39:54,981 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-03-31 02:39:54,981 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-03-31 02:39:55,207 - DEBUG - ping: bad address 'vm1-test-alias'
2025-03-31 02:39:55,207 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-17667602 failed
2025-03-31 02:39:56,208 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-03-31 02:39:56,208 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-03-31 02:39:56,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-03-31 02:39:56,392 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-03-31 02:39:56,638 - DEBUG - ping: bad address 'vm1-test-alias'
2025-03-31 02:39:56,638 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-17667602 failed
2025-03-31 02:39:57,638 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-03-31 02:39:57,638 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-03-31 02:39:57,823 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-03-31 02:39:57,823 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-03-31 02:40:00,076 - DEBUG - PING vm1-test-alias (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=0.437 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.369 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.313 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.313/0.373/0.437 ms
2025-03-31 02:40:00,076 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-17667602 passed
2025-03-31 02:40:00,076 - DEBUG - Deleting VDNS record data: test-rec
2025-03-31 02:40:00,142 - INFO - VDNS record info: default-domain:ctest-vdns1-01989664:test-rec deleted successfully.
2025-03-31 02:40:00,142 - INFO - Deleting VM ctest-vm2-test-70749172
2025-03-31 02:40:00,216 - INFO - Deleting VM ctest-vm1-test-17667602
2025-03-31 02:40:00,296 - INFO - Deleting VN ctest-vn1-vdns-62993277
2025-03-31 02:40:00,334 - DEBUG - VN ce9427cd-7c36-4458-b724-07dce61986f3 still in use: Unable to complete operation on network ce9427cd-7c36-4458-b724-07dce61986f3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-504c9934-74ba-4acc-8afc-9b1b0dde1f08']
2025-03-31 02:40:00,334 - WARNING - Deleting VN ctest-vn1-vdns-62993277 failed..Will retry
2025-03-31 02:40:02,618 - DEBUG - Response for deleting network ()
2025-03-31 02:40:02,654 - DEBUG - Deleting VDNS Entry: ctest-vdns1-01989664
2025-03-31 02:40:02,726 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-01989664'] deleted successfully.
2025-03-31 02:40:02,726 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-03-31 02:40:02,732 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2e3ba078-0ff6-4cdb-b0cb-5f08421c2c62
2025-03-31 02:40:02,747 - DEBUG - VDNS information not found in API server
2025-03-31 02:40:02,747 - INFO - VDNS information ctest-vdns1-01989664 removed from the API Server
2025-03-31 02:40:02,753 - INFO - VDNS information ctest-vdns1-01989664 removed in the Control node
2025-03-31 02:40:02,753 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-81698142']
2025-03-31 02:40:03,007 - DEBUG - No XMPP flaps were noticed during the test
2025-03-31 02:40:03,007 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:51]
2025-03-31 02:40:03,007 - INFO - --------------------------------------------------------------------------------
2025-03-31 02:40:03,680 - INFO - Deleted project: ctest-TestvDNSBasic0-81698142, ID : 130ed0bb-fdfa-4d8d-9b38-06b56eebba6b