Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738264 - dev-python/pytest-qt-3.3.0 fails tests
Summary: dev-python/pytest-qt-3.3.0 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: Andrew Nowa Ammerlaan
URL:
Whiteboard:
Keywords: PullRequest
: 739572 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-08-20 19:47 UTC by Agostino Sarubbo
Modified: 2020-12-22 16:47 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,48.63 KB, text/plain)
2020-08-20 19:47 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 2020-08-20 19:47:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pytest-qt-3.3.0 fails tests.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-20 19:47:54 UTC
Created attachment 655800 [details]
build.log

build log and emerge --info
Comment 2 Andrew Nowa Ammerlaan gentoo-dev 2020-08-21 08:51:52 UTC
I wonder why this temporary portage path for dev-qt/qttest-5.15.0 is popping up:
E       nomatch: '* QtWarningMsg: FAIL! model->columnCount(QModelIndex()) >= 0 () returned FALSE (qabstractitemmodeltester.cpp:*)'
E           and: '    QtWarningMsg: FAIL! model->columnCount(QModelIndex()) >= 0 () returned FALSE (/var/tmp/portage/dev-qt/qttest-5.15.0/work/qtbase-everywhere-src-5.15.0/src/testlib/qabstractitemmodeltester.cpp:324)'

That path is no longer available after emerging dev-qt/qttest, so nothing should (be able to) reference it. To me it looks like the temporary path is still saved somewhere on the system after emerging dev-qt/qttest-5.15.0.
Comment 3 Andrew Nowa Ammerlaan gentoo-dev 2020-08-21 09:02:09 UTC
A quick grep through the system found:
./usr/lib64/libQt5Test.prl:QMAKE_PRL_BUILD_DIR = /var/tmp/portage/dev-qt/qttest-5.15.0/work/qtbase-everywhere-src-5.15.0_build/src/testlib
Binary file ./usr/lib64/libQt5Test.so.5.15.0 matches

I suspect that is the cause of this test failure, that shouldn't be there, right?
Comment 4 Andrew Nowa Ammerlaan gentoo-dev 2020-08-30 08:42:36 UTC
*** Bug 739572 has been marked as a duplicate of this bug. ***
Comment 5 Andrew Nowa Ammerlaan gentoo-dev 2020-08-30 09:03:08 UTC
Bug reported here: https://github.com/pytest-dev/pytest-qt/issues/314
Comment 6 Larry the Git Cow gentoo-dev 2020-09-13 18:22:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c07649004ae8acdc4ab1ce59020f26c0eb6a4c4

commit 8c07649004ae8acdc4ab1ce59020f26c0eb6a4c4
Author:     Andrew Ammerlaan <andrewammerlaan@riseup.net>
AuthorDate: 2020-08-30 14:03:19 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-09-13 18:22:00 +0000

    dev-python/pytest-qt: bug fix in testsuite, add py3.9
    
    https://github.com/pytest-dev/pytest-qt/issues/314
    https://github.com/pytest-dev/pytest-qt/pull/315
    Closes: https://bugs.gentoo.org/738264
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/17335
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/pytest-qt-3.3.0-fix-file-match-test.patch         | 13 +++++++++++++
 dev-python/pytest-qt/pytest-qt-3.3.0.ebuild                 | 10 ++++++++--
 2 files changed, 21 insertions(+), 2 deletions(-)