Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835087 - gnome-bases/nautilus-41.2 test failures due to app-misc/tracker tracker-sandbox problems
Summary: gnome-bases/nautilus-41.2 test failures due to app-misc/tracker tracker-sandb...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-13 21:21 UTC by Mart Raudsepp
Modified: 2022-03-13 21:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2022-03-13 21:21:57 UTC
nautilus tests fail on a tracker using test, because it launches a local tracker via tracker-sandbox that wouldn't have its tracker-miners scribble to the users tracker database.
This stuff is provided by app-misc/tracker trackertestutils stuff, which has some python handling trouble.

If diving into the nautilus test failure, it ends up calling this:

/usr/lib/python-exec/python3.10/python3 -m trackertestutils --prefix=/usr --store-tmpdir --index-recursive-tmpdir test/automated/displayless/test-nautilus-search-engine-tracker

which appears stuck during test run (iirc), but running it manually gives this:

/usr/lib/python-exec/python3.10/python3: No module named trackertestutils

The module itself is shipped in /usr/lib64/tracker-2.0/trackertestutils/ right now, so it doesn't see it. This is the likely underlying reason for the nautilus failure then.

There were also questions about app-misc/tracker python handling, and whether a python dep should be there always, or perhaps testutils should be installed via a USE flag which nautilus[test] would USE-dep on then too.
Comment 1 Mart Raudsepp gentoo-dev 2022-03-13 21:24:16 UTC
On second look, it's called with /usr/lib64/tracker-3.0/trackertestutils/tracker-sandbox, which sets up PYTHONPATH and then calls it. So python module handling is not actually the core reason and it's still a mystery.