2026-11-30 10:04:53,650 - INFO - Domain Default found not creating 2026-11-30 10:04:53,839 - INFO - Project ctest-TestRoutersBasic-09758108 not found, creating it 2026-11-30 10:04:54,297 - INFO - Created Project:ctest-TestRoutersBasic-09758108, ID : 07c10a70-407f-43f2-86b1-b4d3a9cf62c8 2026-11-30 10:04:56,024 - INFO - ================================================================================ 2026-11-30 10:04:56,025 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-30 10:04:56,025 - 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-11-30 10:04:56,289 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with 2026-11-30 10:04:56,289 - INFO - Initial checks done. Running the testcase now 2026-11-30 10:04:56,289 - INFO - 2026-11-30 10:04:57,152 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09758108 2026-11-30 10:04:57,248 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09758108 2026-11-30 10:04:57,563 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09758108', 'default']} 2026-11-30 10:04:57,854 - DEBUG - Response for create_network : {'network': {'id': 'b34c86b2-af32-45f6-b3de-e5f3b2c12402', 'name': 'ctest-vn-13146787', 'tenant_id': '07c10a70407f43f286b1b4d3a9cf62c8', 'project_id': '07c10a70407f43f286b1b4d3a9cf62c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09758108', 'ctest-vn-13146787'], 'port_security_enabled': True, 'description': ''}} 2026-11-30 10:04:58,059 - DEBUG - Response for create_subnet : {'subnet': {'id': '7156c0ef-14b5-4bd4-9db0-15a1cb9c4bce', 'name': '', 'tenant_id': '07c10a70407f43f286b1b4d3a9cf62c8', 'network_id': 'b34c86b2-af32-45f6-b3de-e5f3b2c12402', 'ip_version': 4, 'cidr': '42.221.74.128/26', 'allocation_pools': [{'start': '42.221.74.130', 'end': '42.221.74.190'}], 'gateway_ip': '42.221.74.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.221.74.130', 'tags': [], 'project_id': '07c10a70407f43f286b1b4d3a9cf62c8'}} 2026-11-30 10:04:58,075 - INFO - Created VN ctest-vn-13146787 2026-11-30 10:04:58,127 - DEBUG - VN ctest-vn-13146787 UUID is b34c86b2-af32-45f6-b3de-e5f3b2c12402 2026-11-30 10:04:58,439 - DEBUG - Response for create_network : {'network': {'id': 'b3b0f511-7af7-4c60-9b4f-21cd5fedbb24', 'name': 'ctest-ext_vn-27827493', 'tenant_id': '07c10a70407f43f286b1b4d3a9cf62c8', 'project_id': '07c10a70407f43f286b1b4d3a9cf62c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09758108', 'ctest-ext_vn-27827493'], 'port_security_enabled': True, 'description': ''}} 2026-11-30 10:04:58,649 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a759f09b-2968-42bb-95b7-7a44ef70ce6e', 'name': '', 'tenant_id': '07c10a70407f43f286b1b4d3a9cf62c8', 'network_id': 'b3b0f511-7af7-4c60-9b4f-21cd5fedbb24', 'ip_version': 4, 'cidr': '58.193.160.0/26', 'allocation_pools': [{'start': '58.193.160.2', 'end': '58.193.160.62'}], 'gateway_ip': '58.193.160.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.193.160.2', 'tags': [], 'project_id': '07c10a70407f43f286b1b4d3a9cf62c8'}} 2026-11-30 10:04:58,667 - INFO - Created VN ctest-ext_vn-27827493 2026-11-30 10:04:58,719 - DEBUG - VN ctest-ext_vn-27827493 UUID is b3b0f511-7af7-4c60-9b4f-21cd5fedbb24 2026-11-30 10:04:58,924 - DEBUG - Services list from nova: [, , ] 2026-11-30 10:04:59,250 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6523-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6523-1) 2026-11-30 10:04:59,619 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6523-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6523-1) 2026-11-30 10:04:59,680 - INFO - Setting gateway for router 559e7947-8d21-4e6f-89bf-66ae16761c26 to network b3b0f511-7af7-4c60-9b4f-21cd5fedbb24 2026-11-30 10:04:59,738 - INFO - Adding interface with subnet_id 7156c0ef-14b5-4bd4-9db0-15a1cb9c4bce, port_id None to router 559e7947-8d21-4e6f-89bf-66ae16761c26 2026-11-30 10:04:59,992 - INFO - Waiting for VM ctest-TestRoutersBasic-09758108-45211679 to be up.. 2026-11-30 10:05:00,065 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:05:05,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:05:10,268 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:05:15,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:05:20,441 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:05:25,527 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:05:30,605 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:05:35,679 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:05:40,760 - DEBUG - VM is in ACTIVE state now 2026-11-30 10:05:40,760 - INFO - VM name : ctest-TestRoutersBasic-09758108-45211679 2026-11-30 10:05:40,835 - DEBUG - VM ctest-TestRoutersBasic-09758108-45211679 ID is bed50afa-2bca-40d6-8bd4-d8e470e26dcb 2026-11-30 10:05:40,855 - DEBUG - VM ctest-TestRoutersBasic-09758108-45211679 launched on Node cn-jenkins-deploy-platform-ansible-os-6523-1 2026-11-30 10:05:40,931 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/bed50afa-2bca-40d6-8bd4-d8e470e26dcb 2026-11-30 10:05:41,299 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/bed50afa-2bca-40d6-8bd4-d8e470e26dcb 2026-11-30 10:05:41,330 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/0c828f46-ee24-4e81-8363-68f2299937de 2026-11-30 10:05:44,588 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1001ms') 2026-11-30 10:05:44,589 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-09758108-45211679 failed! 2026-11-30 10:05:44,647 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09758108:ctest-vn-13146787 is 42.221.74.129 and allocation pool is NOT set 2026-11-30 10:05:46,709 - 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=1 ttl=63 time=3.65 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.510 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.510/2.079/3.648/1.569 ms') 2026-11-30 10:05:46,709 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-09758108-45211679 passed 2026-11-30 10:05:46,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 10:05:46,860 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09758108-45211679, IP 42.221.74.131, Port 22 2026-11-30 10:05:47,030 - DEBUG - VM ctest-TestRoutersBasic-09758108-45211679 is ready for SSH connections 2026-11-30 10:05:47,030 - INFO - Waiting for VM ctest-TestRoutersBasic-09758108-25339146 to be up.. 2026-11-30 10:05:47,104 - DEBUG - VM is in ACTIVE state now 2026-11-30 10:05:47,104 - INFO - VM name : ctest-TestRoutersBasic-09758108-25339146 2026-11-30 10:05:47,188 - DEBUG - VM ctest-TestRoutersBasic-09758108-25339146 ID is 630ed897-e3cf-4e96-a763-3e071143005f 2026-11-30 10:05:47,189 - DEBUG - VM ctest-TestRoutersBasic-09758108-25339146 launched on Node cn-jenkins-deploy-platform-ansible-os-6523-1 2026-11-30 10:05:47,264 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/630ed897-e3cf-4e96-a763-3e071143005f 2026-11-30 10:05:47,274 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/e892f312-0c6a-45dc-a72e-d28d477002d8 2026-11-30 10:05:48,525 - 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=3.65 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.450 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.450/2.051/3.653/1.601 ms') 2026-11-30 10:05:48,525 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-09758108-25339146 passed 2026-11-30 10:05:48,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 10:05:48,683 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09758108-25339146, IP 58.193.160.4, Port 22 2026-11-30 10:05:48,839 - DEBUG - VM ctest-TestRoutersBasic-09758108-25339146 is ready for SSH connections 2026-11-30 10:05:48,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 10:05:48,839 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.193.160.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-30 10:05:48,839 - DEBUG - ping -s 56 -c 3 -W 1 58.193.160.4 2026-11-30 10:05:51,792 - DEBUG - PING 58.193.160.4 (58.193.160.4): 56 data bytes 64 bytes from 58.193.160.4: seq=0 ttl=62 time=6.747 ms 64 bytes from 58.193.160.4: seq=1 ttl=62 time=1.007 ms 64 bytes from 58.193.160.4: seq=2 ttl=62 time=1.283 ms --- 58.193.160.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.007/3.012/6.747 ms 2026-11-30 10:05:51,792 - INFO - Ping to IP 58.193.160.4 from VM ctest-TestRoutersBasic-09758108-45211679 passed 2026-11-30 10:05:51,792 - INFO - Deleting interface with subnet_id 7156c0ef-14b5-4bd4-9db0-15a1cb9c4bce, port_id None from router 559e7947-8d21-4e6f-89bf-66ae16761c26 2026-11-30 10:05:51,990 - INFO - Deleting VM ctest-TestRoutersBasic-09758108-25339146 2026-11-30 10:05:52,066 - INFO - Deleting VM ctest-TestRoutersBasic-09758108-45211679 2026-11-30 10:05:52,138 - INFO - Deleting VN ctest-ext_vn-27827493 2026-11-30 10:05:52,192 - DEBUG - VN b3b0f511-7af7-4c60-9b4f-21cd5fedbb24 still in use: Unable to complete operation on network b3b0f511-7af7-4c60-9b4f-21cd5fedbb24. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2c491a1a-e322-4b06-b46b-791ccbf36daf'] 2026-11-30 10:05:52,192 - WARNING - Deleting VN ctest-ext_vn-27827493 failed..Will retry 2026-11-30 10:05:54,229 - DEBUG - VN b3b0f511-7af7-4c60-9b4f-21cd5fedbb24 still in use: Unable to complete operation on network b3b0f511-7af7-4c60-9b4f-21cd5fedbb24. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9ae0b980-9fc1-450f-9f25-c7d4786e71cc'] 2026-11-30 10:05:54,229 - WARNING - Deleting VN ctest-ext_vn-27827493 failed..Will retry 2026-11-30 10:05:56,327 - DEBUG - Response for deleting network () 2026-11-30 10:05:56,328 - INFO - Deleting VN ctest-vn-13146787 2026-11-30 10:05:56,439 - DEBUG - Response for deleting network () 2026-11-30 10:05:56,753 - DEBUG - No XMPP flaps were noticed during the test
2026-11-30 10:05:56,753 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00]
2026-11-30 10:05:56,753 - INFO - -------------------------------------------------------------------------------- 2026-11-30 10:05:57,536 - INFO - Deleted project: ctest-TestRoutersBasic-09758108, ID : 07c10a70-407f-43f2-86b1-b4d3a9cf62c8