is in ACTIVE state now
2025-06-05 02:34:42,415 - INFO - VM name : ctest-vm2-test-65729384
2025-06-05 02:34:42,483 - DEBUG - VM ctest-vm2-test-65729384 ID is ba856c1f-84d5-454c-8f9d-ac90e4ba8591
2025-06-05 02:34:42,483 - DEBUG - VM ctest-vm2-test-65729384 launched on Node cn-jenkins-deploy-platform-ansible-os-3405-1
2025-06-05 02:34:42,558 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ba856c1f-84d5-454c-8f9d-ac90e4ba8591
2025-06-05 02:34:42,567 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/de77f518-b748-4df7-85ef-7f1c0c62db44
2025-06-05 02:34:45,823 - 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 1012ms')
2025-06-05 02:34:45,823 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-65729384 failed!
2025-06-05 02:34:45,878 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-44426320:ctest-vn1-vdns-24315673 is 10.10.10.1 and allocation pool is NOT set
2025-06-05 02:34:47,940 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 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.427/1.734/3.041/1.307 ms')
2025-06-05 02:34:47,941 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-65729384 passed
2025-06-05 02:34:48,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-05 02:34:48,090 - DEBUG - Waiting to SSH to VM ctest-vm2-test-65729384, IP 10.10.10.4, Port 22
2025-06-05 02:34:48,241 - DEBUG - VM ctest-vm2-test-65729384 is ready for SSH connections
2025-06-05 02:34:48,241 - 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-06-05 02:34:48,241 - DEBUG - ifconfig | grep 10.10.10.4
2025-06-05 02:34:48,841 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-06-05 02:34:48,841 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-65729384", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-06-05 02:34:48,841 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-65729384", None, socket.AF_INET6)'
2025-06-05 02:34:49,076 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-65729384, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-06-05 02:34:49,076 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-65729384
2025-06-05 02:34:51,321 - DEBUG - PING ctest-vm2-test-65729384 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.077 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.334 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.388 ms
--- ctest-vm2-test-65729384 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.334/1.266/3.077 ms
2025-06-05 02:34:51,322 - INFO - Ping to IP ctest-vm2-test-65729384 from VM ctest-vm2-test-65729384 passed
2025-06-05 02:34:51,333 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-06-05 02:34:51,338 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77327622@0%20AllEntriesVdnsRecordsReq
2025-06-05 02:34:51,343 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-77327622:1:ctest-vm2-test-65729384:10.10.10.4', 'rec_name': 'ctest-vm2-test-65729384', '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-3405-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-65729384.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-06-05 02:34:51,343 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-77327622:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-65729384', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-65729384', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3405-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-65729384.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-06-05 02:34:51,344 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-65729384", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-06-05 02:34:51,344 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-65729384", None, socket.AF_INET6)'
2025-06-05 02:34:51,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-65729384, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-06-05 02:34:51,527 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-65729384
2025-06-05 02:34:53,781 - DEBUG - PING ctest-vm2-test-65729384 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=4.258 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.692 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.809 ms
--- ctest-vm2-test-65729384 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.692/1.919/4.258 ms
2025-06-05 02:34:53,781 - INFO - Ping to IP ctest-vm2-test-65729384 from VM ctest-vm1-test-98817024 passed
2025-06-05 02:34:53,781 - INFO - Try deleting the VDNS entry ctest-vdns1-77327622 with back ref of ipam.
2025-06-05 02:34:53,833 - DEBUG - Delete when resource still referred: ['http://10.0.0.27:8082/network-ipam/f79dfc1d-ab57-4435-bf81-6c5ee30be4fc']
2025-06-05 02:34:53,834 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-06-05 02:34:53,834 - INFO - Add CNAME VDNS record for ctest-vm1-test-98817024 and verify we able to ping by alias name
2025-06-05 02:34:53,881 - DEBUG - Creating VDNS record data : test-rec
2025-06-05 02:34:53,994 - INFO - In verify_on_setup
2025-06-05 02:34:54,094 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-77327622', 'test-rec'] created succesfully
2025-06-05 02:34:54,094 - INFO - Verify VDNS record is shown in the API server
2025-06-05 02:34:54,094 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-06-05 02:34:54,100 - DEBUG - Requesting: http://10.0.0.27:8082/domain/aab916b1-8381-47b6-8cb0-f207c4f84f93
2025-06-05 02:34:54,111 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/50bcc491-5897-4470-90d9-aec3ff337f4c
2025-06-05 02:34:54,118 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS-record/ae435603-3305-445b-97bb-a84934035084
2025-06-05 02:34:54,123 - INFO - Verify VDNS record is shown in the control node
2025-06-05 02:34:54,129 - 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-06-05 02:34:54,129 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-06-05 02:34:54,303 - 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-06-05 02:34:54,303 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-06-05 02:34:54,535 - DEBUG - ping: bad address 'vm1-test-alias'
2025-06-05 02:34:54,535 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-98817024 failed
2025-06-05 02:34:55,536 - 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-06-05 02:34:55,536 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-06-05 02:34:55,708 - 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-06-05 02:34:55,708 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-06-05 02:34:55,937 - DEBUG - ping: bad address 'vm1-test-alias'
2025-06-05 02:34:55,937 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-98817024 failed
2025-06-05 02:34:56,937 - 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-06-05 02:34:56,938 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-06-05 02:34:57,112 - 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-06-05 02:34:57,112 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-06-05 02:34:59,352 - 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.307 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.324 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.307 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.307/0.312/0.324 ms
2025-06-05 02:34:59,352 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-98817024 passed
2025-06-05 02:34:59,352 - DEBUG - Deleting VDNS record data: test-rec
2025-06-05 02:34:59,421 - INFO - VDNS record info: default-domain:ctest-vdns1-77327622:test-rec deleted successfully.
2025-06-05 02:34:59,422 - INFO - Deleting VM ctest-vm2-test-65729384
2025-06-05 02:34:59,484 - INFO - Deleting VM ctest-vm1-test-98817024
2025-06-05 02:34:59,542 - INFO - Deleting VN ctest-vn1-vdns-24315673
2025-06-05 02:34:59,576 - DEBUG - VN ae26cec1-b734-4b98-8e64-3487f6a29114 still in use: Unable to complete operation on network ae26cec1-b734-4b98-8e64-3487f6a29114. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-61483c54-6109-42a3-aa64-5878e1316485']
2025-06-05 02:34:59,576 - WARNING - Deleting VN ctest-vn1-vdns-24315673 failed..Will retry
2025-06-05 02:35:01,771 - DEBUG - Response for deleting network ()
2025-06-05 02:35:01,805 - DEBUG - Deleting VDNS Entry: ctest-vdns1-77327622
2025-06-05 02:35:01,869 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-77327622'] deleted successfully.
2025-06-05 02:35:01,870 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-06-05 02:35:01,876 - DEBUG - Requesting: http://10.0.0.27:8082/domain/aab916b1-8381-47b6-8cb0-f207c4f84f93
2025-06-05 02:35:01,888 - DEBUG - VDNS information not found in API server
2025-06-05 02:35:01,889 - INFO - VDNS information ctest-vdns1-77327622 removed from the API Server
2025-06-05 02:35:01,894 - INFO - VDNS information ctest-vdns1-77327622 removed in the Control node
2025-06-05 02:35:01,894 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-44426320']
2025-06-05 02:35:02,143 - DEBUG - No XMPP flaps were noticed during the test
2025-06-05 02:35:02,143 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:45]
2025-06-05 02:35:02,143 - INFO - --------------------------------------------------------------------------------
2025-06-05 02:35:02,776 - INFO - Deleted project: ctest-TestvDNSBasic0-44426320, ID : 813b5465-86e8-4bc6-81b9-cd07da38ceb7