2026-02-02 16:29:55,747 - INFO - Domain Default found not creating 2026-02-02 16:29:55,922 - INFO - Project ctest-TestRoutersBasic-90209778 not found, creating it 2026-02-02 16:29:56,381 - INFO - Created Project:ctest-TestRoutersBasic-90209778, ID : 8e7aca5d-8b88-48bc-bc2f-6bbc4caeaf66 2026-02-02 16:29:57,920 - INFO - ================================================================================ 2026-02-02 16:29:57,920 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-02 16:29:57,920 - 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-02 16:29:58,176 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-02-02 16:29:58,176 - INFO - Initial checks done. Running the testcase now 2026-02-02 16:29:58,176 - INFO - 2026-02-02 16:29:59,189 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90209778 2026-02-02 16:29:59,286 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90209778 2026-02-02 16:29:59,610 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90209778', 'default']} 2026-02-02 16:29:59,906 - DEBUG - Response for create_network : {'network': {'id': 'a6bc0991-fb39-42ed-8727-ea514b629471', 'name': 'ctest-vn-01804467', 'tenant_id': '8e7aca5d8b8848bcbc2f6bbc4caeaf66', 'project_id': '8e7aca5d8b8848bcbc2f6bbc4caeaf66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90209778', 'ctest-vn-01804467'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 16:30:00,121 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d77f288-16d1-4036-b2b5-f5150fb5c08e', 'name': '', 'tenant_id': '8e7aca5d8b8848bcbc2f6bbc4caeaf66', 'network_id': 'a6bc0991-fb39-42ed-8727-ea514b629471', 'ip_version': 4, 'cidr': '41.94.84.64/26', 'allocation_pools': [{'start': '41.94.84.66', 'end': '41.94.84.126'}], 'gateway_ip': '41.94.84.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.94.84.66', 'tags': [], 'project_id': '8e7aca5d8b8848bcbc2f6bbc4caeaf66'}} 2026-02-02 16:30:00,140 - INFO - Created VN ctest-vn-01804467 2026-02-02 16:30:00,194 - DEBUG - VN ctest-vn-01804467 UUID is a6bc0991-fb39-42ed-8727-ea514b629471 2026-02-02 16:30:00,521 - DEBUG - Response for create_network : {'network': {'id': '6754ba2c-f98a-4fd8-8adb-57ccfa4be157', 'name': 'ctest-ext_vn-97384839', 'tenant_id': '8e7aca5d8b8848bcbc2f6bbc4caeaf66', 'project_id': '8e7aca5d8b8848bcbc2f6bbc4caeaf66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90209778', 'ctest-ext_vn-97384839'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 16:30:00,675 - DEBUG - Response for create_subnet : {'subnet': {'id': '5615b4ac-5240-42d8-8100-04e52aa10eb1', 'name': '', 'tenant_id': '8e7aca5d8b8848bcbc2f6bbc4caeaf66', 'network_id': '6754ba2c-f98a-4fd8-8adb-57ccfa4be157', 'ip_version': 4, 'cidr': '133.115.15.192/26', 'allocation_pools': [{'start': '133.115.15.194', 'end': '133.115.15.254'}], 'gateway_ip': '133.115.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.115.15.194', 'tags': [], 'project_id': '8e7aca5d8b8848bcbc2f6bbc4caeaf66'}} 2026-02-02 16:30:00,695 - INFO - Created VN ctest-ext_vn-97384839 2026-02-02 16:30:00,746 - DEBUG - VN ctest-ext_vn-97384839 UUID is 6754ba2c-f98a-4fd8-8adb-57ccfa4be157 2026-02-02 16:30:00,911 - DEBUG - Services list from nova: [, , ] 2026-02-02 16:30:02,014 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5174-1) 2026-02-02 16:30:03,218 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5174-1) 2026-02-02 16:30:03,317 - INFO - Setting gateway for router 40cd580a-02ee-4f6d-93ca-ead054f0a91c to network 6754ba2c-f98a-4fd8-8adb-57ccfa4be157 2026-02-02 16:30:03,394 - INFO - Adding interface with subnet_id 6d77f288-16d1-4036-b2b5-f5150fb5c08e, port_id None to router 40cd580a-02ee-4f6d-93ca-ead054f0a91c 2026-02-02 16:30:03,788 - INFO - Waiting for VM ctest-TestRoutersBasic-90209778-42435623 to be up.. 2026-02-02 16:30:04,020 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 16:30:09,094 - DEBUG - VM is in ACTIVE state now 2026-02-02 16:30:09,094 - INFO - VM name : ctest-TestRoutersBasic-90209778-42435623 2026-02-02 16:30:09,177 - DEBUG - VM ctest-TestRoutersBasic-90209778-42435623 ID is fe528f85-b559-4397-ad11-d8b34fb9871e 2026-02-02 16:30:09,197 - DEBUG - VM ctest-TestRoutersBasic-90209778-42435623 launched on Node cn-jenkins-deploy-platform-ansible-os-5174-1 2026-02-02 16:30:09,272 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/fe528f85-b559-4397-ad11-d8b34fb9871e 2026-02-02 16:30:09,574 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/fe528f85-b559-4397-ad11-d8b34fb9871e 2026-02-02 16:30:09,611 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/34d5111e-2292-4e06-b4fb-6d0bd027af8d 2026-02-02 16:30:12,878 - 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 1026ms') 2026-02-02 16:30:12,878 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90209778-42435623 failed! 2026-02-02 16:30:12,934 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90209778:ctest-vn-01804467 is 41.94.84.65 and allocation pool is NOT set 2026-02-02 16:30:14,993 - 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.43 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 1002ms\r\nrtt min/avg/max/mdev = 0.423/1.924/3.425/1.501 ms') 2026-02-02 16:30:14,994 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90209778-42435623 passed 2026-02-02 16:30:15,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 16:30:15,142 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90209778-42435623, IP 41.94.84.67, Port 22 2026-02-02 16:30:15,309 - DEBUG - VM ctest-TestRoutersBasic-90209778-42435623 is ready for SSH connections 2026-02-02 16:30:15,309 - INFO - Waiting for VM ctest-TestRoutersBasic-90209778-44623827 to be up.. 2026-02-02 16:30:15,388 - DEBUG - VM is in ACTIVE state now 2026-02-02 16:30:15,388 - INFO - VM name : ctest-TestRoutersBasic-90209778-44623827 2026-02-02 16:30:15,468 - DEBUG - VM ctest-TestRoutersBasic-90209778-44623827 ID is c4e106f2-69be-4304-a11e-28312a40545e 2026-02-02 16:30:15,468 - DEBUG - VM ctest-TestRoutersBasic-90209778-44623827 launched on Node cn-jenkins-deploy-platform-ansible-os-5174-1 2026-02-02 16:30:15,552 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c4e106f2-69be-4304-a11e-28312a40545e 2026-02-02 16:30:15,560 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c6dc01f3-105a-4b0c-9b47-c28b4b8e5adf 2026-02-02 16:30:16,794 - 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.395 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.395/1.672/2.949/1.277 ms') 2026-02-02 16:30:16,794 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90209778-44623827 passed 2026-02-02 16:30:16,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 16:30:16,947 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90209778-44623827, IP 133.115.15.195, Port 22 2026-02-02 16:30:17,102 - DEBUG - VM ctest-TestRoutersBasic-90209778-44623827 is ready for SSH connections 2026-02-02 16:30:17,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 16:30:17,103 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.115.15.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-02 16:30:17,103 - DEBUG - ping -s 56 -c 3 -W 1 133.115.15.195 2026-02-02 16:30:20,848 - DEBUG - PING 133.115.15.195 (133.115.15.195): 56 data bytes 64 bytes from 133.115.15.195: seq=0 ttl=62 time=5.382 ms 64 bytes from 133.115.15.195: seq=1 ttl=62 time=1.056 ms 64 bytes from 133.115.15.195: seq=2 ttl=62 time=0.995 ms --- 133.115.15.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.995/2.477/5.382 ms 2026-02-02 16:30:20,848 - INFO - Ping to IP 133.115.15.195 from VM ctest-TestRoutersBasic-90209778-42435623 passed 2026-02-02 16:30:20,849 - INFO - Deleting interface with subnet_id 6d77f288-16d1-4036-b2b5-f5150fb5c08e, port_id None from router 40cd580a-02ee-4f6d-93ca-ead054f0a91c 2026-02-02 16:30:21,034 - INFO - Deleting VM ctest-TestRoutersBasic-90209778-44623827 2026-02-02 16:30:21,102 - INFO - Deleting VM ctest-TestRoutersBasic-90209778-42435623 2026-02-02 16:30:21,204 - INFO - Deleting VN ctest-ext_vn-97384839 2026-02-02 16:30:21,266 - DEBUG - VN 6754ba2c-f98a-4fd8-8adb-57ccfa4be157 still in use: Unable to complete operation on network 6754ba2c-f98a-4fd8-8adb-57ccfa4be157. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d6abe2f8-dfbc-498f-ac02-1eed9054744b'] 2026-02-02 16:30:21,267 - WARNING - Deleting VN ctest-ext_vn-97384839 failed..Will retry 2026-02-02 16:30:23,363 - DEBUG - Response for deleting network () 2026-02-02 16:30:23,363 - INFO - Deleting VN ctest-vn-01804467 2026-02-02 16:30:23,462 - DEBUG - Response for deleting network () 2026-02-02 16:30:23,715 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 16:30:23,715 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-02-02 16:30:23,715 - INFO - -------------------------------------------------------------------------------- 2026-02-02 16:30:24,412 - INFO - Deleted project: ctest-TestRoutersBasic-90209778, ID : 8e7aca5d-8b88-48bc-bc2f-6bbc4caeaf66