2026-02-16 16:22:19,387 - INFO - Domain Default found not creating 2026-02-16 16:22:19,553 - INFO - Project ctest-TestRoutersBasic-14677576 not found, creating it 2026-02-16 16:22:20,014 - INFO - Created Project:ctest-TestRoutersBasic-14677576, ID : 24d301a6-aea5-42d2-8e88-e636bb658098 2026-02-16 16:22:21,547 - INFO - ================================================================================ 2026-02-16 16:22:21,547 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-16 16:22:21,547 - 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-02-16 16:22:21,804 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-16 16:22:21,804 - INFO - Initial checks done. Running the testcase now 2026-02-16 16:22:21,804 - INFO - 2026-02-16 16:22:22,520 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14677576 2026-02-16 16:22:22,623 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14677576 2026-02-16 16:22:22,938 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14677576', 'default']} 2026-02-16 16:22:23,232 - DEBUG - Response for create_network : {'network': {'id': '61fb4642-fa55-4909-b6a8-c23bbb206673', 'name': 'ctest-vn-17405620', 'tenant_id': '24d301a6aea542d28e88e636bb658098', 'project_id': '24d301a6aea542d28e88e636bb658098', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14677576', 'ctest-vn-17405620'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 16:22:23,442 - DEBUG - Response for create_subnet : {'subnet': {'id': '336b5933-7f66-4e02-9019-53c1a38d088f', 'name': '', 'tenant_id': '24d301a6aea542d28e88e636bb658098', 'network_id': '61fb4642-fa55-4909-b6a8-c23bbb206673', 'ip_version': 4, 'cidr': '29.19.194.64/26', 'allocation_pools': [{'start': '29.19.194.66', 'end': '29.19.194.126'}], 'gateway_ip': '29.19.194.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.19.194.66', 'tags': [], 'project_id': '24d301a6aea542d28e88e636bb658098'}} 2026-02-16 16:22:23,461 - INFO - Created VN ctest-vn-17405620 2026-02-16 16:22:23,511 - DEBUG - VN ctest-vn-17405620 UUID is 61fb4642-fa55-4909-b6a8-c23bbb206673 2026-02-16 16:22:23,859 - DEBUG - Response for create_network : {'network': {'id': '7abfb838-9409-4d11-8c46-f1ec848444fd', 'name': 'ctest-ext_vn-89147805', 'tenant_id': '24d301a6aea542d28e88e636bb658098', 'project_id': '24d301a6aea542d28e88e636bb658098', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14677576', 'ctest-ext_vn-89147805'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 16:22:24,069 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b1c4f57-4444-4181-b4df-09b7289e4e5f', 'name': '', 'tenant_id': '24d301a6aea542d28e88e636bb658098', 'network_id': '7abfb838-9409-4d11-8c46-f1ec848444fd', 'ip_version': 4, 'cidr': '203.138.196.0/26', 'allocation_pools': [{'start': '203.138.196.2', 'end': '203.138.196.62'}], 'gateway_ip': '203.138.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.138.196.2', 'tags': [], 'project_id': '24d301a6aea542d28e88e636bb658098'}} 2026-02-16 16:22:24,088 - INFO - Created VN ctest-ext_vn-89147805 2026-02-16 16:22:24,138 - DEBUG - VN ctest-ext_vn-89147805 UUID is 7abfb838-9409-4d11-8c46-f1ec848444fd 2026-02-16 16:22:24,344 - DEBUG - Services list from nova: [, , ] 2026-02-16 16:22:25,384 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5337-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5337-30) 2026-02-16 16:22:26,548 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5337-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5337-30) 2026-02-16 16:22:26,610 - INFO - Setting gateway for router 4e63a1fd-0d53-4cbd-85f8-badccce19d41 to network 7abfb838-9409-4d11-8c46-f1ec848444fd 2026-02-16 16:22:26,659 - INFO - Adding interface with subnet_id 336b5933-7f66-4e02-9019-53c1a38d088f, port_id None to router 4e63a1fd-0d53-4cbd-85f8-badccce19d41 2026-02-16 16:22:27,052 - INFO - Waiting for VM ctest-TestRoutersBasic-14677576-80759621 to be up.. 2026-02-16 16:22:27,274 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-16 16:22:32,346 - DEBUG - VM is in ACTIVE state now 2026-02-16 16:22:32,346 - INFO - VM name : ctest-TestRoutersBasic-14677576-80759621 2026-02-16 16:22:32,414 - DEBUG - VM ctest-TestRoutersBasic-14677576-80759621 ID is 94ffd4da-a9c1-446c-8912-663017a69899 2026-02-16 16:22:32,432 - DEBUG - VM ctest-TestRoutersBasic-14677576-80759621 launched on Node cn-jenkins-deploy-platform-ansible-os-5337-30 2026-02-16 16:22:32,503 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/94ffd4da-a9c1-446c-8912-663017a69899 2026-02-16 16:22:32,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/94ffd4da-a9c1-446c-8912-663017a69899 2026-02-16 16:22:32,829 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bc5a0e0f-7fd9-4739-afbf-6bf692c8a623 2026-02-16 16:22:36,083 - 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 1027ms') 2026-02-16 16:22:36,084 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14677576-80759621 failed! 2026-02-16 16:22:36,142 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14677576:ctest-vn-17405620 is 29.19.194.65 and allocation pool is NOT set 2026-02-16 16:22:38,204 - 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=3.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.498 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.498/1.818/3.138/1.320 ms') 2026-02-16 16:22:38,204 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14677576-80759621 passed 2026-02-16 16:22:38,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 16:22:38,355 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14677576-80759621, IP 29.19.194.67, Port 22 2026-02-16 16:22:38,511 - DEBUG - VM ctest-TestRoutersBasic-14677576-80759621 is ready for SSH connections 2026-02-16 16:22:38,511 - INFO - Waiting for VM ctest-TestRoutersBasic-14677576-54867251 to be up.. 2026-02-16 16:22:38,580 - DEBUG - VM is in ACTIVE state now 2026-02-16 16:22:38,580 - INFO - VM name : ctest-TestRoutersBasic-14677576-54867251 2026-02-16 16:22:38,650 - DEBUG - VM ctest-TestRoutersBasic-14677576-54867251 ID is df64bd82-bb6c-4d5a-998d-022d80bd8867 2026-02-16 16:22:38,650 - DEBUG - VM ctest-TestRoutersBasic-14677576-54867251 launched on Node cn-jenkins-deploy-platform-ansible-os-5337-30 2026-02-16 16:22:38,723 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/df64bd82-bb6c-4d5a-998d-022d80bd8867 2026-02-16 16:22:38,732 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/80a6dfe0-a191-4de3-a51c-c893889a1a79 2026-02-16 16:22:39,970 - 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=3.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.383/1.730/3.077/1.347 ms') 2026-02-16 16:22:39,970 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-14677576-54867251 passed 2026-02-16 16:22:40,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 16:22:40,123 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14677576-54867251, IP 203.138.196.3, Port 22 2026-02-16 16:22:40,278 - DEBUG - VM ctest-TestRoutersBasic-14677576-54867251 is ready for SSH connections 2026-02-16 16:22:40,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 16:22:40,278 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.138.196.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-16 16:22:40,279 - DEBUG - ping -s 56 -c 3 -W 1 203.138.196.3 2026-02-16 16:22:43,982 - DEBUG - PING 203.138.196.3 (203.138.196.3): 56 data bytes 64 bytes from 203.138.196.3: seq=0 ttl=62 time=7.791 ms 64 bytes from 203.138.196.3: seq=1 ttl=62 time=0.884 ms 64 bytes from 203.138.196.3: seq=2 ttl=62 time=0.781 ms --- 203.138.196.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/3.152/7.791 ms 2026-02-16 16:22:43,982 - INFO - Ping to IP 203.138.196.3 from VM ctest-TestRoutersBasic-14677576-80759621 passed 2026-02-16 16:22:43,982 - INFO - Deleting interface with subnet_id 336b5933-7f66-4e02-9019-53c1a38d088f, port_id None from router 4e63a1fd-0d53-4cbd-85f8-badccce19d41 2026-02-16 16:22:44,167 - INFO - Deleting VM ctest-TestRoutersBasic-14677576-54867251 2026-02-16 16:22:44,255 - INFO - Deleting VM ctest-TestRoutersBasic-14677576-80759621 2026-02-16 16:22:44,330 - INFO - Deleting VN ctest-ext_vn-89147805 2026-02-16 16:22:44,393 - DEBUG - VN 7abfb838-9409-4d11-8c46-f1ec848444fd still in use: Unable to complete operation on network 7abfb838-9409-4d11-8c46-f1ec848444fd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f36e0ebf-81d8-4d73-b3e7-b447b224037c'] 2026-02-16 16:22:44,393 - WARNING - Deleting VN ctest-ext_vn-89147805 failed..Will retry 2026-02-16 16:22:46,619 - DEBUG - Response for deleting network () 2026-02-16 16:22:46,619 - INFO - Deleting VN ctest-vn-17405620 2026-02-16 16:22:46,704 - DEBUG - Response for deleting network () 2026-02-16 16:22:46,971 - DEBUG - No XMPP flaps were noticed during the test
2026-02-16 16:22:46,971 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-16 16:22:46,971 - INFO - -------------------------------------------------------------------------------- 2026-02-16 16:22:47,654 - INFO - Deleted project: ctest-TestRoutersBasic-14677576, ID : 24d301a6-aea5-42d2-8e88-e636bb658098