2026-07-06 15:06:36,669 - INFO - Domain Default found not creating
2026-07-06 15:06:36,835 - INFO - Project ctest-TestBasicPolicy-44433424 not found, creating it
2026-07-06 15:06:37,334 - INFO - Created Project:ctest-TestBasicPolicy-44433424, ID : 803066c3-62f6-4c18-aff0-88ce6a9cf19e
2026-07-06 15:06:38,918 - INFO - ================================================================================
2026-07-06 15:06:38,918 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-06 15:06:38,918 - 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-07-06 15:06:39,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2026-07-06 15:06:39,177 - INFO - Initial checks done. Running the testcase now
2026-07-06 15:06:39,177 - INFO -
2026-07-06 15:06:39,807 - DEBUG - Response for create_network : {'network': {'id': 'ceb4d160-052e-47a2-a746-76df07c82bb7', 'name': 'ctest-vn-83651549', 'tenant_id': '803066c362f64c18aff088ce6a9cf19e', 'project_id': '803066c362f64c18aff088ce6a9cf19e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44433424', 'ctest-vn-83651549'], 'port_security_enabled': True, 'description': ''}}
2026-07-06 15:06:39,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d4f2928-2aa8-463a-ba3d-58d434a8347d', 'name': '', 'tenant_id': '803066c362f64c18aff088ce6a9cf19e', 'network_id': 'ceb4d160-052e-47a2-a746-76df07c82bb7', 'ip_version': 4, 'cidr': '19.195.45.0/26', 'allocation_pools': [{'start': '19.195.45.2', 'end': '19.195.45.62'}], 'gateway_ip': '19.195.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.195.45.2', 'tags': [], 'project_id': '803066c362f64c18aff088ce6a9cf19e'}}
2026-07-06 15:06:40,010 - INFO - Created VN ctest-vn-83651549
2026-07-06 15:06:40,061 - DEBUG - VN ctest-vn-83651549 UUID is ceb4d160-052e-47a2-a746-76df07c82bb7
2026-07-06 15:06:40,384 - DEBUG - Response for create_network : {'network': {'id': 'ddfdd370-825f-4b17-9b03-7e8cf031fde2', 'name': 'ctest-vn-55638062', 'tenant_id': '803066c362f64c18aff088ce6a9cf19e', 'project_id': '803066c362f64c18aff088ce6a9cf19e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44433424', 'ctest-vn-55638062'], 'port_security_enabled': True, 'description': ''}}
2026-07-06 15:06:40,611 - DEBUG - Response for create_subnet : {'subnet': {'id': '68df5c32-20cb-4eb1-86c4-6af07d7e6b9f', 'name': '', 'tenant_id': '803066c362f64c18aff088ce6a9cf19e', 'network_id': 'ddfdd370-825f-4b17-9b03-7e8cf031fde2', 'ip_version': 4, 'cidr': '81.215.177.192/26', 'allocation_pools': [{'start': '81.215.177.194', 'end': '81.215.177.254'}], 'gateway_ip': '81.215.177.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.215.177.194', 'tags': [], 'project_id': '803066c362f64c18aff088ce6a9cf19e'}}
2026-07-06 15:06:40,632 - INFO - Created VN ctest-vn-55638062
2026-07-06 15:06:40,685 - DEBUG - VN ctest-vn-55638062 UUID is ddfdd370-825f-4b17-9b03-7e8cf031fde2
2026-07-06 15:06:40,802 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44433424:ctest-vn-83651549, 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-44433424:ctest-vn-55638062, 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-07-06 15:06:41,117 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ceb4d160-052e-47a2-a746-76df07c82bb7', 'name': 'ctest-vn-83651549', 'tenant_id': '803066c362f64c18aff088ce6a9cf19e', 'project_id': '803066c362f64c18aff088ce6a9cf19e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d4f2928-2aa8-463a-ba3d-58d434a8347d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44433424', 'ctest-vn-83651549'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44433424', 'ctest-policy-allow-all-65455412']], 'subnet_ipam': [{'subnet_cidr': '19.195.45.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-06 15:06:41,361 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ddfdd370-825f-4b17-9b03-7e8cf031fde2', 'name': 'ctest-vn-55638062', 'tenant_id': '803066c362f64c18aff088ce6a9cf19e', 'project_id': '803066c362f64c18aff088ce6a9cf19e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['68df5c32-20cb-4eb1-86c4-6af07d7e6b9f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44433424', 'ctest-vn-55638062'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44433424', 'ctest-policy-allow-all-65455412']], 'subnet_ipam': [{'subnet_cidr': '81.215.177.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-06 15:06:41,530 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-07-06 15:06:41,855 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-07-06 15:06:41,884 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4a0367f7-b3ca-41f5-b908-0459f29be9db
2026-07-06 15:06:41,897 - DEBUG - Requesting: http://10.0.0.141:8082/project/803066c3-62f6-4c18-aff0-88ce6a9cf19e
2026-07-06 15:06:41,972 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ceb4d160-052e-47a2-a746-76df07c82bb7
2026-07-06 15:06:41,984 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ceb4d160-052e-47a2-a746-76df07c82bb7
2026-07-06 15:06:41,994 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9a892320-d1f8-4673-8ffe-350a42e985e9
2026-07-06 15:06:42,002 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9a892320-d1f8-4673-8ffe-350a42e985e9
2026-07-06 15:06:42,010 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/37e53d2c-8a03-40c3-8b46-52a5e860472d
2026-07-06 15:06:42,017 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-06 15:06:42,017 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ceb4d160-052e-47a2-a746-76df07c82bb7
2026-07-06 15:06:42,026 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9a892320-d1f8-4673-8ffe-350a42e985e9
2026-07-06 15:06:42,042 - INFO - Verified VN network id 11 for VN ceb4d160-052e-47a2-a746-76df07c82bb7
2026-07-06 15:06:42,042 - INFO - Verifications in API Server for VN ctest-vn-83651549 passed
2026-07-06 15:06:42,042 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ceb4d160-052e-47a2-a746-76df07c82bb7
2026-07-06 15:06:42,052 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9a892320-d1f8-4673-8ffe-350a42e985e9
2026-07-06 15:06:42,059 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9a892320-d1f8-4673-8ffe-350a42e985e9
2026-07-06 15:06:42,068 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/37e53d2c-8a03-40c3-8b46-52a5e860472d
2026-07-06 15:06:42,080 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44433424:ctest-vn-83651549', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44433424', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14894760077955057570', 'uuid-lslong': '12053452152984054711'}, 'enable': 'true', 'created': '2026-07-06T15:06:39', 'last-modified': '2026-07-06T15:06:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987617'}
2026-07-06 15:06:42,087 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-06 15:06:42,087 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83651549 passed
2026-07-06 15:06:42,087 - DEBUG - ====Verifying policy data for ctest-vn-83651549 in API_Server ======
2026-07-06 15:06:42,087 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-07-06 15:06:42,094 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4a0367f7-b3ca-41f5-b908-0459f29be9db
2026-07-06 15:06:42,106 - DEBUG - Requesting: http://10.0.0.141:8082/project/803066c3-62f6-4c18-aff0-88ce6a9cf19e
2026-07-06 15:06:42,180 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ceb4d160-052e-47a2-a746-76df07c82bb7
2026-07-06 15:06:42,189 - DEBUG - ==>Verifying data for policy with id: 18b17128-bc7c-4b0b-a143-4e95ddcdfe85, fqn: ['default-domain', 'ctest-TestBasicPolicy-44433424', 'ctest-policy-allow-all-65455412']
2026-07-06 15:06:42,189 - INFO - VN ctest-vn-83651549 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-06 15:06:42,189 - DEBUG - Verifying the vn in opserver
2026-07-06 15:06:42,189 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44433424:ctest-vn-83651549 virtual network link through opserver 10.0.0.141
2026-07-06 15:06:42,190 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-07-06 15:06:42,512 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-07-06 15:06:42,570 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44433424:ctest-vn-83651549', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44433424:ctest-vn-83651549?flat'}
2026-07-06 15:06:42,570 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44433424:ctest-vn-83651549 is found in opserver
2026-07-06 15:06:42,579 - DEBUG - Do not have enough data to verify VN in agent
2026-07-06 15:06:42,584 - DEBUG - VRF ids for VN ctest-vn-83651549: {}
2026-07-06 15:06:42,585 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-07-06 15:06:42,591 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4a0367f7-b3ca-41f5-b908-0459f29be9db
2026-07-06 15:06:42,607 - DEBUG - Requesting: http://10.0.0.141:8082/project/803066c3-62f6-4c18-aff0-88ce6a9cf19e
2026-07-06 15:06:42,679 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ddfdd370-825f-4b17-9b03-7e8cf031fde2
2026-07-06 15:06:42,692 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ddfdd370-825f-4b17-9b03-7e8cf031fde2
2026-07-06 15:06:42,701 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6c3a8768-263d-4096-a1f0-d16d865dac02
2026-07-06 15:06:42,709 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6c3a8768-263d-4096-a1f0-d16d865dac02
2026-07-06 15:06:42,718 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/20849a8f-2e89-4560-8ff1-c6f4db155d75
2026-07-06 15:06:42,726 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-06 15:06:42,726 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ddfdd370-825f-4b17-9b03-7e8cf031fde2
2026-07-06 15:06:42,739 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6c3a8768-263d-4096-a1f0-d16d865dac02
2026-07-06 15:06:42,757 - INFO - Verified VN network id 12 for VN ddfdd370-825f-4b17-9b03-7e8cf031fde2
2026-07-06 15:06:42,757 - INFO - Verifications in API Server for VN ctest-vn-55638062 passed
2026-07-06 15:06:42,757 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ddfdd370-825f-4b17-9b03-7e8cf031fde2
2026-07-06 15:06:42,769 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6c3a8768-263d-4096-a1f0-d16d865dac02
2026-07-06 15:06:42,777 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6c3a8768-263d-4096-a1f0-d16d865dac02
2026-07-06 15:06:42,786 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/20849a8f-2e89-4560-8ff1-c6f4db155d75
2026-07-06 15:06:42,802 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44433424:ctest-vn-55638062', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44433424', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15996173931666950935', 'uuid-lslong': '11169910644599291362'}, 'enable': 'true', 'created': '2026-07-06T15:06:40', 'last-modified': '2026-07-06T15:06:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.462513'}
2026-07-06 15:06:42,809 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-06 15:06:42,809 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55638062 passed
2026-07-06 15:06:42,810 - DEBUG - ====Verifying policy data for ctest-vn-55638062 in API_Server ======
2026-07-06 15:06:42,810 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-07-06 15:06:42,816 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4a0367f7-b3ca-41f5-b908-0459f29be9db
2026-07-06 15:06:42,834 - DEBUG - Requesting: http://10.0.0.141:8082/project/803066c3-62f6-4c18-aff0-88ce6a9cf19e
2026-07-06 15:06:42,916 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ddfdd370-825f-4b17-9b03-7e8cf031fde2
2026-07-06 15:06:42,926 - DEBUG - ==>Verifying data for policy with id: 18b17128-bc7c-4b0b-a143-4e95ddcdfe85, fqn: ['default-domain', 'ctest-TestBasicPolicy-44433424', 'ctest-policy-allow-all-65455412']
2026-07-06 15:06:42,926 - INFO - VN ctest-vn-55638062 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-06 15:06:42,926 - DEBUG - Verifying the vn in opserver
2026-07-06 15:06:42,926 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44433424:ctest-vn-55638062 virtual network link through opserver 10.0.0.141
2026-07-06 15:06:42,926 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-07-06 15:06:42,938 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44433424:ctest-vn-55638062', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44433424:ctest-vn-55638062?flat'}
2026-07-06 15:06:42,938 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44433424:ctest-vn-55638062 is found in opserver
2026-07-06 15:06:42,950 - DEBUG - Do not have enough data to verify VN in agent
2026-07-06 15:06:42,956 - DEBUG - VRF ids for VN ctest-vn-55638062: {}
2026-07-06 15:06:43,023 - DEBUG - Services list from nova: [