2025-11-18 11:10:41,579 - INFO - Domain Default found not creating 2025-11-18 11:10:41,735 - INFO - Project ctest-TestRoutersBasic-34330032 not found, creating it 2025-11-18 11:10:42,179 - INFO - Created Project:ctest-TestRoutersBasic-34330032, ID : 4bf1ab3c-b5d1-4195-9561-86af7c32a4a0 2025-11-18 11:10:43,678 - INFO - ================================================================================ 2025-11-18 11:10:43,678 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-18 11:10:43,678 - 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-18 11:10:43,941 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-11-18 11:10:43,941 - INFO - Initial checks done. Running the testcase now 2025-11-18 11:10:43,941 - INFO - 2025-11-18 11:10:44,650 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34330032 2025-11-18 11:10:44,747 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34330032 2025-11-18 11:10:45,074 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34330032', 'default']} 2025-11-18 11:10:45,368 - DEBUG - Response for create_network : {'network': {'id': '8034434e-581a-4b43-8599-27bab8685c7c', 'name': 'ctest-vn-51294793', 'tenant_id': '4bf1ab3cb5d14195956186af7c32a4a0', 'project_id': '4bf1ab3cb5d14195956186af7c32a4a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34330032', 'ctest-vn-51294793'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 11:10:45,586 - DEBUG - Response for create_subnet : {'subnet': {'id': '16006052-7fac-4c35-a921-8e54755ff42d', 'name': '', 'tenant_id': '4bf1ab3cb5d14195956186af7c32a4a0', 'network_id': '8034434e-581a-4b43-8599-27bab8685c7c', 'ip_version': 4, 'cidr': '209.98.4.0/26', 'allocation_pools': [{'start': '209.98.4.2', 'end': '209.98.4.62'}], 'gateway_ip': '209.98.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.98.4.2', 'tags': [], 'project_id': '4bf1ab3cb5d14195956186af7c32a4a0'}} 2025-11-18 11:10:45,603 - INFO - Created VN ctest-vn-51294793 2025-11-18 11:10:45,659 - DEBUG - VN ctest-vn-51294793 UUID is 8034434e-581a-4b43-8599-27bab8685c7c 2025-11-18 11:10:45,959 - DEBUG - Response for create_network : {'network': {'id': 'b31cf34a-48bd-4afe-b541-0124900ad83e', 'name': 'ctest-ext_vn-72128318', 'tenant_id': '4bf1ab3cb5d14195956186af7c32a4a0', 'project_id': '4bf1ab3cb5d14195956186af7c32a4a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34330032', 'ctest-ext_vn-72128318'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 11:10:46,167 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cc480ee-8806-4229-b7f7-4bc11d9c715f', 'name': '', 'tenant_id': '4bf1ab3cb5d14195956186af7c32a4a0', 'network_id': 'b31cf34a-48bd-4afe-b541-0124900ad83e', 'ip_version': 4, 'cidr': '49.137.139.0/26', 'allocation_pools': [{'start': '49.137.139.2', 'end': '49.137.139.62'}], 'gateway_ip': '49.137.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.137.139.2', 'tags': [], 'project_id': '4bf1ab3cb5d14195956186af7c32a4a0'}} 2025-11-18 11:10:46,186 - INFO - Created VN ctest-ext_vn-72128318 2025-11-18 11:10:46,238 - DEBUG - VN ctest-ext_vn-72128318 UUID is b31cf34a-48bd-4afe-b541-0124900ad83e 2025-11-18 11:10:46,418 - DEBUG - Services list from nova: [, , ] 2025-11-18 11:10:47,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4754-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4754-1) 2025-11-18 11:10:48,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4754-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4754-1) 2025-11-18 11:10:48,710 - INFO - Setting gateway for router 0f233674-04cd-465c-99fb-fe490d47f1b1 to network b31cf34a-48bd-4afe-b541-0124900ad83e 2025-11-18 11:10:48,799 - INFO - Adding interface with subnet_id 16006052-7fac-4c35-a921-8e54755ff42d, port_id None to router 0f233674-04cd-465c-99fb-fe490d47f1b1 2025-11-18 11:10:49,277 - INFO - Waiting for VM ctest-TestRoutersBasic-34330032-62102050 to be up.. 2025-11-18 11:10:49,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 11:10:54,506 - DEBUG - VM is in ACTIVE state now 2025-11-18 11:10:54,506 - INFO - VM name : ctest-TestRoutersBasic-34330032-62102050 2025-11-18 11:10:54,591 - DEBUG - VM ctest-TestRoutersBasic-34330032-62102050 ID is 735e5129-333e-4f69-970f-3162ba977d09 2025-11-18 11:10:54,610 - DEBUG - VM ctest-TestRoutersBasic-34330032-62102050 launched on Node cn-jenkins-deploy-platform-ansible-os-4754-1 2025-11-18 11:10:54,680 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/735e5129-333e-4f69-970f-3162ba977d09 2025-11-18 11:10:54,976 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/735e5129-333e-4f69-970f-3162ba977d09 2025-11-18 11:10:55,014 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/37388e00-acbc-459e-9649-30309dcf78a7 2025-11-18 11:10:58,272 - 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 1019ms') 2025-11-18 11:10:58,272 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34330032-62102050 failed! 2025-11-18 11:10:58,335 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34330032:ctest-vn-51294793 is 209.98.4.1 and allocation pool is NOT set 2025-11-18 11:11:00,392 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.436 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 = 0.436/2.019/3.603/1.583 ms') 2025-11-18 11:11:00,393 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34330032-62102050 passed 2025-11-18 11:11:00,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 11:11:00,539 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34330032-62102050, IP 209.98.4.3, Port 22 2025-11-18 11:11:00,698 - DEBUG - VM ctest-TestRoutersBasic-34330032-62102050 is ready for SSH connections 2025-11-18 11:11:00,698 - INFO - Waiting for VM ctest-TestRoutersBasic-34330032-68243439 to be up.. 2025-11-18 11:11:00,768 - DEBUG - VM is in ACTIVE state now 2025-11-18 11:11:00,768 - INFO - VM name : ctest-TestRoutersBasic-34330032-68243439 2025-11-18 11:11:00,842 - DEBUG - VM ctest-TestRoutersBasic-34330032-68243439 ID is 6afcfa9c-8bd0-4b32-bb01-3767b0d957c3 2025-11-18 11:11:00,842 - DEBUG - VM ctest-TestRoutersBasic-34330032-68243439 launched on Node cn-jenkins-deploy-platform-ansible-os-4754-1 2025-11-18 11:11:00,908 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6afcfa9c-8bd0-4b32-bb01-3767b0d957c3 2025-11-18 11:11:00,922 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/96fefe04-9e0f-421c-9cdc-1fdc2168df27 2025-11-18 11:11:02,153 - 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=2.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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 = 0.436/1.631/2.826/1.195 ms') 2025-11-18 11:11:02,153 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34330032-68243439 passed 2025-11-18 11:11:02,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 11:11:02,307 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34330032-68243439, IP 49.137.139.3, Port 22 2025-11-18 11:11:02,463 - DEBUG - VM ctest-TestRoutersBasic-34330032-68243439 is ready for SSH connections 2025-11-18 11:11:02,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 11:11:02,463 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.137.139.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-18 11:11:02,463 - DEBUG - ping -s 56 -c 3 -W 1 49.137.139.3 2025-11-18 11:11:06,171 - DEBUG - PING 49.137.139.3 (49.137.139.3): 56 data bytes 64 bytes from 49.137.139.3: seq=0 ttl=62 time=5.784 ms 64 bytes from 49.137.139.3: seq=1 ttl=62 time=0.879 ms 64 bytes from 49.137.139.3: seq=2 ttl=62 time=0.943 ms --- 49.137.139.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.879/2.535/5.784 ms 2025-11-18 11:11:06,171 - INFO - Ping to IP 49.137.139.3 from VM ctest-TestRoutersBasic-34330032-62102050 passed 2025-11-18 11:11:06,171 - INFO - Deleting interface with subnet_id 16006052-7fac-4c35-a921-8e54755ff42d, port_id None from router 0f233674-04cd-465c-99fb-fe490d47f1b1 2025-11-18 11:11:06,342 - INFO - Deleting VM ctest-TestRoutersBasic-34330032-68243439 2025-11-18 11:11:06,403 - INFO - Deleting VM ctest-TestRoutersBasic-34330032-62102050 2025-11-18 11:11:06,481 - INFO - Deleting VN ctest-ext_vn-72128318 2025-11-18 11:11:06,546 - DEBUG - VN b31cf34a-48bd-4afe-b541-0124900ad83e still in use: Unable to complete operation on network b31cf34a-48bd-4afe-b541-0124900ad83e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef844530-d620-444d-8acf-22abc4889881'] 2025-11-18 11:11:06,546 - WARNING - Deleting VN ctest-ext_vn-72128318 failed..Will retry 2025-11-18 11:11:08,653 - DEBUG - Response for deleting network () 2025-11-18 11:11:08,653 - INFO - Deleting VN ctest-vn-51294793 2025-11-18 11:11:08,765 - DEBUG - Response for deleting network () 2025-11-18 11:11:09,019 - DEBUG - No XMPP flaps were noticed during the test 2025-11-18 11:11:09,020 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-11-18 11:11:09,020 - INFO - -------------------------------------------------------------------------------- 2025-11-18 11:11:09,712 - INFO - Deleted project: ctest-TestRoutersBasic-34330032, ID : 4bf1ab3c-b5d1-4195-9561-86af7c32a4a0