2026-02-12 16:02:06,452 - INFO - Domain Default found not creating
2026-02-12 16:02:06,629 - INFO - Project ctest-TestBasicPolicy-86961122 not found, creating it
2026-02-12 16:02:07,084 - INFO - Created Project:ctest-TestBasicPolicy-86961122, ID : 5c2f8fd7-26fd-450a-9869-4d62701e3f12
2026-02-12 16:02:08,665 - INFO - ================================================================================
2026-02-12 16:02:08,666 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-12 16:02:08,666 - 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-12 16:02:08,920 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-02-12 16:02:08,920 - INFO - Initial checks done. Running the testcase now
2026-02-12 16:02:08,920 - INFO -
2026-02-12 16:02:09,446 - DEBUG - Response for create_network : {'network': {'id': '5dc524f7-842d-4947-8a05-987d1a43bb34', 'name': 'ctest-vn-11952974', 'tenant_id': '5c2f8fd726fd450a98694d62701e3f12', 'project_id': '5c2f8fd726fd450a98694d62701e3f12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-vn-11952974'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 16:02:09,638 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e22b803-e99f-44fe-a7ed-2865a2d13d9c', 'name': '', 'tenant_id': '5c2f8fd726fd450a98694d62701e3f12', 'network_id': '5dc524f7-842d-4947-8a05-987d1a43bb34', 'ip_version': 4, 'cidr': '190.167.87.128/26', 'allocation_pools': [{'start': '190.167.87.130', 'end': '190.167.87.190'}], 'gateway_ip': '190.167.87.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.167.87.130', 'tags': [], 'project_id': '5c2f8fd726fd450a98694d62701e3f12'}}
2026-02-12 16:02:09,654 - INFO - Created VN ctest-vn-11952974
2026-02-12 16:02:09,702 - DEBUG - VN ctest-vn-11952974 UUID is 5dc524f7-842d-4947-8a05-987d1a43bb34
2026-02-12 16:02:10,008 - DEBUG - Response for create_network : {'network': {'id': '6844b817-3b06-4ddc-955a-4c3e6e4c0dc9', 'name': 'ctest-vn-95869013', 'tenant_id': '5c2f8fd726fd450a98694d62701e3f12', 'project_id': '5c2f8fd726fd450a98694d62701e3f12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-vn-95869013'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 16:02:10,207 - DEBUG - Response for create_subnet : {'subnet': {'id': '44035657-3d68-4c6a-b7f4-3f0140173df9', 'name': '', 'tenant_id': '5c2f8fd726fd450a98694d62701e3f12', 'network_id': '6844b817-3b06-4ddc-955a-4c3e6e4c0dc9', 'ip_version': 4, 'cidr': '11.252.51.128/26', 'allocation_pools': [{'start': '11.252.51.130', 'end': '11.252.51.190'}], 'gateway_ip': '11.252.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.252.51.130', 'tags': [], 'project_id': '5c2f8fd726fd450a98694d62701e3f12'}}
2026-02-12 16:02:10,222 - INFO - Created VN ctest-vn-95869013
2026-02-12 16:02:10,275 - DEBUG - VN ctest-vn-95869013 UUID is 6844b817-3b06-4ddc-955a-4c3e6e4c0dc9
2026-02-12 16:02:10,422 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-11952974, 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-86961122:ctest-vn-95869013, 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-12 16:02:10,706 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5dc524f7-842d-4947-8a05-987d1a43bb34', 'name': 'ctest-vn-11952974', 'tenant_id': '5c2f8fd726fd450a98694d62701e3f12', 'project_id': '5c2f8fd726fd450a98694d62701e3f12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9e22b803-e99f-44fe-a7ed-2865a2d13d9c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-vn-11952974'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-policy-allow-all-68667808']], 'subnet_ipam': [{'subnet_cidr': '190.167.87.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 16:02:10,924 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6844b817-3b06-4ddc-955a-4c3e6e4c0dc9', 'name': 'ctest-vn-95869013', 'tenant_id': '5c2f8fd726fd450a98694d62701e3f12', 'project_id': '5c2f8fd726fd450a98694d62701e3f12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['44035657-3d68-4c6a-b7f4-3f0140173df9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-vn-95869013'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-policy-allow-all-68667808']], 'subnet_ipam': [{'subnet_cidr': '11.252.51.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 16:02:11,090 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-12 16:02:11,387 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-12 16:02:11,420 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b7e07f2-50e2-4c08-a327-6c1c0e25884b
2026-02-12 16:02:11,432 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c2f8fd7-26fd-450a-9869-4d62701e3f12
2026-02-12 16:02:11,500 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5dc524f7-842d-4947-8a05-987d1a43bb34
2026-02-12 16:02:11,509 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5dc524f7-842d-4947-8a05-987d1a43bb34
2026-02-12 16:02:11,516 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9401f52c-312c-4d77-bf32-38b36bc2f8c1
2026-02-12 16:02:11,522 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9401f52c-312c-4d77-bf32-38b36bc2f8c1
2026-02-12 16:02:11,527 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0e3f2ddb-7520-4c09-bf00-07f3e3578e3a
2026-02-12 16:02:11,532 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 16:02:11,532 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5dc524f7-842d-4947-8a05-987d1a43bb34
2026-02-12 16:02:11,539 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9401f52c-312c-4d77-bf32-38b36bc2f8c1
2026-02-12 16:02:11,551 - INFO - Verified VN network id 10 for VN 5dc524f7-842d-4947-8a05-987d1a43bb34
2026-02-12 16:02:11,551 - INFO - Verifications in API Server for VN ctest-vn-11952974 passed
2026-02-12 16:02:11,552 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5dc524f7-842d-4947-8a05-987d1a43bb34
2026-02-12 16:02:11,560 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9401f52c-312c-4d77-bf32-38b36bc2f8c1
2026-02-12 16:02:11,566 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9401f52c-312c-4d77-bf32-38b36bc2f8c1
2026-02-12 16:02:11,572 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0e3f2ddb-7520-4c09-bf00-07f3e3578e3a
2026-02-12 16:02:11,583 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-11952974', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86961122', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6756847461432379719', 'uuid-lslong': '9945523015196588852'}, 'enable': 'true', 'created': '2026-02-12T16:02:09', 'last-modified': '2026-02-12T16:02:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.897587'}
2026-02-12 16:02:11,590 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 16:02:11,590 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11952974 passed
2026-02-12 16:02:11,590 - DEBUG - ====Verifying policy data for ctest-vn-11952974 in API_Server ======
2026-02-12 16:02:11,590 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-12 16:02:11,595 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b7e07f2-50e2-4c08-a327-6c1c0e25884b
2026-02-12 16:02:11,605 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c2f8fd7-26fd-450a-9869-4d62701e3f12
2026-02-12 16:02:11,673 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5dc524f7-842d-4947-8a05-987d1a43bb34
2026-02-12 16:02:11,681 - DEBUG - ==>Verifying data for policy with id: 54ecdeb5-9d30-4ddb-af25-29a6ef51902a, fqn: ['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-policy-allow-all-68667808']
2026-02-12 16:02:11,681 - INFO - VN ctest-vn-11952974 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 16:02:11,681 - DEBUG - Verifying the vn in opserver
2026-02-12 16:02:11,681 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-11952974 virtual network link through opserver 10.0.0.22
2026-02-12 16:02:11,681 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-12 16:02:11,972 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-12 16:02:12,031 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-11952974', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-11952974?flat'}
2026-02-12 16:02:12,031 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-11952974 is found in opserver
2026-02-12 16:02:12,040 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 16:02:12,044 - DEBUG - VRF ids for VN ctest-vn-11952974: {}
2026-02-12 16:02:12,044 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-12 16:02:12,049 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b7e07f2-50e2-4c08-a327-6c1c0e25884b
2026-02-12 16:02:12,058 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c2f8fd7-26fd-450a-9869-4d62701e3f12
2026-02-12 16:02:12,130 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6844b817-3b06-4ddc-955a-4c3e6e4c0dc9
2026-02-12 16:02:12,140 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6844b817-3b06-4ddc-955a-4c3e6e4c0dc9
2026-02-12 16:02:12,147 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b4d0f656-7d01-4e30-9a4a-40e5562e8cbf
2026-02-12 16:02:12,153 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b4d0f656-7d01-4e30-9a4a-40e5562e8cbf
2026-02-12 16:02:12,158 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d55098e2-ef78-4324-bfee-e1809c3e3b83
2026-02-12 16:02:12,164 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 16:02:12,164 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6844b817-3b06-4ddc-955a-4c3e6e4c0dc9
2026-02-12 16:02:12,172 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b4d0f656-7d01-4e30-9a4a-40e5562e8cbf
2026-02-12 16:02:12,183 - INFO - Verified VN network id 11 for VN 6844b817-3b06-4ddc-955a-4c3e6e4c0dc9
2026-02-12 16:02:12,183 - INFO - Verifications in API Server for VN ctest-vn-95869013 passed
2026-02-12 16:02:12,184 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6844b817-3b06-4ddc-955a-4c3e6e4c0dc9
2026-02-12 16:02:12,191 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b4d0f656-7d01-4e30-9a4a-40e5562e8cbf
2026-02-12 16:02:12,197 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b4d0f656-7d01-4e30-9a4a-40e5562e8cbf
2026-02-12 16:02:12,203 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d55098e2-ef78-4324-bfee-e1809c3e3b83
2026-02-12 16:02:12,213 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-95869013', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86961122', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7513332488274857436', 'uuid-lslong': '10761998090577382857'}, 'enable': 'true', 'created': '2026-02-12T16:02:09', 'last-modified': '2026-02-12T16:02:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.309490'}
2026-02-12 16:02:12,218 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 16:02:12,218 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95869013 passed
2026-02-12 16:02:12,218 - DEBUG - ====Verifying policy data for ctest-vn-95869013 in API_Server ======
2026-02-12 16:02:12,218 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-12 16:02:12,223 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b7e07f2-50e2-4c08-a327-6c1c0e25884b
2026-02-12 16:02:12,232 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c2f8fd7-26fd-450a-9869-4d62701e3f12
2026-02-12 16:02:12,304 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6844b817-3b06-4ddc-955a-4c3e6e4c0dc9
2026-02-12 16:02:12,313 - DEBUG - ==>Verifying data for policy with id: 54ecdeb5-9d30-4ddb-af25-29a6ef51902a, fqn: ['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-policy-allow-all-68667808']
2026-02-12 16:02:12,313 - INFO - VN ctest-vn-95869013 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 16:02:12,313 - DEBUG - Verifying the vn in opserver
2026-02-12 16:02:12,313 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-95869013 virtual network link through opserver 10.0.0.22
2026-02-12 16:02:12,313 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-12 16:02:12,323 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-95869013', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-95869013?flat'}
2026-02-12 16:02:12,323 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-95869013 is found in opserver
2026-02-12 16:02:12,332 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 16:02:12,336 - DEBUG - VRF ids for VN ctest-vn-95869013: {}
2026-02-12 16:02:12,392 - DEBUG - Services list from nova: [