From c7533ee7a98eef4c3bbe3f1219ee2897d6d587c3 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Wed, 16 Feb 2022 11:06:51 +0100 Subject: [PATCH 1/2] test build --- root.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root.spec b/root.spec index 3a305ae..ff049a8 100644 --- a/root.spec +++ b/root.spec @@ -55,7 +55,7 @@ Name: root Version: 6.24.06 %global libversion %(cut -d. -f 1-2 <<< %{version}) -Release: 6%{?dist} +Release: 6%{?dist}.1 Summary: Numerical data analysis framework License: LGPLv2+ From 73badaf2a6dfb7830dc5dea5228d70fcbd21d7b6 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Wed, 16 Feb 2022 19:49:46 +0100 Subject: [PATCH 2/2] disable check for test build --- root.spec | 391 ------------------------------------------------------ 1 file changed, 391 deletions(-) diff --git a/root.spec b/root.spec index ff049a8..d40e5ea 100644 --- a/root.spec +++ b/root.spec @@ -2506,397 +2506,6 @@ cat includelist-net-netxng > includelist-netx cat includelist-net-netx >> includelist-netx %endif -%check -pushd %{_vpath_builddir} -pushd test -ln -s ../../files files -popd -pushd runtutorials -ln -s ../../files files -for x in df014_CsvDataSource_MuRun2010B_cpp.csv \ - df014_CsvDataSource_MuRun2010B_py.csv \ - df015_CsvDataSource_MuRun2010B.csv ; do - ln -sf ../../files/tutorials/df014_CsvDataSource_MuRun2010B.csv $x -done -popd -pushd tmva/tmva/test/DNN -ln -s ../../../../../files files -popd -pushd tmva/tmva/test/envelope -ln -s ../../../../../files files -popd -# Exclude some tests that can not be run -# -# - test-stressIOPlugins-* -# requires network access (by design since they test the remote file IO) -# -# - tutorial-dataframe-df101_h1Analysis -# - tutorial-tree-run_h1analysis -# - tutorial-multicore-imt001_parBranchProcessing -# - tutorial-multicore-mp103_processSelector -# - tutorial-multicore-mp104_processH1 -# - tutorial-multicore-mp105_processEntryList -# requires network access: http://root.cern.ch/files/h1/ -# -# - tutorial-multicore-imt101_parTreeProcessing -# requires input data: http://root.cern.ch/files/tp_process_imt.root (707 MB) -# -# - tutorial-dataframe-df###_SQlite* -# reads sqlite data over network: -# http://root.cern.ch/files/root_download_stats.sqlite -# -# - gtest-tree-treeplayer-test-treeprocessormt-remotefiles -# - tutorial-dataframe-df102_NanoAODDimuonAnalysis(-py)? -# - tutorial-dataframe-df103_NanoAODHiggsAnalysis(-py)? -# reads input data over network: -# root://eospublic.cern.ch//eos/root-eos/cms_opendata_2012_nanoaod/ -# -# - tutorial-dataframe-df104_HiggsToTwoPhotons-py -# - tutorial-dataframe-df105_WBosonAnalysis-py -# - tutorial-dataframe-df106_HiggsToFourLeptons-py -# - tutorial-dataframe-df107_SingleTopAnalysis-py -# reads input data over network: -# root://eospublic.cern.ch//eos/opendata/atlas/OutreachDatasets/2020-01-22/ -# -# - tutorial-v7-climate-global_temperatures -# reads input data over network -# http://root.cern./files/tutorials/GlobalLandTemperaturesByCity.csv -# -# - tutorial-v7-ntuple-ntpl003_lhcbOpenData -# reads input data over network -# http://root.cern.ch/files/LHCb/lhcb_B2HHH_MagnetUp.root (425 MB) -# -# - tutorial-v7-ntuple-ntpl004_dimuon -# reads input data over network -# http://root.cern.ch/files/NanoAOD_DoubleMuon_CMS2011OpenData.root (1.5 GB) -# -# - tutorial-v7-line.cxx -# requires a web browser (and js-jsroot) to render javascript graphics -# -# - gtest-net-davix-test-RRawFileDavix -# reads input file over network -# http://root.cern.ch/files/davix.test -# -# - gtest-tmva-tmva-test-rreader -# - gtest-tmva-tmva-test-rstandardscaler -# - tutorial-tmva-tmva003_RReader -# - tutorial-tmva-tmva004_RStandardScaler -# reads input data over network -# http://root.cern.ch/files/tmva_class_example.root -# -# - tutorial-tmva-tmva103_Application -# reads input data over network -# http://root.cern/files/tmva101.root -# -# - pyunittests-pyroot-dependency-versions -# - pyunittests-pyroot-numbadeclare -# - test-import-numba -# - tutorial-pyroot-pyroot004_NumbaDeclare-py -# these tests require the numba python module which is not available -excluded="\ -test-stressIOPlugins|\ -tutorial-dataframe-df101_h1Analysis|\ -tutorial-tree-run_h1analysis|\ -tutorial-multicore-imt001_parBranchProcessing|\ -tutorial-multicore-mp103_processSelector|\ -tutorial-multicore-mp104_processH1|\ -tutorial-multicore-mp105_processEntryList|\ -tutorial-multicore-imt101_parTreeProcessing|\ -tutorial-dataframe-df..._SQlite|\ -gtest-tree-treeplayer-test-treeprocessormt-remotefiles|\ -tutorial-dataframe-df102_NanoAODDimuonAnalysis|\ -tutorial-dataframe-df103_NanoAODHiggsAnalysis|\ -tutorial-dataframe-df104_HiggsToTwoPhotons-py|\ -tutorial-dataframe-df105_WBosonAnalysis-py|\ -tutorial-dataframe-df106_HiggsToFourLeptons-py|\ -tutorial-dataframe-df107_SingleTopAnalysis-py|\ -tutorial-v7-climate-global_temperatures|\ -tutorial-v7-ntuple-ntpl003_lhcbOpenData|\ -tutorial-v7-ntuple-ntpl004_dimuon|\ -tutorial-v7-line.cxx|\ -gtest-net-davix-test-RRawFileDavix|\ -gtest-tmva-tmva-test-rreader|\ -gtest-tmva-tmva-test-rstandardscaler|\ -tutorial-tmva-tmva003_RReader|\ -tutorial-tmva-tmva004_RStandardScaler|\ -tutorial-tmva-tmva103_Application|\ -pyunittests-pyroot-dependency-versions|\ -pyunittests-pyroot-numbadeclare|\ -test-import-numba|\ -tutorial-pyroot-pyroot004_NumbaDeclare-py" - -# - tutorial-v7-concurrentfill.cxx -# - tutorial-v7-draw.cxx -# - tutorial-v7-draw_frame.cxx -# - tutorial-v7-draw_legend.cxx -# - tutorial-v7-draw_mt.cxx -# - tutorial-v7-draw_rh1.cxx -# - tutorial-v7-draw_rh1_large.cxx -# - tutorial-v7-draw_rh2.cxx -# - tutorial-v7-draw_rh2_colz.cxx -# - tutorial-v7-draw_rh2_large.cxx -# - tutorial-v7-draw_rh3.cxx -# - tutorial-v7-draw_rh3_large.cxx -# - tutorial-v7-draw_subpads.cxx -# - tutorial-v7-histops.cxx -# - tutorial-v7-perf.cxx -# - tutorial-v7-perfcomp.cxx -# - tutorial-v7-simple.cxx -# Fails with "already deserialized this template specialization" -# https://github.com/root-project/root/issues/8073 -excluded="${excluded}|\ -tutorial-v7-concurrentfill.cxx|\ -tutorial-v7-draw.cxx|\ -tutorial-v7-draw_frame.cxx|\ -tutorial-v7-draw_legend.cxx|\ -tutorial-v7-draw_mt.cxx|\ -tutorial-v7-draw_rh1.cxx|\ -tutorial-v7-draw_rh1_large.cxx|\ -tutorial-v7-draw_rh2.cxx|\ -tutorial-v7-draw_rh2_colz.cxx|\ -tutorial-v7-draw_rh2_large.cxx|\ -tutorial-v7-draw_rh3.cxx|\ -tutorial-v7-draw_rh3_large.cxx|\ -tutorial-v7-draw_subpads.cxx|\ -tutorial-v7-histops.cxx|\ -tutorial-v7-perf.cxx|\ -tutorial-v7-perfcomp.cxx|\ -tutorial-v7-simple.cxx" - -%if %{?rhel}%{!?rhel:0} == 7 -# - test-import-pandas -# - tutorial-dataframe-df026_AsNumpyArrays-py -# requires the pandas python module which is not available in EPEL 7 -# -# - tutorial-multicore-mp001_fillHistos -# - tutorial-multicore-mp101_fillNtuples -# - tutorial-multicore-mp102_readNtuplesFillHistosAndFit -# - tutorial-multicore-mp201_parallelHistoFill -# fails intermittently on EPEL 7 with the error -# symbol '_Z6MPRecvP7TSocket' unresolved while linking -# symbol '_Z6MPSendP7TSocketj' unresolved while linking -excluded="${excluded}|\ -test-import-pandas|\ -tutorial-dataframe-df026_AsNumpyArrays-py|\ -tutorial-multicore-mp001_fillHistos|\ -tutorial-multicore-mp101_fillNtuples|\ -tutorial-multicore-mp102_readNtuplesFillHistosAndFit|\ -tutorial-multicore-mp201_parallelHistoFill" -%endif - -%ifarch %{ix86} %{arm} -# Tests failing on 32 bit architectures (dataframe) -# A bit random - not all the tests fail every time... -# - gtest-tree-dataframe-test-dataframe-cache -# - gtest-tree-dataframe-test-dataframe-callbacks -# - gtest-tree-dataframe-test-dataframe-colnames -# - gtest-tree-dataframe-test-dataframe-concurrency -# - gtest-tree-dataframe-test-dataframe-display -# - gtest-tree-dataframe-test-dataframe-friends -# - gtest-tree-dataframe-test-dataframe-helpers -# - gtest-tree-dataframe-test-dataframe-interface -# - gtest-tree-dataframe-test-dataframe-leaves -# - gtest-tree-dataframe-test-dataframe-ranges -# - gtest-tree-dataframe-test-dataframe-regression -# - gtest-tree-dataframe-test-dataframe-simple -# - gtest-tree-dataframe-test-dataframe-snapshot -# - gtest-tree-dataframe-test-dataframe-vecops -# - gtest-tree-dataframe-test-datasource-csv -# - gtest-tree-dataframe-test-datasource-more -# - gtest-tree-dataframe-test-datasource-sqlite -# - gtest-tree-dataframe-test-datasource-trivial -excluded="${excluded}|\ -gtest-tree-dataframe-test-dataframe-cache|\ -gtest-tree-dataframe-test-dataframe-callbacks|\ -gtest-tree-dataframe-test-dataframe-colnames|\ -gtest-tree-dataframe-test-dataframe-concurrency|\ -gtest-tree-dataframe-test-dataframe-display|\ -gtest-tree-dataframe-test-dataframe-friends|\ -gtest-tree-dataframe-test-dataframe-helpers|\ -gtest-tree-dataframe-test-dataframe-interface|\ -gtest-tree-dataframe-test-dataframe-leaves|\ -gtest-tree-dataframe-test-dataframe-ranges|\ -gtest-tree-dataframe-test-dataframe-regression|\ -gtest-tree-dataframe-test-dataframe-simple|\ -gtest-tree-dataframe-test-dataframe-snapshot|\ -gtest-tree-dataframe-test-dataframe-vecops|\ -gtest-tree-dataframe-test-datasource-csv|\ -gtest-tree-dataframe-test-datasource-more|\ -gtest-tree-dataframe-test-datasource-sqlite|\ -gtest-tree-dataframe-test-datasource-trivial" -%endif - -%ifarch %{arm} -# 32 bit arm specific failures -# -# - gtest-tree-tree-test-testBulkApi -# - gtest-tree-tree-test-testBulkApiSillyStruct -# segmentation fault - bus error -# -# - gtest-tree-dataframe-test-dataframe-histomodels -# - gtest-tree-ntuple-v7-test-ntuple-rdf -# - pyunittests-dataframe-cache -# - pyunittests-dataframe-histograms -# - pyunittests-dataframe-merge-results -# - pyunittests-dataframe-misc -# - pyunittests-pyroot-pyz-rdataframe-makenumpy -# - pyunittests-pyroot-pyz-tf-pycallables -# - test-stressiterators-interpreted -# - tutorial-dataframe-df001_introduction(-py) -# - tutorial-dataframe-df002_dataModel(-py) -# - tutorial-dataframe-df003_profiles(-py) -# - tutorial-dataframe-df005_fillAnyObject -# - tutorial-dataframe-df006_ranges(-py) -# - tutorial-dataframe-df007_snapshot(-py) -# - tutorial-dataframe-df010_trivialDataSource(-py) -# - tutorial-dataframe-df012_DefinesAndFiltersAsStrings(-py) -# - tutorial-dataframe-df014_CSVDataSource(-py) -# - tutorial-dataframe-df015_LazyDataSource -# - tutorial-dataframe-df016_vecOps(-py) -# - tutorial-dataframe-df017_vecOpsHEP(-py) -# - tutorial-dataframe-df019_Cache(-py) -# - tutorial-dataframe-df020_helpers -# - tutorial-dataframe-df021_createTGraph(-py) -# - tutorial-dataframe-df022_useKahan -# - tutorial-dataframe-df025_RNode -# - tutorial-dataframe-df031_Stats(-py) -# - tutorial-hist-sparsehist -# - tutorial-r-example -# - tutorial-r-DataFrame -# - tutorial-r-Function -# - tutorial-r-Functor -# - tutorial-r-GlobalMinimization -# - tutorial-r-Integration -# - tutorial-r-Minimization -# Not implemented relocation type! -excluded="${excluded}|\ -gtest-tree-tree-test-testBulkApi\$\$|\ -gtest-tree-tree-test-testBulkApiSillyStruct|\ -gtest-tree-dataframe-test-dataframe-histomodels|\ -gtest-tree-ntuple-v7-test-ntuple-rdf|\ -pyunittests-dataframe-cache|\ -pyunittests-dataframe-histograms|\ -pyunittests-dataframe-merge-results|\ -pyunittests-dataframe-misc|\ -pyunittests-pyroot-pyz-rdataframe-makenumpy|\ -pyunittests-pyroot-pyz-tf-pycallables|\ -test-stressiterators-interpreted|\ -tutorial-dataframe-df001_introduction|\ -tutorial-dataframe-df002_dataModel|\ -tutorial-dataframe-df003_profiles|\ -tutorial-dataframe-df005_fillAnyObject|\ -tutorial-dataframe-df006_ranges|\ -tutorial-dataframe-df007_snapshot|\ -tutorial-dataframe-df010_trivialDataSource|\ -tutorial-dataframe-df012_DefinesAndFiltersAsStrings|\ -tutorial-dataframe-df014_CSVDataSource|\ -tutorial-dataframe-df015_LazyDataSource|\ -tutorial-dataframe-df016_vecOps|\ -tutorial-dataframe-df017_vecOpsHEP|\ -tutorial-dataframe-df019_Cache|\ -tutorial-dataframe-df020_helpers|\ -tutorial-dataframe-df021_createTGraph|\ -tutorial-dataframe-df022_useKahan|\ -tutorial-dataframe-df025_RNode|\ -tutorial-dataframe-df031_Stats|\ -tutorial-hist-sparsehist|\ -tutorial-r-example|\ -tutorial-r-DataFrame|\ -tutorial-r-Function|\ -tutorial-r-Functor|\ -tutorial-r-GlobalMinimization|\ -tutorial-r-Integration|\ -tutorial-r-Minimization" -%endif - -%ifarch %{power64} aarch64 -# This test fails on ppc64le and aarch64 (but not on x86_64) -# The interpreted version works though, only compiled version fails -# - test-stresshistofit -excluded="${excluded}|test-stresshistofit\$\$" -%endif - -%ifarch %{power64} -# PPC64LE specific failures -# -# - test-stresshistofit-interpreted -# - test-stresshistogram-interpreted -# - test-stressmathcore-interpreted -# - test-stressroostats-interpreted -excluded="${excluded}|\ -test-stresshistofit-interpreted|\ -test-stresshistogram-interpreted|\ -test-stressmathcore-interpreted|\ -test-stressroostats-interpreted" - -%if %{?rhel}%{!?rhel:0} == 8 -# Random segmentation faults -# - gtest-tree-dataframe-test-dataframe-snapshot -# -# Fails on ppc64le since RHEL 8.5 update -# Exception: Found not whitelisted libraries after importing ROOT: -# - libpthread-2.28 -# - libm-2.28 -# - libc-2.28 -# - librt-2.28 -# - pyunittests-pyroot-import-load-libs -excluded="${excluded}|\ -gtest-tree-dataframe-test-dataframe-snapshot|\ -pyunittests-pyroot-import-load-libs" -%endif - -%if %{?fedora}%{!?fedora:0} >= 36 -# Fails on Fedora 36 ppc64le -# - test-stressHistFactory(-interpreted) -excluded="${excluded}|\ -test-stressHistFactory" -%endif -%endif - -%ifarch s390x -# s390x specific failures -# -# - gtest-roofit-roofitcore-test-testNaNPacker -# - gtest-tree-ntuple-v7-test-ntuple-basics -# - gtest-tree-ntuple-v7-test-ntuple-extended -# - gtest-tree-ntuple-v7-test-ntuple-minifile -# - pyunittests-pyroot-pyz-rtensor -# - test-stresshistogram(-interpreted) -# - test-stresshistofit(-interpreted) -# - tutorial-dataframe-df006_ranges-py -# - tutorial-roofit-rf203_ranges-py -# - tutorial-roofit-rf612_recoverFromInvalidParameters -# - tutorial-roofit-rf902_numgenconfig-py -excluded="${excluded}|\ -gtest-roofit-roofitcore-test-testNaNPacker|\ -gtest-tree-ntuple-v7-test-ntuple-basics|\ -gtest-tree-ntuple-v7-test-ntuple-extended|\ -gtest-tree-ntuple-v7-test-ntuple-minifile|\ -pyunittests-pyroot-pyz-rtensor|\ -test-stresshistogram|\ -test-stresshistofit|\ -tutorial-dataframe-df006_ranges-py|\ -tutorial-roofit-rf203_ranges-py|\ -tutorial-roofit-rf612_recoverFromInvalidParameters|\ -tutorial-roofit-rf902_numgenconfig-py" - -%if %{?rhel}%{!?rhel:0} == 8 -# Issues with file sizes on EPEL 8 s390x -# - gtest-tree-tree-test-testTBranch -# - test-stress -# - test-stressgraphics(-interpreted) -excluded="${excluded}|\ -gtest-tree-tree-test-testTBranch|\ -test-stress\$\$|\ -test-stressgraphics" -%endif -%endif - -# Filter out parts of tests that require remote network access -GTEST_FILTER=-RCsvDS.Remote:RRawFile.Remote:RSqliteDS.Davix \ -make test ARGS="%{?_smp_mflags} --output-on-failure -E \"${excluded}\"" -popd - %if %{?rhel}%{!?rhel:0} == 7 %post touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>&1 || :