2026-01-07 18:06:49,210 - INFO - Domain Default found not creating 2026-01-07 18:06:49,363 - INFO - Project ctest-TestRoutersBasic-81422240 not found, creating it 2026-01-07 18:06:49,806 - INFO - Created Project:ctest-TestRoutersBasic-81422240, ID : af44fb78-2653-4d20-bad2-92396bbcedaa 2026-01-07 18:06:51,281 - INFO - ================================================================================ 2026-01-07 18:06:51,282 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-07 18:06:51,282 - 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-01-07 18:06:51,544 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-07 18:06:51,544 - INFO - Initial checks done. Running the testcase now 2026-01-07 18:06:51,544 - INFO - 2026-01-07 18:06:52,257 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81422240 2026-01-07 18:06:52,355 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81422240 2026-01-07 18:06:52,666 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81422240', 'default']} 2026-01-07 18:06:52,941 - DEBUG - Response for create_network : {'network': {'id': '0f8132f1-cd63-4500-bfdc-8e9ab9bf0712', 'name': 'ctest-vn-70008761', 'tenant_id': 'af44fb7826534d20bad292396bbcedaa', 'project_id': 'af44fb7826534d20bad292396bbcedaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81422240', 'ctest-vn-70008761'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 18:06:53,153 - DEBUG - Response for create_subnet : {'subnet': {'id': '834fa436-5380-4eb0-84b7-170d97afad9b', 'name': '', 'tenant_id': 'af44fb7826534d20bad292396bbcedaa', 'network_id': '0f8132f1-cd63-4500-bfdc-8e9ab9bf0712', 'ip_version': 4, 'cidr': '16.21.79.0/26', 'allocation_pools': [{'start': '16.21.79.2', 'end': '16.21.79.62'}], 'gateway_ip': '16.21.79.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.21.79.2', 'tags': [], 'project_id': 'af44fb7826534d20bad292396bbcedaa'}} 2026-01-07 18:06:53,170 - INFO - Created VN ctest-vn-70008761 2026-01-07 18:06:53,223 - DEBUG - VN ctest-vn-70008761 UUID is 0f8132f1-cd63-4500-bfdc-8e9ab9bf0712 2026-01-07 18:06:53,556 - DEBUG - Response for create_network : {'network': {'id': 'ac57320d-74b8-496c-9359-42dd41d7c431', 'name': 'ctest-ext_vn-82676447', 'tenant_id': 'af44fb7826534d20bad292396bbcedaa', 'project_id': 'af44fb7826534d20bad292396bbcedaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81422240', 'ctest-ext_vn-82676447'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 18:06:53,768 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d5e858f-b7de-45ed-975e-1cb564481e66', 'name': '', 'tenant_id': 'af44fb7826534d20bad292396bbcedaa', 'network_id': 'ac57320d-74b8-496c-9359-42dd41d7c431', 'ip_version': 4, 'cidr': '30.75.109.0/26', 'allocation_pools': [{'start': '30.75.109.2', 'end': '30.75.109.62'}], 'gateway_ip': '30.75.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.75.109.2', 'tags': [], 'project_id': 'af44fb7826534d20bad292396bbcedaa'}} 2026-01-07 18:06:53,784 - INFO - Created VN ctest-ext_vn-82676447 2026-01-07 18:06:53,835 - DEBUG - VN ctest-ext_vn-82676447 UUID is ac57320d-74b8-496c-9359-42dd41d7c431 2026-01-07 18:06:54,046 - DEBUG - Services list from nova: [, , ] 2026-01-07 18:06:55,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4975-1) 2026-01-07 18:06:56,187 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4975-1) 2026-01-07 18:06:56,251 - INFO - Setting gateway for router 90f87dea-ef3a-4866-965a-0eaf320a9552 to network ac57320d-74b8-496c-9359-42dd41d7c431 2026-01-07 18:06:56,337 - INFO - Adding interface with subnet_id 834fa436-5380-4eb0-84b7-170d97afad9b, port_id None to router 90f87dea-ef3a-4866-965a-0eaf320a9552 2026-01-07 18:06:56,685 - INFO - Waiting for VM ctest-TestRoutersBasic-81422240-18770170 to be up.. 2026-01-07 18:06:56,885 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-07 18:07:01,955 - DEBUG - VM is in ACTIVE state now 2026-01-07 18:07:01,955 - INFO - VM name : ctest-TestRoutersBasic-81422240-18770170 2026-01-07 18:07:02,025 - DEBUG - VM ctest-TestRoutersBasic-81422240-18770170 ID is e39d5ac6-a345-4af4-99ca-92d9d7616bd7 2026-01-07 18:07:02,043 - DEBUG - VM ctest-TestRoutersBasic-81422240-18770170 launched on Node cn-jenkins-deploy-platform-ansible-os-4975-1 2026-01-07 18:07:02,115 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e39d5ac6-a345-4af4-99ca-92d9d7616bd7 2026-01-07 18:07:02,428 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e39d5ac6-a345-4af4-99ca-92d9d7616bd7 2026-01-07 18:07:02,468 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9f777331-50d8-4f4d-9745-e317e38bc08e 2026-01-07 18:07:05,733 - 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 1019ms') 2026-01-07 18:07:05,734 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81422240-18770170 failed! 2026-01-07 18:07:05,787 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81422240:ctest-vn-70008761 is 16.21.79.1 and allocation pool is NOT set 2026-01-07 18:07:07,848 - 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=2.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 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 = 0.434/1.687/2.940/1.253 ms') 2026-01-07 18:07:07,848 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81422240-18770170 passed 2026-01-07 18:07:07,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 18:07:07,999 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81422240-18770170, IP 16.21.79.3, Port 22 2026-01-07 18:07:08,154 - DEBUG - VM ctest-TestRoutersBasic-81422240-18770170 is ready for SSH connections 2026-01-07 18:07:08,154 - INFO - Waiting for VM ctest-TestRoutersBasic-81422240-23147300 to be up.. 2026-01-07 18:07:08,232 - DEBUG - VM is in ACTIVE state now 2026-01-07 18:07:08,232 - INFO - VM name : ctest-TestRoutersBasic-81422240-23147300 2026-01-07 18:07:08,302 - DEBUG - VM ctest-TestRoutersBasic-81422240-23147300 ID is c10ac5b7-ad18-4b8d-91ca-8f4d0acc09ed 2026-01-07 18:07:08,302 - DEBUG - VM ctest-TestRoutersBasic-81422240-23147300 launched on Node cn-jenkins-deploy-platform-ansible-os-4975-1 2026-01-07 18:07:08,374 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c10ac5b7-ad18-4b8d-91ca-8f4d0acc09ed 2026-01-07 18:07:08,382 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d826f4a1-8190-426f-aa9d-b3a7347fc008 2026-01-07 18:07:09,617 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.546/2.699/1.153 ms') 2026-01-07 18:07:09,617 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81422240-23147300 passed 2026-01-07 18:07:09,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 18:07:09,763 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81422240-23147300, IP 30.75.109.3, Port 22 2026-01-07 18:07:09,934 - DEBUG - VM ctest-TestRoutersBasic-81422240-23147300 is ready for SSH connections 2026-01-07 18:07:09,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 18:07:09,934 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.75.109.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-07 18:07:09,934 - DEBUG - ping -s 56 -c 3 -W 1 30.75.109.3 2026-01-07 18:07:13,597 - DEBUG - PING 30.75.109.3 (30.75.109.3): 56 data bytes 64 bytes from 30.75.109.3: seq=0 ttl=62 time=4.928 ms 64 bytes from 30.75.109.3: seq=1 ttl=62 time=0.957 ms 64 bytes from 30.75.109.3: seq=2 ttl=62 time=1.191 ms --- 30.75.109.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.957/2.358/4.928 ms 2026-01-07 18:07:13,597 - INFO - Ping to IP 30.75.109.3 from VM ctest-TestRoutersBasic-81422240-18770170 passed 2026-01-07 18:07:13,597 - INFO - Deleting interface with subnet_id 834fa436-5380-4eb0-84b7-170d97afad9b, port_id None from router 90f87dea-ef3a-4866-965a-0eaf320a9552 2026-01-07 18:07:13,770 - INFO - Deleting VM ctest-TestRoutersBasic-81422240-23147300 2026-01-07 18:07:13,842 - INFO - Deleting VM ctest-TestRoutersBasic-81422240-18770170 2026-01-07 18:07:13,919 - INFO - Deleting VN ctest-ext_vn-82676447 2026-01-07 18:07:13,984 - DEBUG - VN ac57320d-74b8-496c-9359-42dd41d7c431 still in use: Unable to complete operation on network ac57320d-74b8-496c-9359-42dd41d7c431. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fd1d1aba-3d4a-404e-be17-2b40fa7e26be'] 2026-01-07 18:07:13,984 - WARNING - Deleting VN ctest-ext_vn-82676447 failed..Will retry 2026-01-07 18:07:16,080 - DEBUG - Response for deleting network () 2026-01-07 18:07:16,081 - INFO - Deleting VN ctest-vn-70008761 2026-01-07 18:07:16,182 - DEBUG - Response for deleting network () 2026-01-07 18:07:16,435 - DEBUG - No XMPP flaps were noticed during the test
2026-01-07 18:07:16,435 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-07 18:07:16,435 - INFO - -------------------------------------------------------------------------------- 2026-01-07 18:07:17,120 - INFO - Deleted project: ctest-TestRoutersBasic-81422240, ID : af44fb78-2653-4d20-bad2-92396bbcedaa