2026-01-29 08:29:50,696 - INFO - Domain Default found not creating
2026-01-29 08:29:50,855 - INFO - Project ctest-TestBasicPolicy-28689349 not found, creating it
2026-01-29 08:29:51,319 - INFO - Created Project:ctest-TestBasicPolicy-28689349, ID : 5bd7d7a9-577b-4983-bfa2-b24b808702f4
2026-01-29 08:29:52,768 - INFO - ================================================================================
2026-01-29 08:29:52,768 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 08:29:52,768 - 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:29:53,024 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2026-01-29 08:29:53,024 - INFO - Initial checks done. Running the testcase now
2026-01-29 08:29:53,024 - INFO -
2026-01-29 08:29:53,568 - DEBUG - Response for create_network : {'network': {'id': '05086aae-3bd1-4c72-8f20-4c5eadcff04e', 'name': 'ctest-vn-33243513', 'tenant_id': '5bd7d7a9577b4983bfa2b24b808702f4', 'project_id': '5bd7d7a9577b4983bfa2b24b808702f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28689349', 'ctest-vn-33243513'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 08:29:53,751 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd6ac5c1-af02-4deb-b437-0791ec5234b6', 'name': '', 'tenant_id': '5bd7d7a9577b4983bfa2b24b808702f4', 'network_id': '05086aae-3bd1-4c72-8f20-4c5eadcff04e', 'ip_version': 4, 'cidr': '20.233.66.192/26', 'allocation_pools': [{'start': '20.233.66.194', 'end': '20.233.66.254'}], 'gateway_ip': '20.233.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.233.66.194', 'tags': [], 'project_id': '5bd7d7a9577b4983bfa2b24b808702f4'}}
2026-01-29 08:29:53,768 - INFO - Created VN ctest-vn-33243513
2026-01-29 08:29:53,823 - DEBUG - VN ctest-vn-33243513 UUID is 05086aae-3bd1-4c72-8f20-4c5eadcff04e
2026-01-29 08:29:54,142 - DEBUG - Response for create_network : {'network': {'id': '6a68053d-3d5e-4aaa-8642-234b715aa9e5', 'name': 'ctest-vn-17196763', 'tenant_id': '5bd7d7a9577b4983bfa2b24b808702f4', 'project_id': '5bd7d7a9577b4983bfa2b24b808702f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28689349', 'ctest-vn-17196763'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 08:29:54,353 - DEBUG - Response for create_subnet : {'subnet': {'id': '66f4af19-7be9-4a5c-87db-9280ca067479', 'name': '', 'tenant_id': '5bd7d7a9577b4983bfa2b24b808702f4', 'network_id': '6a68053d-3d5e-4aaa-8642-234b715aa9e5', 'ip_version': 4, 'cidr': '24.16.115.128/26', 'allocation_pools': [{'start': '24.16.115.130', 'end': '24.16.115.190'}], 'gateway_ip': '24.16.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.16.115.130', 'tags': [], 'project_id': '5bd7d7a9577b4983bfa2b24b808702f4'}}
2026-01-29 08:29:54,372 - INFO - Created VN ctest-vn-17196763
2026-01-29 08:29:54,423 - DEBUG - VN ctest-vn-17196763 UUID is 6a68053d-3d5e-4aaa-8642-234b715aa9e5
2026-01-29 08:29:54,535 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28689349:ctest-vn-33243513, 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-28689349:ctest-vn-17196763, 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:29:54,828 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '05086aae-3bd1-4c72-8f20-4c5eadcff04e', 'name': 'ctest-vn-33243513', 'tenant_id': '5bd7d7a9577b4983bfa2b24b808702f4', 'project_id': '5bd7d7a9577b4983bfa2b24b808702f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd6ac5c1-af02-4deb-b437-0791ec5234b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28689349', 'ctest-vn-33243513'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28689349', 'ctest-policy-allow-all-31031761']], 'subnet_ipam': [{'subnet_cidr': '20.233.66.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 08:29:55,063 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a68053d-3d5e-4aaa-8642-234b715aa9e5', 'name': 'ctest-vn-17196763', 'tenant_id': '5bd7d7a9577b4983bfa2b24b808702f4', 'project_id': '5bd7d7a9577b4983bfa2b24b808702f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['66f4af19-7be9-4a5c-87db-9280ca067479'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28689349', 'ctest-vn-17196763'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28689349', 'ctest-policy-allow-all-31031761']], 'subnet_ipam': [{'subnet_cidr': '24.16.115.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 08:29:55,227 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-29 08:29:55,528 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-29 08:29:55,565 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c67e3248-40b7-4e37-895a-96967858f3e8
2026-01-29 08:29:55,579 - DEBUG - Requesting: http://10.0.0.141:8082/project/5bd7d7a9-577b-4983-bfa2-b24b808702f4
2026-01-29 08:29:55,650 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/05086aae-3bd1-4c72-8f20-4c5eadcff04e
2026-01-29 08:29:55,660 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/05086aae-3bd1-4c72-8f20-4c5eadcff04e
2026-01-29 08:29:55,670 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b53eed69-ff5a-4feb-8610-1acf5162ef2f
2026-01-29 08:29:55,677 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b53eed69-ff5a-4feb-8610-1acf5162ef2f
2026-01-29 08:29:55,684 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/b6c215be-bc0c-4b60-a568-2701a88b0806
2026-01-29 08:29:55,689 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 08:29:55,690 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/05086aae-3bd1-4c72-8f20-4c5eadcff04e
2026-01-29 08:29:55,699 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b53eed69-ff5a-4feb-8610-1acf5162ef2f
2026-01-29 08:29:55,713 - INFO - Verified VN network id 11 for VN 05086aae-3bd1-4c72-8f20-4c5eadcff04e
2026-01-29 08:29:55,713 - INFO - Verifications in API Server for VN ctest-vn-33243513 passed
2026-01-29 08:29:55,713 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/05086aae-3bd1-4c72-8f20-4c5eadcff04e
2026-01-29 08:29:55,723 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b53eed69-ff5a-4feb-8610-1acf5162ef2f
2026-01-29 08:29:55,730 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b53eed69-ff5a-4feb-8610-1acf5162ef2f
2026-01-29 08:29:55,737 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/b6c215be-bc0c-4b60-a568-2701a88b0806
2026-01-29 08:29:55,750 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28689349:ctest-vn-33243513', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28689349', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '362657066563751026', 'uuid-lslong': '10313327116205158478'}, 'enable': 'true', 'created': '2026-01-29T08:29:53', 'last-modified': '2026-01-29T08:29:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.950048'}
2026-01-29 08:29:55,756 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 08:29:55,757 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33243513 passed
2026-01-29 08:29:55,757 - DEBUG - ====Verifying policy data for ctest-vn-33243513 in API_Server ======
2026-01-29 08:29:55,757 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-29 08:29:55,763 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c67e3248-40b7-4e37-895a-96967858f3e8
2026-01-29 08:29:55,777 - DEBUG - Requesting: http://10.0.0.141:8082/project/5bd7d7a9-577b-4983-bfa2-b24b808702f4
2026-01-29 08:29:55,848 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/05086aae-3bd1-4c72-8f20-4c5eadcff04e
2026-01-29 08:29:55,857 - DEBUG - ==>Verifying data for policy with id: 24368716-9131-4856-a56a-2ecde7c30b67, fqn: ['default-domain', 'ctest-TestBasicPolicy-28689349', 'ctest-policy-allow-all-31031761']
2026-01-29 08:29:55,857 - INFO - VN ctest-vn-33243513 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 08:29:55,857 - DEBUG - Verifying the vn in opserver
2026-01-29 08:29:55,857 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28689349:ctest-vn-33243513 virtual network link through opserver 10.0.0.141
2026-01-29 08:29:55,857 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-29 08:29:56,159 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-29 08:29:56,225 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28689349:ctest-vn-33243513', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28689349:ctest-vn-33243513?flat'}
2026-01-29 08:29:56,225 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28689349:ctest-vn-33243513 is found in opserver
2026-01-29 08:29:56,236 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 08:29:56,240 - DEBUG - VRF ids for VN ctest-vn-33243513: {}
2026-01-29 08:29:56,240 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-29 08:29:56,246 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c67e3248-40b7-4e37-895a-96967858f3e8
2026-01-29 08:29:56,256 - DEBUG - Requesting: http://10.0.0.141:8082/project/5bd7d7a9-577b-4983-bfa2-b24b808702f4
2026-01-29 08:29:56,324 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6a68053d-3d5e-4aaa-8642-234b715aa9e5
2026-01-29 08:29:56,337 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6a68053d-3d5e-4aaa-8642-234b715aa9e5
2026-01-29 08:29:56,349 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9df78576-97e5-442a-b56a-0a2f1fba7a9d
2026-01-29 08:29:56,356 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9df78576-97e5-442a-b56a-0a2f1fba7a9d
2026-01-29 08:29:56,363 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/88ec4910-59d7-49af-9d88-790339fbaa06
2026-01-29 08:29:56,369 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 08:29:56,369 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6a68053d-3d5e-4aaa-8642-234b715aa9e5
2026-01-29 08:29:56,378 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9df78576-97e5-442a-b56a-0a2f1fba7a9d
2026-01-29 08:29:56,395 - INFO - Verified VN network id 12 for VN 6a68053d-3d5e-4aaa-8642-234b715aa9e5
2026-01-29 08:29:56,395 - INFO - Verifications in API Server for VN ctest-vn-17196763 passed
2026-01-29 08:29:56,395 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6a68053d-3d5e-4aaa-8642-234b715aa9e5
2026-01-29 08:29:56,404 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9df78576-97e5-442a-b56a-0a2f1fba7a9d
2026-01-29 08:29:56,410 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9df78576-97e5-442a-b56a-0a2f1fba7a9d
2026-01-29 08:29:56,417 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/88ec4910-59d7-49af-9d88-790339fbaa06
2026-01-29 08:29:56,427 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28689349:ctest-vn-17196763', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28689349', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7667384126179003050', 'uuid-lslong': '9674333756476533221'}, 'enable': 'true', 'created': '2026-01-29T08:29:54', 'last-modified': '2026-01-29T08:29:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.386632'}
2026-01-29 08:29:56,433 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 08:29:56,433 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17196763 passed
2026-01-29 08:29:56,433 - DEBUG - ====Verifying policy data for ctest-vn-17196763 in API_Server ======
2026-01-29 08:29:56,433 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-29 08:29:56,438 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c67e3248-40b7-4e37-895a-96967858f3e8
2026-01-29 08:29:56,449 - DEBUG - Requesting: http://10.0.0.141:8082/project/5bd7d7a9-577b-4983-bfa2-b24b808702f4
2026-01-29 08:29:56,516 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6a68053d-3d5e-4aaa-8642-234b715aa9e5
2026-01-29 08:29:56,527 - DEBUG - ==>Verifying data for policy with id: 24368716-9131-4856-a56a-2ecde7c30b67, fqn: ['default-domain', 'ctest-TestBasicPolicy-28689349', 'ctest-policy-allow-all-31031761']
2026-01-29 08:29:56,527 - INFO - VN ctest-vn-17196763 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 08:29:56,527 - DEBUG - Verifying the vn in opserver
2026-01-29 08:29:56,527 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28689349:ctest-vn-17196763 virtual network link through opserver 10.0.0.141
2026-01-29 08:29:56,527 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-29 08:29:56,536 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28689349:ctest-vn-17196763', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28689349:ctest-vn-17196763?flat'}
2026-01-29 08:29:56,536 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28689349:ctest-vn-17196763 is found in opserver
2026-01-29 08:29:56,546 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 08:29:56,551 - DEBUG - VRF ids for VN ctest-vn-17196763: {}
2026-01-29 08:29:56,618 - DEBUG - Services list from nova: [