2026-02-10 18:22:22,171 - INFO - Domain Default found not creating
2026-02-10 18:22:22,578 - INFO - Project ctest-TestBasicPolicy-11213617 not found, creating it
2026-02-10 18:22:23,232 - INFO - Created Project:ctest-TestBasicPolicy-11213617, ID : 4ccc2064-55cd-450a-96b3-aa7b31a7469e
2026-02-10 18:22:25,613 - INFO - ================================================================================
2026-02-10 18:22:25,614 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 18:22:25,614 - 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:22:25,955 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2026-02-10 18:22:25,955 - INFO - Initial checks done. Running the testcase now
2026-02-10 18:22:25,955 - INFO -
2026-02-10 18:22:26,864 - DEBUG - Response for create_network : {'network': {'id': 'ea0e2712-6c13-4981-b63e-66ff142f48b9', 'name': 'ctest-vn-39652190', 'tenant_id': '4ccc206455cd450a96b3aa7b31a7469e', 'project_id': '4ccc206455cd450a96b3aa7b31a7469e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-vn-39652190'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:22:27,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '1292a1f1-9043-484c-b455-1e65cfbadd56', 'name': '', 'tenant_id': '4ccc206455cd450a96b3aa7b31a7469e', 'network_id': 'ea0e2712-6c13-4981-b63e-66ff142f48b9', 'ip_version': 4, 'cidr': '134.237.200.64/26', 'allocation_pools': [{'start': '134.237.200.66', 'end': '134.237.200.126'}], 'gateway_ip': '134.237.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.237.200.66', 'tags': [], 'project_id': '4ccc206455cd450a96b3aa7b31a7469e'}}
2026-02-10 18:22:27,177 - INFO - Created VN ctest-vn-39652190
2026-02-10 18:22:27,233 - DEBUG - VN ctest-vn-39652190 UUID is ea0e2712-6c13-4981-b63e-66ff142f48b9
2026-02-10 18:22:27,683 - DEBUG - Response for create_network : {'network': {'id': 'a0e4186f-b72d-4967-8344-691a36a69251', 'name': 'ctest-vn-82430931', 'tenant_id': '4ccc206455cd450a96b3aa7b31a7469e', 'project_id': '4ccc206455cd450a96b3aa7b31a7469e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-vn-82430931'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:22:27,986 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a74836d4-7ec4-4aae-92e1-41e2a89e4514', 'name': '', 'tenant_id': '4ccc206455cd450a96b3aa7b31a7469e', 'network_id': 'a0e4186f-b72d-4967-8344-691a36a69251', 'ip_version': 4, 'cidr': '105.39.78.0/26', 'allocation_pools': [{'start': '105.39.78.2', 'end': '105.39.78.62'}], 'gateway_ip': '105.39.78.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.39.78.2', 'tags': [], 'project_id': '4ccc206455cd450a96b3aa7b31a7469e'}}
2026-02-10 18:22:28,012 - INFO - Created VN ctest-vn-82430931
2026-02-10 18:22:28,069 - DEBUG - VN ctest-vn-82430931 UUID is a0e4186f-b72d-4967-8344-691a36a69251
2026-02-10 18:22:28,254 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-39652190, 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-11213617:ctest-vn-82430931, 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:22:28,648 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ea0e2712-6c13-4981-b63e-66ff142f48b9', 'name': 'ctest-vn-39652190', 'tenant_id': '4ccc206455cd450a96b3aa7b31a7469e', 'project_id': '4ccc206455cd450a96b3aa7b31a7469e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1292a1f1-9043-484c-b455-1e65cfbadd56'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-vn-39652190'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-policy-allow-all-59683567']], 'subnet_ipam': [{'subnet_cidr': '134.237.200.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:22:29,003 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a0e4186f-b72d-4967-8344-691a36a69251', 'name': 'ctest-vn-82430931', 'tenant_id': '4ccc206455cd450a96b3aa7b31a7469e', 'project_id': '4ccc206455cd450a96b3aa7b31a7469e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a74836d4-7ec4-4aae-92e1-41e2a89e4514'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-vn-82430931'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-policy-allow-all-59683567']], 'subnet_ipam': [{'subnet_cidr': '105.39.78.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:22:29,176 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-10 18:22:29,486 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-10 18:22:29,541 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d3aa0490-5e83-4562-bbf1-3a9306597ed6
2026-02-10 18:22:29,570 - DEBUG - Requesting: http://10.0.0.242:8082/project/4ccc2064-55cd-450a-96b3-aa7b31a7469e
2026-02-10 18:22:29,693 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea0e2712-6c13-4981-b63e-66ff142f48b9
2026-02-10 18:22:29,720 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea0e2712-6c13-4981-b63e-66ff142f48b9
2026-02-10 18:22:29,742 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/614b34db-34ef-49b6-91c3-136e986b92b0
2026-02-10 18:22:29,764 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/614b34db-34ef-49b6-91c3-136e986b92b0
2026-02-10 18:22:29,785 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4201ddbb-fd82-4b87-95fa-6a4a7aac5f4d
2026-02-10 18:22:29,799 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 18:22:29,799 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea0e2712-6c13-4981-b63e-66ff142f48b9
2026-02-10 18:22:29,827 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/614b34db-34ef-49b6-91c3-136e986b92b0
2026-02-10 18:22:29,868 - INFO - Verified VN network id 11 for VN ea0e2712-6c13-4981-b63e-66ff142f48b9
2026-02-10 18:22:29,869 - INFO - Verifications in API Server for VN ctest-vn-39652190 passed
2026-02-10 18:22:29,869 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea0e2712-6c13-4981-b63e-66ff142f48b9
2026-02-10 18:22:29,883 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/614b34db-34ef-49b6-91c3-136e986b92b0
2026-02-10 18:22:29,891 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/614b34db-34ef-49b6-91c3-136e986b92b0
2026-02-10 18:22:29,905 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4201ddbb-fd82-4b87-95fa-6a4a7aac5f4d
2026-02-10 18:22:29,932 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-39652190', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11213617', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16865460614625184129', 'uuid-lslong': '13132046809200281785'}, 'enable': 'true', 'created': '2026-02-10T18:22:26', 'last-modified': '2026-02-10T18:22:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.315270'}
2026-02-10 18:22:29,950 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 18:22:29,951 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39652190 passed
2026-02-10 18:22:29,951 - DEBUG - ====Verifying policy data for ctest-vn-39652190 in API_Server ======
2026-02-10 18:22:29,951 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-10 18:22:29,960 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d3aa0490-5e83-4562-bbf1-3a9306597ed6
2026-02-10 18:22:29,984 - DEBUG - Requesting: http://10.0.0.242:8082/project/4ccc2064-55cd-450a-96b3-aa7b31a7469e
2026-02-10 18:22:30,104 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea0e2712-6c13-4981-b63e-66ff142f48b9
2026-02-10 18:22:30,127 - DEBUG - ==>Verifying data for policy with id: f72c279b-490e-4b29-bddf-917859bfda48, fqn: ['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-policy-allow-all-59683567']
2026-02-10 18:22:30,127 - INFO - VN ctest-vn-39652190 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 18:22:30,127 - DEBUG - Verifying the vn in opserver
2026-02-10 18:22:30,127 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-39652190 virtual network link through opserver 10.0.0.242
2026-02-10 18:22:30,128 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-10 18:22:30,479 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-10 18:22:30,588 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-39652190', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-39652190?flat'}
2026-02-10 18:22:30,588 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-39652190 is found in opserver
2026-02-10 18:22:30,609 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 18:22:30,622 - DEBUG - VRF ids for VN ctest-vn-39652190: {}
2026-02-10 18:22:30,622 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-10 18:22:30,630 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d3aa0490-5e83-4562-bbf1-3a9306597ed6
2026-02-10 18:22:30,652 - DEBUG - Requesting: http://10.0.0.242:8082/project/4ccc2064-55cd-450a-96b3-aa7b31a7469e
2026-02-10 18:22:30,771 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a0e4186f-b72d-4967-8344-691a36a69251
2026-02-10 18:22:30,798 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a0e4186f-b72d-4967-8344-691a36a69251
2026-02-10 18:22:30,823 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a8054fd5-867d-4430-9eaa-c1cbb0174878
2026-02-10 18:22:30,840 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a8054fd5-867d-4430-9eaa-c1cbb0174878
2026-02-10 18:22:30,854 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/231cd08e-e7cd-4e65-a817-dcf47519abd1
2026-02-10 18:22:30,868 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 18:22:30,869 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a0e4186f-b72d-4967-8344-691a36a69251
2026-02-10 18:22:30,885 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a8054fd5-867d-4430-9eaa-c1cbb0174878
2026-02-10 18:22:30,915 - INFO - Verified VN network id 12 for VN a0e4186f-b72d-4967-8344-691a36a69251
2026-02-10 18:22:30,915 - INFO - Verifications in API Server for VN ctest-vn-82430931 passed
2026-02-10 18:22:30,915 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a0e4186f-b72d-4967-8344-691a36a69251
2026-02-10 18:22:30,937 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a8054fd5-867d-4430-9eaa-c1cbb0174878
2026-02-10 18:22:30,954 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a8054fd5-867d-4430-9eaa-c1cbb0174878
2026-02-10 18:22:30,963 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/231cd08e-e7cd-4e65-a817-dcf47519abd1
2026-02-10 18:22:30,982 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-82430931', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11213617', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11593418208852134247', 'uuid-lslong': '9458800678691836497'}, 'enable': 'true', 'created': '2026-02-10T18:22:27', 'last-modified': '2026-02-10T18:22:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.042025'}
2026-02-10 18:22:30,996 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 18:22:30,996 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82430931 passed
2026-02-10 18:22:30,996 - DEBUG - ====Verifying policy data for ctest-vn-82430931 in API_Server ======
2026-02-10 18:22:30,996 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-10 18:22:31,007 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d3aa0490-5e83-4562-bbf1-3a9306597ed6
2026-02-10 18:22:31,028 - DEBUG - Requesting: http://10.0.0.242:8082/project/4ccc2064-55cd-450a-96b3-aa7b31a7469e
2026-02-10 18:22:31,134 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a0e4186f-b72d-4967-8344-691a36a69251
2026-02-10 18:22:31,155 - DEBUG - ==>Verifying data for policy with id: f72c279b-490e-4b29-bddf-917859bfda48, fqn: ['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-policy-allow-all-59683567']
2026-02-10 18:22:31,155 - INFO - VN ctest-vn-82430931 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 18:22:31,155 - DEBUG - Verifying the vn in opserver
2026-02-10 18:22:31,156 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-82430931 virtual network link through opserver 10.0.0.242
2026-02-10 18:22:31,156 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-10 18:22:31,175 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-82430931', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-82430931?flat'}
2026-02-10 18:22:31,175 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-82430931 is found in opserver
2026-02-10 18:22:31,197 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 18:22:31,209 - DEBUG - VRF ids for VN ctest-vn-82430931: {}
2026-02-10 18:22:31,348 - DEBUG - Services list from nova: [