2025-10-23 19:14:29,568 - INFO - Domain Default found not creating
2025-10-23 19:14:29,720 - INFO - Project ctest-TestBasicPolicy-07386662 not found, creating it
2025-10-23 19:14:30,165 - INFO - Created Project:ctest-TestBasicPolicy-07386662, ID : bc883db2-01f7-4943-a36b-b86b24100565 
2025-10-23 19:14:31,698 - INFO - ================================================================================
2025-10-23 19:14:31,698 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-23 19:14:31,698 - 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-23 19:14:31,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with
2025-10-23 19:14:31,954 - INFO - Initial checks done. Running the testcase now
2025-10-23 19:14:31,954 - INFO - 
2025-10-23 19:14:32,530 - DEBUG - Response for create_network : {'network': {'id': '97ea82e0-370e-43e6-a087-43dc522ebcd1', 'name': 'ctest-vn-56020177', 'tenant_id': 'bc883db201f74943a36bb86b24100565', 'project_id': 'bc883db201f74943a36bb86b24100565', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07386662', 'ctest-vn-56020177'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 19:14:32,743 - DEBUG - Response for create_subnet : {'subnet': {'id': '114d03f9-c41b-40b4-af88-63ac061708a2', 'name': '', 'tenant_id': 'bc883db201f74943a36bb86b24100565', 'network_id': '97ea82e0-370e-43e6-a087-43dc522ebcd1', 'ip_version': 4, 'cidr': '130.138.10.0/26', 'allocation_pools': [{'start': '130.138.10.2', 'end': '130.138.10.62'}], 'gateway_ip': '130.138.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.138.10.2', 'tags': [], 'project_id': 'bc883db201f74943a36bb86b24100565'}}
2025-10-23 19:14:32,761 - INFO - Created VN ctest-vn-56020177
2025-10-23 19:14:32,815 - DEBUG - VN ctest-vn-56020177 UUID is 97ea82e0-370e-43e6-a087-43dc522ebcd1
2025-10-23 19:14:33,127 - DEBUG - Response for create_network : {'network': {'id': 'a40e6a4d-a622-431c-b51b-1cc8db2268a0', 'name': 'ctest-vn-73266220', 'tenant_id': 'bc883db201f74943a36bb86b24100565', 'project_id': 'bc883db201f74943a36bb86b24100565', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07386662', 'ctest-vn-73266220'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 19:14:33,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '88592035-8834-4927-bc06-0fac027fa21a', 'name': '', 'tenant_id': 'bc883db201f74943a36bb86b24100565', 'network_id': 'a40e6a4d-a622-431c-b51b-1cc8db2268a0', 'ip_version': 4, 'cidr': '69.149.31.64/26', 'allocation_pools': [{'start': '69.149.31.66', 'end': '69.149.31.126'}], 'gateway_ip': '69.149.31.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.149.31.66', 'tags': [], 'project_id': 'bc883db201f74943a36bb86b24100565'}}
2025-10-23 19:14:33,357 - INFO - Created VN ctest-vn-73266220
2025-10-23 19:14:33,407 - DEBUG - VN ctest-vn-73266220 UUID is a40e6a4d-a622-431c-b51b-1cc8db2268a0
2025-10-23 19:14:33,562 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07386662:ctest-vn-56020177, 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-07386662:ctest-vn-73266220, 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-23 19:14:33,861 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97ea82e0-370e-43e6-a087-43dc522ebcd1', 'name': 'ctest-vn-56020177', 'tenant_id': 'bc883db201f74943a36bb86b24100565', 'project_id': 'bc883db201f74943a36bb86b24100565', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['114d03f9-c41b-40b4-af88-63ac061708a2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07386662', 'ctest-vn-56020177'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07386662', 'ctest-policy-allow-all-10560525']], 'subnet_ipam': [{'subnet_cidr': '130.138.10.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-23 19:14:34,093 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a40e6a4d-a622-431c-b51b-1cc8db2268a0', 'name': 'ctest-vn-73266220', 'tenant_id': 'bc883db201f74943a36bb86b24100565', 'project_id': 'bc883db201f74943a36bb86b24100565', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['88592035-8834-4927-bc06-0fac027fa21a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07386662', 'ctest-vn-73266220'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07386662', 'ctest-policy-allow-all-10560525']], 'subnet_ipam': [{'subnet_cidr': '69.149.31.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-23 19:14:34,271 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-23 19:14:34,604 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-23 19:14:34,631 - DEBUG - Requesting: http://10.0.0.27:8082/domain/df81026e-0496-4f51-96b6-e05d8349d64c
2025-10-23 19:14:34,643 - DEBUG - Requesting: http://10.0.0.27:8082/project/bc883db2-01f7-4943-a36b-b86b24100565
2025-10-23 19:14:34,716 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/97ea82e0-370e-43e6-a087-43dc522ebcd1
2025-10-23 19:14:34,728 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/97ea82e0-370e-43e6-a087-43dc522ebcd1
2025-10-23 19:14:34,739 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c7fcfb20-ee01-4a0d-83da-fcc5b4c2aa24
2025-10-23 19:14:34,748 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c7fcfb20-ee01-4a0d-83da-fcc5b4c2aa24
2025-10-23 19:14:34,756 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b06fbeaa-3b72-496b-9c6a-aaca80087ed8
2025-10-23 19:14:34,763 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-23 19:14:34,763 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/97ea82e0-370e-43e6-a087-43dc522ebcd1
2025-10-23 19:14:34,774 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c7fcfb20-ee01-4a0d-83da-fcc5b4c2aa24
2025-10-23 19:14:34,792 - INFO - Verified VN network id 11 for VN 97ea82e0-370e-43e6-a087-43dc522ebcd1
2025-10-23 19:14:34,792 - INFO - Verifications in API Server for VN ctest-vn-56020177 passed
2025-10-23 19:14:34,792 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/97ea82e0-370e-43e6-a087-43dc522ebcd1
2025-10-23 19:14:34,803 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c7fcfb20-ee01-4a0d-83da-fcc5b4c2aa24
2025-10-23 19:14:34,811 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c7fcfb20-ee01-4a0d-83da-fcc5b4c2aa24
2025-10-23 19:14:34,819 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b06fbeaa-3b72-496b-9c6a-aaca80087ed8
2025-10-23 19:14:34,832 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07386662:ctest-vn-56020177', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07386662', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10946705743785378790', 'uuid-lslong': '11567288781475069137'}, 'enable': 'true', 'created': '2025-10-23T19:14:32', 'last-modified': '2025-10-23T19:14:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.993451'}
2025-10-23 19:14:34,838 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-23 19:14:34,838 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56020177 passed
2025-10-23 19:14:34,839 - DEBUG - ====Verifying policy data for ctest-vn-56020177 in API_Server ======
2025-10-23 19:14:34,839 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-23 19:14:34,844 - DEBUG - Requesting: http://10.0.0.27:8082/domain/df81026e-0496-4f51-96b6-e05d8349d64c
2025-10-23 19:14:34,857 - DEBUG - Requesting: http://10.0.0.27:8082/project/bc883db2-01f7-4943-a36b-b86b24100565
2025-10-23 19:14:34,924 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/97ea82e0-370e-43e6-a087-43dc522ebcd1
2025-10-23 19:14:34,932 - DEBUG - ==>Verifying data for policy with id: cccf9246-55b5-4837-be58-fafd1ac290d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-07386662', 'ctest-policy-allow-all-10560525']
2025-10-23 19:14:34,932 - INFO - VN ctest-vn-56020177 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-23 19:14:34,932 - DEBUG - Verifying the vn in opserver
2025-10-23 19:14:34,933 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07386662:ctest-vn-56020177 virtual network link  through opserver 10.0.0.27
2025-10-23 19:14:34,933 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-10-23 19:14:35,265 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-10-23 19:14:35,323 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07386662:ctest-vn-56020177', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07386662:ctest-vn-56020177?flat'}
2025-10-23 19:14:35,323 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07386662:ctest-vn-56020177 is found in opserver
2025-10-23 19:14:35,334 - DEBUG - Do not have enough data to verify VN in agent
2025-10-23 19:14:35,347 - DEBUG - VRF ids for VN ctest-vn-56020177: {}
2025-10-23 19:14:35,347 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-23 19:14:35,352 - DEBUG - Requesting: http://10.0.0.27:8082/domain/df81026e-0496-4f51-96b6-e05d8349d64c
2025-10-23 19:14:35,365 - DEBUG - Requesting: http://10.0.0.27:8082/project/bc883db2-01f7-4943-a36b-b86b24100565
2025-10-23 19:14:35,441 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a40e6a4d-a622-431c-b51b-1cc8db2268a0
2025-10-23 19:14:35,454 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a40e6a4d-a622-431c-b51b-1cc8db2268a0
2025-10-23 19:14:35,464 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3962a47a-b197-4519-8b2d-72376adf5463
2025-10-23 19:14:35,473 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3962a47a-b197-4519-8b2d-72376adf5463
2025-10-23 19:14:35,480 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/1e60ad33-0505-4046-8a98-a239606112ca
2025-10-23 19:14:35,487 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-23 19:14:35,487 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a40e6a4d-a622-431c-b51b-1cc8db2268a0
2025-10-23 19:14:35,499 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3962a47a-b197-4519-8b2d-72376adf5463
2025-10-23 19:14:35,513 - INFO - Verified VN network id 12 for VN a40e6a4d-a622-431c-b51b-1cc8db2268a0
2025-10-23 19:14:35,513 - INFO - Verifications in API Server for VN ctest-vn-73266220 passed
2025-10-23 19:14:35,513 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a40e6a4d-a622-431c-b51b-1cc8db2268a0
2025-10-23 19:14:35,525 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3962a47a-b197-4519-8b2d-72376adf5463
2025-10-23 19:14:35,532 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3962a47a-b197-4519-8b2d-72376adf5463
2025-10-23 19:14:35,539 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/1e60ad33-0505-4046-8a98-a239606112ca
2025-10-23 19:14:35,551 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07386662:ctest-vn-73266220', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07386662', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11821502953626419996', 'uuid-lslong': '13050055994231646368'}, 'enable': 'true', 'created': '2025-10-23T19:14:33', 'last-modified': '2025-10-23T19:14:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.479706'}
2025-10-23 19:14:35,556 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-23 19:14:35,556 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73266220 passed
2025-10-23 19:14:35,557 - DEBUG - ====Verifying policy data for ctest-vn-73266220 in API_Server ======
2025-10-23 19:14:35,557 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-23 19:14:35,562 - DEBUG - Requesting: http://10.0.0.27:8082/domain/df81026e-0496-4f51-96b6-e05d8349d64c
2025-10-23 19:14:35,572 - DEBUG - Requesting: http://10.0.0.27:8082/project/bc883db2-01f7-4943-a36b-b86b24100565
2025-10-23 19:14:35,638 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a40e6a4d-a622-431c-b51b-1cc8db2268a0
2025-10-23 19:14:35,649 - DEBUG - ==>Verifying data for policy with id: cccf9246-55b5-4837-be58-fafd1ac290d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-07386662', 'ctest-policy-allow-all-10560525']
2025-10-23 19:14:35,649 - INFO - VN ctest-vn-73266220 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-23 19:14:35,649 - DEBUG - Verifying the vn in opserver
2025-10-23 19:14:35,649 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07386662:ctest-vn-73266220 virtual network link  through opserver 10.0.0.27
2025-10-23 19:14:35,649 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-10-23 19:14:35,659 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07386662:ctest-vn-73266220', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07386662:ctest-vn-73266220?flat'}
2025-10-23 19:14:35,659 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07386662:ctest-vn-73266220 is found in opserver
2025-10-23 19:14:35,668 - DEBUG - Do not have enough data to verify VN in agent
2025-10-23 19:14:35,672 - DEBUG - VRF ids for VN ctest-vn-73266220: {}
2025-10-23 19:14:35,733 - DEBUG - Services list from nova: [