2026-03-02 02:00:59,220 - INFO - Domain Default found not creating
2026-03-02 02:00:59,357 - INFO - Project ctest-TestBasicPolicy-52664299 not found, creating it
2026-03-02 02:00:59,767 - INFO - Created Project:ctest-TestBasicPolicy-52664299, ID : 0b601ba1-fa78-4283-81b3-763e3923f31f
2026-03-02 02:01:01,124 - INFO - ================================================================================
2026-03-02 02:01:01,124 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-02 02:01:01,124 - 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-03-02 02:01:01,377 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2026-03-02 02:01:01,377 - INFO - Initial checks done. Running the testcase now
2026-03-02 02:01:01,377 - INFO -
2026-03-02 02:01:01,934 - DEBUG - Response for create_network : {'network': {'id': '3ecd009c-0c64-4838-82d7-5b081b3a1e54', 'name': 'ctest-vn-28075017', 'tenant_id': '0b601ba1fa78428381b3763e3923f31f', 'project_id': '0b601ba1fa78428381b3763e3923f31f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52664299', 'ctest-vn-28075017'], 'port_security_enabled': True, 'description': ''}}
2026-03-02 02:01:02,148 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9b5b440-c609-4a22-9b03-5e3672b78685', 'name': '', 'tenant_id': '0b601ba1fa78428381b3763e3923f31f', 'network_id': '3ecd009c-0c64-4838-82d7-5b081b3a1e54', 'ip_version': 4, 'cidr': '58.127.108.64/26', 'allocation_pools': [{'start': '58.127.108.66', 'end': '58.127.108.126'}], 'gateway_ip': '58.127.108.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.127.108.66', 'tags': [], 'project_id': '0b601ba1fa78428381b3763e3923f31f'}}
2026-03-02 02:01:02,163 - INFO - Created VN ctest-vn-28075017
2026-03-02 02:01:02,212 - DEBUG - VN ctest-vn-28075017 UUID is 3ecd009c-0c64-4838-82d7-5b081b3a1e54
2026-03-02 02:01:02,510 - DEBUG - Response for create_network : {'network': {'id': 'fe6b058c-6204-4814-bcc3-bd2ec60e8174', 'name': 'ctest-vn-18078767', 'tenant_id': '0b601ba1fa78428381b3763e3923f31f', 'project_id': '0b601ba1fa78428381b3763e3923f31f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52664299', 'ctest-vn-18078767'], 'port_security_enabled': True, 'description': ''}}
2026-03-02 02:01:02,661 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2c117b8-aec6-40a0-8ef7-9cccdba60577', 'name': '', 'tenant_id': '0b601ba1fa78428381b3763e3923f31f', 'network_id': 'fe6b058c-6204-4814-bcc3-bd2ec60e8174', 'ip_version': 4, 'cidr': '118.65.205.128/26', 'allocation_pools': [{'start': '118.65.205.130', 'end': '118.65.205.190'}], 'gateway_ip': '118.65.205.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.65.205.130', 'tags': [], 'project_id': '0b601ba1fa78428381b3763e3923f31f'}}
2026-03-02 02:01:02,677 - INFO - Created VN ctest-vn-18078767
2026-03-02 02:01:02,728 - DEBUG - VN ctest-vn-18078767 UUID is fe6b058c-6204-4814-bcc3-bd2ec60e8174
2026-03-02 02:01:02,872 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52664299:ctest-vn-28075017, 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-52664299:ctest-vn-18078767, 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-03-02 02:01:03,179 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3ecd009c-0c64-4838-82d7-5b081b3a1e54', 'name': 'ctest-vn-28075017', 'tenant_id': '0b601ba1fa78428381b3763e3923f31f', 'project_id': '0b601ba1fa78428381b3763e3923f31f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9b5b440-c609-4a22-9b03-5e3672b78685'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52664299', 'ctest-vn-28075017'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52664299', 'ctest-policy-allow-all-39248503']], 'subnet_ipam': [{'subnet_cidr': '58.127.108.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-02 02:01:03,415 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fe6b058c-6204-4814-bcc3-bd2ec60e8174', 'name': 'ctest-vn-18078767', 'tenant_id': '0b601ba1fa78428381b3763e3923f31f', 'project_id': '0b601ba1fa78428381b3763e3923f31f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d2c117b8-aec6-40a0-8ef7-9cccdba60577'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52664299', 'ctest-vn-18078767'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52664299', 'ctest-policy-allow-all-39248503']], 'subnet_ipam': [{'subnet_cidr': '118.65.205.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-02 02:01:03,572 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-02 02:01:03,866 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-02 02:01:03,897 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ef259376-98d4-4d40-8afd-670806ec0d15
2026-03-02 02:01:03,907 - DEBUG - Requesting: http://10.0.0.141:8082/project/0b601ba1-fa78-4283-81b3-763e3923f31f
2026-03-02 02:01:03,973 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/3ecd009c-0c64-4838-82d7-5b081b3a1e54
2026-03-02 02:01:03,983 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/3ecd009c-0c64-4838-82d7-5b081b3a1e54
2026-03-02 02:01:03,991 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/898d7785-47de-4526-8e6b-e4cb6ab51984
2026-03-02 02:01:03,996 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/898d7785-47de-4526-8e6b-e4cb6ab51984
2026-03-02 02:01:04,001 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/33e140fb-e9f4-4a3f-8b4b-7835b7e6ea3a
2026-03-02 02:01:04,006 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-02 02:01:04,006 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/3ecd009c-0c64-4838-82d7-5b081b3a1e54
2026-03-02 02:01:04,014 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/898d7785-47de-4526-8e6b-e4cb6ab51984
2026-03-02 02:01:04,026 - INFO - Verified VN network id 11 for VN 3ecd009c-0c64-4838-82d7-5b081b3a1e54
2026-03-02 02:01:04,026 - INFO - Verifications in API Server for VN ctest-vn-28075017 passed
2026-03-02 02:01:04,026 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/3ecd009c-0c64-4838-82d7-5b081b3a1e54
2026-03-02 02:01:04,033 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/898d7785-47de-4526-8e6b-e4cb6ab51984
2026-03-02 02:01:04,038 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/898d7785-47de-4526-8e6b-e4cb6ab51984
2026-03-02 02:01:04,043 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/33e140fb-e9f4-4a3f-8b4b-7835b7e6ea3a
2026-03-02 02:01:04,051 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52664299:ctest-vn-28075017', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52664299', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4525273870800013368', 'uuid-lslong': '9428104435298082388'}, 'enable': 'true', 'created': '2026-03-02T02:01:01', 'last-modified': '2026-03-02T02:01:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.889167'}
2026-03-02 02:01:04,056 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-02 02:01:04,056 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28075017 passed
2026-03-02 02:01:04,056 - DEBUG - ====Verifying policy data for ctest-vn-28075017 in API_Server ======
2026-03-02 02:01:04,057 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-02 02:01:04,061 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ef259376-98d4-4d40-8afd-670806ec0d15
2026-03-02 02:01:04,070 - DEBUG - Requesting: http://10.0.0.141:8082/project/0b601ba1-fa78-4283-81b3-763e3923f31f
2026-03-02 02:01:04,135 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/3ecd009c-0c64-4838-82d7-5b081b3a1e54
2026-03-02 02:01:04,143 - DEBUG - ==>Verifying data for policy with id: a5d13b2d-8cd5-424c-a0ad-66ea51a625d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-52664299', 'ctest-policy-allow-all-39248503']
2026-03-02 02:01:04,143 - INFO - VN ctest-vn-28075017 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-02 02:01:04,143 - DEBUG - Verifying the vn in opserver
2026-03-02 02:01:04,143 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52664299:ctest-vn-28075017 virtual network link through opserver 10.0.0.141
2026-03-02 02:01:04,143 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-02 02:01:04,435 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-02 02:01:04,489 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52664299:ctest-vn-28075017', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52664299:ctest-vn-28075017?flat'}
2026-03-02 02:01:04,489 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52664299:ctest-vn-28075017 is found in opserver
2026-03-02 02:01:04,497 - DEBUG - Do not have enough data to verify VN in agent
2026-03-02 02:01:04,501 - DEBUG - VRF ids for VN ctest-vn-28075017: {}
2026-03-02 02:01:04,501 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-02 02:01:04,505 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ef259376-98d4-4d40-8afd-670806ec0d15
2026-03-02 02:01:04,514 - DEBUG - Requesting: http://10.0.0.141:8082/project/0b601ba1-fa78-4283-81b3-763e3923f31f
2026-03-02 02:01:04,581 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fe6b058c-6204-4814-bcc3-bd2ec60e8174
2026-03-02 02:01:04,592 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fe6b058c-6204-4814-bcc3-bd2ec60e8174
2026-03-02 02:01:04,600 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b08ff037-276e-47f5-8b05-57d1e0224c3b
2026-03-02 02:01:04,605 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b08ff037-276e-47f5-8b05-57d1e0224c3b
2026-03-02 02:01:04,610 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/14c51ad1-70df-4272-897c-f4875692f0ae
2026-03-02 02:01:04,616 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-02 02:01:04,616 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fe6b058c-6204-4814-bcc3-bd2ec60e8174
2026-03-02 02:01:04,622 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b08ff037-276e-47f5-8b05-57d1e0224c3b
2026-03-02 02:01:04,632 - INFO - Verified VN network id 12 for VN fe6b058c-6204-4814-bcc3-bd2ec60e8174
2026-03-02 02:01:04,632 - INFO - Verifications in API Server for VN ctest-vn-18078767 passed
2026-03-02 02:01:04,632 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fe6b058c-6204-4814-bcc3-bd2ec60e8174
2026-03-02 02:01:04,639 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b08ff037-276e-47f5-8b05-57d1e0224c3b
2026-03-02 02:01:04,643 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b08ff037-276e-47f5-8b05-57d1e0224c3b
2026-03-02 02:01:04,649 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/14c51ad1-70df-4272-897c-f4875692f0ae
2026-03-02 02:01:04,660 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52664299:ctest-vn-18078767', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52664299', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18332752808639744020', 'uuid-lslong': '13601923308178014580'}, 'enable': 'true', 'created': '2026-03-02T02:01:02', 'last-modified': '2026-03-02T02:01:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.272670'}
2026-03-02 02:01:04,666 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-02 02:01:04,666 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18078767 passed
2026-03-02 02:01:04,667 - DEBUG - ====Verifying policy data for ctest-vn-18078767 in API_Server ======
2026-03-02 02:01:04,667 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-02 02:01:04,672 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ef259376-98d4-4d40-8afd-670806ec0d15
2026-03-02 02:01:04,684 - DEBUG - Requesting: http://10.0.0.141:8082/project/0b601ba1-fa78-4283-81b3-763e3923f31f
2026-03-02 02:01:04,753 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fe6b058c-6204-4814-bcc3-bd2ec60e8174
2026-03-02 02:01:04,763 - DEBUG - ==>Verifying data for policy with id: a5d13b2d-8cd5-424c-a0ad-66ea51a625d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-52664299', 'ctest-policy-allow-all-39248503']
2026-03-02 02:01:04,763 - INFO - VN ctest-vn-18078767 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-02 02:01:04,763 - DEBUG - Verifying the vn in opserver
2026-03-02 02:01:04,763 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52664299:ctest-vn-18078767 virtual network link through opserver 10.0.0.141
2026-03-02 02:01:04,763 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-02 02:01:04,773 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52664299:ctest-vn-18078767', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52664299:ctest-vn-18078767?flat'}
2026-03-02 02:01:04,773 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52664299:ctest-vn-18078767 is found in opserver
2026-03-02 02:01:04,783 - DEBUG - Do not have enough data to verify VN in agent
2026-03-02 02:01:04,787 - DEBUG - VRF ids for VN ctest-vn-18078767: {}
2026-03-02 02:01:04,839 - DEBUG - Services list from nova: [