2026-09-28 03:54:52,839 - INFO - Domain Default found not creating
2026-09-28 03:54:53,078 - INFO - Project ctest-TestvDNSBasic0-06341059 not found, creating it
2026-09-28 03:54:53,780 - INFO - Created Project:ctest-TestvDNSBasic0-06341059, ID : 59f9ce3e-93f5-45de-8534-33c60f9162a1
2026-09-28 03:54:55,889 - INFO - ================================================================================
2026-09-28 03:54:55,889 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-09-28 03:54:55,890 - 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-09-28 03:54:57,226 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.162': {'10.20.0.25': '0', '10.20.0.254': '0'}} with
2026-09-28 03:54:57,226 - INFO - Initial checks done. Running the testcase now
2026-09-28 03:54:57,226 - INFO -
2026-09-28 03:54:58,204 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-06341059'](59f9ce3e-93f5-45de-8534-33c60f9162a1)
2026-09-28 03:54:58,265 - DEBUG - Creating VDNS : ctest-vdns1-51483015
2026-09-28 03:54:58,509 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-51483015'] created succesfully
2026-09-28 03:54:58,510 - DEBUG - Verify VDNS entry is shown in control node
2026-09-28 03:54:58,535 - DEBUG - Verify VDNS entry is shown in the API server
2026-09-28 03:54:58,535 - DEBUG - Requesting: http://10.0.0.176:8082/domains
2026-09-28 03:54:58,946 - DEBUG - Requesting: http://10.0.0.176:8082/domains
2026-09-28 03:54:59,002 - DEBUG - Requesting: http://10.0.0.176:8082/domain/6a7973b0-69cf-4d5f-a060-1b4d1311d404
2026-09-28 03:54:59,029 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-DNS/9410ce54-cd9a-4786-af1e-601a583461ea
2026-09-28 03:54:59,837 - DEBUG - Response for create_network : {'network': {'id': '623205e9-26bd-4d65-9b87-fdfe67a33f3c', 'name': 'ctest-vn1-vdns-68910565', 'tenant_id': '59f9ce3e93f545de853433c60f9162a1', 'project_id': '59f9ce3e93f545de853433c60f9162a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-06341059', 'ctest-vn1-vdns-68910565'], 'port_security_enabled': True, 'description': ''}}
2026-09-28 03:55:00,198 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe545ee8-d2b8-414a-a132-7f91d370941e', 'name': '', 'tenant_id': '59f9ce3e93f545de853433c60f9162a1', 'network_id': '623205e9-26bd-4d65-9b87-fdfe67a33f3c', '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': '59f9ce3e93f545de853433c60f9162a1'}}
2026-09-28 03:55:00,228 - INFO - Created VN ctest-vn1-vdns-68910565
2026-09-28 03:55:00,258 - DEBUG - VN ctest-vn1-vdns-68910565 UUID is 623205e9-26bd-4d65-9b87-fdfe67a33f3c
2026-09-28 03:55:00,517 - DEBUG - Services list from nova: [, , , ]
2026-09-28 03:55:01,142 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6324-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6324-2)
2026-09-28 03:55:01,143 - INFO - Waiting for VM ctest-vm1-test-06493592 to be up..
2026-09-28 03:55:01,212 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 03:55:06,335 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 03:55:11,446 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 03:55:16,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 03:55:21,685 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 03:55:26,796 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 03:55:31,923 - DEBUG - VM is in ACTIVE state now
2026-09-28 03:55:31,923 - INFO - VM name : ctest-vm1-test-06493592
2026-09-28 03:55:32,030 - DEBUG - VM ctest-vm1-test-06493592 ID is 8b46a01a-9973-49c6-908d-22f4d55ab746
2026-09-28 03:55:32,030 - DEBUG - VM ctest-vm1-test-06493592 launched on Node an-jenkins-deploy-platform-ansible-os-6324-2
2026-09-28 03:55:32,131 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/8b46a01a-9973-49c6-908d-22f4d55ab746
2026-09-28 03:55:32,542 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/8b46a01a-9973-49c6-908d-22f4d55ab746
2026-09-28 03:55:32,579 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/9f70fa06-b583-4baf-8816-4864d21f3e13
2026-09-28 03:55:35,793 - 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-09-28 03:55:35,793 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-06493592 failed!
2026-09-28 03:55:35,810 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-06341059:ctest-vn1-vdns-68910565 is 10.10.10.1 and allocation pool is NOT set
2026-09-28 03:55:39,890 - 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')
2026-09-28 03:55:39,890 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-06493592 failed!
2026-09-28 03:55:39,911 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-06341059:ctest-vn1-vdns-68910565 is 10.10.10.1 and allocation pool is NOT set
2026-09-28 03:55:43,989 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-09-28 03:55:43,989 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-06493592 failed!
2026-09-28 03:55:44,007 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-06341059:ctest-vn1-vdns-68910565 is 10.10.10.1 and allocation pool is NOT set
2026-09-28 03:55:48,084 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-09-28 03:55:48,084 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-06493592 failed!
2026-09-28 03:55:48,103 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-06341059:ctest-vn1-vdns-68910565 is 10.10.10.1 and allocation pool is NOT set
2026-09-28 03:55:52,173 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-09-28 03:55:52,173 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-06493592 failed!
2026-09-28 03:55:52,193 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-06341059:ctest-vn1-vdns-68910565 is 10.10.10.1 and allocation pool is NOT set
2026-09-28 03:55:56,275 - 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-09-28 03:55:56,275 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-06493592 failed!
2026-09-28 03:55:56,295 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-06341059:ctest-vn1-vdns-68910565 is 10.10.10.1 and allocation pool is NOT set
2026-09-28 03:55:58,365 - 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=11.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 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 = 1.054/6.125/11.197/5.071 ms')
2026-09-28 03:55:58,366 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-06493592 passed
2026-09-28 03:55:58,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 03:55:58,445 - DEBUG - Waiting to SSH to VM ctest-vm1-test-06493592, IP 10.10.10.3, Port 22
2026-09-28 03:55:58,514 - 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-09-28 03:55:58,636 - DEBUG - VM ctest-vm1-test-06493592 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-28 03:56:03,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 03:56:03,637 - DEBUG - Waiting to SSH to VM ctest-vm1-test-06493592, IP 10.10.10.3, Port 22
2026-09-28 03:56:03,705 - 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-09-28 03:56:03,833 - DEBUG - VM ctest-vm1-test-06493592 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-28 03:56:08,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 03:56:08,834 - DEBUG - Waiting to SSH to VM ctest-vm1-test-06493592, IP 10.10.10.3, Port 22
2026-09-28 03:56:09,009 - DEBUG - VM ctest-vm1-test-06493592 is ready for SSH connections
2026-09-28 03:56:09,009 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123
2026-09-28 03:56:09,009 - DEBUG - ifconfig | grep 10.10.10.3
2026-09-28 03:56:19,789 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-09-28 03:56:19,789 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-06493592", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123
2026-09-28 03:56:19,790 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-06493592", None, socket.AF_INET6)'
2026-09-28 03:56:22,199 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-06493592, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123
2026-09-28 03:56:22,199 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-06493592
2026-09-28 03:56:24,669 - DEBUG - PING ctest-vm1-test-06493592.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-06493592.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.35 ms
64 bytes from ctest-vm1-test-06493592.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.460 ms
64 bytes from ctest-vm1-test-06493592.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.294 ms
--- ctest-vm1-test-06493592.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.294/1.370/3.358/1.407 ms
2026-09-28 03:56:24,669 - INFO - Ping to IP ctest-vm1-test-06493592 from VM ctest-vm1-test-06493592 passed
2026-09-28 03:56:24,695 - DEBUG - Requesting: http://10.0.0.176:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-09-28 03:56:24,707 - DEBUG - Requesting: http://10.0.0.176:8092/Snh_PageReq?x=default-domain:ctest-vdns1-51483015@0%20AllEntriesVdnsRecordsReq
2026-09-28 03:56:24,715 - DEBUG - Requesting: http://10.0.0.176:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-09-28 03:56:24,723 - DEBUG - Requesting: http://10.0.0.176:8092/Snh_PageReq?x=default-domain:ctest-vdns1-51483015@0%20AllEntriesVdnsRecordsReq
2026-09-28 03:56:24,748 - DEBUG - Requesting: http://10.0.0.176:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-09-28 03:56:24,756 - DEBUG - Requesting: http://10.0.0.176:8092/Snh_PageReq?x=default-domain:ctest-vdns1-51483015@0%20AllEntriesVdnsRecordsReq
2026-09-28 03:56:24,766 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-51483015:1:ctest-vm1-test-06493592:10.10.10.3', 'rec_name': 'ctest-vm1-test-06493592', '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-6324-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-06493592.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-09-28 03:56:24,766 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-51483015:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-06493592', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-06493592', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6324-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-06493592.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-09-28 03:56:25,668 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6324-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6324-1)
2026-09-28 03:56:25,668 - INFO - Waiting for VM ctest-vm2-test-52383696 to be up..
2026-09-28 03:56:25,724 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 03:56:30,843 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 03:56:35,967 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 03:56:41,079 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 03:56:46,190 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 03:56:51,297 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 03:56:56,418 - DEBUG - VM is in ACTIVE state now
2026-09-28 03:56:56,418 - INFO - VM name : ctest-vm2-test-52383696
2026-09-28 03:56:56,535 - DEBUG - VM ctest-vm2-test-52383696 ID is 37282abc-1655-4d3f-a11c-abaf677d4d01
2026-09-28 03:56:56,535 - DEBUG - VM ctest-vm2-test-52383696 launched on Node an-jenkins-deploy-platform-ansible-os-6324-1
2026-09-28 03:56:56,647 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/37282abc-1655-4d3f-a11c-abaf677d4d01
2026-09-28 03:56:56,660 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/cdcc4afa-820d-4559-ab96-e0d127289b6d
2026-09-28 03:56:59,867 - 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-09-28 03:56:59,867 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-52383696 failed!
2026-09-28 03:56:59,886 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-06341059:ctest-vn1-vdns-68910565 is 10.10.10.1 and allocation pool is NOT set
2026-09-28 03:57:03,963 - 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 1001ms')
2026-09-28 03:57:03,963 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-52383696 failed!
2026-09-28 03:57:03,987 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-06341059:ctest-vn1-vdns-68910565 is 10.10.10.1 and allocation pool is NOT set
2026-09-28 03:57:08,052 - 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 1004ms')
2026-09-28 03:57:08,052 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-52383696 failed!
2026-09-28 03:57:08,072 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-06341059:ctest-vn1-vdns-68910565 is 10.10.10.1 and allocation pool is NOT set
2026-09-28 03:57:12,159 - 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-09-28 03:57:12,159 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-52383696 failed!
2026-09-28 03:57:12,179 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-06341059:ctest-vn1-vdns-68910565 is 10.10.10.1 and allocation pool is NOT set
2026-09-28 03:57:16,286 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1033ms')
2026-09-28 03:57:16,286 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-52383696 failed!
2026-09-28 03:57:16,307 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-06341059:ctest-vn1-vdns-68910565 is 10.10.10.1 and allocation pool is NOT set
2026-09-28 03:57:20,378 - 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 1001ms')
2026-09-28 03:57:20,378 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-52383696 failed!
2026-09-28 03:57:20,397 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-06341059:ctest-vn1-vdns-68910565 is 10.10.10.1 and allocation pool is NOT set
2026-09-28 03:57:24,474 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms')
2026-09-28 03:57:24,475 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-52383696 failed!
2026-09-28 03:57:24,494 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-06341059:ctest-vn1-vdns-68910565 is 10.10.10.1 and allocation pool is NOT set
2026-09-28 03:57:28,572 - 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=11.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 11.442/11.442/11.442/0.000 ms')
2026-09-28 03:57:28,572 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-52383696 passed
2026-09-28 03:57:28,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 03:57:28,653 - DEBUG - Waiting to SSH to VM ctest-vm2-test-52383696, IP 10.10.10.4, Port 22
2026-09-28 03:57:28,729 - 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-09-28 03:57:28,844 - DEBUG - VM ctest-vm2-test-52383696 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-28 03:57:33,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 03:57:33,846 - DEBUG - Waiting to SSH to VM ctest-vm2-test-52383696, IP 10.10.10.4, Port 22
2026-09-28 03:57:33,929 - 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-09-28 03:57:34,044 - DEBUG - VM ctest-vm2-test-52383696 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-28 03:57:39,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 03:57:39,046 - DEBUG - Waiting to SSH to VM ctest-vm2-test-52383696, IP 10.10.10.4, Port 22
2026-09-28 03:57:39,117 - 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-09-28 03:57:39,228 - DEBUG - VM ctest-vm2-test-52383696 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-28 03:57:44,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 03:57:44,229 - DEBUG - Waiting to SSH to VM ctest-vm2-test-52383696, IP 10.10.10.4, Port 22
2026-09-28 03:57:44,409 - DEBUG - VM ctest-vm2-test-52383696 is ready for SSH connections
2026-09-28 03:57:44,409 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-09-28 03:57:44,409 - DEBUG - ifconfig | grep 10.10.10.4
2026-09-28 03:57:55,027 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-09-28 03:57:55,028 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-52383696", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-09-28 03:57:55,028 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-52383696", None, socket.AF_INET6)'
2026-09-28 03:57:57,806 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-52383696, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-09-28 03:57:57,806 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-52383696
2026-09-28 03:58:00,370 - DEBUG - PING ctest-vm2-test-52383696.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-52383696.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.67 ms
64 bytes from ctest-vm2-test-52383696.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.294 ms
64 bytes from ctest-vm2-test-52383696.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.330 ms
--- ctest-vm2-test-52383696.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.294/1.099/2.674/1.113 ms
2026-09-28 03:58:00,370 - INFO - Ping to IP ctest-vm2-test-52383696 from VM ctest-vm2-test-52383696 passed
2026-09-28 03:58:00,407 - DEBUG - Requesting: http://10.0.0.176:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-09-28 03:58:00,422 - DEBUG - Requesting: http://10.0.0.176:8092/Snh_PageReq?x=default-domain:ctest-vdns1-51483015@0%20AllEntriesVdnsRecordsReq
2026-09-28 03:58:00,430 - DEBUG - Requesting: http://10.0.0.176:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-09-28 03:58:00,446 - DEBUG - Requesting: http://10.0.0.176:8092/Snh_PageReq?x=default-domain:ctest-vdns1-51483015@0%20AllEntriesVdnsRecordsReq
2026-09-28 03:58:00,458 - DEBUG - Requesting: http://10.0.0.176:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-09-28 03:58:00,467 - DEBUG - Requesting: http://10.0.0.176:8092/Snh_PageReq?x=default-domain:ctest-vdns1-51483015@0%20AllEntriesVdnsRecordsReq
2026-09-28 03:58:00,491 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-51483015:1:ctest-vm2-test-52383696:10.10.10.4', 'rec_name': 'ctest-vm2-test-52383696', '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-6324-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-52383696.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-09-28 03:58:00,491 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-51483015:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-52383696', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-52383696', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6324-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-52383696.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-09-28 03:58:00,492 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-52383696", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123
2026-09-28 03:58:00,492 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-52383696", None, socket.AF_INET6)'
2026-09-28 03:58:01,552 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-52383696, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123
2026-09-28 03:58:01,552 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-52383696
2026-09-28 03:58:03,861 - DEBUG - PING ctest-vm2-test-52383696.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-52383696.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=18.3 ms
64 bytes from ctest-vm2-test-52383696.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.87 ms
64 bytes from ctest-vm2-test-52383696.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.60 ms
--- ctest-vm2-test-52383696.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.604/7.263/18.308/7.810 ms
2026-09-28 03:58:03,861 - INFO - Ping to IP ctest-vm2-test-52383696 from VM ctest-vm1-test-06493592 passed
2026-09-28 03:58:03,861 - INFO - Try deleting the VDNS entry ctest-vdns1-51483015 with back ref of ipam.
2026-09-28 03:58:03,929 - DEBUG - Delete when resource still referred: ['http://10.0.0.161:8082/network-ipam/a5bc0b5b-2ba7-46a8-accb-74546ff59df4']
2026-09-28 03:58:03,929 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-09-28 03:58:03,930 - INFO - Add CNAME VDNS record for ctest-vm1-test-06493592 and verify we able to ping by alias name
2026-09-28 03:58:03,981 - DEBUG - Creating VDNS record data : test-rec
2026-09-28 03:58:04,125 - INFO - In verify_on_setup
2026-09-28 03:58:04,230 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-51483015', 'test-rec'] created succesfully
2026-09-28 03:58:04,230 - INFO - Verify VDNS record is shown in the API server
2026-09-28 03:58:04,230 - DEBUG - Requesting: http://10.0.0.176:8082/domains
2026-09-28 03:58:04,240 - DEBUG - Requesting: http://10.0.0.176:8082/domain/6a7973b0-69cf-4d5f-a060-1b4d1311d404
2026-09-28 03:58:04,266 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-DNS/9410ce54-cd9a-4786-af1e-601a583461ea
2026-09-28 03:58:04,286 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-DNS-record/41c117c0-8506-4855-b810-3673dd506817
2026-09-28 03:58:04,298 - INFO - Verify VDNS record is shown in the control node
2026-09-28 03:58:04,326 - 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.162, gateway password: c0ntrail123
2026-09-28 03:58:04,326 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-09-28 03:58:05,399 - 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.162, gateway password: c0ntrail123
2026-09-28 03:58:05,400 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-09-28 03:58:05,680 - DEBUG - ping: unknown host vm1-test-alias
2026-09-28 03:58:05,680 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-06493592 failed
2026-09-28 03:58:06,682 - 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.162, gateway password: c0ntrail123
2026-09-28 03:58:06,682 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-09-28 03:58:07,783 - 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.162, gateway password: c0ntrail123
2026-09-28 03:58:07,783 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-09-28 03:58:10,156 - DEBUG - PING ctest-vm1-test-06493592.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-06493592.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.308 ms
64 bytes from ctest-vm1-test-06493592.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.289 ms
64 bytes from ctest-vm1-test-06493592.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.260 ms
--- ctest-vm1-test-06493592.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.260/0.285/0.308/0.027 ms
2026-09-28 03:58:10,157 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-06493592 passed
2026-09-28 03:58:10,157 - DEBUG - Deleting VDNS record data: test-rec
2026-09-28 03:58:10,253 - INFO - VDNS record info: default-domain:ctest-vdns1-51483015:test-rec deleted successfully.
2026-09-28 03:58:10,254 - INFO - Deleting VM ctest-vm2-test-52383696
2026-09-28 03:58:10,368 - INFO - Deleting VM ctest-vm1-test-06493592
2026-09-28 03:58:10,475 - INFO - Deleting VN ctest-vn1-vdns-68910565
2026-09-28 03:58:10,545 - DEBUG - VN 623205e9-26bd-4d65-9b87-fdfe67a33f3c still in use: Unable to complete operation on network 623205e9-26bd-4d65-9b87-fdfe67a33f3c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-70e4ce27-ca6d-4f83-859f-3bc18bceb24c']
2026-09-28 03:58:10,545 - WARNING - Deleting VN ctest-vn1-vdns-68910565 failed..Will retry
2026-09-28 03:58:12,631 - DEBUG - VN 623205e9-26bd-4d65-9b87-fdfe67a33f3c still in use: Unable to complete operation on network 623205e9-26bd-4d65-9b87-fdfe67a33f3c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-418c6b7e-d171-458c-9b12-1363245ed7d8']
2026-09-28 03:58:12,631 - WARNING - Deleting VN ctest-vn1-vdns-68910565 failed..Will retry
2026-09-28 03:58:14,860 - DEBUG - Response for deleting network ()
2026-09-28 03:58:14,962 - DEBUG - Deleting VDNS Entry: ctest-vdns1-51483015
2026-09-28 03:58:15,094 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-51483015'] deleted successfully.
2026-09-28 03:58:15,095 - DEBUG - Requesting: http://10.0.0.176:8082/domains
2026-09-28 03:58:15,105 - DEBUG - Requesting: http://10.0.0.176:8082/domain/6a7973b0-69cf-4d5f-a060-1b4d1311d404
2026-09-28 03:58:15,143 - DEBUG - VDNS information not found in API server
2026-09-28 03:58:15,143 - INFO - VDNS information ctest-vdns1-51483015 removed from the API Server
2026-09-28 03:58:15,158 - INFO - VDNS information ctest-vdns1-51483015 removed in the Control node
2026-09-28 03:58:15,159 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-06341059']
2026-09-28 03:58:16,538 - DEBUG - No XMPP flaps were noticed during the test
2026-09-28 03:58:16,539 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:21]
2026-09-28 03:58:16,539 - INFO - --------------------------------------------------------------------------------
2026-09-28 03:58:17,591 - INFO - Deleted project: ctest-TestvDNSBasic0-06341059, ID : 59f9ce3e-93f5-45de-8534-33c60f9162a1