2026-03-20 21:29:18,166 - INFO - Domain Default found not creating
2026-03-20 21:29:18,323 - INFO - Project ctest-TestBasicPolicy-21630104 not found, creating it
2026-03-20 21:29:18,759 - INFO - Created Project:ctest-TestBasicPolicy-21630104, ID : cdbdc51e-c35a-4638-8edb-16086c286c82
2026-03-20 21:29:20,388 - INFO - ================================================================================
2026-03-20 21:29:20,388 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-20 21:29:20,388 - 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-03-20 21:29:20,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2026-03-20 21:29:20,642 - INFO - Initial checks done. Running the testcase now
2026-03-20 21:29:20,642 - INFO -
2026-03-20 21:29:21,182 - DEBUG - Response for create_network : {'network': {'id': '6da599b4-d3ee-4c85-932a-8b71052c8070', 'name': 'ctest-vn-51075510', 'tenant_id': 'cdbdc51ec35a46388edb16086c286c82', 'project_id': 'cdbdc51ec35a46388edb16086c286c82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21630104', 'ctest-vn-51075510'], 'port_security_enabled': True, 'description': ''}}
2026-03-20 21:29:21,382 - DEBUG - Response for create_subnet : {'subnet': {'id': '13bbe506-6f73-4820-8d1e-de841d07b441', 'name': '', 'tenant_id': 'cdbdc51ec35a46388edb16086c286c82', 'network_id': '6da599b4-d3ee-4c85-932a-8b71052c8070', 'ip_version': 4, 'cidr': '107.84.245.192/26', 'allocation_pools': [{'start': '107.84.245.194', 'end': '107.84.245.254'}], 'gateway_ip': '107.84.245.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.84.245.194', 'tags': [], 'project_id': 'cdbdc51ec35a46388edb16086c286c82'}}
2026-03-20 21:29:21,399 - INFO - Created VN ctest-vn-51075510
2026-03-20 21:29:21,454 - DEBUG - VN ctest-vn-51075510 UUID is 6da599b4-d3ee-4c85-932a-8b71052c8070
2026-03-20 21:29:21,767 - DEBUG - Response for create_network : {'network': {'id': 'bdb9d9b2-8f18-48c4-af23-b7a3e1941dfb', 'name': 'ctest-vn-25545991', 'tenant_id': 'cdbdc51ec35a46388edb16086c286c82', 'project_id': 'cdbdc51ec35a46388edb16086c286c82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21630104', 'ctest-vn-25545991'], 'port_security_enabled': True, 'description': ''}}
2026-03-20 21:29:21,944 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c85d07c9-ce70-4558-9b58-6fcf6eaf5ac7', 'name': '', 'tenant_id': 'cdbdc51ec35a46388edb16086c286c82', 'network_id': 'bdb9d9b2-8f18-48c4-af23-b7a3e1941dfb', 'ip_version': 4, 'cidr': '159.178.248.128/26', 'allocation_pools': [{'start': '159.178.248.130', 'end': '159.178.248.190'}], 'gateway_ip': '159.178.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.178.248.130', 'tags': [], 'project_id': 'cdbdc51ec35a46388edb16086c286c82'}}
2026-03-20 21:29:21,960 - INFO - Created VN ctest-vn-25545991
2026-03-20 21:29:22,013 - DEBUG - VN ctest-vn-25545991 UUID is bdb9d9b2-8f18-48c4-af23-b7a3e1941dfb
2026-03-20 21:29:22,161 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21630104:ctest-vn-51075510, 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-21630104:ctest-vn-25545991, 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-03-20 21:29:22,456 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6da599b4-d3ee-4c85-932a-8b71052c8070', 'name': 'ctest-vn-51075510', 'tenant_id': 'cdbdc51ec35a46388edb16086c286c82', 'project_id': 'cdbdc51ec35a46388edb16086c286c82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['13bbe506-6f73-4820-8d1e-de841d07b441'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21630104', 'ctest-vn-51075510'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21630104', 'ctest-policy-allow-all-70445785']], 'subnet_ipam': [{'subnet_cidr': '107.84.245.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-20 21:29:22,667 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bdb9d9b2-8f18-48c4-af23-b7a3e1941dfb', 'name': 'ctest-vn-25545991', 'tenant_id': 'cdbdc51ec35a46388edb16086c286c82', 'project_id': 'cdbdc51ec35a46388edb16086c286c82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c85d07c9-ce70-4558-9b58-6fcf6eaf5ac7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21630104', 'ctest-vn-25545991'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21630104', 'ctest-policy-allow-all-70445785']], 'subnet_ipam': [{'subnet_cidr': '159.178.248.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-20 21:29:22,838 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-20 21:29:23,136 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-20 21:29:23,167 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7a80b980-4f91-4244-a737-349d09b8318e
2026-03-20 21:29:23,177 - DEBUG - Requesting: http://10.0.0.33:8082/project/cdbdc51e-c35a-4638-8edb-16086c286c82
2026-03-20 21:29:23,251 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6da599b4-d3ee-4c85-932a-8b71052c8070
2026-03-20 21:29:23,263 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6da599b4-d3ee-4c85-932a-8b71052c8070
2026-03-20 21:29:23,272 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/06a9c060-2dab-4d46-8db8-0b9334d93505
2026-03-20 21:29:23,278 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/06a9c060-2dab-4d46-8db8-0b9334d93505
2026-03-20 21:29:23,283 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/dfcd96e3-dd5e-4da7-8e35-10f2f349c475
2026-03-20 21:29:23,289 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-20 21:29:23,289 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6da599b4-d3ee-4c85-932a-8b71052c8070
2026-03-20 21:29:23,297 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/06a9c060-2dab-4d46-8db8-0b9334d93505
2026-03-20 21:29:23,311 - INFO - Verified VN network id 10 for VN 6da599b4-d3ee-4c85-932a-8b71052c8070
2026-03-20 21:29:23,311 - INFO - Verifications in API Server for VN ctest-vn-51075510 passed
2026-03-20 21:29:23,311 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6da599b4-d3ee-4c85-932a-8b71052c8070
2026-03-20 21:29:23,319 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/06a9c060-2dab-4d46-8db8-0b9334d93505
2026-03-20 21:29:23,325 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/06a9c060-2dab-4d46-8db8-0b9334d93505
2026-03-20 21:29:23,331 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/dfcd96e3-dd5e-4da7-8e35-10f2f349c475
2026-03-20 21:29:23,341 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21630104:ctest-vn-51075510', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21630104', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7900890123220176005', 'uuid-lslong': '10604441590131622000'}, 'enable': 'true', 'created': '2026-03-20T21:29:21', 'last-modified': '2026-03-20T21:29:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.912820'}
2026-03-20 21:29:23,346 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-20 21:29:23,346 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51075510 passed
2026-03-20 21:29:23,346 - DEBUG - ====Verifying policy data for ctest-vn-51075510 in API_Server ======
2026-03-20 21:29:23,346 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-20 21:29:23,350 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7a80b980-4f91-4244-a737-349d09b8318e
2026-03-20 21:29:23,359 - DEBUG - Requesting: http://10.0.0.33:8082/project/cdbdc51e-c35a-4638-8edb-16086c286c82
2026-03-20 21:29:23,428 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6da599b4-d3ee-4c85-932a-8b71052c8070
2026-03-20 21:29:23,436 - DEBUG - ==>Verifying data for policy with id: e6671248-0312-495b-99a6-97bd1d7b77cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-21630104', 'ctest-policy-allow-all-70445785']
2026-03-20 21:29:23,436 - INFO - VN ctest-vn-51075510 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-20 21:29:23,436 - DEBUG - Verifying the vn in opserver
2026-03-20 21:29:23,436 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21630104:ctest-vn-51075510 virtual network link through opserver 10.0.0.33
2026-03-20 21:29:23,436 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-20 21:29:23,728 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-20 21:29:23,797 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21630104:ctest-vn-51075510', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21630104:ctest-vn-51075510?flat'}
2026-03-20 21:29:23,797 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21630104:ctest-vn-51075510 is found in opserver
2026-03-20 21:29:23,806 - DEBUG - Do not have enough data to verify VN in agent
2026-03-20 21:29:23,811 - DEBUG - VRF ids for VN ctest-vn-51075510: {}
2026-03-20 21:29:23,811 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-20 21:29:23,816 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7a80b980-4f91-4244-a737-349d09b8318e
2026-03-20 21:29:23,828 - DEBUG - Requesting: http://10.0.0.33:8082/project/cdbdc51e-c35a-4638-8edb-16086c286c82
2026-03-20 21:29:23,896 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bdb9d9b2-8f18-48c4-af23-b7a3e1941dfb
2026-03-20 21:29:23,908 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bdb9d9b2-8f18-48c4-af23-b7a3e1941dfb
2026-03-20 21:29:23,916 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8572635c-74ee-4712-8ac6-19c51379c5a0
2026-03-20 21:29:23,923 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8572635c-74ee-4712-8ac6-19c51379c5a0
2026-03-20 21:29:23,929 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e1d8be6e-5ad7-405a-b6e6-1ac81bd41d85
2026-03-20 21:29:23,935 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-20 21:29:23,936 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bdb9d9b2-8f18-48c4-af23-b7a3e1941dfb
2026-03-20 21:29:23,943 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8572635c-74ee-4712-8ac6-19c51379c5a0
2026-03-20 21:29:23,957 - INFO - Verified VN network id 11 for VN bdb9d9b2-8f18-48c4-af23-b7a3e1941dfb
2026-03-20 21:29:23,957 - INFO - Verifications in API Server for VN ctest-vn-25545991 passed
2026-03-20 21:29:23,957 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bdb9d9b2-8f18-48c4-af23-b7a3e1941dfb
2026-03-20 21:29:23,965 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8572635c-74ee-4712-8ac6-19c51379c5a0
2026-03-20 21:29:23,971 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8572635c-74ee-4712-8ac6-19c51379c5a0
2026-03-20 21:29:23,978 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e1d8be6e-5ad7-405a-b6e6-1ac81bd41d85
2026-03-20 21:29:23,988 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21630104:ctest-vn-25545991', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21630104', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13671197504787990724', 'uuid-lslong': '12620132495314394619'}, 'enable': 'true', 'created': '2026-03-20T21:29:21', 'last-modified': '2026-03-20T21:29:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.337243'}
2026-03-20 21:29:23,995 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-20 21:29:23,995 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25545991 passed
2026-03-20 21:29:23,995 - DEBUG - ====Verifying policy data for ctest-vn-25545991 in API_Server ======
2026-03-20 21:29:23,995 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-20 21:29:24,001 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7a80b980-4f91-4244-a737-349d09b8318e
2026-03-20 21:29:24,011 - DEBUG - Requesting: http://10.0.0.33:8082/project/cdbdc51e-c35a-4638-8edb-16086c286c82
2026-03-20 21:29:24,084 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bdb9d9b2-8f18-48c4-af23-b7a3e1941dfb
2026-03-20 21:29:24,092 - DEBUG - ==>Verifying data for policy with id: e6671248-0312-495b-99a6-97bd1d7b77cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-21630104', 'ctest-policy-allow-all-70445785']
2026-03-20 21:29:24,092 - INFO - VN ctest-vn-25545991 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-20 21:29:24,092 - DEBUG - Verifying the vn in opserver
2026-03-20 21:29:24,092 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21630104:ctest-vn-25545991 virtual network link through opserver 10.0.0.33
2026-03-20 21:29:24,093 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-20 21:29:24,103 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21630104:ctest-vn-25545991', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21630104:ctest-vn-25545991?flat'}
2026-03-20 21:29:24,103 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21630104:ctest-vn-25545991 is found in opserver
2026-03-20 21:29:24,112 - DEBUG - Do not have enough data to verify VN in agent
2026-03-20 21:29:24,116 - DEBUG - VRF ids for VN ctest-vn-25545991: {}
2026-03-20 21:29:24,171 - DEBUG - Services list from nova: [