is in ACTIVE state now
2025-04-22 14:52:16,127 - INFO - VM name : ctest-vm2-test-64059626
2025-04-22 14:52:16,203 - DEBUG - VM ctest-vm2-test-64059626 ID is 3ddf72b5-83f3-479b-b7d0-ca29ca91de70
2025-04-22 14:52:16,204 - DEBUG - VM ctest-vm2-test-64059626 launched on Node cn-jenkins-deploy-platform-ansible-os-3164-1
2025-04-22 14:52:16,278 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/3ddf72b5-83f3-479b-b7d0-ca29ca91de70
2025-04-22 14:52:16,286 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/c1af017f-0597-4b06-bbac-69cf9108e808
2025-04-22 14:52:19,545 - 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-22 14:52:19,546 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-64059626 failed!
2025-04-22 14:52:19,606 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-93383643:ctest-vn1-vdns-51012045 is 10.10.10.1 and allocation pool is NOT set
2025-04-22 14:52:21,680 - 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=10.7 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.88 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.875/6.270/10.665/4.395 ms')
2025-04-22 14:52:21,680 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-64059626 passed
2025-04-22 14:52:21,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 14:52:21,838 - DEBUG - Waiting to SSH to VM ctest-vm2-test-64059626, IP 10.10.10.4, Port 22
2025-04-22 14:52:21,904 - 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-22 14:52:21,985 - DEBUG - VM ctest-vm2-test-64059626 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-22 14:52:26,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 14:52:26,986 - DEBUG - Waiting to SSH to VM ctest-vm2-test-64059626, IP 10.10.10.4, Port 22
2025-04-22 14:52:27,141 - DEBUG - VM ctest-vm2-test-64059626 is ready for SSH connections
2025-04-22 14:52:27,142 - 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.131, gateway password: c0ntrail123
2025-04-22 14:52:27,142 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-22 14:52:27,790 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-22 14:52:27,790 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-64059626", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123
2025-04-22 14:52:27,790 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-64059626", None, socket.AF_INET6)'
2025-04-22 14:52:28,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-64059626, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123
2025-04-22 14:52:28,056 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-64059626
2025-04-22 14:52:30,323 - DEBUG - PING ctest-vm2-test-64059626 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.531 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.373 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.403 ms
--- ctest-vm2-test-64059626 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.373/1.435/3.531 ms
2025-04-22 14:52:30,323 - INFO - Ping to IP ctest-vm2-test-64059626 from VM ctest-vm2-test-64059626 passed
2025-04-22 14:52:30,336 - DEBUG - Requesting: http://10.0.0.131:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-22 14:52:30,342 - DEBUG - Requesting: http://10.0.0.131:8092/Snh_PageReq?x=default-domain:ctest-vdns1-21760058@0%20AllEntriesVdnsRecordsReq
2025-04-22 14:52:30,347 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-21760058:1:ctest-vm2-test-64059626:10.10.10.4', 'rec_name': 'ctest-vm2-test-64059626', '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-3164-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-64059626.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-22 14:52:30,347 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-21760058:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-64059626', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-64059626', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3164-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-64059626.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-22 14:52:30,347 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-64059626", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123
2025-04-22 14:52:30,348 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-64059626", None, socket.AF_INET6)'
2025-04-22 14:52:30,546 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-64059626, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123
2025-04-22 14:52:30,547 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-64059626
2025-04-22 14:52:32,824 - DEBUG - PING ctest-vm2-test-64059626 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=5.006 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.821 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.804 ms
--- ctest-vm2-test-64059626 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.804/2.210/5.006 ms
2025-04-22 14:52:32,824 - INFO - Ping to IP ctest-vm2-test-64059626 from VM ctest-vm1-test-36703224 passed
2025-04-22 14:52:32,824 - INFO - Try deleting the VDNS entry ctest-vdns1-21760058 with back ref of ipam.
2025-04-22 14:52:32,882 - DEBUG - Delete when resource still referred: ['http://10.0.0.131:8082/network-ipam/5ed92964-7bd6-4e4a-ad22-a230e3362951']
2025-04-22 14:52:32,882 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-22 14:52:32,882 - INFO - Add CNAME VDNS record for ctest-vm1-test-36703224 and verify we able to ping by alias name
2025-04-22 14:52:32,930 - DEBUG - Creating VDNS record data : test-rec
2025-04-22 14:52:33,046 - INFO - In verify_on_setup
2025-04-22 14:52:33,142 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-21760058', 'test-rec'] created succesfully
2025-04-22 14:52:33,142 - INFO - Verify VDNS record is shown in the API server
2025-04-22 14:52:33,142 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-04-22 14:52:33,148 - DEBUG - Requesting: http://10.0.0.131:8082/domain/39334d9d-d124-4cf8-9c23-47079d2e99a8
2025-04-22 14:52:33,162 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-DNS/ae98f6e1-d357-490c-bd6a-cf49555e508b
2025-04-22 14:52:33,170 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-DNS-record/66bb9dc6-2504-4ca8-9271-c44ae1e7bb82
2025-04-22 14:52:33,177 - INFO - Verify VDNS record is shown in the control node
2025-04-22 14:52:33,183 - 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.131, gateway password: c0ntrail123
2025-04-22 14:52:33,183 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-22 14:52:33,378 - 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.131, gateway password: c0ntrail123
2025-04-22 14:52:33,379 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-22 14:52:33,629 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-22 14:52:33,630 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-36703224 failed
2025-04-22 14:52:34,631 - 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.131, gateway password: c0ntrail123
2025-04-22 14:52:34,631 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-22 14:52:34,836 - 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.131, gateway password: c0ntrail123
2025-04-22 14:52:34,836 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-22 14:52:35,116 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-22 14:52:35,116 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-36703224 failed
2025-04-22 14:52:36,117 - 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.131, gateway password: c0ntrail123
2025-04-22 14:52:36,117 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-22 14:52:36,325 - 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.131, gateway password: c0ntrail123
2025-04-22 14:52:36,325 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-22 14:52:38,608 - 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.406 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.357 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.315 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.315/0.359/0.406 ms
2025-04-22 14:52:38,608 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-36703224 passed
2025-04-22 14:52:38,608 - DEBUG - Deleting VDNS record data: test-rec
2025-04-22 14:52:38,682 - INFO - VDNS record info: default-domain:ctest-vdns1-21760058:test-rec deleted successfully.
2025-04-22 14:52:38,682 - INFO - Deleting VM ctest-vm2-test-64059626
2025-04-22 14:52:38,752 - INFO - Deleting VM ctest-vm1-test-36703224
2025-04-22 14:52:38,823 - INFO - Deleting VN ctest-vn1-vdns-51012045
2025-04-22 14:52:38,862 - DEBUG - VN ac92c37b-3cd7-4c80-9f25-f4da9a6fff35 still in use: Unable to complete operation on network ac92c37b-3cd7-4c80-9f25-f4da9a6fff35. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-84214b80-3832-46fc-9834-dab7c65e6f15']
2025-04-22 14:52:38,862 - WARNING - Deleting VN ctest-vn1-vdns-51012045 failed..Will retry
2025-04-22 14:52:41,029 - DEBUG - Response for deleting network ()
2025-04-22 14:52:41,080 - DEBUG - Deleting VDNS Entry: ctest-vdns1-21760058
2025-04-22 14:52:41,150 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-21760058'] deleted successfully.
2025-04-22 14:52:41,150 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-04-22 14:52:41,156 - DEBUG - Requesting: http://10.0.0.131:8082/domain/39334d9d-d124-4cf8-9c23-47079d2e99a8
2025-04-22 14:52:41,171 - DEBUG - VDNS information not found in API server
2025-04-22 14:52:41,171 - INFO - VDNS information ctest-vdns1-21760058 removed from the API Server
2025-04-22 14:52:41,177 - INFO - VDNS information ctest-vdns1-21760058 removed in the Control node
2025-04-22 14:52:41,177 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-93383643']
2025-04-22 14:52:41,435 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 14:52:41,435 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:56]
2025-04-22 14:52:41,435 - INFO - --------------------------------------------------------------------------------
2025-04-22 14:52:42,164 - INFO - Deleted project: ctest-TestvDNSBasic0-93383643, ID : 68bd93c8-98c0-4e81-9ba1-267f8a25c604