2025-06-19 08:07:05,565 - INFO - Domain Default found not creating 2025-06-19 08:07:05,727 - INFO - Project ctest-TestRoutersBasic-05215627 not found, creating it 2025-06-19 08:07:06,234 - INFO - Created Project:ctest-TestRoutersBasic-05215627, ID : b8f65af9-abe0-4830-9ee0-ba2418521fe8 2025-06-19 08:07:07,718 - INFO - ================================================================================ 2025-06-19 08:07:07,718 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-19 08:07:07,718 - 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-19 08:07:07,981 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-06-19 08:07:07,981 - INFO - Initial checks done. Running the testcase now 2025-06-19 08:07:07,981 - INFO - 2025-06-19 08:07:08,743 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05215627 2025-06-19 08:07:08,841 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05215627 2025-06-19 08:07:09,160 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05215627', 'default']} 2025-06-19 08:07:09,520 - DEBUG - Response for create_network : {'network': {'id': '6cbd53e8-9633-4c3c-a812-ff7cad5817ec', 'name': 'ctest-vn-53768467', 'tenant_id': 'b8f65af9abe048309ee0ba2418521fe8', 'project_id': 'b8f65af9abe048309ee0ba2418521fe8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05215627', 'ctest-vn-53768467'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:07:09,691 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cab836dd-9d51-4251-a9b6-b53914246047', 'name': '', 'tenant_id': 'b8f65af9abe048309ee0ba2418521fe8', 'network_id': '6cbd53e8-9633-4c3c-a812-ff7cad5817ec', 'ip_version': 4, 'cidr': '116.120.58.64/26', 'allocation_pools': [{'start': '116.120.58.66', 'end': '116.120.58.126'}], 'gateway_ip': '116.120.58.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.120.58.66', 'tags': [], 'project_id': 'b8f65af9abe048309ee0ba2418521fe8'}} 2025-06-19 08:07:09,710 - INFO - Created VN ctest-vn-53768467 2025-06-19 08:07:09,764 - DEBUG - VN ctest-vn-53768467 UUID is 6cbd53e8-9633-4c3c-a812-ff7cad5817ec 2025-06-19 08:07:10,149 - DEBUG - Response for create_network : {'network': {'id': 'd5d662a8-4ab2-4803-be5c-6c41affba29c', 'name': 'ctest-ext_vn-92137793', 'tenant_id': 'b8f65af9abe048309ee0ba2418521fe8', 'project_id': 'b8f65af9abe048309ee0ba2418521fe8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05215627', 'ctest-ext_vn-92137793'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:07:10,340 - DEBUG - Response for create_subnet : {'subnet': {'id': '6014223c-4adc-463a-9cf1-e98bba0b8779', 'name': '', 'tenant_id': 'b8f65af9abe048309ee0ba2418521fe8', 'network_id': 'd5d662a8-4ab2-4803-be5c-6c41affba29c', 'ip_version': 4, 'cidr': '43.99.49.128/26', 'allocation_pools': [{'start': '43.99.49.130', 'end': '43.99.49.190'}], 'gateway_ip': '43.99.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.99.49.130', 'tags': [], 'project_id': 'b8f65af9abe048309ee0ba2418521fe8'}} 2025-06-19 08:07:10,362 - INFO - Created VN ctest-ext_vn-92137793 2025-06-19 08:07:10,421 - DEBUG - VN ctest-ext_vn-92137793 UUID is d5d662a8-4ab2-4803-be5c-6c41affba29c 2025-06-19 08:07:10,607 - DEBUG - Services list from nova: [, , ] 2025-06-19 08:07:11,656 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3484-1) 2025-06-19 08:07:12,965 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3484-1) 2025-06-19 08:07:13,078 - INFO - Setting gateway for router 55142db7-534f-4ddf-9d61-0df4579ef880 to network d5d662a8-4ab2-4803-be5c-6c41affba29c 2025-06-19 08:07:13,175 - INFO - Adding interface with subnet_id cab836dd-9d51-4251-a9b6-b53914246047, port_id None to router 55142db7-534f-4ddf-9d61-0df4579ef880 2025-06-19 08:07:13,638 - INFO - Waiting for VM ctest-TestRoutersBasic-05215627-26147822 to be up.. 2025-06-19 08:07:13,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 08:07:18,904 - DEBUG - VM is in ACTIVE state now 2025-06-19 08:07:18,904 - INFO - VM name : ctest-TestRoutersBasic-05215627-26147822 2025-06-19 08:07:18,988 - DEBUG - VM ctest-TestRoutersBasic-05215627-26147822 ID is 7d3422cb-ae4f-493d-8435-3b391526388c 2025-06-19 08:07:19,010 - DEBUG - VM ctest-TestRoutersBasic-05215627-26147822 launched on Node cn-jenkins-deploy-platform-ansible-os-3484-1 2025-06-19 08:07:19,097 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7d3422cb-ae4f-493d-8435-3b391526388c 2025-06-19 08:07:19,397 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7d3422cb-ae4f-493d-8435-3b391526388c 2025-06-19 08:07:19,431 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c6a44dfb-b085-4832-a8e7-9e04f6814adf 2025-06-19 08:07:22,703 - 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-06-19 08:07:22,703 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05215627-26147822 failed! 2025-06-19 08:07:22,765 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05215627:ctest-vn-53768467 is 116.120.58.65 and allocation pool is NOT set 2025-06-19 08:07:24,830 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.946 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.946/2.216/3.486/1.270 ms') 2025-06-19 08:07:24,830 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05215627-26147822 passed 2025-06-19 08:07:24,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:07:24,997 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05215627-26147822, IP 116.120.58.67, Port 22 2025-06-19 08:07:25,164 - DEBUG - VM ctest-TestRoutersBasic-05215627-26147822 is ready for SSH connections 2025-06-19 08:07:25,164 - INFO - Waiting for VM ctest-TestRoutersBasic-05215627-03668539 to be up.. 2025-06-19 08:07:25,249 - DEBUG - VM is in ACTIVE state now 2025-06-19 08:07:25,249 - INFO - VM name : ctest-TestRoutersBasic-05215627-03668539 2025-06-19 08:07:25,329 - DEBUG - VM ctest-TestRoutersBasic-05215627-03668539 ID is 8c4cc4f0-256a-449d-a4c8-5a91d9989b4f 2025-06-19 08:07:25,329 - DEBUG - VM ctest-TestRoutersBasic-05215627-03668539 launched on Node cn-jenkins-deploy-platform-ansible-os-3484-1 2025-06-19 08:07:25,412 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/8c4cc4f0-256a-449d-a4c8-5a91d9989b4f 2025-06-19 08:07:25,424 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/73ce8b7c-7e9f-46dd-834b-4a722c8461ee 2025-06-19 08:07:26,680 - 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=5.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.42 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.424/3.431/5.439/2.007 ms') 2025-06-19 08:07:26,680 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05215627-03668539 passed 2025-06-19 08:07:26,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:07:26,841 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05215627-03668539, IP 43.99.49.131, Port 22 2025-06-19 08:07:27,004 - DEBUG - VM ctest-TestRoutersBasic-05215627-03668539 is ready for SSH connections 2025-06-19 08:07:27,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:07:27,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.99.49.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-19 08:07:27,005 - DEBUG - ping -s 56 -c 3 -W 1 43.99.49.131 2025-06-19 08:07:30,774 - DEBUG - PING 43.99.49.131 (43.99.49.131): 56 data bytes 64 bytes from 43.99.49.131: seq=0 ttl=62 time=8.617 ms 64 bytes from 43.99.49.131: seq=1 ttl=62 time=0.971 ms 64 bytes from 43.99.49.131: seq=2 ttl=62 time=0.901 ms --- 43.99.49.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/3.496/8.617 ms 2025-06-19 08:07:30,775 - INFO - Ping to IP 43.99.49.131 from VM ctest-TestRoutersBasic-05215627-26147822 passed 2025-06-19 08:07:30,775 - INFO - Deleting interface with subnet_id cab836dd-9d51-4251-a9b6-b53914246047, port_id None from router 55142db7-534f-4ddf-9d61-0df4579ef880 2025-06-19 08:07:31,042 - INFO - Deleting VM ctest-TestRoutersBasic-05215627-03668539 2025-06-19 08:07:31,164 - INFO - Deleting VM ctest-TestRoutersBasic-05215627-26147822 2025-06-19 08:07:31,266 - INFO - Deleting VN ctest-ext_vn-92137793 2025-06-19 08:07:31,393 - DEBUG - VN d5d662a8-4ab2-4803-be5c-6c41affba29c still in use: Unable to complete operation on network d5d662a8-4ab2-4803-be5c-6c41affba29c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-06b9306f-087f-4620-9018-17807a06644b'] 2025-06-19 08:07:31,393 - WARNING - Deleting VN ctest-ext_vn-92137793 failed..Will retry 2025-06-19 08:07:33,512 - DEBUG - Response for deleting network () 2025-06-19 08:07:33,513 - INFO - Deleting VN ctest-vn-53768467 2025-06-19 08:07:33,634 - DEBUG - Response for deleting network () 2025-06-19 08:07:33,900 - DEBUG - No XMPP flaps were noticed during the test 2025-06-19 08:07:33,900 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-19 08:07:33,900 - INFO - -------------------------------------------------------------------------------- 2025-06-19 08:07:34,594 - INFO - Deleted project: ctest-TestRoutersBasic-05215627, ID : b8f65af9-abe0-4830-9ee0-ba2418521fe8