2026-02-10 01:19:41,203 - INFO - Domain Default found not creating
2026-02-10 01:19:41,341 - INFO - Project ctest-TestBasicPolicy-70345773 not found, creating it
2026-02-10 01:19:41,764 - INFO - Created Project:ctest-TestBasicPolicy-70345773, ID : 1536aed7-00b8-4f06-9e0f-2edb97dbf32a
2026-02-10 01:19:43,192 - INFO - ================================================================================
2026-02-10 01:19:43,193 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 01:19:43,193 - 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 01:19:43,446 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2026-02-10 01:19:43,447 - INFO - Initial checks done. Running the testcase now
2026-02-10 01:19:43,447 - INFO -
2026-02-10 01:19:43,964 - DEBUG - Response for create_network : {'network': {'id': '341037e6-dc82-44d1-b55d-8846715943ef', 'name': 'ctest-vn-78163125', 'tenant_id': '1536aed700b84f069e0f2edb97dbf32a', 'project_id': '1536aed700b84f069e0f2edb97dbf32a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70345773', 'ctest-vn-78163125'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 01:19:44,133 - DEBUG - Response for create_subnet : {'subnet': {'id': '30b9efed-0b72-4962-a339-9abe50550ded', 'name': '', 'tenant_id': '1536aed700b84f069e0f2edb97dbf32a', 'network_id': '341037e6-dc82-44d1-b55d-8846715943ef', 'ip_version': 4, 'cidr': '32.123.27.64/26', 'allocation_pools': [{'start': '32.123.27.66', 'end': '32.123.27.126'}], 'gateway_ip': '32.123.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.123.27.66', 'tags': [], 'project_id': '1536aed700b84f069e0f2edb97dbf32a'}}
2026-02-10 01:19:44,150 - INFO - Created VN ctest-vn-78163125
2026-02-10 01:19:44,202 - DEBUG - VN ctest-vn-78163125 UUID is 341037e6-dc82-44d1-b55d-8846715943ef
2026-02-10 01:19:44,507 - DEBUG - Response for create_network : {'network': {'id': 'd2a6fdb8-df7a-4073-af4d-f585cf9a2d76', 'name': 'ctest-vn-07283286', 'tenant_id': '1536aed700b84f069e0f2edb97dbf32a', 'project_id': '1536aed700b84f069e0f2edb97dbf32a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70345773', 'ctest-vn-07283286'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 01:19:44,645 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b7592fe-7c8c-46f0-b04e-089d98cb4a8f', 'name': '', 'tenant_id': '1536aed700b84f069e0f2edb97dbf32a', 'network_id': 'd2a6fdb8-df7a-4073-af4d-f585cf9a2d76', 'ip_version': 4, 'cidr': '14.124.72.192/26', 'allocation_pools': [{'start': '14.124.72.194', 'end': '14.124.72.254'}], 'gateway_ip': '14.124.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.124.72.194', 'tags': [], 'project_id': '1536aed700b84f069e0f2edb97dbf32a'}}
2026-02-10 01:19:44,660 - INFO - Created VN ctest-vn-07283286
2026-02-10 01:19:44,710 - DEBUG - VN ctest-vn-07283286 UUID is d2a6fdb8-df7a-4073-af4d-f585cf9a2d76
2026-02-10 01:19:44,849 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70345773:ctest-vn-78163125, 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-70345773:ctest-vn-07283286, 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 01:19:45,124 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '341037e6-dc82-44d1-b55d-8846715943ef', 'name': 'ctest-vn-78163125', 'tenant_id': '1536aed700b84f069e0f2edb97dbf32a', 'project_id': '1536aed700b84f069e0f2edb97dbf32a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['30b9efed-0b72-4962-a339-9abe50550ded'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70345773', 'ctest-vn-78163125'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70345773', 'ctest-policy-allow-all-62631416']], 'subnet_ipam': [{'subnet_cidr': '32.123.27.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 01:19:45,344 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd2a6fdb8-df7a-4073-af4d-f585cf9a2d76', 'name': 'ctest-vn-07283286', 'tenant_id': '1536aed700b84f069e0f2edb97dbf32a', 'project_id': '1536aed700b84f069e0f2edb97dbf32a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6b7592fe-7c8c-46f0-b04e-089d98cb4a8f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70345773', 'ctest-vn-07283286'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70345773', 'ctest-policy-allow-all-62631416']], 'subnet_ipam': [{'subnet_cidr': '14.124.72.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 01:19:45,506 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-10 01:19:45,796 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-10 01:19:45,824 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ec93b339-7b6a-49f2-9149-c3ba503b2caa
2026-02-10 01:19:45,835 - DEBUG - Requesting: http://10.0.0.141:8082/project/1536aed7-00b8-4f06-9e0f-2edb97dbf32a
2026-02-10 01:19:45,901 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/341037e6-dc82-44d1-b55d-8846715943ef
2026-02-10 01:19:45,911 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/341037e6-dc82-44d1-b55d-8846715943ef
2026-02-10 01:19:45,919 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8163a875-2a63-412f-b41d-57b549d4be3d
2026-02-10 01:19:45,927 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8163a875-2a63-412f-b41d-57b549d4be3d
2026-02-10 01:19:45,934 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/4a0867f5-80a1-411e-a605-565a1d9ba5f7
2026-02-10 01:19:45,939 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 01:19:45,939 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/341037e6-dc82-44d1-b55d-8846715943ef
2026-02-10 01:19:45,946 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8163a875-2a63-412f-b41d-57b549d4be3d
2026-02-10 01:19:45,956 - INFO - Verified VN network id 11 for VN 341037e6-dc82-44d1-b55d-8846715943ef
2026-02-10 01:19:45,956 - INFO - Verifications in API Server for VN ctest-vn-78163125 passed
2026-02-10 01:19:45,956 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/341037e6-dc82-44d1-b55d-8846715943ef
2026-02-10 01:19:45,963 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8163a875-2a63-412f-b41d-57b549d4be3d
2026-02-10 01:19:45,968 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8163a875-2a63-412f-b41d-57b549d4be3d
2026-02-10 01:19:45,973 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/4a0867f5-80a1-411e-a605-565a1d9ba5f7
2026-02-10 01:19:45,982 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70345773:ctest-vn-78163125', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70345773', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3751559954281153745', 'uuid-lslong': '13068751529829811183'}, 'enable': 'true', 'created': '2026-02-10T01:19:43', 'last-modified': '2026-02-10T01:19:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.877976'}
2026-02-10 01:19:45,987 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 01:19:45,987 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78163125 passed
2026-02-10 01:19:45,987 - DEBUG - ====Verifying policy data for ctest-vn-78163125 in API_Server ======
2026-02-10 01:19:45,987 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-10 01:19:45,991 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ec93b339-7b6a-49f2-9149-c3ba503b2caa
2026-02-10 01:19:46,000 - DEBUG - Requesting: http://10.0.0.141:8082/project/1536aed7-00b8-4f06-9e0f-2edb97dbf32a
2026-02-10 01:19:46,070 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/341037e6-dc82-44d1-b55d-8846715943ef
2026-02-10 01:19:46,078 - DEBUG - ==>Verifying data for policy with id: e777e448-d259-438d-9883-b963ad429a98, fqn: ['default-domain', 'ctest-TestBasicPolicy-70345773', 'ctest-policy-allow-all-62631416']
2026-02-10 01:19:46,078 - INFO - VN ctest-vn-78163125 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 01:19:46,079 - DEBUG - Verifying the vn in opserver
2026-02-10 01:19:46,079 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70345773:ctest-vn-78163125 virtual network link through opserver 10.0.0.141
2026-02-10 01:19:46,079 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-10 01:19:46,370 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-10 01:19:46,426 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70345773:ctest-vn-78163125', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70345773:ctest-vn-78163125?flat'}
2026-02-10 01:19:46,426 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70345773:ctest-vn-78163125 is found in opserver
2026-02-10 01:19:46,434 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 01:19:46,437 - DEBUG - VRF ids for VN ctest-vn-78163125: {}
2026-02-10 01:19:46,438 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-10 01:19:46,442 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ec93b339-7b6a-49f2-9149-c3ba503b2caa
2026-02-10 01:19:46,451 - DEBUG - Requesting: http://10.0.0.141:8082/project/1536aed7-00b8-4f06-9e0f-2edb97dbf32a
2026-02-10 01:19:46,518 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d2a6fdb8-df7a-4073-af4d-f585cf9a2d76
2026-02-10 01:19:46,528 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d2a6fdb8-df7a-4073-af4d-f585cf9a2d76
2026-02-10 01:19:46,536 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b38d2956-9022-480f-a68b-f4d2550a50f0
2026-02-10 01:19:46,543 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b38d2956-9022-480f-a68b-f4d2550a50f0
2026-02-10 01:19:46,549 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/37c34c12-aa60-4aa9-b872-eb3929deafac
2026-02-10 01:19:46,556 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 01:19:46,556 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d2a6fdb8-df7a-4073-af4d-f585cf9a2d76
2026-02-10 01:19:46,564 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b38d2956-9022-480f-a68b-f4d2550a50f0
2026-02-10 01:19:46,576 - INFO - Verified VN network id 12 for VN d2a6fdb8-df7a-4073-af4d-f585cf9a2d76
2026-02-10 01:19:46,576 - INFO - Verifications in API Server for VN ctest-vn-07283286 passed
2026-02-10 01:19:46,577 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d2a6fdb8-df7a-4073-af4d-f585cf9a2d76
2026-02-10 01:19:46,584 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b38d2956-9022-480f-a68b-f4d2550a50f0
2026-02-10 01:19:46,590 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b38d2956-9022-480f-a68b-f4d2550a50f0
2026-02-10 01:19:46,596 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/37c34c12-aa60-4aa9-b872-eb3929deafac
2026-02-10 01:19:46,606 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70345773:ctest-vn-07283286', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70345773', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15179098564563976307', 'uuid-lslong': '12632022484906552694'}, 'enable': 'true', 'created': '2026-02-10T01:19:44', 'last-modified': '2026-02-10T01:19:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.283490'}
2026-02-10 01:19:46,611 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 01:19:46,611 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07283286 passed
2026-02-10 01:19:46,611 - DEBUG - ====Verifying policy data for ctest-vn-07283286 in API_Server ======
2026-02-10 01:19:46,611 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-10 01:19:46,617 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ec93b339-7b6a-49f2-9149-c3ba503b2caa
2026-02-10 01:19:46,626 - DEBUG - Requesting: http://10.0.0.141:8082/project/1536aed7-00b8-4f06-9e0f-2edb97dbf32a
2026-02-10 01:19:46,693 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d2a6fdb8-df7a-4073-af4d-f585cf9a2d76
2026-02-10 01:19:46,702 - DEBUG - ==>Verifying data for policy with id: e777e448-d259-438d-9883-b963ad429a98, fqn: ['default-domain', 'ctest-TestBasicPolicy-70345773', 'ctest-policy-allow-all-62631416']
2026-02-10 01:19:46,702 - INFO - VN ctest-vn-07283286 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 01:19:46,702 - DEBUG - Verifying the vn in opserver
2026-02-10 01:19:46,702 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70345773:ctest-vn-07283286 virtual network link through opserver 10.0.0.141
2026-02-10 01:19:46,702 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-10 01:19:46,711 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70345773:ctest-vn-07283286', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70345773:ctest-vn-07283286?flat'}
2026-02-10 01:19:46,711 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70345773:ctest-vn-07283286 is found in opserver
2026-02-10 01:19:46,720 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 01:19:46,725 - DEBUG - VRF ids for VN ctest-vn-07283286: {}
2026-02-10 01:19:46,776 - DEBUG - Services list from nova: [