2025-09-29 18:17:08,915 - INFO - Domain Default found not creating 2025-09-29 18:17:09,070 - INFO - Project ctest-TestRoutersBasic-83969362 not found, creating it 2025-09-29 18:17:09,515 - INFO - Created Project:ctest-TestRoutersBasic-83969362, ID : 5d4d2a62-3add-460e-b7e9-66721c7968d8 2025-09-29 18:17:11,059 - INFO - ================================================================================ 2025-09-29 18:17:11,060 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-29 18:17:11,060 - 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-09-29 18:17:11,314 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-29 18:17:11,314 - INFO - Initial checks done. Running the testcase now 2025-09-29 18:17:11,314 - INFO - 2025-09-29 18:17:12,093 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83969362 2025-09-29 18:17:12,187 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83969362 2025-09-29 18:17:12,503 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83969362', 'default']} 2025-09-29 18:17:12,789 - DEBUG - Response for create_network : {'network': {'id': 'a61ba529-3947-499b-84cc-4392b88e9699', 'name': 'ctest-vn-35052940', 'tenant_id': '5d4d2a623add460eb7e966721c7968d8', 'project_id': '5d4d2a623add460eb7e966721c7968d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83969362', 'ctest-vn-35052940'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 18:17:12,954 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf82934f-a48f-4f96-a1ad-837548e423b6', 'name': '', 'tenant_id': '5d4d2a623add460eb7e966721c7968d8', 'network_id': 'a61ba529-3947-499b-84cc-4392b88e9699', 'ip_version': 4, 'cidr': '71.125.219.0/26', 'allocation_pools': [{'start': '71.125.219.2', 'end': '71.125.219.62'}], 'gateway_ip': '71.125.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.125.219.2', 'tags': [], 'project_id': '5d4d2a623add460eb7e966721c7968d8'}} 2025-09-29 18:17:12,973 - INFO - Created VN ctest-vn-35052940 2025-09-29 18:17:13,027 - DEBUG - VN ctest-vn-35052940 UUID is a61ba529-3947-499b-84cc-4392b88e9699 2025-09-29 18:17:13,391 - DEBUG - Response for create_network : {'network': {'id': 'd2ef152f-fb8d-4b4c-8c85-42e740c7147c', 'name': 'ctest-ext_vn-39030942', 'tenant_id': '5d4d2a623add460eb7e966721c7968d8', 'project_id': '5d4d2a623add460eb7e966721c7968d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83969362', 'ctest-ext_vn-39030942'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 18:17:13,541 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d238cc1-3a6f-42dd-a2b0-623900e0d762', 'name': '', 'tenant_id': '5d4d2a623add460eb7e966721c7968d8', 'network_id': 'd2ef152f-fb8d-4b4c-8c85-42e740c7147c', 'ip_version': 4, 'cidr': '76.169.115.128/26', 'allocation_pools': [{'start': '76.169.115.130', 'end': '76.169.115.190'}], 'gateway_ip': '76.169.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.169.115.130', 'tags': [], 'project_id': '5d4d2a623add460eb7e966721c7968d8'}} 2025-09-29 18:17:13,557 - INFO - Created VN ctest-ext_vn-39030942 2025-09-29 18:17:13,611 - DEBUG - VN ctest-ext_vn-39030942 UUID is d2ef152f-fb8d-4b4c-8c85-42e740c7147c 2025-09-29 18:17:13,817 - DEBUG - Services list from nova: [, , ] 2025-09-29 18:17:14,914 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4205-1) 2025-09-29 18:17:16,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4205-1) 2025-09-29 18:17:16,215 - INFO - Setting gateway for router 54ae5400-ee2a-4313-8aa4-a33fce89e253 to network d2ef152f-fb8d-4b4c-8c85-42e740c7147c 2025-09-29 18:17:16,306 - INFO - Adding interface with subnet_id cf82934f-a48f-4f96-a1ad-837548e423b6, port_id None to router 54ae5400-ee2a-4313-8aa4-a33fce89e253 2025-09-29 18:17:16,649 - INFO - Waiting for VM ctest-TestRoutersBasic-83969362-47881742 to be up.. 2025-09-29 18:17:16,789 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 18:17:21,864 - DEBUG - VM is in ACTIVE state now 2025-09-29 18:17:21,864 - INFO - VM name : ctest-TestRoutersBasic-83969362-47881742 2025-09-29 18:17:21,937 - DEBUG - VM ctest-TestRoutersBasic-83969362-47881742 ID is 7aebdebc-97ad-462e-9268-a1ef1bae690f 2025-09-29 18:17:21,957 - DEBUG - VM ctest-TestRoutersBasic-83969362-47881742 launched on Node cn-jenkins-deploy-platform-ansible-os-4205-1 2025-09-29 18:17:22,031 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7aebdebc-97ad-462e-9268-a1ef1bae690f 2025-09-29 18:17:22,368 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7aebdebc-97ad-462e-9268-a1ef1bae690f 2025-09-29 18:17:22,405 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f1c37018-da93-4f42-9fe1-c21f387e36b0 2025-09-29 18:17:25,636 - 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 1003ms') 2025-09-29 18:17:25,636 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83969362-47881742 failed! 2025-09-29 18:17:25,691 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83969362:ctest-vn-35052940 is 71.125.219.1 and allocation pool is NOT set 2025-09-29 18:17:27,758 - 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=5.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.69 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 = 1.694/3.382/5.071/1.688 ms') 2025-09-29 18:17:27,758 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83969362-47881742 passed 2025-09-29 18:17:27,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:17:27,908 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83969362-47881742, IP 71.125.219.3, Port 22 2025-09-29 18:17:28,062 - DEBUG - VM ctest-TestRoutersBasic-83969362-47881742 is ready for SSH connections 2025-09-29 18:17:28,062 - INFO - Waiting for VM ctest-TestRoutersBasic-83969362-29777509 to be up.. 2025-09-29 18:17:28,148 - DEBUG - VM is in ACTIVE state now 2025-09-29 18:17:28,148 - INFO - VM name : ctest-TestRoutersBasic-83969362-29777509 2025-09-29 18:17:28,224 - DEBUG - VM ctest-TestRoutersBasic-83969362-29777509 ID is 5566652c-e5ae-4879-8817-e4c7ba988d77 2025-09-29 18:17:28,224 - DEBUG - VM ctest-TestRoutersBasic-83969362-29777509 launched on Node cn-jenkins-deploy-platform-ansible-os-4205-1 2025-09-29 18:17:28,296 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5566652c-e5ae-4879-8817-e4c7ba988d77 2025-09-29 18:17:28,305 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a9f6d6be-674b-480b-af78-1e8d12c1f311 2025-09-29 18:17:29,542 - 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.457 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.457/1.879/3.301/1.422 ms') 2025-09-29 18:17:29,542 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-83969362-29777509 passed 2025-09-29 18:17:29,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:17:29,691 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83969362-29777509, IP 76.169.115.131, Port 22 2025-09-29 18:17:29,847 - DEBUG - VM ctest-TestRoutersBasic-83969362-29777509 is ready for SSH connections 2025-09-29 18:17:29,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:17:29,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.169.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 18:17:29,847 - DEBUG - ping -s 56 -c 3 -W 1 76.169.115.131 2025-09-29 18:17:33,593 - DEBUG - PING 76.169.115.131 (76.169.115.131): 56 data bytes 64 bytes from 76.169.115.131: seq=0 ttl=62 time=5.659 ms 64 bytes from 76.169.115.131: seq=1 ttl=62 time=0.876 ms 64 bytes from 76.169.115.131: seq=2 ttl=62 time=1.009 ms --- 76.169.115.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/2.514/5.659 ms 2025-09-29 18:17:33,593 - INFO - Ping to IP 76.169.115.131 from VM ctest-TestRoutersBasic-83969362-47881742 passed 2025-09-29 18:17:33,593 - INFO - Deleting interface with subnet_id cf82934f-a48f-4f96-a1ad-837548e423b6, port_id None from router 54ae5400-ee2a-4313-8aa4-a33fce89e253 2025-09-29 18:17:33,792 - INFO - Deleting VM ctest-TestRoutersBasic-83969362-29777509 2025-09-29 18:17:33,864 - INFO - Deleting VM ctest-TestRoutersBasic-83969362-47881742 2025-09-29 18:17:33,944 - INFO - Deleting VN ctest-ext_vn-39030942 2025-09-29 18:17:34,026 - DEBUG - VN d2ef152f-fb8d-4b4c-8c85-42e740c7147c still in use: Unable to complete operation on network d2ef152f-fb8d-4b4c-8c85-42e740c7147c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-97bf40b4-73cc-49ec-b31e-91d98d7004db'] 2025-09-29 18:17:34,026 - WARNING - Deleting VN ctest-ext_vn-39030942 failed..Will retry 2025-09-29 18:17:36,129 - DEBUG - Response for deleting network () 2025-09-29 18:17:36,129 - INFO - Deleting VN ctest-vn-35052940 2025-09-29 18:17:36,233 - DEBUG - Response for deleting network () 2025-09-29 18:17:36,496 - DEBUG - No XMPP flaps were noticed during the test
2025-09-29 18:17:36,496 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-29 18:17:36,496 - INFO - -------------------------------------------------------------------------------- 2025-09-29 18:17:37,202 - INFO - Deleted project: ctest-TestRoutersBasic-83969362, ID : 5d4d2a62-3add-460e-b7e9-66721c7968d8