2026-09-16 13:10:19,225 - INFO - Domain Default found not creating
2026-09-16 13:10:19,397 - INFO - Project ctest-TestBasicPolicy-65554915 not found, creating it
2026-09-16 13:10:20,233 - INFO - Created Project:ctest-TestBasicPolicy-65554915, ID : c3476d9b-21a2-407a-ab55-e0422a65f0d4
2026-09-16 13:10:21,884 - INFO - ================================================================================
2026-09-16 13:10:21,885 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-16 13:10:21,885 - 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-09-16 13:10:22,146 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.30': '0'}} with
2026-09-16 13:10:22,146 - INFO - Initial checks done. Running the testcase now
2026-09-16 13:10:22,146 - INFO -
2026-09-16 13:10:22,756 - DEBUG - Response for create_network : {'network': {'id': 'e63a0ba8-659b-41e3-9fe1-12f269e17787', 'name': 'ctest-vn-05270842', 'tenant_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'project_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-vn-05270842'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:10:22,929 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3b2df64-7034-4b78-8b1f-b4b624b24146', 'name': '', 'tenant_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'network_id': 'e63a0ba8-659b-41e3-9fe1-12f269e17787', 'ip_version': 4, 'cidr': '210.248.88.128/26', 'allocation_pools': [{'start': '210.248.88.130', 'end': '210.248.88.190'}], 'gateway_ip': '210.248.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.248.88.130', 'tags': [], 'project_id': 'c3476d9b21a2407aab55e0422a65f0d4'}}
2026-09-16 13:10:22,947 - INFO - Created VN ctest-vn-05270842
2026-09-16 13:10:22,999 - DEBUG - VN ctest-vn-05270842 UUID is e63a0ba8-659b-41e3-9fe1-12f269e17787
2026-09-16 13:10:23,309 - DEBUG - Response for create_network : {'network': {'id': 'b3213387-f1bd-4417-88b3-6f214cb4987c', 'name': 'ctest-vn-58719505', 'tenant_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'project_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-vn-58719505'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:10:23,538 - DEBUG - Response for create_subnet : {'subnet': {'id': '86350ef1-fb63-4220-9d17-5269b244e603', 'name': '', 'tenant_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'network_id': 'b3213387-f1bd-4417-88b3-6f214cb4987c', 'ip_version': 4, 'cidr': '202.176.184.64/26', 'allocation_pools': [{'start': '202.176.184.66', 'end': '202.176.184.126'}], 'gateway_ip': '202.176.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.176.184.66', 'tags': [], 'project_id': 'c3476d9b21a2407aab55e0422a65f0d4'}}
2026-09-16 13:10:23,558 - INFO - Created VN ctest-vn-58719505
2026-09-16 13:10:23,615 - DEBUG - VN ctest-vn-58719505 UUID is b3213387-f1bd-4417-88b3-6f214cb4987c
2026-09-16 13:10:23,741 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-05270842, 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-65554915:ctest-vn-58719505, 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-09-16 13:10:24,042 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e63a0ba8-659b-41e3-9fe1-12f269e17787', 'name': 'ctest-vn-05270842', 'tenant_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'project_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e3b2df64-7034-4b78-8b1f-b4b624b24146'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-vn-05270842'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-policy-allow-all-41267183']], 'subnet_ipam': [{'subnet_cidr': '210.248.88.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:10:24,286 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3213387-f1bd-4417-88b3-6f214cb4987c', 'name': 'ctest-vn-58719505', 'tenant_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'project_id': 'c3476d9b21a2407aab55e0422a65f0d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['86350ef1-fb63-4220-9d17-5269b244e603'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-vn-58719505'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-policy-allow-all-41267183']], 'subnet_ipam': [{'subnet_cidr': '202.176.184.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:10:24,451 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-09-16 13:10:24,788 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-09-16 13:10:24,819 - DEBUG - Requesting: http://10.0.0.188:8082/domain/89086857-95df-4850-b380-2d06c87d4cbe
2026-09-16 13:10:24,833 - DEBUG - Requesting: http://10.0.0.188:8082/project/c3476d9b-21a2-407a-ab55-e0422a65f0d4
2026-09-16 13:10:24,918 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/e63a0ba8-659b-41e3-9fe1-12f269e17787
2026-09-16 13:10:24,930 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/e63a0ba8-659b-41e3-9fe1-12f269e17787
2026-09-16 13:10:24,940 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/4f9cc4ff-a2bf-4187-b180-56c8f302113a
2026-09-16 13:10:24,949 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/4f9cc4ff-a2bf-4187-b180-56c8f302113a
2026-09-16 13:10:24,957 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/27b640bb-3bca-4cad-bda7-386f82a64e18
2026-09-16 13:10:24,965 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 13:10:24,965 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/e63a0ba8-659b-41e3-9fe1-12f269e17787
2026-09-16 13:10:24,973 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/4f9cc4ff-a2bf-4187-b180-56c8f302113a
2026-09-16 13:10:24,989 - INFO - Verified VN network id 12 for VN e63a0ba8-659b-41e3-9fe1-12f269e17787
2026-09-16 13:10:24,989 - INFO - Verifications in API Server for VN ctest-vn-05270842 passed
2026-09-16 13:10:24,989 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/e63a0ba8-659b-41e3-9fe1-12f269e17787
2026-09-16 13:10:24,998 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/4f9cc4ff-a2bf-4187-b180-56c8f302113a
2026-09-16 13:10:25,006 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/4f9cc4ff-a2bf-4187-b180-56c8f302113a
2026-09-16 13:10:25,015 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/27b640bb-3bca-4cad-bda7-386f82a64e18
2026-09-16 13:10:25,029 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-05270842', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65554915', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16589584995259728355', 'uuid-lslong': '11520510154158208903'}, 'enable': 'true', 'created': '2026-09-16T13:10:22', 'last-modified': '2026-09-16T13:10:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.008008'}
2026-09-16 13:10:25,039 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 13:10:25,039 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05270842 passed
2026-09-16 13:10:25,039 - DEBUG - ====Verifying policy data for ctest-vn-05270842 in API_Server ======
2026-09-16 13:10:25,039 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-09-16 13:10:25,046 - DEBUG - Requesting: http://10.0.0.188:8082/domain/89086857-95df-4850-b380-2d06c87d4cbe
2026-09-16 13:10:25,058 - DEBUG - Requesting: http://10.0.0.188:8082/project/c3476d9b-21a2-407a-ab55-e0422a65f0d4
2026-09-16 13:10:25,131 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/e63a0ba8-659b-41e3-9fe1-12f269e17787
2026-09-16 13:10:25,140 - DEBUG - ==>Verifying data for policy with id: 6367f59f-91a5-4ce8-8003-347770dc3872, fqn: ['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-policy-allow-all-41267183']
2026-09-16 13:10:25,140 - INFO - VN ctest-vn-05270842 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 13:10:25,140 - DEBUG - Verifying the vn in opserver
2026-09-16 13:10:25,140 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-05270842 virtual network link through opserver 10.0.0.188
2026-09-16 13:10:25,140 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks
2026-09-16 13:10:25,476 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks
2026-09-16 13:10:25,533 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-05270842', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-05270842?flat'}
2026-09-16 13:10:25,533 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-05270842 is found in opserver
2026-09-16 13:10:25,547 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 13:10:25,554 - DEBUG - VRF ids for VN ctest-vn-05270842: {}
2026-09-16 13:10:25,554 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-09-16 13:10:25,561 - DEBUG - Requesting: http://10.0.0.188:8082/domain/89086857-95df-4850-b380-2d06c87d4cbe
2026-09-16 13:10:25,573 - DEBUG - Requesting: http://10.0.0.188:8082/project/c3476d9b-21a2-407a-ab55-e0422a65f0d4
2026-09-16 13:10:25,649 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/b3213387-f1bd-4417-88b3-6f214cb4987c
2026-09-16 13:10:25,661 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/b3213387-f1bd-4417-88b3-6f214cb4987c
2026-09-16 13:10:25,672 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/aeea5366-ef0a-4122-9345-b21b29da0ab2
2026-09-16 13:10:25,680 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/aeea5366-ef0a-4122-9345-b21b29da0ab2
2026-09-16 13:10:25,688 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/a0c5ba90-1d10-4d37-a652-0a02181f56a4
2026-09-16 13:10:25,697 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 13:10:25,697 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/b3213387-f1bd-4417-88b3-6f214cb4987c
2026-09-16 13:10:25,707 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/aeea5366-ef0a-4122-9345-b21b29da0ab2
2026-09-16 13:10:25,723 - INFO - Verified VN network id 13 for VN b3213387-f1bd-4417-88b3-6f214cb4987c
2026-09-16 13:10:25,724 - INFO - Verifications in API Server for VN ctest-vn-58719505 passed
2026-09-16 13:10:25,724 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/b3213387-f1bd-4417-88b3-6f214cb4987c
2026-09-16 13:10:25,736 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/aeea5366-ef0a-4122-9345-b21b29da0ab2
2026-09-16 13:10:25,745 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/aeea5366-ef0a-4122-9345-b21b29da0ab2
2026-09-16 13:10:25,753 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/a0c5ba90-1d10-4d37-a652-0a02181f56a4
2026-09-16 13:10:25,768 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-58719505', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65554915', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12907654665989866519', 'uuid-lslong': '9850338998800914556'}, 'enable': 'true', 'created': '2026-09-16T13:10:23', 'last-modified': '2026-09-16T13:10:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.501823'}
2026-09-16 13:10:25,775 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 13:10:25,775 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58719505 passed
2026-09-16 13:10:25,775 - DEBUG - ====Verifying policy data for ctest-vn-58719505 in API_Server ======
2026-09-16 13:10:25,775 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-09-16 13:10:25,782 - DEBUG - Requesting: http://10.0.0.188:8082/domain/89086857-95df-4850-b380-2d06c87d4cbe
2026-09-16 13:10:25,795 - DEBUG - Requesting: http://10.0.0.188:8082/project/c3476d9b-21a2-407a-ab55-e0422a65f0d4
2026-09-16 13:10:25,873 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/b3213387-f1bd-4417-88b3-6f214cb4987c
2026-09-16 13:10:25,886 - DEBUG - ==>Verifying data for policy with id: 6367f59f-91a5-4ce8-8003-347770dc3872, fqn: ['default-domain', 'ctest-TestBasicPolicy-65554915', 'ctest-policy-allow-all-41267183']
2026-09-16 13:10:25,886 - INFO - VN ctest-vn-58719505 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 13:10:25,887 - DEBUG - Verifying the vn in opserver
2026-09-16 13:10:25,887 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-58719505 virtual network link through opserver 10.0.0.188
2026-09-16 13:10:25,887 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks
2026-09-16 13:10:25,899 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-58719505', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-58719505?flat'}
2026-09-16 13:10:25,899 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65554915:ctest-vn-58719505 is found in opserver
2026-09-16 13:10:25,911 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 13:10:25,916 - DEBUG - VRF ids for VN ctest-vn-58719505: {}
2026-09-16 13:10:25,984 - DEBUG - Services list from nova: [