2026-09-10 14:32:38,679 - INFO - Domain Default found not creating
2026-09-10 14:32:38,894 - INFO - Project ctest-TestBasicPolicy-12721634 not found, creating it
2026-09-10 14:32:39,445 - INFO - Created Project:ctest-TestBasicPolicy-12721634, ID : 8ebf6363-88d2-423e-8e0f-0ec511165859
2026-09-10 14:32:41,215 - INFO - ================================================================================
2026-09-10 14:32:41,216 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-10 14:32:41,216 - 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-09-10 14:32:41,494 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with
2026-09-10 14:32:41,494 - INFO - Initial checks done. Running the testcase now
2026-09-10 14:32:41,494 - INFO -
2026-09-10 14:32:42,124 - DEBUG - Response for create_network : {'network': {'id': '1ff5b6d4-0c25-4d62-bb92-784093ae538d', 'name': 'ctest-vn-68953541', 'tenant_id': '8ebf636388d2423e8e0f0ec511165859', 'project_id': '8ebf636388d2423e8e0f0ec511165859', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12721634', 'ctest-vn-68953541'], 'port_security_enabled': True, 'description': ''}}
2026-09-10 14:32:42,353 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a360f16b-87fc-430a-8521-f963830dba76', 'name': '', 'tenant_id': '8ebf636388d2423e8e0f0ec511165859', 'network_id': '1ff5b6d4-0c25-4d62-bb92-784093ae538d', 'ip_version': 4, 'cidr': '163.179.143.64/26', 'allocation_pools': [{'start': '163.179.143.66', 'end': '163.179.143.126'}], 'gateway_ip': '163.179.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.179.143.66', 'tags': [], 'project_id': '8ebf636388d2423e8e0f0ec511165859'}}
2026-09-10 14:32:42,374 - INFO - Created VN ctest-vn-68953541
2026-09-10 14:32:42,429 - DEBUG - VN ctest-vn-68953541 UUID is 1ff5b6d4-0c25-4d62-bb92-784093ae538d
2026-09-10 14:32:42,757 - DEBUG - Response for create_network : {'network': {'id': 'db173eaf-f785-4cae-aa0d-d3adbae56143', 'name': 'ctest-vn-62664133', 'tenant_id': '8ebf636388d2423e8e0f0ec511165859', 'project_id': '8ebf636388d2423e8e0f0ec511165859', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12721634', 'ctest-vn-62664133'], 'port_security_enabled': True, 'description': ''}}
2026-09-10 14:32:42,989 - DEBUG - Response for create_subnet : {'subnet': {'id': '919765aa-74f0-4db3-929d-23f12ac3aa23', 'name': '', 'tenant_id': '8ebf636388d2423e8e0f0ec511165859', 'network_id': 'db173eaf-f785-4cae-aa0d-d3adbae56143', 'ip_version': 4, 'cidr': '131.238.253.128/26', 'allocation_pools': [{'start': '131.238.253.130', 'end': '131.238.253.190'}], 'gateway_ip': '131.238.253.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.238.253.130', 'tags': [], 'project_id': '8ebf636388d2423e8e0f0ec511165859'}}
2026-09-10 14:32:43,008 - INFO - Created VN ctest-vn-62664133
2026-09-10 14:32:43,061 - DEBUG - VN ctest-vn-62664133 UUID is db173eaf-f785-4cae-aa0d-d3adbae56143
2026-09-10 14:32:43,179 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12721634:ctest-vn-68953541, 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-12721634:ctest-vn-62664133, 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-09-10 14:32:43,525 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1ff5b6d4-0c25-4d62-bb92-784093ae538d', 'name': 'ctest-vn-68953541', 'tenant_id': '8ebf636388d2423e8e0f0ec511165859', 'project_id': '8ebf636388d2423e8e0f0ec511165859', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a360f16b-87fc-430a-8521-f963830dba76'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12721634', 'ctest-vn-68953541'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12721634', 'ctest-policy-allow-all-99802194']], 'subnet_ipam': [{'subnet_cidr': '163.179.143.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-10 14:32:43,893 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'db173eaf-f785-4cae-aa0d-d3adbae56143', 'name': 'ctest-vn-62664133', 'tenant_id': '8ebf636388d2423e8e0f0ec511165859', 'project_id': '8ebf636388d2423e8e0f0ec511165859', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['919765aa-74f0-4db3-929d-23f12ac3aa23'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12721634', 'ctest-vn-62664133'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12721634', 'ctest-policy-allow-all-99802194']], 'subnet_ipam': [{'subnet_cidr': '131.238.253.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-10 14:32:44,041 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-10 14:32:44,446 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-10 14:32:44,482 - DEBUG - Requesting: http://10.0.0.190:8082/domain/0fcd04cf-7cae-44e6-8aa6-9255982429dc
2026-09-10 14:32:44,494 - DEBUG - Requesting: http://10.0.0.190:8082/project/8ebf6363-88d2-423e-8e0f-0ec511165859
2026-09-10 14:32:44,585 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1ff5b6d4-0c25-4d62-bb92-784093ae538d
2026-09-10 14:32:44,602 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1ff5b6d4-0c25-4d62-bb92-784093ae538d
2026-09-10 14:32:44,612 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/8f996aeb-6145-4411-9be6-bcf0cb62201b
2026-09-10 14:32:44,623 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/8f996aeb-6145-4411-9be6-bcf0cb62201b
2026-09-10 14:32:44,631 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/0aa714d3-7c5a-4d98-852a-83d80d069a79
2026-09-10 14:32:44,639 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-10 14:32:44,640 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1ff5b6d4-0c25-4d62-bb92-784093ae538d
2026-09-10 14:32:44,651 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/8f996aeb-6145-4411-9be6-bcf0cb62201b
2026-09-10 14:32:44,669 - INFO - Verified VN network id 12 for VN 1ff5b6d4-0c25-4d62-bb92-784093ae538d
2026-09-10 14:32:44,670 - INFO - Verifications in API Server for VN ctest-vn-68953541 passed
2026-09-10 14:32:44,670 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1ff5b6d4-0c25-4d62-bb92-784093ae538d
2026-09-10 14:32:44,685 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/8f996aeb-6145-4411-9be6-bcf0cb62201b
2026-09-10 14:32:44,694 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/8f996aeb-6145-4411-9be6-bcf0cb62201b
2026-09-10 14:32:44,703 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/0aa714d3-7c5a-4d98-852a-83d80d069a79
2026-09-10 14:32:44,718 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12721634:ctest-vn-68953541', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12721634', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2302947806322969954', 'uuid-lslong': '13515997650443195277'}, 'enable': 'true', 'created': '2026-09-10T14:32:42', 'last-modified': '2026-09-10T14:32:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.226210'}
2026-09-10 14:32:44,725 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-10 14:32:44,725 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68953541 passed
2026-09-10 14:32:44,725 - DEBUG - ====Verifying policy data for ctest-vn-68953541 in API_Server ======
2026-09-10 14:32:44,725 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-10 14:32:44,732 - DEBUG - Requesting: http://10.0.0.190:8082/domain/0fcd04cf-7cae-44e6-8aa6-9255982429dc
2026-09-10 14:32:44,745 - DEBUG - Requesting: http://10.0.0.190:8082/project/8ebf6363-88d2-423e-8e0f-0ec511165859
2026-09-10 14:32:44,828 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1ff5b6d4-0c25-4d62-bb92-784093ae538d
2026-09-10 14:32:44,837 - DEBUG - ==>Verifying data for policy with id: d5bcd0d0-cd61-484f-b757-3cd35a9b27fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-12721634', 'ctest-policy-allow-all-99802194']
2026-09-10 14:32:44,837 - INFO - VN ctest-vn-68953541 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-10 14:32:44,838 - DEBUG - Verifying the vn in opserver
2026-09-10 14:32:44,838 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12721634:ctest-vn-68953541 virtual network link through opserver 10.0.0.190
2026-09-10 14:32:44,838 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-09-10 14:32:45,156 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-09-10 14:32:45,210 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12721634:ctest-vn-68953541', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12721634:ctest-vn-68953541?flat'}
2026-09-10 14:32:45,210 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12721634:ctest-vn-68953541 is found in opserver
2026-09-10 14:32:45,222 - DEBUG - Do not have enough data to verify VN in agent
2026-09-10 14:32:45,227 - DEBUG - VRF ids for VN ctest-vn-68953541: {}
2026-09-10 14:32:45,227 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-10 14:32:45,234 - DEBUG - Requesting: http://10.0.0.190:8082/domain/0fcd04cf-7cae-44e6-8aa6-9255982429dc
2026-09-10 14:32:45,244 - DEBUG - Requesting: http://10.0.0.190:8082/project/8ebf6363-88d2-423e-8e0f-0ec511165859
2026-09-10 14:32:45,321 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/db173eaf-f785-4cae-aa0d-d3adbae56143
2026-09-10 14:32:45,336 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/db173eaf-f785-4cae-aa0d-d3adbae56143
2026-09-10 14:32:45,349 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/b1183130-27a1-42f5-9aec-c238e9fea721
2026-09-10 14:32:45,359 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/b1183130-27a1-42f5-9aec-c238e9fea721
2026-09-10 14:32:45,368 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/c191917b-ecdf-4c25-b9c5-428e69556f39
2026-09-10 14:32:45,376 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-10 14:32:45,376 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/db173eaf-f785-4cae-aa0d-d3adbae56143
2026-09-10 14:32:45,387 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/b1183130-27a1-42f5-9aec-c238e9fea721
2026-09-10 14:32:45,405 - INFO - Verified VN network id 13 for VN db173eaf-f785-4cae-aa0d-d3adbae56143
2026-09-10 14:32:45,405 - INFO - Verifications in API Server for VN ctest-vn-62664133 passed
2026-09-10 14:32:45,405 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/db173eaf-f785-4cae-aa0d-d3adbae56143
2026-09-10 14:32:45,417 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/b1183130-27a1-42f5-9aec-c238e9fea721
2026-09-10 14:32:45,426 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/b1183130-27a1-42f5-9aec-c238e9fea721
2026-09-10 14:32:45,434 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/c191917b-ecdf-4c25-b9c5-428e69556f39
2026-09-10 14:32:45,450 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12721634:ctest-vn-62664133', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12721634', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15787155944263470254', 'uuid-lslong': '12253682904263385411'}, 'enable': 'true', 'created': '2026-09-10T14:32:42', 'last-modified': '2026-09-10T14:32:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.611249'}
2026-09-10 14:32:45,459 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-10 14:32:45,459 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62664133 passed
2026-09-10 14:32:45,459 - DEBUG - ====Verifying policy data for ctest-vn-62664133 in API_Server ======
2026-09-10 14:32:45,459 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-10 14:32:45,466 - DEBUG - Requesting: http://10.0.0.190:8082/domain/0fcd04cf-7cae-44e6-8aa6-9255982429dc
2026-09-10 14:32:45,480 - DEBUG - Requesting: http://10.0.0.190:8082/project/8ebf6363-88d2-423e-8e0f-0ec511165859
2026-09-10 14:32:45,570 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/db173eaf-f785-4cae-aa0d-d3adbae56143
2026-09-10 14:32:45,581 - DEBUG - ==>Verifying data for policy with id: d5bcd0d0-cd61-484f-b757-3cd35a9b27fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-12721634', 'ctest-policy-allow-all-99802194']
2026-09-10 14:32:45,581 - INFO - VN ctest-vn-62664133 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-10 14:32:45,581 - DEBUG - Verifying the vn in opserver
2026-09-10 14:32:45,581 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12721634:ctest-vn-62664133 virtual network link through opserver 10.0.0.190
2026-09-10 14:32:45,581 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-09-10 14:32:45,593 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12721634:ctest-vn-62664133', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12721634:ctest-vn-62664133?flat'}
2026-09-10 14:32:45,593 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12721634:ctest-vn-62664133 is found in opserver
2026-09-10 14:32:45,607 - DEBUG - Do not have enough data to verify VN in agent
2026-09-10 14:32:45,613 - DEBUG - VRF ids for VN ctest-vn-62664133: {}
2026-09-10 14:32:45,687 - DEBUG - Services list from nova: [