is in ACTIVE state now
2025-04-24 10:07:48,472 - INFO - VM name : ctest-vm2-test-93758004
2025-04-24 10:07:48,534 - DEBUG - VM ctest-vm2-test-93758004 ID is 4d6d5d40-cd59-4968-8deb-df14bd32f4d5
2025-04-24 10:07:48,535 - DEBUG - VM ctest-vm2-test-93758004 launched on Node cn-jenkins-deploy-platform-ansible-os-3202-1
2025-04-24 10:07:48,602 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4d6d5d40-cd59-4968-8deb-df14bd32f4d5
2025-04-24 10:07:48,609 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/97449ff4-e94e-4a8c-8f60-3c91cec016c0
2025-04-24 10:07:51,856 - 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 1010ms')
2025-04-24 10:07:51,856 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-93758004 failed!
2025-04-24 10:07:51,909 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45526262:ctest-vn1-vdns-02689057 is 10.10.10.1 and allocation pool is NOT set
2025-04-24 10:07:53,971 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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 = 0.435/1.826/3.217/1.391 ms')
2025-04-24 10:07:53,971 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-93758004 passed
2025-04-24 10:07:54,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 10:07:54,122 - DEBUG - Waiting to SSH to VM ctest-vm2-test-93758004, IP 10.10.10.4, Port 22
2025-04-24 10:07:54,277 - DEBUG - VM ctest-vm2-test-93758004 is ready for SSH connections
2025-04-24 10:07:54,277 - 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-24 10:07:54,277 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-24 10:07:54,818 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-24 10:07:54,818 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-93758004", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-24 10:07:54,818 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-93758004", None, socket.AF_INET6)'
2025-04-24 10:07:55,030 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-93758004, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-24 10:07:55,031 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-93758004
2025-04-24 10:07:57,255 - DEBUG - PING ctest-vm2-test-93758004 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=2.440 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.982 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.378 ms
--- ctest-vm2-test-93758004 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.378/1.266/2.440 ms
2025-04-24 10:07:57,255 - INFO - Ping to IP ctest-vm2-test-93758004 from VM ctest-vm2-test-93758004 passed
2025-04-24 10:07:57,268 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-24 10:07:57,272 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-16988266@0%20AllEntriesVdnsRecordsReq
2025-04-24 10:07:57,277 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-16988266:1:ctest-vm2-test-93758004:10.10.10.4', 'rec_name': 'ctest-vm2-test-93758004', '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-3202-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-93758004.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-24 10:07:57,277 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-16988266:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-93758004', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-93758004', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3202-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-93758004.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-24 10:07:57,277 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-93758004", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-24 10:07:57,277 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-93758004", None, socket.AF_INET6)'
2025-04-24 10:07:57,441 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-93758004, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-24 10:07:57,441 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-93758004
2025-04-24 10:07:59,663 - DEBUG - PING ctest-vm2-test-93758004 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=7.612 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.704 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=1.173 ms
--- ctest-vm2-test-93758004 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.704/3.163/7.612 ms
2025-04-24 10:07:59,663 - INFO - Ping to IP ctest-vm2-test-93758004 from VM ctest-vm1-test-51997811 passed
2025-04-24 10:07:59,663 - INFO - Try deleting the VDNS entry ctest-vdns1-16988266 with back ref of ipam.
2025-04-24 10:07:59,717 - DEBUG - Delete when resource still referred: ['http://10.0.0.254:8082/network-ipam/89daec7b-dcde-4824-b65b-067e220a6718']
2025-04-24 10:07:59,717 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-24 10:07:59,717 - INFO - Add CNAME VDNS record for ctest-vm1-test-51997811 and verify we able to ping by alias name
2025-04-24 10:07:59,765 - DEBUG - Creating VDNS record data : test-rec
2025-04-24 10:07:59,873 - INFO - In verify_on_setup
2025-04-24 10:07:59,969 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-16988266', 'test-rec'] created succesfully
2025-04-24 10:07:59,969 - INFO - Verify VDNS record is shown in the API server
2025-04-24 10:07:59,969 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-24 10:07:59,975 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0ce61e4f-787f-4e0b-bb74-c306650cc78d
2025-04-24 10:07:59,988 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/c947e2b3-f5e3-4512-9121-58fe30920a28
2025-04-24 10:07:59,995 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS-record/dcf6e8aa-cc73-4f87-92ef-3a9e6f7072ad
2025-04-24 10:08:00,001 - INFO - Verify VDNS record is shown in the control node
2025-04-24 10:08:00,007 - 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-24 10:08:00,007 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-24 10:08:00,167 - 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-24 10:08:00,168 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-24 10:08:00,381 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-24 10:08:00,381 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-51997811 failed
2025-04-24 10:08:01,381 - 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-24 10:08:01,381 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-24 10:08:01,549 - 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-24 10:08:01,549 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-24 10:08:01,765 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-24 10:08:01,766 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-51997811 failed
2025-04-24 10:08:02,767 - 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-24 10:08:02,767 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-24 10:08:02,928 - 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-24 10:08:02,928 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-24 10:08:05,149 - 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.283 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.351 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.291 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.283/0.308/0.351 ms
2025-04-24 10:08:05,149 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-51997811 passed
2025-04-24 10:08:05,149 - DEBUG - Deleting VDNS record data: test-rec
2025-04-24 10:08:05,217 - INFO - VDNS record info: default-domain:ctest-vdns1-16988266:test-rec deleted successfully.
2025-04-24 10:08:05,217 - INFO - Deleting VM ctest-vm2-test-93758004
2025-04-24 10:08:05,274 - INFO - Deleting VM ctest-vm1-test-51997811
2025-04-24 10:08:05,345 - INFO - Deleting VN ctest-vn1-vdns-02689057
2025-04-24 10:08:05,383 - DEBUG - VN 73cc28cc-75a0-48a6-892d-711581f24536 still in use: Unable to complete operation on network 73cc28cc-75a0-48a6-892d-711581f24536. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d42df9c0-c7d7-4d7a-b727-6ec419cded16']
2025-04-24 10:08:05,383 - WARNING - Deleting VN ctest-vn1-vdns-02689057 failed..Will retry
2025-04-24 10:08:07,605 - DEBUG - Response for deleting network ()
2025-04-24 10:08:07,638 - DEBUG - Deleting VDNS Entry: ctest-vdns1-16988266
2025-04-24 10:08:07,709 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-16988266'] deleted successfully.
2025-04-24 10:08:07,709 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-04-24 10:08:07,716 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0ce61e4f-787f-4e0b-bb74-c306650cc78d
2025-04-24 10:08:07,730 - DEBUG - VDNS information not found in API server
2025-04-24 10:08:07,730 - INFO - VDNS information ctest-vdns1-16988266 removed from the API Server
2025-04-24 10:08:07,735 - INFO - VDNS information ctest-vdns1-16988266 removed in the Control node
2025-04-24 10:08:07,735 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-45526262']
2025-04-24 10:08:07,994 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 10:08:07,994 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:43]
2025-04-24 10:08:07,994 - INFO - --------------------------------------------------------------------------------
2025-04-24 10:08:08,588 - INFO - Deleted project: ctest-TestvDNSBasic0-45526262, ID : 9af83232-6751-4495-b129-3a239c3bf630