2026-09-15 08:13:55,537 - INFO - Domain Default found not creating
2026-09-15 08:13:55,703 - INFO - Project ctest-TestBasicPolicy-86561485 not found, creating it
2026-09-15 08:13:56,190 - INFO - Created Project:ctest-TestBasicPolicy-86561485, ID : aec41389-dc9a-4ea5-855a-9ad7cb2fdd8d
2026-09-15 08:13:57,906 - INFO - ================================================================================
2026-09-15 08:13:57,906 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-15 08:13:57,906 - 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-15 08:13:58,180 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with
2026-09-15 08:13:58,181 - INFO - Initial checks done. Running the testcase now
2026-09-15 08:13:58,181 - INFO -
2026-09-15 08:13:58,816 - DEBUG - Response for create_network : {'network': {'id': '23780c57-6aa1-456f-a51b-583b998125b6', 'name': 'ctest-vn-20789789', 'tenant_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'project_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-vn-20789789'], 'port_security_enabled': True, 'description': ''}}
2026-09-15 08:13:59,037 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd30633c-2ad6-4098-a3b4-d9430c540bb6', 'name': '', 'tenant_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'network_id': '23780c57-6aa1-456f-a51b-583b998125b6', 'ip_version': 4, 'cidr': '87.61.94.64/26', 'allocation_pools': [{'start': '87.61.94.66', 'end': '87.61.94.126'}], 'gateway_ip': '87.61.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.61.94.66', 'tags': [], 'project_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d'}}
2026-09-15 08:13:59,055 - INFO - Created VN ctest-vn-20789789
2026-09-15 08:13:59,106 - DEBUG - VN ctest-vn-20789789 UUID is 23780c57-6aa1-456f-a51b-583b998125b6
2026-09-15 08:13:59,420 - DEBUG - Response for create_network : {'network': {'id': '86798ce0-82e6-4102-9e98-b74bf4939822', 'name': 'ctest-vn-15866604', 'tenant_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'project_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-vn-15866604'], 'port_security_enabled': True, 'description': ''}}
2026-09-15 08:13:59,631 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cde255f7-7fb1-4bde-a175-fce8010142ca', 'name': '', 'tenant_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'network_id': '86798ce0-82e6-4102-9e98-b74bf4939822', 'ip_version': 4, 'cidr': '73.162.194.128/26', 'allocation_pools': [{'start': '73.162.194.130', 'end': '73.162.194.190'}], 'gateway_ip': '73.162.194.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.162.194.130', 'tags': [], 'project_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d'}}
2026-09-15 08:13:59,648 - INFO - Created VN ctest-vn-15866604
2026-09-15 08:13:59,702 - DEBUG - VN ctest-vn-15866604 UUID is 86798ce0-82e6-4102-9e98-b74bf4939822
2026-09-15 08:13:59,814 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-20789789, 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-86561485:ctest-vn-15866604, 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-15 08:14:00,137 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '23780c57-6aa1-456f-a51b-583b998125b6', 'name': 'ctest-vn-20789789', 'tenant_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'project_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['dd30633c-2ad6-4098-a3b4-d9430c540bb6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-vn-20789789'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-policy-allow-all-60628626']], 'subnet_ipam': [{'subnet_cidr': '87.61.94.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-15 08:14:00,387 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '86798ce0-82e6-4102-9e98-b74bf4939822', 'name': 'ctest-vn-15866604', 'tenant_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'project_id': 'aec41389dc9a4ea5855a9ad7cb2fdd8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['cde255f7-7fb1-4bde-a175-fce8010142ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-vn-15866604'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-policy-allow-all-60628626']], 'subnet_ipam': [{'subnet_cidr': '73.162.194.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-15 08:14:00,554 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-15 08:14:00,928 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-15 08:14:00,962 - DEBUG - Requesting: http://10.0.0.177:8082/domain/980269f7-b7b5-44ea-a35a-a9991a1f7245
2026-09-15 08:14:00,977 - DEBUG - Requesting: http://10.0.0.177:8082/project/aec41389-dc9a-4ea5-855a-9ad7cb2fdd8d
2026-09-15 08:14:01,055 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/23780c57-6aa1-456f-a51b-583b998125b6
2026-09-15 08:14:01,068 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/23780c57-6aa1-456f-a51b-583b998125b6
2026-09-15 08:14:01,078 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/266868c1-67b4-4eb8-b03e-da74f8b56814
2026-09-15 08:14:01,087 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/266868c1-67b4-4eb8-b03e-da74f8b56814
2026-09-15 08:14:01,095 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/ffe7005a-dfc6-4939-8dca-cd77c5e2ef39
2026-09-15 08:14:01,101 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-15 08:14:01,101 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/23780c57-6aa1-456f-a51b-583b998125b6
2026-09-15 08:14:01,110 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/266868c1-67b4-4eb8-b03e-da74f8b56814
2026-09-15 08:14:01,124 - INFO - Verified VN network id 12 for VN 23780c57-6aa1-456f-a51b-583b998125b6
2026-09-15 08:14:01,124 - INFO - Verifications in API Server for VN ctest-vn-20789789 passed
2026-09-15 08:14:01,124 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/23780c57-6aa1-456f-a51b-583b998125b6
2026-09-15 08:14:01,134 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/266868c1-67b4-4eb8-b03e-da74f8b56814
2026-09-15 08:14:01,142 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/266868c1-67b4-4eb8-b03e-da74f8b56814
2026-09-15 08:14:01,150 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/ffe7005a-dfc6-4939-8dca-cd77c5e2ef39
2026-09-15 08:14:01,167 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-20789789', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86561485', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2555806358123398511', 'uuid-lslong': '11897199853630989750'}, 'enable': 'true', 'created': '2026-09-15T08:13:58', 'last-modified': '2026-09-15T08:14:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.049148'}
2026-09-15 08:14:01,176 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-15 08:14:01,176 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20789789 passed
2026-09-15 08:14:01,177 - DEBUG - ====Verifying policy data for ctest-vn-20789789 in API_Server ======
2026-09-15 08:14:01,177 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-15 08:14:01,183 - DEBUG - Requesting: http://10.0.0.177:8082/domain/980269f7-b7b5-44ea-a35a-a9991a1f7245
2026-09-15 08:14:01,195 - DEBUG - Requesting: http://10.0.0.177:8082/project/aec41389-dc9a-4ea5-855a-9ad7cb2fdd8d
2026-09-15 08:14:01,278 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/23780c57-6aa1-456f-a51b-583b998125b6
2026-09-15 08:14:01,289 - DEBUG - ==>Verifying data for policy with id: da0dd324-60f2-4b45-8cdd-45d738407a4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-policy-allow-all-60628626']
2026-09-15 08:14:01,289 - INFO - VN ctest-vn-20789789 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-15 08:14:01,289 - DEBUG - Verifying the vn in opserver
2026-09-15 08:14:01,289 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-20789789 virtual network link through opserver 10.0.0.177
2026-09-15 08:14:01,289 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-15 08:14:01,660 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-15 08:14:01,716 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-20789789', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-20789789?flat'}
2026-09-15 08:14:01,716 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-20789789 is found in opserver
2026-09-15 08:14:01,729 - DEBUG - Do not have enough data to verify VN in agent
2026-09-15 08:14:01,733 - DEBUG - VRF ids for VN ctest-vn-20789789: {}
2026-09-15 08:14:01,734 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-15 08:14:01,739 - DEBUG - Requesting: http://10.0.0.177:8082/domain/980269f7-b7b5-44ea-a35a-a9991a1f7245
2026-09-15 08:14:01,750 - DEBUG - Requesting: http://10.0.0.177:8082/project/aec41389-dc9a-4ea5-855a-9ad7cb2fdd8d
2026-09-15 08:14:01,827 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/86798ce0-82e6-4102-9e98-b74bf4939822
2026-09-15 08:14:01,840 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/86798ce0-82e6-4102-9e98-b74bf4939822
2026-09-15 08:14:01,851 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/5e9c0de7-9437-4be9-bb4f-5f07ba39baa3
2026-09-15 08:14:01,861 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/5e9c0de7-9437-4be9-bb4f-5f07ba39baa3
2026-09-15 08:14:01,869 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/2c25c5f7-cde3-404c-bf55-330967919e9e
2026-09-15 08:14:01,876 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-15 08:14:01,876 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/86798ce0-82e6-4102-9e98-b74bf4939822
2026-09-15 08:14:01,886 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/5e9c0de7-9437-4be9-bb4f-5f07ba39baa3
2026-09-15 08:14:01,906 - INFO - Verified VN network id 13 for VN 86798ce0-82e6-4102-9e98-b74bf4939822
2026-09-15 08:14:01,906 - INFO - Verifications in API Server for VN ctest-vn-15866604 passed
2026-09-15 08:14:01,907 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/86798ce0-82e6-4102-9e98-b74bf4939822
2026-09-15 08:14:01,917 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/5e9c0de7-9437-4be9-bb4f-5f07ba39baa3
2026-09-15 08:14:01,926 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/5e9c0de7-9437-4be9-bb4f-5f07ba39baa3
2026-09-15 08:14:01,935 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/2c25c5f7-cde3-404c-bf55-330967919e9e
2026-09-15 08:14:01,950 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-15866604', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86561485', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9689930969161023746', 'uuid-lslong': '11428085591306377250'}, 'enable': 'true', 'created': '2026-09-15T08:13:59', 'last-modified': '2026-09-15T08:14:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.593265'}
2026-09-15 08:14:01,957 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-15 08:14:01,957 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15866604 passed
2026-09-15 08:14:01,957 - DEBUG - ====Verifying policy data for ctest-vn-15866604 in API_Server ======
2026-09-15 08:14:01,957 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-15 08:14:01,964 - DEBUG - Requesting: http://10.0.0.177:8082/domain/980269f7-b7b5-44ea-a35a-a9991a1f7245
2026-09-15 08:14:01,975 - DEBUG - Requesting: http://10.0.0.177:8082/project/aec41389-dc9a-4ea5-855a-9ad7cb2fdd8d
2026-09-15 08:14:02,055 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/86798ce0-82e6-4102-9e98-b74bf4939822
2026-09-15 08:14:02,066 - DEBUG - ==>Verifying data for policy with id: da0dd324-60f2-4b45-8cdd-45d738407a4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-86561485', 'ctest-policy-allow-all-60628626']
2026-09-15 08:14:02,066 - INFO - VN ctest-vn-15866604 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-15 08:14:02,066 - DEBUG - Verifying the vn in opserver
2026-09-15 08:14:02,066 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-15866604 virtual network link through opserver 10.0.0.177
2026-09-15 08:14:02,066 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-15 08:14:02,078 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-15866604', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-15866604?flat'}
2026-09-15 08:14:02,078 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86561485:ctest-vn-15866604 is found in opserver
2026-09-15 08:14:02,089 - DEBUG - Do not have enough data to verify VN in agent
2026-09-15 08:14:02,094 - DEBUG - VRF ids for VN ctest-vn-15866604: {}
2026-09-15 08:14:02,164 - DEBUG - Services list from nova: [