2025-07-31 04:28:48,028 - INFO - Domain Default found not creating
2025-07-31 04:28:48,245 - INFO - Project ctest-TestvDNSBasic0-50512472 not found, creating it
2025-07-31 04:28:48,809 - INFO - Created Project:ctest-TestvDNSBasic0-50512472, ID : 7841c34a-2442-4781-8d97-82e3109b98e3
2025-07-31 04:28:50,685 - INFO - ================================================================================
2025-07-31 04:28:50,686 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-07-31 04:28:50,686 - 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-07-31 04:28:52,015 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.193': '0', '10.20.0.18': '0'}, '10.0.0.57': {'10.20.0.18': '0', '10.20.0.193': '0'}} with
2025-07-31 04:28:52,015 - INFO - Initial checks done. Running the testcase now
2025-07-31 04:28:52,015 - INFO -
2025-07-31 04:28:52,837 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-50512472'](7841c34a-2442-4781-8d97-82e3109b98e3)
2025-07-31 04:28:52,897 - DEBUG - Creating VDNS : ctest-vdns1-26253740
2025-07-31 04:28:53,137 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-26253740'] created succesfully
2025-07-31 04:28:53,138 - DEBUG - Verify VDNS entry is shown in control node
2025-07-31 04:28:53,192 - DEBUG - Verify VDNS entry is shown in the API server
2025-07-31 04:28:53,192 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-07-31 04:28:53,546 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-07-31 04:28:53,597 - DEBUG - Requesting: http://10.0.0.41:8082/domain/34dad5b7-e30d-42c7-8ff4-7b0d7fa576d7
2025-07-31 04:28:53,624 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS/740b911d-e5c4-40c2-9a0f-cc2c91162eaf
2025-07-31 04:28:54,485 - DEBUG - Response for create_network : {'network': {'id': 'c01b2fb3-f947-474e-bbf1-4879ced6fd57', 'name': 'ctest-vn1-vdns-98295379', 'tenant_id': '7841c34a244247818d9782e3109b98e3', 'project_id': '7841c34a244247818d9782e3109b98e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-50512472', 'ctest-vn1-vdns-98295379'], 'port_security_enabled': True, 'description': ''}}
2025-07-31 04:28:54,825 - DEBUG - Response for create_subnet : {'subnet': {'id': '41edc5a8-6dd4-472f-ba53-558664c2b3fe', 'name': '', 'tenant_id': '7841c34a244247818d9782e3109b98e3', 'network_id': 'c01b2fb3-f947-474e-bbf1-4879ced6fd57', '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': '7841c34a244247818d9782e3109b98e3'}}
2025-07-31 04:28:54,857 - INFO - Created VN ctest-vn1-vdns-98295379
2025-07-31 04:28:54,874 - DEBUG - VN ctest-vn1-vdns-98295379 UUID is c01b2fb3-f947-474e-bbf1-4879ced6fd57
2025-07-31 04:28:55,067 - DEBUG - Services list from nova: [, , , ]
2025-07-31 04:28:56,544 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3732-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3732-1)
2025-07-31 04:28:56,545 - INFO - Waiting for VM ctest-vm1-test-46424959 to be up..
2025-07-31 04:28:56,599 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-31 04:29:01,695 - DEBUG - VM is in ACTIVE state now
2025-07-31 04:29:01,695 - INFO - VM name : ctest-vm1-test-46424959
2025-07-31 04:29:01,791 - DEBUG - VM ctest-vm1-test-46424959 ID is a0dabea4-f8f2-4e1a-bfe4-9fbd6daefa9a
2025-07-31 04:29:01,791 - DEBUG - VM ctest-vm1-test-46424959 launched on Node an-jenkins-deploy-platform-ansible-os-3732-1
2025-07-31 04:29:01,899 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/a0dabea4-f8f2-4e1a-bfe4-9fbd6daefa9a
2025-07-31 04:29:02,205 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/a0dabea4-f8f2-4e1a-bfe4-9fbd6daefa9a
2025-07-31 04:29:02,239 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/5ddd4b0f-b3a8-4341-91e9-e0ba627776aa
2025-07-31 04:29:05,518 - 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 1028ms')
2025-07-31 04:29:05,518 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46424959 failed!
2025-07-31 04:29:05,535 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:29:09,613 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2025-07-31 04:29:09,614 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46424959 failed!
2025-07-31 04:29:09,639 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:29:13,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 1003ms')
2025-07-31 04:29:13,704 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46424959 failed!
2025-07-31 04:29:13,729 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:29:17,798 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2025-07-31 04:29:17,799 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46424959 failed!
2025-07-31 04:29:17,830 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:29:21,902 - 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 1006ms')
2025-07-31 04:29:21,902 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46424959 failed!
2025-07-31 04:29:21,934 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:29:26,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 1030ms')
2025-07-31 04:29:26,028 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46424959 failed!
2025-07-31 04:29:26,051 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:29:30,123 - 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 1006ms')
2025-07-31 04:29:30,124 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46424959 failed!
2025-07-31 04:29:30,156 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:29:34,248 - 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 1030ms')
2025-07-31 04:29:34,248 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46424959 failed!
2025-07-31 04:29:34,274 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:29:38,346 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.90 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 4.899/4.899/4.899/0.000 ms')
2025-07-31 04:29:38,347 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46424959 passed
2025-07-31 04:29:38,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 04:29:38,472 - DEBUG - Waiting to SSH to VM ctest-vm1-test-46424959, IP 10.10.10.3, Port 22
2025-07-31 04:29:38,545 - 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-07-31 04:29:38,743 - DEBUG - VM ctest-vm1-test-46424959 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-31 04:29:43,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 04:29:43,744 - DEBUG - Waiting to SSH to VM ctest-vm1-test-46424959, IP 10.10.10.3, Port 22
2025-07-31 04:29:43,806 - 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-07-31 04:29:44,000 - DEBUG - VM ctest-vm1-test-46424959 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-31 04:29:49,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 04:29:49,001 - DEBUG - Waiting to SSH to VM ctest-vm1-test-46424959, IP 10.10.10.3, Port 22
2025-07-31 04:29:49,071 - 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-07-31 04:29:49,276 - DEBUG - VM ctest-vm1-test-46424959 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-31 04:29:54,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 04:29:54,278 - DEBUG - Waiting to SSH to VM ctest-vm1-test-46424959, IP 10.10.10.3, Port 22
2025-07-31 04:29:54,343 - 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-07-31 04:29:54,585 - DEBUG - VM ctest-vm1-test-46424959 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-31 04:29:59,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 04:29:59,586 - DEBUG - Waiting to SSH to VM ctest-vm1-test-46424959, IP 10.10.10.3, Port 22
2025-07-31 04:29:59,758 - DEBUG - VM ctest-vm1-test-46424959 is ready for SSH connections
2025-07-31 04:29:59,758 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-31 04:29:59,758 - DEBUG - ifconfig | grep 10.10.10.3
2025-07-31 04:30:19,476 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-07-31 04:30:19,477 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-46424959", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-31 04:30:19,477 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-46424959", None, socket.AF_INET6)'
2025-07-31 04:30:22,357 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-46424959, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-31 04:30:22,357 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-46424959
2025-07-31 04:30:25,345 - DEBUG - PING ctest-vm1-test-46424959.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-46424959.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.03 ms
64 bytes from ctest-vm1-test-46424959.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.259 ms
64 bytes from ctest-vm1-test-46424959.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.258 ms
--- ctest-vm1-test-46424959.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.258/1.185/3.038/1.310 ms
2025-07-31 04:30:25,346 - INFO - Ping to IP ctest-vm1-test-46424959 from VM ctest-vm1-test-46424959 passed
2025-07-31 04:30:25,392 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-07-31 04:30:25,409 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-26253740@0%20AllEntriesVdnsRecordsReq
2025-07-31 04:30:25,422 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-07-31 04:30:25,435 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-26253740@0%20AllEntriesVdnsRecordsReq
2025-07-31 04:30:25,443 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-07-31 04:30:25,458 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-26253740@0%20AllEntriesVdnsRecordsReq
2025-07-31 04:30:25,473 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-26253740:1:ctest-vm1-test-46424959:10.10.10.3', 'rec_name': 'ctest-vm1-test-46424959', '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-3732-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-46424959.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-07-31 04:30:25,473 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-26253740:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-46424959', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-46424959', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3732-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-46424959.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-07-31 04:30:27,201 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3732-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3732-2)
2025-07-31 04:30:27,202 - INFO - Waiting for VM ctest-vm2-test-54990422 to be up..
2025-07-31 04:30:27,264 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-31 04:30:32,441 - DEBUG - VM is in ACTIVE state now
2025-07-31 04:30:32,441 - INFO - VM name : ctest-vm2-test-54990422
2025-07-31 04:30:32,554 - DEBUG - VM ctest-vm2-test-54990422 ID is 857e70d3-1098-4764-9567-22e83b46699f
2025-07-31 04:30:32,554 - DEBUG - VM ctest-vm2-test-54990422 launched on Node an-jenkins-deploy-platform-ansible-os-3732-2
2025-07-31 04:30:32,656 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/857e70d3-1098-4764-9567-22e83b46699f
2025-07-31 04:30:32,674 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/da432c06-424c-4650-99dc-357ed37ca215
2025-07-31 04:30:35,949 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1033ms')
2025-07-31 04:30:35,949 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54990422 failed!
2025-07-31 04:30:35,966 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:30:40,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 1012ms')
2025-07-31 04:30:40,050 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54990422 failed!
2025-07-31 04:30:40,076 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:30:44,182 - 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 1038ms')
2025-07-31 04:30:44,182 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54990422 failed!
2025-07-31 04:30:44,201 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:30:48,271 - 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 1005ms')
2025-07-31 04:30:48,271 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54990422 failed!
2025-07-31 04:30:48,296 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:30:52,364 - 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 1006ms')
2025-07-31 04:30:52,365 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54990422 failed!
2025-07-31 04:30:52,391 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:30:56,464 - 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 1001ms')
2025-07-31 04:30:56,464 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54990422 failed!
2025-07-31 04:30:56,494 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:31:00,587 - 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 1030ms')
2025-07-31 04:31:00,587 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54990422 failed!
2025-07-31 04:31:00,604 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:31:04,685 - 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-07-31 04:31:04,685 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54990422 failed!
2025-07-31 04:31:04,709 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:31:08,819 - 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 1033ms')
2025-07-31 04:31:08,819 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54990422 failed!
2025-07-31 04:31:08,855 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:31:12,942 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms')
2025-07-31 04:31:12,942 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54990422 failed!
2025-07-31 04:31:12,965 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50512472:ctest-vn1-vdns-98295379 is 10.10.10.1 and allocation pool is NOT set
2025-07-31 04:31:15,039 - 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=14.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.86 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.862/9.204/14.546/5.342 ms')
2025-07-31 04:31:15,039 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54990422 passed
2025-07-31 04:31:15,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 04:31:15,168 - DEBUG - Waiting to SSH to VM ctest-vm2-test-54990422, IP 10.10.10.4, Port 22
2025-07-31 04:31:15,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': ''}
2025-07-31 04:31:15,365 - DEBUG - VM ctest-vm2-test-54990422 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-31 04:31:20,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 04:31:20,367 - DEBUG - Waiting to SSH to VM ctest-vm2-test-54990422, IP 10.10.10.4, Port 22
2025-07-31 04:31:20,437 - 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-07-31 04:31:20,632 - DEBUG - VM ctest-vm2-test-54990422 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-31 04:31:25,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 04:31:25,634 - DEBUG - Waiting to SSH to VM ctest-vm2-test-54990422, IP 10.10.10.4, Port 22
2025-07-31 04:31:25,704 - 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-07-31 04:31:25,897 - DEBUG - VM ctest-vm2-test-54990422 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-31 04:31:30,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 04:31:30,898 - DEBUG - Waiting to SSH to VM ctest-vm2-test-54990422, IP 10.10.10.4, Port 22
2025-07-31 04:31:30,974 - 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-07-31 04:31:31,133 - DEBUG - VM ctest-vm2-test-54990422 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-31 04:31:36,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-31 04:31:36,135 - DEBUG - Waiting to SSH to VM ctest-vm2-test-54990422, IP 10.10.10.4, Port 22
2025-07-31 04:31:36,308 - DEBUG - VM ctest-vm2-test-54990422 is ready for SSH connections
2025-07-31 04:31:36,308 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-07-31 04:31:36,309 - DEBUG - ifconfig | grep 10.10.10.4
2025-07-31 04:31:59,603 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-07-31 04:31:59,604 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-54990422", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-07-31 04:31:59,605 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-54990422", None, socket.AF_INET6)'
2025-07-31 04:32:02,970 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-54990422, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-07-31 04:32:02,970 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-54990422
2025-07-31 04:32:06,172 - DEBUG - PING ctest-vm2-test-54990422.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-54990422.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.03 ms
64 bytes from ctest-vm2-test-54990422.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.216 ms
64 bytes from ctest-vm2-test-54990422.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.213 ms
--- ctest-vm2-test-54990422.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.213/1.154/3.033/1.328 ms
2025-07-31 04:32:06,172 - INFO - Ping to IP ctest-vm2-test-54990422 from VM ctest-vm2-test-54990422 passed
2025-07-31 04:32:06,216 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-07-31 04:32:06,243 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-26253740@0%20AllEntriesVdnsRecordsReq
2025-07-31 04:32:06,261 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-07-31 04:32:06,276 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-26253740@0%20AllEntriesVdnsRecordsReq
2025-07-31 04:32:06,290 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-07-31 04:32:06,301 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-26253740@0%20AllEntriesVdnsRecordsReq
2025-07-31 04:32:06,313 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-26253740:1:ctest-vm2-test-54990422:10.10.10.4', 'rec_name': 'ctest-vm2-test-54990422', '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-3732-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-54990422.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-07-31 04:32:06,313 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-26253740:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-54990422', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-54990422', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3732-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-54990422.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-07-31 04:32:06,314 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-54990422", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-31 04:32:06,314 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-54990422", None, socket.AF_INET6)'
2025-07-31 04:32:07,508 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-54990422, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-31 04:32:07,508 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-54990422
2025-07-31 04:32:10,110 - DEBUG - PING ctest-vm2-test-54990422.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-54990422.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=12.2 ms
64 bytes from ctest-vm2-test-54990422.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.45 ms
64 bytes from ctest-vm2-test-54990422.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=2.00 ms
--- ctest-vm2-test-54990422.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.450/5.218/12.205/4.945 ms
2025-07-31 04:32:10,110 - INFO - Ping to IP ctest-vm2-test-54990422 from VM ctest-vm1-test-46424959 passed
2025-07-31 04:32:10,110 - INFO - Try deleting the VDNS entry ctest-vdns1-26253740 with back ref of ipam.
2025-07-31 04:32:10,177 - DEBUG - Delete when resource still referred: ['http://10.0.0.61:8082/network-ipam/6a0f892b-d875-4553-b579-25de3e497409']
2025-07-31 04:32:10,177 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-07-31 04:32:10,177 - INFO - Add CNAME VDNS record for ctest-vm1-test-46424959 and verify we able to ping by alias name
2025-07-31 04:32:10,225 - DEBUG - Creating VDNS record data : test-rec
2025-07-31 04:32:10,365 - INFO - In verify_on_setup
2025-07-31 04:32:10,473 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-26253740', 'test-rec'] created succesfully
2025-07-31 04:32:10,473 - INFO - Verify VDNS record is shown in the API server
2025-07-31 04:32:10,473 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-07-31 04:32:10,482 - DEBUG - Requesting: http://10.0.0.41:8082/domain/34dad5b7-e30d-42c7-8ff4-7b0d7fa576d7
2025-07-31 04:32:10,532 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS/740b911d-e5c4-40c2-9a0f-cc2c91162eaf
2025-07-31 04:32:10,547 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS-record/0d1aed72-de5c-48a9-ab49-5788e5d22411
2025-07-31 04:32:10,555 - INFO - Verify VDNS record is shown in the control node
2025-07-31 04:32:10,584 - 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.27, gateway password: c0ntrail123
2025-07-31 04:32:10,584 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-07-31 04:32:11,837 - 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.27, gateway password: c0ntrail123
2025-07-31 04:32:11,837 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-07-31 04:32:12,355 - DEBUG - ping: unknown host vm1-test-alias
2025-07-31 04:32:12,355 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-46424959 failed
2025-07-31 04:32:13,357 - 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.27, gateway password: c0ntrail123
2025-07-31 04:32:13,357 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-07-31 04:32:14,527 - 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.27, gateway password: c0ntrail123
2025-07-31 04:32:14,528 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-07-31 04:32:17,068 - DEBUG - PING ctest-vm1-test-46424959.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-46424959.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.82 ms
64 bytes from ctest-vm1-test-46424959.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.297 ms
64 bytes from ctest-vm1-test-46424959.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.219 ms
--- ctest-vm1-test-46424959.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.219/0.781/1.829/0.741 ms
2025-07-31 04:32:17,068 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-46424959 passed
2025-07-31 04:32:17,068 - DEBUG - Deleting VDNS record data: test-rec
2025-07-31 04:32:17,161 - INFO - VDNS record info: default-domain:ctest-vdns1-26253740:test-rec deleted successfully.
2025-07-31 04:32:17,161 - INFO - Deleting VM ctest-vm2-test-54990422
2025-07-31 04:32:17,255 - INFO - Deleting VM ctest-vm1-test-46424959
2025-07-31 04:32:17,347 - INFO - Deleting VN ctest-vn1-vdns-98295379
2025-07-31 04:32:17,393 - DEBUG - VN c01b2fb3-f947-474e-bbf1-4879ced6fd57 still in use: Unable to complete operation on network c01b2fb3-f947-474e-bbf1-4879ced6fd57. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-59932f46-24d9-4da7-a680-379b03b44d4a']
2025-07-31 04:32:17,393 - WARNING - Deleting VN ctest-vn1-vdns-98295379 failed..Will retry
2025-07-31 04:32:19,623 - DEBUG - Response for deleting network ()
2025-07-31 04:32:19,705 - DEBUG - Deleting VDNS Entry: ctest-vdns1-26253740
2025-07-31 04:32:19,801 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-26253740'] deleted successfully.
2025-07-31 04:32:19,801 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-07-31 04:32:19,810 - DEBUG - Requesting: http://10.0.0.41:8082/domain/34dad5b7-e30d-42c7-8ff4-7b0d7fa576d7
2025-07-31 04:32:19,836 - DEBUG - VDNS information not found in API server
2025-07-31 04:32:19,836 - INFO - VDNS information ctest-vdns1-26253740 removed from the API Server
2025-07-31 04:32:19,848 - INFO - VDNS information ctest-vdns1-26253740 removed in the Control node
2025-07-31 04:32:19,848 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-50512472']
2025-07-31 04:32:21,196 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 04:32:21,196 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:31]
2025-07-31 04:32:21,197 - INFO - --------------------------------------------------------------------------------
2025-07-31 04:32:22,269 - INFO - Deleted project: ctest-TestvDNSBasic0-50512472, ID : 7841c34a-2442-4781-8d97-82e3109b98e3