2025-11-24 18:34:13,327 - INFO - Domain Default found not creating 2025-11-24 18:34:13,748 - INFO - Project ctest-TestRoutersBasic-54814686 not found, creating it 2025-11-24 18:34:14,406 - INFO - Created Project:ctest-TestRoutersBasic-54814686, ID : df52e88d-b93b-4c22-bccd-9ef0094efde9 2025-11-24 18:34:17,394 - INFO - ================================================================================ 2025-11-24 18:34:17,395 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-24 18:34:17,395 - 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-11-24 18:34:17,717 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.252': '0'}} with 2025-11-24 18:34:17,717 - INFO - Initial checks done. Running the testcase now 2025-11-24 18:34:17,717 - INFO - 2025-11-24 18:34:18,564 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54814686 2025-11-24 18:34:18,677 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54814686 2025-11-24 18:34:19,045 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54814686', 'default']} 2025-11-24 18:34:19,559 - DEBUG - Response for create_network : {'network': {'id': '28d6d03a-3974-473a-bc82-8d77aa760bfc', 'name': 'ctest-vn-54298435', 'tenant_id': 'df52e88db93b4c22bccd9ef0094efde9', 'project_id': 'df52e88db93b4c22bccd9ef0094efde9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54814686', 'ctest-vn-54298435'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:34:19,795 - DEBUG - Response for create_subnet : {'subnet': {'id': '91a3cb6d-5ae3-4e66-a48a-92af07b01a04', 'name': '', 'tenant_id': 'df52e88db93b4c22bccd9ef0094efde9', 'network_id': '28d6d03a-3974-473a-bc82-8d77aa760bfc', 'ip_version': 4, 'cidr': '63.64.117.64/26', 'allocation_pools': [{'start': '63.64.117.66', 'end': '63.64.117.126'}], 'gateway_ip': '63.64.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.64.117.66', 'tags': [], 'project_id': 'df52e88db93b4c22bccd9ef0094efde9'}} 2025-11-24 18:34:19,821 - INFO - Created VN ctest-vn-54298435 2025-11-24 18:34:19,878 - DEBUG - VN ctest-vn-54298435 UUID is 28d6d03a-3974-473a-bc82-8d77aa760bfc 2025-11-24 18:34:20,350 - DEBUG - Response for create_network : {'network': {'id': '165b70f8-9e52-4b04-8b41-c359bac46ebc', 'name': 'ctest-ext_vn-92913731', 'tenant_id': 'df52e88db93b4c22bccd9ef0094efde9', 'project_id': 'df52e88db93b4c22bccd9ef0094efde9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54814686', 'ctest-ext_vn-92913731'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:34:20,582 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ff91933-f238-4ec8-95a3-56da4776ee93', 'name': '', 'tenant_id': 'df52e88db93b4c22bccd9ef0094efde9', 'network_id': '165b70f8-9e52-4b04-8b41-c359bac46ebc', 'ip_version': 4, 'cidr': '199.102.56.0/26', 'allocation_pools': [{'start': '199.102.56.2', 'end': '199.102.56.62'}], 'gateway_ip': '199.102.56.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.102.56.2', 'tags': [], 'project_id': 'df52e88db93b4c22bccd9ef0094efde9'}} 2025-11-24 18:34:20,604 - INFO - Created VN ctest-ext_vn-92913731 2025-11-24 18:34:20,666 - DEBUG - VN ctest-ext_vn-92913731 UUID is 165b70f8-9e52-4b04-8b41-c359bac46ebc 2025-11-24 18:34:20,948 - DEBUG - Services list from nova: [, , ] 2025-11-24 18:34:22,443 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4813-1) 2025-11-24 18:34:23,833 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4813-1) 2025-11-24 18:34:23,895 - INFO - Setting gateway for router cb999d3f-928b-4c1e-b945-1c63507a62ef to network 165b70f8-9e52-4b04-8b41-c359bac46ebc 2025-11-24 18:34:23,950 - INFO - Adding interface with subnet_id 91a3cb6d-5ae3-4e66-a48a-92af07b01a04, port_id None to router cb999d3f-928b-4c1e-b945-1c63507a62ef 2025-11-24 18:34:24,271 - INFO - Waiting for VM ctest-TestRoutersBasic-54814686-02793777 to be up.. 2025-11-24 18:34:24,426 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 18:34:29,547 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:34:29,547 - INFO - VM name : ctest-TestRoutersBasic-54814686-02793777 2025-11-24 18:34:29,666 - DEBUG - VM ctest-TestRoutersBasic-54814686-02793777 ID is 7432c3b4-f592-4c8c-aebf-f2d63fc95bff 2025-11-24 18:34:29,699 - DEBUG - VM ctest-TestRoutersBasic-54814686-02793777 launched on Node cn-jenkins-deploy-platform-ansible-os-4813-1 2025-11-24 18:34:29,863 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7432c3b4-f592-4c8c-aebf-f2d63fc95bff 2025-11-24 18:34:30,171 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7432c3b4-f592-4c8c-aebf-f2d63fc95bff 2025-11-24 18:34:30,208 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/29541b36-a8aa-4bea-adcf-fbb295ac5af5 2025-11-24 18:34:33,519 - 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 1029ms') 2025-11-24 18:34:33,519 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54814686-02793777 failed! 2025-11-24 18:34:33,594 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54814686:ctest-vn-54298435 is 63.64.117.65 and allocation pool is NOT set 2025-11-24 18:34:35,672 - 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=5.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.967 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.967/3.152/5.337/2.185 ms') 2025-11-24 18:34:35,672 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54814686-02793777 passed 2025-11-24 18:34:35,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:34:35,846 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54814686-02793777, IP 63.64.117.67, Port 22 2025-11-24 18:34:36,055 - DEBUG - VM ctest-TestRoutersBasic-54814686-02793777 is ready for SSH connections 2025-11-24 18:34:36,055 - INFO - Waiting for VM ctest-TestRoutersBasic-54814686-53285238 to be up.. 2025-11-24 18:34:36,233 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:34:36,233 - INFO - VM name : ctest-TestRoutersBasic-54814686-53285238 2025-11-24 18:34:36,430 - DEBUG - VM ctest-TestRoutersBasic-54814686-53285238 ID is 3b5b4e28-0de1-440f-8b3a-7005f9e514d0 2025-11-24 18:34:36,430 - DEBUG - VM ctest-TestRoutersBasic-54814686-53285238 launched on Node cn-jenkins-deploy-platform-ansible-os-4813-1 2025-11-24 18:34:36,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3b5b4e28-0de1-440f-8b3a-7005f9e514d0 2025-11-24 18:34:36,583 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/44422336-2d90-4bc0-8887-769b1018299d 2025-11-24 18:34:37,880 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.93 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.926/3.256/4.586/1.330 ms') 2025-11-24 18:34:37,880 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54814686-53285238 passed 2025-11-24 18:34:38,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:34:38,063 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54814686-53285238, IP 199.102.56.3, Port 22 2025-11-24 18:34:38,246 - DEBUG - VM ctest-TestRoutersBasic-54814686-53285238 is ready for SSH connections 2025-11-24 18:34:38,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:34:38,247 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.102.56.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 18:34:38,247 - DEBUG - ping -s 56 -c 3 -W 1 199.102.56.3 2025-11-24 18:34:42,382 - DEBUG - PING 199.102.56.3 (199.102.56.3): 56 data bytes 64 bytes from 199.102.56.3: seq=0 ttl=62 time=11.087 ms 64 bytes from 199.102.56.3: seq=1 ttl=62 time=1.753 ms 64 bytes from 199.102.56.3: seq=2 ttl=62 time=1.731 ms --- 199.102.56.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.731/4.857/11.087 ms 2025-11-24 18:34:42,382 - INFO - Ping to IP 199.102.56.3 from VM ctest-TestRoutersBasic-54814686-02793777 passed 2025-11-24 18:34:42,383 - INFO - Deleting interface with subnet_id 91a3cb6d-5ae3-4e66-a48a-92af07b01a04, port_id None from router cb999d3f-928b-4c1e-b945-1c63507a62ef 2025-11-24 18:34:42,685 - INFO - Deleting VM ctest-TestRoutersBasic-54814686-53285238 2025-11-24 18:34:42,792 - INFO - Deleting VM ctest-TestRoutersBasic-54814686-02793777 2025-11-24 18:34:42,868 - INFO - Deleting VN ctest-ext_vn-92913731 2025-11-24 18:34:42,980 - DEBUG - VN 165b70f8-9e52-4b04-8b41-c359bac46ebc still in use: Unable to complete operation on network 165b70f8-9e52-4b04-8b41-c359bac46ebc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3597ed66-5610-4739-af0c-ca4c44c603a9'] 2025-11-24 18:34:42,980 - WARNING - Deleting VN ctest-ext_vn-92913731 failed..Will retry 2025-11-24 18:34:45,210 - DEBUG - Response for deleting network () 2025-11-24 18:34:45,211 - INFO - Deleting VN ctest-vn-54298435 2025-11-24 18:34:45,343 - DEBUG - Response for deleting network () 2025-11-24 18:34:45,660 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 18:34:45,660 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-11-24 18:34:45,661 - INFO - -------------------------------------------------------------------------------- 2025-11-24 18:34:46,602 - INFO - Deleted project: ctest-TestRoutersBasic-54814686, ID : df52e88d-b93b-4c22-bccd-9ef0094efde9