2026-08-25 11:18:05,061 - INFO - Domain Default found not creating
2026-08-25 11:18:05,256 - INFO - Project ctest-TestBasicPolicy-68197537 not found, creating it
2026-08-25 11:18:05,792 - INFO - Created Project:ctest-TestBasicPolicy-68197537, ID : dae9e924-08e6-4c29-891d-36b56a3ec2c9
2026-08-25 11:18:07,510 - INFO - ================================================================================
2026-08-25 11:18:07,511 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-25 11:18:07,511 - 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-25 11:18:07,786 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-08-25 11:18:07,786 - INFO - Initial checks done. Running the testcase now
2026-08-25 11:18:07,786 - INFO -
2026-08-25 11:18:08,454 - DEBUG - Response for create_network : {'network': {'id': 'e05760dc-18e3-4776-a4e6-e640370faf8c', 'name': 'ctest-vn-77210559', 'tenant_id': 'dae9e92408e64c29891d36b56a3ec2c9', 'project_id': 'dae9e92408e64c29891d36b56a3ec2c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68197537', 'ctest-vn-77210559'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 11:18:08,704 - DEBUG - Response for create_subnet : {'subnet': {'id': '9eebcac5-8e7f-45fa-a77d-644b93905acc', 'name': '', 'tenant_id': 'dae9e92408e64c29891d36b56a3ec2c9', 'network_id': 'e05760dc-18e3-4776-a4e6-e640370faf8c', 'ip_version': 4, 'cidr': '87.79.25.192/26', 'allocation_pools': [{'start': '87.79.25.194', 'end': '87.79.25.254'}], 'gateway_ip': '87.79.25.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.79.25.194', 'tags': [], 'project_id': 'dae9e92408e64c29891d36b56a3ec2c9'}}
2026-08-25 11:18:08,726 - INFO - Created VN ctest-vn-77210559
2026-08-25 11:18:08,784 - DEBUG - VN ctest-vn-77210559 UUID is e05760dc-18e3-4776-a4e6-e640370faf8c
2026-08-25 11:18:09,137 - DEBUG - Response for create_network : {'network': {'id': 'aee9a366-7c03-49c3-9bf6-5c2c2da26e91', 'name': 'ctest-vn-66884096', 'tenant_id': 'dae9e92408e64c29891d36b56a3ec2c9', 'project_id': 'dae9e92408e64c29891d36b56a3ec2c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68197537', 'ctest-vn-66884096'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 11:18:09,328 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f74a73be-282f-40df-bf5d-43d1eb94ce99', 'name': '', 'tenant_id': 'dae9e92408e64c29891d36b56a3ec2c9', 'network_id': 'aee9a366-7c03-49c3-9bf6-5c2c2da26e91', 'ip_version': 4, 'cidr': '195.33.150.0/26', 'allocation_pools': [{'start': '195.33.150.2', 'end': '195.33.150.62'}], 'gateway_ip': '195.33.150.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.33.150.2', 'tags': [], 'project_id': 'dae9e92408e64c29891d36b56a3ec2c9'}}
2026-08-25 11:18:09,348 - INFO - Created VN ctest-vn-66884096
2026-08-25 11:18:09,400 - DEBUG - VN ctest-vn-66884096 UUID is aee9a366-7c03-49c3-9bf6-5c2c2da26e91
2026-08-25 11:18:09,520 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68197537:ctest-vn-77210559, 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-68197537:ctest-vn-66884096, 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-25 11:18:09,865 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e05760dc-18e3-4776-a4e6-e640370faf8c', 'name': 'ctest-vn-77210559', 'tenant_id': 'dae9e92408e64c29891d36b56a3ec2c9', 'project_id': 'dae9e92408e64c29891d36b56a3ec2c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9eebcac5-8e7f-45fa-a77d-644b93905acc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68197537', 'ctest-vn-77210559'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68197537', 'ctest-policy-allow-all-53848179']], 'subnet_ipam': [{'subnet_cidr': '87.79.25.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-25 11:18:10,124 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aee9a366-7c03-49c3-9bf6-5c2c2da26e91', 'name': 'ctest-vn-66884096', 'tenant_id': 'dae9e92408e64c29891d36b56a3ec2c9', 'project_id': 'dae9e92408e64c29891d36b56a3ec2c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f74a73be-282f-40df-bf5d-43d1eb94ce99'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68197537', 'ctest-vn-66884096'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68197537', 'ctest-policy-allow-all-53848179']], 'subnet_ipam': [{'subnet_cidr': '195.33.150.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-25 11:18:10,299 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-25 11:18:10,645 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-25 11:18:10,676 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8e0d2948-d88f-437d-8312-ce82ce751feb
2026-08-25 11:18:10,690 - DEBUG - Requesting: http://10.0.0.38:8082/project/dae9e924-08e6-4c29-891d-36b56a3ec2c9
2026-08-25 11:18:10,775 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e05760dc-18e3-4776-a4e6-e640370faf8c
2026-08-25 11:18:10,791 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e05760dc-18e3-4776-a4e6-e640370faf8c
2026-08-25 11:18:10,803 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b956a408-9f45-42f5-b234-78a01d2f17d6
2026-08-25 11:18:10,814 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b956a408-9f45-42f5-b234-78a01d2f17d6
2026-08-25 11:18:10,825 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/85481e30-d204-4101-b769-b92869d31990
2026-08-25 11:18:10,833 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-25 11:18:10,833 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e05760dc-18e3-4776-a4e6-e640370faf8c
2026-08-25 11:18:10,846 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b956a408-9f45-42f5-b234-78a01d2f17d6
2026-08-25 11:18:10,866 - INFO - Verified VN network id 11 for VN e05760dc-18e3-4776-a4e6-e640370faf8c
2026-08-25 11:18:10,868 - INFO - Verifications in API Server for VN ctest-vn-77210559 passed
2026-08-25 11:18:10,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e05760dc-18e3-4776-a4e6-e640370faf8c
2026-08-25 11:18:10,879 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b956a408-9f45-42f5-b234-78a01d2f17d6
2026-08-25 11:18:10,888 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b956a408-9f45-42f5-b234-78a01d2f17d6
2026-08-25 11:18:10,897 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/85481e30-d204-4101-b769-b92869d31990
2026-08-25 11:18:10,914 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68197537:ctest-vn-77210559', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68197537', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16165495885896304502', 'uuid-lslong': '11882437830339702668'}, 'enable': 'true', 'created': '2026-08-25T11:18:08', 'last-modified': '2026-08-25T11:18:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.079185'}
2026-08-25 11:18:10,923 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-25 11:18:10,924 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77210559 passed
2026-08-25 11:18:10,924 - DEBUG - ====Verifying policy data for ctest-vn-77210559 in API_Server ======
2026-08-25 11:18:10,924 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-25 11:18:10,930 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8e0d2948-d88f-437d-8312-ce82ce751feb
2026-08-25 11:18:10,943 - DEBUG - Requesting: http://10.0.0.38:8082/project/dae9e924-08e6-4c29-891d-36b56a3ec2c9
2026-08-25 11:18:11,024 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e05760dc-18e3-4776-a4e6-e640370faf8c
2026-08-25 11:18:11,035 - DEBUG - ==>Verifying data for policy with id: 60fba22a-abf5-430e-92c7-0e5cdadf5b2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-68197537', 'ctest-policy-allow-all-53848179']
2026-08-25 11:18:11,035 - INFO - VN ctest-vn-77210559 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-25 11:18:11,036 - DEBUG - Verifying the vn in opserver
2026-08-25 11:18:11,036 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68197537:ctest-vn-77210559 virtual network link through opserver 10.0.0.38
2026-08-25 11:18:11,036 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-25 11:18:11,375 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-25 11:18:11,438 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68197537:ctest-vn-77210559', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68197537:ctest-vn-77210559?flat'}
2026-08-25 11:18:11,438 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68197537:ctest-vn-77210559 is found in opserver
2026-08-25 11:18:11,449 - DEBUG - Do not have enough data to verify VN in agent
2026-08-25 11:18:11,456 - DEBUG - VRF ids for VN ctest-vn-77210559: {}
2026-08-25 11:18:11,456 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-25 11:18:11,462 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8e0d2948-d88f-437d-8312-ce82ce751feb
2026-08-25 11:18:11,476 - DEBUG - Requesting: http://10.0.0.38:8082/project/dae9e924-08e6-4c29-891d-36b56a3ec2c9
2026-08-25 11:18:11,554 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/aee9a366-7c03-49c3-9bf6-5c2c2da26e91
2026-08-25 11:18:11,571 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/aee9a366-7c03-49c3-9bf6-5c2c2da26e91
2026-08-25 11:18:11,583 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88e110b1-2f35-4813-8ff5-9af251fa10c2
2026-08-25 11:18:11,593 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88e110b1-2f35-4813-8ff5-9af251fa10c2
2026-08-25 11:18:11,602 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fb7cdd25-e26e-4a47-9eb5-1f798a2c7d76
2026-08-25 11:18:11,612 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-25 11:18:11,612 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/aee9a366-7c03-49c3-9bf6-5c2c2da26e91
2026-08-25 11:18:11,624 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88e110b1-2f35-4813-8ff5-9af251fa10c2
2026-08-25 11:18:11,647 - INFO - Verified VN network id 12 for VN aee9a366-7c03-49c3-9bf6-5c2c2da26e91
2026-08-25 11:18:11,647 - INFO - Verifications in API Server for VN ctest-vn-66884096 passed
2026-08-25 11:18:11,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/aee9a366-7c03-49c3-9bf6-5c2c2da26e91
2026-08-25 11:18:11,660 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88e110b1-2f35-4813-8ff5-9af251fa10c2
2026-08-25 11:18:11,670 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/88e110b1-2f35-4813-8ff5-9af251fa10c2
2026-08-25 11:18:11,679 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fb7cdd25-e26e-4a47-9eb5-1f798a2c7d76
2026-08-25 11:18:11,695 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68197537:ctest-vn-66884096', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68197537', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12603784692735625667', 'uuid-lslong': '11238271264963587729'}, 'enable': 'true', 'created': '2026-08-25T11:18:09', 'last-modified': '2026-08-25T11:18:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.603270'}
2026-08-25 11:18:11,703 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-25 11:18:11,703 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66884096 passed
2026-08-25 11:18:11,703 - DEBUG - ====Verifying policy data for ctest-vn-66884096 in API_Server ======
2026-08-25 11:18:11,703 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-25 11:18:11,710 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8e0d2948-d88f-437d-8312-ce82ce751feb
2026-08-25 11:18:11,724 - DEBUG - Requesting: http://10.0.0.38:8082/project/dae9e924-08e6-4c29-891d-36b56a3ec2c9
2026-08-25 11:18:11,806 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/aee9a366-7c03-49c3-9bf6-5c2c2da26e91
2026-08-25 11:18:11,817 - DEBUG - ==>Verifying data for policy with id: 60fba22a-abf5-430e-92c7-0e5cdadf5b2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-68197537', 'ctest-policy-allow-all-53848179']
2026-08-25 11:18:11,817 - INFO - VN ctest-vn-66884096 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-25 11:18:11,817 - DEBUG - Verifying the vn in opserver
2026-08-25 11:18:11,817 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68197537:ctest-vn-66884096 virtual network link through opserver 10.0.0.38
2026-08-25 11:18:11,817 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-25 11:18:11,830 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68197537:ctest-vn-66884096', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68197537:ctest-vn-66884096?flat'}
2026-08-25 11:18:11,830 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68197537:ctest-vn-66884096 is found in opserver
2026-08-25 11:18:11,842 - DEBUG - Do not have enough data to verify VN in agent
2026-08-25 11:18:11,847 - DEBUG - VRF ids for VN ctest-vn-66884096: {}
2026-08-25 11:18:11,911 - DEBUG - Services list from nova: [