2026-10-26 14:50:41,128 - INFO - Domain Default found not creating
2026-10-26 14:50:41,389 - INFO - Project ctest-TestBasicPolicy-67857614 not found, creating it
2026-10-26 14:50:41,988 - INFO - Created Project:ctest-TestBasicPolicy-67857614, ID : 41e601f6-bc9c-4578-9394-93c07c0a04ef
2026-10-26 14:50:44,140 - INFO - ================================================================================
2026-10-26 14:50:44,140 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-26 14:50:44,140 - 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-10-26 14:50:44,420 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2026-10-26 14:50:44,420 - INFO - Initial checks done. Running the testcase now
2026-10-26 14:50:44,420 - INFO -
2026-10-26 14:50:45,176 - DEBUG - Response for create_network : {'network': {'id': '583eb142-d5c4-4393-abaa-4d46cd02623d', 'name': 'ctest-vn-01589595', 'tenant_id': '41e601f6bc9c4578939493c07c0a04ef', 'project_id': '41e601f6bc9c4578939493c07c0a04ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-vn-01589595'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 14:50:45,454 - DEBUG - Response for create_subnet : {'subnet': {'id': '2354bdd9-51da-4c02-a3a7-0e98a62ef8fe', 'name': '', 'tenant_id': '41e601f6bc9c4578939493c07c0a04ef', 'network_id': '583eb142-d5c4-4393-abaa-4d46cd02623d', 'ip_version': 4, 'cidr': '195.224.214.128/26', 'allocation_pools': [{'start': '195.224.214.130', 'end': '195.224.214.190'}], 'gateway_ip': '195.224.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.224.214.130', 'tags': [], 'project_id': '41e601f6bc9c4578939493c07c0a04ef'}}
2026-10-26 14:50:45,479 - INFO - Created VN ctest-vn-01589595
2026-10-26 14:50:45,535 - DEBUG - VN ctest-vn-01589595 UUID is 583eb142-d5c4-4393-abaa-4d46cd02623d
2026-10-26 14:50:45,919 - DEBUG - Response for create_network : {'network': {'id': '7d90c7a7-a405-4be2-8caf-41f25d738ec0', 'name': 'ctest-vn-80185343', 'tenant_id': '41e601f6bc9c4578939493c07c0a04ef', 'project_id': '41e601f6bc9c4578939493c07c0a04ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-vn-80185343'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 14:50:46,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '33317510-edd1-485b-868d-d24d80e08819', 'name': '', 'tenant_id': '41e601f6bc9c4578939493c07c0a04ef', 'network_id': '7d90c7a7-a405-4be2-8caf-41f25d738ec0', 'ip_version': 4, 'cidr': '203.41.201.64/26', 'allocation_pools': [{'start': '203.41.201.66', 'end': '203.41.201.126'}], 'gateway_ip': '203.41.201.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.41.201.66', 'tags': [], 'project_id': '41e601f6bc9c4578939493c07c0a04ef'}}
2026-10-26 14:50:46,188 - INFO - Created VN ctest-vn-80185343
2026-10-26 14:50:46,247 - DEBUG - VN ctest-vn-80185343 UUID is 7d90c7a7-a405-4be2-8caf-41f25d738ec0
2026-10-26 14:50:46,388 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-01589595, 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-67857614:ctest-vn-80185343, 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-10-26 14:50:46,739 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '583eb142-d5c4-4393-abaa-4d46cd02623d', 'name': 'ctest-vn-01589595', 'tenant_id': '41e601f6bc9c4578939493c07c0a04ef', 'project_id': '41e601f6bc9c4578939493c07c0a04ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2354bdd9-51da-4c02-a3a7-0e98a62ef8fe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-vn-01589595'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-policy-allow-all-75005186']], 'subnet_ipam': [{'subnet_cidr': '195.224.214.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-26 14:50:47,013 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d90c7a7-a405-4be2-8caf-41f25d738ec0', 'name': 'ctest-vn-80185343', 'tenant_id': '41e601f6bc9c4578939493c07c0a04ef', 'project_id': '41e601f6bc9c4578939493c07c0a04ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['33317510-edd1-485b-868d-d24d80e08819'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-vn-80185343'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-policy-allow-all-75005186']], 'subnet_ipam': [{'subnet_cidr': '203.41.201.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-26 14:50:47,199 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-26 14:50:47,599 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-26 14:50:47,634 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e291b5af-3f0f-463e-9ce9-038a05513fec
2026-10-26 14:50:47,651 - DEBUG - Requesting: http://10.0.0.38:8082/project/41e601f6-bc9c-4578-9394-93c07c0a04ef
2026-10-26 14:50:47,738 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/583eb142-d5c4-4393-abaa-4d46cd02623d
2026-10-26 14:50:47,753 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/583eb142-d5c4-4393-abaa-4d46cd02623d
2026-10-26 14:50:47,767 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/889bc88f-e68d-4cfd-8442-4708ec47262e
2026-10-26 14:50:47,777 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/889bc88f-e68d-4cfd-8442-4708ec47262e
2026-10-26 14:50:47,787 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a096238e-c0c1-4ad1-bee8-79f6264dc20e
2026-10-26 14:50:47,797 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-26 14:50:47,797 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/583eb142-d5c4-4393-abaa-4d46cd02623d
2026-10-26 14:50:47,811 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/889bc88f-e68d-4cfd-8442-4708ec47262e
2026-10-26 14:50:47,830 - INFO - Verified VN network id 12 for VN 583eb142-d5c4-4393-abaa-4d46cd02623d
2026-10-26 14:50:47,830 - INFO - Verifications in API Server for VN ctest-vn-01589595 passed
2026-10-26 14:50:47,831 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/583eb142-d5c4-4393-abaa-4d46cd02623d
2026-10-26 14:50:47,845 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/889bc88f-e68d-4cfd-8442-4708ec47262e
2026-10-26 14:50:47,857 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/889bc88f-e68d-4cfd-8442-4708ec47262e
2026-10-26 14:50:47,872 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a096238e-c0c1-4ad1-bee8-79f6264dc20e
2026-10-26 14:50:47,897 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-01589595', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67857614', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6358714624506086291', 'uuid-lslong': '12369784293009023549'}, 'enable': 'true', 'created': '2026-10-26T14:50:45', 'last-modified': '2026-10-26T14:50:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.192270'}
2026-10-26 14:50:47,907 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-26 14:50:47,908 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01589595 passed
2026-10-26 14:50:47,908 - DEBUG - ====Verifying policy data for ctest-vn-01589595 in API_Server ======
2026-10-26 14:50:47,908 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-26 14:50:47,916 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e291b5af-3f0f-463e-9ce9-038a05513fec
2026-10-26 14:50:47,931 - DEBUG - Requesting: http://10.0.0.38:8082/project/41e601f6-bc9c-4578-9394-93c07c0a04ef
2026-10-26 14:50:48,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/583eb142-d5c4-4393-abaa-4d46cd02623d
2026-10-26 14:50:48,043 - DEBUG - ==>Verifying data for policy with id: 26aa80ef-8970-4442-9103-139721e44bbe, fqn: ['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-policy-allow-all-75005186']
2026-10-26 14:50:48,043 - INFO - VN ctest-vn-01589595 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-26 14:50:48,043 - DEBUG - Verifying the vn in opserver
2026-10-26 14:50:48,044 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-01589595 virtual network link through opserver 10.0.0.38
2026-10-26 14:50:48,044 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-26 14:50:48,434 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-26 14:50:48,507 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-01589595', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-01589595?flat'}
2026-10-26 14:50:48,507 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-01589595 is found in opserver
2026-10-26 14:50:48,519 - DEBUG - Do not have enough data to verify VN in agent
2026-10-26 14:50:48,526 - DEBUG - VRF ids for VN ctest-vn-01589595: {}
2026-10-26 14:50:48,526 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-26 14:50:48,534 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e291b5af-3f0f-463e-9ce9-038a05513fec
2026-10-26 14:50:48,548 - DEBUG - Requesting: http://10.0.0.38:8082/project/41e601f6-bc9c-4578-9394-93c07c0a04ef
2026-10-26 14:50:48,631 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d90c7a7-a405-4be2-8caf-41f25d738ec0
2026-10-26 14:50:48,646 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d90c7a7-a405-4be2-8caf-41f25d738ec0
2026-10-26 14:50:48,660 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/710a3cbe-bd9f-4357-a2a1-f16315fcb955
2026-10-26 14:50:48,673 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/710a3cbe-bd9f-4357-a2a1-f16315fcb955
2026-10-26 14:50:48,683 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9bec867d-5288-4529-bd09-d81e0661ea9d
2026-10-26 14:50:48,693 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-26 14:50:48,693 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d90c7a7-a405-4be2-8caf-41f25d738ec0
2026-10-26 14:50:48,705 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/710a3cbe-bd9f-4357-a2a1-f16315fcb955
2026-10-26 14:50:48,724 - INFO - Verified VN network id 13 for VN 7d90c7a7-a405-4be2-8caf-41f25d738ec0
2026-10-26 14:50:48,724 - INFO - Verifications in API Server for VN ctest-vn-80185343 passed
2026-10-26 14:50:48,724 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d90c7a7-a405-4be2-8caf-41f25d738ec0
2026-10-26 14:50:48,736 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/710a3cbe-bd9f-4357-a2a1-f16315fcb955
2026-10-26 14:50:48,745 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/710a3cbe-bd9f-4357-a2a1-f16315fcb955
2026-10-26 14:50:48,753 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9bec867d-5288-4529-bd09-d81e0661ea9d
2026-10-26 14:50:48,773 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-80185343', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67857614', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9047951174212602850', 'uuid-lslong': '10137393795440021184'}, 'enable': 'true', 'created': '2026-10-26T14:50:45', 'last-modified': '2026-10-26T14:50:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.799467'}
2026-10-26 14:50:48,783 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-26 14:50:48,784 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80185343 passed
2026-10-26 14:50:48,784 - DEBUG - ====Verifying policy data for ctest-vn-80185343 in API_Server ======
2026-10-26 14:50:48,784 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-26 14:50:48,792 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e291b5af-3f0f-463e-9ce9-038a05513fec
2026-10-26 14:50:48,806 - DEBUG - Requesting: http://10.0.0.38:8082/project/41e601f6-bc9c-4578-9394-93c07c0a04ef
2026-10-26 14:50:48,896 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d90c7a7-a405-4be2-8caf-41f25d738ec0
2026-10-26 14:50:48,909 - DEBUG - ==>Verifying data for policy with id: 26aa80ef-8970-4442-9103-139721e44bbe, fqn: ['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-policy-allow-all-75005186']
2026-10-26 14:50:48,909 - INFO - VN ctest-vn-80185343 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-26 14:50:48,909 - DEBUG - Verifying the vn in opserver
2026-10-26 14:50:48,909 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-80185343 virtual network link through opserver 10.0.0.38
2026-10-26 14:50:48,909 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-26 14:50:48,921 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-80185343', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-80185343?flat'}
2026-10-26 14:50:48,921 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-80185343 is found in opserver
2026-10-26 14:50:48,935 - DEBUG - Do not have enough data to verify VN in agent
2026-10-26 14:50:48,940 - DEBUG - VRF ids for VN ctest-vn-80185343: {}
2026-10-26 14:50:49,014 - DEBUG - Services list from nova: [