2026-01-26 18:52:12,291 - INFO - Domain Default found not creating
2026-01-26 18:52:12,563 - INFO - Project ctest-TestBasicPolicy-37072474 not found, creating it
2026-01-26 18:52:13,121 - INFO - Created Project:ctest-TestBasicPolicy-37072474, ID : 49b0219a-0902-41ac-9eb0-fbaa322d30a4
2026-01-26 18:52:15,003 - INFO - ================================================================================
2026-01-26 18:52:15,003 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-26 18:52:15,004 - 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-26 18:52:15,303 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-01-26 18:52:15,304 - INFO - Initial checks done. Running the testcase now
2026-01-26 18:52:15,304 - INFO -
2026-01-26 18:52:15,994 - DEBUG - Response for create_network : {'network': {'id': '8da45d90-3cef-4fc2-897f-828c68e539b2', 'name': 'ctest-vn-02464844', 'tenant_id': '49b0219a090241ac9eb0fbaa322d30a4', 'project_id': '49b0219a090241ac9eb0fbaa322d30a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-vn-02464844'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 18:52:16,162 - DEBUG - Response for create_subnet : {'subnet': {'id': '72d50067-65ba-45c6-8a1d-62da3314a32c', 'name': '', 'tenant_id': '49b0219a090241ac9eb0fbaa322d30a4', 'network_id': '8da45d90-3cef-4fc2-897f-828c68e539b2', 'ip_version': 4, 'cidr': '183.222.71.192/26', 'allocation_pools': [{'start': '183.222.71.194', 'end': '183.222.71.254'}], 'gateway_ip': '183.222.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.222.71.194', 'tags': [], 'project_id': '49b0219a090241ac9eb0fbaa322d30a4'}}
2026-01-26 18:52:16,181 - INFO - Created VN ctest-vn-02464844
2026-01-26 18:52:16,233 - DEBUG - VN ctest-vn-02464844 UUID is 8da45d90-3cef-4fc2-897f-828c68e539b2
2026-01-26 18:52:16,558 - DEBUG - Response for create_network : {'network': {'id': 'ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b', 'name': 'ctest-vn-71418881', 'tenant_id': '49b0219a090241ac9eb0fbaa322d30a4', 'project_id': '49b0219a090241ac9eb0fbaa322d30a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-vn-71418881'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 18:52:16,807 - DEBUG - Response for create_subnet : {'subnet': {'id': '15a8b527-31b6-4086-b398-96bf83a55654', 'name': '', 'tenant_id': '49b0219a090241ac9eb0fbaa322d30a4', 'network_id': 'ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b', 'ip_version': 4, 'cidr': '70.234.140.64/26', 'allocation_pools': [{'start': '70.234.140.66', 'end': '70.234.140.126'}], 'gateway_ip': '70.234.140.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.234.140.66', 'tags': [], 'project_id': '49b0219a090241ac9eb0fbaa322d30a4'}}
2026-01-26 18:52:16,827 - INFO - Created VN ctest-vn-71418881
2026-01-26 18:52:16,885 - DEBUG - VN ctest-vn-71418881 UUID is ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b
2026-01-26 18:52:17,012 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-02464844, 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-37072474:ctest-vn-71418881, 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-26 18:52:17,341 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8da45d90-3cef-4fc2-897f-828c68e539b2', 'name': 'ctest-vn-02464844', 'tenant_id': '49b0219a090241ac9eb0fbaa322d30a4', 'project_id': '49b0219a090241ac9eb0fbaa322d30a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72d50067-65ba-45c6-8a1d-62da3314a32c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-vn-02464844'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-policy-allow-all-49814212']], 'subnet_ipam': [{'subnet_cidr': '183.222.71.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-26 18:52:17,601 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b', 'name': 'ctest-vn-71418881', 'tenant_id': '49b0219a090241ac9eb0fbaa322d30a4', 'project_id': '49b0219a090241ac9eb0fbaa322d30a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['15a8b527-31b6-4086-b398-96bf83a55654'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-vn-71418881'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-policy-allow-all-49814212']], 'subnet_ipam': [{'subnet_cidr': '70.234.140.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-26 18:52:17,777 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-26 18:52:18,090 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-26 18:52:18,129 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f03cd7c7-79e6-4b07-ac54-6ae75ceea3d4
2026-01-26 18:52:18,154 - DEBUG - Requesting: http://10.0.0.38:8082/project/49b0219a-0902-41ac-9eb0-fbaa322d30a4
2026-01-26 18:52:18,242 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8da45d90-3cef-4fc2-897f-828c68e539b2
2026-01-26 18:52:18,255 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8da45d90-3cef-4fc2-897f-828c68e539b2
2026-01-26 18:52:18,266 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49d031db-8542-4b79-8f5f-77a2bdb51b0d
2026-01-26 18:52:18,274 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49d031db-8542-4b79-8f5f-77a2bdb51b0d
2026-01-26 18:52:18,281 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f0f075d-dbc1-42eb-8646-b8d400428ba1
2026-01-26 18:52:18,290 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-26 18:52:18,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8da45d90-3cef-4fc2-897f-828c68e539b2
2026-01-26 18:52:18,301 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49d031db-8542-4b79-8f5f-77a2bdb51b0d
2026-01-26 18:52:18,323 - INFO - Verified VN network id 11 for VN 8da45d90-3cef-4fc2-897f-828c68e539b2
2026-01-26 18:52:18,323 - INFO - Verifications in API Server for VN ctest-vn-02464844 passed
2026-01-26 18:52:18,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8da45d90-3cef-4fc2-897f-828c68e539b2
2026-01-26 18:52:18,338 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49d031db-8542-4b79-8f5f-77a2bdb51b0d
2026-01-26 18:52:18,347 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49d031db-8542-4b79-8f5f-77a2bdb51b0d
2026-01-26 18:52:18,355 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f0f075d-dbc1-42eb-8646-b8d400428ba1
2026-01-26 18:52:18,369 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-02464844', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37072474', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10206385529607376834', 'uuid-lslong': '9907781244805265842'}, 'enable': 'true', 'created': '2026-01-26T18:52:15', 'last-modified': '2026-01-26T18:52:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.053410'}
2026-01-26 18:52:18,375 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-26 18:52:18,375 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02464844 passed
2026-01-26 18:52:18,376 - DEBUG - ====Verifying policy data for ctest-vn-02464844 in API_Server ======
2026-01-26 18:52:18,376 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-26 18:52:18,382 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f03cd7c7-79e6-4b07-ac54-6ae75ceea3d4
2026-01-26 18:52:18,394 - DEBUG - Requesting: http://10.0.0.38:8082/project/49b0219a-0902-41ac-9eb0-fbaa322d30a4
2026-01-26 18:52:18,473 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8da45d90-3cef-4fc2-897f-828c68e539b2
2026-01-26 18:52:18,484 - DEBUG - ==>Verifying data for policy with id: 8ada2016-af87-47ea-aaa8-81ef5ae0bd64, fqn: ['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-policy-allow-all-49814212']
2026-01-26 18:52:18,485 - INFO - VN ctest-vn-02464844 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-26 18:52:18,485 - DEBUG - Verifying the vn in opserver
2026-01-26 18:52:18,485 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-02464844 virtual network link through opserver 10.0.0.38
2026-01-26 18:52:18,485 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-26 18:52:18,794 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-26 18:52:18,871 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-02464844', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-02464844?flat'}
2026-01-26 18:52:18,871 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-02464844 is found in opserver
2026-01-26 18:52:18,887 - DEBUG - Do not have enough data to verify VN in agent
2026-01-26 18:52:18,894 - DEBUG - VRF ids for VN ctest-vn-02464844: {}
2026-01-26 18:52:18,894 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-26 18:52:18,901 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f03cd7c7-79e6-4b07-ac54-6ae75ceea3d4
2026-01-26 18:52:18,917 - DEBUG - Requesting: http://10.0.0.38:8082/project/49b0219a-0902-41ac-9eb0-fbaa322d30a4
2026-01-26 18:52:18,999 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b
2026-01-26 18:52:19,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b
2026-01-26 18:52:19,020 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9acc08a9-0e6a-4afe-aadc-f27d57afedef
2026-01-26 18:52:19,028 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9acc08a9-0e6a-4afe-aadc-f27d57afedef
2026-01-26 18:52:19,035 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8df2d213-94c2-4c33-99f5-86c5533be555
2026-01-26 18:52:19,043 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-26 18:52:19,043 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b
2026-01-26 18:52:19,055 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9acc08a9-0e6a-4afe-aadc-f27d57afedef
2026-01-26 18:52:19,072 - INFO - Verified VN network id 12 for VN ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b
2026-01-26 18:52:19,072 - INFO - Verifications in API Server for VN ctest-vn-71418881 passed
2026-01-26 18:52:19,073 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b
2026-01-26 18:52:19,083 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9acc08a9-0e6a-4afe-aadc-f27d57afedef
2026-01-26 18:52:19,092 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9acc08a9-0e6a-4afe-aadc-f27d57afedef
2026-01-26 18:52:19,100 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8df2d213-94c2-4c33-99f5-86c5533be555
2026-01-26 18:52:19,117 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-71418881', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37072474', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17175243000271948961', 'uuid-lslong': '13423737083869978219'}, 'enable': 'true', 'created': '2026-01-26T18:52:16', 'last-modified': '2026-01-26T18:52:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.544593'}
2026-01-26 18:52:19,126 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-26 18:52:19,126 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71418881 passed
2026-01-26 18:52:19,126 - DEBUG - ====Verifying policy data for ctest-vn-71418881 in API_Server ======
2026-01-26 18:52:19,126 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-26 18:52:19,134 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f03cd7c7-79e6-4b07-ac54-6ae75ceea3d4
2026-01-26 18:52:19,147 - DEBUG - Requesting: http://10.0.0.38:8082/project/49b0219a-0902-41ac-9eb0-fbaa322d30a4
2026-01-26 18:52:19,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee5ab882-aa39-4ca1-ba4a-b1c17a4ede6b
2026-01-26 18:52:19,241 - DEBUG - ==>Verifying data for policy with id: 8ada2016-af87-47ea-aaa8-81ef5ae0bd64, fqn: ['default-domain', 'ctest-TestBasicPolicy-37072474', 'ctest-policy-allow-all-49814212']
2026-01-26 18:52:19,241 - INFO - VN ctest-vn-71418881 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-26 18:52:19,242 - DEBUG - Verifying the vn in opserver
2026-01-26 18:52:19,242 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-71418881 virtual network link through opserver 10.0.0.38
2026-01-26 18:52:19,242 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-26 18:52:19,252 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-71418881', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-71418881?flat'}
2026-01-26 18:52:19,252 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37072474:ctest-vn-71418881 is found in opserver
2026-01-26 18:52:19,265 - DEBUG - Do not have enough data to verify VN in agent
2026-01-26 18:52:19,272 - DEBUG - VRF ids for VN ctest-vn-71418881: {}
2026-01-26 18:52:19,347 - DEBUG - Services list from nova: [