2026-03-23 02:25:48,583 - INFO - Domain Default found not creating 2026-03-23 02:25:48,778 - INFO - Project ctest-TestRoutersBasic-04742126 not found, creating it 2026-03-23 02:25:49,317 - INFO - Created Project:ctest-TestRoutersBasic-04742126, ID : 76c31541-f76e-4586-8c75-5642256764ee 2026-03-23 02:25:51,013 - INFO - ================================================================================ 2026-03-23 02:25:51,013 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-23 02:25:51,013 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2026-03-23 02:25:52,287 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.18': '0', '10.20.0.14': '0'}, '10.0.0.65': {'10.20.0.18': '0', '10.20.0.14': '0'}} with 2026-03-23 02:25:52,287 - INFO - Initial checks done. Running the testcase now 2026-03-23 02:25:52,287 - INFO - 2026-03-23 02:25:53,078 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04742126 2026-03-23 02:25:53,137 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04742126 2026-03-23 02:25:53,451 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04742126', 'default']} 2026-03-23 02:25:53,867 - DEBUG - Response for create_network : {'network': {'id': 'c2a76a27-09cd-4840-bc07-ff752ba001d2', 'name': 'ctest-vn-59419441', 'tenant_id': '76c31541f76e45868c755642256764ee', 'project_id': '76c31541f76e45868c755642256764ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04742126', 'ctest-vn-59419441'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 02:25:54,193 - DEBUG - Response for create_subnet : {'subnet': {'id': '5acc5bf0-54e8-4a14-947e-f91ab03edb28', 'name': '', 'tenant_id': '76c31541f76e45868c755642256764ee', 'network_id': 'c2a76a27-09cd-4840-bc07-ff752ba001d2', 'ip_version': 4, 'cidr': '132.208.23.64/26', 'allocation_pools': [{'start': '132.208.23.66', 'end': '132.208.23.126'}], 'gateway_ip': '132.208.23.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.208.23.66', 'tags': [], 'project_id': '76c31541f76e45868c755642256764ee'}} 2026-03-23 02:25:54,218 - INFO - Created VN ctest-vn-59419441 2026-03-23 02:25:54,233 - DEBUG - VN ctest-vn-59419441 UUID is c2a76a27-09cd-4840-bc07-ff752ba001d2 2026-03-23 02:25:54,631 - DEBUG - Response for create_network : {'network': {'id': '0bb2565b-6768-423a-aa8f-c6f72721f9d4', 'name': 'ctest-ext_vn-68336287', 'tenant_id': '76c31541f76e45868c755642256764ee', 'project_id': '76c31541f76e45868c755642256764ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04742126', 'ctest-ext_vn-68336287'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 02:25:54,868 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d4ff328-5ff3-4910-851d-126dcf68ed97', 'name': '', 'tenant_id': '76c31541f76e45868c755642256764ee', 'network_id': '0bb2565b-6768-423a-aa8f-c6f72721f9d4', 'ip_version': 4, 'cidr': '75.37.152.0/26', 'allocation_pools': [{'start': '75.37.152.2', 'end': '75.37.152.62'}], 'gateway_ip': '75.37.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.37.152.2', 'tags': [], 'project_id': '76c31541f76e45868c755642256764ee'}} 2026-03-23 02:25:54,896 - INFO - Created VN ctest-ext_vn-68336287 2026-03-23 02:25:54,907 - DEBUG - VN ctest-ext_vn-68336287 UUID is 0bb2565b-6768-423a-aa8f-c6f72721f9d4 2026-03-23 02:25:55,041 - DEBUG - Services list from nova: [, , , ] 2026-03-23 02:25:56,223 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5514-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5514-2) 2026-03-23 02:25:57,577 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5514-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5514-1) 2026-03-23 02:25:57,691 - INFO - Setting gateway for router 0f78874c-d193-4afd-8525-006fcab39d55 to network 0bb2565b-6768-423a-aa8f-c6f72721f9d4 2026-03-23 02:25:57,781 - INFO - Adding interface with subnet_id 5acc5bf0-54e8-4a14-947e-f91ab03edb28, port_id None to router 0f78874c-d193-4afd-8525-006fcab39d55 2026-03-23 02:25:58,349 - INFO - Waiting for VM ctest-TestRoutersBasic-04742126-58927694 to be up.. 2026-03-23 02:25:58,518 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-23 02:26:03,616 - DEBUG - VM is in ACTIVE state now 2026-03-23 02:26:03,616 - INFO - VM name : ctest-TestRoutersBasic-04742126-58927694 2026-03-23 02:26:03,708 - DEBUG - VM ctest-TestRoutersBasic-04742126-58927694 ID is 68c657a9-f746-4e2f-b7d0-6ff4d50ff36b 2026-03-23 02:26:03,749 - DEBUG - VM ctest-TestRoutersBasic-04742126-58927694 launched on Node an-jenkins-deploy-platform-ansible-os-5514-2 2026-03-23 02:26:03,855 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/68c657a9-f746-4e2f-b7d0-6ff4d50ff36b 2026-03-23 02:26:04,179 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/68c657a9-f746-4e2f-b7d0-6ff4d50ff36b 2026-03-23 02:26:04,241 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/3db3dc72-121f-4b79-928d-9503b84b6b05 2026-03-23 02:26:07,435 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-03-23 02:26:07,435 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04742126-58927694 failed! 2026-03-23 02:26:07,449 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04742126:ctest-vn-59419441 is 132.208.23.65 and allocation pool is NOT set 2026-03-23 02:26:09,515 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.12 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.116/3.581/5.046/1.465 ms') 2026-03-23 02:26:09,516 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04742126-58927694 passed 2026-03-23 02:26:09,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 02:26:09,584 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04742126-58927694, IP 132.208.23.67, Port 22 2026-03-23 02:26:09,652 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-23 02:26:09,749 - DEBUG - VM ctest-TestRoutersBasic-04742126-58927694 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-23 02:26:14,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 02:26:14,749 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04742126-58927694, IP 132.208.23.67, Port 22 2026-03-23 02:26:14,916 - DEBUG - VM ctest-TestRoutersBasic-04742126-58927694 is ready for SSH connections 2026-03-23 02:26:14,917 - INFO - Waiting for VM ctest-TestRoutersBasic-04742126-50346410 to be up.. 2026-03-23 02:26:15,009 - DEBUG - VM is in ACTIVE state now 2026-03-23 02:26:15,009 - INFO - VM name : ctest-TestRoutersBasic-04742126-50346410 2026-03-23 02:26:15,100 - DEBUG - VM ctest-TestRoutersBasic-04742126-50346410 ID is b946ee98-7abd-4399-94b1-94eb9a92f782 2026-03-23 02:26:15,100 - DEBUG - VM ctest-TestRoutersBasic-04742126-50346410 launched on Node an-jenkins-deploy-platform-ansible-os-5514-1 2026-03-23 02:26:15,189 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b946ee98-7abd-4399-94b1-94eb9a92f782 2026-03-23 02:26:15,200 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b25fa02d-0653-49de-90ef-4b3ab58b4b1a 2026-03-23 02:26:16,383 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.233/3.014/4.795/1.781 ms') 2026-03-23 02:26:16,383 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04742126-50346410 passed 2026-03-23 02:26:16,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 02:26:16,451 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04742126-50346410, IP 75.37.152.3, Port 22 2026-03-23 02:26:16,519 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-23 02:26:16,622 - DEBUG - VM ctest-TestRoutersBasic-04742126-50346410 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-23 02:26:21,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 02:26:21,622 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04742126-50346410, IP 75.37.152.3, Port 22 2026-03-23 02:26:21,794 - DEBUG - VM ctest-TestRoutersBasic-04742126-50346410 is ready for SSH connections 2026-03-23 02:26:21,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 02:26:21,795 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.37.152.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-03-23 02:26:21,795 - DEBUG - ping -s 56 -c 3 -W 1 75.37.152.3 2026-03-23 02:26:25,495 - DEBUG - PING 75.37.152.3 (75.37.152.3): 56 data bytes 64 bytes from 75.37.152.3: seq=0 ttl=62 time=10.885 ms 64 bytes from 75.37.152.3: seq=1 ttl=62 time=1.201 ms 64 bytes from 75.37.152.3: seq=2 ttl=62 time=1.547 ms --- 75.37.152.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.201/4.544/10.885 ms 2026-03-23 02:26:25,495 - INFO - Ping to IP 75.37.152.3 from VM ctest-TestRoutersBasic-04742126-58927694 passed 2026-03-23 02:26:25,495 - INFO - Deleting interface with subnet_id 5acc5bf0-54e8-4a14-947e-f91ab03edb28, port_id None from router 0f78874c-d193-4afd-8525-006fcab39d55 2026-03-23 02:26:25,847 - INFO - Deleting VM ctest-TestRoutersBasic-04742126-50346410 2026-03-23 02:26:25,981 - INFO - Deleting VM ctest-TestRoutersBasic-04742126-58927694 2026-03-23 02:26:26,104 - INFO - Deleting VN ctest-ext_vn-68336287 2026-03-23 02:26:26,255 - DEBUG - VN 0bb2565b-6768-423a-aa8f-c6f72721f9d4 still in use: Unable to complete operation on network 0bb2565b-6768-423a-aa8f-c6f72721f9d4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d4d390e2-bf57-4bc1-80f8-e7be92c5c859'] 2026-03-23 02:26:26,255 - WARNING - Deleting VN ctest-ext_vn-68336287 failed..Will retry 2026-03-23 02:26:28,438 - DEBUG - Response for deleting network () 2026-03-23 02:26:28,438 - INFO - Deleting VN ctest-vn-59419441 2026-03-23 02:26:28,620 - DEBUG - Response for deleting network () 2026-03-23 02:26:29,912 - DEBUG - No XMPP flaps were noticed during the test 2026-03-23 02:26:29,912 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:38] 2026-03-23 02:26:29,912 - INFO - -------------------------------------------------------------------------------- 2026-03-23 02:26:30,713 - INFO - Deleted project: ctest-TestRoutersBasic-04742126, ID : 76c31541-f76e-4586-8c75-5642256764ee