Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7786

mismatch in roottest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.06/00, 6.04/08
    • Fix Version/s: 6.06/00, 6.08/00
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      macos

      Description

      Hi,

      With the same version of ROOT build with cmake/ninja. The result of roottest depends on whether it is run with ctest or make. Whereas make run roottest successfully:

      make -j 4 -k
      .....
      Tests in . ......................................................... OK
       
      real	19m28.349s
      user	61m17.258s
      sys	8m51.863s

      while ctest fails many test:

      ctest -j4
      .....
      Total Test time (real) = 491.67 sec
       
      The following tests FAILED:
      	167 - roottest-root-hist-h2root (Failed)
      	301 - roottest-root-meta-drawing (Failed)
      	556 - roottest-root-rint-TabCom (Failed)
      	570 - roottest-root-tree-entrylist (Failed)
      	572 - roottest-root-tree-fastcloning (Failed)
      	573 - roottest-root-tree-friend (Failed)
      	584 - roottest-root-tree-tcut (Failed)
      Errors while running CTest
       
      real	8m11.713s
      user	22m16.531s
      sys	3m59.255s

      Also of note, how ctest is so much faster that make (feels like missing test) ...

      Some of the failure seems spurrious:

       ctest -V -R roottest-root-hist-h2root
      UpdateCTestConfiguration  from :/opt/build/root_builds/rootcling.cmake/roottest_ctest/DartConfiguration.tcl
      Parse Config file:/opt/build/root_builds/rootcling.cmake/roottest_ctest/DartConfiguration.tcl
       Add coverage exclude regular expressions.
      UpdateCTestConfiguration  from :/opt/build/root_builds/rootcling.cmake/roottest_ctest/DartConfiguration.tcl
      Parse Config file:/opt/build/root_builds/rootcling.cmake/roottest_ctest/DartConfiguration.tcl
      Test project /opt/build/root_builds/rootcling.cmake/roottest_ctest
      Constructing a list of tests
      Ignore test: roottest-cling-parsing-semicolon
      Done constructing a list of tests
      Checking test dependency graph...
      Checking test dependency graph end
      test 167
          Start 167: roottest-root-hist-h2root
       
      167: Test command: /Applications/CMake.app/Contents/bin/cmake "-DCMD=/opt/build/root_builds/rootcling.cmake/roottest_ctest/root/hist/h2root^mb4i1.hbook" "-DOUT=/opt/build/root_builds/rootcling.cmake/roottest_ctest/root/hist/roottest-root-hist-h2root.log" "-DOUTREF=/Users/pcanal/root_working/code/roottest.master/root/hist/h2root.ref" "-DCWD=/opt/build/root_builds/rootcling.cmake/roottest_ctest/root/hist" "-DDIFFCMD=/Users/pcanal/root_working/code/roottest.master/scripts/custom_diff.py" "-DCHECKOUT=true" "-DCHECKERR=true" "-DSYS=/opt/build/root_builds/rootcling.cmake" "-DENV=ROOTSYS@/opt/build/root_builds/rootcling.cmake#PATH@/opt/build/root_builds/rootcling.cmake/bin:/opt/build/root_builds/rootcling.cmake/bin:/Users/pcanal/bin:/usr/bin:/usr/local/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin#PYTHONPATH@/opt/build/root_builds/rootcling.cmake/lib:/opt/build/root_builds/rootcling.cmake/lib#DYLD_LIBRARY_PATH@/opt/build/root_builds/rootcling.cmake/lib:/opt/build/root_builds/rootcling.cmake/lib" "-DCOPY=/Users/pcanal/root_working/code/roottest.master/root/hist/mb4i1.hbook" "-P" "/Users/pcanal/root_working/code/rootcling/cmake/modules/RootTestDriver.cmake"
      167: Test timeout computed to be: 3600
      167: -- TEST COMMAND -- 
      167: cd /opt/build/root_builds/rootcling.cmake/roottest_ctest/root/hist
      167: /opt/build/root_builds/rootcling.cmake/roottest_ctest/root/hist/h2root mb4i1.hbook
      167: -- BEGIN TEST OUTPUT --
      167: 
      167: -- END TEST OUTPUT --
      167: CMake Error at /Users/pcanal/root_working/code/rootcling/cmake/modules/RootTestDriver.cmake:153 (message):
      167:   error code: No such file or directory
      167: 
      167: 
      1/1 Test #167: roottest-root-hist-h2root ........***Failed    0.04 sec
       
      0% tests passed, 1 tests failed out of 1
       
      Total Test time (real) =   0.93 sec
       
      The following tests FAILED:
      	167 - roottest-root-hist-h2root (Failed)
      Errors while running CTest
      mac-122034:roottest_ctest pcanal$ find . -name mb4i1.hbook
      ./root/hist/mb4i1.hbook

      Cheers,
      Philippe.

        Attachments

          Activity

            People

            • Assignee:
              mato Pere Mato Vila
              Reporter:
              pcanal Philippe Canal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Actual End: