2026-06-04 02:25:53,823 - INFO - Domain Default found not creating
2026-06-04 02:25:53,998 - INFO - Project ctest-TestBasicPolicy-75827855 not found, creating it
2026-06-04 02:25:54,554 - INFO - Created Project:ctest-TestBasicPolicy-75827855, ID : d2650751-dd73-4769-b7ba-661b18af2d44
2026-06-04 02:25:56,053 - INFO - ================================================================================
2026-06-04 02:25:56,054 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-04 02:25:56,054 - 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-04 02:25:56,310 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2026-06-04 02:25:56,310 - INFO - Initial checks done. Running the testcase now
2026-06-04 02:25:56,311 - INFO -
2026-06-04 02:25:56,877 - DEBUG - Response for create_network : {'network': {'id': '68540a79-7c66-4472-90f3-41ef6a920419', 'name': 'ctest-vn-83229326', 'tenant_id': 'd2650751dd734769b7ba661b18af2d44', 'project_id': 'd2650751dd734769b7ba661b18af2d44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-vn-83229326'], 'port_security_enabled': True, 'description': ''}}
2026-06-04 02:25:57,042 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbd5781d-3033-4f9e-b3f1-bdcf025ac2b1', 'name': '', 'tenant_id': 'd2650751dd734769b7ba661b18af2d44', 'network_id': '68540a79-7c66-4472-90f3-41ef6a920419', 'ip_version': 4, 'cidr': '29.85.59.64/26', 'allocation_pools': [{'start': '29.85.59.66', 'end': '29.85.59.126'}], 'gateway_ip': '29.85.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.85.59.66', 'tags': [], 'project_id': 'd2650751dd734769b7ba661b18af2d44'}}
2026-06-04 02:25:57,061 - INFO - Created VN ctest-vn-83229326
2026-06-04 02:25:57,113 - DEBUG - VN ctest-vn-83229326 UUID is 68540a79-7c66-4472-90f3-41ef6a920419
2026-06-04 02:25:57,405 - DEBUG - Response for create_network : {'network': {'id': 'd6f2d9c1-d386-49f3-96ff-28c79f256dfd', 'name': 'ctest-vn-38669046', 'tenant_id': 'd2650751dd734769b7ba661b18af2d44', 'project_id': 'd2650751dd734769b7ba661b18af2d44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-vn-38669046'], 'port_security_enabled': True, 'description': ''}}
2026-06-04 02:25:57,579 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fdcaf7f-0180-45ba-b1ba-d4e3bddf3cff', 'name': '', 'tenant_id': 'd2650751dd734769b7ba661b18af2d44', 'network_id': 'd6f2d9c1-d386-49f3-96ff-28c79f256dfd', 'ip_version': 4, 'cidr': '202.10.20.0/26', 'allocation_pools': [{'start': '202.10.20.2', 'end': '202.10.20.62'}], 'gateway_ip': '202.10.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.10.20.2', 'tags': [], 'project_id': 'd2650751dd734769b7ba661b18af2d44'}}
2026-06-04 02:25:57,597 - INFO - Created VN ctest-vn-38669046
2026-06-04 02:25:57,649 - DEBUG - VN ctest-vn-38669046 UUID is d6f2d9c1-d386-49f3-96ff-28c79f256dfd
2026-06-04 02:25:57,801 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-83229326, 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-75827855:ctest-vn-38669046, 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-04 02:25:58,106 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '68540a79-7c66-4472-90f3-41ef6a920419', 'name': 'ctest-vn-83229326', 'tenant_id': 'd2650751dd734769b7ba661b18af2d44', 'project_id': 'd2650751dd734769b7ba661b18af2d44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fbd5781d-3033-4f9e-b3f1-bdcf025ac2b1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-vn-83229326'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-policy-allow-all-94927705']], 'subnet_ipam': [{'subnet_cidr': '29.85.59.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-04 02:25:58,350 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd6f2d9c1-d386-49f3-96ff-28c79f256dfd', 'name': 'ctest-vn-38669046', 'tenant_id': 'd2650751dd734769b7ba661b18af2d44', 'project_id': 'd2650751dd734769b7ba661b18af2d44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fdcaf7f-0180-45ba-b1ba-d4e3bddf3cff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-vn-38669046'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-policy-allow-all-94927705']], 'subnet_ipam': [{'subnet_cidr': '202.10.20.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-04 02:25:58,521 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-04 02:25:58,816 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-04 02:25:58,845 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e506eb7a-b2dc-43f7-9128-6e432f346ffe
2026-06-04 02:25:58,858 - DEBUG - Requesting: http://10.0.0.22:8082/project/d2650751-dd73-4769-b7ba-661b18af2d44
2026-06-04 02:25:58,925 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68540a79-7c66-4472-90f3-41ef6a920419
2026-06-04 02:25:58,936 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68540a79-7c66-4472-90f3-41ef6a920419
2026-06-04 02:25:58,946 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a9361dc-fea3-4609-927b-6b0f0d122687
2026-06-04 02:25:58,954 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a9361dc-fea3-4609-927b-6b0f0d122687
2026-06-04 02:25:58,963 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5dae26ad-21b2-4a86-8f5f-802c2c99f304
2026-06-04 02:25:58,970 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-04 02:25:58,970 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68540a79-7c66-4472-90f3-41ef6a920419
2026-06-04 02:25:58,979 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a9361dc-fea3-4609-927b-6b0f0d122687
2026-06-04 02:25:58,993 - INFO - Verified VN network id 11 for VN 68540a79-7c66-4472-90f3-41ef6a920419
2026-06-04 02:25:58,993 - INFO - Verifications in API Server for VN ctest-vn-83229326 passed
2026-06-04 02:25:58,994 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68540a79-7c66-4472-90f3-41ef6a920419
2026-06-04 02:25:59,002 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a9361dc-fea3-4609-927b-6b0f0d122687
2026-06-04 02:25:59,009 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2a9361dc-fea3-4609-927b-6b0f0d122687
2026-06-04 02:25:59,016 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5dae26ad-21b2-4a86-8f5f-802c2c99f304
2026-06-04 02:25:59,028 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-83229326', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75827855', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7517645194882598002', 'uuid-lslong': '10444764457343255577'}, 'enable': 'true', 'created': '2026-06-04T02:25:56', 'last-modified': '2026-06-04T02:25:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943768'}
2026-06-04 02:25:59,034 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-04 02:25:59,034 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83229326 passed
2026-06-04 02:25:59,034 - DEBUG - ====Verifying policy data for ctest-vn-83229326 in API_Server ======
2026-06-04 02:25:59,034 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-04 02:25:59,039 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e506eb7a-b2dc-43f7-9128-6e432f346ffe
2026-06-04 02:25:59,050 - DEBUG - Requesting: http://10.0.0.22:8082/project/d2650751-dd73-4769-b7ba-661b18af2d44
2026-06-04 02:25:59,120 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/68540a79-7c66-4472-90f3-41ef6a920419
2026-06-04 02:25:59,129 - DEBUG - ==>Verifying data for policy with id: 3191ecb9-95a1-4fde-9271-2758ca6480af, fqn: ['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-policy-allow-all-94927705']
2026-06-04 02:25:59,129 - INFO - VN ctest-vn-83229326 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-04 02:25:59,129 - DEBUG - Verifying the vn in opserver
2026-06-04 02:25:59,129 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-83229326 virtual network link through opserver 10.0.0.22
2026-06-04 02:25:59,129 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-06-04 02:25:59,440 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-06-04 02:25:59,514 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-83229326', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-83229326?flat'}
2026-06-04 02:25:59,514 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-83229326 is found in opserver
2026-06-04 02:25:59,524 - DEBUG - Do not have enough data to verify VN in agent
2026-06-04 02:25:59,530 - DEBUG - VRF ids for VN ctest-vn-83229326: {}
2026-06-04 02:25:59,530 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-04 02:25:59,536 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e506eb7a-b2dc-43f7-9128-6e432f346ffe
2026-06-04 02:25:59,548 - DEBUG - Requesting: http://10.0.0.22:8082/project/d2650751-dd73-4769-b7ba-661b18af2d44
2026-06-04 02:25:59,626 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6f2d9c1-d386-49f3-96ff-28c79f256dfd
2026-06-04 02:25:59,639 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6f2d9c1-d386-49f3-96ff-28c79f256dfd
2026-06-04 02:25:59,647 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef0495c1-7bfd-414d-9c5f-9dfe139e4763
2026-06-04 02:25:59,655 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef0495c1-7bfd-414d-9c5f-9dfe139e4763
2026-06-04 02:25:59,661 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/316ae80f-3e4e-45b6-8448-7bdb416feff7
2026-06-04 02:25:59,667 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-04 02:25:59,667 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6f2d9c1-d386-49f3-96ff-28c79f256dfd
2026-06-04 02:25:59,677 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef0495c1-7bfd-414d-9c5f-9dfe139e4763
2026-06-04 02:25:59,694 - INFO - Verified VN network id 12 for VN d6f2d9c1-d386-49f3-96ff-28c79f256dfd
2026-06-04 02:25:59,694 - INFO - Verifications in API Server for VN ctest-vn-38669046 passed
2026-06-04 02:25:59,694 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6f2d9c1-d386-49f3-96ff-28c79f256dfd
2026-06-04 02:25:59,705 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef0495c1-7bfd-414d-9c5f-9dfe139e4763
2026-06-04 02:25:59,713 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ef0495c1-7bfd-414d-9c5f-9dfe139e4763
2026-06-04 02:25:59,723 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/316ae80f-3e4e-45b6-8448-7bdb416feff7
2026-06-04 02:25:59,737 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-38669046', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75827855', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15488681494981265907', 'uuid-lslong': '10880460062584040957'}, 'enable': 'true', 'created': '2026-06-04T02:25:57', 'last-modified': '2026-06-04T02:25:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.414485'}
2026-06-04 02:25:59,744 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-04 02:25:59,744 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38669046 passed
2026-06-04 02:25:59,744 - DEBUG - ====Verifying policy data for ctest-vn-38669046 in API_Server ======
2026-06-04 02:25:59,744 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-06-04 02:25:59,750 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e506eb7a-b2dc-43f7-9128-6e432f346ffe
2026-06-04 02:25:59,762 - DEBUG - Requesting: http://10.0.0.22:8082/project/d2650751-dd73-4769-b7ba-661b18af2d44
2026-06-04 02:25:59,839 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d6f2d9c1-d386-49f3-96ff-28c79f256dfd
2026-06-04 02:25:59,849 - DEBUG - ==>Verifying data for policy with id: 3191ecb9-95a1-4fde-9271-2758ca6480af, fqn: ['default-domain', 'ctest-TestBasicPolicy-75827855', 'ctest-policy-allow-all-94927705']
2026-06-04 02:25:59,849 - INFO - VN ctest-vn-38669046 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-04 02:25:59,849 - DEBUG - Verifying the vn in opserver
2026-06-04 02:25:59,849 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-38669046 virtual network link through opserver 10.0.0.22
2026-06-04 02:25:59,849 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-06-04 02:25:59,859 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-38669046', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-38669046?flat'}
2026-06-04 02:25:59,859 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75827855:ctest-vn-38669046 is found in opserver
2026-06-04 02:25:59,870 - DEBUG - Do not have enough data to verify VN in agent
2026-06-04 02:25:59,875 - DEBUG - VRF ids for VN ctest-vn-38669046: {}
2026-06-04 02:25:59,947 - DEBUG - Services list from nova: [