Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835875 - app-admin/keepassxc-2.7.1-r1 fails tests
Summary: app-admin/keepassxc-2.7.1-r1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-24 07:48 UTC by Agostino Sarubbo
Modified: 2023-07-15 22:00 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,818.21 KB, text/plain)
2022-03-24 07:48 UTC, Agostino Sarubbo
Details
1-LastTest.log (1-LastTest.log,90.89 KB, text/plain)
2022-03-24 07:48 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-03-24 07:48:14 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-admin/keepassxc-2.7.0-r2 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-24 07:48:16 UTC
Created attachment 767669 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-03-24 07:48:17 UTC
Created attachment 767670 [details]
1-LastTest.log

1-LastTest.log
Comment 3 Paolo Pedroni 2022-05-30 16:11:07 UTC
Same issue in 2.7.1-r1 (current stable). Running the emerge with QT_QPA_PLATFORM=minimal avoids the errors with qt.qpa, but the test fails anyway with:

38/38 Testing: testcli
38/38 Test: testcli
Command: "/var/tmp/portage/app-admin/keepassxc-2.7.1-r1/work/keepassxc-2.7.1_build/tests/testcli"
Directory: /var/tmp/portage/app-admin/keepassxc-2.7.1-r1/work/keepassxc-2.7.1_build/tests
"testcli" start time: May 30 18:03 CEST
Output:
----------------------------------------------------------
********* Start testing of TestCli *********
Config: Using QtTest library 5.15.3, Qt 5.15.3 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.2.1 20220115), g
entoo 2.8
QWARN  : TestCli::initTestCase() Couldn't load translations.
PASS   : TestCli::initTestCase()
PASS   : TestCli::testBatchCommands()
PASS   : TestCli::testAdd()
PASS   : TestCli::testAddGroup()
PASS   : TestCli::testAnalyze()
PASS   : TestCli::testAttachmentExport()
PASS   : TestCli::testAttachmentImport()
PASS   : TestCli::testAttachmentRemove()
SKIP   : TestCli::testClip() Clip test skipped due to QClipboard and Wayland issues on Linux
   Loc: [/var/tmp/portage/app-admin/keepassxc-2.7.1-r1/work/keepassxc-2.7.1/tests/TestCli.cpp(628)]
