| Summary: | Test failure in master | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Christophe Marin <christophe> |
| Component: | general | Assignee: | David Faure <faure> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | elvis.angelaccio, kdelibs-bugs-null, nate, null |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | 50b944cd93fe | Version Fixed/Implemented In: | 5.47 |
| Sentry Crash Report: | |||
Thanks for reporting, Elvis fixed the first problem in https://phabricator.kde.org/R241:50b944cd93fe954ba5584e56a07cbbd27edcae1f. Not sure about the second failure, the corresponding test passes fine for me with KIO master. Just tested, I now have 4 failures (kiocore-kprotocolinfotest is fixed)
The following tests FAILED:
31 - kiowidgets-kdirlistertest (Failed)
46 - kiofilewidgets-kfilewidgettest (Failed)
50 - kiofilewidgets-kfileplacesmodeltest (Failed)
51 - kiofilewidgets-kfileplacesviewtest (Failed)
Yeah, but those are not really related to your original report, aren't they? If you want to keep open an umbrella bug for arbitrary test failures in KIO, we'll never have a chance to close the bug, as there will always be some breakage. In general we have https://build.kde.org to track test failures. With Qt 5.11:
- kiowidgets-kdirlistertest:
PASS : KDirListerTest::testDeleteItem()
QDEBUG : KDirListerTest::testRenameItem() 23:05:13 - kdirlistertest(22885) - kf5.kio.core.dirlister: KCoreDirListerCache::slotFileRenamed: QUrl("file:///tmp/kdirlistertest-DxgXon/toplevelfile_2") -> QUrl("file:///tmp/kdirlistertest-DxgXon/toplevelfile_2.renamed.html")
QDEBUG : KDirListerTest::testRenameItem() 23:05:13 - kdirlistertest(22885) - kf5.kio.core.dirlister: KCoreDirListerCache::emitRefreshItem: old: "toplevelfile_2" QUrl("file:///tmp/kdirlistertest-DxgXon/toplevelfile_2") new: "toplevelfile_2.renamed.html" QUrl("file:///tmp/kdirlistertest-DxgXon/toplevelfile_2.renamed.html")
FAIL! : KDirListerTest::testRenameItem() Compared values are not the same
Actual (entry.second.mimetype()): "application/x-extension-html"
Expected (QString("text/html")) : "text/html"
Loc: [/data/kde/src/kio/autotests/kdirlistertest.cpp(507)]
- kiofilewidgets-kfilewidgettest
FAIL! : KFileWidgetTest::testFocusOnLocationEditChangeDir() 'QTest::qWaitForWindowActive(&fw)' returned FALSE. ()
Loc: [/data/kde/src/kio/autotests/kfilewidgettest.cpp(79)]
QDEBUG : KFileWidgetTest::testSetSelection(filename) 23:05:51 - kfilewidgettest(23088) - kf5.kio.core.dirlister: KCoreDirLister::Private::addNewItem: in QUrl("file:///home/krop") item: QUrl("file:///home/krop/Pictures")
QDEBUG : KFileWidgetTest::testSetSelection(filename) 23:05:51 - kfilewidgettest(23088) - kf5.kio.core.dirlister: KCoreDirListerCache::forgetCachedItemsJob: Moving from listing to holding, because no more job KDirLister(0xcb4050) "file:///home/krop"
QDEBUG : KFileWidgetTest::testSetSelection(filename) 23:05:51 - kfilewidgettest(23088) - kf5.kio.core: KProtocolInfoFactory::findProtocol: Refilling KProtocolInfoFactory cache in the hope to find "some"
QDEBUG : KFileWidgetTest::testSetSelection(filename) 23:05:51 - kfilewidgettest(23088) - kf5.kio.core: KProtocolInfoFactory::findProtocol: Refilling KProtocolInfoFactory cache in the hope to find "some"
XFAIL : KFileWidgetTest::testSetSelection(filename) setSelection cannot work with filenames, bad API
Loc: [/data/kde/src/kio/autotests/kfilewidgettest.cpp(169)]
- kiofilewidgets-kfileplacesmodeltest
FAIL! : KFilePlacesModelTest::testInitialState() Compared values are not the same
Actual (m_places->rowCount()): 6
Expected (4) : 4
Loc: [/data/kde/src/kio/autotests/kfileplacesmodeltest.cpp(200)]
QDEBUG : KFilePlacesModelTest::testInitialList() 23:05:54 - kfileplacesmodeltest(23119) - KFilePlacesModelTest::testInitialList: Expected: ("/home/krop", "/", "trash:/", "remote:/", "/media/nfs", "/foreign", "/media/floppy0", "/media/XO-Y4", "/media/cdrom")
QDEBUG : KFilePlacesModelTest::testInitialList() 23:05:54 - kfileplacesmodeltest(23119) - KFilePlacesModelTest::testInitialList: Got: ("/home/krop", "/home/krop/Desktop", "/home/krop/Downloads", "/", "trash:/", "remote:/")
FAIL! : KFilePlacesModelTest::testInitialList() Compared lists have different sizes.
Actual (placesUrls()) size: 6
Expected (urls) size: 9
Loc: [/data/kde/src/kio/autotests/kfileplacesmodeltest.cpp(236)]
QDEBUG : KFilePlacesModelTest::testReparse() 23:05:54 - kfileplacesmodeltest(23119) - KFilePlacesModelTest::testReparse: Expected: ("/home/krop", "/", "trash:/", "/foo", "remote:/", "/media/nfs", "/foreign", "/media/floppy0", "/media/XO-Y4", "/media/cdrom")
QDEBUG : KFilePlacesModelTest::testReparse() 23:05:54 - kfileplacesmodeltest(23119) - KFilePlacesModelTest::testReparse: Got: ("/home/krop", "/home/krop/Desktop", "/home/krop/Downloads", "/", "trash:/", "/foo", "remote:/")
FAIL! : KFilePlacesModelTest::testReparse() Compared lists have different sizes.
Actual (placesUrls()) size: 7
Expected (urls) size: 10
(etc...)
- kiofilewidgets-kfileplacesviewtest
Config: Using QtTest library 5.11.0, Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.1 20180323 [gcc-7-branch revision 258812])
PASS : KFilePlacesViewTest::initTestCase()
QDEBUG : KFilePlacesViewTest::testUrlChanged(Today) 23:05:55 - kfileplacesviewtest(23123) - kf5.kcoreaddons.kdirwatch: KDirWatch::setCreated: "KDirWatch-1" emitting created "/home/krop/.qttest/share/user-places.xbel"
FAIL! : KFilePlacesViewTest::testUrlChanged(Today) Compared values are not the same
Actual (args.at(0).toUrl().toString()): "trash:/"
Expected (expectedUrl) : "timeline:/today"
Loc: [/data/kde/src/kio/autotests/kfileplacesviewtest.cpp(109)]
FAIL! : KFilePlacesViewTest::testUrlChanged(Yesterday) Compared values are not the same
Actual (args.at(0).toUrl().toString()): "remote:/"
Expected (expectedUrl) : "timeline:/2018-05/2018-05-10"
Loc: [/data/kde/src/kio/autotests/kfileplacesviewtest.cpp(109)]
FAIL! : KFilePlacesViewTest::testUrlChanged(Documents) Compared values are not the same
Actual (args.at(0).toUrl().toString()): "timeline:/today"
Expected (expectedUrl) : "baloosearch:?json=%7B%22dayFilter%22: 0, %22monthFilter%22: 0, %22yearFilter%22: 0, %22type%22: [ %22Document%22]%7D"
Loc: [/data/kde/src/kio/autotests/kfileplacesviewtest.cpp(109)]
FAIL! : KFilePlacesViewTest::testUrlChanged(Images) Compared values are not the same
Actual (args.at(0).toUrl().toString()): "timeline:/2018-05/2018-05-10"
Expected (expectedUrl) : "baloosearch:?json=%7B%22dayFilter%22: 0, %22monthFilter%22: 0, %22yearFilter%22: 0, %22type%22: [ %22Image%22]%7D"
Loc: [/data/kde/src/kio/autotests/kfileplacesviewtest.cpp(109)]
FAIL! : KFilePlacesViewTest::testUrlChanged(Audio Files) Compared values are not the same
Actual (args.at(0).toUrl().toString()): "baloosearch:?json=%7B%22dayFilter%22: 0, %22monthFilter%22: 0, %22yearFilter%22: 0, %22type%22: [ %22Document%22]%7D"
Expected (expectedUrl) : "baloosearch:?json=%7B%22dayFilter%22: 0, %22monthFilter%22: 0, %22yearFilter%22: 0, %22type%22: [ %22Audio%22]%7D"
Loc: [/data/kde/src/kio/autotests/kfileplacesviewtest.cpp(109)]
FAIL! : KFilePlacesViewTest::testUrlChanged(Videos) Compared values are not the same
Actual (args.at(0).toUrl().toString()): "baloosearch:?json=%7B%22dayFilter%22: 0, %22monthFilter%22: 0, %22yearFilter%22: 0, %22type%22: [ %22Image%22]%7D"
Expected (expectedUrl) : "baloosearch:?json=%7B%22dayFilter%22: 0, %22monthFilter%22: 0, %22yearFilter%22: 0, %22type%22: [ %22Video%22]%7D"
Loc: [/data/kde/src/kio/autotests/kfileplacesviewtest.cpp(109)]
PASS : KFilePlacesViewTest::cleanupTestCase()
The remaining failures listed in the latest comment here have been fixed in: - https://cgit.kde.org/kio.git/commit/?id=0c8cd4076b7d332a87c60c6e1b70bbc1fa69603b - https://cgit.kde.org/kio.git/commit/?id=aca95c9df958d22c7ed259c009a3fb9989922a53 - https://cgit.kde.org/kio.git/commit/?id=2c478f4e429b6d9f50a889eeb0f1aedf51c0d777 - https://cgit.kde.org/kio.git/commit/?id=a6f88d7e9c6979991f9f6d0b710ccb8646a7e480 |
Tested with master & Qt 5.10 beta 4 : 12/54 Testing: kiocore-kprotocolinfotest QDEBUG : KProtocolInfoTest::testCapabilities() 13:27:15 - kprotocolinfotest(31544) - kf5.kio.core: KProtocolInfoFactory::findProtocol: Refilling KProtocolInfoFactory cache in the hope to find "imap" QDEBUG : KProtocolInfoTest::testCapabilities() 13:27:15 - kprotocolinfotest(31544) - KProtocolInfoTest::testCapabilities: kio_imap capabilities: () PASS : KProtocolInfoTest::testCapabilities() FAIL! : KProtocolInfoTest::testProtocolForArchiveMimetype() Compared values are not the same Actual (zip) : "krarc" Expected (QStringLiteral("zip")): "zip" Loc: [/kde/src/5/frameworks/kio/autotests/kprotocolinfotest.cpp(142)] --- 29/54 Testing: kiowidgets-kdirlistertest QDEBUG : KDirListerTest::testRenameItem() 13:27:39 - kdirlistertest(31917) - kf5.kio.core.dirlister: KCoreDirListerCache::slotFileRenamed: QUrl("file:///tmp/kdirlistertest-yyrrYi/toplevelfile_2") -> QUrl("file:///tmp/kdirlistertest-yyrrYi/toplevelfile_2.renamed.html") QDEBUG : KDirListerTest::testRenameItem() 13:27:39 - kdirlistertest(31917) - kf5.kio.core.dirlister: KCoreDirListerCache::emitRefreshItem: old: "toplevelfile_2" QUrl("file:///tmp/kdirlistertest-yyrrYi/toplevelfile_2") new: "toplevelfile_2.renamed.html" QUrl("file:///tmp/kdirlistertest-yyrrYi/toplevelfile_2.renamed.html") FAIL! : KDirListerTest::testRenameItem() Compared values are not the same Actual (entry.second.mimetype()): "application/x-extension-html" Expected (QString("text/html")) : "text/html" Loc: [/kde/src/5/frameworks/kio/autotests/kdirlistertest.cpp(507)]