2025-10-23 02:06:14,603 - INFO - Domain Default found not creating
2025-10-23 02:06:14,751 - INFO - Project ctest-TestBasicPolicy-40524547 not found, creating it
2025-10-23 02:06:15,190 - INFO - Created Project:ctest-TestBasicPolicy-40524547, ID : 55efefd4-6119-44ac-9085-c86fd2514f61 
2025-10-23 02:06:16,719 - INFO - ================================================================================
2025-10-23 02:06:16,719 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-23 02:06:16,719 - 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 02:06:16,975 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.249': '0'}} with
2025-10-23 02:06:16,976 - INFO - Initial checks done. Running the testcase now
2025-10-23 02:06:16,976 - INFO - 
2025-10-23 02:06:17,566 - DEBUG - Response for create_network : {'network': {'id': 'e51ac25a-6052-4788-9365-01e0be395d9d', 'name': 'ctest-vn-54667240', 'tenant_id': '55efefd4611944ac9085c86fd2514f61', 'project_id': '55efefd4611944ac9085c86fd2514f61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-vn-54667240'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 02:06:17,718 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aae8f2e1-3961-47c5-ba62-8e80e014b0be', 'name': '', 'tenant_id': '55efefd4611944ac9085c86fd2514f61', 'network_id': 'e51ac25a-6052-4788-9365-01e0be395d9d', 'ip_version': 4, 'cidr': '192.207.72.0/26', 'allocation_pools': [{'start': '192.207.72.2', 'end': '192.207.72.62'}], 'gateway_ip': '192.207.72.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.207.72.2', 'tags': [], 'project_id': '55efefd4611944ac9085c86fd2514f61'}}
2025-10-23 02:06:17,738 - INFO - Created VN ctest-vn-54667240
2025-10-23 02:06:17,790 - DEBUG - VN ctest-vn-54667240 UUID is e51ac25a-6052-4788-9365-01e0be395d9d
2025-10-23 02:06:18,081 - DEBUG - Response for create_network : {'network': {'id': 'e917d949-ae17-4019-9bbb-853733918e74', 'name': 'ctest-vn-09641525', 'tenant_id': '55efefd4611944ac9085c86fd2514f61', 'project_id': '55efefd4611944ac9085c86fd2514f61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-vn-09641525'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 02:06:18,311 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c84fb400-9c39-49eb-82f6-b4231352628e', 'name': '', 'tenant_id': '55efefd4611944ac9085c86fd2514f61', 'network_id': 'e917d949-ae17-4019-9bbb-853733918e74', 'ip_version': 4, 'cidr': '65.44.152.0/26', 'allocation_pools': [{'start': '65.44.152.2', 'end': '65.44.152.62'}], 'gateway_ip': '65.44.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.44.152.2', 'tags': [], 'project_id': '55efefd4611944ac9085c86fd2514f61'}}
2025-10-23 02:06:18,331 - INFO - Created VN ctest-vn-09641525
2025-10-23 02:06:18,382 - DEBUG - VN ctest-vn-09641525 UUID is e917d949-ae17-4019-9bbb-853733918e74
2025-10-23 02:06:18,502 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-54667240, 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-40524547:ctest-vn-09641525, 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 02:06:18,794 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e51ac25a-6052-4788-9365-01e0be395d9d', 'name': 'ctest-vn-54667240', 'tenant_id': '55efefd4611944ac9085c86fd2514f61', 'project_id': '55efefd4611944ac9085c86fd2514f61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aae8f2e1-3961-47c5-ba62-8e80e014b0be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-vn-54667240'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-policy-allow-all-83241230']], 'subnet_ipam': [{'subnet_cidr': '192.207.72.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-23 02:06:19,028 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e917d949-ae17-4019-9bbb-853733918e74', 'name': 'ctest-vn-09641525', 'tenant_id': '55efefd4611944ac9085c86fd2514f61', 'project_id': '55efefd4611944ac9085c86fd2514f61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c84fb400-9c39-49eb-82f6-b4231352628e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-vn-09641525'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-policy-allow-all-83241230']], 'subnet_ipam': [{'subnet_cidr': '65.44.152.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-23 02:06:19,202 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-10-23 02:06:19,534 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-10-23 02:06:19,561 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2e283574-867c-482d-913f-5e0415a1ddc2
2025-10-23 02:06:19,574 - DEBUG - Requesting: http://10.0.0.65:8082/project/55efefd4-6119-44ac-9085-c86fd2514f61
2025-10-23 02:06:19,649 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e51ac25a-6052-4788-9365-01e0be395d9d
2025-10-23 02:06:19,659 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e51ac25a-6052-4788-9365-01e0be395d9d
2025-10-23 02:06:19,669 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b232514-8f68-45be-8f5e-b63a2d460011
2025-10-23 02:06:19,676 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b232514-8f68-45be-8f5e-b63a2d460011
2025-10-23 02:06:19,682 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/34c930e8-b8db-44ad-8c28-3a7a7797956c
2025-10-23 02:06:19,688 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-23 02:06:19,688 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e51ac25a-6052-4788-9365-01e0be395d9d
2025-10-23 02:06:19,697 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b232514-8f68-45be-8f5e-b63a2d460011
2025-10-23 02:06:19,710 - INFO - Verified VN network id 11 for VN e51ac25a-6052-4788-9365-01e0be395d9d
2025-10-23 02:06:19,710 - INFO - Verifications in API Server for VN ctest-vn-54667240 passed
2025-10-23 02:06:19,711 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e51ac25a-6052-4788-9365-01e0be395d9d
2025-10-23 02:06:19,721 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b232514-8f68-45be-8f5e-b63a2d460011
2025-10-23 02:06:19,729 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b232514-8f68-45be-8f5e-b63a2d460011
2025-10-23 02:06:19,736 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/34c930e8-b8db-44ad-8c28-3a7a7797956c
2025-10-23 02:06:19,749 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-54667240', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40524547', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16508721077498824584', 'uuid-lslong': '10620897360998915485'}, 'enable': 'true', 'created': '2025-10-23T02:06:17', 'last-modified': '2025-10-23T02:06:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.975344'}
2025-10-23 02:06:19,756 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-23 02:06:19,756 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54667240 passed
2025-10-23 02:06:19,756 - DEBUG - ====Verifying policy data for ctest-vn-54667240 in API_Server ======
2025-10-23 02:06:19,756 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-10-23 02:06:19,762 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2e283574-867c-482d-913f-5e0415a1ddc2
2025-10-23 02:06:19,772 - DEBUG - Requesting: http://10.0.0.65:8082/project/55efefd4-6119-44ac-9085-c86fd2514f61
2025-10-23 02:06:19,846 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e51ac25a-6052-4788-9365-01e0be395d9d
2025-10-23 02:06:19,855 - DEBUG - ==>Verifying data for policy with id: 0f2332b3-59c7-4c8e-9fea-124043294f3b, fqn: ['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-policy-allow-all-83241230']
2025-10-23 02:06:19,855 - INFO - VN ctest-vn-54667240 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-23 02:06:19,855 - DEBUG - Verifying the vn in opserver
2025-10-23 02:06:19,855 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-54667240 virtual network link  through opserver 10.0.0.65
2025-10-23 02:06:19,855 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-10-23 02:06:20,190 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-10-23 02:06:20,246 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-54667240', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-54667240?flat'}
2025-10-23 02:06:20,246 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-54667240 is found in opserver
2025-10-23 02:06:20,256 - DEBUG - Do not have enough data to verify VN in agent
2025-10-23 02:06:20,260 - DEBUG - VRF ids for VN ctest-vn-54667240: {}
2025-10-23 02:06:20,260 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-10-23 02:06:20,265 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2e283574-867c-482d-913f-5e0415a1ddc2
2025-10-23 02:06:20,276 - DEBUG - Requesting: http://10.0.0.65:8082/project/55efefd4-6119-44ac-9085-c86fd2514f61
2025-10-23 02:06:20,347 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e917d949-ae17-4019-9bbb-853733918e74
2025-10-23 02:06:20,358 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e917d949-ae17-4019-9bbb-853733918e74
2025-10-23 02:06:20,367 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c2a2ea6-3819-4305-aac2-944068c09af6
2025-10-23 02:06:20,373 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c2a2ea6-3819-4305-aac2-944068c09af6
2025-10-23 02:06:20,379 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/314411b6-95fe-4585-9f4f-41a262537539
2025-10-23 02:06:20,385 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-23 02:06:20,385 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e917d949-ae17-4019-9bbb-853733918e74
2025-10-23 02:06:20,394 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c2a2ea6-3819-4305-aac2-944068c09af6
2025-10-23 02:06:20,407 - INFO - Verified VN network id 12 for VN e917d949-ae17-4019-9bbb-853733918e74
2025-10-23 02:06:20,407 - INFO - Verifications in API Server for VN ctest-vn-09641525 passed
2025-10-23 02:06:20,407 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e917d949-ae17-4019-9bbb-853733918e74
2025-10-23 02:06:20,416 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c2a2ea6-3819-4305-aac2-944068c09af6
2025-10-23 02:06:20,423 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c2a2ea6-3819-4305-aac2-944068c09af6
2025-10-23 02:06:20,429 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/314411b6-95fe-4585-9f4f-41a262537539
2025-10-23 02:06:20,441 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-09641525', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40524547', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16796132245778153497', 'uuid-lslong': '11221709368658595444'}, 'enable': 'true', 'created': '2025-10-23T02:06:18', 'last-modified': '2025-10-23T02:06:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.436536'}
2025-10-23 02:06:20,447 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-23 02:06:20,448 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09641525 passed
2025-10-23 02:06:20,448 - DEBUG - ====Verifying policy data for ctest-vn-09641525 in API_Server ======
2025-10-23 02:06:20,448 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-10-23 02:06:20,454 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2e283574-867c-482d-913f-5e0415a1ddc2
2025-10-23 02:06:20,465 - DEBUG - Requesting: http://10.0.0.65:8082/project/55efefd4-6119-44ac-9085-c86fd2514f61
2025-10-23 02:06:20,536 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e917d949-ae17-4019-9bbb-853733918e74
2025-10-23 02:06:20,546 - DEBUG - ==>Verifying data for policy with id: 0f2332b3-59c7-4c8e-9fea-124043294f3b, fqn: ['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-policy-allow-all-83241230']
2025-10-23 02:06:20,546 - INFO - VN ctest-vn-09641525 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-23 02:06:20,546 - DEBUG - Verifying the vn in opserver
2025-10-23 02:06:20,546 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-09641525 virtual network link  through opserver 10.0.0.65
2025-10-23 02:06:20,546 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-10-23 02:06:20,555 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-09641525', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-09641525?flat'}
2025-10-23 02:06:20,555 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-09641525 is found in opserver
2025-10-23 02:06:20,565 - DEBUG - Do not have enough data to verify VN in agent
2025-10-23 02:06:20,569 - DEBUG - VRF ids for VN ctest-vn-09641525: {}
2025-10-23 02:06:20,624 - DEBUG - Services list from nova: [