2025-10-22 11:39:06,866 - INFO - Domain Default found not creating
2025-10-22 11:39:07,030 - INFO - Project ctest-TestBasicPolicy-71957996 not found, creating it
2025-10-22 11:39:07,474 - INFO - Created Project:ctest-TestBasicPolicy-71957996, ID : 0f857b2d-e462-43bb-88a0-c5b8971ceef5 
2025-10-22 11:39:08,916 - INFO - ================================================================================
2025-10-22 11:39:08,916 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-22 11:39:08,916 - 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-22 11:39:09,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with
2025-10-22 11:39:09,169 - INFO - Initial checks done. Running the testcase now
2025-10-22 11:39:09,169 - INFO - 
2025-10-22 11:39:09,725 - DEBUG - Response for create_network : {'network': {'id': 'a7524adf-29ca-4a34-ac1c-58da5d2ff31f', 'name': 'ctest-vn-13986176', 'tenant_id': '0f857b2de46243bb88a0c5b8971ceef5', 'project_id': '0f857b2de46243bb88a0c5b8971ceef5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-vn-13986176'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 11:39:09,937 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d17519a-7faa-4eb0-abca-9bf339e203da', 'name': '', 'tenant_id': '0f857b2de46243bb88a0c5b8971ceef5', 'network_id': 'a7524adf-29ca-4a34-ac1c-58da5d2ff31f', 'ip_version': 4, 'cidr': '206.40.60.128/26', 'allocation_pools': [{'start': '206.40.60.130', 'end': '206.40.60.190'}], 'gateway_ip': '206.40.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.40.60.130', 'tags': [], 'project_id': '0f857b2de46243bb88a0c5b8971ceef5'}}
2025-10-22 11:39:09,954 - INFO - Created VN ctest-vn-13986176
2025-10-22 11:39:10,008 - DEBUG - VN ctest-vn-13986176 UUID is a7524adf-29ca-4a34-ac1c-58da5d2ff31f
2025-10-22 11:39:10,312 - DEBUG - Response for create_network : {'network': {'id': 'af0085e3-416b-4f96-8859-2def3280bb24', 'name': 'ctest-vn-58183885', 'tenant_id': '0f857b2de46243bb88a0c5b8971ceef5', 'project_id': '0f857b2de46243bb88a0c5b8971ceef5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-vn-58183885'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 11:39:10,484 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6be33d5-eb2b-4fe8-af0e-1b283ee4b16b', 'name': '', 'tenant_id': '0f857b2de46243bb88a0c5b8971ceef5', 'network_id': 'af0085e3-416b-4f96-8859-2def3280bb24', 'ip_version': 4, 'cidr': '130.114.107.128/26', 'allocation_pools': [{'start': '130.114.107.130', 'end': '130.114.107.190'}], 'gateway_ip': '130.114.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.114.107.130', 'tags': [], 'project_id': '0f857b2de46243bb88a0c5b8971ceef5'}}
2025-10-22 11:39:10,503 - INFO - Created VN ctest-vn-58183885
2025-10-22 11:39:10,556 - DEBUG - VN ctest-vn-58183885 UUID is af0085e3-416b-4f96-8859-2def3280bb24
2025-10-22 11:39:10,669 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-13986176, 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-71957996:ctest-vn-58183885, 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-22 11:39:10,978 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a7524adf-29ca-4a34-ac1c-58da5d2ff31f', 'name': 'ctest-vn-13986176', 'tenant_id': '0f857b2de46243bb88a0c5b8971ceef5', 'project_id': '0f857b2de46243bb88a0c5b8971ceef5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8d17519a-7faa-4eb0-abca-9bf339e203da'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-vn-13986176'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-policy-allow-all-28992454']], 'subnet_ipam': [{'subnet_cidr': '206.40.60.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-22 11:39:11,224 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af0085e3-416b-4f96-8859-2def3280bb24', 'name': 'ctest-vn-58183885', 'tenant_id': '0f857b2de46243bb88a0c5b8971ceef5', 'project_id': '0f857b2de46243bb88a0c5b8971ceef5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c6be33d5-eb2b-4fe8-af0e-1b283ee4b16b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-vn-58183885'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-policy-allow-all-28992454']], 'subnet_ipam': [{'subnet_cidr': '130.114.107.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-22 11:39:11,400 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-10-22 11:39:11,711 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-10-22 11:39:11,738 - DEBUG - Requesting: http://10.0.0.41:8082/domain/170bfba1-97f3-468c-8896-411133f2a6e9
2025-10-22 11:39:11,751 - DEBUG - Requesting: http://10.0.0.41:8082/project/0f857b2d-e462-43bb-88a0-c5b8971ceef5
2025-10-22 11:39:11,825 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a7524adf-29ca-4a34-ac1c-58da5d2ff31f
2025-10-22 11:39:11,836 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a7524adf-29ca-4a34-ac1c-58da5d2ff31f
2025-10-22 11:39:11,846 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57e86733-666f-41b2-9222-edb02e210d60
2025-10-22 11:39:11,854 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57e86733-666f-41b2-9222-edb02e210d60
2025-10-22 11:39:11,863 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/577fcc5a-3aa9-4b62-b4df-f91749375ca7
2025-10-22 11:39:11,873 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-22 11:39:11,873 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a7524adf-29ca-4a34-ac1c-58da5d2ff31f
2025-10-22 11:39:11,883 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57e86733-666f-41b2-9222-edb02e210d60
2025-10-22 11:39:11,905 - INFO - Verified VN network id 11 for VN a7524adf-29ca-4a34-ac1c-58da5d2ff31f
2025-10-22 11:39:11,905 - INFO - Verifications in API Server for VN ctest-vn-13986176 passed
2025-10-22 11:39:11,905 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a7524adf-29ca-4a34-ac1c-58da5d2ff31f
2025-10-22 11:39:11,915 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57e86733-666f-41b2-9222-edb02e210d60
2025-10-22 11:39:11,924 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/57e86733-666f-41b2-9222-edb02e210d60
2025-10-22 11:39:11,931 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/577fcc5a-3aa9-4b62-b4df-f91749375ca7
2025-10-22 11:39:11,944 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-13986176', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71957996', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12056781474763524660', 'uuid-lslong': '12401885168761041695'}, 'enable': 'true', 'created': '2025-10-22T11:39:09', 'last-modified': '2025-10-22T11:39:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999589'}
2025-10-22 11:39:11,950 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-22 11:39:11,950 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13986176 passed
2025-10-22 11:39:11,950 - DEBUG - ====Verifying policy data for ctest-vn-13986176 in API_Server ======
2025-10-22 11:39:11,950 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-10-22 11:39:11,956 - DEBUG - Requesting: http://10.0.0.41:8082/domain/170bfba1-97f3-468c-8896-411133f2a6e9
2025-10-22 11:39:11,969 - DEBUG - Requesting: http://10.0.0.41:8082/project/0f857b2d-e462-43bb-88a0-c5b8971ceef5
2025-10-22 11:39:12,050 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/a7524adf-29ca-4a34-ac1c-58da5d2ff31f
2025-10-22 11:39:12,062 - DEBUG - ==>Verifying data for policy with id: b866254b-4c06-4a0b-b5f5-f725dfc69504, fqn: ['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-policy-allow-all-28992454']
2025-10-22 11:39:12,062 - INFO - VN ctest-vn-13986176 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-22 11:39:12,063 - DEBUG - Verifying the vn in opserver
2025-10-22 11:39:12,063 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-13986176 virtual network link  through opserver 10.0.0.41
2025-10-22 11:39:12,063 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-10-22 11:39:12,359 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-10-22 11:39:12,410 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-13986176', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-13986176?flat'}
2025-10-22 11:39:12,410 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-13986176 is found in opserver
2025-10-22 11:39:12,420 - DEBUG - Do not have enough data to verify VN in agent
2025-10-22 11:39:12,425 - DEBUG - VRF ids for VN ctest-vn-13986176: {}
2025-10-22 11:39:12,425 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-10-22 11:39:12,430 - DEBUG - Requesting: http://10.0.0.41:8082/domain/170bfba1-97f3-468c-8896-411133f2a6e9
2025-10-22 11:39:12,440 - DEBUG - Requesting: http://10.0.0.41:8082/project/0f857b2d-e462-43bb-88a0-c5b8971ceef5
2025-10-22 11:39:12,515 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/af0085e3-416b-4f96-8859-2def3280bb24
2025-10-22 11:39:12,532 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/af0085e3-416b-4f96-8859-2def3280bb24
2025-10-22 11:39:12,545 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/95b1ee29-2b3c-47e5-a9ff-8d16d97814d9
2025-10-22 11:39:12,559 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/95b1ee29-2b3c-47e5-a9ff-8d16d97814d9
2025-10-22 11:39:12,568 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c46701ed-d7fc-4261-86a5-404fd7c4bdab
2025-10-22 11:39:12,574 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-22 11:39:12,574 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/af0085e3-416b-4f96-8859-2def3280bb24
2025-10-22 11:39:12,584 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/95b1ee29-2b3c-47e5-a9ff-8d16d97814d9
2025-10-22 11:39:12,606 - INFO - Verified VN network id 12 for VN af0085e3-416b-4f96-8859-2def3280bb24
2025-10-22 11:39:12,606 - INFO - Verifications in API Server for VN ctest-vn-58183885 passed
2025-10-22 11:39:12,606 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/af0085e3-416b-4f96-8859-2def3280bb24
2025-10-22 11:39:12,619 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/95b1ee29-2b3c-47e5-a9ff-8d16d97814d9
2025-10-22 11:39:12,628 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/95b1ee29-2b3c-47e5-a9ff-8d16d97814d9
2025-10-22 11:39:12,634 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c46701ed-d7fc-4261-86a5-404fd7c4bdab
2025-10-22 11:39:12,649 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-58183885', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71957996', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12610226167739010966', 'uuid-lslong': '9824934567453178660'}, 'enable': 'true', 'created': '2025-10-22T11:39:10', 'last-modified': '2025-10-22T11:39:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.449013'}
2025-10-22 11:39:12,655 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-22 11:39:12,656 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58183885 passed
2025-10-22 11:39:12,656 - DEBUG - ====Verifying policy data for ctest-vn-58183885 in API_Server ======
2025-10-22 11:39:12,656 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-10-22 11:39:12,662 - DEBUG - Requesting: http://10.0.0.41:8082/domain/170bfba1-97f3-468c-8896-411133f2a6e9
2025-10-22 11:39:12,673 - DEBUG - Requesting: http://10.0.0.41:8082/project/0f857b2d-e462-43bb-88a0-c5b8971ceef5
2025-10-22 11:39:12,749 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/af0085e3-416b-4f96-8859-2def3280bb24
2025-10-22 11:39:12,758 - DEBUG - ==>Verifying data for policy with id: b866254b-4c06-4a0b-b5f5-f725dfc69504, fqn: ['default-domain', 'ctest-TestBasicPolicy-71957996', 'ctest-policy-allow-all-28992454']
2025-10-22 11:39:12,758 - INFO - VN ctest-vn-58183885 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-22 11:39:12,758 - DEBUG - Verifying the vn in opserver
2025-10-22 11:39:12,758 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-58183885 virtual network link  through opserver 10.0.0.41
2025-10-22 11:39:12,758 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-10-22 11:39:12,769 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-58183885', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-58183885?flat'}
2025-10-22 11:39:12,769 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71957996:ctest-vn-58183885 is found in opserver
2025-10-22 11:39:12,780 - DEBUG - Do not have enough data to verify VN in agent
2025-10-22 11:39:12,786 - DEBUG - VRF ids for VN ctest-vn-58183885: {}
2025-10-22 11:39:12,855 - DEBUG - Services list from nova: [