2025-02-10 02:25:50,089 - INFO - Domain Default found not creating 2025-02-10 02:25:50,245 - INFO - Project ctest-TestRoutersBasic-69429920 not found, creating it 2025-02-10 02:25:50,777 - INFO - Created Project:ctest-TestRoutersBasic-69429920, ID : ff3b5f5e-356c-4548-8706-acbc7bc16613 2025-02-10 02:25:52,327 - INFO - ================================================================================ 2025-02-10 02:25:52,327 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-10 02:25:52,327 - 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-02-10 02:25:52,581 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.0.0.36': '0'}} with 2025-02-10 02:25:52,582 - INFO - Initial checks done. Running the testcase now 2025-02-10 02:25:52,582 - INFO - 2025-02-10 02:25:53,363 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69429920 2025-02-10 02:25:53,467 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69429920 2025-02-10 02:25:53,803 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69429920', 'default']} 2025-02-10 02:25:54,108 - DEBUG - Response for create_network : {'network': {'id': '38c79174-21e8-422e-b041-50c22934e0c6', 'name': 'ctest-vn-09466799', 'tenant_id': 'ff3b5f5e356c45488706acbc7bc16613', 'project_id': 'ff3b5f5e356c45488706acbc7bc16613', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69429920', 'ctest-vn-09466799'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 02:25:54,308 - DEBUG - Response for create_subnet : {'subnet': {'id': '753b77cb-3c7f-405b-a47e-b25655ca22b2', 'name': '', 'tenant_id': 'ff3b5f5e356c45488706acbc7bc16613', 'network_id': '38c79174-21e8-422e-b041-50c22934e0c6', 'ip_version': 4, 'cidr': '79.218.242.64/26', 'allocation_pools': [{'start': '79.218.242.66', 'end': '79.218.242.126'}], 'gateway_ip': '79.218.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.218.242.66', 'tags': [], 'project_id': 'ff3b5f5e356c45488706acbc7bc16613'}} 2025-02-10 02:25:54,327 - INFO - Created VN ctest-vn-09466799 2025-02-10 02:25:54,379 - DEBUG - VN ctest-vn-09466799 UUID is 38c79174-21e8-422e-b041-50c22934e0c6 2025-02-10 02:25:54,735 - DEBUG - Response for create_network : {'network': {'id': 'e7f51e19-5844-4476-9114-598bd4ca0fd2', 'name': 'ctest-ext_vn-72908438', 'tenant_id': 'ff3b5f5e356c45488706acbc7bc16613', 'project_id': 'ff3b5f5e356c45488706acbc7bc16613', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69429920', 'ctest-ext_vn-72908438'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 02:25:54,902 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0f5d405-a7cb-45bc-bc5c-b6c58c590cae', 'name': '', 'tenant_id': 'ff3b5f5e356c45488706acbc7bc16613', 'network_id': 'e7f51e19-5844-4476-9114-598bd4ca0fd2', 'ip_version': 4, 'cidr': '40.20.143.0/26', 'allocation_pools': [{'start': '40.20.143.2', 'end': '40.20.143.62'}], 'gateway_ip': '40.20.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.20.143.2', 'tags': [], 'project_id': 'ff3b5f5e356c45488706acbc7bc16613'}} 2025-02-10 02:25:54,921 - INFO - Created VN ctest-ext_vn-72908438 2025-02-10 02:25:54,971 - DEBUG - VN ctest-ext_vn-72908438 UUID is e7f51e19-5844-4476-9114-598bd4ca0fd2 2025-02-10 02:25:55,141 - DEBUG - Services list from nova: [, , ] 2025-02-10 02:25:56,325 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2709-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2709-1) 2025-02-10 02:25:57,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2709-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2709-1) 2025-02-10 02:25:57,707 - INFO - Setting gateway for router 28c5b72d-52f4-424d-a7fb-000a5e8b1ac6 to network e7f51e19-5844-4476-9114-598bd4ca0fd2 2025-02-10 02:25:57,777 - INFO - Adding interface with subnet_id 753b77cb-3c7f-405b-a47e-b25655ca22b2, port_id None to router 28c5b72d-52f4-424d-a7fb-000a5e8b1ac6 2025-02-10 02:25:58,520 - INFO - Waiting for VM ctest-TestRoutersBasic-69429920-69740883 to be up.. 2025-02-10 02:25:58,702 - DEBUG - VM is in ACTIVE state now 2025-02-10 02:25:58,703 - INFO - VM name : ctest-TestRoutersBasic-69429920-69740883 2025-02-10 02:25:58,912 - DEBUG - VM ctest-TestRoutersBasic-69429920-69740883 ID is 5047410e-6ff5-4bd4-8b74-2e9e13084a4a 2025-02-10 02:25:58,938 - DEBUG - VM ctest-TestRoutersBasic-69429920-69740883 launched on Node cn-jenkins-deploy-platform-ansible-os-2709-1. 2025-02-10 02:25:59,111 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/5047410e-6ff5-4bd4-8b74-2e9e13084a4a 2025-02-10 02:25:59,542 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/5047410e-6ff5-4bd4-8b74-2e9e13084a4a 2025-02-10 02:25:59,597 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/cc50339e-4504-493a-bc09-9497d7a09af3 2025-02-10 02:26:02,881 - 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 1014ms') 2025-02-10 02:26:02,882 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69429920-69740883 failed! 2025-02-10 02:26:02,939 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69429920:ctest-vn-09466799 is 79.218.242.65 and allocation pool is NOT set 2025-02-10 02:26:06,996 - 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-02-10 02:26:06,997 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69429920-69740883 failed! 2025-02-10 02:26:07,055 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69429920:ctest-vn-09466799 is 79.218.242.65 and allocation pool is NOT set 2025-02-10 02:26:09,125 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.50 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 = 1.503/2.888/4.274/1.385 ms') 2025-02-10 02:26:09,125 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69429920-69740883 passed 2025-02-10 02:26:09,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 02:26:09,288 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69429920-69740883, IP 79.218.242.67, Port 22 2025-02-10 02:26:09,458 - DEBUG - VM ctest-TestRoutersBasic-69429920-69740883 is ready for SSH connections 2025-02-10 02:26:09,459 - INFO - Waiting for VM ctest-TestRoutersBasic-69429920-89505753 to be up.. 2025-02-10 02:26:09,559 - DEBUG - VM is in ACTIVE state now 2025-02-10 02:26:09,559 - INFO - VM name : ctest-TestRoutersBasic-69429920-89505753 2025-02-10 02:26:09,643 - DEBUG - VM ctest-TestRoutersBasic-69429920-89505753 ID is 59ca5604-a76a-404b-a83a-4a67311f03d6 2025-02-10 02:26:09,644 - DEBUG - VM ctest-TestRoutersBasic-69429920-89505753 launched on Node cn-jenkins-deploy-platform-ansible-os-2709-1. 2025-02-10 02:26:09,730 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/59ca5604-a76a-404b-a83a-4a67311f03d6 2025-02-10 02:26:09,739 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/700e7d96-cebc-4d45-b7b5-58d61707382d 2025-02-10 02:26:10,993 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.485 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.485/2.199/3.914/1.714 ms') 2025-02-10 02:26:10,993 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-69429920-89505753 passed 2025-02-10 02:26:11,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 02:26:11,152 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69429920-89505753, IP 40.20.143.3, Port 22 2025-02-10 02:26:11,318 - DEBUG - VM ctest-TestRoutersBasic-69429920-89505753 is ready for SSH connections 2025-02-10 02:26:11,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 02:26:11,318 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.20.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2025-02-10 02:26:11,318 - DEBUG - ping -s 56 -c 3 -W 1 40.20.143.3 2025-02-10 02:26:15,404 - DEBUG - PING 40.20.143.3 (40.20.143.3): 56 data bytes 64 bytes from 40.20.143.3: seq=0 ttl=62 time=7.936 ms 64 bytes from 40.20.143.3: seq=1 ttl=62 time=1.044 ms 64 bytes from 40.20.143.3: seq=2 ttl=62 time=1.034 ms --- 40.20.143.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.034/3.338/7.936 ms 2025-02-10 02:26:15,404 - INFO - Ping to IP 40.20.143.3 from VM ctest-TestRoutersBasic-69429920-69740883 passed 2025-02-10 02:26:15,404 - INFO - Deleting interface with subnet_id 753b77cb-3c7f-405b-a47e-b25655ca22b2, port_id None from router 28c5b72d-52f4-424d-a7fb-000a5e8b1ac6 2025-02-10 02:26:15,810 - INFO - Deleting VM ctest-TestRoutersBasic-69429920-89505753 2025-02-10 02:26:15,884 - INFO - Deleting VM ctest-TestRoutersBasic-69429920-69740883 2025-02-10 02:26:15,969 - INFO - Deleting VN ctest-ext_vn-72908438 2025-02-10 02:26:16,062 - DEBUG - VN e7f51e19-5844-4476-9114-598bd4ca0fd2 still in use: Unable to complete operation on network e7f51e19-5844-4476-9114-598bd4ca0fd2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb358787-8bef-4da3-b5c5-dd1690f929cc'] 2025-02-10 02:26:16,062 - WARNING - Deleting VN ctest-ext_vn-72908438 failed..Will retry 2025-02-10 02:26:18,170 - DEBUG - Response for deleting network () 2025-02-10 02:26:18,170 - INFO - Deleting VN ctest-vn-09466799 2025-02-10 02:26:18,283 - DEBUG - Response for deleting network () 2025-02-10 02:26:18,537 - DEBUG - No XMPP flaps were noticed during the test 2025-02-10 02:26:18,537 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-02-10 02:26:18,537 - INFO - -------------------------------------------------------------------------------- 2025-02-10 02:26:19,246 - INFO - Deleted project: ctest-TestRoutersBasic-69429920, ID : ff3b5f5e-356c-4548-8706-acbc7bc16613