is in ACTIVE state now
2025-04-09 11:39:44,836 - INFO - VM name : ctest-vm2-test-28076402
2025-04-09 11:39:44,939 - DEBUG - VM ctest-vm2-test-28076402 ID is a0f7cc23-b45e-45d9-85a6-c6dda676d28e
2025-04-09 11:39:44,939 - DEBUG - VM ctest-vm2-test-28076402 launched on Node cn-jenkins-deploy-platform-ansible-os-3062-1
2025-04-09 11:39:45,041 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a0f7cc23-b45e-45d9-85a6-c6dda676d28e
2025-04-09 11:39:45,053 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/06a9611f-bf9d-4058-a032-4e9eee2757ef
2025-04-09 11:39:48,346 - 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 1027ms')
2025-04-09 11:39:48,346 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-28076402 failed!
2025-04-09 11:39:48,405 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04779365:ctest-vn1-vdns-49275588 is 10.10.10.1 and allocation pool is NOT set
2025-04-09 11:39:52,475 - 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=2 ttl=63 time=8.03 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 8.033/8.033/8.033/0.000 ms')
2025-04-09 11:39:52,475 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-28076402 passed
2025-04-09 11:39:52,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 11:39:52,641 - DEBUG - Waiting to SSH to VM ctest-vm2-test-28076402, IP 10.10.10.4, Port 22
2025-04-09 11:39:52,801 - DEBUG - VM ctest-vm2-test-28076402 is ready for SSH connections
2025-04-09 11:39:52,802 - 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-04-09 11:39:52,802 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-09 11:39:53,490 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-09 11:39:53,491 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-28076402", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-09 11:39:53,491 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-28076402", None, socket.AF_INET6)'
2025-04-09 11:39:53,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-28076402, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-09 11:39:53,760 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-28076402
2025-04-09 11:39:56,104 - DEBUG - PING ctest-vm2-test-28076402 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.874 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.409 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.737 ms
--- ctest-vm2-test-28076402 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.409/1.673/3.874 ms
2025-04-09 11:39:56,104 - INFO - Ping to IP ctest-vm2-test-28076402 from VM ctest-vm2-test-28076402 passed
2025-04-09 11:39:56,121 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-09 11:39:56,129 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-12315263@0%20AllEntriesVdnsRecordsReq
2025-04-09 11:39:56,135 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-12315263:1:ctest-vm2-test-28076402:10.10.10.4', 'rec_name': 'ctest-vm2-test-28076402', '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-3062-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-28076402.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-09 11:39:56,135 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-12315263:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-28076402', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-28076402', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3062-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-28076402.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-09 11:39:56,135 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-28076402", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-09 11:39:56,135 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-28076402", None, socket.AF_INET6)'
2025-04-09 11:39:56,345 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-28076402, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-09 11:39:56,345 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-28076402
2025-04-09 11:39:58,616 - DEBUG - PING ctest-vm2-test-28076402 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=7.158 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.593 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=1.070 ms
--- ctest-vm2-test-28076402 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.070/3.273/7.158 ms
2025-04-09 11:39:58,616 - INFO - Ping to IP ctest-vm2-test-28076402 from VM ctest-vm1-test-39318323 passed
2025-04-09 11:39:58,616 - INFO - Try deleting the VDNS entry ctest-vdns1-12315263 with back ref of ipam.
2025-04-09 11:39:58,676 - DEBUG - Delete when resource still referred: ['http://10.0.0.38:8082/network-ipam/c27ee3c5-da31-429a-accf-dca3df368038']
2025-04-09 11:39:58,677 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-09 11:39:58,677 - INFO - Add CNAME VDNS record for ctest-vm1-test-39318323 and verify we able to ping by alias name
2025-04-09 11:39:58,728 - DEBUG - Creating VDNS record data : test-rec
2025-04-09 11:39:58,849 - INFO - In verify_on_setup
2025-04-09 11:39:58,944 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-12315263', 'test-rec'] created succesfully
2025-04-09 11:39:58,945 - INFO - Verify VDNS record is shown in the API server
2025-04-09 11:39:58,945 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-04-09 11:39:58,953 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a0e2c731-5fae-4fc9-867a-34a900af99d2
2025-04-09 11:39:58,973 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/9b26b7de-00e1-4c23-8e31-2dd069312ad2
2025-04-09 11:39:58,987 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/37ab85fb-468f-49fe-b577-fe6a99720e0b
2025-04-09 11:39:59,000 - INFO - Verify VDNS record is shown in the control node
2025-04-09 11:39:59,011 - 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-04-09 11:39:59,011 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-09 11:39:59,222 - 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-04-09 11:39:59,222 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-09 11:39:59,479 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-09 11:39:59,479 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-39318323 failed
2025-04-09 11:40:00,480 - 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-04-09 11:40:00,481 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-09 11:40:00,713 - 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-04-09 11:40:00,714 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-09 11:40:01,013 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-09 11:40:01,013 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-39318323 failed
2025-04-09 11:40:02,014 - 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-04-09 11:40:02,014 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-09 11:40:02,214 - 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-04-09 11:40:02,215 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-09 11:40:04,494 - 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.506 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.657 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.397 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.397/0.520/0.657 ms
2025-04-09 11:40:04,494 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-39318323 passed
2025-04-09 11:40:04,495 - DEBUG - Deleting VDNS record data: test-rec
2025-04-09 11:40:04,568 - INFO - VDNS record info: default-domain:ctest-vdns1-12315263:test-rec deleted successfully.
2025-04-09 11:40:04,569 - INFO - Deleting VM ctest-vm2-test-28076402
2025-04-09 11:40:04,668 - INFO - Deleting VM ctest-vm1-test-39318323
2025-04-09 11:40:04,771 - INFO - Deleting VN ctest-vn1-vdns-49275588
2025-04-09 11:40:04,816 - DEBUG - VN bb7cb60e-88aa-4e1f-a8c5-f91a81deefed still in use: Unable to complete operation on network bb7cb60e-88aa-4e1f-a8c5-f91a81deefed. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e256bea8-6c01-4c73-aada-fae31c59af99']
2025-04-09 11:40:04,816 - WARNING - Deleting VN ctest-vn1-vdns-49275588 failed..Will retry
2025-04-09 11:40:07,053 - DEBUG - Response for deleting network ()
2025-04-09 11:40:07,111 - DEBUG - Deleting VDNS Entry: ctest-vdns1-12315263
2025-04-09 11:40:07,212 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-12315263'] deleted successfully.
2025-04-09 11:40:07,213 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-04-09 11:40:07,222 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a0e2c731-5fae-4fc9-867a-34a900af99d2
2025-04-09 11:40:07,253 - DEBUG - VDNS information not found in API server
2025-04-09 11:40:07,253 - INFO - VDNS information ctest-vdns1-12315263 removed from the API Server
2025-04-09 11:40:07,261 - INFO - VDNS information ctest-vdns1-12315263 removed in the Control node
2025-04-09 11:40:07,261 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-04779365']
2025-04-09 11:40:07,530 - DEBUG - No XMPP flaps were noticed during the test
2025-04-09 11:40:07,531 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:51]
2025-04-09 11:40:07,532 - INFO - --------------------------------------------------------------------------------
2025-04-09 11:40:08,259 - INFO - Deleted project: ctest-TestvDNSBasic0-04779365, ID : d9e52bf6-587c-461a-95b8-c5263f54d17c