is in ACTIVE state now
2025-04-24 02:08:05,819 - INFO - VM name : ctest-vm2-test-19751765
2025-04-24 02:08:05,881 - DEBUG - VM ctest-vm2-test-19751765 ID is 76ea5ee5-9973-44c9-a24b-88350ca4223a
2025-04-24 02:08:05,882 - DEBUG - VM ctest-vm2-test-19751765 launched on Node cn-jenkins-deploy-platform-ansible-os-3196-1
2025-04-24 02:08:05,948 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/76ea5ee5-9973-44c9-a24b-88350ca4223a
2025-04-24 02:08:05,955 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5c9ddfa1-2cd3-4c3a-b0b4-955a0ab5e601
2025-04-24 02:08:09,196 - 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 1016ms')
2025-04-24 02:08:09,196 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-19751765 failed!
2025-04-24 02:08:09,257 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-98503863:ctest-vn1-vdns-64864469 is 10.10.10.1 and allocation pool is NOT set
2025-04-24 02:08:11,320 - 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=2.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.327 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.327/1.475/2.624/1.148 ms')
2025-04-24 02:08:11,320 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-19751765 passed
2025-04-24 02:08:11,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 02:08:11,473 - DEBUG - Waiting to SSH to VM ctest-vm2-test-19751765, IP 10.10.10.4, Port 22
2025-04-24 02:08:11,624 - DEBUG - VM ctest-vm2-test-19751765 is ready for SSH connections
2025-04-24 02:08:11,624 - 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.50, gateway password: c0ntrail123
2025-04-24 02:08:11,624 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-24 02:08:12,216 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-24 02:08:12,216 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-19751765", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-04-24 02:08:12,216 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-19751765", None, socket.AF_INET6)'
2025-04-24 02:08:12,448 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-19751765, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-04-24 02:08:12,448 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-19751765
2025-04-24 02:08:14,697 - DEBUG - PING ctest-vm2-test-19751765 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=2.741 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.324 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.386 ms
--- ctest-vm2-test-19751765 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.324/1.150/2.741 ms
2025-04-24 02:08:14,697 - INFO - Ping to IP ctest-vm2-test-19751765 from VM ctest-vm2-test-19751765 passed
2025-04-24 02:08:14,710 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-24 02:08:14,716 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-79587604@0%20AllEntriesVdnsRecordsReq
2025-04-24 02:08:14,721 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-79587604:1:ctest-vm2-test-19751765:10.10.10.4', 'rec_name': 'ctest-vm2-test-19751765', '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-3196-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-19751765.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-24 02:08:14,722 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-79587604:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-19751765', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-19751765', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3196-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-19751765.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-24 02:08:14,722 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-19751765", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-04-24 02:08:14,722 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-19751765", None, socket.AF_INET6)'
2025-04-24 02:08:14,899 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-19751765, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-04-24 02:08:14,899 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-19751765
2025-04-24 02:08:17,136 - DEBUG - PING ctest-vm2-test-19751765 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=6.450 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.738 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.704 ms
--- ctest-vm2-test-19751765 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.704/2.630/6.450 ms
2025-04-24 02:08:17,136 - INFO - Ping to IP ctest-vm2-test-19751765 from VM ctest-vm1-test-36041212 passed
2025-04-24 02:08:17,136 - INFO - Try deleting the VDNS entry ctest-vdns1-79587604 with back ref of ipam.
2025-04-24 02:08:17,188 - DEBUG - Delete when resource still referred: ['http://10.0.0.50:8082/network-ipam/5413d13d-3d65-4126-943f-6188ca4c25b2']
2025-04-24 02:08:17,189 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-24 02:08:17,189 - INFO - Add CNAME VDNS record for ctest-vm1-test-36041212 and verify we able to ping by alias name
2025-04-24 02:08:17,236 - DEBUG - Creating VDNS record data : test-rec
2025-04-24 02:08:17,345 - INFO - In verify_on_setup
2025-04-24 02:08:17,441 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-79587604', 'test-rec'] created succesfully
2025-04-24 02:08:17,441 - INFO - Verify VDNS record is shown in the API server
2025-04-24 02:08:17,441 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-04-24 02:08:17,447 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c31fc5d9-26d5-4138-b4e7-15c8f368ed0a
2025-04-24 02:08:17,459 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS/00621946-46c0-44dd-90ad-aeb7b3aec667
2025-04-24 02:08:17,466 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS-record/c63e799e-b664-4507-99c8-d2772a3b08f6
2025-04-24 02:08:17,471 - INFO - Verify VDNS record is shown in the control node
2025-04-24 02:08:17,476 - 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.50, gateway password: c0ntrail123
2025-04-24 02:08:17,477 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-24 02:08:17,651 - 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.50, gateway password: c0ntrail123
2025-04-24 02:08:17,651 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-24 02:08:17,883 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-24 02:08:17,883 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-36041212 failed
2025-04-24 02:08:18,884 - 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.50, gateway password: c0ntrail123
2025-04-24 02:08:18,884 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-24 02:08:19,058 - 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.50, gateway password: c0ntrail123
2025-04-24 02:08:19,058 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-24 02:08:19,290 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-24 02:08:19,290 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-36041212 failed
2025-04-24 02:08:20,291 - 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.50, gateway password: c0ntrail123
2025-04-24 02:08:20,291 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-24 02:08:20,463 - 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.50, gateway password: c0ntrail123
2025-04-24 02:08:20,463 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-24 02:08:22,720 - 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.466 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.474 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.307 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.307/0.415/0.474 ms
2025-04-24 02:08:22,721 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-36041212 passed
2025-04-24 02:08:22,721 - DEBUG - Deleting VDNS record data: test-rec
2025-04-24 02:08:22,788 - INFO - VDNS record info: default-domain:ctest-vdns1-79587604:test-rec deleted successfully.
2025-04-24 02:08:22,789 - INFO - Deleting VM ctest-vm2-test-19751765
2025-04-24 02:08:22,847 - INFO - Deleting VM ctest-vm1-test-36041212
2025-04-24 02:08:22,903 - INFO - Deleting VN ctest-vn1-vdns-64864469
2025-04-24 02:08:22,933 - DEBUG - VN 89ecfaf5-8afd-4aa2-acd3-683afe78ffb8 still in use: Unable to complete operation on network 89ecfaf5-8afd-4aa2-acd3-683afe78ffb8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-17ce34ed-5f71-4cba-aa85-ae30944ea553']
2025-04-24 02:08:22,933 - WARNING - Deleting VN ctest-vn1-vdns-64864469 failed..Will retry
2025-04-24 02:08:25,106 - DEBUG - Response for deleting network ()
2025-04-24 02:08:25,130 - DEBUG - Deleting VDNS Entry: ctest-vdns1-79587604
2025-04-24 02:08:25,204 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-79587604'] deleted successfully.
2025-04-24 02:08:25,205 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-04-24 02:08:25,210 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c31fc5d9-26d5-4138-b4e7-15c8f368ed0a
2025-04-24 02:08:25,224 - DEBUG - VDNS information not found in API server
2025-04-24 02:08:25,224 - INFO - VDNS information ctest-vdns1-79587604 removed from the API Server
2025-04-24 02:08:25,230 - INFO - VDNS information ctest-vdns1-79587604 removed in the Control node
2025-04-24 02:08:25,230 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-98503863']
2025-04-24 02:08:25,485 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 02:08:25,485 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:44]
2025-04-24 02:08:25,485 - INFO - --------------------------------------------------------------------------------
2025-04-24 02:08:26,122 - INFO - Deleted project: ctest-TestvDNSBasic0-98503863, ID : be832932-e333-48da-8bfb-3ae1a6d1fbd5