2026-01-29 15:43:08,915 - INFO - Reading existing Domain with UUID 15f28af7-a830-475b-bae4-ed3759af0601
2026-01-29 15:43:08,929 - INFO - Using existing domain ['admin_domain'](15f28af7-a830-475b-bae4-ed3759af0601)
2026-01-29 15:43:09,235 - INFO - Project ctest-TestBasicPolicy-24783994 not found, creating it
2026-01-29 15:43:09,877 - INFO - Created Project:ctest-TestBasicPolicy-24783994, ID : 8deb5d8e-c055-4da6-ab3c-00f9330b7936
2026-01-29 15:43:11,976 - INFO - ================================================================================
2026-01-29 15:43:11,976 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 15:43:11,976 - 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-29 15:43:12,390 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.0.0.23': '0'}} with
2026-01-29 15:43:12,390 - INFO - Initial checks done. Running the testcase now
2026-01-29 15:43:12,390 - INFO -
2026-01-29 15:43:13,324 - DEBUG - Response for create_network : {'network': {'id': 'efdbf579-0917-4052-a5a7-542420a4af80', 'name': 'ctest-vn-76140150', 'tenant_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'project_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-vn-76140150'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-01-29 15:43:13,587 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbc80e86-5277-4fbd-ac84-a7db4031484e', 'name': '', 'tenant_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'network_id': 'efdbf579-0917-4052-a5a7-542420a4af80', 'ip_version': 4, 'cidr': '70.153.84.192/26', 'allocation_pools': [{'start': '70.153.84.194', 'end': '70.153.84.254'}], 'gateway_ip': '70.153.84.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-01-29T15:43:13.475327', 'updated_at': '2026-01-29T15:43:13.475327', 'dns_server_address': '70.153.84.194', 'tags': [], 'project_id': '8deb5d8ec0554da6ab3c00f9330b7936'}}
2026-01-29 15:43:13,655 - INFO - Created VN ctest-vn-76140150
2026-01-29 15:43:13,717 - DEBUG - VN ctest-vn-76140150 UUID is efdbf579-0917-4052-a5a7-542420a4af80
2026-01-29 15:43:14,283 - DEBUG - Response for create_network : {'network': {'id': 'aa30b7ed-d028-4e59-b1d4-07e8f9de4713', 'name': 'ctest-vn-83183834', 'tenant_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'project_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-vn-83183834'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-01-29 15:43:14,534 - DEBUG - Response for create_subnet : {'subnet': {'id': '22f5759f-e09d-439f-b02c-f3f1df0d0bd4', 'name': '', 'tenant_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'network_id': 'aa30b7ed-d028-4e59-b1d4-07e8f9de4713', 'ip_version': 4, 'cidr': '121.102.2.192/26', 'allocation_pools': [{'start': '121.102.2.194', 'end': '121.102.2.254'}], 'gateway_ip': '121.102.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-01-29T15:43:14.419013', 'updated_at': '2026-01-29T15:43:14.419013', 'dns_server_address': '121.102.2.194', 'tags': [], 'project_id': '8deb5d8ec0554da6ab3c00f9330b7936'}}
2026-01-29 15:43:14,604 - INFO - Created VN ctest-vn-83183834
2026-01-29 15:43:14,664 - DEBUG - VN ctest-vn-83183834 UUID is aa30b7ed-d028-4e59-b1d4-07e8f9de4713
2026-01-29 15:43:14,891 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-76140150, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-83183834, 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-29 15:43:15,341 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'efdbf579-0917-4052-a5a7-542420a4af80', 'name': 'ctest-vn-76140150', 'tenant_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'project_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dbc80e86-5277-4fbd-ac84-a7db4031484e'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-vn-76140150'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-policy-allow-all-29462960']], 'subnet_ipam': [{'subnet_cidr': '70.153.84.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-01-29T15:43:13.241093', 'updated_at': '2026-01-29T15:43:13.492055'}}
2026-01-29 15:43:15,730 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aa30b7ed-d028-4e59-b1d4-07e8f9de4713', 'name': 'ctest-vn-83183834', 'tenant_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'project_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['22f5759f-e09d-439f-b02c-f3f1df0d0bd4'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-vn-83183834'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-policy-allow-all-29462960']], 'subnet_ipam': [{'subnet_cidr': '121.102.2.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-01-29T15:43:14.190497', 'updated_at': '2026-01-29T15:43:14.435231'}}
2026-01-29 15:43:15,958 - DEBUG - Requesting: https://10.0.0.23:8082/domains
2026-01-29 15:43:16,351 - DEBUG - Requesting: https://10.0.0.23:8082/domains
2026-01-29 15:43:16,469 - DEBUG - Requesting: https://10.0.0.23:8082/domain/15f28af7-a830-475b-bae4-ed3759af0601
2026-01-29 15:43:16,533 - DEBUG - Requesting: https://10.0.0.23:8082/project/8deb5d8e-c055-4da6-ab3c-00f9330b7936
2026-01-29 15:43:16,642 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/efdbf579-0917-4052-a5a7-542420a4af80
2026-01-29 15:43:16,712 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/efdbf579-0917-4052-a5a7-542420a4af80
2026-01-29 15:43:16,776 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/53c3321d-0fc4-47ec-a167-5daa61e2b8bd
2026-01-29 15:43:16,861 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/53c3321d-0fc4-47ec-a167-5daa61e2b8bd
2026-01-29 15:43:16,933 - DEBUG - Requesting: https://10.0.0.23:8082/route-target/7604b2ca-a162-4031-9591-604de3a4df29
2026-01-29 15:43:16,997 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 15:43:16,997 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/efdbf579-0917-4052-a5a7-542420a4af80
2026-01-29 15:43:17,070 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/53c3321d-0fc4-47ec-a167-5daa61e2b8bd
2026-01-29 15:43:17,152 - INFO - Verified VN network id 9 for VN efdbf579-0917-4052-a5a7-542420a4af80
2026-01-29 15:43:17,153 - INFO - Verifications in API Server for VN ctest-vn-76140150 passed
2026-01-29 15:43:17,153 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/efdbf579-0917-4052-a5a7-542420a4af80
2026-01-29 15:43:17,222 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/53c3321d-0fc4-47ec-a167-5daa61e2b8bd
2026-01-29 15:43:17,309 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/53c3321d-0fc4-47ec-a167-5daa61e2b8bd
2026-01-29 15:43:17,383 - DEBUG - Requesting: https://10.0.0.23:8082/route-target/7604b2ca-a162-4031-9591-604de3a4df29
2026-01-29 15:43:17,526 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-76140150', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24783994', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17283677895156777042', 'uuid-lslong': '11936601851512008576'}, 'enable': 'true', 'created': '2026-01-29T15:43:13', 'last-modified': '2026-01-29T15:43:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.218732'}
2026-01-29 15:43:17,594 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 15:43:17,595 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76140150 passed
2026-01-29 15:43:17,595 - DEBUG - ====Verifying policy data for ctest-vn-76140150 in API_Server ======
2026-01-29 15:43:17,595 - DEBUG - Requesting: https://10.0.0.23:8082/domains
2026-01-29 15:43:17,657 - DEBUG - Requesting: https://10.0.0.23:8082/domain/15f28af7-a830-475b-bae4-ed3759af0601
2026-01-29 15:43:17,745 - DEBUG - Requesting: https://10.0.0.23:8082/project/8deb5d8e-c055-4da6-ab3c-00f9330b7936
2026-01-29 15:43:17,846 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/efdbf579-0917-4052-a5a7-542420a4af80
2026-01-29 15:43:17,905 - DEBUG - ==>Verifying data for policy with id: ad059a68-592c-4332-8ba2-2cd831fd8234, fqn: ['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-policy-allow-all-29462960']
2026-01-29 15:43:17,905 - INFO - VN ctest-vn-76140150 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 15:43:17,905 - DEBUG - Verifying the vn in opserver
2026-01-29 15:43:17,905 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-76140150 virtual network link through opserver 10.0.0.23
2026-01-29 15:43:17,905 - DEBUG - Requesting: https://10.0.0.23:8081/analytics/uves/virtual-networks
2026-01-29 15:43:18,265 - DEBUG - Requesting: https://10.0.0.23:8081/analytics/uves/virtual-networks
2026-01-29 15:43:18,409 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-76140150', 'href': 'https://10.0.0.23:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-76140150?flat'}
2026-01-29 15:43:18,409 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-76140150 is found in opserver
2026-01-29 15:43:18,513 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 15:43:18,565 - DEBUG - VRF ids for VN ctest-vn-76140150: {}
2026-01-29 15:43:18,565 - DEBUG - Requesting: https://10.0.0.23:8082/domains
2026-01-29 15:43:18,617 - DEBUG - Requesting: https://10.0.0.23:8082/domain/15f28af7-a830-475b-bae4-ed3759af0601
2026-01-29 15:43:18,677 - DEBUG - Requesting: https://10.0.0.23:8082/project/8deb5d8e-c055-4da6-ab3c-00f9330b7936
2026-01-29 15:43:18,788 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/aa30b7ed-d028-4e59-b1d4-07e8f9de4713
2026-01-29 15:43:18,860 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/aa30b7ed-d028-4e59-b1d4-07e8f9de4713
2026-01-29 15:43:18,922 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/95afb60e-539e-49e1-a830-42e0c802a4fd
2026-01-29 15:43:18,977 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/95afb60e-539e-49e1-a830-42e0c802a4fd
2026-01-29 15:43:19,034 - DEBUG - Requesting: https://10.0.0.23:8082/route-target/4f97140c-c74e-4ff2-92d0-5ec289a03133
2026-01-29 15:43:19,094 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 15:43:19,094 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/aa30b7ed-d028-4e59-b1d4-07e8f9de4713
2026-01-29 15:43:19,156 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/95afb60e-539e-49e1-a830-42e0c802a4fd
2026-01-29 15:43:19,225 - INFO - Verified VN network id 10 for VN aa30b7ed-d028-4e59-b1d4-07e8f9de4713
2026-01-29 15:43:19,225 - INFO - Verifications in API Server for VN ctest-vn-83183834 passed
2026-01-29 15:43:19,225 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/aa30b7ed-d028-4e59-b1d4-07e8f9de4713
2026-01-29 15:43:19,287 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/95afb60e-539e-49e1-a830-42e0c802a4fd
2026-01-29 15:43:19,346 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/95afb60e-539e-49e1-a830-42e0c802a4fd
2026-01-29 15:43:19,405 - DEBUG - Requesting: https://10.0.0.23:8082/route-target/4f97140c-c74e-4ff2-92d0-5ec289a03133
2026-01-29 15:43:19,518 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-83183834', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24783994', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12263504017357295193', 'uuid-lslong': '12813875536981804819'}, 'enable': 'true', 'created': '2026-01-29T15:43:14', 'last-modified': '2026-01-29T15:43:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.827322'}
2026-01-29 15:43:19,571 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 15:43:19,571 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83183834 passed
2026-01-29 15:43:19,571 - DEBUG - ====Verifying policy data for ctest-vn-83183834 in API_Server ======
2026-01-29 15:43:19,571 - DEBUG - Requesting: https://10.0.0.23:8082/domains
2026-01-29 15:43:19,625 - DEBUG - Requesting: https://10.0.0.23:8082/domain/15f28af7-a830-475b-bae4-ed3759af0601
2026-01-29 15:43:19,690 - DEBUG - Requesting: https://10.0.0.23:8082/project/8deb5d8e-c055-4da6-ab3c-00f9330b7936
2026-01-29 15:43:19,779 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/aa30b7ed-d028-4e59-b1d4-07e8f9de4713
2026-01-29 15:43:19,840 - DEBUG - ==>Verifying data for policy with id: ad059a68-592c-4332-8ba2-2cd831fd8234, fqn: ['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-policy-allow-all-29462960']
2026-01-29 15:43:19,840 - INFO - VN ctest-vn-83183834 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 15:43:19,840 - DEBUG - Verifying the vn in opserver
2026-01-29 15:43:19,840 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-83183834 virtual network link through opserver 10.0.0.23
2026-01-29 15:43:19,840 - DEBUG - Requesting: https://10.0.0.23:8081/analytics/uves/virtual-networks
2026-01-29 15:43:19,905 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-83183834', 'href': 'https://10.0.0.23:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-83183834?flat'}
2026-01-29 15:43:19,905 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-83183834 is found in opserver
2026-01-29 15:43:20,009 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 15:43:20,066 - DEBUG - VRF ids for VN ctest-vn-83183834: {}
2026-01-29 15:43:20,161 - DEBUG - Services list from nova: [