is in ACTIVE state now
2025-04-26 08:43:22,843 - INFO - VM name : ctest-vm2-test-14181627
2025-04-26 08:43:22,911 - DEBUG - VM ctest-vm2-test-14181627 ID is 2e16482e-e162-4477-bf2b-a1be627d6b53
2025-04-26 08:43:22,911 - DEBUG - VM ctest-vm2-test-14181627 launched on Node cn-jenkins-deploy-platform-ansible-os-3219-1
2025-04-26 08:43:22,981 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2e16482e-e162-4477-bf2b-a1be627d6b53
2025-04-26 08:43:22,989 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9ee3981f-09cc-43a6-8ca6-a5654f15d00e
2025-04-26 08:43:26,244 - 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 1004ms')
2025-04-26 08:43:26,244 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-14181627 failed!
2025-04-26 08:43:26,307 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63175943:ctest-vn1-vdns-19999390 is 10.10.10.1 and allocation pool is NOT set
2025-04-26 08:43:28,366 - 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=5.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.16 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.162/3.303/5.445/2.141 ms')
2025-04-26 08:43:28,366 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-14181627 passed
2025-04-26 08:43:28,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 08:43:28,519 - DEBUG - Waiting to SSH to VM ctest-vm2-test-14181627, IP 10.10.10.4, Port 22
2025-04-26 08:43:28,679 - DEBUG - VM ctest-vm2-test-14181627 is ready for SSH connections
2025-04-26 08:43:28,679 - 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-04-26 08:43:28,679 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-26 08:43:29,269 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-26 08:43:29,269 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-14181627", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-04-26 08:43:29,269 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-14181627", None, socket.AF_INET6)'
2025-04-26 08:43:29,522 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-14181627, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-04-26 08:43:29,522 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-14181627
2025-04-26 08:43:31,779 - DEBUG - PING ctest-vm2-test-14181627 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=2.959 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.328 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.399 ms
--- ctest-vm2-test-14181627 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.328/1.228/2.959 ms
2025-04-26 08:43:31,779 - INFO - Ping to IP ctest-vm2-test-14181627 from VM ctest-vm2-test-14181627 passed
2025-04-26 08:43:31,793 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-26 08:43:31,799 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-73620488@0%20AllEntriesVdnsRecordsReq
2025-04-26 08:43:31,806 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-73620488:1:ctest-vm2-test-14181627:10.10.10.4', 'rec_name': 'ctest-vm2-test-14181627', '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-3219-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-14181627.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-26 08:43:31,806 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-73620488:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-14181627', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-14181627', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3219-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-14181627.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-26 08:43:31,806 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-14181627", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-04-26 08:43:31,806 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-14181627", None, socket.AF_INET6)'
2025-04-26 08:43:31,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-14181627, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-04-26 08:43:31,993 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-14181627
2025-04-26 08:43:34,297 - DEBUG - PING ctest-vm2-test-14181627 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=7.509 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.690 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.812 ms
--- ctest-vm2-test-14181627 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.690/3.003/7.509 ms
2025-04-26 08:43:34,297 - INFO - Ping to IP ctest-vm2-test-14181627 from VM ctest-vm1-test-43222342 passed
2025-04-26 08:43:34,297 - INFO - Try deleting the VDNS entry ctest-vdns1-73620488 with back ref of ipam.
2025-04-26 08:43:34,351 - DEBUG - Delete when resource still referred: ['http://10.0.0.22:8082/network-ipam/8d4eaaef-d3a9-4fb1-bee6-3557dc23ca7c']
2025-04-26 08:43:34,351 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-26 08:43:34,351 - INFO - Add CNAME VDNS record for ctest-vm1-test-43222342 and verify we able to ping by alias name
2025-04-26 08:43:34,399 - DEBUG - Creating VDNS record data : test-rec
2025-04-26 08:43:34,507 - INFO - In verify_on_setup
2025-04-26 08:43:34,603 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-73620488', 'test-rec'] created succesfully
2025-04-26 08:43:34,603 - INFO - Verify VDNS record is shown in the API server
2025-04-26 08:43:34,603 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-04-26 08:43:34,610 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4618d77d-6252-44fc-b2fc-7fe1d2036a79
2025-04-26 08:43:34,622 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS/01733ba4-a8cf-40c5-a9c6-db217ad13ba4
2025-04-26 08:43:34,631 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS-record/2cc1596d-fccc-4416-88c0-25d8c3a555e7
2025-04-26 08:43:34,638 - INFO - Verify VDNS record is shown in the control node
2025-04-26 08:43:34,644 - 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-04-26 08:43:34,644 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-26 08:43:34,829 - 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-04-26 08:43:34,829 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-26 08:43:35,069 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-26 08:43:35,069 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-43222342 failed
2025-04-26 08:43:36,070 - 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-04-26 08:43:36,070 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-26 08:43:36,246 - 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-04-26 08:43:36,246 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-26 08:43:36,478 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-26 08:43:36,478 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-43222342 failed
2025-04-26 08:43:37,479 - 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-04-26 08:43:37,480 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-26 08:43:37,664 - 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-04-26 08:43:37,664 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-26 08:43:39,906 - 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.333 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.306 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.306/0.326/0.339 ms
2025-04-26 08:43:39,906 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-43222342 passed
2025-04-26 08:43:39,906 - DEBUG - Deleting VDNS record data: test-rec
2025-04-26 08:43:39,975 - INFO - VDNS record info: default-domain:ctest-vdns1-73620488:test-rec deleted successfully.
2025-04-26 08:43:39,975 - INFO - Deleting VM ctest-vm2-test-14181627
2025-04-26 08:43:40,042 - INFO - Deleting VM ctest-vm1-test-43222342
2025-04-26 08:43:40,111 - INFO - Deleting VN ctest-vn1-vdns-19999390
2025-04-26 08:43:40,145 - DEBUG - VN 63990861-f6bd-4665-b42c-c455c40209cd still in use: Unable to complete operation on network 63990861-f6bd-4665-b42c-c455c40209cd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4ef70fd5-e8e0-4575-9c5d-b75189ab9ab8']
2025-04-26 08:43:40,145 - WARNING - Deleting VN ctest-vn1-vdns-19999390 failed..Will retry
2025-04-26 08:43:42,335 - DEBUG - Response for deleting network ()
2025-04-26 08:43:42,364 - DEBUG - Deleting VDNS Entry: ctest-vdns1-73620488
2025-04-26 08:43:42,439 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-73620488'] deleted successfully.
2025-04-26 08:43:42,439 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-04-26 08:43:42,447 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4618d77d-6252-44fc-b2fc-7fe1d2036a79
2025-04-26 08:43:42,459 - DEBUG - VDNS information not found in API server
2025-04-26 08:43:42,459 - INFO - VDNS information ctest-vdns1-73620488 removed from the API Server
2025-04-26 08:43:42,465 - INFO - VDNS information ctest-vdns1-73620488 removed in the Control node
2025-04-26 08:43:42,465 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-63175943']
2025-04-26 08:43:42,721 - DEBUG - No XMPP flaps were noticed during the test
2025-04-26 08:43:42,721 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:50]
2025-04-26 08:43:42,721 - INFO - --------------------------------------------------------------------------------
2025-04-26 08:43:43,390 - INFO - Deleted project: ctest-TestvDNSBasic0-63175943, ID : 2dcb7fa2-2b0e-4aed-8193-45d21465bd73