2026-08-20 16:28:53,614 - INFO - Domain Default found not creating
2026-08-20 16:28:53,778 - INFO - Project ctest-TestBasicPolicy-75220511 not found, creating it
2026-08-20 16:28:54,266 - INFO - Created Project:ctest-TestBasicPolicy-75220511, ID : 424547c8-8ee3-4967-a783-c58f83b18c7c
2026-08-20 16:28:56,056 - INFO - ================================================================================
2026-08-20 16:28:56,056 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-20 16:28:56,057 - 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-08-20 16:28:56,328 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-08-20 16:28:56,328 - INFO - Initial checks done. Running the testcase now
2026-08-20 16:28:56,330 - INFO -
2026-08-20 16:28:57,019 - DEBUG - Response for create_network : {'network': {'id': '30a48e3a-f21e-4d51-b151-b3185170869e', 'name': 'ctest-vn-22779262', 'tenant_id': '424547c88ee34967a783c58f83b18c7c', 'project_id': '424547c88ee34967a783c58f83b18c7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-vn-22779262'], 'port_security_enabled': True, 'description': ''}}
2026-08-20 16:28:57,228 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b20cf93a-b94c-401f-a1ef-29cf51e47680', 'name': '', 'tenant_id': '424547c88ee34967a783c58f83b18c7c', 'network_id': '30a48e3a-f21e-4d51-b151-b3185170869e', 'ip_version': 4, 'cidr': '73.91.141.128/26', 'allocation_pools': [{'start': '73.91.141.130', 'end': '73.91.141.190'}], 'gateway_ip': '73.91.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.91.141.130', 'tags': [], 'project_id': '424547c88ee34967a783c58f83b18c7c'}}
2026-08-20 16:28:57,249 - INFO - Created VN ctest-vn-22779262
2026-08-20 16:28:57,303 - DEBUG - VN ctest-vn-22779262 UUID is 30a48e3a-f21e-4d51-b151-b3185170869e
2026-08-20 16:28:57,617 - DEBUG - Response for create_network : {'network': {'id': 'dd872794-5b0d-4d15-9f7a-6ab909ecc803', 'name': 'ctest-vn-90997524', 'tenant_id': '424547c88ee34967a783c58f83b18c7c', 'project_id': '424547c88ee34967a783c58f83b18c7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-vn-90997524'], 'port_security_enabled': True, 'description': ''}}
2026-08-20 16:28:57,835 - DEBUG - Response for create_subnet : {'subnet': {'id': '6033893e-f5c6-43c2-aa6f-5a1231a7e304', 'name': '', 'tenant_id': '424547c88ee34967a783c58f83b18c7c', 'network_id': 'dd872794-5b0d-4d15-9f7a-6ab909ecc803', 'ip_version': 4, 'cidr': '146.248.220.128/26', 'allocation_pools': [{'start': '146.248.220.130', 'end': '146.248.220.190'}], 'gateway_ip': '146.248.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.248.220.130', 'tags': [], 'project_id': '424547c88ee34967a783c58f83b18c7c'}}
2026-08-20 16:28:57,857 - INFO - Created VN ctest-vn-90997524
2026-08-20 16:28:57,911 - DEBUG - VN ctest-vn-90997524 UUID is dd872794-5b0d-4d15-9f7a-6ab909ecc803
2026-08-20 16:28:58,036 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-22779262, 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-75220511:ctest-vn-90997524, 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-08-20 16:28:58,372 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '30a48e3a-f21e-4d51-b151-b3185170869e', 'name': 'ctest-vn-22779262', 'tenant_id': '424547c88ee34967a783c58f83b18c7c', 'project_id': '424547c88ee34967a783c58f83b18c7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b20cf93a-b94c-401f-a1ef-29cf51e47680'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-vn-22779262'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-policy-allow-all-96428719']], 'subnet_ipam': [{'subnet_cidr': '73.91.141.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-20 16:28:58,664 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dd872794-5b0d-4d15-9f7a-6ab909ecc803', 'name': 'ctest-vn-90997524', 'tenant_id': '424547c88ee34967a783c58f83b18c7c', 'project_id': '424547c88ee34967a783c58f83b18c7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6033893e-f5c6-43c2-aa6f-5a1231a7e304'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-vn-90997524'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-policy-allow-all-96428719']], 'subnet_ipam': [{'subnet_cidr': '146.248.220.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-20 16:28:58,835 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-20 16:28:59,217 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-20 16:28:59,256 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5a8f27-6a6c-42c0-848c-1ee549745281
2026-08-20 16:28:59,270 - DEBUG - Requesting: http://10.0.0.50:8082/project/424547c8-8ee3-4967-a783-c58f83b18c7c
2026-08-20 16:28:59,358 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30a48e3a-f21e-4d51-b151-b3185170869e
2026-08-20 16:28:59,376 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30a48e3a-f21e-4d51-b151-b3185170869e
2026-08-20 16:28:59,389 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/89a98c2d-b1b7-4204-a737-c9d7b05a2d31
2026-08-20 16:28:59,399 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/89a98c2d-b1b7-4204-a737-c9d7b05a2d31
2026-08-20 16:28:59,410 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/109cd5f1-6ba7-46d5-8c4b-a5acc355249d
2026-08-20 16:28:59,422 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-20 16:28:59,422 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30a48e3a-f21e-4d51-b151-b3185170869e
2026-08-20 16:28:59,437 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/89a98c2d-b1b7-4204-a737-c9d7b05a2d31
2026-08-20 16:28:59,460 - INFO - Verified VN network id 11 for VN 30a48e3a-f21e-4d51-b151-b3185170869e
2026-08-20 16:28:59,460 - INFO - Verifications in API Server for VN ctest-vn-22779262 passed
2026-08-20 16:28:59,460 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30a48e3a-f21e-4d51-b151-b3185170869e
2026-08-20 16:28:59,472 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/89a98c2d-b1b7-4204-a737-c9d7b05a2d31
2026-08-20 16:28:59,481 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/89a98c2d-b1b7-4204-a737-c9d7b05a2d31
2026-08-20 16:28:59,490 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/109cd5f1-6ba7-46d5-8c4b-a5acc355249d
2026-08-20 16:28:59,508 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-22779262', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75220511', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3505082793822408017', 'uuid-lslong': '12777190534853723806'}, 'enable': 'true', 'created': '2026-08-20T16:28:56', 'last-modified': '2026-08-20T16:28:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.160260'}
2026-08-20 16:28:59,520 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-20 16:28:59,520 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22779262 passed
2026-08-20 16:28:59,520 - DEBUG - ====Verifying policy data for ctest-vn-22779262 in API_Server ======
2026-08-20 16:28:59,520 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-20 16:28:59,529 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5a8f27-6a6c-42c0-848c-1ee549745281
2026-08-20 16:28:59,542 - DEBUG - Requesting: http://10.0.0.50:8082/project/424547c8-8ee3-4967-a783-c58f83b18c7c
2026-08-20 16:28:59,625 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30a48e3a-f21e-4d51-b151-b3185170869e
2026-08-20 16:28:59,642 - DEBUG - ==>Verifying data for policy with id: 05e2893b-8b7a-4d28-a521-14561889dad2, fqn: ['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-policy-allow-all-96428719']
2026-08-20 16:28:59,642 - INFO - VN ctest-vn-22779262 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-20 16:28:59,642 - DEBUG - Verifying the vn in opserver
2026-08-20 16:28:59,642 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-22779262 virtual network link through opserver 10.0.0.50
2026-08-20 16:28:59,643 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-20 16:29:00,028 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-20 16:29:00,087 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-22779262', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-22779262?flat'}
2026-08-20 16:29:00,087 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-22779262 is found in opserver
2026-08-20 16:29:00,099 - DEBUG - Do not have enough data to verify VN in agent
2026-08-20 16:29:00,104 - DEBUG - VRF ids for VN ctest-vn-22779262: {}
2026-08-20 16:29:00,105 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-20 16:29:00,111 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5a8f27-6a6c-42c0-848c-1ee549745281
2026-08-20 16:29:00,125 - DEBUG - Requesting: http://10.0.0.50:8082/project/424547c8-8ee3-4967-a783-c58f83b18c7c
2026-08-20 16:29:00,215 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd872794-5b0d-4d15-9f7a-6ab909ecc803
2026-08-20 16:29:00,231 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd872794-5b0d-4d15-9f7a-6ab909ecc803
2026-08-20 16:29:00,243 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e6730d-95c8-46a8-84a6-4faf3948b0ac
2026-08-20 16:29:00,253 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e6730d-95c8-46a8-84a6-4faf3948b0ac
2026-08-20 16:29:00,264 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9666b789-8f6c-4fc6-9cd8-a9e301ee0e84
2026-08-20 16:29:00,271 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-20 16:29:00,271 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd872794-5b0d-4d15-9f7a-6ab909ecc803
2026-08-20 16:29:00,282 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e6730d-95c8-46a8-84a6-4faf3948b0ac
2026-08-20 16:29:00,303 - INFO - Verified VN network id 12 for VN dd872794-5b0d-4d15-9f7a-6ab909ecc803
2026-08-20 16:29:00,303 - INFO - Verifications in API Server for VN ctest-vn-90997524 passed
2026-08-20 16:29:00,303 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd872794-5b0d-4d15-9f7a-6ab909ecc803
2026-08-20 16:29:00,315 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e6730d-95c8-46a8-84a6-4faf3948b0ac
2026-08-20 16:29:00,326 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e6730d-95c8-46a8-84a6-4faf3948b0ac
2026-08-20 16:29:00,335 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9666b789-8f6c-4fc6-9cd8-a9e301ee0e84
2026-08-20 16:29:00,351 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-90997524', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75220511', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15962770922374253845', 'uuid-lslong': '11491614742157248515'}, 'enable': 'true', 'created': '2026-08-20T16:28:57', 'last-modified': '2026-08-20T16:28:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.725200'}
2026-08-20 16:29:00,362 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-20 16:29:00,362 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90997524 passed
2026-08-20 16:29:00,362 - DEBUG - ====Verifying policy data for ctest-vn-90997524 in API_Server ======
2026-08-20 16:29:00,362 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-20 16:29:00,369 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0d5a8f27-6a6c-42c0-848c-1ee549745281
2026-08-20 16:29:00,382 - DEBUG - Requesting: http://10.0.0.50:8082/project/424547c8-8ee3-4967-a783-c58f83b18c7c
2026-08-20 16:29:00,470 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd872794-5b0d-4d15-9f7a-6ab909ecc803
2026-08-20 16:29:00,481 - DEBUG - ==>Verifying data for policy with id: 05e2893b-8b7a-4d28-a521-14561889dad2, fqn: ['default-domain', 'ctest-TestBasicPolicy-75220511', 'ctest-policy-allow-all-96428719']
2026-08-20 16:29:00,481 - INFO - VN ctest-vn-90997524 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-20 16:29:00,481 - DEBUG - Verifying the vn in opserver
2026-08-20 16:29:00,481 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-90997524 virtual network link through opserver 10.0.0.50
2026-08-20 16:29:00,481 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-20 16:29:00,492 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-90997524', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-90997524?flat'}
2026-08-20 16:29:00,492 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75220511:ctest-vn-90997524 is found in opserver
2026-08-20 16:29:00,503 - DEBUG - Do not have enough data to verify VN in agent
2026-08-20 16:29:00,508 - DEBUG - VRF ids for VN ctest-vn-90997524: {}
2026-08-20 16:29:00,574 - DEBUG - Services list from nova: [