2026-10-12 02:14:14,560 - INFO - Domain Default found not creating
2026-10-12 02:14:14,691 - INFO - Project ctest-TestBasicPolicy-80408004 not found, creating it
2026-10-12 02:14:15,150 - INFO - Created Project:ctest-TestBasicPolicy-80408004, ID : b997e86f-0906-4fb1-83f0-a971ce60df18
2026-10-12 02:14:16,683 - INFO - ================================================================================
2026-10-12 02:14:16,683 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-12 02:14:16,683 - 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-10-12 02:14:16,934 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.17': '0'}} with
2026-10-12 02:14:16,934 - INFO - Initial checks done. Running the testcase now
2026-10-12 02:14:16,934 - INFO -
2026-10-12 02:14:17,513 - DEBUG - Response for create_network : {'network': {'id': 'b72006ca-2935-486a-b04c-cd5e5bb991f9', 'name': 'ctest-vn-29067775', 'tenant_id': 'b997e86f09064fb183f0a971ce60df18', 'project_id': 'b997e86f09064fb183f0a971ce60df18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-vn-29067775'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-10-12 02:14:17,667 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e86064e-4941-46f2-a565-aec02efe41f7', 'name': '', 'tenant_id': 'b997e86f09064fb183f0a971ce60df18', 'network_id': 'b72006ca-2935-486a-b04c-cd5e5bb991f9', 'ip_version': 4, 'cidr': '120.25.178.192/26', 'allocation_pools': [{'start': '120.25.178.194', 'end': '120.25.178.254'}], 'gateway_ip': '120.25.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-12T02:14:17.620114', 'updated_at': '2026-10-12T02:14:17.620114', 'dns_server_address': '120.25.178.194', 'tags': [], 'project_id': 'b997e86f09064fb183f0a971ce60df18'}}
2026-10-12 02:14:17,680 - INFO - Created VN ctest-vn-29067775
2026-10-12 02:14:17,734 - DEBUG - VN ctest-vn-29067775 UUID is b72006ca-2935-486a-b04c-cd5e5bb991f9
2026-10-12 02:14:18,051 - DEBUG - Response for create_network : {'network': {'id': 'f8a0a196-ff87-466c-8ea2-93ed71b5edf2', 'name': 'ctest-vn-90419549', 'tenant_id': 'b997e86f09064fb183f0a971ce60df18', 'project_id': 'b997e86f09064fb183f0a971ce60df18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-vn-90419549'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-10-12 02:14:18,209 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb91e98f-3b63-479f-af0d-fb2960925bc9', 'name': '', 'tenant_id': 'b997e86f09064fb183f0a971ce60df18', 'network_id': 'f8a0a196-ff87-466c-8ea2-93ed71b5edf2', 'ip_version': 4, 'cidr': '123.122.116.64/26', 'allocation_pools': [{'start': '123.122.116.66', 'end': '123.122.116.126'}], 'gateway_ip': '123.122.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-12T02:14:18.168237', 'updated_at': '2026-10-12T02:14:18.168237', 'dns_server_address': '123.122.116.66', 'tags': [], 'project_id': 'b997e86f09064fb183f0a971ce60df18'}}
2026-10-12 02:14:18,223 - INFO - Created VN ctest-vn-90419549
2026-10-12 02:14:18,274 - DEBUG - VN ctest-vn-90419549 UUID is f8a0a196-ff87-466c-8ea2-93ed71b5edf2
2026-10-12 02:14:18,410 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-29067775, 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-80408004:ctest-vn-90419549, 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-10-12 02:14:18,685 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b72006ca-2935-486a-b04c-cd5e5bb991f9', 'name': 'ctest-vn-29067775', 'tenant_id': 'b997e86f09064fb183f0a971ce60df18', 'project_id': 'b997e86f09064fb183f0a971ce60df18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6e86064e-4941-46f2-a565-aec02efe41f7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-vn-29067775'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-policy-allow-all-43865442']], 'subnet_ipam': [{'subnet_cidr': '120.25.178.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-10-12T02:14:17.486877', 'updated_at': '2026-10-12T02:14:17.630618'}}
2026-10-12 02:14:18,905 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f8a0a196-ff87-466c-8ea2-93ed71b5edf2', 'name': 'ctest-vn-90419549', 'tenant_id': 'b997e86f09064fb183f0a971ce60df18', 'project_id': 'b997e86f09064fb183f0a971ce60df18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['cb91e98f-3b63-479f-af0d-fb2960925bc9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-vn-90419549'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-policy-allow-all-43865442']], 'subnet_ipam': [{'subnet_cidr': '123.122.116.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-10-12T02:14:18.020379', 'updated_at': '2026-10-12T02:14:18.179247'}}
2026-10-12 02:14:19,062 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-12 02:14:19,422 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-12 02:14:19,459 - DEBUG - Requesting: http://10.0.0.190:8082/domain/b421ea98-0a4f-4ac6-a991-92b4785db2d3
2026-10-12 02:14:19,472 - DEBUG - Requesting: http://10.0.0.190:8082/project/b997e86f-0906-4fb1-83f0-a971ce60df18
2026-10-12 02:14:19,546 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b72006ca-2935-486a-b04c-cd5e5bb991f9
2026-10-12 02:14:19,556 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b72006ca-2935-486a-b04c-cd5e5bb991f9
2026-10-12 02:14:19,563 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f0a2f3fb-d3d9-406b-9005-aec94074f8ed
2026-10-12 02:14:19,570 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f0a2f3fb-d3d9-406b-9005-aec94074f8ed
2026-10-12 02:14:19,575 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/87899560-2309-48c3-a31f-0827d44e0176
2026-10-12 02:14:19,580 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-12 02:14:19,580 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b72006ca-2935-486a-b04c-cd5e5bb991f9
2026-10-12 02:14:19,587 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f0a2f3fb-d3d9-406b-9005-aec94074f8ed
2026-10-12 02:14:19,597 - INFO - Verified VN network id 12 for VN b72006ca-2935-486a-b04c-cd5e5bb991f9
2026-10-12 02:14:19,597 - INFO - Verifications in API Server for VN ctest-vn-29067775 passed
2026-10-12 02:14:19,597 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b72006ca-2935-486a-b04c-cd5e5bb991f9
2026-10-12 02:14:19,605 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f0a2f3fb-d3d9-406b-9005-aec94074f8ed
2026-10-12 02:14:19,610 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f0a2f3fb-d3d9-406b-9005-aec94074f8ed
2026-10-12 02:14:19,615 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/87899560-2309-48c3-a31f-0827d44e0176
2026-10-12 02:14:19,626 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-29067775', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80408004', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13195554373540071530', 'uuid-lslong': '12703754454054834681'}, 'enable': 'true', 'created': '2026-10-12T02:14:17', 'last-modified': '2026-10-12T02:14:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.957190'}
2026-10-12 02:14:19,632 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-12 02:14:19,632 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29067775 passed
2026-10-12 02:14:19,632 - DEBUG - ====Verifying policy data for ctest-vn-29067775 in API_Server ======
2026-10-12 02:14:19,632 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-12 02:14:19,636 - DEBUG - Requesting: http://10.0.0.190:8082/domain/b421ea98-0a4f-4ac6-a991-92b4785db2d3
2026-10-12 02:14:19,645 - DEBUG - Requesting: http://10.0.0.190:8082/project/b997e86f-0906-4fb1-83f0-a971ce60df18
2026-10-12 02:14:19,709 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b72006ca-2935-486a-b04c-cd5e5bb991f9
2026-10-12 02:14:19,717 - DEBUG - ==>Verifying data for policy with id: a23c14c6-290e-480c-8e1c-c20f43ebf2be, fqn: ['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-policy-allow-all-43865442']
2026-10-12 02:14:19,717 - INFO - VN ctest-vn-29067775 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-12 02:14:19,717 - DEBUG - Verifying the vn in opserver
2026-10-12 02:14:19,717 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-29067775 virtual network link through opserver 10.0.0.190
2026-10-12 02:14:19,717 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-12 02:14:20,074 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-12 02:14:20,119 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-29067775', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-29067775?flat'}
2026-10-12 02:14:20,119 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-29067775 is found in opserver
2026-10-12 02:14:20,128 - DEBUG - Do not have enough data to verify VN in agent
2026-10-12 02:14:20,146 - DEBUG - VRF ids for VN ctest-vn-29067775: {}
2026-10-12 02:14:20,146 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-12 02:14:20,151 - DEBUG - Requesting: http://10.0.0.190:8082/domain/b421ea98-0a4f-4ac6-a991-92b4785db2d3
2026-10-12 02:14:20,186 - DEBUG - Requesting: http://10.0.0.190:8082/project/b997e86f-0906-4fb1-83f0-a971ce60df18
2026-10-12 02:14:20,257 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f8a0a196-ff87-466c-8ea2-93ed71b5edf2
2026-10-12 02:14:20,268 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f8a0a196-ff87-466c-8ea2-93ed71b5edf2
2026-10-12 02:14:20,277 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/133393cb-bb42-402a-bec6-be014d6c136c
2026-10-12 02:14:20,283 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/133393cb-bb42-402a-bec6-be014d6c136c
2026-10-12 02:14:20,289 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/e2476671-86c5-4adb-9988-aa6f1f2ee36b
2026-10-12 02:14:20,295 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-12 02:14:20,295 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f8a0a196-ff87-466c-8ea2-93ed71b5edf2
2026-10-12 02:14:20,303 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/133393cb-bb42-402a-bec6-be014d6c136c
2026-10-12 02:14:20,315 - INFO - Verified VN network id 13 for VN f8a0a196-ff87-466c-8ea2-93ed71b5edf2
2026-10-12 02:14:20,315 - INFO - Verifications in API Server for VN ctest-vn-90419549 passed
2026-10-12 02:14:20,315 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f8a0a196-ff87-466c-8ea2-93ed71b5edf2
2026-10-12 02:14:20,323 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/133393cb-bb42-402a-bec6-be014d6c136c
2026-10-12 02:14:20,329 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/133393cb-bb42-402a-bec6-be014d6c136c
2026-10-12 02:14:20,335 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/e2476671-86c5-4adb-9988-aa6f1f2ee36b
2026-10-12 02:14:20,344 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-90419549', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80408004', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17915496987584054892', 'uuid-lslong': '10277939947637173746'}, 'enable': 'true', 'created': '2026-10-12T02:14:18', 'last-modified': '2026-10-12T02:14:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.458507'}
2026-10-12 02:14:20,349 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-12 02:14:20,349 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90419549 passed
2026-10-12 02:14:20,349 - DEBUG - ====Verifying policy data for ctest-vn-90419549 in API_Server ======
2026-10-12 02:14:20,349 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-12 02:14:20,354 - DEBUG - Requesting: http://10.0.0.190:8082/domain/b421ea98-0a4f-4ac6-a991-92b4785db2d3
2026-10-12 02:14:20,363 - DEBUG - Requesting: http://10.0.0.190:8082/project/b997e86f-0906-4fb1-83f0-a971ce60df18
2026-10-12 02:14:20,435 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f8a0a196-ff87-466c-8ea2-93ed71b5edf2
2026-10-12 02:14:20,443 - DEBUG - ==>Verifying data for policy with id: a23c14c6-290e-480c-8e1c-c20f43ebf2be, fqn: ['default-domain', 'ctest-TestBasicPolicy-80408004', 'ctest-policy-allow-all-43865442']
2026-10-12 02:14:20,443 - INFO - VN ctest-vn-90419549 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-12 02:14:20,443 - DEBUG - Verifying the vn in opserver
2026-10-12 02:14:20,443 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-90419549 virtual network link through opserver 10.0.0.190
2026-10-12 02:14:20,443 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-12 02:14:20,453 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-90419549', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-90419549?flat'}
2026-10-12 02:14:20,453 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80408004:ctest-vn-90419549 is found in opserver
2026-10-12 02:14:20,462 - DEBUG - Do not have enough data to verify VN in agent
2026-10-12 02:14:20,467 - DEBUG - VRF ids for VN ctest-vn-90419549: {}
2026-10-12 02:14:20,518 - DEBUG - Services list from nova: [