2026-02-10 18:13:15,134 - INFO - Domain Default found not creating
2026-02-10 18:13:15,295 - INFO - Project ctest-TestBasicPolicy-18927668 not found, creating it
2026-02-10 18:13:15,751 - INFO - Created Project:ctest-TestBasicPolicy-18927668, ID : ebdaa93e-3c03-445d-a056-2d1eee545ee0
2026-02-10 18:13:17,340 - INFO - ================================================================================
2026-02-10 18:13:17,340 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 18:13:17,340 - 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 18:13:17,593 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with
2026-02-10 18:13:17,593 - INFO - Initial checks done. Running the testcase now
2026-02-10 18:13:17,593 - INFO -
2026-02-10 18:13:18,139 - DEBUG - Response for create_network : {'network': {'id': '5eb452f8-b92e-42fe-8f80-f6fe44cfa404', 'name': 'ctest-vn-77719031', 'tenant_id': 'ebdaa93e3c03445da0562d1eee545ee0', 'project_id': 'ebdaa93e3c03445da0562d1eee545ee0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18927668', 'ctest-vn-77719031'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:13:18,294 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3ac38df-ea1b-44ff-91d7-a8e243e68110', 'name': '', 'tenant_id': 'ebdaa93e3c03445da0562d1eee545ee0', 'network_id': '5eb452f8-b92e-42fe-8f80-f6fe44cfa404', 'ip_version': 4, 'cidr': '152.15.80.192/26', 'allocation_pools': [{'start': '152.15.80.194', 'end': '152.15.80.254'}], 'gateway_ip': '152.15.80.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.15.80.194', 'tags': [], 'project_id': 'ebdaa93e3c03445da0562d1eee545ee0'}}
2026-02-10 18:13:18,312 - INFO - Created VN ctest-vn-77719031
2026-02-10 18:13:18,364 - DEBUG - VN ctest-vn-77719031 UUID is 5eb452f8-b92e-42fe-8f80-f6fe44cfa404
2026-02-10 18:13:18,690 - DEBUG - Response for create_network : {'network': {'id': '35f586ff-6fd5-4e2c-9a78-8198144fee72', 'name': 'ctest-vn-92068169', 'tenant_id': 'ebdaa93e3c03445da0562d1eee545ee0', 'project_id': 'ebdaa93e3c03445da0562d1eee545ee0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18927668', 'ctest-vn-92068169'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:13:18,900 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cbadd2d2-feaf-4f1c-b553-cd6cfd1436fb', 'name': '', 'tenant_id': 'ebdaa93e3c03445da0562d1eee545ee0', 'network_id': '35f586ff-6fd5-4e2c-9a78-8198144fee72', 'ip_version': 4, 'cidr': '96.168.40.128/26', 'allocation_pools': [{'start': '96.168.40.130', 'end': '96.168.40.190'}], 'gateway_ip': '96.168.40.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.168.40.130', 'tags': [], 'project_id': 'ebdaa93e3c03445da0562d1eee545ee0'}}
2026-02-10 18:13:18,919 - INFO - Created VN ctest-vn-92068169
2026-02-10 18:13:18,972 - DEBUG - VN ctest-vn-92068169 UUID is 35f586ff-6fd5-4e2c-9a78-8198144fee72
2026-02-10 18:13:19,124 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18927668:ctest-vn-77719031, 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-18927668:ctest-vn-92068169, 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 18:13:19,412 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5eb452f8-b92e-42fe-8f80-f6fe44cfa404', 'name': 'ctest-vn-77719031', 'tenant_id': 'ebdaa93e3c03445da0562d1eee545ee0', 'project_id': 'ebdaa93e3c03445da0562d1eee545ee0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b3ac38df-ea1b-44ff-91d7-a8e243e68110'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18927668', 'ctest-vn-77719031'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18927668', 'ctest-policy-allow-all-58028003']], 'subnet_ipam': [{'subnet_cidr': '152.15.80.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:13:19,642 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '35f586ff-6fd5-4e2c-9a78-8198144fee72', 'name': 'ctest-vn-92068169', 'tenant_id': 'ebdaa93e3c03445da0562d1eee545ee0', 'project_id': 'ebdaa93e3c03445da0562d1eee545ee0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cbadd2d2-feaf-4f1c-b553-cd6cfd1436fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18927668', 'ctest-vn-92068169'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18927668', 'ctest-policy-allow-all-58028003']], 'subnet_ipam': [{'subnet_cidr': '96.168.40.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:13:19,800 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 18:13:20,103 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 18:13:20,133 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e35bea7d-cfed-4258-b811-148103eb539f
2026-02-10 18:13:20,146 - DEBUG - Requesting: http://10.0.0.50:8082/project/ebdaa93e-3c03-445d-a056-2d1eee545ee0
2026-02-10 18:13:20,215 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5eb452f8-b92e-42fe-8f80-f6fe44cfa404
2026-02-10 18:13:20,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5eb452f8-b92e-42fe-8f80-f6fe44cfa404
2026-02-10 18:13:20,233 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/70524add-8ef5-4de5-8bad-97a187319156
2026-02-10 18:13:20,241 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/70524add-8ef5-4de5-8bad-97a187319156
2026-02-10 18:13:20,248 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ec3ab521-bfc1-4b64-8111-702080c9b2fa
2026-02-10 18:13:20,254 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 18:13:20,254 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5eb452f8-b92e-42fe-8f80-f6fe44cfa404
2026-02-10 18:13:20,263 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/70524add-8ef5-4de5-8bad-97a187319156
2026-02-10 18:13:20,276 - INFO - Verified VN network id 12 for VN 5eb452f8-b92e-42fe-8f80-f6fe44cfa404
2026-02-10 18:13:20,276 - INFO - Verifications in API Server for VN ctest-vn-77719031 passed
2026-02-10 18:13:20,277 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5eb452f8-b92e-42fe-8f80-f6fe44cfa404
2026-02-10 18:13:20,286 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/70524add-8ef5-4de5-8bad-97a187319156
2026-02-10 18:13:20,293 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/70524add-8ef5-4de5-8bad-97a187319156
2026-02-10 18:13:20,299 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ec3ab521-bfc1-4b64-8111-702080c9b2fa
2026-02-10 18:13:20,312 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18927668:ctest-vn-77719031', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18927668', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6824170563585327870', 'uuid-lslong': '10340536316379243524'}, 'enable': 'true', 'created': '2026-02-10T18:13:18', 'last-modified': '2026-02-10T18:13:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.920127'}
2026-02-10 18:13:20,318 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 18:13:20,318 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77719031 passed
2026-02-10 18:13:20,318 - DEBUG - ====Verifying policy data for ctest-vn-77719031 in API_Server ======
2026-02-10 18:13:20,318 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 18:13:20,323 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e35bea7d-cfed-4258-b811-148103eb539f
2026-02-10 18:13:20,334 - DEBUG - Requesting: http://10.0.0.50:8082/project/ebdaa93e-3c03-445d-a056-2d1eee545ee0
2026-02-10 18:13:20,400 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5eb452f8-b92e-42fe-8f80-f6fe44cfa404
2026-02-10 18:13:20,409 - DEBUG - ==>Verifying data for policy with id: ddc304db-1e60-48b8-8dc6-03b3045e7f08, fqn: ['default-domain', 'ctest-TestBasicPolicy-18927668', 'ctest-policy-allow-all-58028003']
2026-02-10 18:13:20,409 - INFO - VN ctest-vn-77719031 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 18:13:20,409 - DEBUG - Verifying the vn in opserver
2026-02-10 18:13:20,409 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18927668:ctest-vn-77719031 virtual network link through opserver 10.0.0.50
2026-02-10 18:13:20,409 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-10 18:13:20,700 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-10 18:13:20,761 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18927668:ctest-vn-77719031', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18927668:ctest-vn-77719031?flat'}
2026-02-10 18:13:20,761 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18927668:ctest-vn-77719031 is found in opserver
2026-02-10 18:13:20,771 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 18:13:20,775 - DEBUG - VRF ids for VN ctest-vn-77719031: {}
2026-02-10 18:13:20,775 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 18:13:20,781 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e35bea7d-cfed-4258-b811-148103eb539f
2026-02-10 18:13:20,794 - DEBUG - Requesting: http://10.0.0.50:8082/project/ebdaa93e-3c03-445d-a056-2d1eee545ee0
2026-02-10 18:13:20,866 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35f586ff-6fd5-4e2c-9a78-8198144fee72
2026-02-10 18:13:20,878 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35f586ff-6fd5-4e2c-9a78-8198144fee72
2026-02-10 18:13:20,889 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57095307-d05e-408d-88d1-5e4a31653bda
2026-02-10 18:13:20,897 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57095307-d05e-408d-88d1-5e4a31653bda
2026-02-10 18:13:20,906 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/28f600a6-b863-4e3d-a94f-f4585074f0f5
2026-02-10 18:13:20,916 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 18:13:20,916 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35f586ff-6fd5-4e2c-9a78-8198144fee72
2026-02-10 18:13:20,927 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57095307-d05e-408d-88d1-5e4a31653bda
2026-02-10 18:13:20,943 - INFO - Verified VN network id 13 for VN 35f586ff-6fd5-4e2c-9a78-8198144fee72
2026-02-10 18:13:20,943 - INFO - Verifications in API Server for VN ctest-vn-92068169 passed
2026-02-10 18:13:20,943 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35f586ff-6fd5-4e2c-9a78-8198144fee72
2026-02-10 18:13:20,954 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57095307-d05e-408d-88d1-5e4a31653bda
2026-02-10 18:13:20,961 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57095307-d05e-408d-88d1-5e4a31653bda
2026-02-10 18:13:20,969 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/28f600a6-b863-4e3d-a94f-f4585074f0f5
2026-02-10 18:13:20,981 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18927668:ctest-vn-92068169', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18927668', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3888162284955323948', 'uuid-lslong': '11130788969221975666'}, 'enable': 'true', 'created': '2026-02-10T18:13:18', 'last-modified': '2026-02-10T18:13:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.360744'}
2026-02-10 18:13:20,989 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 18:13:20,989 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92068169 passed
2026-02-10 18:13:20,989 - DEBUG - ====Verifying policy data for ctest-vn-92068169 in API_Server ======
2026-02-10 18:13:20,989 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 18:13:20,996 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e35bea7d-cfed-4258-b811-148103eb539f
2026-02-10 18:13:21,008 - DEBUG - Requesting: http://10.0.0.50:8082/project/ebdaa93e-3c03-445d-a056-2d1eee545ee0
2026-02-10 18:13:21,077 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35f586ff-6fd5-4e2c-9a78-8198144fee72
2026-02-10 18:13:21,088 - DEBUG - ==>Verifying data for policy with id: ddc304db-1e60-48b8-8dc6-03b3045e7f08, fqn: ['default-domain', 'ctest-TestBasicPolicy-18927668', 'ctest-policy-allow-all-58028003']
2026-02-10 18:13:21,088 - INFO - VN ctest-vn-92068169 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 18:13:21,088 - DEBUG - Verifying the vn in opserver
2026-02-10 18:13:21,088 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18927668:ctest-vn-92068169 virtual network link through opserver 10.0.0.50
2026-02-10 18:13:21,088 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-10 18:13:21,098 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18927668:ctest-vn-92068169', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18927668:ctest-vn-92068169?flat'}
2026-02-10 18:13:21,098 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18927668:ctest-vn-92068169 is found in opserver
2026-02-10 18:13:21,109 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 18:13:21,116 - DEBUG - VRF ids for VN ctest-vn-92068169: {}
2026-02-10 18:13:21,194 - DEBUG - Services list from nova: [