2025-01-13 02:34:45,539 - INFO - Domain Default found not creating
2025-01-13 02:34:45,702 - INFO - Project ctest-TestRoutersBasic-64473558 not found, creating it
2025-01-13 02:34:46,202 - INFO - Created Project:ctest-TestRoutersBasic-64473558, ID : 8785fac8-8f6c-4b01-b3b4-4525aec7f4fe
2025-01-13 02:34:47,882 - INFO - ================================================================================
2025-01-13 02:34:47,882 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-13 02:34:47,882 - 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-01-13 02:34:48,145 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.7': '0'}} with
2025-01-13 02:34:48,145 - INFO - Initial checks done. Running the testcase now
2025-01-13 02:34:48,145 - INFO -
2025-01-13 02:34:48,993 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-64473558
2025-01-13 02:34:49,095 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-64473558
2025-01-13 02:34:49,443 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64473558', 'default']}
2025-01-13 02:34:49,946 - DEBUG - Response for create_network : {'network': {'id': '32ed605d-b06c-4c02-ba68-03affd34d300', 'name': 'ctest-vn-14685129', 'tenant_id': '8785fac88f6c4b01b3b44525aec7f4fe', 'project_id': '8785fac88f6c4b01b3b44525aec7f4fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64473558', 'ctest-vn-14685129'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 02:34:50,173 - DEBUG - Response for create_subnet : {'subnet': {'id': '080c9192-7476-4c3b-abb6-da143d718eb6', 'name': '', 'tenant_id': '8785fac88f6c4b01b3b44525aec7f4fe', 'network_id': '32ed605d-b06c-4c02-ba68-03affd34d300', 'ip_version': 4, 'cidr': '25.169.51.0/26', 'allocation_pools': [{'start': '25.169.51.2', 'end': '25.169.51.62'}], 'gateway_ip': '25.169.51.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.169.51.2', 'tags': [], 'project_id': '8785fac88f6c4b01b3b44525aec7f4fe'}}
2025-01-13 02:34:50,199 - INFO - Created VN ctest-vn-14685129
2025-01-13 02:34:50,259 - DEBUG - VN ctest-vn-14685129 UUID is 32ed605d-b06c-4c02-ba68-03affd34d300
2025-01-13 02:34:50,756 - DEBUG - Response for create_network : {'network': {'id': '7b3aa979-af94-4f94-b6c9-ee844fd2f96d', 'name': 'ctest-ext_vn-33297461', 'tenant_id': '8785fac88f6c4b01b3b44525aec7f4fe', 'project_id': '8785fac88f6c4b01b3b44525aec7f4fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64473558', 'ctest-ext_vn-33297461'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 02:34:50,937 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bb15677-bb29-451a-be0a-2fc9a8a443c5', 'name': '', 'tenant_id': '8785fac88f6c4b01b3b44525aec7f4fe', 'network_id': '7b3aa979-af94-4f94-b6c9-ee844fd2f96d', 'ip_version': 4, 'cidr': '107.160.71.64/26', 'allocation_pools': [{'start': '107.160.71.66', 'end': '107.160.71.126'}], 'gateway_ip': '107.160.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.160.71.66', 'tags': [], 'project_id': '8785fac88f6c4b01b3b44525aec7f4fe'}}
2025-01-13 02:34:50,961 - INFO - Created VN ctest-ext_vn-33297461
2025-01-13 02:34:51,019 - DEBUG - VN ctest-ext_vn-33297461 UUID is 7b3aa979-af94-4f94-b6c9-ee844fd2f96d
2025-01-13 02:34:51,198 - DEBUG - Services list from nova: [, , ]
2025-01-13 02:34:52,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2607-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2607-1)
2025-01-13 02:34:53,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2607-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2607-1)
2025-01-13 02:34:53,701 - INFO - Setting gateway for router ce1c5df4-fbba-412a-bd2e-7315c214a6db to network 7b3aa979-af94-4f94-b6c9-ee844fd2f96d
2025-01-13 02:34:53,782 - INFO - Adding interface with subnet_id 080c9192-7476-4c3b-abb6-da143d718eb6, port_id None to router ce1c5df4-fbba-412a-bd2e-7315c214a6db
2025-01-13 02:34:54,168 - INFO - Waiting for VM ctest-TestRoutersBasic-64473558-23495652 to be up..
2025-01-13 02:34:54,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 02:34:59,460 - DEBUG - VM is in ACTIVE state now
2025-01-13 02:34:59,460 - INFO - VM name : ctest-TestRoutersBasic-64473558-23495652
2025-01-13 02:34:59,551 - DEBUG - VM ctest-TestRoutersBasic-64473558-23495652 ID is 627b7feb-ae0c-4f58-9e60-d3b16875c37e
2025-01-13 02:34:59,577 - DEBUG - VM ctest-TestRoutersBasic-64473558-23495652 launched on Node cn-jenkins-deploy-platform-ansible-os-2607-1
2025-01-13 02:34:59,667 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/627b7feb-ae0c-4f58-9e60-d3b16875c37e
2025-01-13 02:35:00,091 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/627b7feb-ae0c-4f58-9e60-d3b16875c37e
2025-01-13 02:35:00,132 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/e7592ca7-ba6a-44f2-a7c1-eff5a1e27715
2025-01-13 02:35:03,399 - 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 1004ms')
2025-01-13 02:35:03,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64473558-23495652 failed!
2025-01-13 02:35:03,460 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-64473558:ctest-vn-14685129 is 25.169.51.1 and allocation pool is NOT set
2025-01-13 02:35:05,523 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.949 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.949/3.250/5.551/2.301 ms')
2025-01-13 02:35:05,523 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64473558-23495652 passed
2025-01-13 02:35:05,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 02:35:05,679 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64473558-23495652, IP 25.169.51.3, Port 22
2025-01-13 02:35:05,835 - DEBUG - VM ctest-TestRoutersBasic-64473558-23495652 is ready for SSH connections
2025-01-13 02:35:05,835 - INFO - Waiting for VM ctest-TestRoutersBasic-64473558-05193871 to be up..
2025-01-13 02:35:05,929 - DEBUG - VM is in ACTIVE state now
2025-01-13 02:35:05,929 - INFO - VM name : ctest-TestRoutersBasic-64473558-05193871
2025-01-13 02:35:06,029 - DEBUG - VM ctest-TestRoutersBasic-64473558-05193871 ID is 20ba99e2-ce06-40c8-adde-318ddcc6d227
2025-01-13 02:35:06,029 - DEBUG - VM ctest-TestRoutersBasic-64473558-05193871 launched on Node cn-jenkins-deploy-platform-ansible-os-2607-1
2025-01-13 02:35:06,123 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/20ba99e2-ce06-40c8-adde-318ddcc6d227
2025-01-13 02:35:06,133 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/27783237-6f4c-4c31-9f7b-e9d99d131c1e
2025-01-13 02:35:07,375 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.25 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.254/3.671/5.088/1.417 ms')
2025-01-13 02:35:07,376 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-64473558-05193871 passed
2025-01-13 02:35:07,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 02:35:07,535 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64473558-05193871, IP 107.160.71.67, Port 22
2025-01-13 02:35:07,691 - DEBUG - VM ctest-TestRoutersBasic-64473558-05193871 is ready for SSH connections
2025-01-13 02:35:07,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 02:35:07,692 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.160.71.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123
2025-01-13 02:35:07,692 - DEBUG - ping -s 56 -c 3 -W 1 107.160.71.67
2025-01-13 02:35:11,538 - DEBUG - PING 107.160.71.67 (107.160.71.67): 56 data bytes
64 bytes from 107.160.71.67: seq=0 ttl=62 time=5.653 ms
64 bytes from 107.160.71.67: seq=1 ttl=62 time=1.379 ms
64 bytes from 107.160.71.67: seq=2 ttl=62 time=1.506 ms
--- 107.160.71.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.379/2.846/5.653 ms
2025-01-13 02:35:11,538 - INFO - Ping to IP 107.160.71.67 from VM ctest-TestRoutersBasic-64473558-23495652 passed
2025-01-13 02:35:11,538 - INFO - Deleting interface with subnet_id 080c9192-7476-4c3b-abb6-da143d718eb6, port_id None from router ce1c5df4-fbba-412a-bd2e-7315c214a6db
2025-01-13 02:35:11,871 - INFO - Deleting VM ctest-TestRoutersBasic-64473558-05193871
2025-01-13 02:35:11,999 - INFO - Deleting VM ctest-TestRoutersBasic-64473558-23495652
2025-01-13 02:35:12,101 - INFO - Deleting VN ctest-ext_vn-33297461
2025-01-13 02:35:12,211 - DEBUG - VN 7b3aa979-af94-4f94-b6c9-ee844fd2f96d still in use: Unable to complete operation on network 7b3aa979-af94-4f94-b6c9-ee844fd2f96d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0ceec562-5a81-4e47-9e8c-5abd26e5abc1']
2025-01-13 02:35:12,211 - WARNING - Deleting VN ctest-ext_vn-33297461 failed..Will retry
2025-01-13 02:35:14,376 - DEBUG - Response for deleting network ()
2025-01-13 02:35:14,376 - INFO - Deleting VN ctest-vn-14685129
2025-01-13 02:35:14,552 - DEBUG - Response for deleting network ()
2025-01-13 02:35:14,837 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 02:35:14,838 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-01-13 02:35:14,838 - INFO - --------------------------------------------------------------------------------
2025-01-13 02:35:15,618 - INFO - Deleted project: ctest-TestRoutersBasic-64473558, ID : 8785fac8-8f6c-4b01-b3b4-4525aec7f4fe