is in ACTIVE state now
2025-04-28 02:07:45,913 - INFO - VM name : ctest-vm2-test-32587586
2025-04-28 02:07:45,986 - DEBUG - VM ctest-vm2-test-32587586 ID is 45c28e93-3198-4968-bfda-16411a776202
2025-04-28 02:07:45,986 - DEBUG - VM ctest-vm2-test-32587586 launched on Node cn-jenkins-deploy-platform-ansible-os-3233-1
2025-04-28 02:07:46,057 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/45c28e93-3198-4968-bfda-16411a776202
2025-04-28 02:07:46,066 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/a14892e8-bfa6-4dba-a83a-9afa39e83541
2025-04-28 02:07:49,309 - 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 1007ms')
2025-04-28 02:07:49,310 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-32587586 failed!
2025-04-28 02:07:49,363 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01733811:ctest-vn1-vdns-19054994 is 10.10.10.1 and allocation pool is NOT set
2025-04-28 02:07:51,421 - 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=4.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.51 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.510/2.754/3.998/1.244 ms')
2025-04-28 02:07:51,422 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-32587586 passed
2025-04-28 02:07:51,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-28 02:07:51,571 - DEBUG - Waiting to SSH to VM ctest-vm2-test-32587586, IP 10.10.10.4, Port 22
2025-04-28 02:07:51,627 - 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-28 02:07:51,697 - DEBUG - VM ctest-vm2-test-32587586 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-28 02:07:56,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-28 02:07:56,698 - DEBUG - Waiting to SSH to VM ctest-vm2-test-32587586, IP 10.10.10.4, Port 22
2025-04-28 02:07:56,855 - DEBUG - VM ctest-vm2-test-32587586 is ready for SSH connections
2025-04-28 02:07:56,855 - 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.19, gateway password: c0ntrail123
2025-04-28 02:07:56,855 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-28 02:07:57,458 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-28 02:07:57,459 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-32587586", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-04-28 02:07:57,460 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-32587586", None, socket.AF_INET6)'
2025-04-28 02:07:57,701 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-32587586, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-04-28 02:07:57,701 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-32587586
2025-04-28 02:07:59,951 - DEBUG - PING ctest-vm2-test-32587586 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.939 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.402 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.644 ms
--- ctest-vm2-test-32587586 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.402/1.661/3.939 ms
2025-04-28 02:07:59,951 - INFO - Ping to IP ctest-vm2-test-32587586 from VM ctest-vm2-test-32587586 passed
2025-04-28 02:07:59,963 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-28 02:07:59,970 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-44595008@0%20AllEntriesVdnsRecordsReq
2025-04-28 02:07:59,976 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-44595008:1:ctest-vm2-test-32587586:10.10.10.4', 'rec_name': 'ctest-vm2-test-32587586', '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-3233-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-32587586.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-28 02:07:59,976 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-44595008:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-32587586', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-32587586', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3233-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-32587586.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-28 02:07:59,976 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-32587586", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-04-28 02:07:59,976 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-32587586", None, socket.AF_INET6)'
2025-04-28 02:08:00,149 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-32587586, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-04-28 02:08:00,150 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-32587586
2025-04-28 02:08:02,402 - DEBUG - PING ctest-vm2-test-32587586 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=8.006 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.834 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.762 ms
--- ctest-vm2-test-32587586 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.762/3.200/8.006 ms
2025-04-28 02:08:02,403 - INFO - Ping to IP ctest-vm2-test-32587586 from VM ctest-vm1-test-64419558 passed
2025-04-28 02:08:02,403 - INFO - Try deleting the VDNS entry ctest-vdns1-44595008 with back ref of ipam.
2025-04-28 02:08:02,463 - DEBUG - Delete when resource still referred: ['http://10.0.0.19:8082/network-ipam/009d219f-d03f-4584-96d7-da44fb07973d']
2025-04-28 02:08:02,463 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-28 02:08:02,463 - INFO - Add CNAME VDNS record for ctest-vm1-test-64419558 and verify we able to ping by alias name
2025-04-28 02:08:02,511 - DEBUG - Creating VDNS record data : test-rec
2025-04-28 02:08:02,623 - INFO - In verify_on_setup
2025-04-28 02:08:02,719 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-44595008', 'test-rec'] created succesfully
2025-04-28 02:08:02,719 - INFO - Verify VDNS record is shown in the API server
2025-04-28 02:08:02,720 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-04-28 02:08:02,727 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e9d2aa4c-e783-4f8b-8179-cbfa7b2c2003
2025-04-28 02:08:02,745 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS/03262247-dce5-4b33-a840-4fa5df6014b4
2025-04-28 02:08:02,753 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS-record/13a3fce4-a42a-4f83-ade5-1fc8c8867c7b
2025-04-28 02:08:02,760 - INFO - Verify VDNS record is shown in the control node
2025-04-28 02:08:02,766 - 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.19, gateway password: c0ntrail123
2025-04-28 02:08:02,766 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-28 02:08:02,954 - 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.19, gateway password: c0ntrail123
2025-04-28 02:08:02,954 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-28 02:08:03,191 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-28 02:08:03,191 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-64419558 failed
2025-04-28 02:08:04,193 - 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.19, gateway password: c0ntrail123
2025-04-28 02:08:04,193 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-28 02:08:04,383 - 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.19, gateway password: c0ntrail123
2025-04-28 02:08:04,383 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-28 02:08:04,627 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-28 02:08:04,627 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-64419558 failed
2025-04-28 02:08:05,629 - 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.19, gateway password: c0ntrail123
2025-04-28 02:08:05,629 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-28 02:08:05,802 - 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.19, gateway password: c0ntrail123
2025-04-28 02:08:05,802 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-28 02:08:08,043 - 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.322 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.367 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.311 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.311/0.333/0.367 ms
2025-04-28 02:08:08,043 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-64419558 passed
2025-04-28 02:08:08,043 - DEBUG - Deleting VDNS record data: test-rec
2025-04-28 02:08:08,111 - INFO - VDNS record info: default-domain:ctest-vdns1-44595008:test-rec deleted successfully.
2025-04-28 02:08:08,111 - INFO - Deleting VM ctest-vm2-test-32587586
2025-04-28 02:08:08,178 - INFO - Deleting VM ctest-vm1-test-64419558
2025-04-28 02:08:08,267 - INFO - Deleting VN ctest-vn1-vdns-19054994
2025-04-28 02:08:08,303 - DEBUG - VN 111cf55b-b4a8-469a-89cb-0db7fee4c6c2 still in use: Unable to complete operation on network 111cf55b-b4a8-469a-89cb-0db7fee4c6c2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3ecc7ff7-4913-467f-b0b0-c930f8aa4007']
2025-04-28 02:08:08,304 - WARNING - Deleting VN ctest-vn1-vdns-19054994 failed..Will retry
2025-04-28 02:08:10,520 - DEBUG - Response for deleting network ()
2025-04-28 02:08:10,556 - DEBUG - Deleting VDNS Entry: ctest-vdns1-44595008
2025-04-28 02:08:10,627 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-44595008'] deleted successfully.
2025-04-28 02:08:10,627 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-04-28 02:08:10,634 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e9d2aa4c-e783-4f8b-8179-cbfa7b2c2003
2025-04-28 02:08:10,648 - DEBUG - VDNS information not found in API server
2025-04-28 02:08:10,648 - INFO - VDNS information ctest-vdns1-44595008 removed from the API Server
2025-04-28 02:08:10,656 - INFO - VDNS information ctest-vdns1-44595008 removed in the Control node
2025-04-28 02:08:10,656 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-01733811']
2025-04-28 02:08:10,913 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 02:08:10,913 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:50]
2025-04-28 02:08:10,913 - INFO - --------------------------------------------------------------------------------
2025-04-28 02:08:11,558 - INFO - Deleted project: ctest-TestvDNSBasic0-01733811, ID : ffb5fdb3-5e14-4299-acfe-bdcc999e6aa3