2026-11-03 00:49:17,357 - INFO - Domain Default found not creating
2026-11-03 00:49:17,529 - INFO - Project ctest-TestBasicPolicy-91850428 not found, creating it
2026-11-03 00:49:18,003 - INFO - Created Project:ctest-TestBasicPolicy-91850428, ID : 282e5f5a-14c2-42d9-8859-efe3433830a1
2026-11-03 00:49:19,573 - INFO - ================================================================================
2026-11-03 00:49:19,573 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-03 00:49:19,573 - 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-11-03 00:49:19,831 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.29': '0'}} with
2026-11-03 00:49:19,831 - INFO - Initial checks done. Running the testcase now
2026-11-03 00:49:19,831 - INFO -
2026-11-03 00:49:20,403 - DEBUG - Response for create_network : {'network': {'id': 'e09962a5-9e5b-494f-b93d-bf70f823477f', 'name': 'ctest-vn-13121422', 'tenant_id': '282e5f5a14c242d98859efe3433830a1', 'project_id': '282e5f5a14c242d98859efe3433830a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-vn-13121422'], 'port_security_enabled': True, 'description': ''}}
2026-11-03 00:49:20,602 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f3aa7c7-245a-4b52-8a89-c37821a58772', 'name': '', 'tenant_id': '282e5f5a14c242d98859efe3433830a1', 'network_id': 'e09962a5-9e5b-494f-b93d-bf70f823477f', 'ip_version': 4, 'cidr': '212.249.155.128/26', 'allocation_pools': [{'start': '212.249.155.130', 'end': '212.249.155.190'}], 'gateway_ip': '212.249.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.249.155.130', 'tags': [], 'project_id': '282e5f5a14c242d98859efe3433830a1'}}
2026-11-03 00:49:20,617 - INFO - Created VN ctest-vn-13121422
2026-11-03 00:49:20,670 - DEBUG - VN ctest-vn-13121422 UUID is e09962a5-9e5b-494f-b93d-bf70f823477f
2026-11-03 00:49:21,015 - DEBUG - Response for create_network : {'network': {'id': '7a3cdc3a-1e72-470a-b2f5-7c6f523addb1', 'name': 'ctest-vn-08464283', 'tenant_id': '282e5f5a14c242d98859efe3433830a1', 'project_id': '282e5f5a14c242d98859efe3433830a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-vn-08464283'], 'port_security_enabled': True, 'description': ''}}
2026-11-03 00:49:21,241 - DEBUG - Response for create_subnet : {'subnet': {'id': '04c6e096-4f9d-4c69-9d0b-a382c771537d', 'name': '', 'tenant_id': '282e5f5a14c242d98859efe3433830a1', 'network_id': '7a3cdc3a-1e72-470a-b2f5-7c6f523addb1', 'ip_version': 4, 'cidr': '56.174.232.0/26', 'allocation_pools': [{'start': '56.174.232.2', 'end': '56.174.232.62'}], 'gateway_ip': '56.174.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.174.232.2', 'tags': [], 'project_id': '282e5f5a14c242d98859efe3433830a1'}}
2026-11-03 00:49:21,256 - INFO - Created VN ctest-vn-08464283
2026-11-03 00:49:21,310 - DEBUG - VN ctest-vn-08464283 UUID is 7a3cdc3a-1e72-470a-b2f5-7c6f523addb1
2026-11-03 00:49:21,458 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-13121422, 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-91850428:ctest-vn-08464283, 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-11-03 00:49:21,752 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e09962a5-9e5b-494f-b93d-bf70f823477f', 'name': 'ctest-vn-13121422', 'tenant_id': '282e5f5a14c242d98859efe3433830a1', 'project_id': '282e5f5a14c242d98859efe3433830a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0f3aa7c7-245a-4b52-8a89-c37821a58772'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-vn-13121422'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-policy-allow-all-18730692']], 'subnet_ipam': [{'subnet_cidr': '212.249.155.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-03 00:49:21,994 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7a3cdc3a-1e72-470a-b2f5-7c6f523addb1', 'name': 'ctest-vn-08464283', 'tenant_id': '282e5f5a14c242d98859efe3433830a1', 'project_id': '282e5f5a14c242d98859efe3433830a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['04c6e096-4f9d-4c69-9d0b-a382c771537d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-vn-08464283'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-policy-allow-all-18730692']], 'subnet_ipam': [{'subnet_cidr': '56.174.232.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-03 00:49:22,158 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-11-03 00:49:22,474 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-11-03 00:49:22,501 - DEBUG - Requesting: http://10.0.0.251:8082/domain/13ea2d17-de7d-421b-91c6-939d93d64f03
2026-11-03 00:49:22,512 - DEBUG - Requesting: http://10.0.0.251:8082/project/282e5f5a-14c2-42d9-8859-efe3433830a1
2026-11-03 00:49:22,581 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/e09962a5-9e5b-494f-b93d-bf70f823477f
2026-11-03 00:49:22,592 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/e09962a5-9e5b-494f-b93d-bf70f823477f
2026-11-03 00:49:22,600 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2e0dd678-399e-4ced-9abc-e3ec539d4a2e
2026-11-03 00:49:22,606 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2e0dd678-399e-4ced-9abc-e3ec539d4a2e
2026-11-03 00:49:22,611 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/64a79290-2ec7-49cd-a73a-87cb2876de1b
2026-11-03 00:49:22,616 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-03 00:49:22,616 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/e09962a5-9e5b-494f-b93d-bf70f823477f
2026-11-03 00:49:22,623 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2e0dd678-399e-4ced-9abc-e3ec539d4a2e
2026-11-03 00:49:22,634 - INFO - Verified VN network id 12 for VN e09962a5-9e5b-494f-b93d-bf70f823477f
2026-11-03 00:49:22,634 - INFO - Verifications in API Server for VN ctest-vn-13121422 passed
2026-11-03 00:49:22,634 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/e09962a5-9e5b-494f-b93d-bf70f823477f
2026-11-03 00:49:22,642 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2e0dd678-399e-4ced-9abc-e3ec539d4a2e
2026-11-03 00:49:22,648 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2e0dd678-399e-4ced-9abc-e3ec539d4a2e
2026-11-03 00:49:22,653 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/64a79290-2ec7-49cd-a73a-87cb2876de1b
2026-11-03 00:49:22,664 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-13121422', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91850428', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16184075199398496591', 'uuid-lslong': '13348035362516322175'}, 'enable': 'true', 'created': '2026-11-03T00:49:20', 'last-modified': '2026-11-03T00:49:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933147'}
2026-11-03 00:49:22,670 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-03 00:49:22,670 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13121422 passed
2026-11-03 00:49:22,670 - DEBUG - ====Verifying policy data for ctest-vn-13121422 in API_Server ======
2026-11-03 00:49:22,670 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-11-03 00:49:22,675 - DEBUG - Requesting: http://10.0.0.251:8082/domain/13ea2d17-de7d-421b-91c6-939d93d64f03
2026-11-03 00:49:22,685 - DEBUG - Requesting: http://10.0.0.251:8082/project/282e5f5a-14c2-42d9-8859-efe3433830a1
2026-11-03 00:49:22,754 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/e09962a5-9e5b-494f-b93d-bf70f823477f
2026-11-03 00:49:22,763 - DEBUG - ==>Verifying data for policy with id: b79d5463-05d2-4852-8f09-8758400764cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-policy-allow-all-18730692']
2026-11-03 00:49:22,763 - INFO - VN ctest-vn-13121422 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-03 00:49:22,764 - DEBUG - Verifying the vn in opserver
2026-11-03 00:49:22,764 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-13121422 virtual network link through opserver 10.0.0.251
2026-11-03 00:49:22,764 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-11-03 00:49:23,083 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-11-03 00:49:23,135 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-13121422', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-13121422?flat'}
2026-11-03 00:49:23,135 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-13121422 is found in opserver
2026-11-03 00:49:23,147 - DEBUG - Do not have enough data to verify VN in agent
2026-11-03 00:49:23,151 - DEBUG - VRF ids for VN ctest-vn-13121422: {}
2026-11-03 00:49:23,151 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-11-03 00:49:23,157 - DEBUG - Requesting: http://10.0.0.251:8082/domain/13ea2d17-de7d-421b-91c6-939d93d64f03
2026-11-03 00:49:23,166 - DEBUG - Requesting: http://10.0.0.251:8082/project/282e5f5a-14c2-42d9-8859-efe3433830a1
2026-11-03 00:49:23,238 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7a3cdc3a-1e72-470a-b2f5-7c6f523addb1
2026-11-03 00:49:23,250 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7a3cdc3a-1e72-470a-b2f5-7c6f523addb1
2026-11-03 00:49:23,258 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/df42b32e-13c3-4dcf-aed5-894ef516fd20
2026-11-03 00:49:23,265 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/df42b32e-13c3-4dcf-aed5-894ef516fd20
2026-11-03 00:49:23,273 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/df0254d4-3ec3-4b82-9559-6b4c998206a7
2026-11-03 00:49:23,280 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-03 00:49:23,280 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7a3cdc3a-1e72-470a-b2f5-7c6f523addb1
2026-11-03 00:49:23,288 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/df42b32e-13c3-4dcf-aed5-894ef516fd20
2026-11-03 00:49:23,301 - INFO - Verified VN network id 13 for VN 7a3cdc3a-1e72-470a-b2f5-7c6f523addb1
2026-11-03 00:49:23,301 - INFO - Verifications in API Server for VN ctest-vn-08464283 passed
2026-11-03 00:49:23,301 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7a3cdc3a-1e72-470a-b2f5-7c6f523addb1
2026-11-03 00:49:23,309 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/df42b32e-13c3-4dcf-aed5-894ef516fd20
2026-11-03 00:49:23,317 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/df42b32e-13c3-4dcf-aed5-894ef516fd20
2026-11-03 00:49:23,323 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/df0254d4-3ec3-4b82-9559-6b4c998206a7
2026-11-03 00:49:23,333 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-08464283', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91850428', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8808157113406867210', 'uuid-lslong': '12895349925608086961'}, 'enable': 'true', 'created': '2026-11-03T00:49:20', 'last-modified': '2026-11-03T00:49:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.378124'}
2026-11-03 00:49:23,339 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-03 00:49:23,340 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08464283 passed
2026-11-03 00:49:23,340 - DEBUG - ====Verifying policy data for ctest-vn-08464283 in API_Server ======
2026-11-03 00:49:23,340 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-11-03 00:49:23,346 - DEBUG - Requesting: http://10.0.0.251:8082/domain/13ea2d17-de7d-421b-91c6-939d93d64f03
2026-11-03 00:49:23,356 - DEBUG - Requesting: http://10.0.0.251:8082/project/282e5f5a-14c2-42d9-8859-efe3433830a1
2026-11-03 00:49:23,428 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7a3cdc3a-1e72-470a-b2f5-7c6f523addb1
2026-11-03 00:49:23,437 - DEBUG - ==>Verifying data for policy with id: b79d5463-05d2-4852-8f09-8758400764cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-policy-allow-all-18730692']
2026-11-03 00:49:23,438 - INFO - VN ctest-vn-08464283 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-03 00:49:23,438 - DEBUG - Verifying the vn in opserver
2026-11-03 00:49:23,438 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-08464283 virtual network link through opserver 10.0.0.251
2026-11-03 00:49:23,438 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-11-03 00:49:23,448 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-08464283', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-08464283?flat'}
2026-11-03 00:49:23,448 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-08464283 is found in opserver
2026-11-03 00:49:23,458 - DEBUG - Do not have enough data to verify VN in agent
2026-11-03 00:49:23,462 - DEBUG - VRF ids for VN ctest-vn-08464283: {}
2026-11-03 00:49:23,518 - DEBUG - Services list from nova: [