2026-10-05 21:41:55,414 - INFO - Domain Default found not creating
2026-10-05 21:41:55,569 - INFO - Project ctest-TestBasicPolicy-58037355 not found, creating it
2026-10-05 21:41:56,021 - INFO - Created Project:ctest-TestBasicPolicy-58037355, ID : 72e4685e-3d5a-402e-b8b9-aee4e0d0d99c
2026-10-05 21:41:57,657 - INFO - ================================================================================
2026-10-05 21:41:57,658 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-05 21:41:57,658 - 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-05 21:41:57,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with
2026-10-05 21:41:57,916 - INFO - Initial checks done. Running the testcase now
2026-10-05 21:41:57,916 - INFO -
2026-10-05 21:41:58,542 - DEBUG - Response for create_network : {'network': {'id': '6b11e70b-9934-4032-8743-1e7cc9506819', 'name': 'ctest-vn-36768063', 'tenant_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'project_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-vn-36768063'], 'port_security_enabled': True, 'description': ''}}
2026-10-05 21:41:58,750 - DEBUG - Response for create_subnet : {'subnet': {'id': '00356551-570e-439a-901e-b3d73669bf09', 'name': '', 'tenant_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'network_id': '6b11e70b-9934-4032-8743-1e7cc9506819', 'ip_version': 4, 'cidr': '72.26.229.64/26', 'allocation_pools': [{'start': '72.26.229.66', 'end': '72.26.229.126'}], 'gateway_ip': '72.26.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.26.229.66', 'tags': [], 'project_id': '72e4685e3d5a402eb8b9aee4e0d0d99c'}}
2026-10-05 21:41:58,764 - INFO - Created VN ctest-vn-36768063
2026-10-05 21:41:58,818 - DEBUG - VN ctest-vn-36768063 UUID is 6b11e70b-9934-4032-8743-1e7cc9506819
2026-10-05 21:41:59,138 - DEBUG - Response for create_network : {'network': {'id': '9b00f2ab-5108-4169-a1f2-d47f899b4754', 'name': 'ctest-vn-26525803', 'tenant_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'project_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-vn-26525803'], 'port_security_enabled': True, 'description': ''}}
2026-10-05 21:41:59,338 - DEBUG - Response for create_subnet : {'subnet': {'id': '447553bd-f3c5-4689-8587-e451eb44faee', 'name': '', 'tenant_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'network_id': '9b00f2ab-5108-4169-a1f2-d47f899b4754', 'ip_version': 4, 'cidr': '114.76.118.128/26', 'allocation_pools': [{'start': '114.76.118.130', 'end': '114.76.118.190'}], 'gateway_ip': '114.76.118.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.76.118.130', 'tags': [], 'project_id': '72e4685e3d5a402eb8b9aee4e0d0d99c'}}
2026-10-05 21:41:59,354 - INFO - Created VN ctest-vn-26525803
2026-10-05 21:41:59,406 - DEBUG - VN ctest-vn-26525803 UUID is 9b00f2ab-5108-4169-a1f2-d47f899b4754
2026-10-05 21:41:59,553 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-36768063, 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-58037355:ctest-vn-26525803, 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-05 21:41:59,859 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6b11e70b-9934-4032-8743-1e7cc9506819', 'name': 'ctest-vn-36768063', 'tenant_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'project_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['00356551-570e-439a-901e-b3d73669bf09'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-vn-36768063'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-policy-allow-all-19911181']], 'subnet_ipam': [{'subnet_cidr': '72.26.229.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-05 21:42:00,097 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b00f2ab-5108-4169-a1f2-d47f899b4754', 'name': 'ctest-vn-26525803', 'tenant_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'project_id': '72e4685e3d5a402eb8b9aee4e0d0d99c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['447553bd-f3c5-4689-8587-e451eb44faee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-vn-26525803'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-policy-allow-all-19911181']], 'subnet_ipam': [{'subnet_cidr': '114.76.118.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-05 21:42:00,270 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 21:42:00,633 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 21:42:00,660 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9493e94d-af95-42ca-9ca5-57754df57a74
2026-10-05 21:42:00,671 - DEBUG - Requesting: http://10.0.0.50:8082/project/72e4685e-3d5a-402e-b8b9-aee4e0d0d99c
2026-10-05 21:42:00,745 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b11e70b-9934-4032-8743-1e7cc9506819
2026-10-05 21:42:00,758 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b11e70b-9934-4032-8743-1e7cc9506819
2026-10-05 21:42:00,767 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bd4f9c9-07a0-45aa-8397-fb810ce5967d
2026-10-05 21:42:00,774 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bd4f9c9-07a0-45aa-8397-fb810ce5967d
2026-10-05 21:42:00,780 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8d8fffcb-0ad9-493c-8a13-e116c3e19ab3
2026-10-05 21:42:00,786 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-05 21:42:00,786 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b11e70b-9934-4032-8743-1e7cc9506819
2026-10-05 21:42:00,795 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bd4f9c9-07a0-45aa-8397-fb810ce5967d
2026-10-05 21:42:00,808 - INFO - Verified VN network id 12 for VN 6b11e70b-9934-4032-8743-1e7cc9506819
2026-10-05 21:42:00,808 - INFO - Verifications in API Server for VN ctest-vn-36768063 passed
2026-10-05 21:42:00,808 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b11e70b-9934-4032-8743-1e7cc9506819
2026-10-05 21:42:00,816 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bd4f9c9-07a0-45aa-8397-fb810ce5967d
2026-10-05 21:42:00,823 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3bd4f9c9-07a0-45aa-8397-fb810ce5967d
2026-10-05 21:42:00,830 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8d8fffcb-0ad9-493c-8a13-e116c3e19ab3
2026-10-05 21:42:00,842 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-36768063', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58037355', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7715201673663365170', 'uuid-lslong': '9746667539862153241'}, 'enable': 'true', 'created': '2026-10-05T21:41:58', 'last-modified': '2026-10-05T21:41:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001855'}
2026-10-05 21:42:00,847 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-05 21:42:00,848 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36768063 passed
2026-10-05 21:42:00,848 - DEBUG - ====Verifying policy data for ctest-vn-36768063 in API_Server ======
2026-10-05 21:42:00,848 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 21:42:00,854 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9493e94d-af95-42ca-9ca5-57754df57a74
2026-10-05 21:42:00,866 - DEBUG - Requesting: http://10.0.0.50:8082/project/72e4685e-3d5a-402e-b8b9-aee4e0d0d99c
2026-10-05 21:42:00,940 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6b11e70b-9934-4032-8743-1e7cc9506819
2026-10-05 21:42:00,952 - DEBUG - ==>Verifying data for policy with id: b08e02ad-dfa0-4288-8ab0-42304c55dc69, fqn: ['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-policy-allow-all-19911181']
2026-10-05 21:42:00,952 - INFO - VN ctest-vn-36768063 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-05 21:42:00,952 - DEBUG - Verifying the vn in opserver
2026-10-05 21:42:00,952 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-36768063 virtual network link through opserver 10.0.0.50
2026-10-05 21:42:00,953 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-05 21:42:01,316 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-05 21:42:01,373 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-36768063', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-36768063?flat'}
2026-10-05 21:42:01,373 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-36768063 is found in opserver
2026-10-05 21:42:01,382 - DEBUG - Do not have enough data to verify VN in agent
2026-10-05 21:42:01,388 - DEBUG - VRF ids for VN ctest-vn-36768063: {}
2026-10-05 21:42:01,388 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 21:42:01,393 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9493e94d-af95-42ca-9ca5-57754df57a74
2026-10-05 21:42:01,404 - DEBUG - Requesting: http://10.0.0.50:8082/project/72e4685e-3d5a-402e-b8b9-aee4e0d0d99c
2026-10-05 21:42:01,474 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b00f2ab-5108-4169-a1f2-d47f899b4754
2026-10-05 21:42:01,486 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b00f2ab-5108-4169-a1f2-d47f899b4754
2026-10-05 21:42:01,495 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f88e538-864a-4e85-8933-0368b6be12a7
2026-10-05 21:42:01,502 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f88e538-864a-4e85-8933-0368b6be12a7
2026-10-05 21:42:01,508 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/db4eec39-b9bd-42c2-8e36-9dfcb5da77e5
2026-10-05 21:42:01,514 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-05 21:42:01,514 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b00f2ab-5108-4169-a1f2-d47f899b4754
2026-10-05 21:42:01,523 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f88e538-864a-4e85-8933-0368b6be12a7
2026-10-05 21:42:01,537 - INFO - Verified VN network id 13 for VN 9b00f2ab-5108-4169-a1f2-d47f899b4754
2026-10-05 21:42:01,537 - INFO - Verifications in API Server for VN ctest-vn-26525803 passed
2026-10-05 21:42:01,537 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b00f2ab-5108-4169-a1f2-d47f899b4754
2026-10-05 21:42:01,547 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f88e538-864a-4e85-8933-0368b6be12a7
2026-10-05 21:42:01,553 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3f88e538-864a-4e85-8933-0368b6be12a7
2026-10-05 21:42:01,559 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/db4eec39-b9bd-42c2-8e36-9dfcb5da77e5
2026-10-05 21:42:01,571 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-26525803', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58037355', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11169193893491655017', 'uuid-lslong': '11669623228704966484'}, 'enable': 'true', 'created': '2026-10-05T21:41:59', 'last-modified': '2026-10-05T21:42:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.495004'}
2026-10-05 21:42:01,578 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-05 21:42:01,578 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26525803 passed
2026-10-05 21:42:01,579 - DEBUG - ====Verifying policy data for ctest-vn-26525803 in API_Server ======
2026-10-05 21:42:01,579 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-05 21:42:01,584 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9493e94d-af95-42ca-9ca5-57754df57a74
2026-10-05 21:42:01,595 - DEBUG - Requesting: http://10.0.0.50:8082/project/72e4685e-3d5a-402e-b8b9-aee4e0d0d99c
2026-10-05 21:42:01,669 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b00f2ab-5108-4169-a1f2-d47f899b4754
2026-10-05 21:42:01,678 - DEBUG - ==>Verifying data for policy with id: b08e02ad-dfa0-4288-8ab0-42304c55dc69, fqn: ['default-domain', 'ctest-TestBasicPolicy-58037355', 'ctest-policy-allow-all-19911181']
2026-10-05 21:42:01,678 - INFO - VN ctest-vn-26525803 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-05 21:42:01,678 - DEBUG - Verifying the vn in opserver
2026-10-05 21:42:01,678 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-26525803 virtual network link through opserver 10.0.0.50
2026-10-05 21:42:01,678 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-05 21:42:01,688 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-26525803', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-26525803?flat'}
2026-10-05 21:42:01,688 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58037355:ctest-vn-26525803 is found in opserver
2026-10-05 21:42:01,698 - DEBUG - Do not have enough data to verify VN in agent
2026-10-05 21:42:01,705 - DEBUG - VRF ids for VN ctest-vn-26525803: {}
2026-10-05 21:42:01,764 - DEBUG - Services list from nova: [