2025-03-27 02:23:36,375 - INFO - Domain Default found not creating 2025-03-27 02:23:36,535 - INFO - Project ctest-TestRoutersBasic-74252415 not found, creating it 2025-03-27 02:23:37,046 - INFO - Created Project:ctest-TestRoutersBasic-74252415, ID : 7f713365-4901-4a87-9426-28dcc79bb51e 2025-03-27 02:23:38,483 - INFO - ================================================================================ 2025-03-27 02:23:38,483 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-27 02:23:38,483 - 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 2025-03-27 02:23:38,750 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-03-27 02:23:38,750 - INFO - Initial checks done. Running the testcase now 2025-03-27 02:23:38,750 - INFO - 2025-03-27 02:23:39,459 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-74252415 2025-03-27 02:23:39,559 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-74252415 2025-03-27 02:23:39,891 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74252415', 'default']} 2025-03-27 02:23:40,249 - DEBUG - Response for create_network : {'network': {'id': '857a59f1-2afb-4df6-b0bc-779a45b93631', 'name': 'ctest-vn-35857040', 'tenant_id': '7f71336549014a87942628dcc79bb51e', 'project_id': '7f71336549014a87942628dcc79bb51e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74252415', 'ctest-vn-35857040'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 02:23:40,459 - DEBUG - Response for create_subnet : {'subnet': {'id': '546f980f-0c5d-433a-961e-37b9b18b1674', 'name': '', 'tenant_id': '7f71336549014a87942628dcc79bb51e', 'network_id': '857a59f1-2afb-4df6-b0bc-779a45b93631', 'ip_version': 4, 'cidr': '149.8.172.192/26', 'allocation_pools': [{'start': '149.8.172.194', 'end': '149.8.172.254'}], 'gateway_ip': '149.8.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.8.172.194', 'tags': [], 'project_id': '7f71336549014a87942628dcc79bb51e'}} 2025-03-27 02:23:40,477 - INFO - Created VN ctest-vn-35857040 2025-03-27 02:23:40,535 - DEBUG - VN ctest-vn-35857040 UUID is 857a59f1-2afb-4df6-b0bc-779a45b93631 2025-03-27 02:23:40,881 - DEBUG - Response for create_network : {'network': {'id': 'd9bcd038-c0a5-4b97-a3d0-d248540a9ae0', 'name': 'ctest-ext_vn-38871981', 'tenant_id': '7f71336549014a87942628dcc79bb51e', 'project_id': '7f71336549014a87942628dcc79bb51e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74252415', 'ctest-ext_vn-38871981'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 02:23:41,103 - DEBUG - Response for create_subnet : {'subnet': {'id': '7dada6b7-8c1c-40c1-83ad-2e500c3ee475', 'name': '', 'tenant_id': '7f71336549014a87942628dcc79bb51e', 'network_id': 'd9bcd038-c0a5-4b97-a3d0-d248540a9ae0', 'ip_version': 4, 'cidr': '16.39.90.192/26', 'allocation_pools': [{'start': '16.39.90.194', 'end': '16.39.90.254'}], 'gateway_ip': '16.39.90.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.39.90.194', 'tags': [], 'project_id': '7f71336549014a87942628dcc79bb51e'}} 2025-03-27 02:23:41,124 - INFO - Created VN ctest-ext_vn-38871981 2025-03-27 02:23:41,179 - DEBUG - VN ctest-ext_vn-38871981 UUID is d9bcd038-c0a5-4b97-a3d0-d248540a9ae0 2025-03-27 02:23:41,358 - DEBUG - Services list from nova: [, , ] 2025-03-27 02:23:42,362 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2964-1) 2025-03-27 02:23:43,511 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2964-1) 2025-03-27 02:23:43,588 - INFO - Setting gateway for router eeb94fdd-0ff7-4c77-9397-1438b2b22d0a to network d9bcd038-c0a5-4b97-a3d0-d248540a9ae0 2025-03-27 02:23:43,668 - INFO - Adding interface with subnet_id 546f980f-0c5d-433a-961e-37b9b18b1674, port_id None to router eeb94fdd-0ff7-4c77-9397-1438b2b22d0a 2025-03-27 02:23:44,115 - INFO - Waiting for VM ctest-TestRoutersBasic-74252415-57797171 to be up.. 2025-03-27 02:23:44,328 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 02:23:49,412 - DEBUG - VM is in ACTIVE state now 2025-03-27 02:23:49,413 - INFO - VM name : ctest-TestRoutersBasic-74252415-57797171 2025-03-27 02:23:49,506 - DEBUG - VM ctest-TestRoutersBasic-74252415-57797171 ID is 0255b41c-58ea-4cc6-8218-ef38a07ac3ff 2025-03-27 02:23:49,526 - DEBUG - VM ctest-TestRoutersBasic-74252415-57797171 launched on Node cn-jenkins-deploy-platform-ansible-os-2964-1. 2025-03-27 02:23:49,608 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0255b41c-58ea-4cc6-8218-ef38a07ac3ff 2025-03-27 02:23:49,935 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0255b41c-58ea-4cc6-8218-ef38a07ac3ff 2025-03-27 02:23:49,971 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/56af51de-8b7e-418f-bdac-23ee9d614a0e 2025-03-27 02:23:53,241 - 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 1013ms') 2025-03-27 02:23:53,241 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74252415-57797171 failed! 2025-03-27 02:23:53,299 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-74252415:ctest-vn-35857040 is 149.8.172.193 and allocation pool is NOT set 2025-03-27 02:23:55,363 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.94 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 = 1.942/3.211/4.481/1.269 ms') 2025-03-27 02:23:55,363 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74252415-57797171 passed 2025-03-27 02:23:55,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:23:55,515 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74252415-57797171, IP 149.8.172.195, Port 22 2025-03-27 02:23:55,692 - DEBUG - VM ctest-TestRoutersBasic-74252415-57797171 is ready for SSH connections 2025-03-27 02:23:55,692 - INFO - Waiting for VM ctest-TestRoutersBasic-74252415-90775741 to be up.. 2025-03-27 02:23:55,779 - DEBUG - VM is in ACTIVE state now 2025-03-27 02:23:55,779 - INFO - VM name : ctest-TestRoutersBasic-74252415-90775741 2025-03-27 02:23:55,862 - DEBUG - VM ctest-TestRoutersBasic-74252415-90775741 ID is 1b2e21d5-6234-490a-bbd5-ce4f3b9a72ff 2025-03-27 02:23:55,862 - DEBUG - VM ctest-TestRoutersBasic-74252415-90775741 launched on Node cn-jenkins-deploy-platform-ansible-os-2964-1. 2025-03-27 02:23:55,963 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1b2e21d5-6234-490a-bbd5-ce4f3b9a72ff 2025-03-27 02:23:55,974 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/269349a0-3f59-480a-abe3-4c2fd5c8458a 2025-03-27 02:23:57,228 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.603 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.603/1.935/3.268/1.332 ms') 2025-03-27 02:23:57,228 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-74252415-90775741 passed 2025-03-27 02:23:57,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:23:57,383 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74252415-90775741, IP 16.39.90.195, Port 22 2025-03-27 02:23:57,543 - DEBUG - VM ctest-TestRoutersBasic-74252415-90775741 is ready for SSH connections 2025-03-27 02:23:57,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:23:57,543 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.39.90.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-03-27 02:23:57,543 - DEBUG - ping -s 56 -c 3 -W 1 16.39.90.195 2025-03-27 02:24:01,535 - DEBUG - PING 16.39.90.195 (16.39.90.195): 56 data bytes 64 bytes from 16.39.90.195: seq=0 ttl=62 time=6.136 ms 64 bytes from 16.39.90.195: seq=1 ttl=62 time=0.919 ms 64 bytes from 16.39.90.195: seq=2 ttl=62 time=0.919 ms --- 16.39.90.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.919/2.658/6.136 ms 2025-03-27 02:24:01,535 - INFO - Ping to IP 16.39.90.195 from VM ctest-TestRoutersBasic-74252415-57797171 passed 2025-03-27 02:24:01,536 - INFO - Deleting interface with subnet_id 546f980f-0c5d-433a-961e-37b9b18b1674, port_id None from router eeb94fdd-0ff7-4c77-9397-1438b2b22d0a 2025-03-27 02:24:01,753 - INFO - Deleting VM ctest-TestRoutersBasic-74252415-90775741 2025-03-27 02:24:01,830 - INFO - Deleting VM ctest-TestRoutersBasic-74252415-57797171 2025-03-27 02:24:01,906 - INFO - Deleting VN ctest-ext_vn-38871981 2025-03-27 02:24:01,997 - DEBUG - VN d9bcd038-c0a5-4b97-a3d0-d248540a9ae0 still in use: Unable to complete operation on network d9bcd038-c0a5-4b97-a3d0-d248540a9ae0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b7353a78-21c4-49d8-a910-520d63982afa'] 2025-03-27 02:24:01,998 - WARNING - Deleting VN ctest-ext_vn-38871981 failed..Will retry 2025-03-27 02:24:04,109 - DEBUG - Response for deleting network () 2025-03-27 02:24:04,109 - INFO - Deleting VN ctest-vn-35857040 2025-03-27 02:24:04,213 - DEBUG - Response for deleting network () 2025-03-27 02:24:04,473 - DEBUG - No XMPP flaps were noticed during the test 2025-03-27 02:24:04,473 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-03-27 02:24:04,473 - INFO - -------------------------------------------------------------------------------- 2025-03-27 02:24:05,167 - INFO - Deleted project: ctest-TestRoutersBasic-74252415, ID : 7f713365-4901-4a87-9426-28dcc79bb51e