2026-10-07 10:01:14,097 - INFO - Domain Default found not creating
2026-10-07 10:01:14,260 - INFO - Project ctest-TestBasicPolicy-62683023 not found, creating it
2026-10-07 10:01:14,735 - INFO - Created Project:ctest-TestBasicPolicy-62683023, ID : fa2e3e0a-e060-4ec9-b572-66cfc39fa099
2026-10-07 10:01:16,371 - INFO - ================================================================================
2026-10-07 10:01:16,372 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-07 10:01:16,372 - 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-10-07 10:01:16,639 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with
2026-10-07 10:01:16,639 - INFO - Initial checks done. Running the testcase now
2026-10-07 10:01:16,639 - INFO -
2026-10-07 10:01:17,252 - DEBUG - Response for create_network : {'network': {'id': '41626dd3-b96e-4032-971b-703c2666cbe1', 'name': 'ctest-vn-63120150', 'tenant_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'project_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-vn-63120150'], 'port_security_enabled': True, 'description': ''}}
2026-10-07 10:01:17,448 - DEBUG - Response for create_subnet : {'subnet': {'id': '07d2e8c7-95ff-4043-a4a7-53ba3dc6bd22', 'name': '', 'tenant_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'network_id': '41626dd3-b96e-4032-971b-703c2666cbe1', 'ip_version': 4, 'cidr': '18.146.195.192/26', 'allocation_pools': [{'start': '18.146.195.194', 'end': '18.146.195.254'}], 'gateway_ip': '18.146.195.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.146.195.194', 'tags': [], 'project_id': 'fa2e3e0ae0604ec9b57266cfc39fa099'}}
2026-10-07 10:01:17,468 - INFO - Created VN ctest-vn-63120150
2026-10-07 10:01:17,518 - DEBUG - VN ctest-vn-63120150 UUID is 41626dd3-b96e-4032-971b-703c2666cbe1
2026-10-07 10:01:17,806 - DEBUG - Response for create_network : {'network': {'id': '36531ca8-cc11-4d30-9330-9b31b151caa1', 'name': 'ctest-vn-58269057', 'tenant_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'project_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-vn-58269057'], 'port_security_enabled': True, 'description': ''}}
2026-10-07 10:01:18,022 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e124875-d3ab-479f-8a35-bc26e2579349', 'name': '', 'tenant_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'network_id': '36531ca8-cc11-4d30-9330-9b31b151caa1', 'ip_version': 4, 'cidr': '16.163.131.64/26', 'allocation_pools': [{'start': '16.163.131.66', 'end': '16.163.131.126'}], 'gateway_ip': '16.163.131.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.163.131.66', 'tags': [], 'project_id': 'fa2e3e0ae0604ec9b57266cfc39fa099'}}
2026-10-07 10:01:18,037 - INFO - Created VN ctest-vn-58269057
2026-10-07 10:01:18,090 - DEBUG - VN ctest-vn-58269057 UUID is 36531ca8-cc11-4d30-9330-9b31b151caa1
2026-10-07 10:01:18,238 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-63120150, 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-62683023:ctest-vn-58269057, 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-10-07 10:01:18,531 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41626dd3-b96e-4032-971b-703c2666cbe1', 'name': 'ctest-vn-63120150', 'tenant_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'project_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['07d2e8c7-95ff-4043-a4a7-53ba3dc6bd22'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-vn-63120150'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-policy-allow-all-57942943']], 'subnet_ipam': [{'subnet_cidr': '18.146.195.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-07 10:01:18,771 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '36531ca8-cc11-4d30-9330-9b31b151caa1', 'name': 'ctest-vn-58269057', 'tenant_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'project_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['4e124875-d3ab-479f-8a35-bc26e2579349'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-vn-58269057'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-policy-allow-all-57942943']], 'subnet_ipam': [{'subnet_cidr': '16.163.131.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-07 10:01:18,938 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-07 10:01:19,301 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-07 10:01:19,331 - DEBUG - Requesting: http://10.0.0.161:8082/domain/8dcc81db-16b0-4b25-b383-367acd7e1de7
2026-10-07 10:01:19,344 - DEBUG - Requesting: http://10.0.0.161:8082/project/fa2e3e0a-e060-4ec9-b572-66cfc39fa099
2026-10-07 10:01:19,416 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/41626dd3-b96e-4032-971b-703c2666cbe1
2026-10-07 10:01:19,426 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/41626dd3-b96e-4032-971b-703c2666cbe1
2026-10-07 10:01:19,435 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6652a960-701c-412f-9576-55feb25cd8da
2026-10-07 10:01:19,442 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6652a960-701c-412f-9576-55feb25cd8da
2026-10-07 10:01:19,450 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/c2a1e580-b125-4b4e-aad7-71bd0477cc3b
2026-10-07 10:01:19,456 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-07 10:01:19,457 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/41626dd3-b96e-4032-971b-703c2666cbe1
2026-10-07 10:01:19,466 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6652a960-701c-412f-9576-55feb25cd8da
2026-10-07 10:01:19,479 - INFO - Verified VN network id 11 for VN 41626dd3-b96e-4032-971b-703c2666cbe1
2026-10-07 10:01:19,479 - INFO - Verifications in API Server for VN ctest-vn-63120150 passed
2026-10-07 10:01:19,479 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/41626dd3-b96e-4032-971b-703c2666cbe1
2026-10-07 10:01:19,487 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6652a960-701c-412f-9576-55feb25cd8da
2026-10-07 10:01:19,493 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6652a960-701c-412f-9576-55feb25cd8da
2026-10-07 10:01:19,500 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/c2a1e580-b125-4b4e-aad7-71bd0477cc3b
2026-10-07 10:01:19,512 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-63120150', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62683023', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4711448916299497522', 'uuid-lslong': '10888419927742925793'}, 'enable': 'true', 'created': '2026-10-07T10:01:17', 'last-modified': '2026-10-07T10:01:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005272'}
2026-10-07 10:01:19,518 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-07 10:01:19,518 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63120150 passed
2026-10-07 10:01:19,518 - DEBUG - ====Verifying policy data for ctest-vn-63120150 in API_Server ======
2026-10-07 10:01:19,518 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-07 10:01:19,523 - DEBUG - Requesting: http://10.0.0.161:8082/domain/8dcc81db-16b0-4b25-b383-367acd7e1de7
2026-10-07 10:01:19,534 - DEBUG - Requesting: http://10.0.0.161:8082/project/fa2e3e0a-e060-4ec9-b572-66cfc39fa099
2026-10-07 10:01:19,613 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/41626dd3-b96e-4032-971b-703c2666cbe1
2026-10-07 10:01:19,623 - DEBUG - ==>Verifying data for policy with id: 3ef65c81-f3b1-45ec-9131-b066e99eb0b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-policy-allow-all-57942943']
2026-10-07 10:01:19,623 - INFO - VN ctest-vn-63120150 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-07 10:01:19,623 - DEBUG - Verifying the vn in opserver
2026-10-07 10:01:19,623 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-63120150 virtual network link through opserver 10.0.0.161
2026-10-07 10:01:19,623 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-07 10:01:19,985 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-07 10:01:20,036 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-63120150', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-63120150?flat'}
2026-10-07 10:01:20,036 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-63120150 is found in opserver
2026-10-07 10:01:20,048 - DEBUG - Do not have enough data to verify VN in agent
2026-10-07 10:01:20,052 - DEBUG - VRF ids for VN ctest-vn-63120150: {}
2026-10-07 10:01:20,053 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-07 10:01:20,058 - DEBUG - Requesting: http://10.0.0.161:8082/domain/8dcc81db-16b0-4b25-b383-367acd7e1de7
2026-10-07 10:01:20,068 - DEBUG - Requesting: http://10.0.0.161:8082/project/fa2e3e0a-e060-4ec9-b572-66cfc39fa099
2026-10-07 10:01:20,143 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36531ca8-cc11-4d30-9330-9b31b151caa1
2026-10-07 10:01:20,155 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36531ca8-cc11-4d30-9330-9b31b151caa1
2026-10-07 10:01:20,165 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6fc0b963-cb8f-4c82-a57a-7911a46509b6
2026-10-07 10:01:20,172 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6fc0b963-cb8f-4c82-a57a-7911a46509b6
2026-10-07 10:01:20,179 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/8ac35942-f89b-4ef9-9ab8-0cf4ffd39c4b
2026-10-07 10:01:20,185 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-07 10:01:20,185 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36531ca8-cc11-4d30-9330-9b31b151caa1
2026-10-07 10:01:20,195 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6fc0b963-cb8f-4c82-a57a-7911a46509b6
2026-10-07 10:01:20,210 - INFO - Verified VN network id 12 for VN 36531ca8-cc11-4d30-9330-9b31b151caa1
2026-10-07 10:01:20,210 - INFO - Verifications in API Server for VN ctest-vn-58269057 passed
2026-10-07 10:01:20,210 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36531ca8-cc11-4d30-9330-9b31b151caa1
2026-10-07 10:01:20,221 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6fc0b963-cb8f-4c82-a57a-7911a46509b6
2026-10-07 10:01:20,228 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6fc0b963-cb8f-4c82-a57a-7911a46509b6
2026-10-07 10:01:20,235 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/8ac35942-f89b-4ef9-9ab8-0cf4ffd39c4b
2026-10-07 10:01:20,248 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-58269057', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62683023', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3914504012418862384', 'uuid-lslong': '10606147760188148385'}, 'enable': 'true', 'created': '2026-10-07T10:01:17', 'last-modified': '2026-10-07T10:01:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.508339'}
2026-10-07 10:01:20,254 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-07 10:01:20,254 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58269057 passed
2026-10-07 10:01:20,254 - DEBUG - ====Verifying policy data for ctest-vn-58269057 in API_Server ======
2026-10-07 10:01:20,254 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-07 10:01:20,259 - DEBUG - Requesting: http://10.0.0.161:8082/domain/8dcc81db-16b0-4b25-b383-367acd7e1de7
2026-10-07 10:01:20,272 - DEBUG - Requesting: http://10.0.0.161:8082/project/fa2e3e0a-e060-4ec9-b572-66cfc39fa099
2026-10-07 10:01:20,341 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36531ca8-cc11-4d30-9330-9b31b151caa1
2026-10-07 10:01:20,351 - DEBUG - ==>Verifying data for policy with id: 3ef65c81-f3b1-45ec-9131-b066e99eb0b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-policy-allow-all-57942943']
2026-10-07 10:01:20,351 - INFO - VN ctest-vn-58269057 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-07 10:01:20,352 - DEBUG - Verifying the vn in opserver
2026-10-07 10:01:20,352 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-58269057 virtual network link through opserver 10.0.0.161
2026-10-07 10:01:20,352 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-07 10:01:20,361 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-58269057', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-58269057?flat'}
2026-10-07 10:01:20,362 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-58269057 is found in opserver
2026-10-07 10:01:20,373 - DEBUG - Do not have enough data to verify VN in agent
2026-10-07 10:01:20,378 - DEBUG - VRF ids for VN ctest-vn-58269057: {}
2026-10-07 10:01:20,439 - DEBUG - Services list from nova: [