2025-09-18 03:07:22,615 - INFO - Domain Default found not creating
2025-09-18 03:07:22,815 - INFO - Project ctest-TestvDNSBasic0-32127789 not found, creating it
2025-09-18 03:07:23,386 - INFO - Created Project:ctest-TestvDNSBasic0-32127789, ID : 5d80ed95-0959-4eae-874d-02b5c2ab53db
2025-09-18 03:07:25,239 - INFO - ================================================================================
2025-09-18 03:07:25,239 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-09-18 03:07:25,239 - 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-18 03:07:26,535 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.27': {'10.20.0.17': '0', '10.20.0.25': '0'}} with
2025-09-18 03:07:26,535 - INFO - Initial checks done. Running the testcase now
2025-09-18 03:07:26,535 - INFO -
2025-09-18 03:07:27,423 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-32127789'](5d80ed95-0959-4eae-874d-02b5c2ab53db)
2025-09-18 03:07:27,478 - DEBUG - Creating VDNS : ctest-vdns1-04515410
2025-09-18 03:07:27,721 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-04515410'] created succesfully
2025-09-18 03:07:27,721 - DEBUG - Verify VDNS entry is shown in control node
2025-09-18 03:07:27,748 - DEBUG - Verify VDNS entry is shown in the API server
2025-09-18 03:07:27,748 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2025-09-18 03:07:28,340 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2025-09-18 03:07:28,379 - DEBUG - Requesting: http://10.0.0.56:8082/domain/245899c5-19ba-4930-be6a-859f116860e1
2025-09-18 03:07:28,402 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS/1bbffc93-d5d3-4c37-8a43-9f382b545d66
2025-09-18 03:07:29,200 - DEBUG - Response for create_network : {'network': {'id': '44ad497d-f10e-4392-b14c-42021c062e85', 'name': 'ctest-vn1-vdns-27774205', 'tenant_id': '5d80ed9509594eae874d02b5c2ab53db', 'project_id': '5d80ed9509594eae874d02b5c2ab53db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-32127789', 'ctest-vn1-vdns-27774205'], 'port_security_enabled': True, 'description': ''}}
2025-09-18 03:07:29,609 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bf1df1e-285d-4118-9dcf-c0b09db650ea', 'name': '', 'tenant_id': '5d80ed9509594eae874d02b5c2ab53db', 'network_id': '44ad497d-f10e-4392-b14c-42021c062e85', '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': '5d80ed9509594eae874d02b5c2ab53db'}}
2025-09-18 03:07:29,656 - INFO - Created VN ctest-vn1-vdns-27774205
2025-09-18 03:07:29,668 - DEBUG - VN ctest-vn1-vdns-27774205 UUID is 44ad497d-f10e-4392-b14c-42021c062e85
2025-09-18 03:07:29,918 - DEBUG - Services list from nova: [, , , ]
2025-09-18 03:07:31,302 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4130-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4130-1)
2025-09-18 03:07:31,302 - INFO - Waiting for VM ctest-vm1-test-15270041 to be up..
2025-09-18 03:07:31,354 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-18 03:07:36,459 - DEBUG - VM is in ACTIVE state now
2025-09-18 03:07:36,459 - INFO - VM name : ctest-vm1-test-15270041
2025-09-18 03:07:36,568 - DEBUG - VM ctest-vm1-test-15270041 ID is b6638694-57d0-42b9-a54c-d988e5536af1
2025-09-18 03:07:36,569 - DEBUG - VM ctest-vm1-test-15270041 launched on Node an-jenkins-deploy-platform-ansible-os-4130-1
2025-09-18 03:07:36,661 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/b6638694-57d0-42b9-a54c-d988e5536af1
2025-09-18 03:07:37,001 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/b6638694-57d0-42b9-a54c-d988e5536af1
2025-09-18 03:07:37,037 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/01caca4a-a224-4fb5-b92b-af8029788ccf
2025-09-18 03:07:40,201 - 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-09-18 03:07:40,201 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15270041 failed!
2025-09-18 03:07:40,217 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:07:44,304 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2025-09-18 03:07:44,304 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15270041 failed!
2025-09-18 03:07:44,320 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:07:48,399 - 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-09-18 03:07:48,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15270041 failed!
2025-09-18 03:07:48,417 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:07:52,493 - 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-18 03:07:52,493 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15270041 failed!
2025-09-18 03:07:52,516 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:07:56,589 - 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-18 03:07:56,590 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15270041 failed!
2025-09-18 03:07:56,608 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:08:00,688 - 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-18 03:08:00,688 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15270041 failed!
2025-09-18 03:08:00,708 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:08:04,777 - 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-09-18 03:08:04,777 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15270041 failed!
2025-09-18 03:08:04,793 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:08:08,874 - 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-18 03:08:08,874 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15270041 failed!
2025-09-18 03:08:08,891 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:08:12,971 - 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-18 03:08:12,971 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15270041 failed!
2025-09-18 03:08:12,988 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:08:15,052 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.01 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.009/5.721/8.434/2.712 ms')
2025-09-18 03:08:15,052 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15270041 passed
2025-09-18 03:08:15,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 03:08:15,123 - DEBUG - Waiting to SSH to VM ctest-vm1-test-15270041, IP 10.10.10.3, Port 22
2025-09-18 03:08:15,192 - 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-18 03:08:15,321 - DEBUG - VM ctest-vm1-test-15270041 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-18 03:08:20,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 03:08:20,322 - DEBUG - Waiting to SSH to VM ctest-vm1-test-15270041, IP 10.10.10.3, Port 22
2025-09-18 03:08:20,392 - 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-18 03:08:20,482 - DEBUG - VM ctest-vm1-test-15270041 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-18 03:08:25,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 03:08:25,482 - DEBUG - Waiting to SSH to VM ctest-vm1-test-15270041, IP 10.10.10.3, Port 22
2025-09-18 03:08:25,551 - 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-18 03:08:25,662 - DEBUG - VM ctest-vm1-test-15270041 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-18 03:08:30,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 03:08:30,663 - DEBUG - Waiting to SSH to VM ctest-vm1-test-15270041, IP 10.10.10.3, Port 22
2025-09-18 03:08:30,732 - 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-18 03:08:30,821 - DEBUG - VM ctest-vm1-test-15270041 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-18 03:08:35,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 03:08:35,822 - DEBUG - Waiting to SSH to VM ctest-vm1-test-15270041, IP 10.10.10.3, Port 22
2025-09-18 03:08:35,986 - DEBUG - VM ctest-vm1-test-15270041 is ready for SSH connections
2025-09-18 03:08:35,986 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123
2025-09-18 03:08:35,986 - DEBUG - ifconfig | grep 10.10.10.3
2025-09-18 03:08:56,578 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-09-18 03:08:56,579 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-15270041", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123
2025-09-18 03:08:56,579 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-15270041", None, socket.AF_INET6)'
2025-09-18 03:08:58,701 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-15270041, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123
2025-09-18 03:08:58,702 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-15270041
2025-09-18 03:09:01,234 - DEBUG - PING ctest-vm1-test-15270041.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-15270041.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.57 ms
64 bytes from ctest-vm1-test-15270041.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.38 ms
64 bytes from ctest-vm1-test-15270041.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.317 ms
--- ctest-vm1-test-15270041.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.317/2.425/4.571/1.736 ms
2025-09-18 03:09:01,234 - INFO - Ping to IP ctest-vm1-test-15270041 from VM ctest-vm1-test-15270041 passed
2025-09-18 03:09:01,267 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-09-18 03:09:01,276 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04515410@0%20AllEntriesVdnsRecordsReq
2025-09-18 03:09:01,283 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-09-18 03:09:01,290 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04515410@0%20AllEntriesVdnsRecordsReq
2025-09-18 03:09:01,297 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-09-18 03:09:01,304 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04515410@0%20AllEntriesVdnsRecordsReq
2025-09-18 03:09:01,312 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-04515410:1:ctest-vm1-test-15270041:10.10.10.3', 'rec_name': 'ctest-vm1-test-15270041', '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-4130-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-15270041.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-09-18 03:09:01,312 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-04515410:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-15270041', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-15270041', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4130-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-15270041.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-18 03:09:02,762 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4130-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4130-2)
2025-09-18 03:09:02,762 - INFO - Waiting for VM ctest-vm2-test-80857048 to be up..
2025-09-18 03:09:02,819 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-18 03:09:07,920 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-18 03:09:13,051 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-18 03:09:18,173 - DEBUG - VM is in ACTIVE state now
2025-09-18 03:09:18,173 - INFO - VM name : ctest-vm2-test-80857048
2025-09-18 03:09:18,274 - DEBUG - VM ctest-vm2-test-80857048 ID is 35918a96-7880-48ee-a8db-9e0c2fe7a248
2025-09-18 03:09:18,274 - DEBUG - VM ctest-vm2-test-80857048 launched on Node an-jenkins-deploy-platform-ansible-os-4130-2
2025-09-18 03:09:18,380 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/35918a96-7880-48ee-a8db-9e0c2fe7a248
2025-09-18 03:09:18,394 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/cb3fe85b-33e4-44d9-a4e7-92bf36ba0be4
2025-09-18 03:09:21,582 - 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-09-18 03:09:21,582 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80857048 failed!
2025-09-18 03:09:21,598 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:09:25,674 - 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 1008ms')
2025-09-18 03:09:25,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80857048 failed!
2025-09-18 03:09:25,688 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:09:29,778 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms')
2025-09-18 03:09:29,779 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80857048 failed!
2025-09-18 03:09:29,797 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:09:33,865 - 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-09-18 03:09:33,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80857048 failed!
2025-09-18 03:09:33,882 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:09:37,969 - 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-18 03:09:37,969 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80857048 failed!
2025-09-18 03:09:37,986 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:09:42,063 - 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-09-18 03:09:42,063 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80857048 failed!
2025-09-18 03:09:42,081 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:09:46,155 - 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-09-18 03:09:46,155 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80857048 failed!
2025-09-18 03:09:46,170 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:09:50,247 - 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-18 03:09:50,247 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80857048 failed!
2025-09-18 03:09:50,268 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:09:54,344 - 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-18 03:09:54,344 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80857048 failed!
2025-09-18 03:09:54,361 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-32127789:ctest-vn1-vdns-27774205 is 10.10.10.1 and allocation pool is NOT set
2025-09-18 03:09:56,436 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=6.82 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 4.843/5.830/6.818/0.987 ms')
2025-09-18 03:09:56,437 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-80857048 passed
2025-09-18 03:09:56,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 03:09:56,507 - DEBUG - Waiting to SSH to VM ctest-vm2-test-80857048, IP 10.10.10.4, Port 22
2025-09-18 03:09:56,575 - 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-18 03:09:56,666 - DEBUG - VM ctest-vm2-test-80857048 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-18 03:10:01,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 03:10:01,667 - DEBUG - Waiting to SSH to VM ctest-vm2-test-80857048, IP 10.10.10.4, Port 22
2025-09-18 03:10:01,736 - 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-18 03:10:01,841 - DEBUG - VM ctest-vm2-test-80857048 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-18 03:10:06,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 03:10:06,842 - DEBUG - Waiting to SSH to VM ctest-vm2-test-80857048, IP 10.10.10.4, Port 22
2025-09-18 03:10:06,911 - 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-18 03:10:07,010 - DEBUG - VM ctest-vm2-test-80857048 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-18 03:10:12,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 03:10:12,011 - DEBUG - Waiting to SSH to VM ctest-vm2-test-80857048, IP 10.10.10.4, Port 22
2025-09-18 03:10:12,068 - 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-18 03:10:12,172 - DEBUG - VM ctest-vm2-test-80857048 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-18 03:10:17,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 03:10:17,173 - DEBUG - Waiting to SSH to VM ctest-vm2-test-80857048, IP 10.10.10.4, Port 22
2025-09-18 03:10:17,347 - DEBUG - VM ctest-vm2-test-80857048 is ready for SSH connections
2025-09-18 03:10:17,348 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-09-18 03:10:17,348 - DEBUG - ifconfig | grep 10.10.10.4
2025-09-18 03:10:37,170 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-09-18 03:10:37,170 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-80857048", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-09-18 03:10:37,170 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-80857048", None, socket.AF_INET6)'
2025-09-18 03:10:38,798 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-80857048, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-09-18 03:10:38,799 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-80857048
2025-09-18 03:10:41,324 - DEBUG - PING ctest-vm2-test-80857048.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-80857048.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.45 ms
64 bytes from ctest-vm2-test-80857048.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.246 ms
64 bytes from ctest-vm2-test-80857048.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.218 ms
--- ctest-vm2-test-80857048.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.218/1.306/3.454/1.518 ms
2025-09-18 03:10:41,325 - INFO - Ping to IP ctest-vm2-test-80857048 from VM ctest-vm2-test-80857048 passed
2025-09-18 03:10:41,352 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-09-18 03:10:41,360 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04515410@0%20AllEntriesVdnsRecordsReq
2025-09-18 03:10:41,365 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-09-18 03:10:41,370 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04515410@0%20AllEntriesVdnsRecordsReq
2025-09-18 03:10:41,375 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-09-18 03:10:41,380 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04515410@0%20AllEntriesVdnsRecordsReq
2025-09-18 03:10:41,387 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-04515410:1:ctest-vm2-test-80857048:10.10.10.4', 'rec_name': 'ctest-vm2-test-80857048', '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-4130-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-80857048.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-09-18 03:10:41,387 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-04515410:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-80857048', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-80857048', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4130-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-80857048.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-18 03:10:41,387 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-80857048", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123
2025-09-18 03:10:41,387 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-80857048", None, socket.AF_INET6)'
2025-09-18 03:10:42,598 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-80857048, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123
2025-09-18 03:10:42,599 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-80857048
2025-09-18 03:10:45,184 - DEBUG - PING ctest-vm2-test-80857048.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-80857048.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=9.79 ms
64 bytes from ctest-vm2-test-80857048.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.24 ms
64 bytes from ctest-vm2-test-80857048.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.27 ms
--- ctest-vm2-test-80857048.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.240/4.103/9.796/4.025 ms
2025-09-18 03:10:45,184 - INFO - Ping to IP ctest-vm2-test-80857048 from VM ctest-vm1-test-15270041 passed
2025-09-18 03:10:45,184 - INFO - Try deleting the VDNS entry ctest-vdns1-04515410 with back ref of ipam.
2025-09-18 03:10:45,245 - DEBUG - Delete when resource still referred: ['http://10.0.0.41:8082/network-ipam/5c8be848-4ec4-46b4-a1c9-f945f0a6993b']
2025-09-18 03:10:45,246 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-09-18 03:10:45,246 - INFO - Add CNAME VDNS record for ctest-vm1-test-15270041 and verify we able to ping by alias name
2025-09-18 03:10:45,293 - DEBUG - Creating VDNS record data : test-rec
2025-09-18 03:10:45,418 - INFO - In verify_on_setup
2025-09-18 03:10:45,513 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-04515410', 'test-rec'] created succesfully
2025-09-18 03:10:45,514 - INFO - Verify VDNS record is shown in the API server
2025-09-18 03:10:45,514 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2025-09-18 03:10:45,522 - DEBUG - Requesting: http://10.0.0.56:8082/domain/245899c5-19ba-4930-be6a-859f116860e1
2025-09-18 03:10:45,536 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS/1bbffc93-d5d3-4c37-8a43-9f382b545d66
2025-09-18 03:10:45,547 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS-record/6165795c-6a02-4f42-bbf4-023394e4ffc9
2025-09-18 03:10:45,554 - INFO - Verify VDNS record is shown in the control node
2025-09-18 03:10:45,580 - 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.61, gateway password: c0ntrail123
2025-09-18 03:10:45,580 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-09-18 03:10:46,824 - 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.61, gateway password: c0ntrail123
2025-09-18 03:10:46,824 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-09-18 03:10:47,383 - DEBUG - ping: unknown host vm1-test-alias
2025-09-18 03:10:47,383 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-15270041 failed
2025-09-18 03:10:48,384 - 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.61, gateway password: c0ntrail123
2025-09-18 03:10:48,384 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-09-18 03:10:49,592 - 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.61, gateway password: c0ntrail123
2025-09-18 03:10:49,592 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-09-18 03:10:52,171 - DEBUG - PING ctest-vm1-test-15270041.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-15270041.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.285 ms
64 bytes from ctest-vm1-test-15270041.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.286 ms
64 bytes from ctest-vm1-test-15270041.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.411 ms
--- ctest-vm1-test-15270041.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.285/0.327/0.411/0.060 ms
2025-09-18 03:10:52,172 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-15270041 passed
2025-09-18 03:10:52,172 - DEBUG - Deleting VDNS record data: test-rec
2025-09-18 03:10:52,265 - INFO - VDNS record info: default-domain:ctest-vdns1-04515410:test-rec deleted successfully.
2025-09-18 03:10:52,266 - INFO - Deleting VM ctest-vm2-test-80857048
2025-09-18 03:10:52,346 - INFO - Deleting VM ctest-vm1-test-15270041
2025-09-18 03:10:52,427 - INFO - Deleting VN ctest-vn1-vdns-27774205
2025-09-18 03:10:52,475 - DEBUG - VN 44ad497d-f10e-4392-b14c-42021c062e85 still in use: Unable to complete operation on network 44ad497d-f10e-4392-b14c-42021c062e85. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9deedf38-3cb2-4428-ace1-3cb2426c783a']
2025-09-18 03:10:52,475 - WARNING - Deleting VN ctest-vn1-vdns-27774205 failed..Will retry
2025-09-18 03:10:54,733 - DEBUG - Response for deleting network ()
2025-09-18 03:10:54,789 - DEBUG - Deleting VDNS Entry: ctest-vdns1-04515410
2025-09-18 03:10:54,885 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-04515410'] deleted successfully.
2025-09-18 03:10:54,885 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2025-09-18 03:10:54,895 - DEBUG - Requesting: http://10.0.0.56:8082/domain/245899c5-19ba-4930-be6a-859f116860e1
2025-09-18 03:10:54,915 - DEBUG - VDNS information not found in API server
2025-09-18 03:10:54,915 - INFO - VDNS information ctest-vdns1-04515410 removed from the API Server
2025-09-18 03:10:54,928 - INFO - VDNS information ctest-vdns1-04515410 removed in the Control node
2025-09-18 03:10:54,929 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-32127789']
2025-09-18 03:10:56,225 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 03:10:56,225 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:31]
2025-09-18 03:10:56,225 - INFO - --------------------------------------------------------------------------------
2025-09-18 03:10:57,040 - INFO - Deleted project: ctest-TestvDNSBasic0-32127789, ID : 5d80ed95-0959-4eae-874d-02b5c2ab53db