2026-10-20 19:13:53,115 - INFO - Domain Default found not creating
2026-10-20 19:13:53,298 - INFO - Project ctest-TestvDNSBasic0-04288038 not found, creating it
2026-10-20 19:13:53,773 - INFO - Created Project:ctest-TestvDNSBasic0-04288038, ID : c77fd824-3b46-4069-be42-4eec99d8d214
2026-10-20 19:13:55,714 - INFO - ================================================================================
2026-10-20 19:13:55,714 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-10-20 19:13:55,714 - 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-20 19:13:55,983 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-10-20 19:13:55,983 - INFO - Initial checks done. Running the testcase now
2026-10-20 19:13:55,983 - INFO -
2026-10-20 19:13:56,871 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-04288038'](c77fd824-3b46-4069-be42-4eec99d8d214)
2026-10-20 19:13:56,932 - DEBUG - Creating VDNS : ctest-vdns1-65968751
2026-10-20 19:13:57,144 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-65968751'] created succesfully
2026-10-20 19:13:57,144 - DEBUG - Verify VDNS entry is shown in control node
2026-10-20 19:13:57,152 - DEBUG - Verify VDNS entry is shown in the API server
2026-10-20 19:13:57,152 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-20 19:13:57,513 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-20 19:13:57,538 - DEBUG - Requesting: http://10.0.0.185:8082/domain/aba02298-f8c3-4f61-bc61-2d40ae2d1b7c
2026-10-20 19:13:57,551 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-DNS/e44a73e3-10b0-4579-ac6d-828c7d8ab676
2026-10-20 19:13:58,136 - DEBUG - Response for create_network : {'network': {'id': '2f27aa0e-d341-4f4a-8ea5-de2be6ed07d7', 'name': 'ctest-vn1-vdns-34312422', 'tenant_id': 'c77fd8243b464069be424eec99d8d214', 'project_id': 'c77fd8243b464069be424eec99d8d214', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-04288038', 'ctest-vn1-vdns-34312422'], 'port_security_enabled': True, 'description': ''}}
2026-10-20 19:13:58,316 - DEBUG - Response for create_subnet : {'subnet': {'id': '88c9fe94-b7cb-4716-9ac4-74096deb59e2', 'name': '', 'tenant_id': 'c77fd8243b464069be424eec99d8d214', 'network_id': '2f27aa0e-d341-4f4a-8ea5-de2be6ed07d7', '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': 'c77fd8243b464069be424eec99d8d214'}}
2026-10-20 19:13:58,335 - INFO - Created VN ctest-vn1-vdns-34312422
2026-10-20 19:13:58,397 - DEBUG - VN ctest-vn1-vdns-34312422 UUID is 2f27aa0e-d341-4f4a-8ea5-de2be6ed07d7
2026-10-20 19:13:58,606 - DEBUG - Services list from nova: [, , ]
2026-10-20 19:13:58,955 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6376-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6376-1)
2026-10-20 19:13:58,955 - INFO - Waiting for VM ctest-vm1-test-66428264 to be up..
2026-10-20 19:13:58,990 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-20 19:14:04,068 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-20 19:14:09,143 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-20 19:14:14,222 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-20 19:14:19,303 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-20 19:14:24,402 - DEBUG - VM is in ACTIVE state now
2026-10-20 19:14:24,402 - INFO - VM name : ctest-vm1-test-66428264
2026-10-20 19:14:24,504 - DEBUG - VM ctest-vm1-test-66428264 ID is d3a7f322-24d4-44a1-a914-1c2ca8aaef51
2026-10-20 19:14:24,504 - DEBUG - VM ctest-vm1-test-66428264 launched on Node cn-jenkins-deploy-platform-ansible-os-6376-1
2026-10-20 19:14:24,602 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/d3a7f322-24d4-44a1-a914-1c2ca8aaef51
2026-10-20 19:14:24,610 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/8d0df677-7cd7-4027-97b2-e036d3bc32a4
2026-10-20 19:14:27,865 - 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 1002ms')
2026-10-20 19:14:27,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-66428264 failed!
2026-10-20 19:14:27,925 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04288038:ctest-vn1-vdns-34312422 is 10.10.10.1 and allocation pool is NOT set
2026-10-20 19:14:31,987 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.06 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.063/4.063/4.063/0.000 ms')
2026-10-20 19:14:31,987 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-66428264 passed
2026-10-20 19:14:32,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:14:32,137 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66428264, IP 10.10.10.3, Port 22
2026-10-20 19:14:32,203 - 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-20 19:14:32,340 - DEBUG - VM ctest-vm1-test-66428264 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:14:37,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:14:37,341 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66428264, IP 10.10.10.3, Port 22
2026-10-20 19:14:37,396 - 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-20 19:14:37,475 - DEBUG - VM ctest-vm1-test-66428264 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:14:42,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:14:42,476 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66428264, IP 10.10.10.3, Port 22
2026-10-20 19:14:42,542 - 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-20 19:14:42,625 - DEBUG - VM ctest-vm1-test-66428264 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:14:47,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:14:47,626 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66428264, IP 10.10.10.3, Port 22
2026-10-20 19:14:47,688 - 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-20 19:14:47,769 - DEBUG - VM ctest-vm1-test-66428264 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:14:52,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:14:52,770 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66428264, IP 10.10.10.3, Port 22
2026-10-20 19:14:52,838 - 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-20 19:14:52,915 - DEBUG - VM ctest-vm1-test-66428264 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:14:57,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:14:57,915 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66428264, IP 10.10.10.3, Port 22
2026-10-20 19:14:57,983 - 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-20 19:14:58,067 - DEBUG - VM ctest-vm1-test-66428264 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:15:03,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:15:03,068 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66428264, IP 10.10.10.3, Port 22
2026-10-20 19:15:03,134 - 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-20 19:15:03,224 - DEBUG - VM ctest-vm1-test-66428264 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:15:08,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:15:08,225 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66428264, IP 10.10.10.3, Port 22
2026-10-20 19:15:08,280 - 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-20 19:15:08,361 - DEBUG - VM ctest-vm1-test-66428264 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:15:13,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:15:13,362 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66428264, IP 10.10.10.3, Port 22
2026-10-20 19:15:13,527 - DEBUG - VM ctest-vm1-test-66428264 is ready for SSH connections
2026-10-20 19:15:13,527 - 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.185, gateway password: c0ntrail123
2026-10-20 19:15:13,527 - DEBUG - ifconfig | grep 10.10.10.3
2026-10-20 19:15:15,487 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-10-20 19:15:15,488 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66428264", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123
2026-10-20 19:15:15,488 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66428264", None, socket.AF_INET6)'
2026-10-20 19:15:15,666 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-66428264, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123
2026-10-20 19:15:15,666 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-66428264
2026-10-20 19:15:17,843 - DEBUG - PING ctest-vm1-test-66428264 (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=1.486 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.416 ms
--- ctest-vm1-test-66428264 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.386/0.762/1.486 ms
2026-10-20 19:15:17,844 - INFO - Ping to IP ctest-vm1-test-66428264 from VM ctest-vm1-test-66428264 passed
2026-10-20 19:15:17,865 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-20 19:15:17,873 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=default-domain:ctest-vdns1-65968751@0%20AllEntriesVdnsRecordsReq
2026-10-20 19:15:17,881 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-65968751:1:ctest-vm1-test-66428264:10.10.10.3', 'rec_name': 'ctest-vm1-test-66428264', '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-6376-1/dns', 'rec_vm_uuid': '8d0df677-7cd7-4027-97b2-e036d3bc32a4'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-66428264.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-10-20 19:15:17,881 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-65968751:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-66428264', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-66428264', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-6376-1/dns', 'rec_vm_uuid': '8d0df677-7cd7-4027-97b2-e036d3bc32a4'} ,
Expected record data {'rec_data': 'ctest-vm1-test-66428264.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-20 19:15:18,436 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6376-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6376-1)
2026-10-20 19:15:18,436 - INFO - Waiting for VM ctest-vm2-test-70056366 to be up..
2026-10-20 19:15:18,478 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-20 19:15:23,553 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-20 19:15:28,636 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-20 19:15:33,712 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-20 19:15:38,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-20 19:15:43,883 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-20 19:15:48,963 - DEBUG - VM is in ACTIVE state now
2026-10-20 19:15:48,964 - INFO - VM name : ctest-vm2-test-70056366
2026-10-20 19:15:49,040 - DEBUG - VM ctest-vm2-test-70056366 ID is c5c0063e-4648-4063-9203-ef92146d629a
2026-10-20 19:15:49,040 - DEBUG - VM ctest-vm2-test-70056366 launched on Node cn-jenkins-deploy-platform-ansible-os-6376-1
2026-10-20 19:15:49,129 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/c5c0063e-4648-4063-9203-ef92146d629a
2026-10-20 19:15:49,139 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/3aff7668-d391-44a3-86f5-5daf9ac1abe7
2026-10-20 19:15:52,404 - 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=2 ttl=63 time=4.45 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 4.445/4.445/4.445/0.000 ms')
2026-10-20 19:15:52,404 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-70056366 passed
2026-10-20 19:15:52,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:15:52,553 - DEBUG - Waiting to SSH to VM ctest-vm2-test-70056366, IP 10.10.10.4, Port 22
2026-10-20 19:15:52,618 - 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-20 19:15:52,698 - DEBUG - VM ctest-vm2-test-70056366 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:15:57,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:15:57,699 - DEBUG - Waiting to SSH to VM ctest-vm2-test-70056366, IP 10.10.10.4, Port 22
2026-10-20 19:15:57,767 - 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-20 19:15:57,840 - DEBUG - VM ctest-vm2-test-70056366 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:16:02,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:16:02,841 - DEBUG - Waiting to SSH to VM ctest-vm2-test-70056366, IP 10.10.10.4, Port 22
2026-10-20 19:16:02,896 - 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-20 19:16:02,972 - DEBUG - VM ctest-vm2-test-70056366 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:16:07,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:16:07,973 - DEBUG - Waiting to SSH to VM ctest-vm2-test-70056366, IP 10.10.10.4, Port 22
2026-10-20 19:16:08,039 - 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-20 19:16:08,113 - DEBUG - VM ctest-vm2-test-70056366 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:16:13,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:16:13,114 - DEBUG - Waiting to SSH to VM ctest-vm2-test-70056366, IP 10.10.10.4, Port 22
2026-10-20 19:16:13,178 - 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-20 19:16:13,262 - DEBUG - VM ctest-vm2-test-70056366 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:16:18,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:16:18,263 - DEBUG - Waiting to SSH to VM ctest-vm2-test-70056366, IP 10.10.10.4, Port 22
2026-10-20 19:16:18,331 - 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-20 19:16:18,407 - DEBUG - VM ctest-vm2-test-70056366 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:16:23,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:16:23,408 - DEBUG - Waiting to SSH to VM ctest-vm2-test-70056366, IP 10.10.10.4, Port 22
2026-10-20 19:16:23,481 - 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-20 19:16:23,574 - DEBUG - VM ctest-vm2-test-70056366 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:16:28,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:16:28,576 - DEBUG - Waiting to SSH to VM ctest-vm2-test-70056366, IP 10.10.10.4, Port 22
2026-10-20 19:16:28,674 - 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-20 19:16:28,779 - DEBUG - VM ctest-vm2-test-70056366 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-20 19:16:33,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-20 19:16:33,780 - DEBUG - Waiting to SSH to VM ctest-vm2-test-70056366, IP 10.10.10.4, Port 22
2026-10-20 19:16:33,955 - DEBUG - VM ctest-vm2-test-70056366 is ready for SSH connections
2026-10-20 19:16:33,955 - 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.185, gateway password: c0ntrail123
2026-10-20 19:16:33,955 - DEBUG - ifconfig | grep 10.10.10.4
2026-10-20 19:16:35,070 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-10-20 19:16:35,070 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-70056366", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123
2026-10-20 19:16:35,070 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-70056366", None, socket.AF_INET6)'
2026-10-20 19:16:35,253 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-70056366, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123
2026-10-20 19:16:35,253 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-70056366
2026-10-20 19:16:37,442 - DEBUG - PING ctest-vm2-test-70056366 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=1.372 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.453 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.518 ms
--- ctest-vm2-test-70056366 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.453/0.781/1.372 ms
2026-10-20 19:16:37,442 - INFO - Ping to IP ctest-vm2-test-70056366 from VM ctest-vm2-test-70056366 passed
2026-10-20 19:16:37,458 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-20 19:16:37,465 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=default-domain:ctest-vdns1-65968751@0%20AllEntriesVdnsRecordsReq
2026-10-20 19:16:37,472 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-65968751:1:ctest-vm2-test-70056366:10.10.10.4', 'rec_name': 'ctest-vm2-test-70056366', '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-6376-1/dns', 'rec_vm_uuid': '3aff7668-d391-44a3-86f5-5daf9ac1abe7'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-70056366.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-10-20 19:16:37,473 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-65968751:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-70056366', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-70056366', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-6376-1/dns', 'rec_vm_uuid': '3aff7668-d391-44a3-86f5-5daf9ac1abe7'} ,
Expected record data {'rec_data': 'ctest-vm2-test-70056366.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-20 19:16:37,473 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-70056366", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123
2026-10-20 19:16:37,473 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-70056366", None, socket.AF_INET6)'
2026-10-20 19:16:37,600 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-70056366, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123
2026-10-20 19:16:37,600 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-70056366
2026-10-20 19:16:39,803 - DEBUG - PING ctest-vm2-test-70056366 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=6.970 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.017 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.888 ms
--- ctest-vm2-test-70056366 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.888/2.958/6.970 ms
2026-10-20 19:16:39,803 - INFO - Ping to IP ctest-vm2-test-70056366 from VM ctest-vm1-test-66428264 passed
2026-10-20 19:16:39,804 - INFO - Try deleting the VDNS entry ctest-vdns1-65968751 with back ref of ipam.
2026-10-20 19:16:39,860 - DEBUG - Delete when resource still referred: ['http://10.0.0.185:8082/network-ipam/504fb40c-edcd-4379-a76d-4d3acf452221']
2026-10-20 19:16:39,860 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-10-20 19:16:39,860 - INFO - Add CNAME VDNS record for ctest-vm1-test-66428264 and verify we able to ping by alias name
2026-10-20 19:16:39,908 - DEBUG - Creating VDNS record data : test-rec
2026-10-20 19:16:40,026 - INFO - In verify_on_setup
2026-10-20 19:16:40,153 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-65968751', 'test-rec'] created succesfully
2026-10-20 19:16:40,153 - INFO - Verify VDNS record is shown in the API server
2026-10-20 19:16:40,153 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-20 19:16:40,163 - DEBUG - Requesting: http://10.0.0.185:8082/domain/aba02298-f8c3-4f61-bc61-2d40ae2d1b7c
2026-10-20 19:16:40,271 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-DNS/e44a73e3-10b0-4579-ac6d-828c7d8ab676
2026-10-20 19:16:40,278 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-DNS-record/316765a5-f552-431b-b52b-d8d2a7d76c9d
2026-10-20 19:16:40,283 - INFO - Verify VDNS record is shown in the control node
2026-10-20 19:16:40,290 - 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.185, gateway password: c0ntrail123
2026-10-20 19:16:40,290 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-10-20 19:16:40,402 - 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.185, gateway password: c0ntrail123
2026-10-20 19:16:40,402 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-10-20 19:16:40,566 - DEBUG - ping: bad address 'vm1-test-alias'
2026-10-20 19:16:40,566 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-66428264 failed
2026-10-20 19:16:41,568 - 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.185, gateway password: c0ntrail123
2026-10-20 19:16:41,568 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-10-20 19:16:41,748 - 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.185, gateway password: c0ntrail123
2026-10-20 19:16:41,748 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-10-20 19:16:41,924 - DEBUG - ping: bad address 'vm1-test-alias'
2026-10-20 19:16:41,924 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-66428264 failed
2026-10-20 19:16:42,925 - 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.185, gateway password: c0ntrail123
2026-10-20 19:16:42,925 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-10-20 19:16:43,045 - 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.185, gateway password: c0ntrail123
2026-10-20 19:16:43,045 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-10-20 19:16:45,236 - 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.434 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.565 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.438 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.434/0.479/0.565 ms
2026-10-20 19:16:45,236 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-66428264 passed
2026-10-20 19:16:45,236 - DEBUG - Deleting VDNS record data: test-rec
2026-10-20 19:16:45,312 - INFO - VDNS record info: default-domain:ctest-vdns1-65968751:test-rec deleted successfully.
2026-10-20 19:16:45,313 - INFO - Deleting VM ctest-vm2-test-70056366
2026-10-20 19:16:45,417 - INFO - Deleting VM ctest-vm1-test-66428264
2026-10-20 19:16:45,506 - INFO - Deleting VN ctest-vn1-vdns-34312422
2026-10-20 19:16:45,545 - DEBUG - VN 2f27aa0e-d341-4f4a-8ea5-de2be6ed07d7 still in use: Unable to complete operation on network 2f27aa0e-d341-4f4a-8ea5-de2be6ed07d7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-215b6430-e6ae-4008-9849-354e29b88ec8']
2026-10-20 19:16:45,545 - WARNING - Deleting VN ctest-vn1-vdns-34312422 failed..Will retry
2026-10-20 19:16:47,584 - DEBUG - VN 2f27aa0e-d341-4f4a-8ea5-de2be6ed07d7 still in use: Unable to complete operation on network 2f27aa0e-d341-4f4a-8ea5-de2be6ed07d7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f09049a1-cc71-433f-a0f7-98d3c3acd2e9']
2026-10-20 19:16:47,584 - WARNING - Deleting VN ctest-vn1-vdns-34312422 failed..Will retry
2026-10-20 19:16:49,798 - DEBUG - Response for deleting network ()
2026-10-20 19:16:49,854 - DEBUG - Deleting VDNS Entry: ctest-vdns1-65968751
2026-10-20 19:16:49,940 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-65968751'] deleted successfully.
2026-10-20 19:16:49,940 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-20 19:16:49,947 - DEBUG - Requesting: http://10.0.0.185:8082/domain/aba02298-f8c3-4f61-bc61-2d40ae2d1b7c
2026-10-20 19:16:49,962 - DEBUG - VDNS information not found in API server
2026-10-20 19:16:49,962 - INFO - VDNS information ctest-vdns1-65968751 removed from the API Server
2026-10-20 19:16:49,969 - INFO - VDNS information ctest-vdns1-65968751 removed in the Control node
2026-10-20 19:16:49,969 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-04288038']
2026-10-20 19:16:50,255 - DEBUG - No XMPP flaps were noticed during the test
2026-10-20 19:16:50,255 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:02:55]
2026-10-20 19:16:50,255 - INFO - --------------------------------------------------------------------------------
2026-10-20 19:16:51,071 - INFO - Deleted project: ctest-TestvDNSBasic0-04288038, ID : c77fd824-3b46-4069-be42-4eec99d8d214