2026-02-05 17:39:01,511 - INFO - Domain Default found not creating
2026-02-05 17:39:01,782 - INFO - Project ctest-TestBasicPolicy-87621904 not found, creating it
2026-02-05 17:39:02,267 - INFO - Created Project:ctest-TestBasicPolicy-87621904, ID : f18453b4-b2ab-4118-8530-30bcc97cb555
2026-02-05 17:39:04,057 - INFO - ================================================================================
2026-02-05 17:39:04,057 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-05 17:39:04,057 - 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-05 17:39:04,338 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-05 17:39:04,338 - INFO - Initial checks done. Running the testcase now
2026-02-05 17:39:04,338 - INFO -
2026-02-05 17:39:05,483 - DEBUG - Response for create_network : {'network': {'id': '7dca2b97-34dd-42c4-9122-96c3dd0e7261', 'name': 'ctest-vn-99387534', 'tenant_id': 'f18453b4b2ab4118853030bcc97cb555', 'project_id': 'f18453b4b2ab4118853030bcc97cb555', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-vn-99387534'], 'port_security_enabled': True, 'description': ''}}
2026-02-05 17:39:05,670 - DEBUG - Response for create_subnet : {'subnet': {'id': '3cf83fea-9f33-4916-839f-378233183f27', 'name': '', 'tenant_id': 'f18453b4b2ab4118853030bcc97cb555', 'network_id': '7dca2b97-34dd-42c4-9122-96c3dd0e7261', 'ip_version': 4, 'cidr': '79.88.45.128/26', 'allocation_pools': [{'start': '79.88.45.130', 'end': '79.88.45.190'}], 'gateway_ip': '79.88.45.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.88.45.130', 'tags': [], 'project_id': 'f18453b4b2ab4118853030bcc97cb555'}}
2026-02-05 17:39:05,688 - INFO - Created VN ctest-vn-99387534
2026-02-05 17:39:05,739 - DEBUG - VN ctest-vn-99387534 UUID is 7dca2b97-34dd-42c4-9122-96c3dd0e7261
2026-02-05 17:39:06,138 - DEBUG - Response for create_network : {'network': {'id': 'b2a564ee-243c-4621-8d9b-4be040f0ae88', 'name': 'ctest-vn-24202198', 'tenant_id': 'f18453b4b2ab4118853030bcc97cb555', 'project_id': 'f18453b4b2ab4118853030bcc97cb555', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-vn-24202198'], 'port_security_enabled': True, 'description': ''}}
2026-02-05 17:39:06,411 - DEBUG - Response for create_subnet : {'subnet': {'id': '32191282-4e8c-4949-9dfb-2d577475610b', 'name': '', 'tenant_id': 'f18453b4b2ab4118853030bcc97cb555', 'network_id': 'b2a564ee-243c-4621-8d9b-4be040f0ae88', 'ip_version': 4, 'cidr': '175.115.71.128/26', 'allocation_pools': [{'start': '175.115.71.130', 'end': '175.115.71.190'}], 'gateway_ip': '175.115.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.115.71.130', 'tags': [], 'project_id': 'f18453b4b2ab4118853030bcc97cb555'}}
2026-02-05 17:39:06,436 - INFO - Created VN ctest-vn-24202198
2026-02-05 17:39:06,492 - DEBUG - VN ctest-vn-24202198 UUID is b2a564ee-243c-4621-8d9b-4be040f0ae88
2026-02-05 17:39:06,623 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-99387534, 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-87621904:ctest-vn-24202198, 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-05 17:39:06,978 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7dca2b97-34dd-42c4-9122-96c3dd0e7261', 'name': 'ctest-vn-99387534', 'tenant_id': 'f18453b4b2ab4118853030bcc97cb555', 'project_id': 'f18453b4b2ab4118853030bcc97cb555', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3cf83fea-9f33-4916-839f-378233183f27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-vn-99387534'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-policy-allow-all-22098134']], 'subnet_ipam': [{'subnet_cidr': '79.88.45.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-05 17:39:07,305 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b2a564ee-243c-4621-8d9b-4be040f0ae88', 'name': 'ctest-vn-24202198', 'tenant_id': 'f18453b4b2ab4118853030bcc97cb555', 'project_id': 'f18453b4b2ab4118853030bcc97cb555', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['32191282-4e8c-4949-9dfb-2d577475610b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-vn-24202198'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-policy-allow-all-22098134']], 'subnet_ipam': [{'subnet_cidr': '175.115.71.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-05 17:39:07,447 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 17:39:07,752 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 17:39:07,799 - DEBUG - Requesting: http://10.0.0.50:8082/domain/95764fa1-47f3-423c-9a8f-8b9a49e5a97c
2026-02-05 17:39:07,826 - DEBUG - Requesting: http://10.0.0.50:8082/project/f18453b4-b2ab-4118-8530-30bcc97cb555
2026-02-05 17:39:07,935 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7dca2b97-34dd-42c4-9122-96c3dd0e7261
2026-02-05 17:39:07,954 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7dca2b97-34dd-42c4-9122-96c3dd0e7261
2026-02-05 17:39:07,969 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6b005e8a-2b0e-4592-8da2-63c34a09af39
2026-02-05 17:39:07,985 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6b005e8a-2b0e-4592-8da2-63c34a09af39
2026-02-05 17:39:07,994 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/baead6c0-08a5-4063-963e-624595a42785
2026-02-05 17:39:08,006 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-05 17:39:08,006 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7dca2b97-34dd-42c4-9122-96c3dd0e7261
2026-02-05 17:39:08,020 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6b005e8a-2b0e-4592-8da2-63c34a09af39
2026-02-05 17:39:08,044 - INFO - Verified VN network id 11 for VN 7dca2b97-34dd-42c4-9122-96c3dd0e7261
2026-02-05 17:39:08,045 - INFO - Verifications in API Server for VN ctest-vn-99387534 passed
2026-02-05 17:39:08,045 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7dca2b97-34dd-42c4-9122-96c3dd0e7261
2026-02-05 17:39:08,062 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6b005e8a-2b0e-4592-8da2-63c34a09af39
2026-02-05 17:39:08,072 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6b005e8a-2b0e-4592-8da2-63c34a09af39
2026-02-05 17:39:08,082 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/baead6c0-08a5-4063-963e-624595a42785
2026-02-05 17:39:08,097 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-99387534', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87621904', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9064105128463516356', 'uuid-lslong': '10458087052679213665'}, 'enable': 'true', 'created': '2026-02-05T17:39:05', 'last-modified': '2026-02-05T17:39:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.154530'}
2026-02-05 17:39:08,105 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-05 17:39:08,105 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99387534 passed
2026-02-05 17:39:08,105 - DEBUG - ====Verifying policy data for ctest-vn-99387534 in API_Server ======
2026-02-05 17:39:08,106 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 17:39:08,112 - DEBUG - Requesting: http://10.0.0.50:8082/domain/95764fa1-47f3-423c-9a8f-8b9a49e5a97c
2026-02-05 17:39:08,128 - DEBUG - Requesting: http://10.0.0.50:8082/project/f18453b4-b2ab-4118-8530-30bcc97cb555
2026-02-05 17:39:08,212 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7dca2b97-34dd-42c4-9122-96c3dd0e7261
2026-02-05 17:39:08,223 - DEBUG - ==>Verifying data for policy with id: 4edc5e29-4275-42ae-9fa0-ea7b29d70742, fqn: ['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-policy-allow-all-22098134']
2026-02-05 17:39:08,223 - INFO - VN ctest-vn-99387534 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-05 17:39:08,223 - DEBUG - Verifying the vn in opserver
2026-02-05 17:39:08,223 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-99387534 virtual network link through opserver 10.0.0.50
2026-02-05 17:39:08,223 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-05 17:39:08,548 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-05 17:39:08,625 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-99387534', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-99387534?flat'}
2026-02-05 17:39:08,625 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-99387534 is found in opserver
2026-02-05 17:39:08,647 - DEBUG - Do not have enough data to verify VN in agent
2026-02-05 17:39:08,656 - DEBUG - VRF ids for VN ctest-vn-99387534: {}
2026-02-05 17:39:08,656 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 17:39:08,662 - DEBUG - Requesting: http://10.0.0.50:8082/domain/95764fa1-47f3-423c-9a8f-8b9a49e5a97c
2026-02-05 17:39:08,675 - DEBUG - Requesting: http://10.0.0.50:8082/project/f18453b4-b2ab-4118-8530-30bcc97cb555
2026-02-05 17:39:08,774 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2a564ee-243c-4621-8d9b-4be040f0ae88
2026-02-05 17:39:08,794 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2a564ee-243c-4621-8d9b-4be040f0ae88
2026-02-05 17:39:08,812 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/71d61be7-1105-4623-aa6d-04f9adc39b6e
2026-02-05 17:39:08,827 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/71d61be7-1105-4623-aa6d-04f9adc39b6e
2026-02-05 17:39:08,843 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c286002c-28d5-4c88-a8da-d495901a9c1c
2026-02-05 17:39:08,860 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-05 17:39:08,860 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2a564ee-243c-4621-8d9b-4be040f0ae88
2026-02-05 17:39:08,872 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/71d61be7-1105-4623-aa6d-04f9adc39b6e
2026-02-05 17:39:08,894 - INFO - Verified VN network id 12 for VN b2a564ee-243c-4621-8d9b-4be040f0ae88
2026-02-05 17:39:08,895 - INFO - Verifications in API Server for VN ctest-vn-24202198 passed
2026-02-05 17:39:08,895 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2a564ee-243c-4621-8d9b-4be040f0ae88
2026-02-05 17:39:08,915 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/71d61be7-1105-4623-aa6d-04f9adc39b6e
2026-02-05 17:39:08,928 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/71d61be7-1105-4623-aa6d-04f9adc39b6e
2026-02-05 17:39:08,939 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c286002c-28d5-4c88-a8da-d495901a9c1c
2026-02-05 17:39:08,954 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-24202198', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87621904', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12872806083881354785', 'uuid-lslong': '10203832807272263304'}, 'enable': 'true', 'created': '2026-02-05T17:39:06', 'last-modified': '2026-02-05T17:39:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.735542'}
2026-02-05 17:39:08,962 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-05 17:39:08,963 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24202198 passed
2026-02-05 17:39:08,963 - DEBUG - ====Verifying policy data for ctest-vn-24202198 in API_Server ======
2026-02-05 17:39:08,963 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 17:39:08,970 - DEBUG - Requesting: http://10.0.0.50:8082/domain/95764fa1-47f3-423c-9a8f-8b9a49e5a97c
2026-02-05 17:39:08,990 - DEBUG - Requesting: http://10.0.0.50:8082/project/f18453b4-b2ab-4118-8530-30bcc97cb555
2026-02-05 17:39:09,076 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2a564ee-243c-4621-8d9b-4be040f0ae88
2026-02-05 17:39:09,095 - DEBUG - ==>Verifying data for policy with id: 4edc5e29-4275-42ae-9fa0-ea7b29d70742, fqn: ['default-domain', 'ctest-TestBasicPolicy-87621904', 'ctest-policy-allow-all-22098134']
2026-02-05 17:39:09,095 - INFO - VN ctest-vn-24202198 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-05 17:39:09,095 - DEBUG - Verifying the vn in opserver
2026-02-05 17:39:09,095 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-24202198 virtual network link through opserver 10.0.0.50
2026-02-05 17:39:09,095 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-05 17:39:09,109 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-24202198', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-24202198?flat'}
2026-02-05 17:39:09,109 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87621904:ctest-vn-24202198 is found in opserver
2026-02-05 17:39:09,124 - DEBUG - Do not have enough data to verify VN in agent
2026-02-05 17:39:09,133 - DEBUG - VRF ids for VN ctest-vn-24202198: {}
2026-02-05 17:39:09,233 - DEBUG - Services list from nova: [