2026-08-24 04:32:32,433 - INFO - Domain Default found not creating
2026-08-24 04:32:32,608 - INFO - Project ctest-TestBasicPolicy-19523494 not found, creating it
2026-08-24 04:32:33,113 - INFO - Created Project:ctest-TestBasicPolicy-19523494, ID : 24a19d4b-ad62-4d01-bf8f-3901ad69b652
2026-08-24 04:32:34,894 - INFO - ================================================================================
2026-08-24 04:32:34,894 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-24 04:32:34,894 - 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-08-24 04:32:35,154 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.209': '0'}} with
2026-08-24 04:32:35,155 - INFO - Initial checks done. Running the testcase now
2026-08-24 04:32:35,155 - INFO -
2026-08-24 04:32:35,824 - DEBUG - Response for create_network : {'network': {'id': '6a297f4b-ef9d-49b8-a900-46ba69d81967', 'name': 'ctest-vn-66442660', 'tenant_id': '24a19d4bad624d01bf8f3901ad69b652', 'project_id': '24a19d4bad624d01bf8f3901ad69b652', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19523494', 'ctest-vn-66442660'], 'port_security_enabled': True, 'description': ''}}
2026-08-24 04:32:36,045 - DEBUG - Response for create_subnet : {'subnet': {'id': '379dbac3-0cd0-4a4f-9469-9ccfb41cd2c5', 'name': '', 'tenant_id': '24a19d4bad624d01bf8f3901ad69b652', 'network_id': '6a297f4b-ef9d-49b8-a900-46ba69d81967', 'ip_version': 4, 'cidr': '200.216.18.192/26', 'allocation_pools': [{'start': '200.216.18.194', 'end': '200.216.18.254'}], 'gateway_ip': '200.216.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.216.18.194', 'tags': [], 'project_id': '24a19d4bad624d01bf8f3901ad69b652'}}
2026-08-24 04:32:36,066 - INFO - Created VN ctest-vn-66442660
2026-08-24 04:32:36,121 - DEBUG - VN ctest-vn-66442660 UUID is 6a297f4b-ef9d-49b8-a900-46ba69d81967
2026-08-24 04:32:36,431 - DEBUG - Response for create_network : {'network': {'id': '96bb5347-d9a0-4732-807f-aa2b0557096c', 'name': 'ctest-vn-63722108', 'tenant_id': '24a19d4bad624d01bf8f3901ad69b652', 'project_id': '24a19d4bad624d01bf8f3901ad69b652', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19523494', 'ctest-vn-63722108'], 'port_security_enabled': True, 'description': ''}}
2026-08-24 04:32:36,645 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8cbdee4-7ad5-45b2-8aec-afb4c32d53c1', 'name': '', 'tenant_id': '24a19d4bad624d01bf8f3901ad69b652', 'network_id': '96bb5347-d9a0-4732-807f-aa2b0557096c', 'ip_version': 4, 'cidr': '19.10.119.128/26', 'allocation_pools': [{'start': '19.10.119.130', 'end': '19.10.119.190'}], 'gateway_ip': '19.10.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.10.119.130', 'tags': [], 'project_id': '24a19d4bad624d01bf8f3901ad69b652'}}
2026-08-24 04:32:36,666 - INFO - Created VN ctest-vn-63722108
2026-08-24 04:32:36,721 - DEBUG - VN ctest-vn-63722108 UUID is 96bb5347-d9a0-4732-807f-aa2b0557096c
2026-08-24 04:32:36,836 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19523494:ctest-vn-66442660, 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-19523494:ctest-vn-63722108, 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-08-24 04:32:37,164 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a297f4b-ef9d-49b8-a900-46ba69d81967', 'name': 'ctest-vn-66442660', 'tenant_id': '24a19d4bad624d01bf8f3901ad69b652', 'project_id': '24a19d4bad624d01bf8f3901ad69b652', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['379dbac3-0cd0-4a4f-9469-9ccfb41cd2c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19523494', 'ctest-vn-66442660'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19523494', 'ctest-policy-allow-all-17935996']], 'subnet_ipam': [{'subnet_cidr': '200.216.18.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-24 04:32:37,405 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '96bb5347-d9a0-4732-807f-aa2b0557096c', 'name': 'ctest-vn-63722108', 'tenant_id': '24a19d4bad624d01bf8f3901ad69b652', 'project_id': '24a19d4bad624d01bf8f3901ad69b652', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b8cbdee4-7ad5-45b2-8aec-afb4c32d53c1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19523494', 'ctest-vn-63722108'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19523494', 'ctest-policy-allow-all-17935996']], 'subnet_ipam': [{'subnet_cidr': '19.10.119.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-24 04:32:37,577 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-08-24 04:32:37,954 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-08-24 04:32:37,988 - DEBUG - Requesting: http://10.0.0.188:8082/domain/a50a8990-58af-4da4-8cb1-9f88b28629ea
2026-08-24 04:32:38,004 - DEBUG - Requesting: http://10.0.0.188:8082/project/24a19d4b-ad62-4d01-bf8f-3901ad69b652
2026-08-24 04:32:38,088 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/6a297f4b-ef9d-49b8-a900-46ba69d81967
2026-08-24 04:32:38,104 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/6a297f4b-ef9d-49b8-a900-46ba69d81967
2026-08-24 04:32:38,116 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/fcf6091c-c665-4e0b-9e38-475e610e00db
2026-08-24 04:32:38,125 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/fcf6091c-c665-4e0b-9e38-475e610e00db
2026-08-24 04:32:38,134 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/dc66c633-3b4b-450c-9e17-b2d4e684519c
2026-08-24 04:32:38,142 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-24 04:32:38,142 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/6a297f4b-ef9d-49b8-a900-46ba69d81967
2026-08-24 04:32:38,152 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/fcf6091c-c665-4e0b-9e38-475e610e00db
2026-08-24 04:32:38,168 - INFO - Verified VN network id 11 for VN 6a297f4b-ef9d-49b8-a900-46ba69d81967
2026-08-24 04:32:38,169 - INFO - Verifications in API Server for VN ctest-vn-66442660 passed
2026-08-24 04:32:38,169 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/6a297f4b-ef9d-49b8-a900-46ba69d81967
2026-08-24 04:32:38,180 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/fcf6091c-c665-4e0b-9e38-475e610e00db
2026-08-24 04:32:38,189 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/fcf6091c-c665-4e0b-9e38-475e610e00db
2026-08-24 04:32:38,198 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/dc66c633-3b4b-450c-9e17-b2d4e684519c
2026-08-24 04:32:38,214 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19523494:ctest-vn-66442660', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19523494', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7649785406184835512', 'uuid-lslong': '12177811158863452519'}, 'enable': 'true', 'created': '2026-08-24T04:32:35', 'last-modified': '2026-08-24T04:32:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.074614'}
2026-08-24 04:32:38,221 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-24 04:32:38,221 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66442660 passed
2026-08-24 04:32:38,221 - DEBUG - ====Verifying policy data for ctest-vn-66442660 in API_Server ======
2026-08-24 04:32:38,221 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-08-24 04:32:38,228 - DEBUG - Requesting: http://10.0.0.188:8082/domain/a50a8990-58af-4da4-8cb1-9f88b28629ea
2026-08-24 04:32:38,243 - DEBUG - Requesting: http://10.0.0.188:8082/project/24a19d4b-ad62-4d01-bf8f-3901ad69b652
2026-08-24 04:32:38,329 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/6a297f4b-ef9d-49b8-a900-46ba69d81967
2026-08-24 04:32:38,340 - DEBUG - ==>Verifying data for policy with id: 32145cfb-dc2a-4446-9bd3-1024d1b7c9fc, fqn: ['default-domain', 'ctest-TestBasicPolicy-19523494', 'ctest-policy-allow-all-17935996']
2026-08-24 04:32:38,340 - INFO - VN ctest-vn-66442660 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-24 04:32:38,340 - DEBUG - Verifying the vn in opserver
2026-08-24 04:32:38,340 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19523494:ctest-vn-66442660 virtual network link through opserver 10.0.0.188
2026-08-24 04:32:38,340 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks
2026-08-24 04:32:38,709 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks
2026-08-24 04:32:38,785 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19523494:ctest-vn-66442660', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19523494:ctest-vn-66442660?flat'}
2026-08-24 04:32:38,785 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19523494:ctest-vn-66442660 is found in opserver
2026-08-24 04:32:38,798 - DEBUG - Do not have enough data to verify VN in agent
2026-08-24 04:32:38,804 - DEBUG - VRF ids for VN ctest-vn-66442660: {}
2026-08-24 04:32:38,804 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-08-24 04:32:38,810 - DEBUG - Requesting: http://10.0.0.188:8082/domain/a50a8990-58af-4da4-8cb1-9f88b28629ea
2026-08-24 04:32:38,823 - DEBUG - Requesting: http://10.0.0.188:8082/project/24a19d4b-ad62-4d01-bf8f-3901ad69b652
2026-08-24 04:32:38,914 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/96bb5347-d9a0-4732-807f-aa2b0557096c
2026-08-24 04:32:38,930 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/96bb5347-d9a0-4732-807f-aa2b0557096c
2026-08-24 04:32:38,942 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/e0597371-aa62-4bd9-8c02-5633793a9bc1
2026-08-24 04:32:38,956 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/e0597371-aa62-4bd9-8c02-5633793a9bc1
2026-08-24 04:32:38,963 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/acf819a3-4765-469b-8d9d-715e03e4b7fe
2026-08-24 04:32:38,971 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-24 04:32:38,971 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/96bb5347-d9a0-4732-807f-aa2b0557096c
2026-08-24 04:32:38,984 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/e0597371-aa62-4bd9-8c02-5633793a9bc1
2026-08-24 04:32:39,005 - INFO - Verified VN network id 12 for VN 96bb5347-d9a0-4732-807f-aa2b0557096c
2026-08-24 04:32:39,006 - INFO - Verifications in API Server for VN ctest-vn-63722108 passed
2026-08-24 04:32:39,006 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/96bb5347-d9a0-4732-807f-aa2b0557096c
2026-08-24 04:32:39,016 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/e0597371-aa62-4bd9-8c02-5633793a9bc1
2026-08-24 04:32:39,024 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/e0597371-aa62-4bd9-8c02-5633793a9bc1
2026-08-24 04:32:39,032 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/acf819a3-4765-469b-8d9d-715e03e4b7fe
2026-08-24 04:32:39,047 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19523494:ctest-vn-63722108', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19523494', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10861366494393026354', 'uuid-lslong': '9259306460646934892'}, 'enable': 'true', 'created': '2026-08-24T04:32:36', 'last-modified': '2026-08-24T04:32:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.678719'}
2026-08-24 04:32:39,055 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-24 04:32:39,055 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63722108 passed
2026-08-24 04:32:39,055 - DEBUG - ====Verifying policy data for ctest-vn-63722108 in API_Server ======
2026-08-24 04:32:39,055 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-08-24 04:32:39,062 - DEBUG - Requesting: http://10.0.0.188:8082/domain/a50a8990-58af-4da4-8cb1-9f88b28629ea
2026-08-24 04:32:39,077 - DEBUG - Requesting: http://10.0.0.188:8082/project/24a19d4b-ad62-4d01-bf8f-3901ad69b652
2026-08-24 04:32:39,160 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/96bb5347-d9a0-4732-807f-aa2b0557096c
2026-08-24 04:32:39,181 - DEBUG - ==>Verifying data for policy with id: 32145cfb-dc2a-4446-9bd3-1024d1b7c9fc, fqn: ['default-domain', 'ctest-TestBasicPolicy-19523494', 'ctest-policy-allow-all-17935996']
2026-08-24 04:32:39,181 - INFO - VN ctest-vn-63722108 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-24 04:32:39,181 - DEBUG - Verifying the vn in opserver
2026-08-24 04:32:39,181 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19523494:ctest-vn-63722108 virtual network link through opserver 10.0.0.188
2026-08-24 04:32:39,181 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks
2026-08-24 04:32:39,197 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19523494:ctest-vn-63722108', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19523494:ctest-vn-63722108?flat'}
2026-08-24 04:32:39,197 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19523494:ctest-vn-63722108 is found in opserver
2026-08-24 04:32:39,209 - DEBUG - Do not have enough data to verify VN in agent
2026-08-24 04:32:39,215 - DEBUG - VRF ids for VN ctest-vn-63722108: {}
2026-08-24 04:32:39,285 - DEBUG - Services list from nova: [