is in ACTIVE state now
2025-04-14 02:39:00,007 - INFO - VM name : ctest-vm2-test-01614367
2025-04-14 02:39:00,118 - DEBUG - VM ctest-vm2-test-01614367 ID is 633f446a-f494-41b1-a76b-95375d792927
2025-04-14 02:39:00,119 - DEBUG - VM ctest-vm2-test-01614367 launched on Node cn-jenkins-deploy-platform-ansible-os-3089-1
2025-04-14 02:39:00,219 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/633f446a-f494-41b1-a76b-95375d792927
2025-04-14 02:39:00,231 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7b1ad7b9-eada-4a17-943d-309b93c9ea8c
2025-04-14 02:39:03,507 - 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 1021ms')
2025-04-14 02:39:03,507 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-01614367 failed!
2025-04-14 02:39:03,564 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85917382:ctest-vn1-vdns-41629492 is 10.10.10.1 and allocation pool is NOT set
2025-04-14 02:39:07,629 - 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=2 ttl=63 time=4.20 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 4.198/4.198/4.198/0.000 ms')
2025-04-14 02:39:07,629 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-01614367 passed
2025-04-14 02:39:07,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 02:39:07,784 - DEBUG - Waiting to SSH to VM ctest-vm2-test-01614367, IP 10.10.10.4, Port 22
2025-04-14 02:39:07,850 - 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 02:39:07,945 - DEBUG - VM ctest-vm2-test-01614367 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-14 02:39:12,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 02:39:12,947 - DEBUG - Waiting to SSH to VM ctest-vm2-test-01614367, IP 10.10.10.4, Port 22
2025-04-14 02:39:13,118 - DEBUG - VM ctest-vm2-test-01614367 is ready for SSH connections
2025-04-14 02:39:13,118 - 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 02:39:13,119 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-14 02:39:13,829 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-14 02:39:13,829 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-01614367", 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 02:39:13,830 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-01614367", None, socket.AF_INET6)'
2025-04-14 02:39:14,112 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-01614367, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-14 02:39:14,112 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-01614367
2025-04-14 02:39:16,417 - DEBUG - PING ctest-vm2-test-01614367 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=4.021 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.374 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.800 ms
--- ctest-vm2-test-01614367 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.374/1.731/4.021 ms
2025-04-14 02:39:16,417 - INFO - Ping to IP ctest-vm2-test-01614367 from VM ctest-vm2-test-01614367 passed
2025-04-14 02:39:16,436 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-14 02:39:16,444 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-49122678@0%20AllEntriesVdnsRecordsReq
2025-04-14 02:39:16,451 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-49122678:1:ctest-vm2-test-01614367:10.10.10.4', 'rec_name': 'ctest-vm2-test-01614367', '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-3089-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-01614367.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-14 02:39:16,451 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-49122678:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-01614367', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-01614367', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3089-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-01614367.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 02:39:16,451 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-01614367", 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 02:39:16,451 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-01614367", None, socket.AF_INET6)'
2025-04-14 02:39:16,671 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-01614367, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-14 02:39:16,671 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-01614367
2025-04-14 02:39:18,944 - DEBUG - PING ctest-vm2-test-01614367 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=4.965 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.065 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=1.402 ms
--- ctest-vm2-test-01614367 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.065/2.477/4.965 ms
2025-04-14 02:39:18,944 - INFO - Ping to IP ctest-vm2-test-01614367 from VM ctest-vm1-test-26573773 passed
2025-04-14 02:39:18,944 - INFO - Try deleting the VDNS entry ctest-vdns1-49122678 with back ref of ipam.
2025-04-14 02:39:19,008 - DEBUG - Delete when resource still referred: ['http://10.0.0.254:8082/network-ipam/36a4662a-fafa-48b1-b26d-b61dcf33f02d']
2025-04-14 02:39:19,008 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-14 02:39:19,009 - INFO - Add CNAME VDNS record for ctest-vm1-test-26573773 and verify we able to ping by alias name
2025-04-14 02:39:19,060 - DEBUG - Creating VDNS record data : test-rec
2025-04-14 02:39:19,180 - INFO - In verify_on_setup
2025-04-14 02:39:19,280 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-49122678', 'test-rec'] created succesfully
2025-04-14 02:39:19,280 - INFO - Verify VDNS record is shown in the API server
2025-04-14 02:39:19,280 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-14 02:39:19,289 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5999823a-460c-4028-8fff-64f69b82e7fb
2025-04-14 02:39:19,309 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/bffb9823-ada2-404f-adf5-d0a10e77693e
2025-04-14 02:39:19,322 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS-record/a9873aca-a686-4e5e-aa29-18aeaf4da557
2025-04-14 02:39:19,333 - INFO - Verify VDNS record is shown in the control node
2025-04-14 02:39:19,342 - 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 02:39:19,342 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-14 02:39:19,564 - 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 02:39:19,564 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-14 02:39:19,852 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-14 02:39:19,852 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-26573773 failed
2025-04-14 02:39:20,853 - 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 02:39:20,853 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-14 02:39:21,086 - 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 02:39:21,086 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-14 02:39:21,393 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-14 02:39:21,393 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-26573773 failed
2025-04-14 02:39:22,394 - 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 02:39:22,394 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-14 02:39:22,609 - 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 02:39:22,610 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-14 02:39:24,899 - 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.531 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.390 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.411 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.390/0.444/0.531 ms
2025-04-14 02:39:24,899 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-26573773 passed
2025-04-14 02:39:24,899 - DEBUG - Deleting VDNS record data: test-rec
2025-04-14 02:39:24,976 - INFO - VDNS record info: default-domain:ctest-vdns1-49122678:test-rec deleted successfully.
2025-04-14 02:39:24,976 - INFO - Deleting VM ctest-vm2-test-01614367
2025-04-14 02:39:25,069 - INFO - Deleting VM ctest-vm1-test-26573773
2025-04-14 02:39:25,178 - INFO - Deleting VN ctest-vn1-vdns-41629492
2025-04-14 02:39:25,226 - DEBUG - VN 9fc45f9c-a69b-4b27-84a3-00a2f53ab3eb still in use: Unable to complete operation on network 9fc45f9c-a69b-4b27-84a3-00a2f53ab3eb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8a65ab3a-e4ff-463c-94f2-158af780a61e']
2025-04-14 02:39:25,226 - WARNING - Deleting VN ctest-vn1-vdns-41629492 failed..Will retry
2025-04-14 02:39:27,470 - DEBUG - Response for deleting network ()
2025-04-14 02:39:27,519 - DEBUG - Deleting VDNS Entry: ctest-vdns1-49122678
2025-04-14 02:39:27,604 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-49122678'] deleted successfully.
2025-04-14 02:39:27,604 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-14 02:39:27,613 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5999823a-460c-4028-8fff-64f69b82e7fb
2025-04-14 02:39:27,630 - DEBUG - VDNS information not found in API server
2025-04-14 02:39:27,630 - INFO - VDNS information ctest-vdns1-49122678 removed from the API Server
2025-04-14 02:39:27,637 - INFO - VDNS information ctest-vdns1-49122678 removed in the Control node
2025-04-14 02:39:27,637 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-85917382']
2025-04-14 02:39:27,900 - DEBUG - No XMPP flaps were noticed during the test
2025-04-14 02:39:27,900 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:55]
2025-04-14 02:39:27,900 - INFO - --------------------------------------------------------------------------------
2025-04-14 02:39:28,663 - INFO - Deleted project: ctest-TestvDNSBasic0-85917382, ID : 63358806-b7c1-44da-946c-613527e5ac3a