2026-08-21 13:53:33,729 - INFO - Domain Default found not creating
2026-08-21 13:53:33,922 - INFO - Project ctest-TestBasicPolicy-67465269 not found, creating it
2026-08-21 13:53:34,437 - INFO - Created Project:ctest-TestBasicPolicy-67465269, ID : b3a7c6a9-b0fe-4e7b-a68c-d155d789350c
2026-08-21 13:53:36,202 - INFO - ================================================================================
2026-08-21 13:53:36,202 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-21 13:53:36,202 - 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-21 13:53:36,463 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-08-21 13:53:36,463 - INFO - Initial checks done. Running the testcase now
2026-08-21 13:53:36,463 - INFO -
2026-08-21 13:53:37,109 - DEBUG - Response for create_network : {'network': {'id': '8ac9e9b6-0bf9-439b-b482-03b01d094b2e', 'name': 'ctest-vn-07015310', 'tenant_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'project_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-vn-07015310'], 'port_security_enabled': True, 'description': ''}}
2026-08-21 13:53:37,304 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a87411c-07fa-48ac-9915-fb711f7a523f', 'name': '', 'tenant_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'network_id': '8ac9e9b6-0bf9-439b-b482-03b01d094b2e', 'ip_version': 4, 'cidr': '182.156.168.128/26', 'allocation_pools': [{'start': '182.156.168.130', 'end': '182.156.168.190'}], 'gateway_ip': '182.156.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.156.168.130', 'tags': [], 'project_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c'}}
2026-08-21 13:53:37,323 - INFO - Created VN ctest-vn-07015310
2026-08-21 13:53:37,376 - DEBUG - VN ctest-vn-07015310 UUID is 8ac9e9b6-0bf9-439b-b482-03b01d094b2e
2026-08-21 13:53:37,742 - DEBUG - Response for create_network : {'network': {'id': '286177af-6f06-4ef0-8ea4-3210d581b472', 'name': 'ctest-vn-98228287', 'tenant_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'project_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-vn-98228287'], 'port_security_enabled': True, 'description': ''}}
2026-08-21 13:53:37,981 - DEBUG - Response for create_subnet : {'subnet': {'id': '3672b841-6a24-437b-bb28-9f9683a2a903', 'name': '', 'tenant_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'network_id': '286177af-6f06-4ef0-8ea4-3210d581b472', 'ip_version': 4, 'cidr': '90.71.181.128/26', 'allocation_pools': [{'start': '90.71.181.130', 'end': '90.71.181.190'}], 'gateway_ip': '90.71.181.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.71.181.130', 'tags': [], 'project_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c'}}
2026-08-21 13:53:38,002 - INFO - Created VN ctest-vn-98228287
2026-08-21 13:53:38,056 - DEBUG - VN ctest-vn-98228287 UUID is 286177af-6f06-4ef0-8ea4-3210d581b472
2026-08-21 13:53:38,182 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-07015310, 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-67465269:ctest-vn-98228287, 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-21 13:53:38,498 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8ac9e9b6-0bf9-439b-b482-03b01d094b2e', 'name': 'ctest-vn-07015310', 'tenant_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'project_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4a87411c-07fa-48ac-9915-fb711f7a523f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-vn-07015310'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-policy-allow-all-34527384']], 'subnet_ipam': [{'subnet_cidr': '182.156.168.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-21 13:53:38,745 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '286177af-6f06-4ef0-8ea4-3210d581b472', 'name': 'ctest-vn-98228287', 'tenant_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'project_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3672b841-6a24-437b-bb28-9f9683a2a903'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-vn-98228287'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-policy-allow-all-34527384']], 'subnet_ipam': [{'subnet_cidr': '90.71.181.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-21 13:53:38,912 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-21 13:53:39,286 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-21 13:53:39,316 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea21fc-9331-4d6b-970c-48c9e7e38c62
2026-08-21 13:53:39,336 - DEBUG - Requesting: http://10.0.0.50:8082/project/b3a7c6a9-b0fe-4e7b-a68c-d155d789350c
2026-08-21 13:53:39,437 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ac9e9b6-0bf9-439b-b482-03b01d094b2e
2026-08-21 13:53:39,450 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ac9e9b6-0bf9-439b-b482-03b01d094b2e
2026-08-21 13:53:39,461 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bee383bf-c93b-43be-a62f-b3658dedcfd8
2026-08-21 13:53:39,469 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bee383bf-c93b-43be-a62f-b3658dedcfd8
2026-08-21 13:53:39,477 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b6154e66-1df5-4d6c-ba28-1005ab8e698e
2026-08-21 13:53:39,484 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-21 13:53:39,484 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ac9e9b6-0bf9-439b-b482-03b01d094b2e
2026-08-21 13:53:39,494 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bee383bf-c93b-43be-a62f-b3658dedcfd8
2026-08-21 13:53:39,509 - INFO - Verified VN network id 11 for VN 8ac9e9b6-0bf9-439b-b482-03b01d094b2e
2026-08-21 13:53:39,509 - INFO - Verifications in API Server for VN ctest-vn-07015310 passed
2026-08-21 13:53:39,510 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ac9e9b6-0bf9-439b-b482-03b01d094b2e
2026-08-21 13:53:39,520 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bee383bf-c93b-43be-a62f-b3658dedcfd8
2026-08-21 13:53:39,528 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bee383bf-c93b-43be-a62f-b3658dedcfd8
2026-08-21 13:53:39,536 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b6154e66-1df5-4d6c-ba28-1005ab8e698e
2026-08-21 13:53:39,552 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-07015310', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67465269', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10000781415647101851', 'uuid-lslong': '13006962728735689518'}, 'enable': 'true', 'created': '2026-08-21T13:53:37', 'last-modified': '2026-08-21T13:53:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.078219'}
2026-08-21 13:53:39,561 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-21 13:53:39,561 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07015310 passed
2026-08-21 13:53:39,561 - DEBUG - ====Verifying policy data for ctest-vn-07015310 in API_Server ======
2026-08-21 13:53:39,561 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-21 13:53:39,568 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea21fc-9331-4d6b-970c-48c9e7e38c62
2026-08-21 13:53:39,581 - DEBUG - Requesting: http://10.0.0.50:8082/project/b3a7c6a9-b0fe-4e7b-a68c-d155d789350c
2026-08-21 13:53:39,669 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ac9e9b6-0bf9-439b-b482-03b01d094b2e
2026-08-21 13:53:39,684 - DEBUG - ==>Verifying data for policy with id: 3970b973-d6f9-49e8-aacf-250946db2634, fqn: ['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-policy-allow-all-34527384']
2026-08-21 13:53:39,684 - INFO - VN ctest-vn-07015310 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-21 13:53:39,684 - DEBUG - Verifying the vn in opserver
2026-08-21 13:53:39,685 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-07015310 virtual network link through opserver 10.0.0.50
2026-08-21 13:53:39,685 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-21 13:53:40,057 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-21 13:53:40,113 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-07015310', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-07015310?flat'}
2026-08-21 13:53:40,113 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-07015310 is found in opserver
2026-08-21 13:53:40,126 - DEBUG - Do not have enough data to verify VN in agent
2026-08-21 13:53:40,132 - DEBUG - VRF ids for VN ctest-vn-07015310: {}
2026-08-21 13:53:40,132 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-21 13:53:40,139 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea21fc-9331-4d6b-970c-48c9e7e38c62
2026-08-21 13:53:40,152 - DEBUG - Requesting: http://10.0.0.50:8082/project/b3a7c6a9-b0fe-4e7b-a68c-d155d789350c
2026-08-21 13:53:40,228 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/286177af-6f06-4ef0-8ea4-3210d581b472
2026-08-21 13:53:40,242 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/286177af-6f06-4ef0-8ea4-3210d581b472
2026-08-21 13:53:40,253 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb73eb3c-a2fc-42ac-b32e-32261b9ca65a
2026-08-21 13:53:40,262 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb73eb3c-a2fc-42ac-b32e-32261b9ca65a
2026-08-21 13:53:40,270 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b972bfb-2c74-45a6-9d24-3a8b1751ee36
2026-08-21 13:53:40,277 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-21 13:53:40,277 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/286177af-6f06-4ef0-8ea4-3210d581b472
2026-08-21 13:53:40,287 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb73eb3c-a2fc-42ac-b32e-32261b9ca65a
2026-08-21 13:53:40,303 - INFO - Verified VN network id 12 for VN 286177af-6f06-4ef0-8ea4-3210d581b472
2026-08-21 13:53:40,303 - INFO - Verifications in API Server for VN ctest-vn-98228287 passed
2026-08-21 13:53:40,303 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/286177af-6f06-4ef0-8ea4-3210d581b472
2026-08-21 13:53:40,313 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb73eb3c-a2fc-42ac-b32e-32261b9ca65a
2026-08-21 13:53:40,322 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb73eb3c-a2fc-42ac-b32e-32261b9ca65a
2026-08-21 13:53:40,332 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b972bfb-2c74-45a6-9d24-3a8b1751ee36
2026-08-21 13:53:40,347 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-98228287', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67465269', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2909738429623717616', 'uuid-lslong': '10278395297449227378'}, 'enable': 'true', 'created': '2026-08-21T13:53:37', 'last-modified': '2026-08-21T13:53:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.626845'}
2026-08-21 13:53:40,356 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-21 13:53:40,356 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98228287 passed
2026-08-21 13:53:40,356 - DEBUG - ====Verifying policy data for ctest-vn-98228287 in API_Server ======
2026-08-21 13:53:40,356 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-21 13:53:40,363 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea21fc-9331-4d6b-970c-48c9e7e38c62
2026-08-21 13:53:40,376 - DEBUG - Requesting: http://10.0.0.50:8082/project/b3a7c6a9-b0fe-4e7b-a68c-d155d789350c
2026-08-21 13:53:40,457 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/286177af-6f06-4ef0-8ea4-3210d581b472
2026-08-21 13:53:40,467 - DEBUG - ==>Verifying data for policy with id: 3970b973-d6f9-49e8-aacf-250946db2634, fqn: ['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-policy-allow-all-34527384']
2026-08-21 13:53:40,467 - INFO - VN ctest-vn-98228287 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-21 13:53:40,467 - DEBUG - Verifying the vn in opserver
2026-08-21 13:53:40,467 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-98228287 virtual network link through opserver 10.0.0.50
2026-08-21 13:53:40,467 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-21 13:53:40,479 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-98228287', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-98228287?flat'}
2026-08-21 13:53:40,479 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-98228287 is found in opserver
2026-08-21 13:53:40,492 - DEBUG - Do not have enough data to verify VN in agent
2026-08-21 13:53:40,498 - DEBUG - VRF ids for VN ctest-vn-98228287: {}
2026-08-21 13:53:40,564 - DEBUG - Services list from nova: [