2026-05-04 02:10:57,378 - INFO - Domain Default found not creating 2026-05-04 02:10:57,578 - INFO - Project ctest-TestRoutersBasic-06064937 not found, creating it 2026-05-04 02:10:58,089 - INFO - Created Project:ctest-TestRoutersBasic-06064937, ID : c13293db-346b-4c5d-b981-ff521526f618 2026-05-04 02:10:59,684 - INFO - ================================================================================ 2026-05-04 02:10:59,684 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-04 02:10:59,685 - 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-05-04 02:10:59,945 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-05-04 02:10:59,945 - INFO - Initial checks done. Running the testcase now 2026-05-04 02:10:59,945 - INFO - 2026-05-04 02:11:00,692 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06064937 2026-05-04 02:11:00,794 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06064937 2026-05-04 02:11:01,117 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06064937', 'default']} 2026-05-04 02:11:01,430 - DEBUG - Response for create_network : {'network': {'id': 'e955f3a0-560d-4601-8fe0-aaf861dfe138', 'name': 'ctest-vn-99643157', 'tenant_id': 'c13293db346b4c5db981ff521526f618', 'project_id': 'c13293db346b4c5db981ff521526f618', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06064937', 'ctest-vn-99643157'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:11:01,626 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3909c5f-a640-43eb-b5db-58875c8eaa32', 'name': '', 'tenant_id': 'c13293db346b4c5db981ff521526f618', 'network_id': 'e955f3a0-560d-4601-8fe0-aaf861dfe138', 'ip_version': 4, 'cidr': '123.204.100.0/26', 'allocation_pools': [{'start': '123.204.100.2', 'end': '123.204.100.62'}], 'gateway_ip': '123.204.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.204.100.2', 'tags': [], 'project_id': 'c13293db346b4c5db981ff521526f618'}} 2026-05-04 02:11:01,649 - INFO - Created VN ctest-vn-99643157 2026-05-04 02:11:01,702 - DEBUG - VN ctest-vn-99643157 UUID is e955f3a0-560d-4601-8fe0-aaf861dfe138 2026-05-04 02:11:02,062 - DEBUG - Response for create_network : {'network': {'id': 'df80d0d5-139d-4007-9530-2dce0a997dff', 'name': 'ctest-ext_vn-50240104', 'tenant_id': 'c13293db346b4c5db981ff521526f618', 'project_id': 'c13293db346b4c5db981ff521526f618', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06064937', 'ctest-ext_vn-50240104'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:11:02,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '460aaf30-9446-49f6-b68c-2f47ec0f1851', 'name': '', 'tenant_id': 'c13293db346b4c5db981ff521526f618', 'network_id': 'df80d0d5-139d-4007-9530-2dce0a997dff', 'ip_version': 4, 'cidr': '70.33.42.64/26', 'allocation_pools': [{'start': '70.33.42.66', 'end': '70.33.42.126'}], 'gateway_ip': '70.33.42.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.33.42.66', 'tags': [], 'project_id': 'c13293db346b4c5db981ff521526f618'}} 2026-05-04 02:11:02,249 - INFO - Created VN ctest-ext_vn-50240104 2026-05-04 02:11:02,302 - DEBUG - VN ctest-ext_vn-50240104 UUID is df80d0d5-139d-4007-9530-2dce0a997dff 2026-05-04 02:11:02,476 - DEBUG - Services list from nova: [, , ] 2026-05-04 02:11:03,572 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5737-1) 2026-05-04 02:11:04,783 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5737-1) 2026-05-04 02:11:04,865 - INFO - Setting gateway for router 4a7fec79-ffe5-45f1-8099-fe46b38b8648 to network df80d0d5-139d-4007-9530-2dce0a997dff 2026-05-04 02:11:04,927 - INFO - Adding interface with subnet_id a3909c5f-a640-43eb-b5db-58875c8eaa32, port_id None to router 4a7fec79-ffe5-45f1-8099-fe46b38b8648 2026-05-04 02:11:05,335 - INFO - Waiting for VM ctest-TestRoutersBasic-06064937-18849592 to be up.. 2026-05-04 02:11:05,506 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-04 02:11:10,593 - DEBUG - VM is in ACTIVE state now 2026-05-04 02:11:10,593 - INFO - VM name : ctest-TestRoutersBasic-06064937-18849592 2026-05-04 02:11:10,679 - DEBUG - VM ctest-TestRoutersBasic-06064937-18849592 ID is 92ddb56d-4082-48bd-8a6d-bfef24f5ff30 2026-05-04 02:11:10,698 - DEBUG - VM ctest-TestRoutersBasic-06064937-18849592 launched on Node cn-jenkins-deploy-platform-ansible-os-5737-1 2026-05-04 02:11:10,776 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/92ddb56d-4082-48bd-8a6d-bfef24f5ff30 2026-05-04 02:11:11,074 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/92ddb56d-4082-48bd-8a6d-bfef24f5ff30 2026-05-04 02:11:11,113 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/81b38e41-8439-4b8e-9f4b-96d0b59b8569 2026-05-04 02:11:14,364 - 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 1014ms') 2026-05-04 02:11:14,364 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06064937-18849592 failed! 2026-05-04 02:11:14,418 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06064937:ctest-vn-99643157 is 123.204.100.1 and allocation pool is NOT set 2026-05-04 02:11:16,480 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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.199/3.250/5.301/2.051 ms') 2026-05-04 02:11:16,480 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06064937-18849592 passed 2026-05-04 02:11:16,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:11:16,634 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06064937-18849592, IP 123.204.100.3, Port 22 2026-05-04 02:11:16,819 - DEBUG - VM ctest-TestRoutersBasic-06064937-18849592 is ready for SSH connections 2026-05-04 02:11:16,820 - INFO - Waiting for VM ctest-TestRoutersBasic-06064937-67293020 to be up.. 2026-05-04 02:11:16,912 - DEBUG - VM is in ACTIVE state now 2026-05-04 02:11:16,912 - INFO - VM name : ctest-TestRoutersBasic-06064937-67293020 2026-05-04 02:11:16,999 - DEBUG - VM ctest-TestRoutersBasic-06064937-67293020 ID is 29092aa2-d876-431f-a1e6-57f64e6e9a4e 2026-05-04 02:11:17,000 - DEBUG - VM ctest-TestRoutersBasic-06064937-67293020 launched on Node cn-jenkins-deploy-platform-ansible-os-5737-1 2026-05-04 02:11:17,105 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/29092aa2-d876-431f-a1e6-57f64e6e9a4e 2026-05-04 02:11:17,117 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8ef32f3b-3bf6-43dc-8f50-b90c38cc539a 2026-05-04 02:11:18,367 - 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=2.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.526 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.526/1.625/2.725/1.099 ms') 2026-05-04 02:11:18,368 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06064937-67293020 passed 2026-05-04 02:11:18,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:11:18,522 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06064937-67293020, IP 70.33.42.67, Port 22 2026-05-04 02:11:18,685 - DEBUG - VM ctest-TestRoutersBasic-06064937-67293020 is ready for SSH connections 2026-05-04 02:11:18,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:11:18,685 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.33.42.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-05-04 02:11:18,686 - DEBUG - ping -s 56 -c 3 -W 1 70.33.42.67 2026-05-04 02:11:22,403 - DEBUG - PING 70.33.42.67 (70.33.42.67): 56 data bytes 64 bytes from 70.33.42.67: seq=0 ttl=62 time=5.408 ms 64 bytes from 70.33.42.67: seq=1 ttl=62 time=1.430 ms 64 bytes from 70.33.42.67: seq=2 ttl=62 time=1.297 ms --- 70.33.42.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.297/2.711/5.408 ms 2026-05-04 02:11:22,403 - INFO - Ping to IP 70.33.42.67 from VM ctest-TestRoutersBasic-06064937-18849592 passed 2026-05-04 02:11:22,403 - INFO - Deleting interface with subnet_id a3909c5f-a640-43eb-b5db-58875c8eaa32, port_id None from router 4a7fec79-ffe5-45f1-8099-fe46b38b8648 2026-05-04 02:11:22,593 - INFO - Deleting VM ctest-TestRoutersBasic-06064937-67293020 2026-05-04 02:11:22,667 - INFO - Deleting VM ctest-TestRoutersBasic-06064937-18849592 2026-05-04 02:11:22,760 - INFO - Deleting VN ctest-ext_vn-50240104 2026-05-04 02:11:22,820 - DEBUG - VN df80d0d5-139d-4007-9530-2dce0a997dff still in use: Unable to complete operation on network df80d0d5-139d-4007-9530-2dce0a997dff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5e381f72-65d4-499b-b4ad-4f108a61ea39'] 2026-05-04 02:11:22,821 - WARNING - Deleting VN ctest-ext_vn-50240104 failed..Will retry 2026-05-04 02:11:24,931 - DEBUG - Response for deleting network () 2026-05-04 02:11:24,931 - INFO - Deleting VN ctest-vn-99643157 2026-05-04 02:11:25,055 - DEBUG - Response for deleting network () 2026-05-04 02:11:25,310 - DEBUG - No XMPP flaps were noticed during the test
2026-05-04 02:11:25,310 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-05-04 02:11:25,310 - INFO - -------------------------------------------------------------------------------- 2026-05-04 02:11:26,067 - INFO - Deleted project: ctest-TestRoutersBasic-06064937, ID : c13293db-346b-4c5d-b981-ff521526f618