2025-06-19 08:07:48,094 - INFO - Domain Default found not creating 2025-06-19 08:07:48,264 - INFO - Project ctest-TestRoutersBasic-39114603 not found, creating it 2025-06-19 08:07:48,758 - INFO - Created Project:ctest-TestRoutersBasic-39114603, ID : b5b2e501-7b6d-4487-b41b-ace6ab1e853a 2025-06-19 08:07:50,321 - INFO - ================================================================================ 2025-06-19 08:07:50,321 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-19 08:07:50,321 - 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-06-19 08:07:50,599 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-19 08:07:50,599 - INFO - Initial checks done. Running the testcase now 2025-06-19 08:07:50,599 - INFO - 2025-06-19 08:07:51,410 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39114603 2025-06-19 08:07:51,510 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39114603 2025-06-19 08:07:51,834 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39114603', 'default']} 2025-06-19 08:07:52,196 - DEBUG - Response for create_network : {'network': {'id': '048971f8-626b-44ab-8561-f4e757f7b435', 'name': 'ctest-vn-47915811', 'tenant_id': 'b5b2e5017b6d4487b41bace6ab1e853a', 'project_id': 'b5b2e5017b6d4487b41bace6ab1e853a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39114603', 'ctest-vn-47915811'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:07:52,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bad5d66-6fe3-4c92-bb7d-5788c0c1e412', 'name': '', 'tenant_id': 'b5b2e5017b6d4487b41bace6ab1e853a', 'network_id': '048971f8-626b-44ab-8561-f4e757f7b435', 'ip_version': 4, 'cidr': '121.40.224.128/26', 'allocation_pools': [{'start': '121.40.224.130', 'end': '121.40.224.190'}], 'gateway_ip': '121.40.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.40.224.130', 'tags': [], 'project_id': 'b5b2e5017b6d4487b41bace6ab1e853a'}} 2025-06-19 08:07:52,384 - INFO - Created VN ctest-vn-47915811 2025-06-19 08:07:52,439 - DEBUG - VN ctest-vn-47915811 UUID is 048971f8-626b-44ab-8561-f4e757f7b435 2025-06-19 08:07:52,789 - DEBUG - Response for create_network : {'network': {'id': 'b5837ad8-9f31-4a9b-890c-becdcf6f14f8', 'name': 'ctest-ext_vn-08572886', 'tenant_id': 'b5b2e5017b6d4487b41bace6ab1e853a', 'project_id': 'b5b2e5017b6d4487b41bace6ab1e853a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39114603', 'ctest-ext_vn-08572886'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:07:52,966 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd3cd6a1-8700-40c9-a05e-52fbd14059e2', 'name': '', 'tenant_id': 'b5b2e5017b6d4487b41bace6ab1e853a', 'network_id': 'b5837ad8-9f31-4a9b-890c-becdcf6f14f8', 'ip_version': 4, 'cidr': '12.82.248.192/26', 'allocation_pools': [{'start': '12.82.248.194', 'end': '12.82.248.254'}], 'gateway_ip': '12.82.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.82.248.194', 'tags': [], 'project_id': 'b5b2e5017b6d4487b41bace6ab1e853a'}} 2025-06-19 08:07:52,985 - INFO - Created VN ctest-ext_vn-08572886 2025-06-19 08:07:53,038 - DEBUG - VN ctest-ext_vn-08572886 UUID is b5837ad8-9f31-4a9b-890c-becdcf6f14f8 2025-06-19 08:07:53,242 - DEBUG - Services list from nova: [, , ] 2025-06-19 08:07:54,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3485-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3485-1) 2025-06-19 08:07:55,652 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3485-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3485-1) 2025-06-19 08:07:55,728 - INFO - Setting gateway for router d548495d-0817-414f-a03c-e92550d8ad51 to network b5837ad8-9f31-4a9b-890c-becdcf6f14f8 2025-06-19 08:07:55,826 - INFO - Adding interface with subnet_id 4bad5d66-6fe3-4c92-bb7d-5788c0c1e412, port_id None to router d548495d-0817-414f-a03c-e92550d8ad51 2025-06-19 08:07:56,350 - INFO - Waiting for VM ctest-TestRoutersBasic-39114603-74699637 to be up.. 2025-06-19 08:07:56,532 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 08:08:01,612 - DEBUG - VM is in ACTIVE state now 2025-06-19 08:08:01,612 - INFO - VM name : ctest-TestRoutersBasic-39114603-74699637 2025-06-19 08:08:01,686 - DEBUG - VM ctest-TestRoutersBasic-39114603-74699637 ID is 26f8511c-5fb2-428c-9af2-229c6d3c305a 2025-06-19 08:08:01,705 - DEBUG - VM ctest-TestRoutersBasic-39114603-74699637 launched on Node cn-jenkins-deploy-platform-ansible-os-3485-1 2025-06-19 08:08:01,784 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/26f8511c-5fb2-428c-9af2-229c6d3c305a 2025-06-19 08:08:02,122 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/26f8511c-5fb2-428c-9af2-229c6d3c305a 2025-06-19 08:08:02,165 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8fc183f4-250e-448d-a1cd-70932f6e43ff 2025-06-19 08:08:05,460 - 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') 2025-06-19 08:08:05,460 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39114603-74699637 failed! 2025-06-19 08:08:05,514 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39114603:ctest-vn-47915811 is 121.40.224.129 and allocation pool is NOT set 2025-06-19 08:08:07,571 - 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=4.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.67 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.667/2.883/4.099/1.216 ms') 2025-06-19 08:08:07,572 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39114603-74699637 passed 2025-06-19 08:08:07,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:08:07,722 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39114603-74699637, IP 121.40.224.131, Port 22 2025-06-19 08:08:07,878 - DEBUG - VM ctest-TestRoutersBasic-39114603-74699637 is ready for SSH connections 2025-06-19 08:08:07,878 - INFO - Waiting for VM ctest-TestRoutersBasic-39114603-63942994 to be up.. 2025-06-19 08:08:07,958 - DEBUG - VM is in ACTIVE state now 2025-06-19 08:08:07,958 - INFO - VM name : ctest-TestRoutersBasic-39114603-63942994 2025-06-19 08:08:08,031 - DEBUG - VM ctest-TestRoutersBasic-39114603-63942994 ID is 5838f127-f47a-4f6e-bc6d-a715d9ae1759 2025-06-19 08:08:08,031 - DEBUG - VM ctest-TestRoutersBasic-39114603-63942994 launched on Node cn-jenkins-deploy-platform-ansible-os-3485-1 2025-06-19 08:08:08,102 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5838f127-f47a-4f6e-bc6d-a715d9ae1759 2025-06-19 08:08:08,111 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7f3f9b07-cdac-4422-b828-5cac825d87e9 2025-06-19 08:08:09,351 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.593/2.771/1.177 ms') 2025-06-19 08:08:09,351 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-39114603-63942994 passed 2025-06-19 08:08:09,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:08:09,506 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39114603-63942994, IP 12.82.248.195, Port 22 2025-06-19 08:08:09,661 - DEBUG - VM ctest-TestRoutersBasic-39114603-63942994 is ready for SSH connections 2025-06-19 08:08:09,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:08:09,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.82.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-19 08:08:09,662 - DEBUG - ping -s 56 -c 3 -W 1 12.82.248.195 2025-06-19 08:08:13,793 - DEBUG - PING 12.82.248.195 (12.82.248.195): 56 data bytes 64 bytes from 12.82.248.195: seq=0 ttl=62 time=5.172 ms 64 bytes from 12.82.248.195: seq=1 ttl=62 time=1.016 ms 64 bytes from 12.82.248.195: seq=2 ttl=62 time=0.935 ms --- 12.82.248.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.935/2.374/5.172 ms 2025-06-19 08:08:13,793 - INFO - Ping to IP 12.82.248.195 from VM ctest-TestRoutersBasic-39114603-74699637 passed 2025-06-19 08:08:13,793 - INFO - Deleting interface with subnet_id 4bad5d66-6fe3-4c92-bb7d-5788c0c1e412, port_id None from router d548495d-0817-414f-a03c-e92550d8ad51 2025-06-19 08:08:13,993 - INFO - Deleting VM ctest-TestRoutersBasic-39114603-63942994 2025-06-19 08:08:14,062 - INFO - Deleting VM ctest-TestRoutersBasic-39114603-74699637 2025-06-19 08:08:14,146 - INFO - Deleting VN ctest-ext_vn-08572886 2025-06-19 08:08:14,224 - DEBUG - VN b5837ad8-9f31-4a9b-890c-becdcf6f14f8 still in use: Unable to complete operation on network b5837ad8-9f31-4a9b-890c-becdcf6f14f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-59161e67-00c3-442c-807f-7234113267a0'] 2025-06-19 08:08:14,224 - WARNING - Deleting VN ctest-ext_vn-08572886 failed..Will retry 2025-06-19 08:08:16,337 - DEBUG - Response for deleting network () 2025-06-19 08:08:16,338 - INFO - Deleting VN ctest-vn-47915811 2025-06-19 08:08:16,450 - DEBUG - Response for deleting network () 2025-06-19 08:08:16,705 - DEBUG - No XMPP flaps were noticed during the test 2025-06-19 08:08:16,705 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-19 08:08:16,705 - INFO - -------------------------------------------------------------------------------- 2025-06-19 08:08:17,444 - INFO - Deleted project: ctest-TestRoutersBasic-39114603, ID : b5b2e501-7b6d-4487-b41b-ace6ab1e853a