2024-09-17 06:59:05,502 - INFO - Domain Default found not creating 2024-09-17 06:59:05,844 - INFO - Project ctest-TestBasicPolicy-43898586 not found, creating it 2024-09-17 06:59:06,508 - INFO - Created Project:ctest-TestBasicPolicy-43898586, ID : f2c7454d-3cd5-43b6-9499-99d0a8898b80 2024-09-17 06:59:08,773 - INFO - ================================================================================ 2024-09-17 06:59:08,773 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-17 06:59:08,773 - 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-09-17 06:59:09,111 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.10': '0'}} with 2024-09-17 06:59:09,111 - INFO - Initial checks done. Running the testcase now 2024-09-17 06:59:09,111 - INFO - 2024-09-17 06:59:09,916 - DEBUG - Response for create_network : {'network': {'id': '1b296533-5035-4f93-bcb2-5e47e61030d7', 'name': 'ctest-vn-81609618', 'tenant_id': 'f2c7454d3cd543b6949999d0a8898b80', 'project_id': 'f2c7454d3cd543b6949999d0a8898b80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43898586', 'ctest-vn-81609618'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 06:59:10,225 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bf00c79-46c4-478c-b858-d2aa4f374791', 'name': '', 'tenant_id': 'f2c7454d3cd543b6949999d0a8898b80', 'network_id': '1b296533-5035-4f93-bcb2-5e47e61030d7', 'ip_version': 4, 'cidr': '191.61.235.64/26', 'allocation_pools': [{'start': '191.61.235.66', 'end': '191.61.235.126'}], 'gateway_ip': '191.61.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.61.235.66', 'tags': [], 'project_id': 'f2c7454d3cd543b6949999d0a8898b80'}} 2024-09-17 06:59:10,251 - INFO - Created VN ctest-vn-81609618 2024-09-17 06:59:10,312 - DEBUG - VN ctest-vn-81609618 UUID is 1b296533-5035-4f93-bcb2-5e47e61030d7 2024-09-17 06:59:10,749 - DEBUG - Response for create_network : {'network': {'id': '6201d612-aa3e-42a1-ae48-600f88945a37', 'name': 'ctest-vn-28319991', 'tenant_id': 'f2c7454d3cd543b6949999d0a8898b80', 'project_id': 'f2c7454d3cd543b6949999d0a8898b80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43898586', 'ctest-vn-28319991'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 06:59:10,935 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c22ac4de-3732-48ec-ba10-012208445e23', 'name': '', 'tenant_id': 'f2c7454d3cd543b6949999d0a8898b80', 'network_id': '6201d612-aa3e-42a1-ae48-600f88945a37', 'ip_version': 4, 'cidr': '178.23.98.64/26', 'allocation_pools': [{'start': '178.23.98.66', 'end': '178.23.98.126'}], 'gateway_ip': '178.23.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.23.98.66', 'tags': [], 'project_id': 'f2c7454d3cd543b6949999d0a8898b80'}} 2024-09-17 06:59:10,958 - INFO - Created VN ctest-vn-28319991 2024-09-17 06:59:11,023 - DEBUG - VN ctest-vn-28319991 UUID is 6201d612-aa3e-42a1-ae48-600f88945a37 2024-09-17 06:59:11,214 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43898586:ctest-vn-81609618, 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-43898586:ctest-vn-28319991, 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-09-17 06:59:11,750 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1b296533-5035-4f93-bcb2-5e47e61030d7', 'name': 'ctest-vn-81609618', 'tenant_id': 'f2c7454d3cd543b6949999d0a8898b80', 'project_id': 'f2c7454d3cd543b6949999d0a8898b80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5bf00c79-46c4-478c-b858-d2aa4f374791'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43898586', 'ctest-vn-81609618'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43898586', 'ctest-policy-allow-all-27540522']], 'subnet_ipam': [{'subnet_cidr': '191.61.235.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-17 06:59:12,174 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6201d612-aa3e-42a1-ae48-600f88945a37', 'name': 'ctest-vn-28319991', 'tenant_id': 'f2c7454d3cd543b6949999d0a8898b80', 'project_id': 'f2c7454d3cd543b6949999d0a8898b80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c22ac4de-3732-48ec-ba10-012208445e23'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43898586', 'ctest-vn-28319991'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43898586', 'ctest-policy-allow-all-27540522']], 'subnet_ipam': [{'subnet_cidr': '178.23.98.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-17 06:59:12,348 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2024-09-17 06:59:12,704 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2024-09-17 06:59:12,762 - DEBUG - Requesting: http://10.0.0.57:8082/domain/a0fc95bb-2e41-4bb2-8b84-8e4ec5a6f967 2024-09-17 06:59:12,800 - DEBUG - Requesting: http://10.0.0.57:8082/project/f2c7454d-3cd5-43b6-9499-99d0a8898b80 2024-09-17 06:59:12,926 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/1b296533-5035-4f93-bcb2-5e47e61030d7 2024-09-17 06:59:12,957 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/1b296533-5035-4f93-bcb2-5e47e61030d7 2024-09-17 06:59:12,989 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/27cc287b-8ecc-4816-bb2b-9188f47934c2 2024-09-17 06:59:13,006 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/27cc287b-8ecc-4816-bb2b-9188f47934c2 2024-09-17 06:59:13,025 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/98f076cf-0cf8-47c7-ae2a-aca02c04086a 2024-09-17 06:59:13,046 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-17 06:59:13,047 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/1b296533-5035-4f93-bcb2-5e47e61030d7 2024-09-17 06:59:13,081 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/27cc287b-8ecc-4816-bb2b-9188f47934c2 2024-09-17 06:59:13,133 - INFO - Verified VN network id 7 for VN 1b296533-5035-4f93-bcb2-5e47e61030d7 2024-09-17 06:59:13,133 - INFO - Verifications in API Server for VN ctest-vn-81609618 passed 2024-09-17 06:59:13,133 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/1b296533-5035-4f93-bcb2-5e47e61030d7 2024-09-17 06:59:13,167 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/27cc287b-8ecc-4816-bb2b-9188f47934c2 2024-09-17 06:59:13,191 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/27cc287b-8ecc-4816-bb2b-9188f47934c2 2024-09-17 06:59:13,217 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/98f076cf-0cf8-47c7-ae2a-aca02c04086a 2024-09-17 06:59:13,260 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43898586:ctest-vn-81609618', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43898586', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1957206784132599699', 'uuid-lslong': '13597033887880458455'}, 'enable': 'true', 'created': '2024-09-17T06:59:09', 'last-modified': '2024-09-17T06:59:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.560151'} 2024-09-17 06:59:13,288 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-17 06:59:13,288 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81609618 passed 2024-09-17 06:59:13,289 - DEBUG - ====Verifying policy data for ctest-vn-81609618 in API_Server ====== 2024-09-17 06:59:13,289 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2024-09-17 06:59:13,303 - DEBUG - Requesting: http://10.0.0.57:8082/domain/a0fc95bb-2e41-4bb2-8b84-8e4ec5a6f967 2024-09-17 06:59:13,323 - DEBUG - Requesting: http://10.0.0.57:8082/project/f2c7454d-3cd5-43b6-9499-99d0a8898b80 2024-09-17 06:59:13,466 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/1b296533-5035-4f93-bcb2-5e47e61030d7 2024-09-17 06:59:13,510 - DEBUG - ==>Verifying data for policy with id: 09c3e33f-2030-4465-821e-e35cefaa8e4e, fqn: ['default-domain', 'ctest-TestBasicPolicy-43898586', 'ctest-policy-allow-all-27540522'] 2024-09-17 06:59:13,511 - INFO - VN ctest-vn-81609618 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-17 06:59:13,511 - DEBUG - Verifying the vn in opserver 2024-09-17 06:59:13,511 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43898586:ctest-vn-81609618 virtual network link through opserver 10.0.0.57 2024-09-17 06:59:13,511 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2024-09-17 06:59:13,855 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2024-09-17 06:59:13,958 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43898586:ctest-vn-81609618', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43898586:ctest-vn-81609618?flat'} 2024-09-17 06:59:13,958 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43898586:ctest-vn-81609618 is found in opserver 2024-09-17 06:59:13,991 - DEBUG - Do not have enough data to verify VN in agent 2024-09-17 06:59:14,006 - DEBUG - VRF ids for VN ctest-vn-81609618: {} 2024-09-17 06:59:14,006 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2024-09-17 06:59:14,018 - DEBUG - Requesting: http://10.0.0.57:8082/domain/a0fc95bb-2e41-4bb2-8b84-8e4ec5a6f967 2024-09-17 06:59:14,056 - DEBUG - Requesting: http://10.0.0.57:8082/project/f2c7454d-3cd5-43b6-9499-99d0a8898b80 2024-09-17 06:59:14,199 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/6201d612-aa3e-42a1-ae48-600f88945a37 2024-09-17 06:59:14,235 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/6201d612-aa3e-42a1-ae48-600f88945a37 2024-09-17 06:59:14,259 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/609fec16-a769-4cf2-b97c-f7e6cd2558af 2024-09-17 06:59:14,282 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/609fec16-a769-4cf2-b97c-f7e6cd2558af 2024-09-17 06:59:14,301 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/4d75da30-f017-45ca-9d68-7bc81cc67808 2024-09-17 06:59:14,320 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-17 06:59:14,321 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/6201d612-aa3e-42a1-ae48-600f88945a37 2024-09-17 06:59:14,367 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/609fec16-a769-4cf2-b97c-f7e6cd2558af 2024-09-17 06:59:14,437 - INFO - Verified VN network id 8 for VN 6201d612-aa3e-42a1-ae48-600f88945a37 2024-09-17 06:59:14,437 - INFO - Verifications in API Server for VN ctest-vn-28319991 passed 2024-09-17 06:59:14,437 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/6201d612-aa3e-42a1-ae48-600f88945a37 2024-09-17 06:59:14,490 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/609fec16-a769-4cf2-b97c-f7e6cd2558af 2024-09-17 06:59:14,521 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/609fec16-a769-4cf2-b97c-f7e6cd2558af 2024-09-17 06:59:14,553 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/4d75da30-f017-45ca-9d68-7bc81cc67808 2024-09-17 06:59:14,597 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43898586:ctest-vn-28319991', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43898586', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7062161066347610785', 'uuid-lslong': '12558393180754827831'}, 'enable': 'true', 'created': '2024-09-17T06:59:10', 'last-modified': '2024-09-17T06:59:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.524275'} 2024-09-17 06:59:14,616 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-17 06:59:14,616 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28319991 passed 2024-09-17 06:59:14,616 - DEBUG - ====Verifying policy data for ctest-vn-28319991 in API_Server ====== 2024-09-17 06:59:14,617 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2024-09-17 06:59:14,638 - DEBUG - Requesting: http://10.0.0.57:8082/domain/a0fc95bb-2e41-4bb2-8b84-8e4ec5a6f967 2024-09-17 06:59:14,683 - DEBUG - Requesting: http://10.0.0.57:8082/project/f2c7454d-3cd5-43b6-9499-99d0a8898b80 2024-09-17 06:59:14,829 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/6201d612-aa3e-42a1-ae48-600f88945a37 2024-09-17 06:59:14,873 - DEBUG - ==>Verifying data for policy with id: 09c3e33f-2030-4465-821e-e35cefaa8e4e, fqn: ['default-domain', 'ctest-TestBasicPolicy-43898586', 'ctest-policy-allow-all-27540522'] 2024-09-17 06:59:14,873 - INFO - VN ctest-vn-28319991 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-17 06:59:14,873 - DEBUG - Verifying the vn in opserver 2024-09-17 06:59:14,873 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43898586:ctest-vn-28319991 virtual network link through opserver 10.0.0.57 2024-09-17 06:59:14,874 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2024-09-17 06:59:14,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43898586:ctest-vn-28319991', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43898586:ctest-vn-28319991?flat'} 2024-09-17 06:59:14,904 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43898586:ctest-vn-28319991 is found in opserver 2024-09-17 06:59:14,941 - DEBUG - Do not have enough data to verify VN in agent 2024-09-17 06:59:14,960 - DEBUG - VRF ids for VN ctest-vn-28319991: {} 2024-09-17 06:59:15,125 - DEBUG - Services list from nova: [, , ] 2024-09-17 06:59:16,815 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1953-1) 2024-09-17 06:59:18,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1953-1) 2024-09-17 06:59:18,467 - INFO - Waiting for VM ctest-TestBasicPolicy-43898586-26109860 to be up.. 2024-09-17 06:59:18,591 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 06:59:23,732 - DEBUG - VM is in ACTIVE state now 2024-09-17 06:59:23,732 - INFO - VM name : ctest-TestBasicPolicy-43898586-26109860 2024-09-17 06:59:23,836 - DEBUG - VM ctest-TestBasicPolicy-43898586-26109860 ID is b565dbf0-184f-428b-881e-52b02a90739b 2024-09-17 06:59:23,865 - DEBUG - VM ctest-TestBasicPolicy-43898586-26109860 launched on Node cn-jenkins-deploy-platform-ansible-os-1953-1 2024-09-17 06:59:24,003 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/b565dbf0-184f-428b-881e-52b02a90739b 2024-09-17 06:59:24,018 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/93732edf-6b14-47f7-8dc4-c88b467bba24 2024-09-17 06:59:27,334 - 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 1011ms') 2024-09-17 06:59:27,334 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43898586-26109860 failed! 2024-09-17 06:59:27,424 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43898586:ctest-vn-81609618 is 191.61.235.65 and allocation pool is NOT set 2024-09-17 06:59:31,529 - 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=2 ttl=63 time=3.93 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 3.926/3.926/3.926/0.000 ms') 2024-09-17 06:59:31,529 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43898586-26109860 passed 2024-09-17 06:59:31,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 06:59:31,729 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43898586-26109860, IP 191.61.235.67, Port 22 2024-09-17 06:59:31,930 - DEBUG - VM ctest-TestBasicPolicy-43898586-26109860 is ready for SSH connections 2024-09-17 06:59:31,930 - INFO - Waiting for VM ctest-TestBasicPolicy-43898586-78165178 to be up.. 2024-09-17 06:59:32,096 - DEBUG - VM is in ACTIVE state now 2024-09-17 06:59:32,096 - INFO - VM name : ctest-TestBasicPolicy-43898586-78165178 2024-09-17 06:59:32,224 - DEBUG - VM ctest-TestBasicPolicy-43898586-78165178 ID is efc36351-5144-434b-a06f-fcccb7106b9b 2024-09-17 06:59:32,224 - DEBUG - VM ctest-TestBasicPolicy-43898586-78165178 launched on Node cn-jenkins-deploy-platform-ansible-os-1953-1 2024-09-17 06:59:32,358 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/efc36351-5144-434b-a06f-fcccb7106b9b 2024-09-17 06:59:32,371 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/91f0e727-3d1b-49ce-a537-eccdbe51b614 2024-09-17 06:59:33,735 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.14 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.141/4.436/6.732/2.295 ms') 2024-09-17 06:59:33,735 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43898586-78165178 passed 2024-09-17 06:59:33,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 06:59:33,957 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43898586-78165178, IP 178.23.98.67, Port 22 2024-09-17 06:59:34,171 - DEBUG - VM ctest-TestBasicPolicy-43898586-78165178 is ready for SSH connections 2024-09-17 06:59:34,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 06:59:34,172 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.23.98.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2024-09-17 06:59:34,172 - DEBUG - ping -s 56 -c 3 -W 1 178.23.98.67 2024-09-17 06:59:38,639 - DEBUG - PING 178.23.98.67 (178.23.98.67): 56 data bytes 64 bytes from 178.23.98.67: seq=0 ttl=63 time=6.020 ms 64 bytes from 178.23.98.67: seq=1 ttl=63 time=2.094 ms 64 bytes from 178.23.98.67: seq=2 ttl=63 time=1.822 ms --- 178.23.98.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.822/3.312/6.020 ms 2024-09-17 06:59:38,639 - INFO - Ping to IP 178.23.98.67 from VM ctest-TestBasicPolicy-43898586-26109860 passed 2024-09-17 06:59:38,879 - DEBUG - Policy Update Response {"network-policy": {"uuid": "09c3e33f-2030-4465-821e-e35cefaa8e4e", "href": "http://10.0.0.57:8082/network-policy/09c3e33f-2030-4465-821e-e35cefaa8e4e"}} 2024-09-17 06:59:38,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 06:59:38,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.23.98.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2024-09-17 06:59:38,880 - DEBUG - ping -s 56 -c 3 -W 1 178.23.98.67 2024-09-17 06:59:42,147 - DEBUG - PING 178.23.98.67 (178.23.98.67): 56 data bytes --- 178.23.98.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-17 06:59:42,148 - WARNING - Ping to IP 178.23.98.67 from VM ctest-TestBasicPolicy-43898586-26109860 failed 2024-09-17 06:59:42,148 - INFO - Deleting VM ctest-TestBasicPolicy-43898586-78165178 2024-09-17 06:59:42,305 - INFO - Deleting VM ctest-TestBasicPolicy-43898586-26109860 2024-09-17 06:59:43,255 - INFO - Deleted policy ctest-policy-allow-all-27540522 2024-09-17 06:59:43,255 - INFO - Deleting VN ctest-vn-28319991 2024-09-17 06:59:43,329 - DEBUG - VN 6201d612-aa3e-42a1-ae48-600f88945a37 still in use: Unable to complete operation on network 6201d612-aa3e-42a1-ae48-600f88945a37. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c95ecc22-edc0-4c13-a00d-fec15b3f48c3'] 2024-09-17 06:59:43,329 - WARNING - Deleting VN ctest-vn-28319991 failed..Will retry 2024-09-17 06:59:45,592 - DEBUG - Response for deleting network () 2024-09-17 06:59:45,592 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/609fec16-a769-4cf2-b97c-f7e6cd2558af 2024-09-17 06:59:45,600 - DEBUG - Response Code: 404 2024-09-17 06:59:45,601 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2024-09-17 06:59:45,615 - DEBUG - Requesting: http://10.0.0.57:8082/domain/a0fc95bb-2e41-4bb2-8b84-8e4ec5a6f967 2024-09-17 06:59:45,636 - DEBUG - Requesting: http://10.0.0.57:8082/project/f2c7454d-3cd5-43b6-9499-99d0a8898b80 2024-09-17 06:59:45,760 - INFO - Validated that VN ctest-vn-28319991 is not found in API Server 2024-09-17 06:59:45,780 - DEBUG - VN ctest-vn-28319991 is not present in Agent 10.0.0.57 2024-09-17 06:59:45,780 - INFO - Validated that VN ctest-vn-28319991 is not in any agent 2024-09-17 06:59:45,821 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28319991 info 2024-09-17 06:59:45,821 - INFO - Deleting VN ctest-vn-81609618 2024-09-17 06:59:46,007 - DEBUG - Response for deleting network () 2024-09-17 06:59:46,007 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/27cc287b-8ecc-4816-bb2b-9188f47934c2 2024-09-17 06:59:46,019 - DEBUG - Response Code: 404 2024-09-17 06:59:46,020 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2024-09-17 06:59:46,037 - DEBUG - Requesting: http://10.0.0.57:8082/domain/a0fc95bb-2e41-4bb2-8b84-8e4ec5a6f967 2024-09-17 06:59:46,060 - DEBUG - Requesting: http://10.0.0.57:8082/project/f2c7454d-3cd5-43b6-9499-99d0a8898b80 2024-09-17 06:59:46,178 - INFO - Validated that VN ctest-vn-81609618 is not found in API Server 2024-09-17 06:59:46,207 - DEBUG - VN ctest-vn-81609618 is not present in Agent 10.0.0.57 2024-09-17 06:59:46,207 - INFO - Validated that VN ctest-vn-81609618 is not in any agent 2024-09-17 06:59:46,258 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81609618 info 2024-09-17 06:59:46,591 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 06:59:46,591 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38]
2024-09-17 06:59:46,592 - INFO - -------------------------------------------------------------------------------- 2024-09-17 06:59:47,639 - INFO - Deleted project: ctest-TestBasicPolicy-43898586, ID : f2c7454d-3cd5-43b6-9499-99d0a8898b80