2026-02-10 15:13:11,756 - INFO - Domain Default found not creating
2026-02-10 15:13:12,111 - INFO - Project ctest-TestBasicPolicy-00823261 not found, creating it
2026-02-10 15:13:12,748 - INFO - Created Project:ctest-TestBasicPolicy-00823261, ID : 17ab0e5b-166a-43a5-bdff-18dd6c563dc3
2026-02-10 15:13:15,034 - INFO - ================================================================================
2026-02-10 15:13:15,034 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 15:13:15,034 - 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-02-10 15:13:15,379 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.193': '0'}} with
2026-02-10 15:13:15,379 - INFO - Initial checks done. Running the testcase now
2026-02-10 15:13:15,380 - INFO -
2026-02-10 15:13:16,053 - DEBUG - Response for create_network : {'network': {'id': 'ce972251-d687-4fc0-a2a1-bdd3335eed68', 'name': 'ctest-vn-96979023', 'tenant_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'project_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-vn-96979023'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 15:13:16,276 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6789c6d-ccbb-4cb2-995a-666ed2393a6f', 'name': '', 'tenant_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'network_id': 'ce972251-d687-4fc0-a2a1-bdd3335eed68', 'ip_version': 4, 'cidr': '197.250.241.64/26', 'allocation_pools': [{'start': '197.250.241.66', 'end': '197.250.241.126'}], 'gateway_ip': '197.250.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.250.241.66', 'tags': [], 'project_id': '17ab0e5b166a43a5bdff18dd6c563dc3'}}
2026-02-10 15:13:16,301 - INFO - Created VN ctest-vn-96979023
2026-02-10 15:13:16,363 - DEBUG - VN ctest-vn-96979023 UUID is ce972251-d687-4fc0-a2a1-bdd3335eed68
2026-02-10 15:13:16,781 - DEBUG - Response for create_network : {'network': {'id': '74872e08-6d92-4667-99ca-44f3e950de09', 'name': 'ctest-vn-91849757', 'tenant_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'project_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-vn-91849757'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 15:13:16,987 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0bbef33-4f60-4332-848a-685f9d7100d3', 'name': '', 'tenant_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'network_id': '74872e08-6d92-4667-99ca-44f3e950de09', 'ip_version': 4, 'cidr': '101.107.121.128/26', 'allocation_pools': [{'start': '101.107.121.130', 'end': '101.107.121.190'}], 'gateway_ip': '101.107.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.107.121.130', 'tags': [], 'project_id': '17ab0e5b166a43a5bdff18dd6c563dc3'}}
2026-02-10 15:13:17,011 - INFO - Created VN ctest-vn-91849757
2026-02-10 15:13:17,066 - DEBUG - VN ctest-vn-91849757 UUID is 74872e08-6d92-4667-99ca-44f3e950de09
2026-02-10 15:13:17,267 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-96979023, 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-00823261:ctest-vn-91849757, 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-02-10 15:13:17,744 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce972251-d687-4fc0-a2a1-bdd3335eed68', 'name': 'ctest-vn-96979023', 'tenant_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'project_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d6789c6d-ccbb-4cb2-995a-666ed2393a6f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-vn-96979023'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-policy-allow-all-61559305']], 'subnet_ipam': [{'subnet_cidr': '197.250.241.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 15:13:18,151 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '74872e08-6d92-4667-99ca-44f3e950de09', 'name': 'ctest-vn-91849757', 'tenant_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'project_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0bbef33-4f60-4332-848a-685f9d7100d3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-vn-91849757'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-policy-allow-all-61559305']], 'subnet_ipam': [{'subnet_cidr': '101.107.121.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 15:13:18,314 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 15:13:18,624 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 15:13:18,665 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1cedc77e-92f8-4759-9059-9ef38beabb66
2026-02-10 15:13:18,692 - DEBUG - Requesting: http://10.0.0.33:8082/project/17ab0e5b-166a-43a5-bdff-18dd6c563dc3
2026-02-10 15:13:18,784 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ce972251-d687-4fc0-a2a1-bdd3335eed68
2026-02-10 15:13:18,799 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ce972251-d687-4fc0-a2a1-bdd3335eed68
2026-02-10 15:13:18,820 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6c6eea18-1488-4cb7-9e52-33546cff55d9
2026-02-10 15:13:18,837 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6c6eea18-1488-4cb7-9e52-33546cff55d9
2026-02-10 15:13:18,850 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/cb815f67-f5a4-4dad-b9ce-f8397f4c6d9d
2026-02-10 15:13:18,861 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 15:13:18,861 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ce972251-d687-4fc0-a2a1-bdd3335eed68
2026-02-10 15:13:18,878 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6c6eea18-1488-4cb7-9e52-33546cff55d9
2026-02-10 15:13:18,899 - INFO - Verified VN network id 11 for VN ce972251-d687-4fc0-a2a1-bdd3335eed68
2026-02-10 15:13:18,899 - INFO - Verifications in API Server for VN ctest-vn-96979023 passed
2026-02-10 15:13:18,899 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ce972251-d687-4fc0-a2a1-bdd3335eed68
2026-02-10 15:13:18,915 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6c6eea18-1488-4cb7-9e52-33546cff55d9
2026-02-10 15:13:18,925 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6c6eea18-1488-4cb7-9e52-33546cff55d9
2026-02-10 15:13:18,939 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/cb815f67-f5a4-4dad-b9ce-f8397f4c6d9d
2026-02-10 15:13:18,953 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-96979023', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00823261', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14886404828183351232', 'uuid-lslong': '11718856420192349544'}, 'enable': 'true', 'created': '2026-02-10T15:13:16', 'last-modified': '2026-02-10T15:13:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.267844'}
2026-02-10 15:13:18,961 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 15:13:18,961 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96979023 passed
2026-02-10 15:13:18,962 - DEBUG - ====Verifying policy data for ctest-vn-96979023 in API_Server ======
2026-02-10 15:13:18,962 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 15:13:18,970 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1cedc77e-92f8-4759-9059-9ef38beabb66
2026-02-10 15:13:18,983 - DEBUG - Requesting: http://10.0.0.33:8082/project/17ab0e5b-166a-43a5-bdff-18dd6c563dc3
2026-02-10 15:13:19,060 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ce972251-d687-4fc0-a2a1-bdd3335eed68
2026-02-10 15:13:19,073 - DEBUG - ==>Verifying data for policy with id: 0a2d4256-f921-48aa-bcf2-34d1f4e4795f, fqn: ['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-policy-allow-all-61559305']
2026-02-10 15:13:19,073 - INFO - VN ctest-vn-96979023 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 15:13:19,073 - DEBUG - Verifying the vn in opserver
2026-02-10 15:13:19,074 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-96979023 virtual network link through opserver 10.0.0.33
2026-02-10 15:13:19,074 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-10 15:13:19,376 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-10 15:13:19,457 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-96979023', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-96979023?flat'}
2026-02-10 15:13:19,457 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-96979023 is found in opserver
2026-02-10 15:13:19,468 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 15:13:19,475 - DEBUG - VRF ids for VN ctest-vn-96979023: {}
2026-02-10 15:13:19,475 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 15:13:19,483 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1cedc77e-92f8-4759-9059-9ef38beabb66
2026-02-10 15:13:19,497 - DEBUG - Requesting: http://10.0.0.33:8082/project/17ab0e5b-166a-43a5-bdff-18dd6c563dc3
2026-02-10 15:13:19,581 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/74872e08-6d92-4667-99ca-44f3e950de09
2026-02-10 15:13:19,597 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/74872e08-6d92-4667-99ca-44f3e950de09
2026-02-10 15:13:19,610 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96f5e348-abb7-43dd-8459-57008c23d10c
2026-02-10 15:13:19,619 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96f5e348-abb7-43dd-8459-57008c23d10c
2026-02-10 15:13:19,629 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/95fca97c-df4c-420e-af7e-488fc4ea6d62
2026-02-10 15:13:19,636 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 15:13:19,636 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/74872e08-6d92-4667-99ca-44f3e950de09
2026-02-10 15:13:19,647 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96f5e348-abb7-43dd-8459-57008c23d10c
2026-02-10 15:13:19,663 - INFO - Verified VN network id 12 for VN 74872e08-6d92-4667-99ca-44f3e950de09
2026-02-10 15:13:19,663 - INFO - Verifications in API Server for VN ctest-vn-91849757 passed
2026-02-10 15:13:19,663 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/74872e08-6d92-4667-99ca-44f3e950de09
2026-02-10 15:13:19,674 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96f5e348-abb7-43dd-8459-57008c23d10c
2026-02-10 15:13:19,685 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96f5e348-abb7-43dd-8459-57008c23d10c
2026-02-10 15:13:19,693 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/95fca97c-df4c-420e-af7e-488fc4ea6d62
2026-02-10 15:13:19,706 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-91849757', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00823261', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8396730643988498023', 'uuid-lslong': '11081745647480659465'}, 'enable': 'true', 'created': '2026-02-10T15:13:16', 'last-modified': '2026-02-10T15:13:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.652279'}
2026-02-10 15:13:19,714 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 15:13:19,714 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91849757 passed
2026-02-10 15:13:19,714 - DEBUG - ====Verifying policy data for ctest-vn-91849757 in API_Server ======
2026-02-10 15:13:19,714 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 15:13:19,720 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1cedc77e-92f8-4759-9059-9ef38beabb66
2026-02-10 15:13:19,733 - DEBUG - Requesting: http://10.0.0.33:8082/project/17ab0e5b-166a-43a5-bdff-18dd6c563dc3
2026-02-10 15:13:19,817 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/74872e08-6d92-4667-99ca-44f3e950de09
2026-02-10 15:13:19,839 - DEBUG - ==>Verifying data for policy with id: 0a2d4256-f921-48aa-bcf2-34d1f4e4795f, fqn: ['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-policy-allow-all-61559305']
2026-02-10 15:13:19,839 - INFO - VN ctest-vn-91849757 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 15:13:19,839 - DEBUG - Verifying the vn in opserver
2026-02-10 15:13:19,839 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-91849757 virtual network link through opserver 10.0.0.33
2026-02-10 15:13:19,839 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-10 15:13:19,851 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-91849757', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-91849757?flat'}
2026-02-10 15:13:19,851 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-91849757 is found in opserver
2026-02-10 15:13:19,864 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 15:13:19,871 - DEBUG - VRF ids for VN ctest-vn-91849757: {}
2026-02-10 15:13:19,944 - DEBUG - Services list from nova: [