2026-09-09 10:33:21,854 - INFO - Domain Default found not creating
2026-09-09 10:33:22,053 - INFO - Project ctest-TestBasicPolicy-97078723 not found, creating it
2026-09-09 10:33:22,576 - INFO - Created Project:ctest-TestBasicPolicy-97078723, ID : e2c8361a-001c-4c7e-b9c9-96c771caaf77
2026-09-09 10:33:24,157 - INFO - ================================================================================
2026-09-09 10:33:24,157 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-09 10:33:24,157 - 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-09 10:33:24,432 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.17': '0'}} with
2026-09-09 10:33:24,432 - INFO - Initial checks done. Running the testcase now
2026-09-09 10:33:24,432 - INFO -
2026-09-09 10:33:25,396 - DEBUG - Response for create_network : {'network': {'id': 'cf7165d7-f83b-4ab2-834d-6968b48620a7', 'name': 'ctest-vn-66380124', 'tenant_id': 'e2c8361a001c4c7eb9c996c771caaf77', 'project_id': 'e2c8361a001c4c7eb9c996c771caaf77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97078723', 'ctest-vn-66380124'], 'port_security_enabled': True, 'description': ''}}
2026-09-09 10:33:25,593 - DEBUG - Response for create_subnet : {'subnet': {'id': '47c8d9ea-e10a-4f7a-b63f-a5eb726e2efe', 'name': '', 'tenant_id': 'e2c8361a001c4c7eb9c996c771caaf77', 'network_id': 'cf7165d7-f83b-4ab2-834d-6968b48620a7', 'ip_version': 4, 'cidr': '125.176.241.0/26', 'allocation_pools': [{'start': '125.176.241.2', 'end': '125.176.241.62'}], 'gateway_ip': '125.176.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.176.241.2', 'tags': [], 'project_id': 'e2c8361a001c4c7eb9c996c771caaf77'}}
2026-09-09 10:33:25,613 - INFO - Created VN ctest-vn-66380124
2026-09-09 10:33:25,667 - DEBUG - VN ctest-vn-66380124 UUID is cf7165d7-f83b-4ab2-834d-6968b48620a7
2026-09-09 10:33:25,993 - DEBUG - Response for create_network : {'network': {'id': 'f1e5bb13-4b3e-4525-a439-8ac4e9b85c9f', 'name': 'ctest-vn-05886041', 'tenant_id': 'e2c8361a001c4c7eb9c996c771caaf77', 'project_id': 'e2c8361a001c4c7eb9c996c771caaf77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97078723', 'ctest-vn-05886041'], 'port_security_enabled': True, 'description': ''}}
2026-09-09 10:33:26,232 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e862bc19-8756-43d5-a303-fb91572bf651', 'name': '', 'tenant_id': 'e2c8361a001c4c7eb9c996c771caaf77', 'network_id': 'f1e5bb13-4b3e-4525-a439-8ac4e9b85c9f', 'ip_version': 4, 'cidr': '37.132.67.64/26', 'allocation_pools': [{'start': '37.132.67.66', 'end': '37.132.67.126'}], 'gateway_ip': '37.132.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.132.67.66', 'tags': [], 'project_id': 'e2c8361a001c4c7eb9c996c771caaf77'}}
2026-09-09 10:33:26,250 - INFO - Created VN ctest-vn-05886041
2026-09-09 10:33:26,303 - DEBUG - VN ctest-vn-05886041 UUID is f1e5bb13-4b3e-4525-a439-8ac4e9b85c9f
2026-09-09 10:33:26,455 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97078723:ctest-vn-66380124, 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-97078723:ctest-vn-05886041, 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-09 10:33:26,778 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf7165d7-f83b-4ab2-834d-6968b48620a7', 'name': 'ctest-vn-66380124', 'tenant_id': 'e2c8361a001c4c7eb9c996c771caaf77', 'project_id': 'e2c8361a001c4c7eb9c996c771caaf77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['47c8d9ea-e10a-4f7a-b63f-a5eb726e2efe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97078723', 'ctest-vn-66380124'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97078723', 'ctest-policy-allow-all-41429837']], 'subnet_ipam': [{'subnet_cidr': '125.176.241.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-09 10:33:26,984 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f1e5bb13-4b3e-4525-a439-8ac4e9b85c9f', 'name': 'ctest-vn-05886041', 'tenant_id': 'e2c8361a001c4c7eb9c996c771caaf77', 'project_id': 'e2c8361a001c4c7eb9c996c771caaf77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e862bc19-8756-43d5-a303-fb91572bf651'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97078723', 'ctest-vn-05886041'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97078723', 'ctest-policy-allow-all-41429837']], 'subnet_ipam': [{'subnet_cidr': '37.132.67.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-09 10:33:27,152 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-09 10:33:27,472 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-09 10:33:27,500 - DEBUG - Requesting: http://10.0.0.248:8082/domain/3a10f71c-5833-4f2c-9d49-2349459ae864
2026-09-09 10:33:27,512 - DEBUG - Requesting: http://10.0.0.248:8082/project/e2c8361a-001c-4c7e-b9c9-96c771caaf77
2026-09-09 10:33:27,592 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cf7165d7-f83b-4ab2-834d-6968b48620a7
2026-09-09 10:33:27,604 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cf7165d7-f83b-4ab2-834d-6968b48620a7
2026-09-09 10:33:27,614 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/82637d54-be76-4c25-a1ea-c66cf2f1bad5
2026-09-09 10:33:27,622 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/82637d54-be76-4c25-a1ea-c66cf2f1bad5
2026-09-09 10:33:27,630 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/46f05e27-6139-4858-86ad-cae128a4a562
2026-09-09 10:33:27,637 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-09 10:33:27,637 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cf7165d7-f83b-4ab2-834d-6968b48620a7
2026-09-09 10:33:27,646 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/82637d54-be76-4c25-a1ea-c66cf2f1bad5
2026-09-09 10:33:27,663 - INFO - Verified VN network id 12 for VN cf7165d7-f83b-4ab2-834d-6968b48620a7
2026-09-09 10:33:27,663 - INFO - Verifications in API Server for VN ctest-vn-66380124 passed
2026-09-09 10:33:27,663 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cf7165d7-f83b-4ab2-834d-6968b48620a7
2026-09-09 10:33:27,672 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/82637d54-be76-4c25-a1ea-c66cf2f1bad5
2026-09-09 10:33:27,679 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/82637d54-be76-4c25-a1ea-c66cf2f1bad5
2026-09-09 10:33:27,688 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/46f05e27-6139-4858-86ad-cae128a4a562
2026-09-09 10:33:27,702 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97078723:ctest-vn-66380124', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97078723', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14947840616476396210', 'uuid-lslong': '9461334290601484455'}, 'enable': 'true', 'created': '2026-09-09T10:33:25', 'last-modified': '2026-09-09T10:33:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953951'}
2026-09-09 10:33:27,709 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-09 10:33:27,709 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66380124 passed
2026-09-09 10:33:27,710 - DEBUG - ====Verifying policy data for ctest-vn-66380124 in API_Server ======
2026-09-09 10:33:27,710 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-09 10:33:27,715 - DEBUG - Requesting: http://10.0.0.248:8082/domain/3a10f71c-5833-4f2c-9d49-2349459ae864
2026-09-09 10:33:27,727 - DEBUG - Requesting: http://10.0.0.248:8082/project/e2c8361a-001c-4c7e-b9c9-96c771caaf77
2026-09-09 10:33:27,819 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cf7165d7-f83b-4ab2-834d-6968b48620a7
2026-09-09 10:33:27,830 - DEBUG - ==>Verifying data for policy with id: 8e31b9e6-351f-4572-a60b-20e8f246e883, fqn: ['default-domain', 'ctest-TestBasicPolicy-97078723', 'ctest-policy-allow-all-41429837']
2026-09-09 10:33:27,830 - INFO - VN ctest-vn-66380124 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-09 10:33:27,830 - DEBUG - Verifying the vn in opserver
2026-09-09 10:33:27,830 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97078723:ctest-vn-66380124 virtual network link through opserver 10.0.0.248
2026-09-09 10:33:27,830 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-09-09 10:33:28,162 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-09-09 10:33:28,209 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97078723:ctest-vn-66380124', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97078723:ctest-vn-66380124?flat'}
2026-09-09 10:33:28,209 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97078723:ctest-vn-66380124 is found in opserver
2026-09-09 10:33:28,219 - DEBUG - Do not have enough data to verify VN in agent
2026-09-09 10:33:28,224 - DEBUG - VRF ids for VN ctest-vn-66380124: {}
2026-09-09 10:33:28,224 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-09 10:33:28,229 - DEBUG - Requesting: http://10.0.0.248:8082/domain/3a10f71c-5833-4f2c-9d49-2349459ae864
2026-09-09 10:33:28,240 - DEBUG - Requesting: http://10.0.0.248:8082/project/e2c8361a-001c-4c7e-b9c9-96c771caaf77
2026-09-09 10:33:28,324 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/f1e5bb13-4b3e-4525-a439-8ac4e9b85c9f
2026-09-09 10:33:28,337 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/f1e5bb13-4b3e-4525-a439-8ac4e9b85c9f
2026-09-09 10:33:28,348 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/bab18021-a38c-4c0b-8ee8-e57f2d712a60
2026-09-09 10:33:28,356 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/bab18021-a38c-4c0b-8ee8-e57f2d712a60
2026-09-09 10:33:28,363 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/1a3583dd-92e4-486a-8922-ca46bc976a1e
2026-09-09 10:33:28,369 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-09 10:33:28,370 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/f1e5bb13-4b3e-4525-a439-8ac4e9b85c9f
2026-09-09 10:33:28,378 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/bab18021-a38c-4c0b-8ee8-e57f2d712a60
2026-09-09 10:33:28,394 - INFO - Verified VN network id 13 for VN f1e5bb13-4b3e-4525-a439-8ac4e9b85c9f
2026-09-09 10:33:28,394 - INFO - Verifications in API Server for VN ctest-vn-05886041 passed
2026-09-09 10:33:28,394 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/f1e5bb13-4b3e-4525-a439-8ac4e9b85c9f
2026-09-09 10:33:28,404 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/bab18021-a38c-4c0b-8ee8-e57f2d712a60
2026-09-09 10:33:28,411 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/bab18021-a38c-4c0b-8ee8-e57f2d712a60
2026-09-09 10:33:28,419 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/1a3583dd-92e4-486a-8922-ca46bc976a1e
2026-09-09 10:33:28,433 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97078723:ctest-vn-05886041', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97078723', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17430543624348517669', 'uuid-lslong': '11833642074232085663'}, 'enable': 'true', 'created': '2026-09-09T10:33:25', 'last-modified': '2026-09-09T10:33:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.472090'}
2026-09-09 10:33:28,440 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-09 10:33:28,440 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05886041 passed
2026-09-09 10:33:28,440 - DEBUG - ====Verifying policy data for ctest-vn-05886041 in API_Server ======
2026-09-09 10:33:28,440 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-09 10:33:28,446 - DEBUG - Requesting: http://10.0.0.248:8082/domain/3a10f71c-5833-4f2c-9d49-2349459ae864
2026-09-09 10:33:28,456 - DEBUG - Requesting: http://10.0.0.248:8082/project/e2c8361a-001c-4c7e-b9c9-96c771caaf77
2026-09-09 10:33:28,526 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/f1e5bb13-4b3e-4525-a439-8ac4e9b85c9f
2026-09-09 10:33:28,536 - DEBUG - ==>Verifying data for policy with id: 8e31b9e6-351f-4572-a60b-20e8f246e883, fqn: ['default-domain', 'ctest-TestBasicPolicy-97078723', 'ctest-policy-allow-all-41429837']
2026-09-09 10:33:28,536 - INFO - VN ctest-vn-05886041 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-09 10:33:28,536 - DEBUG - Verifying the vn in opserver
2026-09-09 10:33:28,536 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97078723:ctest-vn-05886041 virtual network link through opserver 10.0.0.248
2026-09-09 10:33:28,536 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-09-09 10:33:28,546 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97078723:ctest-vn-05886041', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97078723:ctest-vn-05886041?flat'}
2026-09-09 10:33:28,546 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97078723:ctest-vn-05886041 is found in opserver
2026-09-09 10:33:28,557 - DEBUG - Do not have enough data to verify VN in agent
2026-09-09 10:33:28,563 - DEBUG - VRF ids for VN ctest-vn-05886041: {}
2026-09-09 10:33:28,618 - DEBUG - Services list from nova: [