2026-10-30 01:31:07,565 - INFO - Domain Default found not creating
2026-10-30 01:31:07,709 - INFO - Project ctest-TestBasicPolicy-12950660 not found, creating it
2026-10-30 01:31:08,129 - INFO - Created Project:ctest-TestBasicPolicy-12950660, ID : da07e698-b202-4beb-a918-d0c5f0c37535
2026-10-30 01:31:09,579 - INFO - ================================================================================
2026-10-30 01:31:09,580 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-30 01:31:09,580 - 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-30 01:31:09,840 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.17': '0'}} with
2026-10-30 01:31:09,840 - INFO - Initial checks done. Running the testcase now
2026-10-30 01:31:09,840 - INFO -
2026-10-30 01:31:10,401 - DEBUG - Response for create_network : {'network': {'id': 'ccb48e9b-bf42-4259-bfc6-7f8182be354a', 'name': 'ctest-vn-71321276', 'tenant_id': 'da07e698b2024beba918d0c5f0c37535', 'project_id': 'da07e698b2024beba918d0c5f0c37535', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12950660', 'ctest-vn-71321276'], 'port_security_enabled': True, 'description': ''}}
2026-10-30 01:31:10,544 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ee45a73-5d2f-432e-9206-31fd8b68f635', 'name': '', 'tenant_id': 'da07e698b2024beba918d0c5f0c37535', 'network_id': 'ccb48e9b-bf42-4259-bfc6-7f8182be354a', 'ip_version': 4, 'cidr': '22.171.138.192/26', 'allocation_pools': [{'start': '22.171.138.194', 'end': '22.171.138.254'}], 'gateway_ip': '22.171.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.171.138.194', 'tags': [], 'project_id': 'da07e698b2024beba918d0c5f0c37535'}}
2026-10-30 01:31:10,557 - INFO - Created VN ctest-vn-71321276
2026-10-30 01:31:10,611 - DEBUG - VN ctest-vn-71321276 UUID is ccb48e9b-bf42-4259-bfc6-7f8182be354a
2026-10-30 01:31:10,918 - DEBUG - Response for create_network : {'network': {'id': 'e0932bdf-d67d-4be0-b122-37d4e89a799a', 'name': 'ctest-vn-96983209', 'tenant_id': 'da07e698b2024beba918d0c5f0c37535', 'project_id': 'da07e698b2024beba918d0c5f0c37535', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12950660', 'ctest-vn-96983209'], 'port_security_enabled': True, 'description': ''}}
2026-10-30 01:31:11,107 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f914ba21-abd3-47a3-b2a5-8d536a36db32', 'name': '', 'tenant_id': 'da07e698b2024beba918d0c5f0c37535', 'network_id': 'e0932bdf-d67d-4be0-b122-37d4e89a799a', 'ip_version': 4, 'cidr': '81.83.205.128/26', 'allocation_pools': [{'start': '81.83.205.130', 'end': '81.83.205.190'}], 'gateway_ip': '81.83.205.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.83.205.130', 'tags': [], 'project_id': 'da07e698b2024beba918d0c5f0c37535'}}
2026-10-30 01:31:11,120 - INFO - Created VN ctest-vn-96983209
2026-10-30 01:31:11,171 - DEBUG - VN ctest-vn-96983209 UUID is e0932bdf-d67d-4be0-b122-37d4e89a799a
2026-10-30 01:31:11,307 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12950660:ctest-vn-71321276, 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-12950660:ctest-vn-96983209, 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-30 01:31:11,593 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ccb48e9b-bf42-4259-bfc6-7f8182be354a', 'name': 'ctest-vn-71321276', 'tenant_id': 'da07e698b2024beba918d0c5f0c37535', 'project_id': 'da07e698b2024beba918d0c5f0c37535', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0ee45a73-5d2f-432e-9206-31fd8b68f635'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12950660', 'ctest-vn-71321276'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12950660', 'ctest-policy-allow-all-68659385']], 'subnet_ipam': [{'subnet_cidr': '22.171.138.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-30 01:31:11,814 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e0932bdf-d67d-4be0-b122-37d4e89a799a', 'name': 'ctest-vn-96983209', 'tenant_id': 'da07e698b2024beba918d0c5f0c37535', 'project_id': 'da07e698b2024beba918d0c5f0c37535', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f914ba21-abd3-47a3-b2a5-8d536a36db32'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12950660', 'ctest-vn-96983209'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12950660', 'ctest-policy-allow-all-68659385']], 'subnet_ipam': [{'subnet_cidr': '81.83.205.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-30 01:31:11,979 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-30 01:31:12,296 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-30 01:31:12,318 - DEBUG - Requesting: http://10.0.0.248:8082/domain/07610c57-c146-46d3-8686-046872fbe8c3
2026-10-30 01:31:12,328 - DEBUG - Requesting: http://10.0.0.248:8082/project/da07e698-b202-4beb-a918-d0c5f0c37535
2026-10-30 01:31:12,398 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/ccb48e9b-bf42-4259-bfc6-7f8182be354a
2026-10-30 01:31:12,407 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/ccb48e9b-bf42-4259-bfc6-7f8182be354a
2026-10-30 01:31:12,414 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/3ed8bca2-3857-4393-8623-a4ff77908264
2026-10-30 01:31:12,419 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/3ed8bca2-3857-4393-8623-a4ff77908264
2026-10-30 01:31:12,424 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/81a7fcec-f18a-4a28-8564-28f4921d365a
2026-10-30 01:31:12,428 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-30 01:31:12,428 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/ccb48e9b-bf42-4259-bfc6-7f8182be354a
2026-10-30 01:31:12,435 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/3ed8bca2-3857-4393-8623-a4ff77908264
2026-10-30 01:31:12,445 - INFO - Verified VN network id 12 for VN ccb48e9b-bf42-4259-bfc6-7f8182be354a
2026-10-30 01:31:12,445 - INFO - Verifications in API Server for VN ctest-vn-71321276 passed
2026-10-30 01:31:12,445 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/ccb48e9b-bf42-4259-bfc6-7f8182be354a
2026-10-30 01:31:12,452 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/3ed8bca2-3857-4393-8623-a4ff77908264
2026-10-30 01:31:12,457 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/3ed8bca2-3857-4393-8623-a4ff77908264
2026-10-30 01:31:12,463 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/81a7fcec-f18a-4a28-8564-28f4921d365a
2026-10-30 01:31:12,472 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12950660:ctest-vn-71321276', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12950660', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14750571479125082713', 'uuid-lslong': '13818872700853957962'}, 'enable': 'true', 'created': '2026-10-30T01:31:10', 'last-modified': '2026-10-30T01:31:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.903389'}
2026-10-30 01:31:12,479 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-30 01:31:12,479 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71321276 passed
2026-10-30 01:31:12,479 - DEBUG - ====Verifying policy data for ctest-vn-71321276 in API_Server ======
2026-10-30 01:31:12,479 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-30 01:31:12,483 - DEBUG - Requesting: http://10.0.0.248:8082/domain/07610c57-c146-46d3-8686-046872fbe8c3
2026-10-30 01:31:12,492 - DEBUG - Requesting: http://10.0.0.248:8082/project/da07e698-b202-4beb-a918-d0c5f0c37535
2026-10-30 01:31:12,560 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/ccb48e9b-bf42-4259-bfc6-7f8182be354a
2026-10-30 01:31:12,568 - DEBUG - ==>Verifying data for policy with id: eebb5857-18d3-4f6d-88f8-f23451986630, fqn: ['default-domain', 'ctest-TestBasicPolicy-12950660', 'ctest-policy-allow-all-68659385']
2026-10-30 01:31:12,568 - INFO - VN ctest-vn-71321276 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-30 01:31:12,568 - DEBUG - Verifying the vn in opserver
2026-10-30 01:31:12,568 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12950660:ctest-vn-71321276 virtual network link through opserver 10.0.0.248
2026-10-30 01:31:12,569 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-10-30 01:31:12,882 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-10-30 01:31:12,925 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12950660:ctest-vn-71321276', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12950660:ctest-vn-71321276?flat'}
2026-10-30 01:31:12,925 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12950660:ctest-vn-71321276 is found in opserver
2026-10-30 01:31:12,933 - DEBUG - Do not have enough data to verify VN in agent
2026-10-30 01:31:12,937 - DEBUG - VRF ids for VN ctest-vn-71321276: {}
2026-10-30 01:31:12,937 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-30 01:31:12,941 - DEBUG - Requesting: http://10.0.0.248:8082/domain/07610c57-c146-46d3-8686-046872fbe8c3
2026-10-30 01:31:12,949 - DEBUG - Requesting: http://10.0.0.248:8082/project/da07e698-b202-4beb-a918-d0c5f0c37535
2026-10-30 01:31:13,016 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/e0932bdf-d67d-4be0-b122-37d4e89a799a
2026-10-30 01:31:13,025 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/e0932bdf-d67d-4be0-b122-37d4e89a799a
2026-10-30 01:31:13,032 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/58a14f1b-3a44-454b-b07b-da51454d76de
2026-10-30 01:31:13,037 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/58a14f1b-3a44-454b-b07b-da51454d76de
2026-10-30 01:31:13,042 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/487e0616-e6ea-4bfc-8e16-7a3760c2d9d4
2026-10-30 01:31:13,046 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-30 01:31:13,046 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/e0932bdf-d67d-4be0-b122-37d4e89a799a
2026-10-30 01:31:13,052 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/58a14f1b-3a44-454b-b07b-da51454d76de
2026-10-30 01:31:13,062 - INFO - Verified VN network id 13 for VN e0932bdf-d67d-4be0-b122-37d4e89a799a
2026-10-30 01:31:13,062 - INFO - Verifications in API Server for VN ctest-vn-96983209 passed
2026-10-30 01:31:13,062 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/e0932bdf-d67d-4be0-b122-37d4e89a799a
2026-10-30 01:31:13,069 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/58a14f1b-3a44-454b-b07b-da51454d76de
2026-10-30 01:31:13,074 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/58a14f1b-3a44-454b-b07b-da51454d76de
2026-10-30 01:31:13,078 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/487e0616-e6ea-4bfc-8e16-7a3760c2d9d4
2026-10-30 01:31:13,087 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12950660:ctest-vn-96983209', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12950660', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16182326126448561120', 'uuid-lslong': '12763825681496439194'}, 'enable': 'true', 'created': '2026-10-30T01:31:10', 'last-modified': '2026-10-30T01:31:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.293681'}
2026-10-30 01:31:13,093 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-30 01:31:13,093 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96983209 passed
2026-10-30 01:31:13,093 - DEBUG - ====Verifying policy data for ctest-vn-96983209 in API_Server ======
2026-10-30 01:31:13,093 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-30 01:31:13,097 - DEBUG - Requesting: http://10.0.0.248:8082/domain/07610c57-c146-46d3-8686-046872fbe8c3
2026-10-30 01:31:13,104 - DEBUG - Requesting: http://10.0.0.248:8082/project/da07e698-b202-4beb-a918-d0c5f0c37535
2026-10-30 01:31:13,177 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/e0932bdf-d67d-4be0-b122-37d4e89a799a
2026-10-30 01:31:13,184 - DEBUG - ==>Verifying data for policy with id: eebb5857-18d3-4f6d-88f8-f23451986630, fqn: ['default-domain', 'ctest-TestBasicPolicy-12950660', 'ctest-policy-allow-all-68659385']
2026-10-30 01:31:13,184 - INFO - VN ctest-vn-96983209 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-30 01:31:13,184 - DEBUG - Verifying the vn in opserver
2026-10-30 01:31:13,184 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12950660:ctest-vn-96983209 virtual network link through opserver 10.0.0.248
2026-10-30 01:31:13,184 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-10-30 01:31:13,191 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12950660:ctest-vn-96983209', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12950660:ctest-vn-96983209?flat'}
2026-10-30 01:31:13,191 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12950660:ctest-vn-96983209 is found in opserver
2026-10-30 01:31:13,201 - DEBUG - Do not have enough data to verify VN in agent
2026-10-30 01:31:13,204 - DEBUG - VRF ids for VN ctest-vn-96983209: {}
2026-10-30 01:31:13,267 - DEBUG - Services list from nova: [