2026-04-20 03:18:41,965 - INFO - Domain Default found not creating
2026-04-20 03:18:42,175 - INFO - Project ctest-TestvDNSBasic0-33549141 not found, creating it
2026-04-20 03:18:42,750 - INFO - Created Project:ctest-TestvDNSBasic0-33549141, ID : e37bd28e-2402-42d9-a66e-a3b3f65026c9
2026-04-20 03:18:44,296 - INFO - ================================================================================
2026-04-20 03:18:44,297 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-04-20 03:18:44,297 - 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-04-20 03:18:45,568 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.129': '0', '10.20.0.25': '0'}, '10.0.0.65': {'10.20.0.25': '0', '10.20.0.129': '1'}} with
2026-04-20 03:18:45,568 - INFO - Initial checks done. Running the testcase now
2026-04-20 03:18:45,569 - INFO -
2026-04-20 03:18:46,306 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-33549141'](e37bd28e-2402-42d9-a66e-a3b3f65026c9)
2026-04-20 03:18:46,364 - DEBUG - Creating VDNS : ctest-vdns1-15605177
2026-04-20 03:18:46,580 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-15605177'] created succesfully
2026-04-20 03:18:46,580 - DEBUG - Verify VDNS entry is shown in control node
2026-04-20 03:18:46,599 - DEBUG - Verify VDNS entry is shown in the API server
2026-04-20 03:18:46,599 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-20 03:18:46,898 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-20 03:18:46,938 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c2b9cdf0-ff50-48aa-bc48-322f89577022
2026-04-20 03:18:46,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/914f741e-52ec-48d7-9f64-c2fdb899abdb
2026-04-20 03:18:47,656 - DEBUG - Response for create_network : {'network': {'id': '36e6a8da-05a7-4720-8587-f340fa880b7e', 'name': 'ctest-vn1-vdns-11216270', 'tenant_id': 'e37bd28e240242d9a66ea3b3f65026c9', 'project_id': 'e37bd28e240242d9a66ea3b3f65026c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-33549141', 'ctest-vn1-vdns-11216270'], 'port_security_enabled': True, 'description': ''}}
2026-04-20 03:18:47,952 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b24541c4-9040-44fc-8721-00b175024b70', 'name': '', 'tenant_id': 'e37bd28e240242d9a66ea3b3f65026c9', 'network_id': '36e6a8da-05a7-4720-8587-f340fa880b7e', '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': 'e37bd28e240242d9a66ea3b3f65026c9'}}
2026-04-20 03:18:47,982 - INFO - Created VN ctest-vn1-vdns-11216270
2026-04-20 03:18:47,996 - DEBUG - VN ctest-vn1-vdns-11216270 UUID is 36e6a8da-05a7-4720-8587-f340fa880b7e
2026-04-20 03:18:48,295 - DEBUG - Services list from nova: [, , , ]
2026-04-20 03:18:49,415 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5644-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5644-2)
2026-04-20 03:18:49,416 - INFO - Waiting for VM ctest-vm1-test-88672893 to be up..
2026-04-20 03:18:49,460 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-20 03:18:54,554 - DEBUG - VM is in ACTIVE state now
2026-04-20 03:18:54,554 - INFO - VM name : ctest-vm1-test-88672893
2026-04-20 03:18:54,646 - DEBUG - VM ctest-vm1-test-88672893 ID is bd1fb48f-30bb-4303-988c-408d2fd27821
2026-04-20 03:18:54,646 - DEBUG - VM ctest-vm1-test-88672893 launched on Node an-jenkins-deploy-platform-ansible-os-5644-2
2026-04-20 03:18:54,750 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/bd1fb48f-30bb-4303-988c-408d2fd27821
2026-04-20 03:18:55,068 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/bd1fb48f-30bb-4303-988c-408d2fd27821
2026-04-20 03:18:55,119 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/4b202740-1377-431c-8087-df993cb7bb93
2026-04-20 03:18:58,295 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2026-04-20 03:18:58,296 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-88672893 failed!
2026-04-20 03:18:58,309 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:19:02,391 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-04-20 03:19:02,392 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-88672893 failed!
2026-04-20 03:19:02,404 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:19:06,493 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms')
2026-04-20 03:19:06,494 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-88672893 failed!
2026-04-20 03:19:06,506 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:19:10,588 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-04-20 03:19:10,588 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-88672893 failed!
2026-04-20 03:19:10,599 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:19:14,687 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-04-20 03:19:14,687 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-88672893 failed!
2026-04-20 03:19:14,709 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:19:18,783 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms')
2026-04-20 03:19:18,783 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-88672893 failed!
2026-04-20 03:19:18,796 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:19:22,869 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-04-20 03:19:22,870 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-88672893 failed!
2026-04-20 03:19:22,883 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:19:26,971 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms')
2026-04-20 03:19:26,971 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-88672893 failed!
2026-04-20 03:19:26,984 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:19:31,067 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=5.62 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1022ms\r\nrtt min/avg/max/mdev = 5.621/5.621/5.621/0.000 ms')
2026-04-20 03:19:31,067 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-88672893 passed
2026-04-20 03:19:31,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 03:19:31,134 - DEBUG - Waiting to SSH to VM ctest-vm1-test-88672893, IP 10.10.10.3, Port 22
2026-04-20 03:19:31,202 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-20 03:19:31,300 - DEBUG - VM ctest-vm1-test-88672893 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-20 03:19:36,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 03:19:36,301 - DEBUG - Waiting to SSH to VM ctest-vm1-test-88672893, IP 10.10.10.3, Port 22
2026-04-20 03:19:36,371 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-20 03:19:36,446 - DEBUG - VM ctest-vm1-test-88672893 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-20 03:19:41,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 03:19:41,447 - DEBUG - Waiting to SSH to VM ctest-vm1-test-88672893, IP 10.10.10.3, Port 22
2026-04-20 03:19:41,515 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-20 03:19:41,600 - DEBUG - VM ctest-vm1-test-88672893 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-20 03:19:46,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 03:19:46,601 - DEBUG - Waiting to SSH to VM ctest-vm1-test-88672893, IP 10.10.10.3, Port 22
2026-04-20 03:19:46,656 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-20 03:19:46,730 - DEBUG - VM ctest-vm1-test-88672893 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-20 03:19:51,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 03:19:51,732 - DEBUG - Waiting to SSH to VM ctest-vm1-test-88672893, IP 10.10.10.3, Port 22
2026-04-20 03:19:51,898 - DEBUG - VM ctest-vm1-test-88672893 is ready for SSH connections
2026-04-20 03:19:51,898 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-04-20 03:19:51,899 - DEBUG - ifconfig | grep 10.10.10.3
2026-04-20 03:20:13,429 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-04-20 03:20:13,430 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88672893", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-04-20 03:20:13,430 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88672893", None, socket.AF_INET6)'
2026-04-20 03:20:15,181 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-88672893, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-04-20 03:20:15,181 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-88672893
2026-04-20 03:20:17,740 - DEBUG - PING ctest-vm1-test-88672893.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-88672893.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.03 ms
64 bytes from ctest-vm1-test-88672893.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.41 ms
64 bytes from ctest-vm1-test-88672893.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.234 ms
--- ctest-vm1-test-88672893.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.234/2.229/4.037/1.558 ms
2026-04-20 03:20:17,740 - INFO - Ping to IP ctest-vm1-test-88672893 from VM ctest-vm1-test-88672893 passed
2026-04-20 03:20:17,768 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-20 03:20:17,775 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-15605177@0%20AllEntriesVdnsRecordsReq
2026-04-20 03:20:17,780 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-20 03:20:17,785 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-15605177@0%20AllEntriesVdnsRecordsReq
2026-04-20 03:20:17,790 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-20 03:20:17,795 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-15605177@0%20AllEntriesVdnsRecordsReq
2026-04-20 03:20:17,800 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-15605177:1:ctest-vm1-test-88672893:10.10.10.3', 'rec_name': 'ctest-vm1-test-88672893', '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-5644-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-88672893.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-04-20 03:20:17,800 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-15605177:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-88672893', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-88672893', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5644-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-88672893.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-04-20 03:20:19,206 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5644-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5644-1)
2026-04-20 03:20:19,206 - INFO - Waiting for VM ctest-vm2-test-93948171 to be up..
2026-04-20 03:20:19,272 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-20 03:20:24,349 - DEBUG - VM is in ACTIVE state now
2026-04-20 03:20:24,350 - INFO - VM name : ctest-vm2-test-93948171
2026-04-20 03:20:24,429 - DEBUG - VM ctest-vm2-test-93948171 ID is ac7bcdd4-2097-4ae5-a7bd-b41dd74c9416
2026-04-20 03:20:24,429 - DEBUG - VM ctest-vm2-test-93948171 launched on Node an-jenkins-deploy-platform-ansible-os-5644-1
2026-04-20 03:20:24,505 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/ac7bcdd4-2097-4ae5-a7bd-b41dd74c9416
2026-04-20 03:20:24,515 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/ed871fc7-3361-450c-a602-79b41a2af501
2026-04-20 03:20:27,691 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2026-04-20 03:20:27,692 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-93948171 failed!
2026-04-20 03:20:27,704 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:20:31,785 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-04-20 03:20:31,785 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-93948171 failed!
2026-04-20 03:20:31,798 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:20:35,885 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-04-20 03:20:35,885 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-93948171 failed!
2026-04-20 03:20:35,902 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:20:39,973 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1004ms')
2026-04-20 03:20:39,973 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-93948171 failed!
2026-04-20 03:20:39,986 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:20:44,069 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-04-20 03:20:44,069 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-93948171 failed!
2026-04-20 03:20:44,087 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:20:48,170 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-04-20 03:20:48,170 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-93948171 failed!
2026-04-20 03:20:48,181 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:20:52,267 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms')
2026-04-20 03:20:52,268 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-93948171 failed!
2026-04-20 03:20:52,282 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:20:56,365 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-04-20 03:20:56,365 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-93948171 failed!
2026-04-20 03:20:56,377 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:21:00,453 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2026-04-20 03:21:00,453 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-93948171 failed!
2026-04-20 03:21:00,466 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33549141:ctest-vn1-vdns-11216270 is 10.10.10.1 and allocation pool is NOT set
2026-04-20 03:21:02,532 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=9.07 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=2.18 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.177/5.625/9.073/3.448 ms')
2026-04-20 03:21:02,532 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-93948171 passed
2026-04-20 03:21:02,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 03:21:02,601 - DEBUG - Waiting to SSH to VM ctest-vm2-test-93948171, IP 10.10.10.4, Port 22
2026-04-20 03:21:02,668 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-20 03:21:02,755 - DEBUG - VM ctest-vm2-test-93948171 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-20 03:21:07,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 03:21:07,757 - DEBUG - Waiting to SSH to VM ctest-vm2-test-93948171, IP 10.10.10.4, Port 22
2026-04-20 03:21:07,817 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-20 03:21:07,899 - DEBUG - VM ctest-vm2-test-93948171 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-20 03:21:12,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 03:21:12,899 - DEBUG - Waiting to SSH to VM ctest-vm2-test-93948171, IP 10.10.10.4, Port 22
2026-04-20 03:21:12,966 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-20 03:21:13,050 - DEBUG - VM ctest-vm2-test-93948171 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-20 03:21:18,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 03:21:18,051 - DEBUG - Waiting to SSH to VM ctest-vm2-test-93948171, IP 10.10.10.4, Port 22
2026-04-20 03:21:18,109 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-20 03:21:18,189 - DEBUG - VM ctest-vm2-test-93948171 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-20 03:21:23,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 03:21:23,191 - DEBUG - Waiting to SSH to VM ctest-vm2-test-93948171, IP 10.10.10.4, Port 22
2026-04-20 03:21:23,259 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-20 03:21:23,347 - DEBUG - VM ctest-vm2-test-93948171 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-20 03:21:28,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 03:21:28,348 - DEBUG - Waiting to SSH to VM ctest-vm2-test-93948171, IP 10.10.10.4, Port 22
2026-04-20 03:21:28,515 - DEBUG - VM ctest-vm2-test-93948171 is ready for SSH connections
2026-04-20 03:21:28,515 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-04-20 03:21:28,515 - DEBUG - ifconfig | grep 10.10.10.4
2026-04-20 03:21:49,077 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-04-20 03:21:49,077 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-93948171", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-04-20 03:21:49,078 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-93948171", None, socket.AF_INET6)'
2026-04-20 03:21:51,097 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-93948171, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-04-20 03:21:51,097 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-93948171
2026-04-20 03:21:53,673 - DEBUG - PING ctest-vm2-test-93948171.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-93948171.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.19 ms
64 bytes from ctest-vm2-test-93948171.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=4.00 ms
64 bytes from ctest-vm2-test-93948171.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.406 ms
--- ctest-vm2-test-93948171.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.406/2.866/4.190/1.742 ms
2026-04-20 03:21:53,673 - INFO - Ping to IP ctest-vm2-test-93948171 from VM ctest-vm2-test-93948171 passed
2026-04-20 03:21:53,699 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-20 03:21:53,705 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-15605177@0%20AllEntriesVdnsRecordsReq
2026-04-20 03:21:53,710 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-20 03:21:53,714 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-15605177@0%20AllEntriesVdnsRecordsReq
2026-04-20 03:21:53,720 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-20 03:21:53,724 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-15605177@0%20AllEntriesVdnsRecordsReq
2026-04-20 03:21:53,729 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-15605177:1:ctest-vm2-test-93948171:10.10.10.4', 'rec_name': 'ctest-vm2-test-93948171', '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-5644-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-93948171.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-04-20 03:21:53,729 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-15605177:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-93948171', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-93948171', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5644-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-93948171.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-04-20 03:21:53,729 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-93948171", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-04-20 03:21:53,729 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-93948171", None, socket.AF_INET6)'
2026-04-20 03:21:54,887 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-93948171, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-04-20 03:21:54,887 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-93948171
2026-04-20 03:21:57,430 - DEBUG - PING ctest-vm2-test-93948171.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-93948171.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.3 ms
64 bytes from ctest-vm2-test-93948171.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.57 ms
64 bytes from ctest-vm2-test-93948171.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.16 ms
--- ctest-vm2-test-93948171.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.162/4.371/10.372/4.246 ms
2026-04-20 03:21:57,430 - INFO - Ping to IP ctest-vm2-test-93948171 from VM ctest-vm1-test-88672893 passed
2026-04-20 03:21:57,431 - INFO - Try deleting the VDNS entry ctest-vdns1-15605177 with back ref of ipam.
2026-04-20 03:21:57,488 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/b9045dc5-f658-4aea-93b5-c1ed4595fed8']
2026-04-20 03:21:57,488 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-04-20 03:21:57,488 - INFO - Add CNAME VDNS record for ctest-vm1-test-88672893 and verify we able to ping by alias name
2026-04-20 03:21:57,536 - DEBUG - Creating VDNS record data : test-rec
2026-04-20 03:21:57,656 - INFO - In verify_on_setup
2026-04-20 03:21:57,756 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-15605177', 'test-rec'] created succesfully
2026-04-20 03:21:57,756 - INFO - Verify VDNS record is shown in the API server
2026-04-20 03:21:57,757 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-20 03:21:57,763 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c2b9cdf0-ff50-48aa-bc48-322f89577022
2026-04-20 03:21:57,809 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/914f741e-52ec-48d7-9f64-c2fdb899abdb
2026-04-20 03:21:57,820 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/f36f7c24-7543-4908-a7a7-197a284e6f90
2026-04-20 03:21:57,827 - INFO - Verify VDNS record is shown in the control node
2026-04-20 03:21:57,841 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-04-20 03:21:57,841 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-04-20 03:21:58,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-04-20 03:21:58,978 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-04-20 03:21:59,505 - DEBUG - ping: unknown host vm1-test-alias
2026-04-20 03:21:59,506 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-88672893 failed
2026-04-20 03:22:00,507 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-04-20 03:22:00,507 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-04-20 03:22:01,736 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-04-20 03:22:01,736 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-04-20 03:22:04,296 - DEBUG - PING ctest-vm1-test-88672893.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-88672893.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.205 ms
64 bytes from ctest-vm1-test-88672893.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.286 ms
64 bytes from ctest-vm1-test-88672893.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.217 ms
--- ctest-vm1-test-88672893.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.205/0.236/0.286/0.035 ms
2026-04-20 03:22:04,296 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-88672893 passed
2026-04-20 03:22:04,296 - DEBUG - Deleting VDNS record data: test-rec
2026-04-20 03:22:04,372 - INFO - VDNS record info: default-domain:ctest-vdns1-15605177:test-rec deleted successfully.
2026-04-20 03:22:04,372 - INFO - Deleting VM ctest-vm2-test-93948171
2026-04-20 03:22:04,447 - INFO - Deleting VM ctest-vm1-test-88672893
2026-04-20 03:22:04,508 - INFO - Deleting VN ctest-vn1-vdns-11216270
2026-04-20 03:22:04,546 - DEBUG - VN 36e6a8da-05a7-4720-8587-f340fa880b7e still in use: Unable to complete operation on network 36e6a8da-05a7-4720-8587-f340fa880b7e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ee4c03e2-1166-4fd3-a9da-ce11c6779e0d']
2026-04-20 03:22:04,546 - WARNING - Deleting VN ctest-vn1-vdns-11216270 failed..Will retry
2026-04-20 03:22:06,717 - DEBUG - Response for deleting network ()
2026-04-20 03:22:06,768 - DEBUG - Deleting VDNS Entry: ctest-vdns1-15605177
2026-04-20 03:22:06,868 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-15605177'] deleted successfully.
2026-04-20 03:22:06,868 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-20 03:22:06,877 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c2b9cdf0-ff50-48aa-bc48-322f89577022
2026-04-20 03:22:06,895 - DEBUG - VDNS information not found in API server
2026-04-20 03:22:06,895 - INFO - VDNS information ctest-vdns1-15605177 removed from the API Server
2026-04-20 03:22:06,901 - INFO - VDNS information ctest-vdns1-15605177 removed in the Control node
2026-04-20 03:22:06,901 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-33549141']
2026-04-20 03:22:08,165 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 03:22:08,165 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:24]
2026-04-20 03:22:08,165 - INFO - --------------------------------------------------------------------------------
2026-04-20 03:22:08,873 - INFO - Deleted project: ctest-TestvDNSBasic0-33549141, ID : e37bd28e-2402-42d9-a66e-a3b3f65026c9