2026-06-15 03:01:36,987 - INFO - Domain Default found not creating
2026-06-15 03:01:37,126 - INFO - Project ctest-TestvDNSBasic0-12056345 not found, creating it
2026-06-15 03:01:37,710 - INFO - Created Project:ctest-TestvDNSBasic0-12056345, ID : 8ee81dd7-8dcc-405e-bff0-9f5791c0f567
2026-06-15 03:01:39,402 - INFO - ================================================================================
2026-06-15 03:01:39,403 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-06-15 03:01:39,403 - 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-06-15 03:01:40,681 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0', '10.20.0.25': '0'}, '10.0.0.130': {'10.20.0.25': '0', '10.20.0.129': '0'}} with
2026-06-15 03:01:40,681 - INFO - Initial checks done. Running the testcase now
2026-06-15 03:01:40,681 - INFO -
2026-06-15 03:01:41,422 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-12056345'](8ee81dd7-8dcc-405e-bff0-9f5791c0f567)
2026-06-15 03:01:41,476 - DEBUG - Creating VDNS : ctest-vdns1-67293560
2026-06-15 03:01:41,708 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-67293560'] created succesfully
2026-06-15 03:01:41,708 - DEBUG - Verify VDNS entry is shown in control node
2026-06-15 03:01:41,732 - DEBUG - Verify VDNS entry is shown in the API server
2026-06-15 03:01:41,732 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-06-15 03:01:42,055 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-06-15 03:01:42,090 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3390ac60-5c4f-4526-adeb-e44fba34e75e
2026-06-15 03:01:42,111 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS/715f5eb5-f6b1-4562-b00c-9f730371122f
2026-06-15 03:01:42,807 - DEBUG - Response for create_network : {'network': {'id': 'bea21d2f-db91-48f9-a3d2-b48ba2df07a6', 'name': 'ctest-vn1-vdns-41419306', 'tenant_id': '8ee81dd78dcc405ebff09f5791c0f567', 'project_id': '8ee81dd78dcc405ebff09f5791c0f567', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-12056345', 'ctest-vn1-vdns-41419306'], 'port_security_enabled': True, 'description': ''}}
2026-06-15 03:01:43,074 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2d15594-64da-4af7-a212-51e29f710607', 'name': '', 'tenant_id': '8ee81dd78dcc405ebff09f5791c0f567', 'network_id': 'bea21d2f-db91-48f9-a3d2-b48ba2df07a6', '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': '8ee81dd78dcc405ebff09f5791c0f567'}}
2026-06-15 03:01:43,097 - INFO - Created VN ctest-vn1-vdns-41419306
2026-06-15 03:01:43,113 - DEBUG - VN ctest-vn1-vdns-41419306 UUID is bea21d2f-db91-48f9-a3d2-b48ba2df07a6
2026-06-15 03:01:43,342 - DEBUG - Services list from nova: [, , , ]
2026-06-15 03:01:44,392 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5940-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5940-1)
2026-06-15 03:01:44,392 - INFO - Waiting for VM ctest-vm1-test-07377006 to be up..
2026-06-15 03:01:44,428 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-15 03:01:49,505 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-15 03:01:54,610 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-15 03:01:59,688 - DEBUG - VM is in ACTIVE state now
2026-06-15 03:01:59,688 - INFO - VM name : ctest-vm1-test-07377006
2026-06-15 03:01:59,768 - DEBUG - VM ctest-vm1-test-07377006 ID is 937a1192-2376-4796-b9c5-2a0718a8cb13
2026-06-15 03:01:59,768 - DEBUG - VM ctest-vm1-test-07377006 launched on Node an-jenkins-deploy-platform-ansible-os-5940-1
2026-06-15 03:01:59,852 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/937a1192-2376-4796-b9c5-2a0718a8cb13
2026-06-15 03:02:00,143 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/937a1192-2376-4796-b9c5-2a0718a8cb13
2026-06-15 03:02:00,174 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/676969ec-258f-49b4-b479-a293460737dc
2026-06-15 03:02:03,364 - 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-06-15 03:02:03,364 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-07377006 failed!
2026-06-15 03:02:03,379 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12056345:ctest-vn1-vdns-41419306 is 10.10.10.1 and allocation pool is NOT set
2026-06-15 03:02:07,463 - 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-06-15 03:02:07,463 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-07377006 failed!
2026-06-15 03:02:07,477 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12056345:ctest-vn1-vdns-41419306 is 10.10.10.1 and allocation pool is NOT set
2026-06-15 03:02:11,561 - 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-06-15 03:02:11,561 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-07377006 failed!
2026-06-15 03:02:11,577 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12056345:ctest-vn1-vdns-41419306 is 10.10.10.1 and allocation pool is NOT set
2026-06-15 03:02:15,653 - 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 1008ms')
2026-06-15 03:02:15,653 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-07377006 failed!
2026-06-15 03:02:15,668 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12056345:ctest-vn1-vdns-41419306 is 10.10.10.1 and allocation pool is NOT set
2026-06-15 03:02:19,751 - 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-06-15 03:02:19,751 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-07377006 failed!
2026-06-15 03:02:19,764 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12056345:ctest-vn1-vdns-41419306 is 10.10.10.1 and allocation pool is NOT set
2026-06-15 03:02:23,844 - 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.20 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 5.198/5.198/5.198/0.000 ms')
2026-06-15 03:02:23,845 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-07377006 passed
2026-06-15 03:02:23,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-15 03:02:23,913 - DEBUG - Waiting to SSH to VM ctest-vm1-test-07377006, IP 10.10.10.3, Port 22
2026-06-15 03:02:23,980 - 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-06-15 03:02:24,113 - DEBUG - VM ctest-vm1-test-07377006 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-15 03:02:29,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-15 03:02:29,114 - DEBUG - Waiting to SSH to VM ctest-vm1-test-07377006, IP 10.10.10.3, Port 22
2026-06-15 03:02:29,179 - 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-06-15 03:02:29,259 - DEBUG - VM ctest-vm1-test-07377006 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-15 03:02:34,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-15 03:02:34,260 - DEBUG - Waiting to SSH to VM ctest-vm1-test-07377006, IP 10.10.10.3, Port 22
2026-06-15 03:02:34,432 - DEBUG - VM ctest-vm1-test-07377006 is ready for SSH connections
2026-06-15 03:02:34,432 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-06-15 03:02:34,433 - DEBUG - ifconfig | grep 10.10.10.3
2026-06-15 03:02:43,129 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-06-15 03:02:43,130 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-07377006", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-06-15 03:02:43,130 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-07377006", None, socket.AF_INET6)'
2026-06-15 03:02:45,078 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-07377006, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-06-15 03:02:45,078 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-07377006
2026-06-15 03:02:47,507 - DEBUG - PING ctest-vm1-test-07377006.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-07377006.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.38 ms
64 bytes from ctest-vm1-test-07377006.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.203 ms
64 bytes from ctest-vm1-test-07377006.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.184 ms
--- ctest-vm1-test-07377006.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.184/1.256/3.382/1.503 ms
2026-06-15 03:02:47,508 - INFO - Ping to IP ctest-vm1-test-07377006 from VM ctest-vm1-test-07377006 passed
2026-06-15 03:02:47,539 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-15 03:02:47,550 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-67293560@0%20AllEntriesVdnsRecordsReq
2026-06-15 03:02:47,561 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-15 03:02:47,571 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-67293560@0%20AllEntriesVdnsRecordsReq
2026-06-15 03:02:47,582 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-15 03:02:47,595 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-67293560@0%20AllEntriesVdnsRecordsReq
2026-06-15 03:02:47,606 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-67293560:1:ctest-vm1-test-07377006:10.10.10.3', 'rec_name': 'ctest-vm1-test-07377006', '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-5940-1/dns'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-07377006.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-06-15 03:02:47,606 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-67293560:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-07377006', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-07377006', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5940-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-07377006.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-06-15 03:02:49,597 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5940-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5940-2)
2026-06-15 03:02:49,597 - INFO - Waiting for VM ctest-vm2-test-44469297 to be up..
2026-06-15 03:02:49,638 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-15 03:02:54,734 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-15 03:02:59,816 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-15 03:03:04,901 - DEBUG - VM is in ACTIVE state now
2026-06-15 03:03:04,901 - INFO - VM name : ctest-vm2-test-44469297
2026-06-15 03:03:04,983 - DEBUG - VM ctest-vm2-test-44469297 ID is cfd5229b-5e7f-4e17-8c3a-f7bf4ea63789
2026-06-15 03:03:04,983 - DEBUG - VM ctest-vm2-test-44469297 launched on Node an-jenkins-deploy-platform-ansible-os-5940-2
2026-06-15 03:03:05,057 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/cfd5229b-5e7f-4e17-8c3a-f7bf4ea63789
2026-06-15 03:03:05,068 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/665b9081-8a84-46a5-885f-e1a52c684c42
2026-06-15 03:03:08,254 - 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 1008ms')
2026-06-15 03:03:08,254 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-44469297 failed!
2026-06-15 03:03:08,269 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12056345:ctest-vn1-vdns-41419306 is 10.10.10.1 and allocation pool is NOT set
2026-06-15 03:03:12,387 - 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 1031ms')
2026-06-15 03:03:12,388 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-44469297 failed!
2026-06-15 03:03:12,401 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12056345:ctest-vn1-vdns-41419306 is 10.10.10.1 and allocation pool is NOT set
2026-06-15 03:03:16,476 - 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-06-15 03:03:16,476 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-44469297 failed!
2026-06-15 03:03:16,492 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12056345:ctest-vn1-vdns-41419306 is 10.10.10.1 and allocation pool is NOT set
2026-06-15 03:03:20,574 - 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-06-15 03:03:20,574 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-44469297 failed!
2026-06-15 03:03:20,588 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12056345:ctest-vn1-vdns-41419306 is 10.10.10.1 and allocation pool is NOT set
2026-06-15 03:03:24,673 - 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 1025ms')
2026-06-15 03:03:24,673 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-44469297 failed!
2026-06-15 03:03:24,687 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12056345:ctest-vn1-vdns-41419306 is 10.10.10.1 and allocation pool is NOT set
2026-06-15 03:03:28,771 - 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-06-15 03:03:28,771 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-44469297 failed!
2026-06-15 03:03:28,785 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12056345:ctest-vn1-vdns-41419306 is 10.10.10.1 and allocation pool is NOT set
2026-06-15 03:03:32,868 - 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=16.8 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 16.776/16.776/16.776/0.000 ms')
2026-06-15 03:03:32,868 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-44469297 passed
2026-06-15 03:03:32,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-15 03:03:32,944 - DEBUG - Waiting to SSH to VM ctest-vm2-test-44469297, IP 10.10.10.4, Port 22
2026-06-15 03:03:33,012 - 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-06-15 03:03:33,100 - DEBUG - VM ctest-vm2-test-44469297 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-15 03:03:38,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-15 03:03:38,100 - DEBUG - Waiting to SSH to VM ctest-vm2-test-44469297, IP 10.10.10.4, Port 22
2026-06-15 03:03:38,167 - 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-06-15 03:03:38,252 - DEBUG - VM ctest-vm2-test-44469297 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-15 03:03:43,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-15 03:03:43,254 - DEBUG - Waiting to SSH to VM ctest-vm2-test-44469297, IP 10.10.10.4, Port 22
2026-06-15 03:03:43,319 - 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-06-15 03:03:43,402 - DEBUG - VM ctest-vm2-test-44469297 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-15 03:03:48,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-15 03:03:48,403 - DEBUG - Waiting to SSH to VM ctest-vm2-test-44469297, IP 10.10.10.4, Port 22
2026-06-15 03:03:48,572 - DEBUG - VM ctest-vm2-test-44469297 is ready for SSH connections
2026-06-15 03:03:48,572 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2026-06-15 03:03:48,572 - DEBUG - ifconfig | grep 10.10.10.4
2026-06-15 03:03:59,108 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-06-15 03:03:59,109 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-44469297", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2026-06-15 03:03:59,109 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-44469297", None, socket.AF_INET6)'
2026-06-15 03:04:01,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-44469297, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2026-06-15 03:04:01,566 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-44469297
2026-06-15 03:04:04,090 - DEBUG - PING ctest-vm2-test-44469297.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-44469297.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.50 ms
64 bytes from ctest-vm2-test-44469297.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.272 ms
64 bytes from ctest-vm2-test-44469297.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.307 ms
--- ctest-vm2-test-44469297.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.272/1.361/3.505/1.516 ms
2026-06-15 03:04:04,090 - INFO - Ping to IP ctest-vm2-test-44469297 from VM ctest-vm2-test-44469297 passed
2026-06-15 03:04:04,117 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-15 03:04:04,124 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-67293560@0%20AllEntriesVdnsRecordsReq
2026-06-15 03:04:04,129 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-15 03:04:04,133 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-67293560@0%20AllEntriesVdnsRecordsReq
2026-06-15 03:04:04,138 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-15 03:04:04,141 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-67293560@0%20AllEntriesVdnsRecordsReq
2026-06-15 03:04:04,146 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-67293560:1:ctest-vm2-test-44469297:10.10.10.4', 'rec_name': 'ctest-vm2-test-44469297', '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-5940-2/dns'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-44469297.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-06-15 03:04:04,146 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-67293560:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-44469297', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-44469297', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5940-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-44469297.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-06-15 03:04:04,146 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-44469297", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-06-15 03:04:04,146 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-44469297", None, socket.AF_INET6)'
2026-06-15 03:04:05,036 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-44469297, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-06-15 03:04:05,036 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-44469297
2026-06-15 03:04:07,313 - DEBUG - PING ctest-vm2-test-44469297.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-44469297.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=5.49 ms
64 bytes from ctest-vm2-test-44469297.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.58 ms
64 bytes from ctest-vm2-test-44469297.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.37 ms
--- ctest-vm2-test-44469297.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.379/2.819/5.493/1.893 ms
2026-06-15 03:04:07,313 - INFO - Ping to IP ctest-vm2-test-44469297 from VM ctest-vm1-test-07377006 passed
2026-06-15 03:04:07,313 - INFO - Try deleting the VDNS entry ctest-vdns1-67293560 with back ref of ipam.
2026-06-15 03:04:07,368 - DEBUG - Delete when resource still referred: ['http://10.0.0.65:8082/network-ipam/e5267cee-2a01-48a3-8a7f-e95f86ffb21e']
2026-06-15 03:04:07,368 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-06-15 03:04:07,368 - INFO - Add CNAME VDNS record for ctest-vm1-test-07377006 and verify we able to ping by alias name
2026-06-15 03:04:07,418 - DEBUG - Creating VDNS record data : test-rec
2026-06-15 03:04:07,536 - INFO - In verify_on_setup
2026-06-15 03:04:07,632 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-67293560', 'test-rec'] created succesfully
2026-06-15 03:04:07,632 - INFO - Verify VDNS record is shown in the API server
2026-06-15 03:04:07,632 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-06-15 03:04:07,639 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3390ac60-5c4f-4526-adeb-e44fba34e75e
2026-06-15 03:04:07,673 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS/715f5eb5-f6b1-4562-b00c-9f730371122f
2026-06-15 03:04:07,683 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS-record/fb879bdc-80e3-444b-9e3c-fe73d29fd43d
2026-06-15 03:04:07,689 - INFO - Verify VDNS record is shown in the control node
2026-06-15 03:04:07,708 - 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.141, gateway password: c0ntrail123
2026-06-15 03:04:07,708 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-06-15 03:04:08,625 - 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.141, gateway password: c0ntrail123
2026-06-15 03:04:08,626 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-06-15 03:04:08,882 - DEBUG - ping: unknown host vm1-test-alias
2026-06-15 03:04:08,882 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-07377006 failed
2026-06-15 03:04:09,882 - 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.141, gateway password: c0ntrail123
2026-06-15 03:04:09,882 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-06-15 03:04:10,721 - 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.141, gateway password: c0ntrail123
2026-06-15 03:04:10,722 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-06-15 03:04:12,992 - DEBUG - PING ctest-vm1-test-07377006.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-07377006.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.93 ms
64 bytes from ctest-vm1-test-07377006.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.234 ms
64 bytes from ctest-vm1-test-07377006.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.280 ms
--- ctest-vm1-test-07377006.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.234/0.815/1.932/0.790 ms
2026-06-15 03:04:12,992 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-07377006 passed
2026-06-15 03:04:12,992 - DEBUG - Deleting VDNS record data: test-rec
2026-06-15 03:04:13,080 - INFO - VDNS record info: default-domain:ctest-vdns1-67293560:test-rec deleted successfully.
2026-06-15 03:04:13,080 - INFO - Deleting VM ctest-vm2-test-44469297
2026-06-15 03:04:13,181 - INFO - Deleting VM ctest-vm1-test-07377006
2026-06-15 03:04:13,277 - INFO - Deleting VN ctest-vn1-vdns-41419306
2026-06-15 03:04:13,323 - DEBUG - VN bea21d2f-db91-48f9-a3d2-b48ba2df07a6 still in use: Unable to complete operation on network bea21d2f-db91-48f9-a3d2-b48ba2df07a6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b6746abc-2891-4a88-815f-b0055947c646']
2026-06-15 03:04:13,323 - WARNING - Deleting VN ctest-vn1-vdns-41419306 failed..Will retry
2026-06-15 03:04:15,390 - DEBUG - VN bea21d2f-db91-48f9-a3d2-b48ba2df07a6 still in use: Unable to complete operation on network bea21d2f-db91-48f9-a3d2-b48ba2df07a6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-caff4f5b-3eb3-4714-bf08-f1a9f7f124d9']
2026-06-15 03:04:15,390 - WARNING - Deleting VN ctest-vn1-vdns-41419306 failed..Will retry
2026-06-15 03:04:17,591 - DEBUG - Response for deleting network ()
2026-06-15 03:04:17,650 - DEBUG - Deleting VDNS Entry: ctest-vdns1-67293560
2026-06-15 03:04:17,756 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-67293560'] deleted successfully.
2026-06-15 03:04:17,756 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-06-15 03:04:17,764 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3390ac60-5c4f-4526-adeb-e44fba34e75e
2026-06-15 03:04:17,780 - DEBUG - VDNS information not found in API server
2026-06-15 03:04:17,780 - INFO - VDNS information ctest-vdns1-67293560 removed from the API Server
2026-06-15 03:04:17,786 - INFO - VDNS information ctest-vdns1-67293560 removed in the Control node
2026-06-15 03:04:17,786 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-12056345']
2026-06-15 03:04:19,092 - DEBUG - No XMPP flaps were noticed during the test
2026-06-15 03:04:19,093 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:02:40]
2026-06-15 03:04:19,093 - INFO - --------------------------------------------------------------------------------
2026-06-15 03:04:19,810 - INFO - Deleted project: ctest-TestvDNSBasic0-12056345, ID : 8ee81dd7-8dcc-405e-bff0-9f5791c0f567