2025-10-24 07:09:51,300 - INFO - Domain Default found not creating 2025-10-24 07:09:51,437 - INFO - Project ctest-TestRoutersBasic-62335366 not found, creating it 2025-10-24 07:09:51,894 - INFO - Created Project:ctest-TestRoutersBasic-62335366, ID : 760343b6-1567-42dc-8406-14f712b0df8d 2025-10-24 07:09:53,308 - INFO - ================================================================================ 2025-10-24 07:09:53,308 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-24 07:09:53,308 - 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-24 07:09:53,564 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 07:09:53,564 - INFO - Initial checks done. Running the testcase now 2025-10-24 07:09:53,564 - INFO - 2025-10-24 07:09:54,260 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-62335366 2025-10-24 07:09:54,354 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-62335366 2025-10-24 07:09:54,669 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62335366', 'default']} 2025-10-24 07:09:54,959 - DEBUG - Response for create_network : {'network': {'id': '89244925-2702-47a2-af69-9b08cb53fa22', 'name': 'ctest-vn-45270635', 'tenant_id': '760343b6156742dc840614f712b0df8d', 'project_id': '760343b6156742dc840614f712b0df8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62335366', 'ctest-vn-45270635'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 07:09:55,157 - DEBUG - Response for create_subnet : {'subnet': {'id': '43563c2b-ddbf-40b2-83f2-2ff8585d0ae8', 'name': '', 'tenant_id': '760343b6156742dc840614f712b0df8d', 'network_id': '89244925-2702-47a2-af69-9b08cb53fa22', 'ip_version': 4, 'cidr': '93.165.60.64/26', 'allocation_pools': [{'start': '93.165.60.66', 'end': '93.165.60.126'}], 'gateway_ip': '93.165.60.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.165.60.66', 'tags': [], 'project_id': '760343b6156742dc840614f712b0df8d'}} 2025-10-24 07:09:55,173 - INFO - Created VN ctest-vn-45270635 2025-10-24 07:09:55,225 - DEBUG - VN ctest-vn-45270635 UUID is 89244925-2702-47a2-af69-9b08cb53fa22 2025-10-24 07:09:55,556 - DEBUG - Response for create_network : {'network': {'id': 'd3141013-3be8-48bf-81aa-1b773fb2e90a', 'name': 'ctest-ext_vn-13337850', 'tenant_id': '760343b6156742dc840614f712b0df8d', 'project_id': '760343b6156742dc840614f712b0df8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62335366', 'ctest-ext_vn-13337850'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 07:09:55,715 - DEBUG - Response for create_subnet : {'subnet': {'id': '46d87ab7-91be-4657-bee5-6494410ebdc8', 'name': '', 'tenant_id': '760343b6156742dc840614f712b0df8d', 'network_id': 'd3141013-3be8-48bf-81aa-1b773fb2e90a', 'ip_version': 4, 'cidr': '70.144.33.0/26', 'allocation_pools': [{'start': '70.144.33.2', 'end': '70.144.33.62'}], 'gateway_ip': '70.144.33.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.144.33.2', 'tags': [], 'project_id': '760343b6156742dc840614f712b0df8d'}} 2025-10-24 07:09:55,731 - INFO - Created VN ctest-ext_vn-13337850 2025-10-24 07:09:55,781 - DEBUG - VN ctest-ext_vn-13337850 UUID is d3141013-3be8-48bf-81aa-1b773fb2e90a 2025-10-24 07:09:55,972 - DEBUG - Services list from nova: [, , ] 2025-10-24 07:09:56,984 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4473-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4473-1) 2025-10-24 07:09:58,089 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4473-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4473-1) 2025-10-24 07:09:58,169 - INFO - Setting gateway for router 903c3e12-819c-4bf8-93c4-48c549e9f3f6 to network d3141013-3be8-48bf-81aa-1b773fb2e90a 2025-10-24 07:09:58,239 - INFO - Adding interface with subnet_id 43563c2b-ddbf-40b2-83f2-2ff8585d0ae8, port_id None to router 903c3e12-819c-4bf8-93c4-48c549e9f3f6 2025-10-24 07:09:58,703 - INFO - Waiting for VM ctest-TestRoutersBasic-62335366-80584746 to be up.. 2025-10-24 07:09:58,886 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 07:10:03,963 - DEBUG - VM is in ACTIVE state now 2025-10-24 07:10:03,963 - INFO - VM name : ctest-TestRoutersBasic-62335366-80584746 2025-10-24 07:10:04,036 - DEBUG - VM ctest-TestRoutersBasic-62335366-80584746 ID is 8e9b5790-ade7-45ca-b57e-95e6a6ffd97e 2025-10-24 07:10:04,055 - DEBUG - VM ctest-TestRoutersBasic-62335366-80584746 launched on Node cn-jenkins-deploy-platform-ansible-os-4473-1 2025-10-24 07:10:04,135 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8e9b5790-ade7-45ca-b57e-95e6a6ffd97e 2025-10-24 07:10:04,429 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8e9b5790-ade7-45ca-b57e-95e6a6ffd97e 2025-10-24 07:10:04,459 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/117c0a76-d9f7-4767-aa54-a029fc1f4dd8 2025-10-24 07:10:07,714 - 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-24 07:10:07,714 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62335366-80584746 failed! 2025-10-24 07:10:07,769 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62335366:ctest-vn-45270635 is 93.165.60.65 and allocation pool is NOT set 2025-10-24 07:10:09,828 - 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=2.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.542 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.542/1.647/2.752/1.105 ms') 2025-10-24 07:10:09,828 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62335366-80584746 passed 2025-10-24 07:10:09,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 07:10:09,977 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62335366-80584746, IP 93.165.60.67, Port 22 2025-10-24 07:10:10,133 - DEBUG - VM ctest-TestRoutersBasic-62335366-80584746 is ready for SSH connections 2025-10-24 07:10:10,133 - INFO - Waiting for VM ctest-TestRoutersBasic-62335366-81318943 to be up.. 2025-10-24 07:10:10,205 - DEBUG - VM is in ACTIVE state now 2025-10-24 07:10:10,205 - INFO - VM name : ctest-TestRoutersBasic-62335366-81318943 2025-10-24 07:10:10,275 - DEBUG - VM ctest-TestRoutersBasic-62335366-81318943 ID is 702bca50-fac1-417c-b909-4e51ef3bc74e 2025-10-24 07:10:10,275 - DEBUG - VM ctest-TestRoutersBasic-62335366-81318943 launched on Node cn-jenkins-deploy-platform-ansible-os-4473-1 2025-10-24 07:10:10,342 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/702bca50-fac1-417c-b909-4e51ef3bc74e 2025-10-24 07:10:10,351 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/55d6b35c-b07f-4cf2-adec-b36221a86131 2025-10-24 07:10:11,583 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.499 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.499/1.593/2.688/1.094 ms') 2025-10-24 07:10:11,583 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-62335366-81318943 passed 2025-10-24 07:10:11,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 07:10:11,734 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62335366-81318943, IP 70.144.33.3, Port 22 2025-10-24 07:10:11,888 - DEBUG - VM ctest-TestRoutersBasic-62335366-81318943 is ready for SSH connections 2025-10-24 07:10:11,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 07:10:11,889 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.144.33.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 07:10:11,889 - DEBUG - ping -s 56 -c 3 -W 1 70.144.33.3 2025-10-24 07:10:15,593 - DEBUG - PING 70.144.33.3 (70.144.33.3): 56 data bytes 64 bytes from 70.144.33.3: seq=0 ttl=62 time=4.315 ms 64 bytes from 70.144.33.3: seq=1 ttl=62 time=0.789 ms 64 bytes from 70.144.33.3: seq=2 ttl=62 time=0.882 ms --- 70.144.33.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.789/1.995/4.315 ms 2025-10-24 07:10:15,593 - INFO - Ping to IP 70.144.33.3 from VM ctest-TestRoutersBasic-62335366-80584746 passed 2025-10-24 07:10:15,593 - INFO - Deleting interface with subnet_id 43563c2b-ddbf-40b2-83f2-2ff8585d0ae8, port_id None from router 903c3e12-819c-4bf8-93c4-48c549e9f3f6 2025-10-24 07:10:15,850 - INFO - Deleting VM ctest-TestRoutersBasic-62335366-81318943 2025-10-24 07:10:15,916 - INFO - Deleting VM ctest-TestRoutersBasic-62335366-80584746 2025-10-24 07:10:15,990 - INFO - Deleting VN ctest-ext_vn-13337850 2025-10-24 07:10:16,076 - DEBUG - VN d3141013-3be8-48bf-81aa-1b773fb2e90a still in use: Unable to complete operation on network d3141013-3be8-48bf-81aa-1b773fb2e90a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-383eb61f-3957-4397-80f3-b7e55213ace4'] 2025-10-24 07:10:16,076 - WARNING - Deleting VN ctest-ext_vn-13337850 failed..Will retry 2025-10-24 07:10:18,179 - DEBUG - Response for deleting network () 2025-10-24 07:10:18,179 - INFO - Deleting VN ctest-vn-45270635 2025-10-24 07:10:18,265 - DEBUG - Response for deleting network () 2025-10-24 07:10:18,519 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 07:10:18,519 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-24 07:10:18,519 - INFO - -------------------------------------------------------------------------------- 2025-10-24 07:10:19,190 - INFO - Deleted project: ctest-TestRoutersBasic-62335366, ID : 760343b6-1567-42dc-8406-14f712b0df8d