2026-02-09 10:12:57,407 - INFO - Domain Default found not creating
2026-02-09 10:12:57,547 - INFO - Project ctest-TestBasicPolicy-62592842 not found, creating it
2026-02-09 10:12:57,968 - INFO - Created Project:ctest-TestBasicPolicy-62592842, ID : cbbad5a6-82ea-4b23-a0ab-1296a09118cd
2026-02-09 10:12:59,360 - INFO - ================================================================================
2026-02-09 10:12:59,361 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-09 10:12:59,361 - 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-09 10:12:59,614 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2026-02-09 10:12:59,614 - INFO - Initial checks done. Running the testcase now
2026-02-09 10:12:59,614 - INFO -
2026-02-09 10:13:00,144 - DEBUG - Response for create_network : {'network': {'id': '1f755238-f9e6-44da-b50f-ce5f7e741ff9', 'name': 'ctest-vn-52424980', 'tenant_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'project_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-vn-52424980'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 10:13:00,311 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a60354d-6e67-4374-836a-db93afc94b56', 'name': '', 'tenant_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'network_id': '1f755238-f9e6-44da-b50f-ce5f7e741ff9', 'ip_version': 4, 'cidr': '49.250.101.192/26', 'allocation_pools': [{'start': '49.250.101.194', 'end': '49.250.101.254'}], 'gateway_ip': '49.250.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.250.101.194', 'tags': [], 'project_id': 'cbbad5a682ea4b23a0ab1296a09118cd'}}
2026-02-09 10:13:00,327 - INFO - Created VN ctest-vn-52424980
2026-02-09 10:13:00,380 - DEBUG - VN ctest-vn-52424980 UUID is 1f755238-f9e6-44da-b50f-ce5f7e741ff9
2026-02-09 10:13:00,688 - DEBUG - Response for create_network : {'network': {'id': '305b10c3-c4c9-4368-ab78-7eb94699e348', 'name': 'ctest-vn-90377962', 'tenant_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'project_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-vn-90377962'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 10:13:00,913 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd758987f-b785-46f1-bf99-66e03b08ac19', 'name': '', 'tenant_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'network_id': '305b10c3-c4c9-4368-ab78-7eb94699e348', 'ip_version': 4, 'cidr': '187.51.216.0/26', 'allocation_pools': [{'start': '187.51.216.2', 'end': '187.51.216.62'}], 'gateway_ip': '187.51.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.51.216.2', 'tags': [], 'project_id': 'cbbad5a682ea4b23a0ab1296a09118cd'}}
2026-02-09 10:13:00,936 - INFO - Created VN ctest-vn-90377962
2026-02-09 10:13:00,988 - DEBUG - VN ctest-vn-90377962 UUID is 305b10c3-c4c9-4368-ab78-7eb94699e348
2026-02-09 10:13:01,136 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-52424980, 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-62592842:ctest-vn-90377962, 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-09 10:13:01,419 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1f755238-f9e6-44da-b50f-ce5f7e741ff9', 'name': 'ctest-vn-52424980', 'tenant_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'project_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3a60354d-6e67-4374-836a-db93afc94b56'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-vn-52424980'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-policy-allow-all-42635987']], 'subnet_ipam': [{'subnet_cidr': '49.250.101.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-09 10:13:01,636 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '305b10c3-c4c9-4368-ab78-7eb94699e348', 'name': 'ctest-vn-90377962', 'tenant_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'project_id': 'cbbad5a682ea4b23a0ab1296a09118cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d758987f-b785-46f1-bf99-66e03b08ac19'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-vn-90377962'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-policy-allow-all-42635987']], 'subnet_ipam': [{'subnet_cidr': '187.51.216.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-09 10:13:01,788 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-09 10:13:02,079 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-09 10:13:02,106 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c00138b4-3c00-4aa0-90d1-ba3de74a9ecf
2026-02-09 10:13:02,119 - DEBUG - Requesting: http://10.0.0.33:8082/project/cbbad5a6-82ea-4b23-a0ab-1296a09118cd
2026-02-09 10:13:02,194 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f755238-f9e6-44da-b50f-ce5f7e741ff9
2026-02-09 10:13:02,202 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f755238-f9e6-44da-b50f-ce5f7e741ff9
2026-02-09 10:13:02,210 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2304b95b-a91a-4c17-b2a8-75219737d530
2026-02-09 10:13:02,215 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2304b95b-a91a-4c17-b2a8-75219737d530
2026-02-09 10:13:02,221 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ba8a08df-3cd0-45af-9a53-8cf57f9ea301
2026-02-09 10:13:02,226 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-09 10:13:02,226 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f755238-f9e6-44da-b50f-ce5f7e741ff9
2026-02-09 10:13:02,233 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2304b95b-a91a-4c17-b2a8-75219737d530
2026-02-09 10:13:02,244 - INFO - Verified VN network id 12 for VN 1f755238-f9e6-44da-b50f-ce5f7e741ff9
2026-02-09 10:13:02,244 - INFO - Verifications in API Server for VN ctest-vn-52424980 passed
2026-02-09 10:13:02,245 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f755238-f9e6-44da-b50f-ce5f7e741ff9
2026-02-09 10:13:02,253 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2304b95b-a91a-4c17-b2a8-75219737d530
2026-02-09 10:13:02,259 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2304b95b-a91a-4c17-b2a8-75219737d530
2026-02-09 10:13:02,265 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ba8a08df-3cd0-45af-9a53-8cf57f9ea301
2026-02-09 10:13:02,275 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-52424980', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62592842', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2266808392115176666', 'uuid-lslong': '13046873555054370809'}, 'enable': 'true', 'created': '2026-02-09T10:13:00', 'last-modified': '2026-02-09T10:13:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.874509'}
2026-02-09 10:13:02,280 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-09 10:13:02,280 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52424980 passed
2026-02-09 10:13:02,280 - DEBUG - ====Verifying policy data for ctest-vn-52424980 in API_Server ======
2026-02-09 10:13:02,280 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-09 10:13:02,286 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c00138b4-3c00-4aa0-90d1-ba3de74a9ecf
2026-02-09 10:13:02,298 - DEBUG - Requesting: http://10.0.0.33:8082/project/cbbad5a6-82ea-4b23-a0ab-1296a09118cd
2026-02-09 10:13:02,365 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f755238-f9e6-44da-b50f-ce5f7e741ff9
2026-02-09 10:13:02,373 - DEBUG - ==>Verifying data for policy with id: 9fca4187-0ad1-4d40-9706-e4fda957f212, fqn: ['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-policy-allow-all-42635987']
2026-02-09 10:13:02,373 - INFO - VN ctest-vn-52424980 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-09 10:13:02,373 - DEBUG - Verifying the vn in opserver
2026-02-09 10:13:02,373 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-52424980 virtual network link through opserver 10.0.0.33
2026-02-09 10:13:02,373 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-09 10:13:02,661 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-09 10:13:02,718 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-52424980', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-52424980?flat'}
2026-02-09 10:13:02,718 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-52424980 is found in opserver
2026-02-09 10:13:02,728 - DEBUG - Do not have enough data to verify VN in agent
2026-02-09 10:13:02,732 - DEBUG - VRF ids for VN ctest-vn-52424980: {}
2026-02-09 10:13:02,732 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-09 10:13:02,737 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c00138b4-3c00-4aa0-90d1-ba3de74a9ecf
2026-02-09 10:13:02,746 - DEBUG - Requesting: http://10.0.0.33:8082/project/cbbad5a6-82ea-4b23-a0ab-1296a09118cd
2026-02-09 10:13:02,814 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/305b10c3-c4c9-4368-ab78-7eb94699e348
2026-02-09 10:13:02,823 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/305b10c3-c4c9-4368-ab78-7eb94699e348
2026-02-09 10:13:02,832 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5230ee3a-d544-42d3-9088-1d3ec517df6b
2026-02-09 10:13:02,839 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5230ee3a-d544-42d3-9088-1d3ec517df6b
2026-02-09 10:13:02,845 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/51eac38d-6e60-4cdf-b008-07e4667bc8e2
2026-02-09 10:13:02,850 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-09 10:13:02,850 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/305b10c3-c4c9-4368-ab78-7eb94699e348
2026-02-09 10:13:02,858 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5230ee3a-d544-42d3-9088-1d3ec517df6b
2026-02-09 10:13:02,868 - INFO - Verified VN network id 13 for VN 305b10c3-c4c9-4368-ab78-7eb94699e348
2026-02-09 10:13:02,868 - INFO - Verifications in API Server for VN ctest-vn-90377962 passed
2026-02-09 10:13:02,868 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/305b10c3-c4c9-4368-ab78-7eb94699e348
2026-02-09 10:13:02,875 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5230ee3a-d544-42d3-9088-1d3ec517df6b
2026-02-09 10:13:02,880 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5230ee3a-d544-42d3-9088-1d3ec517df6b
2026-02-09 10:13:02,885 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/51eac38d-6e60-4cdf-b008-07e4667bc8e2
2026-02-09 10:13:02,894 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-90377962', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62592842', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3484397169707402088', 'uuid-lslong': '12355764911909495624'}, 'enable': 'true', 'created': '2026-02-09T10:13:00', 'last-modified': '2026-02-09T10:13:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.275516'}
2026-02-09 10:13:02,899 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-09 10:13:02,899 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90377962 passed
2026-02-09 10:13:02,899 - DEBUG - ====Verifying policy data for ctest-vn-90377962 in API_Server ======
2026-02-09 10:13:02,899 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-09 10:13:02,904 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c00138b4-3c00-4aa0-90d1-ba3de74a9ecf
2026-02-09 10:13:02,915 - DEBUG - Requesting: http://10.0.0.33:8082/project/cbbad5a6-82ea-4b23-a0ab-1296a09118cd
2026-02-09 10:13:02,994 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/305b10c3-c4c9-4368-ab78-7eb94699e348
2026-02-09 10:13:03,003 - DEBUG - ==>Verifying data for policy with id: 9fca4187-0ad1-4d40-9706-e4fda957f212, fqn: ['default-domain', 'ctest-TestBasicPolicy-62592842', 'ctest-policy-allow-all-42635987']
2026-02-09 10:13:03,003 - INFO - VN ctest-vn-90377962 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-09 10:13:03,003 - DEBUG - Verifying the vn in opserver
2026-02-09 10:13:03,003 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-90377962 virtual network link through opserver 10.0.0.33
2026-02-09 10:13:03,003 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-09 10:13:03,012 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-90377962', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-90377962?flat'}
2026-02-09 10:13:03,012 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62592842:ctest-vn-90377962 is found in opserver
2026-02-09 10:13:03,024 - DEBUG - Do not have enough data to verify VN in agent
2026-02-09 10:13:03,029 - DEBUG - VRF ids for VN ctest-vn-90377962: {}
2026-02-09 10:13:03,082 - DEBUG - Services list from nova: [