(coffea-env-source) [kmohrman@earth: coffea]$ pytest tests ============================================================================ test session starts ============================================================================= platform linux -- Python 3.8.3, pytest-6.2.3, py-1.10.0, pluggy-0.13.1 -- /afs/crc.nd.edu/user/k/kmohrman/miniconda3/envs/coffea-env-source/bin/python cachedir: .pytest_cache Matplotlib: 3.4.2 Freetype: 2.6.1 rootdir: /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea, configfile: setup.cfg, testpaths: tests plugins: mpl-0.12, mock-3.6.1, cov-2.12.1, asyncio-0.15.1 collected 90 items / 3 skipped / 87 selected tests/test_accumulators.py::test_accumulators PASSED [ 1%] tests/test_accumulators.py::test_new_accumulators PASSED [ 2%] tests/test_accumulators.py::test_accumulator_types PASSED [ 3%] tests/test_analysis_tools.py::test_weights PASSED [ 4%] tests/test_analysis_tools.py::test_weights_partial PASSED [ 5%] tests/test_analysis_tools.py::test_packed_selection PASSED [ 6%] tests/test_btag.py::test_BTagScalefactor PASSED [ 7%] tests/test_dask.py::test_dask_job SKIPPED (could not import 'distributed': No module named 'distributed') [ 8%] tests/test_dask.py::test_dask_cached SKIPPED (could not import 'distributed': No module named 'distributed') [ 10%] tests/test_dask_pandas.py::test_dask_pandas_job SKIPPED (could not import 'distributed': No module named 'distributed') [ 11%] tests/test_hist_plot.py::test_plot1d PASSED [ 12%] tests/test_hist_plot.py::test_plot2d PASSED [ 13%] tests/test_hist_plot.py::test_plotratio PASSED [ 14%] tests/test_hist_plot.py::test_plotgrid PASSED [ 15%] tests/test_hist_plot.py::test_clopper_pearson_interval PASSED [ 16%] tests/test_hist_plot.py::test_normal_interval PASSED [ 17%] tests/test_hist_tools.py::test_hist PASSED [ 18%] tests/test_hist_tools.py::test_export1d PASSED [ 20%] tests/test_hist_tools.py::test_hist_serdes PASSED [ 21%] tests/test_hist_tools.py::test_hist_serdes_labels PASSED [ 22%] tests/test_hist_tools.py::test_hist_compat PASSED [ 23%] tests/test_hist_tools.py::test_issue_247 PASSED [ 24%] tests/test_hist_tools.py::test_issue_333 PASSED [ 25%] tests/test_hist_tools.py::test_issue_394 PASSED [ 26%] tests/test_hist_tools.py::test_fill_none PASSED [ 27%] tests/test_hist_tools.py::test_boost_conversion PASSED [ 28%] tests/test_jetmet_tools.py::test_factorized_jet_corrector PASSED [ 30%] tests/test_jetmet_tools.py::test_jet_resolution PASSED [ 31%] tests/test_jetmet_tools.py::test_jet_correction_uncertainty PASSED [ 32%] tests/test_jetmet_tools.py::test_jet_correction_uncertainty_sources PASSED [ 33%] tests/test_jetmet_tools.py::test_jet_correction_regrouped_uncertainty_sources PASSED [ 34%] tests/test_jetmet_tools.py::test_jet_resolution_sf PASSED [ 35%] tests/test_jetmet_tools.py::test_jet_resolution_sf_2d PASSED [ 36%] tests/test_jetmet_tools.py::test_corrected_jets_factory PASSED [ 37%] tests/test_jetmet_tools.py::test_factory_lifecycle PASSED [ 38%] tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-None-None] PASSED [ 40%] tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-None-1000] PASSED [ 41%] tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-0-None] PASSED [ 42%] tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-0-1000] PASSED [ 43%] tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-2-None] PASSED [ 44%] tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-2-1000] PASSED [ 45%] tests/test_local_executors.py::test_nanoevents_analysis[futures_executor-None-None] PASSED [ 46%] tests/test_local_executors.py::test_nanoevents_analysis[futures_executor-None-1000] PASSED [ 47%] tests/test_local_executors.py::test_nanoevents_analysis[futures_executor-0-None] PASSED [ 48%] tests/test_local_executors.py::test_nanoevents_analysis[futures_executor-0-1000] PASSED [ 50%] tests/test_local_executors.py::test_nanoevents_analysis[futures_executor-2-None] PASSED [ 51%] tests/test_local_executors.py::test_nanoevents_analysis[futures_executor-2-1000] PASSED [ 52%] tests/test_local_executors.py::test_dataframe_analysis[iterative_executor-None-100000] PASSED [ 53%] tests/test_local_executors.py::test_dataframe_analysis[iterative_executor-None-5] PASSED [ 54%] tests/test_local_executors.py::test_dataframe_analysis[iterative_executor-BaseSchema-100000] PASSED [ 55%] tests/test_local_executors.py::test_dataframe_analysis[iterative_executor-BaseSchema-5] PASSED [ 56%] tests/test_local_executors.py::test_dataframe_analysis[futures_executor-None-100000] PASSED [ 57%] tests/test_local_executors.py::test_dataframe_analysis[futures_executor-None-5] PASSED [ 58%] tests/test_local_executors.py::test_dataframe_analysis[futures_executor-BaseSchema-100000] PASSED [ 60%] tests/test_local_executors.py::test_dataframe_analysis[futures_executor-BaseSchema-5] PASSED [ 61%] tests/test_lookup_tools.py::test_extractor_exceptions PASSED [ 62%] tests/test_lookup_tools.py::test_evaluator_exceptions PASSED [ 63%] tests/test_lookup_tools.py::test_evaluate_noimpl PASSED [ 64%] tests/test_lookup_tools.py::test_root_scalefactors PASSED [ 65%] tests/test_lookup_tools.py::test_btag_csv_scalefactors PASSED [ 66%] tests/test_lookup_tools.py::test_histo_json_scalefactors PASSED [ 67%] tests/test_lookup_tools.py::test_jec_txt_scalefactors PASSED [ 68%] tests/test_lookup_tools.py::test_jec_txt_effareas PASSED [ 70%] tests/test_lookup_tools.py::test_rochester PASSED [ 71%] tests/test_lookup_tools.py::test_dense_lookup PASSED [ 72%] tests/test_lumi_tools.py::test_lumidata PASSED [ 73%] tests/test_lumi_tools.py::test_lumimask PASSED [ 74%] tests/test_lumi_tools.py::test_lumilist PASSED [ 75%] tests/test_nanoevents.py::test_read_nanomc[root] PASSED [ 76%] tests/test_nanoevents.py::test_read_nanomc[parquet] PASSED [ 77%] tests/test_nanoevents.py::test_read_nanodata[root] PASSED [ 78%] tests/test_nanoevents.py::test_read_nanodata[parquet] PASSED [ 80%] tests/test_nanoevents_vector.py::test_two_vector PASSED [ 81%] tests/test_nanoevents_vector.py::test_polar_two_vector PASSED [ 82%] tests/test_nanoevents_vector.py::test_three_vector PASSED [ 83%] tests/test_nanoevents_vector.py::test_spherical_three_vector PASSED [ 84%] tests/test_nanoevents_vector.py::test_lorentz_vector PASSED [ 85%] tests/test_nanoevents_vector.py::test_pt_eta_phi_m_lorentz_vector PASSED [ 86%] tests/test_nanoevents_vector.py::test_pt_eta_phi_e_lorentz_vector PASSED [ 87%] tests/test_parsl.py::test_parsl_start_stop SKIPPED (could not import 'parsl': No module named 'parsl') [ 88%] tests/test_parsl.py::test_parsl_htex_executor SKIPPED (could not import 'parsl': No module named 'parsl') [ 90%] tests/test_parsl.py::test_timeout PASSED [ 91%] tests/test_parsl.py::test_parsl_condor_cfg SKIPPED (could not import 'parsl': No module named 'parsl') [ 92%] tests/test_parsl.py::test_parsl_slurm_cfg SKIPPED (could not import 'parsl': No module named 'parsl') [ 93%] tests/test_preloaded.py::test_preloaded_nanoevents PASSED [ 94%] tests/test_processor.py::test_processorabc PASSED [ 95%] tests/test_processor.py::test_lazy_dataframe PASSED [ 96%] tests/test_processor.py::test_lazy_dataframe_getattr PASSED [ 97%] tests/test_processor.py::test_processor_newaccumulator PASSED [ 98%] tests/test_util.py::test_loadsave PASSED [100%] ============================================================================== warnings summary ============================================================================== tests/test_analysis_tools.py::test_packed_selection /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/tests/test_analysis_tools.py:120: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations all_true = np.full(shape=shape, fill_value=True, dtype=np.bool) tests/test_analysis_tools.py::test_packed_selection /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/tests/test_analysis_tools.py:121: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations all_false = np.full(shape=shape, fill_value=False, dtype=np.bool) tests/test_analysis_tools.py::test_packed_selection /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/tests/test_analysis_tools.py:125: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations wrong_shape = ones = np.ones(shape=(shape[0] - 5,), dtype=np.bool) tests/test_analysis_tools.py: 39 warnings /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/analysis_tools.py:250: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations if selection.dtype != numpy.bool: tests/test_hist_plot.py::test_normal_interval /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/hist/plot.py:106: RuntimeWarning: invalid value encountered in true_divide eff = pw / tw tests/test_jetmet_tools.py::test_corrected_jets_factory tests/test_jetmet_tools.py::test_factory_lifecycle tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-None-None] tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-None-1000] tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-0-None] tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-0-1000] tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-2-None] tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-2-1000] tests/test_lookup_tools.py::test_rochester /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for FatJet_genJetAK8Idx => GenJetAK8 warnings.warn( tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-None-None] tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-0-None] tests/test_local_executors.py::test_nanoevents_analysis[iterative_executor-2-None] /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/processor/executor.py:1244: UserWarning: Bad file source /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/tests/samples/non_existent.root. Skipping. warnings.warn(w_str) tests/test_lookup_tools.py::test_btag_csv_scalefactors /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/lookup_tools/csv_converters.py:10: FutureWarning: Auto-conversion of btag CSV files is deprecated. Try coffea.btag_tools.BTagScaleFactor! warnings.warn( tests/test_lookup_tools.py::test_btag_csv_scalefactors /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/lookup_tools/csv_converters.py:35: RuntimeWarning: btagging SF file does not contain a name, using default! warnings.warn( tests/test_lookup_tools.py::test_jec_txt_scalefactors /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/lookup_tools/txt_converters.py:185: UserWarning: binning for file for Summer16_07Aug2017_V11_L1fix_MC_L2Relative_AK4PFchs is malformed in variable JetPt warnings.warn( tests/test_lookup_tools.py::test_jec_txt_scalefactors /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/lookup_tools/txt_converters.py:284: UserWarning: JERSF file is in the new format with split-out systematic, only parsing totals!!! warnings.warn( tests/test_lookup_tools.py::test_jec_txt_scalefactors :1: RuntimeWarning: overflow encountered in exp tests/test_preloaded.py::test_preloaded_nanoevents /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for Electron_jetIdx => Jet warnings.warn( tests/test_preloaded.py::test_preloaded_nanoevents /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for Electron_photonIdx => Photon warnings.warn( tests/test_preloaded.py::test_preloaded_nanoevents /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for FatJet_subJetIdx1 => SubJet warnings.warn( tests/test_preloaded.py::test_preloaded_nanoevents /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for FatJet_subJetIdx2 => SubJet warnings.warn( tests/test_preloaded.py::test_preloaded_nanoevents /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for FsrPhoton_muonIdx => Muon warnings.warn( tests/test_preloaded.py::test_preloaded_nanoevents /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for Jet_electronIdx1 => Electron warnings.warn( tests/test_preloaded.py::test_preloaded_nanoevents /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for Jet_electronIdx2 => Electron warnings.warn( tests/test_preloaded.py::test_preloaded_nanoevents /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for Jet_muonIdx1 => Muon warnings.warn( tests/test_preloaded.py::test_preloaded_nanoevents /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for Jet_muonIdx2 => Muon warnings.warn( tests/test_preloaded.py::test_preloaded_nanoevents /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for Muon_fsrPhotonIdx => FsrPhoton warnings.warn( tests/test_preloaded.py::test_preloaded_nanoevents /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for Muon_jetIdx => Jet warnings.warn( tests/test_preloaded.py::test_preloaded_nanoevents /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for Photon_electronIdx => Electron warnings.warn( tests/test_preloaded.py::test_preloaded_nanoevents /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for Photon_jetIdx => Jet warnings.warn( tests/test_preloaded.py::test_preloaded_nanoevents /afs/crc.nd.edu/user/k/kmohrman/coffea_dir/coffea_from_git/coffea_kmohrman/coffea/coffea/nanoevents/schemas/nanoaod.py:193: RuntimeWarning: Missing cross-reference index for Tau_jetIdx => Jet warnings.warn( -- Docs: https://docs.pytest.org/en/stable/warnings.html ========================================================================== short test summary info =========================================================================== SKIPPED [1] tests/test_spark.py:7: pyspark not yet functional in python >=3.8 SKIPPED [2] tests/processor/servicex/__init__.py:30: could not import 'servicex': No module named 'servicex' SKIPPED [1] tests/test_dask.py:69: could not import 'distributed': No module named 'distributed' SKIPPED [1] tests/test_dask.py:102: could not import 'distributed': No module named 'distributed' SKIPPED [1] tests/test_dask_pandas.py:51: could not import 'distributed': No module named 'distributed' SKIPPED [1] tests/test_parsl.py:19: could not import 'parsl': No module named 'parsl' SKIPPED [1] tests/test_parsl.py:59: could not import 'parsl': No module named 'parsl' SKIPPED [1] tests/test_parsl.py:145: could not import 'parsl': No module named 'parsl' SKIPPED [1] tests/test_parsl.py:153: could not import 'parsl': No module named 'parsl' ========================================================== 83 passed, 10 skipped, 74 warnings in 540.46s (0:09:00) =========================================================== (coffea-env-source) [kmohrman@earth: coffea]$