2025-01-02 14:19:29,963 - INFO - Domain Default found not creating 2025-01-02 14:19:30,118 - INFO - Project ctest-TestRoutersBasic-05536936 not found, creating it 2025-01-02 14:19:30,568 - INFO - Created Project:ctest-TestRoutersBasic-05536936, ID : 739e6b30-4408-43c3-b5f4-fc7ddf3603d2 2025-01-02 14:19:32,038 - INFO - ================================================================================ 2025-01-02 14:19:32,039 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-02 14:19:32,039 - 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-02 14:19:32,292 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.26': '0'}} with 2025-01-02 14:19:32,292 - INFO - Initial checks done. Running the testcase now 2025-01-02 14:19:32,292 - INFO - 2025-01-02 14:19:32,986 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05536936 2025-01-02 14:19:33,083 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05536936 2025-01-02 14:19:33,418 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05536936', 'default']} 2025-01-02 14:19:33,720 - DEBUG - Response for create_network : {'network': {'id': 'dec4ef07-7e38-421b-8806-69de5364bdc2', 'name': 'ctest-vn-57115545', 'tenant_id': '739e6b30440843c3b5f4fc7ddf3603d2', 'project_id': '739e6b30440843c3b5f4fc7ddf3603d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05536936', 'ctest-vn-57115545'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 14:19:33,871 - DEBUG - Response for create_subnet : {'subnet': {'id': '41622106-08e1-40ca-a0d7-13f7e12bbee2', 'name': '', 'tenant_id': '739e6b30440843c3b5f4fc7ddf3603d2', 'network_id': 'dec4ef07-7e38-421b-8806-69de5364bdc2', 'ip_version': 4, 'cidr': '72.157.197.64/26', 'allocation_pools': [{'start': '72.157.197.66', 'end': '72.157.197.126'}], 'gateway_ip': '72.157.197.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.157.197.66', 'tags': [], 'project_id': '739e6b30440843c3b5f4fc7ddf3603d2'}} 2025-01-02 14:19:33,887 - INFO - Created VN ctest-vn-57115545 2025-01-02 14:19:33,939 - DEBUG - VN ctest-vn-57115545 UUID is dec4ef07-7e38-421b-8806-69de5364bdc2 2025-01-02 14:19:34,311 - DEBUG - Response for create_network : {'network': {'id': '67c241c6-ef0c-4ffe-b2bb-a9c3fe60b939', 'name': 'ctest-ext_vn-24390975', 'tenant_id': '739e6b30440843c3b5f4fc7ddf3603d2', 'project_id': '739e6b30440843c3b5f4fc7ddf3603d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05536936', 'ctest-ext_vn-24390975'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 14:19:34,484 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5ff3e1c-f0c7-486f-b02c-8ae4d98da520', 'name': '', 'tenant_id': '739e6b30440843c3b5f4fc7ddf3603d2', 'network_id': '67c241c6-ef0c-4ffe-b2bb-a9c3fe60b939', 'ip_version': 4, 'cidr': '69.191.96.192/26', 'allocation_pools': [{'start': '69.191.96.194', 'end': '69.191.96.254'}], 'gateway_ip': '69.191.96.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.191.96.194', 'tags': [], 'project_id': '739e6b30440843c3b5f4fc7ddf3603d2'}} 2025-01-02 14:19:34,506 - INFO - Created VN ctest-ext_vn-24390975 2025-01-02 14:19:34,559 - DEBUG - VN ctest-ext_vn-24390975 UUID is 67c241c6-ef0c-4ffe-b2bb-a9c3fe60b939 2025-01-02 14:19:34,741 - DEBUG - Services list from nova: [, , ] 2025-01-02 14:19:35,740 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2511-1) 2025-01-02 14:19:36,849 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2511-1) 2025-01-02 14:19:36,931 - INFO - Setting gateway for router 331c1abf-5b24-4871-a27a-7ef8a14d75ed to network 67c241c6-ef0c-4ffe-b2bb-a9c3fe60b939 2025-01-02 14:19:37,038 - INFO - Adding interface with subnet_id 41622106-08e1-40ca-a0d7-13f7e12bbee2, port_id None to router 331c1abf-5b24-4871-a27a-7ef8a14d75ed 2025-01-02 14:19:37,404 - INFO - Waiting for VM ctest-TestRoutersBasic-05536936-11802038 to be up.. 2025-01-02 14:19:37,603 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 14:19:42,684 - DEBUG - VM is in ACTIVE state now 2025-01-02 14:19:42,684 - INFO - VM name : ctest-TestRoutersBasic-05536936-11802038 2025-01-02 14:19:42,760 - DEBUG - VM ctest-TestRoutersBasic-05536936-11802038 ID is df7bf736-338e-41b9-aa7d-b6ab04f6f3e8 2025-01-02 14:19:42,779 - DEBUG - VM ctest-TestRoutersBasic-05536936-11802038 launched on Node cn-jenkins-deploy-platform-ansible-os-2511-1 2025-01-02 14:19:42,851 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/df7bf736-338e-41b9-aa7d-b6ab04f6f3e8 2025-01-02 14:19:43,147 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/df7bf736-338e-41b9-aa7d-b6ab04f6f3e8 2025-01-02 14:19:43,196 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/a2a81559-5f08-4d7a-9b85-dc367d36fefd 2025-01-02 14:19:46,446 - 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 1007ms') 2025-01-02 14:19:46,446 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05536936-11802038 failed! 2025-01-02 14:19:46,507 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05536936:ctest-vn-57115545 is 72.157.197.65 and allocation pool is NOT set 2025-01-02 14:19:48,567 - 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.519 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.519/2.258/3.998/1.739 ms') 2025-01-02 14:19:48,568 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05536936-11802038 passed 2025-01-02 14:19:48,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 14:19:48,679 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05536936-11802038, IP 72.157.197.67, Port 22 2025-01-02 14:19:48,844 - DEBUG - VM ctest-TestRoutersBasic-05536936-11802038 is ready for SSH connections 2025-01-02 14:19:48,844 - INFO - Waiting for VM ctest-TestRoutersBasic-05536936-66409698 to be up.. 2025-01-02 14:19:48,928 - DEBUG - VM is in ACTIVE state now 2025-01-02 14:19:48,928 - INFO - VM name : ctest-TestRoutersBasic-05536936-66409698 2025-01-02 14:19:49,008 - DEBUG - VM ctest-TestRoutersBasic-05536936-66409698 ID is eed3c4d5-f205-4ea8-b181-1816dfa1f8f5 2025-01-02 14:19:49,008 - DEBUG - VM ctest-TestRoutersBasic-05536936-66409698 launched on Node cn-jenkins-deploy-platform-ansible-os-2511-1 2025-01-02 14:19:49,085 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/eed3c4d5-f205-4ea8-b181-1816dfa1f8f5 2025-01-02 14:19:49,095 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/d6bb3b49-5fe0-42ec-be50-4b4e2fdee8cf 2025-01-02 14:19:50,344 - 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=3.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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 = 0.468/2.001/3.535/1.533 ms') 2025-01-02 14:19:50,344 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05536936-66409698 passed 2025-01-02 14:19:50,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 14:19:50,499 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05536936-66409698, IP 69.191.96.195, Port 22 2025-01-02 14:19:50,673 - DEBUG - VM ctest-TestRoutersBasic-05536936-66409698 is ready for SSH connections 2025-01-02 14:19:50,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 14:19:50,674 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.191.96.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-01-02 14:19:50,674 - DEBUG - ping -s 56 -c 3 -W 1 69.191.96.195 2025-01-02 14:19:54,351 - DEBUG - PING 69.191.96.195 (69.191.96.195): 56 data bytes 64 bytes from 69.191.96.195: seq=0 ttl=62 time=6.440 ms 64 bytes from 69.191.96.195: seq=1 ttl=62 time=0.848 ms 64 bytes from 69.191.96.195: seq=2 ttl=62 time=0.934 ms --- 69.191.96.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/2.740/6.440 ms 2025-01-02 14:19:54,351 - INFO - Ping to IP 69.191.96.195 from VM ctest-TestRoutersBasic-05536936-11802038 passed 2025-01-02 14:19:54,351 - INFO - Deleting interface with subnet_id 41622106-08e1-40ca-a0d7-13f7e12bbee2, port_id None from router 331c1abf-5b24-4871-a27a-7ef8a14d75ed 2025-01-02 14:19:54,768 - INFO - Deleting VM ctest-TestRoutersBasic-05536936-66409698 2025-01-02 14:19:54,849 - INFO - Deleting VM ctest-TestRoutersBasic-05536936-11802038 2025-01-02 14:19:54,935 - INFO - Deleting VN ctest-ext_vn-24390975 2025-01-02 14:19:55,006 - DEBUG - VN 67c241c6-ef0c-4ffe-b2bb-a9c3fe60b939 still in use: Unable to complete operation on network 67c241c6-ef0c-4ffe-b2bb-a9c3fe60b939. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1fe19c45-f30f-4e08-ac8e-6cc92091daad'] 2025-01-02 14:19:55,006 - WARNING - Deleting VN ctest-ext_vn-24390975 failed..Will retry 2025-01-02 14:19:57,108 - DEBUG - Response for deleting network () 2025-01-02 14:19:57,108 - INFO - Deleting VN ctest-vn-57115545 2025-01-02 14:19:57,208 - DEBUG - Response for deleting network () 2025-01-02 14:19:57,464 - DEBUG - No XMPP flaps were noticed during the test 2025-01-02 14:19:57,464 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-01-02 14:19:57,464 - INFO - -------------------------------------------------------------------------------- 2025-01-02 14:19:58,124 - INFO - Deleted project: ctest-TestRoutersBasic-05536936, ID : 739e6b30-4408-43c3-b5f4-fc7ddf3603d2