2026-02-22 13:19:40,677 - INFO - Domain Default found not creating
2026-02-22 13:19:40,851 - INFO - Project ctest-TestBasicPolicy-48447446 not found, creating it
2026-02-22 13:19:41,310 - INFO - Created Project:ctest-TestBasicPolicy-48447446, ID : 2ab91ba6-0aa1-44e4-bc6f-110cf87e6dab
2026-02-22 13:19:42,842 - INFO - ================================================================================
2026-02-22 13:19:42,843 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-22 13:19:42,843 - 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-22 13:19:43,100 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-22 13:19:43,100 - INFO - Initial checks done. Running the testcase now
2026-02-22 13:19:43,100 - INFO -
2026-02-22 13:19:43,657 - DEBUG - Response for create_network : {'network': {'id': '46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc', 'name': 'ctest-vn-56055845', 'tenant_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'project_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-vn-56055845'], 'port_security_enabled': True, 'description': ''}}
2026-02-22 13:19:43,834 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0fcdde9-1792-4d0e-b623-a2b53b9d7b9e', 'name': '', 'tenant_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'network_id': '46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc', 'ip_version': 4, 'cidr': '50.243.63.128/26', 'allocation_pools': [{'start': '50.243.63.130', 'end': '50.243.63.190'}], 'gateway_ip': '50.243.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.243.63.130', 'tags': [], 'project_id': '2ab91ba60aa144e4bc6f110cf87e6dab'}}
2026-02-22 13:19:43,853 - INFO - Created VN ctest-vn-56055845
2026-02-22 13:19:43,907 - DEBUG - VN ctest-vn-56055845 UUID is 46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc
2026-02-22 13:19:44,201 - DEBUG - Response for create_network : {'network': {'id': '73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44', 'name': 'ctest-vn-22199850', 'tenant_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'project_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-vn-22199850'], 'port_security_enabled': True, 'description': ''}}
2026-02-22 13:19:44,418 - DEBUG - Response for create_subnet : {'subnet': {'id': '82ed99a0-0662-4cfc-ad75-26abd6b20faa', 'name': '', 'tenant_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'network_id': '73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44', 'ip_version': 4, 'cidr': '73.59.106.192/26', 'allocation_pools': [{'start': '73.59.106.194', 'end': '73.59.106.254'}], 'gateway_ip': '73.59.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.59.106.194', 'tags': [], 'project_id': '2ab91ba60aa144e4bc6f110cf87e6dab'}}
2026-02-22 13:19:44,438 - INFO - Created VN ctest-vn-22199850
2026-02-22 13:19:44,491 - DEBUG - VN ctest-vn-22199850 UUID is 73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44
2026-02-22 13:19:44,607 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-56055845, 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-48447446:ctest-vn-22199850, 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-22 13:19:44,919 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc', 'name': 'ctest-vn-56055845', 'tenant_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'project_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0fcdde9-1792-4d0e-b623-a2b53b9d7b9e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-vn-56055845'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-policy-allow-all-03505173']], 'subnet_ipam': [{'subnet_cidr': '50.243.63.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-22 13:19:45,140 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44', 'name': 'ctest-vn-22199850', 'tenant_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'project_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['82ed99a0-0662-4cfc-ad75-26abd6b20faa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-vn-22199850'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-policy-allow-all-03505173']], 'subnet_ipam': [{'subnet_cidr': '73.59.106.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-22 13:19:45,315 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-22 13:19:45,615 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-22 13:19:45,648 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6618ba25-1f9b-4236-9a58-41fefe83d7e5
2026-02-22 13:19:45,660 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ab91ba6-0aa1-44e4-bc6f-110cf87e6dab
2026-02-22 13:19:45,734 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc
2026-02-22 13:19:45,747 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc
2026-02-22 13:19:45,758 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9be2f9a5-f640-44a6-849f-d656dc7c9644
2026-02-22 13:19:45,765 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9be2f9a5-f640-44a6-849f-d656dc7c9644
2026-02-22 13:19:45,772 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9ef14319-5854-4d9f-aee2-25dbd9249f3b
2026-02-22 13:19:45,779 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-22 13:19:45,779 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc
2026-02-22 13:19:45,790 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9be2f9a5-f640-44a6-849f-d656dc7c9644
2026-02-22 13:19:45,808 - INFO - Verified VN network id 11 for VN 46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc
2026-02-22 13:19:45,808 - INFO - Verifications in API Server for VN ctest-vn-56055845 passed
2026-02-22 13:19:45,808 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc
2026-02-22 13:19:45,817 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9be2f9a5-f640-44a6-849f-d656dc7c9644
2026-02-22 13:19:45,825 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9be2f9a5-f640-44a6-849f-d656dc7c9644
2026-02-22 13:19:45,832 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9ef14319-5854-4d9f-aee2-25dbd9249f3b
2026-02-22 13:19:45,844 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-56055845', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48447446', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5101671087718549947', 'uuid-lslong': '11585430497789800700'}, 'enable': 'true', 'created': '2026-02-22T13:19:43', 'last-modified': '2026-02-22T13:19:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954625'}
2026-02-22 13:19:45,850 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-22 13:19:45,850 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56055845 passed
2026-02-22 13:19:45,850 - DEBUG - ====Verifying policy data for ctest-vn-56055845 in API_Server ======
2026-02-22 13:19:45,850 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-22 13:19:45,855 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6618ba25-1f9b-4236-9a58-41fefe83d7e5
2026-02-22 13:19:45,866 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ab91ba6-0aa1-44e4-bc6f-110cf87e6dab
2026-02-22 13:19:45,938 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc
2026-02-22 13:19:45,947 - DEBUG - ==>Verifying data for policy with id: ea44e57a-fd18-4e2d-8963-56a205a984f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-policy-allow-all-03505173']
2026-02-22 13:19:45,947 - INFO - VN ctest-vn-56055845 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-22 13:19:45,947 - DEBUG - Verifying the vn in opserver
2026-02-22 13:19:45,947 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-56055845 virtual network link through opserver 10.0.0.50
2026-02-22 13:19:45,947 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-22 13:19:46,240 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-22 13:19:46,301 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-56055845', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-56055845?flat'}
2026-02-22 13:19:46,301 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-56055845 is found in opserver
2026-02-22 13:19:46,310 - DEBUG - Do not have enough data to verify VN in agent
2026-02-22 13:19:46,315 - DEBUG - VRF ids for VN ctest-vn-56055845: {}
2026-02-22 13:19:46,315 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-22 13:19:46,320 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6618ba25-1f9b-4236-9a58-41fefe83d7e5
2026-02-22 13:19:46,331 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ab91ba6-0aa1-44e4-bc6f-110cf87e6dab
2026-02-22 13:19:46,399 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44
2026-02-22 13:19:46,409 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44
2026-02-22 13:19:46,417 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/010756ad-3e3e-4c24-aee2-f3f104f17651
2026-02-22 13:19:46,424 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/010756ad-3e3e-4c24-aee2-f3f104f17651
2026-02-22 13:19:46,430 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ab8d2883-fc5d-46f1-a1e2-03a0a1320e03
2026-02-22 13:19:46,437 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-22 13:19:46,437 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44
2026-02-22 13:19:46,445 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/010756ad-3e3e-4c24-aee2-f3f104f17651
2026-02-22 13:19:46,459 - INFO - Verified VN network id 12 for VN 73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44
2026-02-22 13:19:46,459 - INFO - Verifications in API Server for VN ctest-vn-22199850 passed
2026-02-22 13:19:46,459 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44
2026-02-22 13:19:46,469 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/010756ad-3e3e-4c24-aee2-f3f104f17651
2026-02-22 13:19:46,477 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/010756ad-3e3e-4c24-aee2-f3f104f17651
2026-02-22 13:19:46,484 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ab8d2883-fc5d-46f1-a1e2-03a0a1320e03
2026-02-22 13:19:46,497 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-22199850', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48447446', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8343459607969090573', 'uuid-lslong': '13641163433196011332'}, 'enable': 'true', 'created': '2026-02-22T13:19:44', 'last-modified': '2026-02-22T13:19:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.379438'}
2026-02-22 13:19:46,502 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-22 13:19:46,502 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22199850 passed
2026-02-22 13:19:46,502 - DEBUG - ====Verifying policy data for ctest-vn-22199850 in API_Server ======
2026-02-22 13:19:46,502 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-22 13:19:46,508 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6618ba25-1f9b-4236-9a58-41fefe83d7e5
2026-02-22 13:19:46,519 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ab91ba6-0aa1-44e4-bc6f-110cf87e6dab
2026-02-22 13:19:46,590 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44
2026-02-22 13:19:46,600 - DEBUG - ==>Verifying data for policy with id: ea44e57a-fd18-4e2d-8963-56a205a984f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-policy-allow-all-03505173']
2026-02-22 13:19:46,600 - INFO - VN ctest-vn-22199850 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-22 13:19:46,600 - DEBUG - Verifying the vn in opserver
2026-02-22 13:19:46,600 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-22199850 virtual network link through opserver 10.0.0.50
2026-02-22 13:19:46,600 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-22 13:19:46,610 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-22199850', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-22199850?flat'}
2026-02-22 13:19:46,610 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-22199850 is found in opserver
2026-02-22 13:19:46,619 - DEBUG - Do not have enough data to verify VN in agent
2026-02-22 13:19:46,623 - DEBUG - VRF ids for VN ctest-vn-22199850: {}
2026-02-22 13:19:46,679 - DEBUG - Services list from nova: [