2025-05-15 02:09:52,334 - INFO - Domain Default found not creating 2025-05-15 02:09:52,480 - INFO - Project ctest-TestRoutersBasic-66533778 not found, creating it 2025-05-15 02:09:52,953 - INFO - Created Project:ctest-TestRoutersBasic-66533778, ID : 55ce636a-b6ed-4db1-9fdf-a73fba40b27e 2025-05-15 02:09:54,374 - INFO - ================================================================================ 2025-05-15 02:09:54,374 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-15 02:09:54,374 - 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-05-15 02:09:54,634 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with 2025-05-15 02:09:54,634 - INFO - Initial checks done. Running the testcase now 2025-05-15 02:09:54,634 - INFO - 2025-05-15 02:09:55,338 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66533778 2025-05-15 02:09:55,436 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66533778 2025-05-15 02:09:55,764 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66533778', 'default']} 2025-05-15 02:09:56,066 - DEBUG - Response for create_network : {'network': {'id': '6222230e-e27a-419f-ba60-cb1caf23c5f8', 'name': 'ctest-vn-18328438', 'tenant_id': '55ce636ab6ed4db19fdfa73fba40b27e', 'project_id': '55ce636ab6ed4db19fdfa73fba40b27e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66533778', 'ctest-vn-18328438'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 02:09:56,230 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea76aaeb-8941-4ade-bf26-009a90dd10b3', 'name': '', 'tenant_id': '55ce636ab6ed4db19fdfa73fba40b27e', 'network_id': '6222230e-e27a-419f-ba60-cb1caf23c5f8', 'ip_version': 4, 'cidr': '167.163.162.64/26', 'allocation_pools': [{'start': '167.163.162.66', 'end': '167.163.162.126'}], 'gateway_ip': '167.163.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.163.162.66', 'tags': [], 'project_id': '55ce636ab6ed4db19fdfa73fba40b27e'}} 2025-05-15 02:09:56,250 - INFO - Created VN ctest-vn-18328438 2025-05-15 02:09:56,304 - DEBUG - VN ctest-vn-18328438 UUID is 6222230e-e27a-419f-ba60-cb1caf23c5f8 2025-05-15 02:09:56,636 - DEBUG - Response for create_network : {'network': {'id': '5725ce43-2adc-46e6-bf8c-9559ec3a288a', 'name': 'ctest-ext_vn-98821936', 'tenant_id': '55ce636ab6ed4db19fdfa73fba40b27e', 'project_id': '55ce636ab6ed4db19fdfa73fba40b27e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66533778', 'ctest-ext_vn-98821936'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 02:09:56,810 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b496dc4-2242-4648-8906-a0b7cfc9b4ce', 'name': '', 'tenant_id': '55ce636ab6ed4db19fdfa73fba40b27e', 'network_id': '5725ce43-2adc-46e6-bf8c-9559ec3a288a', 'ip_version': 4, 'cidr': '144.175.134.192/26', 'allocation_pools': [{'start': '144.175.134.194', 'end': '144.175.134.254'}], 'gateway_ip': '144.175.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.175.134.194', 'tags': [], 'project_id': '55ce636ab6ed4db19fdfa73fba40b27e'}} 2025-05-15 02:09:56,830 - INFO - Created VN ctest-ext_vn-98821936 2025-05-15 02:09:56,885 - DEBUG - VN ctest-ext_vn-98821936 UUID is 5725ce43-2adc-46e6-bf8c-9559ec3a288a 2025-05-15 02:09:57,067 - DEBUG - Services list from nova: [, , ] 2025-05-15 02:09:58,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3314-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3314-1) 2025-05-15 02:09:59,216 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3314-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3314-1) 2025-05-15 02:09:59,312 - INFO - Setting gateway for router 0603b4be-06ad-4a08-a62a-d39285f0c15e to network 5725ce43-2adc-46e6-bf8c-9559ec3a288a 2025-05-15 02:09:59,432 - INFO - Adding interface with subnet_id ea76aaeb-8941-4ade-bf26-009a90dd10b3, port_id None to router 0603b4be-06ad-4a08-a62a-d39285f0c15e 2025-05-15 02:09:59,916 - INFO - Waiting for VM ctest-TestRoutersBasic-66533778-12845102 to be up.. 2025-05-15 02:10:00,047 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-15 02:10:05,134 - DEBUG - VM is in ACTIVE state now 2025-05-15 02:10:05,135 - INFO - VM name : ctest-TestRoutersBasic-66533778-12845102 2025-05-15 02:10:05,227 - DEBUG - VM ctest-TestRoutersBasic-66533778-12845102 ID is 9c9a1dd1-cf1e-45e6-ae16-8ebd9bb0f83c 2025-05-15 02:10:05,254 - DEBUG - VM ctest-TestRoutersBasic-66533778-12845102 launched on Node cn-jenkins-deploy-platform-ansible-os-3314-1 2025-05-15 02:10:05,352 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9c9a1dd1-cf1e-45e6-ae16-8ebd9bb0f83c 2025-05-15 02:10:05,645 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9c9a1dd1-cf1e-45e6-ae16-8ebd9bb0f83c 2025-05-15 02:10:05,681 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/8ef9e9ef-abee-403a-a849-d425371c55eb 2025-05-15 02:10:08,949 - 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 1015ms') 2025-05-15 02:10:08,949 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66533778-12845102 failed! 2025-05-15 02:10:09,004 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66533778:ctest-vn-18328438 is 167.163.162.65 and allocation pool is NOT set 2025-05-15 02:10:11,066 - 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=3.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.620 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.620/1.853/3.087/1.233 ms') 2025-05-15 02:10:11,066 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66533778-12845102 passed 2025-05-15 02:10:11,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:10:11,220 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66533778-12845102, IP 167.163.162.67, Port 22 2025-05-15 02:10:11,386 - DEBUG - VM ctest-TestRoutersBasic-66533778-12845102 is ready for SSH connections 2025-05-15 02:10:11,386 - INFO - Waiting for VM ctest-TestRoutersBasic-66533778-14614630 to be up.. 2025-05-15 02:10:11,482 - DEBUG - VM is in ACTIVE state now 2025-05-15 02:10:11,482 - INFO - VM name : ctest-TestRoutersBasic-66533778-14614630 2025-05-15 02:10:11,570 - DEBUG - VM ctest-TestRoutersBasic-66533778-14614630 ID is f24225a6-13bf-417f-8e74-651878f70a47 2025-05-15 02:10:11,570 - DEBUG - VM ctest-TestRoutersBasic-66533778-14614630 launched on Node cn-jenkins-deploy-platform-ansible-os-3314-1 2025-05-15 02:10:11,653 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f24225a6-13bf-417f-8e74-651878f70a47 2025-05-15 02:10:11,663 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/f70d987b-9f08-4262-8218-8b7affdd9018 2025-05-15 02:10:12,918 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 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.418/1.654/2.890/1.236 ms') 2025-05-15 02:10:12,918 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66533778-14614630 passed 2025-05-15 02:10:13,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:10:13,072 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66533778-14614630, IP 144.175.134.195, Port 22 2025-05-15 02:10:13,238 - DEBUG - VM ctest-TestRoutersBasic-66533778-14614630 is ready for SSH connections 2025-05-15 02:10:13,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:10:13,238 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.175.134.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-05-15 02:10:13,239 - DEBUG - ping -s 56 -c 3 -W 1 144.175.134.195 2025-05-15 02:10:17,238 - DEBUG - PING 144.175.134.195 (144.175.134.195): 56 data bytes 64 bytes from 144.175.134.195: seq=0 ttl=62 time=5.322 ms 64 bytes from 144.175.134.195: seq=1 ttl=62 time=0.870 ms 64 bytes from 144.175.134.195: seq=2 ttl=62 time=0.773 ms --- 144.175.134.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/2.321/5.322 ms 2025-05-15 02:10:17,239 - INFO - Ping to IP 144.175.134.195 from VM ctest-TestRoutersBasic-66533778-12845102 passed 2025-05-15 02:10:17,239 - INFO - Deleting interface with subnet_id ea76aaeb-8941-4ade-bf26-009a90dd10b3, port_id None from router 0603b4be-06ad-4a08-a62a-d39285f0c15e 2025-05-15 02:10:17,431 - INFO - Deleting VM ctest-TestRoutersBasic-66533778-14614630 2025-05-15 02:10:17,505 - INFO - Deleting VM ctest-TestRoutersBasic-66533778-12845102 2025-05-15 02:10:17,593 - INFO - Deleting VN ctest-ext_vn-98821936 2025-05-15 02:10:17,674 - DEBUG - VN 5725ce43-2adc-46e6-bf8c-9559ec3a288a still in use: Unable to complete operation on network 5725ce43-2adc-46e6-bf8c-9559ec3a288a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dc9ffc9a-d4ff-42e4-90b3-eccab3b11b76'] 2025-05-15 02:10:17,674 - WARNING - Deleting VN ctest-ext_vn-98821936 failed..Will retry 2025-05-15 02:10:19,781 - DEBUG - Response for deleting network () 2025-05-15 02:10:19,781 - INFO - Deleting VN ctest-vn-18328438 2025-05-15 02:10:19,892 - DEBUG - Response for deleting network () 2025-05-15 02:10:20,150 - DEBUG - No XMPP flaps were noticed during the test
2025-05-15 02:10:20,150 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-05-15 02:10:20,150 - INFO - -------------------------------------------------------------------------------- 2025-05-15 02:10:20,825 - INFO - Deleted project: ctest-TestRoutersBasic-66533778, ID : 55ce636a-b6ed-4db1-9fdf-a73fba40b27e