[kde] [Bug 509888] New: broken-search-tests-disabled

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Sep 24 21:27:44 BST 2025


https://bugs.kde.org/show_bug.cgi?id=509888

            Bug ID: 509888
           Summary: broken-search-tests-disabled
    Classification: I don't know
           Product: kde
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: jshand2013 at gmail.com
  Target Milestone: ---

OS Details:

Operating System: openSUSE Tumbleweed 20250923
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.8-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ 7 150U
Memory: 16 GiB of RAM (15.3 GiB usable)
Graphics Processor: Intel® Graphics
Manufacturer: Dell Inc.
Product Name: Inspiron 16 5640

# Search functionality appears broken; multiple tests disabled

**Severity:** High  
**Area:** Libs / Autotests  

## Description
CMake contains FIXME comments indicating tests are constantly failing due to
broken search, and are disabled pending a new search implementation.

## Evidence
/mnt/data/akonadi_extracted/akonadi/autotests/libs/CMakeLists.txt lines 89 and
124 (context shown):

```
  80| add_akonadi_isolated_test(SOURCE collectionpathresolvertest.cpp
collectionpathresolvertest.h)
  81| add_akonadi_isolated_test(SOURCE collectionattributetest.cpp
collectionattributetest.h)
  82| add_akonadi_isolated_test(SOURCE itemfetchtest.cpp itemfetchtest.h)
  83| add_akonadi_isolated_test(SOURCE itemappendtest.cpp itemappendtest.h)
  84| add_akonadi_isolated_test(SOURCE itemstoretest.cpp itemstoretest.h)
  85| add_akonadi_isolated_test(SOURCE itemdeletetest.cpp)
  86| add_akonadi_isolated_test(SOURCE entitycachetest.cpp)
  87| add_akonadi_isolated_test(SOURCE monitortest.cpp monitortest.h)
  88| #add_akonadi_isolated_test_advanced(monitorfiltertest.cpp ""
"KPim6::AkonadiPrivate")
  89| # FIXME: this is constantly failling due to broken search: re-enable once
the new search code is merged
  90| #add_akonadi_isolated_test(SOURCE searchjobtest.cpp searchjobtest.h)
  91| add_akonadi_isolated_test(SOURCE changerecordertest.cpp)
  92| add_akonadi_isolated_test(SOURCE resourcetest.cpp)
  93| add_akonadi_isolated_test(SOURCE subscriptiontest.cpp)
  94| add_akonadi_isolated_test(SOURCE transactiontest.cpp transactiontest.h)
  95| add_akonadi_isolated_test(SOURCE itemcopytest.cpp)
  96| add_akonadi_isolated_test(SOURCE itemmovetest.cpp)
```

```
 118| #add_akonadi_isolated_test(itembenchmark.cpp)
 119| #add_akonadi_isolated_test(collectioncreator.cpp)
 120| 
 121| add_akonadi_isolated_test(SOURCE gidtest.cpp gidtest.h)
 122| add_akonadi_isolated_test(SOURCE lazypopulationtest.cpp)
 123| add_akonadi_isolated_test(SOURCE favoriteproxytest.cpp LINK_LIBRARIES
KF6::ConfigCore)
 124| # FIXME: this is constantly failing due to broken search: re-enable once
the new search code is merged
 125| #add_akonadi_isolated_test(
 126| #    SOURCE itemsearchjobtest.cpp searchjobtest.h
 127| #    ADDITIONAL_SOURCES testsearchplugin/testsearchplugin.cpp)
 128| add_akonadi_isolated_test(SOURCE tagtest.cpp ADDITIONAL_SOURCES
${CMAKE_BINARY_DIR}/src/core/akonadicore_debug.cpp)
```

## Steps to Reproduce
1. Re-enable the disabled search-related tests in
`autotests/libs/CMakeLists.txt`.
2. Build and run the test suite.
3. Observe failures in search functionality.

## Expected Behavior
Search-related tests should pass, validating correct behavior.

## Actual Behavior
Tests are disabled due to persistent failures attributed to broken search.

## Suggested Fix / Next Steps
- Audit current search implementation and failure modes.
- Port or merge the 'new search' code referred to in comments.
- Add CI gating to prevent silent regressions in search.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list