2026-06-19 14:20:56,659 - INFO - Domain Default found not creating
2026-06-19 14:20:56,805 - INFO - Project ctest-TestBasicPolicy-07815929 not found, creating it
2026-06-19 14:20:57,261 - INFO - Created Project:ctest-TestBasicPolicy-07815929, ID : 4d4b7810-5106-4c02-b8d3-c85c978775db
2026-06-19 14:20:58,931 - INFO - ================================================================================
2026-06-19 14:20:58,931 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-19 14:20:58,931 - 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-06-19 14:20:59,186 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with
2026-06-19 14:20:59,187 - INFO - Initial checks done. Running the testcase now
2026-06-19 14:20:59,187 - INFO -
2026-06-19 14:20:59,803 - DEBUG - Response for create_network : {'network': {'id': '11dd95ed-be28-463b-86af-10eee35560ab', 'name': 'ctest-vn-43755392', 'tenant_id': '4d4b781051064c02b8d3c85c978775db', 'project_id': '4d4b781051064c02b8d3c85c978775db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07815929', 'ctest-vn-43755392'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 14:21:00,004 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f5924b0-e848-43bf-9c7a-67d6ce6dd652', 'name': '', 'tenant_id': '4d4b781051064c02b8d3c85c978775db', 'network_id': '11dd95ed-be28-463b-86af-10eee35560ab', 'ip_version': 4, 'cidr': '63.157.17.192/26', 'allocation_pools': [{'start': '63.157.17.194', 'end': '63.157.17.254'}], 'gateway_ip': '63.157.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.157.17.194', 'tags': [], 'project_id': '4d4b781051064c02b8d3c85c978775db'}}
2026-06-19 14:21:00,018 - INFO - Created VN ctest-vn-43755392
2026-06-19 14:21:00,073 - DEBUG - VN ctest-vn-43755392 UUID is 11dd95ed-be28-463b-86af-10eee35560ab
2026-06-19 14:21:00,368 - DEBUG - Response for create_network : {'network': {'id': '495270e4-ab4e-49bc-9db5-70c41644bf1c', 'name': 'ctest-vn-92910920', 'tenant_id': '4d4b781051064c02b8d3c85c978775db', 'project_id': '4d4b781051064c02b8d3c85c978775db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07815929', 'ctest-vn-92910920'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 14:21:00,589 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e42d2e1f-86c5-4cdc-8e8c-1a3a149b2467', 'name': '', 'tenant_id': '4d4b781051064c02b8d3c85c978775db', 'network_id': '495270e4-ab4e-49bc-9db5-70c41644bf1c', 'ip_version': 4, 'cidr': '129.8.18.128/26', 'allocation_pools': [{'start': '129.8.18.130', 'end': '129.8.18.190'}], 'gateway_ip': '129.8.18.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.8.18.130', 'tags': [], 'project_id': '4d4b781051064c02b8d3c85c978775db'}}
2026-06-19 14:21:00,604 - INFO - Created VN ctest-vn-92910920
2026-06-19 14:21:00,657 - DEBUG - VN ctest-vn-92910920 UUID is 495270e4-ab4e-49bc-9db5-70c41644bf1c
2026-06-19 14:21:00,805 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07815929:ctest-vn-43755392, 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-07815929:ctest-vn-92910920, 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-06-19 14:21:01,092 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '11dd95ed-be28-463b-86af-10eee35560ab', 'name': 'ctest-vn-43755392', 'tenant_id': '4d4b781051064c02b8d3c85c978775db', 'project_id': '4d4b781051064c02b8d3c85c978775db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4f5924b0-e848-43bf-9c7a-67d6ce6dd652'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07815929', 'ctest-vn-43755392'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07815929', 'ctest-policy-allow-all-60802330']], 'subnet_ipam': [{'subnet_cidr': '63.157.17.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 14:21:01,315 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '495270e4-ab4e-49bc-9db5-70c41644bf1c', 'name': 'ctest-vn-92910920', 'tenant_id': '4d4b781051064c02b8d3c85c978775db', 'project_id': '4d4b781051064c02b8d3c85c978775db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e42d2e1f-86c5-4cdc-8e8c-1a3a149b2467'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07815929', 'ctest-vn-92910920'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07815929', 'ctest-policy-allow-all-60802330']], 'subnet_ipam': [{'subnet_cidr': '129.8.18.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 14:21:01,477 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-19 14:21:01,841 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-19 14:21:01,869 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f72a217-f495-47d6-b188-286e9316d45b
2026-06-19 14:21:01,881 - DEBUG - Requesting: http://10.0.0.50:8082/project/4d4b7810-5106-4c02-b8d3-c85c978775db
2026-06-19 14:21:01,959 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/11dd95ed-be28-463b-86af-10eee35560ab
2026-06-19 14:21:01,970 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/11dd95ed-be28-463b-86af-10eee35560ab
2026-06-19 14:21:01,979 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f687a043-832a-4c5b-83c0-00d22c3f3ab5
2026-06-19 14:21:01,985 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f687a043-832a-4c5b-83c0-00d22c3f3ab5
2026-06-19 14:21:01,991 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1901c4f7-fde7-40a7-8b57-9dd10314ca5e
2026-06-19 14:21:01,997 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 14:21:01,997 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/11dd95ed-be28-463b-86af-10eee35560ab
2026-06-19 14:21:02,005 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f687a043-832a-4c5b-83c0-00d22c3f3ab5
2026-06-19 14:21:02,018 - INFO - Verified VN network id 11 for VN 11dd95ed-be28-463b-86af-10eee35560ab
2026-06-19 14:21:02,018 - INFO - Verifications in API Server for VN ctest-vn-43755392 passed
2026-06-19 14:21:02,018 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/11dd95ed-be28-463b-86af-10eee35560ab
2026-06-19 14:21:02,027 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f687a043-832a-4c5b-83c0-00d22c3f3ab5
2026-06-19 14:21:02,033 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f687a043-832a-4c5b-83c0-00d22c3f3ab5
2026-06-19 14:21:02,039 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1901c4f7-fde7-40a7-8b57-9dd10314ca5e
2026-06-19 14:21:02,050 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07815929:ctest-vn-43755392', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07815929', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1287349916827928123', 'uuid-lslong': '9704994340208992427'}, 'enable': 'true', 'created': '2026-06-19T14:20:59', 'last-modified': '2026-06-19T14:21:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980848'}
2026-06-19 14:21:02,059 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 14:21:02,059 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43755392 passed
2026-06-19 14:21:02,059 - DEBUG - ====Verifying policy data for ctest-vn-43755392 in API_Server ======
2026-06-19 14:21:02,059 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-19 14:21:02,064 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f72a217-f495-47d6-b188-286e9316d45b
2026-06-19 14:21:02,075 - DEBUG - Requesting: http://10.0.0.50:8082/project/4d4b7810-5106-4c02-b8d3-c85c978775db
2026-06-19 14:21:02,149 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/11dd95ed-be28-463b-86af-10eee35560ab
2026-06-19 14:21:02,159 - DEBUG - ==>Verifying data for policy with id: 534c8681-d236-4615-afb0-65c99ea65d42, fqn: ['default-domain', 'ctest-TestBasicPolicy-07815929', 'ctest-policy-allow-all-60802330']
2026-06-19 14:21:02,159 - INFO - VN ctest-vn-43755392 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 14:21:02,159 - DEBUG - Verifying the vn in opserver
2026-06-19 14:21:02,159 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07815929:ctest-vn-43755392 virtual network link through opserver 10.0.0.50
2026-06-19 14:21:02,160 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-19 14:21:02,522 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-19 14:21:02,573 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07815929:ctest-vn-43755392', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07815929:ctest-vn-43755392?flat'}
2026-06-19 14:21:02,573 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07815929:ctest-vn-43755392 is found in opserver
2026-06-19 14:21:02,583 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 14:21:02,587 - DEBUG - VRF ids for VN ctest-vn-43755392: {}
2026-06-19 14:21:02,587 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-19 14:21:02,592 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f72a217-f495-47d6-b188-286e9316d45b
2026-06-19 14:21:02,606 - DEBUG - Requesting: http://10.0.0.50:8082/project/4d4b7810-5106-4c02-b8d3-c85c978775db
2026-06-19 14:21:02,676 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/495270e4-ab4e-49bc-9db5-70c41644bf1c
2026-06-19 14:21:02,687 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/495270e4-ab4e-49bc-9db5-70c41644bf1c
2026-06-19 14:21:02,701 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2390c1b8-041f-4934-b9d5-15720a4802b9
2026-06-19 14:21:02,709 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2390c1b8-041f-4934-b9d5-15720a4802b9
2026-06-19 14:21:02,716 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3b911d36-4321-44b3-8f5e-7b07160b8c7e
2026-06-19 14:21:02,724 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 14:21:02,724 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/495270e4-ab4e-49bc-9db5-70c41644bf1c
2026-06-19 14:21:02,735 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2390c1b8-041f-4934-b9d5-15720a4802b9
2026-06-19 14:21:02,751 - INFO - Verified VN network id 12 for VN 495270e4-ab4e-49bc-9db5-70c41644bf1c
2026-06-19 14:21:02,751 - INFO - Verifications in API Server for VN ctest-vn-92910920 passed
2026-06-19 14:21:02,751 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/495270e4-ab4e-49bc-9db5-70c41644bf1c
2026-06-19 14:21:02,762 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2390c1b8-041f-4934-b9d5-15720a4802b9
2026-06-19 14:21:02,770 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2390c1b8-041f-4934-b9d5-15720a4802b9
2026-06-19 14:21:02,780 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3b911d36-4321-44b3-8f5e-7b07160b8c7e
2026-06-19 14:21:02,792 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07815929:ctest-vn-92910920', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07815929', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5283409440287902140', 'uuid-lslong': '11364113222228819740'}, 'enable': 'true', 'created': '2026-06-19T14:21:00', 'last-modified': '2026-06-19T14:21:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.497190'}
2026-06-19 14:21:02,798 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 14:21:02,798 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92910920 passed
2026-06-19 14:21:02,799 - DEBUG - ====Verifying policy data for ctest-vn-92910920 in API_Server ======
2026-06-19 14:21:02,799 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-19 14:21:02,805 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f72a217-f495-47d6-b188-286e9316d45b
2026-06-19 14:21:02,817 - DEBUG - Requesting: http://10.0.0.50:8082/project/4d4b7810-5106-4c02-b8d3-c85c978775db
2026-06-19 14:21:02,887 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/495270e4-ab4e-49bc-9db5-70c41644bf1c
2026-06-19 14:21:02,897 - DEBUG - ==>Verifying data for policy with id: 534c8681-d236-4615-afb0-65c99ea65d42, fqn: ['default-domain', 'ctest-TestBasicPolicy-07815929', 'ctest-policy-allow-all-60802330']
2026-06-19 14:21:02,898 - INFO - VN ctest-vn-92910920 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 14:21:02,898 - DEBUG - Verifying the vn in opserver
2026-06-19 14:21:02,898 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07815929:ctest-vn-92910920 virtual network link through opserver 10.0.0.50
2026-06-19 14:21:02,898 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-19 14:21:02,908 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07815929:ctest-vn-92910920', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07815929:ctest-vn-92910920?flat'}
2026-06-19 14:21:02,908 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07815929:ctest-vn-92910920 is found in opserver
2026-06-19 14:21:02,917 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 14:21:02,921 - DEBUG - VRF ids for VN ctest-vn-92910920: {}
2026-06-19 14:21:02,990 - DEBUG - Services list from nova: [