2026-01-31 16:12:20,612 - INFO - Domain Default found not creating 2026-01-31 16:12:20,845 - INFO - Project ctest-TestRoutersBasic-25061995 not found, creating it 2026-01-31 16:12:21,309 - INFO - Created Project:ctest-TestRoutersBasic-25061995, ID : b6e44c2b-75a2-48ab-bd6c-23ec04e78968 2026-01-31 16:12:22,867 - INFO - ================================================================================ 2026-01-31 16:12:22,867 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-31 16:12:22,867 - 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-01-31 16:12:23,119 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-31 16:12:23,119 - INFO - Initial checks done. Running the testcase now 2026-01-31 16:12:23,119 - INFO - 2026-01-31 16:12:23,821 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25061995 2026-01-31 16:12:23,914 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25061995 2026-01-31 16:12:24,230 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25061995', 'default']} 2026-01-31 16:12:24,521 - DEBUG - Response for create_network : {'network': {'id': 'fe794f1a-f781-4144-8b01-dae46f65d277', 'name': 'ctest-vn-02583849', 'tenant_id': 'b6e44c2b75a248abbd6c23ec04e78968', 'project_id': 'b6e44c2b75a248abbd6c23ec04e78968', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25061995', 'ctest-vn-02583849'], 'port_security_enabled': True, 'description': ''}} 2026-01-31 16:12:24,739 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bb1072d-351f-4530-93b1-b595fcde74e3', 'name': '', 'tenant_id': 'b6e44c2b75a248abbd6c23ec04e78968', 'network_id': 'fe794f1a-f781-4144-8b01-dae46f65d277', 'ip_version': 4, 'cidr': '170.216.104.64/26', 'allocation_pools': [{'start': '170.216.104.66', 'end': '170.216.104.126'}], 'gateway_ip': '170.216.104.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.216.104.66', 'tags': [], 'project_id': 'b6e44c2b75a248abbd6c23ec04e78968'}} 2026-01-31 16:12:24,755 - INFO - Created VN ctest-vn-02583849 2026-01-31 16:12:24,806 - DEBUG - VN ctest-vn-02583849 UUID is fe794f1a-f781-4144-8b01-dae46f65d277 2026-01-31 16:12:25,119 - DEBUG - Response for create_network : {'network': {'id': '2108cd2b-b4cd-4223-92b7-9be2fcddf481', 'name': 'ctest-ext_vn-60182318', 'tenant_id': 'b6e44c2b75a248abbd6c23ec04e78968', 'project_id': 'b6e44c2b75a248abbd6c23ec04e78968', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25061995', 'ctest-ext_vn-60182318'], 'port_security_enabled': True, 'description': ''}} 2026-01-31 16:12:25,278 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd904da77-798b-40dd-b5c2-16612ac983b2', 'name': '', 'tenant_id': 'b6e44c2b75a248abbd6c23ec04e78968', 'network_id': '2108cd2b-b4cd-4223-92b7-9be2fcddf481', 'ip_version': 4, 'cidr': '34.253.33.128/26', 'allocation_pools': [{'start': '34.253.33.130', 'end': '34.253.33.190'}], 'gateway_ip': '34.253.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.253.33.130', 'tags': [], 'project_id': 'b6e44c2b75a248abbd6c23ec04e78968'}} 2026-01-31 16:12:25,297 - INFO - Created VN ctest-ext_vn-60182318 2026-01-31 16:12:25,350 - DEBUG - VN ctest-ext_vn-60182318 UUID is 2108cd2b-b4cd-4223-92b7-9be2fcddf481 2026-01-31 16:12:25,554 - DEBUG - Services list from nova: [, , ] 2026-01-31 16:12:26,576 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5156-1) 2026-01-31 16:12:28,058 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5156-1) 2026-01-31 16:12:28,129 - INFO - Setting gateway for router 0a23f13d-5af3-49cf-8af4-dff5dd15b23e to network 2108cd2b-b4cd-4223-92b7-9be2fcddf481 2026-01-31 16:12:28,195 - INFO - Adding interface with subnet_id 4bb1072d-351f-4530-93b1-b595fcde74e3, port_id None to router 0a23f13d-5af3-49cf-8af4-dff5dd15b23e 2026-01-31 16:12:28,581 - INFO - Waiting for VM ctest-TestRoutersBasic-25061995-55769593 to be up.. 2026-01-31 16:12:28,764 - DEBUG - VM is in ACTIVE state now 2026-01-31 16:12:28,764 - INFO - VM name : ctest-TestRoutersBasic-25061995-55769593 2026-01-31 16:12:28,919 - DEBUG - VM ctest-TestRoutersBasic-25061995-55769593 ID is 72575b3f-ce32-4f7a-93f0-fb05088faca3 2026-01-31 16:12:28,941 - DEBUG - VM ctest-TestRoutersBasic-25061995-55769593 launched on Node cn-jenkins-deploy-platform-ansible-os-5156-1 2026-01-31 16:12:29,039 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/72575b3f-ce32-4f7a-93f0-fb05088faca3 2026-01-31 16:12:29,393 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/72575b3f-ce32-4f7a-93f0-fb05088faca3 2026-01-31 16:12:29,431 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/67692bd8-30fa-4c32-8fb8-b8aa684ec9e3 2026-01-31 16:12:32,680 - 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 1007ms') 2026-01-31 16:12:32,680 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25061995-55769593 failed! 2026-01-31 16:12:32,734 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25061995:ctest-vn-02583849 is 170.216.104.65 and allocation pool is NOT set 2026-01-31 16:12:36,799 - 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 1011ms') 2026-01-31 16:12:36,799 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25061995-55769593 failed! 2026-01-31 16:12:36,854 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25061995:ctest-vn-02583849 is 170.216.104.65 and allocation pool is NOT set 2026-01-31 16:12:38,911 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 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.451/1.719/2.988/1.268 ms') 2026-01-31 16:12:38,911 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25061995-55769593 passed 2026-01-31 16:12:39,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 16:12:39,058 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25061995-55769593, IP 170.216.104.67, Port 22 2026-01-31 16:12:39,213 - DEBUG - VM ctest-TestRoutersBasic-25061995-55769593 is ready for SSH connections 2026-01-31 16:12:39,213 - INFO - Waiting for VM ctest-TestRoutersBasic-25061995-71285126 to be up.. 2026-01-31 16:12:39,283 - DEBUG - VM is in ACTIVE state now 2026-01-31 16:12:39,283 - INFO - VM name : ctest-TestRoutersBasic-25061995-71285126 2026-01-31 16:12:39,352 - DEBUG - VM ctest-TestRoutersBasic-25061995-71285126 ID is b99ec4f1-4bd0-48d2-b669-b170f8fc7c35 2026-01-31 16:12:39,352 - DEBUG - VM ctest-TestRoutersBasic-25061995-71285126 launched on Node cn-jenkins-deploy-platform-ansible-os-5156-1 2026-01-31 16:12:39,421 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b99ec4f1-4bd0-48d2-b669-b170f8fc7c35 2026-01-31 16:12:39,430 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b1995c16-0d31-4321-88c8-3c9a72f85e1d 2026-01-31 16:12:40,662 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.430/2.008/3.586/1.578 ms') 2026-01-31 16:12:40,663 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25061995-71285126 passed 2026-01-31 16:12:40,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 16:12:40,810 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25061995-71285126, IP 34.253.33.131, Port 22 2026-01-31 16:12:40,965 - DEBUG - VM ctest-TestRoutersBasic-25061995-71285126 is ready for SSH connections 2026-01-31 16:12:40,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 16:12:40,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.253.33.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-31 16:12:40,966 - DEBUG - ping -s 56 -c 3 -W 1 34.253.33.131 2026-01-31 16:12:44,648 - DEBUG - PING 34.253.33.131 (34.253.33.131): 56 data bytes 64 bytes from 34.253.33.131: seq=0 ttl=62 time=5.575 ms 64 bytes from 34.253.33.131: seq=1 ttl=62 time=0.890 ms 64 bytes from 34.253.33.131: seq=2 ttl=62 time=0.745 ms --- 34.253.33.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/2.403/5.575 ms 2026-01-31 16:12:44,649 - INFO - Ping to IP 34.253.33.131 from VM ctest-TestRoutersBasic-25061995-55769593 passed 2026-01-31 16:12:44,649 - INFO - Deleting interface with subnet_id 4bb1072d-351f-4530-93b1-b595fcde74e3, port_id None from router 0a23f13d-5af3-49cf-8af4-dff5dd15b23e 2026-01-31 16:12:44,825 - INFO - Deleting VM ctest-TestRoutersBasic-25061995-71285126 2026-01-31 16:12:44,890 - INFO - Deleting VM ctest-TestRoutersBasic-25061995-55769593 2026-01-31 16:12:44,966 - INFO - Deleting VN ctest-ext_vn-60182318 2026-01-31 16:12:45,020 - DEBUG - VN 2108cd2b-b4cd-4223-92b7-9be2fcddf481 still in use: Unable to complete operation on network 2108cd2b-b4cd-4223-92b7-9be2fcddf481. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-329ae3a8-ab16-4625-9416-1192aeaeb045'] 2026-01-31 16:12:45,020 - WARNING - Deleting VN ctest-ext_vn-60182318 failed..Will retry 2026-01-31 16:12:47,104 - DEBUG - Response for deleting network () 2026-01-31 16:12:47,104 - INFO - Deleting VN ctest-vn-02583849 2026-01-31 16:12:47,187 - DEBUG - Response for deleting network () 2026-01-31 16:12:47,443 - DEBUG - No XMPP flaps were noticed during the test
2026-01-31 16:12:47,443 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-31 16:12:47,443 - INFO - -------------------------------------------------------------------------------- 2026-01-31 16:12:48,105 - INFO - Deleted project: ctest-TestRoutersBasic-25061995, ID : b6e44c2b-75a2-48ab-bd6c-23ec04e78968