2026-10-29 22:18:51,967 - INFO - Domain Default found not creating
2026-10-29 22:18:52,167 - INFO - Project ctest-TestBasicPolicy-36511358 not found, creating it
2026-10-29 22:18:52,638 - INFO - Created Project:ctest-TestBasicPolicy-36511358, ID : 24772a6a-4e93-46f1-91a7-eb328711973c
2026-10-29 22:18:54,510 - INFO - ================================================================================
2026-10-29 22:18:54,510 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-29 22:18:54,510 - 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-10-29 22:18:54,783 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with
2026-10-29 22:18:54,783 - INFO - Initial checks done. Running the testcase now
2026-10-29 22:18:54,783 - INFO -
2026-10-29 22:18:55,439 - DEBUG - Response for create_network : {'network': {'id': 'ad849100-c29c-4d95-a837-925f590cee07', 'name': 'ctest-vn-19658196', 'tenant_id': '24772a6a4e9346f191a7eb328711973c', 'project_id': '24772a6a4e9346f191a7eb328711973c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-vn-19658196'], 'port_security_enabled': True, 'description': ''}}
2026-10-29 22:18:55,594 - DEBUG - Response for create_subnet : {'subnet': {'id': '67d74e94-a700-4d0e-b19e-2a1e5d60a9d6', 'name': '', 'tenant_id': '24772a6a4e9346f191a7eb328711973c', 'network_id': 'ad849100-c29c-4d95-a837-925f590cee07', 'ip_version': 4, 'cidr': '155.205.41.0/26', 'allocation_pools': [{'start': '155.205.41.2', 'end': '155.205.41.62'}], 'gateway_ip': '155.205.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.205.41.2', 'tags': [], 'project_id': '24772a6a4e9346f191a7eb328711973c'}}
2026-10-29 22:18:55,612 - INFO - Created VN ctest-vn-19658196
2026-10-29 22:18:55,671 - DEBUG - VN ctest-vn-19658196 UUID is ad849100-c29c-4d95-a837-925f590cee07
2026-10-29 22:18:56,014 - DEBUG - Response for create_network : {'network': {'id': '6637ad5e-95e8-46ec-ac7c-c773a0a8db7a', 'name': 'ctest-vn-92689168', 'tenant_id': '24772a6a4e9346f191a7eb328711973c', 'project_id': '24772a6a4e9346f191a7eb328711973c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-vn-92689168'], 'port_security_enabled': True, 'description': ''}}
2026-10-29 22:18:56,199 - DEBUG - Response for create_subnet : {'subnet': {'id': '30560e5d-22ce-4b2d-9e35-ee0554a51eab', 'name': '', 'tenant_id': '24772a6a4e9346f191a7eb328711973c', 'network_id': '6637ad5e-95e8-46ec-ac7c-c773a0a8db7a', 'ip_version': 4, 'cidr': '159.178.117.192/26', 'allocation_pools': [{'start': '159.178.117.194', 'end': '159.178.117.254'}], 'gateway_ip': '159.178.117.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.178.117.194', 'tags': [], 'project_id': '24772a6a4e9346f191a7eb328711973c'}}
2026-10-29 22:18:56,217 - INFO - Created VN ctest-vn-92689168
2026-10-29 22:18:56,278 - DEBUG - VN ctest-vn-92689168 UUID is 6637ad5e-95e8-46ec-ac7c-c773a0a8db7a
2026-10-29 22:18:56,402 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-19658196, 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-36511358:ctest-vn-92689168, 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-10-29 22:18:56,731 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ad849100-c29c-4d95-a837-925f590cee07', 'name': 'ctest-vn-19658196', 'tenant_id': '24772a6a4e9346f191a7eb328711973c', 'project_id': '24772a6a4e9346f191a7eb328711973c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['67d74e94-a700-4d0e-b19e-2a1e5d60a9d6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-vn-19658196'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-policy-allow-all-40048546']], 'subnet_ipam': [{'subnet_cidr': '155.205.41.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-29 22:18:56,975 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6637ad5e-95e8-46ec-ac7c-c773a0a8db7a', 'name': 'ctest-vn-92689168', 'tenant_id': '24772a6a4e9346f191a7eb328711973c', 'project_id': '24772a6a4e9346f191a7eb328711973c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['30560e5d-22ce-4b2d-9e35-ee0554a51eab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-vn-92689168'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-policy-allow-all-40048546']], 'subnet_ipam': [{'subnet_cidr': '159.178.117.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-29 22:18:57,150 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-29 22:18:57,520 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-29 22:18:57,558 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9fdedb90-1516-45f0-a6de-3d165129d486
2026-10-29 22:18:57,572 - DEBUG - Requesting: http://10.0.0.38:8082/project/24772a6a-4e93-46f1-91a7-eb328711973c
2026-10-29 22:18:57,649 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ad849100-c29c-4d95-a837-925f590cee07
2026-10-29 22:18:57,665 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ad849100-c29c-4d95-a837-925f590cee07
2026-10-29 22:18:57,679 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91cc5ea7-7683-4d6e-b623-482de3374759
2026-10-29 22:18:57,692 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91cc5ea7-7683-4d6e-b623-482de3374759
2026-10-29 22:18:57,701 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c958251d-11cd-4a7a-825c-e26b023e31c5
2026-10-29 22:18:57,710 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-29 22:18:57,710 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ad849100-c29c-4d95-a837-925f590cee07
2026-10-29 22:18:57,723 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91cc5ea7-7683-4d6e-b623-482de3374759
2026-10-29 22:18:57,740 - INFO - Verified VN network id 12 for VN ad849100-c29c-4d95-a837-925f590cee07
2026-10-29 22:18:57,740 - INFO - Verifications in API Server for VN ctest-vn-19658196 passed
2026-10-29 22:18:57,740 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ad849100-c29c-4d95-a837-925f590cee07
2026-10-29 22:18:57,751 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91cc5ea7-7683-4d6e-b623-482de3374759
2026-10-29 22:18:57,758 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91cc5ea7-7683-4d6e-b623-482de3374759
2026-10-29 22:18:57,767 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c958251d-11cd-4a7a-825c-e26b023e31c5
2026-10-29 22:18:57,779 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-19658196', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36511358', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12503277897938390421', 'uuid-lslong': '12121317860304547335'}, 'enable': 'true', 'created': '2026-10-29T22:18:55', 'last-modified': '2026-10-29T22:18:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.076201'}
2026-10-29 22:18:57,790 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-29 22:18:57,791 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19658196 passed
2026-10-29 22:18:57,791 - DEBUG - ====Verifying policy data for ctest-vn-19658196 in API_Server ======
2026-10-29 22:18:57,791 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-29 22:18:57,797 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9fdedb90-1516-45f0-a6de-3d165129d486
2026-10-29 22:18:57,811 - DEBUG - Requesting: http://10.0.0.38:8082/project/24772a6a-4e93-46f1-91a7-eb328711973c
2026-10-29 22:18:57,882 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ad849100-c29c-4d95-a837-925f590cee07
2026-10-29 22:18:57,892 - DEBUG - ==>Verifying data for policy with id: 456259a8-0e91-4e14-8835-9a5d18ec53fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-policy-allow-all-40048546']
2026-10-29 22:18:57,892 - INFO - VN ctest-vn-19658196 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-29 22:18:57,892 - DEBUG - Verifying the vn in opserver
2026-10-29 22:18:57,892 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-19658196 virtual network link through opserver 10.0.0.38
2026-10-29 22:18:57,892 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-29 22:18:58,263 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-29 22:18:58,320 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-19658196', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-19658196?flat'}
2026-10-29 22:18:58,320 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-19658196 is found in opserver
2026-10-29 22:18:58,333 - DEBUG - Do not have enough data to verify VN in agent
2026-10-29 22:18:58,341 - DEBUG - VRF ids for VN ctest-vn-19658196: {}
2026-10-29 22:18:58,341 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-29 22:18:58,348 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9fdedb90-1516-45f0-a6de-3d165129d486
2026-10-29 22:18:58,361 - DEBUG - Requesting: http://10.0.0.38:8082/project/24772a6a-4e93-46f1-91a7-eb328711973c
2026-10-29 22:18:58,439 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6637ad5e-95e8-46ec-ac7c-c773a0a8db7a
2026-10-29 22:18:58,450 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6637ad5e-95e8-46ec-ac7c-c773a0a8db7a
2026-10-29 22:18:58,460 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6223810-033a-47b7-8784-6b0b1012503b
2026-10-29 22:18:58,467 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6223810-033a-47b7-8784-6b0b1012503b
2026-10-29 22:18:58,475 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/63b80c4c-063a-469f-b46e-3a79c84c7076
2026-10-29 22:18:58,482 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-29 22:18:58,482 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6637ad5e-95e8-46ec-ac7c-c773a0a8db7a
2026-10-29 22:18:58,491 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6223810-033a-47b7-8784-6b0b1012503b
2026-10-29 22:18:58,507 - INFO - Verified VN network id 13 for VN 6637ad5e-95e8-46ec-ac7c-c773a0a8db7a
2026-10-29 22:18:58,507 - INFO - Verifications in API Server for VN ctest-vn-92689168 passed
2026-10-29 22:18:58,507 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6637ad5e-95e8-46ec-ac7c-c773a0a8db7a
2026-10-29 22:18:58,517 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6223810-033a-47b7-8784-6b0b1012503b
2026-10-29 22:18:58,525 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f6223810-033a-47b7-8784-6b0b1012503b
2026-10-29 22:18:58,535 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/63b80c4c-063a-469f-b46e-3a79c84c7076
2026-10-29 22:18:58,550 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-92689168', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36511358', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7365546337341294316', 'uuid-lslong': '12429028371066313594'}, 'enable': 'true', 'created': '2026-10-29T22:18:55', 'last-modified': '2026-10-29T22:18:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.598982'}
2026-10-29 22:18:58,557 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-29 22:18:58,558 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92689168 passed
2026-10-29 22:18:58,558 - DEBUG - ====Verifying policy data for ctest-vn-92689168 in API_Server ======
2026-10-29 22:18:58,558 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-29 22:18:58,564 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9fdedb90-1516-45f0-a6de-3d165129d486
2026-10-29 22:18:58,575 - DEBUG - Requesting: http://10.0.0.38:8082/project/24772a6a-4e93-46f1-91a7-eb328711973c
2026-10-29 22:18:58,656 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6637ad5e-95e8-46ec-ac7c-c773a0a8db7a
2026-10-29 22:18:58,667 - DEBUG - ==>Verifying data for policy with id: 456259a8-0e91-4e14-8835-9a5d18ec53fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-36511358', 'ctest-policy-allow-all-40048546']
2026-10-29 22:18:58,667 - INFO - VN ctest-vn-92689168 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-29 22:18:58,667 - DEBUG - Verifying the vn in opserver
2026-10-29 22:18:58,667 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-92689168 virtual network link through opserver 10.0.0.38
2026-10-29 22:18:58,667 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-29 22:18:58,678 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-92689168', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-92689168?flat'}
2026-10-29 22:18:58,679 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36511358:ctest-vn-92689168 is found in opserver
2026-10-29 22:18:58,692 - DEBUG - Do not have enough data to verify VN in agent
2026-10-29 22:18:58,697 - DEBUG - VRF ids for VN ctest-vn-92689168: {}
2026-10-29 22:18:58,762 - DEBUG - Services list from nova: [