Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753979 - media-libs/lilv-0.24.10 fails tests: ImportError: Failed to import test module: test_api
Summary: media-libs/lilv-0.24.10 fails tests: ImportError: Failed to import test modul...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-11-11 08:10 UTC by Toralf Förster
Modified: 2023-10-02 07:22 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.74 KB, text/plain)
2020-11-11 08:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,241.09 KB, text/plain)
2020-11-11 08:10 UTC, Toralf Förster
Details
environment (environment,107.91 KB, text/plain)
2020-11-11 08:10 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.25 KB, application/x-bzip)
2020-11-11 08:10 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.53 KB, application/x-bzip)
2020-11-11 08:10 UTC, Toralf Förster
Details
media-libs:lilv-0.24.10:20201110-234956.log (media-libs:lilv-0.24.10:20201110-234956.log,29.41 KB, text/plain)
2020-11-11 08:10 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.01 KB, application/x-bzip)
2020-11-11 08:10 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-11-11 08:10:29 UTC
ERROR: test_api (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_api
Traceback (most recent call last):
  File "/usr/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_abi32+64_test-20201027-192603

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.1
 [3] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Rust versions:
  [1]   rust-bin-1.47.0 *
  [2]   rust-1.47.0
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Nov 10 11:05:34 PM UTC 2020
/var/db/repos/libressl	Sat Nov  7 03:06:11 PM UTC 2020

emerge -qpvO media-libs/lilv
[ebuild  N    ] media-libs/lilv-0.24.10  USE="dyn-manifest test -doc -static-libs" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2020-11-11 08:10:32 UTC
Created attachment 670858 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-11-11 08:10:33 UTC
Created attachment 670861 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-11-11 08:10:35 UTC
Created attachment 670864 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-11-11 08:10:36 UTC
Created attachment 670867 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-11-11 08:10:37 UTC
Created attachment 670870 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-11-11 08:10:39 UTC
Created attachment 670873 [details]
media-libs:lilv-0.24.10:20201110-234956.log
Comment 7 Toralf Förster gentoo-dev 2020-11-11 08:10:40 UTC
Created attachment 670876 [details]
temp.tbz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-02-13 10:01:20 UTC
Update summary. [something] is used when something refers to an overlay
Comment 9 Ansers 2023-10-02 07:22:45 UTC
Hey there,

I stumbled upon this rather peculiar issue with media-libs/lilv-0.24.10, and it's got me scratching my head a bit. It seems like you're facing an ImportError when trying to run the test module 'test_api.' That's never a good sign, right?

Now, diving into the technical details, it's intriguing to see that you're working with an unstable amd64 chroot image, which can sometimes be a bit finicky. The gcc-config and clang versions look pretty standard, so I don't suspect any major issues there.

To address this ImportError, I'd suggest checking your Python environment. I usually do it with this: https://andersenlab.com/services/quality-assurance-services. Given the list of available Python interpreters, it might be a good idea to ensure that you have all the necessary dependencies installed for your Python version. Also, double-check if you've set up the proper environment variables and paths.

As for my experience, I've encountered similar import issues in the past, and often, they've been resolved by fine-tuning the Python environment.