2025-03-26 22:58:02,023 - INFO - Domain Default found not creating 2025-03-26 22:58:02,214 - INFO - Project ctest-TestRoutersBasic-95716919 not found, creating it 2025-03-26 22:58:02,728 - INFO - Created Project:ctest-TestRoutersBasic-95716919, ID : 18ec1fa4-57aa-49a4-8748-228f0dac11a9 2025-03-26 22:58:04,135 - INFO - ================================================================================ 2025-03-26 22:58:04,135 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-26 22:58:04,135 - 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-03-26 22:58:04,400 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.18': '0'}} with 2025-03-26 22:58:04,400 - INFO - Initial checks done. Running the testcase now 2025-03-26 22:58:04,400 - INFO - 2025-03-26 22:58:05,109 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-95716919 2025-03-26 22:58:05,210 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-95716919 2025-03-26 22:58:05,534 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95716919', 'default']} 2025-03-26 22:58:05,847 - DEBUG - Response for create_network : {'network': {'id': '75016e69-c105-42fd-b134-ae62e9911ccd', 'name': 'ctest-vn-84010003', 'tenant_id': '18ec1fa457aa49a48748228f0dac11a9', 'project_id': '18ec1fa457aa49a48748228f0dac11a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95716919', 'ctest-vn-84010003'], 'port_security_enabled': True, 'description': ''}} 2025-03-26 22:58:06,058 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a66fa70-6bb3-4c6a-8359-945fb73daa8c', 'name': '', 'tenant_id': '18ec1fa457aa49a48748228f0dac11a9', 'network_id': '75016e69-c105-42fd-b134-ae62e9911ccd', 'ip_version': 4, 'cidr': '93.62.106.192/26', 'allocation_pools': [{'start': '93.62.106.194', 'end': '93.62.106.254'}], 'gateway_ip': '93.62.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.62.106.194', 'tags': [], 'project_id': '18ec1fa457aa49a48748228f0dac11a9'}} 2025-03-26 22:58:06,078 - INFO - Created VN ctest-vn-84010003 2025-03-26 22:58:06,130 - DEBUG - VN ctest-vn-84010003 UUID is 75016e69-c105-42fd-b134-ae62e9911ccd 2025-03-26 22:58:06,522 - DEBUG - Response for create_network : {'network': {'id': 'd6262051-f720-425f-b9f1-4c054e2a1077', 'name': 'ctest-ext_vn-92395492', 'tenant_id': '18ec1fa457aa49a48748228f0dac11a9', 'project_id': '18ec1fa457aa49a48748228f0dac11a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95716919', 'ctest-ext_vn-92395492'], 'port_security_enabled': True, 'description': ''}} 2025-03-26 22:58:06,703 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0bff6c6-5262-42ee-98c8-2a58e1fe1c97', 'name': '', 'tenant_id': '18ec1fa457aa49a48748228f0dac11a9', 'network_id': 'd6262051-f720-425f-b9f1-4c054e2a1077', 'ip_version': 4, 'cidr': '144.81.141.0/26', 'allocation_pools': [{'start': '144.81.141.2', 'end': '144.81.141.62'}], 'gateway_ip': '144.81.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.81.141.2', 'tags': [], 'project_id': '18ec1fa457aa49a48748228f0dac11a9'}} 2025-03-26 22:58:06,722 - INFO - Created VN ctest-ext_vn-92395492 2025-03-26 22:58:06,774 - DEBUG - VN ctest-ext_vn-92395492 UUID is d6262051-f720-425f-b9f1-4c054e2a1077 2025-03-26 22:58:06,942 - DEBUG - Services list from nova: [, , ] 2025-03-26 22:58:07,935 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2961-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2961-1) 2025-03-26 22:58:09,046 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2961-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2961-1) 2025-03-26 22:58:09,146 - INFO - Setting gateway for router 3c6e2676-245e-40e4-9d11-2b3df98ba244 to network d6262051-f720-425f-b9f1-4c054e2a1077 2025-03-26 22:58:09,226 - INFO - Adding interface with subnet_id 5a66fa70-6bb3-4c6a-8359-945fb73daa8c, port_id None to router 3c6e2676-245e-40e4-9d11-2b3df98ba244 2025-03-26 22:58:09,725 - INFO - Waiting for VM ctest-TestRoutersBasic-95716919-10540874 to be up.. 2025-03-26 22:58:09,927 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-26 22:58:15,013 - DEBUG - VM is in ACTIVE state now 2025-03-26 22:58:15,013 - INFO - VM name : ctest-TestRoutersBasic-95716919-10540874 2025-03-26 22:58:15,103 - DEBUG - VM ctest-TestRoutersBasic-95716919-10540874 ID is f49c4d1a-f8aa-4fef-9ffd-f46460142688 2025-03-26 22:58:15,122 - DEBUG - VM ctest-TestRoutersBasic-95716919-10540874 launched on Node cn-jenkins-deploy-platform-ansible-os-2961-1 2025-03-26 22:58:15,208 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/f49c4d1a-f8aa-4fef-9ffd-f46460142688 2025-03-26 22:58:15,516 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/f49c4d1a-f8aa-4fef-9ffd-f46460142688 2025-03-26 22:58:15,562 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/0c91c925-ec55-4074-b9e8-b242566f1b7c 2025-03-26 22:58:18,816 - 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-03-26 22:58:18,816 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95716919-10540874 failed! 2025-03-26 22:58:18,874 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-95716919:ctest-vn-84010003 is 93.62.106.193 and allocation pool is NOT set 2025-03-26 22:58:20,933 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.441 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.441/1.692/2.943/1.251 ms') 2025-03-26 22:58:20,933 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95716919-10540874 passed 2025-03-26 22:58:21,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 22:58:21,094 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95716919-10540874, IP 93.62.106.195, Port 22 2025-03-26 22:58:21,250 - DEBUG - VM ctest-TestRoutersBasic-95716919-10540874 is ready for SSH connections 2025-03-26 22:58:21,250 - INFO - Waiting for VM ctest-TestRoutersBasic-95716919-27372789 to be up.. 2025-03-26 22:58:21,330 - DEBUG - VM is in ACTIVE state now 2025-03-26 22:58:21,330 - INFO - VM name : ctest-TestRoutersBasic-95716919-27372789 2025-03-26 22:58:21,404 - DEBUG - VM ctest-TestRoutersBasic-95716919-27372789 ID is b160472e-869d-47fd-8cb6-b4e3d7134811 2025-03-26 22:58:21,404 - DEBUG - VM ctest-TestRoutersBasic-95716919-27372789 launched on Node cn-jenkins-deploy-platform-ansible-os-2961-1 2025-03-26 22:58:21,480 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/b160472e-869d-47fd-8cb6-b4e3d7134811 2025-03-26 22:58:21,489 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/e4aea8df-09d8-4ac8-a9e5-f9a594a54b0f 2025-03-26 22:58:22,729 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.538 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.538/1.765/2.992/1.227 ms') 2025-03-26 22:58:22,729 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-95716919-27372789 passed 2025-03-26 22:58:22,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 22:58:22,878 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95716919-27372789, IP 144.81.141.3, Port 22 2025-03-26 22:58:23,034 - DEBUG - VM ctest-TestRoutersBasic-95716919-27372789 is ready for SSH connections 2025-03-26 22:58:23,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 22:58:23,034 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.81.141.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-03-26 22:58:23,035 - DEBUG - ping -s 56 -c 3 -W 1 144.81.141.3 2025-03-26 22:58:27,052 - DEBUG - PING 144.81.141.3 (144.81.141.3): 56 data bytes 64 bytes from 144.81.141.3: seq=0 ttl=62 time=6.699 ms 64 bytes from 144.81.141.3: seq=1 ttl=62 time=0.821 ms 64 bytes from 144.81.141.3: seq=2 ttl=62 time=0.996 ms --- 144.81.141.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.821/2.838/6.699 ms 2025-03-26 22:58:27,052 - INFO - Ping to IP 144.81.141.3 from VM ctest-TestRoutersBasic-95716919-10540874 passed 2025-03-26 22:58:27,053 - INFO - Deleting interface with subnet_id 5a66fa70-6bb3-4c6a-8359-945fb73daa8c, port_id None from router 3c6e2676-245e-40e4-9d11-2b3df98ba244 2025-03-26 22:58:27,260 - INFO - Deleting VM ctest-TestRoutersBasic-95716919-27372789 2025-03-26 22:58:27,327 - INFO - Deleting VM ctest-TestRoutersBasic-95716919-10540874 2025-03-26 22:58:27,416 - INFO - Deleting VN ctest-ext_vn-92395492 2025-03-26 22:58:27,493 - DEBUG - VN d6262051-f720-425f-b9f1-4c054e2a1077 still in use: Unable to complete operation on network d6262051-f720-425f-b9f1-4c054e2a1077. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-94a6f3b3-9f22-4ad8-8417-987c73926113'] 2025-03-26 22:58:27,493 - WARNING - Deleting VN ctest-ext_vn-92395492 failed..Will retry 2025-03-26 22:58:29,617 - DEBUG - Response for deleting network () 2025-03-26 22:58:29,617 - INFO - Deleting VN ctest-vn-84010003 2025-03-26 22:58:29,730 - DEBUG - Response for deleting network () 2025-03-26 22:58:29,993 - DEBUG - No XMPP flaps were noticed during the test 2025-03-26 22:58:29,994 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-03-26 22:58:29,994 - INFO - -------------------------------------------------------------------------------- 2025-03-26 22:58:30,700 - INFO - Deleted project: ctest-TestRoutersBasic-95716919, ID : 18ec1fa4-57aa-49a4-8748-228f0dac11a9