2026-02-11 21:14:21,368 - INFO - Domain Default found not creating
2026-02-11 21:14:21,539 - INFO - Project ctest-TestBasicPolicy-12102394 not found, creating it
2026-02-11 21:14:21,993 - INFO - Created Project:ctest-TestBasicPolicy-12102394, ID : 9676705b-a691-49fc-a725-f7c4676b652e
2026-02-11 21:14:23,561 - INFO - ================================================================================
2026-02-11 21:14:23,562 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-11 21:14:23,562 - 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-11 21:14:23,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-02-11 21:14:23,821 - INFO - Initial checks done. Running the testcase now
2026-02-11 21:14:23,821 - INFO -
2026-02-11 21:14:24,420 - DEBUG - Response for create_network : {'network': {'id': '6874dbf3-8746-4970-8eab-478afa260239', 'name': 'ctest-vn-21220580', 'tenant_id': '9676705ba69149fca725f7c4676b652e', 'project_id': '9676705ba69149fca725f7c4676b652e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12102394', 'ctest-vn-21220580'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 21:14:24,614 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dade7bcd-1215-4409-940e-13ab3079cc59', 'name': '', 'tenant_id': '9676705ba69149fca725f7c4676b652e', 'network_id': '6874dbf3-8746-4970-8eab-478afa260239', 'ip_version': 4, 'cidr': '79.137.134.128/26', 'allocation_pools': [{'start': '79.137.134.130', 'end': '79.137.134.190'}], 'gateway_ip': '79.137.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.137.134.130', 'tags': [], 'project_id': '9676705ba69149fca725f7c4676b652e'}}
2026-02-11 21:14:24,631 - INFO - Created VN ctest-vn-21220580
2026-02-11 21:14:24,683 - DEBUG - VN ctest-vn-21220580 UUID is 6874dbf3-8746-4970-8eab-478afa260239
2026-02-11 21:14:24,995 - DEBUG - Response for create_network : {'network': {'id': '8fefeaeb-4ab4-447f-9df4-c6b91161ddb3', 'name': 'ctest-vn-51347673', 'tenant_id': '9676705ba69149fca725f7c4676b652e', 'project_id': '9676705ba69149fca725f7c4676b652e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12102394', 'ctest-vn-51347673'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 21:14:25,159 - DEBUG - Response for create_subnet : {'subnet': {'id': '991698d4-fbde-4b9e-ae5c-150ccb68b089', 'name': '', 'tenant_id': '9676705ba69149fca725f7c4676b652e', 'network_id': '8fefeaeb-4ab4-447f-9df4-c6b91161ddb3', 'ip_version': 4, 'cidr': '84.184.82.0/26', 'allocation_pools': [{'start': '84.184.82.2', 'end': '84.184.82.62'}], 'gateway_ip': '84.184.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.184.82.2', 'tags': [], 'project_id': '9676705ba69149fca725f7c4676b652e'}}
2026-02-11 21:14:25,176 - INFO - Created VN ctest-vn-51347673
2026-02-11 21:14:25,227 - DEBUG - VN ctest-vn-51347673 UUID is 8fefeaeb-4ab4-447f-9df4-c6b91161ddb3
2026-02-11 21:14:25,342 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12102394:ctest-vn-21220580, 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-12102394:ctest-vn-51347673, 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-11 21:14:25,630 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6874dbf3-8746-4970-8eab-478afa260239', 'name': 'ctest-vn-21220580', 'tenant_id': '9676705ba69149fca725f7c4676b652e', 'project_id': '9676705ba69149fca725f7c4676b652e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dade7bcd-1215-4409-940e-13ab3079cc59'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12102394', 'ctest-vn-21220580'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12102394', 'ctest-policy-allow-all-86237777']], 'subnet_ipam': [{'subnet_cidr': '79.137.134.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 21:14:25,853 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8fefeaeb-4ab4-447f-9df4-c6b91161ddb3', 'name': 'ctest-vn-51347673', 'tenant_id': '9676705ba69149fca725f7c4676b652e', 'project_id': '9676705ba69149fca725f7c4676b652e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['991698d4-fbde-4b9e-ae5c-150ccb68b089'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12102394', 'ctest-vn-51347673'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12102394', 'ctest-policy-allow-all-86237777']], 'subnet_ipam': [{'subnet_cidr': '84.184.82.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 21:14:26,015 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-11 21:14:26,313 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-11 21:14:26,345 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c2ee7ce7-7988-486b-8a0e-a01d13737066
2026-02-11 21:14:26,357 - DEBUG - Requesting: http://10.0.0.22:8082/project/9676705b-a691-49fc-a725-f7c4676b652e
2026-02-11 21:14:26,427 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6874dbf3-8746-4970-8eab-478afa260239
2026-02-11 21:14:26,436 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6874dbf3-8746-4970-8eab-478afa260239
2026-02-11 21:14:26,446 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6ce72fe-2989-46b8-8152-61f8c6bdf835
2026-02-11 21:14:26,453 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6ce72fe-2989-46b8-8152-61f8c6bdf835
2026-02-11 21:14:26,460 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4ca66135-7e82-4705-9762-c07148d635f9
2026-02-11 21:14:26,465 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 21:14:26,465 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6874dbf3-8746-4970-8eab-478afa260239
2026-02-11 21:14:26,474 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6ce72fe-2989-46b8-8152-61f8c6bdf835
2026-02-11 21:14:26,486 - INFO - Verified VN network id 12 for VN 6874dbf3-8746-4970-8eab-478afa260239
2026-02-11 21:14:26,486 - INFO - Verifications in API Server for VN ctest-vn-21220580 passed
2026-02-11 21:14:26,486 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6874dbf3-8746-4970-8eab-478afa260239
2026-02-11 21:14:26,494 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6ce72fe-2989-46b8-8152-61f8c6bdf835
2026-02-11 21:14:26,500 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6ce72fe-2989-46b8-8152-61f8c6bdf835
2026-02-11 21:14:26,506 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4ca66135-7e82-4705-9762-c07148d635f9
2026-02-11 21:14:26,516 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12102394:ctest-vn-21220580', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12102394', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7526882716236007792', 'uuid-lslong': '10280389236631142969'}, 'enable': 'true', 'created': '2026-02-11T21:14:24', 'last-modified': '2026-02-11T21:14:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.908217'}
2026-02-11 21:14:26,521 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 21:14:26,521 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21220580 passed
2026-02-11 21:14:26,521 - DEBUG - ====Verifying policy data for ctest-vn-21220580 in API_Server ======
2026-02-11 21:14:26,521 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-11 21:14:26,526 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c2ee7ce7-7988-486b-8a0e-a01d13737066
2026-02-11 21:14:26,536 - DEBUG - Requesting: http://10.0.0.22:8082/project/9676705b-a691-49fc-a725-f7c4676b652e
2026-02-11 21:14:26,610 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6874dbf3-8746-4970-8eab-478afa260239
2026-02-11 21:14:26,618 - DEBUG - ==>Verifying data for policy with id: d03b3ec1-4a7e-4095-806d-93aea175c3fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-12102394', 'ctest-policy-allow-all-86237777']
2026-02-11 21:14:26,618 - INFO - VN ctest-vn-21220580 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 21:14:26,618 - DEBUG - Verifying the vn in opserver
2026-02-11 21:14:26,618 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12102394:ctest-vn-21220580 virtual network link through opserver 10.0.0.22
2026-02-11 21:14:26,618 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-11 21:14:26,911 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-11 21:14:26,975 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12102394:ctest-vn-21220580', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12102394:ctest-vn-21220580?flat'}
2026-02-11 21:14:26,975 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12102394:ctest-vn-21220580 is found in opserver
2026-02-11 21:14:26,985 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 21:14:26,989 - DEBUG - VRF ids for VN ctest-vn-21220580: {}
2026-02-11 21:14:26,990 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-11 21:14:26,995 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c2ee7ce7-7988-486b-8a0e-a01d13737066
2026-02-11 21:14:27,004 - DEBUG - Requesting: http://10.0.0.22:8082/project/9676705b-a691-49fc-a725-f7c4676b652e
2026-02-11 21:14:27,075 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8fefeaeb-4ab4-447f-9df4-c6b91161ddb3
2026-02-11 21:14:27,086 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8fefeaeb-4ab4-447f-9df4-c6b91161ddb3
2026-02-11 21:14:27,096 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c4de05ae-5c5b-4c67-a2d7-bf688d48fa96
2026-02-11 21:14:27,105 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c4de05ae-5c5b-4c67-a2d7-bf688d48fa96
2026-02-11 21:14:27,111 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/10d4a26a-96bd-4d83-9823-2b0784dc7e43
2026-02-11 21:14:27,118 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 21:14:27,118 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8fefeaeb-4ab4-447f-9df4-c6b91161ddb3
2026-02-11 21:14:27,126 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c4de05ae-5c5b-4c67-a2d7-bf688d48fa96
2026-02-11 21:14:27,138 - INFO - Verified VN network id 13 for VN 8fefeaeb-4ab4-447f-9df4-c6b91161ddb3
2026-02-11 21:14:27,138 - INFO - Verifications in API Server for VN ctest-vn-51347673 passed
2026-02-11 21:14:27,138 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8fefeaeb-4ab4-447f-9df4-c6b91161ddb3
2026-02-11 21:14:27,145 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c4de05ae-5c5b-4c67-a2d7-bf688d48fa96
2026-02-11 21:14:27,151 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c4de05ae-5c5b-4c67-a2d7-bf688d48fa96
2026-02-11 21:14:27,157 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/10d4a26a-96bd-4d83-9823-2b0784dc7e43
2026-02-11 21:14:27,167 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12102394:ctest-vn-51347673', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12102394', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10371766763149083775', 'uuid-lslong': '11381940656434961843'}, 'enable': 'true', 'created': '2026-02-11T21:14:24', 'last-modified': '2026-02-11T21:14:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.332896'}
2026-02-11 21:14:27,172 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 21:14:27,173 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51347673 passed
2026-02-11 21:14:27,173 - DEBUG - ====Verifying policy data for ctest-vn-51347673 in API_Server ======
2026-02-11 21:14:27,173 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-11 21:14:27,179 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c2ee7ce7-7988-486b-8a0e-a01d13737066
2026-02-11 21:14:27,188 - DEBUG - Requesting: http://10.0.0.22:8082/project/9676705b-a691-49fc-a725-f7c4676b652e
2026-02-11 21:14:27,255 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8fefeaeb-4ab4-447f-9df4-c6b91161ddb3
2026-02-11 21:14:27,263 - DEBUG - ==>Verifying data for policy with id: d03b3ec1-4a7e-4095-806d-93aea175c3fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-12102394', 'ctest-policy-allow-all-86237777']
2026-02-11 21:14:27,263 - INFO - VN ctest-vn-51347673 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 21:14:27,263 - DEBUG - Verifying the vn in opserver
2026-02-11 21:14:27,264 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12102394:ctest-vn-51347673 virtual network link through opserver 10.0.0.22
2026-02-11 21:14:27,264 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-11 21:14:27,272 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12102394:ctest-vn-51347673', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12102394:ctest-vn-51347673?flat'}
2026-02-11 21:14:27,272 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12102394:ctest-vn-51347673 is found in opserver
2026-02-11 21:14:27,282 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 21:14:27,287 - DEBUG - VRF ids for VN ctest-vn-51347673: {}
2026-02-11 21:14:27,347 - DEBUG - Services list from nova: [