2025-11-05 16:13:36,893 - INFO - Domain Default found not creating 2025-11-05 16:13:37,027 - INFO - Project ctest-TestRoutersBasic-30920346 not found, creating it 2025-11-05 16:13:37,668 - INFO - Created Project:ctest-TestRoutersBasic-30920346, ID : e1f4f6aa-194c-44b6-8204-7dbfb2175f10 2025-11-05 16:13:39,094 - INFO - ================================================================================ 2025-11-05 16:13:39,095 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-05 16:13:39,095 - 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-11-05 16:13:39,342 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.192': '0'}} with 2025-11-05 16:13:39,342 - INFO - Initial checks done. Running the testcase now 2025-11-05 16:13:39,342 - INFO - 2025-11-05 16:13:40,013 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30920346 2025-11-05 16:13:40,110 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30920346 2025-11-05 16:13:40,433 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30920346', 'default']} 2025-11-05 16:13:40,711 - DEBUG - Response for create_network : {'network': {'id': '324f0159-33f4-4b6e-86f9-813212148e24', 'name': 'ctest-vn-74631756', 'tenant_id': 'e1f4f6aa194c44b682047dbfb2175f10', 'project_id': 'e1f4f6aa194c44b682047dbfb2175f10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30920346', 'ctest-vn-74631756'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:13:40,869 - DEBUG - Response for create_subnet : {'subnet': {'id': '1408e601-aa3e-4c2c-87a6-91d9ab993461', 'name': '', 'tenant_id': 'e1f4f6aa194c44b682047dbfb2175f10', 'network_id': '324f0159-33f4-4b6e-86f9-813212148e24', 'ip_version': 4, 'cidr': '145.25.153.0/26', 'allocation_pools': [{'start': '145.25.153.2', 'end': '145.25.153.62'}], 'gateway_ip': '145.25.153.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.25.153.2', 'tags': [], 'project_id': 'e1f4f6aa194c44b682047dbfb2175f10'}} 2025-11-05 16:13:40,884 - INFO - Created VN ctest-vn-74631756 2025-11-05 16:13:40,934 - DEBUG - VN ctest-vn-74631756 UUID is 324f0159-33f4-4b6e-86f9-813212148e24 2025-11-05 16:13:41,220 - DEBUG - Response for create_network : {'network': {'id': '9ac3aef7-db74-45a9-8aad-2a8370d084a3', 'name': 'ctest-ext_vn-80548358', 'tenant_id': 'e1f4f6aa194c44b682047dbfb2175f10', 'project_id': 'e1f4f6aa194c44b682047dbfb2175f10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30920346', 'ctest-ext_vn-80548358'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:13:41,434 - DEBUG - Response for create_subnet : {'subnet': {'id': '3cf9bf48-6d83-46fd-86e6-f8961db8550d', 'name': '', 'tenant_id': 'e1f4f6aa194c44b682047dbfb2175f10', 'network_id': '9ac3aef7-db74-45a9-8aad-2a8370d084a3', 'ip_version': 4, 'cidr': '182.15.185.64/26', 'allocation_pools': [{'start': '182.15.185.66', 'end': '182.15.185.126'}], 'gateway_ip': '182.15.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.15.185.66', 'tags': [], 'project_id': 'e1f4f6aa194c44b682047dbfb2175f10'}} 2025-11-05 16:13:41,451 - INFO - Created VN ctest-ext_vn-80548358 2025-11-05 16:13:41,502 - DEBUG - VN ctest-ext_vn-80548358 UUID is 9ac3aef7-db74-45a9-8aad-2a8370d084a3 2025-11-05 16:13:41,699 - DEBUG - Services list from nova: [, , ] 2025-11-05 16:13:42,683 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4648-1) 2025-11-05 16:13:43,832 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4648-1) 2025-11-05 16:13:43,900 - INFO - Setting gateway for router 1afebdc2-8bbd-43de-9fee-715fe4ce153c to network 9ac3aef7-db74-45a9-8aad-2a8370d084a3 2025-11-05 16:13:43,952 - INFO - Adding interface with subnet_id 1408e601-aa3e-4c2c-87a6-91d9ab993461, port_id None to router 1afebdc2-8bbd-43de-9fee-715fe4ce153c 2025-11-05 16:13:44,291 - INFO - Waiting for VM ctest-TestRoutersBasic-30920346-82608028 to be up.. 2025-11-05 16:13:44,444 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 16:13:49,521 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:13:49,521 - INFO - VM name : ctest-TestRoutersBasic-30920346-82608028 2025-11-05 16:13:49,596 - DEBUG - VM ctest-TestRoutersBasic-30920346-82608028 ID is f3055f4f-3c95-4750-b37f-704157e2b90a 2025-11-05 16:13:49,618 - DEBUG - VM ctest-TestRoutersBasic-30920346-82608028 launched on Node cn-jenkins-deploy-platform-ansible-os-4648-1 2025-11-05 16:13:49,685 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f3055f4f-3c95-4750-b37f-704157e2b90a 2025-11-05 16:13:49,975 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f3055f4f-3c95-4750-b37f-704157e2b90a 2025-11-05 16:13:50,005 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0f622c86-1459-4639-a7fa-666e31ed70ea 2025-11-05 16:13:53,260 - 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-11-05 16:13:53,260 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30920346-82608028 failed! 2025-11-05 16:13:53,313 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30920346:ctest-vn-74631756 is 145.25.153.1 and allocation pool is NOT set 2025-11-05 16:13:55,378 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.380/1.838/3.296/1.458 ms') 2025-11-05 16:13:55,378 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30920346-82608028 passed 2025-11-05 16:13:55,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:13:55,526 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30920346-82608028, IP 145.25.153.3, Port 22 2025-11-05 16:13:55,678 - DEBUG - VM ctest-TestRoutersBasic-30920346-82608028 is ready for SSH connections 2025-11-05 16:13:55,678 - INFO - Waiting for VM ctest-TestRoutersBasic-30920346-04994102 to be up.. 2025-11-05 16:13:55,743 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:13:55,744 - INFO - VM name : ctest-TestRoutersBasic-30920346-04994102 2025-11-05 16:13:55,803 - DEBUG - VM ctest-TestRoutersBasic-30920346-04994102 ID is 825e2f1a-5098-40a0-a44c-581b6787a5d4 2025-11-05 16:13:55,803 - DEBUG - VM ctest-TestRoutersBasic-30920346-04994102 launched on Node cn-jenkins-deploy-platform-ansible-os-4648-1 2025-11-05 16:13:55,867 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/825e2f1a-5098-40a0-a44c-581b6787a5d4 2025-11-05 16:13:55,874 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3260b60b-0508-41c5-b93b-2f1e5086a277 2025-11-05 16:13:57,105 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.366 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.366/1.832/3.298/1.466 ms') 2025-11-05 16:13:57,105 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-30920346-04994102 passed 2025-11-05 16:13:57,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:13:57,254 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30920346-04994102, IP 182.15.185.67, Port 22 2025-11-05 16:13:57,410 - DEBUG - VM ctest-TestRoutersBasic-30920346-04994102 is ready for SSH connections 2025-11-05 16:13:57,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:13:57,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.15.185.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 16:13:57,410 - DEBUG - ping -s 56 -c 3 -W 1 182.15.185.67 2025-11-05 16:14:01,411 - DEBUG - PING 182.15.185.67 (182.15.185.67): 56 data bytes 64 bytes from 182.15.185.67: seq=0 ttl=62 time=4.945 ms 64 bytes from 182.15.185.67: seq=1 ttl=62 time=0.804 ms 64 bytes from 182.15.185.67: seq=2 ttl=62 time=0.808 ms --- 182.15.185.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.804/2.185/4.945 ms 2025-11-05 16:14:01,411 - INFO - Ping to IP 182.15.185.67 from VM ctest-TestRoutersBasic-30920346-82608028 passed 2025-11-05 16:14:01,412 - INFO - Deleting interface with subnet_id 1408e601-aa3e-4c2c-87a6-91d9ab993461, port_id None from router 1afebdc2-8bbd-43de-9fee-715fe4ce153c 2025-11-05 16:14:01,595 - INFO - Deleting VM ctest-TestRoutersBasic-30920346-04994102 2025-11-05 16:14:01,670 - INFO - Deleting VM ctest-TestRoutersBasic-30920346-82608028 2025-11-05 16:14:01,750 - INFO - Deleting VN ctest-ext_vn-80548358 2025-11-05 16:14:01,815 - DEBUG - VN 9ac3aef7-db74-45a9-8aad-2a8370d084a3 still in use: Unable to complete operation on network 9ac3aef7-db74-45a9-8aad-2a8370d084a3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4b2ed374-5409-46dd-9688-9b9e7e5433da'] 2025-11-05 16:14:01,815 - WARNING - Deleting VN ctest-ext_vn-80548358 failed..Will retry 2025-11-05 16:14:03,896 - DEBUG - Response for deleting network () 2025-11-05 16:14:03,896 - INFO - Deleting VN ctest-vn-74631756 2025-11-05 16:14:03,979 - DEBUG - Response for deleting network () 2025-11-05 16:14:04,230 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 16:14:04,230 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-05 16:14:04,230 - INFO - -------------------------------------------------------------------------------- 2025-11-05 16:14:04,881 - INFO - Deleted project: ctest-TestRoutersBasic-30920346, ID : e1f4f6aa-194c-44b6-8204-7dbfb2175f10