2025-08-26 01:02:51,758 - INFO - Domain Default found not creating
2025-08-26 01:02:52,238 - INFO - Project ctest-TestvDNSBasic0-58700322 not found, creating it
2025-08-26 01:02:52,857 - INFO - Created Project:ctest-TestvDNSBasic0-58700322, ID : ba7655a7-8855-4f46-a50f-128fc80fdd1d
2025-08-26 01:02:54,757 - INFO - ================================================================================
2025-08-26 01:02:54,757 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-08-26 01:02:54,758 - 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-08-26 01:02:56,157 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.41': {'10.20.0.25': '0', '10.20.0.14': '0'}} with
2025-08-26 01:02:56,158 - INFO - Initial checks done. Running the testcase now
2025-08-26 01:02:56,158 - INFO -
2025-08-26 01:02:56,968 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-58700322'](ba7655a7-8855-4f46-a50f-128fc80fdd1d)
2025-08-26 01:02:57,043 - DEBUG - Creating VDNS : ctest-vdns1-73332680
2025-08-26 01:02:57,303 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-73332680'] created succesfully
2025-08-26 01:02:57,304 - DEBUG - Verify VDNS entry is shown in control node
2025-08-26 01:02:57,333 - DEBUG - Verify VDNS entry is shown in the API server
2025-08-26 01:02:57,333 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2025-08-26 01:02:57,654 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2025-08-26 01:02:57,685 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ef4dcfcd-b3c2-4159-a2f0-815ca79e3b02
2025-08-26 01:02:57,718 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-DNS/648290fd-e794-4616-8b01-346d53718774
2025-08-26 01:02:58,537 - DEBUG - Response for create_network : {'network': {'id': 'f5fe0ef7-3303-477c-9434-ed66551d9f00', 'name': 'ctest-vn1-vdns-43971024', 'tenant_id': 'ba7655a788554f46a50f128fc80fdd1d', 'project_id': 'ba7655a788554f46a50f128fc80fdd1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-58700322', 'ctest-vn1-vdns-43971024'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 01:02:58,973 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0c36e84-3880-4c93-8fc2-6a4c2595d9a9', 'name': '', 'tenant_id': 'ba7655a788554f46a50f128fc80fdd1d', 'network_id': 'f5fe0ef7-3303-477c-9434-ed66551d9f00', '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': 'ba7655a788554f46a50f128fc80fdd1d'}}
2025-08-26 01:02:59,002 - INFO - Created VN ctest-vn1-vdns-43971024
2025-08-26 01:02:59,018 - DEBUG - VN ctest-vn1-vdns-43971024 UUID is f5fe0ef7-3303-477c-9434-ed66551d9f00
2025-08-26 01:02:59,223 - DEBUG - Services list from nova: [, , , ]
2025-08-26 01:03:00,391 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3931-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3931-1)
2025-08-26 01:03:00,392 - INFO - Waiting for VM ctest-vm1-test-38434702 to be up..
2025-08-26 01:03:00,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-26 01:03:05,553 - DEBUG - VM is in ACTIVE state now
2025-08-26 01:03:05,553 - INFO - VM name : ctest-vm1-test-38434702
2025-08-26 01:03:05,651 - DEBUG - VM ctest-vm1-test-38434702 ID is ceccb938-1322-4a46-b1b7-3133ad64ddde
2025-08-26 01:03:05,651 - DEBUG - VM ctest-vm1-test-38434702 launched on Node an-jenkins-deploy-platform-ansible-os-3931-1
2025-08-26 01:03:05,760 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ceccb938-1322-4a46-b1b7-3133ad64ddde
2025-08-26 01:03:06,082 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ceccb938-1322-4a46-b1b7-3133ad64ddde
2025-08-26 01:03:06,121 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0c4cb8a5-1b42-4d29-ad11-18a8ee6977c8
2025-08-26 01:03:09,303 - 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-08-26 01:03:09,303 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38434702 failed!
2025-08-26 01:03:09,318 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:03:13,404 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2025-08-26 01:03:13,405 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38434702 failed!
2025-08-26 01:03:13,431 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:03:17,500 - 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-08-26 01:03:17,500 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38434702 failed!
2025-08-26 01:03:17,516 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:03:21,599 - 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-08-26 01:03:21,599 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38434702 failed!
2025-08-26 01:03:21,624 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:03:25,726 - 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 1035ms')
2025-08-26 01:03:25,726 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38434702 failed!
2025-08-26 01:03:25,741 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:03:29,822 - 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-08-26 01:03:29,822 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38434702 failed!
2025-08-26 01:03:29,839 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:03:33,920 - 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-08-26 01:03:33,920 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38434702 failed!
2025-08-26 01:03:33,944 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:03:38,039 - 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 1031ms')
2025-08-26 01:03:38,039 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38434702 failed!
2025-08-26 01:03:38,058 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:03:40,119 - 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=6.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.13 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.134/3.686/6.238/2.552 ms')
2025-08-26 01:03:40,119 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38434702 passed
2025-08-26 01:03:40,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:03:40,207 - DEBUG - Waiting to SSH to VM ctest-vm1-test-38434702, IP 10.10.10.3, Port 22
2025-08-26 01:03:40,268 - 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-08-26 01:03:40,376 - DEBUG - VM ctest-vm1-test-38434702 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 01:03:45,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:03:45,377 - DEBUG - Waiting to SSH to VM ctest-vm1-test-38434702, IP 10.10.10.3, Port 22
2025-08-26 01:03:45,446 - 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-08-26 01:03:45,555 - DEBUG - VM ctest-vm1-test-38434702 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 01:03:50,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:03:50,556 - DEBUG - Waiting to SSH to VM ctest-vm1-test-38434702, IP 10.10.10.3, Port 22
2025-08-26 01:03:50,622 - 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-08-26 01:03:50,725 - DEBUG - VM ctest-vm1-test-38434702 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 01:03:55,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:03:55,725 - DEBUG - Waiting to SSH to VM ctest-vm1-test-38434702, IP 10.10.10.3, Port 22
2025-08-26 01:03:55,783 - 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-08-26 01:03:55,899 - DEBUG - VM ctest-vm1-test-38434702 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 01:04:00,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:04:00,900 - DEBUG - Waiting to SSH to VM ctest-vm1-test-38434702, IP 10.10.10.3, Port 22
2025-08-26 01:04:01,070 - DEBUG - VM ctest-vm1-test-38434702 is ready for SSH connections
2025-08-26 01:04:01,070 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.137, gateway password: c0ntrail123
2025-08-26 01:04:01,070 - DEBUG - ifconfig | grep 10.10.10.3
2025-08-26 01:04:19,529 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-08-26 01:04:19,530 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-38434702", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.137, gateway password: c0ntrail123
2025-08-26 01:04:19,530 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-38434702", None, socket.AF_INET6)'
2025-08-26 01:04:22,155 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-38434702, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.137, gateway password: c0ntrail123
2025-08-26 01:04:22,155 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-38434702
2025-08-26 01:04:25,098 - DEBUG - PING ctest-vm1-test-38434702.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-38434702.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.42 ms
64 bytes from ctest-vm1-test-38434702.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.241 ms
64 bytes from ctest-vm1-test-38434702.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.201 ms
--- ctest-vm1-test-38434702.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.201/0.954/2.420/1.036 ms
2025-08-26 01:04:25,098 - INFO - Ping to IP ctest-vm1-test-38434702 from VM ctest-vm1-test-38434702 passed
2025-08-26 01:04:25,151 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-26 01:04:25,160 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=default-domain:ctest-vdns1-73332680@0%20AllEntriesVdnsRecordsReq
2025-08-26 01:04:25,170 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-26 01:04:25,184 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=default-domain:ctest-vdns1-73332680@0%20AllEntriesVdnsRecordsReq
2025-08-26 01:04:25,197 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-26 01:04:25,210 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=default-domain:ctest-vdns1-73332680@0%20AllEntriesVdnsRecordsReq
2025-08-26 01:04:25,220 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-73332680:1:ctest-vm1-test-38434702:10.10.10.3', 'rec_name': 'ctest-vm1-test-38434702', '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-3931-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-38434702.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-08-26 01:04:25,220 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-73332680:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-38434702', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-38434702', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3931-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-38434702.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-08-26 01:04:26,702 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3931-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3931-2)
2025-08-26 01:04:26,703 - INFO - Waiting for VM ctest-vm2-test-34973973 to be up..
2025-08-26 01:04:26,769 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-26 01:04:31,881 - DEBUG - VM is in ACTIVE state now
2025-08-26 01:04:31,881 - INFO - VM name : ctest-vm2-test-34973973
2025-08-26 01:04:31,980 - DEBUG - VM ctest-vm2-test-34973973 ID is 44d8e8d7-5fab-4fb3-a628-cd4496f3585c
2025-08-26 01:04:31,980 - DEBUG - VM ctest-vm2-test-34973973 launched on Node an-jenkins-deploy-platform-ansible-os-3931-2
2025-08-26 01:04:32,078 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/44d8e8d7-5fab-4fb3-a628-cd4496f3585c
2025-08-26 01:04:32,091 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3b78f30a-8d30-4642-87ff-098f45343e85
2025-08-26 01:04:35,342 - 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-08-26 01:04:35,342 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34973973 failed!
2025-08-26 01:04:35,373 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:04:39,467 - 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-08-26 01:04:39,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34973973 failed!
2025-08-26 01:04:39,487 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:04:43,599 - 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-08-26 01:04:43,599 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34973973 failed!
2025-08-26 01:04:43,617 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:04:47,686 - 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 1004ms')
2025-08-26 01:04:47,687 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34973973 failed!
2025-08-26 01:04:47,702 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:04:51,814 - 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 1029ms')
2025-08-26 01:04:51,814 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34973973 failed!
2025-08-26 01:04:51,829 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:04:55,912 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms')
2025-08-26 01:04:55,912 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34973973 failed!
2025-08-26 01:04:55,927 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:05:00,017 - 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-08-26 01:05:00,017 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34973973 failed!
2025-08-26 01:05:00,034 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:05:04,134 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms')
2025-08-26 01:05:04,134 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34973973 failed!
2025-08-26 01:05:04,149 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58700322:ctest-vn1-vdns-43971024 is 10.10.10.1 and allocation pool is NOT set
2025-08-26 01:05:06,238 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.05 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 = 3.053/5.584/8.116/2.531 ms')
2025-08-26 01:05:06,239 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34973973 passed
2025-08-26 01:05:06,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:05:06,314 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34973973, IP 10.10.10.4, Port 22
2025-08-26 01:05:06,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-08-26 01:05:06,513 - DEBUG - VM ctest-vm2-test-34973973 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 01:05:11,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:05:11,515 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34973973, IP 10.10.10.4, Port 22
2025-08-26 01:05:11,610 - 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-08-26 01:05:11,718 - DEBUG - VM ctest-vm2-test-34973973 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 01:05:16,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:05:16,719 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34973973, IP 10.10.10.4, Port 22
2025-08-26 01:05:16,786 - 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-08-26 01:05:16,885 - DEBUG - VM ctest-vm2-test-34973973 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 01:05:21,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:05:21,886 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34973973, IP 10.10.10.4, Port 22
2025-08-26 01:05:21,964 - 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-08-26 01:05:22,059 - DEBUG - VM ctest-vm2-test-34973973 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 01:05:27,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:05:27,061 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34973973, IP 10.10.10.4, Port 22
2025-08-26 01:05:27,238 - DEBUG - VM ctest-vm2-test-34973973 is ready for SSH connections
2025-08-26 01:05:27,238 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-08-26 01:05:27,238 - DEBUG - ifconfig | grep 10.10.10.4
2025-08-26 01:05:47,624 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-08-26 01:05:47,625 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34973973", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-08-26 01:05:47,625 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34973973", None, socket.AF_INET6)'
2025-08-26 01:05:50,148 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-34973973, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-08-26 01:05:50,149 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-34973973
2025-08-26 01:05:53,228 - DEBUG - PING ctest-vm2-test-34973973.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-34973973.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.76 ms
64 bytes from ctest-vm2-test-34973973.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.236 ms
64 bytes from ctest-vm2-test-34973973.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.507 ms
--- ctest-vm2-test-34973973.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.236/1.169/2.764/1.133 ms
2025-08-26 01:05:53,228 - INFO - Ping to IP ctest-vm2-test-34973973 from VM ctest-vm2-test-34973973 passed
2025-08-26 01:05:53,300 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-26 01:05:53,313 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=default-domain:ctest-vdns1-73332680@0%20AllEntriesVdnsRecordsReq
2025-08-26 01:05:53,323 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-26 01:05:53,343 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=default-domain:ctest-vdns1-73332680@0%20AllEntriesVdnsRecordsReq
2025-08-26 01:05:53,385 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-26 01:05:53,403 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=default-domain:ctest-vdns1-73332680@0%20AllEntriesVdnsRecordsReq
2025-08-26 01:05:53,415 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-73332680:1:ctest-vm2-test-34973973:10.10.10.4', 'rec_name': 'ctest-vm2-test-34973973', '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-3931-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-34973973.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-08-26 01:05:53,415 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-73332680:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-34973973', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-34973973', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3931-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-34973973.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-08-26 01:05:53,415 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34973973", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.137, gateway password: c0ntrail123
2025-08-26 01:05:53,415 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34973973", None, socket.AF_INET6)'
2025-08-26 01:05:54,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-34973973, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.137, gateway password: c0ntrail123
2025-08-26 01:05:54,567 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-34973973
2025-08-26 01:05:57,203 - DEBUG - PING ctest-vm2-test-34973973.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-34973973.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=23.6 ms
64 bytes from ctest-vm2-test-34973973.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.78 ms
64 bytes from ctest-vm2-test-34973973.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.59 ms
--- ctest-vm2-test-34973973.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.593/9.013/23.664/10.360 ms
2025-08-26 01:05:57,203 - INFO - Ping to IP ctest-vm2-test-34973973 from VM ctest-vm1-test-38434702 passed
2025-08-26 01:05:57,203 - INFO - Try deleting the VDNS entry ctest-vdns1-73332680 with back ref of ipam.
2025-08-26 01:05:57,271 - DEBUG - Delete when resource still referred: ['http://10.0.0.254:8082/network-ipam/366d1e2b-c273-459b-83f0-b2f39174c329']
2025-08-26 01:05:57,271 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-08-26 01:05:57,271 - INFO - Add CNAME VDNS record for ctest-vm1-test-38434702 and verify we able to ping by alias name
2025-08-26 01:05:57,327 - DEBUG - Creating VDNS record data : test-rec
2025-08-26 01:05:57,451 - INFO - In verify_on_setup
2025-08-26 01:05:57,559 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-73332680', 'test-rec'] created succesfully
2025-08-26 01:05:57,559 - INFO - Verify VDNS record is shown in the API server
2025-08-26 01:05:57,560 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2025-08-26 01:05:57,567 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ef4dcfcd-b3c2-4159-a2f0-815ca79e3b02
2025-08-26 01:05:57,627 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-DNS/648290fd-e794-4616-8b01-346d53718774
2025-08-26 01:05:57,641 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-DNS-record/1888a425-6452-45a0-bd0e-ccb931dea531
2025-08-26 01:05:57,651 - INFO - Verify VDNS record is shown in the control node
2025-08-26 01:05:57,675 - 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.137, gateway password: c0ntrail123
2025-08-26 01:05:57,676 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-08-26 01:05:58,823 - 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.137, gateway password: c0ntrail123
2025-08-26 01:05:58,823 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-08-26 01:05:59,328 - DEBUG - ping: unknown host vm1-test-alias
2025-08-26 01:05:59,328 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-38434702 failed
2025-08-26 01:06:00,328 - 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.137, gateway password: c0ntrail123
2025-08-26 01:06:00,329 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-08-26 01:06:01,501 - 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.137, gateway password: c0ntrail123
2025-08-26 01:06:01,501 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-08-26 01:06:04,047 - DEBUG - PING ctest-vm1-test-38434702.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-38434702.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.10 ms
64 bytes from ctest-vm1-test-38434702.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.277 ms
64 bytes from ctest-vm1-test-38434702.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.173 ms
--- ctest-vm1-test-38434702.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.173/0.850/2.100/0.884 ms
2025-08-26 01:06:04,047 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-38434702 passed
2025-08-26 01:06:04,047 - DEBUG - Deleting VDNS record data: test-rec
2025-08-26 01:06:04,156 - INFO - VDNS record info: default-domain:ctest-vdns1-73332680:test-rec deleted successfully.
2025-08-26 01:06:04,156 - INFO - Deleting VM ctest-vm2-test-34973973
2025-08-26 01:06:04,240 - INFO - Deleting VM ctest-vm1-test-38434702
2025-08-26 01:06:04,343 - INFO - Deleting VN ctest-vn1-vdns-43971024
2025-08-26 01:06:04,397 - DEBUG - VN f5fe0ef7-3303-477c-9434-ed66551d9f00 still in use: Unable to complete operation on network f5fe0ef7-3303-477c-9434-ed66551d9f00. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-46066d44-a5b0-4a92-9b5d-e35562ec1ffd']
2025-08-26 01:06:04,397 - WARNING - Deleting VN ctest-vn1-vdns-43971024 failed..Will retry
2025-08-26 01:06:06,581 - DEBUG - Response for deleting network ()
2025-08-26 01:06:06,680 - DEBUG - Deleting VDNS Entry: ctest-vdns1-73332680
2025-08-26 01:06:06,791 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-73332680'] deleted successfully.
2025-08-26 01:06:06,791 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2025-08-26 01:06:06,799 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ef4dcfcd-b3c2-4159-a2f0-815ca79e3b02
2025-08-26 01:06:06,820 - DEBUG - VDNS information not found in API server
2025-08-26 01:06:06,820 - INFO - VDNS information ctest-vdns1-73332680 removed from the API Server
2025-08-26 01:06:06,827 - INFO - VDNS information ctest-vdns1-73332680 removed in the Control node
2025-08-26 01:06:06,827 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-58700322']
2025-08-26 01:06:08,159 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 01:06:08,160 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:14]
2025-08-26 01:06:08,160 - INFO - --------------------------------------------------------------------------------
2025-08-26 01:06:09,055 - INFO - Deleted project: ctest-TestvDNSBasic0-58700322, ID : ba7655a7-8855-4f46-a50f-128fc80fdd1d