PASS   : TestCli::testCommandParsing(basic)
PASS   : TestCli::testCommandParsing(basic escaping)
PASS   : TestCli::testCommandParsing(quoted string)
PASS   : TestCli::testCommandParsing(multiple params)
PASS   : TestCli::testCommandParsing(quoted string inside param)
PASS   : TestCli::testCommandParsing(multiple whitespace)
PASS   : TestCli::testCommandParsing(single slash char)
PASS   : TestCli::testCommandParsing(double backslash entry name)
PASS   : TestCli::testCreate()
QWARN  : TestCli::testDiceware() Wordlist too short!
PASS   : TestCli::testDiceware()
PASS   : TestCli::testEdit()
PASS   : TestCli::testEstimate(Dictionary)
PASS   : TestCli::testEstimate(Spatial)
PASS   : TestCli::testEstimate(Spatial(Rep))
PASS   : TestCli::testEstimate(Dictionary / Sequence)
PASS   : TestCli::testEstimate(Dict+Leet)
PASS   : TestCli::testEstimate(Dictionary(Rep))
PASS   : TestCli::testEstimate(Sequence(Rep) / Dictionary)
PASS   : TestCli::testEstimate(Bruteforce(Rep) / Bruteforce)
PASS   : TestCli::testEstimate(Dictionary / Date(Rep))
PASS   : TestCli::testEstimate(Dictionary / Date / Bruteforce)
PASS   : TestCli::testEstimate(Strong Password)
PASS   : TestCli::testEstimate(Strong Passphrase)
PASS   : TestCli::testExport()
PASS   : TestCli::testGenerate(default)
PASS   : TestCli::testGenerate(length)
PASS   : TestCli::testGenerate(lowercase)
PASS   : TestCli::testGenerate(uppercase)
PASS   : TestCli::testGenerate(numbers)
PASS   : TestCli::testGenerate(special)
PASS   : TestCli::testGenerate(special (exclude))
PASS   : TestCli::testGenerate(extended)
PASS   : TestCli::testGenerate(numbers + lowercase + uppercase)
PASS   : TestCli::testGenerate(numbers + lowercase + uppercase (exclude))
PASS   : TestCli::testGenerate(numbers + lowercase + uppercase (exclude similar))
PASS   : TestCli::testGenerate(uppercase + lowercase (every))
PASS   : TestCli::testGenerate(numbers + lowercase (every))
PASS   : TestCli::testGenerate(custom character set)
PASS   : TestCli::testGenerate(custom character set without extra options uses only custom chars)
PASS   : TestCli::testImport()
PASS   : TestCli::testInfo()
PASS   : TestCli::testKeyFileOption()
PASS   : TestCli::testNoPasswordOption()
PASS   : TestCli::testHelp()
PASS   : TestCli::testInteractiveCommands()
PASS   : TestCli::testList()
QDEBUG : TestCli::testMerge() Merge Sample Entry/Sample Entry with local on top/under NewDatabase
QDEBUG : TestCli::testMerge() Merge Subgroup Entry/Subgroup Entry with local on top/under Subgroup
QDEBUG : TestCli::testMerge() Merge Sample Entry/Sample Entry with local on top/under NewDatabase
QDEBUG : TestCli::testMerge() Merge Subgroup Entry/Subgroup Entry with local on top/under Subgroup
QDEBUG : TestCli::testMerge() Merge Sample Entry/Sample Entry with local on top/under NewDatabase
QDEBUG : TestCli::testMerge() Merge Subgroup Entry/Subgroup Entry with local on top/under Subgroup
QWARN  : TestCli::testMerge() QCommandLineParser: option not defined: "yubikey-from"
QDEBUG : TestCli::testMerge() Merge Sample Entry/Sample Entry with local on top/under NewDatabase
QDEBUG : TestCli::testMerge() Merge Subgroup Entry/Subgroup Entry with local on top/under Subgroup
QDEBUG : TestCli::testMerge() Merge Sample Entry/Sample Entry with local on top/under NewDatabase
QDEBUG : TestCli::testMerge() Merge Some Website/Some Website with local on top/under Internet
QDEBUG : TestCli::testMerge() Merge Subgroup Entry/Subgroup Entry with local on top/under Subgroup
QDEBUG : TestCli::testMerge() Merge Sample Entry/Sample Entry with local on top/under NewDatabase
QDEBUG : TestCli::testMerge() Merge Some Website/Some Website with local on top/under Internet
QDEBUG : TestCli::testMerge() Merge Subgroup Entry/Subgroup Entry with local on top/under Subgroup
QWARN  : TestCli::testMerge() QCommandLineParser: option not defined: "yubikey-from"
QDEBUG : TestCli::testMerge() Merge Sample Entry/Sample Entry with local on top/under NewDatabase
QDEBUG : TestCli::testMerge() Merge Some Website/Some Website with local on top/under Internet
QDEBUG : TestCli::testMerge() Merge Subgroup Entry/Subgroup Entry with local on top/under Subgroup
PASS   : TestCli::testMerge()
QWARN  : TestCli::testMergeWithKeys() QCommandLineParser: option not defined: "yubikey-from"
PASS   : TestCli::testMergeWithKeys()
PASS   : TestCli::testMove()
PASS   : TestCli::testOpen()
PASS   : TestCli::testRemove()
PASS   : TestCli::testRemoveGroup()
PASS   : TestCli::testRemoveQuiet()
PASS   : TestCli::testSearch()
FAIL!  : TestCli::testShow() Compared values are not the same
   Actual   (m_stdout->readAll())                                                                                                                                                                              : "Title: Sample Entry\nUserName: User Name\nPassword: PROTECTED\nURL: http://www.somesite.com/\nNotes: Notes\n\nAttachments:\n  Sample attachment.txt (15,0 B)\n"
   Expected (QByteArray("Title: Sample Entry\n" "UserName: User Name\n" "Password: PROTECTED\n" "URL: http://www.somesite.com/\n" "Notes: Notes\n" "\n" "Attachments:\n" "  Sample attachment.txt (15.0 B)\n")): "Title: Sample Entry\nUserName: User Name\nPassword: PROTECTED\nURL: http://www.somesite.com/\nNotes: Notes\n\nAttachments:\n  Sample attachment.txt (15.0 B)\n"
   Loc: [/var/tmp/portage/app-admin/keepassxc-2.7.1-r1/work/keepassxc-2.7.1/tests/TestCli.cpp(1965)]
PASS   : TestCli::testInvalidDbFiles()
SKIP   : TestCli::testYubiKeyOption() Unable to initialize YubiKey interface.
   Loc: [/var/tmp/portage/app-admin/keepassxc-2.7.1-r1/work/keepassxc-2.7.1/tests/TestCli.cpp(2073)]
PASS   : TestCli::cleanupTestCase()
Totals: 64 passed, 1 failed, 2 skipped, 0 blacklisted, 6098ms
********* Finished testing of TestCli *********
<end of output>
Test time =   6.16 sec
----------------------------------------------------------
Test Failed.
"testcli" end time: May 30 18:03 CEST
"testcli" time elapsed: 00:00:06
----------------------------------------------------------
Comment 4 Agostino Sarubbo gentoo-dev 2022-08-15 18:13:31 UTC
lto_tinderbox has reproduced this issue with version 2.7.1-r1 - Updating summary.
Comment 5 Maciej Barć gentoo-dev 2023-07-15 22:00:37 UTC
2.7.1-r1 no longer in the tree, latest is 2.7.5-r1