Skip to content

Test failures with ROOT master on Gentoo #7936

@amadio

Description

@amadio

I am in the process of updating ROOT from 6.22/08 to 6.24/00 on Gentoo, and I see several test failures which may need to be looked into before I can commit the new version.

I am using ROOT master at f7adfb5, GCC 8.4.0 in Gentoo, compiling for C++17, and enabling everything that I can in the build, except for a few annoying things like Oracle DB, etc. The command line for CMake was

$ cmake  -DCMAKE_INSTALL_RPATH="$ORIGIN" -DPYTHON_EXECUTABLE="/usr/bin/python" -Dalien="OFF" -Dall="ON" -Darrow="OFF" -Dcuda="OFF" -Dcudnn="OFF" -Ddcache="OFF" -Dfail-on-missing="ON" -Dgfal="OFF" -Dmemstat="OFF" -Dmonalisa="OFF" -Doracle="OFF" -Dpyroot="ON" -Drpath="ON" -Dtest_distrdf_pyspark="OFF" -Dtmva-gpu="OFF" -Dvc="OFF" -Dvdt="OFF" -Dveccore="OFF" -Dvecgeom="OFF" -Dvmc="OFF" -Dtesting="ON" -Droottest="ON" /srv/root/src/root

and the following features were enabled:

-- Enabled support for:  asimage builtin_clang builtin_cling builtin_llvm builtin_openui5 cefweb clad dataframe davix exceptions fftw3 fitsio fortran gdml gviz http fcgi imt mathmore mlp minuit2 mysql odbc opengl pgsql pyroot pythia6 pythia8 qt5web r roofit webgui root7 rpath runtime_cxxmodules shadowpw shared sqlite ssl tmva tmva-cpu tmva-pymva tmva-rmva spectrum unuran uring x11 xml xrootd

The CMakeCache.txt file is attached.

The test failures are as follows:

The following tests FAILED:
	 10 - pyunittests-pyroot-import-load-libs (Failed)
	 85 - gtest-core-metacling-test-TClingTest (Failed)
	994 - tutorial-v7-ntuple-ntpl005_introspection (Failed)
	1335 - roottest-python-JupyROOT-importROOT_notebook (Failed)
	1336 - roottest-python-JupyROOT-simpleCppMagic_notebook (Failed)
	1437 - roottest-python-pickle-read (Failed)
	1496 - roottest-root-dataframe-regression_snapshot (Failed)
	1499 - roottest-root-dataframe-test_snapshot (Failed)
	1500 - roottest-root-dataframe-test_stringfiltercolumn (Failed)
	1501 - roottest-root-dataframe-test_glob (Failed)
	1502 - roottest-root-dataframe-test_reduce (Failed)
	1513 - roottest-root-dataframe-ctors (Failed)

Update: JupyROOT tests using wrong Python version were due to a configuration issue in jupyter on my machine. Please ignore those. For the other tests, I repeated the build with GCC 10.3 and I still see the same failures.

Please click here for the full output for each test.
Some things to note:

  • Test pyunittests-pyroot-import-load-libs fails with
ERROR: test_import (import_load_libs.ImportLoadLibs)
Test libraries loaded after importing ROOT
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/root/src/root/bindings/pyroot/pythonizations/test/import_load_libs.py", line 117, in test_import
    raise Exception('Found not whitelisted libraries after importing ROOT:' \
Exception: Found not whitelisted libraries after importing ROOT:
 - libz3
If the test fails with a library that is loaded on purpose, please add it to the whitelist.

Note that z3 is a library used by LLVM. It may be that because I have other versions of LLVM/Clang in the system, z3 got installed and picked up by the builtin LLVM from the ROOT build. Ideally, this sort of behavior of automatically picking whatever is installed on the system should be avoided, as it can cause problems, so I recommend looking into the configuration of the builtin LLVM more closely and either disabling z3 if not used, or adding it to the dependencies of ROOT and enabling by force.

  • Test tutorial-v7-ntuple-ntpl005_introspection failure is related to uring support, is that tested in nightlies? It could also be a permissions issue that I don't have configured properly, I don't know.
      Start  995: tutorial-v7-ntuple-ntpl005_introspection
 7/18 Test  #995: tutorial-v7-ntuple-ntpl005_introspection ...........***Failed    1.57 sec
...
terminate called after throwing an instance of 'std::runtime_error'
  what():  Fatal Error: failed to allocate memory for the smallest possible io_uring instance. 'memlock' memory has been exhausted for this user
CMake Error at /srv/root/build/RootTestDriver.cmake:237 (message):
  error code: Subprocess aborted
  • The dataframe tests all fail with something like this
Processing /srv/root/src/roottest/root/dataframe/test_ctors.C+...
Info in <TUnixSystem::ACLiC>: creating shared library /srv/root/build/roottest/root/dataframe/test_ctors_C.so
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /srv/root/build/roottest/root/dataframe/par: _ZTISt16invalid_argument: invalid version 7 (max 0)
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /srv/root/build/roottest/root/dataframe/par: error adding symbols: bad value
collect2: error: ld returned 1 exit status

Could it be a mismatch between Clang and GCC ABIs? Or maybe an issue with my linker? (I am using binutils version 2.35.2).

Please let me know if you have any questions.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions