2026-01-29 08:21:11,108 - INFO - Domain Default found not creating
2026-01-29 08:21:11,253 - INFO - Project ctest-TestBasicPolicy-20436634 not found, creating it
2026-01-29 08:21:11,681 - INFO - Created Project:ctest-TestBasicPolicy-20436634, ID : c2b24058-4475-4999-98cd-aa0ab9eefc3f
2026-01-29 08:21:13,058 - INFO - ================================================================================
2026-01-29 08:21:13,058 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 08:21:13,058 - 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 08:21:13,317 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-01-29 08:21:13,318 - INFO - Initial checks done. Running the testcase now
2026-01-29 08:21:13,318 - INFO -
2026-01-29 08:21:13,831 - DEBUG - Response for create_network : {'network': {'id': 'ed702dea-c72b-441b-9652-cecb8a912187', 'name': 'ctest-vn-87440081', 'tenant_id': 'c2b240584475499998cdaa0ab9eefc3f', 'project_id': 'c2b240584475499998cdaa0ab9eefc3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-vn-87440081'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 08:21:13,973 - DEBUG - Response for create_subnet : {'subnet': {'id': '303e9546-4eb0-4fcf-a921-4d13f1bc71f0', 'name': '', 'tenant_id': 'c2b240584475499998cdaa0ab9eefc3f', 'network_id': 'ed702dea-c72b-441b-9652-cecb8a912187', 'ip_version': 4, 'cidr': '89.162.105.0/26', 'allocation_pools': [{'start': '89.162.105.2', 'end': '89.162.105.62'}], 'gateway_ip': '89.162.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.162.105.2', 'tags': [], 'project_id': 'c2b240584475499998cdaa0ab9eefc3f'}}
2026-01-29 08:21:13,989 - INFO - Created VN ctest-vn-87440081
2026-01-29 08:21:14,039 - DEBUG - VN ctest-vn-87440081 UUID is ed702dea-c72b-441b-9652-cecb8a912187
2026-01-29 08:21:14,337 - DEBUG - Response for create_network : {'network': {'id': '79287f9c-0ee7-47de-a823-603025823092', 'name': 'ctest-vn-84434094', 'tenant_id': 'c2b240584475499998cdaa0ab9eefc3f', 'project_id': 'c2b240584475499998cdaa0ab9eefc3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-vn-84434094'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 08:21:14,478 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f407d1e-e37d-46f9-b4b9-f979ade8a7bb', 'name': '', 'tenant_id': 'c2b240584475499998cdaa0ab9eefc3f', 'network_id': '79287f9c-0ee7-47de-a823-603025823092', 'ip_version': 4, 'cidr': '75.56.103.128/26', 'allocation_pools': [{'start': '75.56.103.130', 'end': '75.56.103.190'}], 'gateway_ip': '75.56.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.56.103.130', 'tags': [], 'project_id': 'c2b240584475499998cdaa0ab9eefc3f'}}
2026-01-29 08:21:14,493 - INFO - Created VN ctest-vn-84434094
2026-01-29 08:21:14,543 - DEBUG - VN ctest-vn-84434094 UUID is 79287f9c-0ee7-47de-a823-603025823092
2026-01-29 08:21:14,683 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-87440081, 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-20436634:ctest-vn-84434094, 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 08:21:14,957 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed702dea-c72b-441b-9652-cecb8a912187', 'name': 'ctest-vn-87440081', 'tenant_id': 'c2b240584475499998cdaa0ab9eefc3f', 'project_id': 'c2b240584475499998cdaa0ab9eefc3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['303e9546-4eb0-4fcf-a921-4d13f1bc71f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-vn-87440081'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-policy-allow-all-20125168']], 'subnet_ipam': [{'subnet_cidr': '89.162.105.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 08:21:15,177 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '79287f9c-0ee7-47de-a823-603025823092', 'name': 'ctest-vn-84434094', 'tenant_id': 'c2b240584475499998cdaa0ab9eefc3f', 'project_id': 'c2b240584475499998cdaa0ab9eefc3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f407d1e-e37d-46f9-b4b9-f979ade8a7bb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-vn-84434094'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-policy-allow-all-20125168']], 'subnet_ipam': [{'subnet_cidr': '75.56.103.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 08:21:15,331 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 08:21:15,623 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 08:21:15,650 - DEBUG - Requesting: http://10.0.0.38:8082/domain/77ecb557-1fda-4a32-95c5-79f53082dbb9
2026-01-29 08:21:15,660 - DEBUG - Requesting: http://10.0.0.38:8082/project/c2b24058-4475-4999-98cd-aa0ab9eefc3f
2026-01-29 08:21:15,730 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed702dea-c72b-441b-9652-cecb8a912187
2026-01-29 08:21:15,739 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed702dea-c72b-441b-9652-cecb8a912187
2026-01-29 08:21:15,746 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a8e2579-2cbf-4f2a-b351-99421a36fc17
2026-01-29 08:21:15,752 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a8e2579-2cbf-4f2a-b351-99421a36fc17
2026-01-29 08:21:15,758 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4eb4a3f1-22d4-4395-9b14-6db7066c6311
2026-01-29 08:21:15,763 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 08:21:15,763 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed702dea-c72b-441b-9652-cecb8a912187
2026-01-29 08:21:15,770 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a8e2579-2cbf-4f2a-b351-99421a36fc17
2026-01-29 08:21:15,781 - INFO - Verified VN network id 11 for VN ed702dea-c72b-441b-9652-cecb8a912187
2026-01-29 08:21:15,781 - INFO - Verifications in API Server for VN ctest-vn-87440081 passed
2026-01-29 08:21:15,781 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed702dea-c72b-441b-9652-cecb8a912187
2026-01-29 08:21:15,788 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a8e2579-2cbf-4f2a-b351-99421a36fc17
2026-01-29 08:21:15,793 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a8e2579-2cbf-4f2a-b351-99421a36fc17
2026-01-29 08:21:15,799 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4eb4a3f1-22d4-4395-9b14-6db7066c6311
2026-01-29 08:21:15,808 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-87440081', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20436634', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17109225470767612955', 'uuid-lslong': '10831947427377914247'}, 'enable': 'true', 'created': '2026-01-29T08:21:13', 'last-modified': '2026-01-29T08:21:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.863710'}
2026-01-29 08:21:15,814 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 08:21:15,814 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87440081 passed
2026-01-29 08:21:15,814 - DEBUG - ====Verifying policy data for ctest-vn-87440081 in API_Server ======
2026-01-29 08:21:15,814 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 08:21:15,818 - DEBUG - Requesting: http://10.0.0.38:8082/domain/77ecb557-1fda-4a32-95c5-79f53082dbb9
2026-01-29 08:21:15,829 - DEBUG - Requesting: http://10.0.0.38:8082/project/c2b24058-4475-4999-98cd-aa0ab9eefc3f
2026-01-29 08:21:15,899 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ed702dea-c72b-441b-9652-cecb8a912187
2026-01-29 08:21:15,908 - DEBUG - ==>Verifying data for policy with id: fa465ae6-1ba8-4495-a311-2a24368d4fd6, fqn: ['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-policy-allow-all-20125168']
2026-01-29 08:21:15,908 - INFO - VN ctest-vn-87440081 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 08:21:15,908 - DEBUG - Verifying the vn in opserver
2026-01-29 08:21:15,908 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-87440081 virtual network link through opserver 10.0.0.38
2026-01-29 08:21:15,908 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-29 08:21:16,197 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-29 08:21:16,250 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-87440081', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-87440081?flat'}
2026-01-29 08:21:16,250 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-87440081 is found in opserver
2026-01-29 08:21:16,258 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 08:21:16,262 - DEBUG - VRF ids for VN ctest-vn-87440081: {}
2026-01-29 08:21:16,262 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 08:21:16,266 - DEBUG - Requesting: http://10.0.0.38:8082/domain/77ecb557-1fda-4a32-95c5-79f53082dbb9
2026-01-29 08:21:16,275 - DEBUG - Requesting: http://10.0.0.38:8082/project/c2b24058-4475-4999-98cd-aa0ab9eefc3f
2026-01-29 08:21:16,343 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79287f9c-0ee7-47de-a823-603025823092
2026-01-29 08:21:16,353 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79287f9c-0ee7-47de-a823-603025823092
2026-01-29 08:21:16,361 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ec45a408-9c28-4667-bcc2-7fae5cc2f4e7
2026-01-29 08:21:16,367 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ec45a408-9c28-4667-bcc2-7fae5cc2f4e7
2026-01-29 08:21:16,372 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e9aedfb3-1903-40c7-87a1-5b55f6f0638f
2026-01-29 08:21:16,377 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 08:21:16,377 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79287f9c-0ee7-47de-a823-603025823092
2026-01-29 08:21:16,384 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ec45a408-9c28-4667-bcc2-7fae5cc2f4e7
2026-01-29 08:21:16,395 - INFO - Verified VN network id 12 for VN 79287f9c-0ee7-47de-a823-603025823092
2026-01-29 08:21:16,395 - INFO - Verifications in API Server for VN ctest-vn-84434094 passed
2026-01-29 08:21:16,395 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79287f9c-0ee7-47de-a823-603025823092
2026-01-29 08:21:16,403 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ec45a408-9c28-4667-bcc2-7fae5cc2f4e7
2026-01-29 08:21:16,409 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ec45a408-9c28-4667-bcc2-7fae5cc2f4e7
2026-01-29 08:21:16,414 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e9aedfb3-1903-40c7-87a1-5b55f6f0638f
2026-01-29 08:21:16,423 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-84434094', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20436634', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8730368185899370462', 'uuid-lslong': '12115633182460752018'}, 'enable': 'true', 'created': '2026-01-29T08:21:14', 'last-modified': '2026-01-29T08:21:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.265082'}
2026-01-29 08:21:16,428 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 08:21:16,428 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84434094 passed
2026-01-29 08:21:16,428 - DEBUG - ====Verifying policy data for ctest-vn-84434094 in API_Server ======
2026-01-29 08:21:16,428 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 08:21:16,432 - DEBUG - Requesting: http://10.0.0.38:8082/domain/77ecb557-1fda-4a32-95c5-79f53082dbb9
2026-01-29 08:21:16,441 - DEBUG - Requesting: http://10.0.0.38:8082/project/c2b24058-4475-4999-98cd-aa0ab9eefc3f
2026-01-29 08:21:16,511 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79287f9c-0ee7-47de-a823-603025823092
2026-01-29 08:21:16,519 - DEBUG - ==>Verifying data for policy with id: fa465ae6-1ba8-4495-a311-2a24368d4fd6, fqn: ['default-domain', 'ctest-TestBasicPolicy-20436634', 'ctest-policy-allow-all-20125168']
2026-01-29 08:21:16,519 - INFO - VN ctest-vn-84434094 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 08:21:16,519 - DEBUG - Verifying the vn in opserver
2026-01-29 08:21:16,519 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-84434094 virtual network link through opserver 10.0.0.38
2026-01-29 08:21:16,519 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-29 08:21:16,527 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-84434094', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-84434094?flat'}
2026-01-29 08:21:16,527 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20436634:ctest-vn-84434094 is found in opserver
2026-01-29 08:21:16,535 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 08:21:16,539 - DEBUG - VRF ids for VN ctest-vn-84434094: {}
2026-01-29 08:21:16,587 - DEBUG - Services list from nova: [