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

Several ROOT 7 tests fail when assertions are enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 6.21/01
    • Fix Version/s: None
    • Component/s: Other, Testing
    • Labels:
      None
    • Environment:

      Linux, GCC 9.2.0, C++17, assertions enabled

    • Development:

      Description

      See below the result of running tests matching v7, several tests fail:

      build $ ctest -R v7 --output-on-failure 
      Test project /var/tmp/portage/sci-physics/root-9999/work/root-9999_build
            Start  26: gtest-graf2d-gpadv7-test-graf2dgpadv7testUnit
       1/37 Test  #26: gtest-graf2d-gpadv7-test-graf2dgpadv7testUnit ...............   Passed    0.16 sec
            Start  27: gtest-graf2d-primitivesv7-test-graf2dprimitivesv7testUnit
       2/37 Test  #27: gtest-graf2d-primitivesv7-test-graf2dprimitivesv7testUnit ...   Passed    0.01 sec
            Start  40: gtest-hist-histdrawv7-test-histhistdrawv7testUnit
       3/37 Test  #40: gtest-hist-histdrawv7-test-histhistdrawv7testUnit ...........   Passed    0.39 sec
            Start  41: gtest-hist-histv7-test-histhistv7testUnit
       4/37 Test  #41: gtest-hist-histv7-test-histhistv7testUnit ...................   Passed    0.01 sec
            Start 266: gtest-tree--v7-test-ntuple
       5/37 Test #266: gtest-tree--v7-test-ntuple ..................................   Passed   12.72 sec
            Start 267: gtest-tree-ntuple-v7-test-ntuple-metrics
       6/37 Test #267: gtest-tree-ntuple-v7-test-ntuple-metrics ....................   Passed    0.03 sec
            Start 268: gtest-tree-ntuple-v7-test-ntuple-minifile
       7/37 Test #268: gtest-tree-ntuple-v7-test-ntuple-minifile ...................   Passed   48.72 sec
            Start 269: gtest-tree-ntuple-v7-test-ntuple-packing
       8/37 Test #269: gtest-tree-ntuple-v7-test-ntuple-packing ....................   Passed    0.01 sec
            Start 270: gtest-tree-ntuple-v7-test-ntuple-pages
       9/37 Test #270: gtest-tree-ntuple-v7-test-ntuple-pages ......................   Passed    0.01 sec
            Start 271: gtest-tree-ntuple-v7-test-ntuple-print
      10/37 Test #271: gtest-tree-ntuple-v7-test-ntuple-print ......................   Passed   25.65 sec
            Start 272: gtest-tree-ntuple-v7-test-ntuple-raw
      11/37 Test #272: gtest-tree-ntuple-v7-test-ntuple-raw ........................   Passed    2.33 sec
            Start 273: gtest-tree-ntuple-v7-test-ntuple-zip
      12/37 Test #273: gtest-tree-ntuple-v7-test-ntuple-zip ........................   Passed    0.11 sec
            Start 863: tutorial-v7-ntuple-ntpl001_staff
      13/37 Test #863: tutorial-v7-ntuple-ntpl001_staff ............................   Passed    0.63 sec
            Start 864: tutorial-v7-ntuple-ntpl002_vector
      14/37 Test #864: tutorial-v7-ntuple-ntpl002_vector ...........................   Passed    0.71 sec
            Start 865: tutorial-v7-ntuple-ntpl003_lhcbOpenData
      15/37 Test #865: tutorial-v7-ntuple-ntpl003_lhcbOpenData .....................   Passed   20.18 sec
            Start 866: tutorial-v7-ntuple-ntpl004_dimuon
      16/37 Test #866: tutorial-v7-ntuple-ntpl004_dimuon ...........................***Failed   39.16 secProcessing /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/ntuple/ntpl004_dimuon.C...
      Warning in <ROOT [NTuple] Warning /var/tmp/portage/sci-physics/root-9999/work/root-9999/tree/ntuple/v7/src/RPageStorageFile.cxx:43 in ROOT::Experimental::Detail::RPageSinkFile::RPageSinkFile(std::string_view, std::string_view, const ROOT::Experimental::RNTupleWriteOptions&)>: The RNTuple file format will change. Do not store real data with this version of RNTuple!
      Wrote 100000 entries
      Wrote 200000 entries
      Wrote 300000 entries
      Wrote 400000 entries
      Wrote 500000 entries
      Wrote 600000 entries
      Wrote 700000 entries
      Wrote 800000 entries
      Wrote 900000 entries
      Wrote 1000000 entries
      Wrote 1100000 entries
      Wrote 1200000 entries
      Wrote 1300000 entries
      Wrote 1400000 entries
      Wrote 1500000 entries
      Wrote 1600000 entries
      Wrote 1700000 entries
      Wrote 1800000 entries
      Wrote 1900000 entries
      Wrote 2000000 entries
      Wrote 2100000 entries
      Wrote 2200000 entries
      Wrote 2300000 entries
      Wrote 2400000 entries
      Wrote 2500000 entries
      Wrote 2600000 entries
      Wrote 2700000 entries
      Wrote 2800000 entries
      Wrote 2900000 entries
      Wrote 3000000 entries
      Wrote 3100000 entries
      Wrote 3200000 entries
      Wrote 3300000 entries
      Wrote 3400000 entries
      Wrote 3500000 entries
      Wrote 3600000 entries
      Wrote 3700000 entries
      Wrote 3800000 entries
      Wrote 3900000 entries
      Wrote 4000000 entries
      root.exe: /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/ntuple/ntpl004_dimuon.C:123: T InvariantMassStdVector(std::vector<T> &, std::vector<T> &, std::vector<T> &, std::vector<T> &) [T = float]: Assertion `pt.size() == eta.size() == phi.size() == mass.size() == 2' failed.
      CMake Error at /var/tmp/portage/sci-physics/root-9999/work/root-9999_build/RootTestDriver.cmake:238 (message):
        error code: Child aborted      Start 880: tutorial-v7-box.cxx
      17/37 Test #880: tutorial-v7-box.cxx .........................................   Passed    0.73 sec
            Start 881: tutorial-v7-concurrentfill.cxx
      18/37 Test #881: tutorial-v7-concurrentfill.cxx ..............................***Failed    0.93 secProcessing /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/concurrentfill.cxx...
      root.exe: /var/tmp/portage/sci-physics/root-9999/work/root-9999/interpreter/llvm/src/tools/clang/lib/Serialization/ASTReaderDecl.cpp:882: void clang::ASTDeclReader::VisitFunctionDecl(clang::FunctionDecl*): Assertion `Reader.getContext().getLangOpts().Modules && "already deserialized this template specialization"' failed.
      CMake Error at /var/tmp/portage/sci-physics/root-9999/work/root-9999_build/RootTestDriver.cmake:238 (message):
        error code: Child aborted      Start 882: tutorial-v7-draw.cxx
      19/37 Test #882: tutorial-v7-draw.cxx ........................................***Failed    0.96 secProcessing /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/draw.cxx...
      root.exe: /var/tmp/portage/sci-physics/root-9999/work/root-9999/interpreter/llvm/src/tools/clang/lib/Serialization/ASTReaderDecl.cpp:882: void clang::ASTDeclReader::VisitFunctionDecl(clang::FunctionDecl*): Assertion `Reader.getContext().getLangOpts().Modules && "already deserialized this template specialization"' failed.
      CMake Error at /var/tmp/portage/sci-physics/root-9999/work/root-9999_build/RootTestDriver.cmake:238 (message):
        error code: Child aborted      Start 883: tutorial-v7-draw_frame.cxx
      20/37 Test #883: tutorial-v7-draw_frame.cxx ..................................***Failed    1.09 secProcessing /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/draw_frame.cxx...
      root.exe: /var/tmp/portage/sci-physics/root-9999/work/root-9999/interpreter/llvm/src/tools/clang/lib/Serialization/ASTReaderDecl.cpp:882: void clang::ASTDeclReader::VisitFunctionDecl(clang::FunctionDecl*): Assertion `Reader.getContext().getLangOpts().Modules && "already deserialized this template specialization"' failed.
      CMake Error at /var/tmp/portage/sci-physics/root-9999/work/root-9999_build/RootTestDriver.cmake:238 (message):
        error code: Child aborted      Start 884: tutorial-v7-draw_legend.cxx
      21/37 Test #884: tutorial-v7-draw_legend.cxx .................................***Failed  Error regular expression found in output. Regex=[: error:]  0.38 secProcessing /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/draw_legend.cxx...
      In file included from input_line_10:1:
      /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/draw_legend.cxx:49:34: error: no member named 'Color' in 'ROOT::Experimental::RAttrLine'
         draw1->AttrLine().SetWidth(2).Color().SetAuto();
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
      /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/draw_legend.cxx:53:34: error: no member named 'Color' in 'ROOT::Experimental::RAttrLine'
         draw2->AttrLine().SetWidth(4).Color().SetAuto();
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
      CMake Error at /var/tmp/portage/sci-physics/root-9999/work/root-9999_build/RootTestDriver.cmake:238 (message):
        error code: 1      Start 885: tutorial-v7-draw_mt.cxx
      22/37 Test #885: tutorial-v7-draw_mt.cxx .....................................***Failed    0.71 secProcessing /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/draw_mt.cxx...
      root.exe: /var/tmp/portage/sci-physics/root-9999/work/root-9999/interpreter/llvm/src/tools/clang/lib/Serialization/ASTReaderDecl.cpp:882: void clang::ASTDeclReader::VisitFunctionDecl(clang::FunctionDecl*): Assertion `Reader.getContext().getLangOpts().Modules && "already deserialized this template specialization"' failed.
      CMake Error at /var/tmp/portage/sci-physics/root-9999/work/root-9999_build/RootTestDriver.cmake:238 (message):
        error code: Child aborted      Start 886: tutorial-v7-draw_rh1.cxx
      23/37 Test #886: tutorial-v7-draw_rh1.cxx ....................................***Failed    0.63 secProcessing /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/draw_rh1.cxx...
      root.exe: /var/tmp/portage/sci-physics/root-9999/work/root-9999/interpreter/llvm/src/tools/clang/lib/Serialization/ASTReaderDecl.cpp:882: void clang::ASTDeclReader::VisitFunctionDecl(clang::FunctionDecl*): Assertion `Reader.getContext().getLangOpts().Modules && "already deserialized this template specialization"' failed.
      CMake Error at /var/tmp/portage/sci-physics/root-9999/work/root-9999_build/RootTestDriver.cmake:238 (message):
        error code: Child aborted      Start 887: tutorial-v7-draw_rh2_colz.cxx
      24/37 Test #887: tutorial-v7-draw_rh2_colz.cxx ...............................***Failed    1.10 secProcessing /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/draw_rh2_colz.cxx...
      root.exe: /var/tmp/portage/sci-physics/root-9999/work/root-9999/interpreter/llvm/src/tools/clang/lib/Serialization/ASTReaderDecl.cpp:882: void clang::ASTDeclReader::VisitFunctionDecl(clang::FunctionDecl*): Assertion `Reader.getContext().getLangOpts().Modules && "already deserialized this template specialization"' failed.
      CMake Error at /var/tmp/portage/sci-physics/root-9999/work/root-9999_build/RootTestDriver.cmake:238 (message):
        error code: Child aborted      Start 888: tutorial-v7-draw_subpads.cxx
      25/37 Test #888: tutorial-v7-draw_subpads.cxx ................................***Failed    0.65 secProcessing /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/draw_subpads.cxx...
      root.exe: /var/tmp/portage/sci-physics/root-9999/work/root-9999/interpreter/llvm/src/tools/clang/lib/Serialization/ASTReaderDecl.cpp:882: void clang::ASTDeclReader::VisitFunctionDecl(clang::FunctionDecl*): Assertion `Reader.getContext().getLangOpts().Modules && "already deserialized this template specialization"' failed.
      CMake Error at /var/tmp/portage/sci-physics/root-9999/work/root-9999_build/RootTestDriver.cmake:238 (message):
        error code: Child aborted      Start 889: tutorial-v7-draw_v6.cxx
      26/37 Test #889: tutorial-v7-draw_v6.cxx .....................................   Passed    0.47 sec
            Start 890: tutorial-v7-histops.cxx
      27/37 Test #890: tutorial-v7-histops.cxx .....................................***Failed    0.86 secProcessing /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/histops.cxx...
      root.exe: /var/tmp/portage/sci-physics/root-9999/work/root-9999/interpreter/llvm/src/tools/clang/lib/Serialization/ASTReaderDecl.cpp:882: void clang::ASTDeclReader::VisitFunctionDecl(clang::FunctionDecl*): Assertion `Reader.getContext().getLangOpts().Modules && "already deserialized this template specialization"' failed.
      CMake Error at /var/tmp/portage/sci-physics/root-9999/work/root-9999_build/RootTestDriver.cmake:238 (message):
        error code: Child aborted      Start 891: tutorial-v7-line.cxx
      28/37 Test #891: tutorial-v7-line.cxx ........................................   Passed    0.66 sec
            Start 892: tutorial-v7-lineRStyle.cxx
      29/37 Test #892: tutorial-v7-lineRStyle.cxx ..................................   Passed    0.90 sec
            Start 893: tutorial-v7-lineStyle.cxx
      30/37 Test #893: tutorial-v7-lineStyle.cxx ...................................   Passed    0.70 sec
            Start 894: tutorial-v7-lineWidth.cxx
      31/37 Test #894: tutorial-v7-lineWidth.cxx ...................................   Passed    0.73 sec
            Start 895: tutorial-v7-markerStyle.cxx
      32/37 Test #895: tutorial-v7-markerStyle.cxx .................................   Passed    0.72 sec
            Start 896: tutorial-v7-pad.cxx
      33/37 Test #896: tutorial-v7-pad.cxx .........................................   Passed    0.66 sec
            Start 897: tutorial-v7-perf.cxx
      34/37 Test #897: tutorial-v7-perf.cxx ........................................***Failed    0.90 secProcessing /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/perf.cxx...
      root.exe: /var/tmp/portage/sci-physics/root-9999/work/root-9999/interpreter/llvm/src/tools/clang/lib/Serialization/ASTReaderDecl.cpp:882: void clang::ASTDeclReader::VisitFunctionDecl(clang::FunctionDecl*): Assertion `Reader.getContext().getLangOpts().Modules && "already deserialized this template specialization"' failed.
      CMake Error at /var/tmp/portage/sci-physics/root-9999/work/root-9999_build/RootTestDriver.cmake:238 (message):
        error code: Child aborted      Start 898: tutorial-v7-perfcomp.cxx
      35/37 Test #898: tutorial-v7-perfcomp.cxx ....................................***Failed    0.93 secProcessing /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/perfcomp.cxx...
      root.exe: /var/tmp/portage/sci-physics/root-9999/work/root-9999/interpreter/llvm/src/tools/clang/lib/Serialization/ASTReaderDecl.cpp:882: void clang::ASTDeclReader::VisitFunctionDecl(clang::FunctionDecl*): Assertion `Reader.getContext().getLangOpts().Modules && "already deserialized this template specialization"' failed.
      CMake Error at /var/tmp/portage/sci-physics/root-9999/work/root-9999_build/RootTestDriver.cmake:238 (message):
        error code: Child aborted      Start 899: tutorial-v7-simple.cxx
      36/37 Test #899: tutorial-v7-simple.cxx ......................................***Failed    1.00 secProcessing /var/tmp/portage/sci-physics/root-9999/work/root-9999/tutorials/v7/simple.cxx...
      root.exe: /var/tmp/portage/sci-physics/root-9999/work/root-9999/interpreter/llvm/src/tools/clang/lib/Serialization/ASTReaderDecl.cpp:882: void clang::ASTDeclReader::VisitFunctionDecl(clang::FunctionDecl*): Assertion `Reader.getContext().getLangOpts().Modules && "already deserialized this template specialization"' failed.
      CMake Error at /var/tmp/portage/sci-physics/root-9999/work/root-9999_build/RootTestDriver.cmake:238 (message):
        error code: Child aborted      Start 900: tutorial-v7-text.cxx
      37/37 Test #900: tutorial-v7-text.cxx ........................................   Passed    0.70 sec65% tests passed, 13 tests failed out of 37Label Time Summary:
      tutorial    =  77.08 sec*proc (25 tests)Total Test time (real) = 168.60 secThe following tests FAILED:
      	866 - tutorial-v7-ntuple-ntpl004_dimuon (Failed)
      	881 - tutorial-v7-concurrentfill.cxx (Failed)
      	882 - tutorial-v7-draw.cxx (Failed)
      	883 - tutorial-v7-draw_frame.cxx (Failed)
      	884 - tutorial-v7-draw_legend.cxx (Failed)
      	885 - tutorial-v7-draw_mt.cxx (Failed)
      	886 - tutorial-v7-draw_rh1.cxx (Failed)
      	887 - tutorial-v7-draw_rh2_colz.cxx (Failed)
      	888 - tutorial-v7-draw_subpads.cxx (Failed)
      	890 - tutorial-v7-histops.cxx (Failed)
      	897 - tutorial-v7-perf.cxx (Failed)
      	898 - tutorial-v7-perfcomp.cxx (Failed)
      	899 - tutorial-v7-simple.cxx (Failed)
      Errors while running CTest
      

        Attachments

          Activity

            People

            • Assignee:
              slinev Serguei Linev
              Reporter:
              amadio Guilherme Amadio
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: