2026-10-13 08:05:32,489 - INFO - Domain Default found not creating 2026-10-13 08:05:32,621 - INFO - Project ctest-TestRoutersBasic-44468535 not found, creating it 2026-10-13 08:05:33,062 - INFO - Created Project:ctest-TestRoutersBasic-44468535, ID : ebdccc8d-5206-4ce4-ada9-548617ec3c53 2026-10-13 08:05:34,676 - INFO - ================================================================================ 2026-10-13 08:05:34,676 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-13 08:05:34,676 - 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-10-13 08:05:34,931 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-10-13 08:05:34,931 - INFO - Initial checks done. Running the testcase now 2026-10-13 08:05:34,931 - INFO - 2026-10-13 08:05:35,739 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44468535 2026-10-13 08:05:35,833 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44468535 2026-10-13 08:05:36,153 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44468535', 'default']} 2026-10-13 08:05:36,423 - DEBUG - Response for create_network : {'network': {'id': '5e25ab9e-47ea-432b-8ad7-7c9237fda252', 'name': 'ctest-vn-60911178', 'tenant_id': 'ebdccc8d52064ce4ada9548617ec3c53', 'project_id': 'ebdccc8d52064ce4ada9548617ec3c53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44468535', 'ctest-vn-60911178'], 'port_security_enabled': True, 'description': ''}} 2026-10-13 08:05:36,597 - DEBUG - Response for create_subnet : {'subnet': {'id': '74f789dd-7b72-4b28-93c9-bdecde08f25d', 'name': '', 'tenant_id': 'ebdccc8d52064ce4ada9548617ec3c53', 'network_id': '5e25ab9e-47ea-432b-8ad7-7c9237fda252', 'ip_version': 4, 'cidr': '13.107.134.128/26', 'allocation_pools': [{'start': '13.107.134.130', 'end': '13.107.134.190'}], 'gateway_ip': '13.107.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.107.134.130', 'tags': [], 'project_id': 'ebdccc8d52064ce4ada9548617ec3c53'}} 2026-10-13 08:05:36,610 - INFO - Created VN ctest-vn-60911178 2026-10-13 08:05:36,661 - DEBUG - VN ctest-vn-60911178 UUID is 5e25ab9e-47ea-432b-8ad7-7c9237fda252 2026-10-13 08:05:36,992 - DEBUG - Response for create_network : {'network': {'id': '1941adaa-caed-486c-b98f-1b098025afa2', 'name': 'ctest-ext_vn-66286817', 'tenant_id': 'ebdccc8d52064ce4ada9548617ec3c53', 'project_id': 'ebdccc8d52064ce4ada9548617ec3c53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44468535', 'ctest-ext_vn-66286817'], 'port_security_enabled': True, 'description': ''}} 2026-10-13 08:05:37,186 - DEBUG - Response for create_subnet : {'subnet': {'id': '0af32de5-4455-4822-be5c-424e35acf9d5', 'name': '', 'tenant_id': 'ebdccc8d52064ce4ada9548617ec3c53', 'network_id': '1941adaa-caed-486c-b98f-1b098025afa2', 'ip_version': 4, 'cidr': '8.104.176.192/26', 'allocation_pools': [{'start': '8.104.176.194', 'end': '8.104.176.254'}], 'gateway_ip': '8.104.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.104.176.194', 'tags': [], 'project_id': 'ebdccc8d52064ce4ada9548617ec3c53'}} 2026-10-13 08:05:37,199 - INFO - Created VN ctest-ext_vn-66286817 2026-10-13 08:05:37,249 - DEBUG - VN ctest-ext_vn-66286817 UUID is 1941adaa-caed-486c-b98f-1b098025afa2 2026-10-13 08:05:37,438 - DEBUG - Services list from nova: [, , ] 2026-10-13 08:05:37,749 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6359-1) 2026-10-13 08:05:38,079 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6359-1) 2026-10-13 08:05:38,133 - INFO - Setting gateway for router a9274fc1-0962-4a68-a7d4-4ea7fba48d8b to network 1941adaa-caed-486c-b98f-1b098025afa2 2026-10-13 08:05:38,179 - INFO - Adding interface with subnet_id 74f789dd-7b72-4b28-93c9-bdecde08f25d, port_id None to router a9274fc1-0962-4a68-a7d4-4ea7fba48d8b 2026-10-13 08:05:38,372 - INFO - Waiting for VM ctest-TestRoutersBasic-44468535-18911044 to be up.. 2026-10-13 08:05:38,444 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:05:43,512 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:05:48,580 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:05:53,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:05:58,720 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:06:03,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:06:08,853 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:06:13,919 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:06:19,045 - DEBUG - VM is in ACTIVE state now 2026-10-13 08:06:19,045 - INFO - VM name : ctest-TestRoutersBasic-44468535-18911044 2026-10-13 08:06:19,111 - DEBUG - VM ctest-TestRoutersBasic-44468535-18911044 ID is ef2664d8-d633-4e88-8798-36ee9d8734ad 2026-10-13 08:06:19,132 - DEBUG - VM ctest-TestRoutersBasic-44468535-18911044 launched on Node cn-jenkins-deploy-platform-ansible-os-6359-1 2026-10-13 08:06:19,249 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/ef2664d8-d633-4e88-8798-36ee9d8734ad 2026-10-13 08:06:19,610 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/ef2664d8-d633-4e88-8798-36ee9d8734ad 2026-10-13 08:06:19,641 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/bc701202-a356-4cb6-aa54-471b8646216c 2026-10-13 08:06:22,900 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-10-13 08:06:22,900 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-44468535-18911044 failed! 2026-10-13 08:06:22,957 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44468535:ctest-vn-60911178 is 13.107.134.129 and allocation pool is NOT set 2026-10-13 08:06:25,019 - 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=1 ttl=63 time=4.57 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.360 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.360/2.464/4.569/2.104 ms') 2026-10-13 08:06:25,019 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-44468535-18911044 passed 2026-10-13 08:06:25,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-13 08:06:25,170 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44468535-18911044, IP 13.107.134.131, Port 22 2026-10-13 08:06:25,325 - DEBUG - VM ctest-TestRoutersBasic-44468535-18911044 is ready for SSH connections 2026-10-13 08:06:25,325 - INFO - Waiting for VM ctest-TestRoutersBasic-44468535-58520512 to be up.. 2026-10-13 08:06:25,390 - DEBUG - VM is in ACTIVE state now 2026-10-13 08:06:25,391 - INFO - VM name : ctest-TestRoutersBasic-44468535-58520512 2026-10-13 08:06:25,455 - DEBUG - VM ctest-TestRoutersBasic-44468535-58520512 ID is 698a44a0-e792-4a13-823a-28d96305387a 2026-10-13 08:06:25,456 - DEBUG - VM ctest-TestRoutersBasic-44468535-58520512 launched on Node cn-jenkins-deploy-platform-ansible-os-6359-1 2026-10-13 08:06:25,519 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/698a44a0-e792-4a13-823a-28d96305387a 2026-10-13 08:06:25,526 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/5aebfbe9-c521-4ccd-9ef2-ad9b70a156d2 2026-10-13 08:06:26,758 - 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=3.35 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.418 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.418/1.884/3.351/1.466 ms') 2026-10-13 08:06:26,758 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-44468535-58520512 passed 2026-10-13 08:06:26,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-13 08:06:26,910 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44468535-58520512, IP 8.104.176.196, Port 22 2026-10-13 08:06:27,073 - DEBUG - VM ctest-TestRoutersBasic-44468535-58520512 is ready for SSH connections 2026-10-13 08:06:27,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-13 08:06:27,073 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.104.176.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-13 08:06:27,073 - DEBUG - ping -s 56 -c 3 -W 1 8.104.176.196 2026-10-13 08:06:30,027 - DEBUG - PING 8.104.176.196 (8.104.176.196): 56 data bytes 64 bytes from 8.104.176.196: seq=0 ttl=62 time=5.258 ms 64 bytes from 8.104.176.196: seq=1 ttl=62 time=0.823 ms 64 bytes from 8.104.176.196: seq=2 ttl=62 time=0.952 ms --- 8.104.176.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/2.344/5.258 ms 2026-10-13 08:06:30,027 - INFO - Ping to IP 8.104.176.196 from VM ctest-TestRoutersBasic-44468535-18911044 passed 2026-10-13 08:06:30,027 - INFO - Deleting interface with subnet_id 74f789dd-7b72-4b28-93c9-bdecde08f25d, port_id None from router a9274fc1-0962-4a68-a7d4-4ea7fba48d8b 2026-10-13 08:06:30,207 - INFO - Deleting VM ctest-TestRoutersBasic-44468535-58520512 2026-10-13 08:06:30,271 - INFO - Deleting VM ctest-TestRoutersBasic-44468535-18911044 2026-10-13 08:06:30,334 - INFO - Deleting VN ctest-ext_vn-66286817 2026-10-13 08:06:30,384 - DEBUG - VN 1941adaa-caed-486c-b98f-1b098025afa2 still in use: Unable to complete operation on network 1941adaa-caed-486c-b98f-1b098025afa2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f503704d-9592-43fd-a326-f19a53008c12'] 2026-10-13 08:06:30,384 - WARNING - Deleting VN ctest-ext_vn-66286817 failed..Will retry 2026-10-13 08:06:32,518 - DEBUG - Response for deleting network () 2026-10-13 08:06:32,519 - INFO - Deleting VN ctest-vn-60911178 2026-10-13 08:06:32,623 - DEBUG - Response for deleting network () 2026-10-13 08:06:32,883 - DEBUG - No XMPP flaps were noticed during the test
2026-10-13 08:06:32,883 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:58]
2026-10-13 08:06:32,883 - INFO - -------------------------------------------------------------------------------- 2026-10-13 08:06:33,639 - INFO - Deleted project: ctest-TestRoutersBasic-44468535, ID : ebdccc8d-5206-4ce4-ada9-548617ec3c53