is in ACTIVE state now
2025-04-26 20:58:47,822 - INFO - VM name : ctest-vm2-test-90807937
2025-04-26 20:58:47,882 - DEBUG - VM ctest-vm2-test-90807937 ID is afa1046e-bef3-4dde-939b-8c361753711c
2025-04-26 20:58:47,882 - DEBUG - VM ctest-vm2-test-90807937 launched on Node cn-jenkins-deploy-platform-ansible-os-3225-1
2025-04-26 20:58:47,943 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/afa1046e-bef3-4dde-939b-8c361753711c
2025-04-26 20:58:47,950 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a426a48e-8202-4341-ac0c-33f71c3cc6ae
2025-04-26 20:58:51,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 1024ms')
2025-04-26 20:58:51,197 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-90807937 failed!
2025-04-26 20:58:51,252 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48039495:ctest-vn1-vdns-85332828 is 10.10.10.1 and allocation pool is NOT set
2025-04-26 20:58:53,313 - 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=3.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.01 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 = 1.011/2.388/3.766/1.377 ms')
2025-04-26 20:58:53,313 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-90807937 passed
2025-04-26 20:58:53,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 20:58:53,466 - DEBUG - Waiting to SSH to VM ctest-vm2-test-90807937, IP 10.10.10.4, Port 22
2025-04-26 20:58:53,523 - 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-26 20:58:53,597 - DEBUG - VM ctest-vm2-test-90807937 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-26 20:58:58,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 20:58:58,598 - DEBUG - Waiting to SSH to VM ctest-vm2-test-90807937, IP 10.10.10.4, Port 22
2025-04-26 20:58:58,769 - DEBUG - VM ctest-vm2-test-90807937 is ready for SSH connections
2025-04-26 20:58:58,769 - 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-26 20:58:58,770 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-26 20:58:59,357 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-26 20:58:59,357 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-90807937", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-26 20:58:59,357 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-90807937", None, socket.AF_INET6)'
2025-04-26 20:58:59,575 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-90807937, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-26 20:58:59,575 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-90807937
2025-04-26 20:59:01,822 - DEBUG - PING ctest-vm2-test-90807937 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.758 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.297 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.395 ms
--- ctest-vm2-test-90807937 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.297/1.483/3.758 ms
2025-04-26 20:59:01,822 - INFO - Ping to IP ctest-vm2-test-90807937 from VM ctest-vm2-test-90807937 passed
2025-04-26 20:59:01,833 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-26 20:59:01,838 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-52595419@0%20AllEntriesVdnsRecordsReq
2025-04-26 20:59:01,843 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-52595419:1:ctest-vm2-test-90807937:10.10.10.4', 'rec_name': 'ctest-vm2-test-90807937', '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-3225-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-90807937.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-26 20:59:01,844 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-52595419:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-90807937', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-90807937', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3225-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-90807937.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-26 20:59:01,844 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-90807937", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-26 20:59:01,844 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-90807937", None, socket.AF_INET6)'
2025-04-26 20:59:02,023 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-90807937, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-26 20:59:02,023 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-90807937
2025-04-26 20:59:04,253 - DEBUG - PING ctest-vm2-test-90807937 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=4.912 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.698 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.655 ms
--- ctest-vm2-test-90807937 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.655/2.088/4.912 ms
2025-04-26 20:59:04,253 - INFO - Ping to IP ctest-vm2-test-90807937 from VM ctest-vm1-test-08293593 passed
2025-04-26 20:59:04,253 - INFO - Try deleting the VDNS entry ctest-vdns1-52595419 with back ref of ipam.
2025-04-26 20:59:04,307 - DEBUG - Delete when resource still referred: ['http://10.0.0.254:8082/network-ipam/a36a1817-bfac-4681-adac-d6cc11cb0af0']
2025-04-26 20:59:04,307 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-26 20:59:04,307 - INFO - Add CNAME VDNS record for ctest-vm1-test-08293593 and verify we able to ping by alias name
2025-04-26 20:59:04,351 - DEBUG - Creating VDNS record data : test-rec
2025-04-26 20:59:04,460 - INFO - In verify_on_setup
2025-04-26 20:59:04,556 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-52595419', 'test-rec'] created succesfully
2025-04-26 20:59:04,556 - INFO - Verify VDNS record is shown in the API server
2025-04-26 20:59:04,556 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-26 20:59:04,561 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5a0239ee-bccd-4378-9611-2fd52baec723
2025-04-26 20:59:04,573 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/4e08493f-49b2-4f28-85dc-058b81fefc8e
2025-04-26 20:59:04,580 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS-record/73234326-e369-4eeb-b868-087a316feba9
2025-04-26 20:59:04,585 - INFO - Verify VDNS record is shown in the control node
2025-04-26 20:59:04,590 - 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-26 20:59:04,590 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-26 20:59:04,763 - 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-26 20:59:04,763 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-26 20:59:04,990 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-26 20:59:04,990 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-08293593 failed
2025-04-26 20:59:05,991 - 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-26 20:59:05,991 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-26 20:59:06,165 - 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-26 20:59:06,166 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-26 20:59:06,389 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-26 20:59:06,389 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-08293593 failed
2025-04-26 20:59:07,389 - 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-26 20:59:07,390 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-26 20:59:07,562 - 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-26 20:59:07,562 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-26 20:59:09,792 - 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.303 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.330 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.273 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.273/0.302/0.330 ms
2025-04-26 20:59:09,792 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-08293593 passed
2025-04-26 20:59:09,792 - DEBUG - Deleting VDNS record data: test-rec
2025-04-26 20:59:09,859 - INFO - VDNS record info: default-domain:ctest-vdns1-52595419:test-rec deleted successfully.
2025-04-26 20:59:09,860 - INFO - Deleting VM ctest-vm2-test-90807937
2025-04-26 20:59:09,918 - INFO - Deleting VM ctest-vm1-test-08293593
2025-04-26 20:59:09,976 - INFO - Deleting VN ctest-vn1-vdns-85332828
2025-04-26 20:59:10,006 - DEBUG - VN 98bfdc88-57f1-4e45-b6f2-bd20efe9f26c still in use: Unable to complete operation on network 98bfdc88-57f1-4e45-b6f2-bd20efe9f26c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-74de90a5-eeb4-426d-8ae6-c766d00a7a21']
2025-04-26 20:59:10,006 - WARNING - Deleting VN ctest-vn1-vdns-85332828 failed..Will retry
2025-04-26 20:59:12,226 - DEBUG - Response for deleting network ()
2025-04-26 20:59:12,250 - DEBUG - Deleting VDNS Entry: ctest-vdns1-52595419
2025-04-26 20:59:12,319 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-52595419'] deleted successfully.
2025-04-26 20:59:12,320 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-26 20:59:12,325 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5a0239ee-bccd-4378-9611-2fd52baec723
2025-04-26 20:59:12,336 - DEBUG - VDNS information not found in API server
2025-04-26 20:59:12,336 - INFO - VDNS information ctest-vdns1-52595419 removed from the API Server
2025-04-26 20:59:12,342 - INFO - VDNS information ctest-vdns1-52595419 removed in the Control node
2025-04-26 20:59:12,343 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-48039495']
2025-04-26 20:59:12,596 - DEBUG - No XMPP flaps were noticed during the test
2025-04-26 20:59:12,596 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:49]
2025-04-26 20:59:12,596 - INFO - --------------------------------------------------------------------------------
2025-04-26 20:59:13,233 - INFO - Deleted project: ctest-TestvDNSBasic0-48039495, ID : 81c4ae9d-0246-43ba-a3b7-b002461f110f