2026-06-18 13:05:31,173 - INFO - Domain Default found not creating 2026-06-18 13:05:31,654 - INFO - Project ctest-TestRoutersBasic-17909422 not found, creating it 2026-06-18 13:05:32,097 - INFO - Created Project:ctest-TestRoutersBasic-17909422, ID : ca136732-4fbe-447a-ad16-41cdf2e6dc71 2026-06-18 13:05:33,520 - INFO - ================================================================================ 2026-06-18 13:05:33,520 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-18 13:05:33,520 - 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-06-18 13:05:33,779 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.192': '0'}} with 2026-06-18 13:05:33,779 - INFO - Initial checks done. Running the testcase now 2026-06-18 13:05:33,779 - INFO - 2026-06-18 13:05:34,498 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17909422 2026-06-18 13:05:34,591 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17909422 2026-06-18 13:05:34,911 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17909422', 'default']} 2026-06-18 13:05:35,190 - DEBUG - Response for create_network : {'network': {'id': 'd6a75734-6309-41de-9aaf-9c53ca5e3802', 'name': 'ctest-vn-95940511', 'tenant_id': 'ca1367324fbe447aad1641cdf2e6dc71', 'project_id': 'ca1367324fbe447aad1641cdf2e6dc71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17909422', 'ctest-vn-95940511'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:05:35,367 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c95a7e9d-bf39-4fad-9678-ec778fdf5348', 'name': '', 'tenant_id': 'ca1367324fbe447aad1641cdf2e6dc71', 'network_id': 'd6a75734-6309-41de-9aaf-9c53ca5e3802', 'ip_version': 4, 'cidr': '5.130.113.128/26', 'allocation_pools': [{'start': '5.130.113.130', 'end': '5.130.113.190'}], 'gateway_ip': '5.130.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.130.113.130', 'tags': [], 'project_id': 'ca1367324fbe447aad1641cdf2e6dc71'}} 2026-06-18 13:05:35,382 - INFO - Created VN ctest-vn-95940511 2026-06-18 13:05:35,431 - DEBUG - VN ctest-vn-95940511 UUID is d6a75734-6309-41de-9aaf-9c53ca5e3802 2026-06-18 13:05:35,758 - DEBUG - Response for create_network : {'network': {'id': '7c414fc2-6b0b-4121-9beb-6de899e6709c', 'name': 'ctest-ext_vn-20248129', 'tenant_id': 'ca1367324fbe447aad1641cdf2e6dc71', 'project_id': 'ca1367324fbe447aad1641cdf2e6dc71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17909422', 'ctest-ext_vn-20248129'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:05:35,928 - DEBUG - Response for create_subnet : {'subnet': {'id': '5de6a024-78fb-4a5a-886f-8dae1dcbecb6', 'name': '', 'tenant_id': 'ca1367324fbe447aad1641cdf2e6dc71', 'network_id': '7c414fc2-6b0b-4121-9beb-6de899e6709c', 'ip_version': 4, 'cidr': '62.173.27.128/26', 'allocation_pools': [{'start': '62.173.27.130', 'end': '62.173.27.190'}], 'gateway_ip': '62.173.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.173.27.130', 'tags': [], 'project_id': 'ca1367324fbe447aad1641cdf2e6dc71'}} 2026-06-18 13:05:35,943 - INFO - Created VN ctest-ext_vn-20248129 2026-06-18 13:05:35,995 - DEBUG - VN ctest-ext_vn-20248129 UUID is 7c414fc2-6b0b-4121-9beb-6de899e6709c 2026-06-18 13:05:36,185 - DEBUG - Services list from nova: [, , ] 2026-06-18 13:05:37,197 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5984-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5984-1) 2026-06-18 13:05:38,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5984-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5984-1) 2026-06-18 13:05:38,290 - INFO - Setting gateway for router 465acb9f-6fda-43bc-976a-d8f79c22fb67 to network 7c414fc2-6b0b-4121-9beb-6de899e6709c 2026-06-18 13:05:38,331 - INFO - Adding interface with subnet_id c95a7e9d-bf39-4fad-9678-ec778fdf5348, port_id None to router 465acb9f-6fda-43bc-976a-d8f79c22fb67 2026-06-18 13:05:38,504 - INFO - Waiting for VM ctest-TestRoutersBasic-17909422-02699308 to be up.. 2026-06-18 13:05:38,546 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 13:05:43,588 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 13:05:48,656 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 13:05:53,742 - DEBUG - VM is in ACTIVE state now 2026-06-18 13:05:53,742 - INFO - VM name : ctest-TestRoutersBasic-17909422-02699308 2026-06-18 13:05:53,814 - DEBUG - VM ctest-TestRoutersBasic-17909422-02699308 ID is 7693234e-aa7a-45c2-84ae-811e950a40d8 2026-06-18 13:05:53,836 - DEBUG - VM ctest-TestRoutersBasic-17909422-02699308 launched on Node cn-jenkins-deploy-platform-ansible-os-5984-1 2026-06-18 13:05:53,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7693234e-aa7a-45c2-84ae-811e950a40d8 2026-06-18 13:05:54,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7693234e-aa7a-45c2-84ae-811e950a40d8 2026-06-18 13:05:54,251 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cb2a31e9-1ff5-4503-9f8e-cfe5b4c3ed52 2026-06-18 13:05:57,494 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=4.93 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 4.925/4.925/4.925/0.000 ms') 2026-06-18 13:05:57,494 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-17909422-02699308 passed 2026-06-18 13:05:57,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:05:57,643 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17909422-02699308, IP 5.130.113.131, Port 22 2026-06-18 13:05:57,798 - DEBUG - VM ctest-TestRoutersBasic-17909422-02699308 is ready for SSH connections 2026-06-18 13:05:57,798 - INFO - Waiting for VM ctest-TestRoutersBasic-17909422-08771231 to be up.. 2026-06-18 13:05:57,861 - DEBUG - VM is in ACTIVE state now 2026-06-18 13:05:57,861 - INFO - VM name : ctest-TestRoutersBasic-17909422-08771231 2026-06-18 13:05:57,919 - DEBUG - VM ctest-TestRoutersBasic-17909422-08771231 ID is c666887f-b7c0-4dd2-9795-2247cba8fa58 2026-06-18 13:05:57,919 - DEBUG - VM ctest-TestRoutersBasic-17909422-08771231 launched on Node cn-jenkins-deploy-platform-ansible-os-5984-1 2026-06-18 13:05:57,981 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c666887f-b7c0-4dd2-9795-2247cba8fa58 2026-06-18 13:05:57,988 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8d29d55e-13b1-4089-b8c9-ebefc796dde6 2026-06-18 13:05:59,217 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=2.94 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.393 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.393/1.668/2.944/1.275 ms') 2026-06-18 13:05:59,217 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-17909422-08771231 passed 2026-06-18 13:05:59,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:05:59,363 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17909422-08771231, IP 62.173.27.132, Port 22 2026-06-18 13:05:59,518 - DEBUG - VM ctest-TestRoutersBasic-17909422-08771231 is ready for SSH connections 2026-06-18 13:05:59,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:05:59,518 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.173.27.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-18 13:05:59,518 - DEBUG - ping -s 56 -c 3 -W 1 62.173.27.132 2026-06-18 13:06:02,109 - DEBUG - PING 62.173.27.132 (62.173.27.132): 56 data bytes 64 bytes from 62.173.27.132: seq=0 ttl=62 time=6.246 ms 64 bytes from 62.173.27.132: seq=1 ttl=62 time=0.790 ms 64 bytes from 62.173.27.132: seq=2 ttl=62 time=0.890 ms --- 62.173.27.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.790/2.642/6.246 ms 2026-06-18 13:06:02,109 - INFO - Ping to IP 62.173.27.132 from VM ctest-TestRoutersBasic-17909422-02699308 passed 2026-06-18 13:06:02,109 - INFO - Deleting interface with subnet_id c95a7e9d-bf39-4fad-9678-ec778fdf5348, port_id None from router 465acb9f-6fda-43bc-976a-d8f79c22fb67 2026-06-18 13:06:02,364 - INFO - Deleting VM ctest-TestRoutersBasic-17909422-08771231 2026-06-18 13:06:02,432 - INFO - Deleting VM ctest-TestRoutersBasic-17909422-02699308 2026-06-18 13:06:02,504 - INFO - Deleting VN ctest-ext_vn-20248129 2026-06-18 13:06:02,547 - DEBUG - VN 7c414fc2-6b0b-4121-9beb-6de899e6709c still in use: Unable to complete operation on network 7c414fc2-6b0b-4121-9beb-6de899e6709c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-15e333b5-17c7-4aaa-b44c-55cd5ee1b324'] 2026-06-18 13:06:02,547 - WARNING - Deleting VN ctest-ext_vn-20248129 failed..Will retry 2026-06-18 13:06:04,656 - DEBUG - Response for deleting network () 2026-06-18 13:06:04,656 - INFO - Deleting VN ctest-vn-95940511 2026-06-18 13:06:04,751 - DEBUG - Response for deleting network () 2026-06-18 13:06:05,004 - DEBUG - No XMPP flaps were noticed during the test
2026-06-18 13:06:05,004 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-06-18 13:06:05,005 - INFO - -------------------------------------------------------------------------------- 2026-06-18 13:06:05,669 - INFO - Deleted project: ctest-TestRoutersBasic-17909422, ID : ca136732-4fbe-447a-ad16-41cdf2e6dc71