2026-02-11 14:14:52,843 - INFO - Domain Default found not creating 2026-02-11 14:14:53,019 - INFO - Project ctest-TestRoutersBasic-86904519 not found, creating it 2026-02-11 14:14:53,497 - INFO - Created Project:ctest-TestRoutersBasic-86904519, ID : 069624e9-2a6c-46e5-92e8-33bba91d1c50 2026-02-11 14:14:55,068 - INFO - ================================================================================ 2026-02-11 14:14:55,068 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-11 14:14:55,068 - 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 2026-02-11 14:14:55,326 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.20.0.254': '0'}} with 2026-02-11 14:14:55,326 - INFO - Initial checks done. Running the testcase now 2026-02-11 14:14:55,327 - INFO - 2026-02-11 14:14:56,069 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86904519 2026-02-11 14:14:56,164 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86904519 2026-02-11 14:14:56,484 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86904519', 'default']} 2026-02-11 14:14:56,789 - DEBUG - Response for create_network : {'network': {'id': '1a4ea399-aee4-4b4f-ba26-712bc511e182', 'name': 'ctest-vn-65347493', 'tenant_id': '069624e92a6c46e592e833bba91d1c50', 'project_id': '069624e92a6c46e592e833bba91d1c50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86904519', 'ctest-vn-65347493'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 14:14:56,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dbe480c-021b-4307-ac74-8e20df9ae406', 'name': '', 'tenant_id': '069624e92a6c46e592e833bba91d1c50', 'network_id': '1a4ea399-aee4-4b4f-ba26-712bc511e182', 'ip_version': 4, 'cidr': '144.27.230.192/26', 'allocation_pools': [{'start': '144.27.230.194', 'end': '144.27.230.254'}], 'gateway_ip': '144.27.230.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.27.230.194', 'tags': [], 'project_id': '069624e92a6c46e592e833bba91d1c50'}} 2026-02-11 14:14:56,989 - INFO - Created VN ctest-vn-65347493 2026-02-11 14:14:57,040 - DEBUG - VN ctest-vn-65347493 UUID is 1a4ea399-aee4-4b4f-ba26-712bc511e182 2026-02-11 14:14:57,351 - DEBUG - Response for create_network : {'network': {'id': 'c2f4db14-5400-4341-9482-9df2da4576ef', 'name': 'ctest-ext_vn-42709436', 'tenant_id': '069624e92a6c46e592e833bba91d1c50', 'project_id': '069624e92a6c46e592e833bba91d1c50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86904519', 'ctest-ext_vn-42709436'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 14:14:57,507 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a3dc77c-baf6-4816-b75a-854ae5932577', 'name': '', 'tenant_id': '069624e92a6c46e592e833bba91d1c50', 'network_id': 'c2f4db14-5400-4341-9482-9df2da4576ef', 'ip_version': 4, 'cidr': '106.154.241.0/26', 'allocation_pools': [{'start': '106.154.241.2', 'end': '106.154.241.62'}], 'gateway_ip': '106.154.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.154.241.2', 'tags': [], 'project_id': '069624e92a6c46e592e833bba91d1c50'}} 2026-02-11 14:14:57,527 - INFO - Created VN ctest-ext_vn-42709436 2026-02-11 14:14:57,580 - DEBUG - VN ctest-ext_vn-42709436 UUID is c2f4db14-5400-4341-9482-9df2da4576ef 2026-02-11 14:14:57,746 - DEBUG - Services list from nova: [, , ] 2026-02-11 14:14:58,783 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5294-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5294-1) 2026-02-11 14:14:59,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5294-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5294-1) 2026-02-11 14:15:00,038 - INFO - Setting gateway for router 93ba5252-6e42-4ede-b5c0-575bf5422266 to network c2f4db14-5400-4341-9482-9df2da4576ef 2026-02-11 14:15:00,130 - INFO - Adding interface with subnet_id 0dbe480c-021b-4307-ac74-8e20df9ae406, port_id None to router 93ba5252-6e42-4ede-b5c0-575bf5422266 2026-02-11 14:15:00,495 - INFO - Waiting for VM ctest-TestRoutersBasic-86904519-69117896 to be up.. 2026-02-11 14:15:00,626 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-11 14:15:05,725 - DEBUG - VM is in ACTIVE state now 2026-02-11 14:15:05,725 - INFO - VM name : ctest-TestRoutersBasic-86904519-69117896 2026-02-11 14:15:05,830 - DEBUG - VM ctest-TestRoutersBasic-86904519-69117896 ID is 1849c0e9-bf38-43dc-a0d8-bfbd389cbc40 2026-02-11 14:15:05,860 - DEBUG - VM ctest-TestRoutersBasic-86904519-69117896 launched on Node cn-jenkins-deploy-platform-ansible-os-5294-1 2026-02-11 14:15:05,947 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/1849c0e9-bf38-43dc-a0d8-bfbd389cbc40 2026-02-11 14:15:06,260 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/1849c0e9-bf38-43dc-a0d8-bfbd389cbc40 2026-02-11 14:15:06,305 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/9d8cd6c1-9253-4015-96ab-bfeabb6590cf 2026-02-11 14:15:09,584 - 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 1030ms') 2026-02-11 14:15:09,584 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86904519-69117896 failed! 2026-02-11 14:15:09,640 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86904519:ctest-vn-65347493 is 144.27.230.193 and allocation pool is NOT set 2026-02-11 14:15:11,707 - 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=9.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.11 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 = 2.107/5.897/9.688/3.790 ms') 2026-02-11 14:15:11,707 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86904519-69117896 passed 2026-02-11 14:15:11,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 14:15:11,860 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86904519-69117896, IP 144.27.230.195, Port 22 2026-02-11 14:15:11,926 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-11 14:15:12,008 - DEBUG - VM ctest-TestRoutersBasic-86904519-69117896 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-11 14:15:17,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 14:15:17,009 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86904519-69117896, IP 144.27.230.195, Port 22 2026-02-11 14:15:17,172 - DEBUG - VM ctest-TestRoutersBasic-86904519-69117896 is ready for SSH connections 2026-02-11 14:15:17,172 - INFO - Waiting for VM ctest-TestRoutersBasic-86904519-12246786 to be up.. 2026-02-11 14:15:17,254 - DEBUG - VM is in ACTIVE state now 2026-02-11 14:15:17,255 - INFO - VM name : ctest-TestRoutersBasic-86904519-12246786 2026-02-11 14:15:17,338 - DEBUG - VM ctest-TestRoutersBasic-86904519-12246786 ID is 756faa5d-d7f2-48ac-b7d8-33b4ff3875a7 2026-02-11 14:15:17,338 - DEBUG - VM ctest-TestRoutersBasic-86904519-12246786 launched on Node cn-jenkins-deploy-platform-ansible-os-5294-1 2026-02-11 14:15:17,423 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/756faa5d-d7f2-48ac-b7d8-33b4ff3875a7 2026-02-11 14:15:17,432 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/3d529b60-f196-4560-80ce-4ff29de324a3 2026-02-11 14:15:18,669 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.667/2.911/1.243 ms') 2026-02-11 14:15:18,670 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86904519-12246786 passed 2026-02-11 14:15:18,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 14:15:18,824 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86904519-12246786, IP 106.154.241.3, Port 22 2026-02-11 14:15:18,990 - DEBUG - VM ctest-TestRoutersBasic-86904519-12246786 is ready for SSH connections 2026-02-11 14:15:18,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 14:15:18,990 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.154.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2026-02-11 14:15:18,990 - DEBUG - ping -s 56 -c 3 -W 1 106.154.241.3 2026-02-11 14:15:22,725 - DEBUG - PING 106.154.241.3 (106.154.241.3): 56 data bytes 64 bytes from 106.154.241.3: seq=0 ttl=62 time=6.206 ms 64 bytes from 106.154.241.3: seq=1 ttl=62 time=1.285 ms 64 bytes from 106.154.241.3: seq=2 ttl=62 time=0.971 ms --- 106.154.241.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.971/2.820/6.206 ms 2026-02-11 14:15:22,725 - INFO - Ping to IP 106.154.241.3 from VM ctest-TestRoutersBasic-86904519-69117896 passed 2026-02-11 14:15:22,725 - INFO - Deleting interface with subnet_id 0dbe480c-021b-4307-ac74-8e20df9ae406, port_id None from router 93ba5252-6e42-4ede-b5c0-575bf5422266 2026-02-11 14:15:22,913 - INFO - Deleting VM ctest-TestRoutersBasic-86904519-12246786 2026-02-11 14:15:22,998 - INFO - Deleting VM ctest-TestRoutersBasic-86904519-69117896 2026-02-11 14:15:23,085 - INFO - Deleting VN ctest-ext_vn-42709436 2026-02-11 14:15:23,155 - DEBUG - VN c2f4db14-5400-4341-9482-9df2da4576ef still in use: Unable to complete operation on network c2f4db14-5400-4341-9482-9df2da4576ef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-807d2faf-a936-4498-88f0-f1de3c327dd3'] 2026-02-11 14:15:23,155 - WARNING - Deleting VN ctest-ext_vn-42709436 failed..Will retry 2026-02-11 14:15:25,267 - DEBUG - Response for deleting network () 2026-02-11 14:15:25,267 - INFO - Deleting VN ctest-vn-65347493 2026-02-11 14:15:25,384 - DEBUG - Response for deleting network () 2026-02-11 14:15:25,642 - DEBUG - No XMPP flaps were noticed during the test 2026-02-11 14:15:25,642 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2026-02-11 14:15:25,642 - INFO - -------------------------------------------------------------------------------- 2026-02-11 14:15:26,399 - INFO - Deleted project: ctest-TestRoutersBasic-86904519, ID : 069624e9-2a6c-46e5-92e8-33bba91d1c50