2026-01-29 02:10:18,569 - INFO - Domain Default found not creating
2026-01-29 02:10:18,738 - INFO - Project ctest-TestBasicPolicy-11162299 not found, creating it
2026-01-29 02:10:19,216 - INFO - Created Project:ctest-TestBasicPolicy-11162299, ID : 2156661b-cb8c-411b-8522-fbc71f3c09eb
2026-01-29 02:10:20,817 - INFO - ================================================================================
2026-01-29 02:10:20,817 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 02:10:20,817 - 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-01-29 02:10:21,081 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.192': '0'}} with
2026-01-29 02:10:21,081 - INFO - Initial checks done. Running the testcase now
2026-01-29 02:10:21,081 - INFO -
2026-01-29 02:10:21,697 - DEBUG - Response for create_network : {'network': {'id': 'ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b', 'name': 'ctest-vn-57926242', 'tenant_id': '2156661bcb8c411b8522fbc71f3c09eb', 'project_id': '2156661bcb8c411b8522fbc71f3c09eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-vn-57926242'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 02:10:21,894 - DEBUG - Response for create_subnet : {'subnet': {'id': '4dbbe042-9579-4db1-b4ce-14c2cab89589', 'name': '', 'tenant_id': '2156661bcb8c411b8522fbc71f3c09eb', 'network_id': 'ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b', 'ip_version': 4, 'cidr': '197.247.200.128/26', 'allocation_pools': [{'start': '197.247.200.130', 'end': '197.247.200.190'}], 'gateway_ip': '197.247.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.247.200.130', 'tags': [], 'project_id': '2156661bcb8c411b8522fbc71f3c09eb'}}
2026-01-29 02:10:21,916 - INFO - Created VN ctest-vn-57926242
2026-01-29 02:10:21,967 - DEBUG - VN ctest-vn-57926242 UUID is ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b
2026-01-29 02:10:22,261 - DEBUG - Response for create_network : {'network': {'id': '4ab0c590-e56c-4ef9-ad6d-249ade1e62c5', 'name': 'ctest-vn-88799470', 'tenant_id': '2156661bcb8c411b8522fbc71f3c09eb', 'project_id': '2156661bcb8c411b8522fbc71f3c09eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-vn-88799470'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 02:10:22,465 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb7e802b-0011-4408-a7df-dd0692424905', 'name': '', 'tenant_id': '2156661bcb8c411b8522fbc71f3c09eb', 'network_id': '4ab0c590-e56c-4ef9-ad6d-249ade1e62c5', 'ip_version': 4, 'cidr': '46.115.181.0/26', 'allocation_pools': [{'start': '46.115.181.2', 'end': '46.115.181.62'}], 'gateway_ip': '46.115.181.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.115.181.2', 'tags': [], 'project_id': '2156661bcb8c411b8522fbc71f3c09eb'}}
2026-01-29 02:10:22,485 - INFO - Created VN ctest-vn-88799470
2026-01-29 02:10:22,539 - DEBUG - VN ctest-vn-88799470 UUID is 4ab0c590-e56c-4ef9-ad6d-249ade1e62c5
2026-01-29 02:10:22,655 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-57926242, 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-11162299:ctest-vn-88799470, 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-01-29 02:10:22,962 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b', 'name': 'ctest-vn-57926242', 'tenant_id': '2156661bcb8c411b8522fbc71f3c09eb', 'project_id': '2156661bcb8c411b8522fbc71f3c09eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4dbbe042-9579-4db1-b4ce-14c2cab89589'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-vn-57926242'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-policy-allow-all-19385111']], 'subnet_ipam': [{'subnet_cidr': '197.247.200.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 02:10:23,185 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4ab0c590-e56c-4ef9-ad6d-249ade1e62c5', 'name': 'ctest-vn-88799470', 'tenant_id': '2156661bcb8c411b8522fbc71f3c09eb', 'project_id': '2156661bcb8c411b8522fbc71f3c09eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb7e802b-0011-4408-a7df-dd0692424905'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-vn-88799470'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-policy-allow-all-19385111']], 'subnet_ipam': [{'subnet_cidr': '46.115.181.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 02:10:23,335 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-29 02:10:23,684 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-29 02:10:23,716 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a86c72d-4f9c-48b6-9254-1943b01cb590
2026-01-29 02:10:23,728 - DEBUG - Requesting: http://10.0.0.50:8082/project/2156661b-cb8c-411b-8522-fbc71f3c09eb
2026-01-29 02:10:23,808 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b
2026-01-29 02:10:23,819 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b
2026-01-29 02:10:23,830 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f91ddd61-774f-4b65-aedc-4f3af84ae1e9
2026-01-29 02:10:23,837 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f91ddd61-774f-4b65-aedc-4f3af84ae1e9
2026-01-29 02:10:23,844 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c2b9661b-e781-4adc-91fe-51186b76532d
2026-01-29 02:10:23,850 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 02:10:23,851 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b
2026-01-29 02:10:23,859 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f91ddd61-774f-4b65-aedc-4f3af84ae1e9
2026-01-29 02:10:23,873 - INFO - Verified VN network id 11 for VN ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b
2026-01-29 02:10:23,874 - INFO - Verifications in API Server for VN ctest-vn-57926242 passed
2026-01-29 02:10:23,874 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b
2026-01-29 02:10:23,883 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f91ddd61-774f-4b65-aedc-4f3af84ae1e9
2026-01-29 02:10:23,890 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f91ddd61-774f-4b65-aedc-4f3af84ae1e9
2026-01-29 02:10:23,898 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c2b9661b-e781-4adc-91fe-51186b76532d
2026-01-29 02:10:23,911 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-57926242', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11162299', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14594268404848348010', 'uuid-lslong': '10060440075566600347'}, 'enable': 'true', 'created': '2026-01-29T02:10:21', 'last-modified': '2026-01-29T02:10:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972345'}
2026-01-29 02:10:23,918 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 02:10:23,918 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57926242 passed
2026-01-29 02:10:23,918 - DEBUG - ====Verifying policy data for ctest-vn-57926242 in API_Server ======
2026-01-29 02:10:23,918 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-29 02:10:23,924 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a86c72d-4f9c-48b6-9254-1943b01cb590
2026-01-29 02:10:23,936 - DEBUG - Requesting: http://10.0.0.50:8082/project/2156661b-cb8c-411b-8522-fbc71f3c09eb
2026-01-29 02:10:24,005 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b
2026-01-29 02:10:24,018 - DEBUG - ==>Verifying data for policy with id: a656df34-8238-4a1c-b862-da098b594455, fqn: ['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-policy-allow-all-19385111']
2026-01-29 02:10:24,018 - INFO - VN ctest-vn-57926242 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 02:10:24,018 - DEBUG - Verifying the vn in opserver
2026-01-29 02:10:24,018 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-57926242 virtual network link through opserver 10.0.0.50
2026-01-29 02:10:24,018 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-01-29 02:10:24,351 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-01-29 02:10:24,413 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-57926242', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-57926242?flat'}
2026-01-29 02:10:24,413 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-57926242 is found in opserver
2026-01-29 02:10:24,422 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 02:10:24,426 - DEBUG - VRF ids for VN ctest-vn-57926242: {}
2026-01-29 02:10:24,426 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-29 02:10:24,431 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a86c72d-4f9c-48b6-9254-1943b01cb590
2026-01-29 02:10:24,442 - DEBUG - Requesting: http://10.0.0.50:8082/project/2156661b-cb8c-411b-8522-fbc71f3c09eb
2026-01-29 02:10:24,516 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ab0c590-e56c-4ef9-ad6d-249ade1e62c5
2026-01-29 02:10:24,528 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ab0c590-e56c-4ef9-ad6d-249ade1e62c5
2026-01-29 02:10:24,537 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b279c0df-d7ee-475d-a798-9f0438c65bf7
2026-01-29 02:10:24,544 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b279c0df-d7ee-475d-a798-9f0438c65bf7
2026-01-29 02:10:24,551 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/cc9e315b-055e-464b-be60-ddf0cb0792ed
2026-01-29 02:10:24,559 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 02:10:24,559 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ab0c590-e56c-4ef9-ad6d-249ade1e62c5
2026-01-29 02:10:24,570 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b279c0df-d7ee-475d-a798-9f0438c65bf7
2026-01-29 02:10:24,588 - INFO - Verified VN network id 12 for VN 4ab0c590-e56c-4ef9-ad6d-249ade1e62c5
2026-01-29 02:10:24,588 - INFO - Verifications in API Server for VN ctest-vn-88799470 passed
2026-01-29 02:10:24,588 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ab0c590-e56c-4ef9-ad6d-249ade1e62c5
2026-01-29 02:10:24,599 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b279c0df-d7ee-475d-a798-9f0438c65bf7
2026-01-29 02:10:24,606 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b279c0df-d7ee-475d-a798-9f0438c65bf7
2026-01-29 02:10:24,616 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/cc9e315b-055e-464b-be60-ddf0cb0792ed
2026-01-29 02:10:24,627 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-88799470', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11162299', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5382018780822785785', 'uuid-lslong': '12496684788593091269'}, 'enable': 'true', 'created': '2026-01-29T02:10:22', 'last-modified': '2026-01-29T02:10:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.462873'}
2026-01-29 02:10:24,633 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 02:10:24,633 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88799470 passed
2026-01-29 02:10:24,633 - DEBUG - ====Verifying policy data for ctest-vn-88799470 in API_Server ======
2026-01-29 02:10:24,633 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-29 02:10:24,639 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a86c72d-4f9c-48b6-9254-1943b01cb590
2026-01-29 02:10:24,649 - DEBUG - Requesting: http://10.0.0.50:8082/project/2156661b-cb8c-411b-8522-fbc71f3c09eb
2026-01-29 02:10:24,724 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ab0c590-e56c-4ef9-ad6d-249ade1e62c5
2026-01-29 02:10:24,735 - DEBUG - ==>Verifying data for policy with id: a656df34-8238-4a1c-b862-da098b594455, fqn: ['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-policy-allow-all-19385111']
2026-01-29 02:10:24,735 - INFO - VN ctest-vn-88799470 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 02:10:24,735 - DEBUG - Verifying the vn in opserver
2026-01-29 02:10:24,735 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-88799470 virtual network link through opserver 10.0.0.50
2026-01-29 02:10:24,735 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-01-29 02:10:24,746 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-88799470', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-88799470?flat'}
2026-01-29 02:10:24,746 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-88799470 is found in opserver
2026-01-29 02:10:24,756 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 02:10:24,761 - DEBUG - VRF ids for VN ctest-vn-88799470: {}
2026-01-29 02:10:24,823 - DEBUG - Services list from nova: [