2026-03-19 12:16:57,201 - INFO - Domain Default found not creating
2026-03-19 12:16:57,363 - INFO - Project ctest-TestBasicPolicy-55029068 not found, creating it
2026-03-19 12:16:57,826 - INFO - Created Project:ctest-TestBasicPolicy-55029068, ID : 2ff52c65-462e-4a0a-9c5b-78a494b5d4ab
2026-03-19 12:16:59,305 - INFO - ================================================================================
2026-03-19 12:16:59,305 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-19 12:16:59,305 - 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-03-19 12:16:59,564 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with
2026-03-19 12:16:59,564 - INFO - Initial checks done. Running the testcase now
2026-03-19 12:16:59,564 - INFO -
2026-03-19 12:17:00,118 - DEBUG - Response for create_network : {'network': {'id': '1bc5b376-c345-4e6b-8ace-78554966d45e', 'name': 'ctest-vn-02982523', 'tenant_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'project_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-vn-02982523'], 'port_security_enabled': True, 'description': ''}}
2026-03-19 12:17:00,291 - DEBUG - Response for create_subnet : {'subnet': {'id': '47424ad5-12ca-443c-a85e-88ef22336161', 'name': '', 'tenant_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'network_id': '1bc5b376-c345-4e6b-8ace-78554966d45e', 'ip_version': 4, 'cidr': '180.165.60.128/26', 'allocation_pools': [{'start': '180.165.60.130', 'end': '180.165.60.190'}], 'gateway_ip': '180.165.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.165.60.130', 'tags': [], 'project_id': '2ff52c65462e4a0a9c5b78a494b5d4ab'}}
2026-03-19 12:17:00,309 - INFO - Created VN ctest-vn-02982523
2026-03-19 12:17:00,363 - DEBUG - VN ctest-vn-02982523 UUID is 1bc5b376-c345-4e6b-8ace-78554966d45e
2026-03-19 12:17:00,649 - DEBUG - Response for create_network : {'network': {'id': '4d111f32-d3b7-4718-a31c-a3bf370a3fce', 'name': 'ctest-vn-78193307', 'tenant_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'project_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-vn-78193307'], 'port_security_enabled': True, 'description': ''}}
2026-03-19 12:17:00,800 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d845e42-43b3-4f0e-b9ae-f066bb810331', 'name': '', 'tenant_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'network_id': '4d111f32-d3b7-4718-a31c-a3bf370a3fce', 'ip_version': 4, 'cidr': '93.249.44.64/26', 'allocation_pools': [{'start': '93.249.44.66', 'end': '93.249.44.126'}], 'gateway_ip': '93.249.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.249.44.66', 'tags': [], 'project_id': '2ff52c65462e4a0a9c5b78a494b5d4ab'}}
2026-03-19 12:17:00,818 - INFO - Created VN ctest-vn-78193307
2026-03-19 12:17:00,871 - DEBUG - VN ctest-vn-78193307 UUID is 4d111f32-d3b7-4718-a31c-a3bf370a3fce
2026-03-19 12:17:01,023 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-02982523, 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-55029068:ctest-vn-78193307, 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-03-19 12:17:01,307 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1bc5b376-c345-4e6b-8ace-78554966d45e', 'name': 'ctest-vn-02982523', 'tenant_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'project_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['47424ad5-12ca-443c-a85e-88ef22336161'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-vn-02982523'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-policy-allow-all-21188142']], 'subnet_ipam': [{'subnet_cidr': '180.165.60.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-19 12:17:01,536 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4d111f32-d3b7-4718-a31c-a3bf370a3fce', 'name': 'ctest-vn-78193307', 'tenant_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'project_id': '2ff52c65462e4a0a9c5b78a494b5d4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d845e42-43b3-4f0e-b9ae-f066bb810331'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-vn-78193307'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-policy-allow-all-21188142']], 'subnet_ipam': [{'subnet_cidr': '93.249.44.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-19 12:17:01,683 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-19 12:17:01,985 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-19 12:17:02,017 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c7fc54b5-94dc-4f40-a9dd-5250fce52f04
2026-03-19 12:17:02,030 - DEBUG - Requesting: http://10.0.0.141:8082/project/2ff52c65-462e-4a0a-9c5b-78a494b5d4ab
2026-03-19 12:17:02,101 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1bc5b376-c345-4e6b-8ace-78554966d45e
2026-03-19 12:17:02,114 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1bc5b376-c345-4e6b-8ace-78554966d45e
2026-03-19 12:17:02,123 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/19426fa2-77a1-4775-8226-d2f3a4da9703
2026-03-19 12:17:02,131 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/19426fa2-77a1-4775-8226-d2f3a4da9703
2026-03-19 12:17:02,139 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/bee30421-3dca-4c3f-b74d-72498bebd863
2026-03-19 12:17:02,145 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-19 12:17:02,145 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1bc5b376-c345-4e6b-8ace-78554966d45e
2026-03-19 12:17:02,155 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/19426fa2-77a1-4775-8226-d2f3a4da9703
2026-03-19 12:17:02,169 - INFO - Verified VN network id 11 for VN 1bc5b376-c345-4e6b-8ace-78554966d45e
2026-03-19 12:17:02,169 - INFO - Verifications in API Server for VN ctest-vn-02982523 passed
2026-03-19 12:17:02,169 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1bc5b376-c345-4e6b-8ace-78554966d45e
2026-03-19 12:17:02,181 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/19426fa2-77a1-4775-8226-d2f3a4da9703
2026-03-19 12:17:02,189 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/19426fa2-77a1-4775-8226-d2f3a4da9703
2026-03-19 12:17:02,195 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/bee30421-3dca-4c3f-b74d-72498bebd863
2026-03-19 12:17:02,207 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-02982523', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55029068', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2001202932099665515', 'uuid-lslong': '10002064130135479390'}, 'enable': 'true', 'created': '2026-03-19T12:17:00', 'last-modified': '2026-03-19T12:17:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924898'}
2026-03-19 12:17:02,214 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-19 12:17:02,214 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02982523 passed
2026-03-19 12:17:02,214 - DEBUG - ====Verifying policy data for ctest-vn-02982523 in API_Server ======
2026-03-19 12:17:02,214 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-19 12:17:02,219 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c7fc54b5-94dc-4f40-a9dd-5250fce52f04
2026-03-19 12:17:02,230 - DEBUG - Requesting: http://10.0.0.141:8082/project/2ff52c65-462e-4a0a-9c5b-78a494b5d4ab
2026-03-19 12:17:02,300 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/1bc5b376-c345-4e6b-8ace-78554966d45e
2026-03-19 12:17:02,310 - DEBUG - ==>Verifying data for policy with id: 66705eec-715b-4e12-8b3c-8de9beec278e, fqn: ['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-policy-allow-all-21188142']
2026-03-19 12:17:02,310 - INFO - VN ctest-vn-02982523 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-19 12:17:02,310 - DEBUG - Verifying the vn in opserver
2026-03-19 12:17:02,310 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-02982523 virtual network link through opserver 10.0.0.141
2026-03-19 12:17:02,310 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-19 12:17:02,600 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-19 12:17:02,668 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-02982523', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-02982523?flat'}
2026-03-19 12:17:02,668 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-02982523 is found in opserver
2026-03-19 12:17:02,680 - DEBUG - Do not have enough data to verify VN in agent
2026-03-19 12:17:02,687 - DEBUG - VRF ids for VN ctest-vn-02982523: {}
2026-03-19 12:17:02,687 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-19 12:17:02,692 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c7fc54b5-94dc-4f40-a9dd-5250fce52f04
2026-03-19 12:17:02,703 - DEBUG - Requesting: http://10.0.0.141:8082/project/2ff52c65-462e-4a0a-9c5b-78a494b5d4ab
2026-03-19 12:17:02,778 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d111f32-d3b7-4718-a31c-a3bf370a3fce
2026-03-19 12:17:02,792 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d111f32-d3b7-4718-a31c-a3bf370a3fce
2026-03-19 12:17:02,803 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d4d767b-8432-431b-a105-2888348752e2
2026-03-19 12:17:02,811 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d4d767b-8432-431b-a105-2888348752e2
2026-03-19 12:17:02,818 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f77aafb7-0bf5-4b7c-b4ba-1e826bf73a4b
2026-03-19 12:17:02,825 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-19 12:17:02,825 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d111f32-d3b7-4718-a31c-a3bf370a3fce
2026-03-19 12:17:02,834 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d4d767b-8432-431b-a105-2888348752e2
2026-03-19 12:17:02,852 - INFO - Verified VN network id 12 for VN 4d111f32-d3b7-4718-a31c-a3bf370a3fce
2026-03-19 12:17:02,852 - INFO - Verifications in API Server for VN ctest-vn-78193307 passed
2026-03-19 12:17:02,852 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d111f32-d3b7-4718-a31c-a3bf370a3fce
2026-03-19 12:17:02,863 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d4d767b-8432-431b-a105-2888348752e2
2026-03-19 12:17:02,874 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d4d767b-8432-431b-a105-2888348752e2
2026-03-19 12:17:02,881 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f77aafb7-0bf5-4b7c-b4ba-1e826bf73a4b
2026-03-19 12:17:02,893 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-78193307', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55029068', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5553254118685361944', 'uuid-lslong': '11753449169187651534'}, 'enable': 'true', 'created': '2026-03-19T12:17:00', 'last-modified': '2026-03-19T12:17:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.375684'}
2026-03-19 12:17:02,899 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-19 12:17:02,899 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78193307 passed
2026-03-19 12:17:02,899 - DEBUG - ====Verifying policy data for ctest-vn-78193307 in API_Server ======
2026-03-19 12:17:02,899 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-19 12:17:02,904 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c7fc54b5-94dc-4f40-a9dd-5250fce52f04
2026-03-19 12:17:02,915 - DEBUG - Requesting: http://10.0.0.141:8082/project/2ff52c65-462e-4a0a-9c5b-78a494b5d4ab
2026-03-19 12:17:02,988 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4d111f32-d3b7-4718-a31c-a3bf370a3fce
2026-03-19 12:17:02,998 - DEBUG - ==>Verifying data for policy with id: 66705eec-715b-4e12-8b3c-8de9beec278e, fqn: ['default-domain', 'ctest-TestBasicPolicy-55029068', 'ctest-policy-allow-all-21188142']
2026-03-19 12:17:02,998 - INFO - VN ctest-vn-78193307 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-19 12:17:02,998 - DEBUG - Verifying the vn in opserver
2026-03-19 12:17:02,998 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-78193307 virtual network link through opserver 10.0.0.141
2026-03-19 12:17:02,998 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-19 12:17:03,009 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-78193307', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-78193307?flat'}
2026-03-19 12:17:03,009 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55029068:ctest-vn-78193307 is found in opserver
2026-03-19 12:17:03,019 - DEBUG - Do not have enough data to verify VN in agent
2026-03-19 12:17:03,023 - DEBUG - VRF ids for VN ctest-vn-78193307: {}
2026-03-19 12:17:03,082 - DEBUG - Services list from nova: [