2025-01-14 10:55:40,454 - INFO - Domain Default found not creating 2025-01-14 10:55:40,633 - INFO - Project ctest-TestRoutersBasic-83247253 not found, creating it 2025-01-14 10:55:41,126 - INFO - Created Project:ctest-TestRoutersBasic-83247253, ID : 4fe8386a-a1c9-4399-bd9a-1dea66a21000 2025-01-14 10:55:42,527 - INFO - ================================================================================ 2025-01-14 10:55:42,527 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-14 10:55:42,527 - 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-01-14 10:55:42,791 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.6': '0'}} with 2025-01-14 10:55:42,791 - INFO - Initial checks done. Running the testcase now 2025-01-14 10:55:42,791 - INFO - 2025-01-14 10:55:43,490 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83247253 2025-01-14 10:55:43,592 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83247253 2025-01-14 10:55:43,932 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83247253', 'default']} 2025-01-14 10:55:44,243 - DEBUG - Response for create_network : {'network': {'id': 'e0d06bd1-dff6-4495-8ac1-8f6e6d474807', 'name': 'ctest-vn-17070816', 'tenant_id': '4fe8386aa1c94399bd9a1dea66a21000', 'project_id': '4fe8386aa1c94399bd9a1dea66a21000', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83247253', 'ctest-vn-17070816'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 10:55:44,491 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf8bde64-f8b3-41c5-80ce-a824ca5fc15f', 'name': '', 'tenant_id': '4fe8386aa1c94399bd9a1dea66a21000', 'network_id': 'e0d06bd1-dff6-4495-8ac1-8f6e6d474807', 'ip_version': 4, 'cidr': '198.142.224.64/26', 'allocation_pools': [{'start': '198.142.224.66', 'end': '198.142.224.126'}], 'gateway_ip': '198.142.224.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.142.224.66', 'tags': [], 'project_id': '4fe8386aa1c94399bd9a1dea66a21000'}} 2025-01-14 10:55:44,512 - INFO - Created VN ctest-vn-17070816 2025-01-14 10:55:44,572 - DEBUG - VN ctest-vn-17070816 UUID is e0d06bd1-dff6-4495-8ac1-8f6e6d474807 2025-01-14 10:55:44,934 - DEBUG - Response for create_network : {'network': {'id': '44c71e32-4b26-4654-b33d-9a0f8dde02d7', 'name': 'ctest-ext_vn-48577041', 'tenant_id': '4fe8386aa1c94399bd9a1dea66a21000', 'project_id': '4fe8386aa1c94399bd9a1dea66a21000', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83247253', 'ctest-ext_vn-48577041'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 10:55:45,121 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aea8dda7-58c3-4a77-9724-5f92151f747f', 'name': '', 'tenant_id': '4fe8386aa1c94399bd9a1dea66a21000', 'network_id': '44c71e32-4b26-4654-b33d-9a0f8dde02d7', 'ip_version': 4, 'cidr': '53.73.204.128/26', 'allocation_pools': [{'start': '53.73.204.130', 'end': '53.73.204.190'}], 'gateway_ip': '53.73.204.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.73.204.130', 'tags': [], 'project_id': '4fe8386aa1c94399bd9a1dea66a21000'}} 2025-01-14 10:55:45,142 - INFO - Created VN ctest-ext_vn-48577041 2025-01-14 10:55:45,196 - DEBUG - VN ctest-ext_vn-48577041 UUID is 44c71e32-4b26-4654-b33d-9a0f8dde02d7 2025-01-14 10:55:45,365 - DEBUG - Services list from nova: [, , ] 2025-01-14 10:55:46,392 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2623-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2623-1) 2025-01-14 10:55:47,528 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2623-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2623-1) 2025-01-14 10:55:47,597 - INFO - Setting gateway for router e03c9dfa-61f1-4fa5-9d17-fea749396e7d to network 44c71e32-4b26-4654-b33d-9a0f8dde02d7 2025-01-14 10:55:47,672 - INFO - Adding interface with subnet_id bf8bde64-f8b3-41c5-80ce-a824ca5fc15f, port_id None to router e03c9dfa-61f1-4fa5-9d17-fea749396e7d 2025-01-14 10:55:48,080 - INFO - Waiting for VM ctest-TestRoutersBasic-83247253-51713271 to be up.. 2025-01-14 10:55:48,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-14 10:55:53,416 - DEBUG - VM is in ACTIVE state now 2025-01-14 10:55:53,416 - INFO - VM name : ctest-TestRoutersBasic-83247253-51713271 2025-01-14 10:55:53,497 - DEBUG - VM ctest-TestRoutersBasic-83247253-51713271 ID is b13980c6-0e31-4d82-8c3c-afa0a0fbde2a 2025-01-14 10:55:53,517 - DEBUG - VM ctest-TestRoutersBasic-83247253-51713271 launched on Node cn-jenkins-deploy-platform-ansible-os-2623-1 2025-01-14 10:55:53,612 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/b13980c6-0e31-4d82-8c3c-afa0a0fbde2a 2025-01-14 10:55:53,908 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/b13980c6-0e31-4d82-8c3c-afa0a0fbde2a 2025-01-14 10:55:53,942 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/912874ce-bfc4-43e8-a77f-ea4f783cad42 2025-01-14 10:55:57,185 - 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 1002ms') 2025-01-14 10:55:57,185 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83247253-51713271 failed! 2025-01-14 10:55:57,248 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83247253:ctest-vn-17070816 is 198.142.224.65 and allocation pool is NOT set 2025-01-14 10:55:59,310 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.501 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.501/1.751/3.002/1.250 ms') 2025-01-14 10:55:59,310 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83247253-51713271 passed 2025-01-14 10:55:59,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 10:55:59,464 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83247253-51713271, IP 198.142.224.67, Port 22 2025-01-14 10:55:59,623 - DEBUG - VM ctest-TestRoutersBasic-83247253-51713271 is ready for SSH connections 2025-01-14 10:55:59,623 - INFO - Waiting for VM ctest-TestRoutersBasic-83247253-85622994 to be up.. 2025-01-14 10:55:59,719 - DEBUG - VM is in ACTIVE state now 2025-01-14 10:55:59,719 - INFO - VM name : ctest-TestRoutersBasic-83247253-85622994 2025-01-14 10:55:59,799 - DEBUG - VM ctest-TestRoutersBasic-83247253-85622994 ID is 6f9c748b-afec-403d-9468-bbac3db71678 2025-01-14 10:55:59,799 - DEBUG - VM ctest-TestRoutersBasic-83247253-85622994 launched on Node cn-jenkins-deploy-platform-ansible-os-2623-1 2025-01-14 10:55:59,879 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/6f9c748b-afec-403d-9468-bbac3db71678 2025-01-14 10:55:59,891 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/28e9d599-d63f-47a2-9a77-f66e66ae8f71 2025-01-14 10:56:01,137 - 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=6.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.68 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.680/4.745/6.810/2.065 ms') 2025-01-14 10:56:01,137 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-83247253-85622994 passed 2025-01-14 10:56:01,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 10:56:01,292 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83247253-85622994, IP 53.73.204.131, Port 22 2025-01-14 10:56:01,457 - DEBUG - VM ctest-TestRoutersBasic-83247253-85622994 is ready for SSH connections 2025-01-14 10:56:01,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 10:56:01,458 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.73.204.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-01-14 10:56:01,458 - DEBUG - ping -s 56 -c 3 -W 1 53.73.204.131 2025-01-14 10:56:05,478 - DEBUG - PING 53.73.204.131 (53.73.204.131): 56 data bytes 64 bytes from 53.73.204.131: seq=0 ttl=62 time=5.352 ms 64 bytes from 53.73.204.131: seq=1 ttl=62 time=0.965 ms 64 bytes from 53.73.204.131: seq=2 ttl=62 time=1.195 ms --- 53.73.204.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.965/2.504/5.352 ms 2025-01-14 10:56:05,478 - INFO - Ping to IP 53.73.204.131 from VM ctest-TestRoutersBasic-83247253-51713271 passed 2025-01-14 10:56:05,478 - INFO - Deleting interface with subnet_id bf8bde64-f8b3-41c5-80ce-a824ca5fc15f, port_id None from router e03c9dfa-61f1-4fa5-9d17-fea749396e7d 2025-01-14 10:56:05,725 - INFO - Deleting VM ctest-TestRoutersBasic-83247253-85622994 2025-01-14 10:56:05,823 - INFO - Deleting VM ctest-TestRoutersBasic-83247253-51713271 2025-01-14 10:56:05,901 - INFO - Deleting VN ctest-ext_vn-48577041 2025-01-14 10:56:05,980 - DEBUG - VN 44c71e32-4b26-4654-b33d-9a0f8dde02d7 still in use: Unable to complete operation on network 44c71e32-4b26-4654-b33d-9a0f8dde02d7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4cd10184-b339-4f30-adea-194672d83b16'] 2025-01-14 10:56:05,980 - WARNING - Deleting VN ctest-ext_vn-48577041 failed..Will retry 2025-01-14 10:56:08,100 - DEBUG - Response for deleting network () 2025-01-14 10:56:08,100 - INFO - Deleting VN ctest-vn-17070816 2025-01-14 10:56:08,248 - DEBUG - Response for deleting network () 2025-01-14 10:56:08,503 - DEBUG - No XMPP flaps were noticed during the test 2025-01-14 10:56:08,503 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-01-14 10:56:08,503 - INFO - -------------------------------------------------------------------------------- 2025-01-14 10:56:09,179 - INFO - Deleted project: ctest-TestRoutersBasic-83247253, ID : 4fe8386a-a1c9-4399-bd9a-1dea66a21000