2025-03-19 11:19:43,224 - INFO - Domain Default found not creating 2025-03-19 11:19:43,358 - INFO - Project ctest-TestRoutersBasic-79930496 not found, creating it 2025-03-19 11:19:43,824 - INFO - Created Project:ctest-TestRoutersBasic-79930496, ID : d41e8f44-d976-4fac-a69e-29b8d9b313f7 2025-03-19 11:19:45,205 - INFO - ================================================================================ 2025-03-19 11:19:45,205 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-19 11:19:45,205 - 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-03-19 11:19:45,459 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.7': '0'}} with 2025-03-19 11:19:45,459 - INFO - Initial checks done. Running the testcase now 2025-03-19 11:19:45,459 - INFO - 2025-03-19 11:19:46,154 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79930496 2025-03-19 11:19:46,253 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79930496 2025-03-19 11:19:46,577 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79930496', 'default']} 2025-03-19 11:19:46,909 - DEBUG - Response for create_network : {'network': {'id': '4b0caa85-c09a-424b-a262-d649b01264fe', 'name': 'ctest-vn-11169659', 'tenant_id': 'd41e8f44d9764faca69e29b8d9b313f7', 'project_id': 'd41e8f44d9764faca69e29b8d9b313f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79930496', 'ctest-vn-11169659'], 'port_security_enabled': True, 'description': ''}} 2025-03-19 11:19:47,092 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a15ce27-365d-49e2-a557-5d68c9fef36b', 'name': '', 'tenant_id': 'd41e8f44d9764faca69e29b8d9b313f7', 'network_id': '4b0caa85-c09a-424b-a262-d649b01264fe', 'ip_version': 4, 'cidr': '80.141.50.0/26', 'allocation_pools': [{'start': '80.141.50.2', 'end': '80.141.50.62'}], 'gateway_ip': '80.141.50.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.141.50.2', 'tags': [], 'project_id': 'd41e8f44d9764faca69e29b8d9b313f7'}} 2025-03-19 11:19:47,111 - INFO - Created VN ctest-vn-11169659 2025-03-19 11:19:47,165 - DEBUG - VN ctest-vn-11169659 UUID is 4b0caa85-c09a-424b-a262-d649b01264fe 2025-03-19 11:19:47,522 - DEBUG - Response for create_network : {'network': {'id': 'c352d5df-a0ae-4162-adda-77d0c15850d3', 'name': 'ctest-ext_vn-40170942', 'tenant_id': 'd41e8f44d9764faca69e29b8d9b313f7', 'project_id': 'd41e8f44d9764faca69e29b8d9b313f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79930496', 'ctest-ext_vn-40170942'], 'port_security_enabled': True, 'description': ''}} 2025-03-19 11:19:47,715 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b2954fa-9c0d-4064-aed0-a8bfc33d1998', 'name': '', 'tenant_id': 'd41e8f44d9764faca69e29b8d9b313f7', 'network_id': 'c352d5df-a0ae-4162-adda-77d0c15850d3', 'ip_version': 4, 'cidr': '183.198.218.192/26', 'allocation_pools': [{'start': '183.198.218.194', 'end': '183.198.218.254'}], 'gateway_ip': '183.198.218.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.198.218.194', 'tags': [], 'project_id': 'd41e8f44d9764faca69e29b8d9b313f7'}} 2025-03-19 11:19:47,732 - INFO - Created VN ctest-ext_vn-40170942 2025-03-19 11:19:47,785 - DEBUG - VN ctest-ext_vn-40170942 UUID is c352d5df-a0ae-4162-adda-77d0c15850d3 2025-03-19 11:19:47,953 - DEBUG - Services list from nova: [, , ] 2025-03-19 11:19:48,973 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2920-1) 2025-03-19 11:19:50,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2920-1) 2025-03-19 11:19:50,289 - INFO - Setting gateway for router 2c16834a-265a-44ec-a889-866f1a90f0bf to network c352d5df-a0ae-4162-adda-77d0c15850d3 2025-03-19 11:19:50,365 - INFO - Adding interface with subnet_id 4a15ce27-365d-49e2-a557-5d68c9fef36b, port_id None to router 2c16834a-265a-44ec-a889-866f1a90f0bf 2025-03-19 11:19:50,828 - INFO - Waiting for VM ctest-TestRoutersBasic-79930496-76584977 to be up.. 2025-03-19 11:19:51,030 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-19 11:19:56,105 - DEBUG - VM is in ACTIVE state now 2025-03-19 11:19:56,105 - INFO - VM name : ctest-TestRoutersBasic-79930496-76584977 2025-03-19 11:19:56,177 - DEBUG - VM ctest-TestRoutersBasic-79930496-76584977 ID is 1302e527-aff2-4fcb-bbf5-d61821cb8ce7 2025-03-19 11:19:56,194 - DEBUG - VM ctest-TestRoutersBasic-79930496-76584977 launched on Node cn-jenkins-deploy-platform-ansible-os-2920-1 2025-03-19 11:19:56,280 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/1302e527-aff2-4fcb-bbf5-d61821cb8ce7 2025-03-19 11:19:56,578 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/1302e527-aff2-4fcb-bbf5-d61821cb8ce7 2025-03-19 11:19:56,609 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/7c421f66-7c09-49a6-a63b-0d2dd672956e 2025-03-19 11:19:59,871 - 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 1018ms') 2025-03-19 11:19:59,871 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79930496-76584977 failed! 2025-03-19 11:19:59,929 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79930496:ctest-vn-11169659 is 80.141.50.1 and allocation pool is NOT set 2025-03-19 11:20:01,997 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/2.148/3.874/1.726 ms') 2025-03-19 11:20:01,997 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79930496-76584977 passed 2025-03-19 11:20:02,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 11:20:02,149 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79930496-76584977, IP 80.141.50.3, Port 22 2025-03-19 11:20:02,305 - DEBUG - VM ctest-TestRoutersBasic-79930496-76584977 is ready for SSH connections 2025-03-19 11:20:02,305 - INFO - Waiting for VM ctest-TestRoutersBasic-79930496-89460705 to be up.. 2025-03-19 11:20:02,384 - DEBUG - VM is in ACTIVE state now 2025-03-19 11:20:02,384 - INFO - VM name : ctest-TestRoutersBasic-79930496-89460705 2025-03-19 11:20:02,461 - DEBUG - VM ctest-TestRoutersBasic-79930496-89460705 ID is 5adf087a-ff0e-4104-a36d-72e67b0d1985 2025-03-19 11:20:02,461 - DEBUG - VM ctest-TestRoutersBasic-79930496-89460705 launched on Node cn-jenkins-deploy-platform-ansible-os-2920-1 2025-03-19 11:20:02,542 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/5adf087a-ff0e-4104-a36d-72e67b0d1985 2025-03-19 11:20:02,551 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/80454d1e-a808-4ff5-aa50-79996e08055d 2025-03-19 11:20:03,801 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.335 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.335/2.029/3.723/1.694 ms') 2025-03-19 11:20:03,801 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79930496-89460705 passed 2025-03-19 11:20:03,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 11:20:03,957 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79930496-89460705, IP 183.198.218.195, Port 22 2025-03-19 11:20:04,116 - DEBUG - VM ctest-TestRoutersBasic-79930496-89460705 is ready for SSH connections 2025-03-19 11:20:04,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 11:20:04,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.198.218.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-03-19 11:20:04,117 - DEBUG - ping -s 56 -c 3 -W 1 183.198.218.195 2025-03-19 11:20:07,802 - DEBUG - PING 183.198.218.195 (183.198.218.195): 56 data bytes 64 bytes from 183.198.218.195: seq=0 ttl=62 time=5.357 ms 64 bytes from 183.198.218.195: seq=1 ttl=62 time=0.930 ms 64 bytes from 183.198.218.195: seq=2 ttl=62 time=1.436 ms --- 183.198.218.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.930/2.574/5.357 ms 2025-03-19 11:20:07,802 - INFO - Ping to IP 183.198.218.195 from VM ctest-TestRoutersBasic-79930496-76584977 passed 2025-03-19 11:20:07,802 - INFO - Deleting interface with subnet_id 4a15ce27-365d-49e2-a557-5d68c9fef36b, port_id None from router 2c16834a-265a-44ec-a889-866f1a90f0bf 2025-03-19 11:20:08,010 - INFO - Deleting VM ctest-TestRoutersBasic-79930496-89460705 2025-03-19 11:20:08,078 - INFO - Deleting VM ctest-TestRoutersBasic-79930496-76584977 2025-03-19 11:20:08,152 - INFO - Deleting VN ctest-ext_vn-40170942 2025-03-19 11:20:08,231 - DEBUG - VN c352d5df-a0ae-4162-adda-77d0c15850d3 still in use: Unable to complete operation on network c352d5df-a0ae-4162-adda-77d0c15850d3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-01f8ebc1-421c-44d8-b30a-4cfa06ee3eb6'] 2025-03-19 11:20:08,231 - WARNING - Deleting VN ctest-ext_vn-40170942 failed..Will retry 2025-03-19 11:20:10,337 - DEBUG - Response for deleting network () 2025-03-19 11:20:10,337 - INFO - Deleting VN ctest-vn-11169659 2025-03-19 11:20:10,447 - DEBUG - Response for deleting network () 2025-03-19 11:20:10,708 - DEBUG - No XMPP flaps were noticed during the test
2025-03-19 11:20:10,709 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-03-19 11:20:10,709 - INFO - -------------------------------------------------------------------------------- 2025-03-19 11:20:11,373 - INFO - Deleted project: ctest-TestRoutersBasic-79930496, ID : d41e8f44-d976-4fac-a69e-29b8d9b313f7