2025-09-15 03:04:32,788 - INFO - Domain Default found not creating
2025-09-15 03:04:32,985 - INFO - Project ctest-TestvDNSBasic0-19593922 not found, creating it
2025-09-15 03:04:33,530 - INFO - Created Project:ctest-TestvDNSBasic0-19593922, ID : 6bcda99a-4879-4e0c-b3ad-80455a2d704b
2025-09-15 03:04:35,254 - INFO - ================================================================================
2025-09-15 03:04:35,254 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-09-15 03:04:35,254 - 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-09-15 03:04:36,551 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.25': '0'}, '10.0.0.137': {'10.20.0.25': '0', '10.20.0.14': '0'}} with
2025-09-15 03:04:36,551 - INFO - Initial checks done. Running the testcase now
2025-09-15 03:04:36,552 - INFO -
2025-09-15 03:04:37,268 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-19593922'](6bcda99a-4879-4e0c-b3ad-80455a2d704b)
2025-09-15 03:04:37,323 - DEBUG - Creating VDNS : ctest-vdns1-28711729
2025-09-15 03:04:37,535 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-28711729'] created succesfully
2025-09-15 03:04:37,536 - DEBUG - Verify VDNS entry is shown in control node
2025-09-15 03:04:37,559 - DEBUG - Verify VDNS entry is shown in the API server
2025-09-15 03:04:37,559 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-09-15 03:04:37,859 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-09-15 03:04:37,895 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fb35da95-2d14-4bd5-8610-16128fba9774
2025-09-15 03:04:37,915 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS/9691fac2-af00-4c59-9403-33e5ec22ef17
2025-09-15 03:04:38,639 - DEBUG - Response for create_network : {'network': {'id': 'fdf16662-aff5-4ef7-8c39-ea6bf651633f', 'name': 'ctest-vn1-vdns-82794813', 'tenant_id': '6bcda99a48794e0cb3ad80455a2d704b', 'project_id': '6bcda99a48794e0cb3ad80455a2d704b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-19593922', 'ctest-vn1-vdns-82794813'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 03:04:38,914 - DEBUG - Response for create_subnet : {'subnet': {'id': '0842736f-537d-484a-ab7f-ec04e8472cfd', 'name': '', 'tenant_id': '6bcda99a48794e0cb3ad80455a2d704b', 'network_id': 'fdf16662-aff5-4ef7-8c39-ea6bf651633f', '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': '6bcda99a48794e0cb3ad80455a2d704b'}}
2025-09-15 03:04:38,945 - INFO - Created VN ctest-vn1-vdns-82794813
2025-09-15 03:04:38,960 - DEBUG - VN ctest-vn1-vdns-82794813 UUID is fdf16662-aff5-4ef7-8c39-ea6bf651633f
2025-09-15 03:04:39,178 - DEBUG - Services list from nova: [, , , ]
2025-09-15 03:04:40,310 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4110-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4110-1)
2025-09-15 03:04:40,310 - INFO - Waiting for VM ctest-vm1-test-01839104 to be up..
2025-09-15 03:04:40,360 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-15 03:04:45,452 - DEBUG - VM is in ACTIVE state now
2025-09-15 03:04:45,452 - INFO - VM name : ctest-vm1-test-01839104
2025-09-15 03:04:45,538 - DEBUG - VM ctest-vm1-test-01839104 ID is 3c8039f4-dabf-4553-abb6-4dd0f684d187
2025-09-15 03:04:45,539 - DEBUG - VM ctest-vm1-test-01839104 launched on Node an-jenkins-deploy-platform-ansible-os-4110-1
2025-09-15 03:04:45,619 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3c8039f4-dabf-4553-abb6-4dd0f684d187
2025-09-15 03:04:45,917 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3c8039f4-dabf-4553-abb6-4dd0f684d187
2025-09-15 03:04:45,948 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7b1e6779-db0e-4671-85c4-1b3d920d4bd4
2025-09-15 03:04:49,145 - 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')
2025-09-15 03:04:49,146 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01839104 failed!
2025-09-15 03:04:49,161 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:04:53,240 - 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-09-15 03:04:53,240 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01839104 failed!
2025-09-15 03:04:53,255 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:04:57,341 - 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')
2025-09-15 03:04:57,342 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01839104 failed!
2025-09-15 03:04:57,357 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:05:01,427 - 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-09-15 03:05:01,427 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01839104 failed!
2025-09-15 03:05:01,443 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:05:05,522 - 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-09-15 03:05:05,522 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01839104 failed!
2025-09-15 03:05:05,541 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:05:09,625 - 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-09-15 03:05:09,625 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01839104 failed!
2025-09-15 03:05:09,644 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:05:13,718 - 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-09-15 03:05:13,718 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01839104 failed!
2025-09-15 03:05:13,732 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:05:17,813 - 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-09-15 03:05:17,813 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01839104 failed!
2025-09-15 03:05:17,829 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:05:19,890 - 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=4.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.07 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 = 3.067/3.828/4.590/0.761 ms')
2025-09-15 03:05:19,891 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01839104 passed
2025-09-15 03:05:19,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 03:05:19,962 - DEBUG - Waiting to SSH to VM ctest-vm1-test-01839104, IP 10.10.10.3, Port 22
2025-09-15 03:05:20,029 - 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-09-15 03:05:20,137 - DEBUG - VM ctest-vm1-test-01839104 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-15 03:05:25,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 03:05:25,138 - DEBUG - Waiting to SSH to VM ctest-vm1-test-01839104, IP 10.10.10.3, Port 22
2025-09-15 03:05:25,206 - 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-09-15 03:05:25,304 - DEBUG - VM ctest-vm1-test-01839104 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-15 03:05:30,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 03:05:30,305 - DEBUG - Waiting to SSH to VM ctest-vm1-test-01839104, IP 10.10.10.3, Port 22
2025-09-15 03:05:30,373 - 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-09-15 03:05:30,460 - DEBUG - VM ctest-vm1-test-01839104 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-15 03:05:35,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 03:05:35,461 - DEBUG - Waiting to SSH to VM ctest-vm1-test-01839104, IP 10.10.10.3, Port 22
2025-09-15 03:05:35,629 - DEBUG - VM ctest-vm1-test-01839104 is ready for SSH connections
2025-09-15 03:05:35,629 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-09-15 03:05:35,630 - DEBUG - ifconfig | grep 10.10.10.3
2025-09-15 03:05:55,785 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-09-15 03:05:55,785 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-01839104", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-09-15 03:05:55,785 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-01839104", None, socket.AF_INET6)'
2025-09-15 03:05:58,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-01839104, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-09-15 03:05:58,337 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-01839104
2025-09-15 03:06:01,250 - DEBUG - PING ctest-vm1-test-01839104.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-01839104.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.52 ms
64 bytes from ctest-vm1-test-01839104.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.234 ms
64 bytes from ctest-vm1-test-01839104.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.280 ms
--- ctest-vm1-test-01839104.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.234/1.011/2.520/1.067 ms
2025-09-15 03:06:01,250 - INFO - Ping to IP ctest-vm1-test-01839104 from VM ctest-vm1-test-01839104 passed
2025-09-15 03:06:01,280 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-09-15 03:06:01,290 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-28711729@0%20AllEntriesVdnsRecordsReq
2025-09-15 03:06:01,301 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-09-15 03:06:01,312 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-28711729@0%20AllEntriesVdnsRecordsReq
2025-09-15 03:06:01,325 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-09-15 03:06:01,331 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-28711729@0%20AllEntriesVdnsRecordsReq
2025-09-15 03:06:01,337 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-28711729:1:ctest-vm1-test-01839104:10.10.10.3', 'rec_name': 'ctest-vm1-test-01839104', '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-4110-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-01839104.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-09-15 03:06:01,337 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-28711729:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-01839104', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-01839104', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4110-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-01839104.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-09-15 03:06:02,735 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4110-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4110-2)
2025-09-15 03:06:02,735 - INFO - Waiting for VM ctest-vm2-test-23640027 to be up..
2025-09-15 03:06:02,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-15 03:06:07,881 - DEBUG - VM is in ACTIVE state now
2025-09-15 03:06:07,882 - INFO - VM name : ctest-vm2-test-23640027
2025-09-15 03:06:07,967 - DEBUG - VM ctest-vm2-test-23640027 ID is 1de60eee-26c7-406a-a90c-734cc5cee084
2025-09-15 03:06:07,968 - DEBUG - VM ctest-vm2-test-23640027 launched on Node an-jenkins-deploy-platform-ansible-os-4110-2
2025-09-15 03:06:08,060 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1de60eee-26c7-406a-a90c-734cc5cee084
2025-09-15 03:06:08,071 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/66ec74b6-e84d-431b-a93f-a6ec100124e5
2025-09-15 03:06:11,256 - 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')
2025-09-15 03:06:11,256 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23640027 failed!
2025-09-15 03:06:11,271 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:06:15,358 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2025-09-15 03:06:15,358 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23640027 failed!
2025-09-15 03:06:15,373 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:06:19,450 - 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-09-15 03:06:19,450 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23640027 failed!
2025-09-15 03:06:19,463 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:06:23,544 - 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-09-15 03:06:23,544 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23640027 failed!
2025-09-15 03:06:23,565 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:06:27,640 - 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-09-15 03:06:27,640 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23640027 failed!
2025-09-15 03:06:27,657 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:06:31,738 - 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')
2025-09-15 03:06:31,738 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23640027 failed!
2025-09-15 03:06:31,755 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:06:35,836 - 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-09-15 03:06:35,836 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23640027 failed!
2025-09-15 03:06:35,852 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:06:39,933 - 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')
2025-09-15 03:06:39,933 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23640027 failed!
2025-09-15 03:06:39,951 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:06:44,028 - 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')
2025-09-15 03:06:44,029 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23640027 failed!
2025-09-15 03:06:44,043 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19593922:ctest-vn1-vdns-82794813 is 10.10.10.1 and allocation pool is NOT set
2025-09-15 03:06:46,115 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.83 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 = 1.833/5.668/9.503/3.835 ms')
2025-09-15 03:06:46,116 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23640027 passed
2025-09-15 03:06:46,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 03:06:46,192 - DEBUG - Waiting to SSH to VM ctest-vm2-test-23640027, IP 10.10.10.4, Port 22
2025-09-15 03:06:46,262 - 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-09-15 03:06:46,354 - DEBUG - VM ctest-vm2-test-23640027 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-15 03:06:51,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 03:06:51,355 - DEBUG - Waiting to SSH to VM ctest-vm2-test-23640027, IP 10.10.10.4, Port 22
2025-09-15 03:06:51,421 - 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-09-15 03:06:51,524 - DEBUG - VM ctest-vm2-test-23640027 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-15 03:06:56,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 03:06:56,525 - DEBUG - Waiting to SSH to VM ctest-vm2-test-23640027, IP 10.10.10.4, Port 22
2025-09-15 03:06:56,603 - 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-09-15 03:06:56,700 - DEBUG - VM ctest-vm2-test-23640027 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-15 03:07:01,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 03:07:01,700 - DEBUG - Waiting to SSH to VM ctest-vm2-test-23640027, IP 10.10.10.4, Port 22
2025-09-15 03:07:01,759 - 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-09-15 03:07:01,860 - DEBUG - VM ctest-vm2-test-23640027 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-15 03:07:06,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 03:07:06,860 - DEBUG - Waiting to SSH to VM ctest-vm2-test-23640027, IP 10.10.10.4, Port 22
2025-09-15 03:07:07,033 - DEBUG - VM ctest-vm2-test-23640027 is ready for SSH connections
2025-09-15 03:07:07,033 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.137, gateway password: c0ntrail123
2025-09-15 03:07:07,033 - DEBUG - ifconfig | grep 10.10.10.4
2025-09-15 03:07:29,450 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-09-15 03:07:29,450 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-23640027", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.137, gateway password: c0ntrail123
2025-09-15 03:07:29,450 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-23640027", None, socket.AF_INET6)'
2025-09-15 03:07:32,304 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-23640027, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.137, gateway password: c0ntrail123
2025-09-15 03:07:32,305 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-23640027
2025-09-15 03:07:35,377 - DEBUG - PING ctest-vm2-test-23640027.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-23640027.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.62 ms
64 bytes from ctest-vm2-test-23640027.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.317 ms
64 bytes from ctest-vm2-test-23640027.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.284 ms
--- ctest-vm2-test-23640027.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.284/1.076/2.628/1.097 ms
2025-09-15 03:07:35,377 - INFO - Ping to IP ctest-vm2-test-23640027 from VM ctest-vm2-test-23640027 passed
2025-09-15 03:07:35,401 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-09-15 03:07:35,409 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-28711729@0%20AllEntriesVdnsRecordsReq
2025-09-15 03:07:35,416 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-09-15 03:07:35,422 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-28711729@0%20AllEntriesVdnsRecordsReq
2025-09-15 03:07:35,430 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-09-15 03:07:35,437 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-28711729@0%20AllEntriesVdnsRecordsReq
2025-09-15 03:07:35,444 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-28711729:1:ctest-vm2-test-23640027:10.10.10.4', 'rec_name': 'ctest-vm2-test-23640027', '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-4110-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-23640027.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-09-15 03:07:35,444 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-28711729:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-23640027', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-23640027', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4110-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-23640027.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-09-15 03:07:35,444 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-23640027", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-09-15 03:07:35,444 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-23640027", None, socket.AF_INET6)'
2025-09-15 03:07:36,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-23640027, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-09-15 03:07:36,568 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-23640027
2025-09-15 03:07:39,127 - DEBUG - PING ctest-vm2-test-23640027.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-23640027.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=12.3 ms
64 bytes from ctest-vm2-test-23640027.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.26 ms
64 bytes from ctest-vm2-test-23640027.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.35 ms
--- ctest-vm2-test-23640027.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.263/4.979/12.321/5.191 ms
2025-09-15 03:07:39,127 - INFO - Ping to IP ctest-vm2-test-23640027 from VM ctest-vm1-test-01839104 passed
2025-09-15 03:07:39,128 - INFO - Try deleting the VDNS entry ctest-vdns1-28711729 with back ref of ipam.
2025-09-15 03:07:39,187 - DEBUG - Delete when resource still referred: ['http://10.0.0.38:8082/network-ipam/d6199fc9-5c14-467d-8600-c869d9589c56']
2025-09-15 03:07:39,188 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-09-15 03:07:39,188 - INFO - Add CNAME VDNS record for ctest-vm1-test-01839104 and verify we able to ping by alias name
2025-09-15 03:07:39,236 - DEBUG - Creating VDNS record data : test-rec
2025-09-15 03:07:39,364 - INFO - In verify_on_setup
2025-09-15 03:07:39,460 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-28711729', 'test-rec'] created succesfully
2025-09-15 03:07:39,460 - INFO - Verify VDNS record is shown in the API server
2025-09-15 03:07:39,460 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-09-15 03:07:39,469 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fb35da95-2d14-4bd5-8610-16128fba9774
2025-09-15 03:07:39,517 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS/9691fac2-af00-4c59-9403-33e5ec22ef17
2025-09-15 03:07:39,530 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS-record/a1a39b4b-165a-4f74-8286-9bb9a8887f77
2025-09-15 03:07:39,538 - INFO - Verify VDNS record is shown in the control node
2025-09-15 03:07:39,558 - 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.19, gateway password: c0ntrail123
2025-09-15 03:07:39,558 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-09-15 03:07:40,704 - 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.19, gateway password: c0ntrail123
2025-09-15 03:07:40,705 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-09-15 03:07:41,211 - DEBUG - ping: unknown host vm1-test-alias
2025-09-15 03:07:41,211 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-01839104 failed
2025-09-15 03:07:42,212 - 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.19, gateway password: c0ntrail123
2025-09-15 03:07:42,212 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-09-15 03:07:43,362 - 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.19, gateway password: c0ntrail123
2025-09-15 03:07:43,362 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-09-15 03:07:45,868 - DEBUG - PING ctest-vm1-test-01839104.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-01839104.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.79 ms
64 bytes from ctest-vm1-test-01839104.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.443 ms
64 bytes from ctest-vm1-test-01839104.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.215 ms
--- ctest-vm1-test-01839104.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.215/0.816/1.790/0.694 ms
2025-09-15 03:07:45,869 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-01839104 passed
2025-09-15 03:07:45,869 - DEBUG - Deleting VDNS record data: test-rec
2025-09-15 03:07:45,955 - INFO - VDNS record info: default-domain:ctest-vdns1-28711729:test-rec deleted successfully.
2025-09-15 03:07:45,956 - INFO - Deleting VM ctest-vm2-test-23640027
2025-09-15 03:07:46,050 - INFO - Deleting VM ctest-vm1-test-01839104
2025-09-15 03:07:46,151 - INFO - Deleting VN ctest-vn1-vdns-82794813
2025-09-15 03:07:46,193 - DEBUG - VN fdf16662-aff5-4ef7-8c39-ea6bf651633f still in use: Unable to complete operation on network fdf16662-aff5-4ef7-8c39-ea6bf651633f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fb853a7c-a2a0-4def-a023-965cbf236ef9']
2025-09-15 03:07:46,193 - WARNING - Deleting VN ctest-vn1-vdns-82794813 failed..Will retry
2025-09-15 03:07:48,380 - DEBUG - Response for deleting network ()
2025-09-15 03:07:48,453 - DEBUG - Deleting VDNS Entry: ctest-vdns1-28711729
2025-09-15 03:07:48,583 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-28711729'] deleted successfully.
2025-09-15 03:07:48,583 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-09-15 03:07:48,592 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fb35da95-2d14-4bd5-8610-16128fba9774
2025-09-15 03:07:48,615 - DEBUG - VDNS information not found in API server
2025-09-15 03:07:48,615 - INFO - VDNS information ctest-vdns1-28711729 removed from the API Server
2025-09-15 03:07:48,621 - INFO - VDNS information ctest-vdns1-28711729 removed in the Control node
2025-09-15 03:07:48,623 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-19593922']
2025-09-15 03:07:49,923 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 03:07:49,923 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:14]
2025-09-15 03:07:49,923 - INFO - --------------------------------------------------------------------------------
2025-09-15 03:07:50,820 - INFO - Deleted project: ctest-TestvDNSBasic0-19593922, ID : 6bcda99a-4879-4e0c-b3ad-80455a2d704b