2025-10-23 10:17:39,983 - INFO - Domain Default found not creating
2025-10-23 10:17:40,151 - INFO - Project ctest-TestBasicPolicy-40798184 not found, creating it
2025-10-23 10:17:40,639 - INFO - Created Project:ctest-TestBasicPolicy-40798184, ID : 0d86eb6b-5b54-4b25-99e3-524983ae9687 
2025-10-23 10:17:42,243 - INFO - ================================================================================
2025-10-23 10:17:42,243 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-23 10:17:42,243 - 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 10:17:42,507 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with
2025-10-23 10:17:42,507 - INFO - Initial checks done. Running the testcase now
2025-10-23 10:17:42,507 - INFO - 
2025-10-23 10:17:43,135 - DEBUG - Response for create_network : {'network': {'id': '32bf8a41-e73f-4130-84c0-e0a89e04537c', 'name': 'ctest-vn-23594077', 'tenant_id': '0d86eb6b5b544b2599e3524983ae9687', 'project_id': '0d86eb6b5b544b2599e3524983ae9687', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-vn-23594077'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 10:17:43,341 - DEBUG - Response for create_subnet : {'subnet': {'id': '30c9b829-4927-42f0-b958-e57a837625e8', 'name': '', 'tenant_id': '0d86eb6b5b544b2599e3524983ae9687', 'network_id': '32bf8a41-e73f-4130-84c0-e0a89e04537c', 'ip_version': 4, 'cidr': '92.80.14.192/26', 'allocation_pools': [{'start': '92.80.14.194', 'end': '92.80.14.254'}], 'gateway_ip': '92.80.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.80.14.194', 'tags': [], 'project_id': '0d86eb6b5b544b2599e3524983ae9687'}}
2025-10-23 10:17:43,367 - INFO - Created VN ctest-vn-23594077
2025-10-23 10:17:43,419 - DEBUG - VN ctest-vn-23594077 UUID is 32bf8a41-e73f-4130-84c0-e0a89e04537c
2025-10-23 10:17:43,743 - DEBUG - Response for create_network : {'network': {'id': '17ce9b29-3083-43f2-b65b-7040e3a687f0', 'name': 'ctest-vn-07765546', 'tenant_id': '0d86eb6b5b544b2599e3524983ae9687', 'project_id': '0d86eb6b5b544b2599e3524983ae9687', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-vn-07765546'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 10:17:43,911 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dff78a8c-5a9e-469d-a3df-4688af178477', 'name': '', 'tenant_id': '0d86eb6b5b544b2599e3524983ae9687', 'network_id': '17ce9b29-3083-43f2-b65b-7040e3a687f0', 'ip_version': 4, 'cidr': '91.118.143.64/26', 'allocation_pools': [{'start': '91.118.143.66', 'end': '91.118.143.126'}], 'gateway_ip': '91.118.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.118.143.66', 'tags': [], 'project_id': '0d86eb6b5b544b2599e3524983ae9687'}}
2025-10-23 10:17:43,930 - INFO - Created VN ctest-vn-07765546
2025-10-23 10:17:43,983 - DEBUG - VN ctest-vn-07765546 UUID is 17ce9b29-3083-43f2-b65b-7040e3a687f0
2025-10-23 10:17:44,110 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-23594077, 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-40798184:ctest-vn-07765546, 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 10:17:44,443 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '32bf8a41-e73f-4130-84c0-e0a89e04537c', 'name': 'ctest-vn-23594077', 'tenant_id': '0d86eb6b5b544b2599e3524983ae9687', 'project_id': '0d86eb6b5b544b2599e3524983ae9687', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['30c9b829-4927-42f0-b958-e57a837625e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-vn-23594077'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-policy-allow-all-02076809']], 'subnet_ipam': [{'subnet_cidr': '92.80.14.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-23 10:17:44,730 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17ce9b29-3083-43f2-b65b-7040e3a687f0', 'name': 'ctest-vn-07765546', 'tenant_id': '0d86eb6b5b544b2599e3524983ae9687', 'project_id': '0d86eb6b5b544b2599e3524983ae9687', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dff78a8c-5a9e-469d-a3df-4688af178477'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-vn-07765546'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-policy-allow-all-02076809']], 'subnet_ipam': [{'subnet_cidr': '91.118.143.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-23 10:17:44,879 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-10-23 10:17:45,223 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-10-23 10:17:45,255 - DEBUG - Requesting: http://10.0.0.41:8082/domain/381a01b8-dc7b-4f5b-8259-a3ab61fa1020
2025-10-23 10:17:45,273 - DEBUG - Requesting: http://10.0.0.41:8082/project/0d86eb6b-5b54-4b25-99e3-524983ae9687
2025-10-23 10:17:45,349 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32bf8a41-e73f-4130-84c0-e0a89e04537c
2025-10-23 10:17:45,363 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32bf8a41-e73f-4130-84c0-e0a89e04537c
2025-10-23 10:17:45,376 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/de244f6a-3668-4b6c-be1b-64e53aec5533
2025-10-23 10:17:45,385 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/de244f6a-3668-4b6c-be1b-64e53aec5533
2025-10-23 10:17:45,393 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/70b1dc44-9f7a-4d14-8160-6b39ca336d40
2025-10-23 10:17:45,401 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-23 10:17:45,401 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32bf8a41-e73f-4130-84c0-e0a89e04537c
2025-10-23 10:17:45,411 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/de244f6a-3668-4b6c-be1b-64e53aec5533
2025-10-23 10:17:45,426 - INFO - Verified VN network id 11 for VN 32bf8a41-e73f-4130-84c0-e0a89e04537c
2025-10-23 10:17:45,427 - INFO - Verifications in API Server for VN ctest-vn-23594077 passed
2025-10-23 10:17:45,427 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32bf8a41-e73f-4130-84c0-e0a89e04537c
2025-10-23 10:17:45,436 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/de244f6a-3668-4b6c-be1b-64e53aec5533
2025-10-23 10:17:45,443 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/de244f6a-3668-4b6c-be1b-64e53aec5533
2025-10-23 10:17:45,451 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/70b1dc44-9f7a-4d14-8160-6b39ca336d40
2025-10-23 10:17:45,464 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-23594077', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40798184', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3656793438105321776', 'uuid-lslong': '9565892623345144700'}, 'enable': 'true', 'created': '2025-10-23T10:17:43', 'last-modified': '2025-10-23T10:17:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.047780'}
2025-10-23 10:17:45,470 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-23 10:17:45,470 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23594077 passed
2025-10-23 10:17:45,470 - DEBUG - ====Verifying policy data for ctest-vn-23594077 in API_Server ======
2025-10-23 10:17:45,470 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-10-23 10:17:45,476 - DEBUG - Requesting: http://10.0.0.41:8082/domain/381a01b8-dc7b-4f5b-8259-a3ab61fa1020
2025-10-23 10:17:45,491 - DEBUG - Requesting: http://10.0.0.41:8082/project/0d86eb6b-5b54-4b25-99e3-524983ae9687
2025-10-23 10:17:45,565 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32bf8a41-e73f-4130-84c0-e0a89e04537c
2025-10-23 10:17:45,576 - DEBUG - ==>Verifying data for policy with id: 337c11c6-dadc-4da7-b300-e7d314e741f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-policy-allow-all-02076809']
2025-10-23 10:17:45,576 - INFO - VN ctest-vn-23594077 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-23 10:17:45,576 - DEBUG - Verifying the vn in opserver
2025-10-23 10:17:45,576 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-23594077 virtual network link  through opserver 10.0.0.41
2025-10-23 10:17:45,576 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-10-23 10:17:45,910 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-10-23 10:17:45,969 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-23594077', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-23594077?flat'}
2025-10-23 10:17:45,969 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-23594077 is found in opserver
2025-10-23 10:17:45,979 - DEBUG - Do not have enough data to verify VN in agent
2025-10-23 10:17:45,984 - DEBUG - VRF ids for VN ctest-vn-23594077: {}
2025-10-23 10:17:45,984 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-10-23 10:17:45,990 - DEBUG - Requesting: http://10.0.0.41:8082/domain/381a01b8-dc7b-4f5b-8259-a3ab61fa1020
2025-10-23 10:17:46,002 - DEBUG - Requesting: http://10.0.0.41:8082/project/0d86eb6b-5b54-4b25-99e3-524983ae9687
2025-10-23 10:17:46,072 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/17ce9b29-3083-43f2-b65b-7040e3a687f0
2025-10-23 10:17:46,085 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/17ce9b29-3083-43f2-b65b-7040e3a687f0
2025-10-23 10:17:46,096 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f384390-a87f-4bc1-af22-d2f97e92a432
2025-10-23 10:17:46,104 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f384390-a87f-4bc1-af22-d2f97e92a432
2025-10-23 10:17:46,112 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/3af246eb-9045-4929-8443-aa3a3b8bc27c
2025-10-23 10:17:46,119 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-23 10:17:46,119 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/17ce9b29-3083-43f2-b65b-7040e3a687f0
2025-10-23 10:17:46,128 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f384390-a87f-4bc1-af22-d2f97e92a432
2025-10-23 10:17:46,143 - INFO - Verified VN network id 12 for VN 17ce9b29-3083-43f2-b65b-7040e3a687f0
2025-10-23 10:17:46,144 - INFO - Verifications in API Server for VN ctest-vn-07765546 passed
2025-10-23 10:17:46,144 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/17ce9b29-3083-43f2-b65b-7040e3a687f0
2025-10-23 10:17:46,154 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f384390-a87f-4bc1-af22-d2f97e92a432
2025-10-23 10:17:46,161 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f384390-a87f-4bc1-af22-d2f97e92a432
2025-10-23 10:17:46,169 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/3af246eb-9045-4929-8443-aa3a3b8bc27c
2025-10-23 10:17:46,182 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-07765546', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40798184', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1715479109284611058', 'uuid-lslong': '13140219761783113712'}, 'enable': 'true', 'created': '2025-10-23T10:17:43', 'last-modified': '2025-10-23T10:17:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.520239'}
2025-10-23 10:17:46,188 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-23 10:17:46,188 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07765546 passed
2025-10-23 10:17:46,188 - DEBUG - ====Verifying policy data for ctest-vn-07765546 in API_Server ======
2025-10-23 10:17:46,189 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-10-23 10:17:46,195 - DEBUG - Requesting: http://10.0.0.41:8082/domain/381a01b8-dc7b-4f5b-8259-a3ab61fa1020
2025-10-23 10:17:46,207 - DEBUG - Requesting: http://10.0.0.41:8082/project/0d86eb6b-5b54-4b25-99e3-524983ae9687
2025-10-23 10:17:46,290 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/17ce9b29-3083-43f2-b65b-7040e3a687f0
2025-10-23 10:17:46,300 - DEBUG - ==>Verifying data for policy with id: 337c11c6-dadc-4da7-b300-e7d314e741f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-policy-allow-all-02076809']
2025-10-23 10:17:46,300 - INFO - VN ctest-vn-07765546 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-23 10:17:46,300 - DEBUG - Verifying the vn in opserver
2025-10-23 10:17:46,300 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-07765546 virtual network link  through opserver 10.0.0.41
2025-10-23 10:17:46,300 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-10-23 10:17:46,310 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-07765546', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-07765546?flat'}
2025-10-23 10:17:46,310 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-07765546 is found in opserver
2025-10-23 10:17:46,320 - DEBUG - Do not have enough data to verify VN in agent
2025-10-23 10:17:46,324 - DEBUG - VRF ids for VN ctest-vn-07765546: {}
2025-10-23 10:17:46,385 - DEBUG - Services list from nova: [