is in ACTIVE state now
2025-05-07 14:16:55,104 - INFO - VM name : ctest-vm2-test-10611405
2025-05-07 14:16:55,174 - DEBUG - VM ctest-vm2-test-10611405 ID is 80e516d4-7d2b-4aef-bfe2-a837dc478a4b
2025-05-07 14:16:55,175 - DEBUG - VM ctest-vm2-test-10611405 launched on Node cn-jenkins-deploy-platform-ansible-os-3283-1
2025-05-07 14:16:55,249 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/80e516d4-7d2b-4aef-bfe2-a837dc478a4b
2025-05-07 14:16:55,257 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/4d63f988-0dec-4ca2-a245-6e3efc36da3b
2025-05-07 14:16:58,518 - 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 1020ms')
2025-05-07 14:16:58,519 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-10611405 failed!
2025-05-07 14:16:58,572 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31299961:ctest-vn1-vdns-71728512 is 10.10.10.1 and allocation pool is NOT set
2025-05-07 14:17:00,627 - 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=2.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.642 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 = 0.642/1.814/2.987/1.172 ms')
2025-05-07 14:17:00,627 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-10611405 passed
2025-05-07 14:17:00,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-07 14:17:00,776 - DEBUG - Waiting to SSH to VM ctest-vm2-test-10611405, IP 10.10.10.4, Port 22
2025-05-07 14:17:00,928 - DEBUG - VM ctest-vm2-test-10611405 is ready for SSH connections
2025-05-07 14:17:00,928 - 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.49, gateway password: c0ntrail123
2025-05-07 14:17:00,928 - DEBUG - ifconfig | grep 10.10.10.4
2025-05-07 14:17:01,535 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-05-07 14:17:01,536 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-10611405", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-05-07 14:17:01,536 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-10611405", None, socket.AF_INET6)'
2025-05-07 14:17:01,774 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-10611405, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-05-07 14:17:01,774 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-10611405
2025-05-07 14:17:04,026 - DEBUG - PING ctest-vm2-test-10611405 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=2.902 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.335 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.543 ms
--- ctest-vm2-test-10611405 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.335/1.260/2.902 ms
2025-05-07 14:17:04,027 - INFO - Ping to IP ctest-vm2-test-10611405 from VM ctest-vm2-test-10611405 passed
2025-05-07 14:17:04,039 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-05-07 14:17:04,044 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=default-domain:ctest-vdns1-17242923@0%20AllEntriesVdnsRecordsReq
2025-05-07 14:17:04,049 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-17242923:1:ctest-vm2-test-10611405:10.10.10.4', 'rec_name': 'ctest-vm2-test-10611405', '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-3283-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-10611405.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-05-07 14:17:04,050 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-17242923:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-10611405', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-10611405', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3283-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-10611405.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-07 14:17:04,050 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-10611405", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-05-07 14:17:04,050 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-10611405", None, socket.AF_INET6)'
2025-05-07 14:17:04,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-10611405, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-05-07 14:17:04,234 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-10611405
2025-05-07 14:17:06,477 - DEBUG - PING ctest-vm2-test-10611405 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.177 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.825 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.694 ms
--- ctest-vm2-test-10611405 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.694/1.565/3.177 ms
2025-05-07 14:17:06,477 - INFO - Ping to IP ctest-vm2-test-10611405 from VM ctest-vm1-test-07989819 passed
2025-05-07 14:17:06,477 - INFO - Try deleting the VDNS entry ctest-vdns1-17242923 with back ref of ipam.
2025-05-07 14:17:06,536 - DEBUG - Delete when resource still referred: ['http://10.0.0.49:8082/network-ipam/b0962fab-cb16-46fd-a08b-4e4d6a6fbbee']
2025-05-07 14:17:06,536 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-05-07 14:17:06,536 - INFO - Add CNAME VDNS record for ctest-vm1-test-07989819 and verify we able to ping by alias name
2025-05-07 14:17:06,584 - DEBUG - Creating VDNS record data : test-rec
2025-05-07 14:17:06,700 - INFO - In verify_on_setup
2025-05-07 14:17:06,796 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-17242923', 'test-rec'] created succesfully
2025-05-07 14:17:06,796 - INFO - Verify VDNS record is shown in the API server
2025-05-07 14:17:06,796 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2025-05-07 14:17:06,803 - DEBUG - Requesting: http://10.0.0.49:8082/domain/29814dbe-7f9f-4319-8153-d1a0b648541b
2025-05-07 14:17:06,815 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-DNS/59624cdf-8961-4c32-8ab1-ee3daf9d6788
2025-05-07 14:17:06,822 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-DNS-record/d63f83d7-4520-4c9f-96df-f0b30d634ac2
2025-05-07 14:17:06,828 - INFO - Verify VDNS record is shown in the control node
2025-05-07 14:17:06,834 - 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.49, gateway password: c0ntrail123
2025-05-07 14:17:06,834 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-07 14:17:07,029 - 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.49, gateway password: c0ntrail123
2025-05-07 14:17:07,029 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-07 14:17:07,285 - DEBUG - ping: bad address 'vm1-test-alias'
2025-05-07 14:17:07,286 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-07989819 failed
2025-05-07 14:17:08,286 - 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.49, gateway password: c0ntrail123
2025-05-07 14:17:08,287 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-07 14:17:08,469 - 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.49, gateway password: c0ntrail123
2025-05-07 14:17:08,469 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-07 14:17:08,691 - DEBUG - ping: bad address 'vm1-test-alias'
2025-05-07 14:17:08,691 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-07989819 failed
2025-05-07 14:17:09,698 - 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.49, gateway password: c0ntrail123
2025-05-07 14:17:09,698 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-07 14:17:09,893 - 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.49, gateway password: c0ntrail123
2025-05-07 14:17:09,893 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-07 14:17:12,142 - 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.521 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.339 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.423 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.339/0.427/0.521 ms
2025-05-07 14:17:12,143 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-07989819 passed
2025-05-07 14:17:12,143 - DEBUG - Deleting VDNS record data: test-rec
2025-05-07 14:17:12,220 - INFO - VDNS record info: default-domain:ctest-vdns1-17242923:test-rec deleted successfully.
2025-05-07 14:17:12,220 - INFO - Deleting VM ctest-vm2-test-10611405
2025-05-07 14:17:12,287 - INFO - Deleting VM ctest-vm1-test-07989819
2025-05-07 14:17:12,349 - INFO - Deleting VN ctest-vn1-vdns-71728512
2025-05-07 14:17:12,385 - DEBUG - VN ad16af15-efe1-4ae8-b27f-44e77b24af8c still in use: Unable to complete operation on network ad16af15-efe1-4ae8-b27f-44e77b24af8c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ffb5947d-ab22-4b84-93e1-2be7b8dcef9c']
2025-05-07 14:17:12,385 - WARNING - Deleting VN ctest-vn1-vdns-71728512 failed..Will retry
2025-05-07 14:17:14,539 - DEBUG - Response for deleting network ()
2025-05-07 14:17:14,591 - DEBUG - Deleting VDNS Entry: ctest-vdns1-17242923
2025-05-07 14:17:14,668 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-17242923'] deleted successfully.
2025-05-07 14:17:14,668 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2025-05-07 14:17:14,674 - DEBUG - Requesting: http://10.0.0.49:8082/domain/29814dbe-7f9f-4319-8153-d1a0b648541b
2025-05-07 14:17:14,687 - DEBUG - VDNS information not found in API server
2025-05-07 14:17:14,687 - INFO - VDNS information ctest-vdns1-17242923 removed from the API Server
2025-05-07 14:17:14,692 - INFO - VDNS information ctest-vdns1-17242923 removed in the Control node
2025-05-07 14:17:14,692 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-31299961']
2025-05-07 14:17:14,949 - DEBUG - No XMPP flaps were noticed during the test
2025-05-07 14:17:14,949 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:44]
2025-05-07 14:17:14,949 - INFO - --------------------------------------------------------------------------------
2025-05-07 14:17:15,603 - INFO - Deleted project: ctest-TestvDNSBasic0-31299961, ID : cffb63cd-7b85-4a56-aae0-acbfca4940e0