2025-10-27 20:07:53,815 - INFO - Domain Default found not creating
2025-10-27 20:07:53,967 - INFO - Project ctest-TestBasicPolicy-53661863 not found, creating it
2025-10-27 20:07:54,402 - INFO - Created Project:ctest-TestBasicPolicy-53661863, ID : 4d950760-6f3e-4cd1-bb0f-219f02dae31d 
2025-10-27 20:07:55,853 - INFO - ================================================================================
2025-10-27 20:07:55,853 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-27 20:07:55,853 - 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-27 20:07:56,111 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2025-10-27 20:07:56,112 - INFO - Initial checks done. Running the testcase now
2025-10-27 20:07:56,112 - INFO - 
2025-10-27 20:07:56,663 - DEBUG - Response for create_network : {'network': {'id': '25256928-1999-4634-afb4-e76c06ec20ad', 'name': 'ctest-vn-81915558', 'tenant_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'project_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-vn-81915558'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 20:07:56,874 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e47ff369-8034-4408-b9c3-e5ba5cc5544d', 'name': '', 'tenant_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'network_id': '25256928-1999-4634-afb4-e76c06ec20ad', 'ip_version': 4, 'cidr': '36.243.222.128/26', 'allocation_pools': [{'start': '36.243.222.130', 'end': '36.243.222.190'}], 'gateway_ip': '36.243.222.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.243.222.130', 'tags': [], 'project_id': '4d9507606f3e4cd1bb0f219f02dae31d'}}
2025-10-27 20:07:56,891 - INFO - Created VN ctest-vn-81915558
2025-10-27 20:07:56,941 - DEBUG - VN ctest-vn-81915558 UUID is 25256928-1999-4634-afb4-e76c06ec20ad
2025-10-27 20:07:57,221 - DEBUG - Response for create_network : {'network': {'id': 'c4277872-1648-43d6-829d-cee1b8ac2600', 'name': 'ctest-vn-73416450', 'tenant_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'project_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-vn-73416450'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 20:07:57,447 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0417e22-f038-4982-923f-196050c1ec46', 'name': '', 'tenant_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'network_id': 'c4277872-1648-43d6-829d-cee1b8ac2600', 'ip_version': 4, 'cidr': '111.232.182.64/26', 'allocation_pools': [{'start': '111.232.182.66', 'end': '111.232.182.126'}], 'gateway_ip': '111.232.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.232.182.66', 'tags': [], 'project_id': '4d9507606f3e4cd1bb0f219f02dae31d'}}
2025-10-27 20:07:57,466 - INFO - Created VN ctest-vn-73416450
2025-10-27 20:07:57,517 - DEBUG - VN ctest-vn-73416450 UUID is c4277872-1648-43d6-829d-cee1b8ac2600
2025-10-27 20:07:57,669 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-81915558, 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-53661863:ctest-vn-73416450, 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-27 20:07:57,957 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '25256928-1999-4634-afb4-e76c06ec20ad', 'name': 'ctest-vn-81915558', 'tenant_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'project_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e47ff369-8034-4408-b9c3-e5ba5cc5544d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-vn-81915558'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-policy-allow-all-70647740']], 'subnet_ipam': [{'subnet_cidr': '36.243.222.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-27 20:07:58,228 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c4277872-1648-43d6-829d-cee1b8ac2600', 'name': 'ctest-vn-73416450', 'tenant_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'project_id': '4d9507606f3e4cd1bb0f219f02dae31d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0417e22-f038-4982-923f-196050c1ec46'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-vn-73416450'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-policy-allow-all-70647740']], 'subnet_ipam': [{'subnet_cidr': '111.232.182.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-27 20:07:58,369 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-27 20:07:58,670 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-27 20:07:58,701 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2dba53f6-e1f5-4248-97f9-9a74a3d4d82f
2025-10-27 20:07:58,714 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d950760-6f3e-4cd1-bb0f-219f02dae31d
2025-10-27 20:07:58,785 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/25256928-1999-4634-afb4-e76c06ec20ad
2025-10-27 20:07:58,795 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/25256928-1999-4634-afb4-e76c06ec20ad
2025-10-27 20:07:58,803 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9c58a236-ee84-45c8-8962-ea65f410b7dc
2025-10-27 20:07:58,809 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9c58a236-ee84-45c8-8962-ea65f410b7dc
2025-10-27 20:07:58,815 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/0aea8c22-2430-4d39-9a17-f5a61dd74509
2025-10-27 20:07:58,820 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-27 20:07:58,820 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/25256928-1999-4634-afb4-e76c06ec20ad
2025-10-27 20:07:58,828 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9c58a236-ee84-45c8-8962-ea65f410b7dc
2025-10-27 20:07:58,842 - INFO - Verified VN network id 11 for VN 25256928-1999-4634-afb4-e76c06ec20ad
2025-10-27 20:07:58,842 - INFO - Verifications in API Server for VN ctest-vn-81915558 passed
2025-10-27 20:07:58,842 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/25256928-1999-4634-afb4-e76c06ec20ad
2025-10-27 20:07:58,851 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9c58a236-ee84-45c8-8962-ea65f410b7dc
2025-10-27 20:07:58,856 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9c58a236-ee84-45c8-8962-ea65f410b7dc
2025-10-27 20:07:58,863 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/0aea8c22-2430-4d39-9a17-f5a61dd74509
2025-10-27 20:07:58,873 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-81915558', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53661863', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2676661174490711604', 'uuid-lslong': '12660998903603929261'}, 'enable': 'true', 'created': '2025-10-27T20:07:56', 'last-modified': '2025-10-27T20:07:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936371'}
2025-10-27 20:07:58,879 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-27 20:07:58,879 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81915558 passed
2025-10-27 20:07:58,879 - DEBUG - ====Verifying policy data for ctest-vn-81915558 in API_Server ======
2025-10-27 20:07:58,879 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-27 20:07:58,885 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2dba53f6-e1f5-4248-97f9-9a74a3d4d82f
2025-10-27 20:07:58,897 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d950760-6f3e-4cd1-bb0f-219f02dae31d
2025-10-27 20:07:58,965 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/25256928-1999-4634-afb4-e76c06ec20ad
2025-10-27 20:07:58,973 - DEBUG - ==>Verifying data for policy with id: a191d1e6-176e-4d03-9b50-26b47ce9fa40, fqn: ['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-policy-allow-all-70647740']
2025-10-27 20:07:58,974 - INFO - VN ctest-vn-81915558 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-27 20:07:58,974 - DEBUG - Verifying the vn in opserver
2025-10-27 20:07:58,974 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-81915558 virtual network link  through opserver 10.0.0.242
2025-10-27 20:07:58,974 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-27 20:07:59,265 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-27 20:07:59,319 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-81915558', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-81915558?flat'}
2025-10-27 20:07:59,320 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-81915558 is found in opserver
2025-10-27 20:07:59,330 - DEBUG - Do not have enough data to verify VN in agent
2025-10-27 20:07:59,340 - DEBUG - VRF ids for VN ctest-vn-81915558: {}
2025-10-27 20:07:59,340 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-27 20:07:59,345 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2dba53f6-e1f5-4248-97f9-9a74a3d4d82f
2025-10-27 20:07:59,356 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d950760-6f3e-4cd1-bb0f-219f02dae31d
2025-10-27 20:07:59,431 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4277872-1648-43d6-829d-cee1b8ac2600
2025-10-27 20:07:59,445 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4277872-1648-43d6-829d-cee1b8ac2600
2025-10-27 20:07:59,457 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1420a8d3-e77e-4745-a208-eb340e14f0ae
2025-10-27 20:07:59,467 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1420a8d3-e77e-4745-a208-eb340e14f0ae
2025-10-27 20:07:59,474 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d52839d7-37f3-4c89-a9e5-3237c195e7ac
2025-10-27 20:07:59,481 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-27 20:07:59,481 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4277872-1648-43d6-829d-cee1b8ac2600
2025-10-27 20:07:59,490 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1420a8d3-e77e-4745-a208-eb340e14f0ae
2025-10-27 20:07:59,505 - INFO - Verified VN network id 12 for VN c4277872-1648-43d6-829d-cee1b8ac2600
2025-10-27 20:07:59,505 - INFO - Verifications in API Server for VN ctest-vn-73416450 passed
2025-10-27 20:07:59,505 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4277872-1648-43d6-829d-cee1b8ac2600
2025-10-27 20:07:59,515 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1420a8d3-e77e-4745-a208-eb340e14f0ae
2025-10-27 20:07:59,522 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1420a8d3-e77e-4745-a208-eb340e14f0ae
2025-10-27 20:07:59,529 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d52839d7-37f3-4c89-a9e5-3237c195e7ac
2025-10-27 20:07:59,541 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-73416450', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53661863', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14134398386921030614', 'uuid-lslong': '9411906265135457792'}, 'enable': 'true', 'created': '2025-10-27T20:07:57', 'last-modified': '2025-10-27T20:07:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.378023'}
2025-10-27 20:07:59,547 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-27 20:07:59,547 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73416450 passed
2025-10-27 20:07:59,547 - DEBUG - ====Verifying policy data for ctest-vn-73416450 in API_Server ======
2025-10-27 20:07:59,547 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-27 20:07:59,553 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2dba53f6-e1f5-4248-97f9-9a74a3d4d82f
2025-10-27 20:07:59,563 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d950760-6f3e-4cd1-bb0f-219f02dae31d
2025-10-27 20:07:59,633 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c4277872-1648-43d6-829d-cee1b8ac2600
2025-10-27 20:07:59,643 - DEBUG - ==>Verifying data for policy with id: a191d1e6-176e-4d03-9b50-26b47ce9fa40, fqn: ['default-domain', 'ctest-TestBasicPolicy-53661863', 'ctest-policy-allow-all-70647740']
2025-10-27 20:07:59,643 - INFO - VN ctest-vn-73416450 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-27 20:07:59,643 - DEBUG - Verifying the vn in opserver
2025-10-27 20:07:59,643 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-73416450 virtual network link  through opserver 10.0.0.242
2025-10-27 20:07:59,643 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-27 20:07:59,653 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-73416450', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-73416450?flat'}
2025-10-27 20:07:59,653 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53661863:ctest-vn-73416450 is found in opserver
2025-10-27 20:07:59,662 - DEBUG - Do not have enough data to verify VN in agent
2025-10-27 20:07:59,666 - DEBUG - VRF ids for VN ctest-vn-73416450: {}
2025-10-27 20:07:59,726 - DEBUG - Services list from nova: [