2025-06-19 02:10:56,609 - INFO - Domain Default found not creating 2025-06-19 02:10:56,756 - INFO - Project ctest-TestRoutersBasic-48183072 not found, creating it 2025-06-19 02:10:57,196 - INFO - Created Project:ctest-TestRoutersBasic-48183072, ID : 3cb9713a-1f81-40d6-83aa-27073d8a4708 2025-06-19 02:10:58,595 - INFO - ================================================================================ 2025-06-19 02:10:58,596 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-19 02:10:58,596 - 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-06-19 02:10:58,848 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-06-19 02:10:58,848 - INFO - Initial checks done. Running the testcase now 2025-06-19 02:10:58,848 - INFO - 2025-06-19 02:10:59,539 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-48183072 2025-06-19 02:10:59,635 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-48183072 2025-06-19 02:10:59,958 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48183072', 'default']} 2025-06-19 02:11:00,249 - DEBUG - Response for create_network : {'network': {'id': '35628a75-7f18-41bc-8b1b-a9efe7b8be5b', 'name': 'ctest-vn-49436107', 'tenant_id': '3cb9713a1f8140d683aa27073d8a4708', 'project_id': '3cb9713a1f8140d683aa27073d8a4708', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48183072', 'ctest-vn-49436107'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 02:11:00,591 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb9ed22e-3e5e-4824-accf-da44e9333611', 'name': '', 'tenant_id': '3cb9713a1f8140d683aa27073d8a4708', 'network_id': '35628a75-7f18-41bc-8b1b-a9efe7b8be5b', 'ip_version': 4, 'cidr': '75.146.248.64/26', 'allocation_pools': [{'start': '75.146.248.66', 'end': '75.146.248.126'}], 'gateway_ip': '75.146.248.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.146.248.66', 'tags': [], 'project_id': '3cb9713a1f8140d683aa27073d8a4708'}} 2025-06-19 02:11:00,608 - INFO - Created VN ctest-vn-49436107 2025-06-19 02:11:00,663 - DEBUG - VN ctest-vn-49436107 UUID is 35628a75-7f18-41bc-8b1b-a9efe7b8be5b 2025-06-19 02:11:00,998 - DEBUG - Response for create_network : {'network': {'id': '64caae93-cda2-4ed7-8dd1-9d74d8218f69', 'name': 'ctest-ext_vn-89878336', 'tenant_id': '3cb9713a1f8140d683aa27073d8a4708', 'project_id': '3cb9713a1f8140d683aa27073d8a4708', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48183072', 'ctest-ext_vn-89878336'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 02:11:01,225 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe50210a-4a21-49c4-be45-d9e4be3a2898', 'name': '', 'tenant_id': '3cb9713a1f8140d683aa27073d8a4708', 'network_id': '64caae93-cda2-4ed7-8dd1-9d74d8218f69', 'ip_version': 4, 'cidr': '61.94.122.128/26', 'allocation_pools': [{'start': '61.94.122.130', 'end': '61.94.122.190'}], 'gateway_ip': '61.94.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.94.122.130', 'tags': [], 'project_id': '3cb9713a1f8140d683aa27073d8a4708'}} 2025-06-19 02:11:01,243 - INFO - Created VN ctest-ext_vn-89878336 2025-06-19 02:11:01,295 - DEBUG - VN ctest-ext_vn-89878336 UUID is 64caae93-cda2-4ed7-8dd1-9d74d8218f69 2025-06-19 02:11:01,502 - DEBUG - Services list from nova: [, , ] 2025-06-19 02:11:02,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3483-1) 2025-06-19 02:11:03,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3483-1) 2025-06-19 02:11:03,678 - INFO - Setting gateway for router 86388ac8-9f9e-4948-ae66-38940fead2d0 to network 64caae93-cda2-4ed7-8dd1-9d74d8218f69 2025-06-19 02:11:03,747 - INFO - Adding interface with subnet_id cb9ed22e-3e5e-4824-accf-da44e9333611, port_id None to router 86388ac8-9f9e-4948-ae66-38940fead2d0 2025-06-19 02:11:04,122 - INFO - Waiting for VM ctest-TestRoutersBasic-48183072-60843831 to be up.. 2025-06-19 02:11:04,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 02:11:09,378 - DEBUG - VM is in ACTIVE state now 2025-06-19 02:11:09,379 - INFO - VM name : ctest-TestRoutersBasic-48183072-60843831 2025-06-19 02:11:09,455 - DEBUG - VM ctest-TestRoutersBasic-48183072-60843831 ID is fefd635b-5834-46b4-97dd-7468a440790b 2025-06-19 02:11:09,479 - DEBUG - VM ctest-TestRoutersBasic-48183072-60843831 launched on Node cn-jenkins-deploy-platform-ansible-os-3483-1 2025-06-19 02:11:09,550 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fefd635b-5834-46b4-97dd-7468a440790b 2025-06-19 02:11:09,844 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fefd635b-5834-46b4-97dd-7468a440790b 2025-06-19 02:11:09,874 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4fa6925a-5b61-4b3f-ab37-b94b1a5d6103 2025-06-19 02:11:13,134 - 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-06-19 02:11:13,134 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48183072-60843831 failed! 2025-06-19 02:11:13,191 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-48183072:ctest-vn-49436107 is 75.146.248.65 and allocation pool is NOT set 2025-06-19 02:11:15,263 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.335 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.335/1.543/2.751/1.208 ms') 2025-06-19 02:11:15,263 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48183072-60843831 passed 2025-06-19 02:11:15,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 02:11:15,423 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48183072-60843831, IP 75.146.248.67, Port 22 2025-06-19 02:11:15,574 - DEBUG - VM ctest-TestRoutersBasic-48183072-60843831 is ready for SSH connections 2025-06-19 02:11:15,574 - INFO - Waiting for VM ctest-TestRoutersBasic-48183072-34673112 to be up.. 2025-06-19 02:11:15,648 - DEBUG - VM is in ACTIVE state now 2025-06-19 02:11:15,648 - INFO - VM name : ctest-TestRoutersBasic-48183072-34673112 2025-06-19 02:11:15,733 - DEBUG - VM ctest-TestRoutersBasic-48183072-34673112 ID is edf22353-81a2-4830-bc3a-bda695794dff 2025-06-19 02:11:15,733 - DEBUG - VM ctest-TestRoutersBasic-48183072-34673112 launched on Node cn-jenkins-deploy-platform-ansible-os-3483-1 2025-06-19 02:11:15,806 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/edf22353-81a2-4830-bc3a-bda695794dff 2025-06-19 02:11:15,814 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c6675bab-a7a3-4e18-a2fe-1052030a2705 2025-06-19 02:11:17,046 - 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=3.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.613 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.613/1.934/3.255/1.321 ms') 2025-06-19 02:11:17,046 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-48183072-34673112 passed 2025-06-19 02:11:17,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 02:11:17,235 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48183072-34673112, IP 61.94.122.131, Port 22 2025-06-19 02:11:17,405 - DEBUG - VM ctest-TestRoutersBasic-48183072-34673112 is ready for SSH connections 2025-06-19 02:11:17,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 02:11:17,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.94.122.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-19 02:11:17,406 - DEBUG - ping -s 56 -c 3 -W 1 61.94.122.131 2025-06-19 02:11:21,081 - DEBUG - PING 61.94.122.131 (61.94.122.131): 56 data bytes 64 bytes from 61.94.122.131: seq=0 ttl=62 time=6.622 ms 64 bytes from 61.94.122.131: seq=1 ttl=62 time=0.819 ms 64 bytes from 61.94.122.131: seq=2 ttl=62 time=0.947 ms --- 61.94.122.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/2.796/6.622 ms 2025-06-19 02:11:21,082 - INFO - Ping to IP 61.94.122.131 from VM ctest-TestRoutersBasic-48183072-60843831 passed 2025-06-19 02:11:21,082 - INFO - Deleting interface with subnet_id cb9ed22e-3e5e-4824-accf-da44e9333611, port_id None from router 86388ac8-9f9e-4948-ae66-38940fead2d0 2025-06-19 02:11:21,269 - INFO - Deleting VM ctest-TestRoutersBasic-48183072-34673112 2025-06-19 02:11:21,338 - INFO - Deleting VM ctest-TestRoutersBasic-48183072-60843831 2025-06-19 02:11:21,413 - INFO - Deleting VN ctest-ext_vn-89878336 2025-06-19 02:11:21,482 - DEBUG - VN 64caae93-cda2-4ed7-8dd1-9d74d8218f69 still in use: Unable to complete operation on network 64caae93-cda2-4ed7-8dd1-9d74d8218f69. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ab9f9c07-7e10-4a6d-86a8-71259a40a797'] 2025-06-19 02:11:21,482 - WARNING - Deleting VN ctest-ext_vn-89878336 failed..Will retry 2025-06-19 02:11:23,596 - DEBUG - Response for deleting network () 2025-06-19 02:11:23,596 - INFO - Deleting VN ctest-vn-49436107 2025-06-19 02:11:23,728 - DEBUG - Response for deleting network () 2025-06-19 02:11:23,996 - DEBUG - No XMPP flaps were noticed during the test 2025-06-19 02:11:23,996 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-06-19 02:11:23,996 - INFO - -------------------------------------------------------------------------------- 2025-06-19 02:11:24,689 - INFO - Deleted project: ctest-TestRoutersBasic-48183072, ID : 3cb9713a-1f81-40d6-83aa-27073d8a4708