2026-02-12 03:17:24,182 - INFO - Domain Default found not creating 2026-02-12 03:17:24,352 - INFO - Project ctest-TestvDNSBasic0-50724892 not found, creating it 2026-02-12 03:17:24,872 - INFO - Created Project:ctest-TestvDNSBasic0-50724892, ID : 75a79f45-3935-4aff-87a7-e8cebe7b908f 2026-02-12 03:17:26,377 - INFO - ================================================================================ 2026-02-12 03:17:26,377 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-02-12 03:17:26,377 - 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-02-12 03:17:27,656 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0', '10.20.0.14': '0'}, '10.0.0.131': {'10.20.0.254': '0', '10.20.0.14': '0'}} with 2026-02-12 03:17:27,656 - INFO - Initial checks done. Running the testcase now 2026-02-12 03:17:27,656 - INFO - 2026-02-12 03:17:28,402 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-50724892'](75a79f45-3935-4aff-87a7-e8cebe7b908f) 2026-02-12 03:17:28,461 - DEBUG - Creating VDNS : ctest-vdns1-62229635 2026-02-12 03:17:28,689 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-62229635'] created succesfully 2026-02-12 03:17:28,689 - DEBUG - Verify VDNS entry is shown in control node 2026-02-12 03:17:28,707 - DEBUG - Verify VDNS entry is shown in the API server 2026-02-12 03:17:28,707 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-12 03:17:29,010 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-12 03:17:29,048 - DEBUG - Requesting: http://10.0.0.130:8082/domain/dbbdb6d5-ac40-4bc8-b2c9-9c29259fb031 2026-02-12 03:17:29,067 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-DNS/2d5cec3e-b0e5-4678-bada-c2d76c929522 2026-02-12 03:17:29,748 - DEBUG - Response for create_network : {'network': {'id': 'c8bbb517-2f23-4750-8f90-7bca77e54236', 'name': 'ctest-vn1-vdns-42347263', 'tenant_id': '75a79f4539354aff87a7e8cebe7b908f', 'project_id': '75a79f4539354aff87a7e8cebe7b908f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-50724892', 'ctest-vn1-vdns-42347263'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 03:17:30,014 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7836cdf-4bfa-4005-b32f-6049b6831e2a', 'name': '', 'tenant_id': '75a79f4539354aff87a7e8cebe7b908f', 'network_id': 'c8bbb517-2f23-4750-8f90-7bca77e54236', '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': '75a79f4539354aff87a7e8cebe7b908f'}} 2026-02-12 03:17:30,039 - INFO - Created VN ctest-vn1-vdns-42347263 2026-02-12 03:17:30,055 - DEBUG - VN ctest-vn1-vdns-42347263 UUID is c8bbb517-2f23-4750-8f90-7bca77e54236 2026-02-12 03:17:30,237 - DEBUG - Services list from nova: [, , , ] 2026-02-12 03:17:31,278 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5305-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5305-2) 2026-02-12 03:17:31,278 - INFO - Waiting for VM ctest-vm1-test-53328426 to be up.. 2026-02-12 03:17:31,349 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 03:17:36,428 - DEBUG - VM is in ACTIVE state now 2026-02-12 03:17:36,428 - INFO - VM name : ctest-vm1-test-53328426 2026-02-12 03:17:36,517 - DEBUG - VM ctest-vm1-test-53328426 ID is 02107117-22f3-4d00-ac80-9aa3cc7a74b8 2026-02-12 03:17:36,517 - DEBUG - VM ctest-vm1-test-53328426 launched on Node an-jenkins-deploy-platform-ansible-os-5305-2 2026-02-12 03:17:36,600 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/02107117-22f3-4d00-ac80-9aa3cc7a74b8 2026-02-12 03:17:36,901 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/02107117-22f3-4d00-ac80-9aa3cc7a74b8 2026-02-12 03:17:36,935 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/dfc92823-ef57-4307-b48b-73fd27c4fcb2 2026-02-12 03:17:40,099 - 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 1006ms') 2026-02-12 03:17:40,099 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-53328426 failed! 2026-02-12 03:17:40,116 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:17:44,195 - 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 1019ms') 2026-02-12 03:17:44,195 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-53328426 failed! 2026-02-12 03:17:44,211 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:17:48,295 - 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-02-12 03:17:48,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-53328426 failed! 2026-02-12 03:17:48,312 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:17:52,389 - 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 1017ms') 2026-02-12 03:17:52,389 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-53328426 failed! 2026-02-12 03:17:52,403 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:17:56,485 - 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 1019ms') 2026-02-12 03:17:56,485 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-53328426 failed! 2026-02-12 03:17:56,501 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:18:00,588 - 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 1023ms') 2026-02-12 03:18:00,588 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-53328426 failed! 2026-02-12 03:18:00,602 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:18:04,678 - 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-02-12 03:18:04,678 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-53328426 failed! 2026-02-12 03:18:04,693 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:18:08,772 - 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 1019ms') 2026-02-12 03:18:08,772 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-53328426 failed! 2026-02-12 03:18:08,786 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:18:10,851 - 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=6.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.74 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 5.735/6.159/6.583/0.424 ms') 2026-02-12 03:18:10,851 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-53328426 passed 2026-02-12 03:18:10,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 03:18:10,923 - DEBUG - Waiting to SSH to VM ctest-vm1-test-53328426, IP 10.10.10.3, Port 22 2026-02-12 03:18:10,992 - 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-02-12 03:18:11,093 - DEBUG - VM ctest-vm1-test-53328426 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 03:18:16,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 03:18:16,094 - DEBUG - Waiting to SSH to VM ctest-vm1-test-53328426, IP 10.10.10.3, Port 22 2026-02-12 03:18:16,152 - 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-02-12 03:18:16,227 - DEBUG - VM ctest-vm1-test-53328426 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 03:18:21,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 03:18:21,228 - DEBUG - Waiting to SSH to VM ctest-vm1-test-53328426, IP 10.10.10.3, Port 22 2026-02-12 03:18:21,294 - 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-02-12 03:18:21,375 - DEBUG - VM ctest-vm1-test-53328426 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 03:18:26,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 03:18:26,376 - DEBUG - Waiting to SSH to VM ctest-vm1-test-53328426, IP 10.10.10.3, Port 22 2026-02-12 03:18:26,542 - DEBUG - VM ctest-vm1-test-53328426 is ready for SSH connections 2026-02-12 03:18:26,542 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-02-12 03:18:26,543 - DEBUG - ifconfig | grep 10.10.10.3 2026-02-12 03:18:46,245 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-02-12 03:18:46,245 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-53328426", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-02-12 03:18:46,245 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-53328426", None, socket.AF_INET6)' 2026-02-12 03:18:48,755 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-53328426, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-02-12 03:18:48,755 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-53328426 2026-02-12 03:18:51,671 - DEBUG - PING ctest-vm1-test-53328426.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-53328426.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.73 ms 64 bytes from ctest-vm1-test-53328426.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.362 ms 64 bytes from ctest-vm1-test-53328426.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.213 ms --- ctest-vm1-test-53328426.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.213/1.438/3.739/1.628 ms 2026-02-12 03:18:51,671 - INFO - Ping to IP ctest-vm1-test-53328426 from VM ctest-vm1-test-53328426 passed 2026-02-12 03:18:51,704 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-12 03:18:51,712 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=default-domain:ctest-vdns1-62229635@0%20AllEntriesVdnsRecordsReq 2026-02-12 03:18:51,719 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-12 03:18:51,724 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=default-domain:ctest-vdns1-62229635@0%20AllEntriesVdnsRecordsReq 2026-02-12 03:18:51,731 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-12 03:18:51,735 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=default-domain:ctest-vdns1-62229635@0%20AllEntriesVdnsRecordsReq 2026-02-12 03:18:51,741 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-62229635:1:ctest-vm1-test-53328426:10.10.10.3', 'rec_name': 'ctest-vm1-test-53328426', '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-5305-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-53328426.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-02-12 03:18:51,741 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-62229635:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-53328426', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-53328426', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5305-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-53328426.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-02-12 03:18:53,047 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5305-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5305-1) 2026-02-12 03:18:53,047 - INFO - Waiting for VM ctest-vm2-test-80009979 to be up.. 2026-02-12 03:18:53,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 03:18:58,188 - DEBUG - VM is in ACTIVE state now 2026-02-12 03:18:58,188 - INFO - VM name : ctest-vm2-test-80009979 2026-02-12 03:18:58,268 - DEBUG - VM ctest-vm2-test-80009979 ID is 51674c7a-68d8-4681-8318-50e303d550f6 2026-02-12 03:18:58,268 - DEBUG - VM ctest-vm2-test-80009979 launched on Node an-jenkins-deploy-platform-ansible-os-5305-1 2026-02-12 03:18:58,346 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/51674c7a-68d8-4681-8318-50e303d550f6 2026-02-12 03:18:58,356 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d432462b-9ade-4fa6-ab06-cb2420504b37 2026-02-12 03:19:01,538 - 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 1028ms') 2026-02-12 03:19:01,538 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80009979 failed! 2026-02-12 03:19:01,553 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:19:05,637 - 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 1022ms') 2026-02-12 03:19:05,637 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80009979 failed! 2026-02-12 03:19:05,650 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:19:09,730 - 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 1016ms') 2026-02-12 03:19:09,731 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80009979 failed! 2026-02-12 03:19:09,744 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:19:13,828 - 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 1019ms') 2026-02-12 03:19:13,829 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80009979 failed! 2026-02-12 03:19:13,847 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:19:17,915 - 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-02-12 03:19:17,915 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80009979 failed! 2026-02-12 03:19:17,927 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:19:22,022 - 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 1026ms') 2026-02-12 03:19:22,022 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80009979 failed! 2026-02-12 03:19:22,036 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:19:26,113 - 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-02-12 03:19:26,113 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80009979 failed! 2026-02-12 03:19:26,128 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:19:30,216 - 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 1022ms') 2026-02-12 03:19:30,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80009979 failed! 2026-02-12 03:19:30,232 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50724892:ctest-vn1-vdns-42347263 is 10.10.10.1 and allocation pool is NOT set 2026-02-12 03:19:32,298 - 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=7.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.583/4.629/7.676/3.046 ms') 2026-02-12 03:19:32,298 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80009979 passed 2026-02-12 03:19:32,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 03:19:32,365 - DEBUG - Waiting to SSH to VM ctest-vm2-test-80009979, IP 10.10.10.4, Port 22 2026-02-12 03:19:32,432 - 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-02-12 03:19:32,521 - DEBUG - VM ctest-vm2-test-80009979 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 03:19:37,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 03:19:37,523 - DEBUG - Waiting to SSH to VM ctest-vm2-test-80009979, IP 10.10.10.4, Port 22 2026-02-12 03:19:37,592 - 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-02-12 03:19:37,669 - DEBUG - VM ctest-vm2-test-80009979 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 03:19:42,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 03:19:42,670 - DEBUG - Waiting to SSH to VM ctest-vm2-test-80009979, IP 10.10.10.4, Port 22 2026-02-12 03:19:42,737 - 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-02-12 03:19:42,823 - DEBUG - VM ctest-vm2-test-80009979 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 03:19:47,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 03:19:47,824 - DEBUG - Waiting to SSH to VM ctest-vm2-test-80009979, IP 10.10.10.4, Port 22 2026-02-12 03:19:47,893 - 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-02-12 03:19:47,975 - DEBUG - VM ctest-vm2-test-80009979 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 03:19:52,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 03:19:52,976 - DEBUG - Waiting to SSH to VM ctest-vm2-test-80009979, IP 10.10.10.4, Port 22 2026-02-12 03:19:53,144 - DEBUG - VM ctest-vm2-test-80009979 is ready for SSH connections 2026-02-12 03:19:53,144 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-12 03:19:53,144 - DEBUG - ifconfig | grep 10.10.10.4 2026-02-12 03:20:12,503 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-02-12 03:20:12,503 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-80009979", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-12 03:20:12,503 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-80009979", None, socket.AF_INET6)' 2026-02-12 03:20:14,027 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-80009979, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-12 03:20:14,027 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-80009979 2026-02-12 03:20:16,538 - DEBUG - PING ctest-vm2-test-80009979.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-80009979.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.34 ms 64 bytes from ctest-vm2-test-80009979.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.73 ms 64 bytes from ctest-vm2-test-80009979.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.210 ms --- ctest-vm2-test-80009979.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.210/2.430/4.348/1.703 ms 2026-02-12 03:20:16,539 - INFO - Ping to IP ctest-vm2-test-80009979 from VM ctest-vm2-test-80009979 passed 2026-02-12 03:20:16,569 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-12 03:20:16,580 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=default-domain:ctest-vdns1-62229635@0%20AllEntriesVdnsRecordsReq 2026-02-12 03:20:16,587 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-12 03:20:16,593 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=default-domain:ctest-vdns1-62229635@0%20AllEntriesVdnsRecordsReq 2026-02-12 03:20:16,600 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-12 03:20:16,606 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=default-domain:ctest-vdns1-62229635@0%20AllEntriesVdnsRecordsReq 2026-02-12 03:20:16,612 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-62229635:1:ctest-vm2-test-80009979:10.10.10.4', 'rec_name': 'ctest-vm2-test-80009979', '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-5305-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-80009979.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-02-12 03:20:16,612 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-62229635:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-80009979', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-80009979', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5305-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-80009979.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-02-12 03:20:16,612 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-80009979", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-02-12 03:20:16,612 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-80009979", None, socket.AF_INET6)' 2026-02-12 03:20:17,737 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-80009979, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-02-12 03:20:17,737 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-80009979 2026-02-12 03:20:20,274 - DEBUG - PING ctest-vm2-test-80009979.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-80009979.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.47 ms 64 bytes from ctest-vm2-test-80009979.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.09 ms 64 bytes from ctest-vm2-test-80009979.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.28 ms --- ctest-vm2-test-80009979.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.099/3.617/8.470/3.432 ms 2026-02-12 03:20:20,274 - INFO - Ping to IP ctest-vm2-test-80009979 from VM ctest-vm1-test-53328426 passed 2026-02-12 03:20:20,274 - INFO - Try deleting the VDNS entry ctest-vdns1-62229635 with back ref of ipam. 2026-02-12 03:20:20,333 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/59c1ebd7-f6f5-4525-b658-a01831b6bc91'] 2026-02-12 03:20:20,333 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-02-12 03:20:20,333 - INFO - Add CNAME VDNS record for ctest-vm1-test-53328426 and verify we able to ping by alias name 2026-02-12 03:20:20,381 - DEBUG - Creating VDNS record data : test-rec 2026-02-12 03:20:20,497 - INFO - In verify_on_setup 2026-02-12 03:20:20,593 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-62229635', 'test-rec'] created succesfully 2026-02-12 03:20:20,593 - INFO - Verify VDNS record is shown in the API server 2026-02-12 03:20:20,593 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-12 03:20:20,599 - DEBUG - Requesting: http://10.0.0.130:8082/domain/dbbdb6d5-ac40-4bc8-b2c9-9c29259fb031 2026-02-12 03:20:20,638 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-DNS/2d5cec3e-b0e5-4678-bada-c2d76c929522 2026-02-12 03:20:20,647 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-DNS-record/96fef1a5-f27b-4c11-8e3a-1655e05db372 2026-02-12 03:20:20,653 - INFO - Verify VDNS record is shown in the control node 2026-02-12 03:20:20,668 - 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.131, gateway password: c0ntrail123 2026-02-12 03:20:20,668 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-02-12 03:20:21,885 - 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.131, gateway password: c0ntrail123 2026-02-12 03:20:21,885 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-02-12 03:20:22,441 - DEBUG - ping: unknown host vm1-test-alias 2026-02-12 03:20:22,442 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-53328426 failed 2026-02-12 03:20:23,443 - 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.131, gateway password: c0ntrail123 2026-02-12 03:20:23,443 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-02-12 03:20:24,563 - 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.131, gateway password: c0ntrail123 2026-02-12 03:20:24,564 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-02-12 03:20:27,096 - DEBUG - PING ctest-vm1-test-53328426.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-53328426.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.42 ms 64 bytes from ctest-vm1-test-53328426.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.236 ms 64 bytes from ctest-vm1-test-53328426.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.338 ms --- ctest-vm1-test-53328426.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.236/0.999/2.425/1.009 ms 2026-02-12 03:20:27,097 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-53328426 passed 2026-02-12 03:20:27,097 - DEBUG - Deleting VDNS record data: test-rec 2026-02-12 03:20:27,177 - INFO - VDNS record info: default-domain:ctest-vdns1-62229635:test-rec deleted successfully. 2026-02-12 03:20:27,177 - INFO - Deleting VM ctest-vm2-test-80009979 2026-02-12 03:20:27,253 - INFO - Deleting VM ctest-vm1-test-53328426 2026-02-12 03:20:27,331 - INFO - Deleting VN ctest-vn1-vdns-42347263 2026-02-12 03:20:27,368 - DEBUG - VN c8bbb517-2f23-4750-8f90-7bca77e54236 still in use: Unable to complete operation on network c8bbb517-2f23-4750-8f90-7bca77e54236. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b7af783d-9425-4963-a83e-9955619e6d2b'] 2026-02-12 03:20:27,368 - WARNING - Deleting VN ctest-vn1-vdns-42347263 failed..Will retry 2026-02-12 03:20:29,511 - DEBUG - Response for deleting network () 2026-02-12 03:20:29,580 - DEBUG - Deleting VDNS Entry: ctest-vdns1-62229635 2026-02-12 03:20:29,665 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-62229635'] deleted successfully. 2026-02-12 03:20:29,665 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-02-12 03:20:29,671 - DEBUG - Requesting: http://10.0.0.130:8082/domain/dbbdb6d5-ac40-4bc8-b2c9-9c29259fb031 2026-02-12 03:20:29,687 - DEBUG - VDNS information not found in API server 2026-02-12 03:20:29,687 - INFO - VDNS information ctest-vdns1-62229635 removed from the API Server 2026-02-12 03:20:29,697 - INFO - VDNS information ctest-vdns1-62229635 removed in the Control node 2026-02-12 03:20:29,697 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-50724892'] 2026-02-12 03:20:30,969 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 03:20:30,969 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:04]
2026-02-12 03:20:30,969 - INFO - -------------------------------------------------------------------------------- 2026-02-12 03:20:31,765 - INFO - Deleted project: ctest-TestvDNSBasic0-50724892, ID : 75a79f45-3935-4aff-87a7-e8cebe7b908f