2025-08-18 02:21:01,614 - INFO - Domain Default found not creating 2025-08-18 02:21:01,805 - INFO - Project ctest-TestRoutersBasic-31494910 not found, creating it 2025-08-18 02:21:02,346 - INFO - Created Project:ctest-TestRoutersBasic-31494910, ID : 6eaadfb8-6dd9-4066-97f4-7055e829394d 2025-08-18 02:21:03,876 - INFO - ================================================================================ 2025-08-18 02:21:03,876 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-18 02:21:03,876 - 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-08-18 02:21:05,140 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.129': '0', '10.20.0.25': '0'}, '10.0.0.41': {'10.20.0.129': '0', '10.20.0.25': '0'}} with 2025-08-18 02:21:05,140 - INFO - Initial checks done. Running the testcase now 2025-08-18 02:21:05,140 - INFO - 2025-08-18 02:21:05,843 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31494910 2025-08-18 02:21:05,898 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31494910 2025-08-18 02:21:06,190 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31494910', 'default']} 2025-08-18 02:21:06,563 - DEBUG - Response for create_network : {'network': {'id': '3a6c4888-b034-40b1-abec-cc6aeaa8f004', 'name': 'ctest-vn-33247573', 'tenant_id': '6eaadfb86dd9406697f47055e829394d', 'project_id': '6eaadfb86dd9406697f47055e829394d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31494910', 'ctest-vn-33247573'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:21:06,869 - DEBUG - Response for create_subnet : {'subnet': {'id': '03012742-2b89-492d-beb6-7d8277919e3c', 'name': '', 'tenant_id': '6eaadfb86dd9406697f47055e829394d', 'network_id': '3a6c4888-b034-40b1-abec-cc6aeaa8f004', 'ip_version': 4, 'cidr': '33.233.18.192/26', 'allocation_pools': [{'start': '33.233.18.194', 'end': '33.233.18.254'}], 'gateway_ip': '33.233.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.233.18.194', 'tags': [], 'project_id': '6eaadfb86dd9406697f47055e829394d'}} 2025-08-18 02:21:06,889 - INFO - Created VN ctest-vn-33247573 2025-08-18 02:21:06,901 - DEBUG - VN ctest-vn-33247573 UUID is 3a6c4888-b034-40b1-abec-cc6aeaa8f004 2025-08-18 02:21:07,263 - DEBUG - Response for create_network : {'network': {'id': '04fa4e38-4f71-49ee-9d71-445d48a5a896', 'name': 'ctest-ext_vn-71384410', 'tenant_id': '6eaadfb86dd9406697f47055e829394d', 'project_id': '6eaadfb86dd9406697f47055e829394d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31494910', 'ctest-ext_vn-71384410'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:21:07,623 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ba50826-6285-419f-b015-94937e317aee', 'name': '', 'tenant_id': '6eaadfb86dd9406697f47055e829394d', 'network_id': '04fa4e38-4f71-49ee-9d71-445d48a5a896', 'ip_version': 4, 'cidr': '148.56.190.64/26', 'allocation_pools': [{'start': '148.56.190.66', 'end': '148.56.190.126'}], 'gateway_ip': '148.56.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.56.190.66', 'tags': [], 'project_id': '6eaadfb86dd9406697f47055e829394d'}} 2025-08-18 02:21:07,656 - INFO - Created VN ctest-ext_vn-71384410 2025-08-18 02:21:07,680 - DEBUG - VN ctest-ext_vn-71384410 UUID is 04fa4e38-4f71-49ee-9d71-445d48a5a896 2025-08-18 02:21:07,847 - DEBUG - Services list from nova: [, , , ] 2025-08-18 02:21:09,087 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3870-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3870-1) 2025-08-18 02:21:10,479 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3870-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3870-2) 2025-08-18 02:21:10,572 - INFO - Setting gateway for router ab45d437-17e6-4790-bc26-f384f37e6dd9 to network 04fa4e38-4f71-49ee-9d71-445d48a5a896 2025-08-18 02:21:10,685 - INFO - Adding interface with subnet_id 03012742-2b89-492d-beb6-7d8277919e3c, port_id None to router ab45d437-17e6-4790-bc26-f384f37e6dd9 2025-08-18 02:21:11,105 - INFO - Waiting for VM ctest-TestRoutersBasic-31494910-77493739 to be up.. 2025-08-18 02:21:11,299 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 02:21:16,388 - DEBUG - VM is in ACTIVE state now 2025-08-18 02:21:16,388 - INFO - VM name : ctest-TestRoutersBasic-31494910-77493739 2025-08-18 02:21:16,470 - DEBUG - VM ctest-TestRoutersBasic-31494910-77493739 ID is 04416e6a-6e9c-480c-9739-76067a004b7e 2025-08-18 02:21:16,495 - DEBUG - VM ctest-TestRoutersBasic-31494910-77493739 launched on Node an-jenkins-deploy-platform-ansible-os-3870-1 2025-08-18 02:21:16,573 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/04416e6a-6e9c-480c-9739-76067a004b7e 2025-08-18 02:21:16,872 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/04416e6a-6e9c-480c-9739-76067a004b7e 2025-08-18 02:21:16,906 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/208a14ee-c5ee-4778-8afd-299e243f920f 2025-08-18 02:21:20,078 - 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 1020ms') 2025-08-18 02:21:20,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31494910-77493739 failed! 2025-08-18 02:21:20,094 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31494910:ctest-vn-33247573 is 33.233.18.193 and allocation pool is NOT set 2025-08-18 02:21:22,147 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.367 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.367/1.690/3.014/1.323 ms') 2025-08-18 02:21:22,147 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31494910-77493739 passed 2025-08-18 02:21:22,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:21:22,224 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31494910-77493739, IP 33.233.18.195, Port 22 2025-08-18 02:21:22,395 - DEBUG - VM ctest-TestRoutersBasic-31494910-77493739 is ready for SSH connections 2025-08-18 02:21:22,395 - INFO - Waiting for VM ctest-TestRoutersBasic-31494910-41942724 to be up.. 2025-08-18 02:21:22,466 - DEBUG - VM is in ACTIVE state now 2025-08-18 02:21:22,466 - INFO - VM name : ctest-TestRoutersBasic-31494910-41942724 2025-08-18 02:21:22,533 - DEBUG - VM ctest-TestRoutersBasic-31494910-41942724 ID is 0e85c6a5-eaef-468d-b5da-e4418eeffa2a 2025-08-18 02:21:22,533 - DEBUG - VM ctest-TestRoutersBasic-31494910-41942724 launched on Node an-jenkins-deploy-platform-ansible-os-3870-2 2025-08-18 02:21:22,602 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/0e85c6a5-eaef-468d-b5da-e4418eeffa2a 2025-08-18 02:21:22,612 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f2ded552-2291-48b9-80f4-3c492337d04d 2025-08-18 02:21:23,800 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.945 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.945/2.921/4.898/1.976 ms') 2025-08-18 02:21:23,800 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31494910-41942724 passed 2025-08-18 02:21:23,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:21:23,875 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31494910-41942724, IP 148.56.190.67, Port 22 2025-08-18 02:21:24,038 - DEBUG - VM ctest-TestRoutersBasic-31494910-41942724 is ready for SSH connections 2025-08-18 02:21:24,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:21:24,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.56.190.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-08-18 02:21:24,038 - DEBUG - ping -s 56 -c 3 -W 1 148.56.190.67 2025-08-18 02:21:27,680 - DEBUG - PING 148.56.190.67 (148.56.190.67): 56 data bytes 64 bytes from 148.56.190.67: seq=0 ttl=62 time=7.913 ms 64 bytes from 148.56.190.67: seq=1 ttl=62 time=1.178 ms 64 bytes from 148.56.190.67: seq=2 ttl=62 time=1.245 ms --- 148.56.190.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.178/3.445/7.913 ms 2025-08-18 02:21:27,680 - INFO - Ping to IP 148.56.190.67 from VM ctest-TestRoutersBasic-31494910-77493739 passed 2025-08-18 02:21:27,680 - INFO - Deleting interface with subnet_id 03012742-2b89-492d-beb6-7d8277919e3c, port_id None from router ab45d437-17e6-4790-bc26-f384f37e6dd9 2025-08-18 02:21:28,036 - INFO - Deleting VM ctest-TestRoutersBasic-31494910-41942724 2025-08-18 02:21:28,169 - INFO - Deleting VM ctest-TestRoutersBasic-31494910-77493739 2025-08-18 02:21:28,329 - INFO - Deleting VN ctest-ext_vn-71384410 2025-08-18 02:21:28,466 - DEBUG - VN 04fa4e38-4f71-49ee-9d71-445d48a5a896 still in use: Unable to complete operation on network 04fa4e38-4f71-49ee-9d71-445d48a5a896. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-38bf0561-f8d0-415f-a8a4-879c2d9ecf4d'] 2025-08-18 02:21:28,466 - WARNING - Deleting VN ctest-ext_vn-71384410 failed..Will retry 2025-08-18 02:21:30,669 - DEBUG - Response for deleting network () 2025-08-18 02:21:30,669 - INFO - Deleting VN ctest-vn-33247573 2025-08-18 02:21:30,826 - DEBUG - Response for deleting network () 2025-08-18 02:21:32,095 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 02:21:32,095 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-08-18 02:21:32,095 - INFO - -------------------------------------------------------------------------------- 2025-08-18 02:21:32,776 - INFO - Deleted project: ctest-TestRoutersBasic-31494910, ID : 6eaadfb8-6dd9-4066-97f4-7055e829394d