2026-01-29 17:04:25,226 - INFO - Domain Default found not creating
2026-01-29 17:04:25,379 - INFO - Project ctest-TestBasicPolicy-67305249 not found, creating it
2026-01-29 17:04:25,806 - INFO - Created Project:ctest-TestBasicPolicy-67305249, ID : 3c0f06ed-00ea-4a91-809e-488afb2ec1f8
2026-01-29 17:04:27,222 - INFO - ================================================================================
2026-01-29 17:04:27,222 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 17:04:27,222 - 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-01-29 17:04:27,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2026-01-29 17:04:27,480 - INFO - Initial checks done. Running the testcase now
2026-01-29 17:04:27,480 - INFO -
2026-01-29 17:04:28,016 - DEBUG - Response for create_network : {'network': {'id': '901d2690-7d1b-4b6b-ac2d-af65fe95bebe', 'name': 'ctest-vn-08304557', 'tenant_id': '3c0f06ed00ea4a91809e488afb2ec1f8', 'project_id': '3c0f06ed00ea4a91809e488afb2ec1f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67305249', 'ctest-vn-08304557'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 17:04:28,190 - DEBUG - Response for create_subnet : {'subnet': {'id': '13e5d461-8934-44eb-bca5-ff0d30cec5ea', 'name': '', 'tenant_id': '3c0f06ed00ea4a91809e488afb2ec1f8', 'network_id': '901d2690-7d1b-4b6b-ac2d-af65fe95bebe', 'ip_version': 4, 'cidr': '50.233.79.128/26', 'allocation_pools': [{'start': '50.233.79.130', 'end': '50.233.79.190'}], 'gateway_ip': '50.233.79.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.233.79.130', 'tags': [], 'project_id': '3c0f06ed00ea4a91809e488afb2ec1f8'}}
2026-01-29 17:04:28,206 - INFO - Created VN ctest-vn-08304557
2026-01-29 17:04:28,259 - DEBUG - VN ctest-vn-08304557 UUID is 901d2690-7d1b-4b6b-ac2d-af65fe95bebe
2026-01-29 17:04:28,599 - DEBUG - Response for create_network : {'network': {'id': '3eed426d-827f-4543-8971-32f660881748', 'name': 'ctest-vn-29323812', 'tenant_id': '3c0f06ed00ea4a91809e488afb2ec1f8', 'project_id': '3c0f06ed00ea4a91809e488afb2ec1f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67305249', 'ctest-vn-29323812'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 17:04:28,789 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b80ab875-acde-4195-900e-df9b15117532', 'name': '', 'tenant_id': '3c0f06ed00ea4a91809e488afb2ec1f8', 'network_id': '3eed426d-827f-4543-8971-32f660881748', 'ip_version': 4, 'cidr': '87.59.141.64/26', 'allocation_pools': [{'start': '87.59.141.66', 'end': '87.59.141.126'}], 'gateway_ip': '87.59.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.59.141.66', 'tags': [], 'project_id': '3c0f06ed00ea4a91809e488afb2ec1f8'}}
2026-01-29 17:04:28,808 - INFO - Created VN ctest-vn-29323812
2026-01-29 17:04:28,859 - DEBUG - VN ctest-vn-29323812 UUID is 3eed426d-827f-4543-8971-32f660881748
2026-01-29 17:04:28,977 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67305249:ctest-vn-08304557, 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-67305249:ctest-vn-29323812, 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-01-29 17:04:29,258 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '901d2690-7d1b-4b6b-ac2d-af65fe95bebe', 'name': 'ctest-vn-08304557', 'tenant_id': '3c0f06ed00ea4a91809e488afb2ec1f8', 'project_id': '3c0f06ed00ea4a91809e488afb2ec1f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['13e5d461-8934-44eb-bca5-ff0d30cec5ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67305249', 'ctest-vn-08304557'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67305249', 'ctest-policy-allow-all-78842109']], 'subnet_ipam': [{'subnet_cidr': '50.233.79.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 17:04:29,468 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3eed426d-827f-4543-8971-32f660881748', 'name': 'ctest-vn-29323812', 'tenant_id': '3c0f06ed00ea4a91809e488afb2ec1f8', 'project_id': '3c0f06ed00ea4a91809e488afb2ec1f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b80ab875-acde-4195-900e-df9b15117532'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67305249', 'ctest-vn-29323812'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67305249', 'ctest-policy-allow-all-78842109']], 'subnet_ipam': [{'subnet_cidr': '87.59.141.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 17:04:29,595 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-29 17:04:29,888 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-29 17:04:29,916 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8200053f-7cd6-4218-b830-7c78a282c893
2026-01-29 17:04:29,927 - DEBUG - Requesting: http://10.0.0.33:8082/project/3c0f06ed-00ea-4a91-809e-488afb2ec1f8
2026-01-29 17:04:29,994 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/901d2690-7d1b-4b6b-ac2d-af65fe95bebe
2026-01-29 17:04:30,003 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/901d2690-7d1b-4b6b-ac2d-af65fe95bebe
2026-01-29 17:04:30,011 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66ed7b55-b98f-43f1-bed1-29941c1ad438
2026-01-29 17:04:30,017 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66ed7b55-b98f-43f1-bed1-29941c1ad438
2026-01-29 17:04:30,024 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8ac6f8f9-25fd-4443-a7a2-bfa5d6ec8c2a
2026-01-29 17:04:30,029 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 17:04:30,029 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/901d2690-7d1b-4b6b-ac2d-af65fe95bebe
2026-01-29 17:04:30,037 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66ed7b55-b98f-43f1-bed1-29941c1ad438
2026-01-29 17:04:30,048 - INFO - Verified VN network id 12 for VN 901d2690-7d1b-4b6b-ac2d-af65fe95bebe
2026-01-29 17:04:30,048 - INFO - Verifications in API Server for VN ctest-vn-08304557 passed
2026-01-29 17:04:30,048 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/901d2690-7d1b-4b6b-ac2d-af65fe95bebe
2026-01-29 17:04:30,055 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66ed7b55-b98f-43f1-bed1-29941c1ad438
2026-01-29 17:04:30,061 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66ed7b55-b98f-43f1-bed1-29941c1ad438
2026-01-29 17:04:30,067 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8ac6f8f9-25fd-4443-a7a2-bfa5d6ec8c2a
2026-01-29 17:04:30,076 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67305249:ctest-vn-08304557', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67305249', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10384498717802318699', 'uuid-lslong': '12406765401073368766'}, 'enable': 'true', 'created': '2026-01-29T17:04:27', 'last-modified': '2026-01-29T17:04:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.838139'}
2026-01-29 17:04:30,082 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 17:04:30,082 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08304557 passed
2026-01-29 17:04:30,082 - DEBUG - ====Verifying policy data for ctest-vn-08304557 in API_Server ======
2026-01-29 17:04:30,082 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-29 17:04:30,086 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8200053f-7cd6-4218-b830-7c78a282c893
2026-01-29 17:04:30,096 - DEBUG - Requesting: http://10.0.0.33:8082/project/3c0f06ed-00ea-4a91-809e-488afb2ec1f8
2026-01-29 17:04:30,162 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/901d2690-7d1b-4b6b-ac2d-af65fe95bebe
2026-01-29 17:04:30,170 - DEBUG - ==>Verifying data for policy with id: fc64176c-c3a0-48dd-8061-0f95b61439f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-67305249', 'ctest-policy-allow-all-78842109']
2026-01-29 17:04:30,170 - INFO - VN ctest-vn-08304557 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 17:04:30,170 - DEBUG - Verifying the vn in opserver
2026-01-29 17:04:30,170 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67305249:ctest-vn-08304557 virtual network link through opserver 10.0.0.33
2026-01-29 17:04:30,170 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-29 17:04:30,460 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-29 17:04:30,518 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67305249:ctest-vn-08304557', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67305249:ctest-vn-08304557?flat'}
2026-01-29 17:04:30,518 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67305249:ctest-vn-08304557 is found in opserver
2026-01-29 17:04:30,526 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 17:04:30,530 - DEBUG - VRF ids for VN ctest-vn-08304557: {}
2026-01-29 17:04:30,530 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-29 17:04:30,535 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8200053f-7cd6-4218-b830-7c78a282c893
2026-01-29 17:04:30,547 - DEBUG - Requesting: http://10.0.0.33:8082/project/3c0f06ed-00ea-4a91-809e-488afb2ec1f8
2026-01-29 17:04:30,616 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3eed426d-827f-4543-8971-32f660881748
2026-01-29 17:04:30,625 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3eed426d-827f-4543-8971-32f660881748
2026-01-29 17:04:30,633 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fc048465-1add-41ff-87d1-e717e2f5989a
2026-01-29 17:04:30,639 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fc048465-1add-41ff-87d1-e717e2f5989a
2026-01-29 17:04:30,645 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ef69adcc-c62d-455d-ab87-e652835ee53e
2026-01-29 17:04:30,651 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 17:04:30,651 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3eed426d-827f-4543-8971-32f660881748
2026-01-29 17:04:30,658 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fc048465-1add-41ff-87d1-e717e2f5989a
2026-01-29 17:04:30,672 - INFO - Verified VN network id 13 for VN 3eed426d-827f-4543-8971-32f660881748
2026-01-29 17:04:30,672 - INFO - Verifications in API Server for VN ctest-vn-29323812 passed
2026-01-29 17:04:30,672 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3eed426d-827f-4543-8971-32f660881748
2026-01-29 17:04:30,679 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fc048465-1add-41ff-87d1-e717e2f5989a
2026-01-29 17:04:30,685 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fc048465-1add-41ff-87d1-e717e2f5989a
2026-01-29 17:04:30,691 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ef69adcc-c62d-455d-ab87-e652835ee53e
2026-01-29 17:04:30,701 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67305249:ctest-vn-29323812', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67305249', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4534353437940204867', 'uuid-lslong': '9903753089327306568'}, 'enable': 'true', 'created': '2026-01-29T17:04:28', 'last-modified': '2026-01-29T17:04:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.227297'}
2026-01-29 17:04:30,706 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 17:04:30,706 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29323812 passed
2026-01-29 17:04:30,706 - DEBUG - ====Verifying policy data for ctest-vn-29323812 in API_Server ======
2026-01-29 17:04:30,706 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-29 17:04:30,711 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8200053f-7cd6-4218-b830-7c78a282c893
2026-01-29 17:04:30,720 - DEBUG - Requesting: http://10.0.0.33:8082/project/3c0f06ed-00ea-4a91-809e-488afb2ec1f8
2026-01-29 17:04:30,788 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3eed426d-827f-4543-8971-32f660881748
2026-01-29 17:04:30,797 - DEBUG - ==>Verifying data for policy with id: fc64176c-c3a0-48dd-8061-0f95b61439f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-67305249', 'ctest-policy-allow-all-78842109']
2026-01-29 17:04:30,797 - INFO - VN ctest-vn-29323812 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 17:04:30,797 - DEBUG - Verifying the vn in opserver
2026-01-29 17:04:30,797 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67305249:ctest-vn-29323812 virtual network link through opserver 10.0.0.33
2026-01-29 17:04:30,797 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-29 17:04:30,805 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67305249:ctest-vn-29323812', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67305249:ctest-vn-29323812?flat'}
2026-01-29 17:04:30,805 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67305249:ctest-vn-29323812 is found in opserver
2026-01-29 17:04:30,814 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 17:04:30,818 - DEBUG - VRF ids for VN ctest-vn-29323812: {}
2026-01-29 17:04:30,870 - DEBUG - Services list from nova: [