2026-02-12 02:15:04,142 - INFO - Domain Default found not creating
2026-02-12 02:15:04,325 - INFO - Project ctest-TestBasicPolicy-73033834 not found, creating it
2026-02-12 02:15:04,805 - INFO - Created Project:ctest-TestBasicPolicy-73033834, ID : f405a4f2-6205-4552-b0e8-28772a6aabcf
2026-02-12 02:15:06,394 - INFO - ================================================================================
2026-02-12 02:15:06,394 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-12 02:15:06,394 - 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-12 02:15:06,653 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.209': '0'}} with
2026-02-12 02:15:06,653 - INFO - Initial checks done. Running the testcase now
2026-02-12 02:15:06,654 - INFO -
2026-02-12 02:15:07,248 - DEBUG - Response for create_network : {'network': {'id': 'd012300d-71ef-4c16-aa53-d26646e54755', 'name': 'ctest-vn-71758599', 'tenant_id': 'f405a4f262054552b0e828772a6aabcf', 'project_id': 'f405a4f262054552b0e828772a6aabcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-vn-71758599'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 02:15:07,402 - DEBUG - Response for create_subnet : {'subnet': {'id': '082badfe-dbba-4233-8447-c3b2b79b5d25', 'name': '', 'tenant_id': 'f405a4f262054552b0e828772a6aabcf', 'network_id': 'd012300d-71ef-4c16-aa53-d26646e54755', 'ip_version': 4, 'cidr': '156.66.152.192/26', 'allocation_pools': [{'start': '156.66.152.194', 'end': '156.66.152.254'}], 'gateway_ip': '156.66.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.66.152.194', 'tags': [], 'project_id': 'f405a4f262054552b0e828772a6aabcf'}}
2026-02-12 02:15:07,422 - INFO - Created VN ctest-vn-71758599
2026-02-12 02:15:07,475 - DEBUG - VN ctest-vn-71758599 UUID is d012300d-71ef-4c16-aa53-d26646e54755
2026-02-12 02:15:07,777 - DEBUG - Response for create_network : {'network': {'id': '3f0b8936-ea62-4adf-812a-a5d1632ce4bb', 'name': 'ctest-vn-35150307', 'tenant_id': 'f405a4f262054552b0e828772a6aabcf', 'project_id': 'f405a4f262054552b0e828772a6aabcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-vn-35150307'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 02:15:07,934 - DEBUG - Response for create_subnet : {'subnet': {'id': '571c4de5-75d0-46c4-9135-f5762d84662f', 'name': '', 'tenant_id': 'f405a4f262054552b0e828772a6aabcf', 'network_id': '3f0b8936-ea62-4adf-812a-a5d1632ce4bb', 'ip_version': 4, 'cidr': '102.12.0.128/26', 'allocation_pools': [{'start': '102.12.0.130', 'end': '102.12.0.190'}], 'gateway_ip': '102.12.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.12.0.130', 'tags': [], 'project_id': 'f405a4f262054552b0e828772a6aabcf'}}
2026-02-12 02:15:07,951 - INFO - Created VN ctest-vn-35150307
2026-02-12 02:15:08,003 - DEBUG - VN ctest-vn-35150307 UUID is 3f0b8936-ea62-4adf-812a-a5d1632ce4bb
2026-02-12 02:15:08,120 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-71758599, 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-73033834:ctest-vn-35150307, 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-12 02:15:08,442 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd012300d-71ef-4c16-aa53-d26646e54755', 'name': 'ctest-vn-71758599', 'tenant_id': 'f405a4f262054552b0e828772a6aabcf', 'project_id': 'f405a4f262054552b0e828772a6aabcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['082badfe-dbba-4233-8447-c3b2b79b5d25'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-vn-71758599'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-policy-allow-all-26844712']], 'subnet_ipam': [{'subnet_cidr': '156.66.152.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 02:15:08,714 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3f0b8936-ea62-4adf-812a-a5d1632ce4bb', 'name': 'ctest-vn-35150307', 'tenant_id': 'f405a4f262054552b0e828772a6aabcf', 'project_id': 'f405a4f262054552b0e828772a6aabcf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['571c4de5-75d0-46c4-9135-f5762d84662f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-vn-35150307'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-policy-allow-all-26844712']], 'subnet_ipam': [{'subnet_cidr': '102.12.0.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 02:15:08,867 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-12 02:15:09,210 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-12 02:15:09,241 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f07acf09-857e-4488-a4a9-04717b0b3406
2026-02-12 02:15:09,253 - DEBUG - Requesting: http://10.0.0.19:8082/project/f405a4f2-6205-4552-b0e8-28772a6aabcf
2026-02-12 02:15:09,324 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d012300d-71ef-4c16-aa53-d26646e54755
2026-02-12 02:15:09,335 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d012300d-71ef-4c16-aa53-d26646e54755
2026-02-12 02:15:09,345 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c984922-15eb-4cd9-8cbd-8f388bdda05f
2026-02-12 02:15:09,352 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c984922-15eb-4cd9-8cbd-8f388bdda05f
2026-02-12 02:15:09,358 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/4cd23cb9-b4d4-4a46-9155-1d5a3f30257b
2026-02-12 02:15:09,364 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 02:15:09,364 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d012300d-71ef-4c16-aa53-d26646e54755
2026-02-12 02:15:09,374 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c984922-15eb-4cd9-8cbd-8f388bdda05f
2026-02-12 02:15:09,387 - INFO - Verified VN network id 11 for VN d012300d-71ef-4c16-aa53-d26646e54755
2026-02-12 02:15:09,387 - INFO - Verifications in API Server for VN ctest-vn-71758599 passed
2026-02-12 02:15:09,387 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d012300d-71ef-4c16-aa53-d26646e54755
2026-02-12 02:15:09,395 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c984922-15eb-4cd9-8cbd-8f388bdda05f
2026-02-12 02:15:09,402 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c984922-15eb-4cd9-8cbd-8f388bdda05f
2026-02-12 02:15:09,411 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/4cd23cb9-b4d4-4a46-9155-1d5a3f30257b
2026-02-12 02:15:09,427 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-71758599', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73033834', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14993098943774018582', 'uuid-lslong': '12273384746232661845'}, 'enable': 'true', 'created': '2026-02-12T02:15:07', 'last-modified': '2026-02-12T02:15:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.016508'}
2026-02-12 02:15:09,434 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 02:15:09,435 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71758599 passed
2026-02-12 02:15:09,435 - DEBUG - ====Verifying policy data for ctest-vn-71758599 in API_Server ======
2026-02-12 02:15:09,435 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-12 02:15:09,440 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f07acf09-857e-4488-a4a9-04717b0b3406
2026-02-12 02:15:09,454 - DEBUG - Requesting: http://10.0.0.19:8082/project/f405a4f2-6205-4552-b0e8-28772a6aabcf
2026-02-12 02:15:09,527 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d012300d-71ef-4c16-aa53-d26646e54755
2026-02-12 02:15:09,537 - DEBUG - ==>Verifying data for policy with id: d956ad1a-17e5-4518-9dac-346fd1ea50f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-policy-allow-all-26844712']
2026-02-12 02:15:09,537 - INFO - VN ctest-vn-71758599 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 02:15:09,537 - DEBUG - Verifying the vn in opserver
2026-02-12 02:15:09,537 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-71758599 virtual network link through opserver 10.0.0.19
2026-02-12 02:15:09,538 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-12 02:15:09,879 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-12 02:15:09,942 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-71758599', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-71758599?flat'}
2026-02-12 02:15:09,942 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-71758599 is found in opserver
2026-02-12 02:15:09,954 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 02:15:09,959 - DEBUG - VRF ids for VN ctest-vn-71758599: {}
2026-02-12 02:15:09,959 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-12 02:15:09,965 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f07acf09-857e-4488-a4a9-04717b0b3406
2026-02-12 02:15:09,977 - DEBUG - Requesting: http://10.0.0.19:8082/project/f405a4f2-6205-4552-b0e8-28772a6aabcf
2026-02-12 02:15:10,045 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f0b8936-ea62-4adf-812a-a5d1632ce4bb
2026-02-12 02:15:10,058 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f0b8936-ea62-4adf-812a-a5d1632ce4bb
2026-02-12 02:15:10,068 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a4a139a-1a45-4180-8b00-3bfce2a9c74f
2026-02-12 02:15:10,075 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a4a139a-1a45-4180-8b00-3bfce2a9c74f
2026-02-12 02:15:10,082 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/2c0ce260-2ec7-4d14-af32-d32b111e8241
2026-02-12 02:15:10,089 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 02:15:10,089 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f0b8936-ea62-4adf-812a-a5d1632ce4bb
2026-02-12 02:15:10,099 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a4a139a-1a45-4180-8b00-3bfce2a9c74f
2026-02-12 02:15:10,112 - INFO - Verified VN network id 12 for VN 3f0b8936-ea62-4adf-812a-a5d1632ce4bb
2026-02-12 02:15:10,112 - INFO - Verifications in API Server for VN ctest-vn-35150307 passed
2026-02-12 02:15:10,112 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f0b8936-ea62-4adf-812a-a5d1632ce4bb
2026-02-12 02:15:10,121 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a4a139a-1a45-4180-8b00-3bfce2a9c74f
2026-02-12 02:15:10,127 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2a4a139a-1a45-4180-8b00-3bfce2a9c74f
2026-02-12 02:15:10,134 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/2c0ce260-2ec7-4d14-af32-d32b111e8241
2026-02-12 02:15:10,145 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-35150307', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73033834', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4542875518086826719', 'uuid-lslong': '9307433898645185723'}, 'enable': 'true', 'created': '2026-02-12T02:15:07', 'last-modified': '2026-02-12T02:15:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.499691'}
2026-02-12 02:15:10,152 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 02:15:10,152 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35150307 passed
2026-02-12 02:15:10,152 - DEBUG - ====Verifying policy data for ctest-vn-35150307 in API_Server ======
2026-02-12 02:15:10,152 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-12 02:15:10,158 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f07acf09-857e-4488-a4a9-04717b0b3406
2026-02-12 02:15:10,169 - DEBUG - Requesting: http://10.0.0.19:8082/project/f405a4f2-6205-4552-b0e8-28772a6aabcf
2026-02-12 02:15:10,235 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f0b8936-ea62-4adf-812a-a5d1632ce4bb
2026-02-12 02:15:10,245 - DEBUG - ==>Verifying data for policy with id: d956ad1a-17e5-4518-9dac-346fd1ea50f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-73033834', 'ctest-policy-allow-all-26844712']
2026-02-12 02:15:10,245 - INFO - VN ctest-vn-35150307 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 02:15:10,245 - DEBUG - Verifying the vn in opserver
2026-02-12 02:15:10,246 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-35150307 virtual network link through opserver 10.0.0.19
2026-02-12 02:15:10,246 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-12 02:15:10,256 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-35150307', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-35150307?flat'}
2026-02-12 02:15:10,256 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73033834:ctest-vn-35150307 is found in opserver
2026-02-12 02:15:10,265 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 02:15:10,270 - DEBUG - VRF ids for VN ctest-vn-35150307: {}
2026-02-12 02:15:10,333 - DEBUG - Services list from nova: [