is in ACTIVE state now
2025-05-15 16:30:48,946 - INFO - VM name : ctest-vm2-test-68107810
2025-05-15 16:30:49,016 - DEBUG - VM ctest-vm2-test-68107810 ID is a3fef87b-02f8-4308-b9f5-9211859bd1a1
2025-05-15 16:30:49,016 - DEBUG - VM ctest-vm2-test-68107810 launched on Node cn-jenkins-deploy-platform-ansible-os-3320-1
2025-05-15 16:30:49,083 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a3fef87b-02f8-4308-b9f5-9211859bd1a1
2025-05-15 16:30:49,091 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fadb770a-64ee-46b3-a11f-4f8b8a717170
2025-05-15 16:30:52,355 - 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 1031ms')
2025-05-15 16:30:52,355 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-68107810 failed!
2025-05-15 16:30:52,410 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-21184606:ctest-vn1-vdns-14101845 is 10.10.10.1 and allocation pool is NOT set
2025-05-15 16:30:54,473 - 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=2.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.42 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.423/2.613/2.804/0.190 ms')
2025-05-15 16:30:54,473 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-68107810 passed
2025-05-15 16:30:54,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-15 16:30:54,626 - DEBUG - Waiting to SSH to VM ctest-vm2-test-68107810, IP 10.10.10.4, Port 22
2025-05-15 16:30:54,778 - DEBUG - VM ctest-vm2-test-68107810 is ready for SSH connections
2025-05-15 16:30:54,778 - 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-05-15 16:30:54,778 - DEBUG - ifconfig | grep 10.10.10.4
2025-05-15 16:30:55,369 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-05-15 16:30:55,370 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-68107810", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-05-15 16:30:55,370 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-68107810", None, socket.AF_INET6)'
2025-05-15 16:30:55,606 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-68107810, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-05-15 16:30:55,606 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-68107810
2025-05-15 16:30:57,861 - DEBUG - PING ctest-vm2-test-68107810 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.110 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.323 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.385 ms
--- ctest-vm2-test-68107810 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.323/1.272/3.110 ms
2025-05-15 16:30:57,861 - INFO - Ping to IP ctest-vm2-test-68107810 from VM ctest-vm2-test-68107810 passed
2025-05-15 16:30:57,873 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-05-15 16:30:57,878 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-48939066@0%20AllEntriesVdnsRecordsReq
2025-05-15 16:30:57,883 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-48939066:1:ctest-vm2-test-68107810:10.10.10.4', 'rec_name': 'ctest-vm2-test-68107810', '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-3320-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-68107810.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-05-15 16:30:57,883 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-48939066:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-68107810', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-68107810', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3320-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-68107810.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-15 16:30:57,884 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-68107810", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-05-15 16:30:57,884 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-68107810", None, socket.AF_INET6)'
2025-05-15 16:30:58,066 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-68107810, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-05-15 16:30:58,066 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-68107810
2025-05-15 16:31:00,309 - DEBUG - PING ctest-vm2-test-68107810 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=4.864 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.765 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.694 ms
--- ctest-vm2-test-68107810 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.694/2.107/4.864 ms
2025-05-15 16:31:00,309 - INFO - Ping to IP ctest-vm2-test-68107810 from VM ctest-vm1-test-47211279 passed
2025-05-15 16:31:00,309 - INFO - Try deleting the VDNS entry ctest-vdns1-48939066 with back ref of ipam.
2025-05-15 16:31:00,366 - DEBUG - Delete when resource still referred: ['http://10.0.0.254:8082/network-ipam/ce3a1b0f-c3a8-4182-9c81-a5396911e473']
2025-05-15 16:31:00,366 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-05-15 16:31:00,366 - INFO - Add CNAME VDNS record for ctest-vm1-test-47211279 and verify we able to ping by alias name
2025-05-15 16:31:00,414 - DEBUG - Creating VDNS record data : test-rec
2025-05-15 16:31:00,522 - INFO - In verify_on_setup
2025-05-15 16:31:00,622 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-48939066', 'test-rec'] created succesfully
2025-05-15 16:31:00,622 - INFO - Verify VDNS record is shown in the API server
2025-05-15 16:31:00,622 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-05-15 16:31:00,628 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ad10a90d-f8c0-4566-a29e-0c71ae911d7f
2025-05-15 16:31:00,638 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/a89de4a5-a62d-4583-94d6-147eee682ef1
2025-05-15 16:31:00,645 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS-record/11dd6ac2-0097-4fc1-b431-a41766346a15
2025-05-15 16:31:00,650 - INFO - Verify VDNS record is shown in the control node
2025-05-15 16:31:00,656 - 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-05-15 16:31:00,656 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-15 16:31:00,839 - 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-05-15 16:31:00,839 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-15 16:31:01,074 - DEBUG - ping: bad address 'vm1-test-alias'
2025-05-15 16:31:01,074 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-47211279 failed
2025-05-15 16:31:02,075 - 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-05-15 16:31:02,075 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-15 16:31:02,248 - 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-05-15 16:31:02,248 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-15 16:31:02,502 - DEBUG - ping: bad address 'vm1-test-alias'
2025-05-15 16:31:02,502 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-47211279 failed
2025-05-15 16:31:03,503 - 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-05-15 16:31:03,503 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-15 16:31:03,676 - 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-05-15 16:31:03,676 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-15 16:31:05,915 - 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.313 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.337 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.285 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.285/0.311/0.337 ms
2025-05-15 16:31:05,915 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-47211279 passed
2025-05-15 16:31:05,916 - DEBUG - Deleting VDNS record data: test-rec
2025-05-15 16:31:05,986 - INFO - VDNS record info: default-domain:ctest-vdns1-48939066:test-rec deleted successfully.
2025-05-15 16:31:05,986 - INFO - Deleting VM ctest-vm2-test-68107810
2025-05-15 16:31:06,048 - INFO - Deleting VM ctest-vm1-test-47211279
2025-05-15 16:31:06,107 - INFO - Deleting VN ctest-vn1-vdns-14101845
2025-05-15 16:31:06,140 - DEBUG - VN 1e6bd123-1a00-4e75-8c21-c0d7f516a5f4 still in use: Unable to complete operation on network 1e6bd123-1a00-4e75-8c21-c0d7f516a5f4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0a9450f5-7090-4612-9fbc-a93d3121fdc3']
2025-05-15 16:31:06,140 - WARNING - Deleting VN ctest-vn1-vdns-14101845 failed..Will retry
2025-05-15 16:31:08,369 - DEBUG - Response for deleting network ()
2025-05-15 16:31:08,397 - DEBUG - Deleting VDNS Entry: ctest-vdns1-48939066
2025-05-15 16:31:08,466 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-48939066'] deleted successfully.
2025-05-15 16:31:08,466 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-05-15 16:31:08,472 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ad10a90d-f8c0-4566-a29e-0c71ae911d7f
2025-05-15 16:31:08,485 - DEBUG - VDNS information not found in API server
2025-05-15 16:31:08,485 - INFO - VDNS information ctest-vdns1-48939066 removed from the API Server
2025-05-15 16:31:08,491 - INFO - VDNS information ctest-vdns1-48939066 removed in the Control node
2025-05-15 16:31:08,491 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-21184606']
2025-05-15 16:31:08,745 - DEBUG - No XMPP flaps were noticed during the test
2025-05-15 16:31:08,745 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:49]
2025-05-15 16:31:08,745 - INFO - --------------------------------------------------------------------------------
2025-05-15 16:31:09,392 - INFO - Deleted project: ctest-TestvDNSBasic0-21184606, ID : c8876315-533b-425b-b23c-3389f04cdd23