2026-05-14 03:42:09,137 - INFO - Domain Default found not creating
2026-05-14 03:42:09,340 - INFO - Project ctest-TestvDNSBasic0-01106288 not found, creating it
2026-05-14 03:42:09,929 - INFO - Created Project:ctest-TestvDNSBasic0-01106288, ID : e6a00a59-b51e-43d5-9280-123869a2e587
2026-05-14 03:42:11,755 - INFO - ================================================================================
2026-05-14 03:42:11,756 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-05-14 03:42:11,756 - 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-05-14 03:42:13,048 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.18': '0', '10.20.0.129': '0'}} with
2026-05-14 03:42:13,048 - INFO - Initial checks done. Running the testcase now
2026-05-14 03:42:13,048 - INFO -
2026-05-14 03:42:13,918 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-01106288'](e6a00a59-b51e-43d5-9280-123869a2e587)
2026-05-14 03:42:13,983 - DEBUG - Creating VDNS : ctest-vdns1-77280310
2026-05-14 03:42:14,239 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-77280310'] created succesfully
2026-05-14 03:42:14,239 - DEBUG - Verify VDNS entry is shown in control node
2026-05-14 03:42:14,257 - DEBUG - Verify VDNS entry is shown in the API server
2026-05-14 03:42:14,257 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-05-14 03:42:14,601 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-05-14 03:42:14,640 - DEBUG - Requesting: http://10.0.0.27:8082/domain/50f581a9-730f-4c54-9cc2-74fc8369ab40
2026-05-14 03:42:14,662 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/e6fa4e49-74af-410c-a3a0-8391e0c9ed5f
2026-05-14 03:42:15,453 - DEBUG - Response for create_network : {'network': {'id': '7f2cd382-5a4e-4937-a0b3-083cb79d0566', 'name': 'ctest-vn1-vdns-17453580', 'tenant_id': 'e6a00a59b51e43d59280123869a2e587', 'project_id': 'e6a00a59b51e43d59280123869a2e587', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-01106288', 'ctest-vn1-vdns-17453580'], 'port_security_enabled': True, 'description': ''}}
2026-05-14 03:42:15,772 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d10f1c7-b7cb-4986-a8fd-9007c69976ba', 'name': '', 'tenant_id': 'e6a00a59b51e43d59280123869a2e587', 'network_id': '7f2cd382-5a4e-4937-a0b3-083cb79d0566', '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': 'e6a00a59b51e43d59280123869a2e587'}}
2026-05-14 03:42:15,807 - INFO - Created VN ctest-vn1-vdns-17453580
2026-05-14 03:42:15,823 - DEBUG - VN ctest-vn1-vdns-17453580 UUID is 7f2cd382-5a4e-4937-a0b3-083cb79d0566
2026-05-14 03:42:16,209 - DEBUG - Services list from nova: [, , , ]
2026-05-14 03:42:17,505 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5780-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5780-1)
2026-05-14 03:42:17,505 - INFO - Waiting for VM ctest-vm1-test-77093644 to be up..
2026-05-14 03:42:17,555 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-14 03:42:22,658 - DEBUG - VM is in ACTIVE state now
2026-05-14 03:42:22,658 - INFO - VM name : ctest-vm1-test-77093644
2026-05-14 03:42:22,763 - DEBUG - VM ctest-vm1-test-77093644 ID is ae665e4a-df81-4234-bb40-5f85bc32f565
2026-05-14 03:42:22,764 - DEBUG - VM ctest-vm1-test-77093644 launched on Node an-jenkins-deploy-platform-ansible-os-5780-1
2026-05-14 03:42:22,879 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/ae665e4a-df81-4234-bb40-5f85bc32f565
2026-05-14 03:42:23,236 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/ae665e4a-df81-4234-bb40-5f85bc32f565
2026-05-14 03:42:23,292 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/2c8e968b-d444-45b7-810e-6f118f8e6d1d
2026-05-14 03:42:26,479 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1004ms')
2026-05-14 03:42:26,479 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-77093644 failed!
2026-05-14 03:42:26,497 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:42:30,571 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms')
2026-05-14 03:42:30,571 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-77093644 failed!
2026-05-14 03:42:30,589 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:42:34,672 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-05-14 03:42:34,672 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-77093644 failed!
2026-05-14 03:42:34,689 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:42:38,763 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2026-05-14 03:42:38,763 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-77093644 failed!
2026-05-14 03:42:38,787 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:42:42,864 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-05-14 03:42:42,864 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-77093644 failed!
2026-05-14 03:42:42,883 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:42:46,954 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-05-14 03:42:46,955 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-77093644 failed!
2026-05-14 03:42:46,971 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:42:51,058 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-05-14 03:42:51,058 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-77093644 failed!
2026-05-14 03:42:51,075 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:42:55,151 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-05-14 03:42:55,151 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-77093644 failed!
2026-05-14 03:42:55,171 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:42:59,246 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-05-14 03:42:59,246 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-77093644 failed!
2026-05-14 03:42:59,264 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:43:01,337 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=6.95 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.13 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.133/4.041/6.950/2.908 ms')
2026-05-14 03:43:01,337 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-77093644 passed
2026-05-14 03:43:01,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 03:43:01,414 - DEBUG - Waiting to SSH to VM ctest-vm1-test-77093644, IP 10.10.10.3, Port 22
2026-05-14 03:43:01,473 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-14 03:43:01,580 - DEBUG - VM ctest-vm1-test-77093644 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-14 03:43:06,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 03:43:06,581 - DEBUG - Waiting to SSH to VM ctest-vm1-test-77093644, IP 10.10.10.3, Port 22
2026-05-14 03:43:06,647 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-14 03:43:06,743 - DEBUG - VM ctest-vm1-test-77093644 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-14 03:43:11,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 03:43:11,744 - DEBUG - Waiting to SSH to VM ctest-vm1-test-77093644, IP 10.10.10.3, Port 22
2026-05-14 03:43:11,812 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-14 03:43:11,908 - DEBUG - VM ctest-vm1-test-77093644 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-14 03:43:16,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 03:43:16,910 - DEBUG - Waiting to SSH to VM ctest-vm1-test-77093644, IP 10.10.10.3, Port 22
2026-05-14 03:43:16,979 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-14 03:43:17,073 - DEBUG - VM ctest-vm1-test-77093644 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-14 03:43:22,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 03:43:22,074 - DEBUG - Waiting to SSH to VM ctest-vm1-test-77093644, IP 10.10.10.3, Port 22
2026-05-14 03:43:22,247 - DEBUG - VM ctest-vm1-test-77093644 is ready for SSH connections
2026-05-14 03:43:22,247 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-05-14 03:43:22,247 - DEBUG - ifconfig | grep 10.10.10.3
2026-05-14 03:43:43,758 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-05-14 03:43:43,759 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-77093644", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-05-14 03:43:43,759 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-77093644", None, socket.AF_INET6)'
2026-05-14 03:43:45,868 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-77093644, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-05-14 03:43:45,868 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-77093644
2026-05-14 03:43:48,419 - DEBUG - PING ctest-vm1-test-77093644.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-77093644.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.69 ms
64 bytes from ctest-vm1-test-77093644.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.66 ms
64 bytes from ctest-vm1-test-77093644.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.250 ms
--- ctest-vm1-test-77093644.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.250/2.537/4.696/1.817 ms
2026-05-14 03:43:48,419 - INFO - Ping to IP ctest-vm1-test-77093644 from VM ctest-vm1-test-77093644 passed
2026-05-14 03:43:48,454 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-14 03:43:48,461 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77280310@0%20AllEntriesVdnsRecordsReq
2026-05-14 03:43:48,469 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-14 03:43:48,475 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77280310@0%20AllEntriesVdnsRecordsReq
2026-05-14 03:43:48,482 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-14 03:43:48,489 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77280310@0%20AllEntriesVdnsRecordsReq
2026-05-14 03:43:48,495 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-77280310:1:ctest-vm1-test-77093644:10.10.10.3', 'rec_name': 'ctest-vm1-test-77093644', '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-5780-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-77093644.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-05-14 03:43:48,495 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-77280310:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-77093644', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-77093644', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5780-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-77093644.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-05-14 03:43:50,120 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5780-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5780-2)
2026-05-14 03:43:50,120 - INFO - Waiting for VM ctest-vm2-test-25865343 to be up..
2026-05-14 03:43:50,178 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-14 03:43:55,269 - DEBUG - VM is in ACTIVE state now
2026-05-14 03:43:55,270 - INFO - VM name : ctest-vm2-test-25865343
2026-05-14 03:43:55,362 - DEBUG - VM ctest-vm2-test-25865343 ID is fad72cbc-02a6-4534-af45-18865933dc38
2026-05-14 03:43:55,362 - DEBUG - VM ctest-vm2-test-25865343 launched on Node an-jenkins-deploy-platform-ansible-os-5780-2
2026-05-14 03:43:55,462 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/fad72cbc-02a6-4534-af45-18865933dc38
2026-05-14 03:43:55,479 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/70992c3b-d90a-4e9a-a685-213c1a9a9293
2026-05-14 03:43:58,656 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2026-05-14 03:43:58,656 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-25865343 failed!
2026-05-14 03:43:58,675 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:44:02,750 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-05-14 03:44:02,750 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-25865343 failed!
2026-05-14 03:44:02,767 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:44:06,848 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms')
2026-05-14 03:44:06,848 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-25865343 failed!
2026-05-14 03:44:06,867 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:44:10,950 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-05-14 03:44:10,950 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-25865343 failed!
2026-05-14 03:44:10,967 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:44:15,043 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-05-14 03:44:15,043 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-25865343 failed!
2026-05-14 03:44:15,060 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:44:19,134 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2026-05-14 03:44:19,134 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-25865343 failed!
2026-05-14 03:44:19,154 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:44:23,236 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2026-05-14 03:44:23,236 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-25865343 failed!
2026-05-14 03:44:23,259 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:44:27,334 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1005ms')
2026-05-14 03:44:27,334 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-25865343 failed!
2026-05-14 03:44:27,350 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:44:31,428 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms')
2026-05-14 03:44:31,429 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-25865343 failed!
2026-05-14 03:44:31,445 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:44:35,525 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms')
2026-05-14 03:44:35,525 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-25865343 failed!
2026-05-14 03:44:35,543 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01106288:ctest-vn1-vdns-17453580 is 10.10.10.1 and allocation pool is NOT set
2026-05-14 03:44:37,612 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=6.28 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.92 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.923/4.101/6.280/2.178 ms')
2026-05-14 03:44:37,612 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-25865343 passed
2026-05-14 03:44:37,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 03:44:37,692 - DEBUG - Waiting to SSH to VM ctest-vm2-test-25865343, IP 10.10.10.4, Port 22
2026-05-14 03:44:37,762 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-14 03:44:37,860 - DEBUG - VM ctest-vm2-test-25865343 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-14 03:44:42,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 03:44:42,861 - DEBUG - Waiting to SSH to VM ctest-vm2-test-25865343, IP 10.10.10.4, Port 22
2026-05-14 03:44:42,930 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-14 03:44:43,045 - DEBUG - VM ctest-vm2-test-25865343 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-14 03:44:48,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 03:44:48,046 - DEBUG - Waiting to SSH to VM ctest-vm2-test-25865343, IP 10.10.10.4, Port 22
2026-05-14 03:44:48,114 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-14 03:44:48,212 - DEBUG - VM ctest-vm2-test-25865343 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-14 03:44:53,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 03:44:53,213 - DEBUG - Waiting to SSH to VM ctest-vm2-test-25865343, IP 10.10.10.4, Port 22
2026-05-14 03:44:53,271 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-14 03:44:53,371 - DEBUG - VM ctest-vm2-test-25865343 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-14 03:44:58,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 03:44:58,372 - DEBUG - Waiting to SSH to VM ctest-vm2-test-25865343, IP 10.10.10.4, Port 22
2026-05-14 03:44:58,541 - DEBUG - VM ctest-vm2-test-25865343 is ready for SSH connections
2026-05-14 03:44:58,541 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-05-14 03:44:58,541 - DEBUG - ifconfig | grep 10.10.10.4
2026-05-14 03:45:21,112 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-05-14 03:45:21,113 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-25865343", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-05-14 03:45:21,113 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-25865343", None, socket.AF_INET6)'
2026-05-14 03:45:24,037 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-25865343, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-05-14 03:45:24,037 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-25865343
2026-05-14 03:45:27,058 - DEBUG - PING ctest-vm2-test-25865343.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-25865343.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=6.14 ms
64 bytes from ctest-vm2-test-25865343.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=3.96 ms
64 bytes from ctest-vm2-test-25865343.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.198 ms
--- ctest-vm2-test-25865343.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.198/3.438/6.148/2.458 ms
2026-05-14 03:45:27,058 - INFO - Ping to IP ctest-vm2-test-25865343 from VM ctest-vm2-test-25865343 passed
2026-05-14 03:45:27,084 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-14 03:45:27,092 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77280310@0%20AllEntriesVdnsRecordsReq
2026-05-14 03:45:27,098 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-14 03:45:27,103 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77280310@0%20AllEntriesVdnsRecordsReq
2026-05-14 03:45:27,110 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-14 03:45:27,117 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77280310@0%20AllEntriesVdnsRecordsReq
2026-05-14 03:45:27,124 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-77280310:1:ctest-vm2-test-25865343:10.10.10.4', 'rec_name': 'ctest-vm2-test-25865343', '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-5780-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-25865343.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-05-14 03:45:27,124 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-77280310:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-25865343', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-25865343', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5780-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-25865343.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-05-14 03:45:27,124 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-25865343", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-05-14 03:45:27,125 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-25865343", None, socket.AF_INET6)'
2026-05-14 03:45:28,390 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-25865343, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-05-14 03:45:28,390 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-25865343
2026-05-14 03:45:30,960 - DEBUG - PING ctest-vm2-test-25865343.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-25865343.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.3 ms
64 bytes from ctest-vm2-test-25865343.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.33 ms
64 bytes from ctest-vm2-test-25865343.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.38 ms
--- ctest-vm2-test-25865343.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.334/4.363/10.372/4.249 ms
2026-05-14 03:45:30,960 - INFO - Ping to IP ctest-vm2-test-25865343 from VM ctest-vm1-test-77093644 passed
2026-05-14 03:45:30,960 - INFO - Try deleting the VDNS entry ctest-vdns1-77280310 with back ref of ipam.
2026-05-14 03:45:31,023 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/6bcd9e02-f8a1-4c55-b6df-8f41e1220290']
2026-05-14 03:45:31,023 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-05-14 03:45:31,023 - INFO - Add CNAME VDNS record for ctest-vm1-test-77093644 and verify we able to ping by alias name
2026-05-14 03:45:31,075 - DEBUG - Creating VDNS record data : test-rec
2026-05-14 03:45:31,207 - INFO - In verify_on_setup
2026-05-14 03:45:31,307 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-77280310', 'test-rec'] created succesfully
2026-05-14 03:45:31,307 - INFO - Verify VDNS record is shown in the API server
2026-05-14 03:45:31,307 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-05-14 03:45:31,315 - DEBUG - Requesting: http://10.0.0.27:8082/domain/50f581a9-730f-4c54-9cc2-74fc8369ab40
2026-05-14 03:45:31,372 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/e6fa4e49-74af-410c-a3a0-8391e0c9ed5f
2026-05-14 03:45:31,393 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS-record/481662df-38ed-4b1e-b3ea-14155f6bc8ea
2026-05-14 03:45:31,403 - INFO - Verify VDNS record is shown in the control node
2026-05-14 03:45:31,423 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-05-14 03:45:31,423 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-05-14 03:45:32,734 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-05-14 03:45:32,734 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-05-14 03:45:33,279 - DEBUG - ping: unknown host vm1-test-alias
2026-05-14 03:45:33,279 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-77093644 failed
2026-05-14 03:45:34,280 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-05-14 03:45:34,280 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-05-14 03:45:35,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-05-14 03:45:35,566 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-05-14 03:45:38,170 - DEBUG - PING ctest-vm1-test-77093644.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-77093644.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.370 ms
64 bytes from ctest-vm1-test-77093644.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.332 ms
64 bytes from ctest-vm1-test-77093644.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.187 ms
--- ctest-vm1-test-77093644.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.187/0.296/0.370/0.080 ms
2026-05-14 03:45:38,171 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-77093644 passed
2026-05-14 03:45:38,171 - DEBUG - Deleting VDNS record data: test-rec
2026-05-14 03:45:38,254 - INFO - VDNS record info: default-domain:ctest-vdns1-77280310:test-rec deleted successfully.
2026-05-14 03:45:38,255 - INFO - Deleting VM ctest-vm2-test-25865343
2026-05-14 03:45:38,338 - INFO - Deleting VM ctest-vm1-test-77093644
2026-05-14 03:45:38,421 - INFO - Deleting VN ctest-vn1-vdns-17453580
2026-05-14 03:45:38,478 - DEBUG - VN 7f2cd382-5a4e-4937-a0b3-083cb79d0566 still in use: Unable to complete operation on network 7f2cd382-5a4e-4937-a0b3-083cb79d0566. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-35676b32-169e-4902-b69a-329cfaa8c380']
2026-05-14 03:45:38,478 - WARNING - Deleting VN ctest-vn1-vdns-17453580 failed..Will retry
2026-05-14 03:45:40,751 - DEBUG - Response for deleting network ()
2026-05-14 03:45:40,821 - DEBUG - Deleting VDNS Entry: ctest-vdns1-77280310
2026-05-14 03:45:40,931 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-77280310'] deleted successfully.
2026-05-14 03:45:40,931 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-05-14 03:45:40,939 - DEBUG - Requesting: http://10.0.0.27:8082/domain/50f581a9-730f-4c54-9cc2-74fc8369ab40
2026-05-14 03:45:40,978 - DEBUG - VDNS information not found in API server
2026-05-14 03:45:40,978 - INFO - VDNS information ctest-vdns1-77280310 removed from the API Server
2026-05-14 03:45:40,986 - INFO - VDNS information ctest-vdns1-77280310 removed in the Control node
2026-05-14 03:45:40,987 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-01106288']
2026-05-14 03:45:42,310 - DEBUG - No XMPP flaps were noticed during the test
2026-05-14 03:45:42,310 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:31]
2026-05-14 03:45:42,310 - INFO - --------------------------------------------------------------------------------
2026-05-14 03:45:43,157 - INFO - Deleted project: ctest-TestvDNSBasic0-01106288, ID : e6a00a59-b51e-43d5-9280-123869a2e587