2026-02-26 02:04:25,399 - INFO - Domain Default found not creating
2026-02-26 02:04:25,563 - INFO - Project ctest-TestBasicPolicy-82528452 not found, creating it
2026-02-26 02:04:25,999 - INFO - Created Project:ctest-TestBasicPolicy-82528452, ID : 7658aecc-f092-418f-bd98-605e91e5f11c
2026-02-26 02:04:27,432 - INFO - ================================================================================
2026-02-26 02:04:27,432 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-26 02:04:27,432 - 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-26 02:04:27,686 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0'}} with
2026-02-26 02:04:27,686 - INFO - Initial checks done. Running the testcase now
2026-02-26 02:04:27,686 - INFO -
2026-02-26 02:04:28,259 - DEBUG - Response for create_network : {'network': {'id': '769ee7ed-b680-42ba-baf3-819a82a82efc', 'name': 'ctest-vn-65308671', 'tenant_id': '7658aeccf092418fbd98605e91e5f11c', 'project_id': '7658aeccf092418fbd98605e91e5f11c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-vn-65308671'], 'port_security_enabled': True, 'description': ''}}
2026-02-26 02:04:28,419 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aaccbeb3-c919-440c-8b39-fa2322bc04df', 'name': '', 'tenant_id': '7658aeccf092418fbd98605e91e5f11c', 'network_id': '769ee7ed-b680-42ba-baf3-819a82a82efc', 'ip_version': 4, 'cidr': '222.36.223.0/26', 'allocation_pools': [{'start': '222.36.223.2', 'end': '222.36.223.62'}], 'gateway_ip': '222.36.223.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.36.223.2', 'tags': [], 'project_id': '7658aeccf092418fbd98605e91e5f11c'}}
2026-02-26 02:04:28,434 - INFO - Created VN ctest-vn-65308671
2026-02-26 02:04:28,485 - DEBUG - VN ctest-vn-65308671 UUID is 769ee7ed-b680-42ba-baf3-819a82a82efc
2026-02-26 02:04:28,806 - DEBUG - Response for create_network : {'network': {'id': '547ce369-564e-414b-ab5d-88dc63841485', 'name': 'ctest-vn-63510281', 'tenant_id': '7658aeccf092418fbd98605e91e5f11c', 'project_id': '7658aeccf092418fbd98605e91e5f11c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-vn-63510281'], 'port_security_enabled': True, 'description': ''}}
2026-02-26 02:04:28,990 - DEBUG - Response for create_subnet : {'subnet': {'id': '13564814-5938-4398-8737-002c90ab56ed', 'name': '', 'tenant_id': '7658aeccf092418fbd98605e91e5f11c', 'network_id': '547ce369-564e-414b-ab5d-88dc63841485', 'ip_version': 4, 'cidr': '113.0.246.64/26', 'allocation_pools': [{'start': '113.0.246.66', 'end': '113.0.246.126'}], 'gateway_ip': '113.0.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.0.246.66', 'tags': [], 'project_id': '7658aeccf092418fbd98605e91e5f11c'}}
2026-02-26 02:04:29,006 - INFO - Created VN ctest-vn-63510281
2026-02-26 02:04:29,057 - DEBUG - VN ctest-vn-63510281 UUID is 547ce369-564e-414b-ab5d-88dc63841485
2026-02-26 02:04:29,200 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-65308671, 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-82528452:ctest-vn-63510281, 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-26 02:04:29,482 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '769ee7ed-b680-42ba-baf3-819a82a82efc', 'name': 'ctest-vn-65308671', 'tenant_id': '7658aeccf092418fbd98605e91e5f11c', 'project_id': '7658aeccf092418fbd98605e91e5f11c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aaccbeb3-c919-440c-8b39-fa2322bc04df'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-vn-65308671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-policy-allow-all-78770754']], 'subnet_ipam': [{'subnet_cidr': '222.36.223.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-26 02:04:29,711 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '547ce369-564e-414b-ab5d-88dc63841485', 'name': 'ctest-vn-63510281', 'tenant_id': '7658aeccf092418fbd98605e91e5f11c', 'project_id': '7658aeccf092418fbd98605e91e5f11c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['13564814-5938-4398-8737-002c90ab56ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-vn-63510281'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-policy-allow-all-78770754']], 'subnet_ipam': [{'subnet_cidr': '113.0.246.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-26 02:04:29,865 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-26 02:04:30,159 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-26 02:04:30,187 - DEBUG - Requesting: http://10.0.0.19:8082/domain/181e1d4c-9a7b-432a-bb9e-ee6e530d3fd1
2026-02-26 02:04:30,197 - DEBUG - Requesting: http://10.0.0.19:8082/project/7658aecc-f092-418f-bd98-605e91e5f11c
2026-02-26 02:04:30,268 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/769ee7ed-b680-42ba-baf3-819a82a82efc
2026-02-26 02:04:30,279 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/769ee7ed-b680-42ba-baf3-819a82a82efc
2026-02-26 02:04:30,289 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/914bb607-8125-4558-8353-a81edeb54b01
2026-02-26 02:04:30,296 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/914bb607-8125-4558-8353-a81edeb54b01
2026-02-26 02:04:30,302 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/438a1985-2430-4cdd-9304-197bf408fe72
2026-02-26 02:04:30,307 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-26 02:04:30,307 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/769ee7ed-b680-42ba-baf3-819a82a82efc
2026-02-26 02:04:30,315 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/914bb607-8125-4558-8353-a81edeb54b01
2026-02-26 02:04:30,327 - INFO - Verified VN network id 11 for VN 769ee7ed-b680-42ba-baf3-819a82a82efc
2026-02-26 02:04:30,328 - INFO - Verifications in API Server for VN ctest-vn-65308671 passed
2026-02-26 02:04:30,328 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/769ee7ed-b680-42ba-baf3-819a82a82efc
2026-02-26 02:04:30,336 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/914bb607-8125-4558-8353-a81edeb54b01
2026-02-26 02:04:30,342 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/914bb607-8125-4558-8353-a81edeb54b01
2026-02-26 02:04:30,347 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/438a1985-2430-4cdd-9304-197bf408fe72
2026-02-26 02:04:30,357 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-65308671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82528452', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8547524150950904506', 'uuid-lslong': '13471253411012292348'}, 'enable': 'true', 'created': '2026-02-26T02:04:28', 'last-modified': '2026-02-26T02:04:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.889263'}
2026-02-26 02:04:30,362 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-26 02:04:30,362 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65308671 passed
2026-02-26 02:04:30,362 - DEBUG - ====Verifying policy data for ctest-vn-65308671 in API_Server ======
2026-02-26 02:04:30,362 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-26 02:04:30,367 - DEBUG - Requesting: http://10.0.0.19:8082/domain/181e1d4c-9a7b-432a-bb9e-ee6e530d3fd1
2026-02-26 02:04:30,376 - DEBUG - Requesting: http://10.0.0.19:8082/project/7658aecc-f092-418f-bd98-605e91e5f11c
2026-02-26 02:04:30,444 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/769ee7ed-b680-42ba-baf3-819a82a82efc
2026-02-26 02:04:30,452 - DEBUG - ==>Verifying data for policy with id: faf9e7eb-cc8e-4b57-94f7-0c2ea9399753, fqn: ['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-policy-allow-all-78770754']
2026-02-26 02:04:30,452 - INFO - VN ctest-vn-65308671 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-26 02:04:30,452 - DEBUG - Verifying the vn in opserver
2026-02-26 02:04:30,452 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-65308671 virtual network link through opserver 10.0.0.19
2026-02-26 02:04:30,452 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-26 02:04:30,739 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-26 02:04:30,799 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-65308671', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-65308671?flat'}
2026-02-26 02:04:30,799 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-65308671 is found in opserver
2026-02-26 02:04:30,808 - DEBUG - Do not have enough data to verify VN in agent
2026-02-26 02:04:30,812 - DEBUG - VRF ids for VN ctest-vn-65308671: {}
2026-02-26 02:04:30,812 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-26 02:04:30,817 - DEBUG - Requesting: http://10.0.0.19:8082/domain/181e1d4c-9a7b-432a-bb9e-ee6e530d3fd1
2026-02-26 02:04:30,827 - DEBUG - Requesting: http://10.0.0.19:8082/project/7658aecc-f092-418f-bd98-605e91e5f11c
2026-02-26 02:04:30,890 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/547ce369-564e-414b-ab5d-88dc63841485
2026-02-26 02:04:30,901 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/547ce369-564e-414b-ab5d-88dc63841485
2026-02-26 02:04:30,909 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6713377a-0827-4264-9108-7b1fe35adb2d
2026-02-26 02:04:30,915 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6713377a-0827-4264-9108-7b1fe35adb2d
2026-02-26 02:04:30,921 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/670de0db-81ad-4547-aee9-9bae056b8328
2026-02-26 02:04:30,926 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-26 02:04:30,926 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/547ce369-564e-414b-ab5d-88dc63841485
2026-02-26 02:04:30,934 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6713377a-0827-4264-9108-7b1fe35adb2d
2026-02-26 02:04:30,946 - INFO - Verified VN network id 12 for VN 547ce369-564e-414b-ab5d-88dc63841485
2026-02-26 02:04:30,946 - INFO - Verifications in API Server for VN ctest-vn-63510281 passed
2026-02-26 02:04:30,946 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/547ce369-564e-414b-ab5d-88dc63841485
2026-02-26 02:04:30,953 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6713377a-0827-4264-9108-7b1fe35adb2d
2026-02-26 02:04:30,959 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6713377a-0827-4264-9108-7b1fe35adb2d
2026-02-26 02:04:30,964 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/670de0db-81ad-4547-aee9-9bae056b8328
2026-02-26 02:04:30,973 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-63510281', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82528452', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6087990837857108299', 'uuid-lslong': '12348176233463551109'}, 'enable': 'true', 'created': '2026-02-26T02:04:28', 'last-modified': '2026-02-26T02:04:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.282688'}
2026-02-26 02:04:30,978 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-26 02:04:30,978 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63510281 passed
2026-02-26 02:04:30,979 - DEBUG - ====Verifying policy data for ctest-vn-63510281 in API_Server ======
2026-02-26 02:04:30,979 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-26 02:04:30,984 - DEBUG - Requesting: http://10.0.0.19:8082/domain/181e1d4c-9a7b-432a-bb9e-ee6e530d3fd1
2026-02-26 02:04:30,994 - DEBUG - Requesting: http://10.0.0.19:8082/project/7658aecc-f092-418f-bd98-605e91e5f11c
2026-02-26 02:04:31,060 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/547ce369-564e-414b-ab5d-88dc63841485
2026-02-26 02:04:31,067 - DEBUG - ==>Verifying data for policy with id: faf9e7eb-cc8e-4b57-94f7-0c2ea9399753, fqn: ['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-policy-allow-all-78770754']
2026-02-26 02:04:31,067 - INFO - VN ctest-vn-63510281 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-26 02:04:31,067 - DEBUG - Verifying the vn in opserver
2026-02-26 02:04:31,067 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-63510281 virtual network link through opserver 10.0.0.19
2026-02-26 02:04:31,067 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-26 02:04:31,076 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-63510281', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-63510281?flat'}
2026-02-26 02:04:31,076 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-63510281 is found in opserver
2026-02-26 02:04:31,087 - DEBUG - Do not have enough data to verify VN in agent
2026-02-26 02:04:31,091 - DEBUG - VRF ids for VN ctest-vn-63510281: {}
2026-02-26 02:04:31,143 - DEBUG - Services list from nova: [