2025-12-10 17:06:32,338 - INFO - Domain Default found not creating
2025-12-10 17:06:32,489 - INFO - Project ctest-TestBasicPolicy-96329241 not found, creating it
2025-12-10 17:06:32,931 - INFO - Created Project:ctest-TestBasicPolicy-96329241, ID : 3af79930-33ae-40de-bb82-92b1e229f19e
2025-12-10 17:06:34,392 - INFO - ================================================================================
2025-12-10 17:06:34,392 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-10 17:06:34,392 - 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
2025-12-10 17:06:34,650 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.25': '0'}} with
2025-12-10 17:06:34,650 - INFO - Initial checks done. Running the testcase now
2025-12-10 17:06:34,650 - INFO -
2025-12-10 17:06:35,216 - DEBUG - Response for create_network : {'network': {'id': '829c4eaa-8a5b-4664-bd03-e11b057f43e8', 'name': 'ctest-vn-62416418', 'tenant_id': '3af7993033ae40debb8292b1e229f19e', 'project_id': '3af7993033ae40debb8292b1e229f19e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-vn-62416418'], 'port_security_enabled': True, 'description': ''}}
2025-12-10 17:06:35,403 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e95fb8e4-a723-434f-9d93-5bcdbb138a3c', 'name': '', 'tenant_id': '3af7993033ae40debb8292b1e229f19e', 'network_id': '829c4eaa-8a5b-4664-bd03-e11b057f43e8', 'ip_version': 4, 'cidr': '97.217.61.0/26', 'allocation_pools': [{'start': '97.217.61.2', 'end': '97.217.61.62'}], 'gateway_ip': '97.217.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.217.61.2', 'tags': [], 'project_id': '3af7993033ae40debb8292b1e229f19e'}}
2025-12-10 17:06:35,422 - INFO - Created VN ctest-vn-62416418
2025-12-10 17:06:35,476 - DEBUG - VN ctest-vn-62416418 UUID is 829c4eaa-8a5b-4664-bd03-e11b057f43e8
2025-12-10 17:06:35,759 - DEBUG - Response for create_network : {'network': {'id': '327c9148-abce-4674-9cad-8d548ea074c4', 'name': 'ctest-vn-81349130', 'tenant_id': '3af7993033ae40debb8292b1e229f19e', 'project_id': '3af7993033ae40debb8292b1e229f19e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-vn-81349130'], 'port_security_enabled': True, 'description': ''}}
2025-12-10 17:06:35,941 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b99f7a0b-27a3-4711-b02e-246ee443f6ef', 'name': '', 'tenant_id': '3af7993033ae40debb8292b1e229f19e', 'network_id': '327c9148-abce-4674-9cad-8d548ea074c4', 'ip_version': 4, 'cidr': '132.79.191.64/26', 'allocation_pools': [{'start': '132.79.191.66', 'end': '132.79.191.126'}], 'gateway_ip': '132.79.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.79.191.66', 'tags': [], 'project_id': '3af7993033ae40debb8292b1e229f19e'}}
2025-12-10 17:06:35,959 - INFO - Created VN ctest-vn-81349130
2025-12-10 17:06:36,012 - DEBUG - VN ctest-vn-81349130 UUID is 327c9148-abce-4674-9cad-8d548ea074c4
2025-12-10 17:06:36,124 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-62416418, 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-96329241:ctest-vn-81349130, 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]
2025-12-10 17:06:36,413 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '829c4eaa-8a5b-4664-bd03-e11b057f43e8', 'name': 'ctest-vn-62416418', 'tenant_id': '3af7993033ae40debb8292b1e229f19e', 'project_id': '3af7993033ae40debb8292b1e229f19e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e95fb8e4-a723-434f-9d93-5bcdbb138a3c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-vn-62416418'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-policy-allow-all-63182097']], 'subnet_ipam': [{'subnet_cidr': '97.217.61.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-10 17:06:36,644 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '327c9148-abce-4674-9cad-8d548ea074c4', 'name': 'ctest-vn-81349130', 'tenant_id': '3af7993033ae40debb8292b1e229f19e', 'project_id': '3af7993033ae40debb8292b1e229f19e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b99f7a0b-27a3-4711-b02e-246ee443f6ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-vn-81349130'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-policy-allow-all-63182097']], 'subnet_ipam': [{'subnet_cidr': '132.79.191.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-10 17:06:36,780 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-12-10 17:06:37,078 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-12-10 17:06:37,107 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3442661e-287c-4b37-bca3-67be7280b8c9
2025-12-10 17:06:37,118 - DEBUG - Requesting: http://10.0.0.41:8082/project/3af79930-33ae-40de-bb82-92b1e229f19e
2025-12-10 17:06:37,187 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/829c4eaa-8a5b-4664-bd03-e11b057f43e8
2025-12-10 17:06:37,197 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/829c4eaa-8a5b-4664-bd03-e11b057f43e8
2025-12-10 17:06:37,206 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1ec533f3-84a5-41cf-bb34-53530324d36b
2025-12-10 17:06:37,212 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1ec533f3-84a5-41cf-bb34-53530324d36b
2025-12-10 17:06:37,219 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c39d0ca6-3871-4a1c-805d-f3800e3a6a62
2025-12-10 17:06:37,225 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-10 17:06:37,225 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/829c4eaa-8a5b-4664-bd03-e11b057f43e8
2025-12-10 17:06:37,234 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1ec533f3-84a5-41cf-bb34-53530324d36b
2025-12-10 17:06:37,246 - INFO - Verified VN network id 11 for VN 829c4eaa-8a5b-4664-bd03-e11b057f43e8
2025-12-10 17:06:37,246 - INFO - Verifications in API Server for VN ctest-vn-62416418 passed
2025-12-10 17:06:37,246 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/829c4eaa-8a5b-4664-bd03-e11b057f43e8
2025-12-10 17:06:37,255 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1ec533f3-84a5-41cf-bb34-53530324d36b
2025-12-10 17:06:37,262 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1ec533f3-84a5-41cf-bb34-53530324d36b
2025-12-10 17:06:37,269 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c39d0ca6-3871-4a1c-805d-f3800e3a6a62
2025-12-10 17:06:37,281 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-62416418', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96329241', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9411483815670138468', 'uuid-lslong': '13619977204271105000'}, 'enable': 'true', 'created': '2025-12-10T17:06:35', 'last-modified': '2025-12-10T17:06:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.887212'}
2025-12-10 17:06:37,289 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-10 17:06:37,289 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62416418 passed
2025-12-10 17:06:37,289 - DEBUG - ====Verifying policy data for ctest-vn-62416418 in API_Server ======
2025-12-10 17:06:37,289 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-12-10 17:06:37,295 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3442661e-287c-4b37-bca3-67be7280b8c9
2025-12-10 17:06:37,305 - DEBUG - Requesting: http://10.0.0.41:8082/project/3af79930-33ae-40de-bb82-92b1e229f19e
2025-12-10 17:06:37,370 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/829c4eaa-8a5b-4664-bd03-e11b057f43e8
2025-12-10 17:06:37,380 - DEBUG - ==>Verifying data for policy with id: db2b0013-1bea-4e01-ba72-b566275a4fe8, fqn: ['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-policy-allow-all-63182097']
2025-12-10 17:06:37,380 - INFO - VN ctest-vn-62416418 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-10 17:06:37,380 - DEBUG - Verifying the vn in opserver
2025-12-10 17:06:37,380 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-62416418 virtual network link through opserver 10.0.0.41
2025-12-10 17:06:37,380 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-12-10 17:06:37,673 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-12-10 17:06:37,727 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-62416418', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-62416418?flat'}
2025-12-10 17:06:37,727 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-62416418 is found in opserver
2025-12-10 17:06:37,736 - DEBUG - Do not have enough data to verify VN in agent
2025-12-10 17:06:37,741 - DEBUG - VRF ids for VN ctest-vn-62416418: {}
2025-12-10 17:06:37,741 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-12-10 17:06:37,745 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3442661e-287c-4b37-bca3-67be7280b8c9
2025-12-10 17:06:37,755 - DEBUG - Requesting: http://10.0.0.41:8082/project/3af79930-33ae-40de-bb82-92b1e229f19e
2025-12-10 17:06:37,825 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/327c9148-abce-4674-9cad-8d548ea074c4
2025-12-10 17:06:37,835 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/327c9148-abce-4674-9cad-8d548ea074c4
2025-12-10 17:06:37,843 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/893442e2-d220-498c-88a6-5146b3d5da98
2025-12-10 17:06:37,850 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/893442e2-d220-498c-88a6-5146b3d5da98
2025-12-10 17:06:37,856 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/cf520090-c7da-4f88-8cc2-7064ae2bcc21
2025-12-10 17:06:37,861 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-10 17:06:37,861 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/327c9148-abce-4674-9cad-8d548ea074c4
2025-12-10 17:06:37,869 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/893442e2-d220-498c-88a6-5146b3d5da98
2025-12-10 17:06:37,880 - INFO - Verified VN network id 12 for VN 327c9148-abce-4674-9cad-8d548ea074c4
2025-12-10 17:06:37,880 - INFO - Verifications in API Server for VN ctest-vn-81349130 passed
2025-12-10 17:06:37,881 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/327c9148-abce-4674-9cad-8d548ea074c4
2025-12-10 17:06:37,889 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/893442e2-d220-498c-88a6-5146b3d5da98
2025-12-10 17:06:37,895 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/893442e2-d220-498c-88a6-5146b3d5da98
2025-12-10 17:06:37,902 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/cf520090-c7da-4f88-8cc2-7064ae2bcc21
2025-12-10 17:06:37,913 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-81349130', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96329241', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3637942340314613364', 'uuid-lslong': '11289835235197351108'}, 'enable': 'true', 'created': '2025-12-10T17:06:35', 'last-modified': '2025-12-10T17:06:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.297611'}
2025-12-10 17:06:37,919 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-10 17:06:37,919 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81349130 passed
2025-12-10 17:06:37,919 - DEBUG - ====Verifying policy data for ctest-vn-81349130 in API_Server ======
2025-12-10 17:06:37,919 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-12-10 17:06:37,925 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3442661e-287c-4b37-bca3-67be7280b8c9
2025-12-10 17:06:37,935 - DEBUG - Requesting: http://10.0.0.41:8082/project/3af79930-33ae-40de-bb82-92b1e229f19e
2025-12-10 17:06:38,008 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/327c9148-abce-4674-9cad-8d548ea074c4
2025-12-10 17:06:38,018 - DEBUG - ==>Verifying data for policy with id: db2b0013-1bea-4e01-ba72-b566275a4fe8, fqn: ['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-policy-allow-all-63182097']
2025-12-10 17:06:38,018 - INFO - VN ctest-vn-81349130 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-10 17:06:38,018 - DEBUG - Verifying the vn in opserver
2025-12-10 17:06:38,018 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-81349130 virtual network link through opserver 10.0.0.41
2025-12-10 17:06:38,019 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-12-10 17:06:38,030 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-81349130', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-81349130?flat'}
2025-12-10 17:06:38,030 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-81349130 is found in opserver
2025-12-10 17:06:38,040 - DEBUG - Do not have enough data to verify VN in agent
2025-12-10 17:06:38,044 - DEBUG - VRF ids for VN ctest-vn-81349130: {}
2025-12-10 17:06:38,098 - DEBUG - Services list from nova: [