2025-11-03 10:26:28,259 - INFO - Domain Default found not creating 2025-11-03 10:26:28,637 - INFO - Project ctest-TestRoutersBasic-86827731 not found, creating it 2025-11-03 10:26:29,382 - INFO - Created Project:ctest-TestRoutersBasic-86827731, ID : b70a216b-7f23-4f8b-9e79-2fde7695eb2d 2025-11-03 10:26:31,361 - INFO - ================================================================================ 2025-11-03 10:26:31,361 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-03 10:26:31,361 - 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 2025-11-03 10:26:31,668 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-03 10:26:31,669 - INFO - Initial checks done. Running the testcase now 2025-11-03 10:26:31,669 - INFO - 2025-11-03 10:26:32,480 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86827731 2025-11-03 10:26:32,585 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86827731 2025-11-03 10:26:32,950 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86827731', 'default']} 2025-11-03 10:26:33,435 - DEBUG - Response for create_network : {'network': {'id': '2ab48666-077f-424d-85e5-f91056167798', 'name': 'ctest-vn-80394474', 'tenant_id': 'b70a216b7f234f8b9e792fde7695eb2d', 'project_id': 'b70a216b7f234f8b9e792fde7695eb2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86827731', 'ctest-vn-80394474'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 10:26:33,706 - DEBUG - Response for create_subnet : {'subnet': {'id': '5db76d44-fe1c-47bd-8afc-5874de43e73d', 'name': '', 'tenant_id': 'b70a216b7f234f8b9e792fde7695eb2d', 'network_id': '2ab48666-077f-424d-85e5-f91056167798', 'ip_version': 4, 'cidr': '45.153.100.0/26', 'allocation_pools': [{'start': '45.153.100.2', 'end': '45.153.100.62'}], 'gateway_ip': '45.153.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.153.100.2', 'tags': [], 'project_id': 'b70a216b7f234f8b9e792fde7695eb2d'}} 2025-11-03 10:26:33,731 - INFO - Created VN ctest-vn-80394474 2025-11-03 10:26:33,781 - DEBUG - VN ctest-vn-80394474 UUID is 2ab48666-077f-424d-85e5-f91056167798 2025-11-03 10:26:34,201 - DEBUG - Response for create_network : {'network': {'id': 'bf6e91c9-d596-414d-8848-2c86852079a0', 'name': 'ctest-ext_vn-46491347', 'tenant_id': 'b70a216b7f234f8b9e792fde7695eb2d', 'project_id': 'b70a216b7f234f8b9e792fde7695eb2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86827731', 'ctest-ext_vn-46491347'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 10:26:34,448 - DEBUG - Response for create_subnet : {'subnet': {'id': '385d8f12-47fa-474c-8ed4-6f4a7d9c3e8e', 'name': '', 'tenant_id': 'b70a216b7f234f8b9e792fde7695eb2d', 'network_id': 'bf6e91c9-d596-414d-8848-2c86852079a0', 'ip_version': 4, 'cidr': '148.10.5.64/26', 'allocation_pools': [{'start': '148.10.5.66', 'end': '148.10.5.126'}], 'gateway_ip': '148.10.5.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.10.5.66', 'tags': [], 'project_id': 'b70a216b7f234f8b9e792fde7695eb2d'}} 2025-11-03 10:26:34,468 - INFO - Created VN ctest-ext_vn-46491347 2025-11-03 10:26:34,521 - DEBUG - VN ctest-ext_vn-46491347 UUID is bf6e91c9-d596-414d-8848-2c86852079a0 2025-11-03 10:26:34,838 - DEBUG - Services list from nova: [, , ] 2025-11-03 10:26:36,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4604-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4604-1) 2025-11-03 10:26:37,832 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4604-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4604-1) 2025-11-03 10:26:37,927 - INFO - Setting gateway for router a7c189a4-e628-447d-b3c2-4991cd03d347 to network bf6e91c9-d596-414d-8848-2c86852079a0 2025-11-03 10:26:37,992 - INFO - Adding interface with subnet_id 5db76d44-fe1c-47bd-8afc-5874de43e73d, port_id None to router a7c189a4-e628-447d-b3c2-4991cd03d347 2025-11-03 10:26:38,341 - INFO - Waiting for VM ctest-TestRoutersBasic-86827731-92958735 to be up.. 2025-11-03 10:26:38,473 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 10:26:43,645 - DEBUG - VM is in ACTIVE state now 2025-11-03 10:26:43,645 - INFO - VM name : ctest-TestRoutersBasic-86827731-92958735 2025-11-03 10:26:43,769 - DEBUG - VM ctest-TestRoutersBasic-86827731-92958735 ID is cfea6229-065f-4b07-8684-008493209506 2025-11-03 10:26:43,803 - DEBUG - VM ctest-TestRoutersBasic-86827731-92958735 launched on Node cn-jenkins-deploy-platform-ansible-os-4604-1 2025-11-03 10:26:43,945 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/cfea6229-065f-4b07-8684-008493209506 2025-11-03 10:26:44,265 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/cfea6229-065f-4b07-8684-008493209506 2025-11-03 10:26:44,318 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/673a1fc2-b7ed-485e-8ecd-21f93f2d1c45 2025-11-03 10:26:47,657 - 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 1032ms') 2025-11-03 10:26:47,657 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86827731-92958735 failed! 2025-11-03 10:26:47,718 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86827731:ctest-vn-80394474 is 45.153.100.1 and allocation pool is NOT set 2025-11-03 10:26:49,787 - 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=1 ttl=63 time=3.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.030/2.242/3.455/1.212 ms') 2025-11-03 10:26:49,787 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86827731-92958735 passed 2025-11-03 10:26:49,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:26:49,974 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86827731-92958735, IP 45.153.100.3, Port 22 2025-11-03 10:26:50,184 - DEBUG - VM ctest-TestRoutersBasic-86827731-92958735 is ready for SSH connections 2025-11-03 10:26:50,184 - INFO - Waiting for VM ctest-TestRoutersBasic-86827731-42504058 to be up.. 2025-11-03 10:26:50,332 - DEBUG - VM is in ACTIVE state now 2025-11-03 10:26:50,332 - INFO - VM name : ctest-TestRoutersBasic-86827731-42504058 2025-11-03 10:26:50,478 - DEBUG - VM ctest-TestRoutersBasic-86827731-42504058 ID is cf756366-19b4-4756-9230-74e4f76b3189 2025-11-03 10:26:50,478 - DEBUG - VM ctest-TestRoutersBasic-86827731-42504058 launched on Node cn-jenkins-deploy-platform-ansible-os-4604-1 2025-11-03 10:26:50,619 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/cf756366-19b4-4756-9230-74e4f76b3189 2025-11-03 10:26:50,637 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ebd8a10d-740e-4d30-afb6-946e024c7d97 2025-11-03 10:26:51,926 - 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=3.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.24 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.242/2.339/3.436/1.097 ms') 2025-11-03 10:26:51,927 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86827731-42504058 passed 2025-11-03 10:26:52,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:26:52,114 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86827731-42504058, IP 148.10.5.67, Port 22 2025-11-03 10:26:52,320 - DEBUG - VM ctest-TestRoutersBasic-86827731-42504058 is ready for SSH connections 2025-11-03 10:26:52,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 10:26:52,320 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.10.5.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-03 10:26:52,320 - DEBUG - ping -s 56 -c 3 -W 1 148.10.5.67 2025-11-03 10:26:56,580 - DEBUG - PING 148.10.5.67 (148.10.5.67): 56 data bytes 64 bytes from 148.10.5.67: seq=0 ttl=62 time=9.153 ms 64 bytes from 148.10.5.67: seq=1 ttl=62 time=1.912 ms 64 bytes from 148.10.5.67: seq=2 ttl=62 time=1.734 ms --- 148.10.5.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.734/4.266/9.153 ms 2025-11-03 10:26:56,580 - INFO - Ping to IP 148.10.5.67 from VM ctest-TestRoutersBasic-86827731-92958735 passed 2025-11-03 10:26:56,580 - INFO - Deleting interface with subnet_id 5db76d44-fe1c-47bd-8afc-5874de43e73d, port_id None from router a7c189a4-e628-447d-b3c2-4991cd03d347 2025-11-03 10:26:56,933 - INFO - Deleting VM ctest-TestRoutersBasic-86827731-42504058 2025-11-03 10:26:57,027 - INFO - Deleting VM ctest-TestRoutersBasic-86827731-92958735 2025-11-03 10:26:57,125 - INFO - Deleting VN ctest-ext_vn-46491347 2025-11-03 10:26:57,223 - DEBUG - VN bf6e91c9-d596-414d-8848-2c86852079a0 still in use: Unable to complete operation on network bf6e91c9-d596-414d-8848-2c86852079a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cc1b5d66-5a17-49c3-9c8e-8d4e29b63485'] 2025-11-03 10:26:57,223 - WARNING - Deleting VN ctest-ext_vn-46491347 failed..Will retry 2025-11-03 10:26:59,454 - DEBUG - Response for deleting network () 2025-11-03 10:26:59,455 - INFO - Deleting VN ctest-vn-80394474 2025-11-03 10:26:59,586 - DEBUG - Response for deleting network () 2025-11-03 10:26:59,910 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 10:26:59,911 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-11-03 10:26:59,911 - INFO - -------------------------------------------------------------------------------- 2025-11-03 10:27:00,725 - INFO - Deleted project: ctest-TestRoutersBasic-86827731, ID : b70a216b-7f23-4f8b-9e79-2fde7695eb2d