analysis/pidcalibration_examples.py

=== stdout of analysis/tests/pidcalibration_examples.py ===
[INFO] Steering file: /data/b2soft/buildbot/light/build/analysis/tests/pidcalibration_examples.py
[INFO] Steering file: /data/b2soft/buildbot/light/build/analysis/examples/PIDCalibration/02_SamplePIDAnalysis.py
3000 events
1858 events after cuts

Values of the weights
[[1.         1.         1.         1.         1.         1.        ]
 [1.         1.         1.         1.         1.         1.        ]
 [0.9527796  0.9532151  0.9619997  0.9553354  1.0450658  0.9533514 ]
 [1.0577672  1.0513207  0.9602135  0.951275   0.98464835 0.9588473 ]
 [1.         1.         1.         1.         1.         1.        ]
 [1.         1.         1.         1.         1.         1.        ]]

          no wgt  wgt
Accuracy: 0.777   0.851
pion eff: 0.746   0.871
kaon eff: 0.807   0.832
[INFO] Starting event processing, random seed is set to '7f8ad0d99763a1daf9a09b4e727038d0f6d4930ea60c166989e1e82a11a16440'
[INFO] Conditions Database: found working metadata provider
	provider = http://belle2db.sdcc.bnl.gov/b2s/rest/
[ERROR] Conditions Database: Cannot download information on global tag. Usually this means it doesn't exist and you misspelled the name
	server url = http://belle2db.sdcc.bnl.gov/b2s/rest/
	globaltag = main_2025-06-16  { module: PIDCalibrationWeightCreator }
[FATAL] Conditions data: Problems with globaltag configuration, cannot continue  { module: PIDCalibrationWeightCreator function: void Belle2::Database::nextMetadataProvider() }
[INFO] ===Error Summary================================================================
[FATAL] Conditions data: Problems with globaltag configuration, cannot continue  { module: PIDCalibrationWeightCreator }
[ERROR] Conditions Database: Cannot download information on global tag. Usually this means it doesn't exist and you misspelled the name
	server url = http://belle2db.sdcc.bnl.gov/b2s/rest/
	globaltag = main_2025-06-16  { module: PIDCalibrationWeightCreator }
[INFO] ================================================================================
[ERROR] in total, 1 errors occurred during processing
[INFO] Steering file: /data/b2soft/buildbot/light/build/analysis/examples/PIDCalibration/03_ApplyWeight.py
[INFO] Starting event processing, random seed is set to 'd4c8b8b93df5f1d8fd20d17d45d3352a29d91ffa79f208c36b7f2d660db0acc'
[INFO] Added file /belle2/examples-data/B2pi0D_D2hh_D2hhh_B2munu.root
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: pi+:all (pi-:all)
[INFO]    -> MDST source: Tracks
[INFO] Conditions Database: found working metadata provider
	provider = http://belle2db.sdcc.bnl.gov/b2s/rest/
[INFO] Conditions data: configured globaltags (highest priority first) are master_2019-11-11, Legacy_IP_Information, Legacy_CollisionAxisCMS
[INFO] Conditions data: configured to use testing payloads
	location = localdb/database.txt
[WARNING] Conditions data: configured to look for temporary testing payloads from one or more local folders.

    This will lead to non-reproducible results and is strictly only for testing purposes.
    It is NOT ALLOWED for official productions or data analysis and any results obtained like this WILL NOT BE PUBLISHED.
    { module: ParticleLoader_pi+:all }
[WARNING] Given testing payload storage file doesn't exist or is not a regular file
	storage file = localdb/database.txt  { module: ParticleLoader_pi+:all }
[ERROR] Cannot find payload in any of the configured global tags
	name = PIDCalibrationWeight_Example
	globaltags = master_2019-11-11, Legacy_IP_Information, Legacy_CollisionAxisCMS
	experiment = 0
	run = 0  { module: VariablesToNtuple_pi+:all }
[FATAL] The dbobject PIDCalibrationWeight, PIDCalibrationWeight_Example could not be found! It is necessary for the weighted PID variables.  { module: VariablesToNtuple_pi+:all function: Belle2::PIDCalibrationWeightUtil::PIDCalibrationWeightUtil(std::string) }
[INFO] ===Error Summary================================================================
[FATAL] The dbobject PIDCalibrationWeight, PIDCalibrationWeight_Example could not be found! It is necessary for the weighted PID variables.  { module: VariablesToNtuple_pi+:all }
[ERROR] Cannot find payload in any of the configured global tags
	name = PIDCalibrationWeight_Example
	globaltags = master_2019-11-11, Legacy_IP_Information, Legacy_CollisionAxisCMS
	experiment = 0
	run = 0  { module: VariablesToNtuple_pi+:all }
[WARNING] Given testing payload storage file doesn't exist or is not a regular file
	storage file = localdb/database.txt  { module: ParticleLoader_pi+:all }
[WARNING] Conditions data: configured to look for temporary testing payloads from one or more local folders.

    This will lead to non-reproducible results and is strictly only for testing purposes.
    It is NOT ALLOWED for official productions or data analysis and any results obtained like this WILL NOT BE PUBLISHED.
    { module: ParticleLoader_pi+:all }
[INFO] ================================================================================
[ERROR] in total, 1 errors occurred during processing
[WARNING] in total, 2 warnings occurred during processing
=== stderr of analysis/tests/pidcalibration_examples.py ===
FF
======================================================================
FAIL: test_base_examples (__main__.ExamplesTest.test_base_examples) [02_SamplePIDAnalysis.py]
Test supported PID calibration examples.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/b2soft/buildbot/light/build/lib/Linux_x86_64/opt/b2test_utils_analysis.py", line 53, in _test_examples_dir
    self.assertEqual(result.returncode, 0)
AssertionError: 1 != 0

======================================================================
FAIL: test_base_examples (__main__.ExamplesTest.test_base_examples) [03_ApplyWeight.py]
Test supported PID calibration examples.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/b2soft/buildbot/light/build/lib/Linux_x86_64/opt/b2test_utils_analysis.py", line 53, in _test_examples_dir
    self.assertEqual(result.returncode, 0)
AssertionError: 1 != 0

----------------------------------------------------------------------
Ran 1 test in 20.776s

FAILED (failures=2)
=== end analysis/tests/pidcalibration_examples.py ===