is in ACTIVE state now
2025-05-14 17:24:57,558 - INFO - VM name : ctest-vm2-test-25300094
2025-05-14 17:24:57,730 - DEBUG - VM ctest-vm2-test-25300094 ID is 9c08924c-012d-4f8e-b88d-6a3179660c78
2025-05-14 17:24:57,731 - DEBUG - VM ctest-vm2-test-25300094 launched on Node cn-jenkins-deploy-platform-ansible-os-3310-1
2025-05-14 17:24:57,869 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9c08924c-012d-4f8e-b88d-6a3179660c78
2025-05-14 17:24:57,890 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b66d88ac-972d-4b0d-b2c8-24697b37073d
2025-05-14 17:25:01,227 - 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 1025ms')
2025-05-14 17:25:01,228 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-25300094 failed!
2025-05-14 17:25:01,308 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19437500:ctest-vn1-vdns-97168048 is 10.10.10.1 and allocation pool is NOT set
2025-05-14 17:25:05,394 - 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 1012ms')
2025-05-14 17:25:05,394 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-25300094 failed!
2025-05-14 17:25:05,468 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-19437500:ctest-vn1-vdns-97168048 is 10.10.10.1 and allocation pool is NOT set
2025-05-14 17:25:07,551 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.38 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.378/3.485/4.593/1.107 ms')
2025-05-14 17:25:07,552 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-25300094 passed
2025-05-14 17:25:07,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-14 17:25:07,732 - DEBUG - Waiting to SSH to VM ctest-vm2-test-25300094, IP 10.10.10.4, Port 22
2025-05-14 17:25:07,918 - DEBUG - VM ctest-vm2-test-25300094 is ready for SSH connections
2025-05-14 17:25:07,918 - 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.50, gateway password: c0ntrail123
2025-05-14 17:25:07,919 - DEBUG - ifconfig | grep 10.10.10.4
2025-05-14 17:25:08,896 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-05-14 17:25:08,897 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-25300094", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-05-14 17:25:08,897 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-25300094", None, socket.AF_INET6)'
2025-05-14 17:25:09,246 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-25300094, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-05-14 17:25:09,246 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-25300094
2025-05-14 17:25:11,604 - DEBUG - PING ctest-vm2-test-25300094 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.087 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.333 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=1.167 ms
--- ctest-vm2-test-25300094 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.333/1.529/3.087 ms
2025-05-14 17:25:11,604 - INFO - Ping to IP ctest-vm2-test-25300094 from VM ctest-vm2-test-25300094 passed
2025-05-14 17:25:11,641 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-05-14 17:25:11,666 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-07167285@0%20AllEntriesVdnsRecordsReq
2025-05-14 17:25:11,687 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-07167285:1:ctest-vm2-test-25300094:10.10.10.4', 'rec_name': 'ctest-vm2-test-25300094', '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-3310-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-25300094.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-05-14 17:25:11,687 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-07167285:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-25300094', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-25300094', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3310-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-25300094.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-05-14 17:25:11,688 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-25300094", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-05-14 17:25:11,688 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-25300094", None, socket.AF_INET6)'
2025-05-14 17:25:12,022 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-25300094, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-05-14 17:25:12,023 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-25300094
2025-05-14 17:25:14,374 - DEBUG - PING ctest-vm2-test-25300094 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=6.399 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=2.168 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=2.401 ms
--- ctest-vm2-test-25300094 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.168/3.656/6.399 ms
2025-05-14 17:25:14,375 - INFO - Ping to IP ctest-vm2-test-25300094 from VM ctest-vm1-test-98082233 passed
2025-05-14 17:25:14,375 - INFO - Try deleting the VDNS entry ctest-vdns1-07167285 with back ref of ipam.
2025-05-14 17:25:14,452 - DEBUG - Delete when resource still referred: ['http://10.0.0.50:8082/network-ipam/ba77a2a0-f4ab-4b84-9d9d-99574cfc796f']
2025-05-14 17:25:14,452 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-05-14 17:25:14,452 - INFO - Add CNAME VDNS record for ctest-vm1-test-98082233 and verify we able to ping by alias name
2025-05-14 17:25:14,512 - DEBUG - Creating VDNS record data : test-rec
2025-05-14 17:25:14,660 - INFO - In verify_on_setup
2025-05-14 17:25:14,764 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-07167285', 'test-rec'] created succesfully
2025-05-14 17:25:14,764 - INFO - Verify VDNS record is shown in the API server
2025-05-14 17:25:14,764 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-05-14 17:25:14,779 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ac941447-a2f9-4b7a-bd2e-665fe112e36a
2025-05-14 17:25:14,888 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS/94885f6c-c914-47d5-be73-b3e28acd06d0
2025-05-14 17:25:14,908 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS-record/cf3cf38c-7210-4b05-89af-73b142e6fb26
2025-05-14 17:25:14,925 - INFO - Verify VDNS record is shown in the control node
2025-05-14 17:25:14,938 - 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.50, gateway password: c0ntrail123
2025-05-14 17:25:14,939 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-14 17:25:15,181 - 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.50, gateway password: c0ntrail123
2025-05-14 17:25:15,182 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-14 17:25:15,450 - DEBUG - ping: bad address 'vm1-test-alias'
2025-05-14 17:25:15,451 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-98082233 failed
2025-05-14 17:25:16,453 - 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.50, gateway password: c0ntrail123
2025-05-14 17:25:16,453 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-14 17:25:16,717 - 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.50, gateway password: c0ntrail123
2025-05-14 17:25:16,717 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-14 17:25:17,027 - DEBUG - ping: bad address 'vm1-test-alias'
2025-05-14 17:25:17,027 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-98082233 failed
2025-05-14 17:25:18,029 - 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.50, gateway password: c0ntrail123
2025-05-14 17:25:18,029 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-14 17:25:18,240 - 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.50, gateway password: c0ntrail123
2025-05-14 17:25:18,241 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-14 17:25:20,616 - DEBUG - PING vm1-test-alias (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=1.072 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.896 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=1.306 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.896/1.091/1.306 ms
2025-05-14 17:25:20,616 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-98082233 passed
2025-05-14 17:25:20,617 - DEBUG - Deleting VDNS record data: test-rec
2025-05-14 17:25:20,744 - INFO - VDNS record info: default-domain:ctest-vdns1-07167285:test-rec deleted successfully.
2025-05-14 17:25:20,744 - INFO - Deleting VM ctest-vm2-test-25300094
2025-05-14 17:25:20,903 - INFO - Deleting VM ctest-vm1-test-98082233
2025-05-14 17:25:21,054 - INFO - Deleting VN ctest-vn1-vdns-97168048
2025-05-14 17:25:21,139 - DEBUG - VN 4134e960-84b8-4160-870c-b8df42052287 still in use: Unable to complete operation on network 4134e960-84b8-4160-870c-b8df42052287. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a6a4eff6-e33a-4873-ae6f-9f6ba0d65f65']
2025-05-14 17:25:21,139 - WARNING - Deleting VN ctest-vn1-vdns-97168048 failed..Will retry
2025-05-14 17:25:23,442 - DEBUG - Response for deleting network ()
2025-05-14 17:25:23,511 - DEBUG - Deleting VDNS Entry: ctest-vdns1-07167285
2025-05-14 17:25:23,599 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-07167285'] deleted successfully.
2025-05-14 17:25:23,600 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-05-14 17:25:23,608 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ac941447-a2f9-4b7a-bd2e-665fe112e36a
2025-05-14 17:25:23,630 - DEBUG - VDNS information not found in API server
2025-05-14 17:25:23,630 - INFO - VDNS information ctest-vdns1-07167285 removed from the API Server
2025-05-14 17:25:23,638 - INFO - VDNS information ctest-vdns1-07167285 removed in the Control node
2025-05-14 17:25:23,639 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-19437500']
2025-05-14 17:25:23,933 - DEBUG - No XMPP flaps were noticed during the test
2025-05-14 17:25:23,933 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:58]
2025-05-14 17:25:23,933 - INFO - --------------------------------------------------------------------------------
2025-05-14 17:25:24,970 - INFO - Deleted project: ctest-TestvDNSBasic0-19437500, ID : 240e4dd8-1876-4343-988a-4080a191359d