is in ACTIVE state now
2025-04-14 11:04:58,768 - INFO - VM name : ctest-vm2-test-56185193
2025-04-14 11:04:58,853 - DEBUG - VM ctest-vm2-test-56185193 ID is 4b2bf28c-edf6-40c7-b1e8-95321f5294e4
2025-04-14 11:04:58,853 - DEBUG - VM ctest-vm2-test-56185193 launched on Node cn-jenkins-deploy-platform-ansible-os-3090-1
2025-04-14 11:04:58,942 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4b2bf28c-edf6-40c7-b1e8-95321f5294e4
2025-04-14 11:04:58,951 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/420e9b5f-6790-4dab-b62e-57d90b5e38b1
2025-04-14 11:05:02,206 - 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 1006ms')
2025-04-14 11:05:02,206 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-56185193 failed!
2025-04-14 11:05:02,263 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-51590841:ctest-vn1-vdns-74903327 is 10.10.10.1 and allocation pool is NOT set
2025-04-14 11:05:04,324 - 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=14.6 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.09 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 = 2.085/8.318/14.552/6.233 ms')
2025-04-14 11:05:04,324 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-56185193 passed
2025-04-14 11:05:04,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 11:05:04,483 - DEBUG - Waiting to SSH to VM ctest-vm2-test-56185193, IP 10.10.10.4, Port 22
2025-04-14 11:05:04,539 - 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-14 11:05:04,631 - DEBUG - VM ctest-vm2-test-56185193 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-14 11:05:09,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 11:05:09,632 - DEBUG - Waiting to SSH to VM ctest-vm2-test-56185193, IP 10.10.10.4, Port 22
2025-04-14 11:05:09,799 - DEBUG - VM ctest-vm2-test-56185193 is ready for SSH connections
2025-04-14 11:05:09,799 - 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-14 11:05:09,799 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-14 11:05:10,458 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-14 11:05:10,459 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-56185193", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-14 11:05:10,459 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-56185193", None, socket.AF_INET6)'
2025-04-14 11:05:10,699 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-56185193, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-14 11:05:10,699 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-56185193
2025-04-14 11:05:13,017 - DEBUG - PING ctest-vm2-test-56185193 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.009 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.353 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.626 ms
--- ctest-vm2-test-56185193 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.353/1.329/3.009 ms
2025-04-14 11:05:13,017 - INFO - Ping to IP ctest-vm2-test-56185193 from VM ctest-vm2-test-56185193 passed
2025-04-14 11:05:13,035 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-14 11:05:13,043 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-67624715@0%20AllEntriesVdnsRecordsReq
2025-04-14 11:05:13,051 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-67624715:1:ctest-vm2-test-56185193:10.10.10.4', 'rec_name': 'ctest-vm2-test-56185193', '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-3090-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-56185193.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-14 11:05:13,051 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-67624715:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-56185193', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-56185193', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3090-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-56185193.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-14 11:05:13,051 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-56185193", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-14 11:05:13,051 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-56185193", None, socket.AF_INET6)'
2025-04-14 11:05:13,284 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-56185193, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-14 11:05:13,284 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-56185193
2025-04-14 11:05:15,566 - DEBUG - PING ctest-vm2-test-56185193 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.793 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.652 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.936 ms
--- ctest-vm2-test-56185193 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.936/2.127/3.793 ms
2025-04-14 11:05:15,566 - INFO - Ping to IP ctest-vm2-test-56185193 from VM ctest-vm1-test-03810283 passed
2025-04-14 11:05:15,566 - INFO - Try deleting the VDNS entry ctest-vdns1-67624715 with back ref of ipam.
2025-04-14 11:05:15,623 - DEBUG - Delete when resource still referred: ['http://10.0.0.254:8082/network-ipam/2661c663-be75-4ba9-82cc-ace81601dd57']
2025-04-14 11:05:15,623 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-14 11:05:15,623 - INFO - Add CNAME VDNS record for ctest-vm1-test-03810283 and verify we able to ping by alias name
2025-04-14 11:05:15,671 - DEBUG - Creating VDNS record data : test-rec
2025-04-14 11:05:15,783 - INFO - In verify_on_setup
2025-04-14 11:05:15,879 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-67624715', 'test-rec'] created succesfully
2025-04-14 11:05:15,879 - INFO - Verify VDNS record is shown in the API server
2025-04-14 11:05:15,879 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-14 11:05:15,887 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c62643ee-c90c-48e0-816d-388d1388287c
2025-04-14 11:05:15,904 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/fb866b00-f1a0-4afa-8f16-afafc9028da6
2025-04-14 11:05:15,915 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS-record/0d651750-437d-4434-8c45-967f8ec43858
2025-04-14 11:05:15,923 - INFO - Verify VDNS record is shown in the control node
2025-04-14 11:05:15,931 - 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-14 11:05:15,931 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-14 11:05:16,128 - 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-14 11:05:16,128 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-14 11:05:16,376 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-14 11:05:16,377 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-03810283 failed
2025-04-14 11:05:17,378 - 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-14 11:05:17,378 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-14 11:05:17,567 - 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-14 11:05:17,567 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-14 11:05:17,815 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-14 11:05:17,815 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-03810283 failed
2025-04-14 11:05:18,816 - 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-14 11:05:18,816 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-14 11:05:19,012 - 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-14 11:05:19,013 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-14 11:05:21,300 - 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.533 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.348 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.348/0.443/0.533 ms
2025-04-14 11:05:21,301 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-03810283 passed
2025-04-14 11:05:21,301 - DEBUG - Deleting VDNS record data: test-rec
2025-04-14 11:05:21,387 - INFO - VDNS record info: default-domain:ctest-vdns1-67624715:test-rec deleted successfully.
2025-04-14 11:05:21,387 - INFO - Deleting VM ctest-vm2-test-56185193
2025-04-14 11:05:21,466 - INFO - Deleting VM ctest-vm1-test-03810283
2025-04-14 11:05:21,542 - INFO - Deleting VN ctest-vn1-vdns-74903327
2025-04-14 11:05:21,586 - DEBUG - VN 35fe366e-1919-4b97-bbb4-abde4d516f66 still in use: Unable to complete operation on network 35fe366e-1919-4b97-bbb4-abde4d516f66. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fbe71163-18f1-42f4-ab68-8eba29b46292']
2025-04-14 11:05:21,586 - WARNING - Deleting VN ctest-vn1-vdns-74903327 failed..Will retry
2025-04-14 11:05:23,834 - DEBUG - Response for deleting network ()
2025-04-14 11:05:23,871 - DEBUG - Deleting VDNS Entry: ctest-vdns1-67624715
2025-04-14 11:05:23,951 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-67624715'] deleted successfully.
2025-04-14 11:05:23,951 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-14 11:05:23,959 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c62643ee-c90c-48e0-816d-388d1388287c
2025-04-14 11:05:23,974 - DEBUG - VDNS information not found in API server
2025-04-14 11:05:23,974 - INFO - VDNS information ctest-vdns1-67624715 removed from the API Server
2025-04-14 11:05:23,982 - INFO - VDNS information ctest-vdns1-67624715 removed in the Control node
2025-04-14 11:05:23,982 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-51590841']
2025-04-14 11:05:24,243 - DEBUG - No XMPP flaps were noticed during the test
2025-04-14 11:05:24,243 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:57]
2025-04-14 11:05:24,243 - INFO - --------------------------------------------------------------------------------
2025-04-14 11:05:24,954 - INFO - Deleted project: ctest-TestvDNSBasic0-51590841, ID : c0ac6774-f781-4c4b-a9f4-42fd051d01cb