is in ACTIVE state now
2025-05-15 02:13:23,697 - INFO - VM name : ctest-vm2-test-74892350
2025-05-15 02:13:23,785 - DEBUG - VM ctest-vm2-test-74892350 ID is 5745bfd5-521c-4ffd-8a86-cf236a6a67e0
2025-05-15 02:13:23,785 - DEBUG - VM ctest-vm2-test-74892350 launched on Node cn-jenkins-deploy-platform-ansible-os-3315-1
2025-05-15 02:13:23,872 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5745bfd5-521c-4ffd-8a86-cf236a6a67e0
2025-05-15 02:13:23,882 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ee0278fd-ac9b-48e9-9624-34b2457c8360
2025-05-15 02:13:27,149 - 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 1023ms')
2025-05-15 02:13:27,149 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-74892350 failed!
2025-05-15 02:13:27,207 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64105418:ctest-vn1-vdns-05617075 is 10.10.10.1 and allocation pool is NOT set
2025-05-15 02:13:29,267 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.745 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.745/2.137/3.530/1.392 ms')
2025-05-15 02:13:29,267 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-74892350 passed
2025-05-15 02:13:29,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-15 02:13:29,420 - DEBUG - Waiting to SSH to VM ctest-vm2-test-74892350, IP 10.10.10.4, Port 22
2025-05-15 02:13:29,575 - DEBUG - VM ctest-vm2-test-74892350 is ready for SSH connections
2025-05-15 02:13:29,575 - 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.141, gateway password: c0ntrail123
2025-05-15 02:13:29,575 - DEBUG - ifconfig | grep 10.10.10.4
2025-05-15 02:13:30,232 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-05-15 02:13:30,232 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-74892350", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-05-15 02:13:30,233 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-74892350", None, socket.AF_INET6)'
2025-05-15 02:13:30,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-74892350, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-05-15 02:13:30,483 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-74892350
2025-05-15 02:13:32,752 - DEBUG - PING ctest-vm2-test-74892350 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.006 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.347 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.486 ms
--- ctest-vm2-test-74892350 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.347/1.279/3.006 ms
2025-05-15 02:13:32,752 - INFO - Ping to IP ctest-vm2-test-74892350 from VM ctest-vm2-test-74892350 passed
2025-05-15 02:13:32,765 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-05-15 02:13:32,771 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-62271496@0%20AllEntriesVdnsRecordsReq
2025-05-15 02:13:32,778 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-62271496:1:ctest-vm2-test-74892350:10.10.10.4', 'rec_name': 'ctest-vm2-test-74892350', '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-3315-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-74892350.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-05-15 02:13:32,778 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-62271496:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-74892350', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-74892350', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3315-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-74892350.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 02:13:32,778 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-74892350", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-05-15 02:13:32,778 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-74892350", None, socket.AF_INET6)'
2025-05-15 02:13:32,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-74892350, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-05-15 02:13:32,966 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-74892350
2025-05-15 02:13:35,211 - DEBUG - PING ctest-vm2-test-74892350 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=4.462 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.927 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.759 ms
--- ctest-vm2-test-74892350 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.759/2.049/4.462 ms
2025-05-15 02:13:35,211 - INFO - Ping to IP ctest-vm2-test-74892350 from VM ctest-vm1-test-57145531 passed
2025-05-15 02:13:35,211 - INFO - Try deleting the VDNS entry ctest-vdns1-62271496 with back ref of ipam.
2025-05-15 02:13:35,267 - DEBUG - Delete when resource still referred: ['http://10.0.0.141:8082/network-ipam/c7ded9d4-4197-45c7-872b-39fb5aa9542f']
2025-05-15 02:13:35,267 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-05-15 02:13:35,267 - INFO - Add CNAME VDNS record for ctest-vm1-test-57145531 and verify we able to ping by alias name
2025-05-15 02:13:35,315 - DEBUG - Creating VDNS record data : test-rec
2025-05-15 02:13:35,427 - INFO - In verify_on_setup
2025-05-15 02:13:35,523 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-62271496', 'test-rec'] created succesfully
2025-05-15 02:13:35,523 - INFO - Verify VDNS record is shown in the API server
2025-05-15 02:13:35,524 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-05-15 02:13:35,530 - DEBUG - Requesting: http://10.0.0.141:8082/domain/e629dc6f-73c2-422d-a1fe-87937040b350
2025-05-15 02:13:35,543 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-DNS/8266703e-2e8f-4724-88a8-5c895c306b43
2025-05-15 02:13:35,551 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-DNS-record/7525dacd-aae6-4ff4-8740-312359fd8881
2025-05-15 02:13:35,557 - INFO - Verify VDNS record is shown in the control node
2025-05-15 02:13:35,563 - 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.141, gateway password: c0ntrail123
2025-05-15 02:13:35,563 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-15 02:13:35,749 - 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.141, gateway password: c0ntrail123
2025-05-15 02:13:35,749 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-15 02:13:36,003 - DEBUG - ping: bad address 'vm1-test-alias'
2025-05-15 02:13:36,003 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-57145531 failed
2025-05-15 02:13:37,004 - 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.141, gateway password: c0ntrail123
2025-05-15 02:13:37,004 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-15 02:13:37,201 - 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.141, gateway password: c0ntrail123
2025-05-15 02:13:37,201 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-15 02:13:37,458 - DEBUG - ping: bad address 'vm1-test-alias'
2025-05-15 02:13:37,458 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-57145531 failed
2025-05-15 02:13:38,459 - 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.141, gateway password: c0ntrail123
2025-05-15 02:13:38,460 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-05-15 02:13:38,647 - 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.141, gateway password: c0ntrail123
2025-05-15 02:13:38,647 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-05-15 02:13:40,925 - 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.406 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.427 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.337 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.337/0.390/0.427 ms
2025-05-15 02:13:40,925 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-57145531 passed
2025-05-15 02:13:40,925 - DEBUG - Deleting VDNS record data: test-rec
2025-05-15 02:13:40,995 - INFO - VDNS record info: default-domain:ctest-vdns1-62271496:test-rec deleted successfully.
2025-05-15 02:13:40,996 - INFO - Deleting VM ctest-vm2-test-74892350
2025-05-15 02:13:41,069 - INFO - Deleting VM ctest-vm1-test-57145531
2025-05-15 02:13:41,168 - INFO - Deleting VN ctest-vn1-vdns-05617075
2025-05-15 02:13:41,215 - DEBUG - VN b2dfb31d-7a8d-4fb0-9c9b-c1c37949c4fa still in use: Unable to complete operation on network b2dfb31d-7a8d-4fb0-9c9b-c1c37949c4fa. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2ae7367e-7cc1-4139-9ba9-df3d1b6b3756']
2025-05-15 02:13:41,215 - WARNING - Deleting VN ctest-vn1-vdns-05617075 failed..Will retry
2025-05-15 02:13:43,426 - DEBUG - Response for deleting network ()
2025-05-15 02:13:43,466 - DEBUG - Deleting VDNS Entry: ctest-vdns1-62271496
2025-05-15 02:13:43,547 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-62271496'] deleted successfully.
2025-05-15 02:13:43,547 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-05-15 02:13:43,555 - DEBUG - Requesting: http://10.0.0.141:8082/domain/e629dc6f-73c2-422d-a1fe-87937040b350
2025-05-15 02:13:43,570 - DEBUG - VDNS information not found in API server
2025-05-15 02:13:43,570 - INFO - VDNS information ctest-vdns1-62271496 removed from the API Server
2025-05-15 02:13:43,577 - INFO - VDNS information ctest-vdns1-62271496 removed in the Control node
2025-05-15 02:13:43,577 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-64105418']
2025-05-15 02:13:43,839 - DEBUG - No XMPP flaps were noticed during the test
2025-05-15 02:13:43,839 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:45]
2025-05-15 02:13:43,839 - INFO - --------------------------------------------------------------------------------
2025-05-15 02:13:44,517 - INFO - Deleted project: ctest-TestvDNSBasic0-64105418, ID : a83a3988-9fa7-4575-a491-cb4cccd9b030