2025-10-29 19:37:13,547 - INFO - Domain Default found not creating
2025-10-29 19:37:13,694 - INFO - Project ctest-TestBasicPolicy-58554280 not found, creating it
2025-10-29 19:37:14,138 - INFO - Created Project:ctest-TestBasicPolicy-58554280, ID : b59c01c7-593f-46e1-bb06-a32a765c6fa3 
2025-10-29 19:37:15,670 - INFO - ================================================================================
2025-10-29 19:37:15,671 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-29 19:37:15,671 - 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-29 19:37:15,932 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.130': '0'}} with
2025-10-29 19:37:15,932 - INFO - Initial checks done. Running the testcase now
2025-10-29 19:37:15,932 - INFO - 
2025-10-29 19:37:16,510 - DEBUG - Response for create_network : {'network': {'id': 'f0221b5f-d5f3-4a48-960a-16c8b4534865', 'name': 'ctest-vn-34680666', 'tenant_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'project_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-vn-34680666'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 19:37:16,718 - DEBUG - Response for create_subnet : {'subnet': {'id': '17bcdb61-03bd-4c9d-857e-ef7995b2f6a1', 'name': '', 'tenant_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'network_id': 'f0221b5f-d5f3-4a48-960a-16c8b4534865', 'ip_version': 4, 'cidr': '194.155.108.128/26', 'allocation_pools': [{'start': '194.155.108.130', 'end': '194.155.108.190'}], 'gateway_ip': '194.155.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.155.108.130', 'tags': [], 'project_id': 'b59c01c7593f46e1bb06a32a765c6fa3'}}
2025-10-29 19:37:16,736 - INFO - Created VN ctest-vn-34680666
2025-10-29 19:37:16,787 - DEBUG - VN ctest-vn-34680666 UUID is f0221b5f-d5f3-4a48-960a-16c8b4534865
2025-10-29 19:37:17,073 - DEBUG - Response for create_network : {'network': {'id': '0417c20c-8f20-4864-be6a-bd4f349bf474', 'name': 'ctest-vn-59353685', 'tenant_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'project_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-vn-59353685'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 19:37:17,269 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e496176-22e1-45f9-bbd0-4b80d842e315', 'name': '', 'tenant_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'network_id': '0417c20c-8f20-4864-be6a-bd4f349bf474', 'ip_version': 4, 'cidr': '20.104.237.128/26', 'allocation_pools': [{'start': '20.104.237.130', 'end': '20.104.237.190'}], 'gateway_ip': '20.104.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.104.237.130', 'tags': [], 'project_id': 'b59c01c7593f46e1bb06a32a765c6fa3'}}
2025-10-29 19:37:17,286 - INFO - Created VN ctest-vn-59353685
2025-10-29 19:37:17,335 - DEBUG - VN ctest-vn-59353685 UUID is 0417c20c-8f20-4864-be6a-bd4f349bf474
2025-10-29 19:37:17,483 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-34680666, 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-58554280:ctest-vn-59353685, 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-29 19:37:17,772 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0221b5f-d5f3-4a48-960a-16c8b4534865', 'name': 'ctest-vn-34680666', 'tenant_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'project_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['17bcdb61-03bd-4c9d-857e-ef7995b2f6a1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-vn-34680666'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-policy-allow-all-66825590']], 'subnet_ipam': [{'subnet_cidr': '194.155.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-29 19:37:17,996 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0417c20c-8f20-4864-be6a-bd4f349bf474', 'name': 'ctest-vn-59353685', 'tenant_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'project_id': 'b59c01c7593f46e1bb06a32a765c6fa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7e496176-22e1-45f9-bbd0-4b80d842e315'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-vn-59353685'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-policy-allow-all-66825590']], 'subnet_ipam': [{'subnet_cidr': '20.104.237.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-29 19:37:18,151 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-10-29 19:37:18,486 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-10-29 19:37:18,514 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e531fae8-a385-4292-8a5a-7ace844e0ea2
2025-10-29 19:37:18,525 - DEBUG - Requesting: http://10.0.0.50:8082/project/b59c01c7-593f-46e1-bb06-a32a765c6fa3
2025-10-29 19:37:18,600 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0221b5f-d5f3-4a48-960a-16c8b4534865
2025-10-29 19:37:18,612 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0221b5f-d5f3-4a48-960a-16c8b4534865
2025-10-29 19:37:18,621 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae13e7ad-d416-48e2-9f98-4e98dede8a0b
2025-10-29 19:37:18,627 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae13e7ad-d416-48e2-9f98-4e98dede8a0b
2025-10-29 19:37:18,633 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/aa57eeb7-d2df-41a5-9ef9-1e23df27b28b
2025-10-29 19:37:18,639 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-29 19:37:18,639 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0221b5f-d5f3-4a48-960a-16c8b4534865
2025-10-29 19:37:18,648 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae13e7ad-d416-48e2-9f98-4e98dede8a0b
2025-10-29 19:37:18,662 - INFO - Verified VN network id 11 for VN f0221b5f-d5f3-4a48-960a-16c8b4534865
2025-10-29 19:37:18,662 - INFO - Verifications in API Server for VN ctest-vn-34680666 passed
2025-10-29 19:37:18,662 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0221b5f-d5f3-4a48-960a-16c8b4534865
2025-10-29 19:37:18,670 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae13e7ad-d416-48e2-9f98-4e98dede8a0b
2025-10-29 19:37:18,677 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae13e7ad-d416-48e2-9f98-4e98dede8a0b
2025-10-29 19:37:18,684 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/aa57eeb7-d2df-41a5-9ef9-1e23df27b28b
2025-10-29 19:37:18,698 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-34680666', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58554280', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17303422816736201288', 'uuid-lslong': '10811478906730924133'}, 'enable': 'true', 'created': '2025-10-29T19:37:16', 'last-modified': '2025-10-29T19:37:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947903'}
2025-10-29 19:37:18,705 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-29 19:37:18,705 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34680666 passed
2025-10-29 19:37:18,705 - DEBUG - ====Verifying policy data for ctest-vn-34680666 in API_Server ======
2025-10-29 19:37:18,705 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-10-29 19:37:18,710 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e531fae8-a385-4292-8a5a-7ace844e0ea2
2025-10-29 19:37:18,721 - DEBUG - Requesting: http://10.0.0.50:8082/project/b59c01c7-593f-46e1-bb06-a32a765c6fa3
2025-10-29 19:37:18,792 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0221b5f-d5f3-4a48-960a-16c8b4534865
2025-10-29 19:37:18,801 - DEBUG - ==>Verifying data for policy with id: ce49de07-da69-4698-b9d4-fa25d8f796df, fqn: ['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-policy-allow-all-66825590']
2025-10-29 19:37:18,801 - INFO - VN ctest-vn-34680666 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-29 19:37:18,801 - DEBUG - Verifying the vn in opserver
2025-10-29 19:37:18,801 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-34680666 virtual network link  through opserver 10.0.0.50
2025-10-29 19:37:18,801 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-10-29 19:37:19,132 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-10-29 19:37:19,188 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-34680666', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-34680666?flat'}
2025-10-29 19:37:19,188 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-34680666 is found in opserver
2025-10-29 19:37:19,199 - DEBUG - Do not have enough data to verify VN in agent
2025-10-29 19:37:19,203 - DEBUG - VRF ids for VN ctest-vn-34680666: {}
2025-10-29 19:37:19,203 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-10-29 19:37:19,208 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e531fae8-a385-4292-8a5a-7ace844e0ea2
2025-10-29 19:37:19,218 - DEBUG - Requesting: http://10.0.0.50:8082/project/b59c01c7-593f-46e1-bb06-a32a765c6fa3
2025-10-29 19:37:19,289 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0417c20c-8f20-4864-be6a-bd4f349bf474
2025-10-29 19:37:19,300 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0417c20c-8f20-4864-be6a-bd4f349bf474
2025-10-29 19:37:19,309 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/513b2ed3-5acf-4f30-866c-2902f5057474
2025-10-29 19:37:19,315 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/513b2ed3-5acf-4f30-866c-2902f5057474
2025-10-29 19:37:19,322 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/98c9649c-3540-41e3-bad0-93faac85aa1e
2025-10-29 19:37:19,328 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-29 19:37:19,328 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0417c20c-8f20-4864-be6a-bd4f349bf474
2025-10-29 19:37:19,336 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/513b2ed3-5acf-4f30-866c-2902f5057474
2025-10-29 19:37:19,348 - INFO - Verified VN network id 12 for VN 0417c20c-8f20-4864-be6a-bd4f349bf474
2025-10-29 19:37:19,348 - INFO - Verifications in API Server for VN ctest-vn-59353685 passed
2025-10-29 19:37:19,348 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0417c20c-8f20-4864-be6a-bd4f349bf474
2025-10-29 19:37:19,357 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/513b2ed3-5acf-4f30-866c-2902f5057474
2025-10-29 19:37:19,363 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/513b2ed3-5acf-4f30-866c-2902f5057474
2025-10-29 19:37:19,369 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/98c9649c-3540-41e3-bad0-93faac85aa1e
2025-10-29 19:37:19,378 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-59353685', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58554280', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '294917659812710500', 'uuid-lslong': '13720987362620339316'}, 'enable': 'true', 'created': '2025-10-29T19:37:17', 'last-modified': '2025-10-29T19:37:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.400642'}
2025-10-29 19:37:19,384 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-29 19:37:19,384 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59353685 passed
2025-10-29 19:37:19,384 - DEBUG - ====Verifying policy data for ctest-vn-59353685 in API_Server ======
2025-10-29 19:37:19,384 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-10-29 19:37:19,390 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e531fae8-a385-4292-8a5a-7ace844e0ea2
2025-10-29 19:37:19,401 - DEBUG - Requesting: http://10.0.0.50:8082/project/b59c01c7-593f-46e1-bb06-a32a765c6fa3
2025-10-29 19:37:19,468 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0417c20c-8f20-4864-be6a-bd4f349bf474
2025-10-29 19:37:19,477 - DEBUG - ==>Verifying data for policy with id: ce49de07-da69-4698-b9d4-fa25d8f796df, fqn: ['default-domain', 'ctest-TestBasicPolicy-58554280', 'ctest-policy-allow-all-66825590']
2025-10-29 19:37:19,477 - INFO - VN ctest-vn-59353685 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-29 19:37:19,477 - DEBUG - Verifying the vn in opserver
2025-10-29 19:37:19,477 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-59353685 virtual network link  through opserver 10.0.0.50
2025-10-29 19:37:19,477 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-10-29 19:37:19,486 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-59353685', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-59353685?flat'}
2025-10-29 19:37:19,486 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58554280:ctest-vn-59353685 is found in opserver
2025-10-29 19:37:19,494 - DEBUG - Do not have enough data to verify VN in agent
2025-10-29 19:37:19,498 - DEBUG - VRF ids for VN ctest-vn-59353685: {}
2025-10-29 19:37:19,554 - DEBUG - Services list from nova: [