2026-02-02 09:16:22,398 - INFO - Domain Default found not creating
2026-02-02 09:16:22,565 - INFO - Project ctest-TestBasicPolicy-66386483 not found, creating it
2026-02-02 09:16:23,024 - INFO - Created Project:ctest-TestBasicPolicy-66386483, ID : 85a1eed5-b5b6-4319-92d8-5ea4f23a63c8
2026-02-02 09:16:24,550 - INFO - ================================================================================
2026-02-02 09:16:24,550 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-02 09:16:24,550 - 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-02 09:16:24,807 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2026-02-02 09:16:24,807 - INFO - Initial checks done. Running the testcase now
2026-02-02 09:16:24,807 - INFO -
2026-02-02 09:16:25,384 - DEBUG - Response for create_network : {'network': {'id': 'bc439f5a-ce14-4f0e-8be8-02ee1c3b887b', 'name': 'ctest-vn-72163158', 'tenant_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'project_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-vn-72163158'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 09:16:25,625 - DEBUG - Response for create_subnet : {'subnet': {'id': '61cce34a-c575-4853-86a8-1a364746b328', 'name': '', 'tenant_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'network_id': 'bc439f5a-ce14-4f0e-8be8-02ee1c3b887b', 'ip_version': 4, 'cidr': '28.110.254.128/26', 'allocation_pools': [{'start': '28.110.254.130', 'end': '28.110.254.190'}], 'gateway_ip': '28.110.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.110.254.130', 'tags': [], 'project_id': '85a1eed5b5b6431992d85ea4f23a63c8'}}
2026-02-02 09:16:25,648 - INFO - Created VN ctest-vn-72163158
2026-02-02 09:16:25,704 - DEBUG - VN ctest-vn-72163158 UUID is bc439f5a-ce14-4f0e-8be8-02ee1c3b887b
2026-02-02 09:16:26,054 - DEBUG - Response for create_network : {'network': {'id': '3ad49e85-8244-41d3-9f44-9b6640388691', 'name': 'ctest-vn-37045412', 'tenant_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'project_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-vn-37045412'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 09:16:26,256 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ae629aa-7f7f-4946-a5e5-b5bf4dc7e5ad', 'name': '', 'tenant_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'network_id': '3ad49e85-8244-41d3-9f44-9b6640388691', 'ip_version': 4, 'cidr': '172.105.70.0/26', 'allocation_pools': [{'start': '172.105.70.2', 'end': '172.105.70.62'}], 'gateway_ip': '172.105.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.105.70.2', 'tags': [], 'project_id': '85a1eed5b5b6431992d85ea4f23a63c8'}}
2026-02-02 09:16:26,276 - INFO - Created VN ctest-vn-37045412
2026-02-02 09:16:26,328 - DEBUG - VN ctest-vn-37045412 UUID is 3ad49e85-8244-41d3-9f44-9b6640388691
2026-02-02 09:16:26,447 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-72163158, 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-66386483:ctest-vn-37045412, 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-02 09:16:26,752 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc439f5a-ce14-4f0e-8be8-02ee1c3b887b', 'name': 'ctest-vn-72163158', 'tenant_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'project_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['61cce34a-c575-4853-86a8-1a364746b328'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-vn-72163158'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-policy-allow-all-99786111']], 'subnet_ipam': [{'subnet_cidr': '28.110.254.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 09:16:27,039 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3ad49e85-8244-41d3-9f44-9b6640388691', 'name': 'ctest-vn-37045412', 'tenant_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'project_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1ae629aa-7f7f-4946-a5e5-b5bf4dc7e5ad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-vn-37045412'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-policy-allow-all-99786111']], 'subnet_ipam': [{'subnet_cidr': '172.105.70.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 09:16:27,200 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-02 09:16:27,507 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-02 09:16:27,540 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e95fce11-2ae1-425a-b2ce-6e2e6df5975a
2026-02-02 09:16:27,553 - DEBUG - Requesting: http://10.0.0.19:8082/project/85a1eed5-b5b6-4319-92d8-5ea4f23a63c8
2026-02-02 09:16:27,623 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bc439f5a-ce14-4f0e-8be8-02ee1c3b887b
2026-02-02 09:16:27,633 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bc439f5a-ce14-4f0e-8be8-02ee1c3b887b
2026-02-02 09:16:27,643 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b66a52e8-e6cf-43b8-9000-29b8b3a97dcc
2026-02-02 09:16:27,651 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b66a52e8-e6cf-43b8-9000-29b8b3a97dcc
2026-02-02 09:16:27,658 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/09771f34-c193-4bca-8502-015f576c9dfa
2026-02-02 09:16:27,665 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 09:16:27,665 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bc439f5a-ce14-4f0e-8be8-02ee1c3b887b
2026-02-02 09:16:27,674 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b66a52e8-e6cf-43b8-9000-29b8b3a97dcc
2026-02-02 09:16:27,689 - INFO - Verified VN network id 11 for VN bc439f5a-ce14-4f0e-8be8-02ee1c3b887b
2026-02-02 09:16:27,689 - INFO - Verifications in API Server for VN ctest-vn-72163158 passed
2026-02-02 09:16:27,690 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bc439f5a-ce14-4f0e-8be8-02ee1c3b887b
2026-02-02 09:16:27,700 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b66a52e8-e6cf-43b8-9000-29b8b3a97dcc
2026-02-02 09:16:27,707 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b66a52e8-e6cf-43b8-9000-29b8b3a97dcc
2026-02-02 09:16:27,714 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/09771f34-c193-4bca-8502-015f576c9dfa
2026-02-02 09:16:27,726 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-72163158', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66386483', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13565861714923376398', 'uuid-lslong': '10081310987567990907'}, 'enable': 'true', 'created': '2026-02-02T09:16:25', 'last-modified': '2026-02-02T09:16:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.004575'}
2026-02-02 09:16:27,732 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 09:16:27,732 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72163158 passed
2026-02-02 09:16:27,732 - DEBUG - ====Verifying policy data for ctest-vn-72163158 in API_Server ======
2026-02-02 09:16:27,732 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-02 09:16:27,738 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e95fce11-2ae1-425a-b2ce-6e2e6df5975a
2026-02-02 09:16:27,749 - DEBUG - Requesting: http://10.0.0.19:8082/project/85a1eed5-b5b6-4319-92d8-5ea4f23a63c8
2026-02-02 09:16:27,824 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bc439f5a-ce14-4f0e-8be8-02ee1c3b887b
2026-02-02 09:16:27,833 - DEBUG - ==>Verifying data for policy with id: 07cc9c4d-0894-429b-87a5-a42849027912, fqn: ['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-policy-allow-all-99786111']
2026-02-02 09:16:27,833 - INFO - VN ctest-vn-72163158 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 09:16:27,833 - DEBUG - Verifying the vn in opserver
2026-02-02 09:16:27,833 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-72163158 virtual network link through opserver 10.0.0.19
2026-02-02 09:16:27,834 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-02 09:16:28,126 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-02 09:16:28,208 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-72163158', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-72163158?flat'}
2026-02-02 09:16:28,208 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-72163158 is found in opserver
2026-02-02 09:16:28,217 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 09:16:28,223 - DEBUG - VRF ids for VN ctest-vn-72163158: {}
2026-02-02 09:16:28,223 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-02 09:16:28,231 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e95fce11-2ae1-425a-b2ce-6e2e6df5975a
2026-02-02 09:16:28,248 - DEBUG - Requesting: http://10.0.0.19:8082/project/85a1eed5-b5b6-4319-92d8-5ea4f23a63c8
2026-02-02 09:16:28,322 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3ad49e85-8244-41d3-9f44-9b6640388691
2026-02-02 09:16:28,334 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3ad49e85-8244-41d3-9f44-9b6640388691
2026-02-02 09:16:28,345 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0e3702ce-abb8-45f1-993f-229d726781a4
2026-02-02 09:16:28,353 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0e3702ce-abb8-45f1-993f-229d726781a4
2026-02-02 09:16:28,360 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/74d7a377-8849-4c74-a856-1d1ec14b6fbe
2026-02-02 09:16:28,367 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 09:16:28,367 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3ad49e85-8244-41d3-9f44-9b6640388691
2026-02-02 09:16:28,376 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0e3702ce-abb8-45f1-993f-229d726781a4
2026-02-02 09:16:28,393 - INFO - Verified VN network id 12 for VN 3ad49e85-8244-41d3-9f44-9b6640388691
2026-02-02 09:16:28,393 - INFO - Verifications in API Server for VN ctest-vn-37045412 passed
2026-02-02 09:16:28,393 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3ad49e85-8244-41d3-9f44-9b6640388691
2026-02-02 09:16:28,405 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0e3702ce-abb8-45f1-993f-229d726781a4
2026-02-02 09:16:28,413 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0e3702ce-abb8-45f1-993f-229d726781a4
2026-02-02 09:16:28,420 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/74d7a377-8849-4c74-a856-1d1ec14b6fbe
2026-02-02 09:16:28,435 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-37045412', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66386483', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4239187445515829715', 'uuid-lslong': '11476468613913282193'}, 'enable': 'true', 'created': '2026-02-02T09:16:26', 'last-modified': '2026-02-02T09:16:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.465261'}
2026-02-02 09:16:28,441 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 09:16:28,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37045412 passed
2026-02-02 09:16:28,441 - DEBUG - ====Verifying policy data for ctest-vn-37045412 in API_Server ======
2026-02-02 09:16:28,441 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-02 09:16:28,447 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e95fce11-2ae1-425a-b2ce-6e2e6df5975a
2026-02-02 09:16:28,458 - DEBUG - Requesting: http://10.0.0.19:8082/project/85a1eed5-b5b6-4319-92d8-5ea4f23a63c8
2026-02-02 09:16:28,530 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3ad49e85-8244-41d3-9f44-9b6640388691
2026-02-02 09:16:28,540 - DEBUG - ==>Verifying data for policy with id: 07cc9c4d-0894-429b-87a5-a42849027912, fqn: ['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-policy-allow-all-99786111']
2026-02-02 09:16:28,540 - INFO - VN ctest-vn-37045412 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 09:16:28,540 - DEBUG - Verifying the vn in opserver
2026-02-02 09:16:28,540 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-37045412 virtual network link through opserver 10.0.0.19
2026-02-02 09:16:28,540 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-02 09:16:28,551 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-37045412', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-37045412?flat'}
2026-02-02 09:16:28,551 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-37045412 is found in opserver
2026-02-02 09:16:28,562 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 09:16:28,566 - DEBUG - VRF ids for VN ctest-vn-37045412: {}
2026-02-02 09:16:28,625 - DEBUG - Services list from nova: [