2026-02-20 10:58:59,238 - INFO - Domain Default found not creating
2026-02-20 10:58:59,416 - INFO - Project ctest-TestBasicPolicy-76786187 not found, creating it
2026-02-20 10:58:59,901 - INFO - Created Project:ctest-TestBasicPolicy-76786187, ID : 9f8eeb6c-4725-494d-b224-9f0ca0b6ea07
2026-02-20 10:59:01,414 - INFO - ================================================================================
2026-02-20 10:59:01,414 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-20 10:59:01,414 - 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-20 10:59:01,675 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with
2026-02-20 10:59:01,675 - INFO - Initial checks done. Running the testcase now
2026-02-20 10:59:01,675 - INFO -
2026-02-20 10:59:02,259 - DEBUG - Response for create_network : {'network': {'id': '5c94e298-9c6c-4b03-a7df-01f9e8690207', 'name': 'ctest-vn-72288386', 'tenant_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'project_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-vn-72288386'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 10:59:02,471 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cc37d0b-bc77-4439-92fc-e39f007022ef', 'name': '', 'tenant_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'network_id': '5c94e298-9c6c-4b03-a7df-01f9e8690207', 'ip_version': 4, 'cidr': '216.76.90.0/26', 'allocation_pools': [{'start': '216.76.90.2', 'end': '216.76.90.62'}], 'gateway_ip': '216.76.90.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.76.90.2', 'tags': [], 'project_id': '9f8eeb6c4725494db2249f0ca0b6ea07'}}
2026-02-20 10:59:02,493 - INFO - Created VN ctest-vn-72288386
2026-02-20 10:59:02,549 - DEBUG - VN ctest-vn-72288386 UUID is 5c94e298-9c6c-4b03-a7df-01f9e8690207
2026-02-20 10:59:02,848 - DEBUG - Response for create_network : {'network': {'id': '999d8a5e-d1db-4bc7-b602-e84995a2bed5', 'name': 'ctest-vn-24412943', 'tenant_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'project_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-vn-24412943'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 10:59:03,023 - DEBUG - Response for create_subnet : {'subnet': {'id': '7df16f15-fbd0-4ba1-a18f-c5ac5a44d569', 'name': '', 'tenant_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'network_id': '999d8a5e-d1db-4bc7-b602-e84995a2bed5', 'ip_version': 4, 'cidr': '67.220.147.192/26', 'allocation_pools': [{'start': '67.220.147.194', 'end': '67.220.147.254'}], 'gateway_ip': '67.220.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.220.147.194', 'tags': [], 'project_id': '9f8eeb6c4725494db2249f0ca0b6ea07'}}
2026-02-20 10:59:03,044 - INFO - Created VN ctest-vn-24412943
2026-02-20 10:59:03,097 - DEBUG - VN ctest-vn-24412943 UUID is 999d8a5e-d1db-4bc7-b602-e84995a2bed5
2026-02-20 10:59:03,220 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-72288386, 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-76786187:ctest-vn-24412943, 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-20 10:59:03,544 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c94e298-9c6c-4b03-a7df-01f9e8690207', 'name': 'ctest-vn-72288386', 'tenant_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'project_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1cc37d0b-bc77-4439-92fc-e39f007022ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-vn-72288386'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-policy-allow-all-01174160']], 'subnet_ipam': [{'subnet_cidr': '216.76.90.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 10:59:03,792 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '999d8a5e-d1db-4bc7-b602-e84995a2bed5', 'name': 'ctest-vn-24412943', 'tenant_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'project_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7df16f15-fbd0-4ba1-a18f-c5ac5a44d569'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-vn-24412943'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-policy-allow-all-01174160']], 'subnet_ipam': [{'subnet_cidr': '67.220.147.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 10:59:03,953 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 10:59:04,258 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 10:59:04,292 - DEBUG - Requesting: http://10.0.0.241:8082/domain/74096d83-10e3-4ed7-8a85-61d982f6583c
2026-02-20 10:59:04,305 - DEBUG - Requesting: http://10.0.0.241:8082/project/9f8eeb6c-4725-494d-b224-9f0ca0b6ea07
2026-02-20 10:59:04,379 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5c94e298-9c6c-4b03-a7df-01f9e8690207
2026-02-20 10:59:04,390 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5c94e298-9c6c-4b03-a7df-01f9e8690207
2026-02-20 10:59:04,401 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4a818d94-838c-4a16-a6f3-a152ec59fc9a
2026-02-20 10:59:04,408 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4a818d94-838c-4a16-a6f3-a152ec59fc9a
2026-02-20 10:59:04,415 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/fdf8e13e-4159-4f1a-b92c-205c5fff5d84
2026-02-20 10:59:04,421 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 10:59:04,421 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5c94e298-9c6c-4b03-a7df-01f9e8690207
2026-02-20 10:59:04,431 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4a818d94-838c-4a16-a6f3-a152ec59fc9a
2026-02-20 10:59:04,446 - INFO - Verified VN network id 11 for VN 5c94e298-9c6c-4b03-a7df-01f9e8690207
2026-02-20 10:59:04,447 - INFO - Verifications in API Server for VN ctest-vn-72288386 passed
2026-02-20 10:59:04,447 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5c94e298-9c6c-4b03-a7df-01f9e8690207
2026-02-20 10:59:04,455 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4a818d94-838c-4a16-a6f3-a152ec59fc9a
2026-02-20 10:59:04,462 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4a818d94-838c-4a16-a6f3-a152ec59fc9a
2026-02-20 10:59:04,468 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/fdf8e13e-4159-4f1a-b92c-205c5fff5d84
2026-02-20 10:59:04,481 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-72288386', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76786187', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6671206093129796355', 'uuid-lslong': '12096389296998121991'}, 'enable': 'true', 'created': '2026-02-20T10:59:02', 'last-modified': '2026-02-20T10:59:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.960322'}
2026-02-20 10:59:04,487 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 10:59:04,487 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72288386 passed
2026-02-20 10:59:04,488 - DEBUG - ====Verifying policy data for ctest-vn-72288386 in API_Server ======
2026-02-20 10:59:04,488 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 10:59:04,494 - DEBUG - Requesting: http://10.0.0.241:8082/domain/74096d83-10e3-4ed7-8a85-61d982f6583c
2026-02-20 10:59:04,506 - DEBUG - Requesting: http://10.0.0.241:8082/project/9f8eeb6c-4725-494d-b224-9f0ca0b6ea07
2026-02-20 10:59:04,577 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5c94e298-9c6c-4b03-a7df-01f9e8690207
2026-02-20 10:59:04,587 - DEBUG - ==>Verifying data for policy with id: fcdce5b4-4d5a-4149-9789-3a399a650a0b, fqn: ['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-policy-allow-all-01174160']
2026-02-20 10:59:04,587 - INFO - VN ctest-vn-72288386 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 10:59:04,587 - DEBUG - Verifying the vn in opserver
2026-02-20 10:59:04,587 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-72288386 virtual network link through opserver 10.0.0.241
2026-02-20 10:59:04,587 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-20 10:59:04,889 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-20 10:59:04,956 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-72288386', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-72288386?flat'}
2026-02-20 10:59:04,956 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-72288386 is found in opserver
2026-02-20 10:59:04,966 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 10:59:04,971 - DEBUG - VRF ids for VN ctest-vn-72288386: {}
2026-02-20 10:59:04,971 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 10:59:04,977 - DEBUG - Requesting: http://10.0.0.241:8082/domain/74096d83-10e3-4ed7-8a85-61d982f6583c
2026-02-20 10:59:04,989 - DEBUG - Requesting: http://10.0.0.241:8082/project/9f8eeb6c-4725-494d-b224-9f0ca0b6ea07
2026-02-20 10:59:05,060 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/999d8a5e-d1db-4bc7-b602-e84995a2bed5
2026-02-20 10:59:05,072 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/999d8a5e-d1db-4bc7-b602-e84995a2bed5
2026-02-20 10:59:05,082 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e2c3f721-7e58-4b45-9bb6-2d8a79bcd0a7
2026-02-20 10:59:05,090 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e2c3f721-7e58-4b45-9bb6-2d8a79bcd0a7
2026-02-20 10:59:05,098 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/31b0dc52-59b0-4c0f-88ed-6dd1675a229b
2026-02-20 10:59:05,105 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 10:59:05,105 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/999d8a5e-d1db-4bc7-b602-e84995a2bed5
2026-02-20 10:59:05,116 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e2c3f721-7e58-4b45-9bb6-2d8a79bcd0a7
2026-02-20 10:59:05,131 - INFO - Verified VN network id 12 for VN 999d8a5e-d1db-4bc7-b602-e84995a2bed5
2026-02-20 10:59:05,131 - INFO - Verifications in API Server for VN ctest-vn-24412943 passed
2026-02-20 10:59:05,131 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/999d8a5e-d1db-4bc7-b602-e84995a2bed5
2026-02-20 10:59:05,142 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e2c3f721-7e58-4b45-9bb6-2d8a79bcd0a7
2026-02-20 10:59:05,151 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e2c3f721-7e58-4b45-9bb6-2d8a79bcd0a7
2026-02-20 10:59:05,160 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/31b0dc52-59b0-4c0f-88ed-6dd1675a229b
2026-02-20 10:59:05,173 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-24412943', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76786187', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11069155598998916039', 'uuid-lslong': '13115300467597033173'}, 'enable': 'true', 'created': '2026-02-20T10:59:02', 'last-modified': '2026-02-20T10:59:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.415345'}
2026-02-20 10:59:05,180 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 10:59:05,181 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24412943 passed
2026-02-20 10:59:05,181 - DEBUG - ====Verifying policy data for ctest-vn-24412943 in API_Server ======
2026-02-20 10:59:05,181 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 10:59:05,187 - DEBUG - Requesting: http://10.0.0.241:8082/domain/74096d83-10e3-4ed7-8a85-61d982f6583c
2026-02-20 10:59:05,197 - DEBUG - Requesting: http://10.0.0.241:8082/project/9f8eeb6c-4725-494d-b224-9f0ca0b6ea07
2026-02-20 10:59:05,265 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/999d8a5e-d1db-4bc7-b602-e84995a2bed5
2026-02-20 10:59:05,275 - DEBUG - ==>Verifying data for policy with id: fcdce5b4-4d5a-4149-9789-3a399a650a0b, fqn: ['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-policy-allow-all-01174160']
2026-02-20 10:59:05,275 - INFO - VN ctest-vn-24412943 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 10:59:05,275 - DEBUG - Verifying the vn in opserver
2026-02-20 10:59:05,275 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-24412943 virtual network link through opserver 10.0.0.241
2026-02-20 10:59:05,275 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-20 10:59:05,286 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-24412943', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-24412943?flat'}
2026-02-20 10:59:05,286 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-24412943 is found in opserver
2026-02-20 10:59:05,295 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 10:59:05,300 - DEBUG - VRF ids for VN ctest-vn-24412943: {}
2026-02-20 10:59:05,359 - DEBUG - Services list from nova: [