2025-10-22 10:08:15,978 - INFO - Domain Default found not creating
2025-10-22 10:08:16,126 - INFO - Project ctest-TestBasicPolicy-09150857 not found, creating it
2025-10-22 10:08:16,653 - INFO - Created Project:ctest-TestBasicPolicy-09150857, ID : 143a00c7-ab5b-43fd-a93a-1110e17f60c6
2025-10-22 10:08:18,097 - INFO - ================================================================================
2025-10-22 10:08:18,098 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-10-22 10:08:18,098 - 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
2025-10-22 10:08:18,352 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-10-22 10:08:18,352 - INFO - Initial checks done. Running the testcase now
2025-10-22 10:08:18,352 - INFO -
2025-10-22 10:08:18,891 - DEBUG - Response for create_network : {'network': {'id': 'ad642e8d-958c-49e2-b290-822cec55ca5b', 'name': 'ctest-vn-37486102', 'tenant_id': '143a00c7ab5b43fda93a1110e17f60c6', 'project_id': '143a00c7ab5b43fda93a1110e17f60c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-vn-37486102'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 10:08:19,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '29870e4b-24c2-4ba6-87a8-7294f5e59e32', 'name': '', 'tenant_id': '143a00c7ab5b43fda93a1110e17f60c6', 'network_id': 'ad642e8d-958c-49e2-b290-822cec55ca5b', 'ip_version': 4, 'cidr': '216.253.15.0/26', 'allocation_pools': [{'start': '216.253.15.2', 'end': '216.253.15.62'}], 'gateway_ip': '216.253.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.253.15.2', 'tags': [], 'project_id': '143a00c7ab5b43fda93a1110e17f60c6'}}
2025-10-22 10:08:19,073 - INFO - Created VN ctest-vn-37486102
2025-10-22 10:08:19,127 - DEBUG - VN ctest-vn-37486102 UUID is ad642e8d-958c-49e2-b290-822cec55ca5b
2025-10-22 10:08:19,432 - DEBUG - Response for create_network : {'network': {'id': '1231d5aa-9462-49b9-9101-21e65067505e', 'name': 'ctest-vn-44358653', 'tenant_id': '143a00c7ab5b43fda93a1110e17f60c6', 'project_id': '143a00c7ab5b43fda93a1110e17f60c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-vn-44358653'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 10:08:19,590 - DEBUG - Response for create_subnet : {'subnet': {'id': '128cbf02-42cc-4b03-b89a-27b355b5548c', 'name': '', 'tenant_id': '143a00c7ab5b43fda93a1110e17f60c6', 'network_id': '1231d5aa-9462-49b9-9101-21e65067505e', 'ip_version': 4, 'cidr': '86.25.50.0/26', 'allocation_pools': [{'start': '86.25.50.2', 'end': '86.25.50.62'}], 'gateway_ip': '86.25.50.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.25.50.2', 'tags': [], 'project_id': '143a00c7ab5b43fda93a1110e17f60c6'}}
2025-10-22 10:08:19,609 - INFO - Created VN ctest-vn-44358653
2025-10-22 10:08:19,663 - DEBUG - VN ctest-vn-44358653 UUID is 1231d5aa-9462-49b9-9101-21e65067505e
2025-10-22 10:08:19,781 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-37486102, 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-09150857:ctest-vn-44358653, 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]
2025-10-22 10:08:20,081 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ad642e8d-958c-49e2-b290-822cec55ca5b', 'name': 'ctest-vn-37486102', 'tenant_id': '143a00c7ab5b43fda93a1110e17f60c6', 'project_id': '143a00c7ab5b43fda93a1110e17f60c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['29870e4b-24c2-4ba6-87a8-7294f5e59e32'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-vn-37486102'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-policy-allow-all-80478589']], 'subnet_ipam': [{'subnet_cidr': '216.253.15.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-22 10:08:20,355 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1231d5aa-9462-49b9-9101-21e65067505e', 'name': 'ctest-vn-44358653', 'tenant_id': '143a00c7ab5b43fda93a1110e17f60c6', 'project_id': '143a00c7ab5b43fda93a1110e17f60c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['128cbf02-42cc-4b03-b89a-27b355b5548c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-vn-44358653'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-policy-allow-all-80478589']], 'subnet_ipam': [{'subnet_cidr': '86.25.50.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-22 10:08:20,515 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-22 10:08:20,818 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-22 10:08:20,852 - DEBUG - Requesting: http://10.0.0.19:8082/domain/1b5da64f-5300-498c-ab2b-1fb019264bc7
2025-10-22 10:08:20,867 - DEBUG - Requesting: http://10.0.0.19:8082/project/143a00c7-ab5b-43fd-a93a-1110e17f60c6
2025-10-22 10:08:20,941 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ad642e8d-958c-49e2-b290-822cec55ca5b
2025-10-22 10:08:20,954 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ad642e8d-958c-49e2-b290-822cec55ca5b
2025-10-22 10:08:20,965 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/638e7e0c-9d2f-49e5-a185-a3f94626a0e4
2025-10-22 10:08:20,974 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/638e7e0c-9d2f-49e5-a185-a3f94626a0e4
2025-10-22 10:08:20,981 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/b5fbd37c-80ec-43ac-8876-7e3eb31c2d98
2025-10-22 10:08:20,991 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-22 10:08:20,991 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ad642e8d-958c-49e2-b290-822cec55ca5b
2025-10-22 10:08:21,000 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/638e7e0c-9d2f-49e5-a185-a3f94626a0e4
2025-10-22 10:08:21,015 - INFO - Verified VN network id 11 for VN ad642e8d-958c-49e2-b290-822cec55ca5b
2025-10-22 10:08:21,016 - INFO - Verifications in API Server for VN ctest-vn-37486102 passed
2025-10-22 10:08:21,016 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ad642e8d-958c-49e2-b290-822cec55ca5b
2025-10-22 10:08:21,025 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/638e7e0c-9d2f-49e5-a185-a3f94626a0e4
2025-10-22 10:08:21,033 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/638e7e0c-9d2f-49e5-a185-a3f94626a0e4
2025-10-22 10:08:21,039 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/b5fbd37c-80ec-43ac-8876-7e3eb31c2d98
2025-10-22 10:08:21,051 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-37486102', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09150857', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12494162451866864098', 'uuid-lslong': '12866927264852724315'}, 'enable': 'true', 'created': '2025-10-22T10:08:18', 'last-modified': '2025-10-22T10:08:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.992028'}
2025-10-22 10:08:21,058 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-22 10:08:21,058 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37486102 passed
2025-10-22 10:08:21,058 - DEBUG - ====Verifying policy data for ctest-vn-37486102 in API_Server ======
2025-10-22 10:08:21,059 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-22 10:08:21,064 - DEBUG - Requesting: http://10.0.0.19:8082/domain/1b5da64f-5300-498c-ab2b-1fb019264bc7
2025-10-22 10:08:21,076 - DEBUG - Requesting: http://10.0.0.19:8082/project/143a00c7-ab5b-43fd-a93a-1110e17f60c6
2025-10-22 10:08:21,149 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ad642e8d-958c-49e2-b290-822cec55ca5b
2025-10-22 10:08:21,160 - DEBUG - ==>Verifying data for policy with id: 4abe4a0c-42d2-4c63-820b-2ae503cb35f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-policy-allow-all-80478589']
2025-10-22 10:08:21,160 - INFO - VN ctest-vn-37486102 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-22 10:08:21,160 - DEBUG - Verifying the vn in opserver
2025-10-22 10:08:21,160 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-37486102 virtual network link through opserver 10.0.0.19
2025-10-22 10:08:21,160 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-10-22 10:08:21,468 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-10-22 10:08:21,526 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-37486102', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-37486102?flat'}
2025-10-22 10:08:21,526 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-37486102 is found in opserver
2025-10-22 10:08:21,535 - DEBUG - Do not have enough data to verify VN in agent
2025-10-22 10:08:21,540 - DEBUG - VRF ids for VN ctest-vn-37486102: {}
2025-10-22 10:08:21,540 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-22 10:08:21,546 - DEBUG - Requesting: http://10.0.0.19:8082/domain/1b5da64f-5300-498c-ab2b-1fb019264bc7
2025-10-22 10:08:21,559 - DEBUG - Requesting: http://10.0.0.19:8082/project/143a00c7-ab5b-43fd-a93a-1110e17f60c6
2025-10-22 10:08:21,633 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1231d5aa-9462-49b9-9101-21e65067505e
2025-10-22 10:08:21,646 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1231d5aa-9462-49b9-9101-21e65067505e
2025-10-22 10:08:21,655 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2ed80445-0202-4d03-9b8b-60406d3054c8
2025-10-22 10:08:21,662 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2ed80445-0202-4d03-9b8b-60406d3054c8
2025-10-22 10:08:21,669 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6dff0a10-3948-482c-97ff-fe08af50fe26
2025-10-22 10:08:21,675 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-22 10:08:21,675 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1231d5aa-9462-49b9-9101-21e65067505e
2025-10-22 10:08:21,684 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2ed80445-0202-4d03-9b8b-60406d3054c8
2025-10-22 10:08:21,699 - INFO - Verified VN network id 12 for VN 1231d5aa-9462-49b9-9101-21e65067505e
2025-10-22 10:08:21,699 - INFO - Verifications in API Server for VN ctest-vn-44358653 passed
2025-10-22 10:08:21,699 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1231d5aa-9462-49b9-9101-21e65067505e
2025-10-22 10:08:21,708 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2ed80445-0202-4d03-9b8b-60406d3054c8
2025-10-22 10:08:21,715 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2ed80445-0202-4d03-9b8b-60406d3054c8
2025-10-22 10:08:21,722 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6dff0a10-3948-482c-97ff-fe08af50fe26
2025-10-22 10:08:21,736 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-44358653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09150857', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1311063895152150969', 'uuid-lslong': '10448669883551404126'}, 'enable': 'true', 'created': '2025-10-22T10:08:19', 'last-modified': '2025-10-22T10:08:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.444542'}
2025-10-22 10:08:21,744 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-22 10:08:21,744 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44358653 passed
2025-10-22 10:08:21,744 - DEBUG - ====Verifying policy data for ctest-vn-44358653 in API_Server ======
2025-10-22 10:08:21,744 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-22 10:08:21,750 - DEBUG - Requesting: http://10.0.0.19:8082/domain/1b5da64f-5300-498c-ab2b-1fb019264bc7
2025-10-22 10:08:21,760 - DEBUG - Requesting: http://10.0.0.19:8082/project/143a00c7-ab5b-43fd-a93a-1110e17f60c6
2025-10-22 10:08:21,835 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/1231d5aa-9462-49b9-9101-21e65067505e
2025-10-22 10:08:21,844 - DEBUG - ==>Verifying data for policy with id: 4abe4a0c-42d2-4c63-820b-2ae503cb35f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-09150857', 'ctest-policy-allow-all-80478589']
2025-10-22 10:08:21,844 - INFO - VN ctest-vn-44358653 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-22 10:08:21,845 - DEBUG - Verifying the vn in opserver
2025-10-22 10:08:21,845 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-44358653 virtual network link through opserver 10.0.0.19
2025-10-22 10:08:21,845 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-10-22 10:08:21,855 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-44358653', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-44358653?flat'}
2025-10-22 10:08:21,855 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09150857:ctest-vn-44358653 is found in opserver
2025-10-22 10:08:21,866 - DEBUG - Do not have enough data to verify VN in agent
2025-10-22 10:08:21,871 - DEBUG - VRF ids for VN ctest-vn-44358653: {}
2025-10-22 10:08:21,928 - DEBUG - Services list from nova: [