2026-02-03 02:39:59,389 - INFO - Domain Default found not creating
2026-02-03 02:39:59,558 - INFO - Project ctest-TestBasicPolicy-62725332 not found, creating it
2026-02-03 02:40:00,011 - INFO - Created Project:ctest-TestBasicPolicy-62725332, ID : b8995bbf-cfdc-4752-a0d5-06b213ecd94b
2026-02-03 02:40:01,463 - INFO - ================================================================================
2026-02-03 02:40:01,463 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-03 02:40:01,463 - 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-03 02:40:01,721 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with
2026-02-03 02:40:01,721 - INFO - Initial checks done. Running the testcase now
2026-02-03 02:40:01,721 - INFO -
2026-02-03 02:40:02,253 - DEBUG - Response for create_network : {'network': {'id': '2d592d88-9dfb-458d-ae71-08da94518cb6', 'name': 'ctest-vn-17375198', 'tenant_id': 'b8995bbfcfdc4752a0d506b213ecd94b', 'project_id': 'b8995bbfcfdc4752a0d506b213ecd94b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62725332', 'ctest-vn-17375198'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 02:40:02,462 - DEBUG - Response for create_subnet : {'subnet': {'id': '77d96367-53ed-4906-b618-64a607ca6c75', 'name': '', 'tenant_id': 'b8995bbfcfdc4752a0d506b213ecd94b', 'network_id': '2d592d88-9dfb-458d-ae71-08da94518cb6', 'ip_version': 4, 'cidr': '102.188.162.64/26', 'allocation_pools': [{'start': '102.188.162.66', 'end': '102.188.162.126'}], 'gateway_ip': '102.188.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.188.162.66', 'tags': [], 'project_id': 'b8995bbfcfdc4752a0d506b213ecd94b'}}
2026-02-03 02:40:02,480 - INFO - Created VN ctest-vn-17375198
2026-02-03 02:40:02,532 - DEBUG - VN ctest-vn-17375198 UUID is 2d592d88-9dfb-458d-ae71-08da94518cb6
2026-02-03 02:40:02,867 - DEBUG - Response for create_network : {'network': {'id': 'dfbb89ef-fb50-4a09-8e2b-e6f197bbac03', 'name': 'ctest-vn-44529764', 'tenant_id': 'b8995bbfcfdc4752a0d506b213ecd94b', 'project_id': 'b8995bbfcfdc4752a0d506b213ecd94b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62725332', 'ctest-vn-44529764'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 02:40:03,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '2400e99d-a342-4100-9c58-03f45f6ab814', 'name': '', 'tenant_id': 'b8995bbfcfdc4752a0d506b213ecd94b', 'network_id': 'dfbb89ef-fb50-4a09-8e2b-e6f197bbac03', 'ip_version': 4, 'cidr': '52.215.58.64/26', 'allocation_pools': [{'start': '52.215.58.66', 'end': '52.215.58.126'}], 'gateway_ip': '52.215.58.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.215.58.66', 'tags': [], 'project_id': 'b8995bbfcfdc4752a0d506b213ecd94b'}}
2026-02-03 02:40:03,073 - INFO - Created VN ctest-vn-44529764
2026-02-03 02:40:03,124 - DEBUG - VN ctest-vn-44529764 UUID is dfbb89ef-fb50-4a09-8e2b-e6f197bbac03
2026-02-03 02:40:03,276 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62725332:ctest-vn-17375198, 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-62725332:ctest-vn-44529764, 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-03 02:40:03,567 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d592d88-9dfb-458d-ae71-08da94518cb6', 'name': 'ctest-vn-17375198', 'tenant_id': 'b8995bbfcfdc4752a0d506b213ecd94b', 'project_id': 'b8995bbfcfdc4752a0d506b213ecd94b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['77d96367-53ed-4906-b618-64a607ca6c75'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62725332', 'ctest-vn-17375198'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62725332', 'ctest-policy-allow-all-15124357']], 'subnet_ipam': [{'subnet_cidr': '102.188.162.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 02:40:03,798 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dfbb89ef-fb50-4a09-8e2b-e6f197bbac03', 'name': 'ctest-vn-44529764', 'tenant_id': 'b8995bbfcfdc4752a0d506b213ecd94b', 'project_id': 'b8995bbfcfdc4752a0d506b213ecd94b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2400e99d-a342-4100-9c58-03f45f6ab814'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62725332', 'ctest-vn-44529764'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62725332', 'ctest-policy-allow-all-15124357']], 'subnet_ipam': [{'subnet_cidr': '52.215.58.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 02:40:03,980 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-03 02:40:04,280 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-03 02:40:04,311 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4340e5b6-f46c-416b-8caa-1a3cad616930
2026-02-03 02:40:04,324 - DEBUG - Requesting: http://10.0.0.27:8082/project/b8995bbf-cfdc-4752-a0d5-06b213ecd94b
2026-02-03 02:40:04,397 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2d592d88-9dfb-458d-ae71-08da94518cb6
2026-02-03 02:40:04,406 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2d592d88-9dfb-458d-ae71-08da94518cb6
2026-02-03 02:40:04,416 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/76b2d4e6-a449-4d2a-931d-e182e12a4463
2026-02-03 02:40:04,423 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/76b2d4e6-a449-4d2a-931d-e182e12a4463
2026-02-03 02:40:04,430 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/aa14f07e-73ba-4d71-88ac-17729f066c09
2026-02-03 02:40:04,436 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 02:40:04,436 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2d592d88-9dfb-458d-ae71-08da94518cb6
2026-02-03 02:40:04,446 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/76b2d4e6-a449-4d2a-931d-e182e12a4463
2026-02-03 02:40:04,463 - INFO - Verified VN network id 12 for VN 2d592d88-9dfb-458d-ae71-08da94518cb6
2026-02-03 02:40:04,463 - INFO - Verifications in API Server for VN ctest-vn-17375198 passed
2026-02-03 02:40:04,463 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2d592d88-9dfb-458d-ae71-08da94518cb6
2026-02-03 02:40:04,473 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/76b2d4e6-a449-4d2a-931d-e182e12a4463
2026-02-03 02:40:04,480 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/76b2d4e6-a449-4d2a-931d-e182e12a4463
2026-02-03 02:40:04,488 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/aa14f07e-73ba-4d71-88ac-17729f066c09
2026-02-03 02:40:04,500 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62725332:ctest-vn-17375198', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62725332', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3267693069423297933', 'uuid-lslong': '12569837769852030134'}, 'enable': 'true', 'created': '2026-02-03T02:40:02', 'last-modified': '2026-02-03T02:40:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947907'}
2026-02-03 02:40:04,505 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 02:40:04,505 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17375198 passed
2026-02-03 02:40:04,505 - DEBUG - ====Verifying policy data for ctest-vn-17375198 in API_Server ======
2026-02-03 02:40:04,505 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-03 02:40:04,511 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4340e5b6-f46c-416b-8caa-1a3cad616930
2026-02-03 02:40:04,523 - DEBUG - Requesting: http://10.0.0.27:8082/project/b8995bbf-cfdc-4752-a0d5-06b213ecd94b
2026-02-03 02:40:04,592 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2d592d88-9dfb-458d-ae71-08da94518cb6
2026-02-03 02:40:04,601 - DEBUG - ==>Verifying data for policy with id: 39fbe1b2-1763-4518-9c11-2c0c8989246c, fqn: ['default-domain', 'ctest-TestBasicPolicy-62725332', 'ctest-policy-allow-all-15124357']
2026-02-03 02:40:04,601 - INFO - VN ctest-vn-17375198 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 02:40:04,601 - DEBUG - Verifying the vn in opserver
2026-02-03 02:40:04,601 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62725332:ctest-vn-17375198 virtual network link through opserver 10.0.0.27
2026-02-03 02:40:04,601 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-03 02:40:04,892 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-03 02:40:04,949 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62725332:ctest-vn-17375198', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62725332:ctest-vn-17375198?flat'}
2026-02-03 02:40:04,949 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62725332:ctest-vn-17375198 is found in opserver
2026-02-03 02:40:04,958 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 02:40:04,962 - DEBUG - VRF ids for VN ctest-vn-17375198: {}
2026-02-03 02:40:04,963 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-03 02:40:04,967 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4340e5b6-f46c-416b-8caa-1a3cad616930
2026-02-03 02:40:04,977 - DEBUG - Requesting: http://10.0.0.27:8082/project/b8995bbf-cfdc-4752-a0d5-06b213ecd94b
2026-02-03 02:40:05,045 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dfbb89ef-fb50-4a09-8e2b-e6f197bbac03
2026-02-03 02:40:05,054 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dfbb89ef-fb50-4a09-8e2b-e6f197bbac03
2026-02-03 02:40:05,063 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9cc746f1-4262-4eb7-a0c5-cf64b6126950
2026-02-03 02:40:05,070 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9cc746f1-4262-4eb7-a0c5-cf64b6126950
2026-02-03 02:40:05,076 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/e055754e-94ab-4c6a-83b4-7800c36e9772
2026-02-03 02:40:05,082 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 02:40:05,082 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dfbb89ef-fb50-4a09-8e2b-e6f197bbac03
2026-02-03 02:40:05,089 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9cc746f1-4262-4eb7-a0c5-cf64b6126950
2026-02-03 02:40:05,101 - INFO - Verified VN network id 13 for VN dfbb89ef-fb50-4a09-8e2b-e6f197bbac03
2026-02-03 02:40:05,101 - INFO - Verifications in API Server for VN ctest-vn-44529764 passed
2026-02-03 02:40:05,101 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dfbb89ef-fb50-4a09-8e2b-e6f197bbac03
2026-02-03 02:40:05,109 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9cc746f1-4262-4eb7-a0c5-cf64b6126950
2026-02-03 02:40:05,115 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/9cc746f1-4262-4eb7-a0c5-cf64b6126950
2026-02-03 02:40:05,121 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/e055754e-94ab-4c6a-83b4-7800c36e9772
2026-02-03 02:40:05,131 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62725332:ctest-vn-44529764', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62725332', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16121630954909354505', 'uuid-lslong': '10244535702691490819'}, 'enable': 'true', 'created': '2026-02-03T02:40:02', 'last-modified': '2026-02-03T02:40:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.353837'}
2026-02-03 02:40:05,136 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 02:40:05,136 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44529764 passed
2026-02-03 02:40:05,137 - DEBUG - ====Verifying policy data for ctest-vn-44529764 in API_Server ======
2026-02-03 02:40:05,137 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-03 02:40:05,142 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4340e5b6-f46c-416b-8caa-1a3cad616930
2026-02-03 02:40:05,152 - DEBUG - Requesting: http://10.0.0.27:8082/project/b8995bbf-cfdc-4752-a0d5-06b213ecd94b
2026-02-03 02:40:05,230 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dfbb89ef-fb50-4a09-8e2b-e6f197bbac03
2026-02-03 02:40:05,239 - DEBUG - ==>Verifying data for policy with id: 39fbe1b2-1763-4518-9c11-2c0c8989246c, fqn: ['default-domain', 'ctest-TestBasicPolicy-62725332', 'ctest-policy-allow-all-15124357']
2026-02-03 02:40:05,239 - INFO - VN ctest-vn-44529764 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 02:40:05,239 - DEBUG - Verifying the vn in opserver
2026-02-03 02:40:05,239 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62725332:ctest-vn-44529764 virtual network link through opserver 10.0.0.27
2026-02-03 02:40:05,239 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-03 02:40:05,248 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62725332:ctest-vn-44529764', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62725332:ctest-vn-44529764?flat'}
2026-02-03 02:40:05,248 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62725332:ctest-vn-44529764 is found in opserver
2026-02-03 02:40:05,256 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 02:40:05,260 - DEBUG - VRF ids for VN ctest-vn-44529764: {}
2026-02-03 02:40:05,311 - DEBUG - Services list from nova: [