2026-10-26 16:52:18,387 - INFO - Domain Default found not creating
2026-10-26 16:52:18,652 - INFO - Project ctest-TestBasicPolicy-10743599 not found, creating it
2026-10-26 16:52:19,181 - INFO - Created Project:ctest-TestBasicPolicy-10743599, ID : 02695b78-f887-475a-9634-c6d82d7d975c
2026-10-26 16:52:21,313 - INFO - ================================================================================
2026-10-26 16:52:21,314 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-26 16:52:21,314 - 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-26 16:52:21,748 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with
2026-10-26 16:52:21,748 - INFO - Initial checks done. Running the testcase now
2026-10-26 16:52:21,748 - INFO -
2026-10-26 16:52:22,772 - DEBUG - Response for create_network : {'network': {'id': '93f92cc7-52c4-417f-b342-f9201dae534a', 'name': 'ctest-vn-96843939', 'tenant_id': '02695b78f887475a9634c6d82d7d975c', 'project_id': '02695b78f887475a9634c6d82d7d975c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-vn-96843939'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 16:52:23,025 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a29a1b92-4dc6-4859-a14d-482dd42fd212', 'name': '', 'tenant_id': '02695b78f887475a9634c6d82d7d975c', 'network_id': '93f92cc7-52c4-417f-b342-f9201dae534a', 'ip_version': 4, 'cidr': '78.166.89.64/26', 'allocation_pools': [{'start': '78.166.89.66', 'end': '78.166.89.126'}], 'gateway_ip': '78.166.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.166.89.66', 'tags': [], 'project_id': '02695b78f887475a9634c6d82d7d975c'}}
2026-10-26 16:52:23,047 - INFO - Created VN ctest-vn-96843939
2026-10-26 16:52:23,099 - DEBUG - VN ctest-vn-96843939 UUID is 93f92cc7-52c4-417f-b342-f9201dae534a
2026-10-26 16:52:23,452 - DEBUG - Response for create_network : {'network': {'id': 'f5b767aa-3a47-462b-988a-f841e4149c0e', 'name': 'ctest-vn-99731817', 'tenant_id': '02695b78f887475a9634c6d82d7d975c', 'project_id': '02695b78f887475a9634c6d82d7d975c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-vn-99731817'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 16:52:23,677 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7545f0a-3978-4eac-93c1-11289b5dc0e2', 'name': '', 'tenant_id': '02695b78f887475a9634c6d82d7d975c', 'network_id': 'f5b767aa-3a47-462b-988a-f841e4149c0e', 'ip_version': 4, 'cidr': '4.178.231.0/26', 'allocation_pools': [{'start': '4.178.231.2', 'end': '4.178.231.62'}], 'gateway_ip': '4.178.231.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.178.231.2', 'tags': [], 'project_id': '02695b78f887475a9634c6d82d7d975c'}}
2026-10-26 16:52:23,699 - INFO - Created VN ctest-vn-99731817
2026-10-26 16:52:23,759 - DEBUG - VN ctest-vn-99731817 UUID is f5b767aa-3a47-462b-988a-f841e4149c0e
2026-10-26 16:52:23,891 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-96843939, 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-10743599:ctest-vn-99731817, 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-26 16:52:24,232 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '93f92cc7-52c4-417f-b342-f9201dae534a', 'name': 'ctest-vn-96843939', 'tenant_id': '02695b78f887475a9634c6d82d7d975c', 'project_id': '02695b78f887475a9634c6d82d7d975c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a29a1b92-4dc6-4859-a14d-482dd42fd212'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-vn-96843939'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-policy-allow-all-62101184']], 'subnet_ipam': [{'subnet_cidr': '78.166.89.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-26 16:52:24,491 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5b767aa-3a47-462b-988a-f841e4149c0e', 'name': 'ctest-vn-99731817', 'tenant_id': '02695b78f887475a9634c6d82d7d975c', 'project_id': '02695b78f887475a9634c6d82d7d975c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c7545f0a-3978-4eac-93c1-11289b5dc0e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-vn-99731817'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-policy-allow-all-62101184']], 'subnet_ipam': [{'subnet_cidr': '4.178.231.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-26 16:52:24,675 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-26 16:52:25,076 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-26 16:52:25,117 - DEBUG - Requesting: http://10.0.0.190:8082/domain/65dadf12-f756-41f3-8200-714f9eb2025e
2026-10-26 16:52:25,132 - DEBUG - Requesting: http://10.0.0.190:8082/project/02695b78-f887-475a-9634-c6d82d7d975c
2026-10-26 16:52:25,221 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/93f92cc7-52c4-417f-b342-f9201dae534a
2026-10-26 16:52:25,236 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/93f92cc7-52c4-417f-b342-f9201dae534a
2026-10-26 16:52:25,250 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fda5bb62-f615-4ced-a3a0-23657cc35f72
2026-10-26 16:52:25,262 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fda5bb62-f615-4ced-a3a0-23657cc35f72
2026-10-26 16:52:25,272 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/52194e30-2f4d-48d4-b742-7fc57871bc96
2026-10-26 16:52:25,281 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-26 16:52:25,281 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/93f92cc7-52c4-417f-b342-f9201dae534a
2026-10-26 16:52:25,295 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fda5bb62-f615-4ced-a3a0-23657cc35f72
2026-10-26 16:52:25,315 - INFO - Verified VN network id 12 for VN 93f92cc7-52c4-417f-b342-f9201dae534a
2026-10-26 16:52:25,315 - INFO - Verifications in API Server for VN ctest-vn-96843939 passed
2026-10-26 16:52:25,315 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/93f92cc7-52c4-417f-b342-f9201dae534a
2026-10-26 16:52:25,330 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fda5bb62-f615-4ced-a3a0-23657cc35f72
2026-10-26 16:52:25,339 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fda5bb62-f615-4ced-a3a0-23657cc35f72
2026-10-26 16:52:25,350 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/52194e30-2f4d-48d4-b742-7fc57871bc96
2026-10-26 16:52:25,368 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-96843939', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10743599', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10662602827375067519', 'uuid-lslong': '12917160597584237386'}, 'enable': 'true', 'created': '2026-10-26T16:52:22', 'last-modified': '2026-10-26T16:52:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.166171'}
2026-10-26 16:52:25,379 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-26 16:52:25,379 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96843939 passed
2026-10-26 16:52:25,379 - DEBUG - ====Verifying policy data for ctest-vn-96843939 in API_Server ======
2026-10-26 16:52:25,379 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-26 16:52:25,389 - DEBUG - Requesting: http://10.0.0.190:8082/domain/65dadf12-f756-41f3-8200-714f9eb2025e
2026-10-26 16:52:25,403 - DEBUG - Requesting: http://10.0.0.190:8082/project/02695b78-f887-475a-9634-c6d82d7d975c
2026-10-26 16:52:25,480 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/93f92cc7-52c4-417f-b342-f9201dae534a
2026-10-26 16:52:25,493 - DEBUG - ==>Verifying data for policy with id: ee0d9c08-51cf-4929-b57e-6aec19e67b6d, fqn: ['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-policy-allow-all-62101184']
2026-10-26 16:52:25,493 - INFO - VN ctest-vn-96843939 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-26 16:52:25,494 - DEBUG - Verifying the vn in opserver
2026-10-26 16:52:25,494 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-96843939 virtual network link through opserver 10.0.0.190
2026-10-26 16:52:25,494 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-26 16:52:25,898 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-26 16:52:25,971 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-96843939', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-96843939?flat'}
2026-10-26 16:52:25,971 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-96843939 is found in opserver
2026-10-26 16:52:25,987 - DEBUG - Do not have enough data to verify VN in agent
2026-10-26 16:52:25,994 - DEBUG - VRF ids for VN ctest-vn-96843939: {}
2026-10-26 16:52:25,994 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-26 16:52:26,001 - DEBUG - Requesting: http://10.0.0.190:8082/domain/65dadf12-f756-41f3-8200-714f9eb2025e
2026-10-26 16:52:26,017 - DEBUG - Requesting: http://10.0.0.190:8082/project/02695b78-f887-475a-9634-c6d82d7d975c
2026-10-26 16:52:26,098 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f5b767aa-3a47-462b-988a-f841e4149c0e
2026-10-26 16:52:26,115 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f5b767aa-3a47-462b-988a-f841e4149c0e
2026-10-26 16:52:26,129 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/d3cfa342-8c84-4ce0-a378-94e32ea7fc03
2026-10-26 16:52:26,139 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/d3cfa342-8c84-4ce0-a378-94e32ea7fc03
2026-10-26 16:52:26,148 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/a6e81263-911b-4639-91df-6ed8a991f661
2026-10-26 16:52:26,157 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-26 16:52:26,157 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f5b767aa-3a47-462b-988a-f841e4149c0e
2026-10-26 16:52:26,170 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/d3cfa342-8c84-4ce0-a378-94e32ea7fc03
2026-10-26 16:52:26,190 - INFO - Verified VN network id 13 for VN f5b767aa-3a47-462b-988a-f841e4149c0e
2026-10-26 16:52:26,191 - INFO - Verifications in API Server for VN ctest-vn-99731817 passed
2026-10-26 16:52:26,191 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f5b767aa-3a47-462b-988a-f841e4149c0e
2026-10-26 16:52:26,205 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/d3cfa342-8c84-4ce0-a378-94e32ea7fc03
2026-10-26 16:52:26,214 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/d3cfa342-8c84-4ce0-a378-94e32ea7fc03
2026-10-26 16:52:26,224 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/a6e81263-911b-4639-91df-6ed8a991f661
2026-10-26 16:52:26,241 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-99731817', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10743599', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17705734440850245163', 'uuid-lslong': '10991870802434235406'}, 'enable': 'true', 'created': '2026-10-26T16:52:23', 'last-modified': '2026-10-26T16:52:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.778013'}
2026-10-26 16:52:26,250 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-26 16:52:26,250 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99731817 passed
2026-10-26 16:52:26,251 - DEBUG - ====Verifying policy data for ctest-vn-99731817 in API_Server ======
2026-10-26 16:52:26,251 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-26 16:52:26,260 - DEBUG - Requesting: http://10.0.0.190:8082/domain/65dadf12-f756-41f3-8200-714f9eb2025e
2026-10-26 16:52:26,276 - DEBUG - Requesting: http://10.0.0.190:8082/project/02695b78-f887-475a-9634-c6d82d7d975c
2026-10-26 16:52:26,371 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f5b767aa-3a47-462b-988a-f841e4149c0e
2026-10-26 16:52:26,383 - DEBUG - ==>Verifying data for policy with id: ee0d9c08-51cf-4929-b57e-6aec19e67b6d, fqn: ['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-policy-allow-all-62101184']
2026-10-26 16:52:26,383 - INFO - VN ctest-vn-99731817 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-26 16:52:26,383 - DEBUG - Verifying the vn in opserver
2026-10-26 16:52:26,383 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-99731817 virtual network link through opserver 10.0.0.190
2026-10-26 16:52:26,384 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-26 16:52:26,396 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-99731817', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-99731817?flat'}
2026-10-26 16:52:26,396 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-99731817 is found in opserver
2026-10-26 16:52:26,413 - DEBUG - Do not have enough data to verify VN in agent
2026-10-26 16:52:26,421 - DEBUG - VRF ids for VN ctest-vn-99731817: {}
2026-10-26 16:52:26,502 - DEBUG - Services list from nova: [