2026-05-20 12:32:56,511 - INFO - Domain Default found not creating 2026-05-20 12:32:56,716 - INFO - Project ctest-TestRoutersBasic-86131585 not found, creating it 2026-05-20 12:32:57,165 - INFO - Created Project:ctest-TestRoutersBasic-86131585, ID : a38cea5f-763e-476d-9e73-45b22afc1698 2026-05-20 12:32:58,621 - INFO - ================================================================================ 2026-05-20 12:32:58,621 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-20 12:32:58,621 - 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-05-20 12:32:58,878 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-05-20 12:32:58,878 - INFO - Initial checks done. Running the testcase now 2026-05-20 12:32:58,878 - INFO - 2026-05-20 12:32:59,601 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86131585 2026-05-20 12:32:59,697 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86131585 2026-05-20 12:33:00,013 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86131585', 'default']} 2026-05-20 12:33:00,314 - DEBUG - Response for create_network : {'network': {'id': '4635ce36-0e35-46b0-8e9d-9364a891164b', 'name': 'ctest-vn-92193765', 'tenant_id': 'a38cea5f763e476d9e7345b22afc1698', 'project_id': 'a38cea5f763e476d9e7345b22afc1698', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86131585', 'ctest-vn-92193765'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 12:33:00,521 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1ae7389-6465-474b-8a3a-8a117de0bfcd', 'name': '', 'tenant_id': 'a38cea5f763e476d9e7345b22afc1698', 'network_id': '4635ce36-0e35-46b0-8e9d-9364a891164b', 'ip_version': 4, 'cidr': '172.54.229.0/26', 'allocation_pools': [{'start': '172.54.229.2', 'end': '172.54.229.62'}], 'gateway_ip': '172.54.229.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.54.229.2', 'tags': [], 'project_id': 'a38cea5f763e476d9e7345b22afc1698'}} 2026-05-20 12:33:00,541 - INFO - Created VN ctest-vn-92193765 2026-05-20 12:33:00,597 - DEBUG - VN ctest-vn-92193765 UUID is 4635ce36-0e35-46b0-8e9d-9364a891164b 2026-05-20 12:33:00,913 - DEBUG - Response for create_network : {'network': {'id': '9e6b71b2-99af-4586-937a-bf0e830ca064', 'name': 'ctest-ext_vn-28733344', 'tenant_id': 'a38cea5f763e476d9e7345b22afc1698', 'project_id': 'a38cea5f763e476d9e7345b22afc1698', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86131585', 'ctest-ext_vn-28733344'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 12:33:01,079 - DEBUG - Response for create_subnet : {'subnet': {'id': '5348ea84-a708-4e9f-97bf-836fabe27562', 'name': '', 'tenant_id': 'a38cea5f763e476d9e7345b22afc1698', 'network_id': '9e6b71b2-99af-4586-937a-bf0e830ca064', 'ip_version': 4, 'cidr': '151.93.211.0/26', 'allocation_pools': [{'start': '151.93.211.2', 'end': '151.93.211.62'}], 'gateway_ip': '151.93.211.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.93.211.2', 'tags': [], 'project_id': 'a38cea5f763e476d9e7345b22afc1698'}} 2026-05-20 12:33:01,098 - INFO - Created VN ctest-ext_vn-28733344 2026-05-20 12:33:01,153 - DEBUG - VN ctest-ext_vn-28733344 UUID is 9e6b71b2-99af-4586-937a-bf0e830ca064 2026-05-20 12:33:01,362 - DEBUG - Services list from nova: [, , ] 2026-05-20 12:33:02,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5800-1) 2026-05-20 12:33:03,534 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5800-1) 2026-05-20 12:33:03,603 - INFO - Setting gateway for router e1dc5cd9-dde3-4f3e-aa17-a5afd4933da6 to network 9e6b71b2-99af-4586-937a-bf0e830ca064 2026-05-20 12:33:03,677 - INFO - Adding interface with subnet_id e1ae7389-6465-474b-8a3a-8a117de0bfcd, port_id None to router e1dc5cd9-dde3-4f3e-aa17-a5afd4933da6 2026-05-20 12:33:04,038 - INFO - Waiting for VM ctest-TestRoutersBasic-86131585-03102101 to be up.. 2026-05-20 12:33:04,208 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-20 12:33:09,279 - DEBUG - VM is in ACTIVE state now 2026-05-20 12:33:09,279 - INFO - VM name : ctest-TestRoutersBasic-86131585-03102101 2026-05-20 12:33:09,351 - DEBUG - VM ctest-TestRoutersBasic-86131585-03102101 ID is 4a3ee378-2bb0-4a2b-a883-755c996e5638 2026-05-20 12:33:09,371 - DEBUG - VM ctest-TestRoutersBasic-86131585-03102101 launched on Node cn-jenkins-deploy-platform-ansible-os-5800-1 2026-05-20 12:33:09,444 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4a3ee378-2bb0-4a2b-a883-755c996e5638 2026-05-20 12:33:09,739 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4a3ee378-2bb0-4a2b-a883-755c996e5638 2026-05-20 12:33:09,774 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5c5d7129-0dba-4e44-8a4e-cadc440c795e 2026-05-20 12:33:13,025 - 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 1018ms') 2026-05-20 12:33:13,025 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86131585-03102101 failed! 2026-05-20 12:33:13,081 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86131585:ctest-vn-92193765 is 172.54.229.1 and allocation pool is NOT set 2026-05-20 12:33:15,145 - 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.465 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.465/1.681/2.897/1.216 ms') 2026-05-20 12:33:15,145 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86131585-03102101 passed 2026-05-20 12:33:15,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 12:33:15,293 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86131585-03102101, IP 172.54.229.3, Port 22 2026-05-20 12:33:15,452 - DEBUG - VM ctest-TestRoutersBasic-86131585-03102101 is ready for SSH connections 2026-05-20 12:33:15,452 - INFO - Waiting for VM ctest-TestRoutersBasic-86131585-80819840 to be up.. 2026-05-20 12:33:15,526 - DEBUG - VM is in ACTIVE state now 2026-05-20 12:33:15,526 - INFO - VM name : ctest-TestRoutersBasic-86131585-80819840 2026-05-20 12:33:15,599 - DEBUG - VM ctest-TestRoutersBasic-86131585-80819840 ID is 5c1a234a-7b12-46ee-9200-acfbdea8c494 2026-05-20 12:33:15,599 - DEBUG - VM ctest-TestRoutersBasic-86131585-80819840 launched on Node cn-jenkins-deploy-platform-ansible-os-5800-1 2026-05-20 12:33:15,675 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5c1a234a-7b12-46ee-9200-acfbdea8c494 2026-05-20 12:33:15,684 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3f492d3f-8d94-45f4-805b-bebf34b351b8 2026-05-20 12:33:16,921 - 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=4.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.54 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 = 1.538/3.188/4.838/1.650 ms') 2026-05-20 12:33:16,921 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86131585-80819840 passed 2026-05-20 12:33:17,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 12:33:17,069 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86131585-80819840, IP 151.93.211.3, Port 22 2026-05-20 12:33:17,225 - DEBUG - VM ctest-TestRoutersBasic-86131585-80819840 is ready for SSH connections 2026-05-20 12:33:17,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 12:33:17,225 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.93.211.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-05-20 12:33:17,225 - DEBUG - ping -s 56 -c 3 -W 1 151.93.211.3 2026-05-20 12:33:20,935 - DEBUG - PING 151.93.211.3 (151.93.211.3): 56 data bytes 64 bytes from 151.93.211.3: seq=0 ttl=62 time=6.166 ms 64 bytes from 151.93.211.3: seq=1 ttl=62 time=0.824 ms 64 bytes from 151.93.211.3: seq=2 ttl=62 time=0.820 ms --- 151.93.211.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/2.603/6.166 ms 2026-05-20 12:33:20,936 - INFO - Ping to IP 151.93.211.3 from VM ctest-TestRoutersBasic-86131585-03102101 passed 2026-05-20 12:33:20,936 - INFO - Deleting interface with subnet_id e1ae7389-6465-474b-8a3a-8a117de0bfcd, port_id None from router e1dc5cd9-dde3-4f3e-aa17-a5afd4933da6 2026-05-20 12:33:21,122 - INFO - Deleting VM ctest-TestRoutersBasic-86131585-80819840 2026-05-20 12:33:21,198 - INFO - Deleting VM ctest-TestRoutersBasic-86131585-03102101 2026-05-20 12:33:21,310 - INFO - Deleting VN ctest-ext_vn-28733344 2026-05-20 12:33:21,379 - DEBUG - VN 9e6b71b2-99af-4586-937a-bf0e830ca064 still in use: Unable to complete operation on network 9e6b71b2-99af-4586-937a-bf0e830ca064. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-22c90f80-e623-4df8-a2f2-c37ced027c59'] 2026-05-20 12:33:21,379 - WARNING - Deleting VN ctest-ext_vn-28733344 failed..Will retry 2026-05-20 12:33:23,479 - DEBUG - Response for deleting network () 2026-05-20 12:33:23,479 - INFO - Deleting VN ctest-vn-92193765 2026-05-20 12:33:23,588 - DEBUG - Response for deleting network () 2026-05-20 12:33:23,841 - DEBUG - No XMPP flaps were noticed during the test 2026-05-20 12:33:23,841 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-05-20 12:33:23,841 - INFO - -------------------------------------------------------------------------------- 2026-05-20 12:33:24,541 - INFO - Deleted project: ctest-TestRoutersBasic-86131585, ID : a38cea5f-763e-476d-9e73-45b22afc1698