2026-04-23 10:06:02,036 - INFO - Domain Default found not creating 2026-04-23 10:06:02,250 - INFO - Project ctest-TestRoutersBasic-63602409 not found, creating it 2026-04-23 10:06:02,752 - INFO - Created Project:ctest-TestRoutersBasic-63602409, ID : c4fb65f3-0e79-4596-ad16-e0997385ceae 2026-04-23 10:06:04,472 - INFO - ================================================================================ 2026-04-23 10:06:04,472 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-23 10:06:04,472 - 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-04-23 10:06:04,741 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-04-23 10:06:04,742 - INFO - Initial checks done. Running the testcase now 2026-04-23 10:06:04,742 - INFO - 2026-04-23 10:06:05,556 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63602409 2026-04-23 10:06:05,658 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63602409 2026-04-23 10:06:05,989 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63602409', 'default']} 2026-04-23 10:06:06,302 - DEBUG - Response for create_network : {'network': {'id': '2d9e0a75-cb06-4f7a-868e-3c58f8b61e4e', 'name': 'ctest-vn-31877709', 'tenant_id': 'c4fb65f30e794596ad16e0997385ceae', 'project_id': 'c4fb65f30e794596ad16e0997385ceae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63602409', 'ctest-vn-31877709'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 10:06:06,494 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3a77adb-f6c5-43f9-b3d1-2d0f4cac7b06', 'name': '', 'tenant_id': 'c4fb65f30e794596ad16e0997385ceae', 'network_id': '2d9e0a75-cb06-4f7a-868e-3c58f8b61e4e', 'ip_version': 4, 'cidr': '210.109.52.128/26', 'allocation_pools': [{'start': '210.109.52.130', 'end': '210.109.52.190'}], 'gateway_ip': '210.109.52.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.109.52.130', 'tags': [], 'project_id': 'c4fb65f30e794596ad16e0997385ceae'}} 2026-04-23 10:06:06,513 - INFO - Created VN ctest-vn-31877709 2026-04-23 10:06:06,565 - DEBUG - VN ctest-vn-31877709 UUID is 2d9e0a75-cb06-4f7a-868e-3c58f8b61e4e 2026-04-23 10:06:06,894 - DEBUG - Response for create_network : {'network': {'id': 'a0504852-1359-417d-9e97-d9cf50eb82ea', 'name': 'ctest-ext_vn-23680643', 'tenant_id': 'c4fb65f30e794596ad16e0997385ceae', 'project_id': 'c4fb65f30e794596ad16e0997385ceae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63602409', 'ctest-ext_vn-23680643'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 10:06:07,046 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b548594-22cf-47ee-805b-249bc837dff8', 'name': '', 'tenant_id': 'c4fb65f30e794596ad16e0997385ceae', 'network_id': 'a0504852-1359-417d-9e97-d9cf50eb82ea', 'ip_version': 4, 'cidr': '38.166.77.128/26', 'allocation_pools': [{'start': '38.166.77.130', 'end': '38.166.77.190'}], 'gateway_ip': '38.166.77.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.166.77.130', 'tags': [], 'project_id': 'c4fb65f30e794596ad16e0997385ceae'}} 2026-04-23 10:06:07,065 - INFO - Created VN ctest-ext_vn-23680643 2026-04-23 10:06:07,117 - DEBUG - VN ctest-ext_vn-23680643 UUID is a0504852-1359-417d-9e97-d9cf50eb82ea 2026-04-23 10:06:07,331 - DEBUG - Services list from nova: [, , ] 2026-04-23 10:06:08,576 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5677-1) 2026-04-23 10:06:09,911 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5677-1) 2026-04-23 10:06:09,975 - INFO - Setting gateway for router 1befd2ac-93eb-466a-9044-fe38619803fc to network a0504852-1359-417d-9e97-d9cf50eb82ea 2026-04-23 10:06:10,041 - INFO - Adding interface with subnet_id b3a77adb-f6c5-43f9-b3d1-2d0f4cac7b06, port_id None to router 1befd2ac-93eb-466a-9044-fe38619803fc 2026-04-23 10:06:10,458 - INFO - Waiting for VM ctest-TestRoutersBasic-63602409-46177493 to be up.. 2026-04-23 10:06:10,642 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 10:06:15,738 - DEBUG - VM is in ACTIVE state now 2026-04-23 10:06:15,738 - INFO - VM name : ctest-TestRoutersBasic-63602409-46177493 2026-04-23 10:06:15,823 - DEBUG - VM ctest-TestRoutersBasic-63602409-46177493 ID is f5a5f3aa-5a50-4e02-b0e5-dd5bc062b974 2026-04-23 10:06:15,849 - DEBUG - VM ctest-TestRoutersBasic-63602409-46177493 launched on Node cn-jenkins-deploy-platform-ansible-os-5677-1 2026-04-23 10:06:15,938 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f5a5f3aa-5a50-4e02-b0e5-dd5bc062b974 2026-04-23 10:06:16,274 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f5a5f3aa-5a50-4e02-b0e5-dd5bc062b974 2026-04-23 10:06:16,312 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0cb91b37-d9ac-436b-b46f-64b11f94eef3 2026-04-23 10:06:19,576 - 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 1022ms') 2026-04-23 10:06:19,576 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63602409-46177493 failed! 2026-04-23 10:06:19,633 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63602409:ctest-vn-31877709 is 210.109.52.129 and allocation pool is NOT set 2026-04-23 10:06:21,690 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.935 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.935/2.229/3.524/1.294 ms') 2026-04-23 10:06:21,690 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63602409-46177493 passed 2026-04-23 10:06:21,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 10:06:21,841 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63602409-46177493, IP 210.109.52.131, Port 22 2026-04-23 10:06:22,000 - DEBUG - VM ctest-TestRoutersBasic-63602409-46177493 is ready for SSH connections 2026-04-23 10:06:22,000 - INFO - Waiting for VM ctest-TestRoutersBasic-63602409-20107111 to be up.. 2026-04-23 10:06:22,100 - DEBUG - VM is in ACTIVE state now 2026-04-23 10:06:22,100 - INFO - VM name : ctest-TestRoutersBasic-63602409-20107111 2026-04-23 10:06:22,187 - DEBUG - VM ctest-TestRoutersBasic-63602409-20107111 ID is d9be84ab-ee2b-4b88-a5da-0497f08751eb 2026-04-23 10:06:22,187 - DEBUG - VM ctest-TestRoutersBasic-63602409-20107111 launched on Node cn-jenkins-deploy-platform-ansible-os-5677-1 2026-04-23 10:06:22,274 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d9be84ab-ee2b-4b88-a5da-0497f08751eb 2026-04-23 10:06:22,283 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e60c8298-43b5-4445-b588-c5cd563b9a79 2026-04-23 10:06:23,521 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.257 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.257/1.721/3.185/1.464 ms') 2026-04-23 10:06:23,521 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63602409-20107111 passed 2026-04-23 10:06:23,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 10:06:23,669 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63602409-20107111, IP 38.166.77.131, Port 22 2026-04-23 10:06:23,829 - DEBUG - VM ctest-TestRoutersBasic-63602409-20107111 is ready for SSH connections 2026-04-23 10:06:23,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 10:06:23,829 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.166.77.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-23 10:06:23,829 - DEBUG - ping -s 56 -c 3 -W 1 38.166.77.131 2026-04-23 10:06:27,666 - DEBUG - PING 38.166.77.131 (38.166.77.131): 56 data bytes 64 bytes from 38.166.77.131: seq=0 ttl=62 time=5.697 ms 64 bytes from 38.166.77.131: seq=1 ttl=62 time=1.098 ms 64 bytes from 38.166.77.131: seq=2 ttl=62 time=0.880 ms --- 38.166.77.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/2.558/5.697 ms 2026-04-23 10:06:27,666 - INFO - Ping to IP 38.166.77.131 from VM ctest-TestRoutersBasic-63602409-46177493 passed 2026-04-23 10:06:27,666 - INFO - Deleting interface with subnet_id b3a77adb-f6c5-43f9-b3d1-2d0f4cac7b06, port_id None from router 1befd2ac-93eb-466a-9044-fe38619803fc 2026-04-23 10:06:27,860 - INFO - Deleting VM ctest-TestRoutersBasic-63602409-20107111 2026-04-23 10:06:27,955 - INFO - Deleting VM ctest-TestRoutersBasic-63602409-46177493 2026-04-23 10:06:28,047 - INFO - Deleting VN ctest-ext_vn-23680643 2026-04-23 10:06:28,131 - DEBUG - VN a0504852-1359-417d-9e97-d9cf50eb82ea still in use: Unable to complete operation on network a0504852-1359-417d-9e97-d9cf50eb82ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1ee29845-d785-4b1c-a37e-78443967c60b'] 2026-04-23 10:06:28,131 - WARNING - Deleting VN ctest-ext_vn-23680643 failed..Will retry 2026-04-23 10:06:30,237 - DEBUG - Response for deleting network () 2026-04-23 10:06:30,237 - INFO - Deleting VN ctest-vn-31877709 2026-04-23 10:06:30,351 - DEBUG - Response for deleting network () 2026-04-23 10:06:30,607 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 10:06:30,607 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-04-23 10:06:30,607 - INFO - -------------------------------------------------------------------------------- 2026-04-23 10:06:31,358 - INFO - Deleted project: ctest-TestRoutersBasic-63602409, ID : c4fb65f3-0e79-4596-ad16-e0997385ceae