2026-06-15 17:12:42,148 - INFO - Domain Default found not creating 2026-06-15 17:12:42,283 - INFO - Project ctest-TestRoutersBasic-20408148 not found, creating it 2026-06-15 17:12:42,734 - INFO - Created Project:ctest-TestRoutersBasic-20408148, ID : 33b6471e-aa53-432c-acb1-b284add21eec 2026-06-15 17:12:44,234 - INFO - ================================================================================ 2026-06-15 17:12:44,234 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-15 17:12:44,234 - 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-06-15 17:12:44,495 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-15 17:12:44,495 - INFO - Initial checks done. Running the testcase now 2026-06-15 17:12:44,496 - INFO - 2026-06-15 17:12:45,250 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-20408148 2026-06-15 17:12:45,346 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-20408148 2026-06-15 17:12:45,670 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20408148', 'default']} 2026-06-15 17:12:45,935 - DEBUG - Response for create_network : {'network': {'id': 'db95fb6e-f363-4534-a776-9ffa33ac51bd', 'name': 'ctest-vn-16805825', 'tenant_id': '33b6471eaa53432cacb1b284add21eec', 'project_id': '33b6471eaa53432cacb1b284add21eec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20408148', 'ctest-vn-16805825'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 17:12:46,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '95258876-93be-436a-b74e-b2367cb9558b', 'name': '', 'tenant_id': '33b6471eaa53432cacb1b284add21eec', 'network_id': 'db95fb6e-f363-4534-a776-9ffa33ac51bd', 'ip_version': 4, 'cidr': '15.38.81.128/26', 'allocation_pools': [{'start': '15.38.81.130', 'end': '15.38.81.190'}], 'gateway_ip': '15.38.81.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.38.81.130', 'tags': [], 'project_id': '33b6471eaa53432cacb1b284add21eec'}} 2026-06-15 17:12:46,107 - INFO - Created VN ctest-vn-16805825 2026-06-15 17:12:46,158 - DEBUG - VN ctest-vn-16805825 UUID is db95fb6e-f363-4534-a776-9ffa33ac51bd 2026-06-15 17:12:46,461 - DEBUG - Response for create_network : {'network': {'id': '5f9acb68-1d28-4df1-9954-9d1dbdabf265', 'name': 'ctest-ext_vn-98415544', 'tenant_id': '33b6471eaa53432cacb1b284add21eec', 'project_id': '33b6471eaa53432cacb1b284add21eec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20408148', 'ctest-ext_vn-98415544'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 17:12:46,675 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edfefc0b-db6f-4fc7-bf6c-cf61acac9e9f', 'name': '', 'tenant_id': '33b6471eaa53432cacb1b284add21eec', 'network_id': '5f9acb68-1d28-4df1-9954-9d1dbdabf265', 'ip_version': 4, 'cidr': '48.61.88.192/26', 'allocation_pools': [{'start': '48.61.88.194', 'end': '48.61.88.254'}], 'gateway_ip': '48.61.88.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.61.88.194', 'tags': [], 'project_id': '33b6471eaa53432cacb1b284add21eec'}} 2026-06-15 17:12:46,689 - INFO - Created VN ctest-ext_vn-98415544 2026-06-15 17:12:46,738 - DEBUG - VN ctest-ext_vn-98415544 UUID is 5f9acb68-1d28-4df1-9954-9d1dbdabf265 2026-06-15 17:12:46,924 - DEBUG - Services list from nova: [, , ] 2026-06-15 17:12:47,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5948-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5948-1) 2026-06-15 17:12:49,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5948-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5948-1) 2026-06-15 17:12:49,063 - INFO - Setting gateway for router 46f95ffc-12bf-4f85-952b-6a0ae8db2e9d to network 5f9acb68-1d28-4df1-9954-9d1dbdabf265 2026-06-15 17:12:49,100 - INFO - Adding interface with subnet_id 95258876-93be-436a-b74e-b2367cb9558b, port_id None to router 46f95ffc-12bf-4f85-952b-6a0ae8db2e9d 2026-06-15 17:12:49,286 - INFO - Waiting for VM ctest-TestRoutersBasic-20408148-56566493 to be up.. 2026-06-15 17:12:49,327 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 17:12:54,406 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 17:12:59,482 - DEBUG - VM is in ACTIVE state now 2026-06-15 17:12:59,482 - INFO - VM name : ctest-TestRoutersBasic-20408148-56566493 2026-06-15 17:12:59,552 - DEBUG - VM ctest-TestRoutersBasic-20408148-56566493 ID is f3760cc6-2f95-4cef-9f94-ae552c501052 2026-06-15 17:12:59,568 - DEBUG - VM ctest-TestRoutersBasic-20408148-56566493 launched on Node cn-jenkins-deploy-platform-ansible-os-5948-1 2026-06-15 17:12:59,626 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f3760cc6-2f95-4cef-9f94-ae552c501052 2026-06-15 17:12:59,946 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f3760cc6-2f95-4cef-9f94-ae552c501052 2026-06-15 17:12:59,969 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a931e2d5-dd6c-46da-ab37-28cd5d73ff1e 2026-06-15 17:13:03,213 - 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 1008ms') 2026-06-15 17:13:03,213 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-20408148-56566493 failed! 2026-06-15 17:13:03,266 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-20408148:ctest-vn-16805825 is 15.38.81.129 and allocation pool is NOT set 2026-06-15 17:13:05,329 - 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=4.65 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.524 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.524/2.586/4.649/2.062 ms') 2026-06-15 17:13:05,329 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-20408148-56566493 passed 2026-06-15 17:13:05,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 17:13:05,478 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20408148-56566493, IP 15.38.81.131, Port 22 2026-06-15 17:13:05,644 - DEBUG - VM ctest-TestRoutersBasic-20408148-56566493 is ready for SSH connections 2026-06-15 17:13:05,644 - INFO - Waiting for VM ctest-TestRoutersBasic-20408148-86604099 to be up.. 2026-06-15 17:13:05,707 - DEBUG - VM is in ACTIVE state now 2026-06-15 17:13:05,707 - INFO - VM name : ctest-TestRoutersBasic-20408148-86604099 2026-06-15 17:13:05,765 - DEBUG - VM ctest-TestRoutersBasic-20408148-86604099 ID is 24f9e392-bb53-4d84-b4a0-17291e4a7b0c 2026-06-15 17:13:05,766 - DEBUG - VM ctest-TestRoutersBasic-20408148-86604099 launched on Node cn-jenkins-deploy-platform-ansible-os-5948-1 2026-06-15 17:13:05,827 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/24f9e392-bb53-4d84-b4a0-17291e4a7b0c 2026-06-15 17:13:05,834 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2766b7b4-8309-4229-97a4-498d59a16788 2026-06-15 17:13:07,071 - 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.73 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.776 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.776/2.251/3.727/1.475 ms') 2026-06-15 17:13:07,071 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-20408148-86604099 passed 2026-06-15 17:13:07,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 17:13:07,222 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20408148-86604099, IP 48.61.88.196, Port 22 2026-06-15 17:13:07,378 - DEBUG - VM ctest-TestRoutersBasic-20408148-86604099 is ready for SSH connections 2026-06-15 17:13:07,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 17:13:07,378 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.61.88.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-15 17:13:07,378 - DEBUG - ping -s 56 -c 3 -W 1 48.61.88.196 2026-06-15 17:13:09,916 - DEBUG - PING 48.61.88.196 (48.61.88.196): 56 data bytes 64 bytes from 48.61.88.196: seq=0 ttl=62 time=4.992 ms 64 bytes from 48.61.88.196: seq=1 ttl=62 time=0.781 ms 64 bytes from 48.61.88.196: seq=2 ttl=62 time=1.089 ms --- 48.61.88.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/2.287/4.992 ms 2026-06-15 17:13:09,916 - INFO - Ping to IP 48.61.88.196 from VM ctest-TestRoutersBasic-20408148-56566493 passed 2026-06-15 17:13:09,916 - INFO - Deleting interface with subnet_id 95258876-93be-436a-b74e-b2367cb9558b, port_id None from router 46f95ffc-12bf-4f85-952b-6a0ae8db2e9d 2026-06-15 17:13:10,075 - INFO - Deleting VM ctest-TestRoutersBasic-20408148-86604099 2026-06-15 17:13:10,140 - INFO - Deleting VM ctest-TestRoutersBasic-20408148-56566493 2026-06-15 17:13:10,208 - INFO - Deleting VN ctest-ext_vn-98415544 2026-06-15 17:13:10,256 - DEBUG - VN 5f9acb68-1d28-4df1-9954-9d1dbdabf265 still in use: Unable to complete operation on network 5f9acb68-1d28-4df1-9954-9d1dbdabf265. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f7fb6bbd-1190-419a-a2d0-cbc653df15a9'] 2026-06-15 17:13:10,256 - WARNING - Deleting VN ctest-ext_vn-98415544 failed..Will retry 2026-06-15 17:13:12,354 - DEBUG - Response for deleting network () 2026-06-15 17:13:12,354 - INFO - Deleting VN ctest-vn-16805825 2026-06-15 17:13:12,440 - DEBUG - Response for deleting network () 2026-06-15 17:13:12,707 - DEBUG - No XMPP flaps were noticed during the test
2026-06-15 17:13:12,707 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2026-06-15 17:13:12,707 - INFO - -------------------------------------------------------------------------------- 2026-06-15 17:13:13,379 - INFO - Deleted project: ctest-TestRoutersBasic-20408148, ID : 33b6471e-aa53-432c-acb1-b284add21eec