2026-10-27 17:12:14,315 - INFO - Domain Default found not creating
2026-10-27 17:12:14,499 - INFO - Project ctest-TestBasicPolicy-19409066 not found, creating it
2026-10-27 17:12:14,987 - INFO - Created Project:ctest-TestBasicPolicy-19409066, ID : 7739cf36-64c2-400e-b02b-34374742a977
2026-10-27 17:12:16,817 - INFO - ================================================================================
2026-10-27 17:12:16,817 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-27 17:12:16,817 - 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-27 17:12:17,070 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with
2026-10-27 17:12:17,070 - INFO - Initial checks done. Running the testcase now
2026-10-27 17:12:17,070 - INFO -
2026-10-27 17:12:17,691 - DEBUG - Response for create_network : {'network': {'id': '1bc52151-c0be-4f54-8161-e4b6a7a54b79', 'name': 'ctest-vn-30905761', 'tenant_id': '7739cf3664c2400eb02b34374742a977', 'project_id': '7739cf3664c2400eb02b34374742a977', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19409066', 'ctest-vn-30905761'], 'port_security_enabled': True, 'description': ''}}
2026-10-27 17:12:17,894 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d985c10-658b-4e31-a237-8c0c2c19487b', 'name': '', 'tenant_id': '7739cf3664c2400eb02b34374742a977', 'network_id': '1bc52151-c0be-4f54-8161-e4b6a7a54b79', 'ip_version': 4, 'cidr': '109.85.11.64/26', 'allocation_pools': [{'start': '109.85.11.66', 'end': '109.85.11.126'}], 'gateway_ip': '109.85.11.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.85.11.66', 'tags': [], 'project_id': '7739cf3664c2400eb02b34374742a977'}}
2026-10-27 17:12:17,913 - INFO - Created VN ctest-vn-30905761
2026-10-27 17:12:17,968 - DEBUG - VN ctest-vn-30905761 UUID is 1bc52151-c0be-4f54-8161-e4b6a7a54b79
2026-10-27 17:12:18,292 - DEBUG - Response for create_network : {'network': {'id': '458aa22a-4e87-4a75-aafe-a201e493dba0', 'name': 'ctest-vn-61312405', 'tenant_id': '7739cf3664c2400eb02b34374742a977', 'project_id': '7739cf3664c2400eb02b34374742a977', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19409066', 'ctest-vn-61312405'], 'port_security_enabled': True, 'description': ''}}
2026-10-27 17:12:18,511 - DEBUG - Response for create_subnet : {'subnet': {'id': '34e3d19e-cd83-4392-8b73-22d1b953b95b', 'name': '', 'tenant_id': '7739cf3664c2400eb02b34374742a977', 'network_id': '458aa22a-4e87-4a75-aafe-a201e493dba0', 'ip_version': 4, 'cidr': '88.169.232.0/26', 'allocation_pools': [{'start': '88.169.232.2', 'end': '88.169.232.62'}], 'gateway_ip': '88.169.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.169.232.2', 'tags': [], 'project_id': '7739cf3664c2400eb02b34374742a977'}}
2026-10-27 17:12:18,527 - INFO - Created VN ctest-vn-61312405
2026-10-27 17:12:18,580 - DEBUG - VN ctest-vn-61312405 UUID is 458aa22a-4e87-4a75-aafe-a201e493dba0
2026-10-27 17:12:18,732 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19409066:ctest-vn-30905761, 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-19409066:ctest-vn-61312405, 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-27 17:12:19,029 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1bc52151-c0be-4f54-8161-e4b6a7a54b79', 'name': 'ctest-vn-30905761', 'tenant_id': '7739cf3664c2400eb02b34374742a977', 'project_id': '7739cf3664c2400eb02b34374742a977', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5d985c10-658b-4e31-a237-8c0c2c19487b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19409066', 'ctest-vn-30905761'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19409066', 'ctest-policy-allow-all-53732432']], 'subnet_ipam': [{'subnet_cidr': '109.85.11.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-27 17:12:19,262 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '458aa22a-4e87-4a75-aafe-a201e493dba0', 'name': 'ctest-vn-61312405', 'tenant_id': '7739cf3664c2400eb02b34374742a977', 'project_id': '7739cf3664c2400eb02b34374742a977', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['34e3d19e-cd83-4392-8b73-22d1b953b95b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19409066', 'ctest-vn-61312405'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19409066', 'ctest-policy-allow-all-53732432']], 'subnet_ipam': [{'subnet_cidr': '88.169.232.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-27 17:12:19,428 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-27 17:12:19,791 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-27 17:12:19,819 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b807cbd5-bdce-4ccd-abba-a4985d32d126
2026-10-27 17:12:19,831 - DEBUG - Requesting: http://10.0.0.50:8082/project/7739cf36-64c2-400e-b02b-34374742a977
2026-10-27 17:12:19,903 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bc52151-c0be-4f54-8161-e4b6a7a54b79
2026-10-27 17:12:19,914 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bc52151-c0be-4f54-8161-e4b6a7a54b79
2026-10-27 17:12:19,923 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f904fc36-26b5-493a-abe6-a5ef74a34f60
2026-10-27 17:12:19,932 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f904fc36-26b5-493a-abe6-a5ef74a34f60
2026-10-27 17:12:19,939 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/36a793ae-cdd6-463c-80a7-c31f9bcd60a4
2026-10-27 17:12:19,947 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-27 17:12:19,947 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bc52151-c0be-4f54-8161-e4b6a7a54b79
2026-10-27 17:12:19,956 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f904fc36-26b5-493a-abe6-a5ef74a34f60
2026-10-27 17:12:19,971 - INFO - Verified VN network id 12 for VN 1bc52151-c0be-4f54-8161-e4b6a7a54b79
2026-10-27 17:12:19,971 - INFO - Verifications in API Server for VN ctest-vn-30905761 passed
2026-10-27 17:12:19,971 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bc52151-c0be-4f54-8161-e4b6a7a54b79
2026-10-27 17:12:19,980 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f904fc36-26b5-493a-abe6-a5ef74a34f60
2026-10-27 17:12:19,987 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f904fc36-26b5-493a-abe6-a5ef74a34f60
2026-10-27 17:12:19,994 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/36a793ae-cdd6-463c-80a7-c31f9bcd60a4
2026-10-27 17:12:20,008 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19409066:ctest-vn-30905761', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19409066', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2001042244445818708', 'uuid-lslong': '9322984176781446009'}, 'enable': 'true', 'created': '2026-10-27T17:12:17', 'last-modified': '2026-10-27T17:12:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999239'}
2026-10-27 17:12:20,014 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-27 17:12:20,014 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30905761 passed
2026-10-27 17:12:20,015 - DEBUG - ====Verifying policy data for ctest-vn-30905761 in API_Server ======
2026-10-27 17:12:20,015 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-27 17:12:20,020 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b807cbd5-bdce-4ccd-abba-a4985d32d126
2026-10-27 17:12:20,031 - DEBUG - Requesting: http://10.0.0.50:8082/project/7739cf36-64c2-400e-b02b-34374742a977
2026-10-27 17:12:20,103 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bc52151-c0be-4f54-8161-e4b6a7a54b79
2026-10-27 17:12:20,114 - DEBUG - ==>Verifying data for policy with id: 7cd7bfda-ce06-47b7-9f1a-b8389be8909f, fqn: ['default-domain', 'ctest-TestBasicPolicy-19409066', 'ctest-policy-allow-all-53732432']
2026-10-27 17:12:20,114 - INFO - VN ctest-vn-30905761 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-27 17:12:20,114 - DEBUG - Verifying the vn in opserver
2026-10-27 17:12:20,114 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19409066:ctest-vn-30905761 virtual network link through opserver 10.0.0.50
2026-10-27 17:12:20,114 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-27 17:12:20,487 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-27 17:12:20,541 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19409066:ctest-vn-30905761', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19409066:ctest-vn-30905761?flat'}
2026-10-27 17:12:20,541 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19409066:ctest-vn-30905761 is found in opserver
2026-10-27 17:12:20,551 - DEBUG - Do not have enough data to verify VN in agent
2026-10-27 17:12:20,556 - DEBUG - VRF ids for VN ctest-vn-30905761: {}
2026-10-27 17:12:20,557 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-27 17:12:20,562 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b807cbd5-bdce-4ccd-abba-a4985d32d126
2026-10-27 17:12:20,573 - DEBUG - Requesting: http://10.0.0.50:8082/project/7739cf36-64c2-400e-b02b-34374742a977
2026-10-27 17:12:20,649 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/458aa22a-4e87-4a75-aafe-a201e493dba0
2026-10-27 17:12:20,661 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/458aa22a-4e87-4a75-aafe-a201e493dba0
2026-10-27 17:12:20,670 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ec8011ea-78d7-4bab-821d-6f2b66826797
2026-10-27 17:12:20,677 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ec8011ea-78d7-4bab-821d-6f2b66826797
2026-10-27 17:12:20,684 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3355a42b-7b3d-4336-8526-1f4ddc80c239
2026-10-27 17:12:20,690 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-27 17:12:20,690 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/458aa22a-4e87-4a75-aafe-a201e493dba0
2026-10-27 17:12:20,700 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ec8011ea-78d7-4bab-821d-6f2b66826797
2026-10-27 17:12:20,715 - INFO - Verified VN network id 13 for VN 458aa22a-4e87-4a75-aafe-a201e493dba0
2026-10-27 17:12:20,715 - INFO - Verifications in API Server for VN ctest-vn-61312405 passed
2026-10-27 17:12:20,716 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/458aa22a-4e87-4a75-aafe-a201e493dba0
2026-10-27 17:12:20,725 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ec8011ea-78d7-4bab-821d-6f2b66826797
2026-10-27 17:12:20,733 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ec8011ea-78d7-4bab-821d-6f2b66826797
2026-10-27 17:12:20,740 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3355a42b-7b3d-4336-8526-1f4ddc80c239
2026-10-27 17:12:20,754 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19409066:ctest-vn-61312405', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19409066', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5010995837992913525', 'uuid-lslong': '12321463759545818016'}, 'enable': 'true', 'created': '2026-10-27T17:12:18', 'last-modified': '2026-10-27T17:12:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.518192'}
2026-10-27 17:12:20,760 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-27 17:12:20,760 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61312405 passed
2026-10-27 17:12:20,760 - DEBUG - ====Verifying policy data for ctest-vn-61312405 in API_Server ======
2026-10-27 17:12:20,760 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-27 17:12:20,766 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b807cbd5-bdce-4ccd-abba-a4985d32d126
2026-10-27 17:12:20,777 - DEBUG - Requesting: http://10.0.0.50:8082/project/7739cf36-64c2-400e-b02b-34374742a977
2026-10-27 17:12:20,849 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/458aa22a-4e87-4a75-aafe-a201e493dba0
2026-10-27 17:12:20,858 - DEBUG - ==>Verifying data for policy with id: 7cd7bfda-ce06-47b7-9f1a-b8389be8909f, fqn: ['default-domain', 'ctest-TestBasicPolicy-19409066', 'ctest-policy-allow-all-53732432']
2026-10-27 17:12:20,858 - INFO - VN ctest-vn-61312405 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-27 17:12:20,858 - DEBUG - Verifying the vn in opserver
2026-10-27 17:12:20,858 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19409066:ctest-vn-61312405 virtual network link through opserver 10.0.0.50
2026-10-27 17:12:20,858 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-27 17:12:20,868 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19409066:ctest-vn-61312405', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19409066:ctest-vn-61312405?flat'}
2026-10-27 17:12:20,868 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19409066:ctest-vn-61312405 is found in opserver
2026-10-27 17:12:20,881 - DEBUG - Do not have enough data to verify VN in agent
2026-10-27 17:12:20,886 - DEBUG - VRF ids for VN ctest-vn-61312405: {}
2026-10-27 17:12:20,944 - DEBUG - Services list from nova: [