2026-04-02 12:58:32,376 - INFO - Domain Default found not creating 2026-04-02 12:58:32,547 - INFO - Project ctest-TestRoutersBasic-27665068 not found, creating it 2026-04-02 12:58:33,012 - INFO - Created Project:ctest-TestRoutersBasic-27665068, ID : 95593bb0-51b8-4bb2-aceb-79ff72077cc4 2026-04-02 12:58:34,501 - INFO - ================================================================================ 2026-04-02 12:58:34,501 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-02 12:58:34,501 - 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-04-02 12:58:34,757 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2026-04-02 12:58:34,757 - INFO - Initial checks done. Running the testcase now 2026-04-02 12:58:34,757 - INFO - 2026-04-02 12:58:35,491 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-27665068 2026-04-02 12:58:35,587 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-27665068 2026-04-02 12:58:35,903 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27665068', 'default']} 2026-04-02 12:58:36,195 - DEBUG - Response for create_network : {'network': {'id': 'af703232-c06e-48de-8065-f72fcb9ffd43', 'name': 'ctest-vn-84790104', 'tenant_id': '95593bb051b84bb2aceb79ff72077cc4', 'project_id': '95593bb051b84bb2aceb79ff72077cc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27665068', 'ctest-vn-84790104'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 12:58:36,404 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f90c1ab-2b3d-4e9e-ae86-12b282dd22e3', 'name': '', 'tenant_id': '95593bb051b84bb2aceb79ff72077cc4', 'network_id': 'af703232-c06e-48de-8065-f72fcb9ffd43', 'ip_version': 4, 'cidr': '106.195.237.192/26', 'allocation_pools': [{'start': '106.195.237.194', 'end': '106.195.237.254'}], 'gateway_ip': '106.195.237.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.195.237.194', 'tags': [], 'project_id': '95593bb051b84bb2aceb79ff72077cc4'}} 2026-04-02 12:58:36,422 - INFO - Created VN ctest-vn-84790104 2026-04-02 12:58:36,475 - DEBUG - VN ctest-vn-84790104 UUID is af703232-c06e-48de-8065-f72fcb9ffd43 2026-04-02 12:58:36,821 - DEBUG - Response for create_network : {'network': {'id': 'fd3cf61c-74d3-4312-b6f2-27b8b29179c8', 'name': 'ctest-ext_vn-49639676', 'tenant_id': '95593bb051b84bb2aceb79ff72077cc4', 'project_id': '95593bb051b84bb2aceb79ff72077cc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27665068', 'ctest-ext_vn-49639676'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 12:58:37,000 - DEBUG - Response for create_subnet : {'subnet': {'id': '239c97b0-b85d-4d99-9e36-a6650eee007b', 'name': '', 'tenant_id': '95593bb051b84bb2aceb79ff72077cc4', 'network_id': 'fd3cf61c-74d3-4312-b6f2-27b8b29179c8', 'ip_version': 4, 'cidr': '82.67.77.64/26', 'allocation_pools': [{'start': '82.67.77.66', 'end': '82.67.77.126'}], 'gateway_ip': '82.67.77.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.67.77.66', 'tags': [], 'project_id': '95593bb051b84bb2aceb79ff72077cc4'}} 2026-04-02 12:58:37,017 - INFO - Created VN ctest-ext_vn-49639676 2026-04-02 12:58:37,071 - DEBUG - VN ctest-ext_vn-49639676 UUID is fd3cf61c-74d3-4312-b6f2-27b8b29179c8 2026-04-02 12:58:37,273 - DEBUG - Services list from nova: [, , ] 2026-04-02 12:58:38,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5582-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5582-1) 2026-04-02 12:58:39,462 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5582-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5582-1) 2026-04-02 12:58:39,541 - INFO - Setting gateway for router c2b77623-e6f0-4542-80b0-83fa05a08009 to network fd3cf61c-74d3-4312-b6f2-27b8b29179c8 2026-04-02 12:58:39,617 - INFO - Adding interface with subnet_id 1f90c1ab-2b3d-4e9e-ae86-12b282dd22e3, port_id None to router c2b77623-e6f0-4542-80b0-83fa05a08009 2026-04-02 12:58:39,973 - INFO - Waiting for VM ctest-TestRoutersBasic-27665068-05353762 to be up.. 2026-04-02 12:58:40,133 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 12:58:45,206 - DEBUG - VM is in ACTIVE state now 2026-04-02 12:58:45,206 - INFO - VM name : ctest-TestRoutersBasic-27665068-05353762 2026-04-02 12:58:45,279 - DEBUG - VM ctest-TestRoutersBasic-27665068-05353762 ID is c3d80617-229b-47d3-bbb4-25b47e129328 2026-04-02 12:58:45,299 - DEBUG - VM ctest-TestRoutersBasic-27665068-05353762 launched on Node cn-jenkins-deploy-platform-ansible-os-5582-1 2026-04-02 12:58:45,378 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c3d80617-229b-47d3-bbb4-25b47e129328 2026-04-02 12:58:45,685 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c3d80617-229b-47d3-bbb4-25b47e129328 2026-04-02 12:58:45,724 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/14226234-1e55-4783-ba00-eb21e1bc31ca 2026-04-02 12:58:48,960 - 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 1003ms') 2026-04-02 12:58:48,961 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27665068-05353762 failed! 2026-04-02 12:58:49,015 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27665068:ctest-vn-84790104 is 106.195.237.193 and allocation pool is NOT set 2026-04-02 12:58:51,073 - 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.423 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.423/1.578/2.733/1.155 ms') 2026-04-02 12:58:51,073 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27665068-05353762 passed 2026-04-02 12:58:51,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 12:58:51,223 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27665068-05353762, IP 106.195.237.195, Port 22 2026-04-02 12:58:51,378 - DEBUG - VM ctest-TestRoutersBasic-27665068-05353762 is ready for SSH connections 2026-04-02 12:58:51,379 - INFO - Waiting for VM ctest-TestRoutersBasic-27665068-46520426 to be up.. 2026-04-02 12:58:51,451 - DEBUG - VM is in ACTIVE state now 2026-04-02 12:58:51,451 - INFO - VM name : ctest-TestRoutersBasic-27665068-46520426 2026-04-02 12:58:51,521 - DEBUG - VM ctest-TestRoutersBasic-27665068-46520426 ID is 775ecee0-c6d2-40bf-80d9-a529a7ffb576 2026-04-02 12:58:51,521 - DEBUG - VM ctest-TestRoutersBasic-27665068-46520426 launched on Node cn-jenkins-deploy-platform-ansible-os-5582-1 2026-04-02 12:58:51,591 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/775ecee0-c6d2-40bf-80d9-a529a7ffb576 2026-04-02 12:58:51,598 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3092fef2-3690-42dc-ab71-09860ec2e9ee 2026-04-02 12:58:52,833 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.336 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.336/1.198/2.061/0.862 ms') 2026-04-02 12:58:52,833 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-27665068-46520426 passed 2026-04-02 12:58:52,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 12:58:52,987 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27665068-46520426, IP 82.67.77.67, Port 22 2026-04-02 12:58:53,054 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-02 12:58:53,130 - DEBUG - VM ctest-TestRoutersBasic-27665068-46520426 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 12:58:58,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 12:58:58,131 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27665068-46520426, IP 82.67.77.67, Port 22 2026-04-02 12:58:58,296 - DEBUG - VM ctest-TestRoutersBasic-27665068-46520426 is ready for SSH connections 2026-04-02 12:58:58,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 12:58:58,297 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.67.77.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-02 12:58:58,297 - DEBUG - ping -s 56 -c 3 -W 1 82.67.77.67 2026-04-02 12:59:01,990 - DEBUG - PING 82.67.77.67 (82.67.77.67): 56 data bytes 64 bytes from 82.67.77.67: seq=0 ttl=62 time=6.042 ms 64 bytes from 82.67.77.67: seq=1 ttl=62 time=0.859 ms 64 bytes from 82.67.77.67: seq=2 ttl=62 time=0.936 ms --- 82.67.77.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.859/2.612/6.042 ms 2026-04-02 12:59:01,991 - INFO - Ping to IP 82.67.77.67 from VM ctest-TestRoutersBasic-27665068-05353762 passed 2026-04-02 12:59:01,991 - INFO - Deleting interface with subnet_id 1f90c1ab-2b3d-4e9e-ae86-12b282dd22e3, port_id None from router c2b77623-e6f0-4542-80b0-83fa05a08009 2026-04-02 12:59:02,155 - INFO - Deleting VM ctest-TestRoutersBasic-27665068-46520426 2026-04-02 12:59:02,228 - INFO - Deleting VM ctest-TestRoutersBasic-27665068-05353762 2026-04-02 12:59:02,306 - INFO - Deleting VN ctest-ext_vn-49639676 2026-04-02 12:59:02,372 - DEBUG - VN fd3cf61c-74d3-4312-b6f2-27b8b29179c8 still in use: Unable to complete operation on network fd3cf61c-74d3-4312-b6f2-27b8b29179c8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f63a3813-86bf-453b-a6b8-55f21ee82665'] 2026-04-02 12:59:02,373 - WARNING - Deleting VN ctest-ext_vn-49639676 failed..Will retry 2026-04-02 12:59:04,461 - DEBUG - Response for deleting network () 2026-04-02 12:59:04,461 - INFO - Deleting VN ctest-vn-84790104 2026-04-02 12:59:04,560 - DEBUG - Response for deleting network () 2026-04-02 12:59:04,812 - DEBUG - No XMPP flaps were noticed during the test
2026-04-02 12:59:04,812 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2026-04-02 12:59:04,812 - INFO - -------------------------------------------------------------------------------- 2026-04-02 12:59:05,493 - INFO - Deleted project: ctest-TestRoutersBasic-27665068, ID : 95593bb0-51b8-4bb2-aceb-79ff72077cc4