2026-10-21 12:09:29,127 - INFO - Domain Default found not creating 2026-10-21 12:09:29,316 - INFO - Project ctest-TestvDNSBasic0-10150083 not found, creating it 2026-10-21 12:09:29,850 - INFO - Created Project:ctest-TestvDNSBasic0-10150083, ID : 16bc7fed-66a4-4002-983b-ce7e328f1843 2026-10-21 12:09:31,704 - INFO - ================================================================================ 2026-10-21 12:09:31,704 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-10-21 12:09:31,704 - 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 12:09:31,964 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with 2026-10-21 12:09:31,965 - INFO - Initial checks done. Running the testcase now 2026-10-21 12:09:31,965 - INFO - 2026-10-21 12:09:32,869 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-10150083'](16bc7fed-66a4-4002-983b-ce7e328f1843) 2026-10-21 12:09:32,925 - DEBUG - Creating VDNS : ctest-vdns1-27892587 2026-10-21 12:09:33,141 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-27892587'] created succesfully 2026-10-21 12:09:33,164 - DEBUG - Verify VDNS entry is shown in control node 2026-10-21 12:09:33,174 - DEBUG - Verify VDNS entry is shown in the API server 2026-10-21 12:09:33,174 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-21 12:09:33,557 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-21 12:09:33,593 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a83f978d-94a2-4908-8efe-835cbd47614f 2026-10-21 12:09:33,607 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-DNS/5c73bf87-74c3-4074-b8f3-d28a361f782f 2026-10-21 12:09:34,206 - DEBUG - Response for create_network : {'network': {'id': 'd79c8a10-f6a5-43dd-a5fb-a9e40b741a05', 'name': 'ctest-vn1-vdns-36283739', 'tenant_id': '16bc7fed66a44002983bce7e328f1843', 'project_id': '16bc7fed66a44002983bce7e328f1843', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-10150083', 'ctest-vn1-vdns-36283739'], 'port_security_enabled': True, 'description': ''}} 2026-10-21 12:09:34,441 - DEBUG - Response for create_subnet : {'subnet': {'id': '7dea742f-36a2-428e-8043-fcd7af11cb8e', 'name': '', 'tenant_id': '16bc7fed66a44002983bce7e328f1843', 'network_id': 'd79c8a10-f6a5-43dd-a5fb-a9e40b741a05', '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': '16bc7fed66a44002983bce7e328f1843'}} 2026-10-21 12:09:34,459 - INFO - Created VN ctest-vn1-vdns-36283739 2026-10-21 12:09:34,513 - DEBUG - VN ctest-vn1-vdns-36283739 UUID is d79c8a10-f6a5-43dd-a5fb-a9e40b741a05 2026-10-21 12:09:34,730 - DEBUG - Services list from nova: [, , ] 2026-10-21 12:09:35,091 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6377-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6377-1) 2026-10-21 12:09:35,092 - INFO - Waiting for VM ctest-vm1-test-99543283 to be up.. 2026-10-21 12:09:35,139 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 12:09:40,287 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 12:09:45,367 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 12:09:50,447 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 12:09:55,545 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 12:10:00,631 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 12:10:05,733 - DEBUG - VM is in ACTIVE state now 2026-10-21 12:10:05,733 - INFO - VM name : ctest-vm1-test-99543283 2026-10-21 12:10:05,825 - DEBUG - VM ctest-vm1-test-99543283 ID is bfeac20d-2e2e-4478-aa43-b0ab2a174022 2026-10-21 12:10:05,826 - DEBUG - VM ctest-vm1-test-99543283 launched on Node cn-jenkins-deploy-platform-ansible-os-6377-1 2026-10-21 12:10:05,914 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/bfeac20d-2e2e-4478-aa43-b0ab2a174022 2026-10-21 12:10:05,925 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/5a320fff-f5d7-416f-8c62-ee720b978f81 2026-10-21 12:10:09,203 - 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.55 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 4.548/4.548/4.548/0.000 ms') 2026-10-21 12:10:09,203 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-99543283 passed 2026-10-21 12:10:09,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:10:09,357 - DEBUG - Waiting to SSH to VM ctest-vm1-test-99543283, IP 10.10.10.3, Port 22 2026-10-21 12:10:09,424 - 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 12:10:09,507 - DEBUG - VM ctest-vm1-test-99543283 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:10:14,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:10:14,508 - DEBUG - Waiting to SSH to VM ctest-vm1-test-99543283, IP 10.10.10.3, Port 22 2026-10-21 12:10:14,579 - 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 12:10:14,670 - DEBUG - VM ctest-vm1-test-99543283 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:10:19,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:10:19,671 - DEBUG - Waiting to SSH to VM ctest-vm1-test-99543283, IP 10.10.10.3, Port 22 2026-10-21 12:10:19,730 - 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 12:10:19,856 - DEBUG - VM ctest-vm1-test-99543283 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:10:24,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:10:24,859 - DEBUG - Waiting to SSH to VM ctest-vm1-test-99543283, IP 10.10.10.3, Port 22 2026-10-21 12:10:24,929 - 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 12:10:25,087 - DEBUG - VM ctest-vm1-test-99543283 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:10:30,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:10:30,088 - DEBUG - Waiting to SSH to VM ctest-vm1-test-99543283, IP 10.10.10.3, Port 22 2026-10-21 12:10:30,159 - 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 12:10:30,258 - DEBUG - VM ctest-vm1-test-99543283 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:10:35,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:10:35,259 - DEBUG - Waiting to SSH to VM ctest-vm1-test-99543283, IP 10.10.10.3, Port 22 2026-10-21 12:10:35,328 - 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 12:10:35,418 - DEBUG - VM ctest-vm1-test-99543283 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:10:40,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:10:40,419 - DEBUG - Waiting to SSH to VM ctest-vm1-test-99543283, IP 10.10.10.3, Port 22 2026-10-21 12:10:40,487 - 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 12:10:40,588 - DEBUG - VM ctest-vm1-test-99543283 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:10:45,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:10:45,589 - DEBUG - Waiting to SSH to VM ctest-vm1-test-99543283, IP 10.10.10.3, Port 22 2026-10-21 12:10:45,659 - 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 12:10:45,745 - DEBUG - VM ctest-vm1-test-99543283 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:10:50,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:10:50,746 - DEBUG - Waiting to SSH to VM ctest-vm1-test-99543283, IP 10.10.10.3, Port 22 2026-10-21 12:10:50,923 - DEBUG - VM ctest-vm1-test-99543283 is ready for SSH connections 2026-10-21 12:10:50,924 - 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-21 12:10:50,924 - DEBUG - ifconfig | grep 10.10.10.3 2026-10-21 12:10:53,066 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-10-21 12:10:53,067 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-99543283", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-21 12:10:53,067 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-99543283", None, socket.AF_INET6)' 2026-10-21 12:10:53,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-99543283, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-21 12:10:53,273 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-99543283 2026-10-21 12:10:55,463 - DEBUG - PING ctest-vm1-test-99543283 (10.10.10.3): 56 data bytes 64 bytes from 10.10.10.3: seq=0 ttl=64 time=1.534 ms 64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.479 ms 64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.382 ms --- ctest-vm1-test-99543283 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.382/0.798/1.534 ms 2026-10-21 12:10:55,463 - INFO - Ping to IP ctest-vm1-test-99543283 from VM ctest-vm1-test-99543283 passed 2026-10-21 12:10:55,486 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-10-21 12:10:55,497 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=default-domain:ctest-vdns1-27892587@0%20AllEntriesVdnsRecordsReq 2026-10-21 12:10:55,510 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-27892587:1:ctest-vm1-test-99543283:10.10.10.3', 'rec_name': 'ctest-vm1-test-99543283', '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-6377-1/dns', 'rec_vm_uuid': '5a320fff-f5d7-416f-8c62-ee720b978f81'} , Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-99543283.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-10-21 12:10:55,510 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-27892587:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-99543283', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-99543283', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-6377-1/dns', 'rec_vm_uuid': '5a320fff-f5d7-416f-8c62-ee720b978f81'} , Expected record data {'rec_data': 'ctest-vm1-test-99543283.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 12:10:56,175 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6377-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6377-1) 2026-10-21 12:10:56,175 - INFO - Waiting for VM ctest-vm2-test-87387949 to be up.. 2026-10-21 12:10:56,222 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 12:11:01,313 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 12:11:06,405 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 12:11:11,486 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 12:11:16,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 12:11:21,657 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-21 12:11:26,756 - DEBUG - VM is in ACTIVE state now 2026-10-21 12:11:26,757 - INFO - VM name : ctest-vm2-test-87387949 2026-10-21 12:11:26,847 - DEBUG - VM ctest-vm2-test-87387949 ID is 6c982726-15fb-4ef9-9c73-84ccaaa2a103 2026-10-21 12:11:26,847 - DEBUG - VM ctest-vm2-test-87387949 launched on Node cn-jenkins-deploy-platform-ansible-os-6377-1 2026-10-21 12:11:26,930 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/6c982726-15fb-4ef9-9c73-84ccaaa2a103 2026-10-21 12:11:26,943 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/37fa0ee6-cffe-45e0-90df-73bc5c0ed7ff 2026-10-21 12:11:30,227 - 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 1024ms') 2026-10-21 12:11:30,228 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-87387949 failed! 2026-10-21 12:11:30,285 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10150083:ctest-vn1-vdns-36283739 is 10.10.10.1 and allocation pool is NOT set 2026-10-21 12:11:32,351 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.521 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.521/2.256/3.991/1.735 ms') 2026-10-21 12:11:32,351 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-87387949 passed 2026-10-21 12:11:32,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:11:32,505 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87387949, IP 10.10.10.4, Port 22 2026-10-21 12:11:32,571 - 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 12:11:32,651 - DEBUG - VM ctest-vm2-test-87387949 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:11:37,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:11:37,652 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87387949, IP 10.10.10.4, Port 22 2026-10-21 12:11:37,720 - 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 12:11:37,804 - DEBUG - VM ctest-vm2-test-87387949 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:11:42,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:11:42,805 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87387949, IP 10.10.10.4, Port 22 2026-10-21 12:11:42,871 - 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 12:11:42,953 - DEBUG - VM ctest-vm2-test-87387949 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:11:47,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:11:47,954 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87387949, IP 10.10.10.4, Port 22 2026-10-21 12:11:48,014 - 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 12:11:48,094 - DEBUG - VM ctest-vm2-test-87387949 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:11:53,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:11:53,094 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87387949, IP 10.10.10.4, Port 22 2026-10-21 12:11:53,163 - 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 12:11:53,248 - DEBUG - VM ctest-vm2-test-87387949 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:11:58,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:11:58,249 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87387949, IP 10.10.10.4, Port 22 2026-10-21 12:11:58,315 - 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 12:11:58,399 - DEBUG - VM ctest-vm2-test-87387949 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:12:03,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:12:03,401 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87387949, IP 10.10.10.4, Port 22 2026-10-21 12:12:03,468 - 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 12:12:03,558 - DEBUG - VM ctest-vm2-test-87387949 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:12:08,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:12:08,559 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87387949, IP 10.10.10.4, Port 22 2026-10-21 12:12:08,627 - 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 12:12:08,714 - DEBUG - VM ctest-vm2-test-87387949 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-21 12:12:13,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-21 12:12:13,715 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87387949, IP 10.10.10.4, Port 22 2026-10-21 12:12:13,891 - DEBUG - VM ctest-vm2-test-87387949 is ready for SSH connections 2026-10-21 12:12:13,891 - 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-21 12:12:13,892 - DEBUG - ifconfig | grep 10.10.10.4 2026-10-21 12:12:15,046 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-10-21 12:12:15,046 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-87387949", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-21 12:12:15,047 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-87387949", None, socket.AF_INET6)' 2026-10-21 12:12:15,238 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-87387949, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-21 12:12:15,238 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-87387949 2026-10-21 12:12:17,424 - DEBUG - PING ctest-vm2-test-87387949 (10.10.10.4): 56 data bytes 64 bytes from 10.10.10.4: seq=0 ttl=64 time=1.550 ms 64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.410 ms 64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.342 ms --- ctest-vm2-test-87387949 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.342/0.767/1.550 ms 2026-10-21 12:12:17,426 - INFO - Ping to IP ctest-vm2-test-87387949 from VM ctest-vm2-test-87387949 passed 2026-10-21 12:12:17,441 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-10-21 12:12:17,448 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=default-domain:ctest-vdns1-27892587@0%20AllEntriesVdnsRecordsReq 2026-10-21 12:12:17,457 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-27892587:1:ctest-vm2-test-87387949:10.10.10.4', 'rec_name': 'ctest-vm2-test-87387949', '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-6377-1/dns', 'rec_vm_uuid': '37fa0ee6-cffe-45e0-90df-73bc5c0ed7ff'} , Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-87387949.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-10-21 12:12:17,457 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-27892587:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-87387949', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-87387949', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-6377-1/dns', 'rec_vm_uuid': '37fa0ee6-cffe-45e0-90df-73bc5c0ed7ff'} , Expected record data {'rec_data': 'ctest-vm2-test-87387949.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 12:12:17,457 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-87387949", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-21 12:12:17,457 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-87387949", None, socket.AF_INET6)' 2026-10-21 12:12:17,597 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-87387949, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-21 12:12:17,597 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-87387949 2026-10-21 12:12:19,773 - DEBUG - PING ctest-vm2-test-87387949 (10.10.10.4): 56 data bytes 64 bytes from 10.10.10.4: seq=0 ttl=64 time=6.969 ms 64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.111 ms 64 bytes from 10.10.10.4: seq=2 ttl=64 time=1.002 ms --- ctest-vm2-test-87387949 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.002/3.027/6.969 ms 2026-10-21 12:12:19,773 - INFO - Ping to IP ctest-vm2-test-87387949 from VM ctest-vm1-test-99543283 passed 2026-10-21 12:12:19,774 - INFO - Try deleting the VDNS entry ctest-vdns1-27892587 with back ref of ipam. 2026-10-21 12:12:19,833 - DEBUG - Delete when resource still referred: ['http://10.0.0.185:8082/network-ipam/1b6aa006-b876-4d92-b6ad-1d91851f2e32'] 2026-10-21 12:12:19,833 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-10-21 12:12:19,833 - INFO - Add CNAME VDNS record for ctest-vm1-test-99543283 and verify we able to ping by alias name 2026-10-21 12:12:19,881 - DEBUG - Creating VDNS record data : test-rec 2026-10-21 12:12:19,997 - INFO - In verify_on_setup 2026-10-21 12:12:20,093 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-27892587', 'test-rec'] created succesfully 2026-10-21 12:12:20,093 - INFO - Verify VDNS record is shown in the API server 2026-10-21 12:12:20,093 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-21 12:12:20,101 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a83f978d-94a2-4908-8efe-835cbd47614f 2026-10-21 12:12:20,115 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-DNS/5c73bf87-74c3-4074-b8f3-d28a361f782f 2026-10-21 12:12:20,125 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-DNS-record/8145e702-f161-4311-8112-bcafc1c12de3 2026-10-21 12:12:20,133 - INFO - Verify VDNS record is shown in the control node 2026-10-21 12:12:20,141 - 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-21 12:12:20,141 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-10-21 12:12:20,267 - 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-21 12:12:20,267 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-10-21 12:12:20,441 - DEBUG - ping: bad address 'vm1-test-alias' 2026-10-21 12:12:20,441 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-99543283 failed 2026-10-21 12:12:21,442 - 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-21 12:12:21,442 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-10-21 12:12:21,572 - 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-21 12:12:21,572 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-10-21 12:12:21,745 - DEBUG - ping: bad address 'vm1-test-alias' 2026-10-21 12:12:21,745 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-99543283 failed 2026-10-21 12:12:22,746 - 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-21 12:12:22,746 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-10-21 12:12:22,874 - 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-21 12:12:22,874 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-10-21 12:12:25,062 - 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.476 ms --- vm1-test-alias ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.351/0.404/0.476 ms 2026-10-21 12:12:25,062 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-99543283 passed 2026-10-21 12:12:25,063 - DEBUG - Deleting VDNS record data: test-rec 2026-10-21 12:12:25,137 - INFO - VDNS record info: default-domain:ctest-vdns1-27892587:test-rec deleted successfully. 2026-10-21 12:12:25,137 - INFO - Deleting VM ctest-vm2-test-87387949 2026-10-21 12:12:25,223 - INFO - Deleting VM ctest-vm1-test-99543283 2026-10-21 12:12:25,305 - INFO - Deleting VN ctest-vn1-vdns-36283739 2026-10-21 12:12:25,348 - DEBUG - VN d79c8a10-f6a5-43dd-a5fb-a9e40b741a05 still in use: Unable to complete operation on network d79c8a10-f6a5-43dd-a5fb-a9e40b741a05. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee81f224-ce35-4e55-a1cb-20607b8dfa44'] 2026-10-21 12:12:25,348 - WARNING - Deleting VN ctest-vn1-vdns-36283739 failed..Will retry 2026-10-21 12:12:27,386 - DEBUG - VN d79c8a10-f6a5-43dd-a5fb-a9e40b741a05 still in use: Unable to complete operation on network d79c8a10-f6a5-43dd-a5fb-a9e40b741a05. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9c525e84-6c22-482f-9de5-d9969ed45874'] 2026-10-21 12:12:27,386 - WARNING - Deleting VN ctest-vn1-vdns-36283739 failed..Will retry 2026-10-21 12:12:29,694 - DEBUG - Response for deleting network () 2026-10-21 12:12:29,747 - DEBUG - Deleting VDNS Entry: ctest-vdns1-27892587 2026-10-21 12:12:29,829 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-27892587'] deleted successfully. 2026-10-21 12:12:29,829 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-21 12:12:29,836 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a83f978d-94a2-4908-8efe-835cbd47614f 2026-10-21 12:12:29,850 - DEBUG - VDNS information not found in API server 2026-10-21 12:12:29,850 - INFO - VDNS information ctest-vdns1-27892587 removed from the API Server 2026-10-21 12:12:29,856 - INFO - VDNS information ctest-vdns1-27892587 removed in the Control node 2026-10-21 12:12:29,856 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-10150083'] 2026-10-21 12:12:30,112 - DEBUG - No XMPP flaps were noticed during the test
2026-10-21 12:12:30,112 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:02:59]
2026-10-21 12:12:30,112 - INFO - -------------------------------------------------------------------------------- 2026-10-21 12:12:30,940 - INFO - Deleted project: ctest-TestvDNSBasic0-10150083, ID : 16bc7fed-66a4-4002-983b-ce7e328f1843