is in ACTIVE state now
2025-05-08 02:20:56,943 - INFO - VM name : ctest-vm2-test-71206708
2025-05-08 02:20:57,016 - DEBUG - VM ctest-vm2-test-71206708 ID is 6bb80605-72c0-49d4-9a7f-0d85744816e6
2025-05-08 02:20:57,016 - DEBUG - VM ctest-vm2-test-71206708 launched on Node cn-jenkins-deploy-platform-ansible-os-3285-1
2025-05-08 02:20:57,097 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6bb80605-72c0-49d4-9a7f-0d85744816e6
2025-05-08 02:20:57,109 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/39bee1e4-0167-4132-b16a-b18a85debf7d
2025-05-08 02:21:00,360 - 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 1007ms')
2025-05-08 02:21:00,360 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-71206708 failed!
2025-05-08 02:21:00,416 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-21630933:ctest-vn1-vdns-95816729 is 10.10.10.1 and allocation pool is NOT set
2025-05-08 02:21:02,481 - 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=4.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.77 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.767/3.158/4.550/1.391 ms')
2025-05-08 02:21:02,481 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-71206708 passed
2025-05-08 02:21:02,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 02:21:02,633 - DEBUG - Waiting to SSH to VM ctest-vm2-test-71206708, IP 10.10.10.4, Port 22
2025-05-08 02:21:02,784 - DEBUG - VM ctest-vm2-test-71206708 is ready for SSH connections
2025-05-08 02:21:02,784 - 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.27, gateway password: c0ntrail123
2025-05-08 02:21:02,784 - DEBUG - ifconfig | grep 10.10.10.4
2025-05-08 02:21:03,419 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-05-08 02:21:03,419 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-71206708", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-05-08 02:21:03,419 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-71206708", None, socket.AF_INET6)'
2025-05-08 02:21:03,655 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-71206708, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-05-08 02:21:03,655 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-71206708
2025-05-08 02:21:05,905 - DEBUG - PING ctest-vm2-test-71206708 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=2.823 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.361 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.456 ms
--- ctest-vm2-test-71206708 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.361/1.213/2.823 ms
2025-05-08 02:21:05,905 - INFO - Ping to IP ctest-vm2-test-71206708 from VM ctest-vm2-test-71206708 passed
2025-05-08 02:21:05,920 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-05-08 02:21:05,927 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-36455766@0%20AllEntriesVdnsRecordsReq
2025-05-08 02:21:05,933 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-36455766:1:ctest-vm2-test-71206708:10.10.10.4', 'rec_name': 'ctest-vm2-test-71206708', '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-3285-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-71206708.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-05-08 02:21:05,933 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-36455766:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-71206708', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-71206708', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3285-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-71206708.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-05-08 02:21:05,934 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-71206708", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-05-08 02:21:05,934 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-71206708", None, socket.AF_INET6)'
2025-05-08 02:21:06,108 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-71206708, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-05-08 02:21:06,108 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-71206708
2025-05-08 02:21:08,382 - DEBUG - PING ctest-vm2-test-71206708 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=5.711 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.831 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.890 ms
--- ctest-vm2-test-71206708 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.831/2.477/5.711 ms
2025-05-08 02:21:08,382 - INFO - Ping to IP ctest-vm2-test-71206708 from VM ctest-vm1-test-59176806 passed
2025-05-08 02:21:08,382 - INFO - Try deleting the VDNS entry ctest-vdns1-36455766 with back ref of ipam.
2025-05-08 02:21:08,440 - DEBUG - Delete when resource still referred: ['http://10.0.0.27:8082/network-ipam/44c026a9-00ad-47c6-8c5c-ed6d456f8fe8']
2025-05-08 02:21:08,440 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-05-08 02:21:08,440 - INFO - Add CNAME VDNS record for ctest-vm1-test-59176806 and verify we able to ping by alias name
2025-05-08 02:21:08,488 - DEBUG - Creating VDNS record data : test-rec
2025-05-08 02:21:08,604 - INFO - In verify_on_setup
2025-05-08 02:21:08,704 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-36455766', 'test-rec'] created succesfully
2025-05-08 02:21:08,705 - INFO - Verify VDNS record is shown in the API server
2025-05-08 02:21:08,705 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-05-08 02:21:08,712 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c43aaa1d-bd19-4865-a667-7accb5b556be
2025-05-08 02:21:08,727 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/19d3d34a-df87-4537-9410-77fd6fdf3505
2025-05-08 02:21:08,737 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS-record/343c6829-5281-4cc2-9ac8-30683dddf6d0
2025-05-08 02:21:08,743 - INFO - Verify VDNS record is shown in the control node
2025-05-08 02:21:08,749 - 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.27, gateway password: c0ntrail123
2025-05-08 02:21:08,750 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-08 02:21:08,971 - 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.27, gateway password: c0ntrail123
2025-05-08 02:21:08,972 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-08 02:21:09,209 - DEBUG - ping: bad address 'vm1-test-alias'
2025-05-08 02:21:09,209 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-59176806 failed
2025-05-08 02:21:10,210 - 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.27, gateway password: c0ntrail123
2025-05-08 02:21:10,211 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-08 02:21:10,388 - 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.27, gateway password: c0ntrail123
2025-05-08 02:21:10,388 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-08 02:21:10,625 - DEBUG - ping: bad address 'vm1-test-alias'
2025-05-08 02:21:10,625 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-59176806 failed
2025-05-08 02:21:11,626 - 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.27, gateway password: c0ntrail123
2025-05-08 02:21:11,626 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-08 02:21:11,801 - 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.27, gateway password: c0ntrail123
2025-05-08 02:21:11,801 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-08 02:21:14,050 - 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.528 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.387 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.335 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.335/0.416/0.528 ms
2025-05-08 02:21:14,051 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-59176806 passed
2025-05-08 02:21:14,051 - DEBUG - Deleting VDNS record data: test-rec
2025-05-08 02:21:14,120 - INFO - VDNS record info: default-domain:ctest-vdns1-36455766:test-rec deleted successfully.
2025-05-08 02:21:14,121 - INFO - Deleting VM ctest-vm2-test-71206708
2025-05-08 02:21:14,186 - INFO - Deleting VM ctest-vm1-test-59176806
2025-05-08 02:21:14,360 - INFO - Deleting VN ctest-vn1-vdns-95816729
2025-05-08 02:21:14,396 - DEBUG - VN 5c47eab4-118e-4988-a092-51d8482b01d9 still in use: Unable to complete operation on network 5c47eab4-118e-4988-a092-51d8482b01d9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6c5f14e9-e56a-41a8-a1aa-6b0713a1b2e2']
2025-05-08 02:21:14,397 - WARNING - Deleting VN ctest-vn1-vdns-95816729 failed..Will retry
2025-05-08 02:21:16,606 - DEBUG - Response for deleting network ()
2025-05-08 02:21:16,647 - DEBUG - Deleting VDNS Entry: ctest-vdns1-36455766
2025-05-08 02:21:16,720 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-36455766'] deleted successfully.
2025-05-08 02:21:16,720 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-05-08 02:21:16,728 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c43aaa1d-bd19-4865-a667-7accb5b556be
2025-05-08 02:21:16,742 - DEBUG - VDNS information not found in API server
2025-05-08 02:21:16,743 - INFO - VDNS information ctest-vdns1-36455766 removed from the API Server
2025-05-08 02:21:16,748 - INFO - VDNS information ctest-vdns1-36455766 removed in the Control node
2025-05-08 02:21:16,748 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-21630933']
2025-05-08 02:21:17,003 - DEBUG - No XMPP flaps were noticed during the test
2025-05-08 02:21:17,003 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:46]
2025-05-08 02:21:17,003 - INFO - --------------------------------------------------------------------------------
2025-05-08 02:21:17,647 - INFO - Deleted project: ctest-TestvDNSBasic0-21630933, ID : d4a85e3f-0f37-4f1f-acc8-d679a75ef87f