2025-10-30 18:20:42,880 - INFO - Domain Default found not creating
2025-10-30 18:20:43,009 - INFO - Project ctest-TestBasicPolicy-20129261 not found, creating it
2025-10-30 18:20:43,457 - INFO - Created Project:ctest-TestBasicPolicy-20129261, ID : 0cc4a63a-9f09-4272-a152-45314bf86601 
2025-10-30 18:20:44,808 - INFO - ================================================================================
2025-10-30 18:20:44,808 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-30 18:20:44,808 - 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 18:20:45,071 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with
2025-10-30 18:20:45,071 - INFO - Initial checks done. Running the testcase now
2025-10-30 18:20:45,071 - INFO - 
2025-10-30 18:20:45,583 - DEBUG - Response for create_network : {'network': {'id': '6a320329-aec9-498a-9155-cf61929f533d', 'name': 'ctest-vn-75407868', 'tenant_id': '0cc4a63a9f094272a15245314bf86601', 'project_id': '0cc4a63a9f094272a15245314bf86601', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-vn-75407868'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 18:20:45,780 - DEBUG - Response for create_subnet : {'subnet': {'id': '96738363-1926-40a9-9548-899d3e6d6759', 'name': '', 'tenant_id': '0cc4a63a9f094272a15245314bf86601', 'network_id': '6a320329-aec9-498a-9155-cf61929f533d', 'ip_version': 4, 'cidr': '202.244.71.64/26', 'allocation_pools': [{'start': '202.244.71.66', 'end': '202.244.71.126'}], 'gateway_ip': '202.244.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.244.71.66', 'tags': [], 'project_id': '0cc4a63a9f094272a15245314bf86601'}}
2025-10-30 18:20:45,797 - INFO - Created VN ctest-vn-75407868
2025-10-30 18:20:45,850 - DEBUG - VN ctest-vn-75407868 UUID is 6a320329-aec9-498a-9155-cf61929f533d
2025-10-30 18:20:46,162 - DEBUG - Response for create_network : {'network': {'id': '6445635c-9f8a-4029-acaa-531190fe869e', 'name': 'ctest-vn-58261090', 'tenant_id': '0cc4a63a9f094272a15245314bf86601', 'project_id': '0cc4a63a9f094272a15245314bf86601', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-vn-58261090'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 18:20:46,336 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5e13e82-dae2-4d62-b586-296920cdd308', 'name': '', 'tenant_id': '0cc4a63a9f094272a15245314bf86601', 'network_id': '6445635c-9f8a-4029-acaa-531190fe869e', 'ip_version': 4, 'cidr': '118.89.248.128/26', 'allocation_pools': [{'start': '118.89.248.130', 'end': '118.89.248.190'}], 'gateway_ip': '118.89.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.89.248.130', 'tags': [], 'project_id': '0cc4a63a9f094272a15245314bf86601'}}
2025-10-30 18:20:46,353 - INFO - Created VN ctest-vn-58261090
2025-10-30 18:20:46,406 - DEBUG - VN ctest-vn-58261090 UUID is 6445635c-9f8a-4029-acaa-531190fe869e
2025-10-30 18:20:46,554 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-75407868, 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-20129261:ctest-vn-58261090, 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 18:20:46,827 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a320329-aec9-498a-9155-cf61929f533d', 'name': 'ctest-vn-75407868', 'tenant_id': '0cc4a63a9f094272a15245314bf86601', 'project_id': '0cc4a63a9f094272a15245314bf86601', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['96738363-1926-40a9-9548-899d3e6d6759'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-vn-75407868'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-policy-allow-all-77650937']], 'subnet_ipam': [{'subnet_cidr': '202.244.71.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 18:20:47,046 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6445635c-9f8a-4029-acaa-531190fe869e', 'name': 'ctest-vn-58261090', 'tenant_id': '0cc4a63a9f094272a15245314bf86601', 'project_id': '0cc4a63a9f094272a15245314bf86601', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a5e13e82-dae2-4d62-b586-296920cdd308'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-vn-58261090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-policy-allow-all-77650937']], 'subnet_ipam': [{'subnet_cidr': '118.89.248.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 18:20:47,210 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-30 18:20:47,499 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-30 18:20:47,524 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4fe1609f-3bd1-4c50-a134-0955a7894b24
2025-10-30 18:20:47,535 - DEBUG - Requesting: http://10.0.0.254:8082/project/0cc4a63a-9f09-4272-a152-45314bf86601
2025-10-30 18:20:47,604 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a320329-aec9-498a-9155-cf61929f533d
2025-10-30 18:20:47,613 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a320329-aec9-498a-9155-cf61929f533d
2025-10-30 18:20:47,621 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36159ac7-d81d-495b-92f8-674e7f7e5cc5
2025-10-30 18:20:47,627 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36159ac7-d81d-495b-92f8-674e7f7e5cc5
2025-10-30 18:20:47,632 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7b369e8e-e9cb-4213-a666-563130ee9391
2025-10-30 18:20:47,638 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 18:20:47,638 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a320329-aec9-498a-9155-cf61929f533d
2025-10-30 18:20:47,645 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36159ac7-d81d-495b-92f8-674e7f7e5cc5
2025-10-30 18:20:47,656 - INFO - Verified VN network id 12 for VN 6a320329-aec9-498a-9155-cf61929f533d
2025-10-30 18:20:47,656 - INFO - Verifications in API Server for VN ctest-vn-75407868 passed
2025-10-30 18:20:47,656 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a320329-aec9-498a-9155-cf61929f533d
2025-10-30 18:20:47,664 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36159ac7-d81d-495b-92f8-674e7f7e5cc5
2025-10-30 18:20:47,670 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36159ac7-d81d-495b-92f8-674e7f7e5cc5
2025-10-30 18:20:47,676 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7b369e8e-e9cb-4213-a666-563130ee9391
2025-10-30 18:20:47,687 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-75407868', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20129261', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7652182194416863626', 'uuid-lslong': '10472504526498648893'}, 'enable': 'true', 'created': '2025-10-30T18:20:45', 'last-modified': '2025-10-30T18:20:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.877182'}
2025-10-30 18:20:47,692 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 18:20:47,692 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75407868 passed
2025-10-30 18:20:47,693 - DEBUG - ====Verifying policy data for ctest-vn-75407868 in API_Server ======
2025-10-30 18:20:47,693 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-30 18:20:47,700 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4fe1609f-3bd1-4c50-a134-0955a7894b24
2025-10-30 18:20:47,709 - DEBUG - Requesting: http://10.0.0.254:8082/project/0cc4a63a-9f09-4272-a152-45314bf86601
2025-10-30 18:20:47,792 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a320329-aec9-498a-9155-cf61929f533d
2025-10-30 18:20:47,801 - DEBUG - ==>Verifying data for policy with id: 5bc685c7-f384-4b48-81c4-a0469e8187d0, fqn: ['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-policy-allow-all-77650937']
2025-10-30 18:20:47,801 - INFO - VN ctest-vn-75407868 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 18:20:47,801 - DEBUG - Verifying the vn in opserver
2025-10-30 18:20:47,801 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-75407868 virtual network link  through opserver 10.0.0.254
2025-10-30 18:20:47,801 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-30 18:20:48,091 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-30 18:20:48,142 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-75407868', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-75407868?flat'}
2025-10-30 18:20:48,142 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-75407868 is found in opserver
2025-10-30 18:20:48,151 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 18:20:48,157 - DEBUG - VRF ids for VN ctest-vn-75407868: {}
2025-10-30 18:20:48,157 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-30 18:20:48,163 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4fe1609f-3bd1-4c50-a134-0955a7894b24
2025-10-30 18:20:48,174 - DEBUG - Requesting: http://10.0.0.254:8082/project/0cc4a63a-9f09-4272-a152-45314bf86601
2025-10-30 18:20:48,238 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6445635c-9f8a-4029-acaa-531190fe869e
2025-10-30 18:20:48,249 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6445635c-9f8a-4029-acaa-531190fe869e
2025-10-30 18:20:48,259 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9e795d1-f70d-4071-bdf1-46f1c951b864
2025-10-30 18:20:48,267 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9e795d1-f70d-4071-bdf1-46f1c951b864
2025-10-30 18:20:48,274 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/50ef98a2-367f-4d70-aeb2-085ef399d08c
2025-10-30 18:20:48,280 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 18:20:48,280 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6445635c-9f8a-4029-acaa-531190fe869e
2025-10-30 18:20:48,290 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9e795d1-f70d-4071-bdf1-46f1c951b864
2025-10-30 18:20:48,304 - INFO - Verified VN network id 13 for VN 6445635c-9f8a-4029-acaa-531190fe869e
2025-10-30 18:20:48,305 - INFO - Verifications in API Server for VN ctest-vn-58261090 passed
2025-10-30 18:20:48,305 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6445635c-9f8a-4029-acaa-531190fe869e
2025-10-30 18:20:48,315 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9e795d1-f70d-4071-bdf1-46f1c951b864
2025-10-30 18:20:48,322 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9e795d1-f70d-4071-bdf1-46f1c951b864
2025-10-30 18:20:48,329 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/50ef98a2-367f-4d70-aeb2-085ef399d08c
2025-10-30 18:20:48,341 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-58261090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20129261', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7225290426650607657', 'uuid-lslong': '12441848255476565662'}, 'enable': 'true', 'created': '2025-10-30T18:20:46', 'last-modified': '2025-10-30T18:20:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.312649'}
2025-10-30 18:20:48,347 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 18:20:48,347 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58261090 passed
2025-10-30 18:20:48,347 - DEBUG - ====Verifying policy data for ctest-vn-58261090 in API_Server ======
2025-10-30 18:20:48,347 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-30 18:20:48,352 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4fe1609f-3bd1-4c50-a134-0955a7894b24
2025-10-30 18:20:48,361 - DEBUG - Requesting: http://10.0.0.254:8082/project/0cc4a63a-9f09-4272-a152-45314bf86601
2025-10-30 18:20:48,432 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6445635c-9f8a-4029-acaa-531190fe869e
2025-10-30 18:20:48,442 - DEBUG - ==>Verifying data for policy with id: 5bc685c7-f384-4b48-81c4-a0469e8187d0, fqn: ['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-policy-allow-all-77650937']
2025-10-30 18:20:48,442 - INFO - VN ctest-vn-58261090 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 18:20:48,442 - DEBUG - Verifying the vn in opserver
2025-10-30 18:20:48,442 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-58261090 virtual network link  through opserver 10.0.0.254
2025-10-30 18:20:48,442 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-30 18:20:48,452 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-58261090', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-58261090?flat'}
2025-10-30 18:20:48,452 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-58261090 is found in opserver
2025-10-30 18:20:48,460 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 18:20:48,464 - DEBUG - VRF ids for VN ctest-vn-58261090: {}
2025-10-30 18:20:48,513 - DEBUG - Services list from nova: [