2025-10-21 07:40:27,678 - INFO - Domain Default found not creating
2025-10-21 07:40:27,798 - INFO - Project ctest-TestBasicPolicy-54829992 not found, creating it
2025-10-21 07:40:28,198 - INFO - Created Project:ctest-TestBasicPolicy-54829992, ID : 0f1896be-579d-422b-b5f0-87d6eda6d20a 
2025-10-21 07:40:29,528 - INFO - ================================================================================
2025-10-21 07:40:29,528 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-21 07:40:29,528 - 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-21 07:40:29,779 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-10-21 07:40:29,779 - INFO - Initial checks done. Running the testcase now
2025-10-21 07:40:29,779 - INFO - 
2025-10-21 07:40:30,304 - DEBUG - Response for create_network : {'network': {'id': '60ac0ab5-07ac-4b74-9bc9-3e630e0796b4', 'name': 'ctest-vn-40209872', 'tenant_id': '0f1896be579d422bb5f087d6eda6d20a', 'project_id': '0f1896be579d422bb5f087d6eda6d20a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-vn-40209872'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 07:40:30,498 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6af8764-05eb-4db6-ba5a-14aadb46d7be', 'name': '', 'tenant_id': '0f1896be579d422bb5f087d6eda6d20a', 'network_id': '60ac0ab5-07ac-4b74-9bc9-3e630e0796b4', 'ip_version': 4, 'cidr': '57.152.220.0/26', 'allocation_pools': [{'start': '57.152.220.2', 'end': '57.152.220.62'}], 'gateway_ip': '57.152.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.152.220.2', 'tags': [], 'project_id': '0f1896be579d422bb5f087d6eda6d20a'}}
2025-10-21 07:40:30,516 - INFO - Created VN ctest-vn-40209872
2025-10-21 07:40:30,566 - DEBUG - VN ctest-vn-40209872 UUID is 60ac0ab5-07ac-4b74-9bc9-3e630e0796b4
2025-10-21 07:40:30,886 - DEBUG - Response for create_network : {'network': {'id': '15264743-b8b3-4d73-91ea-cf32f46ded4a', 'name': 'ctest-vn-52489870', 'tenant_id': '0f1896be579d422bb5f087d6eda6d20a', 'project_id': '0f1896be579d422bb5f087d6eda6d20a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-vn-52489870'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 07:40:31,098 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4582e72-5847-49e7-9a84-027b4e35fa35', 'name': '', 'tenant_id': '0f1896be579d422bb5f087d6eda6d20a', 'network_id': '15264743-b8b3-4d73-91ea-cf32f46ded4a', 'ip_version': 4, 'cidr': '146.149.155.192/26', 'allocation_pools': [{'start': '146.149.155.194', 'end': '146.149.155.254'}], 'gateway_ip': '146.149.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.149.155.194', 'tags': [], 'project_id': '0f1896be579d422bb5f087d6eda6d20a'}}
2025-10-21 07:40:31,114 - INFO - Created VN ctest-vn-52489870
2025-10-21 07:40:31,162 - DEBUG - VN ctest-vn-52489870 UUID is 15264743-b8b3-4d73-91ea-cf32f46ded4a
2025-10-21 07:40:31,302 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-40209872, 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-54829992:ctest-vn-52489870, 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-21 07:40:31,584 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '60ac0ab5-07ac-4b74-9bc9-3e630e0796b4', 'name': 'ctest-vn-40209872', 'tenant_id': '0f1896be579d422bb5f087d6eda6d20a', 'project_id': '0f1896be579d422bb5f087d6eda6d20a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a6af8764-05eb-4db6-ba5a-14aadb46d7be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-vn-40209872'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-policy-allow-all-41254659']], 'subnet_ipam': [{'subnet_cidr': '57.152.220.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-21 07:40:31,802 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '15264743-b8b3-4d73-91ea-cf32f46ded4a', 'name': 'ctest-vn-52489870', 'tenant_id': '0f1896be579d422bb5f087d6eda6d20a', 'project_id': '0f1896be579d422bb5f087d6eda6d20a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f4582e72-5847-49e7-9a84-027b4e35fa35'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-vn-52489870'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-policy-allow-all-41254659']], 'subnet_ipam': [{'subnet_cidr': '146.149.155.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-21 07:40:31,974 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 07:40:32,265 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 07:40:32,292 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08d5f9dd-8d1b-493e-a6cc-8ef55f5048f3
2025-10-21 07:40:32,302 - DEBUG - Requesting: http://10.0.0.38:8082/project/0f1896be-579d-422b-b5f0-87d6eda6d20a
2025-10-21 07:40:32,372 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60ac0ab5-07ac-4b74-9bc9-3e630e0796b4
2025-10-21 07:40:32,380 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60ac0ab5-07ac-4b74-9bc9-3e630e0796b4
2025-10-21 07:40:32,387 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36525099-1fa3-4dff-a790-6524f670dab3
2025-10-21 07:40:32,392 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36525099-1fa3-4dff-a790-6524f670dab3
2025-10-21 07:40:32,397 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1687a352-c88d-4724-b111-c80c0fec980a
2025-10-21 07:40:32,402 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-21 07:40:32,402 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60ac0ab5-07ac-4b74-9bc9-3e630e0796b4
2025-10-21 07:40:32,408 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36525099-1fa3-4dff-a790-6524f670dab3
2025-10-21 07:40:32,419 - INFO - Verified VN network id 12 for VN 60ac0ab5-07ac-4b74-9bc9-3e630e0796b4
2025-10-21 07:40:32,419 - INFO - Verifications in API Server for VN ctest-vn-40209872 passed
2025-10-21 07:40:32,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60ac0ab5-07ac-4b74-9bc9-3e630e0796b4
2025-10-21 07:40:32,426 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36525099-1fa3-4dff-a790-6524f670dab3
2025-10-21 07:40:32,431 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36525099-1fa3-4dff-a790-6524f670dab3
2025-10-21 07:40:32,436 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1687a352-c88d-4724-b111-c80c0fec980a
2025-10-21 07:40:32,445 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-40209872', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54829992', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6965954496269405044', 'uuid-lslong': '11225572141355734708'}, 'enable': 'true', 'created': '2025-10-21T07:40:30', 'last-modified': '2025-10-21T07:40:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.879509'}
2025-10-21 07:40:32,450 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-21 07:40:32,450 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40209872 passed
2025-10-21 07:40:32,451 - DEBUG - ====Verifying policy data for ctest-vn-40209872 in API_Server ======
2025-10-21 07:40:32,451 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 07:40:32,455 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08d5f9dd-8d1b-493e-a6cc-8ef55f5048f3
2025-10-21 07:40:32,464 - DEBUG - Requesting: http://10.0.0.38:8082/project/0f1896be-579d-422b-b5f0-87d6eda6d20a
2025-10-21 07:40:32,528 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60ac0ab5-07ac-4b74-9bc9-3e630e0796b4
2025-10-21 07:40:32,535 - DEBUG - ==>Verifying data for policy with id: 4f6b81fe-9e04-4442-ad11-fe27974c779d, fqn: ['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-policy-allow-all-41254659']
2025-10-21 07:40:32,535 - INFO - VN ctest-vn-40209872 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-21 07:40:32,535 - DEBUG - Verifying the vn in opserver
2025-10-21 07:40:32,535 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-40209872 virtual network link  through opserver 10.0.0.38
2025-10-21 07:40:32,535 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-21 07:40:32,821 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-21 07:40:32,867 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-40209872', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-40209872?flat'}
2025-10-21 07:40:32,867 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-40209872 is found in opserver
2025-10-21 07:40:32,875 - DEBUG - Do not have enough data to verify VN in agent
2025-10-21 07:40:32,879 - DEBUG - VRF ids for VN ctest-vn-40209872: {}
2025-10-21 07:40:32,879 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 07:40:32,884 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08d5f9dd-8d1b-493e-a6cc-8ef55f5048f3
2025-10-21 07:40:32,892 - DEBUG - Requesting: http://10.0.0.38:8082/project/0f1896be-579d-422b-b5f0-87d6eda6d20a
2025-10-21 07:40:32,959 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15264743-b8b3-4d73-91ea-cf32f46ded4a
2025-10-21 07:40:32,969 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15264743-b8b3-4d73-91ea-cf32f46ded4a
2025-10-21 07:40:32,976 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe35607f-6158-486e-a6ae-7619e11fbceb
2025-10-21 07:40:32,982 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe35607f-6158-486e-a6ae-7619e11fbceb
2025-10-21 07:40:32,986 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/28ac3bcd-f23e-4f19-b6e8-e8d2b45d48b7
2025-10-21 07:40:32,991 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-21 07:40:32,991 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15264743-b8b3-4d73-91ea-cf32f46ded4a
2025-10-21 07:40:32,997 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe35607f-6158-486e-a6ae-7619e11fbceb
2025-10-21 07:40:33,007 - INFO - Verified VN network id 13 for VN 15264743-b8b3-4d73-91ea-cf32f46ded4a
2025-10-21 07:40:33,007 - INFO - Verifications in API Server for VN ctest-vn-52489870 passed
2025-10-21 07:40:33,007 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15264743-b8b3-4d73-91ea-cf32f46ded4a
2025-10-21 07:40:33,014 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe35607f-6158-486e-a6ae-7619e11fbceb
2025-10-21 07:40:33,019 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe35607f-6158-486e-a6ae-7619e11fbceb
2025-10-21 07:40:33,024 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/28ac3bcd-f23e-4f19-b6e8-e8d2b45d48b7
2025-10-21 07:40:33,033 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-52489870', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54829992', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1523983880098631027', 'uuid-lslong': '10514444097806003530'}, 'enable': 'true', 'created': '2025-10-21T07:40:30', 'last-modified': '2025-10-21T07:40:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.247987'}
2025-10-21 07:40:33,037 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-21 07:40:33,037 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52489870 passed
2025-10-21 07:40:33,037 - DEBUG - ====Verifying policy data for ctest-vn-52489870 in API_Server ======
2025-10-21 07:40:33,037 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-21 07:40:33,041 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08d5f9dd-8d1b-493e-a6cc-8ef55f5048f3
2025-10-21 07:40:33,049 - DEBUG - Requesting: http://10.0.0.38:8082/project/0f1896be-579d-422b-b5f0-87d6eda6d20a
2025-10-21 07:40:33,112 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15264743-b8b3-4d73-91ea-cf32f46ded4a
2025-10-21 07:40:33,119 - DEBUG - ==>Verifying data for policy with id: 4f6b81fe-9e04-4442-ad11-fe27974c779d, fqn: ['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-policy-allow-all-41254659']
2025-10-21 07:40:33,120 - INFO - VN ctest-vn-52489870 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-21 07:40:33,120 - DEBUG - Verifying the vn in opserver
2025-10-21 07:40:33,120 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-52489870 virtual network link  through opserver 10.0.0.38
2025-10-21 07:40:33,120 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-21 07:40:33,127 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-52489870', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-52489870?flat'}
2025-10-21 07:40:33,127 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-52489870 is found in opserver
2025-10-21 07:40:33,135 - DEBUG - Do not have enough data to verify VN in agent
2025-10-21 07:40:33,138 - DEBUG - VRF ids for VN ctest-vn-52489870: {}
2025-10-21 07:40:33,184 - DEBUG - Services list from nova: [