2026-02-04 12:19:17,056 - INFO - Domain Default found not creating
2026-02-04 12:19:17,209 - INFO - Project ctest-TestBasicPolicy-43578840 not found, creating it
2026-02-04 12:19:17,651 - INFO - Created Project:ctest-TestBasicPolicy-43578840, ID : 5ee678f7-c87e-488a-a5d5-27e9df1dba17
2026-02-04 12:19:19,140 - INFO - ================================================================================
2026-02-04 12:19:19,140 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-04 12:19:19,140 - 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-04 12:19:19,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-02-04 12:19:19,396 - INFO - Initial checks done. Running the testcase now
2026-02-04 12:19:19,396 - INFO -
2026-02-04 12:19:19,935 - DEBUG - Response for create_network : {'network': {'id': 'edbe381f-0177-471a-95de-81fba819ff0a', 'name': 'ctest-vn-05633760', 'tenant_id': '5ee678f7c87e488aa5d527e9df1dba17', 'project_id': '5ee678f7c87e488aa5d527e9df1dba17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-vn-05633760'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 12:19:20,095 - DEBUG - Response for create_subnet : {'subnet': {'id': '13b0b431-2572-4ede-9b03-0b8309f2bb1a', 'name': '', 'tenant_id': '5ee678f7c87e488aa5d527e9df1dba17', 'network_id': 'edbe381f-0177-471a-95de-81fba819ff0a', 'ip_version': 4, 'cidr': '8.174.160.64/26', 'allocation_pools': [{'start': '8.174.160.66', 'end': '8.174.160.126'}], 'gateway_ip': '8.174.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.174.160.66', 'tags': [], 'project_id': '5ee678f7c87e488aa5d527e9df1dba17'}}
2026-02-04 12:19:20,111 - INFO - Created VN ctest-vn-05633760
2026-02-04 12:19:20,162 - DEBUG - VN ctest-vn-05633760 UUID is edbe381f-0177-471a-95de-81fba819ff0a
2026-02-04 12:19:20,488 - DEBUG - Response for create_network : {'network': {'id': '901b2638-6aad-4c96-912b-4a0bd38e4f83', 'name': 'ctest-vn-82862451', 'tenant_id': '5ee678f7c87e488aa5d527e9df1dba17', 'project_id': '5ee678f7c87e488aa5d527e9df1dba17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-vn-82862451'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 12:19:20,629 - DEBUG - Response for create_subnet : {'subnet': {'id': '2db17d40-63bc-43c4-8c8f-0c1d1f55cf66', 'name': '', 'tenant_id': '5ee678f7c87e488aa5d527e9df1dba17', 'network_id': '901b2638-6aad-4c96-912b-4a0bd38e4f83', 'ip_version': 4, 'cidr': '50.200.133.128/26', 'allocation_pools': [{'start': '50.200.133.130', 'end': '50.200.133.190'}], 'gateway_ip': '50.200.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.200.133.130', 'tags': [], 'project_id': '5ee678f7c87e488aa5d527e9df1dba17'}}
2026-02-04 12:19:20,645 - INFO - Created VN ctest-vn-82862451
2026-02-04 12:19:20,694 - DEBUG - VN ctest-vn-82862451 UUID is 901b2638-6aad-4c96-912b-4a0bd38e4f83
2026-02-04 12:19:20,842 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-05633760, 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-43578840:ctest-vn-82862451, 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-04 12:19:21,138 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'edbe381f-0177-471a-95de-81fba819ff0a', 'name': 'ctest-vn-05633760', 'tenant_id': '5ee678f7c87e488aa5d527e9df1dba17', 'project_id': '5ee678f7c87e488aa5d527e9df1dba17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['13b0b431-2572-4ede-9b03-0b8309f2bb1a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-vn-05633760'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-policy-allow-all-72222153']], 'subnet_ipam': [{'subnet_cidr': '8.174.160.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 12:19:21,405 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '901b2638-6aad-4c96-912b-4a0bd38e4f83', 'name': 'ctest-vn-82862451', 'tenant_id': '5ee678f7c87e488aa5d527e9df1dba17', 'project_id': '5ee678f7c87e488aa5d527e9df1dba17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2db17d40-63bc-43c4-8c8f-0c1d1f55cf66'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-vn-82862451'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-policy-allow-all-72222153']], 'subnet_ipam': [{'subnet_cidr': '50.200.133.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 12:19:21,554 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-04 12:19:21,859 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-04 12:19:21,889 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57c3df35-dff8-4345-9905-6d9e072a1f66
2026-02-04 12:19:21,901 - DEBUG - Requesting: http://10.0.0.22:8082/project/5ee678f7-c87e-488a-a5d5-27e9df1dba17
2026-02-04 12:19:21,972 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/edbe381f-0177-471a-95de-81fba819ff0a
2026-02-04 12:19:21,981 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/edbe381f-0177-471a-95de-81fba819ff0a
2026-02-04 12:19:21,989 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/740f3730-8130-458b-a951-5bee42a856c4
2026-02-04 12:19:21,995 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/740f3730-8130-458b-a951-5bee42a856c4
2026-02-04 12:19:22,000 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/72762710-6e46-4ee2-bb0e-6f0ade2be52b
2026-02-04 12:19:22,005 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 12:19:22,005 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/edbe381f-0177-471a-95de-81fba819ff0a
2026-02-04 12:19:22,013 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/740f3730-8130-458b-a951-5bee42a856c4
2026-02-04 12:19:22,026 - INFO - Verified VN network id 12 for VN edbe381f-0177-471a-95de-81fba819ff0a
2026-02-04 12:19:22,026 - INFO - Verifications in API Server for VN ctest-vn-05633760 passed
2026-02-04 12:19:22,026 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/edbe381f-0177-471a-95de-81fba819ff0a
2026-02-04 12:19:22,034 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/740f3730-8130-458b-a951-5bee42a856c4
2026-02-04 12:19:22,041 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/740f3730-8130-458b-a951-5bee42a856c4
2026-02-04 12:19:22,047 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/72762710-6e46-4ee2-bb0e-6f0ade2be52b
2026-02-04 12:19:22,057 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-05633760', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43578840', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17131191738383681306', 'uuid-lslong': '10799211874338078474'}, 'enable': 'true', 'created': '2026-02-04T12:19:19', 'last-modified': '2026-02-04T12:19:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946646'}
2026-02-04 12:19:22,062 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 12:19:22,063 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05633760 passed
2026-02-04 12:19:22,063 - DEBUG - ====Verifying policy data for ctest-vn-05633760 in API_Server ======
2026-02-04 12:19:22,063 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-04 12:19:22,069 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57c3df35-dff8-4345-9905-6d9e072a1f66
2026-02-04 12:19:22,080 - DEBUG - Requesting: http://10.0.0.22:8082/project/5ee678f7-c87e-488a-a5d5-27e9df1dba17
2026-02-04 12:19:22,145 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/edbe381f-0177-471a-95de-81fba819ff0a
2026-02-04 12:19:22,153 - DEBUG - ==>Verifying data for policy with id: 562d1d79-9456-4187-b71e-ef9d2f8b187f, fqn: ['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-policy-allow-all-72222153']
2026-02-04 12:19:22,153 - INFO - VN ctest-vn-05633760 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 12:19:22,153 - DEBUG - Verifying the vn in opserver
2026-02-04 12:19:22,153 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-05633760 virtual network link through opserver 10.0.0.22
2026-02-04 12:19:22,153 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-04 12:19:22,452 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-04 12:19:22,514 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-05633760', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-05633760?flat'}
2026-02-04 12:19:22,514 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-05633760 is found in opserver
2026-02-04 12:19:22,522 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 12:19:22,526 - DEBUG - VRF ids for VN ctest-vn-05633760: {}
2026-02-04 12:19:22,526 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-04 12:19:22,531 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57c3df35-dff8-4345-9905-6d9e072a1f66
2026-02-04 12:19:22,542 - DEBUG - Requesting: http://10.0.0.22:8082/project/5ee678f7-c87e-488a-a5d5-27e9df1dba17
2026-02-04 12:19:22,608 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/901b2638-6aad-4c96-912b-4a0bd38e4f83
2026-02-04 12:19:22,618 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/901b2638-6aad-4c96-912b-4a0bd38e4f83
2026-02-04 12:19:22,626 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/707f0dc6-5bf6-4278-a7c7-560ca7e52689
2026-02-04 12:19:22,632 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/707f0dc6-5bf6-4278-a7c7-560ca7e52689
2026-02-04 12:19:22,638 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/90e5dc72-f9ca-44ce-b9ae-128f08b115c4
2026-02-04 12:19:22,644 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 12:19:22,644 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/901b2638-6aad-4c96-912b-4a0bd38e4f83
2026-02-04 12:19:22,651 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/707f0dc6-5bf6-4278-a7c7-560ca7e52689
2026-02-04 12:19:22,663 - INFO - Verified VN network id 13 for VN 901b2638-6aad-4c96-912b-4a0bd38e4f83
2026-02-04 12:19:22,663 - INFO - Verifications in API Server for VN ctest-vn-82862451 passed
2026-02-04 12:19:22,663 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/901b2638-6aad-4c96-912b-4a0bd38e4f83
2026-02-04 12:19:22,671 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/707f0dc6-5bf6-4278-a7c7-560ca7e52689
2026-02-04 12:19:22,677 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/707f0dc6-5bf6-4278-a7c7-560ca7e52689
2026-02-04 12:19:22,682 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/90e5dc72-f9ca-44ce-b9ae-128f08b115c4
2026-02-04 12:19:22,692 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-82862451', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43578840', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10383935389582576790', 'uuid-lslong': '10460535974152523651'}, 'enable': 'true', 'created': '2026-02-04T12:19:20', 'last-modified': '2026-02-04T12:19:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.357251'}
2026-02-04 12:19:22,697 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 12:19:22,697 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82862451 passed
2026-02-04 12:19:22,697 - DEBUG - ====Verifying policy data for ctest-vn-82862451 in API_Server ======
2026-02-04 12:19:22,697 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-04 12:19:22,702 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57c3df35-dff8-4345-9905-6d9e072a1f66
2026-02-04 12:19:22,712 - DEBUG - Requesting: http://10.0.0.22:8082/project/5ee678f7-c87e-488a-a5d5-27e9df1dba17
2026-02-04 12:19:22,776 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/901b2638-6aad-4c96-912b-4a0bd38e4f83
2026-02-04 12:19:22,784 - DEBUG - ==>Verifying data for policy with id: 562d1d79-9456-4187-b71e-ef9d2f8b187f, fqn: ['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-policy-allow-all-72222153']
2026-02-04 12:19:22,784 - INFO - VN ctest-vn-82862451 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 12:19:22,784 - DEBUG - Verifying the vn in opserver
2026-02-04 12:19:22,784 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-82862451 virtual network link through opserver 10.0.0.22
2026-02-04 12:19:22,784 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-04 12:19:22,793 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-82862451', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-82862451?flat'}
2026-02-04 12:19:22,793 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-82862451 is found in opserver
2026-02-04 12:19:22,802 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 12:19:22,808 - DEBUG - VRF ids for VN ctest-vn-82862451: {}
2026-02-04 12:19:22,865 - DEBUG - Services list from nova: [