is in ACTIVE state now
2025-06-23 22:12:59,707 - INFO - VM name : ctest-vm2-test-21977181
2025-06-23 22:12:59,764 - DEBUG - VM ctest-vm2-test-21977181 ID is c2d203fa-6e05-421e-8992-ff01e209841c
2025-06-23 22:12:59,764 - DEBUG - VM ctest-vm2-test-21977181 launched on Node cn-jenkins-deploy-platform-ansible-os-3526-1
2025-06-23 22:12:59,820 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c2d203fa-6e05-421e-8992-ff01e209841c
2025-06-23 22:12:59,828 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/277f97ad-5735-4592-94ef-c75b993063c1
2025-06-23 22:13:03,069 - 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 1011ms')
2025-06-23 22:13:03,069 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-21977181 failed!
2025-06-23 22:13:03,121 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64659975:ctest-vn1-vdns-58814354 is 10.10.10.1 and allocation pool is NOT set
2025-06-23 22:13:05,177 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.87 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.872/2.775/3.678/0.903 ms')
2025-06-23 22:13:05,177 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-21977181 passed
2025-06-23 22:13:05,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-23 22:13:05,325 - DEBUG - Waiting to SSH to VM ctest-vm2-test-21977181, IP 10.10.10.4, Port 22
2025-06-23 22:13:05,487 - DEBUG - VM ctest-vm2-test-21977181 is ready for SSH connections
2025-06-23 22:13:05,487 - 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.38, gateway password: c0ntrail123
2025-06-23 22:13:05,488 - DEBUG - ifconfig | grep 10.10.10.4
2025-06-23 22:13:06,089 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-06-23 22:13:06,089 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-21977181", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-06-23 22:13:06,089 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-21977181", None, socket.AF_INET6)'
2025-06-23 22:13:06,315 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-21977181, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-06-23 22:13:06,315 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-21977181
2025-06-23 22:13:08,558 - DEBUG - PING ctest-vm2-test-21977181 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.279 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.320 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.385 ms
--- ctest-vm2-test-21977181 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.320/1.328/3.279 ms
2025-06-23 22:13:08,558 - INFO - Ping to IP ctest-vm2-test-21977181 from VM ctest-vm2-test-21977181 passed
2025-06-23 22:13:08,569 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-06-23 22:13:08,574 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-07532310@0%20AllEntriesVdnsRecordsReq
2025-06-23 22:13:08,579 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-07532310:1:ctest-vm2-test-21977181:10.10.10.4', 'rec_name': 'ctest-vm2-test-21977181', '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-3526-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-21977181.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-06-23 22:13:08,579 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-07532310:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-21977181', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-21977181', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3526-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-21977181.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-06-23 22:13:08,579 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-21977181", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-06-23 22:13:08,579 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-21977181", None, socket.AF_INET6)'
2025-06-23 22:13:08,750 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-21977181, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-06-23 22:13:08,750 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-21977181
2025-06-23 22:13:10,983 - DEBUG - PING ctest-vm2-test-21977181 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=6.359 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.691 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.609 ms
--- ctest-vm2-test-21977181 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.609/2.553/6.359 ms
2025-06-23 22:13:10,983 - INFO - Ping to IP ctest-vm2-test-21977181 from VM ctest-vm1-test-46410481 passed
2025-06-23 22:13:10,983 - INFO - Try deleting the VDNS entry ctest-vdns1-07532310 with back ref of ipam.
2025-06-23 22:13:11,037 - DEBUG - Delete when resource still referred: ['http://10.0.0.38:8082/network-ipam/4d213c75-b9c1-45c5-aff1-34ae8e26b7d3']
2025-06-23 22:13:11,037 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-06-23 22:13:11,037 - INFO - Add CNAME VDNS record for ctest-vm1-test-46410481 and verify we able to ping by alias name
2025-06-23 22:13:11,089 - DEBUG - Creating VDNS record data : test-rec
2025-06-23 22:13:11,193 - INFO - In verify_on_setup
2025-06-23 22:13:11,281 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-07532310', 'test-rec'] created succesfully
2025-06-23 22:13:11,281 - INFO - Verify VDNS record is shown in the API server
2025-06-23 22:13:11,281 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-06-23 22:13:11,286 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4cbe0ed7-ac14-48a4-949a-577e5f54f960
2025-06-23 22:13:11,297 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/b67a8cd5-2a77-4e91-b5a6-63d45d1c7fe9
2025-06-23 22:13:11,303 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/a6278406-9b73-44fd-9981-c884f57eb859
2025-06-23 22:13:11,308 - INFO - Verify VDNS record is shown in the control node
2025-06-23 22:13:11,314 - 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.38, gateway password: c0ntrail123
2025-06-23 22:13:11,314 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-06-23 22:13:11,486 - 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.38, gateway password: c0ntrail123
2025-06-23 22:13:11,486 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-06-23 22:13:11,717 - DEBUG - ping: bad address 'vm1-test-alias'
2025-06-23 22:13:11,717 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-46410481 failed
2025-06-23 22:13:12,718 - 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.38, gateway password: c0ntrail123
2025-06-23 22:13:12,718 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-06-23 22:13:12,890 - 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.38, gateway password: c0ntrail123
2025-06-23 22:13:12,890 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-06-23 22:13:13,120 - DEBUG - ping: bad address 'vm1-test-alias'
2025-06-23 22:13:13,120 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-46410481 failed
2025-06-23 22:13:14,121 - 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.38, gateway password: c0ntrail123
2025-06-23 22:13:14,122 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-06-23 22:13:14,294 - 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.38, gateway password: c0ntrail123
2025-06-23 22:13:14,294 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-06-23 22:13:16,539 - 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.331 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.445 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.291/0.355/0.445 ms
2025-06-23 22:13:16,539 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-46410481 passed
2025-06-23 22:13:16,539 - DEBUG - Deleting VDNS record data: test-rec
2025-06-23 22:13:16,609 - INFO - VDNS record info: default-domain:ctest-vdns1-07532310:test-rec deleted successfully.
2025-06-23 22:13:16,609 - INFO - Deleting VM ctest-vm2-test-21977181
2025-06-23 22:13:16,687 - INFO - Deleting VM ctest-vm1-test-46410481
2025-06-23 22:13:16,823 - INFO - Deleting VN ctest-vn1-vdns-58814354
2025-06-23 22:13:16,863 - DEBUG - VN 93fcc81a-ae5b-45bd-96ce-d5808f5f4345 still in use: Unable to complete operation on network 93fcc81a-ae5b-45bd-96ce-d5808f5f4345. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-abe6649a-65ca-4621-9e45-92d7133b24f0']
2025-06-23 22:13:16,863 - WARNING - Deleting VN ctest-vn1-vdns-58814354 failed..Will retry
2025-06-23 22:13:19,086 - DEBUG - Response for deleting network ()
2025-06-23 22:13:19,109 - DEBUG - Deleting VDNS Entry: ctest-vdns1-07532310
2025-06-23 22:13:19,177 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-07532310'] deleted successfully.
2025-06-23 22:13:19,177 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-06-23 22:13:19,183 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4cbe0ed7-ac14-48a4-949a-577e5f54f960
2025-06-23 22:13:19,194 - DEBUG - VDNS information not found in API server
2025-06-23 22:13:19,194 - INFO - VDNS information ctest-vdns1-07532310 removed from the API Server
2025-06-23 22:13:19,200 - INFO - VDNS information ctest-vdns1-07532310 removed in the Control node
2025-06-23 22:13:19,200 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-64659975']
2025-06-23 22:13:19,458 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 22:13:19,458 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:44]
2025-06-23 22:13:19,458 - INFO - --------------------------------------------------------------------------------
2025-06-23 22:13:20,093 - INFO - Deleted project: ctest-TestvDNSBasic0-64659975, ID : 6130a3e9-967e-481f-abd3-7e011b8221f8