2026-11-24 19:03:30,278 - INFO - Domain Default found not creating
2026-11-24 19:03:30,434 - INFO - Project ctest-TestBasicPolicy-13025918 not found, creating it
2026-11-24 19:03:30,916 - INFO - Created Project:ctest-TestBasicPolicy-13025918, ID : c77b0fdf-2802-4021-9776-e2e3dccb2293
2026-11-24 19:03:32,540 - INFO - ================================================================================
2026-11-24 19:03:32,540 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-24 19:03:32,540 - 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-11-24 19:03:32,800 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.29': '0'}} with
2026-11-24 19:03:32,800 - INFO - Initial checks done. Running the testcase now
2026-11-24 19:03:32,800 - INFO -
2026-11-24 19:03:33,391 - DEBUG - Response for create_network : {'network': {'id': '54812d9f-45dc-4ab5-8781-3ed178a1cca4', 'name': 'ctest-vn-50929605', 'tenant_id': 'c77b0fdf280240219776e2e3dccb2293', 'project_id': 'c77b0fdf280240219776e2e3dccb2293', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-vn-50929605'], 'port_security_enabled': True, 'description': ''}}
2026-11-24 19:03:33,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '007c5cdb-2693-46e9-94ec-9bd4fea875e9', 'name': '', 'tenant_id': 'c77b0fdf280240219776e2e3dccb2293', 'network_id': '54812d9f-45dc-4ab5-8781-3ed178a1cca4', 'ip_version': 4, 'cidr': '41.148.208.128/26', 'allocation_pools': [{'start': '41.148.208.130', 'end': '41.148.208.190'}], 'gateway_ip': '41.148.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.148.208.130', 'tags': [], 'project_id': 'c77b0fdf280240219776e2e3dccb2293'}}
2026-11-24 19:03:33,592 - INFO - Created VN ctest-vn-50929605
2026-11-24 19:03:33,642 - DEBUG - VN ctest-vn-50929605 UUID is 54812d9f-45dc-4ab5-8781-3ed178a1cca4
2026-11-24 19:03:33,947 - DEBUG - Response for create_network : {'network': {'id': '1c91e595-c0d3-4fd9-b930-c46158c6e311', 'name': 'ctest-vn-35286010', 'tenant_id': 'c77b0fdf280240219776e2e3dccb2293', 'project_id': 'c77b0fdf280240219776e2e3dccb2293', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-vn-35286010'], 'port_security_enabled': True, 'description': ''}}
2026-11-24 19:03:34,121 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c531c53-7f11-40df-a445-53b1b35f1a7a', 'name': '', 'tenant_id': 'c77b0fdf280240219776e2e3dccb2293', 'network_id': '1c91e595-c0d3-4fd9-b930-c46158c6e311', 'ip_version': 4, 'cidr': '175.12.182.192/26', 'allocation_pools': [{'start': '175.12.182.194', 'end': '175.12.182.254'}], 'gateway_ip': '175.12.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.12.182.194', 'tags': [], 'project_id': 'c77b0fdf280240219776e2e3dccb2293'}}
2026-11-24 19:03:34,138 - INFO - Created VN ctest-vn-35286010
2026-11-24 19:03:34,190 - DEBUG - VN ctest-vn-35286010 UUID is 1c91e595-c0d3-4fd9-b930-c46158c6e311
2026-11-24 19:03:34,338 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-50929605, 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-13025918:ctest-vn-35286010, 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-11-24 19:03:34,614 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '54812d9f-45dc-4ab5-8781-3ed178a1cca4', 'name': 'ctest-vn-50929605', 'tenant_id': 'c77b0fdf280240219776e2e3dccb2293', 'project_id': 'c77b0fdf280240219776e2e3dccb2293', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['007c5cdb-2693-46e9-94ec-9bd4fea875e9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-vn-50929605'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-policy-allow-all-49513520']], 'subnet_ipam': [{'subnet_cidr': '41.148.208.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-24 19:03:34,832 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c91e595-c0d3-4fd9-b930-c46158c6e311', 'name': 'ctest-vn-35286010', 'tenant_id': 'c77b0fdf280240219776e2e3dccb2293', 'project_id': 'c77b0fdf280240219776e2e3dccb2293', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['3c531c53-7f11-40df-a445-53b1b35f1a7a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-vn-35286010'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-policy-allow-all-49513520']], 'subnet_ipam': [{'subnet_cidr': '175.12.182.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-24 19:03:34,998 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-24 19:03:35,362 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-24 19:03:35,394 - DEBUG - Requesting: http://10.0.0.161:8082/domain/d0d2e718-64c7-4d4f-a618-699040af3b1b
2026-11-24 19:03:35,405 - DEBUG - Requesting: http://10.0.0.161:8082/project/c77b0fdf-2802-4021-9776-e2e3dccb2293
2026-11-24 19:03:35,476 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/54812d9f-45dc-4ab5-8781-3ed178a1cca4
2026-11-24 19:03:35,487 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/54812d9f-45dc-4ab5-8781-3ed178a1cca4
2026-11-24 19:03:35,499 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c37dfe60-7621-4c53-babd-740e3436be03
2026-11-24 19:03:35,506 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c37dfe60-7621-4c53-babd-740e3436be03
2026-11-24 19:03:35,512 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/ec873c81-ef8d-47d2-8be6-cd0f3922932f
2026-11-24 19:03:35,519 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-24 19:03:35,519 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/54812d9f-45dc-4ab5-8781-3ed178a1cca4
2026-11-24 19:03:35,526 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c37dfe60-7621-4c53-babd-740e3436be03
2026-11-24 19:03:35,537 - INFO - Verified VN network id 12 for VN 54812d9f-45dc-4ab5-8781-3ed178a1cca4
2026-11-24 19:03:35,537 - INFO - Verifications in API Server for VN ctest-vn-50929605 passed
2026-11-24 19:03:35,537 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/54812d9f-45dc-4ab5-8781-3ed178a1cca4
2026-11-24 19:03:35,544 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c37dfe60-7621-4c53-babd-740e3436be03
2026-11-24 19:03:35,549 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c37dfe60-7621-4c53-babd-740e3436be03
2026-11-24 19:03:35,555 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/ec873c81-ef8d-47d2-8be6-cd0f3922932f
2026-11-24 19:03:35,567 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-50929605', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13025918', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6089198333276736181', 'uuid-lslong': '9764154536508902564'}, 'enable': 'true', 'created': '2026-11-24T19:03:33', 'last-modified': '2026-11-24T19:03:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.971497'}
2026-11-24 19:03:35,574 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-24 19:03:35,574 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50929605 passed
2026-11-24 19:03:35,574 - DEBUG - ====Verifying policy data for ctest-vn-50929605 in API_Server ======
2026-11-24 19:03:35,574 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-24 19:03:35,578 - DEBUG - Requesting: http://10.0.0.161:8082/domain/d0d2e718-64c7-4d4f-a618-699040af3b1b
2026-11-24 19:03:35,588 - DEBUG - Requesting: http://10.0.0.161:8082/project/c77b0fdf-2802-4021-9776-e2e3dccb2293
2026-11-24 19:03:35,655 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/54812d9f-45dc-4ab5-8781-3ed178a1cca4
2026-11-24 19:03:35,663 - DEBUG - ==>Verifying data for policy with id: ee730f05-8f36-4052-a49c-de078a2cefbf, fqn: ['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-policy-allow-all-49513520']
2026-11-24 19:03:35,663 - INFO - VN ctest-vn-50929605 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-24 19:03:35,663 - DEBUG - Verifying the vn in opserver
2026-11-24 19:03:35,663 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-50929605 virtual network link through opserver 10.0.0.161
2026-11-24 19:03:35,663 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-11-24 19:03:36,024 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-11-24 19:03:36,073 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-50929605', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-50929605?flat'}
2026-11-24 19:03:36,073 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-50929605 is found in opserver
2026-11-24 19:03:36,083 - DEBUG - Do not have enough data to verify VN in agent
2026-11-24 19:03:36,088 - DEBUG - VRF ids for VN ctest-vn-50929605: {}
2026-11-24 19:03:36,088 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-24 19:03:36,094 - DEBUG - Requesting: http://10.0.0.161:8082/domain/d0d2e718-64c7-4d4f-a618-699040af3b1b
2026-11-24 19:03:36,103 - DEBUG - Requesting: http://10.0.0.161:8082/project/c77b0fdf-2802-4021-9776-e2e3dccb2293
2026-11-24 19:03:36,175 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1c91e595-c0d3-4fd9-b930-c46158c6e311
2026-11-24 19:03:36,187 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1c91e595-c0d3-4fd9-b930-c46158c6e311
2026-11-24 19:03:36,197 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/91733c51-094f-4a2d-8bf1-6b80a92b88f7
2026-11-24 19:03:36,203 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/91733c51-094f-4a2d-8bf1-6b80a92b88f7
2026-11-24 19:03:36,208 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/7e034087-d67a-4084-94ab-bf56f0ff0e90
2026-11-24 19:03:36,214 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-24 19:03:36,214 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1c91e595-c0d3-4fd9-b930-c46158c6e311
2026-11-24 19:03:36,224 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/91733c51-094f-4a2d-8bf1-6b80a92b88f7
2026-11-24 19:03:36,239 - INFO - Verified VN network id 13 for VN 1c91e595-c0d3-4fd9-b930-c46158c6e311
2026-11-24 19:03:36,239 - INFO - Verifications in API Server for VN ctest-vn-35286010 passed
2026-11-24 19:03:36,239 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1c91e595-c0d3-4fd9-b930-c46158c6e311
2026-11-24 19:03:36,249 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/91733c51-094f-4a2d-8bf1-6b80a92b88f7
2026-11-24 19:03:36,256 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/91733c51-094f-4a2d-8bf1-6b80a92b88f7
2026-11-24 19:03:36,262 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/7e034087-d67a-4084-94ab-bf56f0ff0e90
2026-11-24 19:03:36,272 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-35286010', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13025918', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2058678936032989145', 'uuid-lslong': '13344381618279080721'}, 'enable': 'true', 'created': '2026-11-24T19:03:33', 'last-modified': '2026-11-24T19:03:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.459569'}
2026-11-24 19:03:36,278 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-24 19:03:36,278 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35286010 passed
2026-11-24 19:03:36,278 - DEBUG - ====Verifying policy data for ctest-vn-35286010 in API_Server ======
2026-11-24 19:03:36,278 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-24 19:03:36,283 - DEBUG - Requesting: http://10.0.0.161:8082/domain/d0d2e718-64c7-4d4f-a618-699040af3b1b
2026-11-24 19:03:36,294 - DEBUG - Requesting: http://10.0.0.161:8082/project/c77b0fdf-2802-4021-9776-e2e3dccb2293
2026-11-24 19:03:36,362 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1c91e595-c0d3-4fd9-b930-c46158c6e311
2026-11-24 19:03:36,372 - DEBUG - ==>Verifying data for policy with id: ee730f05-8f36-4052-a49c-de078a2cefbf, fqn: ['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-policy-allow-all-49513520']
2026-11-24 19:03:36,372 - INFO - VN ctest-vn-35286010 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-24 19:03:36,373 - DEBUG - Verifying the vn in opserver
2026-11-24 19:03:36,373 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-35286010 virtual network link through opserver 10.0.0.161
2026-11-24 19:03:36,373 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-11-24 19:03:36,384 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-35286010', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-35286010?flat'}
2026-11-24 19:03:36,384 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-35286010 is found in opserver
2026-11-24 19:03:36,398 - DEBUG - Do not have enough data to verify VN in agent
2026-11-24 19:03:36,403 - DEBUG - VRF ids for VN ctest-vn-35286010: {}
2026-11-24 19:03:36,451 - DEBUG - Services list from nova: [