2024-09-18 00:41:20,852 - INFO - Domain Default found not creating 2024-09-18 00:41:21,009 - INFO - Project ctest-TestRoutersBasic-82917548 not found, creating it 2024-09-18 00:41:21,491 - INFO - Created Project:ctest-TestRoutersBasic-82917548, ID : 5edaf52b-adb2-4c01-803f-afdb2675cb9c 2024-09-18 00:41:22,973 - INFO - ================================================================================ 2024-09-18 00:41:22,973 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-18 00:41:22,973 - 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 2024-09-18 00:41:23,231 - DEBUG - Nothing to compare xmpp stats {'10.0.0.71': {'10.20.0.5': '0'}} with 2024-09-18 00:41:23,231 - INFO - Initial checks done. Running the testcase now 2024-09-18 00:41:23,232 - INFO - 2024-09-18 00:41:23,956 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82917548 2024-09-18 00:41:24,054 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82917548 2024-09-18 00:41:24,381 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82917548', 'default']} 2024-09-18 00:41:24,688 - DEBUG - Response for create_network : {'network': {'id': '5e7f05f6-298f-4ff8-b10b-447bebdafc64', 'name': 'ctest-vn-72259844', 'tenant_id': '5edaf52badb24c01803fafdb2675cb9c', 'project_id': '5edaf52badb24c01803fafdb2675cb9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82917548', 'ctest-vn-72259844'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 00:41:24,861 - DEBUG - Response for create_subnet : {'subnet': {'id': '9593ec10-ff88-4a29-a15b-c7598471bf78', 'name': '', 'tenant_id': '5edaf52badb24c01803fafdb2675cb9c', 'network_id': '5e7f05f6-298f-4ff8-b10b-447bebdafc64', 'ip_version': 4, 'cidr': '146.120.2.0/26', 'allocation_pools': [{'start': '146.120.2.2', 'end': '146.120.2.62'}], 'gateway_ip': '146.120.2.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.120.2.2', 'tags': [], 'project_id': '5edaf52badb24c01803fafdb2675cb9c'}} 2024-09-18 00:41:24,894 - INFO - Created VN ctest-vn-72259844 2024-09-18 00:41:24,949 - DEBUG - VN ctest-vn-72259844 UUID is 5e7f05f6-298f-4ff8-b10b-447bebdafc64 2024-09-18 00:41:25,286 - DEBUG - Response for create_network : {'network': {'id': '91814c00-39eb-48ff-94fb-48658f3fa48e', 'name': 'ctest-ext_vn-79018819', 'tenant_id': '5edaf52badb24c01803fafdb2675cb9c', 'project_id': '5edaf52badb24c01803fafdb2675cb9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82917548', 'ctest-ext_vn-79018819'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 00:41:25,487 - DEBUG - Response for create_subnet : {'subnet': {'id': '22b6e98a-82a5-40b9-b95c-2c6697507f0b', 'name': '', 'tenant_id': '5edaf52badb24c01803fafdb2675cb9c', 'network_id': '91814c00-39eb-48ff-94fb-48658f3fa48e', 'ip_version': 4, 'cidr': '172.89.99.192/26', 'allocation_pools': [{'start': '172.89.99.194', 'end': '172.89.99.254'}], 'gateway_ip': '172.89.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.89.99.194', 'tags': [], 'project_id': '5edaf52badb24c01803fafdb2675cb9c'}} 2024-09-18 00:41:25,506 - INFO - Created VN ctest-ext_vn-79018819 2024-09-18 00:41:25,565 - DEBUG - VN ctest-ext_vn-79018819 UUID is 91814c00-39eb-48ff-94fb-48658f3fa48e 2024-09-18 00:41:25,743 - DEBUG - Services list from nova: [, , ] 2024-09-18 00:41:26,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1978-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1978-1) 2024-09-18 00:41:27,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1978-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1978-1) 2024-09-18 00:41:28,083 - INFO - Setting gateway for router 671788d7-ac35-4d6c-9c3e-b553f73ee4f7 to network 91814c00-39eb-48ff-94fb-48658f3fa48e 2024-09-18 00:41:28,183 - INFO - Adding interface with subnet_id 9593ec10-ff88-4a29-a15b-c7598471bf78, port_id None to router 671788d7-ac35-4d6c-9c3e-b553f73ee4f7 2024-09-18 00:41:28,636 - INFO - Waiting for VM ctest-TestRoutersBasic-82917548-93005879 to be up.. 2024-09-18 00:41:28,840 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-18 00:41:33,920 - DEBUG - VM is in ACTIVE state now 2024-09-18 00:41:33,920 - INFO - VM name : ctest-TestRoutersBasic-82917548-93005879 2024-09-18 00:41:34,001 - DEBUG - VM ctest-TestRoutersBasic-82917548-93005879 ID is ea911e76-c13e-4812-a135-90588e37e7e8 2024-09-18 00:41:34,021 - DEBUG - VM ctest-TestRoutersBasic-82917548-93005879 launched on Node cn-jenkins-deploy-platform-ansible-os-1978-1 2024-09-18 00:41:34,099 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-machine/ea911e76-c13e-4812-a135-90588e37e7e8 2024-09-18 00:41:34,402 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-machine/ea911e76-c13e-4812-a135-90588e37e7e8 2024-09-18 00:41:34,438 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-machine-interface/97df11fd-cd3d-43ba-9543-ae43bf43433c 2024-09-18 00:41:37,700 - 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=2 ttl=63 time=8.43 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 8.434/8.434/8.434/0.000 ms') 2024-09-18 00:41:37,700 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82917548-93005879 passed 2024-09-18 00:41:37,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 00:41:37,858 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82917548-93005879, IP 146.120.2.3, Port 22 2024-09-18 00:41:38,014 - DEBUG - VM ctest-TestRoutersBasic-82917548-93005879 is ready for SSH connections 2024-09-18 00:41:38,014 - INFO - Waiting for VM ctest-TestRoutersBasic-82917548-88659595 to be up.. 2024-09-18 00:41:38,103 - DEBUG - VM is in ACTIVE state now 2024-09-18 00:41:38,104 - INFO - VM name : ctest-TestRoutersBasic-82917548-88659595 2024-09-18 00:41:38,186 - DEBUG - VM ctest-TestRoutersBasic-82917548-88659595 ID is 0eafd86e-ae41-4968-b7cc-16e40a6184f8 2024-09-18 00:41:38,187 - DEBUG - VM ctest-TestRoutersBasic-82917548-88659595 launched on Node cn-jenkins-deploy-platform-ansible-os-1978-1 2024-09-18 00:41:38,273 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-machine/0eafd86e-ae41-4968-b7cc-16e40a6184f8 2024-09-18 00:41:38,283 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-machine-interface/e388ab83-f9a4-4529-b17b-b32e90278cb2 2024-09-18 00:41:39,546 - 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=5.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.50 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 = 1.501/3.635/5.769/2.134 ms') 2024-09-18 00:41:39,546 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-82917548-88659595 passed 2024-09-18 00:41:39,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 00:41:39,702 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82917548-88659595, IP 172.89.99.195, Port 22 2024-09-18 00:41:39,870 - DEBUG - VM ctest-TestRoutersBasic-82917548-88659595 is ready for SSH connections 2024-09-18 00:41:39,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 00:41:39,870 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.89.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.71, gateway password: c0ntrail123 2024-09-18 00:41:39,870 - DEBUG - ping -s 56 -c 3 -W 1 172.89.99.195 2024-09-18 00:41:43,543 - DEBUG - PING 172.89.99.195 (172.89.99.195): 56 data bytes 64 bytes from 172.89.99.195: seq=0 ttl=62 time=5.872 ms 64 bytes from 172.89.99.195: seq=1 ttl=62 time=0.804 ms 64 bytes from 172.89.99.195: seq=2 ttl=62 time=0.833 ms --- 172.89.99.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.804/2.503/5.872 ms 2024-09-18 00:41:43,543 - INFO - Ping to IP 172.89.99.195 from VM ctest-TestRoutersBasic-82917548-93005879 passed 2024-09-18 00:41:43,543 - INFO - Deleting interface with subnet_id 9593ec10-ff88-4a29-a15b-c7598471bf78, port_id None from router 671788d7-ac35-4d6c-9c3e-b553f73ee4f7 2024-09-18 00:41:43,791 - INFO - Deleting VM ctest-TestRoutersBasic-82917548-88659595 2024-09-18 00:41:43,857 - INFO - Deleting VM ctest-TestRoutersBasic-82917548-93005879 2024-09-18 00:41:43,920 - INFO - Deleting VN ctest-ext_vn-79018819 2024-09-18 00:41:44,000 - DEBUG - VN 91814c00-39eb-48ff-94fb-48658f3fa48e still in use: Unable to complete operation on network 91814c00-39eb-48ff-94fb-48658f3fa48e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-848e3673-fcee-4f54-8bfa-2ee3c690e9bd'] 2024-09-18 00:41:44,001 - WARNING - Deleting VN ctest-ext_vn-79018819 failed..Will retry 2024-09-18 00:41:46,104 - DEBUG - Response for deleting network () 2024-09-18 00:41:46,104 - INFO - Deleting VN ctest-vn-72259844 2024-09-18 00:41:46,202 - DEBUG - Response for deleting network () 2024-09-18 00:41:46,456 - DEBUG - No XMPP flaps were noticed during the test
2024-09-18 00:41:46,456 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2024-09-18 00:41:46,456 - INFO - -------------------------------------------------------------------------------- 2024-09-18 00:41:47,132 - INFO - Deleted project: ctest-TestRoutersBasic-82917548, ID : 5edaf52b-adb2-4c01-803f-afdb2675cb9c