2025-11-15 20:29:07,739 - INFO - Domain Default found not creating 2025-11-15 20:29:07,883 - INFO - Project ctest-TestRoutersBasic-29882288 not found, creating it 2025-11-15 20:29:08,312 - INFO - Created Project:ctest-TestRoutersBasic-29882288, ID : 3224a696-d735-4cb8-9dcc-4b8bf31538d9 2025-11-15 20:29:09,739 - INFO - ================================================================================ 2025-11-15 20:29:09,739 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-15 20:29:09,739 - 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-15 20:29:09,994 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-15 20:29:09,994 - INFO - Initial checks done. Running the testcase now 2025-11-15 20:29:09,994 - INFO - 2025-11-15 20:29:10,698 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29882288 2025-11-15 20:29:10,793 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29882288 2025-11-15 20:29:11,113 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29882288', 'default']} 2025-11-15 20:29:11,410 - DEBUG - Response for create_network : {'network': {'id': '2da7828c-bc0b-47a4-84ad-e484f2cc7080', 'name': 'ctest-vn-44826846', 'tenant_id': '3224a696d7354cb89dcc4b8bf31538d9', 'project_id': '3224a696d7354cb89dcc4b8bf31538d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29882288', 'ctest-vn-44826846'], 'port_security_enabled': True, 'description': ''}} 2025-11-15 20:29:11,561 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb07c078-d7a6-4e56-8e9c-81fe5dd54896', 'name': '', 'tenant_id': '3224a696d7354cb89dcc4b8bf31538d9', 'network_id': '2da7828c-bc0b-47a4-84ad-e484f2cc7080', 'ip_version': 4, 'cidr': '169.179.133.64/26', 'allocation_pools': [{'start': '169.179.133.66', 'end': '169.179.133.126'}], 'gateway_ip': '169.179.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.179.133.66', 'tags': [], 'project_id': '3224a696d7354cb89dcc4b8bf31538d9'}} 2025-11-15 20:29:11,577 - INFO - Created VN ctest-vn-44826846 2025-11-15 20:29:11,633 - DEBUG - VN ctest-vn-44826846 UUID is 2da7828c-bc0b-47a4-84ad-e484f2cc7080 2025-11-15 20:29:11,960 - DEBUG - Response for create_network : {'network': {'id': 'b9697f1f-5fa1-4f30-9ca5-a547be537f69', 'name': 'ctest-ext_vn-79535465', 'tenant_id': '3224a696d7354cb89dcc4b8bf31538d9', 'project_id': '3224a696d7354cb89dcc4b8bf31538d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29882288', 'ctest-ext_vn-79535465'], 'port_security_enabled': True, 'description': ''}} 2025-11-15 20:29:12,158 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4815727-de3d-4980-96ba-4978236ca942', 'name': '', 'tenant_id': '3224a696d7354cb89dcc4b8bf31538d9', 'network_id': 'b9697f1f-5fa1-4f30-9ca5-a547be537f69', 'ip_version': 4, 'cidr': '209.39.161.192/26', 'allocation_pools': [{'start': '209.39.161.194', 'end': '209.39.161.254'}], 'gateway_ip': '209.39.161.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.39.161.194', 'tags': [], 'project_id': '3224a696d7354cb89dcc4b8bf31538d9'}} 2025-11-15 20:29:12,175 - INFO - Created VN ctest-ext_vn-79535465 2025-11-15 20:29:12,225 - DEBUG - VN ctest-ext_vn-79535465 UUID is b9697f1f-5fa1-4f30-9ca5-a547be537f69 2025-11-15 20:29:12,422 - DEBUG - Services list from nova: [, , ] 2025-11-15 20:29:13,415 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4735-1) 2025-11-15 20:29:14,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4735-1) 2025-11-15 20:29:14,617 - INFO - Setting gateway for router e932ca60-fbec-48fb-9e45-f48d6ac121cf to network b9697f1f-5fa1-4f30-9ca5-a547be537f69 2025-11-15 20:29:14,678 - INFO - Adding interface with subnet_id fb07c078-d7a6-4e56-8e9c-81fe5dd54896, port_id None to router e932ca60-fbec-48fb-9e45-f48d6ac121cf 2025-11-15 20:29:15,021 - INFO - Waiting for VM ctest-TestRoutersBasic-29882288-61233190 to be up.. 2025-11-15 20:29:15,208 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-15 20:29:20,276 - DEBUG - VM is in ACTIVE state now 2025-11-15 20:29:20,277 - INFO - VM name : ctest-TestRoutersBasic-29882288-61233190 2025-11-15 20:29:20,342 - DEBUG - VM ctest-TestRoutersBasic-29882288-61233190 ID is 4d2b91e6-d22e-46c5-a14d-bf67a5c9a8e2 2025-11-15 20:29:20,360 - DEBUG - VM ctest-TestRoutersBasic-29882288-61233190 launched on Node cn-jenkins-deploy-platform-ansible-os-4735-1 2025-11-15 20:29:20,432 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4d2b91e6-d22e-46c5-a14d-bf67a5c9a8e2 2025-11-15 20:29:20,740 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4d2b91e6-d22e-46c5-a14d-bf67a5c9a8e2 2025-11-15 20:29:20,774 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6f44966a-00a6-4665-bc2a-e02aa951fcbf 2025-11-15 20:29:24,043 - 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 1031ms') 2025-11-15 20:29:24,043 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29882288-61233190 failed! 2025-11-15 20:29:24,097 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29882288:ctest-vn-44826846 is 169.179.133.65 and allocation pool is NOT set 2025-11-15 20:29:26,161 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.557 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.557/1.639/2.721/1.082 ms') 2025-11-15 20:29:26,161 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29882288-61233190 passed 2025-11-15 20:29:26,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 20:29:26,309 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29882288-61233190, IP 169.179.133.67, Port 22 2025-11-15 20:29:26,469 - DEBUG - VM ctest-TestRoutersBasic-29882288-61233190 is ready for SSH connections 2025-11-15 20:29:26,469 - INFO - Waiting for VM ctest-TestRoutersBasic-29882288-02879024 to be up.. 2025-11-15 20:29:26,536 - DEBUG - VM is in ACTIVE state now 2025-11-15 20:29:26,536 - INFO - VM name : ctest-TestRoutersBasic-29882288-02879024 2025-11-15 20:29:26,602 - DEBUG - VM ctest-TestRoutersBasic-29882288-02879024 ID is c5d26681-01ac-4744-8457-46c1393d9552 2025-11-15 20:29:26,602 - DEBUG - VM ctest-TestRoutersBasic-29882288-02879024 launched on Node cn-jenkins-deploy-platform-ansible-os-4735-1 2025-11-15 20:29:26,666 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c5d26681-01ac-4744-8457-46c1393d9552 2025-11-15 20:29:26,674 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dde55043-7350-433d-a033-a7f239b43c19 2025-11-15 20:29:27,901 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.662/2.952/1.289 ms') 2025-11-15 20:29:27,901 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29882288-02879024 passed 2025-11-15 20:29:28,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 20:29:28,049 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29882288-02879024, IP 209.39.161.195, Port 22 2025-11-15 20:29:28,204 - DEBUG - VM ctest-TestRoutersBasic-29882288-02879024 is ready for SSH connections 2025-11-15 20:29:28,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 20:29:28,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.39.161.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-15 20:29:28,204 - DEBUG - ping -s 56 -c 3 -W 1 209.39.161.195 2025-11-15 20:29:32,243 - DEBUG - PING 209.39.161.195 (209.39.161.195): 56 data bytes 64 bytes from 209.39.161.195: seq=0 ttl=62 time=6.057 ms 64 bytes from 209.39.161.195: seq=1 ttl=62 time=1.088 ms 64 bytes from 209.39.161.195: seq=2 ttl=62 time=1.084 ms --- 209.39.161.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.084/2.743/6.057 ms 2025-11-15 20:29:32,243 - INFO - Ping to IP 209.39.161.195 from VM ctest-TestRoutersBasic-29882288-61233190 passed 2025-11-15 20:29:32,243 - INFO - Deleting interface with subnet_id fb07c078-d7a6-4e56-8e9c-81fe5dd54896, port_id None from router e932ca60-fbec-48fb-9e45-f48d6ac121cf 2025-11-15 20:29:32,410 - INFO - Deleting VM ctest-TestRoutersBasic-29882288-02879024 2025-11-15 20:29:32,481 - INFO - Deleting VM ctest-TestRoutersBasic-29882288-61233190 2025-11-15 20:29:32,562 - INFO - Deleting VN ctest-ext_vn-79535465 2025-11-15 20:29:32,623 - DEBUG - VN b9697f1f-5fa1-4f30-9ca5-a547be537f69 still in use: Unable to complete operation on network b9697f1f-5fa1-4f30-9ca5-a547be537f69. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-20558823-8559-40f3-b5e5-a66a85672b98'] 2025-11-15 20:29:32,623 - WARNING - Deleting VN ctest-ext_vn-79535465 failed..Will retry 2025-11-15 20:29:34,722 - DEBUG - Response for deleting network () 2025-11-15 20:29:34,722 - INFO - Deleting VN ctest-vn-44826846 2025-11-15 20:29:34,814 - DEBUG - Response for deleting network () 2025-11-15 20:29:35,070 - DEBUG - No XMPP flaps were noticed during the test 2025-11-15 20:29:35,070 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-11-15 20:29:35,070 - INFO - -------------------------------------------------------------------------------- 2025-11-15 20:29:35,792 - INFO - Deleted project: ctest-TestRoutersBasic-29882288, ID : 3224a696-d735-4cb8-9dcc-4b8bf31538d9