2026-02-27 12:00:58,645 - INFO - Domain Default found not creating
2026-02-27 12:00:58,962 - INFO - Project ctest-TestBasicPolicy-00274703 not found, creating it
2026-02-27 12:00:59,488 - INFO - Created Project:ctest-TestBasicPolicy-00274703, ID : ce769013-11fb-4f40-97ed-ab3524bb3713
2026-02-27 12:01:01,371 - INFO - ================================================================================
2026-02-27 12:01:01,371 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-27 12:01:01,371 - 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
2026-02-27 12:01:01,646 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-27 12:01:01,647 - INFO - Initial checks done. Running the testcase now
2026-02-27 12:01:01,647 - INFO -
2026-02-27 12:01:02,263 - DEBUG - Response for create_network : {'network': {'id': '0d4e4e3d-c252-447c-b693-f42d4c29d744', 'name': 'ctest-vn-09916864', 'tenant_id': 'ce76901311fb4f4097edab3524bb3713', 'project_id': 'ce76901311fb4f4097edab3524bb3713', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-vn-09916864'], 'port_security_enabled': True, 'description': ''}}
2026-02-27 12:01:02,456 - DEBUG - Response for create_subnet : {'subnet': {'id': '74e482b2-4e57-4624-b9c6-ee9eb7f90b04', 'name': '', 'tenant_id': 'ce76901311fb4f4097edab3524bb3713', 'network_id': '0d4e4e3d-c252-447c-b693-f42d4c29d744', 'ip_version': 4, 'cidr': '118.61.173.192/26', 'allocation_pools': [{'start': '118.61.173.194', 'end': '118.61.173.254'}], 'gateway_ip': '118.61.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.61.173.194', 'tags': [], 'project_id': 'ce76901311fb4f4097edab3524bb3713'}}
2026-02-27 12:01:02,476 - INFO - Created VN ctest-vn-09916864
2026-02-27 12:01:02,535 - DEBUG - VN ctest-vn-09916864 UUID is 0d4e4e3d-c252-447c-b693-f42d4c29d744
2026-02-27 12:01:02,864 - DEBUG - Response for create_network : {'network': {'id': 'a45473c8-d503-41a7-a047-f1aad7825e12', 'name': 'ctest-vn-16171098', 'tenant_id': 'ce76901311fb4f4097edab3524bb3713', 'project_id': 'ce76901311fb4f4097edab3524bb3713', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-vn-16171098'], 'port_security_enabled': True, 'description': ''}}
2026-02-27 12:01:03,063 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0e1b873-b016-44e0-b284-c7ac4a267dbe', 'name': '', 'tenant_id': 'ce76901311fb4f4097edab3524bb3713', 'network_id': 'a45473c8-d503-41a7-a047-f1aad7825e12', 'ip_version': 4, 'cidr': '219.207.138.128/26', 'allocation_pools': [{'start': '219.207.138.130', 'end': '219.207.138.190'}], 'gateway_ip': '219.207.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.207.138.130', 'tags': [], 'project_id': 'ce76901311fb4f4097edab3524bb3713'}}
2026-02-27 12:01:03,089 - INFO - Created VN ctest-vn-16171098
2026-02-27 12:01:03,147 - DEBUG - VN ctest-vn-16171098 UUID is a45473c8-d503-41a7-a047-f1aad7825e12
2026-02-27 12:01:03,299 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-09916864, 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-00274703:ctest-vn-16171098, 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]
2026-02-27 12:01:03,653 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0d4e4e3d-c252-447c-b693-f42d4c29d744', 'name': 'ctest-vn-09916864', 'tenant_id': 'ce76901311fb4f4097edab3524bb3713', 'project_id': 'ce76901311fb4f4097edab3524bb3713', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['74e482b2-4e57-4624-b9c6-ee9eb7f90b04'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-vn-09916864'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-policy-allow-all-45674524']], 'subnet_ipam': [{'subnet_cidr': '118.61.173.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-27 12:01:03,896 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a45473c8-d503-41a7-a047-f1aad7825e12', 'name': 'ctest-vn-16171098', 'tenant_id': 'ce76901311fb4f4097edab3524bb3713', 'project_id': 'ce76901311fb4f4097edab3524bb3713', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0e1b873-b016-44e0-b284-c7ac4a267dbe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-vn-16171098'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-policy-allow-all-45674524']], 'subnet_ipam': [{'subnet_cidr': '219.207.138.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-27 12:01:04,063 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-27 12:01:04,368 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-27 12:01:04,405 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2493d97c-c6c1-4935-b41c-8a857c38fd51
2026-02-27 12:01:04,420 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce769013-11fb-4f40-97ed-ab3524bb3713
2026-02-27 12:01:04,498 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0d4e4e3d-c252-447c-b693-f42d4c29d744
2026-02-27 12:01:04,513 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0d4e4e3d-c252-447c-b693-f42d4c29d744
2026-02-27 12:01:04,525 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a58d4117-dd87-4d6d-be72-7dab970ae409
2026-02-27 12:01:04,534 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a58d4117-dd87-4d6d-be72-7dab970ae409
2026-02-27 12:01:04,541 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e724b159-7cce-46a6-bc23-14eeb592ecaf
2026-02-27 12:01:04,548 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-27 12:01:04,548 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0d4e4e3d-c252-447c-b693-f42d4c29d744
2026-02-27 12:01:04,560 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a58d4117-dd87-4d6d-be72-7dab970ae409
2026-02-27 12:01:04,578 - INFO - Verified VN network id 11 for VN 0d4e4e3d-c252-447c-b693-f42d4c29d744
2026-02-27 12:01:04,578 - INFO - Verifications in API Server for VN ctest-vn-09916864 passed
2026-02-27 12:01:04,578 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0d4e4e3d-c252-447c-b693-f42d4c29d744
2026-02-27 12:01:04,591 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a58d4117-dd87-4d6d-be72-7dab970ae409
2026-02-27 12:01:04,601 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a58d4117-dd87-4d6d-be72-7dab970ae409
2026-02-27 12:01:04,609 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e724b159-7cce-46a6-bc23-14eeb592ecaf
2026-02-27 12:01:04,621 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-09916864', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00274703', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '958789797836637308', 'uuid-lslong': '13156127411867866948'}, 'enable': 'true', 'created': '2026-02-27T12:01:02', 'last-modified': '2026-02-27T12:01:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.998764'}
2026-02-27 12:01:04,629 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-27 12:01:04,629 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09916864 passed
2026-02-27 12:01:04,629 - DEBUG - ====Verifying policy data for ctest-vn-09916864 in API_Server ======
2026-02-27 12:01:04,629 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-27 12:01:04,636 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2493d97c-c6c1-4935-b41c-8a857c38fd51
2026-02-27 12:01:04,648 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce769013-11fb-4f40-97ed-ab3524bb3713
2026-02-27 12:01:04,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0d4e4e3d-c252-447c-b693-f42d4c29d744
2026-02-27 12:01:04,738 - DEBUG - ==>Verifying data for policy with id: 5e1e33a2-0c08-405d-b323-5356c92e0b1a, fqn: ['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-policy-allow-all-45674524']
2026-02-27 12:01:04,738 - INFO - VN ctest-vn-09916864 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-27 12:01:04,738 - DEBUG - Verifying the vn in opserver
2026-02-27 12:01:04,738 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-09916864 virtual network link through opserver 10.0.0.38
2026-02-27 12:01:04,739 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-27 12:01:05,048 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-27 12:01:05,135 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-09916864', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-09916864?flat'}
2026-02-27 12:01:05,135 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-09916864 is found in opserver
2026-02-27 12:01:05,148 - DEBUG - Do not have enough data to verify VN in agent
2026-02-27 12:01:05,154 - DEBUG - VRF ids for VN ctest-vn-09916864: {}
2026-02-27 12:01:05,154 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-27 12:01:05,161 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2493d97c-c6c1-4935-b41c-8a857c38fd51
2026-02-27 12:01:05,182 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce769013-11fb-4f40-97ed-ab3524bb3713
2026-02-27 12:01:05,275 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a45473c8-d503-41a7-a047-f1aad7825e12
2026-02-27 12:01:05,291 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a45473c8-d503-41a7-a047-f1aad7825e12
2026-02-27 12:01:05,306 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9ce6f9-9e1c-49f8-9d05-bf30c46d9a12
2026-02-27 12:01:05,320 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9ce6f9-9e1c-49f8-9d05-bf30c46d9a12
2026-02-27 12:01:05,331 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/637c9af4-ac3f-46dd-bed7-6a75ccc0d818
2026-02-27 12:01:05,340 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-27 12:01:05,340 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a45473c8-d503-41a7-a047-f1aad7825e12
2026-02-27 12:01:05,355 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9ce6f9-9e1c-49f8-9d05-bf30c46d9a12
2026-02-27 12:01:05,379 - INFO - Verified VN network id 12 for VN a45473c8-d503-41a7-a047-f1aad7825e12
2026-02-27 12:01:05,379 - INFO - Verifications in API Server for VN ctest-vn-16171098 passed
2026-02-27 12:01:05,379 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a45473c8-d503-41a7-a047-f1aad7825e12
2026-02-27 12:01:05,392 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9ce6f9-9e1c-49f8-9d05-bf30c46d9a12
2026-02-27 12:01:05,403 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8e9ce6f9-9e1c-49f8-9d05-bf30c46d9a12
2026-02-27 12:01:05,414 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/637c9af4-ac3f-46dd-bed7-6a75ccc0d818
2026-02-27 12:01:05,432 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-16171098', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00274703', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11841216626668290471', 'uuid-lslong': '11549465485477305874'}, 'enable': 'true', 'created': '2026-02-27T12:01:02', 'last-modified': '2026-02-27T12:01:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.562977'}
2026-02-27 12:01:05,440 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-27 12:01:05,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16171098 passed
2026-02-27 12:01:05,441 - DEBUG - ====Verifying policy data for ctest-vn-16171098 in API_Server ======
2026-02-27 12:01:05,441 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-27 12:01:05,458 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2493d97c-c6c1-4935-b41c-8a857c38fd51
2026-02-27 12:01:05,470 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce769013-11fb-4f40-97ed-ab3524bb3713
2026-02-27 12:01:05,555 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a45473c8-d503-41a7-a047-f1aad7825e12
2026-02-27 12:01:05,569 - DEBUG - ==>Verifying data for policy with id: 5e1e33a2-0c08-405d-b323-5356c92e0b1a, fqn: ['default-domain', 'ctest-TestBasicPolicy-00274703', 'ctest-policy-allow-all-45674524']
2026-02-27 12:01:05,569 - INFO - VN ctest-vn-16171098 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-27 12:01:05,569 - DEBUG - Verifying the vn in opserver
2026-02-27 12:01:05,569 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-16171098 virtual network link through opserver 10.0.0.38
2026-02-27 12:01:05,569 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-27 12:01:05,583 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-16171098', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-16171098?flat'}
2026-02-27 12:01:05,583 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00274703:ctest-vn-16171098 is found in opserver
2026-02-27 12:01:05,595 - DEBUG - Do not have enough data to verify VN in agent
2026-02-27 12:01:05,601 - DEBUG - VRF ids for VN ctest-vn-16171098: {}
2026-02-27 12:01:05,682 - DEBUG - Services list from nova: [