2025-12-10 17:11:45,118 - INFO - Domain Default found not creating 2025-12-10 17:11:45,368 - INFO - Project ctest-TestRoutersBasic-69541207 not found, creating it 2025-12-10 17:11:45,963 - INFO - Created Project:ctest-TestRoutersBasic-69541207, ID : 13708f8c-7fc6-455c-92e9-9769f4c8001f 2025-12-10 17:11:48,217 - INFO - ================================================================================ 2025-12-10 17:11:48,217 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-10 17:11:48,218 - 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-12-10 17:11:48,547 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-12-10 17:11:48,548 - INFO - Initial checks done. Running the testcase now 2025-12-10 17:11:48,548 - INFO - 2025-12-10 17:11:49,438 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69541207 2025-12-10 17:11:49,540 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69541207 2025-12-10 17:11:49,920 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69541207', 'default']} 2025-12-10 17:11:50,263 - DEBUG - Response for create_network : {'network': {'id': '76ead9a9-56c2-406a-83e7-6fb6868f1394', 'name': 'ctest-vn-43290432', 'tenant_id': '13708f8c7fc6455c92e99769f4c8001f', 'project_id': '13708f8c7fc6455c92e99769f4c8001f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69541207', 'ctest-vn-43290432'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:11:50,525 - DEBUG - Response for create_subnet : {'subnet': {'id': '9075abaa-a615-4cad-8b38-02667009afa8', 'name': '', 'tenant_id': '13708f8c7fc6455c92e99769f4c8001f', 'network_id': '76ead9a9-56c2-406a-83e7-6fb6868f1394', 'ip_version': 4, 'cidr': '207.19.117.64/26', 'allocation_pools': [{'start': '207.19.117.66', 'end': '207.19.117.126'}], 'gateway_ip': '207.19.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.19.117.66', 'tags': [], 'project_id': '13708f8c7fc6455c92e99769f4c8001f'}} 2025-12-10 17:11:50,549 - INFO - Created VN ctest-vn-43290432 2025-12-10 17:11:50,607 - DEBUG - VN ctest-vn-43290432 UUID is 76ead9a9-56c2-406a-83e7-6fb6868f1394 2025-12-10 17:11:51,087 - DEBUG - Response for create_network : {'network': {'id': '4b9405cb-c2cf-47a7-964b-bae57802f416', 'name': 'ctest-ext_vn-94546402', 'tenant_id': '13708f8c7fc6455c92e99769f4c8001f', 'project_id': '13708f8c7fc6455c92e99769f4c8001f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69541207', 'ctest-ext_vn-94546402'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:11:51,344 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bb00bbb-df2a-46a3-abbd-5aa63e2ae429', 'name': '', 'tenant_id': '13708f8c7fc6455c92e99769f4c8001f', 'network_id': '4b9405cb-c2cf-47a7-964b-bae57802f416', 'ip_version': 4, 'cidr': '132.123.254.64/26', 'allocation_pools': [{'start': '132.123.254.66', 'end': '132.123.254.126'}], 'gateway_ip': '132.123.254.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.123.254.66', 'tags': [], 'project_id': '13708f8c7fc6455c92e99769f4c8001f'}} 2025-12-10 17:11:51,372 - INFO - Created VN ctest-ext_vn-94546402 2025-12-10 17:11:51,436 - DEBUG - VN ctest-ext_vn-94546402 UUID is 4b9405cb-c2cf-47a7-964b-bae57802f416 2025-12-10 17:11:51,676 - DEBUG - Services list from nova: [, , ] 2025-12-10 17:11:53,129 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4876-1) 2025-12-10 17:11:54,541 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4876-1) 2025-12-10 17:11:54,619 - INFO - Setting gateway for router 359fff25-76c1-4f49-9a84-4bfba0dbc90c to network 4b9405cb-c2cf-47a7-964b-bae57802f416 2025-12-10 17:11:54,669 - INFO - Adding interface with subnet_id 9075abaa-a615-4cad-8b38-02667009afa8, port_id None to router 359fff25-76c1-4f49-9a84-4bfba0dbc90c 2025-12-10 17:11:54,945 - INFO - Waiting for VM ctest-TestRoutersBasic-69541207-81191344 to be up.. 2025-12-10 17:11:55,066 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-10 17:12:00,217 - DEBUG - VM is in ACTIVE state now 2025-12-10 17:12:00,217 - INFO - VM name : ctest-TestRoutersBasic-69541207-81191344 2025-12-10 17:12:00,305 - DEBUG - VM ctest-TestRoutersBasic-69541207-81191344 ID is 6ce79a6a-f707-4559-82ff-03015bc34b5e 2025-12-10 17:12:00,325 - DEBUG - VM ctest-TestRoutersBasic-69541207-81191344 launched on Node cn-jenkins-deploy-platform-ansible-os-4876-1 2025-12-10 17:12:00,410 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6ce79a6a-f707-4559-82ff-03015bc34b5e 2025-12-10 17:12:00,736 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6ce79a6a-f707-4559-82ff-03015bc34b5e 2025-12-10 17:12:00,773 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/770c5e51-790a-401c-8930-40aa4821f0cf 2025-12-10 17:12:04,054 - 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 1010ms') 2025-12-10 17:12:04,054 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69541207-81191344 failed! 2025-12-10 17:12:04,116 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69541207:ctest-vn-43290432 is 207.19.117.65 and allocation pool is NOT set 2025-12-10 17:12:06,201 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.71 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 = 3.155/3.433/3.712/0.278 ms') 2025-12-10 17:12:06,201 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69541207-81191344 passed 2025-12-10 17:12:06,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:12:06,363 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69541207-81191344, IP 207.19.117.67, Port 22 2025-12-10 17:12:06,545 - DEBUG - VM ctest-TestRoutersBasic-69541207-81191344 is ready for SSH connections 2025-12-10 17:12:06,546 - INFO - Waiting for VM ctest-TestRoutersBasic-69541207-16098753 to be up.. 2025-12-10 17:12:06,669 - DEBUG - VM is in ACTIVE state now 2025-12-10 17:12:06,669 - INFO - VM name : ctest-TestRoutersBasic-69541207-16098753 2025-12-10 17:12:06,781 - DEBUG - VM ctest-TestRoutersBasic-69541207-16098753 ID is 1a4b3963-3abd-4774-a00a-2256819eecd0 2025-12-10 17:12:06,782 - DEBUG - VM ctest-TestRoutersBasic-69541207-16098753 launched on Node cn-jenkins-deploy-platform-ansible-os-4876-1 2025-12-10 17:12:06,889 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/1a4b3963-3abd-4774-a00a-2256819eecd0 2025-12-10 17:12:06,901 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/84725076-56bc-466f-9409-28936e91b8d9 2025-12-10 17:12:08,175 - 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=6.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.26 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 = 3.264/4.750/6.236/1.486 ms') 2025-12-10 17:12:08,175 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-69541207-16098753 passed 2025-12-10 17:12:08,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:12:08,356 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69541207-16098753, IP 132.123.254.67, Port 22 2025-12-10 17:12:08,554 - DEBUG - VM ctest-TestRoutersBasic-69541207-16098753 is ready for SSH connections 2025-12-10 17:12:08,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:12:08,555 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.123.254.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-10 17:12:08,555 - DEBUG - ping -s 56 -c 3 -W 1 132.123.254.67 2025-12-10 17:12:12,765 - DEBUG - PING 132.123.254.67 (132.123.254.67): 56 data bytes 64 bytes from 132.123.254.67: seq=0 ttl=62 time=14.563 ms 64 bytes from 132.123.254.67: seq=1 ttl=62 time=1.996 ms 64 bytes from 132.123.254.67: seq=2 ttl=62 time=2.244 ms --- 132.123.254.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.996/6.267/14.563 ms 2025-12-10 17:12:12,765 - INFO - Ping to IP 132.123.254.67 from VM ctest-TestRoutersBasic-69541207-81191344 passed 2025-12-10 17:12:12,766 - INFO - Deleting interface with subnet_id 9075abaa-a615-4cad-8b38-02667009afa8, port_id None from router 359fff25-76c1-4f49-9a84-4bfba0dbc90c 2025-12-10 17:12:13,076 - INFO - Deleting VM ctest-TestRoutersBasic-69541207-16098753 2025-12-10 17:12:13,140 - INFO - Deleting VM ctest-TestRoutersBasic-69541207-81191344 2025-12-10 17:12:13,216 - INFO - Deleting VN ctest-ext_vn-94546402 2025-12-10 17:12:13,294 - DEBUG - VN 4b9405cb-c2cf-47a7-964b-bae57802f416 still in use: Unable to complete operation on network 4b9405cb-c2cf-47a7-964b-bae57802f416. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fa1a7324-a83b-4270-b550-fbe80ef75818'] 2025-12-10 17:12:13,294 - WARNING - Deleting VN ctest-ext_vn-94546402 failed..Will retry 2025-12-10 17:12:15,463 - DEBUG - Response for deleting network () 2025-12-10 17:12:15,464 - INFO - Deleting VN ctest-vn-43290432 2025-12-10 17:12:15,595 - DEBUG - Response for deleting network () 2025-12-10 17:12:15,874 - DEBUG - No XMPP flaps were noticed during the test
2025-12-10 17:12:15,874 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-12-10 17:12:15,874 - INFO - -------------------------------------------------------------------------------- 2025-12-10 17:12:16,632 - INFO - Deleted project: ctest-TestRoutersBasic-69541207, ID : 13708f8c-7fc6-455c-92e9-9769f4c8001f