2025-04-15 18:14:36,980 - INFO - Domain Default found not creating
2025-04-15 18:14:37,121 - INFO - Project ctest-TestvDNSBasic0-79450246 not found, creating it
2025-04-15 18:14:37,589 - INFO - Created Project:ctest-TestvDNSBasic0-79450246, ID : 22f83fef-ce30-4a48-8b88-2cee6bb9f2ea
2025-04-15 18:14:39,136 - INFO - ================================================================================
2025-04-15 18:14:39,137 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-04-15 18:14:39,137 - 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-04-15 18:14:39,394 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-04-15 18:14:39,394 - INFO - Initial checks done. Running the testcase now
2025-04-15 18:14:39,394 - INFO -
2025-04-15 18:14:40,086 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-79450246'](22f83fef-ce30-4a48-8b88-2cee6bb9f2ea)
2025-04-15 18:14:40,142 - DEBUG - Creating VDNS : ctest-vdns1-37431839
2025-04-15 18:14:40,358 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-37431839'] created succesfully
2025-04-15 18:14:40,358 - DEBUG - Verify VDNS entry is shown in control node
2025-04-15 18:14:40,365 - DEBUG - Verify VDNS entry is shown in the API server
2025-04-15 18:14:40,365 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-15 18:14:40,657 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-15 18:14:40,686 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ac681e4-2782-45eb-a063-ffd62b5ab77c
2025-04-15 18:14:40,699 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/08dc0d7e-dbe0-4a23-abe4-8b200f1f1426
2025-04-15 18:14:41,267 - DEBUG - Response for create_network : {'network': {'id': '7bdfb05d-078e-4a57-a10a-2521b85ee79c', 'name': 'ctest-vn1-vdns-69347582', 'tenant_id': '22f83fefce304a488b882cee6bb9f2ea', 'project_id': '22f83fefce304a488b882cee6bb9f2ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-79450246', 'ctest-vn1-vdns-69347582'], 'port_security_enabled': True, 'description': ''}}
2025-04-15 18:14:41,444 - DEBUG - Response for create_subnet : {'subnet': {'id': '08580428-f738-41da-9d35-cc82432e9e1f', 'name': '', 'tenant_id': '22f83fefce304a488b882cee6bb9f2ea', 'network_id': '7bdfb05d-078e-4a57-a10a-2521b85ee79c', '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': '22f83fefce304a488b882cee6bb9f2ea'}}
2025-04-15 18:14:41,462 - INFO - Created VN ctest-vn1-vdns-69347582
2025-04-15 18:14:41,514 - DEBUG - VN ctest-vn1-vdns-69347582 UUID is 7bdfb05d-078e-4a57-a10a-2521b85ee79c
2025-04-15 18:14:41,713 - DEBUG - Services list from nova: [, , ]
2025-04-15 18:14:42,726 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3121-1)
2025-04-15 18:14:42,726 - INFO - Waiting for VM ctest-vm1-test-51142839 to be up..
2025-04-15 18:14:42,766 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-15 18:14:47,843 - DEBUG - VM is in ACTIVE state now
2025-04-15 18:14:47,844 - INFO - VM name : ctest-vm1-test-51142839
2025-04-15 18:14:47,919 - DEBUG - VM ctest-vm1-test-51142839 ID is bc61c7dc-08bb-4bf1-b932-43d5bbed47d5
2025-04-15 18:14:47,920 - DEBUG - VM ctest-vm1-test-51142839 launched on Node cn-jenkins-deploy-platform-ansible-os-3121-1
2025-04-15 18:14:48,003 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bc61c7dc-08bb-4bf1-b932-43d5bbed47d5
2025-04-15 18:14:48,013 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/72125a62-9f37-4c42-8792-53a0c77c1cad
2025-04-15 18:14:51,277 - 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-04-15 18:14:51,277 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51142839 failed!
2025-04-15 18:14:51,334 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-79450246:ctest-vn1-vdns-69347582 is 10.10.10.1 and allocation pool is NOT set
2025-04-15 18:14:53,393 - 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=7.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.87 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.865/5.533/7.202/1.668 ms')
2025-04-15 18:14:53,393 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51142839 passed
2025-04-15 18:14:53,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-15 18:14:53,554 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51142839, IP 10.10.10.3, Port 22
2025-04-15 18:14:53,624 - DEBUG - Error on ssh to cirros@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-04-15 18:14:53,710 - DEBUG - VM ctest-vm1-test-51142839 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-15 18:14:58,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-15 18:14:58,711 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51142839, IP 10.10.10.3, Port 22
2025-04-15 18:14:58,870 - DEBUG - VM ctest-vm1-test-51142839 is ready for SSH connections
2025-04-15 18:14:58,870 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:14:58,870 - DEBUG - ifconfig | grep 10.10.10.3
2025-04-15 18:15:00,547 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-15 18:15:00,547 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-51142839", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:15:00,547 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-51142839", None, socket.AF_INET6)'
2025-04-15 18:15:00,819 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-51142839, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:15:00,820 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-51142839
2025-04-15 18:15:03,106 - DEBUG - PING ctest-vm1-test-51142839 (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=2.876 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.450 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.445 ms
--- ctest-vm1-test-51142839 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.445/1.257/2.876 ms
2025-04-15 18:15:03,107 - INFO - Ping to IP ctest-vm1-test-51142839 from VM ctest-vm1-test-51142839 passed
2025-04-15 18:15:03,124 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-15 18:15:03,132 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-37431839@0%20AllEntriesVdnsRecordsReq
2025-04-15 18:15:03,141 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-37431839:1:ctest-vm1-test-51142839:10.10.10.3', 'rec_name': 'ctest-vm1-test-51142839', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.3', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3121-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-51142839.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-15 18:15:03,141 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-37431839:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-51142839', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-51142839', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3121-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-51142839.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-04-15 18:15:04,379 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3121-1)
2025-04-15 18:15:04,379 - INFO - Waiting for VM ctest-vm2-test-43961072 to be up..
2025-04-15 18:15:04,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-15 18:15:09,504 - DEBUG - VM is in ACTIVE state now
2025-04-15 18:15:09,505 - INFO - VM name : ctest-vm2-test-43961072
2025-04-15 18:15:09,585 - DEBUG - VM ctest-vm2-test-43961072 ID is 3a43e511-bd3a-42b0-8357-2330ee0c2c1a
2025-04-15 18:15:09,585 - DEBUG - VM ctest-vm2-test-43961072 launched on Node cn-jenkins-deploy-platform-ansible-os-3121-1
2025-04-15 18:15:09,666 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3a43e511-bd3a-42b0-8357-2330ee0c2c1a
2025-04-15 18:15:09,677 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6a60de4e-0138-493b-994c-5f32ca43dd2a
2025-04-15 18:15:12,941 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2025-04-15 18:15:12,941 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-43961072 failed!
2025-04-15 18:15:12,999 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-79450246:ctest-vn1-vdns-69347582 is 10.10.10.1 and allocation pool is NOT set
2025-04-15 18:15:15,061 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=19.2 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.65 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.646/10.946/19.247/8.300 ms')
2025-04-15 18:15:15,061 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-43961072 passed
2025-04-15 18:15:15,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-15 18:15:15,210 - DEBUG - Waiting to SSH to VM ctest-vm2-test-43961072, IP 10.10.10.4, Port 22
2025-04-15 18:15:15,265 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-04-15 18:15:15,354 - DEBUG - VM ctest-vm2-test-43961072 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-15 18:15:20,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-15 18:15:20,356 - DEBUG - Waiting to SSH to VM ctest-vm2-test-43961072, IP 10.10.10.4, Port 22
2025-04-15 18:15:20,517 - DEBUG - VM ctest-vm2-test-43961072 is ready for SSH connections
2025-04-15 18:15:20,517 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:15:20,517 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-15 18:15:21,153 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-15 18:15:21,153 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-43961072", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:15:21,153 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-43961072", None, socket.AF_INET6)'
2025-04-15 18:15:21,404 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-43961072, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:15:21,404 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-43961072
2025-04-15 18:15:23,672 - DEBUG - PING ctest-vm2-test-43961072 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.312 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.378 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.589 ms
--- ctest-vm2-test-43961072 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.378/1.426/3.312 ms
2025-04-15 18:15:23,672 - INFO - Ping to IP ctest-vm2-test-43961072 from VM ctest-vm2-test-43961072 passed
2025-04-15 18:15:23,696 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-15 18:15:23,704 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-37431839@0%20AllEntriesVdnsRecordsReq
2025-04-15 18:15:23,711 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-37431839:1:ctest-vm2-test-43961072:10.10.10.4', 'rec_name': 'ctest-vm2-test-43961072', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.4', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3121-1/dns'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-43961072.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-15 18:15:23,711 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-37431839:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-43961072', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-43961072', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3121-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-43961072.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-04-15 18:15:23,712 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-43961072", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:15:23,712 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-43961072", None, socket.AF_INET6)'
2025-04-15 18:15:23,920 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-43961072, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:15:23,920 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-43961072
2025-04-15 18:15:26,181 - DEBUG - PING ctest-vm2-test-43961072 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=7.534 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.999 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.845 ms
--- ctest-vm2-test-43961072 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.845/3.126/7.534 ms
2025-04-15 18:15:26,181 - INFO - Ping to IP ctest-vm2-test-43961072 from VM ctest-vm1-test-51142839 passed
2025-04-15 18:15:26,181 - INFO - Try deleting the VDNS entry ctest-vdns1-37431839 with back ref of ipam.
2025-04-15 18:15:26,238 - DEBUG - Delete when resource still referred: ['http://10.0.0.254:8082/network-ipam/6fa3b49c-68c5-46e0-9741-6b9fc5471731']
2025-04-15 18:15:26,238 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-15 18:15:26,238 - INFO - Add CNAME VDNS record for ctest-vm1-test-51142839 and verify we able to ping by alias name
2025-04-15 18:15:26,286 - DEBUG - Creating VDNS record data : test-rec
2025-04-15 18:15:26,398 - INFO - In verify_on_setup
2025-04-15 18:15:26,494 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-37431839', 'test-rec'] created succesfully
2025-04-15 18:15:26,495 - INFO - Verify VDNS record is shown in the API server
2025-04-15 18:15:26,495 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-15 18:15:26,503 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ac681e4-2782-45eb-a063-ffd62b5ab77c
2025-04-15 18:15:26,516 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/08dc0d7e-dbe0-4a23-abe4-8b200f1f1426
2025-04-15 18:15:26,526 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS-record/a7a17739-4a01-4082-9385-06cb6b5b294f
2025-04-15 18:15:26,533 - INFO - Verify VDNS record is shown in the control node
2025-04-15 18:15:26,539 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:15:26,539 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-15 18:15:26,724 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:15:26,724 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-15 18:15:27,004 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-15 18:15:27,005 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-51142839 failed
2025-04-15 18:15:28,005 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:15:28,006 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-15 18:15:28,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:15:28,218 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-15 18:15:28,471 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-15 18:15:28,471 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-51142839 failed
2025-04-15 18:15:29,472 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:15:29,473 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-15 18:15:29,670 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:15:29,671 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-15 18:15:31,922 - DEBUG - PING vm1-test-alias (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=0.372 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.358 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.291 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.291/0.340/0.372 ms
2025-04-15 18:15:31,922 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-51142839 passed
2025-04-15 18:15:31,922 - DEBUG - Deleting VDNS record data: test-rec
2025-04-15 18:15:31,990 - INFO - VDNS record info: default-domain:ctest-vdns1-37431839:test-rec deleted successfully.
2025-04-15 18:15:31,990 - INFO - Deleting VM ctest-vm2-test-43961072
2025-04-15 18:15:32,071 - INFO - Deleting VM ctest-vm1-test-51142839
2025-04-15 18:15:32,141 - INFO - Deleting VN ctest-vn1-vdns-69347582
2025-04-15 18:15:32,181 - DEBUG - VN 7bdfb05d-078e-4a57-a10a-2521b85ee79c still in use: Unable to complete operation on network 7bdfb05d-078e-4a57-a10a-2521b85ee79c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ff64b888-32c1-4405-92d4-104bcaaf2aa1']
2025-04-15 18:15:32,181 - WARNING - Deleting VN ctest-vn1-vdns-69347582 failed..Will retry
2025-04-15 18:15:34,422 - DEBUG - Response for deleting network ()
2025-04-15 18:15:34,453 - DEBUG - Deleting VDNS Entry: ctest-vdns1-37431839
2025-04-15 18:15:34,526 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-37431839'] deleted successfully.
2025-04-15 18:15:34,526 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-15 18:15:34,533 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ac681e4-2782-45eb-a063-ffd62b5ab77c
2025-04-15 18:15:34,547 - DEBUG - VDNS information not found in API server
2025-04-15 18:15:34,547 - INFO - VDNS information ctest-vdns1-37431839 removed from the API Server
2025-04-15 18:15:34,553 - INFO - VDNS information ctest-vdns1-37431839 removed in the Control node
2025-04-15 18:15:34,553 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-79450246']
2025-04-15 18:15:34,813 - DEBUG - No XMPP flaps were noticed during the test
2025-04-15 18:15:34,813 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:55]
2025-04-15 18:15:34,813 - INFO - --------------------------------------------------------------------------------
2025-04-15 18:15:35,491 - INFO - Deleted project: ctest-TestvDNSBasic0-79450246, ID : 22f83fef-ce30-4a48-8b88-2cee6bb9f2ea