2026-06-19 15:09:55,866 - INFO - Domain Default found not creating
2026-06-19 15:09:56,064 - INFO - Project ctest-TestvDNSBasic0-28827981 not found, creating it
2026-06-19 15:09:56,665 - INFO - Created Project:ctest-TestvDNSBasic0-28827981, ID : 7c22b769-c098-4014-9913-6eb35956095c
2026-06-19 15:09:58,205 - INFO - ================================================================================
2026-06-19 15:09:58,205 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-06-19 15:09:58,205 - 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-19 15:09:59,495 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.242': {'10.20.0.25': '0', '10.20.0.193': '0'}} with
2026-06-19 15:09:59,495 - INFO - Initial checks done. Running the testcase now
2026-06-19 15:09:59,495 - INFO -
2026-06-19 15:10:00,264 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-28827981'](7c22b769-c098-4014-9913-6eb35956095c)
2026-06-19 15:10:00,320 - DEBUG - Creating VDNS : ctest-vdns1-32159374
2026-06-19 15:10:00,552 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-32159374'] created succesfully
2026-06-19 15:10:00,552 - DEBUG - Verify VDNS entry is shown in control node
2026-06-19 15:10:00,569 - DEBUG - Verify VDNS entry is shown in the API server
2026-06-19 15:10:00,569 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-19 15:10:00,892 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-19 15:10:00,919 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc79a0-242c-4231-9b01-470290ed3bc5
2026-06-19 15:10:00,934 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/62086998-5163-47a8-9f5c-2108b96c2e67
2026-06-19 15:10:01,617 - DEBUG - Response for create_network : {'network': {'id': 'c01032ae-29e2-4936-9f09-b38828dbb9fc', 'name': 'ctest-vn1-vdns-11981068', 'tenant_id': '7c22b769c098401499136eb35956095c', 'project_id': '7c22b769c098401499136eb35956095c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-28827981', 'ctest-vn1-vdns-11981068'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 15:10:01,966 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ec2b2e7-bbff-497f-9fbf-0a0b6ad146d9', 'name': '', 'tenant_id': '7c22b769c098401499136eb35956095c', 'network_id': 'c01032ae-29e2-4936-9f09-b38828dbb9fc', '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': '7c22b769c098401499136eb35956095c'}}
2026-06-19 15:10:01,991 - INFO - Created VN ctest-vn1-vdns-11981068
2026-06-19 15:10:02,003 - DEBUG - VN ctest-vn1-vdns-11981068 UUID is c01032ae-29e2-4936-9f09-b38828dbb9fc
2026-06-19 15:10:02,181 - DEBUG - Services list from nova: [, , , ]
2026-06-19 15:10:03,566 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5994-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5994-1)
2026-06-19 15:10:03,566 - INFO - Waiting for VM ctest-vm1-test-01445146 to be up..
2026-06-19 15:10:03,622 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-19 15:10:08,708 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-19 15:10:13,779 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-19 15:10:18,862 - DEBUG - VM is in ACTIVE state now
2026-06-19 15:10:18,863 - INFO - VM name : ctest-vm1-test-01445146
2026-06-19 15:10:18,946 - DEBUG - VM ctest-vm1-test-01445146 ID is 8ebb1e87-6b5e-47a1-b633-34c3e502d68c
2026-06-19 15:10:18,947 - DEBUG - VM ctest-vm1-test-01445146 launched on Node an-jenkins-deploy-platform-ansible-os-5994-1
2026-06-19 15:10:19,021 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/8ebb1e87-6b5e-47a1-b633-34c3e502d68c
2026-06-19 15:10:19,339 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/8ebb1e87-6b5e-47a1-b633-34c3e502d68c
2026-06-19 15:10:19,368 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/14907b14-8794-4e35-b3af-fc61ac82c711
2026-06-19 15:10:22,540 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-06-19 15:10:22,540 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01445146 failed!
2026-06-19 15:10:22,553 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-28827981:ctest-vn1-vdns-11981068 is 10.10.10.1 and allocation pool is NOT set
2026-06-19 15:10:26,633 - 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 1020ms')
2026-06-19 15:10:26,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01445146 failed!
2026-06-19 15:10:26,647 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-28827981:ctest-vn1-vdns-11981068 is 10.10.10.1 and allocation pool is NOT set
2026-06-19 15:10:30,724 - 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-06-19 15:10:30,724 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01445146 failed!
2026-06-19 15:10:30,737 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-28827981:ctest-vn1-vdns-11981068 is 10.10.10.1 and allocation pool is NOT set
2026-06-19 15:10:34,822 - 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 1029ms')
2026-06-19 15:10:34,822 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01445146 failed!
2026-06-19 15:10:34,838 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-28827981:ctest-vn1-vdns-11981068 is 10.10.10.1 and allocation pool is NOT set
2026-06-19 15:10:38,923 - 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-06-19 15:10:38,923 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01445146 failed!
2026-06-19 15:10:38,936 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-28827981:ctest-vn1-vdns-11981068 is 10.10.10.1 and allocation pool is NOT set
2026-06-19 15:10:43,016 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-06-19 15:10:43,016 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01445146 failed!
2026-06-19 15:10:43,030 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-28827981:ctest-vn1-vdns-11981068 is 10.10.10.1 and allocation pool is NOT set
2026-06-19 15:10:45,095 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.568 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.568/4.610/8.652/4.042 ms')
2026-06-19 15:10:45,095 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01445146 passed
2026-06-19 15:10:45,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-19 15:10:45,169 - DEBUG - Waiting to SSH to VM ctest-vm1-test-01445146, IP 10.10.10.3, Port 22
2026-06-19 15:10:45,236 - 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-06-19 15:10:45,306 - DEBUG - VM ctest-vm1-test-01445146 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-19 15:10:50,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-19 15:10:50,307 - DEBUG - Waiting to SSH to VM ctest-vm1-test-01445146, IP 10.10.10.3, Port 22
2026-06-19 15:10:50,375 - 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-06-19 15:10:50,445 - DEBUG - VM ctest-vm1-test-01445146 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-19 15:10:55,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-19 15:10:55,445 - DEBUG - Waiting to SSH to VM ctest-vm1-test-01445146, IP 10.10.10.3, Port 22
2026-06-19 15:10:55,601 - DEBUG - VM ctest-vm1-test-01445146 is ready for SSH connections
2026-06-19 15:10:55,601 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-06-19 15:10:55,601 - DEBUG - ifconfig | grep 10.10.10.3
2026-06-19 15:11:03,628 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-06-19 15:11:03,629 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-01445146", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-06-19 15:11:03,629 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-01445146", None, socket.AF_INET6)'
2026-06-19 15:11:05,706 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-01445146, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-06-19 15:11:05,706 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-01445146
2026-06-19 15:11:08,174 - DEBUG - PING ctest-vm1-test-01445146.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-01445146.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.63 ms
64 bytes from ctest-vm1-test-01445146.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.559 ms
64 bytes from ctest-vm1-test-01445146.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.219 ms
--- ctest-vm1-test-01445146.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.219/1.471/3.635/1.536 ms
2026-06-19 15:11:08,174 - INFO - Ping to IP ctest-vm1-test-01445146 from VM ctest-vm1-test-01445146 passed
2026-06-19 15:11:08,198 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-19 15:11:08,204 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-32159374@0%20AllEntriesVdnsRecordsReq
2026-06-19 15:11:08,208 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-19 15:11:08,214 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-32159374@0%20AllEntriesVdnsRecordsReq
2026-06-19 15:11:08,218 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-19 15:11:08,222 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-32159374@0%20AllEntriesVdnsRecordsReq
2026-06-19 15:11:08,226 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-32159374:1:ctest-vm1-test-01445146:10.10.10.3', 'rec_name': 'ctest-vm1-test-01445146', '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-5994-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-01445146.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-06-19 15:11:08,226 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-32159374:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-01445146', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-01445146', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5994-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-01445146.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-19 15:11:09,469 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5994-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5994-2)
2026-06-19 15:11:09,469 - INFO - Waiting for VM ctest-vm2-test-24837461 to be up..
2026-06-19 15:11:09,507 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-19 15:11:14,581 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-19 15:11:19,658 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-19 15:11:24,732 - DEBUG - VM is in ACTIVE state now
2026-06-19 15:11:24,732 - INFO - VM name : ctest-vm2-test-24837461
2026-06-19 15:11:24,805 - DEBUG - VM ctest-vm2-test-24837461 ID is b5b2f103-2c0b-4428-94bf-349500088f78
2026-06-19 15:11:24,805 - DEBUG - VM ctest-vm2-test-24837461 launched on Node an-jenkins-deploy-platform-ansible-os-5994-2
2026-06-19 15:11:24,882 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/b5b2f103-2c0b-4428-94bf-349500088f78
2026-06-19 15:11:24,893 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/5122e40b-aba1-416b-8237-f05ad28929d0
2026-06-19 15:11:28,084 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms')
2026-06-19 15:11:28,084 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-24837461 failed!
2026-06-19 15:11:28,098 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-28827981:ctest-vn1-vdns-11981068 is 10.10.10.1 and allocation pool is NOT set
2026-06-19 15:11:32,174 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-06-19 15:11:32,174 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-24837461 failed!
2026-06-19 15:11:32,188 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-28827981:ctest-vn1-vdns-11981068 is 10.10.10.1 and allocation pool is NOT set
2026-06-19 15:11:36,277 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms')
2026-06-19 15:11:36,277 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-24837461 failed!
2026-06-19 15:11:36,291 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-28827981:ctest-vn1-vdns-11981068 is 10.10.10.1 and allocation pool is NOT set
2026-06-19 15:11:40,365 - 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-06-19 15:11:40,365 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-24837461 failed!
2026-06-19 15:11:40,381 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-28827981:ctest-vn1-vdns-11981068 is 10.10.10.1 and allocation pool is NOT set
2026-06-19 15:11:44,467 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-06-19 15:11:44,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-24837461 failed!
2026-06-19 15:11:44,482 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-28827981:ctest-vn1-vdns-11981068 is 10.10.10.1 and allocation pool is NOT set
2026-06-19 15:11:48,560 - 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=6.69 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 6.691/6.691/6.691/0.000 ms')
2026-06-19 15:11:48,560 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-24837461 passed
2026-06-19 15:11:48,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-19 15:11:48,628 - DEBUG - Waiting to SSH to VM ctest-vm2-test-24837461, IP 10.10.10.4, Port 22
2026-06-19 15:11:48,696 - 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-06-19 15:11:48,776 - DEBUG - VM ctest-vm2-test-24837461 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-19 15:11:53,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-19 15:11:53,777 - DEBUG - Waiting to SSH to VM ctest-vm2-test-24837461, IP 10.10.10.4, Port 22
2026-06-19 15:11:53,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-06-19 15:11:53,914 - DEBUG - VM ctest-vm2-test-24837461 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-19 15:11:58,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-19 15:11:58,915 - DEBUG - Waiting to SSH to VM ctest-vm2-test-24837461, IP 10.10.10.4, Port 22
2026-06-19 15:11:59,084 - DEBUG - VM ctest-vm2-test-24837461 is ready for SSH connections
2026-06-19 15:11:59,084 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-06-19 15:11:59,084 - DEBUG - ifconfig | grep 10.10.10.4
2026-06-19 15:12:08,279 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-06-19 15:12:08,279 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-24837461", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-06-19 15:12:08,279 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-24837461", None, socket.AF_INET6)'
2026-06-19 15:12:10,278 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-24837461, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-06-19 15:12:10,279 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-24837461
2026-06-19 15:12:12,717 - DEBUG - PING ctest-vm2-test-24837461.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-24837461.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.22 ms
64 bytes from ctest-vm2-test-24837461.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.203 ms
64 bytes from ctest-vm2-test-24837461.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.286 ms
--- ctest-vm2-test-24837461.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.203/0.905/2.227/0.935 ms
2026-06-19 15:12:12,717 - INFO - Ping to IP ctest-vm2-test-24837461 from VM ctest-vm2-test-24837461 passed
2026-06-19 15:12:12,741 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-19 15:12:12,747 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-32159374@0%20AllEntriesVdnsRecordsReq
2026-06-19 15:12:12,751 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-19 15:12:12,755 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-32159374@0%20AllEntriesVdnsRecordsReq
2026-06-19 15:12:12,759 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-19 15:12:12,763 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-32159374@0%20AllEntriesVdnsRecordsReq
2026-06-19 15:12:12,767 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-32159374:1:ctest-vm2-test-24837461:10.10.10.4', 'rec_name': 'ctest-vm2-test-24837461', '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-5994-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-24837461.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-06-19 15:12:12,767 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-32159374:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-24837461', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-24837461', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5994-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-24837461.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-19 15:12:12,767 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-24837461", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-06-19 15:12:12,767 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-24837461", None, socket.AF_INET6)'
2026-06-19 15:12:13,684 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-24837461, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-06-19 15:12:13,684 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-24837461
2026-06-19 15:12:15,966 - DEBUG - PING ctest-vm2-test-24837461.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-24837461.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.64 ms
64 bytes from ctest-vm2-test-24837461.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.04 ms
64 bytes from ctest-vm2-test-24837461.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.42 ms
--- ctest-vm2-test-24837461.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.422/4.035/8.643/3.268 ms
2026-06-19 15:12:15,966 - INFO - Ping to IP ctest-vm2-test-24837461 from VM ctest-vm1-test-01445146 passed
2026-06-19 15:12:15,966 - INFO - Try deleting the VDNS entry ctest-vdns1-32159374 with back ref of ipam.
2026-06-19 15:12:16,024 - DEBUG - Delete when resource still referred: ['http://10.0.0.129:8082/network-ipam/a711e9b1-913d-4aca-beec-ccb47a04d89f']
2026-06-19 15:12:16,024 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-06-19 15:12:16,024 - INFO - Add CNAME VDNS record for ctest-vm1-test-01445146 and verify we able to ping by alias name
2026-06-19 15:12:16,072 - DEBUG - Creating VDNS record data : test-rec
2026-06-19 15:12:16,197 - INFO - In verify_on_setup
2026-06-19 15:12:16,292 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-32159374', 'test-rec'] created succesfully
2026-06-19 15:12:16,292 - INFO - Verify VDNS record is shown in the API server
2026-06-19 15:12:16,292 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-19 15:12:16,298 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc79a0-242c-4231-9b01-470290ed3bc5
2026-06-19 15:12:16,340 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/62086998-5163-47a8-9f5c-2108b96c2e67
2026-06-19 15:12:16,350 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/e1eec389-bc15-4729-9e5a-9284d9c57b8b
2026-06-19 15:12:16,358 - INFO - Verify VDNS record is shown in the control node
2026-06-19 15:12:16,373 - 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.241, gateway password: c0ntrail123
2026-06-19 15:12:16,373 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-06-19 15:12:17,256 - 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.241, gateway password: c0ntrail123
2026-06-19 15:12:17,256 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-06-19 15:12:17,518 - DEBUG - ping: unknown host vm1-test-alias
2026-06-19 15:12:17,518 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-01445146 failed
2026-06-19 15:12:18,519 - 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.241, gateway password: c0ntrail123
2026-06-19 15:12:18,519 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-06-19 15:12:19,398 - 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.241, gateway password: c0ntrail123
2026-06-19 15:12:19,398 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-06-19 15:12:21,681 - DEBUG - PING ctest-vm1-test-01445146.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-01445146.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.156 ms
64 bytes from ctest-vm1-test-01445146.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=1.54 ms
64 bytes from ctest-vm1-test-01445146.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.200 ms
--- ctest-vm1-test-01445146.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.156/0.634/1.548/0.646 ms
2026-06-19 15:12:21,681 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-01445146 passed
2026-06-19 15:12:21,681 - DEBUG - Deleting VDNS record data: test-rec
2026-06-19 15:12:21,760 - INFO - VDNS record info: default-domain:ctest-vdns1-32159374:test-rec deleted successfully.
2026-06-19 15:12:21,760 - INFO - Deleting VM ctest-vm2-test-24837461
2026-06-19 15:12:21,825 - INFO - Deleting VM ctest-vm1-test-01445146
2026-06-19 15:12:21,886 - INFO - Deleting VN ctest-vn1-vdns-11981068
2026-06-19 15:12:21,919 - DEBUG - VN c01032ae-29e2-4936-9f09-b38828dbb9fc still in use: Unable to complete operation on network c01032ae-29e2-4936-9f09-b38828dbb9fc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-aa6500be-5c08-477e-abf4-2ceba53a8b67']
2026-06-19 15:12:21,920 - WARNING - Deleting VN ctest-vn1-vdns-11981068 failed..Will retry
2026-06-19 15:12:23,973 - DEBUG - VN c01032ae-29e2-4936-9f09-b38828dbb9fc still in use: Unable to complete operation on network c01032ae-29e2-4936-9f09-b38828dbb9fc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b3d356dd-4db0-467b-8ca3-e4bdcd090a1c']
2026-06-19 15:12:23,973 - WARNING - Deleting VN ctest-vn1-vdns-11981068 failed..Will retry
2026-06-19 15:12:26,133 - DEBUG - Response for deleting network ()
2026-06-19 15:12:26,183 - DEBUG - Deleting VDNS Entry: ctest-vdns1-32159374
2026-06-19 15:12:26,268 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-32159374'] deleted successfully.
2026-06-19 15:12:26,268 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-19 15:12:26,273 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc79a0-242c-4231-9b01-470290ed3bc5
2026-06-19 15:12:26,288 - DEBUG - VDNS information not found in API server
2026-06-19 15:12:26,288 - INFO - VDNS information ctest-vdns1-32159374 removed from the API Server
2026-06-19 15:12:26,302 - INFO - VDNS information ctest-vdns1-32159374 removed in the Control node
2026-06-19 15:12:26,302 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-28827981']
2026-06-19 15:12:27,586 - DEBUG - No XMPP flaps were noticed during the test
2026-06-19 15:12:27,586 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:02:29]
2026-06-19 15:12:27,586 - INFO - --------------------------------------------------------------------------------
2026-06-19 15:12:28,306 - INFO - Deleted project: ctest-TestvDNSBasic0-28827981, ID : 7c22b769-c098-4014-9913-6eb35956095c