2025-10-23 19:05:20,451 - INFO - Domain Default found not creating 2025-10-23 19:05:20,635 - INFO - Project ctest-TestRoutersBasic-43811752 not found, creating it 2025-10-23 19:05:21,139 - INFO - Created Project:ctest-TestRoutersBasic-43811752, ID : d65346d8-2eba-46c0-924e-7ef61a2960e1 2025-10-23 19:05:22,715 - INFO - ================================================================================ 2025-10-23 19:05:22,715 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-23 19:05:22,715 - 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-10-23 19:05:22,976 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 19:05:22,976 - INFO - Initial checks done. Running the testcase now 2025-10-23 19:05:22,976 - INFO - 2025-10-23 19:05:23,712 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43811752 2025-10-23 19:05:23,806 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43811752 2025-10-23 19:05:24,137 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43811752', 'default']} 2025-10-23 19:05:24,458 - DEBUG - Response for create_network : {'network': {'id': '1efed224-9f2e-46d6-a5c6-b39679a3bd11', 'name': 'ctest-vn-19196495', 'tenant_id': 'd65346d82eba46c0924e7ef61a2960e1', 'project_id': 'd65346d82eba46c0924e7ef61a2960e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43811752', 'ctest-vn-19196495'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 19:05:24,638 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fb7765b-c33d-4050-9a44-7d89fdae9e7c', 'name': '', 'tenant_id': 'd65346d82eba46c0924e7ef61a2960e1', 'network_id': '1efed224-9f2e-46d6-a5c6-b39679a3bd11', 'ip_version': 4, 'cidr': '217.217.173.64/26', 'allocation_pools': [{'start': '217.217.173.66', 'end': '217.217.173.126'}], 'gateway_ip': '217.217.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.217.173.66', 'tags': [], 'project_id': 'd65346d82eba46c0924e7ef61a2960e1'}} 2025-10-23 19:05:24,661 - INFO - Created VN ctest-vn-19196495 2025-10-23 19:05:24,718 - DEBUG - VN ctest-vn-19196495 UUID is 1efed224-9f2e-46d6-a5c6-b39679a3bd11 2025-10-23 19:05:25,072 - DEBUG - Response for create_network : {'network': {'id': 'cf63277a-a524-4583-82ec-d4e33c52b7f1', 'name': 'ctest-ext_vn-28849250', 'tenant_id': 'd65346d82eba46c0924e7ef61a2960e1', 'project_id': 'd65346d82eba46c0924e7ef61a2960e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43811752', 'ctest-ext_vn-28849250'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 19:05:25,283 - DEBUG - Response for create_subnet : {'subnet': {'id': '3bfe4d32-b36f-4b93-a246-61c05b183481', 'name': '', 'tenant_id': 'd65346d82eba46c0924e7ef61a2960e1', 'network_id': 'cf63277a-a524-4583-82ec-d4e33c52b7f1', 'ip_version': 4, 'cidr': '195.69.76.0/26', 'allocation_pools': [{'start': '195.69.76.2', 'end': '195.69.76.62'}], 'gateway_ip': '195.69.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.69.76.2', 'tags': [], 'project_id': 'd65346d82eba46c0924e7ef61a2960e1'}} 2025-10-23 19:05:25,305 - INFO - Created VN ctest-ext_vn-28849250 2025-10-23 19:05:25,358 - DEBUG - VN ctest-ext_vn-28849250 UUID is cf63277a-a524-4583-82ec-d4e33c52b7f1 2025-10-23 19:05:25,531 - DEBUG - Services list from nova: [, , ] 2025-10-23 19:05:26,587 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4465-1) 2025-10-23 19:05:27,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4465-1) 2025-10-23 19:05:27,834 - INFO - Setting gateway for router fd2bfc58-40f0-4692-a3ae-97a684dfb6ea to network cf63277a-a524-4583-82ec-d4e33c52b7f1 2025-10-23 19:05:27,917 - INFO - Adding interface with subnet_id 8fb7765b-c33d-4050-9a44-7d89fdae9e7c, port_id None to router fd2bfc58-40f0-4692-a3ae-97a684dfb6ea 2025-10-23 19:05:28,415 - INFO - Waiting for VM ctest-TestRoutersBasic-43811752-79887590 to be up.. 2025-10-23 19:05:28,596 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 19:05:33,681 - DEBUG - VM is in ACTIVE state now 2025-10-23 19:05:33,682 - INFO - VM name : ctest-TestRoutersBasic-43811752-79887590 2025-10-23 19:05:33,769 - DEBUG - VM ctest-TestRoutersBasic-43811752-79887590 ID is 8d520a7d-1f54-4834-893b-b0899f03f7db 2025-10-23 19:05:33,791 - DEBUG - VM ctest-TestRoutersBasic-43811752-79887590 launched on Node cn-jenkins-deploy-platform-ansible-os-4465-1 2025-10-23 19:05:33,873 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8d520a7d-1f54-4834-893b-b0899f03f7db 2025-10-23 19:05:34,182 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8d520a7d-1f54-4834-893b-b0899f03f7db 2025-10-23 19:05:34,220 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fc239d23-28f5-4ae1-b559-0a5cc5567432 2025-10-23 19:05:37,487 - 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 1017ms') 2025-10-23 19:05:37,487 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43811752-79887590 failed! 2025-10-23 19:05:37,542 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43811752:ctest-vn-19196495 is 217.217.173.65 and allocation pool is NOT set 2025-10-23 19:05:39,605 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.432/1.711/2.990/1.279 ms') 2025-10-23 19:05:39,606 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43811752-79887590 passed 2025-10-23 19:05:39,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:05:39,754 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43811752-79887590, IP 217.217.173.67, Port 22 2025-10-23 19:05:39,917 - DEBUG - VM ctest-TestRoutersBasic-43811752-79887590 is ready for SSH connections 2025-10-23 19:05:39,917 - INFO - Waiting for VM ctest-TestRoutersBasic-43811752-10799226 to be up.. 2025-10-23 19:05:39,998 - DEBUG - VM is in ACTIVE state now 2025-10-23 19:05:39,998 - INFO - VM name : ctest-TestRoutersBasic-43811752-10799226 2025-10-23 19:05:40,074 - DEBUG - VM ctest-TestRoutersBasic-43811752-10799226 ID is ec73410a-a837-401a-89c2-fe2af5df909c 2025-10-23 19:05:40,074 - DEBUG - VM ctest-TestRoutersBasic-43811752-10799226 launched on Node cn-jenkins-deploy-platform-ansible-os-4465-1 2025-10-23 19:05:40,157 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ec73410a-a837-401a-89c2-fe2af5df909c 2025-10-23 19:05:40,167 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c8d900d1-8093-4ef6-a43e-37aad179bc9d 2025-10-23 19:05:41,410 - 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=2.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.491 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.491/1.701/2.912/1.210 ms') 2025-10-23 19:05:41,410 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-43811752-10799226 passed 2025-10-23 19:05:41,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:05:41,558 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43811752-10799226, IP 195.69.76.3, Port 22 2025-10-23 19:05:41,717 - DEBUG - VM ctest-TestRoutersBasic-43811752-10799226 is ready for SSH connections 2025-10-23 19:05:41,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:05:41,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.69.76.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 19:05:41,717 - DEBUG - ping -s 56 -c 3 -W 1 195.69.76.3 2025-10-23 19:05:45,810 - DEBUG - PING 195.69.76.3 (195.69.76.3): 56 data bytes 64 bytes from 195.69.76.3: seq=0 ttl=62 time=8.514 ms 64 bytes from 195.69.76.3: seq=1 ttl=62 time=0.987 ms 64 bytes from 195.69.76.3: seq=2 ttl=62 time=1.079 ms --- 195.69.76.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.987/3.526/8.514 ms 2025-10-23 19:05:45,810 - INFO - Ping to IP 195.69.76.3 from VM ctest-TestRoutersBasic-43811752-79887590 passed 2025-10-23 19:05:45,810 - INFO - Deleting interface with subnet_id 8fb7765b-c33d-4050-9a44-7d89fdae9e7c, port_id None from router fd2bfc58-40f0-4692-a3ae-97a684dfb6ea 2025-10-23 19:05:46,025 - INFO - Deleting VM ctest-TestRoutersBasic-43811752-10799226 2025-10-23 19:05:46,109 - INFO - Deleting VM ctest-TestRoutersBasic-43811752-79887590 2025-10-23 19:05:46,191 - INFO - Deleting VN ctest-ext_vn-28849250 2025-10-23 19:05:46,284 - DEBUG - VN cf63277a-a524-4583-82ec-d4e33c52b7f1 still in use: Unable to complete operation on network cf63277a-a524-4583-82ec-d4e33c52b7f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34b65728-4a1c-4c7f-885a-6a4d48dbf789'] 2025-10-23 19:05:46,284 - WARNING - Deleting VN ctest-ext_vn-28849250 failed..Will retry 2025-10-23 19:05:48,386 - DEBUG - Response for deleting network () 2025-10-23 19:05:48,386 - INFO - Deleting VN ctest-vn-19196495 2025-10-23 19:05:48,477 - DEBUG - Response for deleting network () 2025-10-23 19:05:48,740 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 19:05:48,741 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-23 19:05:48,741 - INFO - -------------------------------------------------------------------------------- 2025-10-23 19:05:49,429 - INFO - Deleted project: ctest-TestRoutersBasic-43811752, ID : d65346d8-2eba-46c0-924e-7ef61a2960e1