2026-05-25 14:14:01,023 - INFO - Domain Default found not creating
2026-05-25 14:14:01,200 - INFO - Project ctest-TestBasicPolicy-86117590 not found, creating it
2026-05-25 14:14:01,666 - INFO - Created Project:ctest-TestBasicPolicy-86117590, ID : e5eb7464-5754-4263-831f-432a965f0e50
2026-05-25 14:14:03,192 - INFO - ================================================================================
2026-05-25 14:14:03,192 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-25 14:14:03,192 - 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 14:14:03,450 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-05-25 14:14:03,450 - INFO - Initial checks done. Running the testcase now
2026-05-25 14:14:03,451 - INFO -
2026-05-25 14:14:04,021 - DEBUG - Response for create_network : {'network': {'id': '5d65d53c-5ddd-4160-8194-2ef726000056', 'name': 'ctest-vn-38207682', 'tenant_id': 'e5eb746457544263831f432a965f0e50', 'project_id': 'e5eb746457544263831f432a965f0e50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-vn-38207682'], 'port_security_enabled': True, 'description': ''}}
2026-05-25 14:14:04,233 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c2267b8-9af8-40da-91da-e024cac4bdf4', 'name': '', 'tenant_id': 'e5eb746457544263831f432a965f0e50', 'network_id': '5d65d53c-5ddd-4160-8194-2ef726000056', 'ip_version': 4, 'cidr': '74.15.77.0/26', 'allocation_pools': [{'start': '74.15.77.2', 'end': '74.15.77.62'}], 'gateway_ip': '74.15.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.15.77.2', 'tags': [], 'project_id': 'e5eb746457544263831f432a965f0e50'}}
2026-05-25 14:14:04,251 - INFO - Created VN ctest-vn-38207682
2026-05-25 14:14:04,301 - DEBUG - VN ctest-vn-38207682 UUID is 5d65d53c-5ddd-4160-8194-2ef726000056
2026-05-25 14:14:04,624 - DEBUG - Response for create_network : {'network': {'id': '5ca80cbe-00f2-4a7d-91af-9869fe5efc63', 'name': 'ctest-vn-13821102', 'tenant_id': 'e5eb746457544263831f432a965f0e50', 'project_id': 'e5eb746457544263831f432a965f0e50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-vn-13821102'], 'port_security_enabled': True, 'description': ''}}
2026-05-25 14:14:04,815 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd93f5481-9dc4-47b1-8dcb-a5df97cd3de9', 'name': '', 'tenant_id': 'e5eb746457544263831f432a965f0e50', 'network_id': '5ca80cbe-00f2-4a7d-91af-9869fe5efc63', 'ip_version': 4, 'cidr': '35.158.233.0/26', 'allocation_pools': [{'start': '35.158.233.2', 'end': '35.158.233.62'}], 'gateway_ip': '35.158.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.158.233.2', 'tags': [], 'project_id': 'e5eb746457544263831f432a965f0e50'}}
2026-05-25 14:14:04,833 - INFO - Created VN ctest-vn-13821102
2026-05-25 14:14:04,885 - DEBUG - VN ctest-vn-13821102 UUID is 5ca80cbe-00f2-4a7d-91af-9869fe5efc63
2026-05-25 14:14:05,037 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-38207682, 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-86117590:ctest-vn-13821102, 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 14:14:05,331 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d65d53c-5ddd-4160-8194-2ef726000056', 'name': 'ctest-vn-38207682', 'tenant_id': 'e5eb746457544263831f432a965f0e50', 'project_id': 'e5eb746457544263831f432a965f0e50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3c2267b8-9af8-40da-91da-e024cac4bdf4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-vn-38207682'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-policy-allow-all-80780896']], 'subnet_ipam': [{'subnet_cidr': '74.15.77.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-25 14:14:05,560 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ca80cbe-00f2-4a7d-91af-9869fe5efc63', 'name': 'ctest-vn-13821102', 'tenant_id': 'e5eb746457544263831f432a965f0e50', 'project_id': 'e5eb746457544263831f432a965f0e50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d93f5481-9dc4-47b1-8dcb-a5df97cd3de9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-vn-13821102'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-policy-allow-all-80780896']], 'subnet_ipam': [{'subnet_cidr': '35.158.233.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-25 14:14:05,733 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-25 14:14:06,028 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-25 14:14:06,061 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b3a8e6f1-b0d2-4198-a993-4ad31f5a9cf6
2026-05-25 14:14:06,074 - DEBUG - Requesting: http://10.0.0.50:8082/project/e5eb7464-5754-4263-831f-432a965f0e50
2026-05-25 14:14:06,143 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d65d53c-5ddd-4160-8194-2ef726000056
2026-05-25 14:14:06,155 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d65d53c-5ddd-4160-8194-2ef726000056
2026-05-25 14:14:06,164 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/80398a23-cc06-4ce9-b97d-aa41d6abc722
2026-05-25 14:14:06,174 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/80398a23-cc06-4ce9-b97d-aa41d6abc722
2026-05-25 14:14:06,182 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/040eee6d-9a30-40be-9952-072162fdd783
2026-05-25 14:14:06,189 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-25 14:14:06,189 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d65d53c-5ddd-4160-8194-2ef726000056
2026-05-25 14:14:06,197 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/80398a23-cc06-4ce9-b97d-aa41d6abc722
2026-05-25 14:14:06,211 - INFO - Verified VN network id 11 for VN 5d65d53c-5ddd-4160-8194-2ef726000056
2026-05-25 14:14:06,211 - INFO - Verifications in API Server for VN ctest-vn-38207682 passed
2026-05-25 14:14:06,211 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d65d53c-5ddd-4160-8194-2ef726000056
2026-05-25 14:14:06,221 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/80398a23-cc06-4ce9-b97d-aa41d6abc722
2026-05-25 14:14:06,228 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/80398a23-cc06-4ce9-b97d-aa41d6abc722
2026-05-25 14:14:06,235 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/040eee6d-9a30-40be-9952-072162fdd783
2026-05-25 14:14:06,248 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-38207682', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86117590', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6730019673424609632', 'uuid-lslong': '9337139566475214934'}, 'enable': 'true', 'created': '2026-05-25T14:14:03', 'last-modified': '2026-05-25T14:14:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936601'}
2026-05-25 14:14:06,254 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-25 14:14:06,254 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38207682 passed
2026-05-25 14:14:06,254 - DEBUG - ====Verifying policy data for ctest-vn-38207682 in API_Server ======
2026-05-25 14:14:06,255 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-25 14:14:06,260 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b3a8e6f1-b0d2-4198-a993-4ad31f5a9cf6
2026-05-25 14:14:06,271 - DEBUG - Requesting: http://10.0.0.50:8082/project/e5eb7464-5754-4263-831f-432a965f0e50
2026-05-25 14:14:06,347 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d65d53c-5ddd-4160-8194-2ef726000056
2026-05-25 14:14:06,357 - DEBUG - ==>Verifying data for policy with id: f81f1ad7-3d30-4ca7-a5e9-847e7eef5bc8, fqn: ['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-policy-allow-all-80780896']
2026-05-25 14:14:06,357 - INFO - VN ctest-vn-38207682 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-25 14:14:06,357 - DEBUG - Verifying the vn in opserver
2026-05-25 14:14:06,357 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-38207682 virtual network link through opserver 10.0.0.50
2026-05-25 14:14:06,357 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-25 14:14:06,653 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-25 14:14:06,719 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-38207682', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-38207682?flat'}
2026-05-25 14:14:06,719 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-38207682 is found in opserver
2026-05-25 14:14:06,728 - DEBUG - Do not have enough data to verify VN in agent
2026-05-25 14:14:06,732 - DEBUG - VRF ids for VN ctest-vn-38207682: {}
2026-05-25 14:14:06,732 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-25 14:14:06,737 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b3a8e6f1-b0d2-4198-a993-4ad31f5a9cf6
2026-05-25 14:14:06,748 - DEBUG - Requesting: http://10.0.0.50:8082/project/e5eb7464-5754-4263-831f-432a965f0e50
2026-05-25 14:14:06,819 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ca80cbe-00f2-4a7d-91af-9869fe5efc63
2026-05-25 14:14:06,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ca80cbe-00f2-4a7d-91af-9869fe5efc63
2026-05-25 14:14:06,839 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c43334fe-2fc6-4888-9115-7e2f88550989
2026-05-25 14:14:06,846 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c43334fe-2fc6-4888-9115-7e2f88550989
2026-05-25 14:14:06,853 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d7296911-d86e-437e-b1b9-f193185e2813
2026-05-25 14:14:06,859 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-25 14:14:06,859 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ca80cbe-00f2-4a7d-91af-9869fe5efc63
2026-05-25 14:14:06,868 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c43334fe-2fc6-4888-9115-7e2f88550989
2026-05-25 14:14:06,883 - INFO - Verified VN network id 12 for VN 5ca80cbe-00f2-4a7d-91af-9869fe5efc63
2026-05-25 14:14:06,884 - INFO - Verifications in API Server for VN ctest-vn-13821102 passed
2026-05-25 14:14:06,884 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ca80cbe-00f2-4a7d-91af-9869fe5efc63
2026-05-25 14:14:06,893 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c43334fe-2fc6-4888-9115-7e2f88550989
2026-05-25 14:14:06,901 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c43334fe-2fc6-4888-9115-7e2f88550989
2026-05-25 14:14:06,907 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d7296911-d86e-437e-b1b9-f193185e2813
2026-05-25 14:14:06,920 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-13821102', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86117590', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6676600457775958653', 'uuid-lslong': '10497776837430541411'}, 'enable': 'true', 'created': '2026-05-25T14:14:04', 'last-modified': '2026-05-25T14:14:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.384160'}
2026-05-25 14:14:06,926 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-25 14:14:06,926 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13821102 passed
2026-05-25 14:14:06,926 - DEBUG - ====Verifying policy data for ctest-vn-13821102 in API_Server ======
2026-05-25 14:14:06,926 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-25 14:14:06,931 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b3a8e6f1-b0d2-4198-a993-4ad31f5a9cf6
2026-05-25 14:14:06,942 - DEBUG - Requesting: http://10.0.0.50:8082/project/e5eb7464-5754-4263-831f-432a965f0e50
2026-05-25 14:14:07,011 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ca80cbe-00f2-4a7d-91af-9869fe5efc63
2026-05-25 14:14:07,020 - DEBUG - ==>Verifying data for policy with id: f81f1ad7-3d30-4ca7-a5e9-847e7eef5bc8, fqn: ['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-policy-allow-all-80780896']
2026-05-25 14:14:07,020 - INFO - VN ctest-vn-13821102 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-25 14:14:07,021 - DEBUG - Verifying the vn in opserver
2026-05-25 14:14:07,021 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-13821102 virtual network link through opserver 10.0.0.50
2026-05-25 14:14:07,021 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-25 14:14:07,030 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-13821102', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-13821102?flat'}
2026-05-25 14:14:07,030 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-13821102 is found in opserver
2026-05-25 14:14:07,039 - DEBUG - Do not have enough data to verify VN in agent
2026-05-25 14:14:07,044 - DEBUG - VRF ids for VN ctest-vn-13821102: {}
2026-05-25 14:14:07,105 - DEBUG - Services list from nova: [