2026-09-07 15:30:03,937 - INFO - Domain Default found not creating 2026-09-07 15:30:04,089 - INFO - Project ctest-TestRoutersBasic-30306964 not found, creating it 2026-09-07 15:30:04,584 - INFO - Created Project:ctest-TestRoutersBasic-30306964, ID : 96913221-a5a8-4925-8845-47eebe639c05 2026-09-07 15:30:06,228 - INFO - ================================================================================ 2026-09-07 15:30:06,228 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-07 15:30:06,229 - 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-07 15:30:06,492 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-09-07 15:30:06,492 - INFO - Initial checks done. Running the testcase now 2026-09-07 15:30:06,492 - INFO - 2026-09-07 15:30:07,251 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30306964 2026-09-07 15:30:07,346 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30306964 2026-09-07 15:30:07,674 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30306964', 'default']} 2026-09-07 15:30:07,971 - DEBUG - Response for create_network : {'network': {'id': '210b84d1-05be-47e8-b5ba-6e49a529abe8', 'name': 'ctest-vn-43725212', 'tenant_id': '96913221a5a84925884547eebe639c05', 'project_id': '96913221a5a84925884547eebe639c05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30306964', 'ctest-vn-43725212'], 'port_security_enabled': True, 'description': ''}} 2026-09-07 15:30:08,167 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c8fb975-5193-4917-bd26-bfc81a80e936', 'name': '', 'tenant_id': '96913221a5a84925884547eebe639c05', 'network_id': '210b84d1-05be-47e8-b5ba-6e49a529abe8', 'ip_version': 4, 'cidr': '80.43.53.64/26', 'allocation_pools': [{'start': '80.43.53.66', 'end': '80.43.53.126'}], 'gateway_ip': '80.43.53.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.43.53.66', 'tags': [], 'project_id': '96913221a5a84925884547eebe639c05'}} 2026-09-07 15:30:08,183 - INFO - Created VN ctest-vn-43725212 2026-09-07 15:30:08,234 - DEBUG - VN ctest-vn-43725212 UUID is 210b84d1-05be-47e8-b5ba-6e49a529abe8 2026-09-07 15:30:08,598 - DEBUG - Response for create_network : {'network': {'id': '32d4b4fc-1bc9-4be9-8765-732e48710203', 'name': 'ctest-ext_vn-52712437', 'tenant_id': '96913221a5a84925884547eebe639c05', 'project_id': '96913221a5a84925884547eebe639c05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30306964', 'ctest-ext_vn-52712437'], 'port_security_enabled': True, 'description': ''}} 2026-09-07 15:30:08,777 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ab4209f-d9b3-4c1c-93bd-99b432dda8eb', 'name': '', 'tenant_id': '96913221a5a84925884547eebe639c05', 'network_id': '32d4b4fc-1bc9-4be9-8765-732e48710203', 'ip_version': 4, 'cidr': '122.163.169.192/26', 'allocation_pools': [{'start': '122.163.169.194', 'end': '122.163.169.254'}], 'gateway_ip': '122.163.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.163.169.194', 'tags': [], 'project_id': '96913221a5a84925884547eebe639c05'}} 2026-09-07 15:30:08,793 - INFO - Created VN ctest-ext_vn-52712437 2026-09-07 15:30:08,846 - DEBUG - VN ctest-ext_vn-52712437 UUID is 32d4b4fc-1bc9-4be9-8765-732e48710203 2026-09-07 15:30:09,057 - DEBUG - Services list from nova: [, , ] 2026-09-07 15:30:09,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6261-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6261-1) 2026-09-07 15:30:09,771 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6261-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6261-1) 2026-09-07 15:30:09,845 - INFO - Setting gateway for router bb7753ac-14cb-48d0-96fb-2d63525fb949 to network 32d4b4fc-1bc9-4be9-8765-732e48710203 2026-09-07 15:30:09,896 - INFO - Adding interface with subnet_id 8c8fb975-5193-4917-bd26-bfc81a80e936, port_id None to router bb7753ac-14cb-48d0-96fb-2d63525fb949 2026-09-07 15:30:10,169 - INFO - Waiting for VM ctest-TestRoutersBasic-30306964-00175322 to be up.. 2026-09-07 15:30:10,239 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:30:15,313 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:30:20,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:30:25,470 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:30:30,545 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:30:35,633 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:30:40,778 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 15:30:45,850 - DEBUG - VM is in ACTIVE state now 2026-09-07 15:30:45,850 - INFO - VM name : ctest-TestRoutersBasic-30306964-00175322 2026-09-07 15:30:45,917 - DEBUG - VM ctest-TestRoutersBasic-30306964-00175322 ID is 31d55d07-1e8a-4420-b452-227411eb77b3 2026-09-07 15:30:45,935 - DEBUG - VM ctest-TestRoutersBasic-30306964-00175322 launched on Node cn-jenkins-deploy-platform-ansible-os-6261-1 2026-09-07 15:30:46,005 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/31d55d07-1e8a-4420-b452-227411eb77b3 2026-09-07 15:30:46,333 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/31d55d07-1e8a-4420-b452-227411eb77b3 2026-09-07 15:30:46,363 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f0bdd551-816c-4315-83e0-c746a45a51b0 2026-09-07 15:30:49,632 - 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 1026ms') 2026-09-07 15:30:49,633 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-30306964-00175322 failed! 2026-09-07 15:30:49,690 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30306964:ctest-vn-43725212 is 80.43.53.65 and allocation pool is NOT set 2026-09-07 15:30:51,748 - 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=11.4 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.458 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.458/5.942/11.426/5.484 ms') 2026-09-07 15:30:51,748 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-30306964-00175322 passed 2026-09-07 15:30:51,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 15:30:51,898 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30306964-00175322, IP 80.43.53.67, Port 22 2026-09-07 15:30:52,054 - DEBUG - VM ctest-TestRoutersBasic-30306964-00175322 is ready for SSH connections 2026-09-07 15:30:52,054 - INFO - Waiting for VM ctest-TestRoutersBasic-30306964-52037288 to be up.. 2026-09-07 15:30:52,123 - DEBUG - VM is in ACTIVE state now 2026-09-07 15:30:52,124 - INFO - VM name : ctest-TestRoutersBasic-30306964-52037288 2026-09-07 15:30:52,193 - DEBUG - VM ctest-TestRoutersBasic-30306964-52037288 ID is 1f3672b3-35e7-4316-83f3-d20c3cf9683c 2026-09-07 15:30:52,193 - DEBUG - VM ctest-TestRoutersBasic-30306964-52037288 launched on Node cn-jenkins-deploy-platform-ansible-os-6261-1 2026-09-07 15:30:52,265 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1f3672b3-35e7-4316-83f3-d20c3cf9683c 2026-09-07 15:30:52,273 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/304cbc48-8535-4cfe-98f7-ad4ada4f9b16 2026-09-07 15:30:55,520 - 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=11.4 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 11.351/11.351/11.351/0.000 ms') 2026-09-07 15:30:55,520 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-30306964-52037288 passed 2026-09-07 15:30:55,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 15:30:55,670 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30306964-52037288, IP 122.163.169.196, Port 22 2026-09-07 15:30:55,843 - DEBUG - VM ctest-TestRoutersBasic-30306964-52037288 is ready for SSH connections 2026-09-07 15:30:55,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 15:30:55,844 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.163.169.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-09-07 15:30:55,844 - DEBUG - ping -s 56 -c 3 -W 1 122.163.169.196 2026-09-07 15:30:58,760 - DEBUG - PING 122.163.169.196 (122.163.169.196): 56 data bytes 64 bytes from 122.163.169.196: seq=0 ttl=62 time=5.876 ms 64 bytes from 122.163.169.196: seq=1 ttl=62 time=0.931 ms 64 bytes from 122.163.169.196: seq=2 ttl=62 time=1.280 ms --- 122.163.169.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.931/2.695/5.876 ms 2026-09-07 15:30:58,760 - INFO - Ping to IP 122.163.169.196 from VM ctest-TestRoutersBasic-30306964-00175322 passed 2026-09-07 15:30:58,760 - INFO - Deleting interface with subnet_id 8c8fb975-5193-4917-bd26-bfc81a80e936, port_id None from router bb7753ac-14cb-48d0-96fb-2d63525fb949 2026-09-07 15:30:58,935 - INFO - Deleting VM ctest-TestRoutersBasic-30306964-52037288 2026-09-07 15:30:59,003 - INFO - Deleting VM ctest-TestRoutersBasic-30306964-00175322 2026-09-07 15:30:59,072 - INFO - Deleting VN ctest-ext_vn-52712437 2026-09-07 15:30:59,131 - DEBUG - VN 32d4b4fc-1bc9-4be9-8765-732e48710203 still in use: Unable to complete operation on network 32d4b4fc-1bc9-4be9-8765-732e48710203. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9756fc12-a342-4987-b895-7058243ac129'] 2026-09-07 15:30:59,131 - WARNING - Deleting VN ctest-ext_vn-52712437 failed..Will retry 2026-09-07 15:31:01,286 - DEBUG - Response for deleting network () 2026-09-07 15:31:01,286 - INFO - Deleting VN ctest-vn-43725212 2026-09-07 15:31:01,398 - DEBUG - Response for deleting network () 2026-09-07 15:31:01,664 - DEBUG - No XMPP flaps were noticed during the test
2026-09-07 15:31:01,665 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:55]
2026-09-07 15:31:01,665 - INFO - -------------------------------------------------------------------------------- 2026-09-07 15:31:02,415 - INFO - Deleted project: ctest-TestRoutersBasic-30306964, ID : 96913221-a5a8-4925-8845-47eebe639c05