2026-02-03 21:06:19,901 - INFO - Domain Default found not creating
2026-02-03 21:06:20,075 - INFO - Project ctest-TestBasicPolicy-30854106 not found, creating it
2026-02-03 21:06:20,544 - INFO - Created Project:ctest-TestBasicPolicy-30854106, ID : e0260f01-5c42-4bf6-85e4-6fcb6a88c663
2026-02-03 21:06:22,027 - INFO - ================================================================================
2026-02-03 21:06:22,027 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-03 21:06:22,027 - 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-03 21:06:22,288 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with
2026-02-03 21:06:22,288 - INFO - Initial checks done. Running the testcase now
2026-02-03 21:06:22,288 - INFO -
2026-02-03 21:06:22,844 - DEBUG - Response for create_network : {'network': {'id': '054dc7d7-1f55-4edb-b67d-f559b89af4f3', 'name': 'ctest-vn-95998175', 'tenant_id': 'e0260f015c424bf685e46fcb6a88c663', 'project_id': 'e0260f015c424bf685e46fcb6a88c663', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30854106', 'ctest-vn-95998175'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 21:06:23,047 - DEBUG - Response for create_subnet : {'subnet': {'id': '6cc24551-0bed-4789-a191-4981d7c55eb4', 'name': '', 'tenant_id': 'e0260f015c424bf685e46fcb6a88c663', 'network_id': '054dc7d7-1f55-4edb-b67d-f559b89af4f3', 'ip_version': 4, 'cidr': '161.208.227.128/26', 'allocation_pools': [{'start': '161.208.227.130', 'end': '161.208.227.190'}], 'gateway_ip': '161.208.227.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.208.227.130', 'tags': [], 'project_id': 'e0260f015c424bf685e46fcb6a88c663'}}
2026-02-03 21:06:23,064 - INFO - Created VN ctest-vn-95998175
2026-02-03 21:06:23,117 - DEBUG - VN ctest-vn-95998175 UUID is 054dc7d7-1f55-4edb-b67d-f559b89af4f3
2026-02-03 21:06:23,463 - DEBUG - Response for create_network : {'network': {'id': '231affa0-6fe9-48b0-a304-eb26cb75f239', 'name': 'ctest-vn-84386484', 'tenant_id': 'e0260f015c424bf685e46fcb6a88c663', 'project_id': 'e0260f015c424bf685e46fcb6a88c663', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30854106', 'ctest-vn-84386484'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 21:06:23,680 - DEBUG - Response for create_subnet : {'subnet': {'id': '88755ffe-36c1-4743-a446-54eee12b3ccf', 'name': '', 'tenant_id': 'e0260f015c424bf685e46fcb6a88c663', 'network_id': '231affa0-6fe9-48b0-a304-eb26cb75f239', 'ip_version': 4, 'cidr': '164.195.253.192/26', 'allocation_pools': [{'start': '164.195.253.194', 'end': '164.195.253.254'}], 'gateway_ip': '164.195.253.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.195.253.194', 'tags': [], 'project_id': 'e0260f015c424bf685e46fcb6a88c663'}}
2026-02-03 21:06:23,698 - INFO - Created VN ctest-vn-84386484
2026-02-03 21:06:23,749 - DEBUG - VN ctest-vn-84386484 UUID is 231affa0-6fe9-48b0-a304-eb26cb75f239
2026-02-03 21:06:23,873 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30854106:ctest-vn-95998175, 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-30854106:ctest-vn-84386484, 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-03 21:06:24,162 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '054dc7d7-1f55-4edb-b67d-f559b89af4f3', 'name': 'ctest-vn-95998175', 'tenant_id': 'e0260f015c424bf685e46fcb6a88c663', 'project_id': 'e0260f015c424bf685e46fcb6a88c663', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6cc24551-0bed-4789-a191-4981d7c55eb4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30854106', 'ctest-vn-95998175'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30854106', 'ctest-policy-allow-all-69721803']], 'subnet_ipam': [{'subnet_cidr': '161.208.227.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 21:06:24,387 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '231affa0-6fe9-48b0-a304-eb26cb75f239', 'name': 'ctest-vn-84386484', 'tenant_id': 'e0260f015c424bf685e46fcb6a88c663', 'project_id': 'e0260f015c424bf685e46fcb6a88c663', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['88755ffe-36c1-4743-a446-54eee12b3ccf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30854106', 'ctest-vn-84386484'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30854106', 'ctest-policy-allow-all-69721803']], 'subnet_ipam': [{'subnet_cidr': '164.195.253.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 21:06:24,549 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-03 21:06:24,854 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-03 21:06:24,887 - DEBUG - Requesting: http://10.0.0.129:8082/domain/504552fa-7832-4ecf-8699-e8087ce376e8
2026-02-03 21:06:24,901 - DEBUG - Requesting: http://10.0.0.129:8082/project/e0260f01-5c42-4bf6-85e4-6fcb6a88c663
2026-02-03 21:06:24,975 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/054dc7d7-1f55-4edb-b67d-f559b89af4f3
2026-02-03 21:06:24,985 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/054dc7d7-1f55-4edb-b67d-f559b89af4f3
2026-02-03 21:06:24,993 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/5f13da1a-cd67-45a8-be7c-4e3f663850f6
2026-02-03 21:06:24,999 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/5f13da1a-cd67-45a8-be7c-4e3f663850f6
2026-02-03 21:06:25,006 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/41dab66c-5661-40d6-957d-1407d474f40d
2026-02-03 21:06:25,011 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 21:06:25,012 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/054dc7d7-1f55-4edb-b67d-f559b89af4f3
2026-02-03 21:06:25,022 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/5f13da1a-cd67-45a8-be7c-4e3f663850f6
2026-02-03 21:06:25,038 - INFO - Verified VN network id 12 for VN 054dc7d7-1f55-4edb-b67d-f559b89af4f3
2026-02-03 21:06:25,038 - INFO - Verifications in API Server for VN ctest-vn-95998175 passed
2026-02-03 21:06:25,038 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/054dc7d7-1f55-4edb-b67d-f559b89af4f3
2026-02-03 21:06:25,047 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/5f13da1a-cd67-45a8-be7c-4e3f663850f6
2026-02-03 21:06:25,054 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/5f13da1a-cd67-45a8-be7c-4e3f663850f6
2026-02-03 21:06:25,060 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/41dab66c-5661-40d6-957d-1407d474f40d
2026-02-03 21:06:25,072 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30854106:ctest-vn-95998175', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30854106', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '382181270153940699', 'uuid-lslong': '13149936252689773811'}, 'enable': 'true', 'created': '2026-02-03T21:06:22', 'last-modified': '2026-02-03T21:06:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.926592'}
2026-02-03 21:06:25,078 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 21:06:25,078 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95998175 passed
2026-02-03 21:06:25,078 - DEBUG - ====Verifying policy data for ctest-vn-95998175 in API_Server ======
2026-02-03 21:06:25,078 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-03 21:06:25,083 - DEBUG - Requesting: http://10.0.0.129:8082/domain/504552fa-7832-4ecf-8699-e8087ce376e8
2026-02-03 21:06:25,094 - DEBUG - Requesting: http://10.0.0.129:8082/project/e0260f01-5c42-4bf6-85e4-6fcb6a88c663
2026-02-03 21:06:25,167 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/054dc7d7-1f55-4edb-b67d-f559b89af4f3
2026-02-03 21:06:25,178 - DEBUG - ==>Verifying data for policy with id: c92818e8-2d7a-4a6c-a4f4-8afff7c97d5f, fqn: ['default-domain', 'ctest-TestBasicPolicy-30854106', 'ctest-policy-allow-all-69721803']
2026-02-03 21:06:25,178 - INFO - VN ctest-vn-95998175 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 21:06:25,178 - DEBUG - Verifying the vn in opserver
2026-02-03 21:06:25,178 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30854106:ctest-vn-95998175 virtual network link through opserver 10.0.0.129
2026-02-03 21:06:25,179 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-03 21:06:25,476 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-03 21:06:25,545 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30854106:ctest-vn-95998175', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30854106:ctest-vn-95998175?flat'}
2026-02-03 21:06:25,545 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30854106:ctest-vn-95998175 is found in opserver
2026-02-03 21:06:25,556 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 21:06:25,560 - DEBUG - VRF ids for VN ctest-vn-95998175: {}
2026-02-03 21:06:25,560 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-03 21:06:25,565 - DEBUG - Requesting: http://10.0.0.129:8082/domain/504552fa-7832-4ecf-8699-e8087ce376e8
2026-02-03 21:06:25,576 - DEBUG - Requesting: http://10.0.0.129:8082/project/e0260f01-5c42-4bf6-85e4-6fcb6a88c663
2026-02-03 21:06:25,649 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/231affa0-6fe9-48b0-a304-eb26cb75f239
2026-02-03 21:06:25,661 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/231affa0-6fe9-48b0-a304-eb26cb75f239
2026-02-03 21:06:25,671 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/57c7cc28-1567-4193-844d-bf99a2e8fc66
2026-02-03 21:06:25,679 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/57c7cc28-1567-4193-844d-bf99a2e8fc66
2026-02-03 21:06:25,685 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/215859ed-dc3e-4f72-95fa-05ef999a0cd6
2026-02-03 21:06:25,691 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 21:06:25,691 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/231affa0-6fe9-48b0-a304-eb26cb75f239
2026-02-03 21:06:25,700 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/57c7cc28-1567-4193-844d-bf99a2e8fc66
2026-02-03 21:06:25,713 - INFO - Verified VN network id 13 for VN 231affa0-6fe9-48b0-a304-eb26cb75f239
2026-02-03 21:06:25,713 - INFO - Verifications in API Server for VN ctest-vn-84386484 passed
2026-02-03 21:06:25,713 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/231affa0-6fe9-48b0-a304-eb26cb75f239
2026-02-03 21:06:25,724 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/57c7cc28-1567-4193-844d-bf99a2e8fc66
2026-02-03 21:06:25,732 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/57c7cc28-1567-4193-844d-bf99a2e8fc66
2026-02-03 21:06:25,739 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/215859ed-dc3e-4f72-95fa-05ef999a0cd6
2026-02-03 21:06:25,751 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30854106:ctest-vn-84386484', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30854106', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2529615205259364528', 'uuid-lslong': '11746772279943885369'}, 'enable': 'true', 'created': '2026-02-03T21:06:23', 'last-modified': '2026-02-03T21:06:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.382920'}
2026-02-03 21:06:25,757 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 21:06:25,757 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84386484 passed
2026-02-03 21:06:25,757 - DEBUG - ====Verifying policy data for ctest-vn-84386484 in API_Server ======
2026-02-03 21:06:25,757 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-03 21:06:25,763 - DEBUG - Requesting: http://10.0.0.129:8082/domain/504552fa-7832-4ecf-8699-e8087ce376e8
2026-02-03 21:06:25,773 - DEBUG - Requesting: http://10.0.0.129:8082/project/e0260f01-5c42-4bf6-85e4-6fcb6a88c663
2026-02-03 21:06:25,850 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/231affa0-6fe9-48b0-a304-eb26cb75f239
2026-02-03 21:06:25,859 - DEBUG - ==>Verifying data for policy with id: c92818e8-2d7a-4a6c-a4f4-8afff7c97d5f, fqn: ['default-domain', 'ctest-TestBasicPolicy-30854106', 'ctest-policy-allow-all-69721803']
2026-02-03 21:06:25,859 - INFO - VN ctest-vn-84386484 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 21:06:25,859 - DEBUG - Verifying the vn in opserver
2026-02-03 21:06:25,859 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30854106:ctest-vn-84386484 virtual network link through opserver 10.0.0.129
2026-02-03 21:06:25,859 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-03 21:06:25,869 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30854106:ctest-vn-84386484', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30854106:ctest-vn-84386484?flat'}
2026-02-03 21:06:25,869 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30854106:ctest-vn-84386484 is found in opserver
2026-02-03 21:06:25,878 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 21:06:25,883 - DEBUG - VRF ids for VN ctest-vn-84386484: {}
2026-02-03 21:06:25,944 - DEBUG - Services list from nova: [