2026-08-24 02:26:41,571 - INFO - Domain Default found not creating 2026-08-24 02:26:41,730 - INFO - Project ctest-TestRoutersBasic-05164027 not found, creating it 2026-08-24 02:26:42,191 - INFO - Created Project:ctest-TestRoutersBasic-05164027, ID : 71d3d7b6-3743-453e-b3b7-9b398b3d5c15 2026-08-24 02:26:43,822 - INFO - ================================================================================ 2026-08-24 02:26:43,822 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-24 02:26:43,822 - 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-08-24 02:26:44,083 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-08-24 02:26:44,083 - INFO - Initial checks done. Running the testcase now 2026-08-24 02:26:44,083 - INFO - 2026-08-24 02:26:44,864 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05164027 2026-08-24 02:26:44,962 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05164027 2026-08-24 02:26:45,289 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05164027', 'default']} 2026-08-24 02:26:45,575 - DEBUG - Response for create_network : {'network': {'id': '58df01a5-5920-4f00-99ba-b04defc6c86e', 'name': 'ctest-vn-45047250', 'tenant_id': '71d3d7b63743453eb3b79b398b3d5c15', 'project_id': '71d3d7b63743453eb3b79b398b3d5c15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05164027', 'ctest-vn-45047250'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-08-24 02:26:45,745 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4ac939e-3bfc-4734-9ad5-7ab8866b89db', 'name': '', 'tenant_id': '71d3d7b63743453eb3b79b398b3d5c15', 'network_id': '58df01a5-5920-4f00-99ba-b04defc6c86e', 'ip_version': 4, 'cidr': '220.172.92.0/26', 'allocation_pools': [{'start': '220.172.92.2', 'end': '220.172.92.62'}], 'gateway_ip': '220.172.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-24T02:26:45.689145', 'updated_at': '2026-08-24T02:26:45.689145', 'dns_server_address': '220.172.92.2', 'tags': [], 'project_id': '71d3d7b63743453eb3b79b398b3d5c15'}} 2026-08-24 02:26:45,763 - INFO - Created VN ctest-vn-45047250 2026-08-24 02:26:45,813 - DEBUG - VN ctest-vn-45047250 UUID is 58df01a5-5920-4f00-99ba-b04defc6c86e 2026-08-24 02:26:46,143 - DEBUG - Response for create_network : {'network': {'id': 'f667dac9-fb5e-4c83-bc36-c740dfa97cc1', 'name': 'ctest-ext_vn-35676883', 'tenant_id': '71d3d7b63743453eb3b79b398b3d5c15', 'project_id': '71d3d7b63743453eb3b79b398b3d5c15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05164027', 'ctest-ext_vn-35676883'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-08-24 02:26:46,295 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c760fa6d-3f3b-4056-9b88-1aedd8f833c3', 'name': '', 'tenant_id': '71d3d7b63743453eb3b79b398b3d5c15', 'network_id': 'f667dac9-fb5e-4c83-bc36-c740dfa97cc1', 'ip_version': 4, 'cidr': '54.111.0.0/26', 'allocation_pools': [{'start': '54.111.0.2', 'end': '54.111.0.62'}], 'gateway_ip': '54.111.0.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-24T02:26:46.244235', 'updated_at': '2026-08-24T02:26:46.244235', 'dns_server_address': '54.111.0.2', 'tags': [], 'project_id': '71d3d7b63743453eb3b79b398b3d5c15'}} 2026-08-24 02:26:46,312 - INFO - Created VN ctest-ext_vn-35676883 2026-08-24 02:26:46,365 - DEBUG - VN ctest-ext_vn-35676883 UUID is f667dac9-fb5e-4c83-bc36-c740dfa97cc1 2026-08-24 02:26:46,573 - DEBUG - Services list from nova: [, , ] 2026-08-24 02:26:46,892 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6210-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6210-1) 2026-08-24 02:26:47,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6210-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6210-1) 2026-08-24 02:26:47,329 - INFO - Setting gateway for router 247538d2-cecc-411e-a0af-dcbd1e9176ca to network f667dac9-fb5e-4c83-bc36-c740dfa97cc1 2026-08-24 02:26:47,391 - INFO - Adding interface with subnet_id f4ac939e-3bfc-4734-9ad5-7ab8866b89db, port_id None to router 247538d2-cecc-411e-a0af-dcbd1e9176ca 2026-08-24 02:26:47,666 - INFO - Waiting for VM ctest-TestRoutersBasic-05164027-14774548 to be up.. 2026-08-24 02:26:47,721 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:26:52,810 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:26:57,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:27:02,968 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:27:08,043 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:27:13,122 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:27:18,207 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:27:23,350 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:27:28,427 - DEBUG - VM is in ACTIVE state now 2026-08-24 02:27:28,427 - INFO - VM name : ctest-TestRoutersBasic-05164027-14774548 2026-08-24 02:27:28,503 - DEBUG - VM ctest-TestRoutersBasic-05164027-14774548 ID is c9ae2ac7-3f88-4bc3-b262-638c7f2e726a 2026-08-24 02:27:28,534 - DEBUG - VM ctest-TestRoutersBasic-05164027-14774548 launched on Node cn-jenkins-deploy-platform-ansible-os-6210-1 2026-08-24 02:27:28,615 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c9ae2ac7-3f88-4bc3-b262-638c7f2e726a 2026-08-24 02:27:28,955 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c9ae2ac7-3f88-4bc3-b262-638c7f2e726a 2026-08-24 02:27:28,988 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3040c75f-7b24-4498-8e9b-0bc20d7fa587 2026-08-24 02:27:32,238 - 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=2 ttl=63 time=3.04 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 3.039/3.039/3.039/0.000 ms') 2026-08-24 02:27:32,239 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-05164027-14774548 passed 2026-08-24 02:27:32,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 02:27:32,394 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05164027-14774548, IP 220.172.92.3, Port 22 2026-08-24 02:27:32,559 - DEBUG - VM ctest-TestRoutersBasic-05164027-14774548 is ready for SSH connections 2026-08-24 02:27:32,559 - INFO - Waiting for VM ctest-TestRoutersBasic-05164027-28925683 to be up.. 2026-08-24 02:27:32,632 - DEBUG - VM is in ACTIVE state now 2026-08-24 02:27:32,632 - INFO - VM name : ctest-TestRoutersBasic-05164027-28925683 2026-08-24 02:27:32,700 - DEBUG - VM ctest-TestRoutersBasic-05164027-28925683 ID is f35bd7f8-d587-4e84-a1c6-784c2d03bd17 2026-08-24 02:27:32,701 - DEBUG - VM ctest-TestRoutersBasic-05164027-28925683 launched on Node cn-jenkins-deploy-platform-ansible-os-6210-1 2026-08-24 02:27:32,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f35bd7f8-d587-4e84-a1c6-784c2d03bd17 2026-08-24 02:27:32,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7adc6874-94a2-456f-9b74-2bf70574b7fe 2026-08-24 02:27:34,043 - 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=5.44 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.30 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 = 1.300/3.370/5.441/2.070 ms') 2026-08-24 02:27:34,043 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-05164027-28925683 passed 2026-08-24 02:27:34,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 02:27:34,190 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05164027-28925683, IP 54.111.0.4, Port 22 2026-08-24 02:27:34,246 - 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-08-24 02:27:34,324 - DEBUG - VM ctest-TestRoutersBasic-05164027-28925683 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-24 02:27:39,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 02:27:39,324 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05164027-28925683, IP 54.111.0.4, Port 22 2026-08-24 02:27:39,491 - DEBUG - VM ctest-TestRoutersBasic-05164027-28925683 is ready for SSH connections 2026-08-24 02:27:39,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 02:27:39,492 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.111.0.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-24 02:27:39,492 - DEBUG - ping -s 56 -c 3 -W 1 54.111.0.4 2026-08-24 02:27:42,477 - DEBUG - PING 54.111.0.4 (54.111.0.4): 56 data bytes 64 bytes from 54.111.0.4: seq=0 ttl=62 time=6.225 ms 64 bytes from 54.111.0.4: seq=1 ttl=62 time=1.146 ms 64 bytes from 54.111.0.4: seq=2 ttl=62 time=1.163 ms --- 54.111.0.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.146/2.844/6.225 ms 2026-08-24 02:27:42,477 - INFO - Ping to IP 54.111.0.4 from VM ctest-TestRoutersBasic-05164027-14774548 passed 2026-08-24 02:27:42,477 - INFO - Deleting interface with subnet_id f4ac939e-3bfc-4734-9ad5-7ab8866b89db, port_id None from router 247538d2-cecc-411e-a0af-dcbd1e9176ca 2026-08-24 02:27:42,676 - INFO - Deleting VM ctest-TestRoutersBasic-05164027-28925683 2026-08-24 02:27:42,743 - INFO - Deleting VM ctest-TestRoutersBasic-05164027-14774548 2026-08-24 02:27:42,815 - INFO - Deleting VN ctest-ext_vn-35676883 2026-08-24 02:27:42,880 - DEBUG - VN f667dac9-fb5e-4c83-bc36-c740dfa97cc1 still in use: Unable to complete operation on network f667dac9-fb5e-4c83-bc36-c740dfa97cc1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3dee1510-b5eb-4761-a42f-a7a0215670e4'] 2026-08-24 02:27:42,880 - WARNING - Deleting VN ctest-ext_vn-35676883 failed..Will retry 2026-08-24 02:27:44,926 - DEBUG - VN f667dac9-fb5e-4c83-bc36-c740dfa97cc1 still in use: Unable to complete operation on network f667dac9-fb5e-4c83-bc36-c740dfa97cc1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46c0d1bb-a68d-4f7c-92d9-535448db0420'] 2026-08-24 02:27:44,926 - WARNING - Deleting VN ctest-ext_vn-35676883 failed..Will retry 2026-08-24 02:27:47,034 - DEBUG - Response for deleting network () 2026-08-24 02:27:47,035 - INFO - Deleting VN ctest-vn-45047250 2026-08-24 02:27:47,146 - DEBUG - Response for deleting network () 2026-08-24 02:27:47,404 - DEBUG - No XMPP flaps were noticed during the test
2026-08-24 02:27:47,404 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04]
2026-08-24 02:27:47,405 - INFO - -------------------------------------------------------------------------------- 2026-08-24 02:27:48,148 - INFO - Deleted project: ctest-TestRoutersBasic-05164027, ID : 71d3d7b6-3743-453e-b3b7-9b398b3d5c15