2026-09-19 12:04:49,530 - INFO - Domain Default found not creating 2026-09-19 12:04:49,719 - INFO - Project ctest-TestRoutersBasic-26358365 not found, creating it 2026-09-19 12:04:50,590 - INFO - Created Project:ctest-TestRoutersBasic-26358365, ID : cc43c282-89b4-4177-b471-e626f9263ab1 2026-09-19 12:04:52,243 - INFO - ================================================================================ 2026-09-19 12:04:52,243 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-19 12:04:52,243 - 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-09-19 12:04:52,503 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-09-19 12:04:52,503 - INFO - Initial checks done. Running the testcase now 2026-09-19 12:04:52,503 - INFO - 2026-09-19 12:04:53,282 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26358365 2026-09-19 12:04:53,380 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26358365 2026-09-19 12:04:53,712 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26358365', 'default']} 2026-09-19 12:04:54,030 - DEBUG - Response for create_network : {'network': {'id': 'ada904cc-19f5-4410-9984-1d85f41b13e1', 'name': 'ctest-vn-35874645', 'tenant_id': 'cc43c28289b44177b471e626f9263ab1', 'project_id': 'cc43c28289b44177b471e626f9263ab1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26358365', 'ctest-vn-35874645'], 'port_security_enabled': True, 'description': ''}} 2026-09-19 12:04:54,229 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd007214e-6631-40a8-bc3f-a5a37b4bdbd5', 'name': '', 'tenant_id': 'cc43c28289b44177b471e626f9263ab1', 'network_id': 'ada904cc-19f5-4410-9984-1d85f41b13e1', 'ip_version': 4, 'cidr': '26.1.211.0/26', 'allocation_pools': [{'start': '26.1.211.2', 'end': '26.1.211.62'}], 'gateway_ip': '26.1.211.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.1.211.2', 'tags': [], 'project_id': 'cc43c28289b44177b471e626f9263ab1'}} 2026-09-19 12:04:54,247 - INFO - Created VN ctest-vn-35874645 2026-09-19 12:04:54,300 - DEBUG - VN ctest-vn-35874645 UUID is ada904cc-19f5-4410-9984-1d85f41b13e1 2026-09-19 12:04:54,635 - DEBUG - Response for create_network : {'network': {'id': '93620d96-e5a9-4f61-9212-601a75ef5f5a', 'name': 'ctest-ext_vn-35184606', 'tenant_id': 'cc43c28289b44177b471e626f9263ab1', 'project_id': 'cc43c28289b44177b471e626f9263ab1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26358365', 'ctest-ext_vn-35184606'], 'port_security_enabled': True, 'description': ''}} 2026-09-19 12:04:54,857 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d3f178e-a3e0-4e50-972a-448e4012aac8', 'name': '', 'tenant_id': 'cc43c28289b44177b471e626f9263ab1', 'network_id': '93620d96-e5a9-4f61-9212-601a75ef5f5a', 'ip_version': 4, 'cidr': '98.46.240.192/26', 'allocation_pools': [{'start': '98.46.240.194', 'end': '98.46.240.254'}], 'gateway_ip': '98.46.240.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.46.240.194', 'tags': [], 'project_id': 'cc43c28289b44177b471e626f9263ab1'}} 2026-09-19 12:04:54,874 - INFO - Created VN ctest-ext_vn-35184606 2026-09-19 12:04:54,932 - DEBUG - VN ctest-ext_vn-35184606 UUID is 93620d96-e5a9-4f61-9212-601a75ef5f5a 2026-09-19 12:04:55,108 - DEBUG - Services list from nova: [, , ] 2026-09-19 12:04:55,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6311-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6311-1) 2026-09-19 12:04:56,297 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6311-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6311-1) 2026-09-19 12:04:56,364 - INFO - Setting gateway for router 18b10f12-d177-421a-8755-6e981179ccf7 to network 93620d96-e5a9-4f61-9212-601a75ef5f5a 2026-09-19 12:04:56,421 - INFO - Adding interface with subnet_id d007214e-6631-40a8-bc3f-a5a37b4bdbd5, port_id None to router 18b10f12-d177-421a-8755-6e981179ccf7 2026-09-19 12:04:56,722 - INFO - Waiting for VM ctest-TestRoutersBasic-26358365-79437801 to be up.. 2026-09-19 12:04:56,797 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:05:01,891 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:05:06,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:05:12,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:05:17,227 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:05:22,304 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:05:27,389 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:05:32,470 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:05:37,551 - DEBUG - VM is in ACTIVE state now 2026-09-19 12:05:37,551 - INFO - VM name : ctest-TestRoutersBasic-26358365-79437801 2026-09-19 12:05:37,625 - DEBUG - VM ctest-TestRoutersBasic-26358365-79437801 ID is 2524b8af-f24b-4392-b7be-b3cc071b6802 2026-09-19 12:05:37,648 - DEBUG - VM ctest-TestRoutersBasic-26358365-79437801 launched on Node cn-jenkins-deploy-platform-ansible-os-6311-1 2026-09-19 12:05:37,725 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2524b8af-f24b-4392-b7be-b3cc071b6802 2026-09-19 12:05:38,051 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2524b8af-f24b-4392-b7be-b3cc071b6802 2026-09-19 12:05:38,082 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1ce743e1-008e-4960-a8de-15ef8d6734aa 2026-09-19 12:05:41,343 - 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=4.20 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 4.197/4.197/4.197/0.000 ms') 2026-09-19 12:05:41,343 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-26358365-79437801 passed 2026-09-19 12:05:41,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-19 12:05:41,504 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26358365-79437801, IP 26.1.211.3, Port 22 2026-09-19 12:05:41,670 - DEBUG - VM ctest-TestRoutersBasic-26358365-79437801 is ready for SSH connections 2026-09-19 12:05:41,671 - INFO - Waiting for VM ctest-TestRoutersBasic-26358365-56284136 to be up.. 2026-09-19 12:05:41,752 - DEBUG - VM is in ACTIVE state now 2026-09-19 12:05:41,752 - INFO - VM name : ctest-TestRoutersBasic-26358365-56284136 2026-09-19 12:05:41,836 - DEBUG - VM ctest-TestRoutersBasic-26358365-56284136 ID is 2d4afafe-344b-4fe1-bb9f-45fd6671a4c7 2026-09-19 12:05:41,836 - DEBUG - VM ctest-TestRoutersBasic-26358365-56284136 launched on Node cn-jenkins-deploy-platform-ansible-os-6311-1 2026-09-19 12:05:41,924 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2d4afafe-344b-4fe1-bb9f-45fd6671a4c7 2026-09-19 12:05:41,934 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9b305870-c975-4aaf-9491-0dd6266b4457 2026-09-19 12:05:45,188 - 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=2 ttl=63 time=4.96 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.956/4.956/4.956/0.000 ms') 2026-09-19 12:05:45,188 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-26358365-56284136 passed 2026-09-19 12:05:45,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-19 12:05:45,344 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26358365-56284136, IP 98.46.240.196, Port 22 2026-09-19 12:05:45,510 - DEBUG - VM ctest-TestRoutersBasic-26358365-56284136 is ready for SSH connections 2026-09-19 12:05:45,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-19 12:05:45,510 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.46.240.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-09-19 12:05:45,510 - DEBUG - ping -s 56 -c 3 -W 1 98.46.240.196 2026-09-19 12:05:48,469 - DEBUG - PING 98.46.240.196 (98.46.240.196): 56 data bytes 64 bytes from 98.46.240.196: seq=0 ttl=62 time=7.203 ms 64 bytes from 98.46.240.196: seq=1 ttl=62 time=1.190 ms 64 bytes from 98.46.240.196: seq=2 ttl=62 time=1.091 ms --- 98.46.240.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.091/3.161/7.203 ms 2026-09-19 12:05:48,470 - INFO - Ping to IP 98.46.240.196 from VM ctest-TestRoutersBasic-26358365-79437801 passed 2026-09-19 12:05:48,470 - INFO - Deleting interface with subnet_id d007214e-6631-40a8-bc3f-a5a37b4bdbd5, port_id None from router 18b10f12-d177-421a-8755-6e981179ccf7 2026-09-19 12:05:48,738 - INFO - Deleting VM ctest-TestRoutersBasic-26358365-56284136 2026-09-19 12:05:48,838 - INFO - Deleting VM ctest-TestRoutersBasic-26358365-79437801 2026-09-19 12:05:48,914 - INFO - Deleting VN ctest-ext_vn-35184606 2026-09-19 12:05:49,003 - DEBUG - VN 93620d96-e5a9-4f61-9212-601a75ef5f5a still in use: Unable to complete operation on network 93620d96-e5a9-4f61-9212-601a75ef5f5a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3622f9c5-0cdc-4e9c-ab4f-6e9ed131a366'] 2026-09-19 12:05:49,004 - WARNING - Deleting VN ctest-ext_vn-35184606 failed..Will retry 2026-09-19 12:05:51,038 - DEBUG - VN 93620d96-e5a9-4f61-9212-601a75ef5f5a still in use: Unable to complete operation on network 93620d96-e5a9-4f61-9212-601a75ef5f5a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ddaa01e5-44a1-411c-b51e-d3e08d36cd80'] 2026-09-19 12:05:51,038 - WARNING - Deleting VN ctest-ext_vn-35184606 failed..Will retry 2026-09-19 12:05:53,155 - DEBUG - Response for deleting network () 2026-09-19 12:05:53,155 - INFO - Deleting VN ctest-vn-35874645 2026-09-19 12:05:53,261 - DEBUG - Response for deleting network () 2026-09-19 12:05:53,517 - DEBUG - No XMPP flaps were noticed during the test
2026-09-19 12:05:53,517 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01]
2026-09-19 12:05:53,517 - INFO - -------------------------------------------------------------------------------- 2026-09-19 12:05:54,253 - INFO - Deleted project: ctest-TestRoutersBasic-26358365, ID : cc43c282-89b4-4177-b471-e626f9263ab1