2025-05-07 07:47:40,662 - INFO - Domain Default found not creating 2025-05-07 07:47:40,789 - INFO - Project ctest-TestRoutersBasic-45380844 not found, creating it 2025-05-07 07:47:41,241 - INFO - Created Project:ctest-TestRoutersBasic-45380844, ID : 139478ca-b317-42bf-ab6c-b502c4c008b1 2025-05-07 07:47:42,608 - INFO - ================================================================================ 2025-05-07 07:47:42,608 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-07 07:47:42,608 - 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-05-07 07:47:42,869 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-07 07:47:42,869 - INFO - Initial checks done. Running the testcase now 2025-05-07 07:47:42,869 - INFO - 2025-05-07 07:47:43,583 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45380844 2025-05-07 07:47:43,682 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45380844 2025-05-07 07:47:44,005 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45380844', 'default']} 2025-05-07 07:47:44,299 - DEBUG - Response for create_network : {'network': {'id': '288015d3-71e7-4848-a5d2-85f32c5b8512', 'name': 'ctest-vn-39789022', 'tenant_id': '139478cab31742bfab6cb502c4c008b1', 'project_id': '139478cab31742bfab6cb502c4c008b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45380844', 'ctest-vn-39789022'], 'port_security_enabled': True, 'description': ''}} 2025-05-07 07:47:44,496 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd85ed298-8e6b-4a6c-b699-3abb89acd0d2', 'name': '', 'tenant_id': '139478cab31742bfab6cb502c4c008b1', 'network_id': '288015d3-71e7-4848-a5d2-85f32c5b8512', 'ip_version': 4, 'cidr': '148.212.243.128/26', 'allocation_pools': [{'start': '148.212.243.130', 'end': '148.212.243.190'}], 'gateway_ip': '148.212.243.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.212.243.130', 'tags': [], 'project_id': '139478cab31742bfab6cb502c4c008b1'}} 2025-05-07 07:47:44,519 - INFO - Created VN ctest-vn-39789022 2025-05-07 07:47:44,574 - DEBUG - VN ctest-vn-39789022 UUID is 288015d3-71e7-4848-a5d2-85f32c5b8512 2025-05-07 07:47:44,872 - DEBUG - Response for create_network : {'network': {'id': 'b8a29df6-167f-46ce-9e30-8af484d534fd', 'name': 'ctest-ext_vn-91193786', 'tenant_id': '139478cab31742bfab6cb502c4c008b1', 'project_id': '139478cab31742bfab6cb502c4c008b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45380844', 'ctest-ext_vn-91193786'], 'port_security_enabled': True, 'description': ''}} 2025-05-07 07:47:45,028 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae39b50e-0d39-49bf-a5fb-e22c72ce4cf8', 'name': '', 'tenant_id': '139478cab31742bfab6cb502c4c008b1', 'network_id': 'b8a29df6-167f-46ce-9e30-8af484d534fd', 'ip_version': 4, 'cidr': '90.226.233.128/26', 'allocation_pools': [{'start': '90.226.233.130', 'end': '90.226.233.190'}], 'gateway_ip': '90.226.233.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.226.233.130', 'tags': [], 'project_id': '139478cab31742bfab6cb502c4c008b1'}} 2025-05-07 07:47:45,049 - INFO - Created VN ctest-ext_vn-91193786 2025-05-07 07:47:45,101 - DEBUG - VN ctest-ext_vn-91193786 UUID is b8a29df6-167f-46ce-9e30-8af484d534fd 2025-05-07 07:47:45,304 - DEBUG - Services list from nova: [, , ] 2025-05-07 07:47:46,283 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3280-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3280-1) 2025-05-07 07:47:47,394 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3280-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3280-1) 2025-05-07 07:47:47,469 - INFO - Setting gateway for router 3ebb891c-2656-4412-9dde-f662ea6c3acf to network b8a29df6-167f-46ce-9e30-8af484d534fd 2025-05-07 07:47:47,526 - INFO - Adding interface with subnet_id d85ed298-8e6b-4a6c-b699-3abb89acd0d2, port_id None to router 3ebb891c-2656-4412-9dde-f662ea6c3acf 2025-05-07 07:47:47,896 - INFO - Waiting for VM ctest-TestRoutersBasic-45380844-12042008 to be up.. 2025-05-07 07:47:48,090 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-07 07:47:53,170 - DEBUG - VM is in ACTIVE state now 2025-05-07 07:47:53,170 - INFO - VM name : ctest-TestRoutersBasic-45380844-12042008 2025-05-07 07:47:53,248 - DEBUG - VM ctest-TestRoutersBasic-45380844-12042008 ID is 35cc8e37-8969-4fbe-929e-8d8d5b14e602 2025-05-07 07:47:53,267 - DEBUG - VM ctest-TestRoutersBasic-45380844-12042008 launched on Node cn-jenkins-deploy-platform-ansible-os-3280-1 2025-05-07 07:47:53,343 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/35cc8e37-8969-4fbe-929e-8d8d5b14e602 2025-05-07 07:47:53,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/35cc8e37-8969-4fbe-929e-8d8d5b14e602 2025-05-07 07:47:53,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2bdfb28c-c7e4-4d16-a560-8bae1ed81282 2025-05-07 07:47:56,921 - 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 1015ms') 2025-05-07 07:47:56,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45380844-12042008 failed! 2025-05-07 07:47:56,977 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45380844:ctest-vn-39789022 is 148.212.243.129 and allocation pool is NOT set 2025-05-07 07:47:59,040 - 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=2.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.385 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.385/1.526/2.667/1.141 ms') 2025-05-07 07:47:59,040 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45380844-12042008 passed 2025-05-07 07:47:59,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 07:47:59,194 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45380844-12042008, IP 148.212.243.131, Port 22 2025-05-07 07:47:59,345 - DEBUG - VM ctest-TestRoutersBasic-45380844-12042008 is ready for SSH connections 2025-05-07 07:47:59,345 - INFO - Waiting for VM ctest-TestRoutersBasic-45380844-03954159 to be up.. 2025-05-07 07:47:59,417 - DEBUG - VM is in ACTIVE state now 2025-05-07 07:47:59,417 - INFO - VM name : ctest-TestRoutersBasic-45380844-03954159 2025-05-07 07:47:59,485 - DEBUG - VM ctest-TestRoutersBasic-45380844-03954159 ID is 43745dbd-bf92-48b3-81b8-778efea7b196 2025-05-07 07:47:59,485 - DEBUG - VM ctest-TestRoutersBasic-45380844-03954159 launched on Node cn-jenkins-deploy-platform-ansible-os-3280-1 2025-05-07 07:47:59,556 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/43745dbd-bf92-48b3-81b8-778efea7b196 2025-05-07 07:47:59,566 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9db76b6b-ca50-45a1-8b19-6aff3a727091 2025-05-07 07:48:00,805 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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 = 0.393/1.587/2.781/1.194 ms') 2025-05-07 07:48:00,805 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-45380844-03954159 passed 2025-05-07 07:48:00,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 07:48:00,958 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45380844-03954159, IP 90.226.233.131, Port 22 2025-05-07 07:48:01,113 - DEBUG - VM ctest-TestRoutersBasic-45380844-03954159 is ready for SSH connections 2025-05-07 07:48:01,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 07:48:01,113 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.226.233.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-07 07:48:01,113 - DEBUG - ping -s 56 -c 3 -W 1 90.226.233.131 2025-05-07 07:48:04,782 - DEBUG - PING 90.226.233.131 (90.226.233.131): 56 data bytes 64 bytes from 90.226.233.131: seq=0 ttl=62 time=7.992 ms 64 bytes from 90.226.233.131: seq=1 ttl=62 time=0.788 ms 64 bytes from 90.226.233.131: seq=2 ttl=62 time=0.774 ms --- 90.226.233.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.774/3.184/7.992 ms 2025-05-07 07:48:04,782 - INFO - Ping to IP 90.226.233.131 from VM ctest-TestRoutersBasic-45380844-12042008 passed 2025-05-07 07:48:04,782 - INFO - Deleting interface with subnet_id d85ed298-8e6b-4a6c-b699-3abb89acd0d2, port_id None from router 3ebb891c-2656-4412-9dde-f662ea6c3acf 2025-05-07 07:48:04,963 - INFO - Deleting VM ctest-TestRoutersBasic-45380844-03954159 2025-05-07 07:48:05,026 - INFO - Deleting VM ctest-TestRoutersBasic-45380844-12042008 2025-05-07 07:48:05,109 - INFO - Deleting VN ctest-ext_vn-91193786 2025-05-07 07:48:05,169 - DEBUG - VN b8a29df6-167f-46ce-9e30-8af484d534fd still in use: Unable to complete operation on network b8a29df6-167f-46ce-9e30-8af484d534fd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f546685e-162d-4252-abc9-f598f43aa508'] 2025-05-07 07:48:05,170 - WARNING - Deleting VN ctest-ext_vn-91193786 failed..Will retry 2025-05-07 07:48:07,262 - DEBUG - Response for deleting network () 2025-05-07 07:48:07,262 - INFO - Deleting VN ctest-vn-39789022 2025-05-07 07:48:07,353 - DEBUG - Response for deleting network () 2025-05-07 07:48:07,611 - DEBUG - No XMPP flaps were noticed during the test 2025-05-07 07:48:07,611 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-05-07 07:48:07,611 - INFO - -------------------------------------------------------------------------------- 2025-05-07 07:48:08,271 - INFO - Deleted project: ctest-TestRoutersBasic-45380844, ID : 139478ca-b317-42bf-ab6c-b502c4c008b1