2025-10-29 19:00:16,056 - INFO - Domain Default found not creating
2025-10-29 19:00:16,232 - INFO - Project ctest-TestvDNSBasic0-61543009 not found, creating it
2025-10-29 19:00:16,823 - INFO - Created Project:ctest-TestvDNSBasic0-61543009, ID : 24c57095-0504-432f-9587-5e5ab681c825
2025-10-29 19:00:19,193 - INFO - ================================================================================
2025-10-29 19:00:19,193 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-10-29 19:00:19,193 - 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-10-29 19:00:20,679 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.201': '0', '10.20.0.200': '0'}, '10.0.0.27': {'10.20.0.201': '0', '10.20.0.200': '0'}} with
2025-10-29 19:00:20,680 - INFO - Initial checks done. Running the testcase now
2025-10-29 19:00:20,680 - INFO -
2025-10-29 19:00:21,579 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-61543009'](24c57095-0504-432f-9587-5e5ab681c825)
2025-10-29 19:00:21,645 - DEBUG - Creating VDNS : ctest-vdns1-32723712
2025-10-29 19:00:21,902 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-32723712'] created succesfully
2025-10-29 19:00:21,902 - DEBUG - Verify VDNS entry is shown in control node
2025-10-29 19:00:21,923 - DEBUG - Verify VDNS entry is shown in the API server
2025-10-29 19:00:21,923 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-29 19:00:22,267 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-29 19:00:22,341 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ab5f52cf-59f5-4d8f-a294-1eaf08d80442
2025-10-29 19:00:22,377 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS/c6b5cd51-473c-432c-b92d-ecb93d33cb79
2025-10-29 19:00:23,162 - DEBUG - Response for create_network : {'network': {'id': 'bb3f895b-95ef-460c-896f-f821be7ee215', 'name': 'ctest-vn1-vdns-36586894', 'tenant_id': '24c570950504432f95875e5ab681c825', 'project_id': '24c570950504432f95875e5ab681c825', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-61543009', 'ctest-vn1-vdns-36586894'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 19:00:23,462 - DEBUG - Response for create_subnet : {'subnet': {'id': '49067153-c6e3-4fb2-8f63-8bdee740b610', 'name': '', 'tenant_id': '24c570950504432f95875e5ab681c825', 'network_id': 'bb3f895b-95ef-460c-896f-f821be7ee215', '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': '24c570950504432f95875e5ab681c825'}}
2025-10-29 19:00:23,492 - INFO - Created VN ctest-vn1-vdns-36586894
2025-10-29 19:00:23,506 - DEBUG - VN ctest-vn1-vdns-36586894 UUID is bb3f895b-95ef-460c-896f-f821be7ee215
2025-10-29 19:00:23,690 - DEBUG - Services list from nova: [, , , ]
2025-10-29 19:00:25,290 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4526-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4526-2)
2025-10-29 19:00:25,291 - INFO - Waiting for VM ctest-vm1-test-65550576 to be up..
2025-10-29 19:00:25,353 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-29 19:00:30,518 - DEBUG - VM is in ACTIVE state now
2025-10-29 19:00:30,518 - INFO - VM name : ctest-vm1-test-65550576
2025-10-29 19:00:30,656 - DEBUG - VM ctest-vm1-test-65550576 ID is 2f86c064-30c4-4d8a-85ae-34a27e67e039
2025-10-29 19:00:30,657 - DEBUG - VM ctest-vm1-test-65550576 launched on Node an-jenkins-deploy-platform-ansible-os-4526-2
2025-10-29 19:00:30,796 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2f86c064-30c4-4d8a-85ae-34a27e67e039
2025-10-29 19:00:31,114 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2f86c064-30c4-4d8a-85ae-34a27e67e039
2025-10-29 19:00:31,146 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/175ec8e5-2507-425e-af28-024a97226108
2025-10-29 19:00:34,330 - 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-10-29 19:00:34,331 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65550576 failed!
2025-10-29 19:00:34,352 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:00:38,430 - 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')
2025-10-29 19:00:38,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65550576 failed!
2025-10-29 19:00:38,452 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:00:42,547 - 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 1034ms')
2025-10-29 19:00:42,547 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65550576 failed!
2025-10-29 19:00:42,563 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:00:46,652 - 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-10-29 19:00:46,653 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65550576 failed!
2025-10-29 19:00:46,673 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:00:50,743 - 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')
2025-10-29 19:00:50,743 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65550576 failed!
2025-10-29 19:00:50,759 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:00:54,839 - 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-10-29 19:00:54,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65550576 failed!
2025-10-29 19:00:54,861 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:00:58,933 - 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')
2025-10-29 19:00:58,933 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65550576 failed!
2025-10-29 19:00:58,955 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:01:03,031 - 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')
2025-10-29 19:01:03,031 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65550576 failed!
2025-10-29 19:01:03,053 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:01:05,119 - 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=4.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.56 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.557/3.169/4.782/1.612 ms')
2025-10-29 19:01:05,120 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65550576 passed
2025-10-29 19:01:05,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 19:01:05,209 - DEBUG - Waiting to SSH to VM ctest-vm1-test-65550576, IP 10.10.10.3, Port 22
2025-10-29 19:01:05,271 - 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-10-29 19:01:05,560 - DEBUG - VM ctest-vm1-test-65550576 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 19:01:10,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 19:01:10,561 - DEBUG - Waiting to SSH to VM ctest-vm1-test-65550576, IP 10.10.10.3, Port 22
2025-10-29 19:01:10,621 - 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-10-29 19:01:10,844 - DEBUG - VM ctest-vm1-test-65550576 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 19:01:15,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 19:01:15,845 - DEBUG - Waiting to SSH to VM ctest-vm1-test-65550576, IP 10.10.10.3, Port 22
2025-10-29 19:01:15,914 - 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-10-29 19:01:16,058 - DEBUG - VM ctest-vm1-test-65550576 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 19:01:21,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 19:01:21,059 - DEBUG - Waiting to SSH to VM ctest-vm1-test-65550576, IP 10.10.10.3, Port 22
2025-10-29 19:01:21,226 - DEBUG - VM ctest-vm1-test-65550576 is ready for SSH connections
2025-10-29 19:01:21,227 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-29 19:01:21,227 - DEBUG - ifconfig | grep 10.10.10.3
2025-10-29 19:01:40,890 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-10-29 19:01:40,890 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-65550576", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-29 19:01:40,890 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-65550576", None, socket.AF_INET6)'
2025-10-29 19:01:43,602 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-65550576, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-29 19:01:43,602 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-65550576
2025-10-29 19:01:46,585 - DEBUG - PING ctest-vm1-test-65550576.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-65550576.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.50 ms
64 bytes from ctest-vm1-test-65550576.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.266 ms
64 bytes from ctest-vm1-test-65550576.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.286 ms
--- ctest-vm1-test-65550576.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.266/1.019/2.507/1.052 ms
2025-10-29 19:01:46,586 - INFO - Ping to IP ctest-vm1-test-65550576 from VM ctest-vm1-test-65550576 passed
2025-10-29 19:01:46,639 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-29 19:01:46,655 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-32723712@0%20AllEntriesVdnsRecordsReq
2025-10-29 19:01:46,672 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-29 19:01:46,694 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-32723712@0%20AllEntriesVdnsRecordsReq
2025-10-29 19:01:46,707 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-29 19:01:46,722 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-32723712@0%20AllEntriesVdnsRecordsReq
2025-10-29 19:01:46,735 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-32723712:1:ctest-vm1-test-65550576:10.10.10.3', 'rec_name': 'ctest-vm1-test-65550576', '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-4526-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-65550576.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-10-29 19:01:46,736 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-32723712:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-65550576', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-65550576', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4526-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-65550576.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-10-29 19:01:48,563 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4526-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4526-1)
2025-10-29 19:01:48,563 - INFO - Waiting for VM ctest-vm2-test-75274438 to be up..
2025-10-29 19:01:48,627 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-29 19:01:53,829 - DEBUG - VM is in ACTIVE state now
2025-10-29 19:01:53,829 - INFO - VM name : ctest-vm2-test-75274438
2025-10-29 19:01:54,002 - DEBUG - VM ctest-vm2-test-75274438 ID is 256cccdd-4ea1-4d6c-8e12-9be1f7b0abd7
2025-10-29 19:01:54,002 - DEBUG - VM ctest-vm2-test-75274438 launched on Node an-jenkins-deploy-platform-ansible-os-4526-1
2025-10-29 19:01:54,141 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/256cccdd-4ea1-4d6c-8e12-9be1f7b0abd7
2025-10-29 19:01:54,155 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/31e8d966-22d8-42f3-9d28-404325f41ce6
2025-10-29 19:01:57,419 - 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')
2025-10-29 19:01:57,419 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-75274438 failed!
2025-10-29 19:01:57,435 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:02:01,544 - 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')
2025-10-29 19:02:01,544 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-75274438 failed!
2025-10-29 19:02:01,560 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:02:05,645 - 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 1014ms')
2025-10-29 19:02:05,645 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-75274438 failed!
2025-10-29 19:02:05,666 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:02:09,735 - 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 1003ms')
2025-10-29 19:02:09,735 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-75274438 failed!
2025-10-29 19:02:09,749 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:02:13,837 - 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-10-29 19:02:13,837 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-75274438 failed!
2025-10-29 19:02:13,863 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:02:17,965 - 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-10-29 19:02:17,965 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-75274438 failed!
2025-10-29 19:02:17,984 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:02:22,089 - 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')
2025-10-29 19:02:22,090 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-75274438 failed!
2025-10-29 19:02:22,107 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:02:26,212 - 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-10-29 19:02:26,213 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-75274438 failed!
2025-10-29 19:02:26,237 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:02:30,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 1022ms')
2025-10-29 19:02:30,343 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-75274438 failed!
2025-10-29 19:02:30,367 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61543009:ctest-vn1-vdns-36586894 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 19:02:32,455 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.54 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 = 3.541/5.779/8.017/2.238 ms')
2025-10-29 19:02:32,456 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-75274438 passed
2025-10-29 19:02:32,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 19:02:32,545 - DEBUG - Waiting to SSH to VM ctest-vm2-test-75274438, IP 10.10.10.4, Port 22
2025-10-29 19:02:32,630 - 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-10-29 19:02:32,751 - DEBUG - VM ctest-vm2-test-75274438 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 19:02:37,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 19:02:37,752 - DEBUG - Waiting to SSH to VM ctest-vm2-test-75274438, IP 10.10.10.4, Port 22
2025-10-29 19:02:37,833 - 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-10-29 19:02:38,043 - DEBUG - VM ctest-vm2-test-75274438 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 19:02:43,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 19:02:43,044 - DEBUG - Waiting to SSH to VM ctest-vm2-test-75274438, IP 10.10.10.4, Port 22
2025-10-29 19:02:43,127 - 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-10-29 19:02:43,237 - DEBUG - VM ctest-vm2-test-75274438 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 19:02:48,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 19:02:48,238 - DEBUG - Waiting to SSH to VM ctest-vm2-test-75274438, IP 10.10.10.4, Port 22
2025-10-29 19:02:48,333 - 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-10-29 19:02:48,506 - DEBUG - VM ctest-vm2-test-75274438 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 19:02:53,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 19:02:53,507 - DEBUG - Waiting to SSH to VM ctest-vm2-test-75274438, IP 10.10.10.4, Port 22
2025-10-29 19:02:53,723 - DEBUG - VM ctest-vm2-test-75274438 is ready for SSH connections
2025-10-29 19:02:53,723 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123
2025-10-29 19:02:53,723 - DEBUG - ifconfig | grep 10.10.10.4
2025-10-29 19:03:13,346 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-10-29 19:03:13,347 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-75274438", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123
2025-10-29 19:03:13,347 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-75274438", None, socket.AF_INET6)'
2025-10-29 19:03:16,127 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-75274438, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123
2025-10-29 19:03:16,127 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-75274438
2025-10-29 19:03:18,780 - DEBUG - PING ctest-vm2-test-75274438.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-75274438.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.62 ms
64 bytes from ctest-vm2-test-75274438.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.338 ms
64 bytes from ctest-vm2-test-75274438.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.440 ms
--- ctest-vm2-test-75274438.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.338/1.799/4.620/1.995 ms
2025-10-29 19:03:18,780 - INFO - Ping to IP ctest-vm2-test-75274438 from VM ctest-vm2-test-75274438 passed
2025-10-29 19:03:18,851 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-29 19:03:18,869 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-32723712@0%20AllEntriesVdnsRecordsReq
2025-10-29 19:03:18,885 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-29 19:03:18,896 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-32723712@0%20AllEntriesVdnsRecordsReq
2025-10-29 19:03:18,908 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-29 19:03:18,920 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-32723712@0%20AllEntriesVdnsRecordsReq
2025-10-29 19:03:18,936 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-32723712:1:ctest-vm2-test-75274438:10.10.10.4', 'rec_name': 'ctest-vm2-test-75274438', '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-4526-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-75274438.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-10-29 19:03:18,937 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-32723712:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-75274438', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-75274438', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4526-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-75274438.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-10-29 19:03:18,937 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-75274438", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-29 19:03:18,937 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-75274438", None, socket.AF_INET6)'
2025-10-29 19:03:20,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-75274438, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-29 19:03:20,145 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-75274438
2025-10-29 19:03:22,693 - DEBUG - PING ctest-vm2-test-75274438.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-75274438.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=12.6 ms
64 bytes from ctest-vm2-test-75274438.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.50 ms
64 bytes from ctest-vm2-test-75274438.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.96 ms
--- ctest-vm2-test-75274438.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.508/5.380/12.665/5.154 ms
2025-10-29 19:03:22,694 - INFO - Ping to IP ctest-vm2-test-75274438 from VM ctest-vm1-test-65550576 passed
2025-10-29 19:03:22,694 - INFO - Try deleting the VDNS entry ctest-vdns1-32723712 with back ref of ipam.
2025-10-29 19:03:22,761 - DEBUG - Delete when resource still referred: ['http://10.0.0.41:8082/network-ipam/33017e13-acef-443b-a1d7-1b9738b1bd55']
2025-10-29 19:03:22,762 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-10-29 19:03:22,762 - INFO - Add CNAME VDNS record for ctest-vm1-test-65550576 and verify we able to ping by alias name
2025-10-29 19:03:22,813 - DEBUG - Creating VDNS record data : test-rec
2025-10-29 19:03:22,954 - INFO - In verify_on_setup
2025-10-29 19:03:23,058 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-32723712', 'test-rec'] created succesfully
2025-10-29 19:03:23,058 - INFO - Verify VDNS record is shown in the API server
2025-10-29 19:03:23,058 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-29 19:03:23,073 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ab5f52cf-59f5-4d8f-a294-1eaf08d80442
2025-10-29 19:03:23,104 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS/c6b5cd51-473c-432c-b92d-ecb93d33cb79
2025-10-29 19:03:23,129 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS-record/51e24caf-33b3-48a1-8f26-42bf825af576
2025-10-29 19:03:23,146 - INFO - Verify VDNS record is shown in the control node
2025-10-29 19:03:23,169 - 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.27, gateway password: c0ntrail123
2025-10-29 19:03:23,169 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-10-29 19:03:24,302 - 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.27, gateway password: c0ntrail123
2025-10-29 19:03:24,303 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-10-29 19:03:24,795 - DEBUG - ping: unknown host vm1-test-alias
2025-10-29 19:03:24,795 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-65550576 failed
2025-10-29 19:03:25,797 - 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.27, gateway password: c0ntrail123
2025-10-29 19:03:25,798 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-10-29 19:03:26,913 - 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.27, gateway password: c0ntrail123
2025-10-29 19:03:26,913 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-10-29 19:03:29,418 - DEBUG - PING ctest-vm1-test-65550576.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-65550576.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.56 ms
64 bytes from ctest-vm1-test-65550576.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.203 ms
64 bytes from ctest-vm1-test-65550576.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.203 ms
--- ctest-vm1-test-65550576.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.203/0.656/1.564/0.642 ms
2025-10-29 19:03:29,418 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-65550576 passed
2025-10-29 19:03:29,418 - DEBUG - Deleting VDNS record data: test-rec
2025-10-29 19:03:29,525 - INFO - VDNS record info: default-domain:ctest-vdns1-32723712:test-rec deleted successfully.
2025-10-29 19:03:29,525 - INFO - Deleting VM ctest-vm2-test-75274438
2025-10-29 19:03:29,659 - INFO - Deleting VM ctest-vm1-test-65550576
2025-10-29 19:03:29,814 - INFO - Deleting VN ctest-vn1-vdns-36586894
2025-10-29 19:03:29,866 - DEBUG - VN bb3f895b-95ef-460c-896f-f821be7ee215 still in use: Unable to complete operation on network bb3f895b-95ef-460c-896f-f821be7ee215. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b00021ab-bd05-4e67-b549-a32007d67750']
2025-10-29 19:03:29,866 - WARNING - Deleting VN ctest-vn1-vdns-36586894 failed..Will retry
2025-10-29 19:03:32,179 - DEBUG - Response for deleting network ()
2025-10-29 19:03:32,233 - DEBUG - Deleting VDNS Entry: ctest-vdns1-32723712
2025-10-29 19:03:32,329 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-32723712'] deleted successfully.
2025-10-29 19:03:32,329 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-29 19:03:32,336 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ab5f52cf-59f5-4d8f-a294-1eaf08d80442
2025-10-29 19:03:32,352 - DEBUG - VDNS information not found in API server
2025-10-29 19:03:32,352 - INFO - VDNS information ctest-vdns1-32723712 removed from the API Server
2025-10-29 19:03:32,358 - INFO - VDNS information ctest-vdns1-32723712 removed in the Control node
2025-10-29 19:03:32,359 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-61543009']
2025-10-29 19:03:33,766 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 19:03:33,766 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:14]
2025-10-29 19:03:33,767 - INFO - --------------------------------------------------------------------------------
2025-10-29 19:03:34,607 - INFO - Deleted project: ctest-TestvDNSBasic0-61543009, ID : 24c57095-0504-432f-9587-5e5ab681c825