roottest icon indicating copy to clipboard operation
roottest copied to clipboard

Add test for ROOT_LIBRARY_PATH

Open pcanal opened this issue 4 years ago • 16 comments

pcanal avatar Apr 07 '21 17:04 pcanal

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14 How to customize builds

phsft-bot avatar Apr 07 '21 17:04 phsft-bot

Build failed on ROOT-fedora31/noimt. Running on root-fedora-31-2.cern.ch:/home/sftnight/build/workspace/roottest-pullrequests-build See console output.

Failing tests:

phsft-bot avatar Apr 07 '21 17:04 phsft-bot

Build failed on ROOT-fedora30/cxx14. Running on root-fedora30-2.cern.ch:/home/sftnight/build/workspace/roottest-pullrequests-build See console output.

Failing tests:

phsft-bot avatar Apr 07 '21 17:04 phsft-bot

@ChristianTackeGSI

pcanal avatar Apr 07 '21 17:04 pcanal

@ChristianTackeGSI Could you take a look at the results?

pcanal avatar Apr 07 '21 17:04 pcanal

Build failed on ROOT-ubuntu16/nortcxxmod. Running on sft-ubuntu-1604-1.cern.ch:/build/workspace/roottest-pullrequests-build See console output.

Failing tests:

phsft-bot avatar Apr 07 '21 17:04 phsft-bot

Build failed on ROOT-performance-centos8-multicore/default. Running on olbdw-01.cern.ch:/data/sftnight/workspace/roottest-pullrequests-build See console output.

Failing tests:

phsft-bot avatar Apr 07 '21 17:04 phsft-bot

Build failed on ROOT-debian10-i386/cxx14. Running on pcepsft11.dyndns.cern.ch:/home/sftnight/build/workspace/roottest-pullrequests-build See console output.

Failing tests:

phsft-bot avatar Apr 07 '21 18:04 phsft-bot

Hi @pcanal !

Thanks for taking care of this!

Obviously, my test should have had more output, so that one knows, where it fails. Hmpf.

But after starring a while at it, I have some vague idea: /home/sftnight/build/workspace/roottest-pullrequests-build/build/lib is listed more than once in there, which already is suspicous. So I wonder, whether LD_LIBRARY_PATH (or alike) has this path in it when the tests start?

ChristianTackeGSI avatar Apr 07 '21 19:04 ChristianTackeGSI

@Axel-Naumann

First excuse me for not taking more care of this. It was always on my TODO-list, but not at the top.

So what you're suggesting is to rewrite the shell script into a .cmake script that could be executed like ROOTTEST_ADD_TEST(… COMMAND cmake ... -P ${CMAKE_CURRENT_SOURCE_DIR}/test_dynpath_setup.cmake -DROOT_root_CMD=${ROOT_root_CMD}? And in the .cmake we use $ENV{…}?

Interesting approach! This might work, yes! Would take me a bit of time to rewrite. But yes, I could look into this.

ChristianTackeGSI avatar Jun 21 '21 12:06 ChristianTackeGSI

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-ubuntu16/nortcxxmod, ROOT-ubuntu2004/soversion, mac1015/python3, mac11/cxx17, windows10/cxx14 How to customize builds

phsft-bot avatar Feb 03 '22 21:02 phsft-bot

Build failed on ROOT-debian10-i386/cxx14. Running on pcepsft10.dyndns.cern.ch:/build/workspace/roottest-pullrequests-build See console output.

Failing tests:

phsft-bot avatar Feb 03 '22 21:02 phsft-bot

Build failed on ROOT-ubuntu16/nortcxxmod. Running on sft-ubuntu-1604-1.cern.ch:/build/workspace/roottest-pullrequests-build See console output.

Failing tests:

phsft-bot avatar Feb 03 '22 21:02 phsft-bot

Build failed on ROOT-ubuntu2004/soversion. Running on root-ubuntu-2004-3.cern.ch:/home/sftnight/build/workspace/roottest-pullrequests-build See console output.

Failing tests:

phsft-bot avatar Feb 04 '22 07:02 phsft-bot

Build failed on ROOT-performance-centos8-multicore/default. Running on olbdw-01.cern.ch:/data/sftnight/workspace/roottest-pullrequests-build See console output.

Errors:

  • [2022-02-04T12:02:03.824Z] CMake Error at cmake/modules/SearchInstalledSoftware.cmake:1784 (message):
  • [2022-02-04T12:02:03.824Z] CMake Error at /data/sftnight/workspace/roottest-pullrequests-build/rootspi/jenkins/root-build.cmake:1142 (message):

phsft-bot avatar Feb 04 '22 12:02 phsft-bot