is in ACTIVE state now
2025-06-23 02:05:24,579 - INFO - VM name : ctest-vm2-test-34772189
2025-06-23 02:05:24,647 - DEBUG - VM ctest-vm2-test-34772189 ID is 21bd72ef-09f0-4a74-93e4-88e4f940439b
2025-06-23 02:05:24,647 - DEBUG - VM ctest-vm2-test-34772189 launched on Node cn-jenkins-deploy-platform-ansible-os-3518-1
2025-06-23 02:05:24,723 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/21bd72ef-09f0-4a74-93e4-88e4f940439b
2025-06-23 02:05:24,732 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/10158222-bb25-462f-9fd9-19acfeb48788
2025-06-23 02:05:27,991 - 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 1027ms')
2025-06-23 02:05:27,991 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-34772189 failed!
2025-06-23 02:05:28,045 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-14029563:ctest-vn1-vdns-80696605 is 10.10.10.1 and allocation pool is NOT set
2025-06-23 02:05:30,106 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.453 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.453/2.368/4.284/1.915 ms')
2025-06-23 02:05:30,106 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-34772189 passed
2025-06-23 02:05:30,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 02:05:30,253 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34772189, IP 10.10.10.4, Port 22
2025-06-23 02:05:30,308 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-06-23 02:05:30,381 - DEBUG - VM ctest-vm2-test-34772189 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-23 02:05:35,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 02:05:35,383 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34772189, IP 10.10.10.4, Port 22
2025-06-23 02:05:35,563 - DEBUG - VM ctest-vm2-test-34772189 is ready for SSH connections
2025-06-23 02:05:35,563 - 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.38, gateway password: c0ntrail123
2025-06-23 02:05:35,563 - DEBUG - ifconfig | grep 10.10.10.4
2025-06-23 02:05:36,163 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-06-23 02:05:36,163 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34772189", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-06-23 02:05:36,163 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34772189", None, socket.AF_INET6)'
2025-06-23 02:05:36,405 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-34772189, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-06-23 02:05:36,405 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-34772189
2025-06-23 02:05:38,651 - DEBUG - PING ctest-vm2-test-34772189 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=2.858 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.381 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.387 ms
--- ctest-vm2-test-34772189 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.381/1.208/2.858 ms
2025-06-23 02:05:38,651 - INFO - Ping to IP ctest-vm2-test-34772189 from VM ctest-vm2-test-34772189 passed
2025-06-23 02:05:38,664 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-06-23 02:05:38,670 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-99223718@0%20AllEntriesVdnsRecordsReq
2025-06-23 02:05:38,677 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-99223718:1:ctest-vm2-test-34772189:10.10.10.4', 'rec_name': 'ctest-vm2-test-34772189', '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-3518-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-34772189.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-06-23 02:05:38,677 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-99223718:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-34772189', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-34772189', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3518-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-34772189.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-23 02:05:38,677 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34772189", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-06-23 02:05:38,677 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34772189", None, socket.AF_INET6)'
2025-06-23 02:05:38,853 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-34772189, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-06-23 02:05:38,853 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-34772189
2025-06-23 02:05:41,106 - DEBUG - PING ctest-vm2-test-34772189 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=4.042 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.033 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.896 ms
--- ctest-vm2-test-34772189 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.896/1.990/4.042 ms
2025-06-23 02:05:41,106 - INFO - Ping to IP ctest-vm2-test-34772189 from VM ctest-vm1-test-94746359 passed
2025-06-23 02:05:41,107 - INFO - Try deleting the VDNS entry ctest-vdns1-99223718 with back ref of ipam.
2025-06-23 02:05:41,160 - DEBUG - Delete when resource still referred: ['http://10.0.0.38:8082/network-ipam/34497046-1437-4e2e-b75a-e61eb55aca9f']
2025-06-23 02:05:41,160 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-06-23 02:05:41,161 - INFO - Add CNAME VDNS record for ctest-vm1-test-94746359 and verify we able to ping by alias name
2025-06-23 02:05:41,208 - DEBUG - Creating VDNS record data : test-rec
2025-06-23 02:05:41,325 - INFO - In verify_on_setup
2025-06-23 02:05:41,425 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-99223718', 'test-rec'] created succesfully
2025-06-23 02:05:41,425 - INFO - Verify VDNS record is shown in the API server
2025-06-23 02:05:41,425 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-06-23 02:05:41,431 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d6595adb-9112-44b3-903a-b89621f5c351
2025-06-23 02:05:41,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/5b9e2e62-89f6-4c87-8c24-a27a219ded80
2025-06-23 02:05:41,449 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/5f577e17-f825-4595-a5b3-1561a7bbdb7b
2025-06-23 02:05:41,455 - INFO - Verify VDNS record is shown in the control node
2025-06-23 02:05:41,460 - 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.38, gateway password: c0ntrail123
2025-06-23 02:05:41,460 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-06-23 02:05:41,645 - 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.38, gateway password: c0ntrail123
2025-06-23 02:05:41,646 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-06-23 02:05:41,901 - DEBUG - ping: bad address 'vm1-test-alias'
2025-06-23 02:05:41,901 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-94746359 failed
2025-06-23 02:05:42,902 - 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.38, gateway password: c0ntrail123
2025-06-23 02:05:42,902 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-06-23 02:05:43,086 - 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.38, gateway password: c0ntrail123
2025-06-23 02:05:43,086 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-06-23 02:05:43,318 - DEBUG - ping: bad address 'vm1-test-alias'
2025-06-23 02:05:43,319 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-94746359 failed
2025-06-23 02:05:44,320 - 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.38, gateway password: c0ntrail123
2025-06-23 02:05:44,320 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-06-23 02:05:44,505 - 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.38, gateway password: c0ntrail123
2025-06-23 02:05:44,505 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-06-23 02:05:46,758 - 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.333 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.355 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.298 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.298/0.328/0.355 ms
2025-06-23 02:05:46,758 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-94746359 passed
2025-06-23 02:05:46,758 - DEBUG - Deleting VDNS record data: test-rec
2025-06-23 02:05:46,832 - INFO - VDNS record info: default-domain:ctest-vdns1-99223718:test-rec deleted successfully.
2025-06-23 02:05:46,833 - INFO - Deleting VM ctest-vm2-test-34772189
2025-06-23 02:05:46,900 - INFO - Deleting VM ctest-vm1-test-94746359
2025-06-23 02:05:46,967 - INFO - Deleting VN ctest-vn1-vdns-80696605
2025-06-23 02:05:47,004 - DEBUG - VN 9079e449-ecd4-4b54-811c-4962129fdeb0 still in use: Unable to complete operation on network 9079e449-ecd4-4b54-811c-4962129fdeb0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cd8c72ed-cb71-4047-8f88-6ed2269b972a']
2025-06-23 02:05:47,004 - WARNING - Deleting VN ctest-vn1-vdns-80696605 failed..Will retry
2025-06-23 02:05:49,244 - DEBUG - Response for deleting network ()
2025-06-23 02:05:49,280 - DEBUG - Deleting VDNS Entry: ctest-vdns1-99223718
2025-06-23 02:05:49,365 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-99223718'] deleted successfully.
2025-06-23 02:05:49,365 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-06-23 02:05:49,371 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d6595adb-9112-44b3-903a-b89621f5c351
2025-06-23 02:05:49,385 - DEBUG - VDNS information not found in API server
2025-06-23 02:05:49,385 - INFO - VDNS information ctest-vdns1-99223718 removed from the API Server
2025-06-23 02:05:49,390 - INFO - VDNS information ctest-vdns1-99223718 removed in the Control node
2025-06-23 02:05:49,390 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-14029563']
2025-06-23 02:05:49,647 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 02:05:49,647 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:50]
2025-06-23 02:05:49,647 - INFO - --------------------------------------------------------------------------------
2025-06-23 02:05:50,291 - INFO - Deleted project: ctest-TestvDNSBasic0-14029563, ID : cb00e008-efed-41a2-825f-64ec661ffcca