https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-p2p/nicotine+-3.3.4 fails tests. Discovered on: amd64 (internal ref: ci) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Created attachment 895308 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern in addition to what has been reported in the summary: E AssertionError: False is not true ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any E urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution> FAILED pynicotine/tests/integration/test_startup.py::StartupTest::test_gui_startup - AssertionError: False is not true FAILED pynicotine/tests/unit/test_version.py::VersionTest::test_update_check - urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution> (org.nicotine_plus.Nicotine:104): Gtk-CRITICAL **: 15:46:01.234: gtk_icon_theme_add_resource_path: assertion 'GTK_IS_ICON_THEME (self)' failed (org.nicotine_plus.Nicotine:104): Gtk-CRITICAL **: 15:46:01.234: gtk_icon_theme_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed pynicotine/tests/integration/test_startup.py::StartupTest::test_gui_startup FAILED [ 3/62] pynicotine/tests/unit/test_version.py::VersionTest::test_update_check FAILED [41/62] TypeError: Argument 0 does not allow None as a value E socket.gaierror: [Errno -3] Temporary failure in name resolution
could you please tell me if you are running this under GTK3+ or GTK4?
I don't understand your question, the environment does not have a gui
That explains much. I have looked at those (org.nicotine_plus.Nicotine:104): Gtk-CRITICAL **: 15:46:01.234: gtk_icon_theme_add_resource_path: assertion 'GTK_IS_ICON_THEME (self)' failed (org.nicotine_plus.Nicotine:104): Gtk-CRITICAL **: 15:46:01.234: gtk_icon_theme_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed pynicotine/tests/integration/test_startup.py::StartupTest::test_gui_startup FAILED [ 3/62] And thought that this could be connected somehow. I have just emerged it with test succeeding on my main rig while offline. I'll look into that. Thanks for the report btw.
The build logs after 5771 suggest thta GUI does not launch. I thought that might be due to missing broadway USE flag, so I decided to check it. I am unable to reproduce the bug in a clean desktop nomultilib chroots. If i launch it with the GUI I get [2024-06-19 19:53:31] Loading Python 3.12.3 [2024-06-19 19:53:31] Loading Nicotine+ 3.3.4 Unrecognized value "gl-no-fractional". Try GDK_DEBUG=help [2024-06-19 19:53:32] Loading GTK 4.12.5 (org.nicotine_plus.Nicotine:18769): Gtk-WARNING **: 19:53:32.011: Unknown key gtk-modules in /home/setan/config/gtk-4.0/settings.ini [2024-06-19 19:53:32] Loading plugin system [2024-06-19 19:53:32] Loaded plugin Nicotine+ Commands [2024-06-19 19:53:32] Listening on port: 2234 ... and without it [2024-06-19 17:52:37] No graphical environment available, using headless (no GUI) mode [2024-06-19 17:52:37] Loading Python 3.12.3 (main, Jun 9 2024, 17:22:44) [GCC 13.2.1 20240210] [2024-06-19 17:52:37] Loading Nicotine+ 3.2.9 [2024-06-19 17:52:37] Listening on port: 2234 ... @Agostino Sarubbo It seems to me like you have an environment variable but not a graphical environment..? Also are you running the test with good DNS setup? the "Temporary failure in name resolution" makes me think that it has something to do with the errors.
@ago@gentoo.org can you please help me reproduce the bug?