2025-08-11 02:04:43,769 - INFO - Domain Default found not creating 2025-08-11 02:04:43,890 - INFO - Project ctest-TestRoutersBasic-07372454 not found, creating it 2025-08-11 02:04:44,360 - INFO - Created Project:ctest-TestRoutersBasic-07372454, ID : 879985a2-82ec-4099-99f3-7ee46345f57c 2025-08-11 02:04:45,659 - INFO - ================================================================================ 2025-08-11 02:04:45,660 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 02:04:45,660 - 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-11 02:04:45,921 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-08-11 02:04:45,921 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:04:45,921 - INFO - 2025-08-11 02:04:46,594 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07372454 2025-08-11 02:04:46,692 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07372454 2025-08-11 02:04:47,020 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07372454', 'default']} 2025-08-11 02:04:47,298 - DEBUG - Response for create_network : {'network': {'id': '87333704-035d-4d55-8ecf-0ae1d2946fe5', 'name': 'ctest-vn-40484766', 'tenant_id': '879985a282ec409999f37ee46345f57c', 'project_id': '879985a282ec409999f37ee46345f57c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07372454', 'ctest-vn-40484766'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:04:47,463 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b981b40-2e57-4584-b179-f21d261ef429', 'name': '', 'tenant_id': '879985a282ec409999f37ee46345f57c', 'network_id': '87333704-035d-4d55-8ecf-0ae1d2946fe5', 'ip_version': 4, 'cidr': '210.14.104.0/26', 'allocation_pools': [{'start': '210.14.104.2', 'end': '210.14.104.62'}], 'gateway_ip': '210.14.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.14.104.2', 'tags': [], 'project_id': '879985a282ec409999f37ee46345f57c'}} 2025-08-11 02:04:47,481 - INFO - Created VN ctest-vn-40484766 2025-08-11 02:04:47,532 - DEBUG - VN ctest-vn-40484766 UUID is 87333704-035d-4d55-8ecf-0ae1d2946fe5 2025-08-11 02:04:47,865 - DEBUG - Response for create_network : {'network': {'id': '30ebfe5d-27c3-4239-86ca-952f95ce60a7', 'name': 'ctest-ext_vn-67231535', 'tenant_id': '879985a282ec409999f37ee46345f57c', 'project_id': '879985a282ec409999f37ee46345f57c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07372454', 'ctest-ext_vn-67231535'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:04:48,075 - DEBUG - Response for create_subnet : {'subnet': {'id': '66a4c03e-bfb5-48d2-b019-2d3b7801355a', 'name': '', 'tenant_id': '879985a282ec409999f37ee46345f57c', 'network_id': '30ebfe5d-27c3-4239-86ca-952f95ce60a7', 'ip_version': 4, 'cidr': '138.247.169.64/26', 'allocation_pools': [{'start': '138.247.169.66', 'end': '138.247.169.126'}], 'gateway_ip': '138.247.169.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.247.169.66', 'tags': [], 'project_id': '879985a282ec409999f37ee46345f57c'}} 2025-08-11 02:04:48,090 - INFO - Created VN ctest-ext_vn-67231535 2025-08-11 02:04:48,144 - DEBUG - VN ctest-ext_vn-67231535 UUID is 30ebfe5d-27c3-4239-86ca-952f95ce60a7 2025-08-11 02:04:48,346 - DEBUG - Services list from nova: [, , ] 2025-08-11 02:04:49,291 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3793-1) 2025-08-11 02:04:50,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3793-1) 2025-08-11 02:04:50,506 - INFO - Setting gateway for router 2b19ae1a-a92e-42df-b128-20997441b3e3 to network 30ebfe5d-27c3-4239-86ca-952f95ce60a7 2025-08-11 02:04:50,604 - INFO - Adding interface with subnet_id 4b981b40-2e57-4584-b179-f21d261ef429, port_id None to router 2b19ae1a-a92e-42df-b128-20997441b3e3 2025-08-11 02:04:50,968 - INFO - Waiting for VM ctest-TestRoutersBasic-07372454-78727782 to be up.. 2025-08-11 02:04:51,137 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 02:04:56,225 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:04:56,225 - INFO - VM name : ctest-TestRoutersBasic-07372454-78727782 2025-08-11 02:04:56,321 - DEBUG - VM ctest-TestRoutersBasic-07372454-78727782 ID is bd82f4e2-14e9-43a3-bda5-3fc5c0e0f296 2025-08-11 02:04:56,349 - DEBUG - VM ctest-TestRoutersBasic-07372454-78727782 launched on Node cn-jenkins-deploy-platform-ansible-os-3793-1 2025-08-11 02:04:56,444 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/bd82f4e2-14e9-43a3-bda5-3fc5c0e0f296 2025-08-11 02:04:56,793 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/bd82f4e2-14e9-43a3-bda5-3fc5c0e0f296 2025-08-11 02:04:56,836 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f2beeb40-75e5-4b3c-827c-0b1372f999dc 2025-08-11 02:05:00,106 - 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 1014ms') 2025-08-11 02:05:00,106 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07372454-78727782 failed! 2025-08-11 02:05:00,168 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07372454:ctest-vn-40484766 is 210.14.104.1 and allocation pool is NOT set 2025-08-11 02:05:02,237 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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 = 1.073/3.829/6.586/2.756 ms') 2025-08-11 02:05:02,237 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07372454-78727782 passed 2025-08-11 02:05:02,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:05:02,393 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07372454-78727782, IP 210.14.104.3, Port 22 2025-08-11 02:05:02,548 - DEBUG - VM ctest-TestRoutersBasic-07372454-78727782 is ready for SSH connections 2025-08-11 02:05:02,548 - INFO - Waiting for VM ctest-TestRoutersBasic-07372454-84647782 to be up.. 2025-08-11 02:05:02,644 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:05:02,644 - INFO - VM name : ctest-TestRoutersBasic-07372454-84647782 2025-08-11 02:05:02,720 - DEBUG - VM ctest-TestRoutersBasic-07372454-84647782 ID is 91eb548b-54a6-4c1e-98da-7f302971fe61 2025-08-11 02:05:02,720 - DEBUG - VM ctest-TestRoutersBasic-07372454-84647782 launched on Node cn-jenkins-deploy-platform-ansible-os-3793-1 2025-08-11 02:05:02,796 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/91eb548b-54a6-4c1e-98da-7f302971fe61 2025-08-11 02:05:02,807 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/db7f3f2a-ff61-4fed-a9cf-d0133b550e61 2025-08-11 02:05:04,054 - 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=2.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 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 = 0.394/1.639/2.884/1.245 ms') 2025-08-11 02:05:04,054 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-07372454-84647782 passed 2025-08-11 02:05:04,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:05:04,208 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07372454-84647782, IP 138.247.169.67, Port 22 2025-08-11 02:05:04,363 - DEBUG - VM ctest-TestRoutersBasic-07372454-84647782 is ready for SSH connections 2025-08-11 02:05:04,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:05:04,364 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.247.169.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-11 02:05:04,364 - DEBUG - ping -s 56 -c 3 -W 1 138.247.169.67 2025-08-11 02:05:08,083 - DEBUG - PING 138.247.169.67 (138.247.169.67): 56 data bytes 64 bytes from 138.247.169.67: seq=0 ttl=62 time=5.339 ms 64 bytes from 138.247.169.67: seq=1 ttl=62 time=0.792 ms 64 bytes from 138.247.169.67: seq=2 ttl=62 time=0.958 ms --- 138.247.169.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/2.363/5.339 ms 2025-08-11 02:05:08,083 - INFO - Ping to IP 138.247.169.67 from VM ctest-TestRoutersBasic-07372454-78727782 passed 2025-08-11 02:05:08,083 - INFO - Deleting interface with subnet_id 4b981b40-2e57-4584-b179-f21d261ef429, port_id None from router 2b19ae1a-a92e-42df-b128-20997441b3e3 2025-08-11 02:05:08,299 - INFO - Deleting VM ctest-TestRoutersBasic-07372454-84647782 2025-08-11 02:05:08,371 - INFO - Deleting VM ctest-TestRoutersBasic-07372454-78727782 2025-08-11 02:05:08,460 - INFO - Deleting VN ctest-ext_vn-67231535 2025-08-11 02:05:08,562 - DEBUG - VN 30ebfe5d-27c3-4239-86ca-952f95ce60a7 still in use: Unable to complete operation on network 30ebfe5d-27c3-4239-86ca-952f95ce60a7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6c388c33-dbf8-45cd-b3e3-484ad6067f07'] 2025-08-11 02:05:08,562 - WARNING - Deleting VN ctest-ext_vn-67231535 failed..Will retry 2025-08-11 02:05:10,678 - DEBUG - Response for deleting network () 2025-08-11 02:05:10,678 - INFO - Deleting VN ctest-vn-40484766 2025-08-11 02:05:10,818 - DEBUG - Response for deleting network () 2025-08-11 02:05:11,082 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:05:11,082 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-11 02:05:11,082 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:05:11,803 - INFO - Deleted project: ctest-TestRoutersBasic-07372454, ID : 879985a2-82ec-4099-99f3-7ee46345f57c