2024-10-25 17:15:19,701 - INFO - Domain Default found not creating 2024-10-25 17:15:19,890 - INFO - Project ctest-TestBasicPolicy-88739162 not found, creating it 2024-10-25 17:15:20,430 - INFO - Created Project:ctest-TestBasicPolicy-88739162, ID : a1056908-8dac-4a42-a055-10813e6755e6 2024-10-25 17:15:22,074 - INFO - ================================================================================ 2024-10-25 17:15:22,074 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-10-25 17:15:22,074 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2024-10-25 17:15:22,343 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.7': '0'}} with 2024-10-25 17:15:22,343 - INFO - Initial checks done. Running the testcase now 2024-10-25 17:15:22,343 - INFO - 2024-10-25 17:15:22,980 - DEBUG - Response for create_network : {'network': {'id': 'ddb94766-e1c5-46a7-a7ce-2aec7ff491f2', 'name': 'ctest-vn-31964266', 'tenant_id': 'a10569088dac4a42a05510813e6755e6', 'project_id': 'a10569088dac4a42a05510813e6755e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88739162', 'ctest-vn-31964266'], 'port_security_enabled': True, 'description': ''}} 2024-10-25 17:15:23,199 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b69dee43-4abb-4129-a3a6-30e705552e78', 'name': '', 'tenant_id': 'a10569088dac4a42a05510813e6755e6', 'network_id': 'ddb94766-e1c5-46a7-a7ce-2aec7ff491f2', 'ip_version': 4, 'cidr': '26.214.54.0/26', 'allocation_pools': [{'start': '26.214.54.2', 'end': '26.214.54.62'}], 'gateway_ip': '26.214.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.214.54.2', 'tags': [], 'project_id': 'a10569088dac4a42a05510813e6755e6'}} 2024-10-25 17:15:23,220 - INFO - Created VN ctest-vn-31964266 2024-10-25 17:15:23,282 - DEBUG - VN ctest-vn-31964266 UUID is ddb94766-e1c5-46a7-a7ce-2aec7ff491f2 2024-10-25 17:15:23,617 - DEBUG - Response for create_network : {'network': {'id': '791db36a-483a-4dbc-a703-f71dd95d7999', 'name': 'ctest-vn-55585138', 'tenant_id': 'a10569088dac4a42a05510813e6755e6', 'project_id': 'a10569088dac4a42a05510813e6755e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88739162', 'ctest-vn-55585138'], 'port_security_enabled': True, 'description': ''}} 2024-10-25 17:15:23,778 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fe2dcf1-86b9-44a3-8709-02e20d5a5a69', 'name': '', 'tenant_id': 'a10569088dac4a42a05510813e6755e6', 'network_id': '791db36a-483a-4dbc-a703-f71dd95d7999', 'ip_version': 4, 'cidr': '99.155.216.128/26', 'allocation_pools': [{'start': '99.155.216.130', 'end': '99.155.216.190'}], 'gateway_ip': '99.155.216.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.155.216.130', 'tags': [], 'project_id': 'a10569088dac4a42a05510813e6755e6'}} 2024-10-25 17:15:23,800 - INFO - Created VN ctest-vn-55585138 2024-10-25 17:15:23,858 - DEBUG - VN ctest-vn-55585138 UUID is 791db36a-483a-4dbc-a703-f71dd95d7999 2024-10-25 17:15:23,985 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88739162:ctest-vn-31964266, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88739162:ctest-vn-55585138, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2024-10-25 17:15:24,317 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ddb94766-e1c5-46a7-a7ce-2aec7ff491f2', 'name': 'ctest-vn-31964266', 'tenant_id': 'a10569088dac4a42a05510813e6755e6', 'project_id': 'a10569088dac4a42a05510813e6755e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b69dee43-4abb-4129-a3a6-30e705552e78'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88739162', 'ctest-vn-31964266'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88739162', 'ctest-policy-allow-all-50498728']], 'subnet_ipam': [{'subnet_cidr': '26.214.54.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-10-25 17:15:24,633 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '791db36a-483a-4dbc-a703-f71dd95d7999', 'name': 'ctest-vn-55585138', 'tenant_id': 'a10569088dac4a42a05510813e6755e6', 'project_id': 'a10569088dac4a42a05510813e6755e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2fe2dcf1-86b9-44a3-8709-02e20d5a5a69'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88739162', 'ctest-vn-55585138'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88739162', 'ctest-policy-allow-all-50498728']], 'subnet_ipam': [{'subnet_cidr': '99.155.216.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-10-25 17:15:24,786 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-25 17:15:25,100 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-25 17:15:25,133 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5e24c51b-3750-4985-a038-61a12c05c2aa 2024-10-25 17:15:25,149 - DEBUG - Requesting: http://10.0.0.32:8082/project/a1056908-8dac-4a42-a055-10813e6755e6 2024-10-25 17:15:25,232 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/ddb94766-e1c5-46a7-a7ce-2aec7ff491f2 2024-10-25 17:15:25,250 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/ddb94766-e1c5-46a7-a7ce-2aec7ff491f2 2024-10-25 17:15:25,265 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/5d050539-1c02-416b-9f18-261e4e30707f 2024-10-25 17:15:25,274 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/5d050539-1c02-416b-9f18-261e4e30707f 2024-10-25 17:15:25,285 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/09047b1a-84e0-4111-8f98-cc073112d761 2024-10-25 17:15:25,294 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-25 17:15:25,294 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/ddb94766-e1c5-46a7-a7ce-2aec7ff491f2 2024-10-25 17:15:25,308 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/5d050539-1c02-416b-9f18-261e4e30707f 2024-10-25 17:15:25,328 - INFO - Verified VN network id 8 for VN ddb94766-e1c5-46a7-a7ce-2aec7ff491f2 2024-10-25 17:15:25,329 - INFO - Verifications in API Server for VN ctest-vn-31964266 passed 2024-10-25 17:15:25,329 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/ddb94766-e1c5-46a7-a7ce-2aec7ff491f2 2024-10-25 17:15:25,345 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/5d050539-1c02-416b-9f18-261e4e30707f 2024-10-25 17:15:25,356 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/5d050539-1c02-416b-9f18-261e4e30707f 2024-10-25 17:15:25,366 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/09047b1a-84e0-4111-8f98-cc073112d761 2024-10-25 17:15:25,380 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88739162:ctest-vn-31964266', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88739162', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15976879660273583783', 'uuid-lslong': '12091649244783743474'}, 'enable': 'true', 'created': '2024-10-25T17:15:22', 'last-modified': '2024-10-25T17:15:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.094253'} 2024-10-25 17:15:25,386 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-25 17:15:25,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31964266 passed 2024-10-25 17:15:25,387 - DEBUG - ====Verifying policy data for ctest-vn-31964266 in API_Server ====== 2024-10-25 17:15:25,387 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-25 17:15:25,394 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5e24c51b-3750-4985-a038-61a12c05c2aa 2024-10-25 17:15:25,409 - DEBUG - Requesting: http://10.0.0.32:8082/project/a1056908-8dac-4a42-a055-10813e6755e6 2024-10-25 17:15:25,491 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/ddb94766-e1c5-46a7-a7ce-2aec7ff491f2 2024-10-25 17:15:25,504 - DEBUG - ==>Verifying data for policy with id: d3e27c57-7054-4122-8be8-1b2b087bd4bb, fqn: ['default-domain', 'ctest-TestBasicPolicy-88739162', 'ctest-policy-allow-all-50498728'] 2024-10-25 17:15:25,505 - INFO - VN ctest-vn-31964266 Policy verification: verify_vn_policy_in_api_server, status: True 2024-10-25 17:15:25,505 - DEBUG - Verifying the vn in opserver 2024-10-25 17:15:25,505 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88739162:ctest-vn-31964266 virtual network link through opserver 10.0.0.32 2024-10-25 17:15:25,505 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-10-25 17:15:25,806 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-10-25 17:15:25,875 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88739162:ctest-vn-31964266', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88739162:ctest-vn-31964266?flat'} 2024-10-25 17:15:25,875 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88739162:ctest-vn-31964266 is found in opserver 2024-10-25 17:15:25,886 - DEBUG - Do not have enough data to verify VN in agent 2024-10-25 17:15:25,892 - DEBUG - VRF ids for VN ctest-vn-31964266: {} 2024-10-25 17:15:25,892 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-25 17:15:25,899 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5e24c51b-3750-4985-a038-61a12c05c2aa 2024-10-25 17:15:25,913 - DEBUG - Requesting: http://10.0.0.32:8082/project/a1056908-8dac-4a42-a055-10813e6755e6 2024-10-25 17:15:26,005 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/791db36a-483a-4dbc-a703-f71dd95d7999 2024-10-25 17:15:26,027 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/791db36a-483a-4dbc-a703-f71dd95d7999 2024-10-25 17:15:26,042 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/4b82d980-b2d5-47bf-8a38-82efdbda27c7 2024-10-25 17:15:26,054 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/4b82d980-b2d5-47bf-8a38-82efdbda27c7 2024-10-25 17:15:26,065 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/cf714161-fabe-41a3-be13-8396c78b0afc 2024-10-25 17:15:26,074 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-25 17:15:26,074 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/791db36a-483a-4dbc-a703-f71dd95d7999 2024-10-25 17:15:26,088 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/4b82d980-b2d5-47bf-8a38-82efdbda27c7 2024-10-25 17:15:26,113 - INFO - Verified VN network id 9 for VN 791db36a-483a-4dbc-a703-f71dd95d7999 2024-10-25 17:15:26,114 - INFO - Verifications in API Server for VN ctest-vn-55585138 passed 2024-10-25 17:15:26,114 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/791db36a-483a-4dbc-a703-f71dd95d7999 2024-10-25 17:15:26,131 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/4b82d980-b2d5-47bf-8a38-82efdbda27c7 2024-10-25 17:15:26,141 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/4b82d980-b2d5-47bf-8a38-82efdbda27c7 2024-10-25 17:15:26,151 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/cf714161-fabe-41a3-be13-8396c78b0afc 2024-10-25 17:15:26,169 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88739162:ctest-vn-55585138', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88739162', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8727328921973575100', 'uuid-lslong': '12034734336836991385'}, 'enable': 'true', 'created': '2024-10-25T17:15:23', 'last-modified': '2024-10-25T17:15:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.608402'} 2024-10-25 17:15:26,177 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-25 17:15:26,177 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55585138 passed 2024-10-25 17:15:26,177 - DEBUG - ====Verifying policy data for ctest-vn-55585138 in API_Server ====== 2024-10-25 17:15:26,177 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-25 17:15:26,185 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5e24c51b-3750-4985-a038-61a12c05c2aa 2024-10-25 17:15:26,200 - DEBUG - Requesting: http://10.0.0.32:8082/project/a1056908-8dac-4a42-a055-10813e6755e6 2024-10-25 17:15:26,279 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/791db36a-483a-4dbc-a703-f71dd95d7999 2024-10-25 17:15:26,294 - DEBUG - ==>Verifying data for policy with id: d3e27c57-7054-4122-8be8-1b2b087bd4bb, fqn: ['default-domain', 'ctest-TestBasicPolicy-88739162', 'ctest-policy-allow-all-50498728'] 2024-10-25 17:15:26,294 - INFO - VN ctest-vn-55585138 Policy verification: verify_vn_policy_in_api_server, status: True 2024-10-25 17:15:26,294 - DEBUG - Verifying the vn in opserver 2024-10-25 17:15:26,294 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88739162:ctest-vn-55585138 virtual network link through opserver 10.0.0.32 2024-10-25 17:15:26,294 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-10-25 17:15:26,306 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88739162:ctest-vn-55585138', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88739162:ctest-vn-55585138?flat'} 2024-10-25 17:15:26,306 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88739162:ctest-vn-55585138 is found in opserver 2024-10-25 17:15:26,317 - DEBUG - Do not have enough data to verify VN in agent 2024-10-25 17:15:26,323 - DEBUG - VRF ids for VN ctest-vn-55585138: {} 2024-10-25 17:15:26,380 - DEBUG - Services list from nova: [, , ] 2024-10-25 17:15:27,469 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2146-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2146-1) 2024-10-25 17:15:28,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2146-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2146-1) 2024-10-25 17:15:28,810 - INFO - Waiting for VM ctest-TestBasicPolicy-88739162-90568151 to be up.. 2024-10-25 17:15:28,913 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-25 17:15:34,016 - DEBUG - VM is in ACTIVE state now 2024-10-25 17:15:34,017 - INFO - VM name : ctest-TestBasicPolicy-88739162-90568151 2024-10-25 17:15:34,119 - DEBUG - VM ctest-TestBasicPolicy-88739162-90568151 ID is bf039df4-5469-4a1b-b218-c0712e5f4942 2024-10-25 17:15:34,139 - DEBUG - VM ctest-TestBasicPolicy-88739162-90568151 launched on Node cn-jenkins-deploy-platform-ansible-os-2146-1 2024-10-25 17:15:34,221 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/bf039df4-5469-4a1b-b218-c0712e5f4942 2024-10-25 17:15:34,233 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/0385b432-4216-4b18-acd9-8a6d049909d3 2024-10-25 17:15:37,524 - 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 1035ms') 2024-10-25 17:15:37,524 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88739162-90568151 failed! 2024-10-25 17:15:37,590 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88739162:ctest-vn-31964266 is 26.214.54.1 and allocation pool is NOT set 2024-10-25 17:15:39,645 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.506 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.506/1.599/2.693/1.093 ms') 2024-10-25 17:15:39,645 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88739162-90568151 passed 2024-10-25 17:15:39,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 17:15:39,814 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88739162-90568151, IP 26.214.54.3, Port 22 2024-10-25 17:15:39,965 - DEBUG - VM ctest-TestBasicPolicy-88739162-90568151 is ready for SSH connections 2024-10-25 17:15:39,966 - INFO - Waiting for VM ctest-TestBasicPolicy-88739162-15259965 to be up.. 2024-10-25 17:15:40,057 - DEBUG - VM is in ACTIVE state now 2024-10-25 17:15:40,057 - INFO - VM name : ctest-TestBasicPolicy-88739162-15259965 2024-10-25 17:15:40,143 - DEBUG - VM ctest-TestBasicPolicy-88739162-15259965 ID is e5af45f7-039d-46af-8d02-8e3d957e89d6 2024-10-25 17:15:40,143 - DEBUG - VM ctest-TestBasicPolicy-88739162-15259965 launched on Node cn-jenkins-deploy-platform-ansible-os-2146-1 2024-10-25 17:15:40,228 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/e5af45f7-039d-46af-8d02-8e3d957e89d6 2024-10-25 17:15:40,238 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/98fd3d97-b791-411c-b7f5-d5add404c95a 2024-10-25 17:15:41,491 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.499 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.499/1.711/2.924/1.212 ms') 2024-10-25 17:15:41,491 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88739162-15259965 passed 2024-10-25 17:15:41,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 17:15:41,654 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88739162-15259965, IP 99.155.216.131, Port 22 2024-10-25 17:15:41,809 - DEBUG - VM ctest-TestBasicPolicy-88739162-15259965 is ready for SSH connections 2024-10-25 17:15:41,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 17:15:41,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.155.216.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-10-25 17:15:41,810 - DEBUG - ping -s 56 -c 3 -W 1 99.155.216.131 2024-10-25 17:15:45,845 - DEBUG - PING 99.155.216.131 (99.155.216.131): 56 data bytes 64 bytes from 99.155.216.131: seq=0 ttl=63 time=3.796 ms 64 bytes from 99.155.216.131: seq=1 ttl=63 time=1.282 ms 64 bytes from 99.155.216.131: seq=2 ttl=63 time=1.253 ms --- 99.155.216.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.253/2.110/3.796 ms 2024-10-25 17:15:45,845 - INFO - Ping to IP 99.155.216.131 from VM ctest-TestBasicPolicy-88739162-90568151 passed 2024-10-25 17:15:46,038 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d3e27c57-7054-4122-8be8-1b2b087bd4bb", "href": "http://10.0.0.32:8082/network-policy/d3e27c57-7054-4122-8be8-1b2b087bd4bb"}} 2024-10-25 17:15:46,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 17:15:46,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.155.216.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-10-25 17:15:46,038 - DEBUG - ping -s 56 -c 3 -W 1 99.155.216.131 2024-10-25 17:15:49,240 - DEBUG - PING 99.155.216.131 (99.155.216.131): 56 data bytes 64 bytes from 99.155.216.131: seq=0 ttl=63 time=1.544 ms --- 99.155.216.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.544/1.544/1.544 ms 2024-10-25 17:15:49,240 - WARNING - Ping to IP 99.155.216.131 from VM ctest-TestBasicPolicy-88739162-90568151 failed 2024-10-25 17:15:49,241 - INFO - Deleting VM ctest-TestBasicPolicy-88739162-15259965 2024-10-25 17:15:49,311 - INFO - Deleting VM ctest-TestBasicPolicy-88739162-90568151 2024-10-25 17:15:49,731 - INFO - Deleted policy ctest-policy-allow-all-50498728 2024-10-25 17:15:49,732 - INFO - Deleting VN ctest-vn-55585138 2024-10-25 17:15:49,788 - DEBUG - VN 791db36a-483a-4dbc-a703-f71dd95d7999 still in use: Unable to complete operation on network 791db36a-483a-4dbc-a703-f71dd95d7999. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4365c409-b63e-471a-aa83-3c93b68bf67d'] 2024-10-25 17:15:49,788 - WARNING - Deleting VN ctest-vn-55585138 failed..Will retry 2024-10-25 17:15:51,917 - DEBUG - Response for deleting network () 2024-10-25 17:15:51,917 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/4b82d980-b2d5-47bf-8a38-82efdbda27c7 2024-10-25 17:15:51,927 - DEBUG - Response Code: 404 2024-10-25 17:15:51,928 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-25 17:15:51,936 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5e24c51b-3750-4985-a038-61a12c05c2aa 2024-10-25 17:15:51,994 - DEBUG - Requesting: http://10.0.0.32:8082/project/a1056908-8dac-4a42-a055-10813e6755e6 2024-10-25 17:15:52,081 - INFO - Validated that VN ctest-vn-55585138 is not found in API Server 2024-10-25 17:15:52,093 - DEBUG - VN ctest-vn-55585138 is not present in Agent 10.0.0.32 2024-10-25 17:15:52,093 - INFO - Validated that VN ctest-vn-55585138 is not in any agent 2024-10-25 17:15:52,110 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55585138 info 2024-10-25 17:15:52,110 - INFO - Deleting VN ctest-vn-31964266 2024-10-25 17:15:52,232 - DEBUG - Response for deleting network () 2024-10-25 17:15:52,232 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/5d050539-1c02-416b-9f18-261e4e30707f 2024-10-25 17:15:52,238 - DEBUG - Response Code: 404 2024-10-25 17:15:52,238 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-25 17:15:52,249 - DEBUG - Requesting: http://10.0.0.32:8082/domain/5e24c51b-3750-4985-a038-61a12c05c2aa 2024-10-25 17:15:52,304 - DEBUG - Requesting: http://10.0.0.32:8082/project/a1056908-8dac-4a42-a055-10813e6755e6 2024-10-25 17:15:52,387 - INFO - Validated that VN ctest-vn-31964266 is not found in API Server 2024-10-25 17:15:52,398 - DEBUG - VN ctest-vn-31964266 is not present in Agent 10.0.0.32 2024-10-25 17:15:52,398 - INFO - Validated that VN ctest-vn-31964266 is not in any agent 2024-10-25 17:15:52,417 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31964266 info 2024-10-25 17:15:52,675 - DEBUG - No XMPP flaps were noticed during the test
2024-10-25 17:15:52,676 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2024-10-25 17:15:52,676 - INFO - -------------------------------------------------------------------------------- 2024-10-25 17:15:53,390 - INFO - Deleted project: ctest-TestBasicPolicy-88739162, ID : a1056908-8dac-4a42-a055-10813e6755e6