2024-10-28 02:31:27,749 - INFO - Domain Default found not creating 2024-10-28 02:31:27,928 - INFO - Project ctest-TestRoutersBasic-01036944 not found, creating it 2024-10-28 02:31:28,462 - INFO - Created Project:ctest-TestRoutersBasic-01036944, ID : 2a2ba350-1190-46e9-a789-da492b80da9a 2024-10-28 02:31:30,132 - INFO - ================================================================================ 2024-10-28 02:31:30,132 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-10-28 02:31:30,132 - 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-10-28 02:31:30,390 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.0.0.32': '0'}} with 2024-10-28 02:31:30,391 - INFO - Initial checks done. Running the testcase now 2024-10-28 02:31:30,391 - INFO - 2024-10-28 02:31:31,905 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01036944 2024-10-28 02:31:32,007 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01036944 2024-10-28 02:31:32,367 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01036944', 'default']} 2024-10-28 02:31:32,712 - DEBUG - Response for create_network : {'network': {'id': '26ffd330-72ba-47a4-bfb1-96a7336b3044', 'name': 'ctest-vn-85302195', 'tenant_id': '2a2ba350119046e9a789da492b80da9a', 'project_id': '2a2ba350119046e9a789da492b80da9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01036944', 'ctest-vn-85302195'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 02:31:32,956 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b3cb87a-f6a8-4bb4-ab0f-8f70ab69d643', 'name': '', 'tenant_id': '2a2ba350119046e9a789da492b80da9a', 'network_id': '26ffd330-72ba-47a4-bfb1-96a7336b3044', 'ip_version': 4, 'cidr': '104.44.228.192/26', 'allocation_pools': [{'start': '104.44.228.194', 'end': '104.44.228.254'}], 'gateway_ip': '104.44.228.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.44.228.194', 'tags': [], 'project_id': '2a2ba350119046e9a789da492b80da9a'}} 2024-10-28 02:31:32,981 - INFO - Created VN ctest-vn-85302195 2024-10-28 02:31:33,043 - DEBUG - VN ctest-vn-85302195 UUID is 26ffd330-72ba-47a4-bfb1-96a7336b3044 2024-10-28 02:31:33,447 - DEBUG - Response for create_network : {'network': {'id': '0de3014d-bad4-4cfa-84f2-fa0e4f11dc2c', 'name': 'ctest-ext_vn-26795710', 'tenant_id': '2a2ba350119046e9a789da492b80da9a', 'project_id': '2a2ba350119046e9a789da492b80da9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01036944', 'ctest-ext_vn-26795710'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 02:31:33,687 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a500b2c3-bb89-4ad9-99a0-3b3df75e0954', 'name': '', 'tenant_id': '2a2ba350119046e9a789da492b80da9a', 'network_id': '0de3014d-bad4-4cfa-84f2-fa0e4f11dc2c', 'ip_version': 4, 'cidr': '211.105.228.0/26', 'allocation_pools': [{'start': '211.105.228.2', 'end': '211.105.228.62'}], 'gateway_ip': '211.105.228.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.105.228.2', 'tags': [], 'project_id': '2a2ba350119046e9a789da492b80da9a'}} 2024-10-28 02:31:33,711 - INFO - Created VN ctest-ext_vn-26795710 2024-10-28 02:31:33,775 - DEBUG - VN ctest-ext_vn-26795710 UUID is 0de3014d-bad4-4cfa-84f2-fa0e4f11dc2c 2024-10-28 02:31:33,965 - DEBUG - Services list from nova: [, , ] 2024-10-28 02:31:35,158 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2157-1) 2024-10-28 02:31:36,508 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2157-1) 2024-10-28 02:31:36,599 - INFO - Setting gateway for router e22e1bc8-39dd-45f4-b0e7-18e466416d68 to network 0de3014d-bad4-4cfa-84f2-fa0e4f11dc2c 2024-10-28 02:31:36,689 - INFO - Adding interface with subnet_id 8b3cb87a-f6a8-4bb4-ab0f-8f70ab69d643, port_id None to router e22e1bc8-39dd-45f4-b0e7-18e466416d68 2024-10-28 02:31:37,178 - INFO - Waiting for VM ctest-TestRoutersBasic-01036944-98141222 to be up.. 2024-10-28 02:31:37,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 02:31:42,553 - DEBUG - VM is in ACTIVE state now 2024-10-28 02:31:42,553 - INFO - VM name : ctest-TestRoutersBasic-01036944-98141222 2024-10-28 02:31:42,643 - DEBUG - VM ctest-TestRoutersBasic-01036944-98141222 ID is 664ba1d9-2aee-4026-9de3-7a08e78fb71d 2024-10-28 02:31:42,665 - DEBUG - VM ctest-TestRoutersBasic-01036944-98141222 launched on Node cn-jenkins-deploy-platform-ansible-os-2157-1. 2024-10-28 02:31:42,756 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/664ba1d9-2aee-4026-9de3-7a08e78fb71d 2024-10-28 02:31:43,099 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/664ba1d9-2aee-4026-9de3-7a08e78fb71d 2024-10-28 02:31:43,140 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/b482e651-9960-4de3-8dc2-50f6ac5da61e 2024-10-28 02:31:46,432 - 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 1026ms') 2024-10-28 02:31:46,432 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01036944-98141222 failed! 2024-10-28 02:31:46,495 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01036944:ctest-vn-85302195 is 104.44.228.193 and allocation pool is NOT set 2024-10-28 02:31:48,560 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.829 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.829/2.294/3.760/1.465 ms') 2024-10-28 02:31:48,560 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01036944-98141222 passed 2024-10-28 02:31:48,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:31:48,723 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01036944-98141222, IP 104.44.228.195, Port 22 2024-10-28 02:31:48,882 - DEBUG - VM ctest-TestRoutersBasic-01036944-98141222 is ready for SSH connections 2024-10-28 02:31:48,882 - INFO - Waiting for VM ctest-TestRoutersBasic-01036944-62583004 to be up.. 2024-10-28 02:31:48,985 - DEBUG - VM is in ACTIVE state now 2024-10-28 02:31:48,985 - INFO - VM name : ctest-TestRoutersBasic-01036944-62583004 2024-10-28 02:31:49,079 - DEBUG - VM ctest-TestRoutersBasic-01036944-62583004 ID is 74b18e1e-01ed-478e-81b7-7c75cf633706 2024-10-28 02:31:49,079 - DEBUG - VM ctest-TestRoutersBasic-01036944-62583004 launched on Node cn-jenkins-deploy-platform-ansible-os-2157-1. 2024-10-28 02:31:49,184 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/74b18e1e-01ed-478e-81b7-7c75cf633706 2024-10-28 02:31:49,197 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/4875ae67-c8ae-42f0-a415-83f51330adfc 2024-10-28 02:31:50,462 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/2.221/4.004/1.782 ms') 2024-10-28 02:31:50,463 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01036944-62583004 passed 2024-10-28 02:31:50,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:31:50,631 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01036944-62583004, IP 211.105.228.3, Port 22 2024-10-28 02:31:50,791 - DEBUG - VM ctest-TestRoutersBasic-01036944-62583004 is ready for SSH connections 2024-10-28 02:31:50,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:31:50,791 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.105.228.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-10-28 02:31:50,791 - DEBUG - ping -s 56 -c 3 -W 1 211.105.228.3 2024-10-28 02:31:54,520 - DEBUG - PING 211.105.228.3 (211.105.228.3): 56 data bytes 64 bytes from 211.105.228.3: seq=0 ttl=62 time=4.996 ms 64 bytes from 211.105.228.3: seq=1 ttl=62 time=1.744 ms 64 bytes from 211.105.228.3: seq=2 ttl=62 time=0.865 ms --- 211.105.228.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/2.535/4.996 ms 2024-10-28 02:31:54,520 - INFO - Ping to IP 211.105.228.3 from VM ctest-TestRoutersBasic-01036944-98141222 passed 2024-10-28 02:31:54,520 - INFO - Deleting interface with subnet_id 8b3cb87a-f6a8-4bb4-ab0f-8f70ab69d643, port_id None from router e22e1bc8-39dd-45f4-b0e7-18e466416d68 2024-10-28 02:31:54,772 - INFO - Deleting VM ctest-TestRoutersBasic-01036944-62583004 2024-10-28 02:31:54,842 - INFO - Deleting VM ctest-TestRoutersBasic-01036944-98141222 2024-10-28 02:31:54,921 - INFO - Deleting VN ctest-ext_vn-26795710 2024-10-28 02:31:55,033 - DEBUG - VN 0de3014d-bad4-4cfa-84f2-fa0e4f11dc2c still in use: Unable to complete operation on network 0de3014d-bad4-4cfa-84f2-fa0e4f11dc2c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a46b0e3b-4e5a-4a7f-bd0d-e00c420ecfe3'] 2024-10-28 02:31:55,033 - WARNING - Deleting VN ctest-ext_vn-26795710 failed..Will retry 2024-10-28 02:31:57,161 - DEBUG - Response for deleting network () 2024-10-28 02:31:57,161 - INFO - Deleting VN ctest-vn-85302195 2024-10-28 02:31:57,310 - DEBUG - Response for deleting network () 2024-10-28 02:31:57,577 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 02:31:57,578 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-10-28 02:31:57,578 - INFO - -------------------------------------------------------------------------------- 2024-10-28 02:31:58,322 - INFO - Deleted project: ctest-TestRoutersBasic-01036944, ID : 2a2ba350-1190-46e9-a789-da492b80da9a