2025-05-26 02:25:19,153 - INFO - Domain Default found not creating 2025-05-26 02:25:19,333 - INFO - Project ctest-TestRoutersBasic-19721006 not found, creating it 2025-05-26 02:25:19,839 - INFO - Created Project:ctest-TestRoutersBasic-19721006, ID : 91c72ab8-2ffc-4bfa-b763-c64cca3e2221 2025-05-26 02:25:21,393 - INFO - ================================================================================ 2025-05-26 02:25:21,393 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-26 02:25:21,393 - 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-26 02:25:21,669 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-05-26 02:25:21,669 - INFO - Initial checks done. Running the testcase now 2025-05-26 02:25:21,669 - INFO - 2025-05-26 02:25:22,412 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19721006 2025-05-26 02:25:22,514 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19721006 2025-05-26 02:25:22,849 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19721006', 'default']} 2025-05-26 02:25:23,206 - DEBUG - Response for create_network : {'network': {'id': 'c500bcd5-b446-45d0-8d7d-d88a6930db2d', 'name': 'ctest-vn-50922456', 'tenant_id': '91c72ab82ffc4bfab763c64cca3e2221', 'project_id': '91c72ab82ffc4bfab763c64cca3e2221', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19721006', 'ctest-vn-50922456'], 'port_security_enabled': True, 'description': ''}} 2025-05-26 02:25:23,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ebaf270-1cb7-48b5-9fe0-92dbaf0ce6e2', 'name': '', 'tenant_id': '91c72ab82ffc4bfab763c64cca3e2221', 'network_id': 'c500bcd5-b446-45d0-8d7d-d88a6930db2d', 'ip_version': 4, 'cidr': '31.143.150.0/26', 'allocation_pools': [{'start': '31.143.150.2', 'end': '31.143.150.62'}], 'gateway_ip': '31.143.150.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.143.150.2', 'tags': [], 'project_id': '91c72ab82ffc4bfab763c64cca3e2221'}} 2025-05-26 02:25:23,628 - INFO - Created VN ctest-vn-50922456 2025-05-26 02:25:23,681 - DEBUG - VN ctest-vn-50922456 UUID is c500bcd5-b446-45d0-8d7d-d88a6930db2d 2025-05-26 02:25:24,041 - DEBUG - Response for create_network : {'network': {'id': '06a9634a-91a0-4e9f-b888-35378b1f42dc', 'name': 'ctest-ext_vn-43323113', 'tenant_id': '91c72ab82ffc4bfab763c64cca3e2221', 'project_id': '91c72ab82ffc4bfab763c64cca3e2221', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19721006', 'ctest-ext_vn-43323113'], 'port_security_enabled': True, 'description': ''}} 2025-05-26 02:25:24,252 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b99410da-39b1-4297-b82c-b7c68bf8a479', 'name': '', 'tenant_id': '91c72ab82ffc4bfab763c64cca3e2221', 'network_id': '06a9634a-91a0-4e9f-b888-35378b1f42dc', 'ip_version': 4, 'cidr': '103.201.132.0/26', 'allocation_pools': [{'start': '103.201.132.2', 'end': '103.201.132.62'}], 'gateway_ip': '103.201.132.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.201.132.2', 'tags': [], 'project_id': '91c72ab82ffc4bfab763c64cca3e2221'}} 2025-05-26 02:25:24,275 - INFO - Created VN ctest-ext_vn-43323113 2025-05-26 02:25:24,334 - DEBUG - VN ctest-ext_vn-43323113 UUID is 06a9634a-91a0-4e9f-b888-35378b1f42dc 2025-05-26 02:25:24,519 - DEBUG - Services list from nova: [, , ] 2025-05-26 02:25:25,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3338-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3338-1) 2025-05-26 02:25:26,916 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3338-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3338-1) 2025-05-26 02:25:27,008 - INFO - Setting gateway for router fa45e128-6612-41b5-a13a-7a5e0797b3ac to network 06a9634a-91a0-4e9f-b888-35378b1f42dc 2025-05-26 02:25:27,120 - INFO - Adding interface with subnet_id 0ebaf270-1cb7-48b5-9fe0-92dbaf0ce6e2, port_id None to router fa45e128-6612-41b5-a13a-7a5e0797b3ac 2025-05-26 02:25:27,620 - INFO - Waiting for VM ctest-TestRoutersBasic-19721006-32846725 to be up.. 2025-05-26 02:25:27,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-26 02:25:32,946 - DEBUG - VM is in ACTIVE state now 2025-05-26 02:25:32,946 - INFO - VM name : ctest-TestRoutersBasic-19721006-32846725 2025-05-26 02:25:33,045 - DEBUG - VM ctest-TestRoutersBasic-19721006-32846725 ID is 88befba6-996d-4fe8-9d03-952e7d026472 2025-05-26 02:25:33,069 - DEBUG - VM ctest-TestRoutersBasic-19721006-32846725 launched on Node cn-jenkins-deploy-platform-ansible-os-3338-1 2025-05-26 02:25:33,183 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/88befba6-996d-4fe8-9d03-952e7d026472 2025-05-26 02:25:33,484 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/88befba6-996d-4fe8-9d03-952e7d026472 2025-05-26 02:25:33,525 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e32b99fc-8da1-481d-a953-c52703da686a 2025-05-26 02:25:36,823 - 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 1022ms') 2025-05-26 02:25:36,823 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19721006-32846725 failed! 2025-05-26 02:25:36,885 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19721006:ctest-vn-50922456 is 31.143.150.1 and allocation pool is NOT set 2025-05-26 02:25:38,943 - 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=4.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.953 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.953/2.710/4.468/1.757 ms') 2025-05-26 02:25:38,943 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19721006-32846725 passed 2025-05-26 02:25:39,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-26 02:25:39,058 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19721006-32846725, IP 31.143.150.3, Port 22 2025-05-26 02:25:39,223 - DEBUG - VM ctest-TestRoutersBasic-19721006-32846725 is ready for SSH connections 2025-05-26 02:25:39,223 - INFO - Waiting for VM ctest-TestRoutersBasic-19721006-39028611 to be up.. 2025-05-26 02:25:39,320 - DEBUG - VM is in ACTIVE state now 2025-05-26 02:25:39,321 - INFO - VM name : ctest-TestRoutersBasic-19721006-39028611 2025-05-26 02:25:39,417 - DEBUG - VM ctest-TestRoutersBasic-19721006-39028611 ID is 298ae41d-1c02-48b9-b4ea-66b8657b4782 2025-05-26 02:25:39,417 - DEBUG - VM ctest-TestRoutersBasic-19721006-39028611 launched on Node cn-jenkins-deploy-platform-ansible-os-3338-1 2025-05-26 02:25:39,506 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/298ae41d-1c02-48b9-b4ea-66b8657b4782 2025-05-26 02:25:39,539 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6f380ece-2010-4b27-8e1c-550388f58713 2025-05-26 02:25:40,793 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.31 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.311/3.308/4.305/0.997 ms') 2025-05-26 02:25:40,793 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19721006-39028611 passed 2025-05-26 02:25:40,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-26 02:25:40,962 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19721006-39028611, IP 103.201.132.3, Port 22 2025-05-26 02:25:41,132 - DEBUG - VM ctest-TestRoutersBasic-19721006-39028611 is ready for SSH connections 2025-05-26 02:25:41,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-26 02:25:41,132 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.201.132.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-26 02:25:41,132 - DEBUG - ping -s 56 -c 3 -W 1 103.201.132.3 2025-05-26 02:25:44,863 - DEBUG - PING 103.201.132.3 (103.201.132.3): 56 data bytes 64 bytes from 103.201.132.3: seq=0 ttl=62 time=7.975 ms 64 bytes from 103.201.132.3: seq=1 ttl=62 time=0.925 ms 64 bytes from 103.201.132.3: seq=2 ttl=62 time=1.151 ms --- 103.201.132.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.925/3.350/7.975 ms 2025-05-26 02:25:44,863 - INFO - Ping to IP 103.201.132.3 from VM ctest-TestRoutersBasic-19721006-32846725 passed 2025-05-26 02:25:44,863 - INFO - Deleting interface with subnet_id 0ebaf270-1cb7-48b5-9fe0-92dbaf0ce6e2, port_id None from router fa45e128-6612-41b5-a13a-7a5e0797b3ac 2025-05-26 02:25:45,110 - INFO - Deleting VM ctest-TestRoutersBasic-19721006-39028611 2025-05-26 02:25:45,201 - INFO - Deleting VM ctest-TestRoutersBasic-19721006-32846725 2025-05-26 02:25:45,306 - INFO - Deleting VN ctest-ext_vn-43323113 2025-05-26 02:25:45,409 - DEBUG - VN 06a9634a-91a0-4e9f-b888-35378b1f42dc still in use: Unable to complete operation on network 06a9634a-91a0-4e9f-b888-35378b1f42dc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca580e3e-1e52-411e-ab1f-c404a035e3d4'] 2025-05-26 02:25:45,409 - WARNING - Deleting VN ctest-ext_vn-43323113 failed..Will retry 2025-05-26 02:25:47,546 - DEBUG - Response for deleting network () 2025-05-26 02:25:47,546 - INFO - Deleting VN ctest-vn-50922456 2025-05-26 02:25:47,679 - DEBUG - Response for deleting network () 2025-05-26 02:25:47,940 - DEBUG - No XMPP flaps were noticed during the test 2025-05-26 02:25:47,940 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-05-26 02:25:47,940 - INFO - -------------------------------------------------------------------------------- 2025-05-26 02:25:48,670 - INFO - Deleted project: ctest-TestRoutersBasic-19721006, ID : 91c72ab8-2ffc-4bfa-b763-c64cca3e2221