2026-05-25 02:08:31,399 - INFO - Domain Default found not creating
2026-05-25 02:08:31,601 - INFO - Project ctest-TestBasicPolicy-03870971 not found, creating it
2026-05-25 02:08:32,126 - INFO - Created Project:ctest-TestBasicPolicy-03870971, ID : 03d83f59-9751-4ce1-b7b1-dfafce757640
2026-05-25 02:08:33,731 - INFO - ================================================================================
2026-05-25 02:08:33,731 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-25 02:08:33,731 - 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-05-25 02:08:34,006 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.200': '0'}} with
2026-05-25 02:08:34,006 - INFO - Initial checks done. Running the testcase now
2026-05-25 02:08:34,006 - INFO -
2026-05-25 02:08:34,602 - DEBUG - Response for create_network : {'network': {'id': '6bf6fb5b-4943-4753-a3f5-7c252b454306', 'name': 'ctest-vn-15760579', 'tenant_id': '03d83f5997514ce1b7b1dfafce757640', 'project_id': '03d83f5997514ce1b7b1dfafce757640', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03870971', 'ctest-vn-15760579'], 'port_security_enabled': True, 'description': ''}}
2026-05-25 02:08:34,768 - DEBUG - Response for create_subnet : {'subnet': {'id': '6658cbb5-8ea5-4bd9-b149-cf8a81140f4a', 'name': '', 'tenant_id': '03d83f5997514ce1b7b1dfafce757640', 'network_id': '6bf6fb5b-4943-4753-a3f5-7c252b454306', 'ip_version': 4, 'cidr': '93.70.169.192/26', 'allocation_pools': [{'start': '93.70.169.194', 'end': '93.70.169.254'}], 'gateway_ip': '93.70.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.70.169.194', 'tags': [], 'project_id': '03d83f5997514ce1b7b1dfafce757640'}}
2026-05-25 02:08:34,786 - INFO - Created VN ctest-vn-15760579
2026-05-25 02:08:34,841 - DEBUG - VN ctest-vn-15760579 UUID is 6bf6fb5b-4943-4753-a3f5-7c252b454306
2026-05-25 02:08:35,146 - DEBUG - Response for create_network : {'network': {'id': '9b0a4891-57f5-4a64-8d97-8ae21bba9b08', 'name': 'ctest-vn-46298426', 'tenant_id': '03d83f5997514ce1b7b1dfafce757640', 'project_id': '03d83f5997514ce1b7b1dfafce757640', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03870971', 'ctest-vn-46298426'], 'port_security_enabled': True, 'description': ''}}
2026-05-25 02:08:35,368 - DEBUG - Response for create_subnet : {'subnet': {'id': '34283614-c1ee-4f5b-a948-92cbc82f412e', 'name': '', 'tenant_id': '03d83f5997514ce1b7b1dfafce757640', 'network_id': '9b0a4891-57f5-4a64-8d97-8ae21bba9b08', 'ip_version': 4, 'cidr': '176.60.126.128/26', 'allocation_pools': [{'start': '176.60.126.130', 'end': '176.60.126.190'}], 'gateway_ip': '176.60.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.60.126.130', 'tags': [], 'project_id': '03d83f5997514ce1b7b1dfafce757640'}}
2026-05-25 02:08:35,389 - INFO - Created VN ctest-vn-46298426
2026-05-25 02:08:35,445 - DEBUG - VN ctest-vn-46298426 UUID is 9b0a4891-57f5-4a64-8d97-8ae21bba9b08
2026-05-25 02:08:35,564 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03870971:ctest-vn-15760579, 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-03870971:ctest-vn-46298426, 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-05-25 02:08:35,873 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6bf6fb5b-4943-4753-a3f5-7c252b454306', 'name': 'ctest-vn-15760579', 'tenant_id': '03d83f5997514ce1b7b1dfafce757640', 'project_id': '03d83f5997514ce1b7b1dfafce757640', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6658cbb5-8ea5-4bd9-b149-cf8a81140f4a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03870971', 'ctest-vn-15760579'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03870971', 'ctest-policy-allow-all-97201155']], 'subnet_ipam': [{'subnet_cidr': '93.70.169.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-25 02:08:36,110 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b0a4891-57f5-4a64-8d97-8ae21bba9b08', 'name': 'ctest-vn-46298426', 'tenant_id': '03d83f5997514ce1b7b1dfafce757640', 'project_id': '03d83f5997514ce1b7b1dfafce757640', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['34283614-c1ee-4f5b-a948-92cbc82f412e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03870971', 'ctest-vn-46298426'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03870971', 'ctest-policy-allow-all-97201155']], 'subnet_ipam': [{'subnet_cidr': '176.60.126.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-25 02:08:36,277 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-25 02:08:36,579 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-25 02:08:36,616 - DEBUG - Requesting: http://10.0.0.33:8082/domain/71c98a6f-b90c-45e9-b9fd-a6f90aa6e6b9
2026-05-25 02:08:36,630 - DEBUG - Requesting: http://10.0.0.33:8082/project/03d83f59-9751-4ce1-b7b1-dfafce757640
2026-05-25 02:08:36,704 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6bf6fb5b-4943-4753-a3f5-7c252b454306
2026-05-25 02:08:36,715 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6bf6fb5b-4943-4753-a3f5-7c252b454306
2026-05-25 02:08:36,725 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/036947ec-a668-4fc1-adde-edfc8c07a5ff
2026-05-25 02:08:36,733 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/036947ec-a668-4fc1-adde-edfc8c07a5ff
2026-05-25 02:08:36,742 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5a0bc605-4469-4eff-80a8-90212e1a972f
2026-05-25 02:08:36,749 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-25 02:08:36,749 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6bf6fb5b-4943-4753-a3f5-7c252b454306
2026-05-25 02:08:36,757 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/036947ec-a668-4fc1-adde-edfc8c07a5ff
2026-05-25 02:08:36,772 - INFO - Verified VN network id 11 for VN 6bf6fb5b-4943-4753-a3f5-7c252b454306
2026-05-25 02:08:36,773 - INFO - Verifications in API Server for VN ctest-vn-15760579 passed
2026-05-25 02:08:36,773 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6bf6fb5b-4943-4753-a3f5-7c252b454306
2026-05-25 02:08:36,782 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/036947ec-a668-4fc1-adde-edfc8c07a5ff
2026-05-25 02:08:36,789 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/036947ec-a668-4fc1-adde-edfc8c07a5ff
2026-05-25 02:08:36,798 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5a0bc605-4469-4eff-80a8-90212e1a972f
2026-05-25 02:08:36,813 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03870971:ctest-vn-15760579', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03870971', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7779681775818852179', 'uuid-lslong': '11814485696557957894'}, 'enable': 'true', 'created': '2026-05-25T02:08:34', 'last-modified': '2026-05-25T02:08:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.959976'}
2026-05-25 02:08:36,820 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-25 02:08:36,820 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15760579 passed
2026-05-25 02:08:36,821 - DEBUG - ====Verifying policy data for ctest-vn-15760579 in API_Server ======
2026-05-25 02:08:36,821 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-25 02:08:36,827 - DEBUG - Requesting: http://10.0.0.33:8082/domain/71c98a6f-b90c-45e9-b9fd-a6f90aa6e6b9
2026-05-25 02:08:36,842 - DEBUG - Requesting: http://10.0.0.33:8082/project/03d83f59-9751-4ce1-b7b1-dfafce757640
2026-05-25 02:08:36,914 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6bf6fb5b-4943-4753-a3f5-7c252b454306
2026-05-25 02:08:36,924 - DEBUG - ==>Verifying data for policy with id: d82ebf00-1c01-4c55-8ebd-2733798bf65e, fqn: ['default-domain', 'ctest-TestBasicPolicy-03870971', 'ctest-policy-allow-all-97201155']
2026-05-25 02:08:36,925 - INFO - VN ctest-vn-15760579 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-25 02:08:36,925 - DEBUG - Verifying the vn in opserver
2026-05-25 02:08:36,925 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03870971:ctest-vn-15760579 virtual network link through opserver 10.0.0.33
2026-05-25 02:08:36,925 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-05-25 02:08:37,254 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-05-25 02:08:37,334 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03870971:ctest-vn-15760579', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03870971:ctest-vn-15760579?flat'}
2026-05-25 02:08:37,334 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03870971:ctest-vn-15760579 is found in opserver
2026-05-25 02:08:37,343 - DEBUG - Do not have enough data to verify VN in agent
2026-05-25 02:08:37,348 - DEBUG - VRF ids for VN ctest-vn-15760579: {}
2026-05-25 02:08:37,348 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-25 02:08:37,354 - DEBUG - Requesting: http://10.0.0.33:8082/domain/71c98a6f-b90c-45e9-b9fd-a6f90aa6e6b9
2026-05-25 02:08:37,367 - DEBUG - Requesting: http://10.0.0.33:8082/project/03d83f59-9751-4ce1-b7b1-dfafce757640
2026-05-25 02:08:37,441 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b0a4891-57f5-4a64-8d97-8ae21bba9b08
2026-05-25 02:08:37,451 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b0a4891-57f5-4a64-8d97-8ae21bba9b08
2026-05-25 02:08:37,460 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/36c0792e-4782-42f4-a057-63677af466db
2026-05-25 02:08:37,466 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/36c0792e-4782-42f4-a057-63677af466db
2026-05-25 02:08:37,474 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/33cdd033-2b11-4e44-be60-fbfd08f55a10
2026-05-25 02:08:37,481 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-25 02:08:37,481 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b0a4891-57f5-4a64-8d97-8ae21bba9b08
2026-05-25 02:08:37,491 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/36c0792e-4782-42f4-a057-63677af466db
2026-05-25 02:08:37,506 - INFO - Verified VN network id 12 for VN 9b0a4891-57f5-4a64-8d97-8ae21bba9b08
2026-05-25 02:08:37,506 - INFO - Verifications in API Server for VN ctest-vn-46298426 passed
2026-05-25 02:08:37,506 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b0a4891-57f5-4a64-8d97-8ae21bba9b08
2026-05-25 02:08:37,516 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/36c0792e-4782-42f4-a057-63677af466db
2026-05-25 02:08:37,524 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/36c0792e-4782-42f4-a057-63677af466db
2026-05-25 02:08:37,533 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/33cdd033-2b11-4e44-be60-fbfd08f55a10
2026-05-25 02:08:37,549 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03870971:ctest-vn-46298426', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03870971', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11171821614729087588', 'uuid-lslong': '10202776184563604232'}, 'enable': 'true', 'created': '2026-05-25T02:08:35', 'last-modified': '2026-05-25T02:08:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.465018'}
2026-05-25 02:08:37,555 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-25 02:08:37,555 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46298426 passed
2026-05-25 02:08:37,555 - DEBUG - ====Verifying policy data for ctest-vn-46298426 in API_Server ======
2026-05-25 02:08:37,555 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-25 02:08:37,562 - DEBUG - Requesting: http://10.0.0.33:8082/domain/71c98a6f-b90c-45e9-b9fd-a6f90aa6e6b9
2026-05-25 02:08:37,574 - DEBUG - Requesting: http://10.0.0.33:8082/project/03d83f59-9751-4ce1-b7b1-dfafce757640
2026-05-25 02:08:37,650 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9b0a4891-57f5-4a64-8d97-8ae21bba9b08
2026-05-25 02:08:37,659 - DEBUG - ==>Verifying data for policy with id: d82ebf00-1c01-4c55-8ebd-2733798bf65e, fqn: ['default-domain', 'ctest-TestBasicPolicy-03870971', 'ctest-policy-allow-all-97201155']
2026-05-25 02:08:37,659 - INFO - VN ctest-vn-46298426 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-25 02:08:37,659 - DEBUG - Verifying the vn in opserver
2026-05-25 02:08:37,659 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03870971:ctest-vn-46298426 virtual network link through opserver 10.0.0.33
2026-05-25 02:08:37,659 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-05-25 02:08:37,669 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03870971:ctest-vn-46298426', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03870971:ctest-vn-46298426?flat'}
2026-05-25 02:08:37,669 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03870971:ctest-vn-46298426 is found in opserver
2026-05-25 02:08:37,679 - DEBUG - Do not have enough data to verify VN in agent
2026-05-25 02:08:37,684 - DEBUG - VRF ids for VN ctest-vn-46298426: {}
2026-05-25 02:08:37,761 - DEBUG - Services list from nova: [