2024-09-13 13:57:14,712 - INFO - Domain Default found not creating 2024-09-13 13:57:14,912 - INFO - Project ctest-TestRoutersBasic-01448468 not found, creating it 2024-09-13 13:57:15,432 - INFO - Created Project:ctest-TestRoutersBasic-01448468, ID : 3e6225b4-0b68-4cf6-b4c5-07f44182a7aa 2024-09-13 13:57:17,240 - INFO - ================================================================================ 2024-09-13 13:57:17,240 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-13 13:57:17,240 - 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-13 13:57:17,495 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.17': '0'}} with 2024-09-13 13:57:17,495 - INFO - Initial checks done. Running the testcase now 2024-09-13 13:57:17,495 - INFO - 2024-09-13 13:57:18,324 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01448468 2024-09-13 13:57:18,427 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01448468 2024-09-13 13:57:18,791 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01448468', 'default']} 2024-09-13 13:57:19,258 - DEBUG - Response for create_network : {'network': {'id': '24cf367a-80eb-4024-87e5-eaf3ba333001', 'name': 'ctest-vn-11369274', 'tenant_id': '3e6225b40b684cf6b4c507f44182a7aa', 'project_id': '3e6225b40b684cf6b4c507f44182a7aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01448468', 'ctest-vn-11369274'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 13:57:19,460 - DEBUG - Response for create_subnet : {'subnet': {'id': '92782ff1-bbf1-4193-bc08-7d2db3e46ee9', 'name': '', 'tenant_id': '3e6225b40b684cf6b4c507f44182a7aa', 'network_id': '24cf367a-80eb-4024-87e5-eaf3ba333001', 'ip_version': 4, 'cidr': '8.229.112.128/26', 'allocation_pools': [{'start': '8.229.112.130', 'end': '8.229.112.190'}], 'gateway_ip': '8.229.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.229.112.130', 'tags': [], 'project_id': '3e6225b40b684cf6b4c507f44182a7aa'}} 2024-09-13 13:57:19,483 - INFO - Created VN ctest-vn-11369274 2024-09-13 13:57:19,543 - DEBUG - VN ctest-vn-11369274 UUID is 24cf367a-80eb-4024-87e5-eaf3ba333001 2024-09-13 13:57:19,918 - DEBUG - Response for create_network : {'network': {'id': 'a1db430a-bbae-42d7-9120-44d88fb8463a', 'name': 'ctest-ext_vn-08587711', 'tenant_id': '3e6225b40b684cf6b4c507f44182a7aa', 'project_id': '3e6225b40b684cf6b4c507f44182a7aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01448468', 'ctest-ext_vn-08587711'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 13:57:20,114 - DEBUG - Response for create_subnet : {'subnet': {'id': '994c6c60-217e-4bf1-8e48-9ef9e6860a40', 'name': '', 'tenant_id': '3e6225b40b684cf6b4c507f44182a7aa', 'network_id': 'a1db430a-bbae-42d7-9120-44d88fb8463a', 'ip_version': 4, 'cidr': '173.254.69.192/26', 'allocation_pools': [{'start': '173.254.69.194', 'end': '173.254.69.254'}], 'gateway_ip': '173.254.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.254.69.194', 'tags': [], 'project_id': '3e6225b40b684cf6b4c507f44182a7aa'}} 2024-09-13 13:57:20,137 - INFO - Created VN ctest-ext_vn-08587711 2024-09-13 13:57:20,195 - DEBUG - VN ctest-ext_vn-08587711 UUID is a1db430a-bbae-42d7-9120-44d88fb8463a 2024-09-13 13:57:20,401 - DEBUG - Services list from nova: [, , ] 2024-09-13 13:57:21,613 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1920-1) 2024-09-13 13:57:23,057 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1920-1) 2024-09-13 13:57:23,153 - INFO - Setting gateway for router c6efd333-c415-4c1e-a66c-d62ffbde2e22 to network a1db430a-bbae-42d7-9120-44d88fb8463a 2024-09-13 13:57:23,266 - INFO - Adding interface with subnet_id 92782ff1-bbf1-4193-bc08-7d2db3e46ee9, port_id None to router c6efd333-c415-4c1e-a66c-d62ffbde2e22 2024-09-13 13:57:24,080 - INFO - Waiting for VM ctest-TestRoutersBasic-01448468-76541356 to be up.. 2024-09-13 13:57:24,291 - DEBUG - VM is in ACTIVE state now 2024-09-13 13:57:24,291 - INFO - VM name : ctest-TestRoutersBasic-01448468-76541356 2024-09-13 13:57:24,411 - DEBUG - VM ctest-TestRoutersBasic-01448468-76541356 ID is 15579ab6-27ac-4ae4-92de-8471114d2c88 2024-09-13 13:57:24,439 - DEBUG - VM ctest-TestRoutersBasic-01448468-76541356 launched on Node cn-jenkins-deploy-platform-ansible-os-1920-1 2024-09-13 13:57:24,561 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/15579ab6-27ac-4ae4-92de-8471114d2c88 2024-09-13 13:57:24,904 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/15579ab6-27ac-4ae4-92de-8471114d2c88 2024-09-13 13:57:24,944 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/68d83202-46a5-4aa6-a598-f9ac27983d63 2024-09-13 13:57:28,282 - 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 1030ms') 2024-09-13 13:57:28,282 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01448468-76541356 failed! 2024-09-13 13:57:28,346 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01448468:ctest-vn-11369274 is 8.229.112.129 and allocation pool is NOT set 2024-09-13 13:57:32,412 - 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 1002ms') 2024-09-13 13:57:32,412 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01448468-76541356 failed! 2024-09-13 13:57:32,479 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01448468:ctest-vn-11369274 is 8.229.112.129 and allocation pool is NOT set 2024-09-13 13:57:34,542 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.805 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.805/2.512/4.219/1.707 ms') 2024-09-13 13:57:34,542 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01448468-76541356 passed 2024-09-13 13:57:34,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 13:57:34,703 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01448468-76541356, IP 8.229.112.131, Port 22 2024-09-13 13:57:34,858 - DEBUG - VM ctest-TestRoutersBasic-01448468-76541356 is ready for SSH connections 2024-09-13 13:57:34,859 - INFO - Waiting for VM ctest-TestRoutersBasic-01448468-59192784 to be up.. 2024-09-13 13:57:34,956 - DEBUG - VM is in ACTIVE state now 2024-09-13 13:57:34,956 - INFO - VM name : ctest-TestRoutersBasic-01448468-59192784 2024-09-13 13:57:35,054 - DEBUG - VM ctest-TestRoutersBasic-01448468-59192784 ID is a629f804-2867-4a27-9cff-b5cdee4a2f42 2024-09-13 13:57:35,054 - DEBUG - VM ctest-TestRoutersBasic-01448468-59192784 launched on Node cn-jenkins-deploy-platform-ansible-os-1920-1 2024-09-13 13:57:35,156 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/a629f804-2867-4a27-9cff-b5cdee4a2f42 2024-09-13 13:57:35,170 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/48f22ef7-f91d-40e9-afc4-20d2df84a339 2024-09-13 13:57:36,450 - 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=4.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.35 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 = 1.351/3.057/4.763/1.706 ms') 2024-09-13 13:57:36,450 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01448468-59192784 passed 2024-09-13 13:57:36,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 13:57:36,611 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01448468-59192784, IP 173.254.69.195, Port 22 2024-09-13 13:57:36,787 - DEBUG - VM ctest-TestRoutersBasic-01448468-59192784 is ready for SSH connections 2024-09-13 13:57:36,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 13:57:36,788 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.254.69.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-13 13:57:36,788 - DEBUG - ping -s 56 -c 3 -W 1 173.254.69.195 2024-09-13 13:57:40,519 - DEBUG - PING 173.254.69.195 (173.254.69.195): 56 data bytes 64 bytes from 173.254.69.195: seq=0 ttl=62 time=5.750 ms 64 bytes from 173.254.69.195: seq=1 ttl=62 time=0.978 ms 64 bytes from 173.254.69.195: seq=2 ttl=62 time=1.491 ms --- 173.254.69.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.978/2.739/5.750 ms 2024-09-13 13:57:40,519 - INFO - Ping to IP 173.254.69.195 from VM ctest-TestRoutersBasic-01448468-76541356 passed 2024-09-13 13:57:40,519 - INFO - Deleting interface with subnet_id 92782ff1-bbf1-4193-bc08-7d2db3e46ee9, port_id None from router c6efd333-c415-4c1e-a66c-d62ffbde2e22 2024-09-13 13:57:40,768 - INFO - Deleting VM ctest-TestRoutersBasic-01448468-59192784 2024-09-13 13:57:40,867 - INFO - Deleting VM ctest-TestRoutersBasic-01448468-76541356 2024-09-13 13:57:40,957 - INFO - Deleting VN ctest-ext_vn-08587711 2024-09-13 13:57:41,062 - DEBUG - VN a1db430a-bbae-42d7-9120-44d88fb8463a still in use: Unable to complete operation on network a1db430a-bbae-42d7-9120-44d88fb8463a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-362236a8-c185-4ba4-84fa-5873e0f328fc'] 2024-09-13 13:57:41,063 - WARNING - Deleting VN ctest-ext_vn-08587711 failed..Will retry 2024-09-13 13:57:43,214 - DEBUG - Response for deleting network () 2024-09-13 13:57:43,214 - INFO - Deleting VN ctest-vn-11369274 2024-09-13 13:57:43,333 - DEBUG - Response for deleting network () 2024-09-13 13:57:43,595 - DEBUG - No XMPP flaps were noticed during the test
2024-09-13 13:57:43,595 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-09-13 13:57:43,595 - INFO - -------------------------------------------------------------------------------- 2024-09-13 13:57:44,356 - INFO - Deleted project: ctest-TestRoutersBasic-01448468, ID : 3e6225b4-0b68-4cf6-b4c5-07f44182a7aa