2025-08-21 02:09:01,375 - INFO - Domain Default found not creating 2025-08-21 02:09:01,502 - INFO - Project ctest-TestRoutersBasic-16488373 not found, creating it 2025-08-21 02:09:01,943 - INFO - Created Project:ctest-TestRoutersBasic-16488373, ID : daacbe7f-29d3-41a8-905e-a5ff75be6a03 2025-08-21 02:09:03,284 - INFO - ================================================================================ 2025-08-21 02:09:03,284 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-21 02:09:03,284 - 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-08-21 02:09:03,533 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.192': '0'}} with 2025-08-21 02:09:03,533 - INFO - Initial checks done. Running the testcase now 2025-08-21 02:09:03,533 - INFO - 2025-08-21 02:09:04,214 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16488373 2025-08-21 02:09:04,308 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16488373 2025-08-21 02:09:04,639 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16488373', 'default']} 2025-08-21 02:09:04,941 - DEBUG - Response for create_network : {'network': {'id': 'c64f1efa-8359-44db-adca-1d1ababc3f34', 'name': 'ctest-vn-66971465', 'tenant_id': 'daacbe7f29d341a8905ea5ff75be6a03', 'project_id': 'daacbe7f29d341a8905ea5ff75be6a03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16488373', 'ctest-vn-66971465'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:09:05,130 - DEBUG - Response for create_subnet : {'subnet': {'id': '15530f81-fd54-4daf-be1f-e36b65380ed6', 'name': '', 'tenant_id': 'daacbe7f29d341a8905ea5ff75be6a03', 'network_id': 'c64f1efa-8359-44db-adca-1d1ababc3f34', 'ip_version': 4, 'cidr': '24.33.47.192/26', 'allocation_pools': [{'start': '24.33.47.194', 'end': '24.33.47.254'}], 'gateway_ip': '24.33.47.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.33.47.194', 'tags': [], 'project_id': 'daacbe7f29d341a8905ea5ff75be6a03'}} 2025-08-21 02:09:05,149 - INFO - Created VN ctest-vn-66971465 2025-08-21 02:09:05,200 - DEBUG - VN ctest-vn-66971465 UUID is c64f1efa-8359-44db-adca-1d1ababc3f34 2025-08-21 02:09:05,573 - DEBUG - Response for create_network : {'network': {'id': 'b2fcafd6-97ea-4678-abc0-b49ec16678ff', 'name': 'ctest-ext_vn-33422841', 'tenant_id': 'daacbe7f29d341a8905ea5ff75be6a03', 'project_id': 'daacbe7f29d341a8905ea5ff75be6a03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16488373', 'ctest-ext_vn-33422841'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:09:05,746 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa804c8d-d277-49e9-845a-175d14739f70', 'name': '', 'tenant_id': 'daacbe7f29d341a8905ea5ff75be6a03', 'network_id': 'b2fcafd6-97ea-4678-abc0-b49ec16678ff', 'ip_version': 4, 'cidr': '95.241.70.0/26', 'allocation_pools': [{'start': '95.241.70.2', 'end': '95.241.70.62'}], 'gateway_ip': '95.241.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.241.70.2', 'tags': [], 'project_id': 'daacbe7f29d341a8905ea5ff75be6a03'}} 2025-08-21 02:09:05,763 - INFO - Created VN ctest-ext_vn-33422841 2025-08-21 02:09:05,816 - DEBUG - VN ctest-ext_vn-33422841 UUID is b2fcafd6-97ea-4678-abc0-b49ec16678ff 2025-08-21 02:09:06,025 - DEBUG - Services list from nova: [, , ] 2025-08-21 02:09:07,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3905-1) 2025-08-21 02:09:08,253 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3905-1) 2025-08-21 02:09:08,354 - INFO - Setting gateway for router 7dc6a1de-fcae-4399-8273-ea58c57fce8c to network b2fcafd6-97ea-4678-abc0-b49ec16678ff 2025-08-21 02:09:08,440 - INFO - Adding interface with subnet_id 15530f81-fd54-4daf-be1f-e36b65380ed6, port_id None to router 7dc6a1de-fcae-4399-8273-ea58c57fce8c 2025-08-21 02:09:08,885 - INFO - Waiting for VM ctest-TestRoutersBasic-16488373-54423643 to be up.. 2025-08-21 02:09:09,022 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-21 02:09:14,093 - DEBUG - VM is in ACTIVE state now 2025-08-21 02:09:14,093 - INFO - VM name : ctest-TestRoutersBasic-16488373-54423643 2025-08-21 02:09:14,177 - DEBUG - VM ctest-TestRoutersBasic-16488373-54423643 ID is fa4c0b04-210c-4174-b2e7-b40746064a09 2025-08-21 02:09:14,198 - DEBUG - VM ctest-TestRoutersBasic-16488373-54423643 launched on Node cn-jenkins-deploy-platform-ansible-os-3905-1 2025-08-21 02:09:14,276 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/fa4c0b04-210c-4174-b2e7-b40746064a09 2025-08-21 02:09:14,605 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/fa4c0b04-210c-4174-b2e7-b40746064a09 2025-08-21 02:09:14,637 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/1ca2d8f4-3a7e-440e-b76b-d306797520ef 2025-08-21 02:09:17,888 - 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=2 ttl=63 time=8.19 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 8.193/8.193/8.193/0.000 ms') 2025-08-21 02:09:17,888 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16488373-54423643 passed 2025-08-21 02:09:18,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:09:18,040 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16488373-54423643, IP 24.33.47.195, Port 22 2025-08-21 02:09:18,208 - DEBUG - VM ctest-TestRoutersBasic-16488373-54423643 is ready for SSH connections 2025-08-21 02:09:18,208 - INFO - Waiting for VM ctest-TestRoutersBasic-16488373-34705845 to be up.. 2025-08-21 02:09:18,283 - DEBUG - VM is in ACTIVE state now 2025-08-21 02:09:18,283 - INFO - VM name : ctest-TestRoutersBasic-16488373-34705845 2025-08-21 02:09:18,349 - DEBUG - VM ctest-TestRoutersBasic-16488373-34705845 ID is ccbead86-9257-4dee-885f-db1a1c710ff6 2025-08-21 02:09:18,349 - DEBUG - VM ctest-TestRoutersBasic-16488373-34705845 launched on Node cn-jenkins-deploy-platform-ansible-os-3905-1 2025-08-21 02:09:18,416 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/ccbead86-9257-4dee-885f-db1a1c710ff6 2025-08-21 02:09:18,423 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d4596cf3-09ed-4da5-bc9f-7fed372b1f0d 2025-08-21 02:09:19,656 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.855 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.855/2.686/4.517/1.831 ms') 2025-08-21 02:09:19,656 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16488373-34705845 passed 2025-08-21 02:09:19,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:09:19,812 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16488373-34705845, IP 95.241.70.3, Port 22 2025-08-21 02:09:19,971 - DEBUG - VM ctest-TestRoutersBasic-16488373-34705845 is ready for SSH connections 2025-08-21 02:09:19,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:09:19,971 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.241.70.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-08-21 02:09:19,971 - DEBUG - ping -s 56 -c 3 -W 1 95.241.70.3 2025-08-21 02:09:24,011 - DEBUG - PING 95.241.70.3 (95.241.70.3): 56 data bytes 64 bytes from 95.241.70.3: seq=0 ttl=62 time=7.100 ms 64 bytes from 95.241.70.3: seq=1 ttl=62 time=0.736 ms 64 bytes from 95.241.70.3: seq=2 ttl=62 time=0.762 ms --- 95.241.70.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.736/2.866/7.100 ms 2025-08-21 02:09:24,011 - INFO - Ping to IP 95.241.70.3 from VM ctest-TestRoutersBasic-16488373-54423643 passed 2025-08-21 02:09:24,011 - INFO - Deleting interface with subnet_id 15530f81-fd54-4daf-be1f-e36b65380ed6, port_id None from router 7dc6a1de-fcae-4399-8273-ea58c57fce8c 2025-08-21 02:09:24,240 - INFO - Deleting VM ctest-TestRoutersBasic-16488373-34705845 2025-08-21 02:09:24,308 - INFO - Deleting VM ctest-TestRoutersBasic-16488373-54423643 2025-08-21 02:09:24,400 - INFO - Deleting VN ctest-ext_vn-33422841 2025-08-21 02:09:24,495 - DEBUG - VN b2fcafd6-97ea-4678-abc0-b49ec16678ff still in use: Unable to complete operation on network b2fcafd6-97ea-4678-abc0-b49ec16678ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0c5dcb97-7ec9-4adb-bee3-38de0569d562'] 2025-08-21 02:09:24,496 - WARNING - Deleting VN ctest-ext_vn-33422841 failed..Will retry 2025-08-21 02:09:26,606 - DEBUG - Response for deleting network () 2025-08-21 02:09:26,606 - INFO - Deleting VN ctest-vn-66971465 2025-08-21 02:09:26,709 - DEBUG - Response for deleting network () 2025-08-21 02:09:26,968 - DEBUG - No XMPP flaps were noticed during the test 2025-08-21 02:09:26,968 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23] 2025-08-21 02:09:26,969 - INFO - -------------------------------------------------------------------------------- 2025-08-21 02:09:27,645 - INFO - Deleted project: ctest-TestRoutersBasic-16488373, ID : daacbe7f-29d3-41a8-905e-a5ff75be6a03