2026-01-29 15:42:03,829 - INFO - Reading existing Domain with UUID 15f28af7-a830-475b-bae4-ed3759af0601 2026-01-29 15:42:03,843 - INFO - Using existing domain ['admin_domain'](15f28af7-a830-475b-bae4-ed3759af0601) 2026-01-29 15:42:04,145 - INFO - Project ctest-TestRoutersBasic-81788514 not found, creating it 2026-01-29 15:42:04,794 - INFO - Created Project:ctest-TestRoutersBasic-81788514, ID : ad085491-195d-45e2-8007-e4df11149de1 2026-01-29 15:42:06,954 - INFO - ================================================================================ 2026-01-29 15:42:06,954 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-29 15:42:06,954 - 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-01-29 15:42:07,370 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.0.0.23': '0'}} with 2026-01-29 15:42:07,370 - INFO - Initial checks done. Running the testcase now 2026-01-29 15:42:07,370 - INFO - 2026-01-29 15:42:08,260 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81788514 2026-01-29 15:42:08,361 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81788514 2026-01-29 15:42:08,720 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-81788514', 'default']} 2026-01-29 15:42:09,327 - DEBUG - Response for create_network : {'network': {'id': 'e3b1e3f7-cf23-480e-badf-7dd7936e2e8f', 'name': 'ctest-vn-65418110', 'tenant_id': 'ad085491195d45e28007e4df11149de1', 'project_id': 'ad085491195d45e28007e4df11149de1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-81788514', 'ctest-vn-65418110'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-01-29 15:42:09,631 - DEBUG - Response for create_subnet : {'subnet': {'id': '40f0a582-9c8d-413d-b5ec-f99ca47cfb45', 'name': '', 'tenant_id': 'ad085491195d45e28007e4df11149de1', 'network_id': 'e3b1e3f7-cf23-480e-badf-7dd7936e2e8f', 'ip_version': 4, 'cidr': '9.15.112.0/26', 'allocation_pools': [{'start': '9.15.112.2', 'end': '9.15.112.62'}], 'gateway_ip': '9.15.112.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-01-29T15:42:09.509659', 'updated_at': '2026-01-29T15:42:09.509659', 'dns_server_address': '9.15.112.2', 'tags': [], 'project_id': 'ad085491195d45e28007e4df11149de1'}} 2026-01-29 15:42:09,699 - INFO - Created VN ctest-vn-65418110 2026-01-29 15:42:09,756 - DEBUG - VN ctest-vn-65418110 UUID is e3b1e3f7-cf23-480e-badf-7dd7936e2e8f 2026-01-29 15:42:10,395 - DEBUG - Response for create_network : {'network': {'id': '755970b0-b199-4b7c-8efa-a9f70f8c2cbe', 'name': 'ctest-ext_vn-61191150', 'tenant_id': 'ad085491195d45e28007e4df11149de1', 'project_id': 'ad085491195d45e28007e4df11149de1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-81788514', 'ctest-ext_vn-61191150'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-01-29 15:42:10,638 - DEBUG - Response for create_subnet : {'subnet': {'id': '0496f91a-8157-4e28-aabc-b36323f6e3ff', 'name': '', 'tenant_id': 'ad085491195d45e28007e4df11149de1', 'network_id': '755970b0-b199-4b7c-8efa-a9f70f8c2cbe', 'ip_version': 4, 'cidr': '46.237.209.128/26', 'allocation_pools': [{'start': '46.237.209.130', 'end': '46.237.209.190'}], 'gateway_ip': '46.237.209.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-01-29T15:42:10.524258', 'updated_at': '2026-01-29T15:42:10.524258', 'dns_server_address': '46.237.209.130', 'tags': [], 'project_id': 'ad085491195d45e28007e4df11149de1'}} 2026-01-29 15:42:10,711 - INFO - Created VN ctest-ext_vn-61191150 2026-01-29 15:42:10,768 - DEBUG - VN ctest-ext_vn-61191150 UUID is 755970b0-b199-4b7c-8efa-a9f70f8c2cbe 2026-01-29 15:42:11,087 - DEBUG - Services list from nova: [, , ] 2026-01-29 15:42:12,412 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-656-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-656-1) 2026-01-29 15:42:13,949 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-656-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-656-1) 2026-01-29 15:42:14,254 - INFO - Setting gateway for router 5f650d9c-4f06-47d3-822e-2b7ad1aa84e4 to network 755970b0-b199-4b7c-8efa-a9f70f8c2cbe 2026-01-29 15:42:14,435 - INFO - Adding interface with subnet_id 40f0a582-9c8d-413d-b5ec-f99ca47cfb45, port_id None to router 5f650d9c-4f06-47d3-822e-2b7ad1aa84e4 2026-01-29 15:42:15,317 - INFO - Waiting for VM ctest-TestRoutersBasic-81788514-15647854 to be up.. 2026-01-29 15:42:15,508 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 15:42:20,682 - DEBUG - VM is in ACTIVE state now 2026-01-29 15:42:20,682 - INFO - VM name : ctest-TestRoutersBasic-81788514-15647854 2026-01-29 15:42:20,862 - DEBUG - VM ctest-TestRoutersBasic-81788514-15647854 ID is 1c2647a8-32ef-4ecf-9ae8-33f4a470b78f 2026-01-29 15:42:20,919 - DEBUG - VM ctest-TestRoutersBasic-81788514-15647854 launched on Node cn-jenkins-deploy-platform-juju-os-656-1 2026-01-29 15:42:21,114 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine/1c2647a8-32ef-4ecf-9ae8-33f4a470b78f 2026-01-29 15:42:21,497 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine/1c2647a8-32ef-4ecf-9ae8-33f4a470b78f 2026-01-29 15:42:21,623 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine-interface/e25deaaa-137e-4f9b-8a99-8625087faaef 2026-01-29 15:42:25,179 - 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-01-29 15:42:25,180 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81788514-15647854 failed! 2026-01-29 15:42:25,248 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-81788514:ctest-vn-65418110 is 9.15.112.1 and allocation pool is NOT set 2026-01-29 15:42:29,376 - 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=2 ttl=63 time=3.97 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 3.972/3.972/3.972/0.000 ms') 2026-01-29 15:42:29,376 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81788514-15647854 passed 2026-01-29 15:42:29,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 15:42:29,556 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81788514-15647854, IP 9.15.112.3, Port 22 2026-01-29 15:42:29,776 - DEBUG - VM ctest-TestRoutersBasic-81788514-15647854 is ready for SSH connections 2026-01-29 15:42:29,776 - INFO - Waiting for VM ctest-TestRoutersBasic-81788514-83970316 to be up.. 2026-01-29 15:42:29,934 - DEBUG - VM is in ACTIVE state now 2026-01-29 15:42:29,934 - INFO - VM name : ctest-TestRoutersBasic-81788514-83970316 2026-01-29 15:42:30,130 - DEBUG - VM ctest-TestRoutersBasic-81788514-83970316 ID is 60e75148-d995-4631-a20d-05e1f3cd6c36 2026-01-29 15:42:30,131 - DEBUG - VM ctest-TestRoutersBasic-81788514-83970316 launched on Node cn-jenkins-deploy-platform-juju-os-656-1 2026-01-29 15:42:30,288 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine/60e75148-d995-4631-a20d-05e1f3cd6c36 2026-01-29 15:42:30,346 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine-interface/24e456d5-1e2c-4cbd-8539-4acc6b3a476b 2026-01-29 15:42:31,828 - 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=5.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.99 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 = 1.988/3.764/5.541/1.776 ms') 2026-01-29 15:42:31,828 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81788514-83970316 passed 2026-01-29 15:42:31,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 15:42:31,988 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81788514-83970316, IP 46.237.209.131, Port 22 2026-01-29 15:42:32,218 - DEBUG - VM ctest-TestRoutersBasic-81788514-83970316 is ready for SSH connections 2026-01-29 15:42:32,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 15:42:32,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.237.209.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-29 15:42:32,219 - DEBUG - ping -s 56 -c 3 -W 1 46.237.209.131 2026-01-29 15:42:36,022 - DEBUG - PING 46.237.209.131 (46.237.209.131): 56 data bytes 64 bytes from 46.237.209.131: seq=0 ttl=62 time=6.457 ms 64 bytes from 46.237.209.131: seq=1 ttl=62 time=1.535 ms 64 bytes from 46.237.209.131: seq=2 ttl=62 time=1.120 ms --- 46.237.209.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.120/3.037/6.457 ms 2026-01-29 15:42:36,022 - INFO - Ping to IP 46.237.209.131 from VM ctest-TestRoutersBasic-81788514-15647854 passed 2026-01-29 15:42:36,022 - INFO - Deleting interface with subnet_id 40f0a582-9c8d-413d-b5ec-f99ca47cfb45, port_id None from router 5f650d9c-4f06-47d3-822e-2b7ad1aa84e4 2026-01-29 15:42:36,559 - INFO - Deleting VM ctest-TestRoutersBasic-81788514-83970316 2026-01-29 15:42:36,693 - INFO - Deleting VM ctest-TestRoutersBasic-81788514-15647854 2026-01-29 15:42:36,844 - INFO - Deleting VN ctest-ext_vn-61191150 2026-01-29 15:42:37,133 - DEBUG - VN 755970b0-b199-4b7c-8efa-a9f70f8c2cbe still in use: Unable to complete operation on network 755970b0-b199-4b7c-8efa-a9f70f8c2cbe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a57340bc-ccaa-4baf-915f-caa112c294ee'] 2026-01-29 15:42:37,133 - WARNING - Deleting VN ctest-ext_vn-61191150 failed..Will retry 2026-01-29 15:42:39,343 - DEBUG - Response for deleting network () 2026-01-29 15:42:39,343 - INFO - Deleting VN ctest-vn-65418110 2026-01-29 15:42:39,555 - DEBUG - Response for deleting network () 2026-01-29 15:42:39,954 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 15:42:39,954 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33] 2026-01-29 15:42:39,955 - INFO - -------------------------------------------------------------------------------- 2026-01-29 15:42:40,785 - INFO - Deleted project: ctest-TestRoutersBasic-81788514, ID : ad085491-195d-45e2-8007-e4df11149de1