hlt2_lead_lead_light_reco_pr_kf_with_mcchecking sporadically failing

hlt2_lead_lead_light_reco_pr_kf_with_mcchecking (added in !758 (merged)) is sporadically failing in the x86_64-centos7-gcc9+py3-opt platform

The last failing test shows the following differences w.r.t. the reference

- UpstreamTrackChecker                   INFO **** Upstream                                   6489 tracks including           1744 ghosts [26.88 %], Event average 17.30 % ****
?                                                                                               -                                ^
+ UpstreamTrackChecker                   INFO **** Upstream                                   6491 tracks including           1745 ghosts [26.88 %], Event average 17.30 % ****
?                                                                                                +                               ^
- UpstreamTrackChecker                   INFO   01_velo                                  :    4552 from    14914 [ 30.52 %]      8 clones [ 0.18 %], purity: 98.90 %, hitEff: 97.95 %
?                                                                                                ^                     ^
+ UpstreamTrackChecker                   INFO   01_velo                                  :    4553 from    14914 [ 30.53 %]      8 clones [ 0.18 %], purity: 98.90 %, hitEff: 97.95 %
?                                                                                                ^                     ^
- UpstreamTrackChecker                   INFO   02_velo+UT                               :    4546 from    12896 [ 35.25 %]      8 clones [ 0.18 %], purity: 98.91 %, hitEff: 97.94 %
?                                                                                                ^                     ^                                                          ^
+ UpstreamTrackChecker                   INFO   02_velo+UT                               :    4547 from    12896 [ 35.26 %]      8 clones [ 0.18 %], purity: 98.91 %, hitEff: 97.95 %
?                                                                                                ^                     ^                                                          ^
- UpstreamTrackChecker                   INFO   04_velo+notLong                          :     868 from     6679 [ 13.00 %]      1 clones [ 0.12 %], purity: 98.52 %, hitEff: 96.35 %
?                                                                                                ^                     ^                       ^                 ^
+ UpstreamTrackChecker                   INFO   04_velo+notLong                          :     869 from     6679 [ 13.01 %]      1 clones [ 0.11 %], purity: 98.53 %, hitEff: 96.35 %
?                                                                                                ^                     ^                       ^                 ^
- UpstreamTrackChecker                   INFO   05_velo+UT+notLong                       :     863 from     4762 [ 18.12 %]      1 clones [ 0.12 %], purity: 98.58 %, hitEff: 96.33 %
?                                                                                                ^                     ^
+ UpstreamTrackChecker                   INFO   05_velo+UT+notLong                       :     864 from     4762 [ 18.14 %]      1 clones [ 0.12 %], purity: 98.58 %, hitEff: 96.33 %
?                                                                                                ^                     ^
Different content of Counters for algo SciFiTrackForwarding
    (SciFiTrackForwarding ref) 2nd Loop | 1843
    (SciFiTrackForwarding new) 2nd Loop | 1845
Different content of Counters for algo PrTrackAssociator#5
    (PrTrackAssociator#5 ref) MC particles per track | 4745 | 4745 | 1.0000
    (PrTrackAssociator#5 new) MC particles per track | 4746 | 4746 | 1.0000
    (PrTrackAssociator#5 ref) Efficiency | 6489 | 4745 | ( 73.12375 +- 0.5503319)%
    (PrTrackAssociator#5 new) Efficiency | 6491 | 4746 | ( 73.11662 +- 0.5502932)%
Different content of Counters for algo TracksUTConverter
    (TracksUTConverter ref) Nb of Produced Tracks | 34 | 6489 | 190.85
    (TracksUTConverter new) Nb of Produced Tracks | 34 | 6491 | 190.91
Different content of Counters for algo PrVeloUT
    (PrVeloUT ref) #tracks | 34 | 6489 | 190.85
    (PrVeloUT new) #tracks | 34 | 6491 | 190.91

In addition, there is some warning in the stderr (not flagged up, may be unrelated):


/workspace/build/LHCb/InstallArea/x86_64-centos7-gcc9+py3-opt/python/PyConf/tonic.py:371: UserWarning: Bound function <function monitor_track_resolution at 0x7f7fef2e1050> was not called within a bind. Stack trace:
  File "/workspace/build/Moore/Hlt/RecoConf/options/hlt2_lead_lead_light_reco_pr_kf_with_mcchecking.py", line 36, in <module>
        run_reconstruction(options, standalone_hlt2_light_reco)