2025-10-21 16:27:51,192 - INFO - Domain Default found not creating 2025-10-21 16:27:51,520 - INFO - Project ctest-TestRoutersBasic-05973069 not found, creating it 2025-10-21 16:27:52,123 - INFO - Created Project:ctest-TestRoutersBasic-05973069, ID : b341dbd6-207c-46d8-9fe3-873300459320 2025-10-21 16:27:53,959 - INFO - ================================================================================ 2025-10-21 16:27:53,959 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-21 16:27:53,959 - 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-10-21 16:27:54,265 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-21 16:27:54,266 - INFO - Initial checks done. Running the testcase now 2025-10-21 16:27:54,266 - INFO - 2025-10-21 16:27:55,218 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05973069 2025-10-21 16:27:55,323 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05973069 2025-10-21 16:27:55,715 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05973069', 'default']} 2025-10-21 16:27:56,110 - DEBUG - Response for create_network : {'network': {'id': '58f59cdd-c48c-493c-a1ba-7d1464ba6210', 'name': 'ctest-vn-72046024', 'tenant_id': 'b341dbd6207c46d89fe3873300459320', 'project_id': 'b341dbd6207c46d89fe3873300459320', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05973069', 'ctest-vn-72046024'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:27:56,300 - DEBUG - Response for create_subnet : {'subnet': {'id': '85a05eb4-0b93-454f-98d2-617fd5556371', 'name': '', 'tenant_id': 'b341dbd6207c46d89fe3873300459320', 'network_id': '58f59cdd-c48c-493c-a1ba-7d1464ba6210', 'ip_version': 4, 'cidr': '34.213.170.64/26', 'allocation_pools': [{'start': '34.213.170.66', 'end': '34.213.170.126'}], 'gateway_ip': '34.213.170.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.213.170.66', 'tags': [], 'project_id': 'b341dbd6207c46d89fe3873300459320'}} 2025-10-21 16:27:56,319 - INFO - Created VN ctest-vn-72046024 2025-10-21 16:27:56,371 - DEBUG - VN ctest-vn-72046024 UUID is 58f59cdd-c48c-493c-a1ba-7d1464ba6210 2025-10-21 16:27:56,793 - DEBUG - Response for create_network : {'network': {'id': 'd933ec50-b7f3-4d2c-b0db-15ffc303dd36', 'name': 'ctest-ext_vn-60031698', 'tenant_id': 'b341dbd6207c46d89fe3873300459320', 'project_id': 'b341dbd6207c46d89fe3873300459320', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05973069', 'ctest-ext_vn-60031698'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:27:57,063 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9641a46-6fc0-4e14-9eeb-dd2f3f0cdc84', 'name': '', 'tenant_id': 'b341dbd6207c46d89fe3873300459320', 'network_id': 'd933ec50-b7f3-4d2c-b0db-15ffc303dd36', 'ip_version': 4, 'cidr': '177.14.99.128/26', 'allocation_pools': [{'start': '177.14.99.130', 'end': '177.14.99.190'}], 'gateway_ip': '177.14.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.14.99.130', 'tags': [], 'project_id': 'b341dbd6207c46d89fe3873300459320'}} 2025-10-21 16:27:57,097 - INFO - Created VN ctest-ext_vn-60031698 2025-10-21 16:27:57,160 - DEBUG - VN ctest-ext_vn-60031698 UUID is d933ec50-b7f3-4d2c-b0db-15ffc303dd36 2025-10-21 16:27:57,440 - DEBUG - Services list from nova: [, , ] 2025-10-21 16:27:58,876 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4397-1) 2025-10-21 16:28:00,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4397-1) 2025-10-21 16:28:00,210 - INFO - Setting gateway for router d680c7e6-7de7-4fec-9cea-742ab57708c9 to network d933ec50-b7f3-4d2c-b0db-15ffc303dd36 2025-10-21 16:28:00,284 - INFO - Adding interface with subnet_id 85a05eb4-0b93-454f-98d2-617fd5556371, port_id None to router d680c7e6-7de7-4fec-9cea-742ab57708c9 2025-10-21 16:28:00,667 - INFO - Waiting for VM ctest-TestRoutersBasic-05973069-56130892 to be up.. 2025-10-21 16:28:00,871 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 16:28:06,002 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:28:06,002 - INFO - VM name : ctest-TestRoutersBasic-05973069-56130892 2025-10-21 16:28:06,116 - DEBUG - VM ctest-TestRoutersBasic-05973069-56130892 ID is a6489cdf-c629-4f2b-a8c7-5e524b6ee93b 2025-10-21 16:28:06,157 - DEBUG - VM ctest-TestRoutersBasic-05973069-56130892 launched on Node cn-jenkins-deploy-platform-ansible-os-4397-1 2025-10-21 16:28:06,265 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a6489cdf-c629-4f2b-a8c7-5e524b6ee93b 2025-10-21 16:28:06,606 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a6489cdf-c629-4f2b-a8c7-5e524b6ee93b 2025-10-21 16:28:06,674 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/410fb506-7e34-43ac-8222-b8519e9c9404 2025-10-21 16:28:09,970 - 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 1017ms') 2025-10-21 16:28:09,970 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05973069-56130892 failed! 2025-10-21 16:28:10,031 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05973069:ctest-vn-72046024 is 34.213.170.65 and allocation pool is NOT set 2025-10-21 16:28:12,101 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.821 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.821/2.030/3.239/1.209 ms') 2025-10-21 16:28:12,101 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05973069-56130892 passed 2025-10-21 16:28:12,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:28:12,275 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05973069-56130892, IP 34.213.170.67, Port 22 2025-10-21 16:28:12,442 - DEBUG - VM ctest-TestRoutersBasic-05973069-56130892 is ready for SSH connections 2025-10-21 16:28:12,442 - INFO - Waiting for VM ctest-TestRoutersBasic-05973069-46704020 to be up.. 2025-10-21 16:28:12,529 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:28:12,529 - INFO - VM name : ctest-TestRoutersBasic-05973069-46704020 2025-10-21 16:28:12,607 - DEBUG - VM ctest-TestRoutersBasic-05973069-46704020 ID is 1d401cf5-56ea-4066-a140-b4f5e90208d8 2025-10-21 16:28:12,607 - DEBUG - VM ctest-TestRoutersBasic-05973069-46704020 launched on Node cn-jenkins-deploy-platform-ansible-os-4397-1 2025-10-21 16:28:12,685 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1d401cf5-56ea-4066-a140-b4f5e90208d8 2025-10-21 16:28:12,696 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1fd7a0be-3cc0-4c2f-a25e-8a7017da579b 2025-10-21 16:28:13,950 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.700 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.700/2.358/4.016/1.658 ms') 2025-10-21 16:28:13,950 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05973069-46704020 passed 2025-10-21 16:28:14,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:28:14,107 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05973069-46704020, IP 177.14.99.131, Port 22 2025-10-21 16:28:14,286 - DEBUG - VM ctest-TestRoutersBasic-05973069-46704020 is ready for SSH connections 2025-10-21 16:28:14,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:28:14,287 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.14.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 16:28:14,287 - DEBUG - ping -s 56 -c 3 -W 1 177.14.99.131 2025-10-21 16:28:18,270 - DEBUG - PING 177.14.99.131 (177.14.99.131): 56 data bytes 64 bytes from 177.14.99.131: seq=0 ttl=62 time=6.574 ms 64 bytes from 177.14.99.131: seq=1 ttl=62 time=1.886 ms 64 bytes from 177.14.99.131: seq=2 ttl=62 time=1.472 ms --- 177.14.99.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.472/3.310/6.574 ms 2025-10-21 16:28:18,270 - INFO - Ping to IP 177.14.99.131 from VM ctest-TestRoutersBasic-05973069-56130892 passed 2025-10-21 16:28:18,270 - INFO - Deleting interface with subnet_id 85a05eb4-0b93-454f-98d2-617fd5556371, port_id None from router d680c7e6-7de7-4fec-9cea-742ab57708c9 2025-10-21 16:28:18,549 - INFO - Deleting VM ctest-TestRoutersBasic-05973069-46704020 2025-10-21 16:28:18,621 - INFO - Deleting VM ctest-TestRoutersBasic-05973069-56130892 2025-10-21 16:28:18,706 - INFO - Deleting VN ctest-ext_vn-60031698 2025-10-21 16:28:18,789 - DEBUG - VN d933ec50-b7f3-4d2c-b0db-15ffc303dd36 still in use: Unable to complete operation on network d933ec50-b7f3-4d2c-b0db-15ffc303dd36. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e2997d67-3012-4133-a629-59c04d3bf5ae'] 2025-10-21 16:28:18,790 - WARNING - Deleting VN ctest-ext_vn-60031698 failed..Will retry 2025-10-21 16:28:20,983 - DEBUG - Response for deleting network () 2025-10-21 16:28:20,983 - INFO - Deleting VN ctest-vn-72046024 2025-10-21 16:28:21,097 - DEBUG - Response for deleting network () 2025-10-21 16:28:21,391 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 16:28:21,391 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-10-21 16:28:21,391 - INFO - -------------------------------------------------------------------------------- 2025-10-21 16:28:22,226 - INFO - Deleted project: ctest-TestRoutersBasic-05973069, ID : b341dbd6-207c-46d8-9fe3-873300459320