Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LHCbDIRAC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Anton Lu
LHCbDIRAC
Commits
8f9963f2
Commit
8f9963f2
authored
7 years ago
by
Federico Stagni
Browse files
Options
Downloads
Patches
Plain Diff
added reco17
parent
6ca7391f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/Workflow/Integration/Test_ProductionJobs_InputData.py
+16
-17
16 additions, 17 deletions
tests/Workflow/Integration/Test_ProductionJobs_InputData.py
with
16 additions
and
17 deletions
tests/Workflow/Integration/Test_ProductionJobs_InputData.py
+
16
−
17
View file @
8f9963f2
...
...
@@ -26,39 +26,38 @@ class ProductionJobTestCase( IntegrationTest ):
self
.
pr
=
ProductionRequest
()
self
.
diracProduction
=
DiracProduction
()
#TODO (disabled now)
class
Reco17Success
(
ProductionJobTestCase
):
def
test_Integration_Production
(
self
):
lfns
=
[
''
]
# From request
XXXXXX
stepsInProd
=
[{
'
StepId
'
:
''
,
'
StepName
'
:
'
Reco17
'
,
'
ApplicationName
'
:
'
Brunel
'
,
'
ApplicationVersion
'
:
''
,
'
ExtraPackages
'
:
'
AppConfig.v3r
149
'
,
'
ProcessingPass
'
:
'
Reco17
'
,
'
Visible
'
:
'
Y
'
,
'
Usable
'
:
'
Yes
'
,
'
DDDB
'
:
'
dddb-201
20831
'
,
'
CONDDB
'
:
'
cond-201
20831
'
,
'
DQTag
'
:
''
,
'
OptionsFormat
'
:
''
,
'
OptionFiles
'
:
'
$APPCONFIGOPTS/Brunel/DataType-201
2
.py
'
,
'
mcTCK
'
:
''
,
'
ExtraOptions
'
:
''
,
lfns
=
[
'
/lhcb/data/2017/RAW/FULL/LHCb/COLLISION17/192165/192165_0000000011.raw
'
]
# From request
39597
stepsInProd
=
[{
'
StepId
'
:
'
131333
'
,
'
StepName
'
:
'
Reco17
a
'
,
'
ApplicationName
'
:
'
Brunel
'
,
'
ApplicationVersion
'
:
'
v52r4
'
,
'
ExtraPackages
'
:
'
AppConfig.v3r
323;SQLDDDB.v7r10
'
,
'
ProcessingPass
'
:
'
Reco17
a
'
,
'
Visible
'
:
'
Y
'
,
'
Usable
'
:
'
Yes
'
,
'
DDDB
'
:
'
dddb-201
50724
'
,
'
CONDDB
'
:
'
cond-201
70510
'
,
'
DQTag
'
:
''
,
'
OptionsFormat
'
:
''
,
'
OptionFiles
'
:
'
$APPCONFIGOPTS/Brunel/DataType-201
7.py;$APPCONFIGOPTS/Brunel/rdst
.py
'
,
'
mcTCK
'
:
''
,
'
ExtraOptions
'
:
''
,
'
isMulticore
'
:
'
N
'
,
'
SystemConfig
'
:
''
,
'
fileTypesIn
'
:[
'
RAW
'
],
'
fileTypesOut
'
:[
'
BRUNELHIST
'
,
'
FULL.
DST
'
],
'
visibilityFlag
'
:[{
'
Visible
'
:
'
N
'
,
'
FileType
'
:
'
FULL.
DST
'
},
'
fileTypesOut
'
:[
'
BRUNELHIST
'
,
'
R
DST
'
],
'
visibilityFlag
'
:[{
'
Visible
'
:
'
N
'
,
'
FileType
'
:
'
R
DST
'
},
{
'
Visible
'
:
'
Y
'
,
'
FileType
'
:
'
BRUNELHIST
'
}
]
},
{
'
StepId
'
:
38510
,
'
StepName
'
:
'
DataQuality-FULL
'
,
'
ApplicationName
'
:
'
DaVinci
'
,
'
ApplicationVersion
'
:
'
v
3
2r
2
'
,
'
ExtraPackages
'
:
'
AppConfig.v3r
149
'
,
'
ProcessingPass
'
:
'
DataQuality-FULL
'
,
'
Visible
'
:
'
N
'
,
'
Usable
'
:
'
Yes
'
,
'
DDDB
'
:
'
dddb-201
20831
'
,
'
CONDDB
'
:
'
cond-201
20831
'
,
'
DQTag
'
:
''
,
'
OptionsFormat
'
:
'
DQ
'
,
'
OptionFiles
'
:
'
$APPCONFIGOPTS/DaVinci/DVMonitor-RealData.py;$APPCONFIGOPTS/DaVinci/DataType-201
2
.py;$APPCONFIGOPTS/DaVinci/DaVinci-InputType-SDST.py
'
,
{
'
StepId
'
:
131327
,
'
StepName
'
:
'
DataQuality-FULL
'
,
'
ApplicationName
'
:
'
DaVinci
'
,
'
ApplicationVersion
'
:
'
v
4
2r
4
'
,
'
ExtraPackages
'
:
'
AppConfig.v3r
324;SQLDDDB.v7r10
'
,
'
ProcessingPass
'
:
'
DataQuality-FULL
'
,
'
Visible
'
:
'
N
'
,
'
Usable
'
:
'
Yes
'
,
'
DDDB
'
:
'
dddb-201
50724
'
,
'
CONDDB
'
:
'
cond-201
70510
'
,
'
DQTag
'
:
''
,
'
OptionsFormat
'
:
'
DQ
'
,
'
OptionFiles
'
:
'
$APPCONFIGOPTS/DaVinci/DVMonitor-RealData.py;$APPCONFIGOPTS/DaVinci/DataType-201
6
.py;$APPCONFIGOPTS/DaVinci/DaVinci-InputType-SDST.py
'
,
'
isMulticore
'
:
'
N
'
,
'
SystemConfig
'
:
''
,
'
mcTCK
'
:
''
,
'
ExtraOptions
'
:
''
,
'
fileTypesIn
'
:[
'
FULL.
DST
'
],
'
fileTypesIn
'
:[
'
R
DST
'
],
'
fileTypesOut
'
:[
'
DAVINCIHIST
'
],
'
visibilityFlag
'
:[{
'
Visible
'
:
'
Y
'
,
'
FileType
'
:
'
DAVINCIHIST
'
}
]
}
]
prod
=
self
.
pr
.
_buildProduction
(
'
Reconstruction
'
,
stepsInProd
,
{
'
FULL.
DST
'
:
'
Tier1-BUFFER
'
},
0
,
100
,
prod
=
self
.
pr
.
_buildProduction
(
'
Reconstruction
'
,
stepsInProd
,
{
'
R
DST
'
:
'
Tier1-BUFFER
'
},
0
,
100
,
outputMode
=
'
Run
'
,
inputDataPolicy
=
'
protocol
'
,
inputDataList
=
lfns
,
events
=
25
)
prod
.
LHCbJob
.
setInputSandbox
(
find_all
(
'
pilot.cfg
'
,
'
.
'
)[
0
]
)
prod
.
LHCbJob
.
setConfigArgs
(
'
pilot.cfg
'
)
prod
.
LHCbJob
.
_addParameter
(
prod
.
LHCbJob
.
workflow
,
'
runNumber
'
,
'
JDL
'
,
1
54030
,
'
Input run number
'
)
prod
.
LHCbJob
.
_addParameter
(
prod
.
LHCbJob
.
workflow
,
'
runNumber
'
,
'
JDL
'
,
1
92165
,
'
Input run number
'
)
res
=
self
.
diracProduction
.
launchProduction
(
prod
,
False
,
True
,
0
)
self
.
assertTrue
(
res
[
'
OK
'
]
)
...
...
@@ -295,7 +294,7 @@ class RootMergeSuccess( ProductionJobTestCase ):
if
__name__
==
'
__main__
'
:
suite
=
unittest
.
defaultTestLoader
.
loadTestsFromTestCase
(
ProductionJobTestCase
)
#
suite.addTest( unittest.defaultTestLoader.loadTestsFromTestCase( Reco17Success ) )
suite
.
addTest
(
unittest
.
defaultTestLoader
.
loadTestsFromTestCase
(
Reco17Success
)
)
#suite.addTest( unittest.defaultTestLoader.loadTestsFromTestCase( RecoSuccessMultiProcessor ) )
suite
.
addTest
(
unittest
.
defaultTestLoader
.
loadTestsFromTestCase
(
StrippSuccess
)
)
#suite.addTest( unittest.defaultTestLoader.loadTestsFromTestCase( MCMergeSuccess ) )
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment