2026-04-06 03:34:31,269 - INFO - Domain Default found not creating
2026-04-06 03:34:31,434 - INFO - Project ctest-TestvDNSBasic0-76744371 not found, creating it
2026-04-06 03:34:31,988 - INFO - Created Project:ctest-TestvDNSBasic0-76744371, ID : bee06811-be29-4056-84b6-b4bbe498fa96
2026-04-06 03:34:33,528 - INFO - ================================================================================
2026-04-06 03:34:33,528 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-04-06 03:34:33,528 - INFO - TEST DESCRIPTION :
Test:- Test vdns functionality. On VM launch agent should dynamically update dns records to dns agent
1. Create vDNS server
2. Create IPAM using above vDNS data
3. Create VN using above IPAM and launch 2 VM's within it
4. Ping between these 2 VM's using dns name
5. Try to delete vDNS server which has IPAM back-reference[Negative case]
6. Add CNAME VDNS record for vm1-test and verify we able to ping by alias name
Pass criteria: Step 4,5 and 6 should pass
Maintainer: cf-test@juniper.net
2026-04-06 03:34:34,795 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.241': {'10.20.0.18': '0', '10.20.0.129': '0'}} with
2026-04-06 03:34:34,795 - INFO - Initial checks done. Running the testcase now
2026-04-06 03:34:34,795 - INFO -
2026-04-06 03:34:35,657 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-76744371'](bee06811-be29-4056-84b6-b4bbe498fa96)
2026-04-06 03:34:35,711 - DEBUG - Creating VDNS : ctest-vdns1-00164208
2026-04-06 03:34:35,935 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-00164208'] created succesfully
2026-04-06 03:34:35,935 - DEBUG - Verify VDNS entry is shown in control node
2026-04-06 03:34:35,959 - DEBUG - Verify VDNS entry is shown in the API server
2026-04-06 03:34:35,960 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-04-06 03:34:36,269 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-04-06 03:34:36,302 - DEBUG - Requesting: http://10.0.0.249:8082/domain/500738d8-636d-4330-98c4-d5dafb5cbb39
2026-04-06 03:34:36,319 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS/bbb1f257-b26b-4ec4-870e-a4b2f574b448
2026-04-06 03:34:37,081 - DEBUG - Response for create_network : {'network': {'id': '101bfaf0-eef6-4710-936f-dce6a43831c3', 'name': 'ctest-vn1-vdns-85320259', 'tenant_id': 'bee06811be29405684b6b4bbe498fa96', 'project_id': 'bee06811be29405684b6b4bbe498fa96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-76744371', 'ctest-vn1-vdns-85320259'], 'port_security_enabled': True, 'description': ''}}
2026-04-06 03:34:37,382 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2e1401f-2748-4953-9eff-71436fe824ae', 'name': '', 'tenant_id': 'bee06811be29405684b6b4bbe498fa96', 'network_id': '101bfaf0-eef6-4710-936f-dce6a43831c3', 'ip_version': 4, 'cidr': '10.10.10.0/24', 'allocation_pools': [{'start': '10.10.10.2', 'end': '10.10.10.254'}], 'gateway_ip': '10.10.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '10.10.10.2', 'tags': [], 'project_id': 'bee06811be29405684b6b4bbe498fa96'}}
2026-04-06 03:34:37,409 - INFO - Created VN ctest-vn1-vdns-85320259
2026-04-06 03:34:37,424 - DEBUG - VN ctest-vn1-vdns-85320259 UUID is 101bfaf0-eef6-4710-936f-dce6a43831c3
2026-04-06 03:34:37,707 - DEBUG - Services list from nova: [, , , ]
2026-04-06 03:34:38,843 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5596-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5596-2)
2026-04-06 03:34:38,844 - INFO - Waiting for VM ctest-vm1-test-85352821 to be up..
2026-04-06 03:34:38,891 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-06 03:34:43,972 - DEBUG - VM is in ACTIVE state now
2026-04-06 03:34:43,972 - INFO - VM name : ctest-vm1-test-85352821
2026-04-06 03:34:44,057 - DEBUG - VM ctest-vm1-test-85352821 ID is 9082a139-5afb-4504-8246-a553ddc27fe5
2026-04-06 03:34:44,058 - DEBUG - VM ctest-vm1-test-85352821 launched on Node an-jenkins-deploy-platform-ansible-os-5596-2
2026-04-06 03:34:44,139 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9082a139-5afb-4504-8246-a553ddc27fe5
2026-04-06 03:34:44,434 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9082a139-5afb-4504-8246-a553ddc27fe5
2026-04-06 03:34:44,467 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/486c9ac9-a1b2-4897-a1a8-bfbce408fea9
2026-04-06 03:34:47,643 - 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 1015ms')
2026-04-06 03:34:47,643 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm1-test-85352821 failed!
2026-04-06 03:34:47,658 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:34:51,743 - 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 1023ms')
2026-04-06 03:34:51,743 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm1-test-85352821 failed!
2026-04-06 03:34:51,763 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:34:55,836 - 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 1009ms')
2026-04-06 03:34:55,836 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm1-test-85352821 failed!
2026-04-06 03:34:55,855 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:34:59,938 - 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 1023ms')
2026-04-06 03:34:59,938 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm1-test-85352821 failed!
2026-04-06 03:34:59,954 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:35:04,029 - 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 1015ms')
2026-04-06 03:35:04,029 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm1-test-85352821 failed!
2026-04-06 03:35:04,043 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:35:08,127 - 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')
2026-04-06 03:35:08,127 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm1-test-85352821 failed!
2026-04-06 03:35:08,143 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:35:12,218 - 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 1013ms')
2026-04-06 03:35:12,218 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm1-test-85352821 failed!
2026-04-06 03:35:12,234 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:35:16,314 - 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 1023ms')
2026-04-06 03:35:16,314 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm1-test-85352821 failed!
2026-04-06 03:35:16,330 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:35:18,399 - 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=6.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.92 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 = 2.923/4.822/6.722/1.899 ms')
2026-04-06 03:35:18,399 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm1-test-85352821 passed
2026-04-06 03:35:18,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 03:35:18,468 - DEBUG - Waiting to SSH to VM ctest-vm1-test-85352821, IP 10.10.10.3, Port 22
2026-04-06 03:35:18,537 - DEBUG - Error on ssh to ubuntu@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': ''}
2026-04-06 03:35:18,624 - DEBUG - VM ctest-vm1-test-85352821 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-06 03:35:23,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 03:35:23,625 - DEBUG - Waiting to SSH to VM ctest-vm1-test-85352821, IP 10.10.10.3, Port 22
2026-04-06 03:35:23,693 - DEBUG - Error on ssh to ubuntu@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': ''}
2026-04-06 03:35:23,776 - DEBUG - VM ctest-vm1-test-85352821 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-06 03:35:28,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 03:35:28,776 - DEBUG - Waiting to SSH to VM ctest-vm1-test-85352821, IP 10.10.10.3, Port 22
2026-04-06 03:35:28,846 - DEBUG - Error on ssh to ubuntu@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': ''}
2026-04-06 03:35:28,973 - DEBUG - VM ctest-vm1-test-85352821 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-06 03:35:33,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 03:35:33,974 - DEBUG - Waiting to SSH to VM ctest-vm1-test-85352821, IP 10.10.10.3, Port 22
2026-04-06 03:35:34,041 - DEBUG - Error on ssh to ubuntu@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': ''}
2026-04-06 03:35:34,133 - DEBUG - VM ctest-vm1-test-85352821 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-06 03:35:39,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 03:35:39,133 - DEBUG - Waiting to SSH to VM ctest-vm1-test-85352821, IP 10.10.10.3, Port 22
2026-04-06 03:35:39,301 - DEBUG - VM ctest-vm1-test-85352821 is ready for SSH connections
2026-04-06 03:35:39,301 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.4, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-06 03:35:39,301 - DEBUG - ifconfig | grep 10.10.10.3
2026-04-06 03:35:58,687 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-04-06 03:35:58,687 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-85352821", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.4, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-06 03:35:58,687 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-85352821", None, socket.AF_INET6)'
2026-04-06 03:36:00,807 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-85352821, host_string: ubuntu@169.254.0.4, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-06 03:36:00,807 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-85352821
2026-04-06 03:36:03,314 - DEBUG - PING ctest-vm1-test-85352821.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-85352821.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.77 ms
64 bytes from ctest-vm1-test-85352821.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.68 ms
64 bytes from ctest-vm1-test-85352821.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.218 ms
--- ctest-vm1-test-85352821.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.218/2.559/4.778/1.864 ms
2026-04-06 03:36:03,314 - INFO - Ping to IP ctest-vm1-test-85352821 from VM ctest-vm1-test-85352821 passed
2026-04-06 03:36:03,339 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-06 03:36:03,345 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-00164208@0%20AllEntriesVdnsRecordsReq
2026-04-06 03:36:03,351 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-06 03:36:03,357 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-00164208@0%20AllEntriesVdnsRecordsReq
2026-04-06 03:36:03,362 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-06 03:36:03,366 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-00164208@0%20AllEntriesVdnsRecordsReq
2026-04-06 03:36:03,370 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-00164208:1:ctest-vm1-test-85352821:10.10.10.3', 'rec_name': 'ctest-vm1-test-85352821', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.3', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5596-2/dns'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-85352821.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-04-06 03:36:03,370 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-00164208:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-85352821', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-85352821', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5596-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-85352821.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '3.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'}
2026-04-06 03:36:04,676 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5596-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5596-1)
2026-04-06 03:36:04,676 - INFO - Waiting for VM ctest-vm2-test-27904778 to be up..
2026-04-06 03:36:04,717 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-06 03:36:09,822 - DEBUG - VM is in ACTIVE state now
2026-04-06 03:36:09,823 - INFO - VM name : ctest-vm2-test-27904778
2026-04-06 03:36:09,916 - DEBUG - VM ctest-vm2-test-27904778 ID is 7bff3a96-e386-42f8-befa-89909829cd72
2026-04-06 03:36:09,916 - DEBUG - VM ctest-vm2-test-27904778 launched on Node an-jenkins-deploy-platform-ansible-os-5596-1
2026-04-06 03:36:10,018 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7bff3a96-e386-42f8-befa-89909829cd72
2026-04-06 03:36:10,028 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cd75c19b-5a5b-4017-aca5-b8fa74deaa1c
2026-04-06 03:36:13,199 - 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 1008ms')
2026-04-06 03:36:13,199 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-27904778 failed!
2026-04-06 03:36:13,213 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:36:17,298 - 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 1020ms')
2026-04-06 03:36:17,298 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-27904778 failed!
2026-04-06 03:36:17,317 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:36:21,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 1012ms')
2026-04-06 03:36:21,397 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-27904778 failed!
2026-04-06 03:36:21,414 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:36:25,488 - 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 1008ms')
2026-04-06 03:36:25,488 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-27904778 failed!
2026-04-06 03:36:25,504 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:36:29,588 - 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 1017ms')
2026-04-06 03:36:29,588 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-27904778 failed!
2026-04-06 03:36:29,602 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:36:33,682 - 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')
2026-04-06 03:36:33,682 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-27904778 failed!
2026-04-06 03:36:33,700 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:36:37,776 - 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 1014ms')
2026-04-06 03:36:37,776 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-27904778 failed!
2026-04-06 03:36:37,791 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:36:41,875 - 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 1020ms')
2026-04-06 03:36:41,875 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-27904778 failed!
2026-04-06 03:36:41,894 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:36:45,967 - 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 1013ms')
2026-04-06 03:36:45,968 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-27904778 failed!
2026-04-06 03:36:45,982 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:36:50,067 - 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 1021ms')
2026-04-06 03:36:50,068 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-27904778 failed!
2026-04-06 03:36:50,083 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76744371:ctest-vn1-vdns-85320259 is 10.10.10.1 and allocation pool is NOT set
2026-04-06 03:36:52,151 - 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=7.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.53 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.528/4.293/7.059/2.765 ms')
2026-04-06 03:36:52,151 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-27904778 passed
2026-04-06 03:36:52,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 03:36:52,227 - DEBUG - Waiting to SSH to VM ctest-vm2-test-27904778, IP 10.10.10.4, Port 22
2026-04-06 03:36:52,293 - DEBUG - Error on ssh to ubuntu@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': ''}
2026-04-06 03:36:52,389 - DEBUG - VM ctest-vm2-test-27904778 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-06 03:36:57,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 03:36:57,389 - DEBUG - Waiting to SSH to VM ctest-vm2-test-27904778, IP 10.10.10.4, Port 22
2026-04-06 03:36:57,448 - DEBUG - Error on ssh to ubuntu@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': ''}
2026-04-06 03:36:57,539 - DEBUG - VM ctest-vm2-test-27904778 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-06 03:37:02,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 03:37:02,540 - DEBUG - Waiting to SSH to VM ctest-vm2-test-27904778, IP 10.10.10.4, Port 22
2026-04-06 03:37:02,605 - DEBUG - Error on ssh to ubuntu@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': ''}
2026-04-06 03:37:02,687 - DEBUG - VM ctest-vm2-test-27904778 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-06 03:37:07,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 03:37:07,688 - DEBUG - Waiting to SSH to VM ctest-vm2-test-27904778, IP 10.10.10.4, Port 22
2026-04-06 03:37:07,753 - DEBUG - Error on ssh to ubuntu@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': ''}
2026-04-06 03:37:07,833 - DEBUG - VM ctest-vm2-test-27904778 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-06 03:37:12,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 03:37:12,834 - DEBUG - Waiting to SSH to VM ctest-vm2-test-27904778, IP 10.10.10.4, Port 22
2026-04-06 03:37:13,001 - DEBUG - VM ctest-vm2-test-27904778 is ready for SSH connections
2026-04-06 03:37:13,002 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.4, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-04-06 03:37:13,002 - DEBUG - ifconfig | grep 10.10.10.4
2026-04-06 03:37:34,210 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-04-06 03:37:34,211 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-27904778", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.4, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-04-06 03:37:34,211 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-27904778", None, socket.AF_INET6)'
2026-04-06 03:37:37,493 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-27904778, host_string: ubuntu@169.254.0.4, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-04-06 03:37:37,493 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-27904778
2026-04-06 03:37:40,604 - DEBUG - PING ctest-vm2-test-27904778.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-27904778.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.84 ms
64 bytes from ctest-vm2-test-27904778.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.281 ms
64 bytes from ctest-vm2-test-27904778.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.196 ms
--- ctest-vm2-test-27904778.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.196/1.107/2.845/1.229 ms
2026-04-06 03:37:40,604 - INFO - Ping to IP ctest-vm2-test-27904778 from VM ctest-vm2-test-27904778 passed
2026-04-06 03:37:40,625 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-06 03:37:40,631 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-00164208@0%20AllEntriesVdnsRecordsReq
2026-04-06 03:37:40,640 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-06 03:37:40,650 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-00164208@0%20AllEntriesVdnsRecordsReq
2026-04-06 03:37:40,656 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-06 03:37:40,662 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-00164208@0%20AllEntriesVdnsRecordsReq
2026-04-06 03:37:40,671 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-00164208:1:ctest-vm2-test-27904778:10.10.10.4', 'rec_name': 'ctest-vm2-test-27904778', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.4', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5596-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-27904778.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-04-06 03:37:40,671 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-00164208:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-27904778', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-27904778', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5596-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-27904778.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'}
2026-04-06 03:37:40,671 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-27904778", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.4, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-06 03:37:40,671 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-27904778", None, socket.AF_INET6)'
2026-04-06 03:37:41,892 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-27904778, host_string: ubuntu@169.254.0.4, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-06 03:37:41,893 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-27904778
2026-04-06 03:37:44,408 - DEBUG - PING ctest-vm2-test-27904778.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-27904778.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.2 ms
64 bytes from ctest-vm2-test-27904778.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.29 ms
64 bytes from ctest-vm2-test-27904778.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.27 ms
--- ctest-vm2-test-27904778.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.275/4.272/10.249/4.226 ms
2026-04-06 03:37:44,408 - INFO - Ping to IP ctest-vm2-test-27904778 from VM ctest-vm1-test-85352821 passed
2026-04-06 03:37:44,408 - INFO - Try deleting the VDNS entry ctest-vdns1-00164208 with back ref of ipam.
2026-04-06 03:37:44,467 - DEBUG - Delete when resource still referred: ['http://10.0.0.33:8082/network-ipam/e8032617-179d-4b87-a282-fdf4de868156']
2026-04-06 03:37:44,467 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-04-06 03:37:44,467 - INFO - Add CNAME VDNS record for ctest-vm1-test-85352821 and verify we able to ping by alias name
2026-04-06 03:37:44,515 - DEBUG - Creating VDNS record data : test-rec
2026-04-06 03:37:44,639 - INFO - In verify_on_setup
2026-04-06 03:37:44,735 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-00164208', 'test-rec'] created succesfully
2026-04-06 03:37:44,735 - INFO - Verify VDNS record is shown in the API server
2026-04-06 03:37:44,735 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-04-06 03:37:44,742 - DEBUG - Requesting: http://10.0.0.249:8082/domain/500738d8-636d-4330-98c4-d5dafb5cbb39
2026-04-06 03:37:44,757 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS/bbb1f257-b26b-4ec4-870e-a4b2f574b448
2026-04-06 03:37:44,773 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS-record/8c239c97-dff9-4766-87d1-59fd0a624ef7
2026-04-06 03:37:44,780 - INFO - Verify VDNS record is shown in the control node
2026-04-06 03:37:44,801 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.4, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-06 03:37:44,801 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-04-06 03:37:45,962 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.4, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-06 03:37:45,963 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-04-06 03:37:46,465 - DEBUG - ping: unknown host vm1-test-alias
2026-04-06 03:37:46,465 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-85352821 failed
2026-04-06 03:37:47,467 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.4, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-06 03:37:47,467 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-04-06 03:37:48,608 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.4, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-06 03:37:48,608 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-04-06 03:37:51,124 - DEBUG - PING ctest-vm1-test-85352821.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-85352821.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.221 ms
64 bytes from ctest-vm1-test-85352821.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.197 ms
64 bytes from ctest-vm1-test-85352821.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.336 ms
--- ctest-vm1-test-85352821.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.197/0.251/0.336/0.062 ms
2026-04-06 03:37:51,124 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-85352821 passed
2026-04-06 03:37:51,124 - DEBUG - Deleting VDNS record data: test-rec
2026-04-06 03:37:51,211 - INFO - VDNS record info: default-domain:ctest-vdns1-00164208:test-rec deleted successfully.
2026-04-06 03:37:51,211 - INFO - Deleting VM ctest-vm2-test-27904778
2026-04-06 03:37:51,287 - INFO - Deleting VM ctest-vm1-test-85352821
2026-04-06 03:37:51,353 - INFO - Deleting VN ctest-vn1-vdns-85320259
2026-04-06 03:37:51,399 - DEBUG - VN 101bfaf0-eef6-4710-936f-dce6a43831c3 still in use: Unable to complete operation on network 101bfaf0-eef6-4710-936f-dce6a43831c3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f579675b-70af-45a6-8478-7c6f3a3f7b2a']
2026-04-06 03:37:51,399 - WARNING - Deleting VN ctest-vn1-vdns-85320259 failed..Will retry
2026-04-06 03:37:53,580 - DEBUG - Response for deleting network ()
2026-04-06 03:37:53,657 - DEBUG - Deleting VDNS Entry: ctest-vdns1-00164208
2026-04-06 03:37:53,767 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-00164208'] deleted successfully.
2026-04-06 03:37:53,768 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-04-06 03:37:53,775 - DEBUG - Requesting: http://10.0.0.249:8082/domain/500738d8-636d-4330-98c4-d5dafb5cbb39
2026-04-06 03:37:53,794 - DEBUG - VDNS information not found in API server
2026-04-06 03:37:53,794 - INFO - VDNS information ctest-vdns1-00164208 removed from the API Server
2026-04-06 03:37:53,799 - INFO - VDNS information ctest-vdns1-00164208 removed in the Control node
2026-04-06 03:37:53,800 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-76744371']
2026-04-06 03:37:55,063 - DEBUG - No XMPP flaps were noticed during the test
2026-04-06 03:37:55,063 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:22]
2026-04-06 03:37:55,063 - INFO - --------------------------------------------------------------------------------
2026-04-06 03:37:55,884 - INFO - Deleted project: ctest-TestvDNSBasic0-76744371, ID : bee06811-be29-4056-84b6-b4bbe498fa96