2026-03-26 02:31:20,951 - INFO - Domain Default found not creating 2026-03-26 02:31:21,148 - INFO - Project ctest-TestRoutersBasic-63081023 not found, creating it 2026-03-26 02:31:21,672 - INFO - Created Project:ctest-TestRoutersBasic-63081023, ID : 03217abd-a9d9-4ac3-9109-c929b7fb4e86 2026-03-26 02:31:23,314 - INFO - ================================================================================ 2026-03-26 02:31:23,315 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-26 02:31:23,315 - 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-03-26 02:31:24,582 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0', '10.20.0.14': '0'}, '10.0.0.23': {'10.20.0.254': '0', '10.20.0.18': '0'}} with 2026-03-26 02:31:24,582 - INFO - Initial checks done. Running the testcase now 2026-03-26 02:31:24,582 - INFO - 2026-03-26 02:31:25,398 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63081023 2026-03-26 02:31:25,458 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63081023 2026-03-26 02:31:25,763 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63081023', 'default']} 2026-03-26 02:31:26,173 - DEBUG - Response for create_network : {'network': {'id': 'af2bcf63-d10d-4288-bd1a-ecc5d0196d0a', 'name': 'ctest-vn-56939777', 'tenant_id': '03217abda9d94ac39109c929b7fb4e86', 'project_id': '03217abda9d94ac39109c929b7fb4e86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63081023', 'ctest-vn-56939777'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:31:26,488 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cb1314a-b9a3-4330-9a4a-ab9b56652591', 'name': '', 'tenant_id': '03217abda9d94ac39109c929b7fb4e86', 'network_id': 'af2bcf63-d10d-4288-bd1a-ecc5d0196d0a', 'ip_version': 4, 'cidr': '209.168.133.64/26', 'allocation_pools': [{'start': '209.168.133.66', 'end': '209.168.133.126'}], 'gateway_ip': '209.168.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.168.133.66', 'tags': [], 'project_id': '03217abda9d94ac39109c929b7fb4e86'}} 2026-03-26 02:31:26,510 - INFO - Created VN ctest-vn-56939777 2026-03-26 02:31:26,521 - DEBUG - VN ctest-vn-56939777 UUID is af2bcf63-d10d-4288-bd1a-ecc5d0196d0a 2026-03-26 02:31:26,917 - DEBUG - Response for create_network : {'network': {'id': 'e9bfb725-9429-4784-a9aa-8062b479e94c', 'name': 'ctest-ext_vn-86386941', 'tenant_id': '03217abda9d94ac39109c929b7fb4e86', 'project_id': '03217abda9d94ac39109c929b7fb4e86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63081023', 'ctest-ext_vn-86386941'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:31:27,113 - DEBUG - Response for create_subnet : {'subnet': {'id': '43208e3d-2f30-405b-aaa6-5285f477eaca', 'name': '', 'tenant_id': '03217abda9d94ac39109c929b7fb4e86', 'network_id': 'e9bfb725-9429-4784-a9aa-8062b479e94c', 'ip_version': 4, 'cidr': '221.228.53.64/26', 'allocation_pools': [{'start': '221.228.53.66', 'end': '221.228.53.126'}], 'gateway_ip': '221.228.53.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.228.53.66', 'tags': [], 'project_id': '03217abda9d94ac39109c929b7fb4e86'}} 2026-03-26 02:31:27,138 - INFO - Created VN ctest-ext_vn-86386941 2026-03-26 02:31:27,158 - DEBUG - VN ctest-ext_vn-86386941 UUID is e9bfb725-9429-4784-a9aa-8062b479e94c 2026-03-26 02:31:27,329 - DEBUG - Services list from nova: [, , , ] 2026-03-26 02:31:28,470 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5545-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5545-2) 2026-03-26 02:31:29,870 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5545-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5545-1) 2026-03-26 02:31:29,972 - INFO - Setting gateway for router 857ca398-0ba6-4f9a-8e4e-031947a8eb6c to network e9bfb725-9429-4784-a9aa-8062b479e94c 2026-03-26 02:31:30,073 - INFO - Adding interface with subnet_id 7cb1314a-b9a3-4330-9a4a-ab9b56652591, port_id None to router 857ca398-0ba6-4f9a-8e4e-031947a8eb6c 2026-03-26 02:31:30,568 - INFO - Waiting for VM ctest-TestRoutersBasic-63081023-75613743 to be up.. 2026-03-26 02:31:30,740 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-26 02:31:35,829 - DEBUG - VM is in ACTIVE state now 2026-03-26 02:31:35,829 - INFO - VM name : ctest-TestRoutersBasic-63081023-75613743 2026-03-26 02:31:35,918 - DEBUG - VM ctest-TestRoutersBasic-63081023-75613743 ID is b4d54b93-9b9f-4195-8905-b934017a3a06 2026-03-26 02:31:35,947 - DEBUG - VM ctest-TestRoutersBasic-63081023-75613743 launched on Node an-jenkins-deploy-platform-ansible-os-5545-2 2026-03-26 02:31:36,047 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b4d54b93-9b9f-4195-8905-b934017a3a06 2026-03-26 02:31:36,412 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b4d54b93-9b9f-4195-8905-b934017a3a06 2026-03-26 02:31:36,461 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/7e6e1932-74a6-400c-9fb7-9c49d1288065 2026-03-26 02:31:39,647 - 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-03-26 02:31:39,647 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63081023-75613743 failed! 2026-03-26 02:31:39,661 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63081023:ctest-vn-56939777 is 209.168.133.65 and allocation pool is NOT set 2026-03-26 02:31:41,719 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.421 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.421/1.936/3.452/1.515 ms') 2026-03-26 02:31:41,719 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63081023-75613743 passed 2026-03-26 02:31:41,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:31:41,789 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63081023-75613743, IP 209.168.133.67, Port 22 2026-03-26 02:31:41,950 - DEBUG - VM ctest-TestRoutersBasic-63081023-75613743 is ready for SSH connections 2026-03-26 02:31:41,950 - INFO - Waiting for VM ctest-TestRoutersBasic-63081023-92650640 to be up.. 2026-03-26 02:31:42,036 - DEBUG - VM is in ACTIVE state now 2026-03-26 02:31:42,036 - INFO - VM name : ctest-TestRoutersBasic-63081023-92650640 2026-03-26 02:31:42,124 - DEBUG - VM ctest-TestRoutersBasic-63081023-92650640 ID is 13da7020-ec8a-4bbd-83d0-2c64a5d3fbc8 2026-03-26 02:31:42,124 - DEBUG - VM ctest-TestRoutersBasic-63081023-92650640 launched on Node an-jenkins-deploy-platform-ansible-os-5545-1 2026-03-26 02:31:42,203 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/13da7020-ec8a-4bbd-83d0-2c64a5d3fbc8 2026-03-26 02:31:42,214 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/8752b276-4214-4d06-a035-db413544e181 2026-03-26 02:31:43,373 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.426 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.426/1.665/2.904/1.239 ms') 2026-03-26 02:31:43,373 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63081023-92650640 passed 2026-03-26 02:31:43,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:31:43,440 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63081023-92650640, IP 221.228.53.67, Port 22 2026-03-26 02:31:43,610 - DEBUG - VM ctest-TestRoutersBasic-63081023-92650640 is ready for SSH connections 2026-03-26 02:31:43,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:31:43,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.228.53.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-03-26 02:31:43,610 - DEBUG - ping -s 56 -c 3 -W 1 221.228.53.67 2026-03-26 02:31:47,287 - DEBUG - PING 221.228.53.67 (221.228.53.67): 56 data bytes 64 bytes from 221.228.53.67: seq=0 ttl=62 time=7.649 ms 64 bytes from 221.228.53.67: seq=1 ttl=62 time=1.265 ms 64 bytes from 221.228.53.67: seq=2 ttl=62 time=1.587 ms --- 221.228.53.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.265/3.500/7.649 ms 2026-03-26 02:31:47,287 - INFO - Ping to IP 221.228.53.67 from VM ctest-TestRoutersBasic-63081023-75613743 passed 2026-03-26 02:31:47,287 - INFO - Deleting interface with subnet_id 7cb1314a-b9a3-4330-9a4a-ab9b56652591, port_id None from router 857ca398-0ba6-4f9a-8e4e-031947a8eb6c 2026-03-26 02:31:47,719 - INFO - Deleting VM ctest-TestRoutersBasic-63081023-92650640 2026-03-26 02:31:47,843 - INFO - Deleting VM ctest-TestRoutersBasic-63081023-75613743 2026-03-26 02:31:47,931 - INFO - Deleting VN ctest-ext_vn-86386941 2026-03-26 02:31:48,061 - DEBUG - VN e9bfb725-9429-4784-a9aa-8062b479e94c still in use: Unable to complete operation on network e9bfb725-9429-4784-a9aa-8062b479e94c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0bb9e835-89ee-4feb-9d25-5c096eb28b42'] 2026-03-26 02:31:48,061 - WARNING - Deleting VN ctest-ext_vn-86386941 failed..Will retry 2026-03-26 02:31:50,224 - DEBUG - Response for deleting network () 2026-03-26 02:31:50,224 - INFO - Deleting VN ctest-vn-56939777 2026-03-26 02:31:50,384 - DEBUG - Response for deleting network () 2026-03-26 02:31:51,685 - DEBUG - No XMPP flaps were noticed during the test
2026-03-26 02:31:51,685 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2026-03-26 02:31:51,685 - INFO - -------------------------------------------------------------------------------- 2026-03-26 02:31:52,515 - INFO - Deleted project: ctest-TestRoutersBasic-63081023, ID : 03217abd-a9d9-4ac3-9109-c929b7fb4e86