is in ACTIVE state now
2025-06-17 19:09:11,039 - INFO - VM name : ctest-vm2-test-94023736
2025-06-17 19:09:11,130 - DEBUG - VM ctest-vm2-test-94023736 ID is 86b5787b-cc0d-4c88-b2e9-a1cc03d77170
2025-06-17 19:09:11,130 - DEBUG - VM ctest-vm2-test-94023736 launched on Node cn-jenkins-deploy-platform-ansible-os-3464-1
2025-06-17 19:09:11,222 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/86b5787b-cc0d-4c88-b2e9-a1cc03d77170
2025-06-17 19:09:11,234 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/812994d4-8356-4796-ac56-ff6b8d3c3ba6
2025-06-17 19:09:14,498 - 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 1018ms')
2025-06-17 19:09:14,498 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-94023736 failed!
2025-06-17 19:09:14,553 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47330574:ctest-vn1-vdns-52616834 is 10.10.10.1 and allocation pool is NOT set
2025-06-17 19:09:16,618 - 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=8.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.73 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.730/5.752/8.775/3.022 ms')
2025-06-17 19:09:16,618 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-94023736 passed
2025-06-17 19:09:16,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-17 19:09:16,773 - DEBUG - Waiting to SSH to VM ctest-vm2-test-94023736, IP 10.10.10.4, Port 22
2025-06-17 19:09:16,828 - 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-17 19:09:16,914 - DEBUG - VM ctest-vm2-test-94023736 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-17 19:09:21,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-17 19:09:21,916 - DEBUG - Waiting to SSH to VM ctest-vm2-test-94023736, IP 10.10.10.4, Port 22
2025-06-17 19:09:22,072 - DEBUG - VM ctest-vm2-test-94023736 is ready for SSH connections
2025-06-17 19:09:22,073 - 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.57, gateway password: c0ntrail123
2025-06-17 19:09:22,073 - DEBUG - ifconfig | grep 10.10.10.4
2025-06-17 19:09:22,699 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-06-17 19:09:22,699 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-94023736", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-06-17 19:09:22,699 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-94023736", None, socket.AF_INET6)'
2025-06-17 19:09:22,958 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-94023736, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-06-17 19:09:22,958 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-94023736
2025-06-17 19:09:25,218 - DEBUG - PING ctest-vm2-test-94023736 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.676 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.449 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.405 ms
--- ctest-vm2-test-94023736 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.405/1.510/3.676 ms
2025-06-17 19:09:25,219 - INFO - Ping to IP ctest-vm2-test-94023736 from VM ctest-vm2-test-94023736 passed
2025-06-17 19:09:25,232 - DEBUG - Requesting: http://10.0.0.57:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-06-17 19:09:25,239 - DEBUG - Requesting: http://10.0.0.57:8092/Snh_PageReq?x=default-domain:ctest-vdns1-48662113@0%20AllEntriesVdnsRecordsReq
2025-06-17 19:09:25,246 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-48662113:1:ctest-vm2-test-94023736:10.10.10.4', 'rec_name': 'ctest-vm2-test-94023736', '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-3464-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-94023736.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-06-17 19:09:25,246 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-48662113:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-94023736', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-94023736', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3464-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-94023736.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-17 19:09:25,246 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-94023736", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-06-17 19:09:25,246 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-94023736", None, socket.AF_INET6)'
2025-06-17 19:09:25,432 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-94023736, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-06-17 19:09:25,432 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-94023736
2025-06-17 19:09:27,712 - DEBUG - PING ctest-vm2-test-94023736 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=8.682 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.883 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.864 ms
--- ctest-vm2-test-94023736 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.864/3.476/8.682 ms
2025-06-17 19:09:27,713 - INFO - Ping to IP ctest-vm2-test-94023736 from VM ctest-vm1-test-22945364 passed
2025-06-17 19:09:27,713 - INFO - Try deleting the VDNS entry ctest-vdns1-48662113 with back ref of ipam.
2025-06-17 19:09:27,772 - DEBUG - Delete when resource still referred: ['http://10.0.0.57:8082/network-ipam/f4110860-8895-4a0b-9480-ec4b19534187']
2025-06-17 19:09:27,772 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-06-17 19:09:27,773 - INFO - Add CNAME VDNS record for ctest-vm1-test-22945364 and verify we able to ping by alias name
2025-06-17 19:09:27,820 - DEBUG - Creating VDNS record data : test-rec
2025-06-17 19:09:27,932 - INFO - In verify_on_setup
2025-06-17 19:09:28,028 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-48662113', 'test-rec'] created succesfully
2025-06-17 19:09:28,029 - INFO - Verify VDNS record is shown in the API server
2025-06-17 19:09:28,029 - DEBUG - Requesting: http://10.0.0.57:8082/domains
2025-06-17 19:09:28,036 - DEBUG - Requesting: http://10.0.0.57:8082/domain/5087096a-1565-41ba-823e-859072acb566
2025-06-17 19:09:28,054 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-DNS/4aa6eb0b-abf0-465f-b00b-ee6bd03c0eb8
2025-06-17 19:09:28,066 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-DNS-record/864fe9c1-a26a-4a28-8495-7e8e07f4e0c6
2025-06-17 19:09:28,075 - INFO - Verify VDNS record is shown in the control node
2025-06-17 19:09:28,081 - 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.57, gateway password: c0ntrail123
2025-06-17 19:09:28,082 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-06-17 19:09:28,287 - 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.57, gateway password: c0ntrail123
2025-06-17 19:09:28,288 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-06-17 19:09:28,528 - DEBUG - ping: bad address 'vm1-test-alias'
2025-06-17 19:09:28,528 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-22945364 failed
2025-06-17 19:09:29,529 - 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.57, gateway password: c0ntrail123
2025-06-17 19:09:29,530 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-06-17 19:09:29,729 - 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.57, gateway password: c0ntrail123
2025-06-17 19:09:29,729 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-06-17 19:09:29,988 - DEBUG - ping: bad address 'vm1-test-alias'
2025-06-17 19:09:29,988 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-22945364 failed
2025-06-17 19:09:30,992 - 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.57, gateway password: c0ntrail123
2025-06-17 19:09:30,993 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-06-17 19:09:31,192 - 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.57, gateway password: c0ntrail123
2025-06-17 19:09:31,192 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-06-17 19:09:33,440 - 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.429 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.415 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.405 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.405/0.416/0.429 ms
2025-06-17 19:09:33,440 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-22945364 passed
2025-06-17 19:09:33,440 - DEBUG - Deleting VDNS record data: test-rec
2025-06-17 19:09:33,512 - INFO - VDNS record info: default-domain:ctest-vdns1-48662113:test-rec deleted successfully.
2025-06-17 19:09:33,513 - INFO - Deleting VM ctest-vm2-test-94023736
2025-06-17 19:09:33,589 - INFO - Deleting VM ctest-vm1-test-22945364
2025-06-17 19:09:33,667 - INFO - Deleting VN ctest-vn1-vdns-52616834
2025-06-17 19:09:33,715 - DEBUG - VN 803d0809-98eb-4599-9bca-3fa560022d7e still in use: Unable to complete operation on network 803d0809-98eb-4599-9bca-3fa560022d7e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0b8362be-17d5-4d46-9c8b-22045d898afe']
2025-06-17 19:09:33,715 - WARNING - Deleting VN ctest-vn1-vdns-52616834 failed..Will retry
2025-06-17 19:09:35,989 - DEBUG - Response for deleting network ()
2025-06-17 19:09:36,027 - DEBUG - Deleting VDNS Entry: ctest-vdns1-48662113
2025-06-17 19:09:36,108 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-48662113'] deleted successfully.
2025-06-17 19:09:36,109 - DEBUG - Requesting: http://10.0.0.57:8082/domains
2025-06-17 19:09:36,117 - DEBUG - Requesting: http://10.0.0.57:8082/domain/5087096a-1565-41ba-823e-859072acb566
2025-06-17 19:09:36,132 - DEBUG - VDNS information not found in API server
2025-06-17 19:09:36,132 - INFO - VDNS information ctest-vdns1-48662113 removed from the API Server
2025-06-17 19:09:36,140 - INFO - VDNS information ctest-vdns1-48662113 removed in the Control node
2025-06-17 19:09:36,140 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-47330574']
2025-06-17 19:09:36,407 - DEBUG - No XMPP flaps were noticed during the test
2025-06-17 19:09:36,407 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:56]
2025-06-17 19:09:36,407 - INFO - --------------------------------------------------------------------------------
2025-06-17 19:09:37,115 - INFO - Deleted project: ctest-TestvDNSBasic0-47330574, ID : 1785e0b4-cee4-471b-8c0d-e7aa4a7fa962