-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathci_tests.cfg
More file actions
1285 lines (1129 loc) · 58 KB
/
ci_tests.cfg
File metadata and controls
1285 lines (1129 loc) · 58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
################################################################################
### SBND Continuous Integration test configuration
################################################################################
# Table of contents
######################
#
# [0] introduction (documentation)
# [.1] definitions
# [.2] overview of the tests
# [.3] calibration of the expected resource usage ranges
# [1] common definitions (`DEFAULT` section)
# [2] single particle tests
# [.1] quick tests
# [.2] sequential tests
# [3] data-like events: neutrino and cosmic background tests
# [.1] quick tests
# [.2] sequential tests
# [4] data tests (off beam zero bias) run 18266
# [5] gallery tests
# [6] other tests
# [A] special suite definitions for continuous integration framework (`lar_ci`)
#
################################################################################
# [0] Introduction
#####################
#
# Many tests execute the same test driver script (`EXPSCRIPT_SBNDCODE`) with
# different command line arguments.
# The script is currently just delegating the task to a template script provided
# by lar_ci UPS product.
#
# For a lengthy explanation of why the script path is not specified in
# EXPSCRIPT_SBNDCODE, see test/ci/CMakeFiles.txt. What is relevant here is that
# this should allow the execution of the integration tests from command line on
# both development and running environment.
# Reminder: to get the list of tests, run:
#
# test_runner -l
#
# *** INTEGRATION TESTS REQUIRE A CERTIFICATE PROXY TO ALLOW dCache ACCESS ***
#
# The convention here is that lower case variables are special variables that
# are used by the C.I. system (usually, the test_runner script), while the
# upper case variables are our own. Note that these variable names should be
# marked with a SBND tag not to conflict with others from the additional tests
# that are queued together with these ones.
#
#
# The files needed for the tests are kept in dCache and, unless the test
# description specifies otherwise, they are accessed via XRootD.
# The chosen pattern is that:
# - the same files work both as input for a stage of a sequential test, and as a
# reference for the previous stage in the sequence (in this configuration, the
# two concepts are kept separate)
# - the storage is structures in subdirectories of "reference":
# * the first level contains the build identifier (typically "Reference" plus
# a time stamp; the most recent blessed set is also present as plain
# "Reference")
# * the second level contains a name related to the test suite; this is to
# differentiate between different suites which all have a `detsim` stage,
# a `g4` stage, etc.
# * the third level contains a label of the test, as the "stage"
#
################
# [0.1] Definitions
# ====================
#
# Workflows:
# * basic 5-stage simulation workflow:
# 1. generation (`gen`), test-dependent
# 2. propagation through detector (`g4`) based on `standard_g4_sbnd.fcl`
# 3. digitisation (`detsim`) based on `standard_detsim_sbnd.fcl`
# 4. basic reconstruction (`reco_basic`) based on `standard_reco_basic_sbnd.fcl`
# 5. flattened analysis format (`anatree`) based on `standard_anatree_sbnd.fcl`
# * short workflows: like the normal workflows, but without the flattened
# analysis format stage (no `anatree`)
#
# Types:
# * sequential: input for the first stage is an empty file, the next stages
# use as input the output of the previous stage;
# * independent: input for the first stage is the same as in the sequential
# test, the next stages use as input reference files produced from the
# previous stage in the sequential test; these tests can be run in parallel;
# * "quick": are usually test of "independent" type with a low number of events;
# quick tests are recommended to be kept under 3 minutes run-time (wall
# clock) each, not to challenge the endurance of the impatient tester.
#
#
################
# [0.2] Overview of the test suites
# ====================================
#
# Test suites:
# * single particle simulation tests (variable tag: `SINGLE_SBNDCODE`),
# basic 5-stage simulation workflow, based on `prodsingle_sbnd.fcl`
# * `single_quick_test_sbndcode`: (type: independent) test with few events
# * `single_seq_test_sbndcode`: (type: sequential) test with more events
# than quick
# * data-like simulation tests (variable tag: `NUCOSMICS_SBNDCODE`),
# basic 5-stage simulation workflow, with a neutrino event and cosmic ray
# background
# * `nucosmics_quick_test_sbndcode`: (type: independent) test with few events
# * `nucosmics_seq_test_sbndcode`: (type: sequential) test with more events
# than quick
# * data tests using off beam zero bias, run 18266 (variable tag: `DATA_SBNDCODE`),
# basic 4 stage data workflow
# * `data_offBeamZeroBias_quick_test_sbndcode`: (type: independent) test with few events
# * `data_offBeamZeroBias_seq_test_sbndcode`: (type: sequential) test with more events
# than quick
#
# * `develop_test_sbndcode`: recommended to be run by developers before pushing,
# when modifying sources of little consequence
# * `complete_test_sbndcode`: recommended to be run by developers before pushing
# changes that may be suspected of having a widespread effect
# * `generate_reference_sbndcode`: special suite generating *all* the reference
# files
# * `all_tests_sbndcode`: all tests; mostly for maintenance and debugging
#
#
################
# [0.3] Calibration of the expected resource usage ranges
# =========================================================
#
# The configuration elements `cpu_usage_range` and `mem_usage_range` for each
# test will need to be calibrated:
# # run `test_runner` once with the `--verbose` option
# # check that it succeeded!
# # use the VAX-GMIP figure "kVs" as a reference to set `cpu_usage_range`
# # use the "kb" figure as reference to set `mem_usage_range`
#
# Allow a good margin for both ranges.
#
#
################################################################################
# [1] Common definitions
################################################################################
#
# The configuration values should have a `SBNDCODE` tag in their key not to be
# casually overridden when other configurations (from other experiments) are
# pulled in. The test execution environment can be promiscuous!
#
# NOTE: the value of these configuration elements can be overridden in the
# individual test sections; substitution of the placeholders in their
# value will happen *after* the override took place; for example:
#
# Path=/pnfs/sbnd/persistent/ContinuousIntegration
# File=%(Path)s/Empty.root
# Path=/sbnd/data/ContinuousIntegration
#
# will result into `File=/sbnd/data/ContinuousIntegration/Empty.root`.
#
# test
[DEFAULT]
# the number of events to process in the sequential tests;
# remember that this ends up being the number of events in the reference files
# for the quick tests too, so pick it large enough to cover all the events in those tests
NEVENTS_SEQ_SINGLE_SBNDCODE=5
NEVENTS_SEQ_NUCOSMICS_SBNDCODE=5
NEVENTS_SEQ_DATA_SBNDCODE=5
# enable running the test jobs, the product presence check and the check of their size
RUN_TEST_SBNDCODE=1
CHECK_PRODUCTS_SBNDCODE=1
CHECK_PRODUCT_SIZE_SBNDCODE=1
CHECK_CAF_DIFF_SBNDCODE=0
# enable running the test jobs and the caf diff check
RUN_TEST_SBNDCODE_CAFS=1
CHECK_PRODUCTS_SBNDCODE_CAFS=0
CHECK_PRODUCT_SIZE_SBNDCODE_CAFS=0
CHECK_CAF_DIFF_SBNDCODE_CAFS=1
# this prefix is common to all FHiCL configuration files of SBND C.I. tests
CI_FHICL_PREFIX_SBNDCODE=sbnd_ci_
# file paths:
# - relative path defining the location of all SBND integration test data
BASEFILERELPATH_SBNDCODE=sbnd/persistent/stash/ContinuousIntegration
# - absolute path with direct POSIX access to dCache
BASEFILEDIR_SBNDCODE=/pnfs/%(BASEFILERELPATH_SBNDCODE)s
# - absolute path with XRootD access to dCache
# - use XRootD port 1095 that allows unauthenticated XRootD access
XROOTD_BASEFILEDIR_SBNDCODE=xroot://fndca1.fnal.gov:1095/pnfs/fnal.gov/usr/%(BASEFILERELPATH_SBNDCODE)s
# - the subdirectory hosting the selected input and reference, and the full paths (both POSIX and XRootD)
# NOTE: the configuration value 'INPUTFILEDIR_SBNDCODE' is also used in the C.I. test workflow:
# its name must not be changed!
INPUTFILEDIR_SBNDCODE=%(BASEFILEDIR_SBNDCODE)s/reference
XROOTD_INPUTFILEDIR_SBNDCODE=%(XROOTD_BASEFILEDIR_SBNDCODE)s/reference
REFERENCEFILEDIR_SBNDCODE=%(BASEFILEDIR_SBNDCODE)s/reference
XROOTD_REFERENCEFILEDIR_SBNDCODE=%(XROOTD_BASEFILEDIR_SBNDCODE)s/reference
# extra layer of directory for specific tests:
SINGLE_INPUT_DIRNAME_SBNDCODE=standard
NUCOSMICS_INPUT_DIRNAME_SBNDCODE=standard
DATA_INPUT_DIRNAME_SBNDCODE=standard
FCLCHECK_INPUT_DIRNAME_SBNDCODE=standard
# the test mask collects check requests in a single string
TESTMASK_SBNDCODE=%(RUN_TEST_SBNDCODE)s%(CHECK_PRODUCTS_SBNDCODE)s%(CHECK_PRODUCT_SIZE_SBNDCODE)s%(CHECK_CAF_DIFF_SBNDCODE)s
TESTMASK_SBNDCODE_CAFS=%(RUN_TEST_SBNDCODE_CAFS)s%(CHECK_PRODUCTS_SBNDCODE_CAFS)s%(CHECK_PRODUCT_SIZE_SBNDCODE_CAFS)s%(CHECK_CAF_DIFF_SBNDCODE_CAFS)s
# this is the script we use for most of the tests
# (lookup in `PATH` environment variable directories; provided by `lar_ci`)
EXPSCRIPT_SBNDCODE=ci_regression_test_template.sh
# arguments used by EXPSCRIPT_SBNDCODE
BASE_STDARGS_SBNDCODE=--executable lar --nevents %(NEVENTS)s --stage-name %(STAGE_NAME)s --fhicl %(FHiCL_FILE)s --testmask %(TESTMASK_SBNDCODE)s
STDARGS_NOOUTPUT_SBNDCODE=%(BASE_STDARGS_SBNDCODE)s
STDARGS_SBNDCODE=%(BASE_STDARGS_SBNDCODE)s --outputs %(OUTPUT_STREAM)s
# arguments used by EXPSCRIPT_SBNDCODE for CAF tests
BASE_STDARGS_SBNDCODE_CAFS=--executable lar --nevents %(NEVENTS)s --stage-name %(STAGE_NAME)s --fhicl %(FHiCL_FILE)s --testmask %(TESTMASK_SBNDCODE_CAFS)s
STDARGS_NOOUTPUT_SBNDCODE_CAFS=%(BASE_STDARGS_SBNDCODE_CAFS)s
STDARGS_SBNDCODE_CAFS=%(BASE_STDARGS_SBNDCODE_CAFS)s --outputs %(OUTPUT_STREAM)s
# this is the tag we append to the SBND-specific test configuration variable names
# (e.g. "TESTMASK_SBNDCODE"); it is used by the C.I. system
CI_EXP_CODE=SBNDCODE
# build_identifier and build_platform are passed by the C.I. system
IDENTIFIER_SBNDCODE=${build_identifier}
# these string is used by the C.I. system to concoct the name of a reference file
# from the name of the output file; that means this tag MUST be in the output
# file name, or else the reference file will have the same name as the current
# output (which causes havoc).
# Also, use these only for the output art ROOT file, since the variable
# substitution (from IDENTIFIER_SBNDCODE) is not correctly handled in the
# `output#` directives.
REF_SBNDCODE=Reference%(IDENTIFIER_SBNDCODE)s
CUR_SBNDCODE=Current%(IDENTIFIER_SBNDCODE)s
CUR_SBNDCODE_CAFS=Current
################################################################################
# [2] Single particle tests
##############################
#
# These tests ultimately utilise a simulated event from `prodsingle_sbnd.fcl`,
# which currently (`v06_69_00`) generates a muon.
#
# The workflows are the "standard" one with basic reconstruction
# (see section [0.1]).
#
# The workflow initiates from an original input file with empty events, that
# with NuRandomService set on `perEvent` policy should guarantee "perfect"
# reproducibility. The blocks are complicate enough (explanations are in wiki at
# https://cdcvs.fnal.gov/redmine/projects/lar-ci/wiki/Test_Runner_Introduction )
# and they are designed so that a new stage can be added by copying a block
# into a new one and changing:
# - the test name in brackets (of course!)
# - the `STAGE_NAME` and `INPUT_STAGE_NAME` variables
# - `cpu_usage_range` and `mem_usage_range` will need to be calibrated too
# (run `test_runner` once with the `--verbose` option, check that it
# succeeded, and use the VAX-GMIP figure "kVs" as a reference to set
# `cpu_usage_range`, and the "kb" figure as reference to set
# `mem_usage_range`)
#
# The configuration of the command line overrides the `TFileService` output file
# name (`--TFileName` option) to conform to a simple pattern, as it is also
# internally done by the test script for the art ROOT output file (from
# `RootOutput` module).
#
#
# [2.1] Single particle tests: quick tests
# ===========================================
#
# These tests are of "quick" type.
#
# The input files are reference files from the corresponding sequential test
# (`single_XXX_seq_test_sbndcode`), except for the generator stage, where the
# input file is the same as in the sequential test.
#
[test single_gen_quick_test_sbndcode]
STAGE_NAME=gen
NEVENTS=5
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=0:100
mem_usage_range=600000:1100000
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)ssingle_%(STAGE_NAME)s_quick_test_sbndcode.fcl
OUTPUT_BASE_FILE_NAME=single_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(SINGLE_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_BASEFILEDIR_SBNDCODE)s/input/empty/EmptyEvents_01.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test single_g4_quick_test_sbndcode]
STAGE_NAME=g4
INPUT_STAGE_NAME=gen
NEVENTS=2
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=500:1500
mem_usage_range=2000000:4000000
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)ssingle_%(STAGE_NAME)s_quick_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=single_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=single_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(SINGLE_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_INPUTFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(INPUT_STAGE_NAME)s/%(INPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test single_detsim_quick_test_sbndcode]
STAGE_NAME=detsim
INPUT_STAGE_NAME=g4
NEVENTS=2
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=200:2390
mem_usage_range=1000000:7232311
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)ssingle_%(STAGE_NAME)s_quick_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=single_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=single_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(SINGLE_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_INPUTFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(INPUT_STAGE_NAME)s/%(INPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test single_reco1_quick_test_sbndcode]
STAGE_NAME=reco1
INPUT_STAGE_NAME=detsim
NEVENTS=2
# calibrated on sbndbuild01.fnal.gov on 20180306
cpu_usage_range=200:1000
mem_usage_range=1000000:3300000
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)ssingle_%(STAGE_NAME)s_quick_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=single_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=single_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(SINGLE_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_INPUTFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(INPUT_STAGE_NAME)s/%(INPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test single_reco2_quick_test_sbndcode]
STAGE_NAME=reco2
INPUT_STAGE_NAME=reco1
NEVENTS=2
# calibrated on sbndbuild01.fnal.gov on 20180306
cpu_usage_range=50:300
mem_usage_range=500000:2500000
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)ssingle_%(STAGE_NAME)s_quick_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=single_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=single_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(SINGLE_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_INPUTFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(INPUT_STAGE_NAME)s/%(INPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test single_caf_quick_test_sbndcode]
STAGE_NAME=caf
INPUT_STAGE_NAME=reco2
NEVENTS=5
# calibrated on sbndbuild01.fnal.gov on 20180306
cpu_usage_range=50:213
mem_usage_range=500000:3500000
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)ssingle_%(STAGE_NAME)s_quick_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=single_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=single_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(SINGLE_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_INPUTFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(INPUT_STAGE_NAME)s/%(INPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE_CAFS)s.caf.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.caf.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE_CAFS)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test single_anatree_quick_test_sbndcode]
# no reference art ROOT output for this one, but we have analysis tree reference (the "--extra-function" option)
# (we use the reference file from sequence explicitly here)
#
# TODO comparisons with references should happen in a different way, with the "C.I. validation tests" (ask the C.I. crew!)
#
STAGE_NAME=anatree
INPUT_STAGE_NAME=reco2
NEVENTS=2
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=80:200
mem_usage_range=1000000:3000000
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)ssingle_%(STAGE_NAME)s_quick_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=single_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=single_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(SINGLE_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_INPUTFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(INPUT_STAGE_NAME)s/%(INPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
# disable the first actual product test; seeing this, the C.I. will disable also all the following ones;
# note that the INI parsing makes sure that this chacge is "backward propagated" to the value of TESTMASK_SBNDCODE for this test
CHECK_PRODUCTS_SBNDCODE=0
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_NOOUTPUT_SBNDCODE)s --input-file %(INPUT_STREAM)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[suite single_quick_test_sbndcode]
testlist=single_gen_quick_test_sbndcode single_g4_quick_test_sbndcode single_detsim_quick_test_sbndcode single_reco1_quick_test_sbndcode single_reco2_quick_test_sbndcode single_caf_quick_test_sbndcode
##############################
# [2.2] Single particle tests: sequential tests
# ================================================
#
# This test simulates a full "standard" simulation + reconstruction chain.
# Due to its sequential nature, this test is expected to be the longest.
# It is recommended that the whole test be kept under 10 minutes run-time
# (wall clock), 3 minutes or less recommended, not to challenge the endurance
# of the impatient tester.
#
# The resource usage upper limit has a marker feature (upper limit ending with
# `2`) just to facilitate the connection between the messages of `test_runner`
# on resource usage excess with the test that causes it (it's clearer to run it
# with `-s` option though).
#
[test single_gen_seq_test_sbndcode]
STAGE_NAME=gen
NEVENTS=%(NEVENTS_SEQ_SINGLE_SBNDCODE)s
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=10:102
mem_usage_range=500000:1069026
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)ssingle_%(STAGE_NAME)s_seq_test_sbndcode.fcl
OUTPUT_BASE_FILE_NAME=single_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(SINGLE_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_BASEFILEDIR_SBNDCODE)s/input/empty/EmptyEvents_01.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test single_g4_seq_test_sbndcode]
STAGE_NAME=g4
INPUT_STAGE_NAME=gen
NEVENTS=%(NEVENTS_SEQ_SINGLE_SBNDCODE)s
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=812:1600
mem_usage_range=2543381:4500000
script=%(EXPSCRIPT_SBNDCODE)s
requires=single_%(INPUT_STAGE_NAME)s_seq_test_sbndcode
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)ssingle_%(STAGE_NAME)s_seq_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=single_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=single_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(SINGLE_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=../%(requires)s/%(INPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test single_detsim_seq_test_sbndcode]
STAGE_NAME=detsim
INPUT_STAGE_NAME=g4
NEVENTS=%(NEVENTS_SEQ_SINGLE_SBNDCODE)s
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=1050:3593
mem_usage_range=3000000:7518172
script=%(EXPSCRIPT_SBNDCODE)s
requires=single_%(INPUT_STAGE_NAME)s_seq_test_sbndcode
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)ssingle_%(STAGE_NAME)s_seq_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=single_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=single_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(SINGLE_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=../%(requires)s/%(INPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test single_reco1_seq_test_sbndcode]
STAGE_NAME=reco1
INPUT_STAGE_NAME=detsim
NEVENTS=%(NEVENTS_SEQ_SINGLE_SBNDCODE)s
# calibrated on sbndbuild01.fnal.gov on 20180306
cpu_usage_range=300:1204
mem_usage_range=2500000:4000000
script=%(EXPSCRIPT_SBNDCODE)s
requires=single_%(INPUT_STAGE_NAME)s_seq_test_sbndcode
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)ssingle_%(STAGE_NAME)s_seq_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=single_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=single_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(SINGLE_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=../%(requires)s/%(INPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test single_reco2_seq_test_sbndcode]
STAGE_NAME=reco2
INPUT_STAGE_NAME=reco1
NEVENTS=%(NEVENTS_SEQ_SINGLE_SBNDCODE)s
# calibrated on sbndbuild01.fnal.gov on 20180306
cpu_usage_range=195:2200
mem_usage_range=1866932:3500000
script=%(EXPSCRIPT_SBNDCODE)s
requires=single_%(INPUT_STAGE_NAME)s_seq_test_sbndcode
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)ssingle_%(STAGE_NAME)s_seq_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=single_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=single_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(SINGLE_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=../%(requires)s/%(INPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test single_caf_seq_test_sbndcode]
STAGE_NAME=caf
INPUT_STAGE_NAME=reco2
NEVENTS=%(NEVENTS_SEQ_SINGLE_SBNDCODE)s
# calibrated on sbndbuild01.fnal.gov on 20180306
cpu_usage_range=80:150
mem_usage_range=2500000:3500000
script=%(EXPSCRIPT_SBNDCODE)s
requires=single_%(INPUT_STAGE_NAME)s_seq_test_sbndcode
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)ssingle_%(STAGE_NAME)s_seq_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=single_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=single_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(SINGLE_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=../%(requires)s/%(INPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.caf.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.caf.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE_CAFS)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s --extra-function rename_file,%(OUTPUT_BASE_FILE_NAME)s_Current.caf.root,%(OUTPUT_STREAM)s
parse_art_output=True
output1=%(TFILENAME)s
[test single_anatree_seq_test_sbndcode]
# no reference art ROOT output for this one, but we have analysis tree reference (the "--extra-function" option)
#
# See the comment on the quick test for the validation.
#
STAGE_NAME=anatree
INPUT_STAGE_NAME=reco2
NEVENTS=%(NEVENTS_SEQ_SINGLE_SBNDCODE)s
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=10:102
mem_usage_range=200000:600002
script=%(EXPSCRIPT_SBNDCODE)s
requires=single_%(INPUT_STAGE_NAME)s_seq_test_sbndcode
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)ssingle_%(STAGE_NAME)s_seq_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=single_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=single_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(SINGLE_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=../%(requires)s/%(INPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
CHECK_PRODUCTS_SBNDCODE=0 ; see single_anatree_quick_test_sbndcode
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_NOOUTPUT_SBNDCODE)s --input-file %(INPUT_STREAM)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[suite single_seq_test_sbndcode]
testlist=single_gen_seq_test_sbndcode single_g4_seq_test_sbndcode single_detsim_seq_test_sbndcode single_reco1_seq_test_sbndcode single_reco2_seq_test_sbndcode single_caf_seq_test_sbndcode
[suite generate_reference_single_test_sbndcode]
testlist=single_seq_test_sbndcode
################################################################################
# [3] Data-like events: neutrino and cosmic background tests
###############################################################
#
# This test simulates a "standard" simulation + reconstruction chain
# on a generated event with a neutrino interaction (GENIE) and cosmic ray
# background (Corsika).
#
#
# [3.1] Data-like events: quick tests
# ===========================================
#
# These tests are of "quick" type.
#
# The resource usage upper limit has a marker feature (upper limit ending with
# `3`) just to facilitate the connection between the messages of `test_runner`
# on resource usage excess with the test that causes it (it's clearer to run it
# with `-s` option though).
#
[test nucosmics_gen_quick_test_sbndcode]
STAGE_NAME=gen
NEVENTS=5
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=100:800
mem_usage_range=1000000:3000000
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)snucosmics_%(STAGE_NAME)s_quick_test_sbndcode.fcl
OUTPUT_BASE_FILE_NAME=nucosmics_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(NUCOSMICS_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_BASEFILEDIR_SBNDCODE)s/input/empty/EmptyEvents_02.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test nucosmics_g4_quick_test_sbndcode]
STAGE_NAME=g4
INPUT_STAGE_NAME=gen
NEVENTS=2
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=400:18003
mem_usage_range=3200000:5000000
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)snucosmics_%(STAGE_NAME)s_quick_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=nucosmics_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=nucosmics_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(NUCOSMICS_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_INPUTFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(INPUT_STAGE_NAME)s/%(INPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test nucosmics_detsim_quick_test_sbndcode]
STAGE_NAME=detsim
INPUT_STAGE_NAME=g4
NEVENTS=2
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=400:2573
mem_usage_range=1000000:7354036
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)snucosmics_%(STAGE_NAME)s_quick_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=nucosmics_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=nucosmics_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(NUCOSMICS_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_INPUTFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(INPUT_STAGE_NAME)s/%(INPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test nucosmics_reco1_quick_test_sbndcode]
STAGE_NAME=reco1
INPUT_STAGE_NAME=detsim
NEVENTS=2
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=100:1000
mem_usage_range=1500000:3500000
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)snucosmics_%(STAGE_NAME)s_quick_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=nucosmics_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=nucosmics_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(NUCOSMICS_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_INPUTFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(INPUT_STAGE_NAME)s/%(INPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test nucosmics_reco2_quick_test_sbndcode]
STAGE_NAME=reco2
INPUT_STAGE_NAME=reco1
NEVENTS=2
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=50:1366
mem_usage_range=1000000:3000000
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)snucosmics_%(STAGE_NAME)s_quick_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=nucosmics_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=nucosmics_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(NUCOSMICS_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_INPUTFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(INPUT_STAGE_NAME)s/%(INPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test nucosmics_caf_quick_test_sbndcode]
STAGE_NAME=caf
INPUT_STAGE_NAME=reco2
NEVENTS=5
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=200:1000
mem_usage_range=1000000:3000000
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)snucosmics_%(STAGE_NAME)s_quick_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=nucosmics_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=nucosmics_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(NUCOSMICS_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_INPUTFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(INPUT_STAGE_NAME)s/%(INPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE_CAFS)s.caf.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.caf.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE_CAFS)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test nucosmics_anatree_quick_test_sbndcode]
# no reference art ROOT output for this one, but we have analysis tree reference (the "--extra-function" option)
# (we use the reference file from sequence explicitly here)
#
# TODO comparisons with references should happen in a different way, with the "C.I. validation tests" (ask the C.I. crew!)
#
STAGE_NAME=anatree
INPUT_STAGE_NAME=reco2
NEVENTS=2
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=60:650
mem_usage_range=1600000:3000003
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)snucosmics_%(STAGE_NAME)s_quick_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=nucosmics_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=nucosmics_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(NUCOSMICS_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_INPUTFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(INPUT_STAGE_NAME)s/%(INPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
# disable the first actual product test; seeing this, the C.I. will disable also all the following ones;
# note that the INI parsing makes sure that this chacge is "backward propagated" to the value of TESTMASK_SBNDCODE for this test
CHECK_PRODUCTS_SBNDCODE=0
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_NOOUTPUT_SBNDCODE)s --input-file %(INPUT_STREAM)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[suite nucosmics_quick_test_sbndcode]
testlist=nucosmics_gen_quick_test_sbndcode nucosmics_g4_quick_test_sbndcode nucosmics_detsim_quick_test_sbndcode nucosmics_reco1_quick_test_sbndcode nucosmics_reco2_quick_test_sbndcode nucosmics_caf_quick_test_sbndcode
###############################################################
# [3.2] Data-like events: sequence tests
# =========================================
#
# This test simulates a full "standard" simulation + reconstruction chain.
# Due to its sequential nature, this test is expected to be the longest.
# It is recommended that the whole test be kept under 10 minutes run-time
# (wall clock), 3 minutes or less recommended, not to challenge the endurance
# of the impatient tester.
#
# The resource usage upper limit has a marker feature (upper limit ending with
# `4`) just to facilitate the connection between the messages of `test_runner`
# on resource usage excess with the test that causes it (it's clearer to run it
# with `-s` option though).
#
[test nucosmics_gen_seq_test_sbndcode]
STAGE_NAME=gen
NEVENTS=%(NEVENTS_SEQ_NUCOSMICS_SBNDCODE)s
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=206:900
mem_usage_range=1290400:3500000
script=%(EXPSCRIPT_SBNDCODE)s
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)snucosmics_%(STAGE_NAME)s_seq_test_sbndcode.fcl
OUTPUT_BASE_FILE_NAME=nucosmics_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(NUCOSMICS_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=%(XROOTD_BASEFILEDIR_SBNDCODE)s/input/empty/EmptyEvents_02.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test nucosmics_g4_seq_test_sbndcode]
STAGE_NAME=g4
INPUT_STAGE_NAME=gen
NEVENTS=%(NEVENTS_SEQ_NUCOSMICS_SBNDCODE)s
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=1854:4200
mem_usage_range=3473101:5500000
script=%(EXPSCRIPT_SBNDCODE)s
requires=nucosmics_%(INPUT_STAGE_NAME)s_seq_test_sbndcode
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)snucosmics_%(STAGE_NAME)s_seq_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=nucosmics_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=nucosmics_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(NUCOSMICS_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=../%(requires)s/%(INPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test nucosmics_detsim_seq_test_sbndcode]
STAGE_NAME=detsim
INPUT_STAGE_NAME=g4
NEVENTS=%(NEVENTS_SEQ_NUCOSMICS_SBNDCODE)s
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=1100:3809
mem_usage_range=3500000:7083228
script=%(EXPSCRIPT_SBNDCODE)s
requires=nucosmics_%(INPUT_STAGE_NAME)s_seq_test_sbndcode
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)snucosmics_%(STAGE_NAME)s_seq_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=nucosmics_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=nucosmics_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(NUCOSMICS_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=../%(requires)s/%(INPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test nucosmics_reco1_seq_test_sbndcode]
STAGE_NAME=reco1
INPUT_STAGE_NAME=detsim
NEVENTS=%(NEVENTS_SEQ_NUCOSMICS_SBNDCODE)s
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=600:800
mem_usage_range=1945911:4000000
script=%(EXPSCRIPT_SBNDCODE)s
requires=nucosmics_%(INPUT_STAGE_NAME)s_seq_test_sbndcode
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)snucosmics_%(STAGE_NAME)s_seq_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=nucosmics_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=nucosmics_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(NUCOSMICS_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=../%(requires)s/%(INPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test nucosmics_reco2_seq_test_sbndcode]
STAGE_NAME=reco2
INPUT_STAGE_NAME=reco1
NEVENTS=%(NEVENTS_SEQ_NUCOSMICS_SBNDCODE)s
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=1342:2500
mem_usage_range=2157647:3500000
script=%(EXPSCRIPT_SBNDCODE)s
requires=nucosmics_%(INPUT_STAGE_NAME)s_seq_test_sbndcode
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)snucosmics_%(STAGE_NAME)s_seq_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=nucosmics_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=nucosmics_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(NUCOSMICS_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=../%(requires)s/%(INPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[test nucosmics_caf_seq_test_sbndcode]
STAGE_NAME=caf
INPUT_STAGE_NAME=reco2
NEVENTS=%(NEVENTS_SEQ_NUCOSMICS_SBNDCODE)s
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=3300:4300
mem_usage_range=3000000:5000000
script=%(EXPSCRIPT_SBNDCODE)s
requires=nucosmics_%(INPUT_STAGE_NAME)s_seq_test_sbndcode
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)snucosmics_%(STAGE_NAME)s_seq_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=nucosmics_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=nucosmics_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(NUCOSMICS_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=../%(requires)s/%(INPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
OUTPUT_STREAM=%(OUTPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.caf.root
REFERENCE_FILES=%(XROOTD_REFERENCEFILEDIR_SBNDCODE)s/%(EXTRA_DIR)s/%(STAGE_NAME)s/%(OUTPUT_BASE_FILE_NAME)s_%(REF_SBNDCODE)s.caf.root
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_SBNDCODE_CAFS)s --input-file %(INPUT_STREAM)s --reference-files %(REFERENCE_FILES)s --extra-options --TFileName,%(TFILENAME)s --extra-function rename_file,%(OUTPUT_BASE_FILE_NAME)s_Current.caf.root,%(OUTPUT_STREAM)s
parse_art_output=True
output1=%(TFILENAME)s
[test nucosmics_anatree_seq_test_sbndcode]
# no reference art ROOT output for this one, but we have analysis tree reference (the "--extra-function" option)
#
# See the comment on the quick test for the validation.
#
STAGE_NAME=anatree
INPUT_STAGE_NAME=reco2
NEVENTS=%(NEVENTS_SEQ_NUCOSMICS_SBNDCODE)s
# calibrated on sbndbuild01.fnal.gov on 20180305
cpu_usage_range=60:650
mem_usage_range=600000:1400003
script=%(EXPSCRIPT_SBNDCODE)s
requires=nucosmics_%(INPUT_STAGE_NAME)s_seq_test_sbndcode
FHiCL_FILE=%(CI_FHICL_PREFIX_SBNDCODE)snucosmics_%(STAGE_NAME)s_seq_test_sbndcode.fcl
INPUT_BASE_FILE_NAME=nucosmics_%(INPUT_STAGE_NAME)s_test_sbndcode
OUTPUT_BASE_FILE_NAME=nucosmics_%(STAGE_NAME)s_test_sbndcode
EXTRA_DIR=%(NUCOSMICS_INPUT_DIRNAME_SBNDCODE)s
INPUT_STREAM=../%(requires)s/%(INPUT_BASE_FILE_NAME)s_%(CUR_SBNDCODE)s.root
CHECK_PRODUCTS_SBNDCODE=0 ; see nucosmics_anatree_quick_test_sbndcode
TFILENAME=hist-%(OUTPUT_BASE_FILE_NAME)s.root
args=%(STDARGS_NOOUTPUT_SBNDCODE)s --input-file %(INPUT_STREAM)s --extra-options --TFileName,%(TFILENAME)s
parse_art_output=True
output1=%(TFILENAME)s
[suite nucosmics_seq_test_sbndcode]
testlist=nucosmics_gen_seq_test_sbndcode nucosmics_g4_seq_test_sbndcode nucosmics_detsim_seq_test_sbndcode nucosmics_reco1_seq_test_sbndcode nucosmics_reco2_seq_test_sbndcode nucosmics_caf_seq_test_sbndcode
[suite generate_reference_nucosmics_test_sbndcode]
testlist=nucosmics_seq_test_sbndcode
################################################################################
# [4] Data tests
##############################
# Using 2 events from run 18266 (off beam zero bias)
#
#
# [4.1] Data tests: quick tests
# ===========================================
#
# These tests are of "quick" type.
#
# The input files are reference files from the corresponding sequential test
# (`data_offBeamZeroBias_XXX_seq_test_sbndcode`), except for the decoders test, where the
# input file is the same as in the sequential test.