2025-10-30 03:18:56,971 - INFO - Domain Default found not creating
2025-10-30 03:18:57,119 - INFO - Project ctest-TestvDNSBasic0-73656930 not found, creating it
2025-10-30 03:18:57,669 - INFO - Created Project:ctest-TestvDNSBasic0-73656930, ID : 07388599-c46a-45ed-b431-f44c39692a94
2025-10-30 03:18:59,131 - INFO - ================================================================================
2025-10-30 03:18:59,132 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-10-30 03:18:59,132 - 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
2025-10-30 03:19:00,419 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.131': '0', '10.20.0.254': '0'}, '10.0.0.65': {'10.20.0.254': '0', '10.20.0.131': '0'}} with
2025-10-30 03:19:00,419 - INFO - Initial checks done. Running the testcase now
2025-10-30 03:19:00,419 - INFO -
2025-10-30 03:19:01,188 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-73656930'](07388599-c46a-45ed-b431-f44c39692a94)
2025-10-30 03:19:01,244 - DEBUG - Creating VDNS : ctest-vdns1-56656317
2025-10-30 03:19:01,472 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-56656317'] created succesfully
2025-10-30 03:19:01,473 - DEBUG - Verify VDNS entry is shown in control node
2025-10-30 03:19:01,489 - DEBUG - Verify VDNS entry is shown in the API server
2025-10-30 03:19:01,489 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-30 03:19:01,795 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-30 03:19:01,826 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2be6ea5e-665d-4a78-a8ec-f940f567f06f
2025-10-30 03:19:01,844 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS/076e689f-b2f0-4d10-b84e-72c3844a7452
2025-10-30 03:19:02,562 - DEBUG - Response for create_network : {'network': {'id': '59e1b00e-e9ab-469a-b33f-23de62684a15', 'name': 'ctest-vn1-vdns-73178302', 'tenant_id': '07388599c46a45edb431f44c39692a94', 'project_id': '07388599c46a45edb431f44c39692a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-73656930', 'ctest-vn1-vdns-73178302'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 03:19:02,793 - DEBUG - Response for create_subnet : {'subnet': {'id': '927c92ea-005e-4ae7-b9a4-7a989f703868', 'name': '', 'tenant_id': '07388599c46a45edb431f44c39692a94', 'network_id': '59e1b00e-e9ab-469a-b33f-23de62684a15', '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': '07388599c46a45edb431f44c39692a94'}}
2025-10-30 03:19:02,819 - INFO - Created VN ctest-vn1-vdns-73178302
2025-10-30 03:19:02,836 - DEBUG - VN ctest-vn1-vdns-73178302 UUID is 59e1b00e-e9ab-469a-b33f-23de62684a15
2025-10-30 03:19:03,036 - DEBUG - Services list from nova: [, , , ]
2025-10-30 03:19:04,099 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4535-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4535-2)
2025-10-30 03:19:04,099 - INFO - Waiting for VM ctest-vm1-test-30035920 to be up..
2025-10-30 03:19:04,145 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-30 03:19:09,244 - DEBUG - VM is in ACTIVE state now
2025-10-30 03:19:09,244 - INFO - VM name : ctest-vm1-test-30035920
2025-10-30 03:19:09,336 - DEBUG - VM ctest-vm1-test-30035920 ID is 7383877b-c014-45f0-a1d6-c45c145f9b1a
2025-10-30 03:19:09,336 - DEBUG - VM ctest-vm1-test-30035920 launched on Node an-jenkins-deploy-platform-ansible-os-4535-2
2025-10-30 03:19:09,424 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/7383877b-c014-45f0-a1d6-c45c145f9b1a
2025-10-30 03:19:09,737 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/7383877b-c014-45f0-a1d6-c45c145f9b1a
2025-10-30 03:19:09,774 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/78d45c47-6440-4bab-8d59-7b522b9ef038
2025-10-30 03:19:12,963 - 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')
2025-10-30 03:19:12,963 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30035920 failed!
2025-10-30 03:19:12,979 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:19:17,059 - 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')
2025-10-30 03:19:17,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30035920 failed!
2025-10-30 03:19:17,075 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:19:21,153 - 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')
2025-10-30 03:19:21,153 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30035920 failed!
2025-10-30 03:19:21,168 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:19:25,254 - 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')
2025-10-30 03:19:25,254 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30035920 failed!
2025-10-30 03:19:25,270 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:19:29,349 - 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')
2025-10-30 03:19:29,349 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30035920 failed!
2025-10-30 03:19:29,365 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:19:33,443 - 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 1015ms')
2025-10-30 03:19:33,443 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30035920 failed!
2025-10-30 03:19:33,462 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:19:37,542 - 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')
2025-10-30 03:19:37,542 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30035920 failed!
2025-10-30 03:19:37,556 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:19:41,634 - 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')
2025-10-30 03:19:41,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30035920 failed!
2025-10-30 03:19:41,651 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:19:43,720 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.64 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.641/6.092/7.544/1.451 ms')
2025-10-30 03:19:43,720 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30035920 passed
2025-10-30 03:19:43,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:19:43,791 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30035920, IP 10.10.10.3, Port 22
2025-10-30 03:19:43,849 - 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': ''}
2025-10-30 03:19:43,942 - DEBUG - VM ctest-vm1-test-30035920 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 03:19:48,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:19:48,943 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30035920, IP 10.10.10.3, Port 22
2025-10-30 03:19:49,002 - 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': ''}
2025-10-30 03:19:49,085 - DEBUG - VM ctest-vm1-test-30035920 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 03:19:54,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:19:54,086 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30035920, IP 10.10.10.3, Port 22
2025-10-30 03:19:54,156 - 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': ''}
2025-10-30 03:19:54,241 - DEBUG - VM ctest-vm1-test-30035920 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 03:19:59,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:19:59,242 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30035920, IP 10.10.10.3, Port 22
2025-10-30 03:19:59,308 - 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': ''}
2025-10-30 03:19:59,396 - DEBUG - VM ctest-vm1-test-30035920 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 03:20:04,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:20:04,397 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30035920, IP 10.10.10.3, Port 22
2025-10-30 03:20:04,553 - DEBUG - VM ctest-vm1-test-30035920 is ready for SSH connections
2025-10-30 03:20:04,553 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-10-30 03:20:04,553 - DEBUG - ifconfig | grep 10.10.10.3
2025-10-30 03:20:21,985 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-10-30 03:20:21,985 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-30035920", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-10-30 03:20:21,986 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-30035920", None, socket.AF_INET6)'
2025-10-30 03:20:23,221 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-30035920, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-10-30 03:20:23,221 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-30035920
2025-10-30 03:20:25,725 - DEBUG - PING ctest-vm1-test-30035920.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-30035920.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.50 ms
64 bytes from ctest-vm1-test-30035920.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.321 ms
64 bytes from ctest-vm1-test-30035920.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.186 ms
--- ctest-vm1-test-30035920.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.186/1.336/3.502/1.532 ms
2025-10-30 03:20:25,725 - INFO - Ping to IP ctest-vm1-test-30035920 from VM ctest-vm1-test-30035920 passed
2025-10-30 03:20:25,748 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-30 03:20:25,756 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56656317@0%20AllEntriesVdnsRecordsReq
2025-10-30 03:20:25,761 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-30 03:20:25,774 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56656317@0%20AllEntriesVdnsRecordsReq
2025-10-30 03:20:25,780 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-30 03:20:25,785 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56656317@0%20AllEntriesVdnsRecordsReq
2025-10-30 03:20:25,790 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56656317:1:ctest-vm1-test-30035920:10.10.10.3', 'rec_name': 'ctest-vm1-test-30035920', '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-4535-2/dns'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-30035920.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-10-30 03:20:25,790 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56656317:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-30035920', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-30035920', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4535-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-30035920.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'}
2025-10-30 03:20:27,113 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4535-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4535-1)
2025-10-30 03:20:27,113 - INFO - Waiting for VM ctest-vm2-test-84716177 to be up..
2025-10-30 03:20:27,156 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-30 03:20:32,259 - DEBUG - VM is in ACTIVE state now
2025-10-30 03:20:32,260 - INFO - VM name : ctest-vm2-test-84716177
2025-10-30 03:20:32,364 - DEBUG - VM ctest-vm2-test-84716177 ID is bda39901-a145-4e66-ace7-d4dd8b7fc1a5
2025-10-30 03:20:32,364 - DEBUG - VM ctest-vm2-test-84716177 launched on Node an-jenkins-deploy-platform-ansible-os-4535-1
2025-10-30 03:20:32,456 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/bda39901-a145-4e66-ace7-d4dd8b7fc1a5
2025-10-30 03:20:32,468 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/f95586df-5830-4a72-9c27-4a87d8da5305
2025-10-30 03:20:35,661 - 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 1026ms')
2025-10-30 03:20:35,661 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84716177 failed!
2025-10-30 03:20:35,679 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:20:39,756 - 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 1011ms')
2025-10-30 03:20:39,756 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84716177 failed!
2025-10-30 03:20:39,770 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:20:43,848 - 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')
2025-10-30 03:20:43,848 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84716177 failed!
2025-10-30 03:20:43,864 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:20:47,949 - 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 1021ms')
2025-10-30 03:20:47,949 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84716177 failed!
2025-10-30 03:20:47,964 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:20:52,044 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2025-10-30 03:20:52,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84716177 failed!
2025-10-30 03:20:52,058 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:20:56,147 - 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')
2025-10-30 03:20:56,147 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84716177 failed!
2025-10-30 03:20:56,165 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:21:00,234 - 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 1007ms')
2025-10-30 03:21:00,234 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84716177 failed!
2025-10-30 03:21:00,251 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:21:04,326 - 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')
2025-10-30 03:21:04,326 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84716177 failed!
2025-10-30 03:21:04,342 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:21:08,425 - 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')
2025-10-30 03:21:08,425 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84716177 failed!
2025-10-30 03:21:08,442 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73656930:ctest-vn1-vdns-73178302 is 10.10.10.1 and allocation pool is NOT set
2025-10-30 03:21:10,511 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.040/3.705/5.371/1.665 ms')
2025-10-30 03:21:10,511 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84716177 passed
2025-10-30 03:21:10,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:21:10,584 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84716177, IP 10.10.10.4, Port 22
2025-10-30 03:21:10,650 - 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': ''}
2025-10-30 03:21:10,760 - DEBUG - VM ctest-vm2-test-84716177 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 03:21:15,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:21:15,761 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84716177, IP 10.10.10.4, Port 22
2025-10-30 03:21:15,826 - 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': ''}
2025-10-30 03:21:15,912 - DEBUG - VM ctest-vm2-test-84716177 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 03:21:20,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:21:20,912 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84716177, IP 10.10.10.4, Port 22
2025-10-30 03:21:20,978 - 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': ''}
2025-10-30 03:21:21,064 - DEBUG - VM ctest-vm2-test-84716177 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 03:21:26,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:21:26,066 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84716177, IP 10.10.10.4, Port 22
2025-10-30 03:21:26,134 - 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': ''}
2025-10-30 03:21:26,215 - DEBUG - VM ctest-vm2-test-84716177 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 03:21:31,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:21:31,217 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84716177, IP 10.10.10.4, Port 22
2025-10-30 03:21:31,382 - DEBUG - VM ctest-vm2-test-84716177 is ready for SSH connections
2025-10-30 03:21:31,382 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-10-30 03:21:31,382 - DEBUG - ifconfig | grep 10.10.10.4
2025-10-30 03:21:53,271 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-10-30 03:21:53,272 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84716177", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-10-30 03:21:53,272 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84716177", None, socket.AF_INET6)'
2025-10-30 03:21:55,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-84716177, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-10-30 03:21:55,739 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-84716177
2025-10-30 03:21:58,309 - DEBUG - PING ctest-vm2-test-84716177.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-84716177.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=5.86 ms
64 bytes from ctest-vm2-test-84716177.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.231 ms
64 bytes from ctest-vm2-test-84716177.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.195 ms
--- ctest-vm2-test-84716177.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.195/2.096/5.864/2.664 ms
2025-10-30 03:21:58,309 - INFO - Ping to IP ctest-vm2-test-84716177 from VM ctest-vm2-test-84716177 passed
2025-10-30 03:21:58,329 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-30 03:21:58,335 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56656317@0%20AllEntriesVdnsRecordsReq
2025-10-30 03:21:58,341 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-30 03:21:58,346 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56656317@0%20AllEntriesVdnsRecordsReq
2025-10-30 03:21:58,351 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-30 03:21:58,356 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56656317@0%20AllEntriesVdnsRecordsReq
2025-10-30 03:21:58,361 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56656317:1:ctest-vm2-test-84716177:10.10.10.4', 'rec_name': 'ctest-vm2-test-84716177', '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-4535-1/dns'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-84716177.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-10-30 03:21:58,361 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56656317:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-84716177', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-84716177', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4535-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-84716177.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'}
2025-10-30 03:21:58,361 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84716177", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-10-30 03:21:58,361 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84716177", None, socket.AF_INET6)'
2025-10-30 03:21:59,503 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-84716177, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-10-30 03:21:59,504 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-84716177
2025-10-30 03:22:02,064 - DEBUG - PING ctest-vm2-test-84716177.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-84716177.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.76 ms
64 bytes from ctest-vm2-test-84716177.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.13 ms
64 bytes from ctest-vm2-test-84716177.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.04 ms
--- ctest-vm2-test-84716177.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.043/3.314/7.762/3.145 ms
2025-10-30 03:22:02,064 - INFO - Ping to IP ctest-vm2-test-84716177 from VM ctest-vm1-test-30035920 passed
2025-10-30 03:22:02,065 - INFO - Try deleting the VDNS entry ctest-vdns1-56656317 with back ref of ipam.
2025-10-30 03:22:02,128 - DEBUG - Delete when resource still referred: ['http://10.0.0.240:8082/network-ipam/72826307-3539-4ae2-9296-32b140f9d4bc']
2025-10-30 03:22:02,128 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-10-30 03:22:02,129 - INFO - Add CNAME VDNS record for ctest-vm1-test-30035920 and verify we able to ping by alias name
2025-10-30 03:22:02,176 - DEBUG - Creating VDNS record data : test-rec
2025-10-30 03:22:02,301 - INFO - In verify_on_setup
2025-10-30 03:22:02,396 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-56656317', 'test-rec'] created succesfully
2025-10-30 03:22:02,397 - INFO - Verify VDNS record is shown in the API server
2025-10-30 03:22:02,397 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-30 03:22:02,404 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2be6ea5e-665d-4a78-a8ec-f940f567f06f
2025-10-30 03:22:02,445 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS/076e689f-b2f0-4d10-b84e-72c3844a7452
2025-10-30 03:22:02,467 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS-record/6e49b685-307a-4f75-b09d-c6b275dcd2fb
2025-10-30 03:22:02,475 - INFO - Verify VDNS record is shown in the control node
2025-10-30 03:22:02,494 - 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.65, gateway password: c0ntrail123
2025-10-30 03:22:02,494 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-10-30 03:22:03,643 - 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.65, gateway password: c0ntrail123
2025-10-30 03:22:03,644 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-10-30 03:22:04,133 - DEBUG - ping: unknown host vm1-test-alias
2025-10-30 03:22:04,133 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-30035920 failed
2025-10-30 03:22:05,133 - 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.65, gateway password: c0ntrail123
2025-10-30 03:22:05,134 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-10-30 03:22:06,251 - 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.65, gateway password: c0ntrail123
2025-10-30 03:22:06,251 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-10-30 03:22:08,802 - DEBUG - PING ctest-vm1-test-30035920.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-30035920.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.58 ms
64 bytes from ctest-vm1-test-30035920.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.218 ms
64 bytes from ctest-vm1-test-30035920.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.199 ms
--- ctest-vm1-test-30035920.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.199/1.000/2.585/1.120 ms
2025-10-30 03:22:08,802 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-30035920 passed
2025-10-30 03:22:08,803 - DEBUG - Deleting VDNS record data: test-rec
2025-10-30 03:22:08,884 - INFO - VDNS record info: default-domain:ctest-vdns1-56656317:test-rec deleted successfully.
2025-10-30 03:22:08,885 - INFO - Deleting VM ctest-vm2-test-84716177
2025-10-30 03:22:08,957 - INFO - Deleting VM ctest-vm1-test-30035920
2025-10-30 03:22:09,027 - INFO - Deleting VN ctest-vn1-vdns-73178302
2025-10-30 03:22:09,073 - DEBUG - VN 59e1b00e-e9ab-469a-b33f-23de62684a15 still in use: Unable to complete operation on network 59e1b00e-e9ab-469a-b33f-23de62684a15. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-96cf7a63-4412-4a92-b254-2f280ab5aa20']
2025-10-30 03:22:09,073 - WARNING - Deleting VN ctest-vn1-vdns-73178302 failed..Will retry
2025-10-30 03:22:11,238 - DEBUG - Response for deleting network ()
2025-10-30 03:22:11,289 - DEBUG - Deleting VDNS Entry: ctest-vdns1-56656317
2025-10-30 03:22:11,388 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-56656317'] deleted successfully.
2025-10-30 03:22:11,388 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-30 03:22:11,397 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2be6ea5e-665d-4a78-a8ec-f940f567f06f
2025-10-30 03:22:11,414 - DEBUG - VDNS information not found in API server
2025-10-30 03:22:11,414 - INFO - VDNS information ctest-vdns1-56656317 removed from the API Server
2025-10-30 03:22:11,423 - INFO - VDNS information ctest-vdns1-56656317 removed in the Control node
2025-10-30 03:22:11,423 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-73656930']
2025-10-30 03:22:12,696 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 03:22:12,696 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:13]
2025-10-30 03:22:12,697 - INFO - --------------------------------------------------------------------------------
2025-10-30 03:22:13,451 - INFO - Deleted project: ctest-TestvDNSBasic0-73656930, ID : 07388599-c46a-45ed-b431-f44c39692a94