2026-02-15 20:53:20,869 - INFO - Domain Default found not creating
2026-02-15 20:53:21,027 - INFO - Project ctest-TestBasicPolicy-94173372 not found, creating it
2026-02-15 20:53:21,465 - INFO - Created Project:ctest-TestBasicPolicy-94173372, ID : 4b83d4e7-7b55-4561-8b98-038878291978
2026-02-15 20:53:22,887 - INFO - ================================================================================
2026-02-15 20:53:22,887 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-15 20:53:22,887 - 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-15 20:53:23,139 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-02-15 20:53:23,139 - INFO - Initial checks done. Running the testcase now
2026-02-15 20:53:23,140 - INFO -
2026-02-15 20:53:23,670 - DEBUG - Response for create_network : {'network': {'id': 'af0cb7b3-4e4e-4a49-8f00-d47d79bce7e5', 'name': 'ctest-vn-69317925', 'tenant_id': '4b83d4e77b5545618b98038878291978', 'project_id': '4b83d4e77b5545618b98038878291978', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94173372', 'ctest-vn-69317925'], 'port_security_enabled': True, 'description': ''}}
2026-02-15 20:53:23,867 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9a32700-c07f-45dc-bd5e-164834bb1241', 'name': '', 'tenant_id': '4b83d4e77b5545618b98038878291978', 'network_id': 'af0cb7b3-4e4e-4a49-8f00-d47d79bce7e5', 'ip_version': 4, 'cidr': '168.36.175.192/26', 'allocation_pools': [{'start': '168.36.175.194', 'end': '168.36.175.254'}], 'gateway_ip': '168.36.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.36.175.194', 'tags': [], 'project_id': '4b83d4e77b5545618b98038878291978'}}
2026-02-15 20:53:23,884 - INFO - Created VN ctest-vn-69317925
2026-02-15 20:53:23,935 - DEBUG - VN ctest-vn-69317925 UUID is af0cb7b3-4e4e-4a49-8f00-d47d79bce7e5
2026-02-15 20:53:24,244 - DEBUG - Response for create_network : {'network': {'id': '25ade12b-61df-4019-aef8-7bb827f8011a', 'name': 'ctest-vn-39941553', 'tenant_id': '4b83d4e77b5545618b98038878291978', 'project_id': '4b83d4e77b5545618b98038878291978', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94173372', 'ctest-vn-39941553'], 'port_security_enabled': True, 'description': ''}}
2026-02-15 20:53:24,399 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bb12fcf-7c45-43ba-9127-d3ac2ff0235d', 'name': '', 'tenant_id': '4b83d4e77b5545618b98038878291978', 'network_id': '25ade12b-61df-4019-aef8-7bb827f8011a', 'ip_version': 4, 'cidr': '180.74.20.128/26', 'allocation_pools': [{'start': '180.74.20.130', 'end': '180.74.20.190'}], 'gateway_ip': '180.74.20.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.74.20.130', 'tags': [], 'project_id': '4b83d4e77b5545618b98038878291978'}}
2026-02-15 20:53:24,415 - INFO - Created VN ctest-vn-39941553
2026-02-15 20:53:24,471 - DEBUG - VN ctest-vn-39941553 UUID is 25ade12b-61df-4019-aef8-7bb827f8011a
2026-02-15 20:53:24,623 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94173372:ctest-vn-69317925, 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-94173372:ctest-vn-39941553, 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-15 20:53:24,956 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af0cb7b3-4e4e-4a49-8f00-d47d79bce7e5', 'name': 'ctest-vn-69317925', 'tenant_id': '4b83d4e77b5545618b98038878291978', 'project_id': '4b83d4e77b5545618b98038878291978', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d9a32700-c07f-45dc-bd5e-164834bb1241'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94173372', 'ctest-vn-69317925'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94173372', 'ctest-policy-allow-all-40504203']], 'subnet_ipam': [{'subnet_cidr': '168.36.175.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-15 20:53:25,277 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '25ade12b-61df-4019-aef8-7bb827f8011a', 'name': 'ctest-vn-39941553', 'tenant_id': '4b83d4e77b5545618b98038878291978', 'project_id': '4b83d4e77b5545618b98038878291978', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4bb12fcf-7c45-43ba-9127-d3ac2ff0235d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94173372', 'ctest-vn-39941553'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94173372', 'ctest-policy-allow-all-40504203']], 'subnet_ipam': [{'subnet_cidr': '180.74.20.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-15 20:53:25,427 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-15 20:53:25,756 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-15 20:53:25,785 - DEBUG - Requesting: http://10.0.0.33:8082/domain/58860bbf-d2d8-4d6b-907f-03167523a009
2026-02-15 20:53:25,800 - DEBUG - Requesting: http://10.0.0.33:8082/project/4b83d4e7-7b55-4561-8b98-038878291978
2026-02-15 20:53:25,883 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/af0cb7b3-4e4e-4a49-8f00-d47d79bce7e5
2026-02-15 20:53:25,900 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/af0cb7b3-4e4e-4a49-8f00-d47d79bce7e5
2026-02-15 20:53:25,911 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bc016360-9f25-4fed-b5b6-081be6c9dadd
2026-02-15 20:53:25,917 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bc016360-9f25-4fed-b5b6-081be6c9dadd
2026-02-15 20:53:25,923 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/fd6e5653-be74-49d3-b8e8-bae84852ea59
2026-02-15 20:53:25,929 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-15 20:53:25,929 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/af0cb7b3-4e4e-4a49-8f00-d47d79bce7e5
2026-02-15 20:53:25,937 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bc016360-9f25-4fed-b5b6-081be6c9dadd
2026-02-15 20:53:25,950 - INFO - Verified VN network id 12 for VN af0cb7b3-4e4e-4a49-8f00-d47d79bce7e5
2026-02-15 20:53:25,951 - INFO - Verifications in API Server for VN ctest-vn-69317925 passed
2026-02-15 20:53:25,951 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/af0cb7b3-4e4e-4a49-8f00-d47d79bce7e5
2026-02-15 20:53:25,959 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bc016360-9f25-4fed-b5b6-081be6c9dadd
2026-02-15 20:53:25,965 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bc016360-9f25-4fed-b5b6-081be6c9dadd
2026-02-15 20:53:25,971 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/fd6e5653-be74-49d3-b8e8-bae84852ea59
2026-02-15 20:53:25,981 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94173372:ctest-vn-69317925', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94173372', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12613658637098699337', 'uuid-lslong': '10304469582802118629'}, 'enable': 'true', 'created': '2026-02-15T20:53:23', 'last-modified': '2026-02-15T20:53:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.070403'}
2026-02-15 20:53:25,987 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-15 20:53:25,987 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69317925 passed
2026-02-15 20:53:25,987 - DEBUG - ====Verifying policy data for ctest-vn-69317925 in API_Server ======
2026-02-15 20:53:25,987 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-15 20:53:25,992 - DEBUG - Requesting: http://10.0.0.33:8082/domain/58860bbf-d2d8-4d6b-907f-03167523a009
2026-02-15 20:53:26,003 - DEBUG - Requesting: http://10.0.0.33:8082/project/4b83d4e7-7b55-4561-8b98-038878291978
2026-02-15 20:53:26,071 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/af0cb7b3-4e4e-4a49-8f00-d47d79bce7e5
2026-02-15 20:53:26,081 - DEBUG - ==>Verifying data for policy with id: 0891234e-7a6d-4efa-b2ee-7d6d5336c443, fqn: ['default-domain', 'ctest-TestBasicPolicy-94173372', 'ctest-policy-allow-all-40504203']
2026-02-15 20:53:26,081 - INFO - VN ctest-vn-69317925 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-15 20:53:26,081 - DEBUG - Verifying the vn in opserver
2026-02-15 20:53:26,081 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94173372:ctest-vn-69317925 virtual network link through opserver 10.0.0.33
2026-02-15 20:53:26,081 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-15 20:53:26,375 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-15 20:53:26,435 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94173372:ctest-vn-69317925', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94173372:ctest-vn-69317925?flat'}
2026-02-15 20:53:26,435 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94173372:ctest-vn-69317925 is found in opserver
2026-02-15 20:53:26,444 - DEBUG - Do not have enough data to verify VN in agent
2026-02-15 20:53:26,450 - DEBUG - VRF ids for VN ctest-vn-69317925: {}
2026-02-15 20:53:26,451 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-15 20:53:26,455 - DEBUG - Requesting: http://10.0.0.33:8082/domain/58860bbf-d2d8-4d6b-907f-03167523a009
2026-02-15 20:53:26,465 - DEBUG - Requesting: http://10.0.0.33:8082/project/4b83d4e7-7b55-4561-8b98-038878291978
2026-02-15 20:53:26,532 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/25ade12b-61df-4019-aef8-7bb827f8011a
2026-02-15 20:53:26,542 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/25ade12b-61df-4019-aef8-7bb827f8011a
2026-02-15 20:53:26,551 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aa41d7a4-2d53-428c-a4dd-553e5f995ae3
2026-02-15 20:53:26,559 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aa41d7a4-2d53-428c-a4dd-553e5f995ae3
2026-02-15 20:53:26,565 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7cb0dc25-440a-4fb2-b33b-7f7ed5c06f4d
2026-02-15 20:53:26,571 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-15 20:53:26,571 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/25ade12b-61df-4019-aef8-7bb827f8011a
2026-02-15 20:53:26,579 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aa41d7a4-2d53-428c-a4dd-553e5f995ae3
2026-02-15 20:53:26,593 - INFO - Verified VN network id 13 for VN 25ade12b-61df-4019-aef8-7bb827f8011a
2026-02-15 20:53:26,593 - INFO - Verifications in API Server for VN ctest-vn-39941553 passed
2026-02-15 20:53:26,593 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/25ade12b-61df-4019-aef8-7bb827f8011a
2026-02-15 20:53:26,601 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aa41d7a4-2d53-428c-a4dd-553e5f995ae3
2026-02-15 20:53:26,608 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aa41d7a4-2d53-428c-a4dd-553e5f995ae3
2026-02-15 20:53:26,616 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7cb0dc25-440a-4fb2-b33b-7f7ed5c06f4d
2026-02-15 20:53:26,628 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94173372:ctest-vn-39941553', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94173372', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2715073726816141337', 'uuid-lslong': '12607963187698467098'}, 'enable': 'true', 'created': '2026-02-15T20:53:24', 'last-modified': '2026-02-15T20:53:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.391194'}
2026-02-15 20:53:26,635 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-15 20:53:26,635 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39941553 passed
2026-02-15 20:53:26,635 - DEBUG - ====Verifying policy data for ctest-vn-39941553 in API_Server ======
2026-02-15 20:53:26,635 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-15 20:53:26,641 - DEBUG - Requesting: http://10.0.0.33:8082/domain/58860bbf-d2d8-4d6b-907f-03167523a009
2026-02-15 20:53:26,654 - DEBUG - Requesting: http://10.0.0.33:8082/project/4b83d4e7-7b55-4561-8b98-038878291978
2026-02-15 20:53:26,731 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/25ade12b-61df-4019-aef8-7bb827f8011a
2026-02-15 20:53:26,741 - DEBUG - ==>Verifying data for policy with id: 0891234e-7a6d-4efa-b2ee-7d6d5336c443, fqn: ['default-domain', 'ctest-TestBasicPolicy-94173372', 'ctest-policy-allow-all-40504203']
2026-02-15 20:53:26,741 - INFO - VN ctest-vn-39941553 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-15 20:53:26,741 - DEBUG - Verifying the vn in opserver
2026-02-15 20:53:26,741 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94173372:ctest-vn-39941553 virtual network link through opserver 10.0.0.33
2026-02-15 20:53:26,741 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-15 20:53:26,750 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94173372:ctest-vn-39941553', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94173372:ctest-vn-39941553?flat'}
2026-02-15 20:53:26,750 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94173372:ctest-vn-39941553 is found in opserver
2026-02-15 20:53:26,760 - DEBUG - Do not have enough data to verify VN in agent
2026-02-15 20:53:26,764 - DEBUG - VRF ids for VN ctest-vn-39941553: {}
2026-02-15 20:53:26,824 - DEBUG - Services list from nova: [