2025-10-21 14:22:02,116 - INFO - Domain Default found not creating
2025-10-21 14:22:02,253 - INFO - Project ctest-TestBasicPolicy-21075680 not found, creating it
2025-10-21 14:22:02,694 - INFO - Created Project:ctest-TestBasicPolicy-21075680, ID : ac995194-deae-4a92-9379-eec02dfe9d21 
2025-10-21 14:22:04,061 - INFO - ================================================================================
2025-10-21 14:22:04,061 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-21 14:22:04,061 - 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-21 14:22:04,315 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-10-21 14:22:04,315 - INFO - Initial checks done. Running the testcase now
2025-10-21 14:22:04,315 - INFO - 
2025-10-21 14:22:05,059 - DEBUG - Response for create_network : {'network': {'id': '316e622e-240a-41ec-ad06-eb714db107dc', 'name': 'ctest-vn-15912856', 'tenant_id': 'ac995194deae4a929379eec02dfe9d21', 'project_id': 'ac995194deae4a929379eec02dfe9d21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-vn-15912856'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 14:22:05,406 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b237906-1e43-4a8f-b2a6-02f98787f586', 'name': '', 'tenant_id': 'ac995194deae4a929379eec02dfe9d21', 'network_id': '316e622e-240a-41ec-ad06-eb714db107dc', 'ip_version': 4, 'cidr': '57.189.141.0/26', 'allocation_pools': [{'start': '57.189.141.2', 'end': '57.189.141.62'}], 'gateway_ip': '57.189.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.189.141.2', 'tags': [], 'project_id': 'ac995194deae4a929379eec02dfe9d21'}}
2025-10-21 14:22:05,423 - INFO - Created VN ctest-vn-15912856
2025-10-21 14:22:05,474 - DEBUG - VN ctest-vn-15912856 UUID is 316e622e-240a-41ec-ad06-eb714db107dc
2025-10-21 14:22:05,774 - DEBUG - Response for create_network : {'network': {'id': '45bb7d58-5697-4669-8f52-f18317144594', 'name': 'ctest-vn-30998677', 'tenant_id': 'ac995194deae4a929379eec02dfe9d21', 'project_id': 'ac995194deae4a929379eec02dfe9d21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-vn-30998677'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 14:22:05,942 - DEBUG - Response for create_subnet : {'subnet': {'id': '805ec8cf-3722-41bf-9268-65bce7c96a45', 'name': '', 'tenant_id': 'ac995194deae4a929379eec02dfe9d21', 'network_id': '45bb7d58-5697-4669-8f52-f18317144594', 'ip_version': 4, 'cidr': '102.250.46.64/26', 'allocation_pools': [{'start': '102.250.46.66', 'end': '102.250.46.126'}], 'gateway_ip': '102.250.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.250.46.66', 'tags': [], 'project_id': 'ac995194deae4a929379eec02dfe9d21'}}
2025-10-21 14:22:05,959 - INFO - Created VN ctest-vn-30998677
2025-10-21 14:22:06,010 - DEBUG - VN ctest-vn-30998677 UUID is 45bb7d58-5697-4669-8f52-f18317144594
2025-10-21 14:22:06,154 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-15912856, 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-21075680:ctest-vn-30998677, 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-21 14:22:06,436 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '316e622e-240a-41ec-ad06-eb714db107dc', 'name': 'ctest-vn-15912856', 'tenant_id': 'ac995194deae4a929379eec02dfe9d21', 'project_id': 'ac995194deae4a929379eec02dfe9d21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5b237906-1e43-4a8f-b2a6-02f98787f586'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-vn-15912856'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-policy-allow-all-24097568']], 'subnet_ipam': [{'subnet_cidr': '57.189.141.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-21 14:22:06,663 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45bb7d58-5697-4669-8f52-f18317144594', 'name': 'ctest-vn-30998677', 'tenant_id': 'ac995194deae4a929379eec02dfe9d21', 'project_id': 'ac995194deae4a929379eec02dfe9d21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['805ec8cf-3722-41bf-9268-65bce7c96a45'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-vn-30998677'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-policy-allow-all-24097568']], 'subnet_ipam': [{'subnet_cidr': '102.250.46.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-21 14:22:06,826 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 14:22:07,123 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 14:22:07,154 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e65a2689-200b-4ab1-9484-7bbaef4275de
2025-10-21 14:22:07,164 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac995194-deae-4a92-9379-eec02dfe9d21
2025-10-21 14:22:07,233 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/316e622e-240a-41ec-ad06-eb714db107dc
2025-10-21 14:22:07,243 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/316e622e-240a-41ec-ad06-eb714db107dc
2025-10-21 14:22:07,251 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05af7f9f-6326-4e3d-a415-3d825231bc5c
2025-10-21 14:22:07,256 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05af7f9f-6326-4e3d-a415-3d825231bc5c
2025-10-21 14:22:07,262 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5319575b-7c85-4527-b68a-7c77030d1166
2025-10-21 14:22:07,266 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-21 14:22:07,266 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/316e622e-240a-41ec-ad06-eb714db107dc
2025-10-21 14:22:07,273 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05af7f9f-6326-4e3d-a415-3d825231bc5c
2025-10-21 14:22:07,284 - INFO - Verified VN network id 11 for VN 316e622e-240a-41ec-ad06-eb714db107dc
2025-10-21 14:22:07,284 - INFO - Verifications in API Server for VN ctest-vn-15912856 passed
2025-10-21 14:22:07,284 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/316e622e-240a-41ec-ad06-eb714db107dc
2025-10-21 14:22:07,291 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05af7f9f-6326-4e3d-a415-3d825231bc5c
2025-10-21 14:22:07,296 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05af7f9f-6326-4e3d-a415-3d825231bc5c
2025-10-21 14:22:07,301 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5319575b-7c85-4527-b68a-7c77030d1166
2025-10-21 14:22:07,310 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-15912856', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21075680', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3561892305609310700', 'uuid-lslong': '12467911490289076188'}, 'enable': 'true', 'created': '2025-10-21T14:22:04', 'last-modified': '2025-10-21T14:22:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.895162'}
2025-10-21 14:22:07,315 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-21 14:22:07,315 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15912856 passed
2025-10-21 14:22:07,316 - DEBUG - ====Verifying policy data for ctest-vn-15912856 in API_Server ======
2025-10-21 14:22:07,316 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 14:22:07,320 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e65a2689-200b-4ab1-9484-7bbaef4275de
2025-10-21 14:22:07,332 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac995194-deae-4a92-9379-eec02dfe9d21
2025-10-21 14:22:07,403 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/316e622e-240a-41ec-ad06-eb714db107dc
2025-10-21 14:22:07,411 - DEBUG - ==>Verifying data for policy with id: 8972b99c-a3e3-42df-ad7b-0ac3e9007c81, fqn: ['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-policy-allow-all-24097568']
2025-10-21 14:22:07,411 - INFO - VN ctest-vn-15912856 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-21 14:22:07,412 - DEBUG - Verifying the vn in opserver
2025-10-21 14:22:07,412 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-15912856 virtual network link  through opserver 10.0.0.38
2025-10-21 14:22:07,412 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-21 14:22:07,702 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-21 14:22:07,753 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-15912856', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-15912856?flat'}
2025-10-21 14:22:07,753 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-15912856 is found in opserver
2025-10-21 14:22:07,763 - DEBUG - Do not have enough data to verify VN in agent
2025-10-21 14:22:07,768 - DEBUG - VRF ids for VN ctest-vn-15912856: {}
2025-10-21 14:22:07,768 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 14:22:07,772 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e65a2689-200b-4ab1-9484-7bbaef4275de
2025-10-21 14:22:07,782 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac995194-deae-4a92-9379-eec02dfe9d21
2025-10-21 14:22:07,850 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45bb7d58-5697-4669-8f52-f18317144594
2025-10-21 14:22:07,860 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45bb7d58-5697-4669-8f52-f18317144594
2025-10-21 14:22:07,868 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9689f872-6845-4005-93d7-5f23ffd58e7e
2025-10-21 14:22:07,874 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9689f872-6845-4005-93d7-5f23ffd58e7e
2025-10-21 14:22:07,880 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37d597f2-05b4-46a8-8b18-cb305ee948d0
2025-10-21 14:22:07,885 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-21 14:22:07,885 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45bb7d58-5697-4669-8f52-f18317144594
2025-10-21 14:22:07,893 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9689f872-6845-4005-93d7-5f23ffd58e7e
2025-10-21 14:22:07,904 - INFO - Verified VN network id 12 for VN 45bb7d58-5697-4669-8f52-f18317144594
2025-10-21 14:22:07,904 - INFO - Verifications in API Server for VN ctest-vn-30998677 passed
2025-10-21 14:22:07,904 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45bb7d58-5697-4669-8f52-f18317144594
2025-10-21 14:22:07,912 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9689f872-6845-4005-93d7-5f23ffd58e7e
2025-10-21 14:22:07,918 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9689f872-6845-4005-93d7-5f23ffd58e7e
2025-10-21 14:22:07,925 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37d597f2-05b4-46a8-8b18-cb305ee948d0
2025-10-21 14:22:07,935 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-30998677', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21075680', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5024747627625268841', 'uuid-lslong': '10327582440844182932'}, 'enable': 'true', 'created': '2025-10-21T14:22:05', 'last-modified': '2025-10-21T14:22:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.293576'}
2025-10-21 14:22:07,940 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-21 14:22:07,940 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30998677 passed
2025-10-21 14:22:07,941 - DEBUG - ====Verifying policy data for ctest-vn-30998677 in API_Server ======
2025-10-21 14:22:07,941 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 14:22:07,947 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e65a2689-200b-4ab1-9484-7bbaef4275de
2025-10-21 14:22:07,957 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac995194-deae-4a92-9379-eec02dfe9d21
2025-10-21 14:22:08,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/45bb7d58-5697-4669-8f52-f18317144594
2025-10-21 14:22:08,029 - DEBUG - ==>Verifying data for policy with id: 8972b99c-a3e3-42df-ad7b-0ac3e9007c81, fqn: ['default-domain', 'ctest-TestBasicPolicy-21075680', 'ctest-policy-allow-all-24097568']
2025-10-21 14:22:08,030 - INFO - VN ctest-vn-30998677 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-21 14:22:08,030 - DEBUG - Verifying the vn in opserver
2025-10-21 14:22:08,030 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-30998677 virtual network link  through opserver 10.0.0.38
2025-10-21 14:22:08,030 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-21 14:22:08,038 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-30998677', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-30998677?flat'}
2025-10-21 14:22:08,038 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21075680:ctest-vn-30998677 is found in opserver
2025-10-21 14:22:08,046 - DEBUG - Do not have enough data to verify VN in agent
2025-10-21 14:22:08,050 - DEBUG - VRF ids for VN ctest-vn-30998677: {}
2025-10-21 14:22:08,100 - DEBUG - Services list from nova: [