2025-11-05 22:26:31,680 - INFO - Domain Default found not creating 2025-11-05 22:26:31,819 - INFO - Project ctest-TestRoutersBasic-78315335 not found, creating it 2025-11-05 22:26:32,257 - INFO - Created Project:ctest-TestRoutersBasic-78315335, ID : 83104690-f415-4fe2-872d-24e480f849cf 2025-11-05 22:26:33,674 - INFO - ================================================================================ 2025-11-05 22:26:33,674 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-05 22:26:33,674 - 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-11-05 22:26:33,929 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-11-05 22:26:33,929 - INFO - Initial checks done. Running the testcase now 2025-11-05 22:26:33,929 - INFO - 2025-11-05 22:26:34,618 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78315335 2025-11-05 22:26:34,711 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78315335 2025-11-05 22:26:35,023 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78315335', 'default']} 2025-11-05 22:26:35,306 - DEBUG - Response for create_network : {'network': {'id': 'bddef849-7004-4c4d-acc1-a8519425e758', 'name': 'ctest-vn-07671927', 'tenant_id': '83104690f4154fe2872d24e480f849cf', 'project_id': '83104690f4154fe2872d24e480f849cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78315335', 'ctest-vn-07671927'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 22:26:35,528 - DEBUG - Response for create_subnet : {'subnet': {'id': '4162b6c1-7391-4a23-9533-3e38409d9d2b', 'name': '', 'tenant_id': '83104690f4154fe2872d24e480f849cf', 'network_id': 'bddef849-7004-4c4d-acc1-a8519425e758', 'ip_version': 4, 'cidr': '38.173.196.0/26', 'allocation_pools': [{'start': '38.173.196.2', 'end': '38.173.196.62'}], 'gateway_ip': '38.173.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.173.196.2', 'tags': [], 'project_id': '83104690f4154fe2872d24e480f849cf'}} 2025-11-05 22:26:35,547 - INFO - Created VN ctest-vn-07671927 2025-11-05 22:26:35,599 - DEBUG - VN ctest-vn-07671927 UUID is bddef849-7004-4c4d-acc1-a8519425e758 2025-11-05 22:26:35,938 - DEBUG - Response for create_network : {'network': {'id': '3439066d-3c01-415f-9c24-1410cb2887d0', 'name': 'ctest-ext_vn-78234553', 'tenant_id': '83104690f4154fe2872d24e480f849cf', 'project_id': '83104690f4154fe2872d24e480f849cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78315335', 'ctest-ext_vn-78234553'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 22:26:36,113 - DEBUG - Response for create_subnet : {'subnet': {'id': '88c861a3-51b4-4698-8682-2da6d8238a70', 'name': '', 'tenant_id': '83104690f4154fe2872d24e480f849cf', 'network_id': '3439066d-3c01-415f-9c24-1410cb2887d0', 'ip_version': 4, 'cidr': '143.117.205.0/26', 'allocation_pools': [{'start': '143.117.205.2', 'end': '143.117.205.62'}], 'gateway_ip': '143.117.205.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.117.205.2', 'tags': [], 'project_id': '83104690f4154fe2872d24e480f849cf'}} 2025-11-05 22:26:36,130 - INFO - Created VN ctest-ext_vn-78234553 2025-11-05 22:26:36,183 - DEBUG - VN ctest-ext_vn-78234553 UUID is 3439066d-3c01-415f-9c24-1410cb2887d0 2025-11-05 22:26:36,381 - DEBUG - Services list from nova: [, , ] 2025-11-05 22:26:37,369 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4657-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4657-1) 2025-11-05 22:26:38,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4657-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4657-1) 2025-11-05 22:26:38,576 - INFO - Setting gateway for router 30ad5418-6d62-48d1-b5ad-7fbd98114792 to network 3439066d-3c01-415f-9c24-1410cb2887d0 2025-11-05 22:26:38,648 - INFO - Adding interface with subnet_id 4162b6c1-7391-4a23-9533-3e38409d9d2b, port_id None to router 30ad5418-6d62-48d1-b5ad-7fbd98114792 2025-11-05 22:26:38,903 - INFO - Waiting for VM ctest-TestRoutersBasic-78315335-10226283 to be up.. 2025-11-05 22:26:39,093 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 22:26:44,165 - DEBUG - VM is in ACTIVE state now 2025-11-05 22:26:44,165 - INFO - VM name : ctest-TestRoutersBasic-78315335-10226283 2025-11-05 22:26:44,233 - DEBUG - VM ctest-TestRoutersBasic-78315335-10226283 ID is f10f4ead-0f81-4fd0-993b-5212f7c604cf 2025-11-05 22:26:44,251 - DEBUG - VM ctest-TestRoutersBasic-78315335-10226283 launched on Node cn-jenkins-deploy-platform-ansible-os-4657-1 2025-11-05 22:26:44,321 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f10f4ead-0f81-4fd0-993b-5212f7c604cf 2025-11-05 22:26:44,614 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f10f4ead-0f81-4fd0-993b-5212f7c604cf 2025-11-05 22:26:44,643 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3b585d4b-b1d3-493d-b765-f287ff4d6cb0 2025-11-05 22:26:47,896 - 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 1023ms') 2025-11-05 22:26:47,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78315335-10226283 failed! 2025-11-05 22:26:47,951 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78315335:ctest-vn-07671927 is 38.173.196.1 and allocation pool is NOT set 2025-11-05 22:26:50,008 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.483 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.483/1.807/3.132/1.324 ms') 2025-11-05 22:26:50,008 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78315335-10226283 passed 2025-11-05 22:26:50,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:26:50,159 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78315335-10226283, IP 38.173.196.3, Port 22 2025-11-05 22:26:50,324 - DEBUG - VM ctest-TestRoutersBasic-78315335-10226283 is ready for SSH connections 2025-11-05 22:26:50,324 - INFO - Waiting for VM ctest-TestRoutersBasic-78315335-60803725 to be up.. 2025-11-05 22:26:50,399 - DEBUG - VM is in ACTIVE state now 2025-11-05 22:26:50,400 - INFO - VM name : ctest-TestRoutersBasic-78315335-60803725 2025-11-05 22:26:50,467 - DEBUG - VM ctest-TestRoutersBasic-78315335-60803725 ID is acbb63d4-3f8a-4bb6-8bfd-bdeaa6e6ad7d 2025-11-05 22:26:50,468 - DEBUG - VM ctest-TestRoutersBasic-78315335-60803725 launched on Node cn-jenkins-deploy-platform-ansible-os-4657-1 2025-11-05 22:26:50,535 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/acbb63d4-3f8a-4bb6-8bfd-bdeaa6e6ad7d 2025-11-05 22:26:50,542 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3a003144-8b51-4124-83c3-2ffd17d5923f 2025-11-05 22:26:51,782 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.017/2.639/4.262/1.622 ms') 2025-11-05 22:26:51,782 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78315335-60803725 passed 2025-11-05 22:26:51,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:26:51,935 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78315335-60803725, IP 143.117.205.3, Port 22 2025-11-05 22:26:52,095 - DEBUG - VM ctest-TestRoutersBasic-78315335-60803725 is ready for SSH connections 2025-11-05 22:26:52,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:26:52,095 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.117.205.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-05 22:26:52,095 - DEBUG - ping -s 56 -c 3 -W 1 143.117.205.3 2025-11-05 22:26:56,097 - DEBUG - PING 143.117.205.3 (143.117.205.3): 56 data bytes 64 bytes from 143.117.205.3: seq=0 ttl=62 time=5.949 ms 64 bytes from 143.117.205.3: seq=1 ttl=62 time=1.266 ms 64 bytes from 143.117.205.3: seq=2 ttl=62 time=1.240 ms --- 143.117.205.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.240/2.818/5.949 ms 2025-11-05 22:26:56,097 - INFO - Ping to IP 143.117.205.3 from VM ctest-TestRoutersBasic-78315335-10226283 passed 2025-11-05 22:26:56,097 - INFO - Deleting interface with subnet_id 4162b6c1-7391-4a23-9533-3e38409d9d2b, port_id None from router 30ad5418-6d62-48d1-b5ad-7fbd98114792 2025-11-05 22:26:56,281 - INFO - Deleting VM ctest-TestRoutersBasic-78315335-60803725 2025-11-05 22:26:56,357 - INFO - Deleting VM ctest-TestRoutersBasic-78315335-10226283 2025-11-05 22:26:56,437 - INFO - Deleting VN ctest-ext_vn-78234553 2025-11-05 22:26:56,494 - DEBUG - VN 3439066d-3c01-415f-9c24-1410cb2887d0 still in use: Unable to complete operation on network 3439066d-3c01-415f-9c24-1410cb2887d0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b3e0d81d-70b9-42cd-907d-5394fd2d2fa7'] 2025-11-05 22:26:56,494 - WARNING - Deleting VN ctest-ext_vn-78234553 failed..Will retry 2025-11-05 22:26:58,590 - DEBUG - Response for deleting network () 2025-11-05 22:26:58,590 - INFO - Deleting VN ctest-vn-07671927 2025-11-05 22:26:58,705 - DEBUG - Response for deleting network () 2025-11-05 22:26:58,959 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 22:26:58,960 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-05 22:26:58,960 - INFO - -------------------------------------------------------------------------------- 2025-11-05 22:26:59,623 - INFO - Deleted project: ctest-TestRoutersBasic-78315335, ID : 83104690-f415-4fe2-872d-24e480f849cf