2025-01-02 21:54:31,266 - INFO - Domain Default found not creating 2025-01-02 21:54:31,429 - INFO - Project ctest-TestRoutersBasic-32453784 not found, creating it 2025-01-02 21:54:31,883 - INFO - Created Project:ctest-TestRoutersBasic-32453784, ID : ed488c8a-a109-482f-b44a-a47067c73b52 2025-01-02 21:54:33,437 - INFO - ================================================================================ 2025-01-02 21:54:33,437 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-02 21:54:33,437 - 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 21:54:33,690 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.11': '0'}} with 2025-01-02 21:54:33,691 - INFO - Initial checks done. Running the testcase now 2025-01-02 21:54:33,691 - INFO - 2025-01-02 21:54:34,391 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32453784 2025-01-02 21:54:34,485 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32453784 2025-01-02 21:54:34,809 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32453784', 'default']} 2025-01-02 21:54:35,102 - DEBUG - Response for create_network : {'network': {'id': '41fd8417-cbb9-46c8-9ac6-2e7a5bdfd008', 'name': 'ctest-vn-65082916', 'tenant_id': 'ed488c8aa109482fb44aa47067c73b52', 'project_id': 'ed488c8aa109482fb44aa47067c73b52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32453784', 'ctest-vn-65082916'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 21:54:35,243 - DEBUG - Response for create_subnet : {'subnet': {'id': '80bf9a5b-455e-4f84-acde-8180b661cb92', 'name': '', 'tenant_id': 'ed488c8aa109482fb44aa47067c73b52', 'network_id': '41fd8417-cbb9-46c8-9ac6-2e7a5bdfd008', 'ip_version': 4, 'cidr': '190.6.98.192/26', 'allocation_pools': [{'start': '190.6.98.194', 'end': '190.6.98.254'}], 'gateway_ip': '190.6.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.6.98.194', 'tags': [], 'project_id': 'ed488c8aa109482fb44aa47067c73b52'}} 2025-01-02 21:54:35,262 - INFO - Created VN ctest-vn-65082916 2025-01-02 21:54:35,313 - DEBUG - VN ctest-vn-65082916 UUID is 41fd8417-cbb9-46c8-9ac6-2e7a5bdfd008 2025-01-02 21:54:35,645 - DEBUG - Response for create_network : {'network': {'id': '3a2dfdef-a5e2-4e11-b2d3-7f9b66742d5f', 'name': 'ctest-ext_vn-05148258', 'tenant_id': 'ed488c8aa109482fb44aa47067c73b52', 'project_id': 'ed488c8aa109482fb44aa47067c73b52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32453784', 'ctest-ext_vn-05148258'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 21:54:35,865 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd995d47e-1ec5-48f5-ba14-c8f89c9c32d3', 'name': '', 'tenant_id': 'ed488c8aa109482fb44aa47067c73b52', 'network_id': '3a2dfdef-a5e2-4e11-b2d3-7f9b66742d5f', 'ip_version': 4, 'cidr': '26.118.251.192/26', 'allocation_pools': [{'start': '26.118.251.194', 'end': '26.118.251.254'}], 'gateway_ip': '26.118.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.118.251.194', 'tags': [], 'project_id': 'ed488c8aa109482fb44aa47067c73b52'}} 2025-01-02 21:54:35,884 - INFO - Created VN ctest-ext_vn-05148258 2025-01-02 21:54:35,937 - DEBUG - VN ctest-ext_vn-05148258 UUID is 3a2dfdef-a5e2-4e11-b2d3-7f9b66742d5f 2025-01-02 21:54:36,098 - DEBUG - Services list from nova: [, , ] 2025-01-02 21:54:37,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2513-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2513-1) 2025-01-02 21:54:38,235 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2513-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2513-1) 2025-01-02 21:54:38,333 - INFO - Setting gateway for router a4c21d15-4441-4cef-9101-1168200cb6f0 to network 3a2dfdef-a5e2-4e11-b2d3-7f9b66742d5f 2025-01-02 21:54:38,409 - INFO - Adding interface with subnet_id 80bf9a5b-455e-4f84-acde-8180b661cb92, port_id None to router a4c21d15-4441-4cef-9101-1168200cb6f0 2025-01-02 21:54:38,925 - INFO - Waiting for VM ctest-TestRoutersBasic-32453784-85283548 to be up.. 2025-01-02 21:54:39,123 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 21:54:44,197 - DEBUG - VM is in ACTIVE state now 2025-01-02 21:54:44,197 - INFO - VM name : ctest-TestRoutersBasic-32453784-85283548 2025-01-02 21:54:44,274 - DEBUG - VM ctest-TestRoutersBasic-32453784-85283548 ID is 45a6226f-c83e-4440-89d6-4979df8c0bb8 2025-01-02 21:54:44,292 - DEBUG - VM ctest-TestRoutersBasic-32453784-85283548 launched on Node cn-jenkins-deploy-platform-ansible-os-2513-1 2025-01-02 21:54:44,363 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/45a6226f-c83e-4440-89d6-4979df8c0bb8 2025-01-02 21:54:44,653 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/45a6226f-c83e-4440-89d6-4979df8c0bb8 2025-01-02 21:54:44,686 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/710d3b57-7952-4057-b0b9-3903571e4c20 2025-01-02 21:54:47,945 - 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 1023ms') 2025-01-02 21:54:47,946 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32453784-85283548 failed! 2025-01-02 21:54:48,001 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-32453784:ctest-vn-65082916 is 190.6.98.193 and allocation pool is NOT set 2025-01-02 21:54:50,058 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.443 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.443/1.531/2.620/1.088 ms') 2025-01-02 21:54:50,058 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32453784-85283548 passed 2025-01-02 21:54:50,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:54:50,209 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32453784-85283548, IP 190.6.98.195, Port 22 2025-01-02 21:54:50,364 - DEBUG - VM ctest-TestRoutersBasic-32453784-85283548 is ready for SSH connections 2025-01-02 21:54:50,365 - INFO - Waiting for VM ctest-TestRoutersBasic-32453784-02255503 to be up.. 2025-01-02 21:54:50,447 - DEBUG - VM is in ACTIVE state now 2025-01-02 21:54:50,447 - INFO - VM name : ctest-TestRoutersBasic-32453784-02255503 2025-01-02 21:54:50,537 - DEBUG - VM ctest-TestRoutersBasic-32453784-02255503 ID is 15413f7a-5616-41a6-95fd-6c70ec1d6a0b 2025-01-02 21:54:50,537 - DEBUG - VM ctest-TestRoutersBasic-32453784-02255503 launched on Node cn-jenkins-deploy-platform-ansible-os-2513-1 2025-01-02 21:54:50,626 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/15413f7a-5616-41a6-95fd-6c70ec1d6a0b 2025-01-02 21:54:50,636 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/9997bf36-1f99-48f7-8a43-0107b156b919 2025-01-02 21:54:51,885 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.422/2.045/3.668/1.623 ms') 2025-01-02 21:54:51,885 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-32453784-02255503 passed 2025-01-02 21:54:52,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:54:52,033 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32453784-02255503, IP 26.118.251.195, Port 22 2025-01-02 21:54:52,189 - DEBUG - VM ctest-TestRoutersBasic-32453784-02255503 is ready for SSH connections 2025-01-02 21:54:52,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:54:52,189 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.118.251.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-01-02 21:54:52,189 - DEBUG - ping -s 56 -c 3 -W 1 26.118.251.195 2025-01-02 21:54:56,315 - DEBUG - PING 26.118.251.195 (26.118.251.195): 56 data bytes 64 bytes from 26.118.251.195: seq=0 ttl=62 time=5.079 ms 64 bytes from 26.118.251.195: seq=1 ttl=62 time=0.937 ms 64 bytes from 26.118.251.195: seq=2 ttl=62 time=0.879 ms --- 26.118.251.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.879/2.298/5.079 ms 2025-01-02 21:54:56,316 - INFO - Ping to IP 26.118.251.195 from VM ctest-TestRoutersBasic-32453784-85283548 passed 2025-01-02 21:54:56,316 - INFO - Deleting interface with subnet_id 80bf9a5b-455e-4f84-acde-8180b661cb92, port_id None from router a4c21d15-4441-4cef-9101-1168200cb6f0 2025-01-02 21:54:56,519 - INFO - Deleting VM ctest-TestRoutersBasic-32453784-02255503 2025-01-02 21:54:56,588 - INFO - Deleting VM ctest-TestRoutersBasic-32453784-85283548 2025-01-02 21:54:56,670 - INFO - Deleting VN ctest-ext_vn-05148258 2025-01-02 21:54:56,779 - DEBUG - VN 3a2dfdef-a5e2-4e11-b2d3-7f9b66742d5f still in use: Unable to complete operation on network 3a2dfdef-a5e2-4e11-b2d3-7f9b66742d5f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a2545089-203b-457c-baca-c984b02dceaa'] 2025-01-02 21:54:56,779 - WARNING - Deleting VN ctest-ext_vn-05148258 failed..Will retry 2025-01-02 21:54:58,888 - DEBUG - Response for deleting network () 2025-01-02 21:54:58,888 - INFO - Deleting VN ctest-vn-65082916 2025-01-02 21:54:59,013 - DEBUG - Response for deleting network () 2025-01-02 21:54:59,266 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 21:54:59,266 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-02 21:54:59,266 - INFO - -------------------------------------------------------------------------------- 2025-01-02 21:54:59,929 - INFO - Deleted project: ctest-TestRoutersBasic-32453784, ID : ed488c8a-a109-482f-b44a-a47067c73b52