2025-10-30 14:04:52,486 - INFO - Domain Default found not creating
2025-10-30 14:04:52,655 - INFO - Project ctest-TestBasicPolicy-89110056 not found, creating it
2025-10-30 14:04:53,127 - INFO - Created Project:ctest-TestBasicPolicy-89110056, ID : a026931e-0b54-46a6-be5c-d26f12cdffb4 
2025-10-30 14:04:54,637 - INFO - ================================================================================
2025-10-30 14:04:54,637 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-30 14:04:54,637 - 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-10-30 14:04:54,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.20.0.14': '0'}} with
2025-10-30 14:04:54,890 - INFO - Initial checks done. Running the testcase now
2025-10-30 14:04:54,890 - INFO - 
2025-10-30 14:04:55,460 - DEBUG - Response for create_network : {'network': {'id': 'f2d9961b-6180-4a12-a47e-4d86de3daba7', 'name': 'ctest-vn-20250673', 'tenant_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'project_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-vn-20250673'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 14:04:55,696 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fed1a33-f25a-4882-b897-2a8321c64ccd', 'name': '', 'tenant_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'network_id': 'f2d9961b-6180-4a12-a47e-4d86de3daba7', 'ip_version': 4, 'cidr': '117.157.9.0/26', 'allocation_pools': [{'start': '117.157.9.2', 'end': '117.157.9.62'}], 'gateway_ip': '117.157.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.157.9.2', 'tags': [], 'project_id': 'a026931e0b5446a6be5cd26f12cdffb4'}}
2025-10-30 14:04:55,716 - INFO - Created VN ctest-vn-20250673
2025-10-30 14:04:55,772 - DEBUG - VN ctest-vn-20250673 UUID is f2d9961b-6180-4a12-a47e-4d86de3daba7
2025-10-30 14:04:56,076 - DEBUG - Response for create_network : {'network': {'id': 'fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894', 'name': 'ctest-vn-31474694', 'tenant_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'project_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-vn-31474694'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 14:04:56,268 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf898cae-cdd1-4361-a01f-9c23455923b7', 'name': '', 'tenant_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'network_id': 'fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894', 'ip_version': 4, 'cidr': '18.252.88.64/26', 'allocation_pools': [{'start': '18.252.88.66', 'end': '18.252.88.126'}], 'gateway_ip': '18.252.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.252.88.66', 'tags': [], 'project_id': 'a026931e0b5446a6be5cd26f12cdffb4'}}
2025-10-30 14:04:56,290 - INFO - Created VN ctest-vn-31474694
2025-10-30 14:04:56,344 - DEBUG - VN ctest-vn-31474694 UUID is fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894
2025-10-30 14:04:56,496 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-20250673, 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-89110056:ctest-vn-31474694, 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-10-30 14:04:56,788 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f2d9961b-6180-4a12-a47e-4d86de3daba7', 'name': 'ctest-vn-20250673', 'tenant_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'project_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2fed1a33-f25a-4882-b897-2a8321c64ccd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-vn-20250673'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-policy-allow-all-88696133']], 'subnet_ipam': [{'subnet_cidr': '117.157.9.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 14:04:57,055 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894', 'name': 'ctest-vn-31474694', 'tenant_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'project_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bf898cae-cdd1-4361-a01f-9c23455923b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-vn-31474694'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-policy-allow-all-88696133']], 'subnet_ipam': [{'subnet_cidr': '18.252.88.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 14:04:57,200 - DEBUG - Requesting: http://10.0.0.128:8082/domains
2025-10-30 14:04:57,501 - DEBUG - Requesting: http://10.0.0.128:8082/domains
2025-10-30 14:04:57,529 - DEBUG - Requesting: http://10.0.0.128:8082/domain/7b0167b2-e3c6-4936-b536-d7af9649390b
2025-10-30 14:04:57,545 - DEBUG - Requesting: http://10.0.0.128:8082/project/a026931e-0b54-46a6-be5c-d26f12cdffb4
2025-10-30 14:04:57,619 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/f2d9961b-6180-4a12-a47e-4d86de3daba7
2025-10-30 14:04:57,630 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/f2d9961b-6180-4a12-a47e-4d86de3daba7
2025-10-30 14:04:57,639 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/20140390-b39b-4970-b20b-fd15f592db82
2025-10-30 14:04:57,646 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/20140390-b39b-4970-b20b-fd15f592db82
2025-10-30 14:04:57,652 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/cce4cbc5-e674-41fc-9497-09c3ae55c05b
2025-10-30 14:04:57,657 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 14:04:57,658 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/f2d9961b-6180-4a12-a47e-4d86de3daba7
2025-10-30 14:04:57,665 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/20140390-b39b-4970-b20b-fd15f592db82
2025-10-30 14:04:57,679 - INFO - Verified VN network id 11 for VN f2d9961b-6180-4a12-a47e-4d86de3daba7
2025-10-30 14:04:57,679 - INFO - Verifications in API Server for VN ctest-vn-20250673 passed
2025-10-30 14:04:57,679 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/f2d9961b-6180-4a12-a47e-4d86de3daba7
2025-10-30 14:04:57,688 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/20140390-b39b-4970-b20b-fd15f592db82
2025-10-30 14:04:57,695 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/20140390-b39b-4970-b20b-fd15f592db82
2025-10-30 14:04:57,702 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/cce4cbc5-e674-41fc-9497-09c3ae55c05b
2025-10-30 14:04:57,713 - DEBUG - Control-node 10.0.0.128 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-20250673', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89110056', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17499182871468853778', 'uuid-lslong': '11852996510935264167'}, 'enable': 'true', 'created': '2025-10-30T14:04:55', 'last-modified': '2025-10-30T14:04:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944635'}
2025-10-30 14:04:57,720 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 14:04:57,720 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20250673 passed
2025-10-30 14:04:57,720 - DEBUG - ====Verifying policy data for ctest-vn-20250673 in API_Server ======
2025-10-30 14:04:57,720 - DEBUG - Requesting: http://10.0.0.128:8082/domains
2025-10-30 14:04:57,725 - DEBUG - Requesting: http://10.0.0.128:8082/domain/7b0167b2-e3c6-4936-b536-d7af9649390b
2025-10-30 14:04:57,734 - DEBUG - Requesting: http://10.0.0.128:8082/project/a026931e-0b54-46a6-be5c-d26f12cdffb4
2025-10-30 14:04:57,799 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/f2d9961b-6180-4a12-a47e-4d86de3daba7
2025-10-30 14:04:57,808 - DEBUG - ==>Verifying data for policy with id: 2ddc95dd-cebd-47c4-b73b-0ed8cece8fbf, fqn: ['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-policy-allow-all-88696133']
2025-10-30 14:04:57,808 - INFO - VN ctest-vn-20250673 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 14:04:57,808 - DEBUG - Verifying the vn in opserver
2025-10-30 14:04:57,808 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-20250673 virtual network link  through opserver 10.0.0.128
2025-10-30 14:04:57,809 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks
2025-10-30 14:04:58,099 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks
2025-10-30 14:04:58,154 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-20250673', 'href': 'http://10.0.0.128:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-20250673?flat'}
2025-10-30 14:04:58,154 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-20250673 is found in opserver
2025-10-30 14:04:58,163 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 14:04:58,167 - DEBUG - VRF ids for VN ctest-vn-20250673: {}
2025-10-30 14:04:58,167 - DEBUG - Requesting: http://10.0.0.128:8082/domains
2025-10-30 14:04:58,173 - DEBUG - Requesting: http://10.0.0.128:8082/domain/7b0167b2-e3c6-4936-b536-d7af9649390b
2025-10-30 14:04:58,184 - DEBUG - Requesting: http://10.0.0.128:8082/project/a026931e-0b54-46a6-be5c-d26f12cdffb4
2025-10-30 14:04:58,256 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894
2025-10-30 14:04:58,271 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894
2025-10-30 14:04:58,281 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/b697d2cd-8ef8-4750-8c1a-8bb6ab9b0ea7
2025-10-30 14:04:58,290 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/b697d2cd-8ef8-4750-8c1a-8bb6ab9b0ea7
2025-10-30 14:04:58,298 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/7e4885a6-1d21-4f52-af20-32e241f37832
2025-10-30 14:04:58,305 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 14:04:58,305 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894
2025-10-30 14:04:58,316 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/b697d2cd-8ef8-4750-8c1a-8bb6ab9b0ea7
2025-10-30 14:04:58,335 - INFO - Verified VN network id 12 for VN fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894
2025-10-30 14:04:58,335 - INFO - Verifications in API Server for VN ctest-vn-31474694 passed
2025-10-30 14:04:58,335 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894
2025-10-30 14:04:58,345 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/b697d2cd-8ef8-4750-8c1a-8bb6ab9b0ea7
2025-10-30 14:04:58,354 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/b697d2cd-8ef8-4750-8c1a-8bb6ab9b0ea7
2025-10-30 14:04:58,362 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/7e4885a6-1d21-4f52-af20-32e241f37832
2025-10-30 14:04:58,375 - DEBUG - Control-node 10.0.0.128 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-31474694', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89110056', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18261733497140429775', 'uuid-lslong': '11934951993488160916'}, 'enable': 'true', 'created': '2025-10-30T14:04:56', 'last-modified': '2025-10-30T14:04:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.384988'}
2025-10-30 14:04:58,382 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 14:04:58,382 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31474694 passed
2025-10-30 14:04:58,382 - DEBUG - ====Verifying policy data for ctest-vn-31474694 in API_Server ======
2025-10-30 14:04:58,382 - DEBUG - Requesting: http://10.0.0.128:8082/domains
2025-10-30 14:04:58,388 - DEBUG - Requesting: http://10.0.0.128:8082/domain/7b0167b2-e3c6-4936-b536-d7af9649390b
2025-10-30 14:04:58,400 - DEBUG - Requesting: http://10.0.0.128:8082/project/a026931e-0b54-46a6-be5c-d26f12cdffb4
2025-10-30 14:04:58,473 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894
2025-10-30 14:04:58,486 - DEBUG - ==>Verifying data for policy with id: 2ddc95dd-cebd-47c4-b73b-0ed8cece8fbf, fqn: ['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-policy-allow-all-88696133']
2025-10-30 14:04:58,486 - INFO - VN ctest-vn-31474694 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 14:04:58,486 - DEBUG - Verifying the vn in opserver
2025-10-30 14:04:58,486 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-31474694 virtual network link  through opserver 10.0.0.128
2025-10-30 14:04:58,486 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks
2025-10-30 14:04:58,497 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-31474694', 'href': 'http://10.0.0.128:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-31474694?flat'}
2025-10-30 14:04:58,498 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-31474694 is found in opserver
2025-10-30 14:04:58,508 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 14:04:58,513 - DEBUG - VRF ids for VN ctest-vn-31474694: {}
2025-10-30 14:04:58,590 - DEBUG - Services list from nova: [