2026-03-02 03:19:06,956 - INFO - Domain Default found not creating
2026-03-02 03:19:07,121 - INFO - Project ctest-TestvDNSBasic0-11030586 not found, creating it
2026-03-02 03:19:07,609 - INFO - Created Project:ctest-TestvDNSBasic0-11030586, ID : 4ff1d1fb-041e-47f5-b98f-83f06749d343
2026-03-02 03:19:09,262 - INFO - ================================================================================
2026-03-02 03:19:09,263 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-03-02 03:19:09,263 - 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-03-02 03:19:10,541 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '3', '10.20.0.193': '3'}, '10.0.0.240': {'10.20.0.254': '3', '10.20.0.193': '0'}} with
2026-03-02 03:19:10,541 - INFO - Initial checks done. Running the testcase now
2026-03-02 03:19:10,541 - INFO -
2026-03-02 03:19:11,379 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-11030586'](4ff1d1fb-041e-47f5-b98f-83f06749d343)
2026-03-02 03:19:11,430 - DEBUG - Creating VDNS : ctest-vdns1-18128083
2026-03-02 03:19:11,646 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-18128083'] created succesfully
2026-03-02 03:19:11,646 - DEBUG - Verify VDNS entry is shown in control node
2026-03-02 03:19:11,664 - DEBUG - Verify VDNS entry is shown in the API server
2026-03-02 03:19:11,664 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-02 03:19:12,002 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-02 03:19:12,038 - DEBUG - Requesting: http://10.0.0.242:8082/domain/cc2d0805-fa5b-4698-bfcc-d7811c08231a
2026-03-02 03:19:12,060 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS/f1273a27-3a3b-40c5-b012-716ea8d4eb94
2026-03-02 03:19:12,772 - DEBUG - Response for create_network : {'network': {'id': 'b1c91461-dfab-40b9-a30e-887f23941914', 'name': 'ctest-vn1-vdns-60242692', 'tenant_id': '4ff1d1fb041e47f5b98f83f06749d343', 'project_id': '4ff1d1fb041e47f5b98f83f06749d343', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-11030586', 'ctest-vn1-vdns-60242692'], 'port_security_enabled': True, 'description': ''}}
2026-03-02 03:19:13,035 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1a9cf41-b1be-4726-b6c8-875aff112cb3', 'name': '', 'tenant_id': '4ff1d1fb041e47f5b98f83f06749d343', 'network_id': 'b1c91461-dfab-40b9-a30e-887f23941914', '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': '4ff1d1fb041e47f5b98f83f06749d343'}}
2026-03-02 03:19:13,056 - INFO - Created VN ctest-vn1-vdns-60242692
2026-03-02 03:19:13,068 - DEBUG - VN ctest-vn1-vdns-60242692 UUID is b1c91461-dfab-40b9-a30e-887f23941914
2026-03-02 03:19:13,250 - DEBUG - Services list from nova: [, , , ]
2026-03-02 03:19:14,410 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5413-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5413-1)
2026-03-02 03:19:14,410 - INFO - Waiting for VM ctest-vm1-test-31141514 to be up..
2026-03-02 03:19:14,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-02 03:19:19,541 - DEBUG - VM is in ACTIVE state now
2026-03-02 03:19:19,541 - INFO - VM name : ctest-vm1-test-31141514
2026-03-02 03:19:19,630 - DEBUG - VM ctest-vm1-test-31141514 ID is 739a2a15-3591-4301-bc2b-69a8a1e64498
2026-03-02 03:19:19,630 - DEBUG - VM ctest-vm1-test-31141514 launched on Node an-jenkins-deploy-platform-ansible-os-5413-1
2026-03-02 03:19:19,716 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/739a2a15-3591-4301-bc2b-69a8a1e64498
2026-03-02 03:19:20,054 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/739a2a15-3591-4301-bc2b-69a8a1e64498
2026-03-02 03:19:20,090 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/73c8b0b1-0cc5-45f9-9174-8b0c81d3daa7
2026-03-02 03:19:23,264 - 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 1016ms')
2026-03-02 03:19:23,265 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31141514 failed!
2026-03-02 03:19:23,278 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:19:27,358 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms')
2026-03-02 03:19:27,358 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31141514 failed!
2026-03-02 03:19:27,372 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:19:31,458 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-03-02 03:19:31,458 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31141514 failed!
2026-03-02 03:19:31,474 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:19:35,550 - 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 1016ms')
2026-03-02 03:19:35,550 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31141514 failed!
2026-03-02 03:19:35,566 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:19:39,647 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-03-02 03:19:39,647 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31141514 failed!
2026-03-02 03:19:39,661 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:19:43,740 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms')
2026-03-02 03:19:43,741 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31141514 failed!
2026-03-02 03:19:43,754 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:19:47,838 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms')
2026-03-02 03:19:47,839 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31141514 failed!
2026-03-02 03:19:47,853 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:19:51,935 - 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=5.25 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 5.245/5.245/5.245/0.000 ms')
2026-03-02 03:19:51,935 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31141514 passed
2026-03-02 03:19:52,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 03:19:52,008 - DEBUG - Waiting to SSH to VM ctest-vm1-test-31141514, IP 10.10.10.3, Port 22
2026-03-02 03:19:52,062 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-02 03:19:52,159 - DEBUG - VM ctest-vm1-test-31141514 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-02 03:19:57,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 03:19:57,160 - DEBUG - Waiting to SSH to VM ctest-vm1-test-31141514, IP 10.10.10.3, Port 22
2026-03-02 03:19:57,219 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-02 03:19:57,298 - DEBUG - VM ctest-vm1-test-31141514 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-02 03:20:02,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 03:20:02,299 - DEBUG - Waiting to SSH to VM ctest-vm1-test-31141514, IP 10.10.10.3, Port 22
2026-03-02 03:20:02,365 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-02 03:20:02,460 - DEBUG - VM ctest-vm1-test-31141514 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-02 03:20:07,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 03:20:07,461 - DEBUG - Waiting to SSH to VM ctest-vm1-test-31141514, IP 10.10.10.3, Port 22
2026-03-02 03:20:07,533 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-02 03:20:07,617 - DEBUG - VM ctest-vm1-test-31141514 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-02 03:20:12,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 03:20:12,619 - DEBUG - Waiting to SSH to VM ctest-vm1-test-31141514, IP 10.10.10.3, Port 22
2026-03-02 03:20:12,774 - DEBUG - VM ctest-vm1-test-31141514 is ready for SSH connections
2026-03-02 03:20:12,774 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-02 03:20:12,775 - DEBUG - ifconfig | grep 10.10.10.3
2026-03-02 03:20:30,180 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-03-02 03:20:30,180 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-31141514", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-02 03:20:30,180 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-31141514", None, socket.AF_INET6)'
2026-03-02 03:20:31,437 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-31141514, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-02 03:20:31,437 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-31141514
2026-03-02 03:20:33,954 - DEBUG - PING ctest-vm1-test-31141514.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-31141514.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.14 ms
64 bytes from ctest-vm1-test-31141514.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.41 ms
64 bytes from ctest-vm1-test-31141514.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.186 ms
--- ctest-vm1-test-31141514.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.186/2.251/4.149/1.622 ms
2026-03-02 03:20:33,954 - INFO - Ping to IP ctest-vm1-test-31141514 from VM ctest-vm1-test-31141514 passed
2026-03-02 03:20:33,978 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-02 03:20:33,986 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-18128083@0%20AllEntriesVdnsRecordsReq
2026-03-02 03:20:33,992 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-02 03:20:33,998 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-18128083@0%20AllEntriesVdnsRecordsReq
2026-03-02 03:20:34,004 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-02 03:20:34,010 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-18128083@0%20AllEntriesVdnsRecordsReq
2026-03-02 03:20:34,015 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-18128083:1:ctest-vm1-test-31141514:10.10.10.3', 'rec_name': 'ctest-vm1-test-31141514', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.3', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5413-1/dns'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-31141514.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-03-02 03:20:34,016 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-18128083:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-31141514', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-31141514', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5413-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-31141514.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-03-02 03:20:35,476 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5413-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5413-2)
2026-03-02 03:20:35,477 - INFO - Waiting for VM ctest-vm2-test-76321774 to be up..
2026-03-02 03:20:35,533 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-02 03:20:40,626 - DEBUG - VM is in ACTIVE state now
2026-03-02 03:20:40,626 - INFO - VM name : ctest-vm2-test-76321774
2026-03-02 03:20:40,720 - DEBUG - VM ctest-vm2-test-76321774 ID is 6cdf1ce4-31ae-41a3-86b6-b3b243fd63b2
2026-03-02 03:20:40,721 - DEBUG - VM ctest-vm2-test-76321774 launched on Node an-jenkins-deploy-platform-ansible-os-5413-2
2026-03-02 03:20:40,801 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6cdf1ce4-31ae-41a3-86b6-b3b243fd63b2
2026-03-02 03:20:40,811 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b67cc34e-dee4-4e23-aa79-132befbfbbe1
2026-03-02 03:20:43,984 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-03-02 03:20:43,984 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76321774 failed!
2026-03-02 03:20:43,999 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:20:48,077 - 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 1012ms')
2026-03-02 03:20:48,077 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76321774 failed!
2026-03-02 03:20:48,092 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:20:52,172 - 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 1016ms')
2026-03-02 03:20:52,172 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76321774 failed!
2026-03-02 03:20:52,189 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:20:56,266 - 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 1017ms')
2026-03-02 03:20:56,266 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76321774 failed!
2026-03-02 03:20:56,281 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:21:00,369 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms')
2026-03-02 03:21:00,369 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76321774 failed!
2026-03-02 03:21:00,384 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:21:04,465 - 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 1008ms')
2026-03-02 03:21:04,466 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76321774 failed!
2026-03-02 03:21:04,480 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:21:08,561 - 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 1016ms')
2026-03-02 03:21:08,561 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76321774 failed!
2026-03-02 03:21:08,578 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:21:12,653 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-03-02 03:21:12,653 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76321774 failed!
2026-03-02 03:21:12,677 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:21:16,753 - 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-03-02 03:21:16,754 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76321774 failed!
2026-03-02 03:21:16,767 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11030586:ctest-vn1-vdns-60242692 is 10.10.10.1 and allocation pool is NOT set
2026-03-02 03:21:20,847 - 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=7.39 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 7.387/7.387/7.387/0.000 ms')
2026-03-02 03:21:20,847 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76321774 passed
2026-03-02 03:21:20,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 03:21:20,916 - DEBUG - Waiting to SSH to VM ctest-vm2-test-76321774, IP 10.10.10.4, Port 22
2026-03-02 03:21:20,981 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-02 03:21:21,126 - DEBUG - VM ctest-vm2-test-76321774 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-02 03:21:26,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 03:21:26,127 - DEBUG - Waiting to SSH to VM ctest-vm2-test-76321774, IP 10.10.10.4, Port 22
2026-03-02 03:21:26,183 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-02 03:21:26,284 - DEBUG - VM ctest-vm2-test-76321774 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-02 03:21:31,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 03:21:31,285 - DEBUG - Waiting to SSH to VM ctest-vm2-test-76321774, IP 10.10.10.4, Port 22
2026-03-02 03:21:31,353 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-02 03:21:31,444 - DEBUG - VM ctest-vm2-test-76321774 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-02 03:21:36,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 03:21:36,444 - DEBUG - Waiting to SSH to VM ctest-vm2-test-76321774, IP 10.10.10.4, Port 22
2026-03-02 03:21:36,513 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-02 03:21:36,595 - DEBUG - VM ctest-vm2-test-76321774 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-02 03:21:41,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 03:21:41,596 - DEBUG - Waiting to SSH to VM ctest-vm2-test-76321774, IP 10.10.10.4, Port 22
2026-03-02 03:21:41,765 - DEBUG - VM ctest-vm2-test-76321774 is ready for SSH connections
2026-03-02 03:21:41,765 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-03-02 03:21:41,766 - DEBUG - ifconfig | grep 10.10.10.4
2026-03-02 03:22:04,333 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-03-02 03:22:04,333 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-76321774", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-03-02 03:22:04,333 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-76321774", None, socket.AF_INET6)'
2026-03-02 03:22:07,425 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-76321774, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-03-02 03:22:07,425 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-76321774
2026-03-02 03:22:10,031 - DEBUG - PING ctest-vm2-test-76321774.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-76321774.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.84 ms
64 bytes from ctest-vm2-test-76321774.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=3.91 ms
64 bytes from ctest-vm2-test-76321774.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.198 ms
--- ctest-vm2-test-76321774.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.198/2.985/4.843/2.008 ms
2026-03-02 03:22:10,032 - INFO - Ping to IP ctest-vm2-test-76321774 from VM ctest-vm2-test-76321774 passed
2026-03-02 03:22:10,054 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-02 03:22:10,060 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-18128083@0%20AllEntriesVdnsRecordsReq
2026-03-02 03:22:10,065 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-02 03:22:10,069 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-18128083@0%20AllEntriesVdnsRecordsReq
2026-03-02 03:22:10,074 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-02 03:22:10,078 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-18128083@0%20AllEntriesVdnsRecordsReq
2026-03-02 03:22:10,084 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-18128083:1:ctest-vm2-test-76321774:10.10.10.4', 'rec_name': 'ctest-vm2-test-76321774', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.4', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5413-2/dns'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-76321774.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-03-02 03:22:10,084 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-18128083:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-76321774', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-76321774', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5413-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-76321774.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-03-02 03:22:10,085 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-76321774", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-02 03:22:10,085 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-76321774", None, socket.AF_INET6)'
2026-03-02 03:22:11,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-76321774, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-02 03:22:11,204 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-76321774
2026-03-02 03:22:13,707 - DEBUG - PING ctest-vm2-test-76321774.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-76321774.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=9.63 ms
64 bytes from ctest-vm2-test-76321774.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.18 ms
64 bytes from ctest-vm2-test-76321774.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.15 ms
--- ctest-vm2-test-76321774.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.151/3.991/9.637/3.992 ms
2026-03-02 03:22:13,707 - INFO - Ping to IP ctest-vm2-test-76321774 from VM ctest-vm1-test-31141514 passed
2026-03-02 03:22:13,707 - INFO - Try deleting the VDNS entry ctest-vdns1-18128083 with back ref of ipam.
2026-03-02 03:22:13,766 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/d680fe11-9b42-4d69-a59e-7417bf757468']
2026-03-02 03:22:13,766 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-03-02 03:22:13,766 - INFO - Add CNAME VDNS record for ctest-vm1-test-31141514 and verify we able to ping by alias name
2026-03-02 03:22:13,814 - DEBUG - Creating VDNS record data : test-rec
2026-03-02 03:22:13,930 - INFO - In verify_on_setup
2026-03-02 03:22:14,026 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-18128083', 'test-rec'] created succesfully
2026-03-02 03:22:14,026 - INFO - Verify VDNS record is shown in the API server
2026-03-02 03:22:14,026 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-02 03:22:14,033 - DEBUG - Requesting: http://10.0.0.242:8082/domain/cc2d0805-fa5b-4698-bfcc-d7811c08231a
2026-03-02 03:22:14,048 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS/f1273a27-3a3b-40c5-b012-716ea8d4eb94
2026-03-02 03:22:14,060 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS-record/57e4ee1d-01c7-40d5-8651-743fb5f4cfae
2026-03-02 03:22:14,071 - INFO - Verify VDNS record is shown in the control node
2026-03-02 03:22:14,090 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-02 03:22:14,090 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-03-02 03:22:15,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-02 03:22:15,198 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-03-02 03:22:15,701 - DEBUG - ping: unknown host vm1-test-alias
2026-03-02 03:22:15,702 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-31141514 failed
2026-03-02 03:22:16,702 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-02 03:22:16,703 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-03-02 03:22:17,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-02 03:22:17,810 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-03-02 03:22:20,323 - DEBUG - PING ctest-vm1-test-31141514.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-31141514.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.199 ms
64 bytes from ctest-vm1-test-31141514.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.270 ms
64 bytes from ctest-vm1-test-31141514.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.184 ms
--- ctest-vm1-test-31141514.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.184/0.217/0.270/0.041 ms
2026-03-02 03:22:20,323 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-31141514 passed
2026-03-02 03:22:20,323 - DEBUG - Deleting VDNS record data: test-rec
2026-03-02 03:22:20,406 - INFO - VDNS record info: default-domain:ctest-vdns1-18128083:test-rec deleted successfully.
2026-03-02 03:22:20,406 - INFO - Deleting VM ctest-vm2-test-76321774
2026-03-02 03:22:20,480 - INFO - Deleting VM ctest-vm1-test-31141514
2026-03-02 03:22:20,556 - INFO - Deleting VN ctest-vn1-vdns-60242692
2026-03-02 03:22:20,597 - DEBUG - VN b1c91461-dfab-40b9-a30e-887f23941914 still in use: Unable to complete operation on network b1c91461-dfab-40b9-a30e-887f23941914. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a033519b-8336-4107-9e13-e462ba2afc1c']
2026-03-02 03:22:20,597 - WARNING - Deleting VN ctest-vn1-vdns-60242692 failed..Will retry
2026-03-02 03:22:22,980 - DEBUG - Response for deleting network ()
2026-03-02 03:22:23,076 - DEBUG - Deleting VDNS Entry: ctest-vdns1-18128083
2026-03-02 03:22:23,186 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-18128083'] deleted successfully.
2026-03-02 03:22:23,186 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-02 03:22:23,198 - DEBUG - Requesting: http://10.0.0.242:8082/domain/cc2d0805-fa5b-4698-bfcc-d7811c08231a
2026-03-02 03:22:23,235 - DEBUG - VDNS information not found in API server
2026-03-02 03:22:23,235 - INFO - VDNS information ctest-vdns1-18128083 removed from the API Server
2026-03-02 03:22:23,249 - INFO - VDNS information ctest-vdns1-18128083 removed in the Control node
2026-03-02 03:22:23,250 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-11030586']
2026-03-02 03:22:24,543 - DEBUG - No XMPP flaps were noticed during the test
2026-03-02 03:22:24,543 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:15]
2026-03-02 03:22:24,544 - INFO - --------------------------------------------------------------------------------
2026-03-02 03:22:25,539 - INFO - Deleted project: ctest-TestvDNSBasic0-11030586, ID : 4ff1d1fb-041e-47f5-b98f-83f06749d343