2026-01-08 02:27:44,493 - INFO - Domain Default found not creating
2026-01-08 02:27:44,705 - INFO - Project ctest-TestBasicPolicy-48201979 not found, creating it
2026-01-08 02:27:45,198 - INFO - Created Project:ctest-TestBasicPolicy-48201979, ID : b5d1e453-82b8-482e-a5f1-6f714b2726ef
2026-01-08 02:27:46,888 - INFO - ================================================================================
2026-01-08 02:27:46,888 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-08 02:27:46,888 - 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-08 02:27:47,150 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.201': '0'}} with
2026-01-08 02:27:47,150 - INFO - Initial checks done. Running the testcase now
2026-01-08 02:27:47,150 - INFO -
2026-01-08 02:27:47,785 - DEBUG - Response for create_network : {'network': {'id': '00250687-ac0c-4d18-8073-1930a99c26ec', 'name': 'ctest-vn-15842618', 'tenant_id': 'b5d1e45382b8482ea5f16f714b2726ef', 'project_id': 'b5d1e45382b8482ea5f16f714b2726ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48201979', 'ctest-vn-15842618'], 'port_security_enabled': True, 'description': ''}}
2026-01-08 02:27:48,007 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd94c633f-3973-41dd-b7e4-a438a09e5538', 'name': '', 'tenant_id': 'b5d1e45382b8482ea5f16f714b2726ef', 'network_id': '00250687-ac0c-4d18-8073-1930a99c26ec', 'ip_version': 4, 'cidr': '79.16.19.0/26', 'allocation_pools': [{'start': '79.16.19.2', 'end': '79.16.19.62'}], 'gateway_ip': '79.16.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.16.19.2', 'tags': [], 'project_id': 'b5d1e45382b8482ea5f16f714b2726ef'}}
2026-01-08 02:27:48,028 - INFO - Created VN ctest-vn-15842618
2026-01-08 02:27:48,079 - DEBUG - VN ctest-vn-15842618 UUID is 00250687-ac0c-4d18-8073-1930a99c26ec
2026-01-08 02:27:48,384 - DEBUG - Response for create_network : {'network': {'id': '9487d0d8-7f61-4fce-8107-72413b33bbe5', 'name': 'ctest-vn-77193021', 'tenant_id': 'b5d1e45382b8482ea5f16f714b2726ef', 'project_id': 'b5d1e45382b8482ea5f16f714b2726ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48201979', 'ctest-vn-77193021'], 'port_security_enabled': True, 'description': ''}}
2026-01-08 02:27:48,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '254fe628-835e-41b2-8cec-ea1d6d14666a', 'name': '', 'tenant_id': 'b5d1e45382b8482ea5f16f714b2726ef', 'network_id': '9487d0d8-7f61-4fce-8107-72413b33bbe5', 'ip_version': 4, 'cidr': '56.192.53.0/26', 'allocation_pools': [{'start': '56.192.53.2', 'end': '56.192.53.62'}], 'gateway_ip': '56.192.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.192.53.2', 'tags': [], 'project_id': 'b5d1e45382b8482ea5f16f714b2726ef'}}
2026-01-08 02:27:48,621 - INFO - Created VN ctest-vn-77193021
2026-01-08 02:27:48,675 - DEBUG - VN ctest-vn-77193021 UUID is 9487d0d8-7f61-4fce-8107-72413b33bbe5
2026-01-08 02:27:48,795 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48201979:ctest-vn-15842618, 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-48201979:ctest-vn-77193021, 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-08 02:27:49,098 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00250687-ac0c-4d18-8073-1930a99c26ec', 'name': 'ctest-vn-15842618', 'tenant_id': 'b5d1e45382b8482ea5f16f714b2726ef', 'project_id': 'b5d1e45382b8482ea5f16f714b2726ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d94c633f-3973-41dd-b7e4-a438a09e5538'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48201979', 'ctest-vn-15842618'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48201979', 'ctest-policy-allow-all-93336214']], 'subnet_ipam': [{'subnet_cidr': '79.16.19.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-08 02:27:49,348 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9487d0d8-7f61-4fce-8107-72413b33bbe5', 'name': 'ctest-vn-77193021', 'tenant_id': 'b5d1e45382b8482ea5f16f714b2726ef', 'project_id': 'b5d1e45382b8482ea5f16f714b2726ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['254fe628-835e-41b2-8cec-ea1d6d14666a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48201979', 'ctest-vn-77193021'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48201979', 'ctest-policy-allow-all-93336214']], 'subnet_ipam': [{'subnet_cidr': '56.192.53.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-08 02:27:49,508 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-08 02:27:49,857 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-08 02:27:49,890 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e3b6851-b16f-4499-946a-67f986caa9e0
2026-01-08 02:27:49,905 - DEBUG - Requesting: http://10.0.0.33:8082/project/b5d1e453-82b8-482e-a5f1-6f714b2726ef
2026-01-08 02:27:49,986 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00250687-ac0c-4d18-8073-1930a99c26ec
2026-01-08 02:27:49,999 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00250687-ac0c-4d18-8073-1930a99c26ec
2026-01-08 02:27:50,012 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd121ae5-3687-4082-a3f7-fc705c0dddeb
2026-01-08 02:27:50,021 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd121ae5-3687-4082-a3f7-fc705c0dddeb
2026-01-08 02:27:50,030 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/bf6b09b8-94b5-4170-ae7d-ba7cb3a8b972
2026-01-08 02:27:50,037 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-08 02:27:50,038 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00250687-ac0c-4d18-8073-1930a99c26ec
2026-01-08 02:27:50,048 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd121ae5-3687-4082-a3f7-fc705c0dddeb
2026-01-08 02:27:50,062 - INFO - Verified VN network id 11 for VN 00250687-ac0c-4d18-8073-1930a99c26ec
2026-01-08 02:27:50,062 - INFO - Verifications in API Server for VN ctest-vn-15842618 passed
2026-01-08 02:27:50,062 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00250687-ac0c-4d18-8073-1930a99c26ec
2026-01-08 02:27:50,073 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd121ae5-3687-4082-a3f7-fc705c0dddeb
2026-01-08 02:27:50,083 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd121ae5-3687-4082-a3f7-fc705c0dddeb
2026-01-08 02:27:50,090 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/bf6b09b8-94b5-4170-ae7d-ba7cb3a8b972
2026-01-08 02:27:50,102 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48201979:ctest-vn-15842618', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48201979', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10421753915133208', 'uuid-lslong': '9255769355971208940'}, 'enable': 'true', 'created': '2026-01-08T02:27:47', 'last-modified': '2026-01-08T02:27:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.030371'}
2026-01-08 02:27:50,108 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-08 02:27:50,108 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15842618 passed
2026-01-08 02:27:50,109 - DEBUG - ====Verifying policy data for ctest-vn-15842618 in API_Server ======
2026-01-08 02:27:50,109 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-08 02:27:50,114 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e3b6851-b16f-4499-946a-67f986caa9e0
2026-01-08 02:27:50,126 - DEBUG - Requesting: http://10.0.0.33:8082/project/b5d1e453-82b8-482e-a5f1-6f714b2726ef
2026-01-08 02:27:50,197 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00250687-ac0c-4d18-8073-1930a99c26ec
2026-01-08 02:27:50,208 - DEBUG - ==>Verifying data for policy with id: 83a02efc-d09f-4ea7-aa40-379ec6b809a0, fqn: ['default-domain', 'ctest-TestBasicPolicy-48201979', 'ctest-policy-allow-all-93336214']
2026-01-08 02:27:50,208 - INFO - VN ctest-vn-15842618 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-08 02:27:50,208 - DEBUG - Verifying the vn in opserver
2026-01-08 02:27:50,208 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48201979:ctest-vn-15842618 virtual network link through opserver 10.0.0.33
2026-01-08 02:27:50,208 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-08 02:27:50,554 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-08 02:27:50,630 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48201979:ctest-vn-15842618', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48201979:ctest-vn-15842618?flat'}
2026-01-08 02:27:50,631 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48201979:ctest-vn-15842618 is found in opserver
2026-01-08 02:27:50,641 - DEBUG - Do not have enough data to verify VN in agent
2026-01-08 02:27:50,646 - DEBUG - VRF ids for VN ctest-vn-15842618: {}
2026-01-08 02:27:50,646 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-08 02:27:50,652 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e3b6851-b16f-4499-946a-67f986caa9e0
2026-01-08 02:27:50,663 - DEBUG - Requesting: http://10.0.0.33:8082/project/b5d1e453-82b8-482e-a5f1-6f714b2726ef
2026-01-08 02:27:50,738 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9487d0d8-7f61-4fce-8107-72413b33bbe5
2026-01-08 02:27:50,753 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9487d0d8-7f61-4fce-8107-72413b33bbe5
2026-01-08 02:27:50,763 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4a598a18-a4d0-42ea-9dc7-76377616dc45
2026-01-08 02:27:50,769 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4a598a18-a4d0-42ea-9dc7-76377616dc45
2026-01-08 02:27:50,776 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/fcf868f5-1e87-4b76-9ebf-1cfc338213ac
2026-01-08 02:27:50,782 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-08 02:27:50,783 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9487d0d8-7f61-4fce-8107-72413b33bbe5
2026-01-08 02:27:50,791 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4a598a18-a4d0-42ea-9dc7-76377616dc45
2026-01-08 02:27:50,805 - INFO - Verified VN network id 12 for VN 9487d0d8-7f61-4fce-8107-72413b33bbe5
2026-01-08 02:27:50,805 - INFO - Verifications in API Server for VN ctest-vn-77193021 passed
2026-01-08 02:27:50,805 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9487d0d8-7f61-4fce-8107-72413b33bbe5
2026-01-08 02:27:50,813 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4a598a18-a4d0-42ea-9dc7-76377616dc45
2026-01-08 02:27:50,820 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4a598a18-a4d0-42ea-9dc7-76377616dc45
2026-01-08 02:27:50,827 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/fcf868f5-1e87-4b76-9ebf-1cfc338213ac
2026-01-08 02:27:50,839 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48201979:ctest-vn-77193021', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48201979', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10702752667737870286', 'uuid-lslong': '9297525580221365221'}, 'enable': 'true', 'created': '2026-01-08T02:27:48', 'last-modified': '2026-01-08T02:27:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.513060'}
2026-01-08 02:27:50,846 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-08 02:27:50,846 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77193021 passed
2026-01-08 02:27:50,846 - DEBUG - ====Verifying policy data for ctest-vn-77193021 in API_Server ======
2026-01-08 02:27:50,846 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-08 02:27:50,853 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e3b6851-b16f-4499-946a-67f986caa9e0
2026-01-08 02:27:50,864 - DEBUG - Requesting: http://10.0.0.33:8082/project/b5d1e453-82b8-482e-a5f1-6f714b2726ef
2026-01-08 02:27:50,937 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9487d0d8-7f61-4fce-8107-72413b33bbe5
2026-01-08 02:27:50,947 - DEBUG - ==>Verifying data for policy with id: 83a02efc-d09f-4ea7-aa40-379ec6b809a0, fqn: ['default-domain', 'ctest-TestBasicPolicy-48201979', 'ctest-policy-allow-all-93336214']
2026-01-08 02:27:50,947 - INFO - VN ctest-vn-77193021 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-08 02:27:50,947 - DEBUG - Verifying the vn in opserver
2026-01-08 02:27:50,947 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48201979:ctest-vn-77193021 virtual network link through opserver 10.0.0.33
2026-01-08 02:27:50,947 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-08 02:27:50,957 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48201979:ctest-vn-77193021', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48201979:ctest-vn-77193021?flat'}
2026-01-08 02:27:50,957 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48201979:ctest-vn-77193021 is found in opserver
2026-01-08 02:27:50,967 - DEBUG - Do not have enough data to verify VN in agent
2026-01-08 02:27:50,971 - DEBUG - VRF ids for VN ctest-vn-77193021: {}
2026-01-08 02:27:51,035 - DEBUG - Services list from nova: [