2024-09-17 16:27:32,468 - INFO - Domain Default found not creating 2024-09-17 16:27:32,649 - INFO - Project ctest-TestRoutersBasic-20252329 not found, creating it 2024-09-17 16:27:33,142 - INFO - Created Project:ctest-TestRoutersBasic-20252329, ID : 8501904f-30e3-4f39-a5f5-ebe4ff901153 2024-09-17 16:27:34,912 - INFO - ================================================================================ 2024-09-17 16:27:34,912 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-17 16:27:34,913 - 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-17 16:27:35,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.59': {'10.20.0.24': '0'}} with 2024-09-17 16:27:35,169 - INFO - Initial checks done. Running the testcase now 2024-09-17 16:27:35,169 - INFO - 2024-09-17 16:27:36,009 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-20252329 2024-09-17 16:27:36,110 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-20252329 2024-09-17 16:27:36,461 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20252329', 'default']} 2024-09-17 16:27:37,010 - DEBUG - Response for create_network : {'network': {'id': '9c9a802a-93a7-4832-b39b-8b3354c79628', 'name': 'ctest-vn-67852213', 'tenant_id': '8501904f30e34f39a5f5ebe4ff901153', 'project_id': '8501904f30e34f39a5f5ebe4ff901153', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20252329', 'ctest-vn-67852213'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 16:27:37,233 - DEBUG - Response for create_subnet : {'subnet': {'id': '57ae5e80-4210-4016-bfae-4af576f10c79', 'name': '', 'tenant_id': '8501904f30e34f39a5f5ebe4ff901153', 'network_id': '9c9a802a-93a7-4832-b39b-8b3354c79628', 'ip_version': 4, 'cidr': '114.241.243.0/26', 'allocation_pools': [{'start': '114.241.243.2', 'end': '114.241.243.62'}], 'gateway_ip': '114.241.243.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.241.243.2', 'tags': [], 'project_id': '8501904f30e34f39a5f5ebe4ff901153'}} 2024-09-17 16:27:37,254 - INFO - Created VN ctest-vn-67852213 2024-09-17 16:27:37,314 - DEBUG - VN ctest-vn-67852213 UUID is 9c9a802a-93a7-4832-b39b-8b3354c79628 2024-09-17 16:27:37,729 - DEBUG - Response for create_network : {'network': {'id': '7865fb5c-9ee8-443b-a1d3-92fa9db05b61', 'name': 'ctest-ext_vn-48162844', 'tenant_id': '8501904f30e34f39a5f5ebe4ff901153', 'project_id': '8501904f30e34f39a5f5ebe4ff901153', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20252329', 'ctest-ext_vn-48162844'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 16:27:37,955 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae805d27-731e-4904-b1ab-af18bac512e9', 'name': '', 'tenant_id': '8501904f30e34f39a5f5ebe4ff901153', 'network_id': '7865fb5c-9ee8-443b-a1d3-92fa9db05b61', 'ip_version': 4, 'cidr': '48.2.28.64/26', 'allocation_pools': [{'start': '48.2.28.66', 'end': '48.2.28.126'}], 'gateway_ip': '48.2.28.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.2.28.66', 'tags': [], 'project_id': '8501904f30e34f39a5f5ebe4ff901153'}} 2024-09-17 16:27:38,003 - INFO - Created VN ctest-ext_vn-48162844 2024-09-17 16:27:38,066 - DEBUG - VN ctest-ext_vn-48162844 UUID is 7865fb5c-9ee8-443b-a1d3-92fa9db05b61 2024-09-17 16:27:38,259 - DEBUG - Services list from nova: [, , ] 2024-09-17 16:27:39,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1965-1) 2024-09-17 16:27:40,761 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1965-1) 2024-09-17 16:27:40,854 - INFO - Setting gateway for router 593f4a9e-7e30-4e20-9446-5538a7bcfd96 to network 7865fb5c-9ee8-443b-a1d3-92fa9db05b61 2024-09-17 16:27:40,949 - INFO - Adding interface with subnet_id 57ae5e80-4210-4016-bfae-4af576f10c79, port_id None to router 593f4a9e-7e30-4e20-9446-5538a7bcfd96 2024-09-17 16:27:41,484 - INFO - Waiting for VM ctest-TestRoutersBasic-20252329-96211163 to be up.. 2024-09-17 16:27:41,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 16:27:46,784 - DEBUG - VM is in ACTIVE state now 2024-09-17 16:27:46,784 - INFO - VM name : ctest-TestRoutersBasic-20252329-96211163 2024-09-17 16:27:46,877 - DEBUG - VM ctest-TestRoutersBasic-20252329-96211163 ID is 6184365e-b6fc-4d6c-87fa-d9f96dc1e890 2024-09-17 16:27:46,902 - DEBUG - VM ctest-TestRoutersBasic-20252329-96211163 launched on Node cn-jenkins-deploy-platform-ansible-os-1965-1 2024-09-17 16:27:46,993 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine/6184365e-b6fc-4d6c-87fa-d9f96dc1e890 2024-09-17 16:27:47,441 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine/6184365e-b6fc-4d6c-87fa-d9f96dc1e890 2024-09-17 16:27:47,483 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine-interface/1fd00072-7801-46b4-829f-365a8658935b 2024-09-17 16:27:50,779 - 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 1029ms') 2024-09-17 16:27:50,780 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20252329-96211163 failed! 2024-09-17 16:27:50,842 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-20252329:ctest-vn-67852213 is 114.241.243.1 and allocation pool is NOT set 2024-09-17 16:27:52,911 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.539/3.648/4.758/1.109 ms') 2024-09-17 16:27:52,911 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20252329-96211163 passed 2024-09-17 16:27:53,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 16:27:53,078 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20252329-96211163, IP 114.241.243.3, Port 22 2024-09-17 16:27:53,247 - DEBUG - VM ctest-TestRoutersBasic-20252329-96211163 is ready for SSH connections 2024-09-17 16:27:53,247 - INFO - Waiting for VM ctest-TestRoutersBasic-20252329-82201436 to be up.. 2024-09-17 16:27:53,350 - DEBUG - VM is in ACTIVE state now 2024-09-17 16:27:53,350 - INFO - VM name : ctest-TestRoutersBasic-20252329-82201436 2024-09-17 16:27:53,452 - DEBUG - VM ctest-TestRoutersBasic-20252329-82201436 ID is 8c08f14b-2665-4897-a361-2b315910d2d5 2024-09-17 16:27:53,452 - DEBUG - VM ctest-TestRoutersBasic-20252329-82201436 launched on Node cn-jenkins-deploy-platform-ansible-os-1965-1 2024-09-17 16:27:53,546 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine/8c08f14b-2665-4897-a361-2b315910d2d5 2024-09-17 16:27:53,559 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine-interface/50ca886a-00b3-412b-95a8-f7bd62eeadbe 2024-09-17 16:27:54,837 - 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=6.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.37 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.366/4.022/6.679/2.656 ms') 2024-09-17 16:27:54,837 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-20252329-82201436 passed 2024-09-17 16:27:54,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 16:27:54,998 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20252329-82201436, IP 48.2.28.67, Port 22 2024-09-17 16:27:55,153 - DEBUG - VM ctest-TestRoutersBasic-20252329-82201436 is ready for SSH connections 2024-09-17 16:27:55,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 16:27:55,153 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.2.28.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.59, gateway password: c0ntrail123 2024-09-17 16:27:55,153 - DEBUG - ping -s 56 -c 3 -W 1 48.2.28.67 2024-09-17 16:27:59,249 - DEBUG - PING 48.2.28.67 (48.2.28.67): 56 data bytes 64 bytes from 48.2.28.67: seq=0 ttl=62 time=5.878 ms 64 bytes from 48.2.28.67: seq=1 ttl=62 time=0.936 ms 64 bytes from 48.2.28.67: seq=2 ttl=62 time=1.059 ms --- 48.2.28.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.936/2.624/5.878 ms 2024-09-17 16:27:59,249 - INFO - Ping to IP 48.2.28.67 from VM ctest-TestRoutersBasic-20252329-96211163 passed 2024-09-17 16:27:59,250 - INFO - Deleting interface with subnet_id 57ae5e80-4210-4016-bfae-4af576f10c79, port_id None from router 593f4a9e-7e30-4e20-9446-5538a7bcfd96 2024-09-17 16:27:59,504 - INFO - Deleting VM ctest-TestRoutersBasic-20252329-82201436 2024-09-17 16:27:59,581 - INFO - Deleting VM ctest-TestRoutersBasic-20252329-96211163 2024-09-17 16:27:59,681 - INFO - Deleting VN ctest-ext_vn-48162844 2024-09-17 16:27:59,798 - DEBUG - VN 7865fb5c-9ee8-443b-a1d3-92fa9db05b61 still in use: Unable to complete operation on network 7865fb5c-9ee8-443b-a1d3-92fa9db05b61. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8d6e3831-b355-4b31-a420-7a909f9c692a'] 2024-09-17 16:27:59,798 - WARNING - Deleting VN ctest-ext_vn-48162844 failed..Will retry 2024-09-17 16:28:01,917 - DEBUG - Response for deleting network () 2024-09-17 16:28:01,917 - INFO - Deleting VN ctest-vn-67852213 2024-09-17 16:28:02,043 - DEBUG - Response for deleting network () 2024-09-17 16:28:02,301 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 16:28:02,301 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2024-09-17 16:28:02,301 - INFO - -------------------------------------------------------------------------------- 2024-09-17 16:28:03,051 - INFO - Deleted project: ctest-TestRoutersBasic-20252329, ID : 8501904f-30e3-4f39-a5f5-ebe4ff901153