2026-02-03 18:43:25,474 - INFO - Domain Default found not creating
2026-02-03 18:43:25,657 - INFO - Project ctest-TestBasicPolicy-90037827 not found, creating it
2026-02-03 18:43:26,110 - INFO - Created Project:ctest-TestBasicPolicy-90037827, ID : 05798587-a0ef-47ed-8c91-d4eaff08c7d3
2026-02-03 18:43:27,548 - INFO - ================================================================================
2026-02-03 18:43:27,549 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-03 18:43:27,549 - 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-03 18:43:27,804 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-03 18:43:27,804 - INFO - Initial checks done. Running the testcase now
2026-02-03 18:43:27,804 - INFO -
2026-02-03 18:43:28,356 - DEBUG - Response for create_network : {'network': {'id': '6ebd9f29-decc-450b-a3b8-12f8c0405e33', 'name': 'ctest-vn-94999602', 'tenant_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'project_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-vn-94999602'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 18:43:28,561 - DEBUG - Response for create_subnet : {'subnet': {'id': '085334e6-2231-46b6-aa93-9926463bf0ba', 'name': '', 'tenant_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'network_id': '6ebd9f29-decc-450b-a3b8-12f8c0405e33', 'ip_version': 4, 'cidr': '94.55.146.192/26', 'allocation_pools': [{'start': '94.55.146.194', 'end': '94.55.146.254'}], 'gateway_ip': '94.55.146.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.55.146.194', 'tags': [], 'project_id': '05798587a0ef47ed8c91d4eaff08c7d3'}}
2026-02-03 18:43:28,578 - INFO - Created VN ctest-vn-94999602
2026-02-03 18:43:28,631 - DEBUG - VN ctest-vn-94999602 UUID is 6ebd9f29-decc-450b-a3b8-12f8c0405e33
2026-02-03 18:43:28,938 - DEBUG - Response for create_network : {'network': {'id': '3d4a95a1-f732-41b8-adac-88e267a76d07', 'name': 'ctest-vn-69056024', 'tenant_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'project_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-vn-69056024'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 18:43:29,164 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef2bc2ef-0f19-4ff6-8d37-867486f8035f', 'name': '', 'tenant_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'network_id': '3d4a95a1-f732-41b8-adac-88e267a76d07', 'ip_version': 4, 'cidr': '86.86.123.64/26', 'allocation_pools': [{'start': '86.86.123.66', 'end': '86.86.123.126'}], 'gateway_ip': '86.86.123.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.86.123.66', 'tags': [], 'project_id': '05798587a0ef47ed8c91d4eaff08c7d3'}}
2026-02-03 18:43:29,181 - INFO - Created VN ctest-vn-69056024
2026-02-03 18:43:29,231 - DEBUG - VN ctest-vn-69056024 UUID is 3d4a95a1-f732-41b8-adac-88e267a76d07
2026-02-03 18:43:29,354 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-94999602, 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-90037827:ctest-vn-69056024, 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-03 18:43:29,666 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6ebd9f29-decc-450b-a3b8-12f8c0405e33', 'name': 'ctest-vn-94999602', 'tenant_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'project_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['085334e6-2231-46b6-aa93-9926463bf0ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-vn-94999602'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-policy-allow-all-78010311']], 'subnet_ipam': [{'subnet_cidr': '94.55.146.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 18:43:29,902 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d4a95a1-f732-41b8-adac-88e267a76d07', 'name': 'ctest-vn-69056024', 'tenant_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'project_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ef2bc2ef-0f19-4ff6-8d37-867486f8035f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-vn-69056024'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-policy-allow-all-78010311']], 'subnet_ipam': [{'subnet_cidr': '86.86.123.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 18:43:30,059 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-03 18:43:30,367 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-03 18:43:30,396 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b7ce9ba-4407-4921-ac3c-b6fa2ad0e050
2026-02-03 18:43:30,411 - DEBUG - Requesting: http://10.0.0.50:8082/project/05798587-a0ef-47ed-8c91-d4eaff08c7d3
2026-02-03 18:43:30,487 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ebd9f29-decc-450b-a3b8-12f8c0405e33
2026-02-03 18:43:30,499 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ebd9f29-decc-450b-a3b8-12f8c0405e33
2026-02-03 18:43:30,508 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78962e8a-9c1f-4890-a725-298a9677be5c
2026-02-03 18:43:30,514 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78962e8a-9c1f-4890-a725-298a9677be5c
2026-02-03 18:43:30,520 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5c07bc3e-f3c3-4d4c-bea7-4ae1b4e90c26
2026-02-03 18:43:30,525 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 18:43:30,525 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ebd9f29-decc-450b-a3b8-12f8c0405e33
2026-02-03 18:43:30,533 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78962e8a-9c1f-4890-a725-298a9677be5c
2026-02-03 18:43:30,544 - INFO - Verified VN network id 9 for VN 6ebd9f29-decc-450b-a3b8-12f8c0405e33
2026-02-03 18:43:30,545 - INFO - Verifications in API Server for VN ctest-vn-94999602 passed
2026-02-03 18:43:30,545 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ebd9f29-decc-450b-a3b8-12f8c0405e33
2026-02-03 18:43:30,552 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78962e8a-9c1f-4890-a725-298a9677be5c
2026-02-03 18:43:30,559 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78962e8a-9c1f-4890-a725-298a9677be5c
2026-02-03 18:43:30,565 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5c07bc3e-f3c3-4d4c-bea7-4ae1b4e90c26
2026-02-03 18:43:30,575 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-94999602', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90037827', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7979709116950791435', 'uuid-lslong': '11797200083483647539'}, 'enable': 'true', 'created': '2026-02-03T18:43:28', 'last-modified': '2026-02-03T18:43:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945015'}
2026-02-03 18:43:30,584 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 18:43:30,584 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94999602 passed
2026-02-03 18:43:30,584 - DEBUG - ====Verifying policy data for ctest-vn-94999602 in API_Server ======
2026-02-03 18:43:30,584 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-03 18:43:30,589 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b7ce9ba-4407-4921-ac3c-b6fa2ad0e050
2026-02-03 18:43:30,600 - DEBUG - Requesting: http://10.0.0.50:8082/project/05798587-a0ef-47ed-8c91-d4eaff08c7d3
2026-02-03 18:43:30,667 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ebd9f29-decc-450b-a3b8-12f8c0405e33
2026-02-03 18:43:30,677 - DEBUG - ==>Verifying data for policy with id: a0e68f8c-55cf-4e4c-8c0e-fd90bf300178, fqn: ['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-policy-allow-all-78010311']
2026-02-03 18:43:30,677 - INFO - VN ctest-vn-94999602 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 18:43:30,677 - DEBUG - Verifying the vn in opserver
2026-02-03 18:43:30,677 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-94999602 virtual network link through opserver 10.0.0.50
2026-02-03 18:43:30,677 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-03 18:43:30,972 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-03 18:43:31,037 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-94999602', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-94999602?flat'}
2026-02-03 18:43:31,037 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-94999602 is found in opserver
2026-02-03 18:43:31,046 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 18:43:31,050 - DEBUG - VRF ids for VN ctest-vn-94999602: {}
2026-02-03 18:43:31,050 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-03 18:43:31,055 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b7ce9ba-4407-4921-ac3c-b6fa2ad0e050
2026-02-03 18:43:31,065 - DEBUG - Requesting: http://10.0.0.50:8082/project/05798587-a0ef-47ed-8c91-d4eaff08c7d3
2026-02-03 18:43:31,159 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d4a95a1-f732-41b8-adac-88e267a76d07
2026-02-03 18:43:31,169 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d4a95a1-f732-41b8-adac-88e267a76d07
2026-02-03 18:43:31,178 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee922c8c-edda-4243-b42d-eadc0091f2a7
2026-02-03 18:43:31,185 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee922c8c-edda-4243-b42d-eadc0091f2a7
2026-02-03 18:43:31,191 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/995343c0-31a2-4704-92dc-fba1cafa695c
2026-02-03 18:43:31,197 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 18:43:31,197 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d4a95a1-f732-41b8-adac-88e267a76d07
2026-02-03 18:43:31,207 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee922c8c-edda-4243-b42d-eadc0091f2a7
2026-02-03 18:43:31,220 - INFO - Verified VN network id 10 for VN 3d4a95a1-f732-41b8-adac-88e267a76d07
2026-02-03 18:43:31,220 - INFO - Verifications in API Server for VN ctest-vn-69056024 passed
2026-02-03 18:43:31,220 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d4a95a1-f732-41b8-adac-88e267a76d07
2026-02-03 18:43:31,230 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee922c8c-edda-4243-b42d-eadc0091f2a7
2026-02-03 18:43:31,239 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee922c8c-edda-4243-b42d-eadc0091f2a7
2026-02-03 18:43:31,245 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/995343c0-31a2-4704-92dc-fba1cafa695c
2026-02-03 18:43:31,257 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-69056024', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90037827', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4416506907459731896', 'uuid-lslong': '12514527970538777863'}, 'enable': 'true', 'created': '2026-02-03T18:43:28', 'last-modified': '2026-02-03T18:43:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.384475'}
2026-02-03 18:43:31,263 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 18:43:31,263 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69056024 passed
2026-02-03 18:43:31,263 - DEBUG - ====Verifying policy data for ctest-vn-69056024 in API_Server ======
2026-02-03 18:43:31,263 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-03 18:43:31,268 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b7ce9ba-4407-4921-ac3c-b6fa2ad0e050
2026-02-03 18:43:31,278 - DEBUG - Requesting: http://10.0.0.50:8082/project/05798587-a0ef-47ed-8c91-d4eaff08c7d3
2026-02-03 18:43:31,347 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d4a95a1-f732-41b8-adac-88e267a76d07
2026-02-03 18:43:31,355 - DEBUG - ==>Verifying data for policy with id: a0e68f8c-55cf-4e4c-8c0e-fd90bf300178, fqn: ['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-policy-allow-all-78010311']
2026-02-03 18:43:31,355 - INFO - VN ctest-vn-69056024 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 18:43:31,355 - DEBUG - Verifying the vn in opserver
2026-02-03 18:43:31,355 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-69056024 virtual network link through opserver 10.0.0.50
2026-02-03 18:43:31,356 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-03 18:43:31,365 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-69056024', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-69056024?flat'}
2026-02-03 18:43:31,365 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-69056024 is found in opserver
2026-02-03 18:43:31,374 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 18:43:31,378 - DEBUG - VRF ids for VN ctest-vn-69056024: {}
2026-02-03 18:43:31,437 - DEBUG - Services list from nova: [