2026-03-23 03:22:13,659 - INFO - Domain Default found not creating
2026-03-23 03:22:13,860 - INFO - Project ctest-TestvDNSBasic0-49155220 not found, creating it
2026-03-23 03:22:14,432 - INFO - Created Project:ctest-TestvDNSBasic0-49155220, ID : 3aea5710-6e03-4a74-b2ac-245599cdab41
2026-03-23 03:22:16,189 - INFO - ================================================================================
2026-03-23 03:22:16,189 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-03-23 03:22:16,190 - 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-23 03:22:17,506 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.18': '0', '10.20.0.14': '0'}, '10.0.0.65': {'10.20.0.18': '0', '10.20.0.14': '0'}} with
2026-03-23 03:22:17,506 - INFO - Initial checks done. Running the testcase now
2026-03-23 03:22:17,506 - INFO -
2026-03-23 03:22:18,340 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-49155220'](3aea5710-6e03-4a74-b2ac-245599cdab41)
2026-03-23 03:22:18,395 - DEBUG - Creating VDNS : ctest-vdns1-36714556
2026-03-23 03:22:18,635 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-36714556'] created succesfully
2026-03-23 03:22:18,635 - DEBUG - Verify VDNS entry is shown in control node
2026-03-23 03:22:18,658 - DEBUG - Verify VDNS entry is shown in the API server
2026-03-23 03:22:18,658 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-03-23 03:22:18,976 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-03-23 03:22:19,013 - DEBUG - Requesting: http://10.0.0.27:8082/domain/54adab80-1c58-45eb-8fc6-565ee3803789
2026-03-23 03:22:19,031 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/44e05b01-3d0f-4b7a-ba41-693c5599c465
2026-03-23 03:22:19,759 - DEBUG - Response for create_network : {'network': {'id': '4616b2ea-4a79-44ce-930e-cfc266fdf8c3', 'name': 'ctest-vn1-vdns-54400052', 'tenant_id': '3aea57106e034a74b2ac245599cdab41', 'project_id': '3aea57106e034a74b2ac245599cdab41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-49155220', 'ctest-vn1-vdns-54400052'], 'port_security_enabled': True, 'description': ''}}
2026-03-23 03:22:20,100 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcf5c703-7d91-4b20-a0f0-3cb9de5cd00b', 'name': '', 'tenant_id': '3aea57106e034a74b2ac245599cdab41', 'network_id': '4616b2ea-4a79-44ce-930e-cfc266fdf8c3', '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': '3aea57106e034a74b2ac245599cdab41'}}
2026-03-23 03:22:20,136 - INFO - Created VN ctest-vn1-vdns-54400052
2026-03-23 03:22:20,149 - DEBUG - VN ctest-vn1-vdns-54400052 UUID is 4616b2ea-4a79-44ce-930e-cfc266fdf8c3
2026-03-23 03:22:20,370 - DEBUG - Services list from nova: [, , , ]
2026-03-23 03:22:21,818 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5514-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5514-2)
2026-03-23 03:22:21,818 - INFO - Waiting for VM ctest-vm1-test-52397384 to be up..
2026-03-23 03:22:21,875 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-23 03:22:26,991 - DEBUG - VM is in ACTIVE state now
2026-03-23 03:22:26,991 - INFO - VM name : ctest-vm1-test-52397384
2026-03-23 03:22:27,087 - DEBUG - VM ctest-vm1-test-52397384 ID is 612120d0-2522-442e-8d87-97f6657b0ab8
2026-03-23 03:22:27,087 - DEBUG - VM ctest-vm1-test-52397384 launched on Node an-jenkins-deploy-platform-ansible-os-5514-2
2026-03-23 03:22:27,184 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/612120d0-2522-442e-8d87-97f6657b0ab8
2026-03-23 03:22:27,504 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/612120d0-2522-442e-8d87-97f6657b0ab8
2026-03-23 03:22:27,559 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/0b38f473-f5e5-43b1-a557-884bda03ffd6
2026-03-23 03:22:30,763 - 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 1032ms')
2026-03-23 03:22:30,764 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-52397384 failed!
2026-03-23 03:22:30,781 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:22:34,859 - 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-23 03:22:34,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-52397384 failed!
2026-03-23 03:22:34,874 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:22:38,954 - 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 1013ms')
2026-03-23 03:22:38,954 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-52397384 failed!
2026-03-23 03:22:38,970 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:22:43,050 - 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-23 03:22:43,050 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-52397384 failed!
2026-03-23 03:22:43,064 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:22:47,146 - 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-23 03:22:47,146 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-52397384 failed!
2026-03-23 03:22:47,160 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:22:51,243 - 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 1018ms')
2026-03-23 03:22:51,243 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-52397384 failed!
2026-03-23 03:22:51,258 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:22:55,340 - 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-23 03:22:55,340 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-52397384 failed!
2026-03-23 03:22:55,356 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:22:59,430 - 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-23 03:22:59,430 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-52397384 failed!
2026-03-23 03:22:59,445 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:23:03,528 - 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-23 03:23:03,529 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-52397384 failed!
2026-03-23 03:23:03,552 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:23:05,621 - 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=9.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.81 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.809/5.802/9.795/3.993 ms')
2026-03-23 03:23:05,621 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-52397384 passed
2026-03-23 03:23:05,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 03:23:05,697 - DEBUG - Waiting to SSH to VM ctest-vm1-test-52397384, IP 10.10.10.3, Port 22
2026-03-23 03:23:05,763 - 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-23 03:23:05,864 - DEBUG - VM ctest-vm1-test-52397384 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-23 03:23:10,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 03:23:10,865 - DEBUG - Waiting to SSH to VM ctest-vm1-test-52397384, IP 10.10.10.3, Port 22
2026-03-23 03:23:10,936 - 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-23 03:23:11,163 - DEBUG - VM ctest-vm1-test-52397384 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-23 03:23:16,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 03:23:16,164 - DEBUG - Waiting to SSH to VM ctest-vm1-test-52397384, IP 10.10.10.3, Port 22
2026-03-23 03:23:16,237 - 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-23 03:23:16,338 - DEBUG - VM ctest-vm1-test-52397384 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-23 03:23:21,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 03:23:21,339 - DEBUG - Waiting to SSH to VM ctest-vm1-test-52397384, IP 10.10.10.3, Port 22
2026-03-23 03:23:21,408 - 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-23 03:23:21,505 - DEBUG - VM ctest-vm1-test-52397384 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-23 03:23:26,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 03:23:26,506 - DEBUG - Waiting to SSH to VM ctest-vm1-test-52397384, IP 10.10.10.3, Port 22
2026-03-23 03:23:26,676 - DEBUG - VM ctest-vm1-test-52397384 is ready for SSH connections
2026-03-23 03:23:26,676 - 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
2026-03-23 03:23:26,677 - DEBUG - ifconfig | grep 10.10.10.3
2026-03-23 03:23:48,808 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-03-23 03:23:48,808 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-52397384", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-03-23 03:23:48,809 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-52397384", None, socket.AF_INET6)'
2026-03-23 03:23:51,808 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-52397384, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-03-23 03:23:51,809 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-52397384
2026-03-23 03:23:54,406 - DEBUG - PING ctest-vm1-test-52397384.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-52397384.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.92 ms
64 bytes from ctest-vm1-test-52397384.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.47 ms
64 bytes from ctest-vm1-test-52397384.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.268 ms
--- ctest-vm1-test-52397384.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.268/2.222/3.921/1.503 ms
2026-03-23 03:23:54,406 - INFO - Ping to IP ctest-vm1-test-52397384 from VM ctest-vm1-test-52397384 passed
2026-03-23 03:23:54,435 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-23 03:23:54,442 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-36714556@0%20AllEntriesVdnsRecordsReq
2026-03-23 03:23:54,449 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-23 03:23:54,455 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-36714556@0%20AllEntriesVdnsRecordsReq
2026-03-23 03:23:54,461 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-23 03:23:54,467 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-36714556@0%20AllEntriesVdnsRecordsReq
2026-03-23 03:23:54,473 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-36714556:1:ctest-vm1-test-52397384:10.10.10.3', 'rec_name': 'ctest-vm1-test-52397384', '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-5514-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-52397384.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-03-23 03:23:54,473 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-36714556:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-52397384', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-52397384', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5514-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-52397384.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-23 03:23:55,858 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5514-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5514-1)
2026-03-23 03:23:55,859 - INFO - Waiting for VM ctest-vm2-test-65899907 to be up..
2026-03-23 03:23:55,914 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-23 03:24:01,018 - DEBUG - VM is in ACTIVE state now
2026-03-23 03:24:01,018 - INFO - VM name : ctest-vm2-test-65899907
2026-03-23 03:24:01,120 - DEBUG - VM ctest-vm2-test-65899907 ID is a01347bc-6dc1-452f-916a-7f049d655ad6
2026-03-23 03:24:01,120 - DEBUG - VM ctest-vm2-test-65899907 launched on Node an-jenkins-deploy-platform-ansible-os-5514-1
2026-03-23 03:24:01,222 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/a01347bc-6dc1-452f-916a-7f049d655ad6
2026-03-23 03:24:01,233 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/54259af4-e402-4767-b7ee-66dab326cc77
2026-03-23 03:24:04,412 - 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-23 03:24:04,412 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65899907 failed!
2026-03-23 03:24:04,425 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:24:08,512 - 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-23 03:24:08,512 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65899907 failed!
2026-03-23 03:24:08,526 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:24:12,603 - 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 1013ms')
2026-03-23 03:24:12,604 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65899907 failed!
2026-03-23 03:24:12,618 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:24:16,704 - 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-23 03:24:16,704 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65899907 failed!
2026-03-23 03:24:16,719 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:24:20,801 - 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 1018ms')
2026-03-23 03:24:20,802 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65899907 failed!
2026-03-23 03:24:20,815 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:24:24,896 - 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 1018ms')
2026-03-23 03:24:24,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65899907 failed!
2026-03-23 03:24:24,911 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:24:28,990 - 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 1018ms')
2026-03-23 03:24:28,990 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65899907 failed!
2026-03-23 03:24:29,007 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:24:33,083 - 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 1018ms')
2026-03-23 03:24:33,083 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65899907 failed!
2026-03-23 03:24:33,097 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:24:37,181 - 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-23 03:24:37,181 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65899907 failed!
2026-03-23 03:24:37,196 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49155220:ctest-vn1-vdns-54400052 is 10.10.10.1 and allocation pool is NOT set
2026-03-23 03:24:39,261 - 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=8.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.22 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.217/5.412/8.608/3.195 ms')
2026-03-23 03:24:39,262 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65899907 passed
2026-03-23 03:24:39,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 03:24:39,332 - DEBUG - Waiting to SSH to VM ctest-vm2-test-65899907, IP 10.10.10.4, Port 22
2026-03-23 03:24:39,399 - 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-23 03:24:39,499 - DEBUG - VM ctest-vm2-test-65899907 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-23 03:24:44,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 03:24:44,501 - DEBUG - Waiting to SSH to VM ctest-vm2-test-65899907, IP 10.10.10.4, Port 22
2026-03-23 03:24:44,557 - 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-23 03:24:44,658 - DEBUG - VM ctest-vm2-test-65899907 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-23 03:24:49,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 03:24:49,659 - DEBUG - Waiting to SSH to VM ctest-vm2-test-65899907, IP 10.10.10.4, Port 22
2026-03-23 03:24:49,727 - 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-23 03:24:49,835 - DEBUG - VM ctest-vm2-test-65899907 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-23 03:24:54,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 03:24:54,835 - DEBUG - Waiting to SSH to VM ctest-vm2-test-65899907, IP 10.10.10.4, Port 22
2026-03-23 03:24:55,977 - 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-23 03:24:56,075 - DEBUG - VM ctest-vm2-test-65899907 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-23 03:25:01,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 03:25:01,077 - DEBUG - Waiting to SSH to VM ctest-vm2-test-65899907, IP 10.10.10.4, Port 22
2026-03-23 03:25:01,146 - 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-23 03:25:01,272 - DEBUG - VM ctest-vm2-test-65899907 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-23 03:25:06,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 03:25:06,273 - DEBUG - Waiting to SSH to VM ctest-vm2-test-65899907, IP 10.10.10.4, Port 22
2026-03-23 03:25:06,450 - DEBUG - VM ctest-vm2-test-65899907 is ready for SSH connections
2026-03-23 03:25:06,451 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2026-03-23 03:25:06,451 - DEBUG - ifconfig | grep 10.10.10.4
2026-03-23 03:25:28,921 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-03-23 03:25:28,921 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-65899907", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2026-03-23 03:25:28,921 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-65899907", None, socket.AF_INET6)'
2026-03-23 03:25:31,922 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-65899907, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2026-03-23 03:25:31,922 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-65899907
2026-03-23 03:25:34,861 - DEBUG - PING ctest-vm2-test-65899907.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-65899907.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=5.58 ms
64 bytes from ctest-vm2-test-65899907.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.96 ms
64 bytes from ctest-vm2-test-65899907.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.240 ms
--- ctest-vm2-test-65899907.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.240/2.927/5.580/2.181 ms
2026-03-23 03:25:34,861 - INFO - Ping to IP ctest-vm2-test-65899907 from VM ctest-vm2-test-65899907 passed
2026-03-23 03:25:34,889 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-23 03:25:34,896 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-36714556@0%20AllEntriesVdnsRecordsReq
2026-03-23 03:25:34,903 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-23 03:25:34,909 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-36714556@0%20AllEntriesVdnsRecordsReq
2026-03-23 03:25:34,915 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-23 03:25:34,921 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-36714556@0%20AllEntriesVdnsRecordsReq
2026-03-23 03:25:34,927 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-36714556:1:ctest-vm2-test-65899907:10.10.10.4', 'rec_name': 'ctest-vm2-test-65899907', '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-5514-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-65899907.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-03-23 03:25:34,927 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-36714556:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-65899907', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-65899907', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5514-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-65899907.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-23 03:25:34,928 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-65899907", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-03-23 03:25:34,928 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-65899907", None, socket.AF_INET6)'
2026-03-23 03:25:36,305 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-65899907, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-03-23 03:25:36,306 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-65899907
2026-03-23 03:25:38,871 - DEBUG - PING ctest-vm2-test-65899907.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-65899907.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=13.0 ms
64 bytes from ctest-vm2-test-65899907.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.39 ms
64 bytes from ctest-vm2-test-65899907.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.19 ms
--- ctest-vm2-test-65899907.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.190/5.214/13.055/5.545 ms
2026-03-23 03:25:38,872 - INFO - Ping to IP ctest-vm2-test-65899907 from VM ctest-vm1-test-52397384 passed
2026-03-23 03:25:38,872 - INFO - Try deleting the VDNS entry ctest-vdns1-36714556 with back ref of ipam.
2026-03-23 03:25:38,931 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/3d99a597-dfc0-41b7-892f-6b68e29559c2']
2026-03-23 03:25:38,931 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-03-23 03:25:38,931 - INFO - Add CNAME VDNS record for ctest-vm1-test-52397384 and verify we able to ping by alias name
2026-03-23 03:25:38,979 - DEBUG - Creating VDNS record data : test-rec
2026-03-23 03:25:39,103 - INFO - In verify_on_setup
2026-03-23 03:25:39,199 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-36714556', 'test-rec'] created succesfully
2026-03-23 03:25:39,199 - INFO - Verify VDNS record is shown in the API server
2026-03-23 03:25:39,199 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-03-23 03:25:39,208 - DEBUG - Requesting: http://10.0.0.27:8082/domain/54adab80-1c58-45eb-8fc6-565ee3803789
2026-03-23 03:25:39,226 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/44e05b01-3d0f-4b7a-ba41-693c5599c465
2026-03-23 03:25:39,238 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS-record/761f4fcc-8862-4528-95b2-2e243ccaf7a3
2026-03-23 03:25:39,247 - INFO - Verify VDNS record is shown in the control node
2026-03-23 03:25:39,267 - 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
2026-03-23 03:25:39,267 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-03-23 03:25:40,502 - 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
2026-03-23 03:25:40,502 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-03-23 03:25:41,034 - DEBUG - ping: unknown host vm1-test-alias
2026-03-23 03:25:41,035 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-52397384 failed
2026-03-23 03:25:42,035 - 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
2026-03-23 03:25:42,036 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-03-23 03:25:43,320 - 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
2026-03-23 03:25:43,320 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-03-23 03:25:45,875 - DEBUG - PING ctest-vm1-test-52397384.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-52397384.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.432 ms
64 bytes from ctest-vm1-test-52397384.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.329 ms
64 bytes from ctest-vm1-test-52397384.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.229 ms
--- ctest-vm1-test-52397384.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.229/0.330/0.432/0.082 ms
2026-03-23 03:25:45,875 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-52397384 passed
2026-03-23 03:25:45,875 - DEBUG - Deleting VDNS record data: test-rec
2026-03-23 03:25:45,967 - INFO - VDNS record info: default-domain:ctest-vdns1-36714556:test-rec deleted successfully.
2026-03-23 03:25:45,967 - INFO - Deleting VM ctest-vm2-test-65899907
2026-03-23 03:25:46,054 - INFO - Deleting VM ctest-vm1-test-52397384
2026-03-23 03:25:46,141 - INFO - Deleting VN ctest-vn1-vdns-54400052
2026-03-23 03:25:46,184 - DEBUG - VN 4616b2ea-4a79-44ce-930e-cfc266fdf8c3 still in use: Unable to complete operation on network 4616b2ea-4a79-44ce-930e-cfc266fdf8c3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-bbf26c1a-8147-4ccb-aa28-f68ed094f6ff']
2026-03-23 03:25:46,185 - WARNING - Deleting VN ctest-vn1-vdns-54400052 failed..Will retry
2026-03-23 03:25:48,369 - DEBUG - Response for deleting network ()
2026-03-23 03:25:48,448 - DEBUG - Deleting VDNS Entry: ctest-vdns1-36714556
2026-03-23 03:25:48,535 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-36714556'] deleted successfully.
2026-03-23 03:25:48,535 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-03-23 03:25:48,544 - DEBUG - Requesting: http://10.0.0.27:8082/domain/54adab80-1c58-45eb-8fc6-565ee3803789
2026-03-23 03:25:48,565 - DEBUG - VDNS information not found in API server
2026-03-23 03:25:48,565 - INFO - VDNS information ctest-vdns1-36714556 removed from the API Server
2026-03-23 03:25:48,576 - INFO - VDNS information ctest-vdns1-36714556 removed in the Control node
2026-03-23 03:25:48,576 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-49155220']
2026-03-23 03:25:49,860 - DEBUG - No XMPP flaps were noticed during the test
2026-03-23 03:25:49,861 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:33]
2026-03-23 03:25:49,861 - INFO - --------------------------------------------------------------------------------
2026-03-23 03:25:50,659 - INFO - Deleted project: ctest-TestvDNSBasic0-49155220, ID : 3aea5710-6e03-4a74-b2ac-245599cdab41