2024-08-24 10:25:24,477 - INFO - Domain Default found not creating 2024-08-24 10:25:24,647 - INFO - Project ctest-TestRoutersBasic-38401210 not found, creating it 2024-08-24 10:25:25,104 - INFO - Created Project:ctest-TestRoutersBasic-38401210, ID : a361de9f-a6c1-47e0-a85a-37346b53ae9f 2024-08-24 10:25:26,683 - INFO - ================================================================================ 2024-08-24 10:25:26,683 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-24 10:25:26,683 - 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-08-24 10:25:26,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.22': '0'}} with 2024-08-24 10:25:26,936 - INFO - Initial checks done. Running the testcase now 2024-08-24 10:25:26,936 - INFO - 2024-08-24 10:25:27,680 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38401210 2024-08-24 10:25:27,774 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38401210 2024-08-24 10:25:28,090 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38401210', 'default']} 2024-08-24 10:25:28,396 - DEBUG - Response for create_network : {'network': {'id': 'cb1f98db-88c8-4ffb-a6ec-b4e0bbacf926', 'name': 'ctest-vn-28231058', 'tenant_id': 'a361de9fa6c147e0a85a37346b53ae9f', 'project_id': 'a361de9fa6c147e0a85a37346b53ae9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38401210', 'ctest-vn-28231058'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 10:25:28,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '2083e7df-6a82-4d55-97a9-30adb2c41fc6', 'name': '', 'tenant_id': 'a361de9fa6c147e0a85a37346b53ae9f', 'network_id': 'cb1f98db-88c8-4ffb-a6ec-b4e0bbacf926', 'ip_version': 4, 'cidr': '202.58.8.0/26', 'allocation_pools': [{'start': '202.58.8.2', 'end': '202.58.8.62'}], 'gateway_ip': '202.58.8.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.58.8.2', 'tags': [], 'project_id': 'a361de9fa6c147e0a85a37346b53ae9f'}} 2024-08-24 10:25:28,609 - INFO - Created VN ctest-vn-28231058 2024-08-24 10:25:28,658 - DEBUG - VN ctest-vn-28231058 UUID is cb1f98db-88c8-4ffb-a6ec-b4e0bbacf926 2024-08-24 10:25:28,971 - DEBUG - Response for create_network : {'network': {'id': 'bb0ffd84-0fb2-40d8-a5e5-225fad7534c8', 'name': 'ctest-ext_vn-05819180', 'tenant_id': 'a361de9fa6c147e0a85a37346b53ae9f', 'project_id': 'a361de9fa6c147e0a85a37346b53ae9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38401210', 'ctest-ext_vn-05819180'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 10:25:29,134 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a554db3-cd5b-40d7-9d7d-b8906fde3e16', 'name': '', 'tenant_id': 'a361de9fa6c147e0a85a37346b53ae9f', 'network_id': 'bb0ffd84-0fb2-40d8-a5e5-225fad7534c8', 'ip_version': 4, 'cidr': '3.135.170.192/26', 'allocation_pools': [{'start': '3.135.170.194', 'end': '3.135.170.254'}], 'gateway_ip': '3.135.170.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.135.170.194', 'tags': [], 'project_id': 'a361de9fa6c147e0a85a37346b53ae9f'}} 2024-08-24 10:25:29,155 - INFO - Created VN ctest-ext_vn-05819180 2024-08-24 10:25:29,206 - DEBUG - VN ctest-ext_vn-05819180 UUID is bb0ffd84-0fb2-40d8-a5e5-225fad7534c8 2024-08-24 10:25:29,383 - DEBUG - Services list from nova: [, , ] 2024-08-24 10:25:30,429 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1747-1) 2024-08-24 10:25:31,604 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1747-1) 2024-08-24 10:25:31,689 - INFO - Setting gateway for router cffc99c9-42b8-49e7-be61-e3454c4ff521 to network bb0ffd84-0fb2-40d8-a5e5-225fad7534c8 2024-08-24 10:25:31,758 - INFO - Adding interface with subnet_id 2083e7df-6a82-4d55-97a9-30adb2c41fc6, port_id None to router cffc99c9-42b8-49e7-be61-e3454c4ff521 2024-08-24 10:25:32,126 - INFO - Waiting for VM ctest-TestRoutersBasic-38401210-36788326 to be up.. 2024-08-24 10:25:32,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-24 10:25:37,474 - DEBUG - VM is in ACTIVE state now 2024-08-24 10:25:37,474 - INFO - VM name : ctest-TestRoutersBasic-38401210-36788326 2024-08-24 10:25:37,563 - DEBUG - VM ctest-TestRoutersBasic-38401210-36788326 ID is b56c61b6-b5d2-434a-b8e3-5b34b94d4e65 2024-08-24 10:25:37,583 - DEBUG - VM ctest-TestRoutersBasic-38401210-36788326 launched on Node cn-jenkins-deploy-platform-ansible-os-1747-1 2024-08-24 10:25:37,664 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/b56c61b6-b5d2-434a-b8e3-5b34b94d4e65 2024-08-24 10:25:37,963 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/b56c61b6-b5d2-434a-b8e3-5b34b94d4e65 2024-08-24 10:25:38,002 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/3d85bb43-b2d3-44d8-ac2f-c423eb6d1d2c 2024-08-24 10:25:41,262 - 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 1019ms') 2024-08-24 10:25:41,262 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38401210-36788326 failed! 2024-08-24 10:25:41,314 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38401210:ctest-vn-28231058 is 202.58.8.1 and allocation pool is NOT set 2024-08-24 10:25:43,379 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.384 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.384/2.009/3.635/1.625 ms') 2024-08-24 10:25:43,379 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38401210-36788326 passed 2024-08-24 10:25:43,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 10:25:43,530 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38401210-36788326, IP 202.58.8.3, Port 22 2024-08-24 10:25:43,694 - DEBUG - VM ctest-TestRoutersBasic-38401210-36788326 is ready for SSH connections 2024-08-24 10:25:43,694 - INFO - Waiting for VM ctest-TestRoutersBasic-38401210-35101905 to be up.. 2024-08-24 10:25:43,777 - DEBUG - VM is in ACTIVE state now 2024-08-24 10:25:43,777 - INFO - VM name : ctest-TestRoutersBasic-38401210-35101905 2024-08-24 10:25:43,858 - DEBUG - VM ctest-TestRoutersBasic-38401210-35101905 ID is 6bbd503a-9440-4fff-bfc0-37330cc5a5ac 2024-08-24 10:25:43,858 - DEBUG - VM ctest-TestRoutersBasic-38401210-35101905 launched on Node cn-jenkins-deploy-platform-ansible-os-1747-1 2024-08-24 10:25:43,938 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/6bbd503a-9440-4fff-bfc0-37330cc5a5ac 2024-08-24 10:25:43,947 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/27e69ac0-e3c7-40a7-8042-f1316a693cfe 2024-08-24 10:25:45,191 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.440 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.440/1.949/3.458/1.509 ms') 2024-08-24 10:25:45,191 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38401210-35101905 passed 2024-08-24 10:25:45,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 10:25:45,342 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38401210-35101905, IP 3.135.170.195, Port 22 2024-08-24 10:25:45,494 - DEBUG - VM ctest-TestRoutersBasic-38401210-35101905 is ready for SSH connections 2024-08-24 10:25:45,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 10:25:45,494 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.135.170.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2024-08-24 10:25:45,494 - DEBUG - ping -s 56 -c 3 -W 1 3.135.170.195 2024-08-24 10:25:49,486 - DEBUG - PING 3.135.170.195 (3.135.170.195): 56 data bytes 64 bytes from 3.135.170.195: seq=0 ttl=62 time=8.373 ms 64 bytes from 3.135.170.195: seq=1 ttl=62 time=0.838 ms 64 bytes from 3.135.170.195: seq=2 ttl=62 time=1.738 ms --- 3.135.170.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.838/3.649/8.373 ms 2024-08-24 10:25:49,486 - INFO - Ping to IP 3.135.170.195 from VM ctest-TestRoutersBasic-38401210-36788326 passed 2024-08-24 10:25:49,486 - INFO - Deleting interface with subnet_id 2083e7df-6a82-4d55-97a9-30adb2c41fc6, port_id None from router cffc99c9-42b8-49e7-be61-e3454c4ff521 2024-08-24 10:25:49,677 - INFO - Deleting VM ctest-TestRoutersBasic-38401210-35101905 2024-08-24 10:25:49,745 - INFO - Deleting VM ctest-TestRoutersBasic-38401210-36788326 2024-08-24 10:25:49,834 - INFO - Deleting VN ctest-ext_vn-05819180 2024-08-24 10:25:49,904 - DEBUG - VN bb0ffd84-0fb2-40d8-a5e5-225fad7534c8 still in use: Unable to complete operation on network bb0ffd84-0fb2-40d8-a5e5-225fad7534c8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-240d5747-4278-44ba-8753-c007fdc84e62'] 2024-08-24 10:25:49,904 - WARNING - Deleting VN ctest-ext_vn-05819180 failed..Will retry 2024-08-24 10:25:52,022 - DEBUG - Response for deleting network () 2024-08-24 10:25:52,022 - INFO - Deleting VN ctest-vn-28231058 2024-08-24 10:25:52,123 - DEBUG - Response for deleting network () 2024-08-24 10:25:52,380 - DEBUG - No XMPP flaps were noticed during the test
2024-08-24 10:25:52,380 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-08-24 10:25:52,380 - INFO - -------------------------------------------------------------------------------- 2024-08-24 10:25:53,046 - INFO - Deleted project: ctest-TestRoutersBasic-38401210, ID : a361de9f-a6c1-47e0-a85a-37346b53ae9f