Bug 495725 - 6.7.0: test suite fails in providertest units
Summary: 6.7.0: test suite fails in providertest units
Status: REPORTED
Alias: None
Product: frameworks-attica
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.7.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Frederik Gladhorn
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-02 17:52 UTC by kloczek
Modified: 2025-01-17 04:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kloczek 2024-11-02 17:52:02 UTC
Looks like new 6.7.0 faiis in providertest unit

+ cd attica-6.7.0
+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48
Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/attica-6.7.0/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/attica-6.7.0/x86_64-redhat-linux-gnu
    Start 1: configtest
    Start 2: persontest
    Start 3: providertest
1/3 Test #2: persontest .......................   Passed    0.02 sec
2/3 Test #1: configtest .......................   Passed    0.02 sec
3/3 Test #3: providertest .....................***Failed   29.59 sec
********* Start testing of ProviderTest *********
Config: Using QtTest library 6.7.3, Qt 6.7.3 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.2.1 20240912 (Red Hat 14.2.1-4)), fedora 42
PASS   : ProviderTest::initTestCase()
QDEBUG : ProviderTest::testFetchValidProvider() kf.attica: executing Get for QUrl("https://autoconfig.kde.org/ocs/providers.xml")
QDEBUG : ProviderTest::testFetchValidProvider() kf.attica: executing Get request for QUrl("https://api.kde-look.org/ocs/v1/config")
PASS   : ProviderTest::testFetchValidProvider()
QDEBUG : ProviderTest::testFetchInvalidProvider() kf.attica: executing Get for QUrl("https://invalid-url.org/ocs/providers.xml")
PASS   : ProviderTest::testFetchInvalidProvider()
QDEBUG : ProviderTest::testSwitchSortOrder() kf.attica: executing Get for QUrl("https://autoconfig.kde.org/ocs/providers.xml")
QDEBUG : ProviderTest::testSwitchSortOrder() kf.attica: creating list job: QUrl("https://api.kde-look.org/ocs/v1/content/data?categories&distribution&license&search&sortmode=high&page=0&pag
esize=10")
QDEBUG : ProviderTest::testSwitchSortOrder() kf.attica: executing Get request for QUrl("https://api.kde-look.org/ocs/v1/content/data?categories&distribution&license&search&sortmode=high&pag
e=0&pagesize=10")
FAIL!  : ProviderTest::testSwitchSortOrder() Timeout fetching provider
   Loc: [/home/tkloczko/rpmbuild/BUILD/attica-6.7.0/autotests/providertest.cpp(181)]
PASS   : ProviderTest::cleanupTestCase()
Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted, 29565ms
********* Finished testing of ProviderTest *********


67% tests passed, 1 tests failed out of 3

Total Test time (real) =  29.60 sec

The following tests FAILED:
          3 - providertest (Failed)
Errors while running CTest
Comment 1 haroldknowlden@gmail.com 2025-01-17 04:28:56 UTC
Doesn't reproduce on 6.11.0