Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939041 - kde-frameworks/kpackage-6.5.0 test fails : plasmoidpackagetest : 'j->error() == KJob::NoError' returned FALSE. (Could not delete package from: /var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot/plasmoid_to_package/)
Summary: kde-frameworks/kpackage-6.5.0 test fails : plasmoidpackagetest : 'j->error() ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-04 11:14 UTC by Arniii
Modified: 2024-09-13 17:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
how_it_was_called.txt emerge_--info.txt /var/tmp/portage/kde-frameworks/kpackage-6.5.0/{build-info/,files/,temp/,work/**{.txt,.log}} /var/lib/portage/ /etc/portage/ elog (kde-frameworks_kpackage-6.5.0_test_fail.tar.lz,210.08 KB, application/x-lzip)
2024-09-04 11:14 UTC, Arniii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arniii 2024-09-04 11:14:40 UTC
Created attachment 902051 [details]
how_it_was_called.txt emerge_--info.txt /var/tmp/portage/kde-frameworks/kpackage-6.5.0/{build-info/,files/,temp/,work/**{.txt,.log}} /var/lib/portage/ /etc/portage/ elog

from build.log:
```
The following tests FAILED:
          3 - plasmoidpackagetest (Failed)
```

from /var/tmp/portage/kde-frameworks/kpackage-6.5.0/work/kpackage-6.5.0_build/Testing/Temporary/LastTest.log:
```
3/8 Testing: plasmoidpackagetest
3/8 Test: plasmoidpackagetest
Command: "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/work/kpackage-6.5.0_build/bin/plasmoidpackagetest"
Directory: /var/tmp/portage/kde-frameworks/kpackage-6.5.0/work/kpackage-6.5.0_build/autotests
"plasmoidpackagetest" start time: Sep 04 11:05 UTC
Output:
----------------------------------------------------------
********* Start testing of PlasmoidPackageTest *********
Config: Using QtTest library 6.7.2, Qt 6.7.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.3.1 20240614), gentoo 2.15
PASS   : PlasmoidPackageTest::initTestCase()
QDEBUG : PlasmoidPackageTest::createAndInstallPackage() PlasmoidPackage::init()
QDEBUG : PlasmoidPackageTest::createAndInstallPackage() cleaning up
QDEBUG : PlasmoidPackageTest::createAndInstallPackage()
QDEBUG : PlasmoidPackageTest::createAndInstallPackage()    CreateAndInstall
QDEBUG : PlasmoidPackageTest::createAndInstallPackage() Create test package "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot"
QDEBUG : PlasmoidPackageTest::createAndInstallPackage() Created "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot/plasmoid_to_package"
QDEBUG : PlasmoidPackageTest::createAndInstallPackage() OUT:  "plasmoid_to_package"
QDEBUG : PlasmoidPackageTest::createAndInstallPackage() THIS IS A PLASMOID SCRIPT THING
QDEBUG : PlasmoidPackageTest::createAndInstallPackage() Installing  "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot/testpackage.plasmoid"
QDEBUG : PlasmoidPackageTest::createAndInstallPackage() cleaning up
PASS   : PlasmoidPackageTest::createAndInstallPackage()
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage() PlasmoidPackage::init()
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage() cleaning up
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage()
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage()    CreateAndUpdate
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage() Create test package "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot"
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage() Created "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot/plasmoid_to_package"
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage() OUT:  "plasmoid_to_package"
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage() THIS IS A PLASMOID SCRIPT THING
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage() Installing  "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot/testpackage.plasmoid"
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage() "Not installing version 1.1 of plasmoid_to_package. Version 1.1 already installed."
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage() Create test package "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot"
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage() Created "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot/plasmoid_to_package"
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage() OUT:  "plasmoid_to_package"
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage() THIS IS A PLASMOID SCRIPT THING
FAIL!  : PlasmoidPackageTest::createAndUpdatePackage() 'j->error() == KJob::NoError' returned FALSE. (Could not delete package from: /var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot/plasmoid_to_package/)
   Loc: [/var/tmp/portage/kde-frameworks/kpackage-6.5.0/work/kpackage-6.5.0/autotests/plasmoidpackagetest.cpp(377)]
QDEBUG : PlasmoidPackageTest::createAndUpdatePackage() cleaning up
QDEBUG : PlasmoidPackageTest::uncompressPackageWithSubFolder() PlasmoidPackage::init()
QDEBUG : PlasmoidPackageTest::uncompressPackageWithSubFolder() cleaning up
QDEBUG : PlasmoidPackageTest::uncompressPackageWithSubFolder() cleaning up
PASS   : PlasmoidPackageTest::uncompressPackageWithSubFolder()
QDEBUG : PlasmoidPackageTest::isValid() PlasmoidPackage::init()
QDEBUG : PlasmoidPackageTest::isValid() cleaning up
QDEBUG : PlasmoidPackageTest::isValid() package path is ""
QWARN  : PlasmoidPackageTest::isValid() kf.package: Could not find required file "mainscript" for package "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot/Package/" should be QList("ui/main.qml")
QWARN  : PlasmoidPackageTest::isValid() kf.package: Could not find required file "mainscript" for package "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot/Package/" should be QList("ui/main.qml")
QWARN  : PlasmoidPackageTest::isValid() kf.package: no metadata at ""
QDEBUG : PlasmoidPackageTest::isValid() cleaning up
PASS   : PlasmoidPackageTest::isValid()
QDEBUG : PlasmoidPackageTest::filePath() PlasmoidPackage::init()
QDEBUG : PlasmoidPackageTest::filePath() cleaning up
QDEBUG : PlasmoidPackageTest::filePath() cleaning up
PASS   : PlasmoidPackageTest::filePath()
QDEBUG : PlasmoidPackageTest::entryList() PlasmoidPackage::init()
QDEBUG : PlasmoidPackageTest::entryList() cleaning up
QDEBUG : PlasmoidPackageTest::entryList() Create test package "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot"
QDEBUG : PlasmoidPackageTest::entryList() Created "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot/Package"
QDEBUG : PlasmoidPackageTest::entryList() OUT:  "Package"
QDEBUG : PlasmoidPackageTest::entryList() THIS IS A PLASMOID SCRIPT THING
QDEBUG : PlasmoidPackageTest::entryList() cleaning up
PASS   : PlasmoidPackageTest::entryList()
QDEBUG : PlasmoidPackageTest::testInstallNonExistentPackageStructure() PlasmoidPackage::init()
QDEBUG : PlasmoidPackageTest::testInstallNonExistentPackageStructure() cleaning up
QDEBUG : PlasmoidPackageTest::testInstallNonExistentPackageStructure() Create test package "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot"
QDEBUG : PlasmoidPackageTest::testInstallNonExistentPackageStructure() Created "/var/tmp/portage/kde-frameworks/kpackage-6.5.0/homedir/.qttest/share/packageRoot/testpackage"
QDEBUG : PlasmoidPackageTest::testInstallNonExistentPackageStructure() OUT:  "testpackage"
QDEBUG : PlasmoidPackageTest::testInstallNonExistentPackageStructure() THIS IS A PLASMOID SCRIPT THING
QWARN  : PlasmoidPackageTest::testInstallNonExistentPackageStructure() kf.package: Invalid metadata for package structure "KPackage/DoesNotExist"
QDEBUG : PlasmoidPackageTest::testInstallNonExistentPackageStructure() cleaning up
PASS   : PlasmoidPackageTest::testInstallNonExistentPackageStructure()
PASS   : PlasmoidPackageTest::cleanupTestCase()
Totals: 8 passed, 1 failed, 0 skipped, 0 blacklisted, 98ms
********* Finished testing of PlasmoidPackageTest *********
<end of output>
Test time =   0.10 sec
----------------------------------------------------------
Test Failed.
"plasmoidpackagetest" end time: Sep 04 11:05 UTC
"plasmoidpackagetest" time elapsed: 00:00:00
----------------------------------------------------------
```
Comment 1 Andreas Sturmlechner gentoo-dev 2024-09-13 17:38:44 UTC
Apparently that test was renamed at some point.
Comment 2 Larry the Git Cow gentoo-dev 2024-09-13 17:41:00 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=7856b065c4a6d57a58096352a098e403ea8440f5

commit 7856b065c4a6d57a58096352a098e403ea8440f5
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-09-13 17:40:04 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-09-13 17:40:04 +0000

    kde-frameworks/kpackage: Re-disable plasmoidpackagetest
    
    Bug: https://bugs.gentoo.org/939041
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/kpackage/kpackage-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2024-09-13 17:43:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=746bbb52be4daae6f99f24fc1938c354fde91972

commit 746bbb52be4daae6f99f24fc1938c354fde91972
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-09-13 17:40:04 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-09-13 17:43:17 +0000

    kde-frameworks/kpackage: Re-disable plasmoidpackagetest
    
    Closes: https://bugs.gentoo.org/939041
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/kpackage/kpackage-6.5.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)