2026-01-15 03:22:47,049 - INFO - Domain Default found not creating
2026-01-15 03:22:47,295 - INFO - Project ctest-TestvDNSBasic0-17062037 not found, creating it
2026-01-15 03:22:47,861 - INFO - Created Project:ctest-TestvDNSBasic0-17062037, ID : 68d3c448-3bbb-46de-b9dc-08f961fea405
2026-01-15 03:22:49,778 - INFO - ================================================================================
2026-01-15 03:22:49,778 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-01-15 03:22:49,778 - 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-01-15 03:22:51,078 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.249': '0', '10.20.0.201': '0'}, '10.0.0.133': {'10.20.0.249': '0', '10.20.0.201': '0'}} with
2026-01-15 03:22:51,078 - INFO - Initial checks done. Running the testcase now
2026-01-15 03:22:51,078 - INFO -
2026-01-15 03:22:51,946 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-17062037'](68d3c448-3bbb-46de-b9dc-08f961fea405)
2026-01-15 03:22:52,005 - DEBUG - Creating VDNS : ctest-vdns1-84296104
2026-01-15 03:22:52,225 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-84296104'] created succesfully
2026-01-15 03:22:52,225 - DEBUG - Verify VDNS entry is shown in control node
2026-01-15 03:22:52,246 - DEBUG - Verify VDNS entry is shown in the API server
2026-01-15 03:22:52,246 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-01-15 03:22:52,636 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-01-15 03:22:52,678 - DEBUG - Requesting: http://10.0.0.242:8082/domain/17e89162-e11a-43fe-960d-0f3e5cda0a6b
2026-01-15 03:22:52,698 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS/46b49767-45e6-4b7b-9147-99cdf26daee3
2026-01-15 03:22:53,482 - DEBUG - Response for create_network : {'network': {'id': '0560bb3a-6fbc-43cf-884f-3ecd4d3d7c01', 'name': 'ctest-vn1-vdns-22548417', 'tenant_id': '68d3c4483bbb46deb9dc08f961fea405', 'project_id': '68d3c4483bbb46deb9dc08f961fea405', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-17062037', 'ctest-vn1-vdns-22548417'], 'port_security_enabled': True, 'description': ''}}
2026-01-15 03:22:53,752 - DEBUG - Response for create_subnet : {'subnet': {'id': '95ecc172-0670-40e8-8937-9a98f0c78038', 'name': '', 'tenant_id': '68d3c4483bbb46deb9dc08f961fea405', 'network_id': '0560bb3a-6fbc-43cf-884f-3ecd4d3d7c01', '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': '68d3c4483bbb46deb9dc08f961fea405'}}
2026-01-15 03:22:53,783 - INFO - Created VN ctest-vn1-vdns-22548417
2026-01-15 03:22:53,796 - DEBUG - VN ctest-vn1-vdns-22548417 UUID is 0560bb3a-6fbc-43cf-884f-3ecd4d3d7c01
2026-01-15 03:22:54,007 - DEBUG - Services list from nova: [, , , ]
2026-01-15 03:22:55,479 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5009-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5009-2)
2026-01-15 03:22:55,480 - INFO - Waiting for VM ctest-vm1-test-63416248 to be up..
2026-01-15 03:22:55,529 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-15 03:23:00,680 - DEBUG - VM is in ACTIVE state now
2026-01-15 03:23:00,680 - INFO - VM name : ctest-vm1-test-63416248
2026-01-15 03:23:00,817 - DEBUG - VM ctest-vm1-test-63416248 ID is 4f4a8e36-b28d-4af0-8db1-b04183765dea
2026-01-15 03:23:00,817 - DEBUG - VM ctest-vm1-test-63416248 launched on Node an-jenkins-deploy-platform-ansible-os-5009-2
2026-01-15 03:23:00,938 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/4f4a8e36-b28d-4af0-8db1-b04183765dea
2026-01-15 03:23:01,296 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/4f4a8e36-b28d-4af0-8db1-b04183765dea
2026-01-15 03:23:01,346 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/4428514c-f976-4e6f-82ad-c753e4246a10
2026-01-15 03:23:04,527 - 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-01-15 03:23:04,527 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63416248 failed!
2026-01-15 03:23:04,545 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:23:08,614 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms')
2026-01-15 03:23:08,614 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63416248 failed!
2026-01-15 03:23:08,633 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:23:12,718 - 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-01-15 03:23:12,718 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63416248 failed!
2026-01-15 03:23:12,733 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:23:16,809 - 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-01-15 03:23:16,809 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63416248 failed!
2026-01-15 03:23:16,823 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:23:20,908 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-01-15 03:23:20,908 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63416248 failed!
2026-01-15 03:23:20,923 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:23:25,003 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2026-01-15 03:23:25,003 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63416248 failed!
2026-01-15 03:23:25,018 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:23:29,099 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-01-15 03:23:29,100 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63416248 failed!
2026-01-15 03:23:29,114 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:23:33,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 1015ms')
2026-01-15 03:23:33,195 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63416248 failed!
2026-01-15 03:23:33,211 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:23:37,288 - 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.39 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 4.390/4.390/4.390/0.000 ms')
2026-01-15 03:23:37,289 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63416248 passed
2026-01-15 03:23:37,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 03:23:37,358 - DEBUG - Waiting to SSH to VM ctest-vm1-test-63416248, IP 10.10.10.3, Port 22
2026-01-15 03:23:37,425 - 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-01-15 03:23:37,527 - DEBUG - VM ctest-vm1-test-63416248 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-15 03:23:42,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 03:23:42,528 - DEBUG - Waiting to SSH to VM ctest-vm1-test-63416248, IP 10.10.10.3, Port 22
2026-01-15 03:23:42,587 - 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-01-15 03:23:42,679 - DEBUG - VM ctest-vm1-test-63416248 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-15 03:23:47,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 03:23:47,681 - DEBUG - Waiting to SSH to VM ctest-vm1-test-63416248, IP 10.10.10.3, Port 22
2026-01-15 03:23:47,748 - 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-01-15 03:23:47,847 - DEBUG - VM ctest-vm1-test-63416248 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-15 03:23:52,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 03:23:52,848 - DEBUG - Waiting to SSH to VM ctest-vm1-test-63416248, IP 10.10.10.3, Port 22
2026-01-15 03:23:52,916 - 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-01-15 03:23:53,017 - DEBUG - VM ctest-vm1-test-63416248 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-15 03:23:58,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 03:23:58,018 - DEBUG - Waiting to SSH to VM ctest-vm1-test-63416248, IP 10.10.10.3, Port 22
2026-01-15 03:23:58,184 - DEBUG - VM ctest-vm1-test-63416248 is ready for SSH connections
2026-01-15 03:23:58,184 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2026-01-15 03:23:58,184 - DEBUG - ifconfig | grep 10.10.10.3
2026-01-15 03:24:18,370 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-01-15 03:24:18,371 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-63416248", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2026-01-15 03:24:18,371 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-63416248", None, socket.AF_INET6)'
2026-01-15 03:24:20,791 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-63416248, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2026-01-15 03:24:20,791 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-63416248
2026-01-15 03:24:23,309 - DEBUG - PING ctest-vm1-test-63416248.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-63416248.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=7.13 ms
64 bytes from ctest-vm1-test-63416248.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.315 ms
64 bytes from ctest-vm1-test-63416248.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.186 ms
--- ctest-vm1-test-63416248.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.186/2.545/7.134/3.245 ms
2026-01-15 03:24:23,309 - INFO - Ping to IP ctest-vm1-test-63416248 from VM ctest-vm1-test-63416248 passed
2026-01-15 03:24:23,337 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-15 03:24:23,344 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-84296104@0%20AllEntriesVdnsRecordsReq
2026-01-15 03:24:23,350 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-15 03:24:23,356 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-84296104@0%20AllEntriesVdnsRecordsReq
2026-01-15 03:24:23,362 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-15 03:24:23,368 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-84296104@0%20AllEntriesVdnsRecordsReq
2026-01-15 03:24:23,374 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-84296104:1:ctest-vm1-test-63416248:10.10.10.3', 'rec_name': 'ctest-vm1-test-63416248', '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-5009-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-63416248.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-01-15 03:24:23,374 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-84296104:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-63416248', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-63416248', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5009-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-63416248.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-01-15 03:24:25,012 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5009-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5009-1)
2026-01-15 03:24:25,012 - INFO - Waiting for VM ctest-vm2-test-89294036 to be up..
2026-01-15 03:24:25,066 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-15 03:24:30,165 - DEBUG - VM is in ACTIVE state now
2026-01-15 03:24:30,166 - INFO - VM name : ctest-vm2-test-89294036
2026-01-15 03:24:30,266 - DEBUG - VM ctest-vm2-test-89294036 ID is 68f29315-002a-4c7f-b38b-547359f2e30c
2026-01-15 03:24:30,266 - DEBUG - VM ctest-vm2-test-89294036 launched on Node an-jenkins-deploy-platform-ansible-os-5009-1
2026-01-15 03:24:30,365 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/68f29315-002a-4c7f-b38b-547359f2e30c
2026-01-15 03:24:30,378 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/9948880d-015a-4e2b-a3ca-0e0ac489581d
2026-01-15 03:24:33,557 - 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-01-15 03:24:33,557 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89294036 failed!
2026-01-15 03:24:33,570 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:24:37,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 1011ms')
2026-01-15 03:24:37,652 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89294036 failed!
2026-01-15 03:24:37,666 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:24:41,748 - 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-01-15 03:24:41,748 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89294036 failed!
2026-01-15 03:24:41,765 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:24:45,841 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2026-01-15 03:24:45,841 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89294036 failed!
2026-01-15 03:24:45,855 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:24:49,940 - 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-01-15 03:24:49,940 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89294036 failed!
2026-01-15 03:24:49,956 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:24:54,033 - 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-01-15 03:24:54,033 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89294036 failed!
2026-01-15 03:24:54,049 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:24:58,134 - 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 1021ms')
2026-01-15 03:24:58,134 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89294036 failed!
2026-01-15 03:24:58,151 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:25:02,229 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms')
2026-01-15 03:25:02,229 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89294036 failed!
2026-01-15 03:25:02,245 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:25:06,323 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms')
2026-01-15 03:25:06,323 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89294036 failed!
2026-01-15 03:25:06,338 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:25:10,421 - 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-01-15 03:25:10,421 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89294036 failed!
2026-01-15 03:25:10,434 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-17062037:ctest-vn1-vdns-22548417 is 10.10.10.1 and allocation pool is NOT set
2026-01-15 03:25:14,513 - 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=5.97 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 5.965/5.965/5.965/0.000 ms')
2026-01-15 03:25:14,513 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89294036 passed
2026-01-15 03:25:14,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 03:25:14,586 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89294036, IP 10.10.10.4, Port 22
2026-01-15 03:25:14,664 - 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-01-15 03:25:14,775 - DEBUG - VM ctest-vm2-test-89294036 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-15 03:25:19,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 03:25:19,776 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89294036, IP 10.10.10.4, Port 22
2026-01-15 03:25:19,844 - 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-01-15 03:25:19,941 - DEBUG - VM ctest-vm2-test-89294036 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-15 03:25:24,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 03:25:24,941 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89294036, IP 10.10.10.4, Port 22
2026-01-15 03:25:25,009 - 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-01-15 03:25:25,107 - DEBUG - VM ctest-vm2-test-89294036 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-15 03:25:30,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 03:25:30,109 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89294036, IP 10.10.10.4, Port 22
2026-01-15 03:25:30,177 - 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-01-15 03:25:30,275 - DEBUG - VM ctest-vm2-test-89294036 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-15 03:25:35,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 03:25:35,276 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89294036, IP 10.10.10.4, Port 22
2026-01-15 03:25:35,346 - 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-01-15 03:25:35,451 - DEBUG - VM ctest-vm2-test-89294036 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-15 03:25:40,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 03:25:40,451 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89294036, IP 10.10.10.4, Port 22
2026-01-15 03:25:40,628 - DEBUG - VM ctest-vm2-test-89294036 is ready for SSH connections
2026-01-15 03:25:40,629 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-01-15 03:25:40,629 - DEBUG - ifconfig | grep 10.10.10.4
2026-01-15 03:26:06,128 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-01-15 03:26:06,128 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89294036", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-01-15 03:26:06,129 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89294036", None, socket.AF_INET6)'
2026-01-15 03:26:08,989 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-89294036, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-01-15 03:26:08,989 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-89294036
2026-01-15 03:26:11,707 - DEBUG - PING ctest-vm2-test-89294036.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-89294036.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=5.50 ms
64 bytes from ctest-vm2-test-89294036.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=3.02 ms
64 bytes from ctest-vm2-test-89294036.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.363 ms
--- ctest-vm2-test-89294036.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.363/2.967/5.509/2.101 ms
2026-01-15 03:26:11,707 - INFO - Ping to IP ctest-vm2-test-89294036 from VM ctest-vm2-test-89294036 passed
2026-01-15 03:26:11,735 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-15 03:26:11,741 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-84296104@0%20AllEntriesVdnsRecordsReq
2026-01-15 03:26:11,756 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-15 03:26:11,764 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-84296104@0%20AllEntriesVdnsRecordsReq
2026-01-15 03:26:11,773 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-15 03:26:11,779 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-84296104@0%20AllEntriesVdnsRecordsReq
2026-01-15 03:26:11,787 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-84296104:1:ctest-vm2-test-89294036:10.10.10.4', 'rec_name': 'ctest-vm2-test-89294036', '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-5009-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-89294036.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-01-15 03:26:11,787 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-84296104:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-89294036', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-89294036', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5009-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-89294036.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-01-15 03:26:11,787 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89294036", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2026-01-15 03:26:11,787 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89294036", None, socket.AF_INET6)'
2026-01-15 03:26:12,929 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-89294036, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2026-01-15 03:26:12,929 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-89294036
2026-01-15 03:26:15,446 - DEBUG - PING ctest-vm2-test-89294036.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-89294036.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=9.38 ms
64 bytes from ctest-vm2-test-89294036.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.48 ms
64 bytes from ctest-vm2-test-89294036.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.30 ms
--- ctest-vm2-test-89294036.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.306/4.058/9.386/3.768 ms
2026-01-15 03:26:15,447 - INFO - Ping to IP ctest-vm2-test-89294036 from VM ctest-vm1-test-63416248 passed
2026-01-15 03:26:15,447 - INFO - Try deleting the VDNS entry ctest-vdns1-84296104 with back ref of ipam.
2026-01-15 03:26:15,508 - DEBUG - Delete when resource still referred: ['http://10.0.0.73:8082/network-ipam/73c77e73-b93a-4b4f-8a01-21e04ff56fc9']
2026-01-15 03:26:15,509 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-01-15 03:26:15,509 - INFO - Add CNAME VDNS record for ctest-vm1-test-63416248 and verify we able to ping by alias name
2026-01-15 03:26:15,556 - DEBUG - Creating VDNS record data : test-rec
2026-01-15 03:26:15,685 - INFO - In verify_on_setup
2026-01-15 03:26:15,789 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-84296104', 'test-rec'] created succesfully
2026-01-15 03:26:15,789 - INFO - Verify VDNS record is shown in the API server
2026-01-15 03:26:15,789 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-01-15 03:26:15,796 - DEBUG - Requesting: http://10.0.0.242:8082/domain/17e89162-e11a-43fe-960d-0f3e5cda0a6b
2026-01-15 03:26:15,811 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS/46b49767-45e6-4b7b-9147-99cdf26daee3
2026-01-15 03:26:15,822 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS-record/aab6dcc2-aadf-4ed2-844a-9e23bfbbebde
2026-01-15 03:26:15,830 - INFO - Verify VDNS record is shown in the control node
2026-01-15 03:26:15,850 - 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.133, gateway password: c0ntrail123
2026-01-15 03:26:15,850 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-01-15 03:26:16,975 - 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.133, gateway password: c0ntrail123
2026-01-15 03:26:16,976 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-01-15 03:26:17,472 - DEBUG - ping: unknown host vm1-test-alias
2026-01-15 03:26:17,473 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-63416248 failed
2026-01-15 03:26:18,474 - 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.133, gateway password: c0ntrail123
2026-01-15 03:26:18,474 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-01-15 03:26:19,647 - 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.133, gateway password: c0ntrail123
2026-01-15 03:26:19,647 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-01-15 03:26:22,201 - DEBUG - PING ctest-vm1-test-63416248.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-63416248.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.233 ms
64 bytes from ctest-vm1-test-63416248.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.49 ms
64 bytes from ctest-vm1-test-63416248.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.283 ms
--- ctest-vm1-test-63416248.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.233/1.002/2.492/1.053 ms
2026-01-15 03:26:22,201 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-63416248 passed
2026-01-15 03:26:22,201 - DEBUG - Deleting VDNS record data: test-rec
2026-01-15 03:26:22,281 - INFO - VDNS record info: default-domain:ctest-vdns1-84296104:test-rec deleted successfully.
2026-01-15 03:26:22,281 - INFO - Deleting VM ctest-vm2-test-89294036
2026-01-15 03:26:22,369 - INFO - Deleting VM ctest-vm1-test-63416248
2026-01-15 03:26:22,455 - INFO - Deleting VN ctest-vn1-vdns-22548417
2026-01-15 03:26:22,498 - DEBUG - VN 0560bb3a-6fbc-43cf-884f-3ecd4d3d7c01 still in use: Unable to complete operation on network 0560bb3a-6fbc-43cf-884f-3ecd4d3d7c01. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2e4082b0-63e1-4b7c-9016-978c26f85936']
2026-01-15 03:26:22,498 - WARNING - Deleting VN ctest-vn1-vdns-22548417 failed..Will retry
2026-01-15 03:26:24,668 - DEBUG - Response for deleting network ()
2026-01-15 03:26:24,721 - DEBUG - Deleting VDNS Entry: ctest-vdns1-84296104
2026-01-15 03:26:24,812 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-84296104'] deleted successfully.
2026-01-15 03:26:24,813 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-01-15 03:26:24,822 - DEBUG - Requesting: http://10.0.0.242:8082/domain/17e89162-e11a-43fe-960d-0f3e5cda0a6b
2026-01-15 03:26:24,841 - DEBUG - VDNS information not found in API server
2026-01-15 03:26:24,841 - INFO - VDNS information ctest-vdns1-84296104 removed from the API Server
2026-01-15 03:26:24,849 - INFO - VDNS information ctest-vdns1-84296104 removed in the Control node
2026-01-15 03:26:24,850 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-17062037']
2026-01-15 03:26:26,134 - DEBUG - No XMPP flaps were noticed during the test
2026-01-15 03:26:26,135 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:37]
2026-01-15 03:26:26,135 - INFO - --------------------------------------------------------------------------------
2026-01-15 03:26:26,950 - INFO - Deleted project: ctest-TestvDNSBasic0-17062037, ID : 68d3c448-3bbb-46de-b9dc-08f961fea405