2026-09-17 12:21:52,229 - INFO - Domain Default found not creating
2026-09-17 12:21:52,435 - INFO - Project ctest-TestBasicPolicy-92092124 not found, creating it
2026-09-17 12:21:52,974 - INFO - Created Project:ctest-TestBasicPolicy-92092124, ID : af254b63-c80f-4a5c-8b18-0132959599d4
2026-09-17 12:21:54,684 - INFO - ================================================================================
2026-09-17 12:21:54,684 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-17 12:21:54,685 - 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-17 12:21:54,959 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.25': '0'}} with
2026-09-17 12:21:54,959 - INFO - Initial checks done. Running the testcase now
2026-09-17 12:21:54,959 - INFO -
2026-09-17 12:21:55,636 - DEBUG - Response for create_network : {'network': {'id': '5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3', 'name': 'ctest-vn-53735804', 'tenant_id': 'af254b63c80f4a5c8b180132959599d4', 'project_id': 'af254b63c80f4a5c8b180132959599d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-vn-53735804'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 12:21:55,820 - DEBUG - Response for create_subnet : {'subnet': {'id': '81074fdd-78ca-4f50-a6f8-5d8d471e83ed', 'name': '', 'tenant_id': 'af254b63c80f4a5c8b180132959599d4', 'network_id': '5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3', 'ip_version': 4, 'cidr': '160.49.215.64/26', 'allocation_pools': [{'start': '160.49.215.66', 'end': '160.49.215.126'}], 'gateway_ip': '160.49.215.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.49.215.66', 'tags': [], 'project_id': 'af254b63c80f4a5c8b180132959599d4'}}
2026-09-17 12:21:55,840 - INFO - Created VN ctest-vn-53735804
2026-09-17 12:21:55,894 - DEBUG - VN ctest-vn-53735804 UUID is 5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3
2026-09-17 12:21:56,235 - DEBUG - Response for create_network : {'network': {'id': '30306665-d3b4-47fb-8e49-103ebdfc7d8c', 'name': 'ctest-vn-56132690', 'tenant_id': 'af254b63c80f4a5c8b180132959599d4', 'project_id': 'af254b63c80f4a5c8b180132959599d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-vn-56132690'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 12:21:56,498 - DEBUG - Response for create_subnet : {'subnet': {'id': '99bee93d-ef1f-42c6-a237-3dffa1741421', 'name': '', 'tenant_id': 'af254b63c80f4a5c8b180132959599d4', 'network_id': '30306665-d3b4-47fb-8e49-103ebdfc7d8c', 'ip_version': 4, 'cidr': '69.125.142.64/26', 'allocation_pools': [{'start': '69.125.142.66', 'end': '69.125.142.126'}], 'gateway_ip': '69.125.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.125.142.66', 'tags': [], 'project_id': 'af254b63c80f4a5c8b180132959599d4'}}
2026-09-17 12:21:56,519 - INFO - Created VN ctest-vn-56132690
2026-09-17 12:21:56,574 - DEBUG - VN ctest-vn-56132690 UUID is 30306665-d3b4-47fb-8e49-103ebdfc7d8c
2026-09-17 12:21:56,693 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-53735804, 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-92092124:ctest-vn-56132690, 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-17 12:21:57,028 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3', 'name': 'ctest-vn-53735804', 'tenant_id': 'af254b63c80f4a5c8b180132959599d4', 'project_id': 'af254b63c80f4a5c8b180132959599d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['81074fdd-78ca-4f50-a6f8-5d8d471e83ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-vn-53735804'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-policy-allow-all-74753166']], 'subnet_ipam': [{'subnet_cidr': '160.49.215.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 12:21:57,284 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '30306665-d3b4-47fb-8e49-103ebdfc7d8c', 'name': 'ctest-vn-56132690', 'tenant_id': 'af254b63c80f4a5c8b180132959599d4', 'project_id': 'af254b63c80f4a5c8b180132959599d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['99bee93d-ef1f-42c6-a237-3dffa1741421'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-vn-56132690'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-policy-allow-all-74753166']], 'subnet_ipam': [{'subnet_cidr': '69.125.142.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 12:21:57,454 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-09-17 12:21:57,831 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-09-17 12:21:57,862 - DEBUG - Requesting: http://10.0.0.162:8082/domain/04f536e6-4b90-464f-b1df-25f223f28136
2026-09-17 12:21:57,876 - DEBUG - Requesting: http://10.0.0.162:8082/project/af254b63-c80f-4a5c-8b18-0132959599d4
2026-09-17 12:21:57,960 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3
2026-09-17 12:21:57,973 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3
2026-09-17 12:21:57,983 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2448ddbf-e656-4cac-b962-32825d1cd011
2026-09-17 12:21:57,991 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2448ddbf-e656-4cac-b962-32825d1cd011
2026-09-17 12:21:57,998 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/2c65e0ba-5c29-42a0-8e83-1675792370f2
2026-09-17 12:21:58,004 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 12:21:58,004 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3
2026-09-17 12:21:58,015 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2448ddbf-e656-4cac-b962-32825d1cd011
2026-09-17 12:21:58,028 - INFO - Verified VN network id 12 for VN 5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3
2026-09-17 12:21:58,029 - INFO - Verifications in API Server for VN ctest-vn-53735804 passed
2026-09-17 12:21:58,029 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3
2026-09-17 12:21:58,038 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2448ddbf-e656-4cac-b962-32825d1cd011
2026-09-17 12:21:58,046 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/2448ddbf-e656-4cac-b962-32825d1cd011
2026-09-17 12:21:58,055 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/2c65e0ba-5c29-42a0-8e83-1675792370f2
2026-09-17 12:21:58,070 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-53735804', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92092124', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6874584358042943836', 'uuid-lslong': '13668239996993808051'}, 'enable': 'true', 'created': '2026-09-17T12:21:55', 'last-modified': '2026-09-17T12:21:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.062904'}
2026-09-17 12:21:58,077 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 12:21:58,077 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53735804 passed
2026-09-17 12:21:58,077 - DEBUG - ====Verifying policy data for ctest-vn-53735804 in API_Server ======
2026-09-17 12:21:58,078 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-09-17 12:21:58,086 - DEBUG - Requesting: http://10.0.0.162:8082/domain/04f536e6-4b90-464f-b1df-25f223f28136
2026-09-17 12:21:58,098 - DEBUG - Requesting: http://10.0.0.162:8082/project/af254b63-c80f-4a5c-8b18-0132959599d4
2026-09-17 12:21:58,186 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/5f676e0c-ef9b-415c-bdaf-57dc1d9a26b3
2026-09-17 12:21:58,200 - DEBUG - ==>Verifying data for policy with id: b54d7c42-0938-4565-b599-23df88b2760a, fqn: ['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-policy-allow-all-74753166']
2026-09-17 12:21:58,200 - INFO - VN ctest-vn-53735804 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 12:21:58,200 - DEBUG - Verifying the vn in opserver
2026-09-17 12:21:58,200 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-53735804 virtual network link through opserver 10.0.0.162
2026-09-17 12:21:58,201 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-09-17 12:21:58,574 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-09-17 12:21:58,638 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-53735804', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-53735804?flat'}
2026-09-17 12:21:58,638 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-53735804 is found in opserver
2026-09-17 12:21:58,649 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 12:21:58,654 - DEBUG - VRF ids for VN ctest-vn-53735804: {}
2026-09-17 12:21:58,654 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-09-17 12:21:58,660 - DEBUG - Requesting: http://10.0.0.162:8082/domain/04f536e6-4b90-464f-b1df-25f223f28136
2026-09-17 12:21:58,671 - DEBUG - Requesting: http://10.0.0.162:8082/project/af254b63-c80f-4a5c-8b18-0132959599d4
2026-09-17 12:21:58,748 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/30306665-d3b4-47fb-8e49-103ebdfc7d8c
2026-09-17 12:21:58,762 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/30306665-d3b4-47fb-8e49-103ebdfc7d8c
2026-09-17 12:21:58,773 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/02670b64-e40a-4086-9d90-9915beb19722
2026-09-17 12:21:58,781 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/02670b64-e40a-4086-9d90-9915beb19722
2026-09-17 12:21:58,788 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/68644b44-7acf-4ec4-9d91-7820bba85556
2026-09-17 12:21:58,795 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 12:21:58,795 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/30306665-d3b4-47fb-8e49-103ebdfc7d8c
2026-09-17 12:21:58,805 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/02670b64-e40a-4086-9d90-9915beb19722
2026-09-17 12:21:58,821 - INFO - Verified VN network id 13 for VN 30306665-d3b4-47fb-8e49-103ebdfc7d8c
2026-09-17 12:21:58,822 - INFO - Verifications in API Server for VN ctest-vn-56132690 passed
2026-09-17 12:21:58,822 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/30306665-d3b4-47fb-8e49-103ebdfc7d8c
2026-09-17 12:21:58,832 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/02670b64-e40a-4086-9d90-9915beb19722
2026-09-17 12:21:58,840 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/02670b64-e40a-4086-9d90-9915beb19722
2026-09-17 12:21:58,847 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/68644b44-7acf-4ec4-9d91-7820bba85556
2026-09-17 12:21:58,860 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-56132690', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92092124', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3472387900232189947', 'uuid-lslong': '10252743888347102604'}, 'enable': 'true', 'created': '2026-09-17T12:21:56', 'last-modified': '2026-09-17T12:21:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.611785'}
2026-09-17 12:21:58,869 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 12:21:58,869 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56132690 passed
2026-09-17 12:21:58,869 - DEBUG - ====Verifying policy data for ctest-vn-56132690 in API_Server ======
2026-09-17 12:21:58,869 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-09-17 12:21:58,876 - DEBUG - Requesting: http://10.0.0.162:8082/domain/04f536e6-4b90-464f-b1df-25f223f28136
2026-09-17 12:21:58,890 - DEBUG - Requesting: http://10.0.0.162:8082/project/af254b63-c80f-4a5c-8b18-0132959599d4
2026-09-17 12:21:58,973 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/30306665-d3b4-47fb-8e49-103ebdfc7d8c
2026-09-17 12:21:58,986 - DEBUG - ==>Verifying data for policy with id: b54d7c42-0938-4565-b599-23df88b2760a, fqn: ['default-domain', 'ctest-TestBasicPolicy-92092124', 'ctest-policy-allow-all-74753166']
2026-09-17 12:21:58,986 - INFO - VN ctest-vn-56132690 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 12:21:58,986 - DEBUG - Verifying the vn in opserver
2026-09-17 12:21:58,986 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-56132690 virtual network link through opserver 10.0.0.162
2026-09-17 12:21:58,986 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-09-17 12:21:58,999 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-56132690', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-56132690?flat'}
2026-09-17 12:21:58,999 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92092124:ctest-vn-56132690 is found in opserver
2026-09-17 12:21:59,013 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 12:21:59,020 - DEBUG - VRF ids for VN ctest-vn-56132690: {}
2026-09-17 12:21:59,102 - DEBUG - Services list from nova: [