2025-08-11 11:50:32,689 - INFO - Domain Default found not creating 2025-08-11 11:50:32,814 - INFO - Project ctest-TestvDNSBasic0-02900770 not found, creating it 2025-08-11 11:50:33,250 - INFO - Created Project:ctest-TestvDNSBasic0-02900770, ID : c1e37976-e3f1-4593-a648-8378e0870f19 2025-08-11 11:50:34,742 - INFO - ================================================================================ 2025-08-11 11:50:34,743 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-08-11 11:50:34,743 - 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 2025-08-11 11:50:36,000 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.41': {'10.20.0.254': '0', '10.20.0.25': '0'}} with 2025-08-11 11:50:36,001 - INFO - Initial checks done. Running the testcase now 2025-08-11 11:50:36,001 - INFO - 2025-08-11 11:50:36,686 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-02900770'](c1e37976-e3f1-4593-a648-8378e0870f19) 2025-08-11 11:50:36,744 - DEBUG - Creating VDNS : ctest-vdns1-54756059 2025-08-11 11:50:36,956 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-54756059'] created succesfully 2025-08-11 11:50:36,956 - DEBUG - Verify VDNS entry is shown in control node 2025-08-11 11:50:36,975 - DEBUG - Verify VDNS entry is shown in the API server 2025-08-11 11:50:36,975 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-11 11:50:37,261 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-11 11:50:37,287 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b5486b30-eba1-4fa6-8a8f-46cb32823c52 2025-08-11 11:50:37,306 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS/5ec668ed-3455-4009-919b-da0d65445a9b 2025-08-11 11:50:37,966 - DEBUG - Response for create_network : {'network': {'id': '7682093d-aee8-4827-a6ec-d55374afd75c', 'name': 'ctest-vn1-vdns-26400128', 'tenant_id': 'c1e37976e3f14593a6488378e0870f19', 'project_id': 'c1e37976e3f14593a6488378e0870f19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-02900770', 'ctest-vn1-vdns-26400128'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 11:50:38,281 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bed1b932-1809-4d04-8dcd-1f6f4f13340b', 'name': '', 'tenant_id': 'c1e37976e3f14593a6488378e0870f19', 'network_id': '7682093d-aee8-4827-a6ec-d55374afd75c', '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': 'c1e37976e3f14593a6488378e0870f19'}} 2025-08-11 11:50:38,311 - INFO - Created VN ctest-vn1-vdns-26400128 2025-08-11 11:50:38,322 - DEBUG - VN ctest-vn1-vdns-26400128 UUID is 7682093d-aee8-4827-a6ec-d55374afd75c 2025-08-11 11:50:38,476 - DEBUG - Services list from nova: [, , , ] 2025-08-11 11:50:39,419 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3803-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3803-2) 2025-08-11 11:50:39,420 - INFO - Waiting for VM ctest-vm1-test-37697787 to be up.. 2025-08-11 11:50:39,455 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 11:50:44,524 - DEBUG - VM is in ACTIVE state now 2025-08-11 11:50:44,524 - INFO - VM name : ctest-vm1-test-37697787 2025-08-11 11:50:44,589 - DEBUG - VM ctest-vm1-test-37697787 ID is 3ff7e3c7-e187-45b9-8fcb-7fe3bfd227d4 2025-08-11 11:50:44,589 - DEBUG - VM ctest-vm1-test-37697787 launched on Node an-jenkins-deploy-platform-ansible-os-3803-2 2025-08-11 11:50:44,654 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3ff7e3c7-e187-45b9-8fcb-7fe3bfd227d4 2025-08-11 11:50:44,949 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3ff7e3c7-e187-45b9-8fcb-7fe3bfd227d4 2025-08-11 11:50:44,978 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/72dd5e2d-6366-44db-b2f8-a729fa1a0205 2025-08-11 11:50:48,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') 2025-08-11 11:50:48,195 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37697787 failed! 2025-08-11 11:50:48,209 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-02900770:ctest-vn1-vdns-26400128 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 11:50:52,287 - 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') 2025-08-11 11:50:52,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37697787 failed! 2025-08-11 11:50:52,302 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-02900770:ctest-vn1-vdns-26400128 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 11:50:56,392 - 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') 2025-08-11 11:50:56,392 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37697787 failed! 2025-08-11 11:50:56,405 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-02900770:ctest-vn1-vdns-26400128 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 11:51:00,487 - 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 1020ms') 2025-08-11 11:51:00,487 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37697787 failed! 2025-08-11 11:51:00,501 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-02900770:ctest-vn1-vdns-26400128 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 11:51:04,578 - 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') 2025-08-11 11:51:04,578 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37697787 failed! 2025-08-11 11:51:04,592 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-02900770:ctest-vn1-vdns-26400128 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 11:51:08,675 - 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') 2025-08-11 11:51:08,675 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37697787 failed! 2025-08-11 11:51:08,688 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-02900770:ctest-vn1-vdns-26400128 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 11:51:12,773 - 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') 2025-08-11 11:51:12,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37697787 failed! 2025-08-11 11:51:12,791 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-02900770:ctest-vn1-vdns-26400128 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 11:51:16,866 - 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=4.75 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 4.747/4.747/4.747/0.000 ms') 2025-08-11 11:51:16,866 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37697787 passed 2025-08-11 11:51:16,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:51:16,976 - DEBUG - Waiting to SSH to VM ctest-vm1-test-37697787, IP 10.10.10.3, Port 22 2025-08-11 11:51:17,032 - 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': ''} 2025-08-11 11:51:17,102 - DEBUG - VM ctest-vm1-test-37697787 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 11:51:22,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:51:22,103 - DEBUG - Waiting to SSH to VM ctest-vm1-test-37697787, IP 10.10.10.3, Port 22 2025-08-11 11:51:22,170 - 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': ''} 2025-08-11 11:51:22,238 - DEBUG - VM ctest-vm1-test-37697787 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 11:51:27,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:51:27,239 - DEBUG - Waiting to SSH to VM ctest-vm1-test-37697787, IP 10.10.10.3, Port 22 2025-08-11 11:51:27,306 - 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': ''} 2025-08-11 11:51:27,385 - DEBUG - VM ctest-vm1-test-37697787 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 11:51:32,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:51:32,386 - DEBUG - Waiting to SSH to VM ctest-vm1-test-37697787, IP 10.10.10.3, Port 22 2025-08-11 11:51:32,559 - DEBUG - VM ctest-vm1-test-37697787 is ready for SSH connections 2025-08-11 11:51:32,559 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-11 11:51:32,559 - DEBUG - ifconfig | grep 10.10.10.3 2025-08-11 11:51:51,758 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-11 11:51:51,758 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-37697787", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-11 11:51:51,758 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-37697787", None, socket.AF_INET6)' 2025-08-11 11:51:54,226 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-37697787, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-11 11:51:54,227 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-37697787 2025-08-11 11:51:57,179 - DEBUG - PING ctest-vm1-test-37697787.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-37697787.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.69 ms 64 bytes from ctest-vm1-test-37697787.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.237 ms 64 bytes from ctest-vm1-test-37697787.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.198 ms --- ctest-vm1-test-37697787.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.198/1.044/2.698/1.169 ms 2025-08-11 11:51:57,179 - INFO - Ping to IP ctest-vm1-test-37697787 from VM ctest-vm1-test-37697787 passed 2025-08-11 11:51:57,204 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 11:51:57,210 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-54756059@0%20AllEntriesVdnsRecordsReq 2025-08-11 11:51:57,215 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 11:51:57,220 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-54756059@0%20AllEntriesVdnsRecordsReq 2025-08-11 11:51:57,225 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 11:51:57,229 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-54756059@0%20AllEntriesVdnsRecordsReq 2025-08-11 11:51:57,235 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-54756059:1:ctest-vm1-test-37697787:10.10.10.3', 'rec_name': 'ctest-vm1-test-37697787', '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-3803-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-37697787.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-11 11:51:57,235 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-54756059:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-37697787', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-37697787', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3803-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-37697787.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'} 2025-08-11 11:51:58,379 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3803-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3803-1) 2025-08-11 11:51:58,379 - INFO - Waiting for VM ctest-vm2-test-08725827 to be up.. 2025-08-11 11:51:58,415 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 11:52:03,484 - DEBUG - VM is in ACTIVE state now 2025-08-11 11:52:03,484 - INFO - VM name : ctest-vm2-test-08725827 2025-08-11 11:52:03,547 - DEBUG - VM ctest-vm2-test-08725827 ID is 256d9049-ab56-453d-ac85-4983399dc93a 2025-08-11 11:52:03,548 - DEBUG - VM ctest-vm2-test-08725827 launched on Node an-jenkins-deploy-platform-ansible-os-3803-1 2025-08-11 11:52:03,610 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/256d9049-ab56-453d-ac85-4983399dc93a 2025-08-11 11:52:03,618 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3905a769-524b-4056-978e-6bb21685c98d 2025-08-11 11:52:06,848 - 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') 2025-08-11 11:52:06,849 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08725827 failed! 2025-08-11 11:52:06,862 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-02900770:ctest-vn1-vdns-26400128 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 11:52:10,941 - 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') 2025-08-11 11:52:10,941 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08725827 failed! 2025-08-11 11:52:10,954 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-02900770:ctest-vn1-vdns-26400128 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 11:52:15,027 - 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') 2025-08-11 11:52:15,027 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08725827 failed! 2025-08-11 11:52:15,040 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-02900770:ctest-vn1-vdns-26400128 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 11:52:19,130 - 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') 2025-08-11 11:52:19,130 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08725827 failed! 2025-08-11 11:52:19,143 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-02900770:ctest-vn1-vdns-26400128 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 11:52:23,223 - 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') 2025-08-11 11:52:23,223 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08725827 failed! 2025-08-11 11:52:23,237 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-02900770:ctest-vn1-vdns-26400128 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 11:52:27,326 - 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 1027ms') 2025-08-11 11:52:27,326 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08725827 failed! 2025-08-11 11:52:27,340 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-02900770:ctest-vn1-vdns-26400128 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 11:52:31,414 - 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') 2025-08-11 11:52:31,414 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08725827 failed! 2025-08-11 11:52:31,427 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-02900770:ctest-vn1-vdns-26400128 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 11:52:33,493 - 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=8.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.580 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.580/4.310/8.040/3.730 ms') 2025-08-11 11:52:33,493 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08725827 passed 2025-08-11 11:52:33,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:52:33,603 - DEBUG - Waiting to SSH to VM ctest-vm2-test-08725827, IP 10.10.10.4, Port 22 2025-08-11 11:52:33,661 - 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': ''} 2025-08-11 11:52:33,729 - DEBUG - VM ctest-vm2-test-08725827 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 11:52:38,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:52:38,731 - DEBUG - Waiting to SSH to VM ctest-vm2-test-08725827, IP 10.10.10.4, Port 22 2025-08-11 11:52:38,785 - 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': ''} 2025-08-11 11:52:38,857 - DEBUG - VM ctest-vm2-test-08725827 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 11:52:43,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:52:43,858 - DEBUG - Waiting to SSH to VM ctest-vm2-test-08725827, IP 10.10.10.4, Port 22 2025-08-11 11:52:43,924 - 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': ''} 2025-08-11 11:52:43,994 - DEBUG - VM ctest-vm2-test-08725827 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 11:52:48,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:52:48,994 - DEBUG - Waiting to SSH to VM ctest-vm2-test-08725827, IP 10.10.10.4, Port 22 2025-08-11 11:52:49,149 - DEBUG - VM ctest-vm2-test-08725827 is ready for SSH connections 2025-08-11 11:52:49,149 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-11 11:52:49,149 - DEBUG - ifconfig | grep 10.10.10.4 2025-08-11 11:53:07,718 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-11 11:53:07,718 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-08725827", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-11 11:53:07,718 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-08725827", None, socket.AF_INET6)' 2025-08-11 11:53:10,046 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-08725827, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-11 11:53:10,046 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-08725827 2025-08-11 11:53:13,009 - DEBUG - PING ctest-vm2-test-08725827.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-08725827.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.94 ms 64 bytes from ctest-vm2-test-08725827.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.230 ms 64 bytes from ctest-vm2-test-08725827.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.168 ms --- ctest-vm2-test-08725827.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.168/1.115/2.949/1.297 ms 2025-08-11 11:53:13,009 - INFO - Ping to IP ctest-vm2-test-08725827 from VM ctest-vm2-test-08725827 passed 2025-08-11 11:53:13,032 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 11:53:13,038 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-54756059@0%20AllEntriesVdnsRecordsReq 2025-08-11 11:53:13,043 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 11:53:13,048 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-54756059@0%20AllEntriesVdnsRecordsReq 2025-08-11 11:53:13,052 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 11:53:13,057 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-54756059@0%20AllEntriesVdnsRecordsReq 2025-08-11 11:53:13,062 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-54756059:1:ctest-vm2-test-08725827:10.10.10.4', 'rec_name': 'ctest-vm2-test-08725827', '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-3803-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-08725827.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-11 11:53:13,062 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-54756059:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-08725827', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-08725827', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3803-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-08725827.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '4.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'} 2025-08-11 11:53:13,063 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-08725827", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-11 11:53:13,063 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-08725827", None, socket.AF_INET6)' 2025-08-11 11:53:14,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-08725827, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-11 11:53:14,219 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-08725827 2025-08-11 11:53:16,736 - DEBUG - PING ctest-vm2-test-08725827.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-08725827.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=9.74 ms 64 bytes from ctest-vm2-test-08725827.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.969 ms 64 bytes from ctest-vm2-test-08725827.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.940 ms --- ctest-vm2-test-08725827.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.940/3.884/9.744/4.143 ms 2025-08-11 11:53:16,736 - INFO - Ping to IP ctest-vm2-test-08725827 from VM ctest-vm1-test-37697787 passed 2025-08-11 11:53:16,736 - INFO - Try deleting the VDNS entry ctest-vdns1-54756059 with back ref of ipam. 2025-08-11 11:53:16,792 - DEBUG - Delete when resource still referred: ['http://10.0.0.22:8082/network-ipam/28e178ec-1ecf-4ae5-ab94-b0120cf8e0d8'] 2025-08-11 11:53:16,792 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-08-11 11:53:16,792 - INFO - Add CNAME VDNS record for ctest-vm1-test-37697787 and verify we able to ping by alias name 2025-08-11 11:53:16,840 - DEBUG - Creating VDNS record data : test-rec 2025-08-11 11:53:16,952 - INFO - In verify_on_setup 2025-08-11 11:53:17,048 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-54756059', 'test-rec'] created succesfully 2025-08-11 11:53:17,048 - INFO - Verify VDNS record is shown in the API server 2025-08-11 11:53:17,048 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-11 11:53:17,054 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b5486b30-eba1-4fa6-8a8f-46cb32823c52 2025-08-11 11:53:17,088 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS/5ec668ed-3455-4009-919b-da0d65445a9b 2025-08-11 11:53:17,097 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS-record/98d38e9d-264f-42a1-a1ab-2494209828a1 2025-08-11 11:53:17,103 - INFO - Verify VDNS record is shown in the control node 2025-08-11 11:53:17,120 - 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.41, gateway password: c0ntrail123 2025-08-11 11:53:17,120 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-11 11:53:18,228 - 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.41, gateway password: c0ntrail123 2025-08-11 11:53:18,228 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-11 11:53:18,718 - DEBUG - ping: unknown host vm1-test-alias 2025-08-11 11:53:18,718 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-37697787 failed 2025-08-11 11:53:19,719 - 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.41, gateway password: c0ntrail123 2025-08-11 11:53:19,720 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-11 11:53:20,788 - 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.41, gateway password: c0ntrail123 2025-08-11 11:53:20,788 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-11 11:53:23,291 - DEBUG - PING ctest-vm1-test-37697787.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-37697787.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.60 ms 64 bytes from ctest-vm1-test-37697787.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.327 ms 64 bytes from ctest-vm1-test-37697787.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.314 ms --- ctest-vm1-test-37697787.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.314/1.083/2.609/1.079 ms 2025-08-11 11:53:23,292 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-37697787 passed 2025-08-11 11:53:23,292 - DEBUG - Deleting VDNS record data: test-rec 2025-08-11 11:53:23,376 - INFO - VDNS record info: default-domain:ctest-vdns1-54756059:test-rec deleted successfully. 2025-08-11 11:53:23,376 - INFO - Deleting VM ctest-vm2-test-08725827 2025-08-11 11:53:23,430 - INFO - Deleting VM ctest-vm1-test-37697787 2025-08-11 11:53:23,486 - INFO - Deleting VN ctest-vn1-vdns-26400128 2025-08-11 11:53:23,519 - DEBUG - VN 7682093d-aee8-4827-a6ec-d55374afd75c still in use: Unable to complete operation on network 7682093d-aee8-4827-a6ec-d55374afd75c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f7012411-1c71-4bf3-8b53-d4a4dc6011db'] 2025-08-11 11:53:23,520 - WARNING - Deleting VN ctest-vn1-vdns-26400128 failed..Will retry 2025-08-11 11:53:25,704 - DEBUG - Response for deleting network () 2025-08-11 11:53:25,758 - DEBUG - Deleting VDNS Entry: ctest-vdns1-54756059 2025-08-11 11:53:25,864 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-54756059'] deleted successfully. 2025-08-11 11:53:25,864 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-11 11:53:25,872 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b5486b30-eba1-4fa6-8a8f-46cb32823c52 2025-08-11 11:53:25,885 - DEBUG - VDNS information not found in API server 2025-08-11 11:53:25,885 - INFO - VDNS information ctest-vdns1-54756059 removed from the API Server 2025-08-11 11:53:25,890 - INFO - VDNS information ctest-vdns1-54756059 removed in the Control node 2025-08-11 11:53:25,890 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-02900770'] 2025-08-11 11:53:27,158 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 11:53:27,158 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:02:53] 2025-08-11 11:53:27,159 - INFO - -------------------------------------------------------------------------------- 2025-08-11 11:53:27,940 - INFO - Deleted project: ctest-TestvDNSBasic0-02900770, ID : c1e37976-e3f1-4593-a648-8378e0870f19