2025-03-10 02:24:01,230 - INFO - Domain Default found not creating 2025-03-10 02:24:01,388 - INFO - Project ctest-TestRoutersBasic-01608083 not found, creating it 2025-03-10 02:24:01,852 - INFO - Created Project:ctest-TestRoutersBasic-01608083, ID : c4d6ad3e-5300-409d-97dc-41c74115c667 2025-03-10 02:24:03,268 - INFO - ================================================================================ 2025-03-10 02:24:03,268 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-10 02:24:03,268 - 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-03-10 02:24:03,528 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.10': '0'}} with 2025-03-10 02:24:03,528 - INFO - Initial checks done. Running the testcase now 2025-03-10 02:24:03,528 - INFO - 2025-03-10 02:24:04,220 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01608083 2025-03-10 02:24:04,321 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01608083 2025-03-10 02:24:04,645 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01608083', 'default']} 2025-03-10 02:24:04,960 - DEBUG - Response for create_network : {'network': {'id': '3112715b-60a4-4c1a-9278-7c420441dd8c', 'name': 'ctest-vn-40593324', 'tenant_id': 'c4d6ad3e5300409d97dc41c74115c667', 'project_id': 'c4d6ad3e5300409d97dc41c74115c667', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01608083', 'ctest-vn-40593324'], 'port_security_enabled': True, 'description': ''}} 2025-03-10 02:24:05,122 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da33fcad-d143-4b3d-96e5-44306ed27be1', 'name': '', 'tenant_id': 'c4d6ad3e5300409d97dc41c74115c667', 'network_id': '3112715b-60a4-4c1a-9278-7c420441dd8c', 'ip_version': 4, 'cidr': '112.234.238.64/26', 'allocation_pools': [{'start': '112.234.238.66', 'end': '112.234.238.126'}], 'gateway_ip': '112.234.238.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.234.238.66', 'tags': [], 'project_id': 'c4d6ad3e5300409d97dc41c74115c667'}} 2025-03-10 02:24:05,142 - INFO - Created VN ctest-vn-40593324 2025-03-10 02:24:05,193 - DEBUG - VN ctest-vn-40593324 UUID is 3112715b-60a4-4c1a-9278-7c420441dd8c 2025-03-10 02:24:05,638 - DEBUG - Response for create_network : {'network': {'id': 'cddd05ae-1471-4776-ac9c-f5eef1d756fe', 'name': 'ctest-ext_vn-82690843', 'tenant_id': 'c4d6ad3e5300409d97dc41c74115c667', 'project_id': 'c4d6ad3e5300409d97dc41c74115c667', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01608083', 'ctest-ext_vn-82690843'], 'port_security_enabled': True, 'description': ''}} 2025-03-10 02:24:05,800 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3e8a627-8fc0-46de-b3af-b915c4b49c47', 'name': '', 'tenant_id': 'c4d6ad3e5300409d97dc41c74115c667', 'network_id': 'cddd05ae-1471-4776-ac9c-f5eef1d756fe', 'ip_version': 4, 'cidr': '9.171.143.64/26', 'allocation_pools': [{'start': '9.171.143.66', 'end': '9.171.143.126'}], 'gateway_ip': '9.171.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.171.143.66', 'tags': [], 'project_id': 'c4d6ad3e5300409d97dc41c74115c667'}} 2025-03-10 02:24:05,820 - INFO - Created VN ctest-ext_vn-82690843 2025-03-10 02:24:05,877 - DEBUG - VN ctest-ext_vn-82690843 UUID is cddd05ae-1471-4776-ac9c-f5eef1d756fe 2025-03-10 02:24:06,043 - DEBUG - Services list from nova: [, , ] 2025-03-10 02:24:07,027 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2829-1) 2025-03-10 02:24:08,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2829-1) 2025-03-10 02:24:08,247 - INFO - Setting gateway for router 22b924c3-1de0-4bca-951f-38eb377659cc to network cddd05ae-1471-4776-ac9c-f5eef1d756fe 2025-03-10 02:24:08,330 - INFO - Adding interface with subnet_id da33fcad-d143-4b3d-96e5-44306ed27be1, port_id None to router 22b924c3-1de0-4bca-951f-38eb377659cc 2025-03-10 02:24:08,891 - INFO - Waiting for VM ctest-TestRoutersBasic-01608083-32020284 to be up.. 2025-03-10 02:24:09,040 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-10 02:24:14,120 - DEBUG - VM is in ACTIVE state now 2025-03-10 02:24:14,120 - INFO - VM name : ctest-TestRoutersBasic-01608083-32020284 2025-03-10 02:24:14,197 - DEBUG - VM ctest-TestRoutersBasic-01608083-32020284 ID is 0fa944c7-2689-48be-9cd3-b3df50b847ee 2025-03-10 02:24:14,218 - DEBUG - VM ctest-TestRoutersBasic-01608083-32020284 launched on Node cn-jenkins-deploy-platform-ansible-os-2829-1 2025-03-10 02:24:14,292 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/0fa944c7-2689-48be-9cd3-b3df50b847ee 2025-03-10 02:24:14,587 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/0fa944c7-2689-48be-9cd3-b3df50b847ee 2025-03-10 02:24:14,618 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/438bb71f-c47c-4d98-911a-7bd3b9f8c819 2025-03-10 02:24:17,888 - 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=2 ttl=63 time=8.08 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 8.078/8.078/8.078/0.000 ms') 2025-03-10 02:24:17,889 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01608083-32020284 passed 2025-03-10 02:24:18,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:24:18,045 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01608083-32020284, IP 112.234.238.67, Port 22 2025-03-10 02:24:18,200 - DEBUG - VM ctest-TestRoutersBasic-01608083-32020284 is ready for SSH connections 2025-03-10 02:24:18,200 - INFO - Waiting for VM ctest-TestRoutersBasic-01608083-00273428 to be up.. 2025-03-10 02:24:18,279 - DEBUG - VM is in ACTIVE state now 2025-03-10 02:24:18,279 - INFO - VM name : ctest-TestRoutersBasic-01608083-00273428 2025-03-10 02:24:18,363 - DEBUG - VM ctest-TestRoutersBasic-01608083-00273428 ID is c6be661a-e097-4a63-b71c-ad5241f937db 2025-03-10 02:24:18,363 - DEBUG - VM ctest-TestRoutersBasic-01608083-00273428 launched on Node cn-jenkins-deploy-platform-ansible-os-2829-1 2025-03-10 02:24:18,442 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/c6be661a-e097-4a63-b71c-ad5241f937db 2025-03-10 02:24:18,451 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/9de84d45-d715-4c0d-8079-f4fac3d8f5c1 2025-03-10 02:24:19,700 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.09 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 = 1.090/3.135/5.181/2.045 ms') 2025-03-10 02:24:19,700 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01608083-00273428 passed 2025-03-10 02:24:19,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:24:19,853 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01608083-00273428, IP 9.171.143.67, Port 22 2025-03-10 02:24:20,009 - DEBUG - VM ctest-TestRoutersBasic-01608083-00273428 is ready for SSH connections 2025-03-10 02:24:20,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:24:20,009 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.171.143.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-03-10 02:24:20,009 - DEBUG - ping -s 56 -c 3 -W 1 9.171.143.67 2025-03-10 02:24:23,695 - DEBUG - PING 9.171.143.67 (9.171.143.67): 56 data bytes 64 bytes from 9.171.143.67: seq=0 ttl=62 time=7.458 ms 64 bytes from 9.171.143.67: seq=1 ttl=62 time=0.833 ms 64 bytes from 9.171.143.67: seq=2 ttl=62 time=0.803 ms --- 9.171.143.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.803/3.031/7.458 ms 2025-03-10 02:24:23,695 - INFO - Ping to IP 9.171.143.67 from VM ctest-TestRoutersBasic-01608083-32020284 passed 2025-03-10 02:24:23,695 - INFO - Deleting interface with subnet_id da33fcad-d143-4b3d-96e5-44306ed27be1, port_id None from router 22b924c3-1de0-4bca-951f-38eb377659cc 2025-03-10 02:24:23,957 - INFO - Deleting VM ctest-TestRoutersBasic-01608083-00273428 2025-03-10 02:24:24,022 - INFO - Deleting VM ctest-TestRoutersBasic-01608083-32020284 2025-03-10 02:24:24,102 - INFO - Deleting VN ctest-ext_vn-82690843 2025-03-10 02:24:24,175 - DEBUG - VN cddd05ae-1471-4776-ac9c-f5eef1d756fe still in use: Unable to complete operation on network cddd05ae-1471-4776-ac9c-f5eef1d756fe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7a6e8296-6cdf-4c1c-ae6a-bd1729ca22ad'] 2025-03-10 02:24:24,175 - WARNING - Deleting VN ctest-ext_vn-82690843 failed..Will retry 2025-03-10 02:24:26,279 - DEBUG - Response for deleting network () 2025-03-10 02:24:26,279 - INFO - Deleting VN ctest-vn-40593324 2025-03-10 02:24:26,391 - DEBUG - Response for deleting network () 2025-03-10 02:24:26,646 - DEBUG - No XMPP flaps were noticed during the test
2025-03-10 02:24:26,646 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-03-10 02:24:26,646 - INFO - -------------------------------------------------------------------------------- 2025-03-10 02:24:27,301 - INFO - Deleted project: ctest-TestRoutersBasic-01608083, ID : c4d6ad3e-5300-409d-97dc-41c74115c667