2026-02-11 17:44:53,519 - INFO - Domain Default found not creating
2026-02-11 17:44:53,704 - INFO - Project ctest-TestBasicPolicy-18050323 not found, creating it
2026-02-11 17:44:54,193 - INFO - Created Project:ctest-TestBasicPolicy-18050323, ID : 81536ac1-c880-4c20-9869-32b02c2298d2
2026-02-11 17:44:55,699 - INFO - ================================================================================
2026-02-11 17:44:55,699 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-11 17:44:55,700 - 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-11 17:44:55,968 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-02-11 17:44:55,968 - INFO - Initial checks done. Running the testcase now
2026-02-11 17:44:55,969 - INFO -
2026-02-11 17:44:56,516 - DEBUG - Response for create_network : {'network': {'id': '13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d', 'name': 'ctest-vn-94692899', 'tenant_id': '81536ac1c8804c20986932b02c2298d2', 'project_id': '81536ac1c8804c20986932b02c2298d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-vn-94692899'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 17:44:56,665 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d6a7502-b6b5-463c-8f94-58830193aa99', 'name': '', 'tenant_id': '81536ac1c8804c20986932b02c2298d2', 'network_id': '13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d', 'ip_version': 4, 'cidr': '165.46.162.0/26', 'allocation_pools': [{'start': '165.46.162.2', 'end': '165.46.162.62'}], 'gateway_ip': '165.46.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.46.162.2', 'tags': [], 'project_id': '81536ac1c8804c20986932b02c2298d2'}}
2026-02-11 17:44:56,690 - INFO - Created VN ctest-vn-94692899
2026-02-11 17:44:56,744 - DEBUG - VN ctest-vn-94692899 UUID is 13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d
2026-02-11 17:44:57,026 - DEBUG - Response for create_network : {'network': {'id': '0dba0127-e1d3-49cd-b333-15cb8305db63', 'name': 'ctest-vn-86544373', 'tenant_id': '81536ac1c8804c20986932b02c2298d2', 'project_id': '81536ac1c8804c20986932b02c2298d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-vn-86544373'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 17:44:57,269 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2a7907a-d7ce-442c-9058-10c0e00af054', 'name': '', 'tenant_id': '81536ac1c8804c20986932b02c2298d2', 'network_id': '0dba0127-e1d3-49cd-b333-15cb8305db63', 'ip_version': 4, 'cidr': '181.232.145.192/26', 'allocation_pools': [{'start': '181.232.145.194', 'end': '181.232.145.254'}], 'gateway_ip': '181.232.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.232.145.194', 'tags': [], 'project_id': '81536ac1c8804c20986932b02c2298d2'}}
2026-02-11 17:44:57,292 - INFO - Created VN ctest-vn-86544373
2026-02-11 17:44:57,344 - DEBUG - VN ctest-vn-86544373 UUID is 0dba0127-e1d3-49cd-b333-15cb8305db63
2026-02-11 17:44:57,461 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-94692899, 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-18050323:ctest-vn-86544373, 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-11 17:44:57,760 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d', 'name': 'ctest-vn-94692899', 'tenant_id': '81536ac1c8804c20986932b02c2298d2', 'project_id': '81536ac1c8804c20986932b02c2298d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d6a7502-b6b5-463c-8f94-58830193aa99'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-vn-94692899'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-policy-allow-all-07051107']], 'subnet_ipam': [{'subnet_cidr': '165.46.162.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 17:44:58,029 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0dba0127-e1d3-49cd-b333-15cb8305db63', 'name': 'ctest-vn-86544373', 'tenant_id': '81536ac1c8804c20986932b02c2298d2', 'project_id': '81536ac1c8804c20986932b02c2298d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f2a7907a-d7ce-442c-9058-10c0e00af054'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-vn-86544373'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-policy-allow-all-07051107']], 'subnet_ipam': [{'subnet_cidr': '181.232.145.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 17:44:58,196 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-11 17:44:58,512 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-11 17:44:58,548 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18e5bc01-42ab-40ee-8a62-7ce509f44ff5
2026-02-11 17:44:58,561 - DEBUG - Requesting: http://10.0.0.38:8082/project/81536ac1-c880-4c20-9869-32b02c2298d2
2026-02-11 17:44:58,632 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d
2026-02-11 17:44:58,643 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d
2026-02-11 17:44:58,653 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a084a5b-eaf1-424e-9b15-9b65f8fd9c14
2026-02-11 17:44:58,660 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a084a5b-eaf1-424e-9b15-9b65f8fd9c14
2026-02-11 17:44:58,667 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aba0f575-2f32-4f8b-a4a7-1eae44a092dc
2026-02-11 17:44:58,675 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 17:44:58,675 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d
2026-02-11 17:44:58,684 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a084a5b-eaf1-424e-9b15-9b65f8fd9c14
2026-02-11 17:44:58,697 - INFO - Verified VN network id 10 for VN 13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d
2026-02-11 17:44:58,698 - INFO - Verifications in API Server for VN ctest-vn-94692899 passed
2026-02-11 17:44:58,698 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d
2026-02-11 17:44:58,707 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a084a5b-eaf1-424e-9b15-9b65f8fd9c14
2026-02-11 17:44:58,713 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a084a5b-eaf1-424e-9b15-9b65f8fd9c14
2026-02-11 17:44:58,721 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aba0f575-2f32-4f8b-a4a7-1eae44a092dc
2026-02-11 17:44:58,734 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-94692899', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18050323', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1439812100577512177', 'uuid-lslong': '11220308503219657021'}, 'enable': 'true', 'created': '2026-02-11T17:44:56', 'last-modified': '2026-02-11T17:44:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.996172'}
2026-02-11 17:44:58,741 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 17:44:58,741 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94692899 passed
2026-02-11 17:44:58,741 - DEBUG - ====Verifying policy data for ctest-vn-94692899 in API_Server ======
2026-02-11 17:44:58,741 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-11 17:44:58,747 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18e5bc01-42ab-40ee-8a62-7ce509f44ff5
2026-02-11 17:44:58,760 - DEBUG - Requesting: http://10.0.0.38:8082/project/81536ac1-c880-4c20-9869-32b02c2298d2
2026-02-11 17:44:58,834 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d
2026-02-11 17:44:58,845 - DEBUG - ==>Verifying data for policy with id: c176f9dc-c5b5-4761-9b0f-abd6293845fc, fqn: ['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-policy-allow-all-07051107']
2026-02-11 17:44:58,845 - INFO - VN ctest-vn-94692899 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 17:44:58,845 - DEBUG - Verifying the vn in opserver
2026-02-11 17:44:58,845 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-94692899 virtual network link through opserver 10.0.0.38
2026-02-11 17:44:58,845 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-11 17:44:59,141 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-11 17:44:59,206 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-94692899', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-94692899?flat'}
2026-02-11 17:44:59,206 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-94692899 is found in opserver
2026-02-11 17:44:59,217 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 17:44:59,221 - DEBUG - VRF ids for VN ctest-vn-94692899: {}
2026-02-11 17:44:59,221 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-11 17:44:59,227 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18e5bc01-42ab-40ee-8a62-7ce509f44ff5
2026-02-11 17:44:59,239 - DEBUG - Requesting: http://10.0.0.38:8082/project/81536ac1-c880-4c20-9869-32b02c2298d2
2026-02-11 17:44:59,311 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dba0127-e1d3-49cd-b333-15cb8305db63
2026-02-11 17:44:59,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dba0127-e1d3-49cd-b333-15cb8305db63
2026-02-11 17:44:59,334 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57de0591-6185-48c3-b057-0b4d24c49320
2026-02-11 17:44:59,342 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57de0591-6185-48c3-b057-0b4d24c49320
2026-02-11 17:44:59,349 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7d875798-f667-4240-96e7-89d51291c0b9
2026-02-11 17:44:59,357 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 17:44:59,357 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dba0127-e1d3-49cd-b333-15cb8305db63
2026-02-11 17:44:59,366 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57de0591-6185-48c3-b057-0b4d24c49320
2026-02-11 17:44:59,380 - INFO - Verified VN network id 11 for VN 0dba0127-e1d3-49cd-b333-15cb8305db63
2026-02-11 17:44:59,381 - INFO - Verifications in API Server for VN ctest-vn-86544373 passed
2026-02-11 17:44:59,381 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dba0127-e1d3-49cd-b333-15cb8305db63
2026-02-11 17:44:59,390 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57de0591-6185-48c3-b057-0b4d24c49320
2026-02-11 17:44:59,397 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57de0591-6185-48c3-b057-0b4d24c49320
2026-02-11 17:44:59,403 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7d875798-f667-4240-96e7-89d51291c0b9
2026-02-11 17:44:59,416 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-86544373', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18050323', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '989104338965318093', 'uuid-lslong': '12912688520422087523'}, 'enable': 'true', 'created': '2026-02-11T17:44:56', 'last-modified': '2026-02-11T17:44:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.416147'}
2026-02-11 17:44:59,421 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 17:44:59,421 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86544373 passed
2026-02-11 17:44:59,422 - DEBUG - ====Verifying policy data for ctest-vn-86544373 in API_Server ======
2026-02-11 17:44:59,422 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-11 17:44:59,427 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18e5bc01-42ab-40ee-8a62-7ce509f44ff5
2026-02-11 17:44:59,438 - DEBUG - Requesting: http://10.0.0.38:8082/project/81536ac1-c880-4c20-9869-32b02c2298d2
2026-02-11 17:44:59,509 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dba0127-e1d3-49cd-b333-15cb8305db63
2026-02-11 17:44:59,519 - DEBUG - ==>Verifying data for policy with id: c176f9dc-c5b5-4761-9b0f-abd6293845fc, fqn: ['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-policy-allow-all-07051107']
2026-02-11 17:44:59,519 - INFO - VN ctest-vn-86544373 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 17:44:59,519 - DEBUG - Verifying the vn in opserver
2026-02-11 17:44:59,519 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-86544373 virtual network link through opserver 10.0.0.38
2026-02-11 17:44:59,519 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-11 17:44:59,530 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-86544373', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-86544373?flat'}
2026-02-11 17:44:59,530 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-86544373 is found in opserver
2026-02-11 17:44:59,539 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 17:44:59,543 - DEBUG - VRF ids for VN ctest-vn-86544373: {}
2026-02-11 17:44:59,602 - DEBUG - Services list from nova: [