is in ACTIVE state now
2025-04-08 14:31:46,955 - INFO - VM name : ctest-vm2-test-26109183
2025-04-08 14:31:47,039 - DEBUG - VM ctest-vm2-test-26109183 ID is 7973b772-1d18-48ec-8029-128fcac23d7b
2025-04-08 14:31:47,039 - DEBUG - VM ctest-vm2-test-26109183 launched on Node cn-jenkins-deploy-platform-ansible-os-3054-1
2025-04-08 14:31:47,114 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/7973b772-1d18-48ec-8029-128fcac23d7b
2025-04-08 14:31:47,123 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/81534ff4-85fc-4b9f-b0f7-4631b9d69ea2
2025-04-08 14:31:50,397 - 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 1030ms')
2025-04-08 14:31:50,397 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-26109183 failed!
2025-04-08 14:31:50,459 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27875840:ctest-vn1-vdns-51604397 is 10.10.10.1 and allocation pool is NOT set
2025-04-08 14:31:52,521 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.668 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.668/2.498/4.329/1.830 ms')
2025-04-08 14:31:52,521 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-26109183 passed
2025-04-08 14:31:52,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-08 14:31:52,675 - DEBUG - Waiting to SSH to VM ctest-vm2-test-26109183, IP 10.10.10.4, Port 22
2025-04-08 14:31:52,830 - DEBUG - VM ctest-vm2-test-26109183 is ready for SSH connections
2025-04-08 14:31:52,830 - 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.46, gateway password: c0ntrail123
2025-04-08 14:31:52,830 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-08 14:31:53,486 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-08 14:31:53,486 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-26109183", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123
2025-04-08 14:31:53,486 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-26109183", None, socket.AF_INET6)'
2025-04-08 14:31:53,741 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-26109183, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123
2025-04-08 14:31:53,741 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-26109183
2025-04-08 14:31:56,010 - DEBUG - PING ctest-vm2-test-26109183 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.110 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.430 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.423 ms
--- ctest-vm2-test-26109183 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.423/1.321/3.110 ms
2025-04-08 14:31:56,010 - INFO - Ping to IP ctest-vm2-test-26109183 from VM ctest-vm2-test-26109183 passed
2025-04-08 14:31:56,024 - DEBUG - Requesting: http://10.0.0.46:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-08 14:31:56,031 - DEBUG - Requesting: http://10.0.0.46:8092/Snh_PageReq?x=default-domain:ctest-vdns1-79238307@0%20AllEntriesVdnsRecordsReq
2025-04-08 14:31:56,040 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-79238307:1:ctest-vm2-test-26109183:10.10.10.4', 'rec_name': 'ctest-vm2-test-26109183', '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-3054-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-26109183.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-08 14:31:56,040 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-79238307:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-26109183', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-26109183', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3054-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-26109183.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-04-08 14:31:56,040 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-26109183", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123
2025-04-08 14:31:56,041 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-26109183", None, socket.AF_INET6)'
2025-04-08 14:31:56,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-26109183, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123
2025-04-08 14:31:56,227 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-26109183
2025-04-08 14:31:58,501 - DEBUG - PING ctest-vm2-test-26109183 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=8.463 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.053 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.932 ms
--- ctest-vm2-test-26109183 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.932/3.482/8.463 ms
2025-04-08 14:31:58,501 - INFO - Ping to IP ctest-vm2-test-26109183 from VM ctest-vm1-test-29125910 passed
2025-04-08 14:31:58,501 - INFO - Try deleting the VDNS entry ctest-vdns1-79238307 with back ref of ipam.
2025-04-08 14:31:58,562 - DEBUG - Delete when resource still referred: ['http://10.0.0.46:8082/network-ipam/6c2fcb5c-3649-4d7f-bfc4-3b66811ceadc']
2025-04-08 14:31:58,562 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-08 14:31:58,562 - INFO - Add CNAME VDNS record for ctest-vm1-test-29125910 and verify we able to ping by alias name
2025-04-08 14:31:58,610 - DEBUG - Creating VDNS record data : test-rec
2025-04-08 14:31:58,722 - INFO - In verify_on_setup
2025-04-08 14:31:58,818 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-79238307', 'test-rec'] created succesfully
2025-04-08 14:31:58,818 - INFO - Verify VDNS record is shown in the API server
2025-04-08 14:31:58,819 - DEBUG - Requesting: http://10.0.0.46:8082/domains
2025-04-08 14:31:58,825 - DEBUG - Requesting: http://10.0.0.46:8082/domain/b9b09fe9-8c01-4dba-8594-b5e0931ec90e
2025-04-08 14:31:58,840 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-DNS/6618b312-969f-4202-891d-19ec28ffe166
2025-04-08 14:31:58,850 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-DNS-record/3cb6d1b7-2f22-4a7d-9562-36779bc3b08a
2025-04-08 14:31:58,859 - INFO - Verify VDNS record is shown in the control node
2025-04-08 14:31:58,866 - 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.46, gateway password: c0ntrail123
2025-04-08 14:31:58,867 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-08 14:31:59,053 - 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.46, gateway password: c0ntrail123
2025-04-08 14:31:59,053 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-08 14:31:59,298 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-08 14:31:59,298 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-29125910 failed
2025-04-08 14:32:00,299 - 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.46, gateway password: c0ntrail123
2025-04-08 14:32:00,299 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-08 14:32:00,485 - 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.46, gateway password: c0ntrail123
2025-04-08 14:32:00,485 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-08 14:32:00,729 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-08 14:32:00,729 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-29125910 failed
2025-04-08 14:32:01,730 - 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.46, gateway password: c0ntrail123
2025-04-08 14:32:01,730 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-08 14:32:01,916 - 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.46, gateway password: c0ntrail123
2025-04-08 14:32:01,917 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-08 14:32:04,178 - 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.339 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.579 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.299 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.299/0.405/0.579 ms
2025-04-08 14:32:04,178 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-29125910 passed
2025-04-08 14:32:04,178 - DEBUG - Deleting VDNS record data: test-rec
2025-04-08 14:32:04,250 - INFO - VDNS record info: default-domain:ctest-vdns1-79238307:test-rec deleted successfully.
2025-04-08 14:32:04,250 - INFO - Deleting VM ctest-vm2-test-26109183
2025-04-08 14:32:04,324 - INFO - Deleting VM ctest-vm1-test-29125910
2025-04-08 14:32:04,393 - INFO - Deleting VN ctest-vn1-vdns-51604397
2025-04-08 14:32:04,434 - DEBUG - VN 02c7b5e3-0946-49b3-b535-34cb41da1dfa still in use: Unable to complete operation on network 02c7b5e3-0946-49b3-b535-34cb41da1dfa. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-110d6fa5-5a11-40a1-a39e-4f1dfe4c7911']
2025-04-08 14:32:04,434 - WARNING - Deleting VN ctest-vn1-vdns-51604397 failed..Will retry
2025-04-08 14:32:06,664 - DEBUG - Response for deleting network ()
2025-04-08 14:32:06,714 - DEBUG - Deleting VDNS Entry: ctest-vdns1-79238307
2025-04-08 14:32:06,782 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-79238307'] deleted successfully.
2025-04-08 14:32:06,782 - DEBUG - Requesting: http://10.0.0.46:8082/domains
2025-04-08 14:32:06,790 - DEBUG - Requesting: http://10.0.0.46:8082/domain/b9b09fe9-8c01-4dba-8594-b5e0931ec90e
2025-04-08 14:32:06,804 - DEBUG - VDNS information not found in API server
2025-04-08 14:32:06,804 - INFO - VDNS information ctest-vdns1-79238307 removed from the API Server
2025-04-08 14:32:06,810 - INFO - VDNS information ctest-vdns1-79238307 removed in the Control node
2025-04-08 14:32:06,810 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-27875840']
2025-04-08 14:32:07,068 - DEBUG - No XMPP flaps were noticed during the test
2025-04-08 14:32:07,068 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:46]
2025-04-08 14:32:07,069 - INFO - --------------------------------------------------------------------------------
2025-04-08 14:32:07,772 - INFO - Deleted project: ctest-TestvDNSBasic0-27875840, ID : ec0837e5-54fb-4e3d-87a8-1ecf47ae0f78