2025-03-26 00:51:57,976 - INFO - Domain Default found not creating 2025-03-26 00:51:58,153 - INFO - Project ctest-TestRoutersBasic-60179612 not found, creating it 2025-03-26 00:51:58,665 - INFO - Created Project:ctest-TestRoutersBasic-60179612, ID : f91dc80f-c604-474e-b9d4-93d265909bac 2025-03-26 00:52:00,320 - INFO - ================================================================================ 2025-03-26 00:52:00,320 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-26 00:52:00,320 - 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-26 00:52:00,581 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.12': '0'}} with 2025-03-26 00:52:00,582 - INFO - Initial checks done. Running the testcase now 2025-03-26 00:52:00,582 - INFO - 2025-03-26 00:52:01,428 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60179612 2025-03-26 00:52:01,528 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60179612 2025-03-26 00:52:01,880 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60179612', 'default']} 2025-03-26 00:52:02,243 - DEBUG - Response for create_network : {'network': {'id': '867c01b9-2c08-4ccd-8980-2199e86f2f45', 'name': 'ctest-vn-14844729', 'tenant_id': 'f91dc80fc604474eb9d493d265909bac', 'project_id': 'f91dc80fc604474eb9d493d265909bac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60179612', 'ctest-vn-14844729'], 'port_security_enabled': True, 'description': ''}} 2025-03-26 00:52:02,422 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd09e7c3f-b0bc-4e53-9351-bd45ae8fe9f8', 'name': '', 'tenant_id': 'f91dc80fc604474eb9d493d265909bac', 'network_id': '867c01b9-2c08-4ccd-8980-2199e86f2f45', 'ip_version': 4, 'cidr': '16.26.214.128/26', 'allocation_pools': [{'start': '16.26.214.130', 'end': '16.26.214.190'}], 'gateway_ip': '16.26.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.26.214.130', 'tags': [], 'project_id': 'f91dc80fc604474eb9d493d265909bac'}} 2025-03-26 00:52:02,447 - INFO - Created VN ctest-vn-14844729 2025-03-26 00:52:02,504 - DEBUG - VN ctest-vn-14844729 UUID is 867c01b9-2c08-4ccd-8980-2199e86f2f45 2025-03-26 00:52:02,871 - DEBUG - Response for create_network : {'network': {'id': '6d977e18-aa28-4e44-8214-4531df3b14f2', 'name': 'ctest-ext_vn-74236148', 'tenant_id': 'f91dc80fc604474eb9d493d265909bac', 'project_id': 'f91dc80fc604474eb9d493d265909bac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60179612', 'ctest-ext_vn-74236148'], 'port_security_enabled': True, 'description': ''}} 2025-03-26 00:52:03,103 - DEBUG - Response for create_subnet : {'subnet': {'id': '52541613-f3cd-41bd-b93c-10902948e3c0', 'name': '', 'tenant_id': 'f91dc80fc604474eb9d493d265909bac', 'network_id': '6d977e18-aa28-4e44-8214-4531df3b14f2', 'ip_version': 4, 'cidr': '83.253.36.192/26', 'allocation_pools': [{'start': '83.253.36.194', 'end': '83.253.36.254'}], 'gateway_ip': '83.253.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.253.36.194', 'tags': [], 'project_id': 'f91dc80fc604474eb9d493d265909bac'}} 2025-03-26 00:52:03,123 - INFO - Created VN ctest-ext_vn-74236148 2025-03-26 00:52:03,176 - DEBUG - VN ctest-ext_vn-74236148 UUID is 6d977e18-aa28-4e44-8214-4531df3b14f2 2025-03-26 00:52:03,361 - DEBUG - Services list from nova: [, , ] 2025-03-26 00:52:04,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2955-1) 2025-03-26 00:52:05,969 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2955-1) 2025-03-26 00:52:06,085 - INFO - Setting gateway for router d717903c-e620-491e-b848-ed668d3ceae4 to network 6d977e18-aa28-4e44-8214-4531df3b14f2 2025-03-26 00:52:06,168 - INFO - Adding interface with subnet_id d09e7c3f-b0bc-4e53-9351-bd45ae8fe9f8, port_id None to router d717903c-e620-491e-b848-ed668d3ceae4 2025-03-26 00:52:06,766 - INFO - Waiting for VM ctest-TestRoutersBasic-60179612-19304789 to be up.. 2025-03-26 00:52:06,964 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-26 00:52:12,056 - DEBUG - VM is in ACTIVE state now 2025-03-26 00:52:12,057 - INFO - VM name : ctest-TestRoutersBasic-60179612-19304789 2025-03-26 00:52:12,155 - DEBUG - VM ctest-TestRoutersBasic-60179612-19304789 ID is 04be57aa-b8f5-42e7-a18a-80a7ab7db38c 2025-03-26 00:52:12,180 - DEBUG - VM ctest-TestRoutersBasic-60179612-19304789 launched on Node cn-jenkins-deploy-platform-ansible-os-2955-1 2025-03-26 00:52:12,280 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/04be57aa-b8f5-42e7-a18a-80a7ab7db38c 2025-03-26 00:52:12,624 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/04be57aa-b8f5-42e7-a18a-80a7ab7db38c 2025-03-26 00:52:12,666 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/7af6f418-3eda-4106-9a00-506573f73a6e 2025-03-26 00:52:15,941 - 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 1024ms') 2025-03-26 00:52:15,941 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60179612-19304789 failed! 2025-03-26 00:52:16,000 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60179612:ctest-vn-14844729 is 16.26.214.129 and allocation pool is NOT set 2025-03-26 00:52:18,062 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 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.024/2.887/4.750/1.863 ms') 2025-03-26 00:52:18,063 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60179612-19304789 passed 2025-03-26 00:52:18,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 00:52:18,220 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60179612-19304789, IP 16.26.214.131, Port 22 2025-03-26 00:52:18,379 - DEBUG - VM ctest-TestRoutersBasic-60179612-19304789 is ready for SSH connections 2025-03-26 00:52:18,380 - INFO - Waiting for VM ctest-TestRoutersBasic-60179612-41390271 to be up.. 2025-03-26 00:52:18,472 - DEBUG - VM is in ACTIVE state now 2025-03-26 00:52:18,472 - INFO - VM name : ctest-TestRoutersBasic-60179612-41390271 2025-03-26 00:52:18,564 - DEBUG - VM ctest-TestRoutersBasic-60179612-41390271 ID is 331f5099-9486-4e8b-88fe-c222f912d5a4 2025-03-26 00:52:18,564 - DEBUG - VM ctest-TestRoutersBasic-60179612-41390271 launched on Node cn-jenkins-deploy-platform-ansible-os-2955-1 2025-03-26 00:52:18,669 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/331f5099-9486-4e8b-88fe-c222f912d5a4 2025-03-26 00:52:18,681 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/ffc1c934-1e73-4871-89c5-324daa3d6e73 2025-03-26 00:52:19,941 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.692 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.692/1.852/3.012/1.160 ms') 2025-03-26 00:52:19,941 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-60179612-41390271 passed 2025-03-26 00:52:20,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 00:52:20,096 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60179612-41390271, IP 83.253.36.195, Port 22 2025-03-26 00:52:20,252 - DEBUG - VM ctest-TestRoutersBasic-60179612-41390271 is ready for SSH connections 2025-03-26 00:52:20,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 00:52:20,252 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.253.36.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-03-26 00:52:20,252 - DEBUG - ping -s 56 -c 3 -W 1 83.253.36.195 2025-03-26 00:52:24,006 - DEBUG - PING 83.253.36.195 (83.253.36.195): 56 data bytes 64 bytes from 83.253.36.195: seq=0 ttl=62 time=8.972 ms 64 bytes from 83.253.36.195: seq=1 ttl=62 time=1.311 ms 64 bytes from 83.253.36.195: seq=2 ttl=62 time=0.948 ms --- 83.253.36.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/3.743/8.972 ms 2025-03-26 00:52:24,007 - INFO - Ping to IP 83.253.36.195 from VM ctest-TestRoutersBasic-60179612-19304789 passed 2025-03-26 00:52:24,007 - INFO - Deleting interface with subnet_id d09e7c3f-b0bc-4e53-9351-bd45ae8fe9f8, port_id None from router d717903c-e620-491e-b848-ed668d3ceae4 2025-03-26 00:52:24,297 - INFO - Deleting VM ctest-TestRoutersBasic-60179612-41390271 2025-03-26 00:52:24,395 - INFO - Deleting VM ctest-TestRoutersBasic-60179612-19304789 2025-03-26 00:52:24,525 - INFO - Deleting VN ctest-ext_vn-74236148 2025-03-26 00:52:24,620 - DEBUG - VN 6d977e18-aa28-4e44-8214-4531df3b14f2 still in use: Unable to complete operation on network 6d977e18-aa28-4e44-8214-4531df3b14f2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bd1b1f3a-aa8a-4734-adf7-6f4909d68985'] 2025-03-26 00:52:24,621 - WARNING - Deleting VN ctest-ext_vn-74236148 failed..Will retry 2025-03-26 00:52:26,761 - DEBUG - Response for deleting network () 2025-03-26 00:52:26,761 - INFO - Deleting VN ctest-vn-14844729 2025-03-26 00:52:26,908 - DEBUG - Response for deleting network () 2025-03-26 00:52:27,175 - DEBUG - No XMPP flaps were noticed during the test
2025-03-26 00:52:27,175 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-03-26 00:52:27,175 - INFO - -------------------------------------------------------------------------------- 2025-03-26 00:52:27,920 - INFO - Deleted project: ctest-TestRoutersBasic-60179612, ID : f91dc80f-c604-474e-b9d4-93d265909bac