2025-10-30 18:31:02,036 - INFO - Domain Default found not creating
2025-10-30 18:31:02,256 - INFO - Project ctest-TestBasicPolicy-23735559 not found, creating it
2025-10-30 18:31:02,716 - INFO - Created Project:ctest-TestBasicPolicy-23735559, ID : ef31ef03-b06f-461a-8ffd-b0a2a54566b4 
2025-10-30 18:31:04,445 - INFO - ================================================================================
2025-10-30 18:31:04,445 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-30 18:31:04,445 - 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-30 18:31:04,732 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2025-10-30 18:31:04,732 - INFO - Initial checks done. Running the testcase now
2025-10-30 18:31:04,732 - INFO - 
2025-10-30 18:31:05,440 - DEBUG - Response for create_network : {'network': {'id': 'f9e866d1-32fd-4ac5-971b-39efd1bc534f', 'name': 'ctest-vn-45032288', 'tenant_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'project_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-vn-45032288'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 18:31:05,680 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db99cc34-4e96-4ae3-a4e4-b1eb852b61c5', 'name': '', 'tenant_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'network_id': 'f9e866d1-32fd-4ac5-971b-39efd1bc534f', 'ip_version': 4, 'cidr': '110.54.129.128/26', 'allocation_pools': [{'start': '110.54.129.130', 'end': '110.54.129.190'}], 'gateway_ip': '110.54.129.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.54.129.130', 'tags': [], 'project_id': 'ef31ef03b06f461a8ffdb0a2a54566b4'}}
2025-10-30 18:31:05,710 - INFO - Created VN ctest-vn-45032288
2025-10-30 18:31:05,769 - DEBUG - VN ctest-vn-45032288 UUID is f9e866d1-32fd-4ac5-971b-39efd1bc534f
2025-10-30 18:31:06,132 - DEBUG - Response for create_network : {'network': {'id': '5119a3c9-626d-4d3c-af69-932f57a1d4b0', 'name': 'ctest-vn-50717142', 'tenant_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'project_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-vn-50717142'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 18:31:06,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b0ddeaf-5bbb-4280-a66a-344606b03469', 'name': '', 'tenant_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'network_id': '5119a3c9-626d-4d3c-af69-932f57a1d4b0', 'ip_version': 4, 'cidr': '29.90.242.0/26', 'allocation_pools': [{'start': '29.90.242.2', 'end': '29.90.242.62'}], 'gateway_ip': '29.90.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.90.242.2', 'tags': [], 'project_id': 'ef31ef03b06f461a8ffdb0a2a54566b4'}}
2025-10-30 18:31:06,353 - INFO - Created VN ctest-vn-50717142
2025-10-30 18:31:06,413 - DEBUG - VN ctest-vn-50717142 UUID is 5119a3c9-626d-4d3c-af69-932f57a1d4b0
2025-10-30 18:31:06,597 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-45032288, 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-23735559:ctest-vn-50717142, 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-30 18:31:07,012 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f9e866d1-32fd-4ac5-971b-39efd1bc534f', 'name': 'ctest-vn-45032288', 'tenant_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'project_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db99cc34-4e96-4ae3-a4e4-b1eb852b61c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-vn-45032288'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-policy-allow-all-32699922']], 'subnet_ipam': [{'subnet_cidr': '110.54.129.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 18:31:07,289 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5119a3c9-626d-4d3c-af69-932f57a1d4b0', 'name': 'ctest-vn-50717142', 'tenant_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'project_id': 'ef31ef03b06f461a8ffdb0a2a54566b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0b0ddeaf-5bbb-4280-a66a-344606b03469'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-vn-50717142'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-policy-allow-all-32699922']], 'subnet_ipam': [{'subnet_cidr': '29.90.242.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-30 18:31:07,457 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-10-30 18:31:07,763 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-10-30 18:31:07,796 - DEBUG - Requesting: http://10.0.0.141:8082/domain/20984147-88ad-4c25-8fbf-4d4772930e85
2025-10-30 18:31:07,820 - DEBUG - Requesting: http://10.0.0.141:8082/project/ef31ef03-b06f-461a-8ffd-b0a2a54566b4
2025-10-30 18:31:07,932 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9e866d1-32fd-4ac5-971b-39efd1bc534f
2025-10-30 18:31:07,954 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9e866d1-32fd-4ac5-971b-39efd1bc534f
2025-10-30 18:31:07,981 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/df6d839d-81f7-41b9-8454-f4bd776b8da3
2025-10-30 18:31:07,997 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/df6d839d-81f7-41b9-8454-f4bd776b8da3
2025-10-30 18:31:08,013 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/845aaae5-c0fd-4c61-9890-3d408f148d1a
2025-10-30 18:31:08,024 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 18:31:08,024 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9e866d1-32fd-4ac5-971b-39efd1bc534f
2025-10-30 18:31:08,045 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/df6d839d-81f7-41b9-8454-f4bd776b8da3
2025-10-30 18:31:08,068 - INFO - Verified VN network id 11 for VN f9e866d1-32fd-4ac5-971b-39efd1bc534f
2025-10-30 18:31:08,068 - INFO - Verifications in API Server for VN ctest-vn-45032288 passed
2025-10-30 18:31:08,068 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9e866d1-32fd-4ac5-971b-39efd1bc534f
2025-10-30 18:31:08,084 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/df6d839d-81f7-41b9-8454-f4bd776b8da3
2025-10-30 18:31:08,094 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/df6d839d-81f7-41b9-8454-f4bd776b8da3
2025-10-30 18:31:08,106 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/845aaae5-c0fd-4c61-9890-3d408f148d1a
2025-10-30 18:31:08,123 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-45032288', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23735559', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18007756158730586821', 'uuid-lslong': '10888360226277053263'}, 'enable': 'true', 'created': '2025-10-30T18:31:05', 'last-modified': '2025-10-30T18:31:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.151885'}
2025-10-30 18:31:08,131 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 18:31:08,132 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45032288 passed
2025-10-30 18:31:08,132 - DEBUG - ====Verifying policy data for ctest-vn-45032288 in API_Server ======
2025-10-30 18:31:08,132 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-10-30 18:31:08,139 - DEBUG - Requesting: http://10.0.0.141:8082/domain/20984147-88ad-4c25-8fbf-4d4772930e85
2025-10-30 18:31:08,158 - DEBUG - Requesting: http://10.0.0.141:8082/project/ef31ef03-b06f-461a-8ffd-b0a2a54566b4
2025-10-30 18:31:08,250 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f9e866d1-32fd-4ac5-971b-39efd1bc534f
2025-10-30 18:31:08,267 - DEBUG - ==>Verifying data for policy with id: 787a511a-f929-46fd-933e-c119dbc866f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-policy-allow-all-32699922']
2025-10-30 18:31:08,267 - INFO - VN ctest-vn-45032288 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 18:31:08,267 - DEBUG - Verifying the vn in opserver
2025-10-30 18:31:08,267 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-45032288 virtual network link  through opserver 10.0.0.141
2025-10-30 18:31:08,267 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2025-10-30 18:31:08,574 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2025-10-30 18:31:08,658 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-45032288', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-45032288?flat'}
2025-10-30 18:31:08,658 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-45032288 is found in opserver
2025-10-30 18:31:08,673 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 18:31:08,685 - DEBUG - VRF ids for VN ctest-vn-45032288: {}
2025-10-30 18:31:08,685 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-10-30 18:31:08,695 - DEBUG - Requesting: http://10.0.0.141:8082/domain/20984147-88ad-4c25-8fbf-4d4772930e85
2025-10-30 18:31:08,718 - DEBUG - Requesting: http://10.0.0.141:8082/project/ef31ef03-b06f-461a-8ffd-b0a2a54566b4
2025-10-30 18:31:08,812 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5119a3c9-626d-4d3c-af69-932f57a1d4b0
2025-10-30 18:31:08,830 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5119a3c9-626d-4d3c-af69-932f57a1d4b0
2025-10-30 18:31:08,841 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c60af8bf-59a0-4c50-8572-5c19be9d2269
2025-10-30 18:31:08,849 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c60af8bf-59a0-4c50-8572-5c19be9d2269
2025-10-30 18:31:08,856 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f35df30e-ba80-4251-9160-0740dd3ac1b3
2025-10-30 18:31:08,864 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 18:31:08,864 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5119a3c9-626d-4d3c-af69-932f57a1d4b0
2025-10-30 18:31:08,874 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c60af8bf-59a0-4c50-8572-5c19be9d2269
2025-10-30 18:31:08,891 - INFO - Verified VN network id 12 for VN 5119a3c9-626d-4d3c-af69-932f57a1d4b0
2025-10-30 18:31:08,892 - INFO - Verifications in API Server for VN ctest-vn-50717142 passed
2025-10-30 18:31:08,892 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5119a3c9-626d-4d3c-af69-932f57a1d4b0
2025-10-30 18:31:08,902 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c60af8bf-59a0-4c50-8572-5c19be9d2269
2025-10-30 18:31:08,910 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c60af8bf-59a0-4c50-8572-5c19be9d2269
2025-10-30 18:31:08,918 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f35df30e-ba80-4251-9160-0740dd3ac1b3
2025-10-30 18:31:08,938 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-50717142', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23735559', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5843882076825013564', 'uuid-lslong': '12639795660734977200'}, 'enable': 'true', 'created': '2025-10-30T18:31:06', 'last-modified': '2025-10-30T18:31:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.687506'}
2025-10-30 18:31:08,945 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-30 18:31:08,945 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50717142 passed
2025-10-30 18:31:08,945 - DEBUG - ====Verifying policy data for ctest-vn-50717142 in API_Server ======
2025-10-30 18:31:08,946 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-10-30 18:31:08,953 - DEBUG - Requesting: http://10.0.0.141:8082/domain/20984147-88ad-4c25-8fbf-4d4772930e85
2025-10-30 18:31:08,967 - DEBUG - Requesting: http://10.0.0.141:8082/project/ef31ef03-b06f-461a-8ffd-b0a2a54566b4
2025-10-30 18:31:09,058 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5119a3c9-626d-4d3c-af69-932f57a1d4b0
2025-10-30 18:31:09,071 - DEBUG - ==>Verifying data for policy with id: 787a511a-f929-46fd-933e-c119dbc866f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-23735559', 'ctest-policy-allow-all-32699922']
2025-10-30 18:31:09,071 - INFO - VN ctest-vn-50717142 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-30 18:31:09,071 - DEBUG - Verifying the vn in opserver
2025-10-30 18:31:09,071 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-50717142 virtual network link  through opserver 10.0.0.141
2025-10-30 18:31:09,071 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2025-10-30 18:31:09,086 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-50717142', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-50717142?flat'}
2025-10-30 18:31:09,086 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23735559:ctest-vn-50717142 is found in opserver
2025-10-30 18:31:09,100 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 18:31:09,107 - DEBUG - VRF ids for VN ctest-vn-50717142: {}
2025-10-30 18:31:09,175 - DEBUG - Services list from nova: [