2026-07-30 14:53:33,156 - INFO - Domain Default found not creating 2026-07-30 14:53:33,421 - INFO - Project ctest-TestRoutersBasic-40397343 not found, creating it 2026-07-30 14:53:33,964 - INFO - Created Project:ctest-TestRoutersBasic-40397343, ID : 9982fd4e-f777-48bf-a5b7-cc494596b871 2026-07-30 14:53:35,762 - INFO - ================================================================================ 2026-07-30 14:53:35,762 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-30 14:53:35,762 - 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-07-30 14:53:36,031 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-30 14:53:36,031 - INFO - Initial checks done. Running the testcase now 2026-07-30 14:53:36,032 - INFO - 2026-07-30 14:53:36,941 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40397343 2026-07-30 14:53:37,043 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40397343 2026-07-30 14:53:37,375 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40397343', 'default']} 2026-07-30 14:53:37,725 - DEBUG - Response for create_network : {'network': {'id': '6dcc622e-ddc3-4098-b782-d41a68140f18', 'name': 'ctest-vn-82766022', 'tenant_id': '9982fd4ef77748bfa5b7cc494596b871', 'project_id': '9982fd4ef77748bfa5b7cc494596b871', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40397343', 'ctest-vn-82766022'], 'port_security_enabled': True, 'description': ''}} 2026-07-30 14:53:37,944 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acc565e0-21a5-49b3-9032-d06f71a4ebea', 'name': '', 'tenant_id': '9982fd4ef77748bfa5b7cc494596b871', 'network_id': '6dcc622e-ddc3-4098-b782-d41a68140f18', 'ip_version': 4, 'cidr': '197.243.250.64/26', 'allocation_pools': [{'start': '197.243.250.66', 'end': '197.243.250.126'}], 'gateway_ip': '197.243.250.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.243.250.66', 'tags': [], 'project_id': '9982fd4ef77748bfa5b7cc494596b871'}} 2026-07-30 14:53:37,964 - INFO - Created VN ctest-vn-82766022 2026-07-30 14:53:38,019 - DEBUG - VN ctest-vn-82766022 UUID is 6dcc622e-ddc3-4098-b782-d41a68140f18 2026-07-30 14:53:38,395 - DEBUG - Response for create_network : {'network': {'id': '651878d4-417c-4a78-ab44-0fb635f82ebc', 'name': 'ctest-ext_vn-28069501', 'tenant_id': '9982fd4ef77748bfa5b7cc494596b871', 'project_id': '9982fd4ef77748bfa5b7cc494596b871', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40397343', 'ctest-ext_vn-28069501'], 'port_security_enabled': True, 'description': ''}} 2026-07-30 14:53:38,597 - DEBUG - Response for create_subnet : {'subnet': {'id': '11229201-d9bb-409c-a09d-b2a34d62be3a', 'name': '', 'tenant_id': '9982fd4ef77748bfa5b7cc494596b871', 'network_id': '651878d4-417c-4a78-ab44-0fb635f82ebc', 'ip_version': 4, 'cidr': '203.195.52.0/26', 'allocation_pools': [{'start': '203.195.52.2', 'end': '203.195.52.62'}], 'gateway_ip': '203.195.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.195.52.2', 'tags': [], 'project_id': '9982fd4ef77748bfa5b7cc494596b871'}} 2026-07-30 14:53:38,618 - INFO - Created VN ctest-ext_vn-28069501 2026-07-30 14:53:38,671 - DEBUG - VN ctest-ext_vn-28069501 UUID is 651878d4-417c-4a78-ab44-0fb635f82ebc 2026-07-30 14:53:38,856 - DEBUG - Services list from nova: [, , ] 2026-07-30 14:53:39,422 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6125-1) 2026-07-30 14:53:39,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6125-1) 2026-07-30 14:53:39,919 - INFO - Setting gateway for router 2f6c97aa-8612-43b2-a668-ecfa1bc928a4 to network 651878d4-417c-4a78-ab44-0fb635f82ebc 2026-07-30 14:53:39,986 - INFO - Adding interface with subnet_id acc565e0-21a5-49b3-9032-d06f71a4ebea, port_id None to router 2f6c97aa-8612-43b2-a668-ecfa1bc928a4 2026-07-30 14:53:40,320 - INFO - Waiting for VM ctest-TestRoutersBasic-40397343-93615363 to be up.. 2026-07-30 14:53:40,400 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:53:45,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:53:50,591 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:53:55,678 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:54:00,779 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:54:05,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:54:10,970 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:54:16,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 14:54:21,151 - DEBUG - VM is in ACTIVE state now 2026-07-30 14:54:21,152 - INFO - VM name : ctest-TestRoutersBasic-40397343-93615363 2026-07-30 14:54:21,237 - DEBUG - VM ctest-TestRoutersBasic-40397343-93615363 ID is 5c884550-554b-47ca-acce-f303bd82fe54 2026-07-30 14:54:21,262 - DEBUG - VM ctest-TestRoutersBasic-40397343-93615363 launched on Node cn-jenkins-deploy-platform-ansible-os-6125-1 2026-07-30 14:54:21,357 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5c884550-554b-47ca-acce-f303bd82fe54 2026-07-30 14:54:21,731 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5c884550-554b-47ca-acce-f303bd82fe54 2026-07-30 14:54:21,768 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fa928b94-f268-4131-86ad-bad68f198ceb 2026-07-30 14:54:25,033 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2026-07-30 14:54:25,033 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-40397343-93615363 failed! 2026-07-30 14:54:25,091 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40397343:ctest-vn-82766022 is 197.243.250.65 and allocation pool is NOT set 2026-07-30 14:54:27,157 - 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=5.40 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.661 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.661/3.029/5.397/2.368 ms') 2026-07-30 14:54:27,157 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-40397343-93615363 passed 2026-07-30 14:54:27,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 14:54:27,311 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40397343-93615363, IP 197.243.250.67, Port 22 2026-07-30 14:54:27,485 - DEBUG - VM ctest-TestRoutersBasic-40397343-93615363 is ready for SSH connections 2026-07-30 14:54:27,485 - INFO - Waiting for VM ctest-TestRoutersBasic-40397343-12060664 to be up.. 2026-07-30 14:54:27,572 - DEBUG - VM is in ACTIVE state now 2026-07-30 14:54:27,572 - INFO - VM name : ctest-TestRoutersBasic-40397343-12060664 2026-07-30 14:54:27,671 - DEBUG - VM ctest-TestRoutersBasic-40397343-12060664 ID is 503a8920-6699-4d19-ae4e-b0d50b99a704 2026-07-30 14:54:27,671 - DEBUG - VM ctest-TestRoutersBasic-40397343-12060664 launched on Node cn-jenkins-deploy-platform-ansible-os-6125-1 2026-07-30 14:54:27,757 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/503a8920-6699-4d19-ae4e-b0d50b99a704 2026-07-30 14:54:27,768 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/13f0593d-587f-4c2d-8e0c-f93fd79b55ec 2026-07-30 14:54:29,032 - 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=10.8 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.45 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.450/6.623/10.796/4.173 ms') 2026-07-30 14:54:29,032 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-40397343-12060664 passed 2026-07-30 14:54:29,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 14:54:29,195 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40397343-12060664, IP 203.195.52.4, Port 22 2026-07-30 14:54:29,261 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-07-30 14:54:29,354 - DEBUG - VM ctest-TestRoutersBasic-40397343-12060664 is NOT ready for SSH connections, VM status: ACTIVE 2026-07-30 14:54:34,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 14:54:34,355 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40397343-12060664, IP 203.195.52.4, Port 22 2026-07-30 14:54:34,529 - DEBUG - VM ctest-TestRoutersBasic-40397343-12060664 is ready for SSH connections 2026-07-30 14:54:34,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 14:54:34,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.195.52.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-30 14:54:34,530 - DEBUG - ping -s 56 -c 3 -W 1 203.195.52.4 2026-07-30 14:54:37,624 - DEBUG - PING 203.195.52.4 (203.195.52.4): 56 data bytes 64 bytes from 203.195.52.4: seq=0 ttl=62 time=8.143 ms 64 bytes from 203.195.52.4: seq=1 ttl=62 time=1.131 ms 64 bytes from 203.195.52.4: seq=2 ttl=62 time=1.273 ms --- 203.195.52.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.131/3.515/8.143 ms 2026-07-30 14:54:37,624 - INFO - Ping to IP 203.195.52.4 from VM ctest-TestRoutersBasic-40397343-93615363 passed 2026-07-30 14:54:37,624 - INFO - Deleting interface with subnet_id acc565e0-21a5-49b3-9032-d06f71a4ebea, port_id None from router 2f6c97aa-8612-43b2-a668-ecfa1bc928a4 2026-07-30 14:54:37,890 - INFO - Deleting VM ctest-TestRoutersBasic-40397343-12060664 2026-07-30 14:54:37,985 - INFO - Deleting VM ctest-TestRoutersBasic-40397343-93615363 2026-07-30 14:54:38,062 - INFO - Deleting VN ctest-ext_vn-28069501 2026-07-30 14:54:38,148 - DEBUG - VN 651878d4-417c-4a78-ab44-0fb635f82ebc still in use: Unable to complete operation on network 651878d4-417c-4a78-ab44-0fb635f82ebc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-edfb3842-6b48-4c91-ad3a-8954c5ddb8f6'] 2026-07-30 14:54:38,148 - WARNING - Deleting VN ctest-ext_vn-28069501 failed..Will retry 2026-07-30 14:54:40,341 - DEBUG - Response for deleting network () 2026-07-30 14:54:40,341 - INFO - Deleting VN ctest-vn-82766022 2026-07-30 14:54:40,479 - DEBUG - Response for deleting network () 2026-07-30 14:54:40,757 - DEBUG - No XMPP flaps were noticed during the test 2026-07-30 14:54:40,757 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05] 2026-07-30 14:54:40,757 - INFO - -------------------------------------------------------------------------------- 2026-07-30 14:54:41,590 - INFO - Deleted project: ctest-TestRoutersBasic-40397343, ID : 9982fd4e-f777-48bf-a5b7-cc494596b871