is in ACTIVE state now
2025-04-04 15:07:28,695 - INFO - VM name : ctest-vm2-test-06075847
2025-04-04 15:07:28,783 - DEBUG - VM ctest-vm2-test-06075847 ID is d4b3f7b3-eff2-4366-9023-5d64d7d24dcc
2025-04-04 15:07:28,784 - DEBUG - VM ctest-vm2-test-06075847 launched on Node cn-jenkins-deploy-platform-ansible-os-3033-1
2025-04-04 15:07:28,965 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/d4b3f7b3-eff2-4366-9023-5d64d7d24dcc
2025-04-04 15:07:28,976 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/015f63da-5595-4d68-8114-73170a2d93c4
2025-04-04 15:07:32,250 - 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 1019ms')
2025-04-04 15:07:32,250 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-06075847 failed!
2025-04-04 15:07:32,308 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-91896780:ctest-vn1-vdns-43937554 is 10.10.10.1 and allocation pool is NOT set
2025-04-04 15:07:34,368 - 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=11.5 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.807 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.807/6.140/11.473/5.333 ms')
2025-04-04 15:07:34,368 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-06075847 passed
2025-04-04 15:07:34,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-04 15:07:34,524 - DEBUG - Waiting to SSH to VM ctest-vm2-test-06075847, IP 10.10.10.4, Port 22
2025-04-04 15:07:34,589 - 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-04 15:07:34,678 - DEBUG - VM ctest-vm2-test-06075847 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-04 15:07:39,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-04 15:07:39,679 - DEBUG - Waiting to SSH to VM ctest-vm2-test-06075847, IP 10.10.10.4, Port 22
2025-04-04 15:07:39,839 - DEBUG - VM ctest-vm2-test-06075847 is ready for SSH connections
2025-04-04 15:07:39,839 - 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.12, gateway password: c0ntrail123
2025-04-04 15:07:39,839 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-04 15:07:40,616 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-04 15:07:40,617 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-06075847", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2025-04-04 15:07:40,617 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-06075847", None, socket.AF_INET6)'
2025-04-04 15:07:40,884 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-06075847, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2025-04-04 15:07:40,884 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-06075847
2025-04-04 15:07:43,165 - DEBUG - PING ctest-vm2-test-06075847 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=4.371 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.346 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.513 ms
--- ctest-vm2-test-06075847 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.346/1.743/4.371 ms
2025-04-04 15:07:43,165 - INFO - Ping to IP ctest-vm2-test-06075847 from VM ctest-vm2-test-06075847 passed
2025-04-04 15:07:43,179 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-04 15:07:43,191 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=default-domain:ctest-vdns1-37176382@0%20AllEntriesVdnsRecordsReq
2025-04-04 15:07:43,199 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-37176382:1:ctest-vm2-test-06075847:10.10.10.4', 'rec_name': 'ctest-vm2-test-06075847', '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-3033-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-06075847.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-04 15:07:43,199 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-37176382:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-06075847', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-06075847', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3033-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-06075847.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-04 15:07:43,199 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-06075847", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2025-04-04 15:07:43,199 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-06075847", None, socket.AF_INET6)'
2025-04-04 15:07:43,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-06075847, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2025-04-04 15:07:43,406 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-06075847
2025-04-04 15:07:45,668 - DEBUG - PING ctest-vm2-test-06075847 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=8.766 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.006 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=1.020 ms
--- ctest-vm2-test-06075847 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.006/3.597/8.766 ms
2025-04-04 15:07:45,668 - INFO - Ping to IP ctest-vm2-test-06075847 from VM ctest-vm1-test-15583216 passed
2025-04-04 15:07:45,669 - INFO - Try deleting the VDNS entry ctest-vdns1-37176382 with back ref of ipam.
2025-04-04 15:07:45,727 - DEBUG - Delete when resource still referred: ['http://10.0.0.12:8082/network-ipam/d47607cf-f90a-4c76-92d3-111686a7429e']
2025-04-04 15:07:45,727 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-04 15:07:45,728 - INFO - Add CNAME VDNS record for ctest-vm1-test-15583216 and verify we able to ping by alias name
2025-04-04 15:07:45,775 - DEBUG - Creating VDNS record data : test-rec
2025-04-04 15:07:45,887 - INFO - In verify_on_setup
2025-04-04 15:07:45,983 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-37176382', 'test-rec'] created succesfully
2025-04-04 15:07:45,984 - INFO - Verify VDNS record is shown in the API server
2025-04-04 15:07:45,984 - DEBUG - Requesting: http://10.0.0.12:8082/domains
2025-04-04 15:07:45,991 - DEBUG - Requesting: http://10.0.0.12:8082/domain/f0d8f5f7-f0cc-46f4-8244-26a3d69404ec
2025-04-04 15:07:46,008 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-DNS/24881fc3-10aa-42a4-af92-e139e9eb2da8
2025-04-04 15:07:46,019 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-DNS-record/f20d5fb4-22b5-4ecd-8c3e-bc6f4fb5c2c7
2025-04-04 15:07:46,027 - INFO - Verify VDNS record is shown in the control node
2025-04-04 15:07:46,033 - 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.12, gateway password: c0ntrail123
2025-04-04 15:07:46,033 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-04 15:07:46,219 - 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.12, gateway password: c0ntrail123
2025-04-04 15:07:46,219 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-04 15:07:46,515 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-04 15:07:46,515 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-15583216 failed
2025-04-04 15:07:47,516 - 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.12, gateway password: c0ntrail123
2025-04-04 15:07:47,516 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-04 15:07:47,702 - 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.12, gateway password: c0ntrail123
2025-04-04 15:07:47,702 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-04 15:07:47,961 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-04 15:07:47,961 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-15583216 failed
2025-04-04 15:07:48,962 - 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.12, gateway password: c0ntrail123
2025-04-04 15:07:48,962 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-04 15:07:49,181 - 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.12, gateway password: c0ntrail123
2025-04-04 15:07:49,181 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-04 15:07:51,444 - 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.469 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.374 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.317 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.317/0.386/0.469 ms
2025-04-04 15:07:51,444 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-15583216 passed
2025-04-04 15:07:51,444 - DEBUG - Deleting VDNS record data: test-rec
2025-04-04 15:07:51,519 - INFO - VDNS record info: default-domain:ctest-vdns1-37176382:test-rec deleted successfully.
2025-04-04 15:07:51,519 - INFO - Deleting VM ctest-vm2-test-06075847
2025-04-04 15:07:51,589 - INFO - Deleting VM ctest-vm1-test-15583216
2025-04-04 15:07:51,668 - INFO - Deleting VN ctest-vn1-vdns-43937554
2025-04-04 15:07:51,709 - DEBUG - VN 1ea3f472-957c-4538-aaf0-5944643d83be still in use: Unable to complete operation on network 1ea3f472-957c-4538-aaf0-5944643d83be. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4c34169e-a8d6-495c-8e36-1b2f035dd8f0']
2025-04-04 15:07:51,709 - WARNING - Deleting VN ctest-vn1-vdns-43937554 failed..Will retry
2025-04-04 15:07:53,952 - DEBUG - Response for deleting network ()
2025-04-04 15:07:54,002 - DEBUG - Deleting VDNS Entry: ctest-vdns1-37176382
2025-04-04 15:07:54,099 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-37176382'] deleted successfully.
2025-04-04 15:07:54,099 - DEBUG - Requesting: http://10.0.0.12:8082/domains
2025-04-04 15:07:54,109 - DEBUG - Requesting: http://10.0.0.12:8082/domain/f0d8f5f7-f0cc-46f4-8244-26a3d69404ec
2025-04-04 15:07:54,130 - DEBUG - VDNS information not found in API server
2025-04-04 15:07:54,130 - INFO - VDNS information ctest-vdns1-37176382 removed from the API Server
2025-04-04 15:07:54,137 - INFO - VDNS information ctest-vdns1-37176382 removed in the Control node
2025-04-04 15:07:54,137 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-91896780']
2025-04-04 15:07:54,400 - DEBUG - No XMPP flaps were noticed during the test
2025-04-04 15:07:54,400 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:53]
2025-04-04 15:07:54,400 - INFO - --------------------------------------------------------------------------------
2025-04-04 15:07:55,132 - INFO - Deleted project: ctest-TestvDNSBasic0-91896780, ID : 888782fe-3e7a-4c01-866f-e1130869a343