TWiki
>
CMSPublic Web
>
CompOps
>
CompOpsMonitoringTeam
>
CompOpsSAMTests
>
SAMRemoteStageout
(2016-07-22,
AndreaSciaba
)
(raw view)
E
dit
A
ttach
P
DF
---+++ SAM CMS Remote Stageout test Full name: *org.cms.WN-remotestageout* %BR% Maintainer: Nicolò Magini ---++++ Overview Verifies that it is possible to stage a file to a remote storage element via lcg-cp using WMCore libraries. ---++++ Checks This script checks: * %ICON{stop}% that the CMS software directory is defined, existing and readable * %ICON{stop}% that the CMS software initialisation script (=cmsset_default.sh=) exists and can be sourced without errors * %ICON{stop}% that Python 2.6 can be found * %ICON{stop}% that the stage out via lcg-cp succeeds to at least one destination site * %X% that the cleanup of the test file succeeds ---++++ Stage out logic * Test the site configuration * test that CMS_PATH exists in the environment * test that can load the site local configuration * test that the stage out command _srmv2-lcg_ (corresponding to the _lcg-cp_ command) is defined * Translate =/store/user/sam/SAM/RemoteStageOutTest-pid-date= into a PFN using the appropriate PFN prefix for the chosen destination SE * This target directory should be writable for the =/cms/Role=lcgadmin= role * The LFN2PFN conversion is hard-coded in the test code, so that we don't need to query the PhEDEx datasvc. We rely on the fact that the destination sites will not change their /store/user path without warning us. * The admins of the destination SEs should set up a cron job to clean up regularly files older than 2 days from the target directory. The test will try to delete the files after copying them, but the deletion is not guaranteed to succeed. * Test the remote stage out * test that a stage out implementation can be retrieved * test that the stage out can be performed normally to at least one of three sites * The current destination sites/endpoints are: * T2_CH_CERN: srm-eos.cms.cern.ch * T2_IT_Pisa: stormfe1.pi.infn.it * T2_US_Nebraska: dcache07.unl.edu * The order in which the destination endpoints are selected for stageout is random. As soon as stageout to one endpoint succeeds, the test returns OK. * Test that the test file can be cleaned up from the remote SE * test that a stage out implementation can be retrieved * test that the file removal succeeds ---++++ Source code * test wrapper https://gitlab.cern.ch/etf/cmssam/blob/master/SiteTests/testjob/tests/CE-cms-remotestageout * test code https://gitlab.cern.ch/etf/cmssam/blob/master/SiteTests/testjob/tests/RuntimeSAMRemoteStageOut.py ---++++ Troubleshooting %RESPONSIBLE% Main.NicoloMagini %BR%
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r7
<
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r7 - 2016-07-22
-
AndreaSciaba
Log In
CMSPublic
CMSPublic Web
CMSPrivate Web
Create New Topic
Index
Search
Changes
Notifications
Statistics
Preferences
Create
a LeftBar
Public webs
Public webs
ABATBEA
ACPP
ADCgroup
AEGIS
AfricaMap
AgileInfrastructure
ALICE
AliceEbyE
AliceSPD
AliceSSD
AliceTOF
AliFemto
ALPHA
ArdaGrid
ASACUSA
AthenaFCalTBAna
Atlas
AtlasLBNL
AXIALPET
CAE
CALICE
CDS
CENF
CERNSearch
CLIC
Cloud
CloudServices
CMS
Controls
CTA
CvmFS
DB
DefaultWeb
DESgroup
DPHEP
DM-LHC
DSSGroup
EGEE
EgeePtf
ELFms
EMI
ETICS
FIOgroup
FlukaTeam
Frontier
Gaudi
GeneratorServices
GuidesInfo
HardwareLabs
HCC
HEPIX
ILCBDSColl
ILCTPC
IMWG
Inspire
IPv6
IT
ItCommTeam
ITCoord
ITdeptTechForum
ITDRP
ITGT
ITSDC
LAr
LCG
LCGAAWorkbook
Leade
LHCAccess
LHCAtHome
LHCb
LHCgas
LHCONE
LHCOPN
LinuxSupport
Main
Medipix
Messaging
MPGD
NA49
NA61
NA62
NTOF
Openlab
PDBService
Persistency
PESgroup
Plugins
PSAccess
PSBUpgrade
R2Eproject
RCTF
RD42
RFCond12
RFLowLevel
ROXIE
Sandbox
SocialActivities
SPI
SRMDev
SSM
Student
SuperComputing
Support
SwfCatalogue
TMVA
TOTEM
TWiki
UNOSAT
Virtualization
VOBox
WITCH
XTCA
Cern Search
TWiki Search
Google Search
CMSPublic
All webs
Copyright &© 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use
Discourse
or
Send feedback