2025-10-09 14:07:36,868 - INFO - Domain Default found not creating 2025-10-09 14:07:37,044 - INFO - Project ctest-TestRoutersBasic-25680584 not found, creating it 2025-10-09 14:07:37,513 - INFO - Created Project:ctest-TestRoutersBasic-25680584, ID : 9e5d34df-b748-4b8f-b5dc-386394c2313a 2025-10-09 14:07:39,043 - INFO - ================================================================================ 2025-10-09 14:07:39,044 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-09 14:07:39,044 - 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 2025-10-09 14:07:39,320 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-10-09 14:07:39,320 - INFO - Initial checks done. Running the testcase now 2025-10-09 14:07:39,320 - INFO - 2025-10-09 14:07:40,382 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25680584 2025-10-09 14:07:40,480 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25680584 2025-10-09 14:07:40,808 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25680584', 'default']} 2025-10-09 14:07:41,118 - DEBUG - Response for create_network : {'network': {'id': 'b51a7f0e-dacd-469b-aa05-9cc338d4224d', 'name': 'ctest-vn-64665545', 'tenant_id': '9e5d34dfb7484b8fb5dc386394c2313a', 'project_id': '9e5d34dfb7484b8fb5dc386394c2313a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25680584', 'ctest-vn-64665545'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:07:41,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '73a86c05-2b3c-45fa-88fd-5d4af5803a3e', 'name': '', 'tenant_id': '9e5d34dfb7484b8fb5dc386394c2313a', 'network_id': 'b51a7f0e-dacd-469b-aa05-9cc338d4224d', 'ip_version': 4, 'cidr': '138.87.29.64/26', 'allocation_pools': [{'start': '138.87.29.66', 'end': '138.87.29.126'}], 'gateway_ip': '138.87.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.87.29.66', 'tags': [], 'project_id': '9e5d34dfb7484b8fb5dc386394c2313a'}} 2025-10-09 14:07:41,359 - INFO - Created VN ctest-vn-64665545 2025-10-09 14:07:41,412 - DEBUG - VN ctest-vn-64665545 UUID is b51a7f0e-dacd-469b-aa05-9cc338d4224d 2025-10-09 14:07:41,750 - DEBUG - Response for create_network : {'network': {'id': '1fc21577-198c-45b5-a497-d1772d0796a1', 'name': 'ctest-ext_vn-51171683', 'tenant_id': '9e5d34dfb7484b8fb5dc386394c2313a', 'project_id': '9e5d34dfb7484b8fb5dc386394c2313a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25680584', 'ctest-ext_vn-51171683'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:07:41,932 - DEBUG - Response for create_subnet : {'subnet': {'id': '0558b723-05cc-40d4-915a-ae8c52da1276', 'name': '', 'tenant_id': '9e5d34dfb7484b8fb5dc386394c2313a', 'network_id': '1fc21577-198c-45b5-a497-d1772d0796a1', 'ip_version': 4, 'cidr': '141.67.162.0/26', 'allocation_pools': [{'start': '141.67.162.2', 'end': '141.67.162.62'}], 'gateway_ip': '141.67.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.67.162.2', 'tags': [], 'project_id': '9e5d34dfb7484b8fb5dc386394c2313a'}} 2025-10-09 14:07:41,951 - INFO - Created VN ctest-ext_vn-51171683 2025-10-09 14:07:42,004 - DEBUG - VN ctest-ext_vn-51171683 UUID is 1fc21577-198c-45b5-a497-d1772d0796a1 2025-10-09 14:07:42,224 - DEBUG - Services list from nova: [, , ] 2025-10-09 14:07:43,362 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4262-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4262-1) 2025-10-09 14:07:44,620 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4262-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4262-1) 2025-10-09 14:07:44,709 - INFO - Setting gateway for router 44392b70-147f-491b-9bdd-9e59949bc021 to network 1fc21577-198c-45b5-a497-d1772d0796a1 2025-10-09 14:07:44,787 - INFO - Adding interface with subnet_id 73a86c05-2b3c-45fa-88fd-5d4af5803a3e, port_id None to router 44392b70-147f-491b-9bdd-9e59949bc021 2025-10-09 14:07:45,189 - INFO - Waiting for VM ctest-TestRoutersBasic-25680584-34742476 to be up.. 2025-10-09 14:07:45,353 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 14:07:50,441 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:07:50,441 - INFO - VM name : ctest-TestRoutersBasic-25680584-34742476 2025-10-09 14:07:50,523 - DEBUG - VM ctest-TestRoutersBasic-25680584-34742476 ID is 5ccf090c-1386-4df8-a093-ee00aef1120a 2025-10-09 14:07:50,547 - DEBUG - VM ctest-TestRoutersBasic-25680584-34742476 launched on Node cn-jenkins-deploy-platform-ansible-os-4262-1 2025-10-09 14:07:50,633 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5ccf090c-1386-4df8-a093-ee00aef1120a 2025-10-09 14:07:50,941 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5ccf090c-1386-4df8-a093-ee00aef1120a 2025-10-09 14:07:50,978 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/de785c0f-ba8c-4d6d-bc5c-1bf5f117eb64 2025-10-09 14:07:54,262 - 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 1023ms') 2025-10-09 14:07:54,262 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25680584-34742476 failed! 2025-10-09 14:07:54,320 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25680584:ctest-vn-64665545 is 138.87.29.65 and allocation pool is NOT set 2025-10-09 14:07:56,393 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.469 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.469/2.176/3.884/1.707 ms') 2025-10-09 14:07:56,393 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25680584-34742476 passed 2025-10-09 14:07:56,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:07:56,552 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25680584-34742476, IP 138.87.29.67, Port 22 2025-10-09 14:07:56,718 - DEBUG - VM ctest-TestRoutersBasic-25680584-34742476 is ready for SSH connections 2025-10-09 14:07:56,718 - INFO - Waiting for VM ctest-TestRoutersBasic-25680584-51678280 to be up.. 2025-10-09 14:07:56,825 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:07:56,825 - INFO - VM name : ctest-TestRoutersBasic-25680584-51678280 2025-10-09 14:07:56,912 - DEBUG - VM ctest-TestRoutersBasic-25680584-51678280 ID is 220cfab4-caba-4396-94bc-6573ee590203 2025-10-09 14:07:56,912 - DEBUG - VM ctest-TestRoutersBasic-25680584-51678280 launched on Node cn-jenkins-deploy-platform-ansible-os-4262-1 2025-10-09 14:07:56,994 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/220cfab4-caba-4396-94bc-6573ee590203 2025-10-09 14:07:57,004 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9edc0106-fc27-48bf-ab79-783ec4fc3821 2025-10-09 14:07:58,246 - 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=5.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.565 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.565/2.964/5.363/2.399 ms') 2025-10-09 14:07:58,247 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25680584-51678280 passed 2025-10-09 14:07:58,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:07:58,400 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25680584-51678280, IP 141.67.162.3, Port 22 2025-10-09 14:07:58,566 - DEBUG - VM ctest-TestRoutersBasic-25680584-51678280 is ready for SSH connections 2025-10-09 14:07:58,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:07:58,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.67.162.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-09 14:07:58,566 - DEBUG - ping -s 56 -c 3 -W 1 141.67.162.3 2025-10-09 14:08:02,716 - DEBUG - PING 141.67.162.3 (141.67.162.3): 56 data bytes 64 bytes from 141.67.162.3: seq=0 ttl=62 time=8.767 ms 64 bytes from 141.67.162.3: seq=1 ttl=62 time=1.033 ms 64 bytes from 141.67.162.3: seq=2 ttl=62 time=0.829 ms --- 141.67.162.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.829/3.543/8.767 ms 2025-10-09 14:08:02,716 - INFO - Ping to IP 141.67.162.3 from VM ctest-TestRoutersBasic-25680584-34742476 passed 2025-10-09 14:08:02,716 - INFO - Deleting interface with subnet_id 73a86c05-2b3c-45fa-88fd-5d4af5803a3e, port_id None from router 44392b70-147f-491b-9bdd-9e59949bc021 2025-10-09 14:08:02,974 - INFO - Deleting VM ctest-TestRoutersBasic-25680584-51678280 2025-10-09 14:08:03,063 - INFO - Deleting VM ctest-TestRoutersBasic-25680584-34742476 2025-10-09 14:08:03,150 - INFO - Deleting VN ctest-ext_vn-51171683 2025-10-09 14:08:03,228 - DEBUG - VN 1fc21577-198c-45b5-a497-d1772d0796a1 still in use: Unable to complete operation on network 1fc21577-198c-45b5-a497-d1772d0796a1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-627a8f1d-db78-4cac-98d6-0b33414100d0'] 2025-10-09 14:08:03,228 - WARNING - Deleting VN ctest-ext_vn-51171683 failed..Will retry 2025-10-09 14:08:05,340 - DEBUG - Response for deleting network () 2025-10-09 14:08:05,341 - INFO - Deleting VN ctest-vn-64665545 2025-10-09 14:08:05,448 - DEBUG - Response for deleting network () 2025-10-09 14:08:05,722 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 14:08:05,722 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-09 14:08:05,722 - INFO - -------------------------------------------------------------------------------- 2025-10-09 14:08:06,470 - INFO - Deleted project: ctest-TestRoutersBasic-25680584, ID : 9e5d34df-b748-4b8f-b5dc-386394c2313a