2026-09-20 15:58:14,050 - INFO - Domain Default found not creating
2026-09-20 15:58:14,277 - INFO - Project ctest-TestBasicPolicy-16011434 not found, creating it
2026-09-20 15:58:14,878 - INFO - Created Project:ctest-TestBasicPolicy-16011434, ID : b42dff66-6586-4e9d-9d40-55a97b08896e
2026-09-20 15:58:17,149 - INFO - ================================================================================
2026-09-20 15:58:17,149 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-20 15:58:17,149 - 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-09-20 15:58:17,439 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with
2026-09-20 15:58:17,439 - INFO - Initial checks done. Running the testcase now
2026-09-20 15:58:17,439 - INFO -
2026-09-20 15:58:18,167 - DEBUG - Response for create_network : {'network': {'id': '2ccfd24d-fadb-46df-a8f8-972bef657533', 'name': 'ctest-vn-81394532', 'tenant_id': 'b42dff6665864e9d9d4055a97b08896e', 'project_id': 'b42dff6665864e9d9d4055a97b08896e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16011434', 'ctest-vn-81394532'], 'port_security_enabled': True, 'description': ''}}
2026-09-20 15:58:18,421 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd54ba7ef-abc7-46ae-8d0a-9ef350e458d8', 'name': '', 'tenant_id': 'b42dff6665864e9d9d4055a97b08896e', 'network_id': '2ccfd24d-fadb-46df-a8f8-972bef657533', 'ip_version': 4, 'cidr': '156.114.29.64/26', 'allocation_pools': [{'start': '156.114.29.66', 'end': '156.114.29.126'}], 'gateway_ip': '156.114.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.114.29.66', 'tags': [], 'project_id': 'b42dff6665864e9d9d4055a97b08896e'}}
2026-09-20 15:58:18,446 - INFO - Created VN ctest-vn-81394532
2026-09-20 15:58:18,502 - DEBUG - VN ctest-vn-81394532 UUID is 2ccfd24d-fadb-46df-a8f8-972bef657533
2026-09-20 15:58:18,882 - DEBUG - Response for create_network : {'network': {'id': 'c50c2d84-0bba-466b-bb35-ce8ff038143f', 'name': 'ctest-vn-81626650', 'tenant_id': 'b42dff6665864e9d9d4055a97b08896e', 'project_id': 'b42dff6665864e9d9d4055a97b08896e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16011434', 'ctest-vn-81626650'], 'port_security_enabled': True, 'description': ''}}
2026-09-20 15:58:19,144 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfe4b569-5294-45d7-beee-bc68ec48dc4b', 'name': '', 'tenant_id': 'b42dff6665864e9d9d4055a97b08896e', 'network_id': 'c50c2d84-0bba-466b-bb35-ce8ff038143f', 'ip_version': 4, 'cidr': '212.245.111.192/26', 'allocation_pools': [{'start': '212.245.111.194', 'end': '212.245.111.254'}], 'gateway_ip': '212.245.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.245.111.194', 'tags': [], 'project_id': 'b42dff6665864e9d9d4055a97b08896e'}}
2026-09-20 15:58:19,169 - INFO - Created VN ctest-vn-81626650
2026-09-20 15:58:19,230 - DEBUG - VN ctest-vn-81626650 UUID is c50c2d84-0bba-466b-bb35-ce8ff038143f
2026-09-20 15:58:19,368 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16011434:ctest-vn-81394532, 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-16011434:ctest-vn-81626650, 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-09-20 15:58:19,732 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ccfd24d-fadb-46df-a8f8-972bef657533', 'name': 'ctest-vn-81394532', 'tenant_id': 'b42dff6665864e9d9d4055a97b08896e', 'project_id': 'b42dff6665864e9d9d4055a97b08896e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d54ba7ef-abc7-46ae-8d0a-9ef350e458d8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16011434', 'ctest-vn-81394532'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16011434', 'ctest-policy-allow-all-58801838']], 'subnet_ipam': [{'subnet_cidr': '156.114.29.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-20 15:58:20,034 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c50c2d84-0bba-466b-bb35-ce8ff038143f', 'name': 'ctest-vn-81626650', 'tenant_id': 'b42dff6665864e9d9d4055a97b08896e', 'project_id': 'b42dff6665864e9d9d4055a97b08896e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['dfe4b569-5294-45d7-beee-bc68ec48dc4b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16011434', 'ctest-vn-81626650'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16011434', 'ctest-policy-allow-all-58801838']], 'subnet_ipam': [{'subnet_cidr': '212.245.111.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-20 15:58:20,234 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-20 15:58:20,660 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-20 15:58:20,700 - DEBUG - Requesting: http://10.0.0.189:8082/domain/90332043-2407-4138-95a5-56facc48b8c6
2026-09-20 15:58:20,717 - DEBUG - Requesting: http://10.0.0.189:8082/project/b42dff66-6586-4e9d-9d40-55a97b08896e
2026-09-20 15:58:20,807 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/2ccfd24d-fadb-46df-a8f8-972bef657533
2026-09-20 15:58:20,827 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/2ccfd24d-fadb-46df-a8f8-972bef657533
2026-09-20 15:58:20,840 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/269758d4-998d-4f6e-856e-9ed3d21abc9b
2026-09-20 15:58:20,851 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/269758d4-998d-4f6e-856e-9ed3d21abc9b
2026-09-20 15:58:20,864 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/23726e26-460c-4abd-b352-3cc353c9ec9b
2026-09-20 15:58:20,874 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-20 15:58:20,874 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/2ccfd24d-fadb-46df-a8f8-972bef657533
2026-09-20 15:58:20,887 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/269758d4-998d-4f6e-856e-9ed3d21abc9b
2026-09-20 15:58:20,908 - INFO - Verified VN network id 12 for VN 2ccfd24d-fadb-46df-a8f8-972bef657533
2026-09-20 15:58:20,908 - INFO - Verifications in API Server for VN ctest-vn-81394532 passed
2026-09-20 15:58:20,909 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/2ccfd24d-fadb-46df-a8f8-972bef657533
2026-09-20 15:58:20,921 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/269758d4-998d-4f6e-856e-9ed3d21abc9b
2026-09-20 15:58:20,932 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/269758d4-998d-4f6e-856e-9ed3d21abc9b
2026-09-20 15:58:20,944 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/23726e26-460c-4abd-b352-3cc353c9ec9b
2026-09-20 15:58:20,962 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16011434:ctest-vn-81394532', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16011434', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3229030690210924255', 'uuid-lslong': '12175647807551927603'}, 'enable': 'true', 'created': '2026-09-20T15:58:18', 'last-modified': '2026-09-20T15:58:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.269667'}
2026-09-20 15:58:20,971 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-20 15:58:20,971 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81394532 passed
2026-09-20 15:58:20,971 - DEBUG - ====Verifying policy data for ctest-vn-81394532 in API_Server ======
2026-09-20 15:58:20,971 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-20 15:58:20,979 - DEBUG - Requesting: http://10.0.0.189:8082/domain/90332043-2407-4138-95a5-56facc48b8c6
2026-09-20 15:58:20,996 - DEBUG - Requesting: http://10.0.0.189:8082/project/b42dff66-6586-4e9d-9d40-55a97b08896e
2026-09-20 15:58:21,081 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/2ccfd24d-fadb-46df-a8f8-972bef657533
2026-09-20 15:58:21,093 - DEBUG - ==>Verifying data for policy with id: a77810d0-0c4a-4be7-9be7-1b78cf884dd4, fqn: ['default-domain', 'ctest-TestBasicPolicy-16011434', 'ctest-policy-allow-all-58801838']
2026-09-20 15:58:21,093 - INFO - VN ctest-vn-81394532 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-20 15:58:21,093 - DEBUG - Verifying the vn in opserver
2026-09-20 15:58:21,093 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16011434:ctest-vn-81394532 virtual network link through opserver 10.0.0.189
2026-09-20 15:58:21,094 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-20 15:58:21,505 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-20 15:58:21,579 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16011434:ctest-vn-81394532', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16011434:ctest-vn-81394532?flat'}
2026-09-20 15:58:21,579 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16011434:ctest-vn-81394532 is found in opserver
2026-09-20 15:58:21,594 - DEBUG - Do not have enough data to verify VN in agent
2026-09-20 15:58:21,600 - DEBUG - VRF ids for VN ctest-vn-81394532: {}
2026-09-20 15:58:21,600 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-20 15:58:21,607 - DEBUG - Requesting: http://10.0.0.189:8082/domain/90332043-2407-4138-95a5-56facc48b8c6
2026-09-20 15:58:21,623 - DEBUG - Requesting: http://10.0.0.189:8082/project/b42dff66-6586-4e9d-9d40-55a97b08896e
2026-09-20 15:58:21,714 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/c50c2d84-0bba-466b-bb35-ce8ff038143f
2026-09-20 15:58:21,733 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/c50c2d84-0bba-466b-bb35-ce8ff038143f
2026-09-20 15:58:21,748 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/04382be6-9bd8-42db-9472-9519f8f310fe
2026-09-20 15:58:21,759 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/04382be6-9bd8-42db-9472-9519f8f310fe
2026-09-20 15:58:21,769 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/0cc5c6cd-3ee2-453f-8219-6445d6854f30
2026-09-20 15:58:21,778 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-20 15:58:21,778 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/c50c2d84-0bba-466b-bb35-ce8ff038143f
2026-09-20 15:58:21,791 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/04382be6-9bd8-42db-9472-9519f8f310fe
2026-09-20 15:58:21,812 - INFO - Verified VN network id 13 for VN c50c2d84-0bba-466b-bb35-ce8ff038143f
2026-09-20 15:58:21,812 - INFO - Verifications in API Server for VN ctest-vn-81626650 passed
2026-09-20 15:58:21,813 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/c50c2d84-0bba-466b-bb35-ce8ff038143f
2026-09-20 15:58:21,828 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/04382be6-9bd8-42db-9472-9519f8f310fe
2026-09-20 15:58:21,839 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/04382be6-9bd8-42db-9472-9519f8f310fe
2026-09-20 15:58:21,849 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/0cc5c6cd-3ee2-453f-8219-6445d6854f30
2026-09-20 15:58:21,867 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16011434:ctest-vn-81626650', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16011434', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14198773770348021355', 'uuid-lslong': '13489915376464041023'}, 'enable': 'true', 'created': '2026-09-20T15:58:18', 'last-modified': '2026-09-20T15:58:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.878966'}
2026-09-20 15:58:21,876 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-20 15:58:21,877 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81626650 passed
2026-09-20 15:58:21,877 - DEBUG - ====Verifying policy data for ctest-vn-81626650 in API_Server ======
2026-09-20 15:58:21,877 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-20 15:58:21,886 - DEBUG - Requesting: http://10.0.0.189:8082/domain/90332043-2407-4138-95a5-56facc48b8c6
2026-09-20 15:58:21,904 - DEBUG - Requesting: http://10.0.0.189:8082/project/b42dff66-6586-4e9d-9d40-55a97b08896e
2026-09-20 15:58:21,992 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/c50c2d84-0bba-466b-bb35-ce8ff038143f
2026-09-20 15:58:22,008 - DEBUG - ==>Verifying data for policy with id: a77810d0-0c4a-4be7-9be7-1b78cf884dd4, fqn: ['default-domain', 'ctest-TestBasicPolicy-16011434', 'ctest-policy-allow-all-58801838']
2026-09-20 15:58:22,008 - INFO - VN ctest-vn-81626650 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-20 15:58:22,008 - DEBUG - Verifying the vn in opserver
2026-09-20 15:58:22,008 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16011434:ctest-vn-81626650 virtual network link through opserver 10.0.0.189
2026-09-20 15:58:22,008 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-20 15:58:22,023 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16011434:ctest-vn-81626650', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16011434:ctest-vn-81626650?flat'}
2026-09-20 15:58:22,023 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16011434:ctest-vn-81626650 is found in opserver
2026-09-20 15:58:22,038 - DEBUG - Do not have enough data to verify VN in agent
2026-09-20 15:58:22,045 - DEBUG - VRF ids for VN ctest-vn-81626650: {}
2026-09-20 15:58:22,127 - DEBUG - Services list from nova: [