2025-12-22 16:59:53,343 - INFO - Domain Default found not creating
2025-12-22 16:59:53,513 - INFO - Project ctest-TestBasicPolicy-58061029 not found, creating it
2025-12-22 16:59:53,963 - INFO - Created Project:ctest-TestBasicPolicy-58061029, ID : 44162c33-ae60-4871-b9ab-2b8304207454
2025-12-22 16:59:55,559 - INFO - ================================================================================
2025-12-22 16:59:55,559 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-22 16:59:55,560 - 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
2025-12-22 16:59:55,812 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-12-22 16:59:55,813 - INFO - Initial checks done. Running the testcase now
2025-12-22 16:59:55,813 - INFO -
2025-12-22 16:59:56,408 - DEBUG - Response for create_network : {'network': {'id': 'ff046885-5338-45bf-b42b-676c5647363a', 'name': 'ctest-vn-33403190', 'tenant_id': '44162c33ae604871b9ab2b8304207454', 'project_id': '44162c33ae604871b9ab2b8304207454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-vn-33403190'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 16:59:56,604 - DEBUG - Response for create_subnet : {'subnet': {'id': '21d00d48-46e0-48d8-9d77-3f571e1da35e', 'name': '', 'tenant_id': '44162c33ae604871b9ab2b8304207454', 'network_id': 'ff046885-5338-45bf-b42b-676c5647363a', 'ip_version': 4, 'cidr': '142.98.10.192/26', 'allocation_pools': [{'start': '142.98.10.194', 'end': '142.98.10.254'}], 'gateway_ip': '142.98.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.98.10.194', 'tags': [], 'project_id': '44162c33ae604871b9ab2b8304207454'}}
2025-12-22 16:59:56,621 - INFO - Created VN ctest-vn-33403190
2025-12-22 16:59:56,671 - DEBUG - VN ctest-vn-33403190 UUID is ff046885-5338-45bf-b42b-676c5647363a
2025-12-22 16:59:56,996 - DEBUG - Response for create_network : {'network': {'id': '1d5a6fdd-accd-404e-8320-8e44caeff1f7', 'name': 'ctest-vn-30096578', 'tenant_id': '44162c33ae604871b9ab2b8304207454', 'project_id': '44162c33ae604871b9ab2b8304207454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-vn-30096578'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 16:59:57,141 - DEBUG - Response for create_subnet : {'subnet': {'id': '2070ef23-3ffb-49bc-af59-8edaa8e68e88', 'name': '', 'tenant_id': '44162c33ae604871b9ab2b8304207454', 'network_id': '1d5a6fdd-accd-404e-8320-8e44caeff1f7', 'ip_version': 4, 'cidr': '108.108.46.192/26', 'allocation_pools': [{'start': '108.108.46.194', 'end': '108.108.46.254'}], 'gateway_ip': '108.108.46.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.108.46.194', 'tags': [], 'project_id': '44162c33ae604871b9ab2b8304207454'}}
2025-12-22 16:59:57,159 - INFO - Created VN ctest-vn-30096578
2025-12-22 16:59:57,211 - DEBUG - VN ctest-vn-30096578 UUID is 1d5a6fdd-accd-404e-8320-8e44caeff1f7
2025-12-22 16:59:57,329 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-33403190, 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-58061029:ctest-vn-30096578, 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]
2025-12-22 16:59:57,620 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ff046885-5338-45bf-b42b-676c5647363a', 'name': 'ctest-vn-33403190', 'tenant_id': '44162c33ae604871b9ab2b8304207454', 'project_id': '44162c33ae604871b9ab2b8304207454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['21d00d48-46e0-48d8-9d77-3f571e1da35e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-vn-33403190'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-policy-allow-all-81860618']], 'subnet_ipam': [{'subnet_cidr': '142.98.10.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-22 16:59:57,904 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1d5a6fdd-accd-404e-8320-8e44caeff1f7', 'name': 'ctest-vn-30096578', 'tenant_id': '44162c33ae604871b9ab2b8304207454', 'project_id': '44162c33ae604871b9ab2b8304207454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2070ef23-3ffb-49bc-af59-8edaa8e68e88'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-vn-30096578'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-policy-allow-all-81860618']], 'subnet_ipam': [{'subnet_cidr': '108.108.46.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-22 16:59:58,043 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-22 16:59:58,381 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-22 16:59:58,413 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a03c1bba-5e9d-44d8-bf64-fcfaa3f31012
2025-12-22 16:59:58,426 - DEBUG - Requesting: http://10.0.0.33:8082/project/44162c33-ae60-4871-b9ab-2b8304207454
2025-12-22 16:59:58,498 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff046885-5338-45bf-b42b-676c5647363a
2025-12-22 16:59:58,509 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff046885-5338-45bf-b42b-676c5647363a
2025-12-22 16:59:58,518 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbd59d48-35f7-4748-beb7-406ce7e9a691
2025-12-22 16:59:58,524 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbd59d48-35f7-4748-beb7-406ce7e9a691
2025-12-22 16:59:58,530 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/bccbd094-760d-43b3-aad6-d890a275a6eb
2025-12-22 16:59:58,535 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-22 16:59:58,535 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff046885-5338-45bf-b42b-676c5647363a
2025-12-22 16:59:58,543 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbd59d48-35f7-4748-beb7-406ce7e9a691
2025-12-22 16:59:58,556 - INFO - Verified VN network id 11 for VN ff046885-5338-45bf-b42b-676c5647363a
2025-12-22 16:59:58,556 - INFO - Verifications in API Server for VN ctest-vn-33403190 passed
2025-12-22 16:59:58,557 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff046885-5338-45bf-b42b-676c5647363a
2025-12-22 16:59:58,566 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbd59d48-35f7-4748-beb7-406ce7e9a691
2025-12-22 16:59:58,576 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbd59d48-35f7-4748-beb7-406ce7e9a691
2025-12-22 16:59:58,584 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/bccbd094-760d-43b3-aad6-d890a275a6eb
2025-12-22 16:59:58,596 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-33403190', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58061029', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18375927301414602175', 'uuid-lslong': '12982584065827223098'}, 'enable': 'true', 'created': '2025-12-22T16:59:56', 'last-modified': '2025-12-22T16:59:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995713'}
2025-12-22 16:59:58,604 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-22 16:59:58,604 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33403190 passed
2025-12-22 16:59:58,604 - DEBUG - ====Verifying policy data for ctest-vn-33403190 in API_Server ======
2025-12-22 16:59:58,604 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-22 16:59:58,610 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a03c1bba-5e9d-44d8-bf64-fcfaa3f31012
2025-12-22 16:59:58,623 - DEBUG - Requesting: http://10.0.0.33:8082/project/44162c33-ae60-4871-b9ab-2b8304207454
2025-12-22 16:59:58,693 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff046885-5338-45bf-b42b-676c5647363a
2025-12-22 16:59:58,703 - DEBUG - ==>Verifying data for policy with id: 52c4f5ce-0e72-4fc4-8ddf-9c39b96865e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-policy-allow-all-81860618']
2025-12-22 16:59:58,703 - INFO - VN ctest-vn-33403190 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-22 16:59:58,703 - DEBUG - Verifying the vn in opserver
2025-12-22 16:59:58,704 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-33403190 virtual network link through opserver 10.0.0.33
2025-12-22 16:59:58,704 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-22 16:59:59,043 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-22 16:59:59,107 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-33403190', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-33403190?flat'}
2025-12-22 16:59:59,107 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-33403190 is found in opserver
2025-12-22 16:59:59,118 - DEBUG - Do not have enough data to verify VN in agent
2025-12-22 16:59:59,123 - DEBUG - VRF ids for VN ctest-vn-33403190: {}
2025-12-22 16:59:59,123 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-22 16:59:59,128 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a03c1bba-5e9d-44d8-bf64-fcfaa3f31012
2025-12-22 16:59:59,139 - DEBUG - Requesting: http://10.0.0.33:8082/project/44162c33-ae60-4871-b9ab-2b8304207454
2025-12-22 16:59:59,208 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1d5a6fdd-accd-404e-8320-8e44caeff1f7
2025-12-22 16:59:59,220 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1d5a6fdd-accd-404e-8320-8e44caeff1f7
2025-12-22 16:59:59,230 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a5563d24-9aeb-4a59-a753-9a32537f48b4
2025-12-22 16:59:59,237 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a5563d24-9aeb-4a59-a753-9a32537f48b4
2025-12-22 16:59:59,244 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e9c17452-a6b9-4d9b-824f-94e3fd27d7ce
2025-12-22 16:59:59,251 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-22 16:59:59,251 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1d5a6fdd-accd-404e-8320-8e44caeff1f7
2025-12-22 16:59:59,259 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a5563d24-9aeb-4a59-a753-9a32537f48b4
2025-12-22 16:59:59,273 - INFO - Verified VN network id 12 for VN 1d5a6fdd-accd-404e-8320-8e44caeff1f7
2025-12-22 16:59:59,273 - INFO - Verifications in API Server for VN ctest-vn-30096578 passed
2025-12-22 16:59:59,273 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1d5a6fdd-accd-404e-8320-8e44caeff1f7
2025-12-22 16:59:59,283 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a5563d24-9aeb-4a59-a753-9a32537f48b4
2025-12-22 16:59:59,290 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a5563d24-9aeb-4a59-a753-9a32537f48b4
2025-12-22 16:59:59,298 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e9c17452-a6b9-4d9b-824f-94e3fd27d7ce
2025-12-22 16:59:59,309 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-30096578', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58061029', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2115125972881457230', 'uuid-lslong': '9448708444336943607'}, 'enable': 'true', 'created': '2025-12-22T16:59:56', 'last-modified': '2025-12-22T16:59:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.483038'}
2025-12-22 16:59:59,315 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-22 16:59:59,315 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30096578 passed
2025-12-22 16:59:59,315 - DEBUG - ====Verifying policy data for ctest-vn-30096578 in API_Server ======
2025-12-22 16:59:59,316 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-22 16:59:59,321 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a03c1bba-5e9d-44d8-bf64-fcfaa3f31012
2025-12-22 16:59:59,334 - DEBUG - Requesting: http://10.0.0.33:8082/project/44162c33-ae60-4871-b9ab-2b8304207454
2025-12-22 16:59:59,408 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1d5a6fdd-accd-404e-8320-8e44caeff1f7
2025-12-22 16:59:59,418 - DEBUG - ==>Verifying data for policy with id: 52c4f5ce-0e72-4fc4-8ddf-9c39b96865e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-policy-allow-all-81860618']
2025-12-22 16:59:59,418 - INFO - VN ctest-vn-30096578 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-22 16:59:59,418 - DEBUG - Verifying the vn in opserver
2025-12-22 16:59:59,418 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-30096578 virtual network link through opserver 10.0.0.33
2025-12-22 16:59:59,418 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-22 16:59:59,428 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-30096578', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-30096578?flat'}
2025-12-22 16:59:59,429 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-30096578 is found in opserver
2025-12-22 16:59:59,438 - DEBUG - Do not have enough data to verify VN in agent
2025-12-22 16:59:59,443 - DEBUG - VRF ids for VN ctest-vn-30096578: {}
2025-12-22 16:59:59,509 - DEBUG - Services list from nova: [