2026-02-10 01:30:18,687 - INFO - Domain Default found not creating
2026-02-10 01:30:18,850 - INFO - Project ctest-TestBasicPolicy-81311539 not found, creating it
2026-02-10 01:30:19,275 - INFO - Created Project:ctest-TestBasicPolicy-81311539, ID : c76c2930-e361-4256-81e6-16ca1da3243e
2026-02-10 01:30:20,685 - INFO - ================================================================================
2026-02-10 01:30:20,685 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 01:30:20,685 - 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 01:30:20,944 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with
2026-02-10 01:30:20,944 - INFO - Initial checks done. Running the testcase now
2026-02-10 01:30:20,944 - INFO -
2026-02-10 01:30:21,445 - DEBUG - Response for create_network : {'network': {'id': '1f211bf4-ed93-4882-b84f-625f33f45e28', 'name': 'ctest-vn-71795955', 'tenant_id': 'c76c2930e361425681e616ca1da3243e', 'project_id': 'c76c2930e361425681e616ca1da3243e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81311539', 'ctest-vn-71795955'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 01:30:21,595 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8d6ab1a-49c3-4665-b70c-687c566cbb3f', 'name': '', 'tenant_id': 'c76c2930e361425681e616ca1da3243e', 'network_id': '1f211bf4-ed93-4882-b84f-625f33f45e28', 'ip_version': 4, 'cidr': '82.88.84.192/26', 'allocation_pools': [{'start': '82.88.84.194', 'end': '82.88.84.254'}], 'gateway_ip': '82.88.84.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.88.84.194', 'tags': [], 'project_id': 'c76c2930e361425681e616ca1da3243e'}}
2026-02-10 01:30:21,609 - INFO - Created VN ctest-vn-71795955
2026-02-10 01:30:21,661 - DEBUG - VN ctest-vn-71795955 UUID is 1f211bf4-ed93-4882-b84f-625f33f45e28
2026-02-10 01:30:21,963 - DEBUG - Response for create_network : {'network': {'id': 'de221d08-f1bc-4145-9874-91d5bd61e42e', 'name': 'ctest-vn-48788180', 'tenant_id': 'c76c2930e361425681e616ca1da3243e', 'project_id': 'c76c2930e361425681e616ca1da3243e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81311539', 'ctest-vn-48788180'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 01:30:22,143 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd15cd79-2958-43bd-931b-c21450b7cc30', 'name': '', 'tenant_id': 'c76c2930e361425681e616ca1da3243e', 'network_id': 'de221d08-f1bc-4145-9874-91d5bd61e42e', 'ip_version': 4, 'cidr': '42.152.16.192/26', 'allocation_pools': [{'start': '42.152.16.194', 'end': '42.152.16.254'}], 'gateway_ip': '42.152.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.152.16.194', 'tags': [], 'project_id': 'c76c2930e361425681e616ca1da3243e'}}
2026-02-10 01:30:22,160 - INFO - Created VN ctest-vn-48788180
2026-02-10 01:30:22,210 - DEBUG - VN ctest-vn-48788180 UUID is de221d08-f1bc-4145-9874-91d5bd61e42e
2026-02-10 01:30:22,353 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81311539:ctest-vn-71795955, 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-81311539:ctest-vn-48788180, 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 01:30:22,647 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1f211bf4-ed93-4882-b84f-625f33f45e28', 'name': 'ctest-vn-71795955', 'tenant_id': 'c76c2930e361425681e616ca1da3243e', 'project_id': 'c76c2930e361425681e616ca1da3243e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b8d6ab1a-49c3-4665-b70c-687c566cbb3f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81311539', 'ctest-vn-71795955'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81311539', 'ctest-policy-allow-all-03442415']], 'subnet_ipam': [{'subnet_cidr': '82.88.84.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 01:30:22,910 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'de221d08-f1bc-4145-9874-91d5bd61e42e', 'name': 'ctest-vn-48788180', 'tenant_id': 'c76c2930e361425681e616ca1da3243e', 'project_id': 'c76c2930e361425681e616ca1da3243e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cd15cd79-2958-43bd-931b-c21450b7cc30'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81311539', 'ctest-vn-48788180'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81311539', 'ctest-policy-allow-all-03442415']], 'subnet_ipam': [{'subnet_cidr': '42.152.16.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 01:30:23,057 - DEBUG - Requesting: http://10.0.0.48:8082/domains
2026-02-10 01:30:23,352 - DEBUG - Requesting: http://10.0.0.48:8082/domains
2026-02-10 01:30:23,381 - DEBUG - Requesting: http://10.0.0.48:8082/domain/22fecad9-9753-4b63-8ac7-7b005e491a11
2026-02-10 01:30:23,390 - DEBUG - Requesting: http://10.0.0.48:8082/project/c76c2930-e361-4256-81e6-16ca1da3243e
2026-02-10 01:30:23,455 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1f211bf4-ed93-4882-b84f-625f33f45e28
2026-02-10 01:30:23,464 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1f211bf4-ed93-4882-b84f-625f33f45e28
2026-02-10 01:30:23,472 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/054f65ae-0898-4589-ba58-1ded017ed796
2026-02-10 01:30:23,478 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/054f65ae-0898-4589-ba58-1ded017ed796
2026-02-10 01:30:23,485 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/780a9779-fc5f-4cc6-b7c2-4192655fda4b
2026-02-10 01:30:23,489 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 01:30:23,489 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1f211bf4-ed93-4882-b84f-625f33f45e28
2026-02-10 01:30:23,497 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/054f65ae-0898-4589-ba58-1ded017ed796
2026-02-10 01:30:23,508 - INFO - Verified VN network id 11 for VN 1f211bf4-ed93-4882-b84f-625f33f45e28
2026-02-10 01:30:23,508 - INFO - Verifications in API Server for VN ctest-vn-71795955 passed
2026-02-10 01:30:23,508 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1f211bf4-ed93-4882-b84f-625f33f45e28
2026-02-10 01:30:23,515 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/054f65ae-0898-4589-ba58-1ded017ed796
2026-02-10 01:30:23,520 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/054f65ae-0898-4589-ba58-1ded017ed796
2026-02-10 01:30:23,525 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/780a9779-fc5f-4cc6-b7c2-4192655fda4b
2026-02-10 01:30:23,535 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81311539:ctest-vn-71795955', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81311539', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2243104828179040386', 'uuid-lslong': '13280941987171950120'}, 'enable': 'true', 'created': '2026-02-10T01:30:21', 'last-modified': '2026-02-10T01:30:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906970'}
2026-02-10 01:30:23,540 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 01:30:23,540 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71795955 passed
2026-02-10 01:30:23,540 - DEBUG - ====Verifying policy data for ctest-vn-71795955 in API_Server ======
2026-02-10 01:30:23,540 - DEBUG - Requesting: http://10.0.0.48:8082/domains
2026-02-10 01:30:23,544 - DEBUG - Requesting: http://10.0.0.48:8082/domain/22fecad9-9753-4b63-8ac7-7b005e491a11
2026-02-10 01:30:23,555 - DEBUG - Requesting: http://10.0.0.48:8082/project/c76c2930-e361-4256-81e6-16ca1da3243e
2026-02-10 01:30:23,621 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1f211bf4-ed93-4882-b84f-625f33f45e28
2026-02-10 01:30:23,629 - DEBUG - ==>Verifying data for policy with id: f4609959-d010-4097-a283-f013a3546a13, fqn: ['default-domain', 'ctest-TestBasicPolicy-81311539', 'ctest-policy-allow-all-03442415']
2026-02-10 01:30:23,629 - INFO - VN ctest-vn-71795955 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 01:30:23,629 - DEBUG - Verifying the vn in opserver
2026-02-10 01:30:23,629 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81311539:ctest-vn-71795955 virtual network link through opserver 10.0.0.48
2026-02-10 01:30:23,629 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks
2026-02-10 01:30:23,923 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks
2026-02-10 01:30:23,982 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81311539:ctest-vn-71795955', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81311539:ctest-vn-71795955?flat'}
2026-02-10 01:30:23,982 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81311539:ctest-vn-71795955 is found in opserver
2026-02-10 01:30:23,990 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 01:30:23,995 - DEBUG - VRF ids for VN ctest-vn-71795955: {}
2026-02-10 01:30:23,995 - DEBUG - Requesting: http://10.0.0.48:8082/domains
2026-02-10 01:30:24,000 - DEBUG - Requesting: http://10.0.0.48:8082/domain/22fecad9-9753-4b63-8ac7-7b005e491a11
2026-02-10 01:30:24,010 - DEBUG - Requesting: http://10.0.0.48:8082/project/c76c2930-e361-4256-81e6-16ca1da3243e
2026-02-10 01:30:24,077 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/de221d08-f1bc-4145-9874-91d5bd61e42e
2026-02-10 01:30:24,087 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/de221d08-f1bc-4145-9874-91d5bd61e42e
2026-02-10 01:30:24,094 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/fb8280e6-ce06-4610-b5af-76b80ddcd37c
2026-02-10 01:30:24,099 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/fb8280e6-ce06-4610-b5af-76b80ddcd37c
2026-02-10 01:30:24,104 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/63a90c22-af69-4708-bac8-8c3246b0f857
2026-02-10 01:30:24,111 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 01:30:24,111 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/de221d08-f1bc-4145-9874-91d5bd61e42e
2026-02-10 01:30:24,118 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/fb8280e6-ce06-4610-b5af-76b80ddcd37c
2026-02-10 01:30:24,128 - INFO - Verified VN network id 12 for VN de221d08-f1bc-4145-9874-91d5bd61e42e
2026-02-10 01:30:24,128 - INFO - Verifications in API Server for VN ctest-vn-48788180 passed
2026-02-10 01:30:24,129 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/de221d08-f1bc-4145-9874-91d5bd61e42e
2026-02-10 01:30:24,136 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/fb8280e6-ce06-4610-b5af-76b80ddcd37c
2026-02-10 01:30:24,141 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/fb8280e6-ce06-4610-b5af-76b80ddcd37c
2026-02-10 01:30:24,146 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/63a90c22-af69-4708-bac8-8c3246b0f857
2026-02-10 01:30:24,155 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81311539:ctest-vn-48788180', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81311539', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16006387949880754501', 'uuid-lslong': '10985565738254853166'}, 'enable': 'true', 'created': '2026-02-10T01:30:21', 'last-modified': '2026-02-10T01:30:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.311022'}
2026-02-10 01:30:24,159 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 01:30:24,160 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48788180 passed
2026-02-10 01:30:24,160 - DEBUG - ====Verifying policy data for ctest-vn-48788180 in API_Server ======
2026-02-10 01:30:24,160 - DEBUG - Requesting: http://10.0.0.48:8082/domains
2026-02-10 01:30:24,165 - DEBUG - Requesting: http://10.0.0.48:8082/domain/22fecad9-9753-4b63-8ac7-7b005e491a11
2026-02-10 01:30:24,174 - DEBUG - Requesting: http://10.0.0.48:8082/project/c76c2930-e361-4256-81e6-16ca1da3243e
2026-02-10 01:30:24,238 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/de221d08-f1bc-4145-9874-91d5bd61e42e
2026-02-10 01:30:24,246 - DEBUG - ==>Verifying data for policy with id: f4609959-d010-4097-a283-f013a3546a13, fqn: ['default-domain', 'ctest-TestBasicPolicy-81311539', 'ctest-policy-allow-all-03442415']
2026-02-10 01:30:24,246 - INFO - VN ctest-vn-48788180 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 01:30:24,246 - DEBUG - Verifying the vn in opserver
2026-02-10 01:30:24,246 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81311539:ctest-vn-48788180 virtual network link through opserver 10.0.0.48
2026-02-10 01:30:24,246 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks
2026-02-10 01:30:24,253 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81311539:ctest-vn-48788180', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81311539:ctest-vn-48788180?flat'}
2026-02-10 01:30:24,253 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81311539:ctest-vn-48788180 is found in opserver
2026-02-10 01:30:24,261 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 01:30:24,265 - DEBUG - VRF ids for VN ctest-vn-48788180: {}
2026-02-10 01:30:24,319 - DEBUG - Services list from nova: [