2026-10-21 16:52:21,379 - INFO - Domain Default found not creating
2026-10-21 16:52:21,573 - INFO - Project ctest-TestvDNSBasic0-77949996 not found, creating it
2026-10-21 16:52:22,037 - INFO - Created Project:ctest-TestvDNSBasic0-77949996, ID : 30d59b6e-1e81-49ed-aba9-86f78a7c78ec
2026-10-21 16:52:23,899 - INFO - ================================================================================
2026-10-21 16:52:23,900 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-10-21 16:52:23,900 - 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-10-21 16:52:24,165 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with
2026-10-21 16:52:24,165 - INFO - Initial checks done. Running the testcase now
2026-10-21 16:52:24,165 - INFO -
2026-10-21 16:52:25,032 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-77949996'](30d59b6e-1e81-49ed-aba9-86f78a7c78ec)
2026-10-21 16:52:25,085 - DEBUG - Creating VDNS : ctest-vdns1-76971643
2026-10-21 16:52:25,329 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-76971643'] created succesfully
2026-10-21 16:52:25,330 - DEBUG - Verify VDNS entry is shown in control node
2026-10-21 16:52:25,344 - DEBUG - Verify VDNS entry is shown in the API server
2026-10-21 16:52:25,344 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-21 16:52:25,724 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-21 16:52:25,755 - DEBUG - Requesting: http://10.0.0.190:8082/domain/73689576-5f3a-4cc7-b619-3c307fcdb943
2026-10-21 16:52:25,770 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-DNS/5c81c7a1-1f3d-46d3-8092-09a4805edd29
2026-10-21 16:52:26,360 - DEBUG - Response for create_network : {'network': {'id': '8c70d9ac-7cc2-4a3f-8f19-5c18d6fe41db', 'name': 'ctest-vn1-vdns-59368695', 'tenant_id': '30d59b6e1e8149edaba986f78a7c78ec', 'project_id': '30d59b6e1e8149edaba986f78a7c78ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-77949996', 'ctest-vn1-vdns-59368695'], 'port_security_enabled': True, 'description': ''}}
2026-10-21 16:52:26,579 - DEBUG - Response for create_subnet : {'subnet': {'id': '2177a1f6-1bd7-4134-8023-5c5129759acd', 'name': '', 'tenant_id': '30d59b6e1e8149edaba986f78a7c78ec', 'network_id': '8c70d9ac-7cc2-4a3f-8f19-5c18d6fe41db', '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': '30d59b6e1e8149edaba986f78a7c78ec'}}
2026-10-21 16:52:26,607 - INFO - Created VN ctest-vn1-vdns-59368695
2026-10-21 16:52:26,717 - DEBUG - VN ctest-vn1-vdns-59368695 UUID is 8c70d9ac-7cc2-4a3f-8f19-5c18d6fe41db
2026-10-21 16:52:26,932 - DEBUG - Services list from nova: [, , ]
2026-10-21 16:52:27,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6382-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6382-1)
2026-10-21 16:52:27,409 - INFO - Waiting for VM ctest-vm1-test-34949894 to be up..
2026-10-21 16:52:27,452 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:52:32,539 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:52:37,618 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:52:42,707 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:52:47,799 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:52:52,883 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:52:57,973 - DEBUG - VM is in ACTIVE state now
2026-10-21 16:52:57,973 - INFO - VM name : ctest-vm1-test-34949894
2026-10-21 16:52:58,074 - DEBUG - VM ctest-vm1-test-34949894 ID is 2059cb9d-6f16-470f-9ef5-256519b18ec3
2026-10-21 16:52:58,074 - DEBUG - VM ctest-vm1-test-34949894 launched on Node cn-jenkins-deploy-platform-ansible-os-6382-1
2026-10-21 16:52:58,151 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/2059cb9d-6f16-470f-9ef5-256519b18ec3
2026-10-21 16:52:58,162 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/998940db-8c5d-4ca2-89a9-e1a4399223fb
2026-10-21 16:53:01,423 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms')
2026-10-21 16:53:01,424 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-34949894 failed!
2026-10-21 16:53:01,481 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-77949996:ctest-vn1-vdns-59368695 is 10.10.10.1 and allocation pool is NOT set
2026-10-21 16:53:03,546 - 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=4.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.631 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.631/2.567/4.504/1.936 ms')
2026-10-21 16:53:03,546 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-34949894 passed
2026-10-21 16:53:03,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:53:03,702 - DEBUG - Waiting to SSH to VM ctest-vm1-test-34949894, IP 10.10.10.3, Port 22
2026-10-21 16:53:03,768 - DEBUG - Error on ssh to cirros@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-10-21 16:53:03,859 - DEBUG - VM ctest-vm1-test-34949894 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:53:08,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:53:08,860 - DEBUG - Waiting to SSH to VM ctest-vm1-test-34949894, IP 10.10.10.3, Port 22
2026-10-21 16:53:08,927 - DEBUG - Error on ssh to cirros@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-10-21 16:53:09,020 - DEBUG - VM ctest-vm1-test-34949894 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:53:14,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:53:14,021 - DEBUG - Waiting to SSH to VM ctest-vm1-test-34949894, IP 10.10.10.3, Port 22
2026-10-21 16:53:14,087 - DEBUG - Error on ssh to cirros@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-10-21 16:53:14,186 - DEBUG - VM ctest-vm1-test-34949894 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:53:19,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:53:19,187 - DEBUG - Waiting to SSH to VM ctest-vm1-test-34949894, IP 10.10.10.3, Port 22
2026-10-21 16:53:19,256 - DEBUG - Error on ssh to cirros@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-10-21 16:53:19,402 - DEBUG - VM ctest-vm1-test-34949894 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:53:24,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:53:24,404 - DEBUG - Waiting to SSH to VM ctest-vm1-test-34949894, IP 10.10.10.3, Port 22
2026-10-21 16:53:24,472 - DEBUG - Error on ssh to cirros@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-10-21 16:53:24,567 - DEBUG - VM ctest-vm1-test-34949894 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:53:29,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:53:29,569 - DEBUG - Waiting to SSH to VM ctest-vm1-test-34949894, IP 10.10.10.3, Port 22
2026-10-21 16:53:29,636 - DEBUG - Error on ssh to cirros@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-10-21 16:53:29,802 - DEBUG - VM ctest-vm1-test-34949894 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:53:34,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:53:34,803 - DEBUG - Waiting to SSH to VM ctest-vm1-test-34949894, IP 10.10.10.3, Port 22
2026-10-21 16:53:34,872 - DEBUG - Error on ssh to cirros@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-10-21 16:53:34,978 - DEBUG - VM ctest-vm1-test-34949894 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:53:39,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:53:39,979 - DEBUG - Waiting to SSH to VM ctest-vm1-test-34949894, IP 10.10.10.3, Port 22
2026-10-21 16:53:40,049 - DEBUG - Error on ssh to cirros@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-10-21 16:53:40,170 - DEBUG - VM ctest-vm1-test-34949894 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:53:45,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:53:45,171 - DEBUG - Waiting to SSH to VM ctest-vm1-test-34949894, IP 10.10.10.3, Port 22
2026-10-21 16:53:45,343 - DEBUG - VM ctest-vm1-test-34949894 is ready for SSH connections
2026-10-21 16:53:45,344 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:53:45,344 - DEBUG - ifconfig | grep 10.10.10.3
2026-10-21 16:53:47,569 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-10-21 16:53:47,570 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-34949894", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:53:47,570 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-34949894", None, socket.AF_INET6)'
2026-10-21 16:53:47,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-34949894, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:53:47,775 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-34949894
2026-10-21 16:53:49,970 - DEBUG - PING ctest-vm1-test-34949894 (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=1.503 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.418 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.389 ms
--- ctest-vm1-test-34949894 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.389/0.770/1.503 ms
2026-10-21 16:53:49,970 - INFO - Ping to IP ctest-vm1-test-34949894 from VM ctest-vm1-test-34949894 passed
2026-10-21 16:53:49,996 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-21 16:53:50,005 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=default-domain:ctest-vdns1-76971643@0%20AllEntriesVdnsRecordsReq
2026-10-21 16:53:50,012 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-76971643:1:ctest-vm1-test-34949894:10.10.10.3', 'rec_name': 'ctest-vm1-test-34949894', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.3', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-6382-1/dns', 'rec_vm_uuid': '998940db-8c5d-4ca2-89a9-e1a4399223fb'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-34949894.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-10-21 16:53:50,012 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-76971643:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-34949894', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-34949894', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-6382-1/dns', 'rec_vm_uuid': '998940db-8c5d-4ca2-89a9-e1a4399223fb'} ,
Expected record data {'rec_data': 'ctest-vm1-test-34949894.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-10-21 16:53:50,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6382-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6382-1)
2026-10-21 16:53:50,731 - INFO - Waiting for VM ctest-vm2-test-51889602 to be up..
2026-10-21 16:53:50,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:53:55,856 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:54:00,960 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:54:06,058 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:54:11,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:54:16,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:54:21,338 - DEBUG - VM is in ACTIVE state now
2026-10-21 16:54:21,338 - INFO - VM name : ctest-vm2-test-51889602
2026-10-21 16:54:21,427 - DEBUG - VM ctest-vm2-test-51889602 ID is ec5ebf9e-5f19-4fb1-bd1a-4b89f5b8f0ae
2026-10-21 16:54:21,427 - DEBUG - VM ctest-vm2-test-51889602 launched on Node cn-jenkins-deploy-platform-ansible-os-6382-1
2026-10-21 16:54:21,523 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/ec5ebf9e-5f19-4fb1-bd1a-4b89f5b8f0ae
2026-10-21 16:54:21,535 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/7c6fec2a-21f8-4b8a-9f67-b8d5366f846d
2026-10-21 16:54:24,815 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms')
2026-10-21 16:54:24,815 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-51889602 failed!
2026-10-21 16:54:24,873 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-77949996:ctest-vn1-vdns-59368695 is 10.10.10.1 and allocation pool is NOT set
2026-10-21 16:54:26,933 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.536 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.536/2.244/3.952/1.708 ms')
2026-10-21 16:54:26,933 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-51889602 passed
2026-10-21 16:54:27,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:54:27,086 - DEBUG - Waiting to SSH to VM ctest-vm2-test-51889602, IP 10.10.10.4, Port 22
2026-10-21 16:54:27,151 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-10-21 16:54:27,235 - DEBUG - VM ctest-vm2-test-51889602 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:54:32,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:54:32,236 - DEBUG - Waiting to SSH to VM ctest-vm2-test-51889602, IP 10.10.10.4, Port 22
2026-10-21 16:54:32,304 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-10-21 16:54:32,393 - DEBUG - VM ctest-vm2-test-51889602 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:54:37,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:54:37,393 - DEBUG - Waiting to SSH to VM ctest-vm2-test-51889602, IP 10.10.10.4, Port 22
2026-10-21 16:54:37,460 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-10-21 16:54:37,546 - DEBUG - VM ctest-vm2-test-51889602 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:54:42,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:54:42,547 - DEBUG - Waiting to SSH to VM ctest-vm2-test-51889602, IP 10.10.10.4, Port 22
2026-10-21 16:54:42,616 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-10-21 16:54:42,711 - DEBUG - VM ctest-vm2-test-51889602 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:54:47,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:54:47,712 - DEBUG - Waiting to SSH to VM ctest-vm2-test-51889602, IP 10.10.10.4, Port 22
2026-10-21 16:54:47,779 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-10-21 16:54:47,864 - DEBUG - VM ctest-vm2-test-51889602 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:54:52,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:54:52,865 - DEBUG - Waiting to SSH to VM ctest-vm2-test-51889602, IP 10.10.10.4, Port 22
2026-10-21 16:54:52,931 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-10-21 16:54:53,030 - DEBUG - VM ctest-vm2-test-51889602 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:54:58,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:54:58,030 - DEBUG - Waiting to SSH to VM ctest-vm2-test-51889602, IP 10.10.10.4, Port 22
2026-10-21 16:54:58,100 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-10-21 16:54:58,199 - DEBUG - VM ctest-vm2-test-51889602 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:55:03,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:55:03,200 - DEBUG - Waiting to SSH to VM ctest-vm2-test-51889602, IP 10.10.10.4, Port 22
2026-10-21 16:55:03,268 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-10-21 16:55:03,363 - DEBUG - VM ctest-vm2-test-51889602 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:55:08,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:55:08,363 - DEBUG - Waiting to SSH to VM ctest-vm2-test-51889602, IP 10.10.10.4, Port 22
2026-10-21 16:55:08,535 - DEBUG - VM ctest-vm2-test-51889602 is ready for SSH connections
2026-10-21 16:55:08,535 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:55:08,535 - DEBUG - ifconfig | grep 10.10.10.4
2026-10-21 16:55:09,586 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-10-21 16:55:09,587 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-51889602", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:55:09,587 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-51889602", None, socket.AF_INET6)'
2026-10-21 16:55:09,774 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-51889602, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:55:09,774 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-51889602
2026-10-21 16:55:11,979 - DEBUG - PING ctest-vm2-test-51889602 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=1.610 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.542 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.357 ms
--- ctest-vm2-test-51889602 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.357/0.836/1.610 ms
2026-10-21 16:55:11,980 - INFO - Ping to IP ctest-vm2-test-51889602 from VM ctest-vm2-test-51889602 passed
2026-10-21 16:55:12,001 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-21 16:55:12,009 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=default-domain:ctest-vdns1-76971643@0%20AllEntriesVdnsRecordsReq
2026-10-21 16:55:12,018 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-76971643:1:ctest-vm2-test-51889602:10.10.10.4', 'rec_name': 'ctest-vm2-test-51889602', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.4', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-6382-1/dns', 'rec_vm_uuid': '7c6fec2a-21f8-4b8a-9f67-b8d5366f846d'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-51889602.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-10-21 16:55:12,021 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-76971643:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-51889602', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-51889602', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-6382-1/dns', 'rec_vm_uuid': '7c6fec2a-21f8-4b8a-9f67-b8d5366f846d'} ,
Expected record data {'rec_data': 'ctest-vm2-test-51889602.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-10-21 16:55:12,021 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-51889602", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:55:12,021 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-51889602", None, socket.AF_INET6)'
2026-10-21 16:55:12,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-51889602, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:55:12,147 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-51889602
2026-10-21 16:55:14,328 - DEBUG - PING ctest-vm2-test-51889602 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.983 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.285 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=1.213 ms
--- ctest-vm2-test-51889602 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.213/2.160/3.983 ms
2026-10-21 16:55:14,328 - INFO - Ping to IP ctest-vm2-test-51889602 from VM ctest-vm1-test-34949894 passed
2026-10-21 16:55:14,328 - INFO - Try deleting the VDNS entry ctest-vdns1-76971643 with back ref of ipam.
2026-10-21 16:55:14,393 - DEBUG - Delete when resource still referred: ['http://10.0.0.190:8082/network-ipam/9b861c5f-4772-4263-85da-9fd5bf3967c9']
2026-10-21 16:55:14,393 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-10-21 16:55:14,393 - INFO - Add CNAME VDNS record for ctest-vm1-test-34949894 and verify we able to ping by alias name
2026-10-21 16:55:14,441 - DEBUG - Creating VDNS record data : test-rec
2026-10-21 16:55:14,570 - INFO - In verify_on_setup
2026-10-21 16:55:14,665 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-76971643', 'test-rec'] created succesfully
2026-10-21 16:55:14,665 - INFO - Verify VDNS record is shown in the API server
2026-10-21 16:55:14,665 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-21 16:55:14,673 - DEBUG - Requesting: http://10.0.0.190:8082/domain/73689576-5f3a-4cc7-b619-3c307fcdb943
2026-10-21 16:55:14,689 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-DNS/5c81c7a1-1f3d-46d3-8092-09a4805edd29
2026-10-21 16:55:14,701 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-DNS-record/eb18e27c-781f-4f30-b450-66f0b0a47124
2026-10-21 16:55:14,712 - INFO - Verify VDNS record is shown in the control node
2026-10-21 16:55:14,723 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:55:14,723 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-10-21 16:55:14,859 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:55:14,860 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-10-21 16:55:15,044 - DEBUG - ping: bad address 'vm1-test-alias'
2026-10-21 16:55:15,045 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-34949894 failed
2026-10-21 16:55:16,046 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:55:16,046 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-10-21 16:55:16,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:55:16,187 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-10-21 16:55:16,372 - DEBUG - ping: bad address 'vm1-test-alias'
2026-10-21 16:55:16,372 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-34949894 failed
2026-10-21 16:55:17,374 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:55:17,374 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-10-21 16:55:17,528 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:55:17,529 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-10-21 16:55:19,701 - DEBUG - PING vm1-test-alias (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=0.351 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.386 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.398 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.351/0.378/0.398 ms
2026-10-21 16:55:19,702 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-34949894 passed
2026-10-21 16:55:19,702 - DEBUG - Deleting VDNS record data: test-rec
2026-10-21 16:55:19,781 - INFO - VDNS record info: default-domain:ctest-vdns1-76971643:test-rec deleted successfully.
2026-10-21 16:55:19,782 - INFO - Deleting VM ctest-vm2-test-51889602
2026-10-21 16:55:19,905 - INFO - Deleting VM ctest-vm1-test-34949894
2026-10-21 16:55:19,992 - INFO - Deleting VN ctest-vn1-vdns-59368695
2026-10-21 16:55:20,042 - DEBUG - VN 8c70d9ac-7cc2-4a3f-8f19-5c18d6fe41db still in use: Unable to complete operation on network 8c70d9ac-7cc2-4a3f-8f19-5c18d6fe41db. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1d0c3c30-9643-439b-ad98-228b269eebd2']
2026-10-21 16:55:20,042 - WARNING - Deleting VN ctest-vn1-vdns-59368695 failed..Will retry
2026-10-21 16:55:22,083 - DEBUG - VN 8c70d9ac-7cc2-4a3f-8f19-5c18d6fe41db still in use: Unable to complete operation on network 8c70d9ac-7cc2-4a3f-8f19-5c18d6fe41db. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-54859318-6bfe-434a-8759-10b807049df0']
2026-10-21 16:55:22,084 - WARNING - Deleting VN ctest-vn1-vdns-59368695 failed..Will retry
2026-10-21 16:55:24,304 - DEBUG - Response for deleting network ()
2026-10-21 16:55:24,361 - DEBUG - Deleting VDNS Entry: ctest-vdns1-76971643
2026-10-21 16:55:24,449 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-76971643'] deleted successfully.
2026-10-21 16:55:24,449 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-21 16:55:24,456 - DEBUG - Requesting: http://10.0.0.190:8082/domain/73689576-5f3a-4cc7-b619-3c307fcdb943
2026-10-21 16:55:24,473 - DEBUG - VDNS information not found in API server
2026-10-21 16:55:24,473 - INFO - VDNS information ctest-vdns1-76971643 removed from the API Server
2026-10-21 16:55:24,480 - INFO - VDNS information ctest-vdns1-76971643 removed in the Control node
2026-10-21 16:55:24,480 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-77949996']
2026-10-21 16:55:24,745 - DEBUG - No XMPP flaps were noticed during the test
2026-10-21 16:55:24,745 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:01]
2026-10-21 16:55:24,745 - INFO - --------------------------------------------------------------------------------
2026-10-21 16:55:25,599 - INFO - Deleted project: ctest-TestvDNSBasic0-77949996, ID : 30d59b6e-1e81-49ed-aba9-86f78a7c78ec