2026-10-02 17:05:24,739 - INFO - Domain Default found not creating
2026-10-02 17:05:24,913 - INFO - Project ctest-TestBasicPolicy-16856361 not found, creating it
2026-10-02 17:05:25,426 - INFO - Created Project:ctest-TestBasicPolicy-16856361, ID : ce280f43-aaa2-4025-b578-58cc8b9acd07
2026-10-02 17:05:27,176 - INFO - ================================================================================
2026-10-02 17:05:27,177 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-02 17:05:27,177 - 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-10-02 17:05:27,450 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.254': '0'}} with
2026-10-02 17:05:27,450 - INFO - Initial checks done. Running the testcase now
2026-10-02 17:05:27,450 - INFO -
2026-10-02 17:05:28,104 - DEBUG - Response for create_network : {'network': {'id': '0c3a8574-162d-43ba-b0b4-25f8f8dd493d', 'name': 'ctest-vn-87124979', 'tenant_id': 'ce280f43aaa24025b57858cc8b9acd07', 'project_id': 'ce280f43aaa24025b57858cc8b9acd07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-vn-87124979'], 'port_security_enabled': True, 'description': ''}}
2026-10-02 17:05:28,348 - DEBUG - Response for create_subnet : {'subnet': {'id': '84ee2129-bedc-4e42-9396-bfba34aeb23a', 'name': '', 'tenant_id': 'ce280f43aaa24025b57858cc8b9acd07', 'network_id': '0c3a8574-162d-43ba-b0b4-25f8f8dd493d', 'ip_version': 4, 'cidr': '90.225.120.0/26', 'allocation_pools': [{'start': '90.225.120.2', 'end': '90.225.120.62'}], 'gateway_ip': '90.225.120.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.225.120.2', 'tags': [], 'project_id': 'ce280f43aaa24025b57858cc8b9acd07'}}
2026-10-02 17:05:28,369 - INFO - Created VN ctest-vn-87124979
2026-10-02 17:05:28,423 - DEBUG - VN ctest-vn-87124979 UUID is 0c3a8574-162d-43ba-b0b4-25f8f8dd493d
2026-10-02 17:05:28,775 - DEBUG - Response for create_network : {'network': {'id': '1bf3e403-2d39-49be-9f51-1db0fc5a4d74', 'name': 'ctest-vn-33399389', 'tenant_id': 'ce280f43aaa24025b57858cc8b9acd07', 'project_id': 'ce280f43aaa24025b57858cc8b9acd07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-vn-33399389'], 'port_security_enabled': True, 'description': ''}}
2026-10-02 17:05:29,015 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0ab3b08-4a17-404b-8607-1ea8dcaee4a3', 'name': '', 'tenant_id': 'ce280f43aaa24025b57858cc8b9acd07', 'network_id': '1bf3e403-2d39-49be-9f51-1db0fc5a4d74', 'ip_version': 4, 'cidr': '15.44.152.0/26', 'allocation_pools': [{'start': '15.44.152.2', 'end': '15.44.152.62'}], 'gateway_ip': '15.44.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.44.152.2', 'tags': [], 'project_id': 'ce280f43aaa24025b57858cc8b9acd07'}}
2026-10-02 17:05:29,036 - INFO - Created VN ctest-vn-33399389
2026-10-02 17:05:29,099 - DEBUG - VN ctest-vn-33399389 UUID is 1bf3e403-2d39-49be-9f51-1db0fc5a4d74
2026-10-02 17:05:29,228 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-87124979, 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-16856361:ctest-vn-33399389, 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-10-02 17:05:29,591 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0c3a8574-162d-43ba-b0b4-25f8f8dd493d', 'name': 'ctest-vn-87124979', 'tenant_id': 'ce280f43aaa24025b57858cc8b9acd07', 'project_id': 'ce280f43aaa24025b57858cc8b9acd07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['84ee2129-bedc-4e42-9396-bfba34aeb23a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-vn-87124979'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-policy-allow-all-46793943']], 'subnet_ipam': [{'subnet_cidr': '90.225.120.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-02 17:05:29,843 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1bf3e403-2d39-49be-9f51-1db0fc5a4d74', 'name': 'ctest-vn-33399389', 'tenant_id': 'ce280f43aaa24025b57858cc8b9acd07', 'project_id': 'ce280f43aaa24025b57858cc8b9acd07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a0ab3b08-4a17-404b-8607-1ea8dcaee4a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-vn-33399389'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-policy-allow-all-46793943']], 'subnet_ipam': [{'subnet_cidr': '15.44.152.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-02 17:05:30,015 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-02 17:05:30,389 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-02 17:05:30,422 - DEBUG - Requesting: http://10.0.0.161:8082/domain/688ce411-24d4-4253-b14b-6d0fa6ee3d7d
2026-10-02 17:05:30,439 - DEBUG - Requesting: http://10.0.0.161:8082/project/ce280f43-aaa2-4025-b578-58cc8b9acd07
2026-10-02 17:05:30,517 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/0c3a8574-162d-43ba-b0b4-25f8f8dd493d
2026-10-02 17:05:30,531 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/0c3a8574-162d-43ba-b0b4-25f8f8dd493d
2026-10-02 17:05:30,542 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3923e062-9aca-4fc7-85b4-fb0da2805fb4
2026-10-02 17:05:30,551 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3923e062-9aca-4fc7-85b4-fb0da2805fb4
2026-10-02 17:05:30,560 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/4da19a58-1773-4167-a829-bef28e4d4d70
2026-10-02 17:05:30,568 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-02 17:05:30,568 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/0c3a8574-162d-43ba-b0b4-25f8f8dd493d
2026-10-02 17:05:30,579 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3923e062-9aca-4fc7-85b4-fb0da2805fb4
2026-10-02 17:05:30,596 - INFO - Verified VN network id 12 for VN 0c3a8574-162d-43ba-b0b4-25f8f8dd493d
2026-10-02 17:05:30,596 - INFO - Verifications in API Server for VN ctest-vn-87124979 passed
2026-10-02 17:05:30,596 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/0c3a8574-162d-43ba-b0b4-25f8f8dd493d
2026-10-02 17:05:30,607 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3923e062-9aca-4fc7-85b4-fb0da2805fb4
2026-10-02 17:05:30,616 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3923e062-9aca-4fc7-85b4-fb0da2805fb4
2026-10-02 17:05:30,624 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/4da19a58-1773-4167-a829-bef28e4d4d70
2026-10-02 17:05:30,638 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-87124979', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16856361', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '881163410739119034', 'uuid-lslong': '12732843797740603709'}, 'enable': 'true', 'created': '2026-10-02T17:05:28', 'last-modified': '2026-10-02T17:05:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.078031'}
2026-10-02 17:05:30,646 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-02 17:05:30,646 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87124979 passed
2026-10-02 17:05:30,646 - DEBUG - ====Verifying policy data for ctest-vn-87124979 in API_Server ======
2026-10-02 17:05:30,646 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-02 17:05:30,653 - DEBUG - Requesting: http://10.0.0.161:8082/domain/688ce411-24d4-4253-b14b-6d0fa6ee3d7d
2026-10-02 17:05:30,666 - DEBUG - Requesting: http://10.0.0.161:8082/project/ce280f43-aaa2-4025-b578-58cc8b9acd07
2026-10-02 17:05:30,754 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/0c3a8574-162d-43ba-b0b4-25f8f8dd493d
2026-10-02 17:05:30,765 - DEBUG - ==>Verifying data for policy with id: 78386e1a-ff55-4148-a964-48e0c7302042, fqn: ['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-policy-allow-all-46793943']
2026-10-02 17:05:30,765 - INFO - VN ctest-vn-87124979 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-02 17:05:30,765 - DEBUG - Verifying the vn in opserver
2026-10-02 17:05:30,765 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-87124979 virtual network link through opserver 10.0.0.161
2026-10-02 17:05:30,765 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-02 17:05:31,133 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-02 17:05:31,191 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-87124979', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-87124979?flat'}
2026-10-02 17:05:31,191 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-87124979 is found in opserver
2026-10-02 17:05:31,204 - DEBUG - Do not have enough data to verify VN in agent
2026-10-02 17:05:31,209 - DEBUG - VRF ids for VN ctest-vn-87124979: {}
2026-10-02 17:05:31,209 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-02 17:05:31,216 - DEBUG - Requesting: http://10.0.0.161:8082/domain/688ce411-24d4-4253-b14b-6d0fa6ee3d7d
2026-10-02 17:05:31,249 - DEBUG - Requesting: http://10.0.0.161:8082/project/ce280f43-aaa2-4025-b578-58cc8b9acd07
2026-10-02 17:05:31,331 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1bf3e403-2d39-49be-9f51-1db0fc5a4d74
2026-10-02 17:05:31,348 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1bf3e403-2d39-49be-9f51-1db0fc5a4d74
2026-10-02 17:05:31,362 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/14a16bed-ed56-44d9-9770-ab7dc3940197
2026-10-02 17:05:31,371 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/14a16bed-ed56-44d9-9770-ab7dc3940197
2026-10-02 17:05:31,380 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/28f115f6-3aed-4e74-abf7-02901997b04c
2026-10-02 17:05:31,389 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-02 17:05:31,389 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1bf3e403-2d39-49be-9f51-1db0fc5a4d74
2026-10-02 17:05:31,400 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/14a16bed-ed56-44d9-9770-ab7dc3940197
2026-10-02 17:05:31,419 - INFO - Verified VN network id 13 for VN 1bf3e403-2d39-49be-9f51-1db0fc5a4d74
2026-10-02 17:05:31,419 - INFO - Verifications in API Server for VN ctest-vn-33399389 passed
2026-10-02 17:05:31,419 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1bf3e403-2d39-49be-9f51-1db0fc5a4d74
2026-10-02 17:05:31,431 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/14a16bed-ed56-44d9-9770-ab7dc3940197
2026-10-02 17:05:31,441 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/14a16bed-ed56-44d9-9770-ab7dc3940197
2026-10-02 17:05:31,450 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/28f115f6-3aed-4e74-abf7-02901997b04c
2026-10-02 17:05:31,468 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-33399389', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16856361', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2014204160659507646', 'uuid-lslong': '11479989571129331060'}, 'enable': 'true', 'created': '2026-10-02T17:05:28', 'last-modified': '2026-10-02T17:05:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.658733'}
2026-10-02 17:05:31,476 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-02 17:05:31,476 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33399389 passed
2026-10-02 17:05:31,476 - DEBUG - ====Verifying policy data for ctest-vn-33399389 in API_Server ======
2026-10-02 17:05:31,477 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-02 17:05:31,484 - DEBUG - Requesting: http://10.0.0.161:8082/domain/688ce411-24d4-4253-b14b-6d0fa6ee3d7d
2026-10-02 17:05:31,500 - DEBUG - Requesting: http://10.0.0.161:8082/project/ce280f43-aaa2-4025-b578-58cc8b9acd07
2026-10-02 17:05:31,581 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1bf3e403-2d39-49be-9f51-1db0fc5a4d74
2026-10-02 17:05:31,593 - DEBUG - ==>Verifying data for policy with id: 78386e1a-ff55-4148-a964-48e0c7302042, fqn: ['default-domain', 'ctest-TestBasicPolicy-16856361', 'ctest-policy-allow-all-46793943']
2026-10-02 17:05:31,593 - INFO - VN ctest-vn-33399389 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-02 17:05:31,593 - DEBUG - Verifying the vn in opserver
2026-10-02 17:05:31,593 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-33399389 virtual network link through opserver 10.0.0.161
2026-10-02 17:05:31,593 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-02 17:05:31,606 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-33399389', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-33399389?flat'}
2026-10-02 17:05:31,606 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16856361:ctest-vn-33399389 is found in opserver
2026-10-02 17:05:31,619 - DEBUG - Do not have enough data to verify VN in agent
2026-10-02 17:05:31,624 - DEBUG - VRF ids for VN ctest-vn-33399389: {}
2026-10-02 17:05:31,688 - DEBUG - Services list from nova: [