is in ACTIVE state now
2025-04-22 12:43:43,794 - INFO - VM name : ctest-vm2-test-79256813
2025-04-22 12:43:43,868 - DEBUG - VM ctest-vm2-test-79256813 ID is 2150331d-1548-4936-bb02-fee9ebe97054
2025-04-22 12:43:43,868 - DEBUG - VM ctest-vm2-test-79256813 launched on Node cn-jenkins-deploy-platform-ansible-os-3161-1
2025-04-22 12:43:43,937 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2150331d-1548-4936-bb02-fee9ebe97054
2025-04-22 12:43:43,946 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/8c042c96-6c0d-4d0b-a816-056961d4f077
2025-04-22 12:43:47,191 - 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-04-22 12:43:47,192 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-79256813 failed!
2025-04-22 12:43:47,245 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-28219533:ctest-vn1-vdns-48875076 is 10.10.10.1 and allocation pool is NOT set
2025-04-22 12:43:49,309 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.795 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 = 0.795/2.681/4.567/1.886 ms')
2025-04-22 12:43:49,310 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-79256813 passed
2025-04-22 12:43:49,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 12:43:49,457 - DEBUG - Waiting to SSH to VM ctest-vm2-test-79256813, IP 10.10.10.4, Port 22
2025-04-22 12:43:49,612 - DEBUG - VM ctest-vm2-test-79256813 is ready for SSH connections
2025-04-22 12:43:49,612 - 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.41, gateway password: c0ntrail123
2025-04-22 12:43:49,612 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-22 12:43:50,225 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-22 12:43:50,226 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-79256813", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-04-22 12:43:50,226 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-79256813", None, socket.AF_INET6)'
2025-04-22 12:43:50,460 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-79256813, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-04-22 12:43:50,460 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-79256813
2025-04-22 12:43:52,713 - DEBUG - PING ctest-vm2-test-79256813 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=2.814 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.316 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.527 ms
--- ctest-vm2-test-79256813 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.316/1.219/2.814 ms
2025-04-22 12:43:52,713 - INFO - Ping to IP ctest-vm2-test-79256813 from VM ctest-vm2-test-79256813 passed
2025-04-22 12:43:52,728 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-22 12:43:52,734 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-36230398@0%20AllEntriesVdnsRecordsReq
2025-04-22 12:43:52,741 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-36230398:1:ctest-vm2-test-79256813:10.10.10.4', 'rec_name': 'ctest-vm2-test-79256813', '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-3161-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-79256813.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-22 12:43:52,741 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-36230398:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-79256813', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-79256813', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3161-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-79256813.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 12:43:52,741 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-79256813", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-04-22 12:43:52,741 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-79256813", None, socket.AF_INET6)'
2025-04-22 12:43:52,915 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-79256813, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-04-22 12:43:52,916 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-79256813
2025-04-22 12:43:55,190 - DEBUG - PING ctest-vm2-test-79256813 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=6.467 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.685 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.780 ms
--- ctest-vm2-test-79256813 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.685/2.644/6.467 ms
2025-04-22 12:43:55,191 - INFO - Ping to IP ctest-vm2-test-79256813 from VM ctest-vm1-test-30268504 passed
2025-04-22 12:43:55,191 - INFO - Try deleting the VDNS entry ctest-vdns1-36230398 with back ref of ipam.
2025-04-22 12:43:55,245 - DEBUG - Delete when resource still referred: ['http://10.0.0.41:8082/network-ipam/1087525b-a1e4-41e1-81c0-9bb20f9b0901']
2025-04-22 12:43:55,245 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-22 12:43:55,245 - INFO - Add CNAME VDNS record for ctest-vm1-test-30268504 and verify we able to ping by alias name
2025-04-22 12:43:55,293 - DEBUG - Creating VDNS record data : test-rec
2025-04-22 12:43:55,405 - INFO - In verify_on_setup
2025-04-22 12:43:55,505 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-36230398', 'test-rec'] created succesfully
2025-04-22 12:43:55,505 - INFO - Verify VDNS record is shown in the API server
2025-04-22 12:43:55,505 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-04-22 12:43:55,511 - DEBUG - Requesting: http://10.0.0.41:8082/domain/52ce1fb0-a48e-4993-93cf-9ba42c20fcb6
2025-04-22 12:43:55,523 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS/45766547-24f2-4be6-a107-e0a9f36c6f08
2025-04-22 12:43:55,530 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS-record/518d3d38-585b-4a0d-8d10-f615bc4050ff
2025-04-22 12:43:55,535 - INFO - Verify VDNS record is shown in the control node
2025-04-22 12:43:55,541 - 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.41, gateway password: c0ntrail123
2025-04-22 12:43:55,541 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-22 12:43:55,715 - 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.41, gateway password: c0ntrail123
2025-04-22 12:43:55,715 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-22 12:43:55,943 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-22 12:43:55,943 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-30268504 failed
2025-04-22 12:43:56,944 - 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.41, gateway password: c0ntrail123
2025-04-22 12:43:56,944 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-22 12:43:57,130 - 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.41, gateway password: c0ntrail123
2025-04-22 12:43:57,130 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-22 12:43:57,357 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-22 12:43:57,357 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-30268504 failed
2025-04-22 12:43:58,358 - 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.41, gateway password: c0ntrail123
2025-04-22 12:43:58,358 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-22 12:43:58,532 - 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.41, gateway password: c0ntrail123
2025-04-22 12:43:58,532 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-22 12:44:00,774 - 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.368 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.359 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.300 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.300/0.342/0.368 ms
2025-04-22 12:44:00,774 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-30268504 passed
2025-04-22 12:44:00,774 - DEBUG - Deleting VDNS record data: test-rec
2025-04-22 12:44:00,841 - INFO - VDNS record info: default-domain:ctest-vdns1-36230398:test-rec deleted successfully.
2025-04-22 12:44:00,841 - INFO - Deleting VM ctest-vm2-test-79256813
2025-04-22 12:44:00,900 - INFO - Deleting VM ctest-vm1-test-30268504
2025-04-22 12:44:00,958 - INFO - Deleting VN ctest-vn1-vdns-48875076
2025-04-22 12:44:00,992 - DEBUG - VN 2ec6e732-9f36-4bc3-a887-7a10f482a7aa still in use: Unable to complete operation on network 2ec6e732-9f36-4bc3-a887-7a10f482a7aa. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b52336bf-888a-4e19-8c70-d46f4ce698a2']
2025-04-22 12:44:00,992 - WARNING - Deleting VN ctest-vn1-vdns-48875076 failed..Will retry
2025-04-22 12:44:03,281 - DEBUG - Response for deleting network ()
2025-04-22 12:44:03,318 - DEBUG - Deleting VDNS Entry: ctest-vdns1-36230398
2025-04-22 12:44:03,393 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-36230398'] deleted successfully.
2025-04-22 12:44:03,393 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-04-22 12:44:03,399 - DEBUG - Requesting: http://10.0.0.41:8082/domain/52ce1fb0-a48e-4993-93cf-9ba42c20fcb6
2025-04-22 12:44:03,413 - DEBUG - VDNS information not found in API server
2025-04-22 12:44:03,414 - INFO - VDNS information ctest-vdns1-36230398 removed from the API Server
2025-04-22 12:44:03,419 - INFO - VDNS information ctest-vdns1-36230398 removed in the Control node
2025-04-22 12:44:03,419 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-28219533']
2025-04-22 12:44:03,683 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 12:44:03,683 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:45]
2025-04-22 12:44:03,683 - INFO - --------------------------------------------------------------------------------
2025-04-22 12:44:04,324 - INFO - Deleted project: ctest-TestvDNSBasic0-28219533, ID : aebd46cb-c3b3-43fe-bdc0-db2c30985f22