is in ACTIVE state now
2025-04-22 20:26:05,077 - INFO - VM name : ctest-vm2-test-11440552
2025-04-22 20:26:05,141 - DEBUG - VM ctest-vm2-test-11440552 ID is 527ac8a9-3df5-46f2-add6-cfee93c2c032
2025-04-22 20:26:05,141 - DEBUG - VM ctest-vm2-test-11440552 launched on Node cn-jenkins-deploy-platform-ansible-os-3172-1
2025-04-22 20:26:05,205 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/527ac8a9-3df5-46f2-add6-cfee93c2c032
2025-04-22 20:26:05,212 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4e6ba1cd-f074-4ca6-81c8-f82659939a70
2025-04-22 20:26:08,446 - 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 1008ms')
2025-04-22 20:26:08,446 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-11440552 failed!
2025-04-22 20:26:08,499 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-79940196:ctest-vn1-vdns-55097537 is 10.10.10.1 and allocation pool is NOT set
2025-04-22 20:26:10,559 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.09 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.088/3.051/4.014/0.963 ms')
2025-04-22 20:26:10,559 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-11440552 passed
2025-04-22 20:26:10,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 20:26:10,711 - DEBUG - Waiting to SSH to VM ctest-vm2-test-11440552, IP 10.10.10.4, Port 22
2025-04-22 20:26:10,881 - DEBUG - VM ctest-vm2-test-11440552 is ready for SSH connections
2025-04-22 20:26:10,882 - 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.249, gateway password: c0ntrail123
2025-04-22 20:26:10,882 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-22 20:26:11,466 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-22 20:26:11,466 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-11440552", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-04-22 20:26:11,466 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-11440552", None, socket.AF_INET6)'
2025-04-22 20:26:11,704 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-11440552, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-04-22 20:26:11,704 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-11440552
2025-04-22 20:26:13,945 - DEBUG - PING ctest-vm2-test-11440552 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=2.996 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.331 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.379 ms
--- ctest-vm2-test-11440552 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.331/1.235/2.996 ms
2025-04-22 20:26:13,945 - INFO - Ping to IP ctest-vm2-test-11440552 from VM ctest-vm2-test-11440552 passed
2025-04-22 20:26:13,956 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-22 20:26:13,961 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-46094898@0%20AllEntriesVdnsRecordsReq
2025-04-22 20:26:13,966 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-46094898:1:ctest-vm2-test-11440552:10.10.10.4', 'rec_name': 'ctest-vm2-test-11440552', '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-3172-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-11440552.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-22 20:26:13,967 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-46094898:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-11440552', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-11440552', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3172-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-11440552.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-22 20:26:13,967 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-11440552", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-04-22 20:26:13,967 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-11440552", None, socket.AF_INET6)'
2025-04-22 20:26:14,141 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-11440552, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-04-22 20:26:14,141 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-11440552
2025-04-22 20:26:16,380 - DEBUG - PING ctest-vm2-test-11440552 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=6.090 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.782 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.779 ms
--- ctest-vm2-test-11440552 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.779/2.550/6.090 ms
2025-04-22 20:26:16,380 - INFO - Ping to IP ctest-vm2-test-11440552 from VM ctest-vm1-test-83642539 passed
2025-04-22 20:26:16,380 - INFO - Try deleting the VDNS entry ctest-vdns1-46094898 with back ref of ipam.
2025-04-22 20:26:16,434 - DEBUG - Delete when resource still referred: ['http://10.0.0.249:8082/network-ipam/d247316b-a069-4eaf-8a45-678b7c829722']
2025-04-22 20:26:16,434 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-22 20:26:16,434 - INFO - Add CNAME VDNS record for ctest-vm1-test-83642539 and verify we able to ping by alias name
2025-04-22 20:26:16,478 - DEBUG - Creating VDNS record data : test-rec
2025-04-22 20:26:16,583 - INFO - In verify_on_setup
2025-04-22 20:26:16,678 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-46094898', 'test-rec'] created succesfully
2025-04-22 20:26:16,679 - INFO - Verify VDNS record is shown in the API server
2025-04-22 20:26:16,679 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-04-22 20:26:16,683 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5ef5cb7b-4310-4028-bb84-063973c63d49
2025-04-22 20:26:16,694 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS/d3ab3898-8efc-4666-b833-9de4413d07dc
2025-04-22 20:26:16,701 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS-record/228eaeaa-cd72-4534-bcf3-70b895364c64
2025-04-22 20:26:16,706 - INFO - Verify VDNS record is shown in the control node
2025-04-22 20:26:16,711 - 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.249, gateway password: c0ntrail123
2025-04-22 20:26:16,711 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-22 20:26:16,888 - 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.249, gateway password: c0ntrail123
2025-04-22 20:26:16,888 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-22 20:26:17,117 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-22 20:26:17,117 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-83642539 failed
2025-04-22 20:26:18,119 - 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.249, gateway password: c0ntrail123
2025-04-22 20:26:18,119 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-22 20:26:18,296 - 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.249, gateway password: c0ntrail123
2025-04-22 20:26:18,296 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-22 20:26:18,524 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-22 20:26:18,524 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-83642539 failed
2025-04-22 20:26:19,525 - 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.249, gateway password: c0ntrail123
2025-04-22 20:26:19,526 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-22 20:26:19,697 - 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.249, gateway password: c0ntrail123
2025-04-22 20:26:19,697 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-22 20:26:21,920 - 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.300 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.326 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.294 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.294/0.306/0.326 ms
2025-04-22 20:26:21,920 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-83642539 passed
2025-04-22 20:26:21,921 - DEBUG - Deleting VDNS record data: test-rec
2025-04-22 20:26:21,986 - INFO - VDNS record info: default-domain:ctest-vdns1-46094898:test-rec deleted successfully.
2025-04-22 20:26:21,987 - INFO - Deleting VM ctest-vm2-test-11440552
2025-04-22 20:26:22,046 - INFO - Deleting VM ctest-vm1-test-83642539
2025-04-22 20:26:22,101 - INFO - Deleting VN ctest-vn1-vdns-55097537
2025-04-22 20:26:22,132 - DEBUG - VN 9a853910-26fa-49f5-8425-ff204db7b936 still in use: Unable to complete operation on network 9a853910-26fa-49f5-8425-ff204db7b936. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b3243f90-16d4-44e0-a41b-e846ca091aad']
2025-04-22 20:26:22,132 - WARNING - Deleting VN ctest-vn1-vdns-55097537 failed..Will retry
2025-04-22 20:26:24,304 - DEBUG - Response for deleting network ()
2025-04-22 20:26:24,331 - DEBUG - Deleting VDNS Entry: ctest-vdns1-46094898
2025-04-22 20:26:24,398 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-46094898'] deleted successfully.
2025-04-22 20:26:24,399 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-04-22 20:26:24,404 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5ef5cb7b-4310-4028-bb84-063973c63d49
2025-04-22 20:26:24,416 - DEBUG - VDNS information not found in API server
2025-04-22 20:26:24,416 - INFO - VDNS information ctest-vdns1-46094898 removed from the API Server
2025-04-22 20:26:24,421 - INFO - VDNS information ctest-vdns1-46094898 removed in the Control node
2025-04-22 20:26:24,422 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-79940196']
2025-04-22 20:26:24,671 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 20:26:24,671 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:44]
2025-04-22 20:26:24,671 - INFO - --------------------------------------------------------------------------------
2025-04-22 20:26:25,308 - INFO - Deleted project: ctest-TestvDNSBasic0-79940196, ID : df0d12e1-76fd-4346-a429-e25c41b35591