2026-06-11 17:08:02,520 - INFO - Domain Default found not creating
2026-06-11 17:08:02,647 - INFO - Project ctest-TestBasicPolicy-71408255 not found, creating it
2026-06-11 17:08:03,140 - INFO - Created Project:ctest-TestBasicPolicy-71408255, ID : 8fbea5c0-4d2f-4ab6-afea-173a5f47bb52
2026-06-11 17:08:04,567 - INFO - ================================================================================
2026-06-11 17:08:04,567 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-11 17:08:04,568 - 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-06-11 17:08:04,820 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2026-06-11 17:08:04,820 - INFO - Initial checks done. Running the testcase now
2026-06-11 17:08:04,820 - INFO -
2026-06-11 17:08:05,351 - DEBUG - Response for create_network : {'network': {'id': 'd2b88ec0-5c7f-41d1-b59b-c37ae6df86f1', 'name': 'ctest-vn-09614440', 'tenant_id': '8fbea5c04d2f4ab6afea173a5f47bb52', 'project_id': '8fbea5c04d2f4ab6afea173a5f47bb52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71408255', 'ctest-vn-09614440'], 'port_security_enabled': True, 'description': ''}}
2026-06-11 17:08:05,542 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0269085-1ac8-4b7f-ab1c-8dafdf17863a', 'name': '', 'tenant_id': '8fbea5c04d2f4ab6afea173a5f47bb52', 'network_id': 'd2b88ec0-5c7f-41d1-b59b-c37ae6df86f1', 'ip_version': 4, 'cidr': '87.242.131.0/26', 'allocation_pools': [{'start': '87.242.131.2', 'end': '87.242.131.62'}], 'gateway_ip': '87.242.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.242.131.2', 'tags': [], 'project_id': '8fbea5c04d2f4ab6afea173a5f47bb52'}}
2026-06-11 17:08:05,555 - INFO - Created VN ctest-vn-09614440
2026-06-11 17:08:05,610 - DEBUG - VN ctest-vn-09614440 UUID is d2b88ec0-5c7f-41d1-b59b-c37ae6df86f1
2026-06-11 17:08:05,898 - DEBUG - Response for create_network : {'network': {'id': '38416c11-3c02-4f8e-a465-5903f1cdaca6', 'name': 'ctest-vn-03647497', 'tenant_id': '8fbea5c04d2f4ab6afea173a5f47bb52', 'project_id': '8fbea5c04d2f4ab6afea173a5f47bb52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71408255', 'ctest-vn-03647497'], 'port_security_enabled': True, 'description': ''}}
2026-06-11 17:08:06,060 - DEBUG - Response for create_subnet : {'subnet': {'id': '9020204f-fbc0-4e78-956e-260de130fc61', 'name': '', 'tenant_id': '8fbea5c04d2f4ab6afea173a5f47bb52', 'network_id': '38416c11-3c02-4f8e-a465-5903f1cdaca6', 'ip_version': 4, 'cidr': '179.79.169.64/26', 'allocation_pools': [{'start': '179.79.169.66', 'end': '179.79.169.126'}], 'gateway_ip': '179.79.169.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.79.169.66', 'tags': [], 'project_id': '8fbea5c04d2f4ab6afea173a5f47bb52'}}
2026-06-11 17:08:06,072 - INFO - Created VN ctest-vn-03647497
2026-06-11 17:08:06,122 - DEBUG - VN ctest-vn-03647497 UUID is 38416c11-3c02-4f8e-a465-5903f1cdaca6
2026-06-11 17:08:06,258 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71408255:ctest-vn-09614440, 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-71408255:ctest-vn-03647497, 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-06-11 17:08:06,546 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd2b88ec0-5c7f-41d1-b59b-c37ae6df86f1', 'name': 'ctest-vn-09614440', 'tenant_id': '8fbea5c04d2f4ab6afea173a5f47bb52', 'project_id': '8fbea5c04d2f4ab6afea173a5f47bb52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e0269085-1ac8-4b7f-ab1c-8dafdf17863a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71408255', 'ctest-vn-09614440'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71408255', 'ctest-policy-allow-all-52041898']], 'subnet_ipam': [{'subnet_cidr': '87.242.131.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-11 17:08:06,756 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '38416c11-3c02-4f8e-a465-5903f1cdaca6', 'name': 'ctest-vn-03647497', 'tenant_id': '8fbea5c04d2f4ab6afea173a5f47bb52', 'project_id': '8fbea5c04d2f4ab6afea173a5f47bb52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9020204f-fbc0-4e78-956e-260de130fc61'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71408255', 'ctest-vn-03647497'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71408255', 'ctest-policy-allow-all-52041898']], 'subnet_ipam': [{'subnet_cidr': '179.79.169.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-11 17:08:06,922 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-11 17:08:07,237 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-11 17:08:07,263 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d698cbca-235f-4708-80f9-5b7b3a36a850
2026-06-11 17:08:07,273 - DEBUG - Requesting: http://10.0.0.33:8082/project/8fbea5c0-4d2f-4ab6-afea-173a5f47bb52
2026-06-11 17:08:07,346 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d2b88ec0-5c7f-41d1-b59b-c37ae6df86f1
2026-06-11 17:08:07,356 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d2b88ec0-5c7f-41d1-b59b-c37ae6df86f1
2026-06-11 17:08:07,364 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/be5d4c03-3970-404f-8cd8-f39b586c2c6a
2026-06-11 17:08:07,371 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/be5d4c03-3970-404f-8cd8-f39b586c2c6a
2026-06-11 17:08:07,377 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9e7f9eff-2193-46c8-9963-2a921896c4a7
2026-06-11 17:08:07,383 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-11 17:08:07,383 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d2b88ec0-5c7f-41d1-b59b-c37ae6df86f1
2026-06-11 17:08:07,391 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/be5d4c03-3970-404f-8cd8-f39b586c2c6a
2026-06-11 17:08:07,406 - INFO - Verified VN network id 11 for VN d2b88ec0-5c7f-41d1-b59b-c37ae6df86f1
2026-06-11 17:08:07,406 - INFO - Verifications in API Server for VN ctest-vn-09614440 passed
2026-06-11 17:08:07,406 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d2b88ec0-5c7f-41d1-b59b-c37ae6df86f1
2026-06-11 17:08:07,415 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/be5d4c03-3970-404f-8cd8-f39b586c2c6a
2026-06-11 17:08:07,421 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/be5d4c03-3970-404f-8cd8-f39b586c2c6a
2026-06-11 17:08:07,427 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9e7f9eff-2193-46c8-9963-2a921896c4a7
2026-06-11 17:08:07,438 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71408255:ctest-vn-09614440', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71408255', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15184043100516336081', 'uuid-lslong': '13086268074881943281'}, 'enable': 'true', 'created': '2026-06-11T17:08:05', 'last-modified': '2026-06-11T17:08:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.920429'}
2026-06-11 17:08:07,445 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-11 17:08:07,445 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09614440 passed
2026-06-11 17:08:07,446 - DEBUG - ====Verifying policy data for ctest-vn-09614440 in API_Server ======
2026-06-11 17:08:07,446 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-11 17:08:07,451 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d698cbca-235f-4708-80f9-5b7b3a36a850
2026-06-11 17:08:07,462 - DEBUG - Requesting: http://10.0.0.33:8082/project/8fbea5c0-4d2f-4ab6-afea-173a5f47bb52
2026-06-11 17:08:07,528 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d2b88ec0-5c7f-41d1-b59b-c37ae6df86f1
2026-06-11 17:08:07,536 - DEBUG - ==>Verifying data for policy with id: 0762df25-0eea-4d14-80d0-e9045d55066e, fqn: ['default-domain', 'ctest-TestBasicPolicy-71408255', 'ctest-policy-allow-all-52041898']
2026-06-11 17:08:07,536 - INFO - VN ctest-vn-09614440 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-11 17:08:07,536 - DEBUG - Verifying the vn in opserver
2026-06-11 17:08:07,536 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71408255:ctest-vn-09614440 virtual network link through opserver 10.0.0.33
2026-06-11 17:08:07,537 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-11 17:08:07,851 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-11 17:08:07,895 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71408255:ctest-vn-09614440', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71408255:ctest-vn-09614440?flat'}
2026-06-11 17:08:07,895 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71408255:ctest-vn-09614440 is found in opserver
2026-06-11 17:08:07,904 - DEBUG - Do not have enough data to verify VN in agent
2026-06-11 17:08:07,908 - DEBUG - VRF ids for VN ctest-vn-09614440: {}
2026-06-11 17:08:07,908 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-11 17:08:07,912 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d698cbca-235f-4708-80f9-5b7b3a36a850
2026-06-11 17:08:07,921 - DEBUG - Requesting: http://10.0.0.33:8082/project/8fbea5c0-4d2f-4ab6-afea-173a5f47bb52
2026-06-11 17:08:07,991 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/38416c11-3c02-4f8e-a465-5903f1cdaca6
2026-06-11 17:08:08,002 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/38416c11-3c02-4f8e-a465-5903f1cdaca6
2026-06-11 17:08:08,011 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b4ebd739-db75-4394-8629-d0b59bc5b8db
2026-06-11 17:08:08,018 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b4ebd739-db75-4394-8629-d0b59bc5b8db
2026-06-11 17:08:08,024 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f411a959-f1b0-4aa6-8361-8d1be3e73edb
2026-06-11 17:08:08,030 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-11 17:08:08,031 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/38416c11-3c02-4f8e-a465-5903f1cdaca6
2026-06-11 17:08:08,040 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b4ebd739-db75-4394-8629-d0b59bc5b8db
2026-06-11 17:08:08,053 - INFO - Verified VN network id 12 for VN 38416c11-3c02-4f8e-a465-5903f1cdaca6
2026-06-11 17:08:08,053 - INFO - Verifications in API Server for VN ctest-vn-03647497 passed
2026-06-11 17:08:08,053 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/38416c11-3c02-4f8e-a465-5903f1cdaca6
2026-06-11 17:08:08,062 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b4ebd739-db75-4394-8629-d0b59bc5b8db
2026-06-11 17:08:08,068 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b4ebd739-db75-4394-8629-d0b59bc5b8db
2026-06-11 17:08:08,073 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f411a959-f1b0-4aa6-8361-8d1be3e73edb
2026-06-11 17:08:08,083 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71408255:ctest-vn-03647497', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71408255', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4053639960887185294', 'uuid-lslong': '11845972268344519846'}, 'enable': 'true', 'created': '2026-06-11T17:08:05', 'last-modified': '2026-06-11T17:08:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.347493'}
2026-06-11 17:08:08,089 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-11 17:08:08,089 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03647497 passed
2026-06-11 17:08:08,089 - DEBUG - ====Verifying policy data for ctest-vn-03647497 in API_Server ======
2026-06-11 17:08:08,089 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-11 17:08:08,095 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d698cbca-235f-4708-80f9-5b7b3a36a850
2026-06-11 17:08:08,104 - DEBUG - Requesting: http://10.0.0.33:8082/project/8fbea5c0-4d2f-4ab6-afea-173a5f47bb52
2026-06-11 17:08:08,169 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/38416c11-3c02-4f8e-a465-5903f1cdaca6
2026-06-11 17:08:08,177 - DEBUG - ==>Verifying data for policy with id: 0762df25-0eea-4d14-80d0-e9045d55066e, fqn: ['default-domain', 'ctest-TestBasicPolicy-71408255', 'ctest-policy-allow-all-52041898']
2026-06-11 17:08:08,177 - INFO - VN ctest-vn-03647497 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-11 17:08:08,177 - DEBUG - Verifying the vn in opserver
2026-06-11 17:08:08,177 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71408255:ctest-vn-03647497 virtual network link through opserver 10.0.0.33
2026-06-11 17:08:08,177 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-11 17:08:08,186 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71408255:ctest-vn-03647497', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71408255:ctest-vn-03647497?flat'}
2026-06-11 17:08:08,186 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71408255:ctest-vn-03647497 is found in opserver
2026-06-11 17:08:08,194 - DEBUG - Do not have enough data to verify VN in agent
2026-06-11 17:08:08,198 - DEBUG - VRF ids for VN ctest-vn-03647497: {}
2026-06-11 17:08:08,248 - DEBUG - Services list from nova: [