2025-11-13 02:24:40,410 - INFO - Domain Default found not creating 2025-11-13 02:24:40,570 - INFO - Project ctest-TestRoutersBasic-85257593 not found, creating it 2025-11-13 02:24:41,043 - INFO - Created Project:ctest-TestRoutersBasic-85257593, ID : cc5e8a9a-e880-4fa8-8096-b0a500f44e3d 2025-11-13 02:24:42,584 - INFO - ================================================================================ 2025-11-13 02:24:42,584 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-13 02:24:42,584 - 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-13 02:24:43,855 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0', '10.20.0.254': '0'}, '10.0.0.23': {'10.20.0.25': '0', '10.20.0.193': '0'}} with 2025-11-13 02:24:43,855 - INFO - Initial checks done. Running the testcase now 2025-11-13 02:24:43,855 - INFO - 2025-11-13 02:24:44,681 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-85257593 2025-11-13 02:24:44,736 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-85257593 2025-11-13 02:24:45,071 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85257593', 'default']} 2025-11-13 02:24:45,434 - DEBUG - Response for create_network : {'network': {'id': '93458593-88ae-43fd-910e-e0666db1b6f2', 'name': 'ctest-vn-36575806', 'tenant_id': 'cc5e8a9ae8804fa88096b0a500f44e3d', 'project_id': 'cc5e8a9ae8804fa88096b0a500f44e3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85257593', 'ctest-vn-36575806'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:24:45,667 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f57a1bb3-c08f-4f98-8f9e-c0abe4d8c1ce', 'name': '', 'tenant_id': 'cc5e8a9ae8804fa88096b0a500f44e3d', 'network_id': '93458593-88ae-43fd-910e-e0666db1b6f2', 'ip_version': 4, 'cidr': '69.73.6.0/26', 'allocation_pools': [{'start': '69.73.6.2', 'end': '69.73.6.62'}], 'gateway_ip': '69.73.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.73.6.2', 'tags': [], 'project_id': 'cc5e8a9ae8804fa88096b0a500f44e3d'}} 2025-11-13 02:24:45,688 - INFO - Created VN ctest-vn-36575806 2025-11-13 02:24:45,701 - DEBUG - VN ctest-vn-36575806 UUID is 93458593-88ae-43fd-910e-e0666db1b6f2 2025-11-13 02:24:46,137 - DEBUG - Response for create_network : {'network': {'id': '0e990f11-0d67-47f4-b4ba-26ba20e4a590', 'name': 'ctest-ext_vn-30139162', 'tenant_id': 'cc5e8a9ae8804fa88096b0a500f44e3d', 'project_id': 'cc5e8a9ae8804fa88096b0a500f44e3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85257593', 'ctest-ext_vn-30139162'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:24:46,385 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af01278b-b3be-4c0f-a3b7-79221b4cbb73', 'name': '', 'tenant_id': 'cc5e8a9ae8804fa88096b0a500f44e3d', 'network_id': '0e990f11-0d67-47f4-b4ba-26ba20e4a590', 'ip_version': 4, 'cidr': '197.215.97.128/26', 'allocation_pools': [{'start': '197.215.97.130', 'end': '197.215.97.190'}], 'gateway_ip': '197.215.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.215.97.130', 'tags': [], 'project_id': 'cc5e8a9ae8804fa88096b0a500f44e3d'}} 2025-11-13 02:24:46,408 - INFO - Created VN ctest-ext_vn-30139162 2025-11-13 02:24:46,419 - DEBUG - VN ctest-ext_vn-30139162 UUID is 0e990f11-0d67-47f4-b4ba-26ba20e4a590 2025-11-13 02:24:46,581 - DEBUG - Services list from nova: [, , , ] 2025-11-13 02:24:47,716 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4712-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4712-2) 2025-11-13 02:24:49,202 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4712-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4712-1) 2025-11-13 02:24:49,291 - INFO - Setting gateway for router f403e1dc-c9b6-4b61-900a-ebc295ff4fe2 to network 0e990f11-0d67-47f4-b4ba-26ba20e4a590 2025-11-13 02:24:49,381 - INFO - Adding interface with subnet_id f57a1bb3-c08f-4f98-8f9e-c0abe4d8c1ce, port_id None to router f403e1dc-c9b6-4b61-900a-ebc295ff4fe2 2025-11-13 02:24:49,950 - INFO - Waiting for VM ctest-TestRoutersBasic-85257593-94282017 to be up.. 2025-11-13 02:24:50,136 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 02:24:55,217 - DEBUG - VM is in ACTIVE state now 2025-11-13 02:24:55,217 - INFO - VM name : ctest-TestRoutersBasic-85257593-94282017 2025-11-13 02:24:55,290 - DEBUG - VM ctest-TestRoutersBasic-85257593-94282017 ID is c7947c1f-4d2d-4286-9f6a-44ff1548e5fb 2025-11-13 02:24:55,315 - DEBUG - VM ctest-TestRoutersBasic-85257593-94282017 launched on Node an-jenkins-deploy-platform-ansible-os-4712-2 2025-11-13 02:24:55,407 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/c7947c1f-4d2d-4286-9f6a-44ff1548e5fb 2025-11-13 02:24:55,751 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/c7947c1f-4d2d-4286-9f6a-44ff1548e5fb 2025-11-13 02:24:55,781 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/7cd9e5b0-afa2-42cb-b717-6eec026aec2e 2025-11-13 02:24:58,958 - 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 1027ms') 2025-11-13 02:24:58,958 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85257593-94282017 failed! 2025-11-13 02:24:58,971 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85257593:ctest-vn-36575806 is 69.73.6.1 and allocation pool is NOT set 2025-11-13 02:25:01,037 - 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=4.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.511 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.511/2.253/3.996/1.742 ms') 2025-11-13 02:25:01,038 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85257593-94282017 passed 2025-11-13 02:25:01,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:25:01,109 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85257593-94282017, IP 69.73.6.3, Port 22 2025-11-13 02:25:01,278 - DEBUG - VM ctest-TestRoutersBasic-85257593-94282017 is ready for SSH connections 2025-11-13 02:25:01,278 - INFO - Waiting for VM ctest-TestRoutersBasic-85257593-40685529 to be up.. 2025-11-13 02:25:01,364 - DEBUG - VM is in ACTIVE state now 2025-11-13 02:25:01,364 - INFO - VM name : ctest-TestRoutersBasic-85257593-40685529 2025-11-13 02:25:01,450 - DEBUG - VM ctest-TestRoutersBasic-85257593-40685529 ID is 687112d2-12f9-48d6-9872-cc22de5b2246 2025-11-13 02:25:01,450 - DEBUG - VM ctest-TestRoutersBasic-85257593-40685529 launched on Node an-jenkins-deploy-platform-ansible-os-4712-1 2025-11-13 02:25:01,529 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/687112d2-12f9-48d6-9872-cc22de5b2246 2025-11-13 02:25:01,539 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/2fcf5172-8838-4fd4-88f8-4341daae773a 2025-11-13 02:25:02,714 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.91 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 = 1.911/3.803/5.696/1.892 ms') 2025-11-13 02:25:02,714 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85257593-40685529 passed 2025-11-13 02:25:02,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:25:02,789 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85257593-40685529, IP 197.215.97.131, Port 22 2025-11-13 02:25:02,944 - DEBUG - VM ctest-TestRoutersBasic-85257593-40685529 is ready for SSH connections 2025-11-13 02:25:02,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:25:02,944 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.215.97.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-11-13 02:25:02,944 - DEBUG - ping -s 56 -c 3 -W 1 197.215.97.131 2025-11-13 02:25:06,614 - DEBUG - PING 197.215.97.131 (197.215.97.131): 56 data bytes 64 bytes from 197.215.97.131: seq=0 ttl=62 time=10.873 ms 64 bytes from 197.215.97.131: seq=1 ttl=62 time=1.173 ms 64 bytes from 197.215.97.131: seq=2 ttl=62 time=1.520 ms --- 197.215.97.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.173/4.522/10.873 ms 2025-11-13 02:25:06,614 - INFO - Ping to IP 197.215.97.131 from VM ctest-TestRoutersBasic-85257593-94282017 passed 2025-11-13 02:25:06,615 - INFO - Deleting interface with subnet_id f57a1bb3-c08f-4f98-8f9e-c0abe4d8c1ce, port_id None from router f403e1dc-c9b6-4b61-900a-ebc295ff4fe2 2025-11-13 02:25:06,956 - INFO - Deleting VM ctest-TestRoutersBasic-85257593-40685529 2025-11-13 02:25:07,035 - INFO - Deleting VM ctest-TestRoutersBasic-85257593-94282017 2025-11-13 02:25:07,129 - INFO - Deleting VN ctest-ext_vn-30139162 2025-11-13 02:25:07,236 - DEBUG - VN 0e990f11-0d67-47f4-b4ba-26ba20e4a590 still in use: Unable to complete operation on network 0e990f11-0d67-47f4-b4ba-26ba20e4a590. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fc258b0e-114e-46c9-ba8f-1bafd43c8466'] 2025-11-13 02:25:07,236 - WARNING - Deleting VN ctest-ext_vn-30139162 failed..Will retry 2025-11-13 02:25:09,382 - DEBUG - Response for deleting network () 2025-11-13 02:25:09,382 - INFO - Deleting VN ctest-vn-36575806 2025-11-13 02:25:09,534 - DEBUG - Response for deleting network () 2025-11-13 02:25:10,856 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 02:25:10,856 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-11-13 02:25:10,856 - INFO - -------------------------------------------------------------------------------- 2025-11-13 02:25:11,653 - INFO - Deleted project: ctest-TestRoutersBasic-85257593, ID : cc5e8a9a-e880-4fa8-8096-b0a500f44e3d