2025-08-28 02:21:48,735 - INFO - Domain Default found not creating 2025-08-28 02:21:48,865 - INFO - Project ctest-TestRoutersBasic-96995274 not found, creating it 2025-08-28 02:21:49,382 - INFO - Created Project:ctest-TestRoutersBasic-96995274, ID : b8e5d36f-a658-447e-ab96-a1751d8f4627 2025-08-28 02:21:50,795 - INFO - ================================================================================ 2025-08-28 02:21:50,795 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-28 02:21:50,795 - 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-28 02:21:52,061 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0', '10.20.0.254': '0'}, '10.0.0.27': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-28 02:21:52,061 - INFO - Initial checks done. Running the testcase now 2025-08-28 02:21:52,061 - INFO - 2025-08-28 02:21:52,804 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96995274 2025-08-28 02:21:52,861 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96995274 2025-08-28 02:21:53,161 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96995274', 'default']} 2025-08-28 02:21:53,589 - DEBUG - Response for create_network : {'network': {'id': 'd4069c28-7f1d-45b1-840e-864c5ea3bdf2', 'name': 'ctest-vn-25801586', 'tenant_id': 'b8e5d36fa658447eab96a1751d8f4627', 'project_id': 'b8e5d36fa658447eab96a1751d8f4627', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96995274', 'ctest-vn-25801586'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:21:53,801 - DEBUG - Response for create_subnet : {'subnet': {'id': '71c0a55b-53df-4f72-9a87-e12ec93fa1e9', 'name': '', 'tenant_id': 'b8e5d36fa658447eab96a1751d8f4627', 'network_id': 'd4069c28-7f1d-45b1-840e-864c5ea3bdf2', 'ip_version': 4, 'cidr': '83.101.98.0/26', 'allocation_pools': [{'start': '83.101.98.2', 'end': '83.101.98.62'}], 'gateway_ip': '83.101.98.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.101.98.2', 'tags': [], 'project_id': 'b8e5d36fa658447eab96a1751d8f4627'}} 2025-08-28 02:21:53,821 - INFO - Created VN ctest-vn-25801586 2025-08-28 02:21:53,831 - DEBUG - VN ctest-vn-25801586 UUID is d4069c28-7f1d-45b1-840e-864c5ea3bdf2 2025-08-28 02:21:54,256 - DEBUG - Response for create_network : {'network': {'id': 'a8f90d62-38fa-4b68-abbb-cfee5b9d6136', 'name': 'ctest-ext_vn-18599755', 'tenant_id': 'b8e5d36fa658447eab96a1751d8f4627', 'project_id': 'b8e5d36fa658447eab96a1751d8f4627', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96995274', 'ctest-ext_vn-18599755'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:21:54,461 - DEBUG - Response for create_subnet : {'subnet': {'id': '12dd820e-73e9-445c-bebc-8e2dd53016cf', 'name': '', 'tenant_id': 'b8e5d36fa658447eab96a1751d8f4627', 'network_id': 'a8f90d62-38fa-4b68-abbb-cfee5b9d6136', 'ip_version': 4, 'cidr': '145.244.207.192/26', 'allocation_pools': [{'start': '145.244.207.194', 'end': '145.244.207.254'}], 'gateway_ip': '145.244.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.244.207.194', 'tags': [], 'project_id': 'b8e5d36fa658447eab96a1751d8f4627'}} 2025-08-28 02:21:54,483 - INFO - Created VN ctest-ext_vn-18599755 2025-08-28 02:21:54,493 - DEBUG - VN ctest-ext_vn-18599755 UUID is a8f90d62-38fa-4b68-abbb-cfee5b9d6136 2025-08-28 02:21:54,650 - DEBUG - Services list from nova: [, , , ] 2025-08-28 02:21:55,633 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3956-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3956-1) 2025-08-28 02:21:56,889 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3956-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3956-2) 2025-08-28 02:21:57,017 - INFO - Setting gateway for router fc4620b0-f1eb-418d-98d2-e67db54e8523 to network a8f90d62-38fa-4b68-abbb-cfee5b9d6136 2025-08-28 02:21:57,122 - INFO - Adding interface with subnet_id 71c0a55b-53df-4f72-9a87-e12ec93fa1e9, port_id None to router fc4620b0-f1eb-418d-98d2-e67db54e8523 2025-08-28 02:21:57,559 - INFO - Waiting for VM ctest-TestRoutersBasic-96995274-73929344 to be up.. 2025-08-28 02:21:57,734 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 02:22:02,863 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:22:02,863 - INFO - VM name : ctest-TestRoutersBasic-96995274-73929344 2025-08-28 02:22:02,968 - DEBUG - VM ctest-TestRoutersBasic-96995274-73929344 ID is 2364024e-dfac-423a-98f2-eaedd155f9c3 2025-08-28 02:22:02,995 - DEBUG - VM ctest-TestRoutersBasic-96995274-73929344 launched on Node an-jenkins-deploy-platform-ansible-os-3956-1 2025-08-28 02:22:03,068 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2364024e-dfac-423a-98f2-eaedd155f9c3 2025-08-28 02:22:03,362 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2364024e-dfac-423a-98f2-eaedd155f9c3 2025-08-28 02:22:03,483 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b02fa8b9-4269-4370-91de-1f03b39a1faf 2025-08-28 02:22:06,670 - 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 1019ms') 2025-08-28 02:22:06,670 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96995274-73929344 failed! 2025-08-28 02:22:06,683 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96995274:ctest-vn-25801586 is 83.101.98.1 and allocation pool is NOT set 2025-08-28 02:22:08,747 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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.417/1.880/3.343/1.463 ms') 2025-08-28 02:22:08,747 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96995274-73929344 passed 2025-08-28 02:22:08,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:22:08,814 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96995274-73929344, IP 83.101.98.3, Port 22 2025-08-28 02:22:08,966 - DEBUG - VM ctest-TestRoutersBasic-96995274-73929344 is ready for SSH connections 2025-08-28 02:22:08,966 - INFO - Waiting for VM ctest-TestRoutersBasic-96995274-04802215 to be up.. 2025-08-28 02:22:09,046 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:22:09,046 - INFO - VM name : ctest-TestRoutersBasic-96995274-04802215 2025-08-28 02:22:09,117 - DEBUG - VM ctest-TestRoutersBasic-96995274-04802215 ID is 315b243c-63e3-4c64-81d2-847144584053 2025-08-28 02:22:09,117 - DEBUG - VM ctest-TestRoutersBasic-96995274-04802215 launched on Node an-jenkins-deploy-platform-ansible-os-3956-2 2025-08-28 02:22:09,195 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/315b243c-63e3-4c64-81d2-847144584053 2025-08-28 02:22:09,205 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/811c8498-ef74-4ed0-a749-4724bd88c091 2025-08-28 02:22:10,356 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.702 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.702/1.678/2.655/0.976 ms') 2025-08-28 02:22:10,356 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96995274-04802215 passed 2025-08-28 02:22:10,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:22:10,429 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96995274-04802215, IP 145.244.207.195, Port 22 2025-08-28 02:22:10,585 - DEBUG - VM ctest-TestRoutersBasic-96995274-04802215 is ready for SSH connections 2025-08-28 02:22:10,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:22:10,585 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.244.207.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-28 02:22:10,585 - DEBUG - ping -s 56 -c 3 -W 1 145.244.207.195 2025-08-28 02:22:14,238 - DEBUG - PING 145.244.207.195 (145.244.207.195): 56 data bytes 64 bytes from 145.244.207.195: seq=0 ttl=62 time=5.767 ms 64 bytes from 145.244.207.195: seq=1 ttl=62 time=1.144 ms 64 bytes from 145.244.207.195: seq=2 ttl=62 time=1.089 ms --- 145.244.207.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.089/2.666/5.767 ms 2025-08-28 02:22:14,238 - INFO - Ping to IP 145.244.207.195 from VM ctest-TestRoutersBasic-96995274-73929344 passed 2025-08-28 02:22:14,238 - INFO - Deleting interface with subnet_id 71c0a55b-53df-4f72-9a87-e12ec93fa1e9, port_id None from router fc4620b0-f1eb-418d-98d2-e67db54e8523 2025-08-28 02:22:14,563 - INFO - Deleting VM ctest-TestRoutersBasic-96995274-04802215 2025-08-28 02:22:14,683 - INFO - Deleting VM ctest-TestRoutersBasic-96995274-73929344 2025-08-28 02:22:14,806 - INFO - Deleting VN ctest-ext_vn-18599755 2025-08-28 02:22:14,908 - DEBUG - VN a8f90d62-38fa-4b68-abbb-cfee5b9d6136 still in use: Unable to complete operation on network a8f90d62-38fa-4b68-abbb-cfee5b9d6136. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9bebdd47-b2d3-42ae-8d45-bf6a8ab7f848'] 2025-08-28 02:22:14,908 - WARNING - Deleting VN ctest-ext_vn-18599755 failed..Will retry 2025-08-28 02:22:17,097 - DEBUG - Response for deleting network () 2025-08-28 02:22:17,097 - INFO - Deleting VN ctest-vn-25801586 2025-08-28 02:22:17,243 - DEBUG - Response for deleting network () 2025-08-28 02:22:18,520 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 02:22:18,520 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-08-28 02:22:18,520 - INFO - -------------------------------------------------------------------------------- 2025-08-28 02:22:19,249 - INFO - Deleted project: ctest-TestRoutersBasic-96995274, ID : b8e5d36f-a658-447e-ab96-a1751d8f4627