is in ACTIVE state now
2025-04-23 14:29:45,628 - INFO - VM name : ctest-vm2-test-40931341
2025-04-23 14:29:45,715 - DEBUG - VM ctest-vm2-test-40931341 ID is cbf2ce89-539d-4032-97bd-b949eac25432
2025-04-23 14:29:45,715 - DEBUG - VM ctest-vm2-test-40931341 launched on Node cn-jenkins-deploy-platform-ansible-os-3186-1
2025-04-23 14:29:45,802 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/cbf2ce89-539d-4032-97bd-b949eac25432
2025-04-23 14:29:45,811 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/c727eec3-9eb8-4f7d-84e4-ab346ca71fb6
2025-04-23 14:29:49,060 - 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 1009ms')
2025-04-23 14:29:49,060 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-40931341 failed!
2025-04-23 14:29:49,115 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54995362:ctest-vn1-vdns-81414000 is 10.10.10.1 and allocation pool is NOT set
2025-04-23 14:29:51,173 - 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=11.1 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.83 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 = 1.827/6.442/11.058/4.615 ms')
2025-04-23 14:29:51,173 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-40931341 passed
2025-04-23 14:29:51,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-23 14:29:51,327 - DEBUG - Waiting to SSH to VM ctest-vm2-test-40931341, IP 10.10.10.4, Port 22
2025-04-23 14:29:51,383 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-04-23 14:29:51,462 - DEBUG - VM ctest-vm2-test-40931341 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-23 14:29:56,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-23 14:29:56,463 - DEBUG - Waiting to SSH to VM ctest-vm2-test-40931341, IP 10.10.10.4, Port 22
2025-04-23 14:29:56,626 - DEBUG - VM ctest-vm2-test-40931341 is ready for SSH connections
2025-04-23 14:29:56,626 - 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.129, gateway password: c0ntrail123
2025-04-23 14:29:56,626 - DEBUG - ifconfig | grep 10.10.10.4
2025-04-23 14:29:57,266 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-23 14:29:57,266 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-40931341", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-04-23 14:29:57,266 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-40931341", None, socket.AF_INET6)'
2025-04-23 14:29:57,523 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-40931341, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-04-23 14:29:57,523 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-40931341
2025-04-23 14:29:59,806 - DEBUG - PING ctest-vm2-test-40931341 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.977 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.332 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.436 ms
--- ctest-vm2-test-40931341 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.332/1.581/3.977 ms
2025-04-23 14:29:59,806 - INFO - Ping to IP ctest-vm2-test-40931341 from VM ctest-vm2-test-40931341 passed
2025-04-23 14:29:59,819 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-04-23 14:29:59,826 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=default-domain:ctest-vdns1-96108720@0%20AllEntriesVdnsRecordsReq
2025-04-23 14:29:59,832 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-96108720:1:ctest-vm2-test-40931341:10.10.10.4', 'rec_name': 'ctest-vm2-test-40931341', '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-3186-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-40931341.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-04-23 14:29:59,832 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-96108720:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-40931341', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-40931341', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-3186-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-40931341.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-23 14:29:59,832 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-40931341", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-04-23 14:29:59,832 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-40931341", None, socket.AF_INET6)'
2025-04-23 14:30:00,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-40931341, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-04-23 14:30:00,038 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-40931341
2025-04-23 14:30:02,312 - DEBUG - PING ctest-vm2-test-40931341 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=5.566 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.825 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.842 ms
--- ctest-vm2-test-40931341 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.825/2.411/5.566 ms
2025-04-23 14:30:02,312 - INFO - Ping to IP ctest-vm2-test-40931341 from VM ctest-vm1-test-51587677 passed
2025-04-23 14:30:02,312 - INFO - Try deleting the VDNS entry ctest-vdns1-96108720 with back ref of ipam.
2025-04-23 14:30:02,367 - DEBUG - Delete when resource still referred: ['http://10.0.0.129:8082/network-ipam/1b2ee9a7-d906-4035-a5c2-209517b3afe3']
2025-04-23 14:30:02,367 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-04-23 14:30:02,367 - INFO - Add CNAME VDNS record for ctest-vm1-test-51587677 and verify we able to ping by alias name
2025-04-23 14:30:02,415 - DEBUG - Creating VDNS record data : test-rec
2025-04-23 14:30:02,523 - INFO - In verify_on_setup
2025-04-23 14:30:02,623 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-96108720', 'test-rec'] created succesfully
2025-04-23 14:30:02,623 - INFO - Verify VDNS record is shown in the API server
2025-04-23 14:30:02,623 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2025-04-23 14:30:02,629 - DEBUG - Requesting: http://10.0.0.129:8082/domain/3c22983a-2c52-442d-91bd-4568a5e1a5e4
2025-04-23 14:30:02,643 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-DNS/98ce4e7b-2cd2-4d0a-aff5-20c898edee7d
2025-04-23 14:30:02,651 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-DNS-record/42bcfca3-1041-4a8a-9491-95b9f7789766
2025-04-23 14:30:02,658 - INFO - Verify VDNS record is shown in the control node
2025-04-23 14:30:02,665 - 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.129, gateway password: c0ntrail123
2025-04-23 14:30:02,665 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-23 14:30:02,859 - 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.129, gateway password: c0ntrail123
2025-04-23 14:30:02,860 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-23 14:30:03,127 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-23 14:30:03,127 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-51587677 failed
2025-04-23 14:30:04,127 - 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.129, gateway password: c0ntrail123
2025-04-23 14:30:04,128 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-23 14:30:04,327 - 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.129, gateway password: c0ntrail123
2025-04-23 14:30:04,327 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-23 14:30:04,610 - DEBUG - ping: bad address 'vm1-test-alias'
2025-04-23 14:30:04,610 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-51587677 failed
2025-04-23 14:30:05,610 - 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.129, gateway password: c0ntrail123
2025-04-23 14:30:05,610 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-04-23 14:30:05,806 - 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.129, gateway password: c0ntrail123
2025-04-23 14:30:05,806 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-04-23 14:30:08,080 - 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.384 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.399 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.322 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.322/0.368/0.399 ms
2025-04-23 14:30:08,080 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-51587677 passed
2025-04-23 14:30:08,080 - DEBUG - Deleting VDNS record data: test-rec
2025-04-23 14:30:08,151 - INFO - VDNS record info: default-domain:ctest-vdns1-96108720:test-rec deleted successfully.
2025-04-23 14:30:08,151 - INFO - Deleting VM ctest-vm2-test-40931341
2025-04-23 14:30:08,222 - INFO - Deleting VM ctest-vm1-test-51587677
2025-04-23 14:30:08,290 - INFO - Deleting VN ctest-vn1-vdns-81414000
2025-04-23 14:30:08,327 - DEBUG - VN 61dc5b62-401b-43c4-b53e-377365dcb410 still in use: Unable to complete operation on network 61dc5b62-401b-43c4-b53e-377365dcb410. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9ef40f85-8836-4a81-a70c-45b3b78da4d2']
2025-04-23 14:30:08,327 - WARNING - Deleting VN ctest-vn1-vdns-81414000 failed..Will retry
2025-04-23 14:30:10,500 - DEBUG - Response for deleting network ()
2025-04-23 14:30:10,533 - DEBUG - Deleting VDNS Entry: ctest-vdns1-96108720
2025-04-23 14:30:10,607 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-96108720'] deleted successfully.
2025-04-23 14:30:10,607 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2025-04-23 14:30:10,613 - DEBUG - Requesting: http://10.0.0.129:8082/domain/3c22983a-2c52-442d-91bd-4568a5e1a5e4
2025-04-23 14:30:10,627 - DEBUG - VDNS information not found in API server
2025-04-23 14:30:10,627 - INFO - VDNS information ctest-vdns1-96108720 removed from the API Server
2025-04-23 14:30:10,634 - INFO - VDNS information ctest-vdns1-96108720 removed in the Control node
2025-04-23 14:30:10,634 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-54995362']
2025-04-23 14:30:10,889 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 14:30:10,889 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:58]
2025-04-23 14:30:10,889 - INFO - --------------------------------------------------------------------------------
2025-04-23 14:30:11,635 - INFO - Deleted project: ctest-TestvDNSBasic0-54995362, ID : 09210135-479a-421a-bd62-5def6eee244a