2026-01-04 04:00:24,531 - INFO - Domain Default found not creating
2026-01-04 04:00:24,698 - INFO - Project ctest-TestBasicPolicy-54219275 not found, creating it
2026-01-04 04:00:25,161 - INFO - Created Project:ctest-TestBasicPolicy-54219275, ID : 1b5688bc-9d67-4a89-9739-a20384081f38
2026-01-04 04:00:26,645 - INFO - ================================================================================
2026-01-04 04:00:26,645 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-04 04:00:26,645 - 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-01-04 04:00:26,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2026-01-04 04:00:26,916 - INFO - Initial checks done. Running the testcase now
2026-01-04 04:00:26,916 - INFO -
2026-01-04 04:00:27,486 - DEBUG - Response for create_network : {'network': {'id': '78b1c407-0b52-476a-8422-a4e5337ea4ba', 'name': 'ctest-vn-50096329', 'tenant_id': '1b5688bc9d674a899739a20384081f38', 'project_id': '1b5688bc9d674a899739a20384081f38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-vn-50096329'], 'port_security_enabled': True, 'description': ''}}
2026-01-04 04:00:27,673 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f502cdc-076b-4526-8e16-e508f3e019ec', 'name': '', 'tenant_id': '1b5688bc9d674a899739a20384081f38', 'network_id': '78b1c407-0b52-476a-8422-a4e5337ea4ba', 'ip_version': 4, 'cidr': '114.94.65.0/26', 'allocation_pools': [{'start': '114.94.65.2', 'end': '114.94.65.62'}], 'gateway_ip': '114.94.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.94.65.2', 'tags': [], 'project_id': '1b5688bc9d674a899739a20384081f38'}}
2026-01-04 04:00:27,691 - INFO - Created VN ctest-vn-50096329
2026-01-04 04:00:27,742 - DEBUG - VN ctest-vn-50096329 UUID is 78b1c407-0b52-476a-8422-a4e5337ea4ba
2026-01-04 04:00:28,054 - DEBUG - Response for create_network : {'network': {'id': 'ec74d036-0c46-41a9-8435-b147eb4131b9', 'name': 'ctest-vn-96065422', 'tenant_id': '1b5688bc9d674a899739a20384081f38', 'project_id': '1b5688bc9d674a899739a20384081f38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-vn-96065422'], 'port_security_enabled': True, 'description': ''}}
2026-01-04 04:00:28,279 - DEBUG - Response for create_subnet : {'subnet': {'id': '039490f2-02f2-4ab0-9896-855e8cbb58cf', 'name': '', 'tenant_id': '1b5688bc9d674a899739a20384081f38', 'network_id': 'ec74d036-0c46-41a9-8435-b147eb4131b9', 'ip_version': 4, 'cidr': '93.145.2.64/26', 'allocation_pools': [{'start': '93.145.2.66', 'end': '93.145.2.126'}], 'gateway_ip': '93.145.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.145.2.66', 'tags': [], 'project_id': '1b5688bc9d674a899739a20384081f38'}}
2026-01-04 04:00:28,298 - INFO - Created VN ctest-vn-96065422
2026-01-04 04:00:28,350 - DEBUG - VN ctest-vn-96065422 UUID is ec74d036-0c46-41a9-8435-b147eb4131b9
2026-01-04 04:00:28,506 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-50096329, 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-54219275:ctest-vn-96065422, 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-01-04 04:00:28,809 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78b1c407-0b52-476a-8422-a4e5337ea4ba', 'name': 'ctest-vn-50096329', 'tenant_id': '1b5688bc9d674a899739a20384081f38', 'project_id': '1b5688bc9d674a899739a20384081f38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f502cdc-076b-4526-8e16-e508f3e019ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-vn-50096329'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-policy-allow-all-61179581']], 'subnet_ipam': [{'subnet_cidr': '114.94.65.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-04 04:00:29,087 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec74d036-0c46-41a9-8435-b147eb4131b9', 'name': 'ctest-vn-96065422', 'tenant_id': '1b5688bc9d674a899739a20384081f38', 'project_id': '1b5688bc9d674a899739a20384081f38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['039490f2-02f2-4ab0-9896-855e8cbb58cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-vn-96065422'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-policy-allow-all-61179581']], 'subnet_ipam': [{'subnet_cidr': '93.145.2.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-04 04:00:29,234 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-04 04:00:29,530 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-04 04:00:29,560 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1c073e69-1513-447c-8dbf-d54b39bed7ee
2026-01-04 04:00:29,571 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b5688bc-9d67-4a89-9739-a20384081f38
2026-01-04 04:00:29,649 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78b1c407-0b52-476a-8422-a4e5337ea4ba
2026-01-04 04:00:29,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78b1c407-0b52-476a-8422-a4e5337ea4ba
2026-01-04 04:00:29,668 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/193c01a2-8b3a-4477-9d63-6657e3487b06
2026-01-04 04:00:29,675 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/193c01a2-8b3a-4477-9d63-6657e3487b06
2026-01-04 04:00:29,680 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/31490efe-a8a5-4ea0-ac78-22b5d3bfc992
2026-01-04 04:00:29,686 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-04 04:00:29,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78b1c407-0b52-476a-8422-a4e5337ea4ba
2026-01-04 04:00:29,693 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/193c01a2-8b3a-4477-9d63-6657e3487b06
2026-01-04 04:00:29,708 - INFO - Verified VN network id 11 for VN 78b1c407-0b52-476a-8422-a4e5337ea4ba
2026-01-04 04:00:29,708 - INFO - Verifications in API Server for VN ctest-vn-50096329 passed
2026-01-04 04:00:29,708 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78b1c407-0b52-476a-8422-a4e5337ea4ba
2026-01-04 04:00:29,716 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/193c01a2-8b3a-4477-9d63-6657e3487b06
2026-01-04 04:00:29,723 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/193c01a2-8b3a-4477-9d63-6657e3487b06
2026-01-04 04:00:29,729 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/31490efe-a8a5-4ea0-ac78-22b5d3bfc992
2026-01-04 04:00:29,740 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-50096329', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54219275', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8696947889962895210', 'uuid-lslong': '9521353866533053626'}, 'enable': 'true', 'created': '2026-01-04T04:00:27', 'last-modified': '2026-01-04T04:00:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964551'}
2026-01-04 04:00:29,746 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-04 04:00:29,746 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50096329 passed
2026-01-04 04:00:29,746 - DEBUG - ====Verifying policy data for ctest-vn-50096329 in API_Server ======
2026-01-04 04:00:29,746 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-04 04:00:29,751 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1c073e69-1513-447c-8dbf-d54b39bed7ee
2026-01-04 04:00:29,762 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b5688bc-9d67-4a89-9739-a20384081f38
2026-01-04 04:00:29,830 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78b1c407-0b52-476a-8422-a4e5337ea4ba
2026-01-04 04:00:29,838 - DEBUG - ==>Verifying data for policy with id: 01746878-6cc1-4ed2-a50e-1c280ad6eb76, fqn: ['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-policy-allow-all-61179581']
2026-01-04 04:00:29,838 - INFO - VN ctest-vn-50096329 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-04 04:00:29,838 - DEBUG - Verifying the vn in opserver
2026-01-04 04:00:29,838 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-50096329 virtual network link through opserver 10.0.0.38
2026-01-04 04:00:29,838 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-04 04:00:30,132 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-04 04:00:30,191 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-50096329', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-50096329?flat'}
2026-01-04 04:00:30,191 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-50096329 is found in opserver
2026-01-04 04:00:30,199 - DEBUG - Do not have enough data to verify VN in agent
2026-01-04 04:00:30,203 - DEBUG - VRF ids for VN ctest-vn-50096329: {}
2026-01-04 04:00:30,203 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-04 04:00:30,208 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1c073e69-1513-447c-8dbf-d54b39bed7ee
2026-01-04 04:00:30,218 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b5688bc-9d67-4a89-9739-a20384081f38
2026-01-04 04:00:30,289 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec74d036-0c46-41a9-8435-b147eb4131b9
2026-01-04 04:00:30,302 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec74d036-0c46-41a9-8435-b147eb4131b9
2026-01-04 04:00:30,312 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f1bdbb8-6c0b-4a89-a85a-b842e5ab0f70
2026-01-04 04:00:30,318 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f1bdbb8-6c0b-4a89-a85a-b842e5ab0f70
2026-01-04 04:00:30,325 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/962fc19f-db75-442a-8b42-80711765034f
2026-01-04 04:00:30,333 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-04 04:00:30,333 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec74d036-0c46-41a9-8435-b147eb4131b9
2026-01-04 04:00:30,343 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f1bdbb8-6c0b-4a89-a85a-b842e5ab0f70
2026-01-04 04:00:30,358 - INFO - Verified VN network id 12 for VN ec74d036-0c46-41a9-8435-b147eb4131b9
2026-01-04 04:00:30,358 - INFO - Verifications in API Server for VN ctest-vn-96065422 passed
2026-01-04 04:00:30,358 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec74d036-0c46-41a9-8435-b147eb4131b9
2026-01-04 04:00:30,367 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f1bdbb8-6c0b-4a89-a85a-b842e5ab0f70
2026-01-04 04:00:30,374 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f1bdbb8-6c0b-4a89-a85a-b842e5ab0f70
2026-01-04 04:00:30,383 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/962fc19f-db75-442a-8b42-80711765034f
2026-01-04 04:00:30,398 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-96065422', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54219275', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17038472220802171305', 'uuid-lslong': '9526715509219865017'}, 'enable': 'true', 'created': '2026-01-04T04:00:28', 'last-modified': '2026-01-04T04:00:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.377990'}
2026-01-04 04:00:30,403 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-04 04:00:30,404 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96065422 passed
2026-01-04 04:00:30,404 - DEBUG - ====Verifying policy data for ctest-vn-96065422 in API_Server ======
2026-01-04 04:00:30,404 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-04 04:00:30,410 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1c073e69-1513-447c-8dbf-d54b39bed7ee
2026-01-04 04:00:30,420 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b5688bc-9d67-4a89-9739-a20384081f38
2026-01-04 04:00:30,491 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec74d036-0c46-41a9-8435-b147eb4131b9
2026-01-04 04:00:30,500 - DEBUG - ==>Verifying data for policy with id: 01746878-6cc1-4ed2-a50e-1c280ad6eb76, fqn: ['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-policy-allow-all-61179581']
2026-01-04 04:00:30,500 - INFO - VN ctest-vn-96065422 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-04 04:00:30,500 - DEBUG - Verifying the vn in opserver
2026-01-04 04:00:30,500 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-96065422 virtual network link through opserver 10.0.0.38
2026-01-04 04:00:30,500 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-04 04:00:30,511 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-96065422', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-96065422?flat'}
2026-01-04 04:00:30,512 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-96065422 is found in opserver
2026-01-04 04:00:30,521 - DEBUG - Do not have enough data to verify VN in agent
2026-01-04 04:00:30,527 - DEBUG - VRF ids for VN ctest-vn-96065422: {}
2026-01-04 04:00:30,581 - DEBUG - Services list from nova: [