2026-02-20 16:19:17,977 - INFO - Domain Default found not creating
2026-02-20 16:19:18,120 - INFO - Project ctest-TestBasicPolicy-73226514 not found, creating it
2026-02-20 16:19:18,553 - INFO - Created Project:ctest-TestBasicPolicy-73226514, ID : 6643c33e-bbab-4408-99ff-91f2a59cbceb
2026-02-20 16:19:19,954 - INFO - ================================================================================
2026-02-20 16:19:19,954 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-20 16:19:19,954 - 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-20 16:19:20,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with
2026-02-20 16:19:20,211 - INFO - Initial checks done. Running the testcase now
2026-02-20 16:19:20,211 - INFO -
2026-02-20 16:19:20,731 - DEBUG - Response for create_network : {'network': {'id': '2a063bb2-b666-4221-adbc-65e095378541', 'name': 'ctest-vn-38540397', 'tenant_id': '6643c33ebbab440899ff91f2a59cbceb', 'project_id': '6643c33ebbab440899ff91f2a59cbceb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73226514', 'ctest-vn-38540397'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 16:19:20,898 - DEBUG - Response for create_subnet : {'subnet': {'id': '3426a9e7-59ca-4beb-adb3-e533b89c6d64', 'name': '', 'tenant_id': '6643c33ebbab440899ff91f2a59cbceb', 'network_id': '2a063bb2-b666-4221-adbc-65e095378541', 'ip_version': 4, 'cidr': '112.93.143.192/26', 'allocation_pools': [{'start': '112.93.143.194', 'end': '112.93.143.254'}], 'gateway_ip': '112.93.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.93.143.194', 'tags': [], 'project_id': '6643c33ebbab440899ff91f2a59cbceb'}}
2026-02-20 16:19:20,913 - INFO - Created VN ctest-vn-38540397
2026-02-20 16:19:20,962 - DEBUG - VN ctest-vn-38540397 UUID is 2a063bb2-b666-4221-adbc-65e095378541
2026-02-20 16:19:21,274 - DEBUG - Response for create_network : {'network': {'id': 'd1d7418a-e689-43f9-b19d-a13f6f4e97b4', 'name': 'ctest-vn-07120929', 'tenant_id': '6643c33ebbab440899ff91f2a59cbceb', 'project_id': '6643c33ebbab440899ff91f2a59cbceb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73226514', 'ctest-vn-07120929'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 16:19:21,430 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0811c89-7e89-4ec4-8aa6-48078df0d42d', 'name': '', 'tenant_id': '6643c33ebbab440899ff91f2a59cbceb', 'network_id': 'd1d7418a-e689-43f9-b19d-a13f6f4e97b4', 'ip_version': 4, 'cidr': '26.38.110.192/26', 'allocation_pools': [{'start': '26.38.110.194', 'end': '26.38.110.254'}], 'gateway_ip': '26.38.110.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.38.110.194', 'tags': [], 'project_id': '6643c33ebbab440899ff91f2a59cbceb'}}
2026-02-20 16:19:21,445 - INFO - Created VN ctest-vn-07120929
2026-02-20 16:19:21,494 - DEBUG - VN ctest-vn-07120929 UUID is d1d7418a-e689-43f9-b19d-a13f6f4e97b4
2026-02-20 16:19:21,634 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73226514:ctest-vn-38540397, 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-73226514:ctest-vn-07120929, 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-20 16:19:22,056 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2a063bb2-b666-4221-adbc-65e095378541', 'name': 'ctest-vn-38540397', 'tenant_id': '6643c33ebbab440899ff91f2a59cbceb', 'project_id': '6643c33ebbab440899ff91f2a59cbceb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3426a9e7-59ca-4beb-adb3-e533b89c6d64'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73226514', 'ctest-vn-38540397'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73226514', 'ctest-policy-allow-all-13095271']], 'subnet_ipam': [{'subnet_cidr': '112.93.143.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 16:19:22,297 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd1d7418a-e689-43f9-b19d-a13f6f4e97b4', 'name': 'ctest-vn-07120929', 'tenant_id': '6643c33ebbab440899ff91f2a59cbceb', 'project_id': '6643c33ebbab440899ff91f2a59cbceb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d0811c89-7e89-4ec4-8aa6-48078df0d42d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73226514', 'ctest-vn-07120929'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73226514', 'ctest-policy-allow-all-13095271']], 'subnet_ipam': [{'subnet_cidr': '26.38.110.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 16:19:22,434 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-20 16:19:22,737 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-20 16:19:22,768 - DEBUG - Requesting: http://10.0.0.129:8082/domain/8dde1870-6c9b-45fe-ba4a-4fab6729ff1d
2026-02-20 16:19:22,778 - DEBUG - Requesting: http://10.0.0.129:8082/project/6643c33e-bbab-4408-99ff-91f2a59cbceb
2026-02-20 16:19:22,853 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2a063bb2-b666-4221-adbc-65e095378541
2026-02-20 16:19:22,872 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2a063bb2-b666-4221-adbc-65e095378541
2026-02-20 16:19:22,880 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/30ff7076-5d5a-4857-bc6c-d6da1453d276
2026-02-20 16:19:22,885 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/30ff7076-5d5a-4857-bc6c-d6da1453d276
2026-02-20 16:19:22,891 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/b39cbf4e-a70c-48ec-9b93-c48fe942191f
2026-02-20 16:19:22,895 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 16:19:22,895 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2a063bb2-b666-4221-adbc-65e095378541
2026-02-20 16:19:22,902 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/30ff7076-5d5a-4857-bc6c-d6da1453d276
2026-02-20 16:19:22,913 - INFO - Verified VN network id 12 for VN 2a063bb2-b666-4221-adbc-65e095378541
2026-02-20 16:19:22,913 - INFO - Verifications in API Server for VN ctest-vn-38540397 passed
2026-02-20 16:19:22,913 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2a063bb2-b666-4221-adbc-65e095378541
2026-02-20 16:19:22,920 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/30ff7076-5d5a-4857-bc6c-d6da1453d276
2026-02-20 16:19:22,926 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/30ff7076-5d5a-4857-bc6c-d6da1453d276
2026-02-20 16:19:22,930 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/b39cbf4e-a70c-48ec-9b93-c48fe942191f
2026-02-20 16:19:22,939 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73226514:ctest-vn-38540397', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73226514', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3028173438203609633', 'uuid-lslong': '12518993079433659713'}, 'enable': 'true', 'created': '2026-02-20T16:19:20', 'last-modified': '2026-02-20T16:19:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922632'}
2026-02-20 16:19:22,944 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 16:19:22,944 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38540397 passed
2026-02-20 16:19:22,945 - DEBUG - ====Verifying policy data for ctest-vn-38540397 in API_Server ======
2026-02-20 16:19:22,945 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-20 16:19:22,949 - DEBUG - Requesting: http://10.0.0.129:8082/domain/8dde1870-6c9b-45fe-ba4a-4fab6729ff1d
2026-02-20 16:19:22,958 - DEBUG - Requesting: http://10.0.0.129:8082/project/6643c33e-bbab-4408-99ff-91f2a59cbceb
2026-02-20 16:19:23,025 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2a063bb2-b666-4221-adbc-65e095378541
2026-02-20 16:19:23,033 - DEBUG - ==>Verifying data for policy with id: e6131847-a99d-45ad-9c15-2f04f9da7cd2, fqn: ['default-domain', 'ctest-TestBasicPolicy-73226514', 'ctest-policy-allow-all-13095271']
2026-02-20 16:19:23,033 - INFO - VN ctest-vn-38540397 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 16:19:23,033 - DEBUG - Verifying the vn in opserver
2026-02-20 16:19:23,033 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73226514:ctest-vn-38540397 virtual network link through opserver 10.0.0.129
2026-02-20 16:19:23,033 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-20 16:19:23,326 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-20 16:19:23,387 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73226514:ctest-vn-38540397', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73226514:ctest-vn-38540397?flat'}
2026-02-20 16:19:23,387 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73226514:ctest-vn-38540397 is found in opserver
2026-02-20 16:19:23,396 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 16:19:23,400 - DEBUG - VRF ids for VN ctest-vn-38540397: {}
2026-02-20 16:19:23,400 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-20 16:19:23,405 - DEBUG - Requesting: http://10.0.0.129:8082/domain/8dde1870-6c9b-45fe-ba4a-4fab6729ff1d
2026-02-20 16:19:23,414 - DEBUG - Requesting: http://10.0.0.129:8082/project/6643c33e-bbab-4408-99ff-91f2a59cbceb
2026-02-20 16:19:23,485 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d1d7418a-e689-43f9-b19d-a13f6f4e97b4
2026-02-20 16:19:23,496 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d1d7418a-e689-43f9-b19d-a13f6f4e97b4
2026-02-20 16:19:23,503 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4d4629e0-3aa9-47fa-84d2-2adabe7ef39c
2026-02-20 16:19:23,508 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4d4629e0-3aa9-47fa-84d2-2adabe7ef39c
2026-02-20 16:19:23,513 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/0177e89b-81d6-471c-9dc4-fa9bbbbcef4d
2026-02-20 16:19:23,520 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 16:19:23,520 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d1d7418a-e689-43f9-b19d-a13f6f4e97b4
2026-02-20 16:19:23,526 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4d4629e0-3aa9-47fa-84d2-2adabe7ef39c
2026-02-20 16:19:23,537 - INFO - Verified VN network id 13 for VN d1d7418a-e689-43f9-b19d-a13f6f4e97b4
2026-02-20 16:19:23,537 - INFO - Verifications in API Server for VN ctest-vn-07120929 passed
2026-02-20 16:19:23,537 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d1d7418a-e689-43f9-b19d-a13f6f4e97b4
2026-02-20 16:19:23,544 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4d4629e0-3aa9-47fa-84d2-2adabe7ef39c
2026-02-20 16:19:23,549 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4d4629e0-3aa9-47fa-84d2-2adabe7ef39c
2026-02-20 16:19:23,555 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/0177e89b-81d6-471c-9dc4-fa9bbbbcef4d
2026-02-20 16:19:23,563 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73226514:ctest-vn-07120929', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73226514', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15120626338748777465', 'uuid-lslong': '12798563009879250868'}, 'enable': 'true', 'created': '2026-02-20T16:19:21', 'last-modified': '2026-02-20T16:19:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.298343'}
2026-02-20 16:19:23,568 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 16:19:23,568 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07120929 passed
2026-02-20 16:19:23,568 - DEBUG - ====Verifying policy data for ctest-vn-07120929 in API_Server ======
2026-02-20 16:19:23,568 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-20 16:19:23,572 - DEBUG - Requesting: http://10.0.0.129:8082/domain/8dde1870-6c9b-45fe-ba4a-4fab6729ff1d
2026-02-20 16:19:23,581 - DEBUG - Requesting: http://10.0.0.129:8082/project/6643c33e-bbab-4408-99ff-91f2a59cbceb
2026-02-20 16:19:23,649 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d1d7418a-e689-43f9-b19d-a13f6f4e97b4
2026-02-20 16:19:23,656 - DEBUG - ==>Verifying data for policy with id: e6131847-a99d-45ad-9c15-2f04f9da7cd2, fqn: ['default-domain', 'ctest-TestBasicPolicy-73226514', 'ctest-policy-allow-all-13095271']
2026-02-20 16:19:23,657 - INFO - VN ctest-vn-07120929 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 16:19:23,657 - DEBUG - Verifying the vn in opserver
2026-02-20 16:19:23,657 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73226514:ctest-vn-07120929 virtual network link through opserver 10.0.0.129
2026-02-20 16:19:23,657 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-20 16:19:23,665 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73226514:ctest-vn-07120929', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73226514:ctest-vn-07120929?flat'}
2026-02-20 16:19:23,665 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73226514:ctest-vn-07120929 is found in opserver
2026-02-20 16:19:23,673 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 16:19:23,677 - DEBUG - VRF ids for VN ctest-vn-07120929: {}
2026-02-20 16:19:23,726 - DEBUG - Services list from nova: [