2026-01-20 16:06:52,621 - INFO - Domain Default found not creating
2026-01-20 16:06:52,802 - INFO - Project ctest-TestBasicPolicy-74723667 not found, creating it
2026-01-20 16:06:53,264 - INFO - Created Project:ctest-TestBasicPolicy-74723667, ID : 037c6e92-be57-4e72-b3d7-714b323e96e4
2026-01-20 16:06:54,751 - INFO - ================================================================================
2026-01-20 16:06:54,752 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-20 16:06:54,752 - 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-01-20 16:06:55,007 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2026-01-20 16:06:55,007 - INFO - Initial checks done. Running the testcase now
2026-01-20 16:06:55,007 - INFO -
2026-01-20 16:06:55,587 - DEBUG - Response for create_network : {'network': {'id': 'fd6da30f-e5e7-4005-bddc-9c2477677808', 'name': 'ctest-vn-86175116', 'tenant_id': '037c6e92be574e72b3d7714b323e96e4', 'project_id': '037c6e92be574e72b3d7714b323e96e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-vn-86175116'], 'port_security_enabled': True, 'description': ''}}
2026-01-20 16:06:55,814 - DEBUG - Response for create_subnet : {'subnet': {'id': '7496e023-0840-43d4-9a96-7e3ca91fc04c', 'name': '', 'tenant_id': '037c6e92be574e72b3d7714b323e96e4', 'network_id': 'fd6da30f-e5e7-4005-bddc-9c2477677808', 'ip_version': 4, 'cidr': '144.173.244.128/26', 'allocation_pools': [{'start': '144.173.244.130', 'end': '144.173.244.190'}], 'gateway_ip': '144.173.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.173.244.130', 'tags': [], 'project_id': '037c6e92be574e72b3d7714b323e96e4'}}
2026-01-20 16:06:55,833 - INFO - Created VN ctest-vn-86175116
2026-01-20 16:06:55,886 - DEBUG - VN ctest-vn-86175116 UUID is fd6da30f-e5e7-4005-bddc-9c2477677808
2026-01-20 16:06:56,172 - DEBUG - Response for create_network : {'network': {'id': '9e8da327-aa07-4c0b-950e-befcee8c9be9', 'name': 'ctest-vn-55044633', 'tenant_id': '037c6e92be574e72b3d7714b323e96e4', 'project_id': '037c6e92be574e72b3d7714b323e96e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-vn-55044633'], 'port_security_enabled': True, 'description': ''}}
2026-01-20 16:06:56,392 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cefba39f-4ba7-475e-a209-f156ac262e50', 'name': '', 'tenant_id': '037c6e92be574e72b3d7714b323e96e4', 'network_id': '9e8da327-aa07-4c0b-950e-befcee8c9be9', 'ip_version': 4, 'cidr': '53.6.131.192/26', 'allocation_pools': [{'start': '53.6.131.194', 'end': '53.6.131.254'}], 'gateway_ip': '53.6.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.6.131.194', 'tags': [], 'project_id': '037c6e92be574e72b3d7714b323e96e4'}}
2026-01-20 16:06:56,409 - INFO - Created VN ctest-vn-55044633
2026-01-20 16:06:56,462 - DEBUG - VN ctest-vn-55044633 UUID is 9e8da327-aa07-4c0b-950e-befcee8c9be9
2026-01-20 16:06:56,610 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-86175116, 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-74723667:ctest-vn-55044633, 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-01-20 16:06:56,892 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd6da30f-e5e7-4005-bddc-9c2477677808', 'name': 'ctest-vn-86175116', 'tenant_id': '037c6e92be574e72b3d7714b323e96e4', 'project_id': '037c6e92be574e72b3d7714b323e96e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7496e023-0840-43d4-9a96-7e3ca91fc04c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-vn-86175116'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-policy-allow-all-86095743']], 'subnet_ipam': [{'subnet_cidr': '144.173.244.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-20 16:06:57,127 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9e8da327-aa07-4c0b-950e-befcee8c9be9', 'name': 'ctest-vn-55044633', 'tenant_id': '037c6e92be574e72b3d7714b323e96e4', 'project_id': '037c6e92be574e72b3d7714b323e96e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cefba39f-4ba7-475e-a209-f156ac262e50'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-vn-55044633'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-policy-allow-all-86095743']], 'subnet_ipam': [{'subnet_cidr': '53.6.131.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-20 16:06:57,290 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-20 16:06:57,598 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-20 16:06:57,628 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1468b355-74b5-4efb-b99e-aa824e64b549
2026-01-20 16:06:57,640 - DEBUG - Requesting: http://10.0.0.249:8082/project/037c6e92-be57-4e72-b3d7-714b323e96e4
2026-01-20 16:06:57,716 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fd6da30f-e5e7-4005-bddc-9c2477677808
2026-01-20 16:06:57,727 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fd6da30f-e5e7-4005-bddc-9c2477677808
2026-01-20 16:06:57,736 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/138173fb-339c-43a0-bc30-410d1de2bf09
2026-01-20 16:06:57,744 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/138173fb-339c-43a0-bc30-410d1de2bf09
2026-01-20 16:06:57,752 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8a6ae813-32ec-4a56-921a-f4114f1d7aed
2026-01-20 16:06:57,758 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-20 16:06:57,758 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fd6da30f-e5e7-4005-bddc-9c2477677808
2026-01-20 16:06:57,768 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/138173fb-339c-43a0-bc30-410d1de2bf09
2026-01-20 16:06:57,784 - INFO - Verified VN network id 11 for VN fd6da30f-e5e7-4005-bddc-9c2477677808
2026-01-20 16:06:57,784 - INFO - Verifications in API Server for VN ctest-vn-86175116 passed
2026-01-20 16:06:57,785 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fd6da30f-e5e7-4005-bddc-9c2477677808
2026-01-20 16:06:57,795 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/138173fb-339c-43a0-bc30-410d1de2bf09
2026-01-20 16:06:57,802 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/138173fb-339c-43a0-bc30-410d1de2bf09
2026-01-20 16:06:57,810 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8a6ae813-32ec-4a56-921a-f4114f1d7aed
2026-01-20 16:06:57,823 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-86175116', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74723667', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18261431352734203909', 'uuid-lslong': '13680981448480749576'}, 'enable': 'true', 'created': '2026-01-20T16:06:55', 'last-modified': '2026-01-20T16:06:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.949581'}
2026-01-20 16:06:57,829 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-20 16:06:57,829 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86175116 passed
2026-01-20 16:06:57,829 - DEBUG - ====Verifying policy data for ctest-vn-86175116 in API_Server ======
2026-01-20 16:06:57,829 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-20 16:06:57,834 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1468b355-74b5-4efb-b99e-aa824e64b549
2026-01-20 16:06:57,845 - DEBUG - Requesting: http://10.0.0.249:8082/project/037c6e92-be57-4e72-b3d7-714b323e96e4
2026-01-20 16:06:57,920 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fd6da30f-e5e7-4005-bddc-9c2477677808
2026-01-20 16:06:57,929 - DEBUG - ==>Verifying data for policy with id: fbd6cf9a-ccf3-44f8-8f21-df629410eac0, fqn: ['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-policy-allow-all-86095743']
2026-01-20 16:06:57,929 - INFO - VN ctest-vn-86175116 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-20 16:06:57,929 - DEBUG - Verifying the vn in opserver
2026-01-20 16:06:57,930 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-86175116 virtual network link through opserver 10.0.0.249
2026-01-20 16:06:57,930 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-20 16:06:58,228 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-20 16:06:58,290 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-86175116', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-86175116?flat'}
2026-01-20 16:06:58,291 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-86175116 is found in opserver
2026-01-20 16:06:58,301 - DEBUG - Do not have enough data to verify VN in agent
2026-01-20 16:06:58,306 - DEBUG - VRF ids for VN ctest-vn-86175116: {}
2026-01-20 16:06:58,306 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-20 16:06:58,311 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1468b355-74b5-4efb-b99e-aa824e64b549
2026-01-20 16:06:58,322 - DEBUG - Requesting: http://10.0.0.249:8082/project/037c6e92-be57-4e72-b3d7-714b323e96e4
2026-01-20 16:06:58,388 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9e8da327-aa07-4c0b-950e-befcee8c9be9
2026-01-20 16:06:58,399 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9e8da327-aa07-4c0b-950e-befcee8c9be9
2026-01-20 16:06:58,408 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2dcbc5fc-0779-40b0-bd7e-9cd5a71c99f9
2026-01-20 16:06:58,415 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2dcbc5fc-0779-40b0-bd7e-9cd5a71c99f9
2026-01-20 16:06:58,422 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/51704b13-246b-46fa-8428-00e494b70d8f
2026-01-20 16:06:58,429 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-20 16:06:58,429 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9e8da327-aa07-4c0b-950e-befcee8c9be9
2026-01-20 16:06:58,438 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2dcbc5fc-0779-40b0-bd7e-9cd5a71c99f9
2026-01-20 16:06:58,452 - INFO - Verified VN network id 12 for VN 9e8da327-aa07-4c0b-950e-befcee8c9be9
2026-01-20 16:06:58,452 - INFO - Verifications in API Server for VN ctest-vn-55044633 passed
2026-01-20 16:06:58,453 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9e8da327-aa07-4c0b-950e-befcee8c9be9
2026-01-20 16:06:58,461 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2dcbc5fc-0779-40b0-bd7e-9cd5a71c99f9
2026-01-20 16:06:58,468 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2dcbc5fc-0779-40b0-bd7e-9cd5a71c99f9
2026-01-20 16:06:58,475 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/51704b13-246b-46fa-8428-00e494b70d8f
2026-01-20 16:06:58,486 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-55044633', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74723667', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11424967220460473355', 'uuid-lslong': '10740732154868440041'}, 'enable': 'true', 'created': '2026-01-20T16:06:56', 'last-modified': '2026-01-20T16:06:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.383006'}
2026-01-20 16:06:58,492 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-20 16:06:58,492 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55044633 passed
2026-01-20 16:06:58,492 - DEBUG - ====Verifying policy data for ctest-vn-55044633 in API_Server ======
2026-01-20 16:06:58,492 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-20 16:06:58,498 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1468b355-74b5-4efb-b99e-aa824e64b549
2026-01-20 16:06:58,508 - DEBUG - Requesting: http://10.0.0.249:8082/project/037c6e92-be57-4e72-b3d7-714b323e96e4
2026-01-20 16:06:58,582 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9e8da327-aa07-4c0b-950e-befcee8c9be9
2026-01-20 16:06:58,593 - DEBUG - ==>Verifying data for policy with id: fbd6cf9a-ccf3-44f8-8f21-df629410eac0, fqn: ['default-domain', 'ctest-TestBasicPolicy-74723667', 'ctest-policy-allow-all-86095743']
2026-01-20 16:06:58,593 - INFO - VN ctest-vn-55044633 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-20 16:06:58,593 - DEBUG - Verifying the vn in opserver
2026-01-20 16:06:58,593 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-55044633 virtual network link through opserver 10.0.0.249
2026-01-20 16:06:58,594 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-20 16:06:58,604 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-55044633', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-55044633?flat'}
2026-01-20 16:06:58,605 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74723667:ctest-vn-55044633 is found in opserver
2026-01-20 16:06:58,617 - DEBUG - Do not have enough data to verify VN in agent
2026-01-20 16:06:58,623 - DEBUG - VRF ids for VN ctest-vn-55044633: {}
2026-01-20 16:06:58,682 - DEBUG - Services list from nova: [