2026-02-16 17:18:27,515 - INFO - Domain Default found not creating
2026-02-16 17:18:27,662 - INFO - Project ctest-TestBasicPolicy-83670943 not found, creating it
2026-02-16 17:18:28,109 - INFO - Created Project:ctest-TestBasicPolicy-83670943, ID : 97854f3b-9b2c-438d-9f0b-b520f6c20345
2026-02-16 17:18:29,579 - INFO - ================================================================================
2026-02-16 17:18:29,579 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-16 17:18:29,579 - 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-16 17:18:29,837 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2026-02-16 17:18:29,837 - INFO - Initial checks done. Running the testcase now
2026-02-16 17:18:29,837 - INFO -
2026-02-16 17:18:30,437 - DEBUG - Response for create_network : {'network': {'id': '731f010c-1afe-4a1c-86bf-368696f2f62e', 'name': 'ctest-vn-48676442', 'tenant_id': '97854f3b9b2c438d9f0bb520f6c20345', 'project_id': '97854f3b9b2c438d9f0bb520f6c20345', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83670943', 'ctest-vn-48676442'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 17:18:30,655 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ba39663-dd57-415f-9924-e3016bc91b8f', 'name': '', 'tenant_id': '97854f3b9b2c438d9f0bb520f6c20345', 'network_id': '731f010c-1afe-4a1c-86bf-368696f2f62e', 'ip_version': 4, 'cidr': '90.102.7.128/26', 'allocation_pools': [{'start': '90.102.7.130', 'end': '90.102.7.190'}], 'gateway_ip': '90.102.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.102.7.130', 'tags': [], 'project_id': '97854f3b9b2c438d9f0bb520f6c20345'}}
2026-02-16 17:18:30,672 - INFO - Created VN ctest-vn-48676442
2026-02-16 17:18:30,727 - DEBUG - VN ctest-vn-48676442 UUID is 731f010c-1afe-4a1c-86bf-368696f2f62e
2026-02-16 17:18:31,036 - DEBUG - Response for create_network : {'network': {'id': '48c8958c-1469-48e1-b971-7e45fd80ce61', 'name': 'ctest-vn-74644770', 'tenant_id': '97854f3b9b2c438d9f0bb520f6c20345', 'project_id': '97854f3b9b2c438d9f0bb520f6c20345', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83670943', 'ctest-vn-74644770'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 17:18:31,202 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e72071b8-e851-4023-95b0-9f571b45cdb8', 'name': '', 'tenant_id': '97854f3b9b2c438d9f0bb520f6c20345', 'network_id': '48c8958c-1469-48e1-b971-7e45fd80ce61', 'ip_version': 4, 'cidr': '77.111.232.0/26', 'allocation_pools': [{'start': '77.111.232.2', 'end': '77.111.232.62'}], 'gateway_ip': '77.111.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.111.232.2', 'tags': [], 'project_id': '97854f3b9b2c438d9f0bb520f6c20345'}}
2026-02-16 17:18:31,219 - INFO - Created VN ctest-vn-74644770
2026-02-16 17:18:31,271 - DEBUG - VN ctest-vn-74644770 UUID is 48c8958c-1469-48e1-b971-7e45fd80ce61
2026-02-16 17:18:31,381 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83670943:ctest-vn-48676442, 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-83670943:ctest-vn-74644770, 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-16 17:18:31,664 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '731f010c-1afe-4a1c-86bf-368696f2f62e', 'name': 'ctest-vn-48676442', 'tenant_id': '97854f3b9b2c438d9f0bb520f6c20345', 'project_id': '97854f3b9b2c438d9f0bb520f6c20345', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4ba39663-dd57-415f-9924-e3016bc91b8f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83670943', 'ctest-vn-48676442'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83670943', 'ctest-policy-allow-all-86183452']], 'subnet_ipam': [{'subnet_cidr': '90.102.7.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 17:18:31,923 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48c8958c-1469-48e1-b971-7e45fd80ce61', 'name': 'ctest-vn-74644770', 'tenant_id': '97854f3b9b2c438d9f0bb520f6c20345', 'project_id': '97854f3b9b2c438d9f0bb520f6c20345', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e72071b8-e851-4023-95b0-9f571b45cdb8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83670943', 'ctest-vn-74644770'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83670943', 'ctest-policy-allow-all-86183452']], 'subnet_ipam': [{'subnet_cidr': '77.111.232.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 17:18:32,063 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-16 17:18:32,365 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-16 17:18:32,396 - DEBUG - Requesting: http://10.0.0.33:8082/domain/eb1e21cf-e569-484e-95d7-2c8378541242
2026-02-16 17:18:32,408 - DEBUG - Requesting: http://10.0.0.33:8082/project/97854f3b-9b2c-438d-9f0b-b520f6c20345
2026-02-16 17:18:32,477 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/731f010c-1afe-4a1c-86bf-368696f2f62e
2026-02-16 17:18:32,487 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/731f010c-1afe-4a1c-86bf-368696f2f62e
2026-02-16 17:18:32,496 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e767e161-99a6-46ca-b9d6-1efa022ceb38
2026-02-16 17:18:32,502 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e767e161-99a6-46ca-b9d6-1efa022ceb38
2026-02-16 17:18:32,507 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3146df23-1210-436e-be02-4d0a71f18411
2026-02-16 17:18:32,515 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 17:18:32,515 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/731f010c-1afe-4a1c-86bf-368696f2f62e
2026-02-16 17:18:32,522 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e767e161-99a6-46ca-b9d6-1efa022ceb38
2026-02-16 17:18:32,535 - INFO - Verified VN network id 11 for VN 731f010c-1afe-4a1c-86bf-368696f2f62e
2026-02-16 17:18:32,535 - INFO - Verifications in API Server for VN ctest-vn-48676442 passed
2026-02-16 17:18:32,535 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/731f010c-1afe-4a1c-86bf-368696f2f62e
2026-02-16 17:18:32,543 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e767e161-99a6-46ca-b9d6-1efa022ceb38
2026-02-16 17:18:32,548 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e767e161-99a6-46ca-b9d6-1efa022ceb38
2026-02-16 17:18:32,554 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3146df23-1210-436e-be02-4d0a71f18411
2026-02-16 17:18:32,563 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83670943:ctest-vn-48676442', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83670943', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8295350190143851036', 'uuid-lslong': '9709539273320101422'}, 'enable': 'true', 'created': '2026-02-16T17:18:30', 'last-modified': '2026-02-16T17:18:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.919291'}
2026-02-16 17:18:32,569 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 17:18:32,569 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48676442 passed
2026-02-16 17:18:32,570 - DEBUG - ====Verifying policy data for ctest-vn-48676442 in API_Server ======
2026-02-16 17:18:32,570 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-16 17:18:32,575 - DEBUG - Requesting: http://10.0.0.33:8082/domain/eb1e21cf-e569-484e-95d7-2c8378541242
2026-02-16 17:18:32,586 - DEBUG - Requesting: http://10.0.0.33:8082/project/97854f3b-9b2c-438d-9f0b-b520f6c20345
2026-02-16 17:18:32,655 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/731f010c-1afe-4a1c-86bf-368696f2f62e
2026-02-16 17:18:32,664 - DEBUG - ==>Verifying data for policy with id: 169950a5-06dd-4c2c-9ef6-893b105948e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-83670943', 'ctest-policy-allow-all-86183452']
2026-02-16 17:18:32,664 - INFO - VN ctest-vn-48676442 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 17:18:32,664 - DEBUG - Verifying the vn in opserver
2026-02-16 17:18:32,664 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83670943:ctest-vn-48676442 virtual network link through opserver 10.0.0.33
2026-02-16 17:18:32,664 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-16 17:18:32,958 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-16 17:18:33,023 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83670943:ctest-vn-48676442', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83670943:ctest-vn-48676442?flat'}
2026-02-16 17:18:33,023 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83670943:ctest-vn-48676442 is found in opserver
2026-02-16 17:18:33,033 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 17:18:33,038 - DEBUG - VRF ids for VN ctest-vn-48676442: {}
2026-02-16 17:18:33,038 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-16 17:18:33,043 - DEBUG - Requesting: http://10.0.0.33:8082/domain/eb1e21cf-e569-484e-95d7-2c8378541242
2026-02-16 17:18:33,053 - DEBUG - Requesting: http://10.0.0.33:8082/project/97854f3b-9b2c-438d-9f0b-b520f6c20345
2026-02-16 17:18:33,121 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48c8958c-1469-48e1-b971-7e45fd80ce61
2026-02-16 17:18:33,131 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48c8958c-1469-48e1-b971-7e45fd80ce61
2026-02-16 17:18:33,139 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3ceb9285-7163-45ae-aba2-bdff359e9e49
2026-02-16 17:18:33,146 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3ceb9285-7163-45ae-aba2-bdff359e9e49
2026-02-16 17:18:33,152 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/95bde214-ed9e-45a5-8c34-df1b68d930a7
2026-02-16 17:18:33,157 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 17:18:33,157 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48c8958c-1469-48e1-b971-7e45fd80ce61
2026-02-16 17:18:33,165 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3ceb9285-7163-45ae-aba2-bdff359e9e49
2026-02-16 17:18:33,177 - INFO - Verified VN network id 12 for VN 48c8958c-1469-48e1-b971-7e45fd80ce61
2026-02-16 17:18:33,177 - INFO - Verifications in API Server for VN ctest-vn-74644770 passed
2026-02-16 17:18:33,177 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48c8958c-1469-48e1-b971-7e45fd80ce61
2026-02-16 17:18:33,185 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3ceb9285-7163-45ae-aba2-bdff359e9e49
2026-02-16 17:18:33,192 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3ceb9285-7163-45ae-aba2-bdff359e9e49
2026-02-16 17:18:33,198 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/95bde214-ed9e-45a5-8c34-df1b68d930a7
2026-02-16 17:18:33,208 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83670943:ctest-vn-74644770', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83670943', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5244606194943346913', 'uuid-lslong': '13362600408455892577'}, 'enable': 'true', 'created': '2026-02-16T17:18:31', 'last-modified': '2026-02-16T17:18:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.350196'}
2026-02-16 17:18:33,213 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 17:18:33,213 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74644770 passed
2026-02-16 17:18:33,213 - DEBUG - ====Verifying policy data for ctest-vn-74644770 in API_Server ======
2026-02-16 17:18:33,213 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-16 17:18:33,219 - DEBUG - Requesting: http://10.0.0.33:8082/domain/eb1e21cf-e569-484e-95d7-2c8378541242
2026-02-16 17:18:33,228 - DEBUG - Requesting: http://10.0.0.33:8082/project/97854f3b-9b2c-438d-9f0b-b520f6c20345
2026-02-16 17:18:33,301 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48c8958c-1469-48e1-b971-7e45fd80ce61
2026-02-16 17:18:33,309 - DEBUG - ==>Verifying data for policy with id: 169950a5-06dd-4c2c-9ef6-893b105948e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-83670943', 'ctest-policy-allow-all-86183452']
2026-02-16 17:18:33,309 - INFO - VN ctest-vn-74644770 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 17:18:33,309 - DEBUG - Verifying the vn in opserver
2026-02-16 17:18:33,309 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83670943:ctest-vn-74644770 virtual network link through opserver 10.0.0.33
2026-02-16 17:18:33,309 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-16 17:18:33,319 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83670943:ctest-vn-74644770', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83670943:ctest-vn-74644770?flat'}
2026-02-16 17:18:33,319 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83670943:ctest-vn-74644770 is found in opserver
2026-02-16 17:18:33,328 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 17:18:33,332 - DEBUG - VRF ids for VN ctest-vn-74644770: {}
2026-02-16 17:18:33,388 - DEBUG - Services list from nova: [