2025-07-14 02:06:28,338 - INFO - Domain Default found not creating 2025-07-14 02:06:28,477 - INFO - Project ctest-TestRoutersBasic-09136022 not found, creating it 2025-07-14 02:06:28,923 - INFO - Created Project:ctest-TestRoutersBasic-09136022, ID : ac914b97-e3b2-4095-8db6-8e5361bb3ad4 2025-07-14 02:06:30,352 - INFO - ================================================================================ 2025-07-14 02:06:30,352 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-14 02:06:30,353 - 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-07-14 02:06:30,608 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.252': '0'}} with 2025-07-14 02:06:30,608 - INFO - Initial checks done. Running the testcase now 2025-07-14 02:06:30,608 - INFO - 2025-07-14 02:06:31,319 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09136022 2025-07-14 02:06:31,418 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09136022 2025-07-14 02:06:31,745 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09136022', 'default']} 2025-07-14 02:06:32,033 - DEBUG - Response for create_network : {'network': {'id': '479f4066-6fd6-43c9-906f-2730bfe5883c', 'name': 'ctest-vn-13599767', 'tenant_id': 'ac914b97e3b240958db68e5361bb3ad4', 'project_id': 'ac914b97e3b240958db68e5361bb3ad4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09136022', 'ctest-vn-13599767'], 'port_security_enabled': True, 'description': ''}} 2025-07-14 02:06:32,179 - DEBUG - Response for create_subnet : {'subnet': {'id': '916d388f-7f1f-4f8d-95c4-80bd33ee9b05', 'name': '', 'tenant_id': 'ac914b97e3b240958db68e5361bb3ad4', 'network_id': '479f4066-6fd6-43c9-906f-2730bfe5883c', 'ip_version': 4, 'cidr': '95.136.69.128/26', 'allocation_pools': [{'start': '95.136.69.130', 'end': '95.136.69.190'}], 'gateway_ip': '95.136.69.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.136.69.130', 'tags': [], 'project_id': 'ac914b97e3b240958db68e5361bb3ad4'}} 2025-07-14 02:06:32,198 - INFO - Created VN ctest-vn-13599767 2025-07-14 02:06:32,250 - DEBUG - VN ctest-vn-13599767 UUID is 479f4066-6fd6-43c9-906f-2730bfe5883c 2025-07-14 02:06:32,592 - DEBUG - Response for create_network : {'network': {'id': 'c65c6bd7-8f9e-4b74-9bce-eb69b7420bd5', 'name': 'ctest-ext_vn-03582585', 'tenant_id': 'ac914b97e3b240958db68e5361bb3ad4', 'project_id': 'ac914b97e3b240958db68e5361bb3ad4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09136022', 'ctest-ext_vn-03582585'], 'port_security_enabled': True, 'description': ''}} 2025-07-14 02:06:32,793 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fa3c957-06ac-46af-87de-07cfafb0ad78', 'name': '', 'tenant_id': 'ac914b97e3b240958db68e5361bb3ad4', 'network_id': 'c65c6bd7-8f9e-4b74-9bce-eb69b7420bd5', 'ip_version': 4, 'cidr': '115.9.27.0/26', 'allocation_pools': [{'start': '115.9.27.2', 'end': '115.9.27.62'}], 'gateway_ip': '115.9.27.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.9.27.2', 'tags': [], 'project_id': 'ac914b97e3b240958db68e5361bb3ad4'}} 2025-07-14 02:06:32,812 - INFO - Created VN ctest-ext_vn-03582585 2025-07-14 02:06:32,865 - DEBUG - VN ctest-ext_vn-03582585 UUID is c65c6bd7-8f9e-4b74-9bce-eb69b7420bd5 2025-07-14 02:06:33,032 - DEBUG - Services list from nova: [, , ] 2025-07-14 02:06:34,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3637-1) 2025-07-14 02:06:35,235 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3637-1) 2025-07-14 02:06:35,326 - INFO - Setting gateway for router 5df7a812-2abf-45a1-97b1-19b8b06f6dce to network c65c6bd7-8f9e-4b74-9bce-eb69b7420bd5 2025-07-14 02:06:35,419 - INFO - Adding interface with subnet_id 916d388f-7f1f-4f8d-95c4-80bd33ee9b05, port_id None to router 5df7a812-2abf-45a1-97b1-19b8b06f6dce 2025-07-14 02:06:35,871 - INFO - Waiting for VM ctest-TestRoutersBasic-09136022-06670236 to be up.. 2025-07-14 02:06:36,004 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-14 02:06:41,089 - DEBUG - VM is in ACTIVE state now 2025-07-14 02:06:41,089 - INFO - VM name : ctest-TestRoutersBasic-09136022-06670236 2025-07-14 02:06:41,176 - DEBUG - VM ctest-TestRoutersBasic-09136022-06670236 ID is 66a86e58-b373-4c65-a640-3023193e33b8 2025-07-14 02:06:41,201 - DEBUG - VM ctest-TestRoutersBasic-09136022-06670236 launched on Node cn-jenkins-deploy-platform-ansible-os-3637-1 2025-07-14 02:06:41,289 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/66a86e58-b373-4c65-a640-3023193e33b8 2025-07-14 02:06:41,597 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/66a86e58-b373-4c65-a640-3023193e33b8 2025-07-14 02:06:41,631 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/35c7346e-f7d8-41f0-a63b-155bd23ff0d1 2025-07-14 02:06:44,915 - 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 1025ms') 2025-07-14 02:06:44,915 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09136022-06670236 failed! 2025-07-14 02:06:44,969 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09136022:ctest-vn-13599767 is 95.136.69.129 and allocation pool is NOT set 2025-07-14 02:06:47,038 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.441 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.441/1.573/2.705/1.132 ms') 2025-07-14 02:06:47,038 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09136022-06670236 passed 2025-07-14 02:06:47,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 02:06:47,149 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09136022-06670236, IP 95.136.69.131, Port 22 2025-07-14 02:06:47,309 - DEBUG - VM ctest-TestRoutersBasic-09136022-06670236 is ready for SSH connections 2025-07-14 02:06:47,309 - INFO - Waiting for VM ctest-TestRoutersBasic-09136022-38786372 to be up.. 2025-07-14 02:06:47,401 - DEBUG - VM is in ACTIVE state now 2025-07-14 02:06:47,402 - INFO - VM name : ctest-TestRoutersBasic-09136022-38786372 2025-07-14 02:06:47,483 - DEBUG - VM ctest-TestRoutersBasic-09136022-38786372 ID is 38e548f0-2e48-411c-ada7-f160e42e04e1 2025-07-14 02:06:47,483 - DEBUG - VM ctest-TestRoutersBasic-09136022-38786372 launched on Node cn-jenkins-deploy-platform-ansible-os-3637-1 2025-07-14 02:06:47,561 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/38e548f0-2e48-411c-ada7-f160e42e04e1 2025-07-14 02:06:47,578 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3582d4de-fafe-44f6-99a3-02f3962ccc82 2025-07-14 02:06:48,835 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.362 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 = 0.362/2.316/4.271/1.954 ms') 2025-07-14 02:06:48,835 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-09136022-38786372 passed 2025-07-14 02:06:48,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 02:06:48,990 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09136022-38786372, IP 115.9.27.3, Port 22 2025-07-14 02:06:49,149 - DEBUG - VM ctest-TestRoutersBasic-09136022-38786372 is ready for SSH connections 2025-07-14 02:06:49,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 02:06:49,149 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.9.27.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-07-14 02:06:49,150 - DEBUG - ping -s 56 -c 3 -W 1 115.9.27.3 2025-07-14 02:06:53,148 - DEBUG - PING 115.9.27.3 (115.9.27.3): 56 data bytes 64 bytes from 115.9.27.3: seq=0 ttl=62 time=4.900 ms 64 bytes from 115.9.27.3: seq=1 ttl=62 time=0.772 ms 64 bytes from 115.9.27.3: seq=2 ttl=62 time=0.885 ms --- 115.9.27.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/2.185/4.900 ms 2025-07-14 02:06:53,148 - INFO - Ping to IP 115.9.27.3 from VM ctest-TestRoutersBasic-09136022-06670236 passed 2025-07-14 02:06:53,148 - INFO - Deleting interface with subnet_id 916d388f-7f1f-4f8d-95c4-80bd33ee9b05, port_id None from router 5df7a812-2abf-45a1-97b1-19b8b06f6dce 2025-07-14 02:06:53,370 - INFO - Deleting VM ctest-TestRoutersBasic-09136022-38786372 2025-07-14 02:06:53,448 - INFO - Deleting VM ctest-TestRoutersBasic-09136022-06670236 2025-07-14 02:06:53,529 - INFO - Deleting VN ctest-ext_vn-03582585 2025-07-14 02:06:53,601 - DEBUG - VN c65c6bd7-8f9e-4b74-9bce-eb69b7420bd5 still in use: Unable to complete operation on network c65c6bd7-8f9e-4b74-9bce-eb69b7420bd5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-584cd212-5aa5-40bc-8f26-f3ed8ccc43f3'] 2025-07-14 02:06:53,602 - WARNING - Deleting VN ctest-ext_vn-03582585 failed..Will retry 2025-07-14 02:06:55,702 - DEBUG - Response for deleting network () 2025-07-14 02:06:55,702 - INFO - Deleting VN ctest-vn-13599767 2025-07-14 02:06:55,813 - DEBUG - Response for deleting network () 2025-07-14 02:06:56,067 - DEBUG - No XMPP flaps were noticed during the test 2025-07-14 02:06:56,067 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-07-14 02:06:56,068 - INFO - -------------------------------------------------------------------------------- 2025-07-14 02:06:56,717 - INFO - Deleted project: ctest-TestRoutersBasic-09136022, ID : ac914b97-e3b2-4095-8db6-8e5361bb3ad4