2025-10-12 19:08:51,692 - INFO - Domain Default found not creating 2025-10-12 19:08:51,853 - INFO - Project ctest-TestRoutersBasic-52804997 not found, creating it 2025-10-12 19:08:52,288 - INFO - Created Project:ctest-TestRoutersBasic-52804997, ID : f12ff003-3e1e-4a1b-b4bd-d42e90c708d9 2025-10-12 19:08:53,633 - INFO - ================================================================================ 2025-10-12 19:08:53,633 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-12 19:08:53,633 - 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-12 19:08:53,888 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-10-12 19:08:53,888 - INFO - Initial checks done. Running the testcase now 2025-10-12 19:08:53,889 - INFO - 2025-10-12 19:08:54,571 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52804997 2025-10-12 19:08:54,667 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52804997 2025-10-12 19:08:54,987 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52804997', 'default']} 2025-10-12 19:08:55,258 - DEBUG - Response for create_network : {'network': {'id': '5c9403d1-d62f-49fd-abcb-09ac28a704ff', 'name': 'ctest-vn-02843387', 'tenant_id': 'f12ff0033e1e4a1bb4bdd42e90c708d9', 'project_id': 'f12ff0033e1e4a1bb4bdd42e90c708d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52804997', 'ctest-vn-02843387'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 19:08:55,426 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e17aa371-5c58-4fc7-afed-d6d3855f3436', 'name': '', 'tenant_id': 'f12ff0033e1e4a1bb4bdd42e90c708d9', 'network_id': '5c9403d1-d62f-49fd-abcb-09ac28a704ff', 'ip_version': 4, 'cidr': '113.149.172.64/26', 'allocation_pools': [{'start': '113.149.172.66', 'end': '113.149.172.126'}], 'gateway_ip': '113.149.172.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.149.172.66', 'tags': [], 'project_id': 'f12ff0033e1e4a1bb4bdd42e90c708d9'}} 2025-10-12 19:08:55,445 - INFO - Created VN ctest-vn-02843387 2025-10-12 19:08:55,499 - DEBUG - VN ctest-vn-02843387 UUID is 5c9403d1-d62f-49fd-abcb-09ac28a704ff 2025-10-12 19:08:55,840 - DEBUG - Response for create_network : {'network': {'id': '6dc5f21c-782e-4a62-bc55-87a014f9fc4d', 'name': 'ctest-ext_vn-46097692', 'tenant_id': 'f12ff0033e1e4a1bb4bdd42e90c708d9', 'project_id': 'f12ff0033e1e4a1bb4bdd42e90c708d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52804997', 'ctest-ext_vn-46097692'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 19:08:55,998 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b7ad04e-4413-48bf-8e72-b220bbe29909', 'name': '', 'tenant_id': 'f12ff0033e1e4a1bb4bdd42e90c708d9', 'network_id': '6dc5f21c-782e-4a62-bc55-87a014f9fc4d', 'ip_version': 4, 'cidr': '140.140.71.192/26', 'allocation_pools': [{'start': '140.140.71.194', 'end': '140.140.71.254'}], 'gateway_ip': '140.140.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.140.71.194', 'tags': [], 'project_id': 'f12ff0033e1e4a1bb4bdd42e90c708d9'}} 2025-10-12 19:08:56,014 - INFO - Created VN ctest-ext_vn-46097692 2025-10-12 19:08:56,067 - DEBUG - VN ctest-ext_vn-46097692 UUID is 6dc5f21c-782e-4a62-bc55-87a014f9fc4d 2025-10-12 19:08:56,262 - DEBUG - Services list from nova: [, , ] 2025-10-12 19:08:57,246 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4292-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4292-1) 2025-10-12 19:08:58,328 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4292-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4292-1) 2025-10-12 19:08:58,394 - INFO - Setting gateway for router b3256694-694a-437b-9dc5-690e0b5419bd to network 6dc5f21c-782e-4a62-bc55-87a014f9fc4d 2025-10-12 19:08:58,449 - INFO - Adding interface with subnet_id e17aa371-5c58-4fc7-afed-d6d3855f3436, port_id None to router b3256694-694a-437b-9dc5-690e0b5419bd 2025-10-12 19:08:58,697 - INFO - Waiting for VM ctest-TestRoutersBasic-52804997-67304692 to be up.. 2025-10-12 19:08:58,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-12 19:09:03,894 - DEBUG - VM is in ACTIVE state now 2025-10-12 19:09:03,894 - INFO - VM name : ctest-TestRoutersBasic-52804997-67304692 2025-10-12 19:09:03,975 - DEBUG - VM ctest-TestRoutersBasic-52804997-67304692 ID is 769677a7-d002-474b-bf28-d8b57a87cf41 2025-10-12 19:09:03,998 - DEBUG - VM ctest-TestRoutersBasic-52804997-67304692 launched on Node cn-jenkins-deploy-platform-ansible-os-4292-1 2025-10-12 19:09:04,084 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/769677a7-d002-474b-bf28-d8b57a87cf41 2025-10-12 19:09:04,376 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/769677a7-d002-474b-bf28-d8b57a87cf41 2025-10-12 19:09:04,406 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0c0777ad-2b0b-4fca-9795-90f425915c26 2025-10-12 19:09:07,648 - 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 1007ms') 2025-10-12 19:09:07,648 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52804997-67304692 failed! 2025-10-12 19:09:07,703 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52804997:ctest-vn-02843387 is 113.149.172.65 and allocation pool is NOT set 2025-10-12 19:09:09,766 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.580 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.580/1.720/2.861/1.140 ms') 2025-10-12 19:09:09,766 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52804997-67304692 passed 2025-10-12 19:09:09,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 19:09:09,915 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52804997-67304692, IP 113.149.172.67, Port 22 2025-10-12 19:09:10,074 - DEBUG - VM ctest-TestRoutersBasic-52804997-67304692 is ready for SSH connections 2025-10-12 19:09:10,074 - INFO - Waiting for VM ctest-TestRoutersBasic-52804997-07504025 to be up.. 2025-10-12 19:09:10,145 - DEBUG - VM is in ACTIVE state now 2025-10-12 19:09:10,145 - INFO - VM name : ctest-TestRoutersBasic-52804997-07504025 2025-10-12 19:09:10,211 - DEBUG - VM ctest-TestRoutersBasic-52804997-07504025 ID is 96433bec-9946-4733-8a69-2a4567e04289 2025-10-12 19:09:10,212 - DEBUG - VM ctest-TestRoutersBasic-52804997-07504025 launched on Node cn-jenkins-deploy-platform-ansible-os-4292-1 2025-10-12 19:09:10,276 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/96433bec-9946-4733-8a69-2a4567e04289 2025-10-12 19:09:10,284 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c1ccf0a6-6af6-4c01-ab3c-36995e6958f1 2025-10-12 19:09:11,514 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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.435/1.630/2.826/1.195 ms') 2025-10-12 19:09:11,514 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-52804997-07504025 passed 2025-10-12 19:09:11,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 19:09:11,663 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52804997-07504025, IP 140.140.71.195, Port 22 2025-10-12 19:09:11,826 - DEBUG - VM ctest-TestRoutersBasic-52804997-07504025 is ready for SSH connections 2025-10-12 19:09:11,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 19:09:11,826 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.140.71.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-12 19:09:11,827 - DEBUG - ping -s 56 -c 3 -W 1 140.140.71.195 2025-10-12 19:09:15,516 - DEBUG - PING 140.140.71.195 (140.140.71.195): 56 data bytes 64 bytes from 140.140.71.195: seq=0 ttl=62 time=6.858 ms 64 bytes from 140.140.71.195: seq=1 ttl=62 time=0.834 ms 64 bytes from 140.140.71.195: seq=2 ttl=62 time=0.854 ms --- 140.140.71.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/2.848/6.858 ms 2025-10-12 19:09:15,516 - INFO - Ping to IP 140.140.71.195 from VM ctest-TestRoutersBasic-52804997-67304692 passed 2025-10-12 19:09:15,516 - INFO - Deleting interface with subnet_id e17aa371-5c58-4fc7-afed-d6d3855f3436, port_id None from router b3256694-694a-437b-9dc5-690e0b5419bd 2025-10-12 19:09:15,686 - INFO - Deleting VM ctest-TestRoutersBasic-52804997-07504025 2025-10-12 19:09:15,757 - INFO - Deleting VM ctest-TestRoutersBasic-52804997-67304692 2025-10-12 19:09:15,824 - INFO - Deleting VN ctest-ext_vn-46097692 2025-10-12 19:09:15,881 - DEBUG - VN 6dc5f21c-782e-4a62-bc55-87a014f9fc4d still in use: Unable to complete operation on network 6dc5f21c-782e-4a62-bc55-87a014f9fc4d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e6425ab9-082d-4868-b407-ccc0c5d87350'] 2025-10-12 19:09:15,881 - WARNING - Deleting VN ctest-ext_vn-46097692 failed..Will retry 2025-10-12 19:09:17,977 - DEBUG - Response for deleting network () 2025-10-12 19:09:17,977 - INFO - Deleting VN ctest-vn-02843387 2025-10-12 19:09:18,067 - DEBUG - Response for deleting network () 2025-10-12 19:09:18,320 - DEBUG - No XMPP flaps were noticed during the test
2025-10-12 19:09:18,320 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-12 19:09:18,320 - INFO - -------------------------------------------------------------------------------- 2025-10-12 19:09:18,969 - INFO - Deleted project: ctest-TestRoutersBasic-52804997, ID : f12ff003-3e1e-4a1b-b4bd-d42e90c708d9