2025-08-12 15:59:03,232 - INFO - Domain Default found not creating 2025-08-12 15:59:03,341 - INFO - Project ctest-TestRoutersBasic-19704317 not found, creating it 2025-08-12 15:59:03,830 - INFO - Created Project:ctest-TestRoutersBasic-19704317, ID : 5b86878d-aa5e-4fa6-b544-aaff4c409256 2025-08-12 15:59:05,104 - INFO - ================================================================================ 2025-08-12 15:59:05,104 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-12 15:59:05,104 - 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-12 15:59:05,363 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.17': '0'}} with 2025-08-12 15:59:05,363 - INFO - Initial checks done. Running the testcase now 2025-08-12 15:59:05,363 - INFO - 2025-08-12 15:59:06,026 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19704317 2025-08-12 15:59:06,130 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19704317 2025-08-12 15:59:06,446 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19704317', 'default']} 2025-08-12 15:59:06,706 - DEBUG - Response for create_network : {'network': {'id': '0b5d7cc4-473e-41d6-846e-704acb2eec24', 'name': 'ctest-vn-64927361', 'tenant_id': '5b86878daa5e4fa6b544aaff4c409256', 'project_id': '5b86878daa5e4fa6b544aaff4c409256', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19704317', 'ctest-vn-64927361'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 15:59:06,872 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5246af7-d144-4795-a149-e8a053a9c96b', 'name': '', 'tenant_id': '5b86878daa5e4fa6b544aaff4c409256', 'network_id': '0b5d7cc4-473e-41d6-846e-704acb2eec24', 'ip_version': 4, 'cidr': '179.172.254.0/26', 'allocation_pools': [{'start': '179.172.254.2', 'end': '179.172.254.62'}], 'gateway_ip': '179.172.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.172.254.2', 'tags': [], 'project_id': '5b86878daa5e4fa6b544aaff4c409256'}} 2025-08-12 15:59:06,886 - INFO - Created VN ctest-vn-64927361 2025-08-12 15:59:06,938 - DEBUG - VN ctest-vn-64927361 UUID is 0b5d7cc4-473e-41d6-846e-704acb2eec24 2025-08-12 15:59:07,245 - DEBUG - Response for create_network : {'network': {'id': 'bf6ea658-6fe7-4db4-acec-8887efbc2b54', 'name': 'ctest-ext_vn-75610655', 'tenant_id': '5b86878daa5e4fa6b544aaff4c409256', 'project_id': '5b86878daa5e4fa6b544aaff4c409256', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19704317', 'ctest-ext_vn-75610655'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 15:59:07,427 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f36f772c-4fe2-4ba4-aa64-41c6c969183c', 'name': '', 'tenant_id': '5b86878daa5e4fa6b544aaff4c409256', 'network_id': 'bf6ea658-6fe7-4db4-acec-8887efbc2b54', 'ip_version': 4, 'cidr': '135.111.155.0/26', 'allocation_pools': [{'start': '135.111.155.2', 'end': '135.111.155.62'}], 'gateway_ip': '135.111.155.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.111.155.2', 'tags': [], 'project_id': '5b86878daa5e4fa6b544aaff4c409256'}} 2025-08-12 15:59:07,441 - INFO - Created VN ctest-ext_vn-75610655 2025-08-12 15:59:07,490 - DEBUG - VN ctest-ext_vn-75610655 UUID is bf6ea658-6fe7-4db4-acec-8887efbc2b54 2025-08-12 15:59:07,664 - DEBUG - Services list from nova: [, , ] 2025-08-12 15:59:08,580 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3833-1) 2025-08-12 15:59:09,591 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3833-1) 2025-08-12 15:59:09,663 - INFO - Setting gateway for router 51663505-9897-4d1d-8c8d-f8e18397f070 to network bf6ea658-6fe7-4db4-acec-8887efbc2b54 2025-08-12 15:59:09,724 - INFO - Adding interface with subnet_id c5246af7-d144-4795-a149-e8a053a9c96b, port_id None to router 51663505-9897-4d1d-8c8d-f8e18397f070 2025-08-12 15:59:10,052 - INFO - Waiting for VM ctest-TestRoutersBasic-19704317-24118582 to be up.. 2025-08-12 15:59:10,177 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 15:59:15,239 - DEBUG - VM is in ACTIVE state now 2025-08-12 15:59:15,239 - INFO - VM name : ctest-TestRoutersBasic-19704317-24118582 2025-08-12 15:59:15,308 - DEBUG - VM ctest-TestRoutersBasic-19704317-24118582 ID is c75f20a6-1949-4c33-81a2-7ec6583cf301 2025-08-12 15:59:15,324 - DEBUG - VM ctest-TestRoutersBasic-19704317-24118582 launched on Node cn-jenkins-deploy-platform-ansible-os-3833-1 2025-08-12 15:59:15,380 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/c75f20a6-1949-4c33-81a2-7ec6583cf301 2025-08-12 15:59:15,666 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/c75f20a6-1949-4c33-81a2-7ec6583cf301 2025-08-12 15:59:15,693 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/823fc51a-5b3b-499a-81a5-34d8b0e9e7f9 2025-08-12 15:59:18,951 - 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 1016ms') 2025-08-12 15:59:18,951 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19704317-24118582 failed! 2025-08-12 15:59:19,006 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19704317:ctest-vn-64927361 is 179.172.254.1 and allocation pool is NOT set 2025-08-12 15:59:21,062 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.342 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.342/1.536/2.731/1.194 ms') 2025-08-12 15:59:21,062 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19704317-24118582 passed 2025-08-12 15:59:21,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 15:59:21,210 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19704317-24118582, IP 179.172.254.3, Port 22 2025-08-12 15:59:21,365 - DEBUG - VM ctest-TestRoutersBasic-19704317-24118582 is ready for SSH connections 2025-08-12 15:59:21,365 - INFO - Waiting for VM ctest-TestRoutersBasic-19704317-94621449 to be up.. 2025-08-12 15:59:21,425 - DEBUG - VM is in ACTIVE state now 2025-08-12 15:59:21,425 - INFO - VM name : ctest-TestRoutersBasic-19704317-94621449 2025-08-12 15:59:21,480 - DEBUG - VM ctest-TestRoutersBasic-19704317-94621449 ID is cc45d747-2481-4ab4-bd0e-ba77e799d17a 2025-08-12 15:59:21,480 - DEBUG - VM ctest-TestRoutersBasic-19704317-94621449 launched on Node cn-jenkins-deploy-platform-ansible-os-3833-1 2025-08-12 15:59:21,534 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/cc45d747-2481-4ab4-bd0e-ba77e799d17a 2025-08-12 15:59:21,540 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/cdcdd1ca-17bd-4508-9aa0-552fccc88008 2025-08-12 15:59:22,770 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.303 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 = 0.303/1.450/2.598/1.147 ms') 2025-08-12 15:59:22,770 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19704317-94621449 passed 2025-08-12 15:59:22,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 15:59:22,918 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19704317-94621449, IP 135.111.155.3, Port 22 2025-08-12 15:59:23,069 - DEBUG - VM ctest-TestRoutersBasic-19704317-94621449 is ready for SSH connections 2025-08-12 15:59:23,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 15:59:23,069 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.111.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-08-12 15:59:23,069 - DEBUG - ping -s 56 -c 3 -W 1 135.111.155.3 2025-08-12 15:59:26,971 - DEBUG - PING 135.111.155.3 (135.111.155.3): 56 data bytes 64 bytes from 135.111.155.3: seq=0 ttl=62 time=6.538 ms 64 bytes from 135.111.155.3: seq=1 ttl=62 time=0.645 ms 64 bytes from 135.111.155.3: seq=2 ttl=62 time=0.744 ms --- 135.111.155.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.645/2.642/6.538 ms 2025-08-12 15:59:26,971 - INFO - Ping to IP 135.111.155.3 from VM ctest-TestRoutersBasic-19704317-24118582 passed 2025-08-12 15:59:26,972 - INFO - Deleting interface with subnet_id c5246af7-d144-4795-a149-e8a053a9c96b, port_id None from router 51663505-9897-4d1d-8c8d-f8e18397f070 2025-08-12 15:59:27,167 - INFO - Deleting VM ctest-TestRoutersBasic-19704317-94621449 2025-08-12 15:59:27,228 - INFO - Deleting VM ctest-TestRoutersBasic-19704317-24118582 2025-08-12 15:59:27,298 - INFO - Deleting VN ctest-ext_vn-75610655 2025-08-12 15:59:27,353 - DEBUG - VN bf6ea658-6fe7-4db4-acec-8887efbc2b54 still in use: Unable to complete operation on network bf6ea658-6fe7-4db4-acec-8887efbc2b54. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7802f59e-7aac-42d6-96df-6cf56a388e4b'] 2025-08-12 15:59:27,353 - WARNING - Deleting VN ctest-ext_vn-75610655 failed..Will retry 2025-08-12 15:59:29,438 - DEBUG - Response for deleting network () 2025-08-12 15:59:29,438 - INFO - Deleting VN ctest-vn-64927361 2025-08-12 15:59:29,525 - DEBUG - Response for deleting network () 2025-08-12 15:59:29,775 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 15:59:29,775 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24] 2025-08-12 15:59:29,775 - INFO - -------------------------------------------------------------------------------- 2025-08-12 15:59:30,413 - INFO - Deleted project: ctest-TestRoutersBasic-19704317, ID : 5b86878d-aa5e-4fa6-b544-aaff4c409256