2025-10-22 23:02:17,134 - INFO - Domain Default found not creating
2025-10-22 23:02:17,283 - INFO - Project ctest-TestBasicPolicy-25603463 not found, creating it
2025-10-22 23:02:17,720 - INFO - Created Project:ctest-TestBasicPolicy-25603463, ID : d71ee9a2-ed7d-4a04-a94a-46a7d1030a32 
2025-10-22 23:02:19,172 - INFO - ================================================================================
2025-10-22 23:02:19,172 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-22 23:02:19,172 - 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 23:02:19,431 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-22 23:02:19,431 - INFO - Initial checks done. Running the testcase now
2025-10-22 23:02:19,431 - INFO - 
2025-10-22 23:02:20,012 - DEBUG - Response for create_network : {'network': {'id': '00b9029f-6ab3-45da-ac68-daef82a45e90', 'name': 'ctest-vn-76462950', 'tenant_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'project_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-vn-76462950'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 23:02:20,148 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a3d3afd-31c9-437e-badc-89a048851fd0', 'name': '', 'tenant_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'network_id': '00b9029f-6ab3-45da-ac68-daef82a45e90', 'ip_version': 4, 'cidr': '215.125.90.0/26', 'allocation_pools': [{'start': '215.125.90.2', 'end': '215.125.90.62'}], 'gateway_ip': '215.125.90.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.125.90.2', 'tags': [], 'project_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32'}}
2025-10-22 23:02:20,165 - INFO - Created VN ctest-vn-76462950
2025-10-22 23:02:20,218 - DEBUG - VN ctest-vn-76462950 UUID is 00b9029f-6ab3-45da-ac68-daef82a45e90
2025-10-22 23:02:20,531 - DEBUG - Response for create_network : {'network': {'id': '36ab5fa2-a74b-4e45-aa10-1c95c72efd0d', 'name': 'ctest-vn-71256308', 'tenant_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'project_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-vn-71256308'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 23:02:20,698 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec483000-4932-4761-8b91-48969783b133', 'name': '', 'tenant_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'network_id': '36ab5fa2-a74b-4e45-aa10-1c95c72efd0d', 'ip_version': 4, 'cidr': '83.9.102.128/26', 'allocation_pools': [{'start': '83.9.102.130', 'end': '83.9.102.190'}], 'gateway_ip': '83.9.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.9.102.130', 'tags': [], 'project_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32'}}
2025-10-22 23:02:20,721 - INFO - Created VN ctest-vn-71256308
2025-10-22 23:02:20,773 - DEBUG - VN ctest-vn-71256308 UUID is 36ab5fa2-a74b-4e45-aa10-1c95c72efd0d
2025-10-22 23:02:20,921 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-76462950, 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-25603463:ctest-vn-71256308, 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 23:02:21,204 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00b9029f-6ab3-45da-ac68-daef82a45e90', 'name': 'ctest-vn-76462950', 'tenant_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'project_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0a3d3afd-31c9-437e-badc-89a048851fd0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-vn-76462950'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-policy-allow-all-89816550']], 'subnet_ipam': [{'subnet_cidr': '215.125.90.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-22 23:02:21,438 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '36ab5fa2-a74b-4e45-aa10-1c95c72efd0d', 'name': 'ctest-vn-71256308', 'tenant_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'project_id': 'd71ee9a2ed7d4a04a94a46a7d1030a32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ec483000-4932-4761-8b91-48969783b133'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-vn-71256308'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-policy-allow-all-89816550']], 'subnet_ipam': [{'subnet_cidr': '83.9.102.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-22 23:02:21,605 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-22 23:02:21,921 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-22 23:02:21,951 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fcfba6dc-2315-409c-88c5-8ecd791307ae
2025-10-22 23:02:21,963 - DEBUG - Requesting: http://10.0.0.254:8082/project/d71ee9a2-ed7d-4a04-a94a-46a7d1030a32
2025-10-22 23:02:22,038 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/00b9029f-6ab3-45da-ac68-daef82a45e90
2025-10-22 23:02:22,048 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/00b9029f-6ab3-45da-ac68-daef82a45e90
2025-10-22 23:02:22,056 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/adbf7a1d-a1f5-4655-b345-9ac17e42d849
2025-10-22 23:02:22,062 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/adbf7a1d-a1f5-4655-b345-9ac17e42d849
2025-10-22 23:02:22,068 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ec31c482-4ddc-4130-af58-fa14458388d3
2025-10-22 23:02:22,074 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-22 23:02:22,074 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/00b9029f-6ab3-45da-ac68-daef82a45e90
2025-10-22 23:02:22,083 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/adbf7a1d-a1f5-4655-b345-9ac17e42d849
2025-10-22 23:02:22,096 - INFO - Verified VN network id 11 for VN 00b9029f-6ab3-45da-ac68-daef82a45e90
2025-10-22 23:02:22,096 - INFO - Verifications in API Server for VN ctest-vn-76462950 passed
2025-10-22 23:02:22,097 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/00b9029f-6ab3-45da-ac68-daef82a45e90
2025-10-22 23:02:22,105 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/adbf7a1d-a1f5-4655-b345-9ac17e42d849
2025-10-22 23:02:22,111 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/adbf7a1d-a1f5-4655-b345-9ac17e42d849
2025-10-22 23:02:22,116 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ec31c482-4ddc-4130-af58-fa14458388d3
2025-10-22 23:02:22,128 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-76462950', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25603463', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '52075754404660698', 'uuid-lslong': '12423420294325362320'}, 'enable': 'true', 'created': '2025-10-22T23:02:19', 'last-modified': '2025-10-22T23:02:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.942494'}
2025-10-22 23:02:22,134 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-22 23:02:22,134 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76462950 passed
2025-10-22 23:02:22,134 - DEBUG - ====Verifying policy data for ctest-vn-76462950 in API_Server ======
2025-10-22 23:02:22,134 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-22 23:02:22,139 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fcfba6dc-2315-409c-88c5-8ecd791307ae
2025-10-22 23:02:22,148 - DEBUG - Requesting: http://10.0.0.254:8082/project/d71ee9a2-ed7d-4a04-a94a-46a7d1030a32
2025-10-22 23:02:22,222 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/00b9029f-6ab3-45da-ac68-daef82a45e90
2025-10-22 23:02:22,230 - DEBUG - ==>Verifying data for policy with id: fa17cff8-680d-47f8-8de8-9aeb126b0d89, fqn: ['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-policy-allow-all-89816550']
2025-10-22 23:02:22,230 - INFO - VN ctest-vn-76462950 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-22 23:02:22,231 - DEBUG - Verifying the vn in opserver
2025-10-22 23:02:22,231 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-76462950 virtual network link  through opserver 10.0.0.254
2025-10-22 23:02:22,231 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-22 23:02:22,531 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-22 23:02:22,585 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-76462950', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-76462950?flat'}
2025-10-22 23:02:22,585 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-76462950 is found in opserver
2025-10-22 23:02:22,594 - DEBUG - Do not have enough data to verify VN in agent
2025-10-22 23:02:22,599 - DEBUG - VRF ids for VN ctest-vn-76462950: {}
2025-10-22 23:02:22,599 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-22 23:02:22,605 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fcfba6dc-2315-409c-88c5-8ecd791307ae
2025-10-22 23:02:22,615 - DEBUG - Requesting: http://10.0.0.254:8082/project/d71ee9a2-ed7d-4a04-a94a-46a7d1030a32
2025-10-22 23:02:22,686 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/36ab5fa2-a74b-4e45-aa10-1c95c72efd0d
2025-10-22 23:02:22,697 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/36ab5fa2-a74b-4e45-aa10-1c95c72efd0d
2025-10-22 23:02:22,706 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc9eb78e-b6ea-4825-b8ae-081de5a0e369
2025-10-22 23:02:22,712 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc9eb78e-b6ea-4825-b8ae-081de5a0e369
2025-10-22 23:02:22,717 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f0698ac6-bc58-4218-9782-620249302718
2025-10-22 23:02:22,723 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-22 23:02:22,723 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/36ab5fa2-a74b-4e45-aa10-1c95c72efd0d
2025-10-22 23:02:22,732 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc9eb78e-b6ea-4825-b8ae-081de5a0e369
2025-10-22 23:02:22,744 - INFO - Verified VN network id 12 for VN 36ab5fa2-a74b-4e45-aa10-1c95c72efd0d
2025-10-22 23:02:22,744 - INFO - Verifications in API Server for VN ctest-vn-71256308 passed
2025-10-22 23:02:22,744 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/36ab5fa2-a74b-4e45-aa10-1c95c72efd0d
2025-10-22 23:02:22,753 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc9eb78e-b6ea-4825-b8ae-081de5a0e369
2025-10-22 23:02:22,759 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc9eb78e-b6ea-4825-b8ae-081de5a0e369
2025-10-22 23:02:22,766 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f0698ac6-bc58-4218-9782-620249302718
2025-10-22 23:02:22,775 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-71256308', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25603463', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3939347451261701701', 'uuid-lslong': '12254326015692569869'}, 'enable': 'true', 'created': '2025-10-22T23:02:20', 'last-modified': '2025-10-22T23:02:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.359901'}
2025-10-22 23:02:22,780 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-22 23:02:22,780 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71256308 passed
2025-10-22 23:02:22,780 - DEBUG - ====Verifying policy data for ctest-vn-71256308 in API_Server ======
2025-10-22 23:02:22,780 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-22 23:02:22,786 - DEBUG - Requesting: http://10.0.0.254:8082/domain/fcfba6dc-2315-409c-88c5-8ecd791307ae
2025-10-22 23:02:22,794 - DEBUG - Requesting: http://10.0.0.254:8082/project/d71ee9a2-ed7d-4a04-a94a-46a7d1030a32
2025-10-22 23:02:22,864 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/36ab5fa2-a74b-4e45-aa10-1c95c72efd0d
2025-10-22 23:02:22,872 - DEBUG - ==>Verifying data for policy with id: fa17cff8-680d-47f8-8de8-9aeb126b0d89, fqn: ['default-domain', 'ctest-TestBasicPolicy-25603463', 'ctest-policy-allow-all-89816550']
2025-10-22 23:02:22,872 - INFO - VN ctest-vn-71256308 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-22 23:02:22,872 - DEBUG - Verifying the vn in opserver
2025-10-22 23:02:22,872 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-71256308 virtual network link  through opserver 10.0.0.254
2025-10-22 23:02:22,872 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-22 23:02:22,880 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-71256308', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-71256308?flat'}
2025-10-22 23:02:22,880 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25603463:ctest-vn-71256308 is found in opserver
2025-10-22 23:02:22,890 - DEBUG - Do not have enough data to verify VN in agent
2025-10-22 23:02:22,896 - DEBUG - VRF ids for VN ctest-vn-71256308: {}
2025-10-22 23:02:22,950 - DEBUG - Services list from nova: [