2026-11-17 20:08:01,697 - INFO - Domain Default found not creating 2026-11-17 20:08:01,898 - INFO - Project ctest-TestRoutersBasic-29339663 not found, creating it 2026-11-17 20:08:02,362 - INFO - Created Project:ctest-TestRoutersBasic-29339663, ID : 7fc9b11c-3048-4344-90e0-d882d32594d1 2026-11-17 20:08:04,296 - INFO - ================================================================================ 2026-11-17 20:08:04,296 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-17 20:08:04,296 - 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-11-17 20:08:04,549 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-11-17 20:08:04,549 - INFO - Initial checks done. Running the testcase now 2026-11-17 20:08:04,549 - INFO - 2026-11-17 20:08:05,380 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29339663 2026-11-17 20:08:05,476 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29339663 2026-11-17 20:08:05,800 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29339663', 'default']} 2026-11-17 20:08:06,132 - DEBUG - Response for create_network : {'network': {'id': '628fb0b0-c63b-4723-9b84-3381b48e8866', 'name': 'ctest-vn-17629439', 'tenant_id': '7fc9b11c3048434490e0d882d32594d1', 'project_id': '7fc9b11c3048434490e0d882d32594d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29339663', 'ctest-vn-17629439'], 'port_security_enabled': True, 'description': ''}} 2026-11-17 20:08:06,349 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbe7203c-b122-4c72-a2f2-81be48f46bd7', 'name': '', 'tenant_id': '7fc9b11c3048434490e0d882d32594d1', 'network_id': '628fb0b0-c63b-4723-9b84-3381b48e8866', 'ip_version': 4, 'cidr': '77.213.70.0/26', 'allocation_pools': [{'start': '77.213.70.2', 'end': '77.213.70.62'}], 'gateway_ip': '77.213.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.213.70.2', 'tags': [], 'project_id': '7fc9b11c3048434490e0d882d32594d1'}} 2026-11-17 20:08:06,369 - INFO - Created VN ctest-vn-17629439 2026-11-17 20:08:06,420 - DEBUG - VN ctest-vn-17629439 UUID is 628fb0b0-c63b-4723-9b84-3381b48e8866 2026-11-17 20:08:06,772 - DEBUG - Response for create_network : {'network': {'id': 'c46f2590-cf71-4feb-84ca-5e35f09a4e84', 'name': 'ctest-ext_vn-15210132', 'tenant_id': '7fc9b11c3048434490e0d882d32594d1', 'project_id': '7fc9b11c3048434490e0d882d32594d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29339663', 'ctest-ext_vn-15210132'], 'port_security_enabled': True, 'description': ''}} 2026-11-17 20:08:06,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '49b49f03-2364-4bee-a18b-a2271ba07ab1', 'name': '', 'tenant_id': '7fc9b11c3048434490e0d882d32594d1', 'network_id': 'c46f2590-cf71-4feb-84ca-5e35f09a4e84', 'ip_version': 4, 'cidr': '50.90.123.192/26', 'allocation_pools': [{'start': '50.90.123.194', 'end': '50.90.123.254'}], 'gateway_ip': '50.90.123.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.90.123.194', 'tags': [], 'project_id': '7fc9b11c3048434490e0d882d32594d1'}} 2026-11-17 20:08:06,981 - INFO - Created VN ctest-ext_vn-15210132 2026-11-17 20:08:07,032 - DEBUG - VN ctest-ext_vn-15210132 UUID is c46f2590-cf71-4feb-84ca-5e35f09a4e84 2026-11-17 20:08:07,253 - DEBUG - Services list from nova: [, , ] 2026-11-17 20:08:07,604 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6509-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6509-1) 2026-11-17 20:08:07,981 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6509-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6509-1) 2026-11-17 20:08:08,081 - INFO - Setting gateway for router bf2f2a16-9582-469c-931e-39a31eafdaea to network c46f2590-cf71-4feb-84ca-5e35f09a4e84 2026-11-17 20:08:08,151 - INFO - Adding interface with subnet_id bbe7203c-b122-4c72-a2f2-81be48f46bd7, port_id None to router bf2f2a16-9582-469c-931e-39a31eafdaea 2026-11-17 20:08:08,362 - INFO - Waiting for VM ctest-TestRoutersBasic-29339663-82749692 to be up.. 2026-11-17 20:08:08,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-17 20:08:13,504 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-17 20:08:18,588 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-17 20:08:23,664 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-17 20:08:28,746 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-17 20:08:33,826 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-17 20:08:38,903 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-17 20:08:44,046 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-17 20:08:49,122 - DEBUG - VM is in ACTIVE state now 2026-11-17 20:08:49,122 - INFO - VM name : ctest-TestRoutersBasic-29339663-82749692 2026-11-17 20:08:49,202 - DEBUG - VM ctest-TestRoutersBasic-29339663-82749692 ID is 9c4e5776-deea-48dc-91b7-7b6d46b0c62a 2026-11-17 20:08:49,222 - DEBUG - VM ctest-TestRoutersBasic-29339663-82749692 launched on Node cn-jenkins-deploy-platform-ansible-os-6509-1 2026-11-17 20:08:49,301 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/9c4e5776-deea-48dc-91b7-7b6d46b0c62a 2026-11-17 20:08:49,640 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/9c4e5776-deea-48dc-91b7-7b6d46b0c62a 2026-11-17 20:08:49,670 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/6bb426c7-2d72-4527-b0ef-f16fa6f40f78 2026-11-17 20:08:50,907 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=3.12 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.524 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.524/1.819/3.115/1.295 ms') 2026-11-17 20:08:50,907 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-29339663-82749692 passed 2026-11-17 20:08:51,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-17 20:08:51,056 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29339663-82749692, IP 77.213.70.3, Port 22 2026-11-17 20:08:51,122 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-17 20:08:51,201 - DEBUG - VM ctest-TestRoutersBasic-29339663-82749692 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-17 20:08:56,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-17 20:08:56,202 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29339663-82749692, IP 77.213.70.3, Port 22 2026-11-17 20:08:56,370 - DEBUG - VM ctest-TestRoutersBasic-29339663-82749692 is ready for SSH connections 2026-11-17 20:08:56,370 - INFO - Waiting for VM ctest-TestRoutersBasic-29339663-28656596 to be up.. 2026-11-17 20:08:56,448 - DEBUG - VM is in ACTIVE state now 2026-11-17 20:08:56,448 - INFO - VM name : ctest-TestRoutersBasic-29339663-28656596 2026-11-17 20:08:56,519 - DEBUG - VM ctest-TestRoutersBasic-29339663-28656596 ID is 90f592b3-03f2-4ec3-8e53-8669439d596a 2026-11-17 20:08:56,519 - DEBUG - VM ctest-TestRoutersBasic-29339663-28656596 launched on Node cn-jenkins-deploy-platform-ansible-os-6509-1 2026-11-17 20:08:56,666 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/90f592b3-03f2-4ec3-8e53-8669439d596a 2026-11-17 20:08:56,674 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/a68b9c36-8206-424a-acd3-feaaf0207818 2026-11-17 20:08:57,922 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=3.32 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.406 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.406/1.863/3.320/1.457 ms') 2026-11-17 20:08:57,922 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-29339663-28656596 passed 2026-11-17 20:08:58,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-17 20:08:58,080 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29339663-28656596, IP 50.90.123.196, Port 22 2026-11-17 20:08:58,235 - DEBUG - VM ctest-TestRoutersBasic-29339663-28656596 is ready for SSH connections 2026-11-17 20:08:58,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-17 20:08:58,236 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.90.123.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-17 20:08:58,236 - DEBUG - ping -s 56 -c 3 -W 1 50.90.123.196 2026-11-17 20:09:01,148 - DEBUG - PING 50.90.123.196 (50.90.123.196): 56 data bytes 64 bytes from 50.90.123.196: seq=0 ttl=62 time=8.420 ms 64 bytes from 50.90.123.196: seq=1 ttl=62 time=1.292 ms 64 bytes from 50.90.123.196: seq=2 ttl=62 time=1.001 ms --- 50.90.123.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.001/3.571/8.420 ms 2026-11-17 20:09:01,148 - INFO - Ping to IP 50.90.123.196 from VM ctest-TestRoutersBasic-29339663-82749692 passed 2026-11-17 20:09:01,148 - INFO - Deleting interface with subnet_id bbe7203c-b122-4c72-a2f2-81be48f46bd7, port_id None from router bf2f2a16-9582-469c-931e-39a31eafdaea 2026-11-17 20:09:01,343 - INFO - Deleting VM ctest-TestRoutersBasic-29339663-28656596 2026-11-17 20:09:01,421 - INFO - Deleting VM ctest-TestRoutersBasic-29339663-82749692 2026-11-17 20:09:01,501 - INFO - Deleting VN ctest-ext_vn-15210132 2026-11-17 20:09:01,564 - DEBUG - VN c46f2590-cf71-4feb-84ca-5e35f09a4e84 still in use: Unable to complete operation on network c46f2590-cf71-4feb-84ca-5e35f09a4e84. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f1b56c01-81dd-4d44-9bd5-16cc556edf42'] 2026-11-17 20:09:01,564 - WARNING - Deleting VN ctest-ext_vn-15210132 failed..Will retry 2026-11-17 20:09:03,594 - DEBUG - VN c46f2590-cf71-4feb-84ca-5e35f09a4e84 still in use: Unable to complete operation on network c46f2590-cf71-4feb-84ca-5e35f09a4e84. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e51c2e3f-e70d-4568-a662-999aa9cae5df'] 2026-11-17 20:09:03,594 - WARNING - Deleting VN ctest-ext_vn-15210132 failed..Will retry 2026-11-17 20:09:05,696 - DEBUG - Response for deleting network () 2026-11-17 20:09:05,696 - INFO - Deleting VN ctest-vn-17629439 2026-11-17 20:09:05,807 - DEBUG - Response for deleting network () 2026-11-17 20:09:06,065 - DEBUG - No XMPP flaps were noticed during the test
2026-11-17 20:09:06,065 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:02]
2026-11-17 20:09:06,065 - INFO - -------------------------------------------------------------------------------- 2026-11-17 20:09:06,808 - INFO - Deleted project: ctest-TestRoutersBasic-29339663, ID : 7fc9b11c-3048-4344-90e0-d882d32594d1