2026-08-31 03:38:08,929 - INFO - Domain Default found not creating
2026-08-31 03:38:09,120 - INFO - Project ctest-TestvDNSBasic0-49471254 not found, creating it
2026-08-31 03:38:09,736 - INFO - Created Project:ctest-TestvDNSBasic0-49471254, ID : 0abb07d4-a989-43f8-b8e8-e78b1571fac2
2026-08-31 03:38:11,455 - INFO - ================================================================================
2026-08-31 03:38:11,455 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-08-31 03:38:11,455 - 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-08-31 03:38:12,777 - DEBUG - Nothing to compare xmpp stats {'10.0.0.186': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.176': {'10.20.0.14': '0', '10.20.0.25': '0'}} with
2026-08-31 03:38:12,777 - INFO - Initial checks done. Running the testcase now
2026-08-31 03:38:12,777 - INFO -
2026-08-31 03:38:13,639 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-49471254'](0abb07d4-a989-43f8-b8e8-e78b1571fac2)
2026-08-31 03:38:13,694 - DEBUG - Creating VDNS : ctest-vdns1-72340458
2026-08-31 03:38:13,938 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-72340458'] created succesfully
2026-08-31 03:38:13,938 - DEBUG - Verify VDNS entry is shown in control node
2026-08-31 03:38:13,956 - DEBUG - Verify VDNS entry is shown in the API server
2026-08-31 03:38:13,957 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-31 03:38:14,285 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-31 03:38:14,319 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2dd173c-f32f-4272-81b1-e77dae6a5597
2026-08-31 03:38:14,340 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS/50caba7d-0992-4a7f-9951-51868d488a18
2026-08-31 03:38:15,213 - DEBUG - Response for create_network : {'network': {'id': 'ba072ce5-92c9-4997-a197-fb998d604a0f', 'name': 'ctest-vn1-vdns-54207597', 'tenant_id': '0abb07d4a98943f8b8e8e78b1571fac2', 'project_id': '0abb07d4a98943f8b8e8e78b1571fac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-49471254', 'ctest-vn1-vdns-54207597'], 'port_security_enabled': True, 'description': ''}}
2026-08-31 03:38:15,571 - DEBUG - Response for create_subnet : {'subnet': {'id': '0163107e-a3a6-4ef8-8403-fc176f616bf3', 'name': '', 'tenant_id': '0abb07d4a98943f8b8e8e78b1571fac2', 'network_id': 'ba072ce5-92c9-4997-a197-fb998d604a0f', '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': '0abb07d4a98943f8b8e8e78b1571fac2'}}
2026-08-31 03:38:15,600 - INFO - Created VN ctest-vn1-vdns-54207597
2026-08-31 03:38:15,619 - DEBUG - VN ctest-vn1-vdns-54207597 UUID is ba072ce5-92c9-4997-a197-fb998d604a0f
2026-08-31 03:38:15,801 - DEBUG - Services list from nova: [, , , ]
2026-08-31 03:38:16,266 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6237-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6237-1)
2026-08-31 03:38:16,267 - INFO - Waiting for VM ctest-vm1-test-41656007 to be up..
2026-08-31 03:38:16,316 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-31 03:38:21,426 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-31 03:38:26,738 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-31 03:38:31,825 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-31 03:38:36,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-31 03:38:42,035 - DEBUG - VM is in ACTIVE state now
2026-08-31 03:38:42,035 - INFO - VM name : ctest-vm1-test-41656007
2026-08-31 03:38:42,130 - DEBUG - VM ctest-vm1-test-41656007 ID is 786d578b-e1d7-4cca-9d69-89a2a03101f6
2026-08-31 03:38:42,131 - DEBUG - VM ctest-vm1-test-41656007 launched on Node an-jenkins-deploy-platform-ansible-os-6237-1
2026-08-31 03:38:42,224 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/786d578b-e1d7-4cca-9d69-89a2a03101f6
2026-08-31 03:38:42,562 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/786d578b-e1d7-4cca-9d69-89a2a03101f6
2026-08-31 03:38:42,600 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fcc645b8-d855-49ba-9968-6cf07af3de47
2026-08-31 03:38:45,813 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms')
2026-08-31 03:38:45,813 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41656007 failed!
2026-08-31 03:38:45,832 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:38:49,907 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms')
2026-08-31 03:38:49,907 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41656007 failed!
2026-08-31 03:38:49,928 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:38:54,006 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms')
2026-08-31 03:38:54,007 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41656007 failed!
2026-08-31 03:38:54,025 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:38:58,103 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms')
2026-08-31 03:38:58,104 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41656007 failed!
2026-08-31 03:38:58,124 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:39:02,230 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1035ms')
2026-08-31 03:39:02,230 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41656007 failed!
2026-08-31 03:39:02,249 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:39:06,327 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms')
2026-08-31 03:39:06,327 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41656007 failed!
2026-08-31 03:39:06,345 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:39:10,423 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-08-31 03:39:10,423 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41656007 failed!
2026-08-31 03:39:10,442 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:39:14,518 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2026-08-31 03:39:14,518 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41656007 failed!
2026-08-31 03:39:14,536 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:39:18,610 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=8.95 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 8.949/8.949/8.949/0.000 ms')
2026-08-31 03:39:18,610 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41656007 passed
2026-08-31 03:39:18,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-31 03:39:18,685 - DEBUG - Waiting to SSH to VM ctest-vm1-test-41656007, IP 10.10.10.3, Port 22
2026-08-31 03:39:18,755 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-08-31 03:39:18,852 - DEBUG - VM ctest-vm1-test-41656007 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-31 03:39:23,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-31 03:39:23,853 - DEBUG - Waiting to SSH to VM ctest-vm1-test-41656007, IP 10.10.10.3, Port 22
2026-08-31 03:39:23,922 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-08-31 03:39:24,018 - DEBUG - VM ctest-vm1-test-41656007 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-31 03:39:29,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-31 03:39:29,019 - DEBUG - Waiting to SSH to VM ctest-vm1-test-41656007, IP 10.10.10.3, Port 22
2026-08-31 03:39:29,086 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-08-31 03:39:29,179 - DEBUG - VM ctest-vm1-test-41656007 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-31 03:39:34,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-31 03:39:34,180 - DEBUG - Waiting to SSH to VM ctest-vm1-test-41656007, IP 10.10.10.3, Port 22
2026-08-31 03:39:34,347 - DEBUG - VM ctest-vm1-test-41656007 is ready for SSH connections
2026-08-31 03:39:34,347 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.186, gateway password: c0ntrail123
2026-08-31 03:39:34,347 - DEBUG - ifconfig | grep 10.10.10.3
2026-08-31 03:39:42,803 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-08-31 03:39:42,804 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-41656007", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.186, gateway password: c0ntrail123
2026-08-31 03:39:42,804 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-41656007", None, socket.AF_INET6)'
2026-08-31 03:39:45,619 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-41656007, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.186, gateway password: c0ntrail123
2026-08-31 03:39:45,620 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-41656007
2026-08-31 03:39:48,231 - DEBUG - PING ctest-vm1-test-41656007.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-41656007.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.72 ms
64 bytes from ctest-vm1-test-41656007.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.323 ms
64 bytes from ctest-vm1-test-41656007.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.240 ms
--- ctest-vm1-test-41656007.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.240/1.094/2.720/1.150 ms
2026-08-31 03:39:48,231 - INFO - Ping to IP ctest-vm1-test-41656007 from VM ctest-vm1-test-41656007 passed
2026-08-31 03:39:48,261 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-31 03:39:48,271 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-72340458@0%20AllEntriesVdnsRecordsReq
2026-08-31 03:39:48,278 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-31 03:39:48,286 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-72340458@0%20AllEntriesVdnsRecordsReq
2026-08-31 03:39:48,293 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-31 03:39:48,304 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-72340458@0%20AllEntriesVdnsRecordsReq
2026-08-31 03:39:48,314 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-72340458:1:ctest-vm1-test-41656007:10.10.10.3', 'rec_name': 'ctest-vm1-test-41656007', '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-6237-1/dns'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-41656007.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-08-31 03:39:48,314 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-72340458:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-41656007', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-41656007', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6237-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-41656007.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-08-31 03:39:49,104 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6237-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6237-2)
2026-08-31 03:39:49,105 - INFO - Waiting for VM ctest-vm2-test-89641038 to be up..
2026-08-31 03:39:49,156 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-31 03:39:54,261 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-31 03:39:59,360 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-31 03:40:04,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-31 03:40:09,546 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-31 03:40:14,639 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-31 03:40:19,749 - DEBUG - VM is in ACTIVE state now
2026-08-31 03:40:19,749 - INFO - VM name : ctest-vm2-test-89641038
2026-08-31 03:40:19,846 - DEBUG - VM ctest-vm2-test-89641038 ID is 3d4901e2-f7b6-434a-aa0b-6946409d3e35
2026-08-31 03:40:19,846 - DEBUG - VM ctest-vm2-test-89641038 launched on Node an-jenkins-deploy-platform-ansible-os-6237-2
2026-08-31 03:40:19,930 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3d4901e2-f7b6-434a-aa0b-6946409d3e35
2026-08-31 03:40:19,943 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d236bbdf-fb3c-43c7-b746-e2c28c51f585
2026-08-31 03:40:23,158 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1033ms')
2026-08-31 03:40:23,158 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89641038 failed!
2026-08-31 03:40:23,176 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:40:27,247 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms')
2026-08-31 03:40:27,247 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89641038 failed!
2026-08-31 03:40:27,266 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:40:31,343 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2026-08-31 03:40:31,343 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89641038 failed!
2026-08-31 03:40:31,364 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:40:35,446 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms')
2026-08-31 03:40:35,446 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89641038 failed!
2026-08-31 03:40:35,461 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:40:39,542 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms')
2026-08-31 03:40:39,542 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89641038 failed!
2026-08-31 03:40:39,559 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:40:43,630 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1005ms')
2026-08-31 03:40:43,630 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89641038 failed!
2026-08-31 03:40:43,646 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:40:47,725 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-08-31 03:40:47,726 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89641038 failed!
2026-08-31 03:40:47,742 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49471254:ctest-vn1-vdns-54207597 is 10.10.10.1 and allocation pool is NOT set
2026-08-31 03:40:49,806 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=10.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.603 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.603/5.728/10.853/5.125 ms')
2026-08-31 03:40:49,806 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89641038 passed
2026-08-31 03:40:49,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-31 03:40:49,885 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89641038, IP 10.10.10.4, Port 22
2026-08-31 03:40:49,954 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-08-31 03:40:50,055 - DEBUG - VM ctest-vm2-test-89641038 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-31 03:40:55,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-31 03:40:55,056 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89641038, IP 10.10.10.4, Port 22
2026-08-31 03:40:55,140 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-08-31 03:40:55,229 - DEBUG - VM ctest-vm2-test-89641038 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-31 03:41:00,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-31 03:41:00,230 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89641038, IP 10.10.10.4, Port 22
2026-08-31 03:41:00,297 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-08-31 03:41:00,391 - DEBUG - VM ctest-vm2-test-89641038 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-31 03:41:05,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-31 03:41:05,392 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89641038, IP 10.10.10.4, Port 22
2026-08-31 03:41:05,565 - DEBUG - VM ctest-vm2-test-89641038 is ready for SSH connections
2026-08-31 03:41:05,565 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.176, gateway password: c0ntrail123
2026-08-31 03:41:05,565 - DEBUG - ifconfig | grep 10.10.10.4
2026-08-31 03:41:15,276 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-08-31 03:41:15,276 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89641038", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.176, gateway password: c0ntrail123
2026-08-31 03:41:15,276 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89641038", None, socket.AF_INET6)'
2026-08-31 03:41:17,766 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-89641038, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.176, gateway password: c0ntrail123
2026-08-31 03:41:17,767 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-89641038
2026-08-31 03:41:20,311 - DEBUG - PING ctest-vm2-test-89641038.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-89641038.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.11 ms
64 bytes from ctest-vm2-test-89641038.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.281 ms
64 bytes from ctest-vm2-test-89641038.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.396 ms
--- ctest-vm2-test-89641038.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.281/0.931/2.117/0.840 ms
2026-08-31 03:41:20,311 - INFO - Ping to IP ctest-vm2-test-89641038 from VM ctest-vm2-test-89641038 passed
2026-08-31 03:41:20,341 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-31 03:41:20,351 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-72340458@0%20AllEntriesVdnsRecordsReq
2026-08-31 03:41:20,359 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-31 03:41:20,373 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-72340458@0%20AllEntriesVdnsRecordsReq
2026-08-31 03:41:20,394 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-31 03:41:20,412 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-72340458@0%20AllEntriesVdnsRecordsReq
2026-08-31 03:41:20,419 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-72340458:1:ctest-vm2-test-89641038:10.10.10.4', 'rec_name': 'ctest-vm2-test-89641038', '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-6237-2/dns'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-89641038.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-08-31 03:41:20,419 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-72340458:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-89641038', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-89641038', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6237-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-89641038.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-08-31 03:41:20,419 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89641038", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.186, gateway password: c0ntrail123
2026-08-31 03:41:20,419 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89641038", None, socket.AF_INET6)'
2026-08-31 03:41:21,283 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-89641038, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.186, gateway password: c0ntrail123
2026-08-31 03:41:21,284 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-89641038
2026-08-31 03:41:23,612 - DEBUG - PING ctest-vm2-test-89641038.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-89641038.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=12.7 ms
64 bytes from ctest-vm2-test-89641038.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.69 ms
64 bytes from ctest-vm2-test-89641038.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.77 ms
--- ctest-vm2-test-89641038.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.696/5.390/12.704/5.172 ms
2026-08-31 03:41:23,612 - INFO - Ping to IP ctest-vm2-test-89641038 from VM ctest-vm1-test-41656007 passed
2026-08-31 03:41:23,612 - INFO - Try deleting the VDNS entry ctest-vdns1-72340458 with back ref of ipam.
2026-08-31 03:41:23,674 - DEBUG - Delete when resource still referred: ['http://10.0.0.38:8082/network-ipam/3a741ff2-b5da-4c7c-af27-20bd83e6fd79']
2026-08-31 03:41:23,674 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-08-31 03:41:23,674 - INFO - Add CNAME VDNS record for ctest-vm1-test-41656007 and verify we able to ping by alias name
2026-08-31 03:41:23,726 - DEBUG - Creating VDNS record data : test-rec
2026-08-31 03:41:23,866 - INFO - In verify_on_setup
2026-08-31 03:41:23,966 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-72340458', 'test-rec'] created succesfully
2026-08-31 03:41:23,966 - INFO - Verify VDNS record is shown in the API server
2026-08-31 03:41:23,966 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-31 03:41:23,973 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2dd173c-f32f-4272-81b1-e77dae6a5597
2026-08-31 03:41:23,989 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS/50caba7d-0992-4a7f-9951-51868d488a18
2026-08-31 03:41:24,006 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS-record/489f04a7-1370-4b47-b543-c771c1b52cd3
2026-08-31 03:41:24,015 - INFO - Verify VDNS record is shown in the control node
2026-08-31 03:41:24,033 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.186, gateway password: c0ntrail123
2026-08-31 03:41:24,033 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-08-31 03:41:24,980 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.186, gateway password: c0ntrail123
2026-08-31 03:41:24,980 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-08-31 03:41:25,288 - DEBUG - ping: unknown host vm1-test-alias
2026-08-31 03:41:25,288 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-41656007 failed
2026-08-31 03:41:26,289 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.186, gateway password: c0ntrail123
2026-08-31 03:41:26,289 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-08-31 03:41:27,250 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.186, gateway password: c0ntrail123
2026-08-31 03:41:27,250 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-08-31 03:41:29,534 - DEBUG - PING ctest-vm1-test-41656007.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-41656007.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.29 ms
64 bytes from ctest-vm1-test-41656007.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.525 ms
64 bytes from ctest-vm1-test-41656007.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.313 ms
--- ctest-vm1-test-41656007.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.313/1.043/2.291/0.886 ms
2026-08-31 03:41:29,534 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-41656007 passed
2026-08-31 03:41:29,534 - DEBUG - Deleting VDNS record data: test-rec
2026-08-31 03:41:29,638 - INFO - VDNS record info: default-domain:ctest-vdns1-72340458:test-rec deleted successfully.
2026-08-31 03:41:29,638 - INFO - Deleting VM ctest-vm2-test-89641038
2026-08-31 03:41:29,717 - INFO - Deleting VM ctest-vm1-test-41656007
2026-08-31 03:41:29,788 - INFO - Deleting VN ctest-vn1-vdns-54207597
2026-08-31 03:41:29,836 - DEBUG - VN ba072ce5-92c9-4997-a197-fb998d604a0f still in use: Unable to complete operation on network ba072ce5-92c9-4997-a197-fb998d604a0f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0e3cad48-b95a-47e3-99f5-44509b5c533f']
2026-08-31 03:41:29,837 - WARNING - Deleting VN ctest-vn1-vdns-54207597 failed..Will retry
2026-08-31 03:41:31,903 - DEBUG - VN ba072ce5-92c9-4997-a197-fb998d604a0f still in use: Unable to complete operation on network ba072ce5-92c9-4997-a197-fb998d604a0f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-97b80bec-5cd0-45df-a362-622b703aa29d']
2026-08-31 03:41:31,903 - WARNING - Deleting VN ctest-vn1-vdns-54207597 failed..Will retry
2026-08-31 03:41:34,129 - DEBUG - Response for deleting network ()
2026-08-31 03:41:34,200 - DEBUG - Deleting VDNS Entry: ctest-vdns1-72340458
2026-08-31 03:41:34,330 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-72340458'] deleted successfully.
2026-08-31 03:41:34,330 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-31 03:41:34,339 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e2dd173c-f32f-4272-81b1-e77dae6a5597
2026-08-31 03:41:34,354 - DEBUG - VDNS information not found in API server
2026-08-31 03:41:34,354 - INFO - VDNS information ctest-vdns1-72340458 removed from the API Server
2026-08-31 03:41:34,366 - INFO - VDNS information ctest-vdns1-72340458 removed in the Control node
2026-08-31 03:41:34,366 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-49471254']
2026-08-31 03:41:35,708 - DEBUG - No XMPP flaps were noticed during the test
2026-08-31 03:41:35,708 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:24]
2026-08-31 03:41:35,708 - INFO - --------------------------------------------------------------------------------
2026-08-31 03:41:36,621 - INFO - Deleted project: ctest-TestvDNSBasic0-49471254, ID : 0abb07d4-a989-43f8-b8e8-e78b1571fac2