2024-09-18 02:05:14,552 - INFO - Domain Default found not creating 2024-09-18 02:05:14,701 - INFO - Project ctest-TestRoutersBasic-50137567 not found, creating it 2024-09-18 02:05:15,162 - INFO - Created Project:ctest-TestRoutersBasic-50137567, ID : 504d0d19-4bda-4eeb-a23a-378642ff3870 2024-09-18 02:05:16,694 - INFO - ================================================================================ 2024-09-18 02:05:16,694 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-18 02:05:16,694 - 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 02:05:16,952 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.11': '0'}} with 2024-09-18 02:05:16,952 - INFO - Initial checks done. Running the testcase now 2024-09-18 02:05:16,952 - INFO - 2024-09-18 02:05:17,678 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50137567 2024-09-18 02:05:17,778 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50137567 2024-09-18 02:05:18,114 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50137567', 'default']} 2024-09-18 02:05:18,424 - DEBUG - Response for create_network : {'network': {'id': 'e3e0ea3f-e1eb-4745-96b6-13674814b114', 'name': 'ctest-vn-08059296', 'tenant_id': '504d0d194bda4eeba23a378642ff3870', 'project_id': '504d0d194bda4eeba23a378642ff3870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50137567', 'ctest-vn-08059296'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 02:05:18,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ad95bc3-b6d8-410e-81a6-19ae0613a6aa', 'name': '', 'tenant_id': '504d0d194bda4eeba23a378642ff3870', 'network_id': 'e3e0ea3f-e1eb-4745-96b6-13674814b114', 'ip_version': 4, 'cidr': '108.59.115.64/26', 'allocation_pools': [{'start': '108.59.115.66', 'end': '108.59.115.126'}], 'gateway_ip': '108.59.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.59.115.66', 'tags': [], 'project_id': '504d0d194bda4eeba23a378642ff3870'}} 2024-09-18 02:05:18,624 - INFO - Created VN ctest-vn-08059296 2024-09-18 02:05:18,682 - DEBUG - VN ctest-vn-08059296 UUID is e3e0ea3f-e1eb-4745-96b6-13674814b114 2024-09-18 02:05:19,025 - DEBUG - Response for create_network : {'network': {'id': '433a0770-83e6-48c6-874b-04b78fc5259e', 'name': 'ctest-ext_vn-67956920', 'tenant_id': '504d0d194bda4eeba23a378642ff3870', 'project_id': '504d0d194bda4eeba23a378642ff3870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50137567', 'ctest-ext_vn-67956920'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 02:05:19,245 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c0a61cb-10a1-419a-be71-73767591fd55', 'name': '', 'tenant_id': '504d0d194bda4eeba23a378642ff3870', 'network_id': '433a0770-83e6-48c6-874b-04b78fc5259e', 'ip_version': 4, 'cidr': '13.57.18.128/26', 'allocation_pools': [{'start': '13.57.18.130', 'end': '13.57.18.190'}], 'gateway_ip': '13.57.18.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.57.18.130', 'tags': [], 'project_id': '504d0d194bda4eeba23a378642ff3870'}} 2024-09-18 02:05:19,263 - INFO - Created VN ctest-ext_vn-67956920 2024-09-18 02:05:19,318 - DEBUG - VN ctest-ext_vn-67956920 UUID is 433a0770-83e6-48c6-874b-04b78fc5259e 2024-09-18 02:05:19,487 - DEBUG - Services list from nova: [, , ] 2024-09-18 02:05:20,516 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1980-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1980-1) 2024-09-18 02:05:21,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1980-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1980-1) 2024-09-18 02:05:21,747 - INFO - Setting gateway for router 847f8c92-a8fe-4f05-ba12-05e0ae2c5111 to network 433a0770-83e6-48c6-874b-04b78fc5259e 2024-09-18 02:05:21,807 - INFO - Adding interface with subnet_id 1ad95bc3-b6d8-410e-81a6-19ae0613a6aa, port_id None to router 847f8c92-a8fe-4f05-ba12-05e0ae2c5111 2024-09-18 02:05:22,290 - INFO - Waiting for VM ctest-TestRoutersBasic-50137567-74245192 to be up.. 2024-09-18 02:05:22,519 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-18 02:05:27,657 - DEBUG - VM is in ACTIVE state now 2024-09-18 02:05:27,657 - INFO - VM name : ctest-TestRoutersBasic-50137567-74245192 2024-09-18 02:05:27,744 - DEBUG - VM ctest-TestRoutersBasic-50137567-74245192 ID is aab39b22-ecf9-4f29-a77c-9ae070fe8635 2024-09-18 02:05:27,766 - DEBUG - VM ctest-TestRoutersBasic-50137567-74245192 launched on Node cn-jenkins-deploy-platform-ansible-os-1980-1 2024-09-18 02:05:27,863 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/aab39b22-ecf9-4f29-a77c-9ae070fe8635 2024-09-18 02:05:28,167 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/aab39b22-ecf9-4f29-a77c-9ae070fe8635 2024-09-18 02:05:28,202 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/acada6a3-3de3-428a-be3e-7e654550d43b 2024-09-18 02:05:31,477 - 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 1023ms') 2024-09-18 02:05:31,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50137567-74245192 failed! 2024-09-18 02:05:31,538 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-50137567:ctest-vn-08059296 is 108.59.115.65 and allocation pool is NOT set 2024-09-18 02:05:33,599 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.382 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 = 0.382/1.764/3.146/1.382 ms') 2024-09-18 02:05:33,599 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50137567-74245192 passed 2024-09-18 02:05:33,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 02:05:33,754 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50137567-74245192, IP 108.59.115.67, Port 22 2024-09-18 02:05:33,909 - DEBUG - VM ctest-TestRoutersBasic-50137567-74245192 is ready for SSH connections 2024-09-18 02:05:33,910 - INFO - Waiting for VM ctest-TestRoutersBasic-50137567-04396257 to be up.. 2024-09-18 02:05:34,007 - DEBUG - VM is in ACTIVE state now 2024-09-18 02:05:34,007 - INFO - VM name : ctest-TestRoutersBasic-50137567-04396257 2024-09-18 02:05:34,081 - DEBUG - VM ctest-TestRoutersBasic-50137567-04396257 ID is d8999101-b606-4ebe-81c3-327e02fd72b7 2024-09-18 02:05:34,081 - DEBUG - VM ctest-TestRoutersBasic-50137567-04396257 launched on Node cn-jenkins-deploy-platform-ansible-os-1980-1 2024-09-18 02:05:34,157 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/d8999101-b606-4ebe-81c3-327e02fd72b7 2024-09-18 02:05:34,167 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/a8a3b248-c445-4379-b806-134b39f44f44 2024-09-18 02:05:35,410 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 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.380/1.638/2.897/1.258 ms') 2024-09-18 02:05:35,410 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-50137567-04396257 passed 2024-09-18 02:05:35,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 02:05:35,567 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50137567-04396257, IP 13.57.18.131, Port 22 2024-09-18 02:05:35,721 - DEBUG - VM ctest-TestRoutersBasic-50137567-04396257 is ready for SSH connections 2024-09-18 02:05:35,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 02:05:35,721 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.57.18.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-09-18 02:05:35,721 - DEBUG - ping -s 56 -c 3 -W 1 13.57.18.131 2024-09-18 02:05:39,730 - DEBUG - PING 13.57.18.131 (13.57.18.131): 56 data bytes 64 bytes from 13.57.18.131: seq=0 ttl=62 time=4.185 ms 64 bytes from 13.57.18.131: seq=1 ttl=62 time=0.801 ms 64 bytes from 13.57.18.131: seq=2 ttl=62 time=1.497 ms --- 13.57.18.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.801/2.161/4.185 ms 2024-09-18 02:05:39,730 - INFO - Ping to IP 13.57.18.131 from VM ctest-TestRoutersBasic-50137567-74245192 passed 2024-09-18 02:05:39,730 - INFO - Deleting interface with subnet_id 1ad95bc3-b6d8-410e-81a6-19ae0613a6aa, port_id None from router 847f8c92-a8fe-4f05-ba12-05e0ae2c5111 2024-09-18 02:05:39,943 - INFO - Deleting VM ctest-TestRoutersBasic-50137567-04396257 2024-09-18 02:05:40,009 - INFO - Deleting VM ctest-TestRoutersBasic-50137567-74245192 2024-09-18 02:05:40,089 - INFO - Deleting VN ctest-ext_vn-67956920 2024-09-18 02:05:40,177 - DEBUG - VN 433a0770-83e6-48c6-874b-04b78fc5259e still in use: Unable to complete operation on network 433a0770-83e6-48c6-874b-04b78fc5259e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5e2c2ea0-d4d2-4a29-9010-fb64574ce224'] 2024-09-18 02:05:40,177 - WARNING - Deleting VN ctest-ext_vn-67956920 failed..Will retry 2024-09-18 02:05:42,302 - DEBUG - Response for deleting network () 2024-09-18 02:05:42,302 - INFO - Deleting VN ctest-vn-08059296 2024-09-18 02:05:42,439 - DEBUG - Response for deleting network () 2024-09-18 02:05:42,700 - DEBUG - No XMPP flaps were noticed during the test 2024-09-18 02:05:42,700 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2024-09-18 02:05:42,700 - INFO - -------------------------------------------------------------------------------- 2024-09-18 02:05:43,413 - INFO - Deleted project: ctest-TestRoutersBasic-50137567, ID : 504d0d19-4bda-4eeb-a23a-378642ff3870