2026-02-12 12:23:45,587 - INFO - Domain Default found not creating 2026-02-12 12:23:45,816 - INFO - Project ctest-TestRoutersBasic-55493298 not found, creating it 2026-02-12 12:23:46,362 - INFO - Created Project:ctest-TestRoutersBasic-55493298, ID : 0e6e0e00-ae23-4598-9f09-61313b02aa1e 2026-02-12 12:23:48,167 - INFO - ================================================================================ 2026-02-12 12:23:48,167 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-12 12:23:48,167 - 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-12 12:23:48,440 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.17': '0'}} with 2026-02-12 12:23:48,440 - INFO - Initial checks done. Running the testcase now 2026-02-12 12:23:48,440 - INFO - 2026-02-12 12:23:49,871 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55493298 2026-02-12 12:23:49,969 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55493298 2026-02-12 12:23:50,313 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55493298', 'default']} 2026-02-12 12:23:50,676 - DEBUG - Response for create_network : {'network': {'id': '15e3c3e9-0eeb-4b47-b6a8-05be2d41946c', 'name': 'ctest-vn-56279874', 'tenant_id': '0e6e0e00ae2345989f0961313b02aa1e', 'project_id': '0e6e0e00ae2345989f0961313b02aa1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55493298', 'ctest-vn-56279874'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 12:23:50,906 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abf0d593-07c5-4a85-939c-a466efb42c0e', 'name': '', 'tenant_id': '0e6e0e00ae2345989f0961313b02aa1e', 'network_id': '15e3c3e9-0eeb-4b47-b6a8-05be2d41946c', 'ip_version': 4, 'cidr': '66.88.42.128/26', 'allocation_pools': [{'start': '66.88.42.130', 'end': '66.88.42.190'}], 'gateway_ip': '66.88.42.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.88.42.130', 'tags': [], 'project_id': '0e6e0e00ae2345989f0961313b02aa1e'}} 2026-02-12 12:23:50,931 - INFO - Created VN ctest-vn-56279874 2026-02-12 12:23:50,989 - DEBUG - VN ctest-vn-56279874 UUID is 15e3c3e9-0eeb-4b47-b6a8-05be2d41946c 2026-02-12 12:23:51,359 - DEBUG - Response for create_network : {'network': {'id': '7efe48a0-4d7e-4c3e-99dd-ada0c8f3b7b2', 'name': 'ctest-ext_vn-04464729', 'tenant_id': '0e6e0e00ae2345989f0961313b02aa1e', 'project_id': '0e6e0e00ae2345989f0961313b02aa1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55493298', 'ctest-ext_vn-04464729'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 12:23:51,603 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e9cad73-b627-4353-9029-07cea14d171d', 'name': '', 'tenant_id': '0e6e0e00ae2345989f0961313b02aa1e', 'network_id': '7efe48a0-4d7e-4c3e-99dd-ada0c8f3b7b2', 'ip_version': 4, 'cidr': '54.203.71.0/26', 'allocation_pools': [{'start': '54.203.71.2', 'end': '54.203.71.62'}], 'gateway_ip': '54.203.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.203.71.2', 'tags': [], 'project_id': '0e6e0e00ae2345989f0961313b02aa1e'}} 2026-02-12 12:23:51,626 - INFO - Created VN ctest-ext_vn-04464729 2026-02-12 12:23:51,681 - DEBUG - VN ctest-ext_vn-04464729 UUID is 7efe48a0-4d7e-4c3e-99dd-ada0c8f3b7b2 2026-02-12 12:23:51,902 - DEBUG - Services list from nova: [, , ] 2026-02-12 12:23:53,035 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5315-1) 2026-02-12 12:23:54,406 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5315-1) 2026-02-12 12:23:54,492 - INFO - Setting gateway for router 89e9383e-1afa-4cdd-90ce-49310722bc39 to network 7efe48a0-4d7e-4c3e-99dd-ada0c8f3b7b2 2026-02-12 12:23:54,585 - INFO - Adding interface with subnet_id abf0d593-07c5-4a85-939c-a466efb42c0e, port_id None to router 89e9383e-1afa-4cdd-90ce-49310722bc39 2026-02-12 12:23:55,107 - INFO - Waiting for VM ctest-TestRoutersBasic-55493298-56739174 to be up.. 2026-02-12 12:23:55,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 12:24:00,422 - DEBUG - VM is in ACTIVE state now 2026-02-12 12:24:00,422 - INFO - VM name : ctest-TestRoutersBasic-55493298-56739174 2026-02-12 12:24:00,529 - DEBUG - VM ctest-TestRoutersBasic-55493298-56739174 ID is 176ce201-43b7-4993-a0a1-e0c566d397ef 2026-02-12 12:24:00,562 - DEBUG - VM ctest-TestRoutersBasic-55493298-56739174 launched on Node cn-jenkins-deploy-platform-ansible-os-5315-1 2026-02-12 12:24:00,672 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/176ce201-43b7-4993-a0a1-e0c566d397ef 2026-02-12 12:24:00,993 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/176ce201-43b7-4993-a0a1-e0c566d397ef 2026-02-12 12:24:01,048 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/0ed1c2ba-e54e-49a7-91aa-6d7f1d701f7b 2026-02-12 12:24:04,339 - 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 1017ms') 2026-02-12 12:24:04,339 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55493298-56739174 failed! 2026-02-12 12:24:04,405 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55493298:ctest-vn-56279874 is 66.88.42.129 and allocation pool is NOT set 2026-02-12 12:24:06,477 - 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=5.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.06 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.058/3.557/5.057/1.499 ms') 2026-02-12 12:24:06,477 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55493298-56739174 passed 2026-02-12 12:24:06,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 12:24:06,633 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55493298-56739174, IP 66.88.42.131, Port 22 2026-02-12 12:24:06,700 - 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-12 12:24:06,814 - DEBUG - VM ctest-TestRoutersBasic-55493298-56739174 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 12:24:11,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 12:24:11,815 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55493298-56739174, IP 66.88.42.131, Port 22 2026-02-12 12:24:11,992 - DEBUG - VM ctest-TestRoutersBasic-55493298-56739174 is ready for SSH connections 2026-02-12 12:24:11,992 - INFO - Waiting for VM ctest-TestRoutersBasic-55493298-87846391 to be up.. 2026-02-12 12:24:12,114 - DEBUG - VM is in ACTIVE state now 2026-02-12 12:24:12,114 - INFO - VM name : ctest-TestRoutersBasic-55493298-87846391 2026-02-12 12:24:12,214 - DEBUG - VM ctest-TestRoutersBasic-55493298-87846391 ID is e87c3153-3c32-4c38-a6aa-035fde02d58a 2026-02-12 12:24:12,215 - DEBUG - VM ctest-TestRoutersBasic-55493298-87846391 launched on Node cn-jenkins-deploy-platform-ansible-os-5315-1 2026-02-12 12:24:12,325 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/e87c3153-3c32-4c38-a6aa-035fde02d58a 2026-02-12 12:24:12,337 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/15a639ca-6a24-4eeb-84a1-d52ee3db1ca6 2026-02-12 12:24:13,594 - 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=3.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.610 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.610/1.916/3.223/1.306 ms') 2026-02-12 12:24:13,595 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55493298-87846391 passed 2026-02-12 12:24:13,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 12:24:13,749 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55493298-87846391, IP 54.203.71.3, Port 22 2026-02-12 12:24:13,916 - DEBUG - VM ctest-TestRoutersBasic-55493298-87846391 is ready for SSH connections 2026-02-12 12:24:13,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 12:24:13,916 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.203.71.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-02-12 12:24:13,916 - DEBUG - ping -s 56 -c 3 -W 1 54.203.71.3 2026-02-12 12:24:17,721 - DEBUG - PING 54.203.71.3 (54.203.71.3): 56 data bytes 64 bytes from 54.203.71.3: seq=0 ttl=62 time=7.640 ms 64 bytes from 54.203.71.3: seq=1 ttl=62 time=1.264 ms 64 bytes from 54.203.71.3: seq=2 ttl=62 time=1.810 ms --- 54.203.71.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.264/3.571/7.640 ms 2026-02-12 12:24:17,721 - INFO - Ping to IP 54.203.71.3 from VM ctest-TestRoutersBasic-55493298-56739174 passed 2026-02-12 12:24:17,721 - INFO - Deleting interface with subnet_id abf0d593-07c5-4a85-939c-a466efb42c0e, port_id None from router 89e9383e-1afa-4cdd-90ce-49310722bc39 2026-02-12 12:24:17,995 - INFO - Deleting VM ctest-TestRoutersBasic-55493298-87846391 2026-02-12 12:24:18,111 - INFO - Deleting VM ctest-TestRoutersBasic-55493298-56739174 2026-02-12 12:24:18,211 - INFO - Deleting VN ctest-ext_vn-04464729 2026-02-12 12:24:18,324 - DEBUG - VN 7efe48a0-4d7e-4c3e-99dd-ada0c8f3b7b2 still in use: Unable to complete operation on network 7efe48a0-4d7e-4c3e-99dd-ada0c8f3b7b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-79882a48-48d7-4254-8018-a68b7a09e3fc'] 2026-02-12 12:24:18,324 - WARNING - Deleting VN ctest-ext_vn-04464729 failed..Will retry 2026-02-12 12:24:20,448 - DEBUG - Response for deleting network () 2026-02-12 12:24:20,448 - INFO - Deleting VN ctest-vn-56279874 2026-02-12 12:24:20,589 - DEBUG - Response for deleting network () 2026-02-12 12:24:20,868 - DEBUG - No XMPP flaps were noticed during the test 2026-02-12 12:24:20,868 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32] 2026-02-12 12:24:20,868 - INFO - -------------------------------------------------------------------------------- 2026-02-12 12:24:21,670 - INFO - Deleted project: ctest-TestRoutersBasic-55493298, ID : 0e6e0e00-ae23-4598-9f09-61313b02aa1e