2025-08-28 02:40:28,082 - INFO - Domain Default found not creating 2025-08-28 02:40:28,266 - INFO - Project ctest-TestRoutersBasic-17618975 not found, creating it 2025-08-28 02:40:28,780 - INFO - Created Project:ctest-TestRoutersBasic-17618975, ID : 1ee02107-d310-4e30-9911-01f6abf0f0a9 2025-08-28 02:40:30,426 - INFO - ================================================================================ 2025-08-28 02:40:30,426 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-28 02:40:30,427 - 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-08-28 02:40:30,700 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.209': '0'}} with 2025-08-28 02:40:30,701 - INFO - Initial checks done. Running the testcase now 2025-08-28 02:40:30,701 - INFO - 2025-08-28 02:40:31,518 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17618975 2025-08-28 02:40:31,614 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17618975 2025-08-28 02:40:31,945 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17618975', 'default']} 2025-08-28 02:40:32,272 - DEBUG - Response for create_network : {'network': {'id': 'c6598bcb-b16e-4310-9341-c27103680dc8', 'name': 'ctest-vn-78122457', 'tenant_id': '1ee02107d3104e30991101f6abf0f0a9', 'project_id': '1ee02107d3104e30991101f6abf0f0a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17618975', 'ctest-vn-78122457'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:40:32,501 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca18d6ec-dca1-462b-be1b-b040252eff4e', 'name': '', 'tenant_id': '1ee02107d3104e30991101f6abf0f0a9', 'network_id': 'c6598bcb-b16e-4310-9341-c27103680dc8', 'ip_version': 4, 'cidr': '157.103.141.192/26', 'allocation_pools': [{'start': '157.103.141.194', 'end': '157.103.141.254'}], 'gateway_ip': '157.103.141.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.103.141.194', 'tags': [], 'project_id': '1ee02107d3104e30991101f6abf0f0a9'}} 2025-08-28 02:40:32,522 - INFO - Created VN ctest-vn-78122457 2025-08-28 02:40:32,578 - DEBUG - VN ctest-vn-78122457 UUID is c6598bcb-b16e-4310-9341-c27103680dc8 2025-08-28 02:40:32,935 - DEBUG - Response for create_network : {'network': {'id': '97a7e3f1-6900-4615-bc89-3815f0d820e2', 'name': 'ctest-ext_vn-84393935', 'tenant_id': '1ee02107d3104e30991101f6abf0f0a9', 'project_id': '1ee02107d3104e30991101f6abf0f0a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17618975', 'ctest-ext_vn-84393935'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:40:33,114 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8014dbd-d92f-4a34-ac63-b6635bfa8c91', 'name': '', 'tenant_id': '1ee02107d3104e30991101f6abf0f0a9', 'network_id': '97a7e3f1-6900-4615-bc89-3815f0d820e2', 'ip_version': 4, 'cidr': '201.235.180.0/26', 'allocation_pools': [{'start': '201.235.180.2', 'end': '201.235.180.62'}], 'gateway_ip': '201.235.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.235.180.2', 'tags': [], 'project_id': '1ee02107d3104e30991101f6abf0f0a9'}} 2025-08-28 02:40:33,139 - INFO - Created VN ctest-ext_vn-84393935 2025-08-28 02:40:33,194 - DEBUG - VN ctest-ext_vn-84393935 UUID is 97a7e3f1-6900-4615-bc89-3815f0d820e2 2025-08-28 02:40:33,381 - DEBUG - Services list from nova: [, , ] 2025-08-28 02:40:34,612 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3955-1) 2025-08-28 02:40:35,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3955-1) 2025-08-28 02:40:36,064 - INFO - Setting gateway for router d5db51c4-d289-4b50-ba3a-6860933cd12d to network 97a7e3f1-6900-4615-bc89-3815f0d820e2 2025-08-28 02:40:36,143 - INFO - Adding interface with subnet_id ca18d6ec-dca1-462b-be1b-b040252eff4e, port_id None to router d5db51c4-d289-4b50-ba3a-6860933cd12d 2025-08-28 02:40:36,576 - INFO - Waiting for VM ctest-TestRoutersBasic-17618975-32778032 to be up.. 2025-08-28 02:40:36,753 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 02:40:41,848 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:40:41,848 - INFO - VM name : ctest-TestRoutersBasic-17618975-32778032 2025-08-28 02:40:41,949 - DEBUG - VM ctest-TestRoutersBasic-17618975-32778032 ID is 97b797bd-86a2-4910-a400-618ec2c6a356 2025-08-28 02:40:41,976 - DEBUG - VM ctest-TestRoutersBasic-17618975-32778032 launched on Node cn-jenkins-deploy-platform-ansible-os-3955-1 2025-08-28 02:40:42,074 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/97b797bd-86a2-4910-a400-618ec2c6a356 2025-08-28 02:40:42,423 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/97b797bd-86a2-4910-a400-618ec2c6a356 2025-08-28 02:40:42,463 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/48655b62-5e9f-45dd-97a7-09d87a387a33 2025-08-28 02:40:45,733 - 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 1026ms') 2025-08-28 02:40:45,733 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17618975-32778032 failed! 2025-08-28 02:40:45,794 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17618975:ctest-vn-78122457 is 157.103.141.193 and allocation pool is NOT set 2025-08-28 02:40:47,858 - 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=6.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.63 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 = 1.631/3.866/6.102/2.235 ms') 2025-08-28 02:40:47,858 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17618975-32778032 passed 2025-08-28 02:40:48,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:40:48,014 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17618975-32778032, IP 157.103.141.195, Port 22 2025-08-28 02:40:48,180 - DEBUG - VM ctest-TestRoutersBasic-17618975-32778032 is ready for SSH connections 2025-08-28 02:40:48,180 - INFO - Waiting for VM ctest-TestRoutersBasic-17618975-23139978 to be up.. 2025-08-28 02:40:48,279 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:40:48,279 - INFO - VM name : ctest-TestRoutersBasic-17618975-23139978 2025-08-28 02:40:48,373 - DEBUG - VM ctest-TestRoutersBasic-17618975-23139978 ID is 3cfdd8c8-9c60-47a5-bee4-6ec4bed2ddb8 2025-08-28 02:40:48,373 - DEBUG - VM ctest-TestRoutersBasic-17618975-23139978 launched on Node cn-jenkins-deploy-platform-ansible-os-3955-1 2025-08-28 02:40:48,469 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3cfdd8c8-9c60-47a5-bee4-6ec4bed2ddb8 2025-08-28 02:40:48,481 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f730d791-83fa-4479-9380-ade5144322d5 2025-08-28 02:40:49,731 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.45 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 = 2.447/3.926/5.406/1.479 ms') 2025-08-28 02:40:49,731 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17618975-23139978 passed 2025-08-28 02:40:49,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:40:49,886 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17618975-23139978, IP 201.235.180.3, Port 22 2025-08-28 02:40:50,056 - DEBUG - VM ctest-TestRoutersBasic-17618975-23139978 is ready for SSH connections 2025-08-28 02:40:50,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:40:50,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.235.180.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-28 02:40:50,057 - DEBUG - ping -s 56 -c 3 -W 1 201.235.180.3 2025-08-28 02:40:53,839 - DEBUG - PING 201.235.180.3 (201.235.180.3): 56 data bytes 64 bytes from 201.235.180.3: seq=0 ttl=62 time=11.486 ms 64 bytes from 201.235.180.3: seq=1 ttl=62 time=1.047 ms 64 bytes from 201.235.180.3: seq=2 ttl=62 time=1.225 ms --- 201.235.180.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.047/4.586/11.486 ms 2025-08-28 02:40:53,839 - INFO - Ping to IP 201.235.180.3 from VM ctest-TestRoutersBasic-17618975-32778032 passed 2025-08-28 02:40:53,839 - INFO - Deleting interface with subnet_id ca18d6ec-dca1-462b-be1b-b040252eff4e, port_id None from router d5db51c4-d289-4b50-ba3a-6860933cd12d 2025-08-28 02:40:54,110 - INFO - Deleting VM ctest-TestRoutersBasic-17618975-23139978 2025-08-28 02:40:54,215 - INFO - Deleting VM ctest-TestRoutersBasic-17618975-32778032 2025-08-28 02:40:54,322 - INFO - Deleting VN ctest-ext_vn-84393935 2025-08-28 02:40:54,408 - DEBUG - VN 97a7e3f1-6900-4615-bc89-3815f0d820e2 still in use: Unable to complete operation on network 97a7e3f1-6900-4615-bc89-3815f0d820e2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-33a83fdf-e806-44d6-938c-3793180017a1'] 2025-08-28 02:40:54,408 - WARNING - Deleting VN ctest-ext_vn-84393935 failed..Will retry 2025-08-28 02:40:56,519 - DEBUG - Response for deleting network () 2025-08-28 02:40:56,519 - INFO - Deleting VN ctest-vn-78122457 2025-08-28 02:40:56,643 - DEBUG - Response for deleting network () 2025-08-28 02:40:56,906 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 02:40:56,907 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-28 02:40:56,907 - INFO - -------------------------------------------------------------------------------- 2025-08-28 02:40:57,686 - INFO - Deleted project: ctest-TestRoutersBasic-17618975, ID : 1ee02107-d310-4e30-9911-01f6abf0f0a9