2026-02-23 02:17:40,176 - INFO - Domain Default found not creating
2026-02-23 02:17:40,345 - INFO - Project ctest-TestBasicPolicy-66067233 not found, creating it
2026-02-23 02:17:40,801 - INFO - Created Project:ctest-TestBasicPolicy-66067233, ID : eda55c8a-31a6-4096-9591-95245e73666c
2026-02-23 02:17:42,276 - INFO - ================================================================================
2026-02-23 02:17:42,276 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-23 02:17:42,276 - 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-02-23 02:17:42,536 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.200': '0'}} with
2026-02-23 02:17:42,536 - INFO - Initial checks done. Running the testcase now
2026-02-23 02:17:42,536 - INFO -
2026-02-23 02:17:43,106 - DEBUG - Response for create_network : {'network': {'id': '3b68a989-b441-4a38-b2d6-cfd6186878b1', 'name': 'ctest-vn-43514376', 'tenant_id': 'eda55c8a31a64096959195245e73666c', 'project_id': 'eda55c8a31a64096959195245e73666c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66067233', 'ctest-vn-43514376'], 'port_security_enabled': True, 'description': ''}}
2026-02-23 02:17:43,272 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e823aae0-c930-4902-b63b-ce50e39224b1', 'name': '', 'tenant_id': 'eda55c8a31a64096959195245e73666c', 'network_id': '3b68a989-b441-4a38-b2d6-cfd6186878b1', 'ip_version': 4, 'cidr': '108.81.14.192/26', 'allocation_pools': [{'start': '108.81.14.194', 'end': '108.81.14.254'}], 'gateway_ip': '108.81.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.81.14.194', 'tags': [], 'project_id': 'eda55c8a31a64096959195245e73666c'}}
2026-02-23 02:17:43,289 - INFO - Created VN ctest-vn-43514376
2026-02-23 02:17:43,346 - DEBUG - VN ctest-vn-43514376 UUID is 3b68a989-b441-4a38-b2d6-cfd6186878b1
2026-02-23 02:17:43,701 - DEBUG - Response for create_network : {'network': {'id': '2359230b-363e-40c6-99a2-23fea45dfc76', 'name': 'ctest-vn-78784480', 'tenant_id': 'eda55c8a31a64096959195245e73666c', 'project_id': 'eda55c8a31a64096959195245e73666c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66067233', 'ctest-vn-78784480'], 'port_security_enabled': True, 'description': ''}}
2026-02-23 02:17:43,855 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdd19346-1d57-4d70-b3c7-c966f12a3569', 'name': '', 'tenant_id': 'eda55c8a31a64096959195245e73666c', 'network_id': '2359230b-363e-40c6-99a2-23fea45dfc76', 'ip_version': 4, 'cidr': '66.101.93.128/26', 'allocation_pools': [{'start': '66.101.93.130', 'end': '66.101.93.190'}], 'gateway_ip': '66.101.93.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.101.93.130', 'tags': [], 'project_id': 'eda55c8a31a64096959195245e73666c'}}
2026-02-23 02:17:43,870 - INFO - Created VN ctest-vn-78784480
2026-02-23 02:17:43,922 - DEBUG - VN ctest-vn-78784480 UUID is 2359230b-363e-40c6-99a2-23fea45dfc76
2026-02-23 02:17:44,066 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66067233:ctest-vn-43514376, 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-66067233:ctest-vn-78784480, 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-02-23 02:17:44,352 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3b68a989-b441-4a38-b2d6-cfd6186878b1', 'name': 'ctest-vn-43514376', 'tenant_id': 'eda55c8a31a64096959195245e73666c', 'project_id': 'eda55c8a31a64096959195245e73666c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e823aae0-c930-4902-b63b-ce50e39224b1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66067233', 'ctest-vn-43514376'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66067233', 'ctest-policy-allow-all-57050761']], 'subnet_ipam': [{'subnet_cidr': '108.81.14.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-23 02:17:44,573 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2359230b-363e-40c6-99a2-23fea45dfc76', 'name': 'ctest-vn-78784480', 'tenant_id': 'eda55c8a31a64096959195245e73666c', 'project_id': 'eda55c8a31a64096959195245e73666c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cdd19346-1d57-4d70-b3c7-c966f12a3569'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66067233', 'ctest-vn-78784480'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66067233', 'ctest-policy-allow-all-57050761']], 'subnet_ipam': [{'subnet_cidr': '66.101.93.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-23 02:17:44,714 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-23 02:17:45,010 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-23 02:17:45,039 - DEBUG - Requesting: http://10.0.0.130:8082/domain/908b7632-dc5d-40f0-9381-8b9bfa84b7c3
2026-02-23 02:17:45,049 - DEBUG - Requesting: http://10.0.0.130:8082/project/eda55c8a-31a6-4096-9591-95245e73666c
2026-02-23 02:17:45,121 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/3b68a989-b441-4a38-b2d6-cfd6186878b1
2026-02-23 02:17:45,130 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/3b68a989-b441-4a38-b2d6-cfd6186878b1
2026-02-23 02:17:45,138 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/39cc1a02-f32e-4832-bc62-73fc2a5ff2a2
2026-02-23 02:17:45,144 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/39cc1a02-f32e-4832-bc62-73fc2a5ff2a2
2026-02-23 02:17:45,151 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/c955c2a2-7ac7-49fa-940c-e562b07626e4
2026-02-23 02:17:45,157 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-23 02:17:45,157 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/3b68a989-b441-4a38-b2d6-cfd6186878b1
2026-02-23 02:17:45,165 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/39cc1a02-f32e-4832-bc62-73fc2a5ff2a2
2026-02-23 02:17:45,178 - INFO - Verified VN network id 11 for VN 3b68a989-b441-4a38-b2d6-cfd6186878b1
2026-02-23 02:17:45,178 - INFO - Verifications in API Server for VN ctest-vn-43514376 passed
2026-02-23 02:17:45,178 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/3b68a989-b441-4a38-b2d6-cfd6186878b1
2026-02-23 02:17:45,186 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/39cc1a02-f32e-4832-bc62-73fc2a5ff2a2
2026-02-23 02:17:45,193 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/39cc1a02-f32e-4832-bc62-73fc2a5ff2a2
2026-02-23 02:17:45,199 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/c955c2a2-7ac7-49fa-940c-e562b07626e4
2026-02-23 02:17:45,209 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66067233:ctest-vn-43514376', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66067233', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4280857854715447864', 'uuid-lslong': '12886715902206703793'}, 'enable': 'true', 'created': '2026-02-23T02:17:43', 'last-modified': '2026-02-23T02:17:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.870201'}
2026-02-23 02:17:45,215 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-23 02:17:45,215 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43514376 passed
2026-02-23 02:17:45,216 - DEBUG - ====Verifying policy data for ctest-vn-43514376 in API_Server ======
2026-02-23 02:17:45,216 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-23 02:17:45,220 - DEBUG - Requesting: http://10.0.0.130:8082/domain/908b7632-dc5d-40f0-9381-8b9bfa84b7c3
2026-02-23 02:17:45,230 - DEBUG - Requesting: http://10.0.0.130:8082/project/eda55c8a-31a6-4096-9591-95245e73666c
2026-02-23 02:17:45,301 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/3b68a989-b441-4a38-b2d6-cfd6186878b1
2026-02-23 02:17:45,310 - DEBUG - ==>Verifying data for policy with id: ee8fb59e-3b89-4fc6-9134-5606b84b4541, fqn: ['default-domain', 'ctest-TestBasicPolicy-66067233', 'ctest-policy-allow-all-57050761']
2026-02-23 02:17:45,310 - INFO - VN ctest-vn-43514376 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-23 02:17:45,310 - DEBUG - Verifying the vn in opserver
2026-02-23 02:17:45,310 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66067233:ctest-vn-43514376 virtual network link through opserver 10.0.0.130
2026-02-23 02:17:45,310 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-02-23 02:17:45,604 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-02-23 02:17:45,663 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66067233:ctest-vn-43514376', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66067233:ctest-vn-43514376?flat'}
2026-02-23 02:17:45,664 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66067233:ctest-vn-43514376 is found in opserver
2026-02-23 02:17:45,675 - DEBUG - Do not have enough data to verify VN in agent
2026-02-23 02:17:45,680 - DEBUG - VRF ids for VN ctest-vn-43514376: {}
2026-02-23 02:17:45,680 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-23 02:17:45,685 - DEBUG - Requesting: http://10.0.0.130:8082/domain/908b7632-dc5d-40f0-9381-8b9bfa84b7c3
2026-02-23 02:17:45,696 - DEBUG - Requesting: http://10.0.0.130:8082/project/eda55c8a-31a6-4096-9591-95245e73666c
2026-02-23 02:17:45,765 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2359230b-363e-40c6-99a2-23fea45dfc76
2026-02-23 02:17:45,776 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2359230b-363e-40c6-99a2-23fea45dfc76
2026-02-23 02:17:45,785 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f5ac36bf-6b1f-4367-93ae-827824dc74fa
2026-02-23 02:17:45,791 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f5ac36bf-6b1f-4367-93ae-827824dc74fa
2026-02-23 02:17:45,797 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/b2960b8d-3a28-4ea4-9232-d4e641c14303
2026-02-23 02:17:45,803 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-23 02:17:45,803 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2359230b-363e-40c6-99a2-23fea45dfc76
2026-02-23 02:17:45,812 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f5ac36bf-6b1f-4367-93ae-827824dc74fa
2026-02-23 02:17:45,824 - INFO - Verified VN network id 12 for VN 2359230b-363e-40c6-99a2-23fea45dfc76
2026-02-23 02:17:45,824 - INFO - Verifications in API Server for VN ctest-vn-78784480 passed
2026-02-23 02:17:45,824 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2359230b-363e-40c6-99a2-23fea45dfc76
2026-02-23 02:17:45,831 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f5ac36bf-6b1f-4367-93ae-827824dc74fa
2026-02-23 02:17:45,837 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f5ac36bf-6b1f-4367-93ae-827824dc74fa
2026-02-23 02:17:45,842 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/b2960b8d-3a28-4ea4-9232-d4e641c14303
2026-02-23 02:17:45,853 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66067233:ctest-vn-78784480', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66067233', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2547105595316388038', 'uuid-lslong': '11070450410616388726'}, 'enable': 'true', 'created': '2026-02-23T02:17:43', 'last-modified': '2026-02-23T02:17:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.305436'}
2026-02-23 02:17:45,857 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-23 02:17:45,857 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78784480 passed
2026-02-23 02:17:45,858 - DEBUG - ====Verifying policy data for ctest-vn-78784480 in API_Server ======
2026-02-23 02:17:45,858 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-23 02:17:45,863 - DEBUG - Requesting: http://10.0.0.130:8082/domain/908b7632-dc5d-40f0-9381-8b9bfa84b7c3
2026-02-23 02:17:45,872 - DEBUG - Requesting: http://10.0.0.130:8082/project/eda55c8a-31a6-4096-9591-95245e73666c
2026-02-23 02:17:45,938 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2359230b-363e-40c6-99a2-23fea45dfc76
2026-02-23 02:17:45,946 - DEBUG - ==>Verifying data for policy with id: ee8fb59e-3b89-4fc6-9134-5606b84b4541, fqn: ['default-domain', 'ctest-TestBasicPolicy-66067233', 'ctest-policy-allow-all-57050761']
2026-02-23 02:17:45,946 - INFO - VN ctest-vn-78784480 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-23 02:17:45,946 - DEBUG - Verifying the vn in opserver
2026-02-23 02:17:45,946 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66067233:ctest-vn-78784480 virtual network link through opserver 10.0.0.130
2026-02-23 02:17:45,946 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-02-23 02:17:45,954 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66067233:ctest-vn-78784480', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66067233:ctest-vn-78784480?flat'}
2026-02-23 02:17:45,954 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66067233:ctest-vn-78784480 is found in opserver
2026-02-23 02:17:45,962 - DEBUG - Do not have enough data to verify VN in agent
2026-02-23 02:17:45,966 - DEBUG - VRF ids for VN ctest-vn-78784480: {}
2026-02-23 02:17:46,019 - DEBUG - Services list from nova: [