2026-06-03 13:04:32,451 - INFO - Domain Default found not creating
2026-06-03 13:04:32,658 - INFO - Project ctest-TestBasicPolicy-18332826 not found, creating it
2026-06-03 13:04:33,183 - INFO - Created Project:ctest-TestBasicPolicy-18332826, ID : e01d2079-b420-450b-9bbe-4ab87e524456
2026-06-03 13:04:34,747 - INFO - ================================================================================
2026-06-03 13:04:34,747 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-03 13:04:34,747 - 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-06-03 13:04:35,016 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-06-03 13:04:35,016 - INFO - Initial checks done. Running the testcase now
2026-06-03 13:04:35,016 - INFO -
2026-06-03 13:04:35,637 - DEBUG - Response for create_network : {'network': {'id': '09d9f4ec-de54-4454-bfe1-096c872d5e03', 'name': 'ctest-vn-52411727', 'tenant_id': 'e01d2079b420450b9bbe4ab87e524456', 'project_id': 'e01d2079b420450b9bbe4ab87e524456', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18332826', 'ctest-vn-52411727'], 'port_security_enabled': True, 'description': ''}}
2026-06-03 13:04:35,859 - DEBUG - Response for create_subnet : {'subnet': {'id': '33c1877a-d420-4c53-9cad-69b162a830cb', 'name': '', 'tenant_id': 'e01d2079b420450b9bbe4ab87e524456', 'network_id': '09d9f4ec-de54-4454-bfe1-096c872d5e03', 'ip_version': 4, 'cidr': '50.246.225.128/26', 'allocation_pools': [{'start': '50.246.225.130', 'end': '50.246.225.190'}], 'gateway_ip': '50.246.225.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.246.225.130', 'tags': [], 'project_id': 'e01d2079b420450b9bbe4ab87e524456'}}
2026-06-03 13:04:35,878 - INFO - Created VN ctest-vn-52411727
2026-06-03 13:04:35,934 - DEBUG - VN ctest-vn-52411727 UUID is 09d9f4ec-de54-4454-bfe1-096c872d5e03
2026-06-03 13:04:36,220 - DEBUG - Response for create_network : {'network': {'id': 'eea69d7c-db55-41d0-8bbb-34bd8faf5f39', 'name': 'ctest-vn-66032902', 'tenant_id': 'e01d2079b420450b9bbe4ab87e524456', 'project_id': 'e01d2079b420450b9bbe4ab87e524456', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18332826', 'ctest-vn-66032902'], 'port_security_enabled': True, 'description': ''}}
2026-06-03 13:04:36,413 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2ed5087-32a8-4a38-b4af-0b9ccaf57a8d', 'name': '', 'tenant_id': 'e01d2079b420450b9bbe4ab87e524456', 'network_id': 'eea69d7c-db55-41d0-8bbb-34bd8faf5f39', 'ip_version': 4, 'cidr': '132.242.206.64/26', 'allocation_pools': [{'start': '132.242.206.66', 'end': '132.242.206.126'}], 'gateway_ip': '132.242.206.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.242.206.66', 'tags': [], 'project_id': 'e01d2079b420450b9bbe4ab87e524456'}}
2026-06-03 13:04:36,433 - INFO - Created VN ctest-vn-66032902
2026-06-03 13:04:36,486 - DEBUG - VN ctest-vn-66032902 UUID is eea69d7c-db55-41d0-8bbb-34bd8faf5f39
2026-06-03 13:04:36,600 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18332826:ctest-vn-52411727, 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-18332826:ctest-vn-66032902, 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-06-03 13:04:36,907 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '09d9f4ec-de54-4454-bfe1-096c872d5e03', 'name': 'ctest-vn-52411727', 'tenant_id': 'e01d2079b420450b9bbe4ab87e524456', 'project_id': 'e01d2079b420450b9bbe4ab87e524456', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['33c1877a-d420-4c53-9cad-69b162a830cb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18332826', 'ctest-vn-52411727'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18332826', 'ctest-policy-allow-all-74335403']], 'subnet_ipam': [{'subnet_cidr': '50.246.225.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-03 13:04:37,142 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eea69d7c-db55-41d0-8bbb-34bd8faf5f39', 'name': 'ctest-vn-66032902', 'tenant_id': 'e01d2079b420450b9bbe4ab87e524456', 'project_id': 'e01d2079b420450b9bbe4ab87e524456', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d2ed5087-32a8-4a38-b4af-0b9ccaf57a8d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18332826', 'ctest-vn-66032902'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18332826', 'ctest-policy-allow-all-74335403']], 'subnet_ipam': [{'subnet_cidr': '132.242.206.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-03 13:04:37,318 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-03 13:04:37,628 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-03 13:04:37,660 - DEBUG - Requesting: http://10.0.0.38:8082/domain/42172b78-e50c-4725-8fba-1c8e109a8bb8
2026-06-03 13:04:37,672 - DEBUG - Requesting: http://10.0.0.38:8082/project/e01d2079-b420-450b-9bbe-4ab87e524456
2026-06-03 13:04:37,747 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09d9f4ec-de54-4454-bfe1-096c872d5e03
2026-06-03 13:04:37,760 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09d9f4ec-de54-4454-bfe1-096c872d5e03
2026-06-03 13:04:37,770 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad9395de-b770-4d26-ac8c-ebe9e69807f2
2026-06-03 13:04:37,777 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad9395de-b770-4d26-ac8c-ebe9e69807f2
2026-06-03 13:04:37,785 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f81a8671-d35c-48f3-bf12-ddeff875e6e6
2026-06-03 13:04:37,792 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-03 13:04:37,792 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09d9f4ec-de54-4454-bfe1-096c872d5e03
2026-06-03 13:04:37,801 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad9395de-b770-4d26-ac8c-ebe9e69807f2
2026-06-03 13:04:37,814 - INFO - Verified VN network id 11 for VN 09d9f4ec-de54-4454-bfe1-096c872d5e03
2026-06-03 13:04:37,814 - INFO - Verifications in API Server for VN ctest-vn-52411727 passed
2026-06-03 13:04:37,814 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09d9f4ec-de54-4454-bfe1-096c872d5e03
2026-06-03 13:04:37,823 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad9395de-b770-4d26-ac8c-ebe9e69807f2
2026-06-03 13:04:37,830 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad9395de-b770-4d26-ac8c-ebe9e69807f2
2026-06-03 13:04:37,839 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f81a8671-d35c-48f3-bf12-ddeff875e6e6
2026-06-03 13:04:37,852 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18332826:ctest-vn-52411727', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18332826', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '709867714467087444', 'uuid-lslong': '13826342692733148675'}, 'enable': 'true', 'created': '2026-06-03T13:04:35', 'last-modified': '2026-06-03T13:04:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.971000'}
2026-06-03 13:04:37,858 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-03 13:04:37,858 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52411727 passed
2026-06-03 13:04:37,858 - DEBUG - ====Verifying policy data for ctest-vn-52411727 in API_Server ======
2026-06-03 13:04:37,858 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-03 13:04:37,864 - DEBUG - Requesting: http://10.0.0.38:8082/domain/42172b78-e50c-4725-8fba-1c8e109a8bb8
2026-06-03 13:04:37,874 - DEBUG - Requesting: http://10.0.0.38:8082/project/e01d2079-b420-450b-9bbe-4ab87e524456
2026-06-03 13:04:37,945 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09d9f4ec-de54-4454-bfe1-096c872d5e03
2026-06-03 13:04:37,954 - DEBUG - ==>Verifying data for policy with id: 42fc1cc2-39e5-44bc-bc2c-1ea5432da5f5, fqn: ['default-domain', 'ctest-TestBasicPolicy-18332826', 'ctest-policy-allow-all-74335403']
2026-06-03 13:04:37,955 - INFO - VN ctest-vn-52411727 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-03 13:04:37,955 - DEBUG - Verifying the vn in opserver
2026-06-03 13:04:37,955 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18332826:ctest-vn-52411727 virtual network link through opserver 10.0.0.38
2026-06-03 13:04:37,955 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-03 13:04:38,270 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-03 13:04:38,343 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18332826:ctest-vn-52411727', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18332826:ctest-vn-52411727?flat'}
2026-06-03 13:04:38,343 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18332826:ctest-vn-52411727 is found in opserver
2026-06-03 13:04:38,352 - DEBUG - Do not have enough data to verify VN in agent
2026-06-03 13:04:38,358 - DEBUG - VRF ids for VN ctest-vn-52411727: {}
2026-06-03 13:04:38,358 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-03 13:04:38,363 - DEBUG - Requesting: http://10.0.0.38:8082/domain/42172b78-e50c-4725-8fba-1c8e109a8bb8
2026-06-03 13:04:38,375 - DEBUG - Requesting: http://10.0.0.38:8082/project/e01d2079-b420-450b-9bbe-4ab87e524456
2026-06-03 13:04:38,441 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eea69d7c-db55-41d0-8bbb-34bd8faf5f39
2026-06-03 13:04:38,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eea69d7c-db55-41d0-8bbb-34bd8faf5f39
2026-06-03 13:04:38,465 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac071c75-e0c0-49f4-a5b6-3d923a844e0e
2026-06-03 13:04:38,472 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac071c75-e0c0-49f4-a5b6-3d923a844e0e
2026-06-03 13:04:38,478 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/997b2ec6-ec4a-4b7d-90b3-cf0d9ca73999
2026-06-03 13:04:38,486 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-03 13:04:38,486 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eea69d7c-db55-41d0-8bbb-34bd8faf5f39
2026-06-03 13:04:38,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac071c75-e0c0-49f4-a5b6-3d923a844e0e
2026-06-03 13:04:38,507 - INFO - Verified VN network id 12 for VN eea69d7c-db55-41d0-8bbb-34bd8faf5f39
2026-06-03 13:04:38,508 - INFO - Verifications in API Server for VN ctest-vn-66032902 passed
2026-06-03 13:04:38,508 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eea69d7c-db55-41d0-8bbb-34bd8faf5f39
2026-06-03 13:04:38,516 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac071c75-e0c0-49f4-a5b6-3d923a844e0e
2026-06-03 13:04:38,523 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac071c75-e0c0-49f4-a5b6-3d923a844e0e
2026-06-03 13:04:38,530 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/997b2ec6-ec4a-4b7d-90b3-cf0d9ca73999
2026-06-03 13:04:38,540 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18332826:ctest-vn-66032902', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18332826', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17196605386742120912', 'uuid-lslong': '10068699380680974137'}, 'enable': 'true', 'created': '2026-06-03T13:04:36', 'last-modified': '2026-06-03T13:04:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.418671'}
2026-06-03 13:04:38,547 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-03 13:04:38,547 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66032902 passed
2026-06-03 13:04:38,548 - DEBUG - ====Verifying policy data for ctest-vn-66032902 in API_Server ======
2026-06-03 13:04:38,548 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-03 13:04:38,554 - DEBUG - Requesting: http://10.0.0.38:8082/domain/42172b78-e50c-4725-8fba-1c8e109a8bb8
2026-06-03 13:04:38,566 - DEBUG - Requesting: http://10.0.0.38:8082/project/e01d2079-b420-450b-9bbe-4ab87e524456
2026-06-03 13:04:38,634 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eea69d7c-db55-41d0-8bbb-34bd8faf5f39
2026-06-03 13:04:38,642 - DEBUG - ==>Verifying data for policy with id: 42fc1cc2-39e5-44bc-bc2c-1ea5432da5f5, fqn: ['default-domain', 'ctest-TestBasicPolicy-18332826', 'ctest-policy-allow-all-74335403']
2026-06-03 13:04:38,642 - INFO - VN ctest-vn-66032902 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-03 13:04:38,642 - DEBUG - Verifying the vn in opserver
2026-06-03 13:04:38,643 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18332826:ctest-vn-66032902 virtual network link through opserver 10.0.0.38
2026-06-03 13:04:38,643 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-03 13:04:38,652 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18332826:ctest-vn-66032902', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18332826:ctest-vn-66032902?flat'}
2026-06-03 13:04:38,652 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18332826:ctest-vn-66032902 is found in opserver
2026-06-03 13:04:38,662 - DEBUG - Do not have enough data to verify VN in agent
2026-06-03 13:04:38,666 - DEBUG - VRF ids for VN ctest-vn-66032902: {}
2026-06-03 13:04:38,734 - DEBUG - Services list from nova: [