2026-02-01 09:02:20,664 - INFO - Domain Default found not creating
2026-02-01 09:02:20,845 - INFO - Project ctest-TestBasicPolicy-06790160 not found, creating it
2026-02-01 09:02:21,326 - INFO - Created Project:ctest-TestBasicPolicy-06790160, ID : 6110455b-93d3-4b5e-9068-cddaadd5eb34
2026-02-01 09:02:22,955 - INFO - ================================================================================
2026-02-01 09:02:22,956 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-01 09:02:22,956 - 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-01 09:02:23,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-01 09:02:23,211 - INFO - Initial checks done. Running the testcase now
2026-02-01 09:02:23,211 - INFO -
2026-02-01 09:02:23,812 - DEBUG - Response for create_network : {'network': {'id': 'cf758a2b-878b-4778-8fbf-b58d0eae6eec', 'name': 'ctest-vn-68262614', 'tenant_id': '6110455b93d34b5e9068cddaadd5eb34', 'project_id': '6110455b93d34b5e9068cddaadd5eb34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-vn-68262614'], 'port_security_enabled': True, 'description': ''}}
2026-02-01 09:02:24,010 - DEBUG - Response for create_subnet : {'subnet': {'id': '59fa3550-00ad-43fa-8036-4f296a895635', 'name': '', 'tenant_id': '6110455b93d34b5e9068cddaadd5eb34', 'network_id': 'cf758a2b-878b-4778-8fbf-b58d0eae6eec', 'ip_version': 4, 'cidr': '24.158.141.0/26', 'allocation_pools': [{'start': '24.158.141.2', 'end': '24.158.141.62'}], 'gateway_ip': '24.158.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.158.141.2', 'tags': [], 'project_id': '6110455b93d34b5e9068cddaadd5eb34'}}
2026-02-01 09:02:24,030 - INFO - Created VN ctest-vn-68262614
2026-02-01 09:02:24,085 - DEBUG - VN ctest-vn-68262614 UUID is cf758a2b-878b-4778-8fbf-b58d0eae6eec
2026-02-01 09:02:24,390 - DEBUG - Response for create_network : {'network': {'id': 'ee1dc211-dcad-43f4-ac7a-fe599b9e6815', 'name': 'ctest-vn-63193425', 'tenant_id': '6110455b93d34b5e9068cddaadd5eb34', 'project_id': '6110455b93d34b5e9068cddaadd5eb34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-vn-63193425'], 'port_security_enabled': True, 'description': ''}}
2026-02-01 09:02:24,594 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9eefdf6-d770-4878-9865-ff1846309848', 'name': '', 'tenant_id': '6110455b93d34b5e9068cddaadd5eb34', 'network_id': 'ee1dc211-dcad-43f4-ac7a-fe599b9e6815', 'ip_version': 4, 'cidr': '212.237.149.0/26', 'allocation_pools': [{'start': '212.237.149.2', 'end': '212.237.149.62'}], 'gateway_ip': '212.237.149.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.237.149.2', 'tags': [], 'project_id': '6110455b93d34b5e9068cddaadd5eb34'}}
2026-02-01 09:02:24,613 - INFO - Created VN ctest-vn-63193425
2026-02-01 09:02:24,665 - DEBUG - VN ctest-vn-63193425 UUID is ee1dc211-dcad-43f4-ac7a-fe599b9e6815
2026-02-01 09:02:24,776 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-68262614, 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-06790160:ctest-vn-63193425, 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-01 09:02:25,073 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf758a2b-878b-4778-8fbf-b58d0eae6eec', 'name': 'ctest-vn-68262614', 'tenant_id': '6110455b93d34b5e9068cddaadd5eb34', 'project_id': '6110455b93d34b5e9068cddaadd5eb34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59fa3550-00ad-43fa-8036-4f296a895635'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-vn-68262614'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-policy-allow-all-22098595']], 'subnet_ipam': [{'subnet_cidr': '24.158.141.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-01 09:02:25,303 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee1dc211-dcad-43f4-ac7a-fe599b9e6815', 'name': 'ctest-vn-63193425', 'tenant_id': '6110455b93d34b5e9068cddaadd5eb34', 'project_id': '6110455b93d34b5e9068cddaadd5eb34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9eefdf6-d770-4878-9865-ff1846309848'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-vn-63193425'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-policy-allow-all-22098595']], 'subnet_ipam': [{'subnet_cidr': '212.237.149.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-01 09:02:25,473 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-01 09:02:25,807 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-01 09:02:25,838 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1ab2686e-5826-4be9-9ed5-125dbd04682e
2026-02-01 09:02:25,851 - DEBUG - Requesting: http://10.0.0.50:8082/project/6110455b-93d3-4b5e-9068-cddaadd5eb34
2026-02-01 09:02:25,928 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf758a2b-878b-4778-8fbf-b58d0eae6eec
2026-02-01 09:02:25,938 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf758a2b-878b-4778-8fbf-b58d0eae6eec
2026-02-01 09:02:25,948 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7a45e34-ee62-4026-9ddc-e6b930454e25
2026-02-01 09:02:25,962 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7a45e34-ee62-4026-9ddc-e6b930454e25
2026-02-01 09:02:25,969 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/516815bc-a4f7-4cd1-b5ba-47f567b2c391
2026-02-01 09:02:25,975 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-01 09:02:25,976 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf758a2b-878b-4778-8fbf-b58d0eae6eec
2026-02-01 09:02:25,986 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7a45e34-ee62-4026-9ddc-e6b930454e25
2026-02-01 09:02:26,001 - INFO - Verified VN network id 12 for VN cf758a2b-878b-4778-8fbf-b58d0eae6eec
2026-02-01 09:02:26,001 - INFO - Verifications in API Server for VN ctest-vn-68262614 passed
2026-02-01 09:02:26,001 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf758a2b-878b-4778-8fbf-b58d0eae6eec
2026-02-01 09:02:26,011 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7a45e34-ee62-4026-9ddc-e6b930454e25
2026-02-01 09:02:26,018 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7a45e34-ee62-4026-9ddc-e6b930454e25
2026-02-01 09:02:26,026 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/516815bc-a4f7-4cd1-b5ba-47f567b2c391
2026-02-01 09:02:26,037 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-68262614', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06790160', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14949006457688508280', 'uuid-lslong': '10358197285416759020'}, 'enable': 'true', 'created': '2026-02-01T09:02:23', 'last-modified': '2026-02-01T09:02:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985783'}
2026-02-01 09:02:26,043 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-01 09:02:26,043 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68262614 passed
2026-02-01 09:02:26,044 - DEBUG - ====Verifying policy data for ctest-vn-68262614 in API_Server ======
2026-02-01 09:02:26,044 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-01 09:02:26,050 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1ab2686e-5826-4be9-9ed5-125dbd04682e
2026-02-01 09:02:26,061 - DEBUG - Requesting: http://10.0.0.50:8082/project/6110455b-93d3-4b5e-9068-cddaadd5eb34
2026-02-01 09:02:26,135 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf758a2b-878b-4778-8fbf-b58d0eae6eec
2026-02-01 09:02:26,144 - DEBUG - ==>Verifying data for policy with id: b5aefdeb-955d-413d-a6d9-da72ccf8d73e, fqn: ['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-policy-allow-all-22098595']
2026-02-01 09:02:26,144 - INFO - VN ctest-vn-68262614 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-01 09:02:26,144 - DEBUG - Verifying the vn in opserver
2026-02-01 09:02:26,144 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-68262614 virtual network link through opserver 10.0.0.50
2026-02-01 09:02:26,145 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-01 09:02:26,487 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-01 09:02:26,566 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-68262614', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-68262614?flat'}
2026-02-01 09:02:26,566 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-68262614 is found in opserver
2026-02-01 09:02:26,576 - DEBUG - Do not have enough data to verify VN in agent
2026-02-01 09:02:26,580 - DEBUG - VRF ids for VN ctest-vn-68262614: {}
2026-02-01 09:02:26,580 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-01 09:02:26,585 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1ab2686e-5826-4be9-9ed5-125dbd04682e
2026-02-01 09:02:26,596 - DEBUG - Requesting: http://10.0.0.50:8082/project/6110455b-93d3-4b5e-9068-cddaadd5eb34
2026-02-01 09:02:26,668 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee1dc211-dcad-43f4-ac7a-fe599b9e6815
2026-02-01 09:02:26,679 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee1dc211-dcad-43f4-ac7a-fe599b9e6815
2026-02-01 09:02:26,688 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38790439-fd88-45c5-b2c8-fa78aa02aa9e
2026-02-01 09:02:26,695 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38790439-fd88-45c5-b2c8-fa78aa02aa9e
2026-02-01 09:02:26,701 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/549d2dfc-0bde-4b93-b623-4837508e57e4
2026-02-01 09:02:26,707 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-01 09:02:26,707 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee1dc211-dcad-43f4-ac7a-fe599b9e6815
2026-02-01 09:02:26,715 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38790439-fd88-45c5-b2c8-fa78aa02aa9e
2026-02-01 09:02:26,729 - INFO - Verified VN network id 13 for VN ee1dc211-dcad-43f4-ac7a-fe599b9e6815
2026-02-01 09:02:26,729 - INFO - Verifications in API Server for VN ctest-vn-63193425 passed
2026-02-01 09:02:26,729 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee1dc211-dcad-43f4-ac7a-fe599b9e6815
2026-02-01 09:02:26,738 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38790439-fd88-45c5-b2c8-fa78aa02aa9e
2026-02-01 09:02:26,746 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38790439-fd88-45c5-b2c8-fa78aa02aa9e
2026-02-01 09:02:26,754 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/549d2dfc-0bde-4b93-b623-4837508e57e4
2026-02-01 09:02:26,771 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-63193425', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06790160', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17158083537324033012', 'uuid-lslong': '12428525782498699285'}, 'enable': 'true', 'created': '2026-02-01T09:02:24', 'last-modified': '2026-02-01T09:02:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.491039'}
2026-02-01 09:02:26,778 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-01 09:02:26,778 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63193425 passed
2026-02-01 09:02:26,778 - DEBUG - ====Verifying policy data for ctest-vn-63193425 in API_Server ======
2026-02-01 09:02:26,778 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-01 09:02:26,784 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1ab2686e-5826-4be9-9ed5-125dbd04682e
2026-02-01 09:02:26,795 - DEBUG - Requesting: http://10.0.0.50:8082/project/6110455b-93d3-4b5e-9068-cddaadd5eb34
2026-02-01 09:02:26,865 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee1dc211-dcad-43f4-ac7a-fe599b9e6815
2026-02-01 09:02:26,874 - DEBUG - ==>Verifying data for policy with id: b5aefdeb-955d-413d-a6d9-da72ccf8d73e, fqn: ['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-policy-allow-all-22098595']
2026-02-01 09:02:26,874 - INFO - VN ctest-vn-63193425 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-01 09:02:26,874 - DEBUG - Verifying the vn in opserver
2026-02-01 09:02:26,874 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-63193425 virtual network link through opserver 10.0.0.50
2026-02-01 09:02:26,874 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-01 09:02:26,883 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-63193425', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-63193425?flat'}
2026-02-01 09:02:26,883 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-63193425 is found in opserver
2026-02-01 09:02:26,893 - DEBUG - Do not have enough data to verify VN in agent
2026-02-01 09:02:26,898 - DEBUG - VRF ids for VN ctest-vn-63193425: {}
2026-02-01 09:02:26,965 - DEBUG - Services list from nova: [