2025-06-09 17:20:07,019 - INFO - Domain Default found not creating 2025-06-09 17:20:07,169 - INFO - Project ctest-TestRoutersBasic-40976605 not found, creating it 2025-06-09 17:20:07,618 - INFO - Created Project:ctest-TestRoutersBasic-40976605, ID : 32489293-169c-4ae0-a883-330ef1daa19e 2025-06-09 17:20:09,044 - INFO - ================================================================================ 2025-06-09 17:20:09,044 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-09 17:20:09,044 - 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-06-09 17:20:09,308 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-06-09 17:20:09,308 - INFO - Initial checks done. Running the testcase now 2025-06-09 17:20:09,308 - INFO - 2025-06-09 17:20:10,006 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40976605 2025-06-09 17:20:10,107 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40976605 2025-06-09 17:20:10,438 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40976605', 'default']} 2025-06-09 17:20:10,722 - DEBUG - Response for create_network : {'network': {'id': '6c5ca3f3-d1c1-4a5a-9ca9-403e450b099c', 'name': 'ctest-vn-82755026', 'tenant_id': '32489293169c4ae0a883330ef1daa19e', 'project_id': '32489293169c4ae0a883330ef1daa19e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40976605', 'ctest-vn-82755026'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 17:20:10,863 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b578d5b1-5524-4bd0-919c-f1480c99f0d0', 'name': '', 'tenant_id': '32489293169c4ae0a883330ef1daa19e', 'network_id': '6c5ca3f3-d1c1-4a5a-9ca9-403e450b099c', 'ip_version': 4, 'cidr': '51.138.106.0/26', 'allocation_pools': [{'start': '51.138.106.2', 'end': '51.138.106.62'}], 'gateway_ip': '51.138.106.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.138.106.2', 'tags': [], 'project_id': '32489293169c4ae0a883330ef1daa19e'}} 2025-06-09 17:20:10,881 - INFO - Created VN ctest-vn-82755026 2025-06-09 17:20:10,935 - DEBUG - VN ctest-vn-82755026 UUID is 6c5ca3f3-d1c1-4a5a-9ca9-403e450b099c 2025-06-09 17:20:11,290 - DEBUG - Response for create_network : {'network': {'id': '57db1769-6014-43e7-b8e6-6b5158010c16', 'name': 'ctest-ext_vn-45903341', 'tenant_id': '32489293169c4ae0a883330ef1daa19e', 'project_id': '32489293169c4ae0a883330ef1daa19e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40976605', 'ctest-ext_vn-45903341'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 17:20:11,505 - DEBUG - Response for create_subnet : {'subnet': {'id': '955a189d-7bd0-4605-a8ba-65c554a78abd', 'name': '', 'tenant_id': '32489293169c4ae0a883330ef1daa19e', 'network_id': '57db1769-6014-43e7-b8e6-6b5158010c16', 'ip_version': 4, 'cidr': '50.124.54.0/26', 'allocation_pools': [{'start': '50.124.54.2', 'end': '50.124.54.62'}], 'gateway_ip': '50.124.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.124.54.2', 'tags': [], 'project_id': '32489293169c4ae0a883330ef1daa19e'}} 2025-06-09 17:20:11,522 - INFO - Created VN ctest-ext_vn-45903341 2025-06-09 17:20:11,575 - DEBUG - VN ctest-ext_vn-45903341 UUID is 57db1769-6014-43e7-b8e6-6b5158010c16 2025-06-09 17:20:11,742 - DEBUG - Services list from nova: [, , ] 2025-06-09 17:20:12,746 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3427-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3427-1) 2025-06-09 17:20:13,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3427-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3427-1) 2025-06-09 17:20:13,923 - INFO - Setting gateway for router 98df6aee-3223-410f-a7a6-a2d5f2765136 to network 57db1769-6014-43e7-b8e6-6b5158010c16 2025-06-09 17:20:13,981 - INFO - Adding interface with subnet_id b578d5b1-5524-4bd0-919c-f1480c99f0d0, port_id None to router 98df6aee-3223-410f-a7a6-a2d5f2765136 2025-06-09 17:20:14,490 - INFO - Waiting for VM ctest-TestRoutersBasic-40976605-84653884 to be up.. 2025-06-09 17:20:14,594 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-09 17:20:19,675 - DEBUG - VM is in ACTIVE state now 2025-06-09 17:20:19,676 - INFO - VM name : ctest-TestRoutersBasic-40976605-84653884 2025-06-09 17:20:19,750 - DEBUG - VM ctest-TestRoutersBasic-40976605-84653884 ID is 59031a05-8fc6-4512-bbe8-634c393015e1 2025-06-09 17:20:19,769 - DEBUG - VM ctest-TestRoutersBasic-40976605-84653884 launched on Node cn-jenkins-deploy-platform-ansible-os-3427-1 2025-06-09 17:20:19,842 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/59031a05-8fc6-4512-bbe8-634c393015e1 2025-06-09 17:20:20,138 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/59031a05-8fc6-4512-bbe8-634c393015e1 2025-06-09 17:20:20,169 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5574d195-7519-46bb-8fb3-e5249afc2ac3 2025-06-09 17:20:23,424 - 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 1022ms') 2025-06-09 17:20:23,424 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40976605-84653884 failed! 2025-06-09 17:20:23,479 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40976605:ctest-vn-82755026 is 51.138.106.1 and allocation pool is NOT set 2025-06-09 17:20:25,535 - 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=2.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 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 = 0.449/1.556/2.663/1.107 ms') 2025-06-09 17:20:25,535 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40976605-84653884 passed 2025-06-09 17:20:25,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 17:20:25,639 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40976605-84653884, IP 51.138.106.3, Port 22 2025-06-09 17:20:25,803 - DEBUG - VM ctest-TestRoutersBasic-40976605-84653884 is ready for SSH connections 2025-06-09 17:20:25,803 - INFO - Waiting for VM ctest-TestRoutersBasic-40976605-28586246 to be up.. 2025-06-09 17:20:25,876 - DEBUG - VM is in ACTIVE state now 2025-06-09 17:20:25,876 - INFO - VM name : ctest-TestRoutersBasic-40976605-28586246 2025-06-09 17:20:25,955 - DEBUG - VM ctest-TestRoutersBasic-40976605-28586246 ID is 4744adca-bd88-4dc6-a7c7-aaa1cc640f4c 2025-06-09 17:20:25,955 - DEBUG - VM ctest-TestRoutersBasic-40976605-28586246 launched on Node cn-jenkins-deploy-platform-ansible-os-3427-1 2025-06-09 17:20:26,027 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/4744adca-bd88-4dc6-a7c7-aaa1cc640f4c 2025-06-09 17:20:26,035 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b658abdc-4ad2-46d4-9ddc-42e0e2c25b48 2025-06-09 17:20:27,271 - 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=2.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 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.387/1.546/2.705/1.159 ms') 2025-06-09 17:20:27,272 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40976605-28586246 passed 2025-06-09 17:20:27,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 17:20:27,427 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40976605-28586246, IP 50.124.54.3, Port 22 2025-06-09 17:20:27,596 - DEBUG - VM ctest-TestRoutersBasic-40976605-28586246 is ready for SSH connections 2025-06-09 17:20:27,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 17:20:27,596 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.124.54.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-06-09 17:20:27,596 - DEBUG - ping -s 56 -c 3 -W 1 50.124.54.3 2025-06-09 17:20:31,307 - DEBUG - PING 50.124.54.3 (50.124.54.3): 56 data bytes 64 bytes from 50.124.54.3: seq=0 ttl=62 time=5.595 ms 64 bytes from 50.124.54.3: seq=1 ttl=62 time=0.829 ms 64 bytes from 50.124.54.3: seq=2 ttl=62 time=0.906 ms --- 50.124.54.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.829/2.443/5.595 ms 2025-06-09 17:20:31,307 - INFO - Ping to IP 50.124.54.3 from VM ctest-TestRoutersBasic-40976605-84653884 passed 2025-06-09 17:20:31,307 - INFO - Deleting interface with subnet_id b578d5b1-5524-4bd0-919c-f1480c99f0d0, port_id None from router 98df6aee-3223-410f-a7a6-a2d5f2765136 2025-06-09 17:20:31,581 - INFO - Deleting VM ctest-TestRoutersBasic-40976605-28586246 2025-06-09 17:20:31,683 - INFO - Deleting VM ctest-TestRoutersBasic-40976605-84653884 2025-06-09 17:20:31,789 - INFO - Deleting VN ctest-ext_vn-45903341 2025-06-09 17:20:31,960 - DEBUG - VN 57db1769-6014-43e7-b8e6-6b5158010c16 still in use: Unable to complete operation on network 57db1769-6014-43e7-b8e6-6b5158010c16. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-40e5ae0e-0165-4cf9-960e-04b302a92f8d'] 2025-06-09 17:20:31,960 - WARNING - Deleting VN ctest-ext_vn-45903341 failed..Will retry 2025-06-09 17:20:34,070 - DEBUG - Response for deleting network () 2025-06-09 17:20:34,070 - INFO - Deleting VN ctest-vn-82755026 2025-06-09 17:20:34,188 - DEBUG - Response for deleting network () 2025-06-09 17:20:34,452 - DEBUG - No XMPP flaps were noticed during the test
2025-06-09 17:20:34,452 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-06-09 17:20:34,452 - INFO - -------------------------------------------------------------------------------- 2025-06-09 17:20:35,111 - INFO - Deleted project: ctest-TestRoutersBasic-40976605, ID : 32489293-169c-4ae0-a883-330ef1daa19e