reqmgr2 2.3.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- PSetTweaks/PSetTweak.py +449 -0
- PSetTweaks/WMTweak.py +621 -0
- PSetTweaks/__init__.py +3 -0
- Utils/CPMetrics.py +270 -0
- Utils/CertTools.py +62 -0
- Utils/EmailAlert.py +50 -0
- Utils/ExtendedUnitTestCase.py +62 -0
- Utils/FileTools.py +182 -0
- Utils/IteratorTools.py +80 -0
- Utils/MathUtils.py +31 -0
- Utils/MemoryCache.py +119 -0
- Utils/Patterns.py +24 -0
- Utils/Pipeline.py +137 -0
- Utils/PortForward.py +97 -0
- Utils/ProcessStats.py +103 -0
- Utils/PythonVersion.py +17 -0
- Utils/Signals.py +36 -0
- Utils/TemporaryEnvironment.py +27 -0
- Utils/Throttled.py +227 -0
- Utils/Timers.py +130 -0
- Utils/Timestamps.py +86 -0
- Utils/TokenManager.py +143 -0
- Utils/Tracing.py +60 -0
- Utils/TwPrint.py +98 -0
- Utils/Utilities.py +308 -0
- Utils/__init__.py +11 -0
- WMCore/ACDC/Collection.py +57 -0
- WMCore/ACDC/CollectionTypes.py +12 -0
- WMCore/ACDC/CouchCollection.py +67 -0
- WMCore/ACDC/CouchFileset.py +238 -0
- WMCore/ACDC/CouchService.py +73 -0
- WMCore/ACDC/DataCollectionService.py +485 -0
- WMCore/ACDC/Fileset.py +94 -0
- WMCore/ACDC/__init__.py +11 -0
- WMCore/Algorithms/Alarm.py +39 -0
- WMCore/Algorithms/MathAlgos.py +274 -0
- WMCore/Algorithms/MiscAlgos.py +67 -0
- WMCore/Algorithms/ParseXMLFile.py +115 -0
- WMCore/Algorithms/Permissions.py +27 -0
- WMCore/Algorithms/Singleton.py +58 -0
- WMCore/Algorithms/SubprocessAlgos.py +129 -0
- WMCore/Algorithms/__init__.py +7 -0
- WMCore/Cache/GenericDataCache.py +98 -0
- WMCore/Cache/WMConfigCache.py +572 -0
- WMCore/Cache/__init__.py +0 -0
- WMCore/Configuration.py +651 -0
- WMCore/DAOFactory.py +47 -0
- WMCore/DataStructs/File.py +177 -0
- WMCore/DataStructs/Fileset.py +140 -0
- WMCore/DataStructs/Job.py +182 -0
- WMCore/DataStructs/JobGroup.py +142 -0
- WMCore/DataStructs/JobPackage.py +49 -0
- WMCore/DataStructs/LumiList.py +734 -0
- WMCore/DataStructs/Mask.py +219 -0
- WMCore/DataStructs/MathStructs/ContinuousSummaryHistogram.py +197 -0
- WMCore/DataStructs/MathStructs/DiscreteSummaryHistogram.py +92 -0
- WMCore/DataStructs/MathStructs/SummaryHistogram.py +117 -0
- WMCore/DataStructs/MathStructs/__init__.py +0 -0
- WMCore/DataStructs/Pickleable.py +24 -0
- WMCore/DataStructs/Run.py +256 -0
- WMCore/DataStructs/Subscription.py +175 -0
- WMCore/DataStructs/WMObject.py +47 -0
- WMCore/DataStructs/WorkUnit.py +112 -0
- WMCore/DataStructs/Workflow.py +60 -0
- WMCore/DataStructs/__init__.py +8 -0
- WMCore/Database/CMSCouch.py +1349 -0
- WMCore/Database/ConfigDBMap.py +29 -0
- WMCore/Database/CouchUtils.py +118 -0
- WMCore/Database/DBCore.py +198 -0
- WMCore/Database/DBCreator.py +113 -0
- WMCore/Database/DBExceptionHandler.py +57 -0
- WMCore/Database/DBFactory.py +110 -0
- WMCore/Database/DBFormatter.py +177 -0
- WMCore/Database/Dialects.py +13 -0
- WMCore/Database/ExecuteDAO.py +327 -0
- WMCore/Database/MongoDB.py +241 -0
- WMCore/Database/MySQL/Destroy.py +42 -0
- WMCore/Database/MySQL/ListUserContent.py +20 -0
- WMCore/Database/MySQL/__init__.py +9 -0
- WMCore/Database/MySQLCore.py +132 -0
- WMCore/Database/Oracle/Destroy.py +56 -0
- WMCore/Database/Oracle/ListUserContent.py +19 -0
- WMCore/Database/Oracle/__init__.py +9 -0
- WMCore/Database/ResultSet.py +44 -0
- WMCore/Database/Transaction.py +91 -0
- WMCore/Database/__init__.py +9 -0
- WMCore/Database/ipy_profile_couch.py +438 -0
- WMCore/FwkJobReport/FileInfo.py +131 -0
- WMCore/FwkJobReport/Report.py +1646 -0
- WMCore/FwkJobReport/ReportEmu.py +122 -0
- WMCore/FwkJobReport/XMLParser.py +606 -0
- WMCore/FwkJobReport/__init__.py +15 -0
- WMCore/GroupUser/CouchObject.py +127 -0
- WMCore/GroupUser/Decorators.py +51 -0
- WMCore/GroupUser/Group.py +33 -0
- WMCore/GroupUser/Interface.py +73 -0
- WMCore/GroupUser/User.py +96 -0
- WMCore/GroupUser/__init__.py +11 -0
- WMCore/Lexicon.py +836 -0
- WMCore/REST/Auth.py +202 -0
- WMCore/REST/CherryPyPeriodicTask.py +166 -0
- WMCore/REST/Error.py +333 -0
- WMCore/REST/Format.py +642 -0
- WMCore/REST/HeartbeatMonitorBase.py +90 -0
- WMCore/REST/Main.py +623 -0
- WMCore/REST/Server.py +2435 -0
- WMCore/REST/Services.py +24 -0
- WMCore/REST/Test.py +120 -0
- WMCore/REST/Tools.py +38 -0
- WMCore/REST/Validation.py +250 -0
- WMCore/REST/__init__.py +1 -0
- WMCore/ReqMgr/CherryPyThreads/AuxCacheUpdateTasks.py +31 -0
- WMCore/ReqMgr/CherryPyThreads/BuildParentLock.py +116 -0
- WMCore/ReqMgr/CherryPyThreads/CouchDBCleanup.py +110 -0
- WMCore/ReqMgr/CherryPyThreads/HeartbeatMonitor.py +154 -0
- WMCore/ReqMgr/CherryPyThreads/StatusChangeTasks.py +131 -0
- WMCore/ReqMgr/CherryPyThreads/StepChainParentageFixTask.py +104 -0
- WMCore/ReqMgr/CherryPyThreads/__init__.py +0 -0
- WMCore/ReqMgr/DataStructs/AuthzByStatus.py +113 -0
- WMCore/ReqMgr/DataStructs/DefaultConfig/CAMPAIGN_CONFIG.py +116 -0
- WMCore/ReqMgr/DataStructs/DefaultConfig/DAS_RESULT_FILTER.py +3 -0
- WMCore/ReqMgr/DataStructs/DefaultConfig/EDITABLE_SPLITTING_PARAM_CONFIG.py +42 -0
- WMCore/ReqMgr/DataStructs/DefaultConfig/UNIFIED_CONFIG.py +240 -0
- WMCore/ReqMgr/DataStructs/DefaultConfig/__init__.py +0 -0
- WMCore/ReqMgr/DataStructs/ReqMgrConfigDataCache.py +65 -0
- WMCore/ReqMgr/DataStructs/Request.py +293 -0
- WMCore/ReqMgr/DataStructs/RequestError.py +21 -0
- WMCore/ReqMgr/DataStructs/RequestStatus.py +209 -0
- WMCore/ReqMgr/DataStructs/RequestType.py +13 -0
- WMCore/ReqMgr/DataStructs/__init__.py +0 -0
- WMCore/ReqMgr/ReqMgrCouch.py +74 -0
- WMCore/ReqMgr/Service/Auxiliary.py +319 -0
- WMCore/ReqMgr/Service/RegExp.py +16 -0
- WMCore/ReqMgr/Service/Request.py +681 -0
- WMCore/ReqMgr/Service/RequestAdditionalInfo.py +317 -0
- WMCore/ReqMgr/Service/RestApiHub.py +68 -0
- WMCore/ReqMgr/Service/WMStatsInfo.py +46 -0
- WMCore/ReqMgr/Service/__init__.py +0 -0
- WMCore/ReqMgr/Tools/__init__.py +0 -0
- WMCore/ReqMgr/Tools/cms.py +243 -0
- WMCore/ReqMgr/Utils/AuxValidation.py +53 -0
- WMCore/ReqMgr/Utils/Validation.py +341 -0
- WMCore/ReqMgr/Utils/__init__.py +0 -0
- WMCore/ReqMgr/Web/ReqMgrService.py +780 -0
- WMCore/ReqMgr/Web/__init__.py +0 -0
- WMCore/ReqMgr/Web/tools.py +211 -0
- WMCore/ReqMgr/Web/utils.py +291 -0
- WMCore/ReqMgr/WebGui/FrontPage.py +38 -0
- WMCore/ReqMgr/WebGui/__init__.py +0 -0
- WMCore/ReqMgr/__init__.py +1 -0
- WMCore/Services/AlertManager/AlertManagerAPI.py +111 -0
- WMCore/Services/AlertManager/__init__.py +0 -0
- WMCore/Services/CRIC/CRIC.py +238 -0
- WMCore/Services/CRIC/__init__.py +0 -0
- WMCore/Services/DBS/DBS3Reader.py +1044 -0
- WMCore/Services/DBS/DBSConcurrency.py +44 -0
- WMCore/Services/DBS/DBSErrors.py +113 -0
- WMCore/Services/DBS/DBSReader.py +23 -0
- WMCore/Services/DBS/DBSUtils.py +139 -0
- WMCore/Services/DBS/DBSWriterObjects.py +381 -0
- WMCore/Services/DBS/ProdException.py +133 -0
- WMCore/Services/DBS/__init__.py +8 -0
- WMCore/Services/FWJRDB/FWJRDBAPI.py +118 -0
- WMCore/Services/FWJRDB/__init__.py +0 -0
- WMCore/Services/HTTPS/HTTPSAuthHandler.py +66 -0
- WMCore/Services/HTTPS/__init__.py +0 -0
- WMCore/Services/LogDB/LogDB.py +201 -0
- WMCore/Services/LogDB/LogDBBackend.py +191 -0
- WMCore/Services/LogDB/LogDBExceptions.py +11 -0
- WMCore/Services/LogDB/LogDBReport.py +85 -0
- WMCore/Services/LogDB/__init__.py +0 -0
- WMCore/Services/MSPileup/__init__.py +0 -0
- WMCore/Services/MSUtils/MSUtils.py +54 -0
- WMCore/Services/MSUtils/__init__.py +0 -0
- WMCore/Services/McM/McM.py +173 -0
- WMCore/Services/McM/__init__.py +8 -0
- WMCore/Services/MonIT/Grafana.py +133 -0
- WMCore/Services/MonIT/__init__.py +0 -0
- WMCore/Services/PyCondor/PyCondorAPI.py +154 -0
- WMCore/Services/PyCondor/PyCondorUtils.py +105 -0
- WMCore/Services/PyCondor/__init__.py +0 -0
- WMCore/Services/ReqMgr/ReqMgr.py +261 -0
- WMCore/Services/ReqMgr/__init__.py +0 -0
- WMCore/Services/ReqMgrAux/ReqMgrAux.py +419 -0
- WMCore/Services/ReqMgrAux/__init__.py +0 -0
- WMCore/Services/RequestDB/RequestDBReader.py +267 -0
- WMCore/Services/RequestDB/RequestDBWriter.py +39 -0
- WMCore/Services/RequestDB/__init__.py +0 -0
- WMCore/Services/Requests.py +624 -0
- WMCore/Services/Rucio/Rucio.py +1287 -0
- WMCore/Services/Rucio/RucioUtils.py +74 -0
- WMCore/Services/Rucio/__init__.py +0 -0
- WMCore/Services/RucioConMon/RucioConMon.py +128 -0
- WMCore/Services/RucioConMon/__init__.py +0 -0
- WMCore/Services/Service.py +400 -0
- WMCore/Services/StompAMQ/__init__.py +0 -0
- WMCore/Services/TagCollector/TagCollector.py +155 -0
- WMCore/Services/TagCollector/XMLUtils.py +98 -0
- WMCore/Services/TagCollector/__init__.py +0 -0
- WMCore/Services/UUIDLib.py +13 -0
- WMCore/Services/UserFileCache/UserFileCache.py +160 -0
- WMCore/Services/UserFileCache/__init__.py +8 -0
- WMCore/Services/WMAgent/WMAgent.py +63 -0
- WMCore/Services/WMAgent/__init__.py +0 -0
- WMCore/Services/WMArchive/CMSSWMetrics.py +526 -0
- WMCore/Services/WMArchive/DataMap.py +463 -0
- WMCore/Services/WMArchive/WMArchive.py +33 -0
- WMCore/Services/WMArchive/__init__.py +0 -0
- WMCore/Services/WMBS/WMBS.py +97 -0
- WMCore/Services/WMBS/__init__.py +0 -0
- WMCore/Services/WMStats/DataStruct/RequestInfoCollection.py +300 -0
- WMCore/Services/WMStats/DataStruct/__init__.py +0 -0
- WMCore/Services/WMStats/WMStatsPycurl.py +145 -0
- WMCore/Services/WMStats/WMStatsReader.py +445 -0
- WMCore/Services/WMStats/WMStatsWriter.py +273 -0
- WMCore/Services/WMStats/__init__.py +0 -0
- WMCore/Services/WMStatsServer/WMStatsServer.py +134 -0
- WMCore/Services/WMStatsServer/__init__.py +0 -0
- WMCore/Services/WorkQueue/WorkQueue.py +492 -0
- WMCore/Services/WorkQueue/__init__.py +0 -0
- WMCore/Services/__init__.py +8 -0
- WMCore/Services/pycurl_manager.py +574 -0
- WMCore/Storage/Backends/AWSS3Impl.py +110 -0
- WMCore/Storage/Backends/CPImpl.py +125 -0
- WMCore/Storage/Backends/FNALImpl.py +229 -0
- WMCore/Storage/Backends/GFAL2Impl.py +260 -0
- WMCore/Storage/Backends/LCGImpl.py +236 -0
- WMCore/Storage/Backends/SRMV2Impl.py +248 -0
- WMCore/Storage/Backends/TestFallbackToOldBackend.py +130 -0
- WMCore/Storage/Backends/UnittestImpl.py +188 -0
- WMCore/Storage/Backends/VandyImpl.py +110 -0
- WMCore/Storage/Backends/XRDCPImpl.py +314 -0
- WMCore/Storage/Backends/__init__.py +29 -0
- WMCore/Storage/DeleteMgr.py +255 -0
- WMCore/Storage/Execute.py +82 -0
- WMCore/Storage/FileManager.py +448 -0
- WMCore/Storage/Plugins/CPImpl.py +45 -0
- WMCore/Storage/Plugins/Examples/SRMV2Impl.py +188 -0
- WMCore/Storage/Plugins/Examples/XRDCPImpl.py +64 -0
- WMCore/Storage/Plugins/Examples/__init__.py +1 -0
- WMCore/Storage/Plugins/FNALImpl.py +329 -0
- WMCore/Storage/Plugins/GFAL2Impl.py +84 -0
- WMCore/Storage/Plugins/LCGImpl.py +91 -0
- WMCore/Storage/Plugins/TestFailImpl.py +33 -0
- WMCore/Storage/Plugins/TestLocalCopyImpl.py +48 -0
- WMCore/Storage/Plugins/TestWinImpl.py +28 -0
- WMCore/Storage/Plugins/VandyImpl.py +109 -0
- WMCore/Storage/Plugins/__init__.py +17 -0
- WMCore/Storage/Registry.py +105 -0
- WMCore/Storage/RucioFileCatalog.py +247 -0
- WMCore/Storage/SiteLocalConfig.py +353 -0
- WMCore/Storage/StageInMgr.py +257 -0
- WMCore/Storage/StageOutError.py +69 -0
- WMCore/Storage/StageOutImpl.py +303 -0
- WMCore/Storage/StageOutImplV2.py +97 -0
- WMCore/Storage/StageOutMgr.py +390 -0
- WMCore/Storage/StoreFail.py +73 -0
- WMCore/Storage/TestImpl.py +71 -0
- WMCore/Storage/TrivialFileCatalog.py +383 -0
- WMCore/Storage/__init__.py +0 -0
- WMCore/WMBase.py +50 -0
- WMCore/WMConnectionBase.py +164 -0
- WMCore/WMException.py +183 -0
- WMCore/WMExceptions.py +269 -0
- WMCore/WMFactory.py +76 -0
- WMCore/WMInit.py +228 -0
- WMCore/WMLogging.py +108 -0
- WMCore/WMRuntime/Bootstrap.py +459 -0
- WMCore/WMRuntime/Monitors/PerformanceMonitor.py +308 -0
- WMCore/WMRuntime/Monitors/TestMonitor.py +197 -0
- WMCore/WMRuntime/Monitors/WMRuntimeMonitor.py +115 -0
- WMCore/WMRuntime/Monitors/__init__.py +8 -0
- WMCore/WMRuntime/ProcessMonitor.py +157 -0
- WMCore/WMRuntime/Sandbox.py +56 -0
- WMCore/WMRuntime/SandboxCreator.py +199 -0
- WMCore/WMRuntime/ScriptFactory.py +53 -0
- WMCore/WMRuntime/ScriptInterface.py +30 -0
- WMCore/WMRuntime/ScriptInvoke.py +120 -0
- WMCore/WMRuntime/Scripts/SetupCMSSWPset.py +826 -0
- WMCore/WMRuntime/Scripts/__init__.py +7 -0
- WMCore/WMRuntime/Startup.py +57 -0
- WMCore/WMRuntime/StepSpace.py +75 -0
- WMCore/WMRuntime/TaskSpace.py +144 -0
- WMCore/WMRuntime/Tools/Plugins/__init__.py +7 -0
- WMCore/WMRuntime/Tools/Scram.py +465 -0
- WMCore/WMRuntime/Tools/__init__.py +8 -0
- WMCore/WMRuntime/Unpacker.py +175 -0
- WMCore/WMRuntime/Watchdog.py +329 -0
- WMCore/WMRuntime/__init__.py +8 -0
- WMCore/WMSpec/ConfigSectionTree.py +442 -0
- WMCore/WMSpec/Makers/Handlers/MakeJob.py +46 -0
- WMCore/WMSpec/Makers/Handlers/MakeJobSlave.py +66 -0
- WMCore/WMSpec/Makers/Handlers/__init__.py +9 -0
- WMCore/WMSpec/Makers/Interface/CreateWorkArea.py +466 -0
- WMCore/WMSpec/Makers/Interface/__init__.py +9 -0
- WMCore/WMSpec/Makers/JobMaker.py +33 -0
- WMCore/WMSpec/Makers/TaskMaker.py +229 -0
- WMCore/WMSpec/Makers/__init__.py +9 -0
- WMCore/WMSpec/Persistency.py +135 -0
- WMCore/WMSpec/StdSpecs/DQMHarvest.py +156 -0
- WMCore/WMSpec/StdSpecs/DataProcessing.py +75 -0
- WMCore/WMSpec/StdSpecs/Express.py +506 -0
- WMCore/WMSpec/StdSpecs/PromptReco.py +220 -0
- WMCore/WMSpec/StdSpecs/ReReco.py +280 -0
- WMCore/WMSpec/StdSpecs/Repack.py +219 -0
- WMCore/WMSpec/StdSpecs/Resubmission.py +213 -0
- WMCore/WMSpec/StdSpecs/StdBase.py +1412 -0
- WMCore/WMSpec/StdSpecs/StepChain.py +672 -0
- WMCore/WMSpec/StdSpecs/StoreResults.py +124 -0
- WMCore/WMSpec/StdSpecs/TaskChain.py +777 -0
- WMCore/WMSpec/StdSpecs/__init__.py +9 -0
- WMCore/WMSpec/Steps/BuildMaster.py +87 -0
- WMCore/WMSpec/Steps/BuildTools.py +201 -0
- WMCore/WMSpec/Steps/Builder.py +97 -0
- WMCore/WMSpec/Steps/Builders/AlcaHarvest.py +31 -0
- WMCore/WMSpec/Steps/Builders/CMSSW.py +34 -0
- WMCore/WMSpec/Steps/Builders/DQMUpload.py +34 -0
- WMCore/WMSpec/Steps/Builders/DeleteFiles.py +34 -0
- WMCore/WMSpec/Steps/Builders/LogArchive.py +34 -0
- WMCore/WMSpec/Steps/Builders/LogCollect.py +34 -0
- WMCore/WMSpec/Steps/Builders/StageOut.py +34 -0
- WMCore/WMSpec/Steps/Builders/__init__.py +8 -0
- WMCore/WMSpec/Steps/Diagnostic.py +89 -0
- WMCore/WMSpec/Steps/Diagnostics/AlcaHarvest.py +72 -0
- WMCore/WMSpec/Steps/Diagnostics/CMSSW.py +302 -0
- WMCore/WMSpec/Steps/Diagnostics/DQMUpload.py +70 -0
- WMCore/WMSpec/Steps/Diagnostics/DeleteFiles.py +67 -0
- WMCore/WMSpec/Steps/Diagnostics/Generic.py +18 -0
- WMCore/WMSpec/Steps/Diagnostics/LogArchive.py +76 -0
- WMCore/WMSpec/Steps/Diagnostics/LogCollect.py +80 -0
- WMCore/WMSpec/Steps/Diagnostics/StageOut.py +77 -0
- WMCore/WMSpec/Steps/Diagnostics/__init__.py +8 -0
- WMCore/WMSpec/Steps/Emulator.py +62 -0
- WMCore/WMSpec/Steps/Emulators/AlcaHarvest.py +50 -0
- WMCore/WMSpec/Steps/Emulators/CMSSW.py +52 -0
- WMCore/WMSpec/Steps/Emulators/DQMUpload.py +50 -0
- WMCore/WMSpec/Steps/Emulators/DeleteFiles.py +50 -0
- WMCore/WMSpec/Steps/Emulators/LogArchive.py +83 -0
- WMCore/WMSpec/Steps/Emulators/LogCollect.py +66 -0
- WMCore/WMSpec/Steps/Emulators/StageOut.py +50 -0
- WMCore/WMSpec/Steps/Emulators/__init__.py +10 -0
- WMCore/WMSpec/Steps/ExecuteMaster.py +208 -0
- WMCore/WMSpec/Steps/Executor.py +210 -0
- WMCore/WMSpec/Steps/Executors/AlcaHarvest.py +206 -0
- WMCore/WMSpec/Steps/Executors/CMSSW.py +473 -0
- WMCore/WMSpec/Steps/Executors/DQMUpload.py +295 -0
- WMCore/WMSpec/Steps/Executors/DeleteFiles.py +161 -0
- WMCore/WMSpec/Steps/Executors/LogArchive.py +309 -0
- WMCore/WMSpec/Steps/Executors/LogCollect.py +284 -0
- WMCore/WMSpec/Steps/Executors/StageOut.py +325 -0
- WMCore/WMSpec/Steps/Executors/__init__.py +8 -0
- WMCore/WMSpec/Steps/Fetchers/CMSSWFetcher.py +49 -0
- WMCore/WMSpec/Steps/Fetchers/FetcherInterface.py +45 -0
- WMCore/WMSpec/Steps/Fetchers/PileupFetcher.py +247 -0
- WMCore/WMSpec/Steps/Fetchers/URLFetcher.py +61 -0
- WMCore/WMSpec/Steps/Fetchers/__init__.py +9 -0
- WMCore/WMSpec/Steps/StepFactory.py +213 -0
- WMCore/WMSpec/Steps/TaskEmulator.py +75 -0
- WMCore/WMSpec/Steps/Template.py +204 -0
- WMCore/WMSpec/Steps/Templates/AlcaHarvest.py +76 -0
- WMCore/WMSpec/Steps/Templates/CMSSW.py +613 -0
- WMCore/WMSpec/Steps/Templates/DQMUpload.py +59 -0
- WMCore/WMSpec/Steps/Templates/DeleteFiles.py +70 -0
- WMCore/WMSpec/Steps/Templates/LogArchive.py +84 -0
- WMCore/WMSpec/Steps/Templates/LogCollect.py +105 -0
- WMCore/WMSpec/Steps/Templates/StageOut.py +105 -0
- WMCore/WMSpec/Steps/Templates/__init__.py +10 -0
- WMCore/WMSpec/Steps/WMExecutionFailure.py +21 -0
- WMCore/WMSpec/Steps/__init__.py +8 -0
- WMCore/WMSpec/Utilities.py +63 -0
- WMCore/WMSpec/WMSpecErrors.py +12 -0
- WMCore/WMSpec/WMStep.py +347 -0
- WMCore/WMSpec/WMTask.py +1980 -0
- WMCore/WMSpec/WMWorkload.py +2288 -0
- WMCore/WMSpec/WMWorkloadTools.py +370 -0
- WMCore/WMSpec/__init__.py +9 -0
- WMCore/WorkQueue/DataStructs/CouchWorkQueueElement.py +148 -0
- WMCore/WorkQueue/DataStructs/WorkQueueElement.py +274 -0
- WMCore/WorkQueue/DataStructs/__init__.py +0 -0
- WMCore/WorkQueue/__init__.py +13 -0
- WMCore/Wrappers/JsonWrapper/JSONThunker.py +342 -0
- WMCore/Wrappers/JsonWrapper/__init__.py +7 -0
- WMCore/Wrappers/__init__.py +6 -0
- WMCore/__init__.py +10 -0
- reqmgr2-2.3.10.data/data/bin/wmc-dist-patch +15 -0
- reqmgr2-2.3.10.data/data/bin/wmc-dist-unpatch +8 -0
- reqmgr2-2.3.10.data/data/bin/wmc-httpd +3 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/_id +1 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/couchapp.json +5 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/language +1 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/config_by_label/map.js +12 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/config_by_md5hash/map.js +7 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/config_by_owner/map.js +15 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/config_by_psethash/map.js +7 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/config_type/map.js +10 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/group_name/map.js +10 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/groups/map.js +10 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/groups/reduce.js +12 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/owner_name_group/map.js +7 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/runseq_by_owner/map.js +10 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/runsequence_type/map.js +10 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/seedseq_by_owner/map.js +10 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/types/map.js +7 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/_id +1 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/couchapp.json +5 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/language +1 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/updates/totalstats.js +39 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/updates/updaterequest.js +105 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/validate_doc_update.js +6 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bycampaign/map.js +5 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bydatapileup/map.js +21 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bydate/map.js +14 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/byinputdataset/map.js +21 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bymcpileup/map.js +21 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/byoriginalrequest/map.js +6 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/byoutputdataset/map.js +7 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/byparentageflag/map.js +5 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/byprepid/map.js +22 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/byrequest/map.js +3 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bystatus/map.js +7 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bystatusandrequestor/map.js +3 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bystatusandtime/map.js +7 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bystatusandtypeandrequestor/map.js +3 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/byteamandstatus/map.js +5 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bytype/map.js +3 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/childresubmissionrequests/map.js +10 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/requestsbystatusandtype/map.js +3 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/requestsincludeparents/map.js +11 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgrAux/_id +1 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgrAux/couchapp.json +5 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgrAux/filters/filterDeletedDocs.js +3 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgrAux/language +1 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgrAux/validate_doc_update.js +6 -0
- reqmgr2-2.3.10.data/data/data/couchapps/ReqMgrAux/views/byconfig/map.js +5 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/ColVis.css +76 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/font-awesome.min.css +4 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/badge-circle-check-16.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/badge-circle-cross-16.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/badge-circle-plus-16.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/badge-square-check-16.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/cms_logo.gif +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/cms_logo.jpeg +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_highlight-hard_55_5c9ccc_1x100.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_inset-soft_100_fcfdfd_1x100.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_217bc0_256x240.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_2694e8_256x240.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_2e83ff_256x240.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_469bdd_256x240.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_6da8d5_256x240.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_cd0a0a_256x240.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_d8e7f3_256x240.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_f9bd01_256x240.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/warning-16.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/jquery-ui-1.12.0.css +1312 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/jquery.dataTables.css +241 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/logdb.css +60 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/main_layout.css +565 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/fonts/FontAwesome.otf +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.eot +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.svg +565 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.ttf +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.woff +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.woff2 +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/Sorting icons.psd +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/back_disabled.jpg +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/back_enabled.jpg +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/error.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/favicon.ico +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/forward_disabled.jpg +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/forward_enabled.jpg +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/loader-1.gif +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/module.caption.backg.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/module.caption.backg.rolledup.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/rollup.gif +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/sort_asc.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/sort_asc_disabled.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/sort_both.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/sort_desc.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/sort_desc_disabled.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/stable.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/warning.png +0 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/index.html +105 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/index.html.min +106 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/index.html.org +125 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Controller/WMStats.ActiveRequestController.js +61 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Controller/WMStats.GenericController.js +38 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Controller/WMStats.WorkloadSummaryController.js +12 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Controller/import.js +6 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/T0/WMStats.RequestSummary.js +71 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/T0/WMStats.RunSummary.js +70 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.AgentRequestSummary.js +28 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.CMSSWSummary.js +28 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.CampaignSummary.js +28 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.ReqMgrRequest.js +10 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.RequestSummary.js +190 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Agents.js +98 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Alerts.js +21 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Campaigns.js +25 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.GenericRequests.js +728 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.History.js +78 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.JobDetails.js +19 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.JobSummary.js +32 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.LogDBData.js +93 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.LogMessage.js +38 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.SiteSummary.js +24 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Sites.js +25 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Tasks.js +107 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.WorkloadSummary.js +20 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats._StructBase.js +37 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/import.js +29 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T0/WMStats.ActiveRequestModel.js +9 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T0/WMStats.RequestLogDetailModel.js +17 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T0/WMStats.RequestLogModel.js +14 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T0/WMStats.RequestModel.js +3 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T0/WMStats.RequestSearchModel.js +8 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T1/WMStats.ActiveRequestModel.js +9 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T1/WMStats.ReqMgrRequestModel.js +8 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T1/WMStats.RequestLogDetailModel.js +18 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T1/WMStats.RequestLogModel.js +14 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T1/WMStats.RequestSearchModel.js +8 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats.AgentModel.js +3 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats.AlertModel.js +6 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats.HistoryModel.js +14 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats.JobDetailModel.js +22 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats.JobSummaryModel.js +18 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats.WorkloadSummaryModel.js +8 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats._AjaxModelBase.js +55 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats._ModelBase.js +77 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats._RequestModelBase.js +127 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/import.js +26 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/ViewModels/WMStats.ViewModel.js +511 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/ViewModels/import.js +2 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Controls/T0/WMStats.Controls.js +117 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Controls/T1/WMStats.Controls.js +158 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Controls/WMStats.CommonControls.js +100 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Controls/import.js +10 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Graphs/WMStats.SiteHistoryGraph.js +8 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Graphs/import.js +3 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.CategoryDetailList.js +38 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.RequestAlertGUI.js +128 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.RequestDataList.js +25 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.RequestDetailList.js +68 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.RequestSummaryList.js +31 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.CategoryDetailList.js +54 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.RequestAlertGUI.js +81 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.RequestDataList.js +26 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.RequestDetailList.js +122 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.RequestSummaryList.js +35 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.ResubmissionList.js +64 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.AgentDetailList.js +137 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.CategoryTitle.js +20 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.HTMLList.js +12 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.JobDetailList.js +178 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.RequestLogList.js +88 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.RequestTitle.js +33 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/import.js +25 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T0/WMStats.ActiveRequestTable.js +142 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T0/WMStats.RunSummaryTable.js +77 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T0/WMStats.TaskSummaryTable.js +127 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T0/addCategoryMap.js +10 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.ActiveRequestTable.js +132 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.ActiveRequestTableWithJob.js +164 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.AgentRequestSummaryTable.js +78 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.CMSSWSummaryTable.js +76 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.CampaignSummaryTable.js +76 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.SiteSummaryTable.js +63 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.TaskSummaryTable.js +124 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/addCategoryMap.js +17 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/WMStats.JobSummaryTable.js +71 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/WMStats.Table.js +70 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/WMStats.TableController.js +130 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/WMStats.WorkloadSummaryTable.js +62 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/import.js +26 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/WMStats.CategoryMap.js +45 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/WMStats.View.IndexHTML.js +137 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/import.js +3 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/WMStats.Ajax.js +74 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/WMStats.Couch.js +83 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/WMStats.Globals.js +200 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/WMStats.Utils.js +283 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/import-all.min.js +7 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/loader.js +27 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/minified/global.min.js +639 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/minified/import-all-t0.min.js +4317 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/minified/import-all-t1.min.js +4972 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/lib/jquery.dataTables.columnFilter.js +732 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/lib/namespace.js +23 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/filters/deleteFatDocFilter.js +3 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/filters/filterDeletedDocs.js +3 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/filters/repfilter.js +7 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/rewrites.json +110 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/shows/redirect.js +23 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/updates/agentInfo.js +17 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/updates/generalFields.js +11 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/updates/insertRequest.js +13 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/updates/jobLogArchiveLocation.js +10 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/updates/jobStateTransition.js +17 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/updates/jobSummaryState.js +5 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/updates/totalStats.js +39 -0
- reqmgr2-2.3.10.data/data/data/couchapps/WMStats/validate_doc_update.js +10 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/cms_logo.jpg +0 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/details_closed.gif +0 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/details_open.gif +0 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/feed-icon.png +0 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/gradientfromtop.gif +0 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/loading-small.gif +0 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/loading.gif +0 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/shadow.gif +0 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/index.html +67 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/javascript/ajax_utils.js +104 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/javascript/config.js +10 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/javascript/md5.js +184 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/javascript/prototype.js +7510 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/javascript/requestsview.js +189 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/javascript/task_splitting.js +190 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/javascript/utils.js +337 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/admin.tmpl +217 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/apis.tmpl +36 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/approve.tmpl +112 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/assign.tmpl +252 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/batch.tmpl +72 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/batches.tmpl +63 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/confirm.tmpl +34 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/create.tmpl +112 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/doc.tmpl +152 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/error.tmpl +6 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/filter_sort.tmpl +55 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/generic.tmpl +6 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/index.tmpl +24 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/main.tmpl +33 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/manualConversions.txt +57 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/menu.tmpl +16 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/requests.tmpl +51 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/search.tmpl +22 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/validate.tmpl +9 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/workflow.tmpl +34 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/style/kube.min.css +1 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/style/main.css +194 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/style/style.css +249 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/admin.tmpl +217 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/apis.tmpl +36 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/approve.tmpl +114 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/assign.tmpl +253 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/batch.tmpl +72 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/batches.tmpl +63 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/confirm.tmpl +35 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/create.tmpl +112 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/doc.tmpl +153 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/error.tmpl +6 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/filter_sort.tmpl +55 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/generic.tmpl +6 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/index.tmpl +24 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/json/DataProcessing.tmpl +34 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/json/MonteCarlo.tmpl +29 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/json/ReDigi.tmpl +41 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/json/ReReco.tmpl +38 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/json/Resubmission.tmpl +22 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/json/StoreResults.tmpl +24 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/main.tmpl +33 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/menu.tmpl +16 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/requests.tmpl +51 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/search.tmpl +22 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/validate.tmpl +9 -0
- reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/workflow.tmpl +34 -0
- reqmgr2-2.3.10.dist-info/LICENSE +202 -0
- reqmgr2-2.3.10.dist-info/METADATA +24 -0
- reqmgr2-2.3.10.dist-info/NOTICE +16 -0
- reqmgr2-2.3.10.dist-info/RECORD +678 -0
- reqmgr2-2.3.10.dist-info/WHEEL +5 -0
- reqmgr2-2.3.10.dist-info/top_level.txt +3 -0
WMCore/WMException.py
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
#!/usr/bin/python
|
|
2
|
+
"""
|
|
3
|
+
_WMException_
|
|
4
|
+
|
|
5
|
+
General Exception class for WM modules
|
|
6
|
+
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from builtins import str, bytes
|
|
10
|
+
from future.utils import viewitems
|
|
11
|
+
|
|
12
|
+
import inspect
|
|
13
|
+
import logging
|
|
14
|
+
import sys
|
|
15
|
+
import traceback
|
|
16
|
+
|
|
17
|
+
from Utils.Utilities import decodeBytesToUnicode
|
|
18
|
+
from WMCore.Configuration import PY3
|
|
19
|
+
|
|
20
|
+
WMEXCEPTION_START_STR = str("<@========== WMException Start ==========@>")
|
|
21
|
+
WMEXCEPTION_END_STR = str("<@---------- WMException End ----------@>")
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class WMException(Exception):
|
|
25
|
+
"""
|
|
26
|
+
_WMException_
|
|
27
|
+
|
|
28
|
+
Exception class which works out details of where
|
|
29
|
+
it was raised.
|
|
30
|
+
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
def __init__(self, message, errorNo=None, **data):
|
|
34
|
+
self.name = str(self.__class__.__name__)
|
|
35
|
+
|
|
36
|
+
# Fix for the unicode encoding issue, see #8056 and #8403
|
|
37
|
+
# interprets this string using utf-8 codec and ignoring any errors.
|
|
38
|
+
# using unicode sandwich pattern
|
|
39
|
+
message = decodeBytesToUnicode(message, "ignore")
|
|
40
|
+
|
|
41
|
+
Exception.__init__(self, self.name, message)
|
|
42
|
+
|
|
43
|
+
# //
|
|
44
|
+
# // Init data dictionary with defaults
|
|
45
|
+
# //
|
|
46
|
+
self.data = {}
|
|
47
|
+
self.data.setdefault("ClassName", None)
|
|
48
|
+
self.data.setdefault("ModuleName", None)
|
|
49
|
+
self.data.setdefault("MethodName", None)
|
|
50
|
+
self.data.setdefault("ClassInstance", None)
|
|
51
|
+
self.data.setdefault("FileName", None)
|
|
52
|
+
self.data.setdefault("LineNumber", None)
|
|
53
|
+
if errorNo is None:
|
|
54
|
+
self.data.setdefault("ErrorNr", 0)
|
|
55
|
+
else:
|
|
56
|
+
self.data.setdefault("ErrorNr", errorNo)
|
|
57
|
+
|
|
58
|
+
self._message = message
|
|
59
|
+
self.addInfo(**data)
|
|
60
|
+
|
|
61
|
+
# //
|
|
62
|
+
# // Automatically determine the module name
|
|
63
|
+
# // if not set
|
|
64
|
+
if self.data['ModuleName'] is None:
|
|
65
|
+
try:
|
|
66
|
+
frame = inspect.currentframe()
|
|
67
|
+
lastframe = inspect.getouterframes(frame)[1][0]
|
|
68
|
+
excepModule = inspect.getmodule(lastframe)
|
|
69
|
+
if excepModule is not None:
|
|
70
|
+
modName = excepModule.__name__
|
|
71
|
+
self.data['ModuleName'] = modName
|
|
72
|
+
finally:
|
|
73
|
+
frame = None
|
|
74
|
+
|
|
75
|
+
# //
|
|
76
|
+
# // Find out where the exception came from
|
|
77
|
+
# //
|
|
78
|
+
try:
|
|
79
|
+
stack = inspect.stack(1)[1]
|
|
80
|
+
self.data['FileName'] = stack[1]
|
|
81
|
+
self.data['LineNumber'] = stack[2]
|
|
82
|
+
self.data['MethodName'] = stack[3]
|
|
83
|
+
finally:
|
|
84
|
+
stack = None
|
|
85
|
+
|
|
86
|
+
# //
|
|
87
|
+
# // ClassName if ClassInstance is passed
|
|
88
|
+
# //
|
|
89
|
+
try:
|
|
90
|
+
if self.data['ClassInstance'] is not None:
|
|
91
|
+
self.data['ClassName'] = self.data['ClassInstance'].__class__.__name__
|
|
92
|
+
except Exception:
|
|
93
|
+
pass
|
|
94
|
+
|
|
95
|
+
# Determine the traceback at time of __init__
|
|
96
|
+
try:
|
|
97
|
+
self.traceback = "\n".join(traceback.format_tb(sys.exc_info()[2]))
|
|
98
|
+
except Exception:
|
|
99
|
+
self.traceback = "WMException error: Couldn't get traceback\n"
|
|
100
|
+
# using unicode sandwich pattern
|
|
101
|
+
self.traceback = decodeBytesToUnicode(self.traceback, "ignore")
|
|
102
|
+
|
|
103
|
+
def __getitem__(self, key):
|
|
104
|
+
"""
|
|
105
|
+
make exception look like a dictionary
|
|
106
|
+
"""
|
|
107
|
+
return self.data[key]
|
|
108
|
+
|
|
109
|
+
def __setitem__(self, key, value):
|
|
110
|
+
"""
|
|
111
|
+
make exception look like a dictionary
|
|
112
|
+
"""
|
|
113
|
+
# using unicode sandwich pattern
|
|
114
|
+
key = decodeBytesToUnicode(key, "ignore")
|
|
115
|
+
value = decodeBytesToUnicode(value, "ignore")
|
|
116
|
+
self.data[key] = value
|
|
117
|
+
|
|
118
|
+
def addInfo(self, **data):
|
|
119
|
+
"""
|
|
120
|
+
_addInfo_
|
|
121
|
+
|
|
122
|
+
Add key=value information pairs to an
|
|
123
|
+
exception instance
|
|
124
|
+
"""
|
|
125
|
+
for key, value in viewitems(data):
|
|
126
|
+
# assumption: value is not iterable (list, dict, tuple, ...)
|
|
127
|
+
# using unicode sandwich pattern
|
|
128
|
+
key = decodeBytesToUnicode(key, "ignore")
|
|
129
|
+
value = decodeBytesToUnicode(value, "ignore")
|
|
130
|
+
self.data[key] = value
|
|
131
|
+
return
|
|
132
|
+
|
|
133
|
+
def xml(self):
|
|
134
|
+
"""create a xml string rep of this exception"""
|
|
135
|
+
strg = "<Exception>\n"
|
|
136
|
+
strg += "<Object>\n"
|
|
137
|
+
strg += "%s\n" % self.name
|
|
138
|
+
strg += "</Object>\n"
|
|
139
|
+
strg += "<Message>\n"
|
|
140
|
+
strg += self._message
|
|
141
|
+
strg += "</Message>\n"
|
|
142
|
+
strg += "<DataItems>\n"
|
|
143
|
+
for key, value in viewitems(self.data):
|
|
144
|
+
strg += "<DataItem>\n"
|
|
145
|
+
strg += "<Key>\n"
|
|
146
|
+
strg += str(key)
|
|
147
|
+
strg += "</Key>\n"
|
|
148
|
+
strg += "<Value>\n"
|
|
149
|
+
strg += str(value)
|
|
150
|
+
strg += "</Value>\n"
|
|
151
|
+
strg += "</DataItem>\n"
|
|
152
|
+
strg += "</DataItems>\n"
|
|
153
|
+
strg += "</Exception>\n"
|
|
154
|
+
logging.error(strg)
|
|
155
|
+
return strg
|
|
156
|
+
|
|
157
|
+
def __as_unicode(self):
|
|
158
|
+
"""create a string rep of this exception"""
|
|
159
|
+
# WARNING: Do not change this string - it is used to extract error from log
|
|
160
|
+
strg = WMEXCEPTION_START_STR
|
|
161
|
+
strg += "\nException Class: %s\n" % self.name
|
|
162
|
+
strg += "Message: %s\n" % self._message
|
|
163
|
+
for key, value in viewitems(self.data):
|
|
164
|
+
strg += "\t%s : %s\n" % (key, value,)
|
|
165
|
+
strg += "\nTraceback: \n"
|
|
166
|
+
strg += self.traceback
|
|
167
|
+
strg += '\n'
|
|
168
|
+
strg += WMEXCEPTION_END_STR
|
|
169
|
+
return strg
|
|
170
|
+
|
|
171
|
+
def __as_bytes(self):
|
|
172
|
+
return self.__as_unicode().encode("utf-8")
|
|
173
|
+
|
|
174
|
+
if PY3:
|
|
175
|
+
__str__ = __as_unicode
|
|
176
|
+
else:
|
|
177
|
+
__str__ = __as_bytes
|
|
178
|
+
__unicode__ = __as_unicode
|
|
179
|
+
__repr__ = __str__
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
def message(self):
|
|
183
|
+
return self._message
|
WMCore/WMExceptions.py
ADDED
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
#!/usr/bin/python
|
|
2
|
+
"""
|
|
3
|
+
_WMExceptions_
|
|
4
|
+
|
|
5
|
+
- List of standard exception ids and their
|
|
6
|
+
mappings to a human readable message.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
WMEXCEPTION = {'WMCORE-1': 'Not allowed to instantiate ',
|
|
10
|
+
'WMCORE-2': 'Problem creating database table ',
|
|
11
|
+
'WMCORE-3': 'Could not find in library class ',
|
|
12
|
+
'WMCORE-4': 'Problem with loading the class ',
|
|
13
|
+
'WMCORE-5': 'Dialect not specified in configuration ',
|
|
14
|
+
'WMCORE-6': 'Message name is same as diagnostic message name! ',
|
|
15
|
+
'WMCORE-7': 'Component name is reserved word. ',
|
|
16
|
+
'WMCORE-8': 'No config section for this component! ',
|
|
17
|
+
'WMCORE-9': 'Problem inserting a trigger flag. ',
|
|
18
|
+
'WMCORE-10': 'Problem setting trigger action. ',
|
|
19
|
+
'WMCORE-11': 'Security exception. ',
|
|
20
|
+
'WMCORE-12': 'Database connection problem ',
|
|
21
|
+
'WMCORE-13': 'Number of retries exceeded'}
|
|
22
|
+
|
|
23
|
+
"""
|
|
24
|
+
WM_JOB_ERROR_CODES
|
|
25
|
+
List of job error codes present in WMCore, some of them coming from CMSSW, and a description of the error it represents.
|
|
26
|
+
|
|
27
|
+
IMPORTANT:
|
|
28
|
+
Any change which is done for WM_JOB_ERROR_CODES has to be done also in the following twiki page:
|
|
29
|
+
https://twiki.cern.ch/twiki/bin/view/CMSPublic/JobExitCodes
|
|
30
|
+
----------------
|
|
31
|
+
Range(1 - 512)
|
|
32
|
+
standard ones in Unix and indicate a CMSSW abort that the cmsRun did not catch as exception
|
|
33
|
+
----------------
|
|
34
|
+
Range(7000 - 9000)
|
|
35
|
+
cmsRun (CMSSW) exit codes. These codes may depend on specific CMSSW version
|
|
36
|
+
https://github.com/cms-sw/cmssw/blob/CMSSW_5_0_1/FWCore/Utilities/interface/EDMException.h#L26
|
|
37
|
+
----------------
|
|
38
|
+
Range(10000 - 19999)
|
|
39
|
+
Failures related to the environment setup
|
|
40
|
+
----------------
|
|
41
|
+
Range(50000 - 59999)
|
|
42
|
+
Failures related executable file
|
|
43
|
+
----------------
|
|
44
|
+
Range(60000 - 69999)
|
|
45
|
+
Failures related staging-OUT
|
|
46
|
+
----------------
|
|
47
|
+
Range(70000 - 79999)
|
|
48
|
+
Failures related only for WMAgent. (which does not fit into ranges before)
|
|
49
|
+
----------------
|
|
50
|
+
Range(80000 - 89999)
|
|
51
|
+
Failures related only for CRAB3. (which does not fit into ranges before)
|
|
52
|
+
----------------
|
|
53
|
+
Range(90000 - 99999)
|
|
54
|
+
Other problems which does not fit to any range before.
|
|
55
|
+
----------------
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
WM_JOB_ERROR_CODES = {-1: "Error return without specification.",
|
|
59
|
+
1: "Job failed to bootstrap CMSSW; likely a worker node issue.",
|
|
60
|
+
2: "Interrupt (ANSI).",
|
|
61
|
+
4: "Illegal instruction (ANSI).",
|
|
62
|
+
5: "Trace trap (POSIX).",
|
|
63
|
+
6: "Abort (ANSI) or IOT trap (4.2BSD).",
|
|
64
|
+
7: "BUS error (4.2BSD).",
|
|
65
|
+
8: "Floating point exception (ANSI).",
|
|
66
|
+
9: "killed, unblockable (POSIX) kill -9.",
|
|
67
|
+
11: "segmentation violation (ANSI) (most likely user application crashed).",
|
|
68
|
+
15: "Termination (ANSI).",
|
|
69
|
+
24: "Soft CPU limit exceeded (4.2 BSD).",
|
|
70
|
+
25: "File size limit exceeded (4.2 BSD).",
|
|
71
|
+
30: "Power failure restart (System V.).",
|
|
72
|
+
50: "Required application version not found at the site.",
|
|
73
|
+
64: "I/O error: cannot open data file (SEAL).",
|
|
74
|
+
65: "End of job from user application (CMSSW).",
|
|
75
|
+
66: "Application exception.",
|
|
76
|
+
70: "Invalid Arguments: Not all the required arguments for cmsRun is passed",
|
|
77
|
+
71: "Failed to initiate Scram project",
|
|
78
|
+
72: "Failed to enter Scram project directory",
|
|
79
|
+
73: "Failed to get Scram runtime", # Keeping old error here, as not sure from there previously it was taken: "Failed writing to read-only file system"
|
|
80
|
+
74: "Unable to untar sandbox",
|
|
81
|
+
81: "Job did not find functioning CMSSW on worker node.",
|
|
82
|
+
84: "Job failed to open local and fallback files.",
|
|
83
|
+
85: "Job failed to open local and fallback files.",
|
|
84
|
+
90: "Application exception.",
|
|
85
|
+
92: "Job failed to open local and fallback files.",
|
|
86
|
+
126: "Permission problem or command is not an executable",
|
|
87
|
+
127: "Command not found",
|
|
88
|
+
129: "Hangup (POSIX).",
|
|
89
|
+
132: "Illegal instruction (ANSI).",
|
|
90
|
+
133: "Trace trap (POSIX).",
|
|
91
|
+
134: "Abort (ANSI) or IOT trap (4.2 BSD) (most likely user application crashed).",
|
|
92
|
+
135: "Bus error (4.2 BSD).",
|
|
93
|
+
137: "SIGKILL; likely an unrelated batch system kill.",
|
|
94
|
+
139: "Segmentation violation (ANSI).",
|
|
95
|
+
143: "Termination (ANSI)(or incorporate in the msg text).",
|
|
96
|
+
147: "Error during attempted file stageout.",
|
|
97
|
+
151: "Error during attempted file stageout.",
|
|
98
|
+
152: "CPU limit exceeded (4.2 BSD).",
|
|
99
|
+
153: "File size limit exceeded (4.2 BSD).",
|
|
100
|
+
155: "Profiling alarm clock (4.2 BSD).",
|
|
101
|
+
195: "Job did not produce a FJR; will retry.",
|
|
102
|
+
243: "Timeout during attempted file stageout.",
|
|
103
|
+
7000: "Exception from command line processing.",
|
|
104
|
+
7001: "Configuration File Not Found.",
|
|
105
|
+
7002: "Configuration File Read Error.",
|
|
106
|
+
8001: "Other CMS Exception.",
|
|
107
|
+
8002: "std::exception (other than bad_alloc).",
|
|
108
|
+
8003: "Unknown Exception.",
|
|
109
|
+
8004: "std::bad_alloc (memory exhaustion).",
|
|
110
|
+
8005: "Bad Exception Type (e.g throwing a string).",
|
|
111
|
+
8006: "ProductNotFound.",
|
|
112
|
+
8007: "DictionaryNotFound.",
|
|
113
|
+
8008: "InsertFailure.",
|
|
114
|
+
8009: "Configuration.",
|
|
115
|
+
8010: "LogicError.",
|
|
116
|
+
8011: "UnimplementedFeature.",
|
|
117
|
+
8012: "InvalidReference.",
|
|
118
|
+
8013: "NullPointerError.",
|
|
119
|
+
8014: "NoProductSpecified.",
|
|
120
|
+
8015: "EventTimeout.",
|
|
121
|
+
8016: "EventCorruption.",
|
|
122
|
+
8017: "ScheduleExecutionFailure.",
|
|
123
|
+
8018: "EventProcessorFailure.",
|
|
124
|
+
8019: "FileInPathError.",
|
|
125
|
+
8020: "FileOpenError (Likely a site error).",
|
|
126
|
+
8021: "FileReadError (May be a site error).",
|
|
127
|
+
8022: "FatalRootError.",
|
|
128
|
+
8023: "MismatchedInputFiles.",
|
|
129
|
+
8024: "ProductDoesNotSupportViews.",
|
|
130
|
+
8025: "ProductDoesNotSupportPtr.",
|
|
131
|
+
8026: "NotFound (something other than a product or dictionary not found).",
|
|
132
|
+
8027: "FormatIncompatibility.",
|
|
133
|
+
8028: "FileOpenError with fallback.",
|
|
134
|
+
8029: "The job configuration has no input files specified for secondary input source.",
|
|
135
|
+
8030: "Exceeded maximum allowed VSize (ExceededResourceVSize).",
|
|
136
|
+
8031: "Exceeded maximum allowed RSS (ExceededResourceRSS).",
|
|
137
|
+
8032: "Exceeded maximum allowed time (ExceededResourceTime).",
|
|
138
|
+
8033: "Could not write output file (FileWriteError) (usually local disk problem).",
|
|
139
|
+
8034: "FileNameInconsistentWithGUID",
|
|
140
|
+
8501: "EventGenerationFailure",
|
|
141
|
+
9000: "cmsRun caught (SIGINT and SIGUSR2) signal.",
|
|
142
|
+
10031: "Directory VO_CMS_SW_DIR not found. ", # (CRAB3)
|
|
143
|
+
10032: "Failed to source CMS Environment setup script such as cmssset_default.sh, grid system or site equivalent script.", # (CRAB3)
|
|
144
|
+
10034: "Required application version is not found at the site.", # (CRAB3)
|
|
145
|
+
10040: "failed to generate cmsRun cfg file at runtime.", # (CRAB3)
|
|
146
|
+
10042: "Unable to stage-in wrapper tarball.", # (CRAB3)
|
|
147
|
+
10043: "Unable to bootstrap WMCore libraries (most likely site python is broken).", # (CRAB3)
|
|
148
|
+
11001: "Error during job bootstrap: A sandbox must be specified", # (WMA)
|
|
149
|
+
11002: "Error during job bootstrap: A job index must be specified", # (WMA)
|
|
150
|
+
11003: "Error during job bootstrap: VO_CMS_SW_DIR, OSG_APP, CVMFS or /cvmfs were not found.", # (WMA)
|
|
151
|
+
11004: "Error during job bootstrap: job environment does not contain the init.sh script.", # (WMA)
|
|
152
|
+
11005: "Error during job bootstrap: python isn't available on the worker node.", # (WMA)
|
|
153
|
+
50110: "Executable file is not found.", # (WMA)
|
|
154
|
+
50111: "Executable file has no exe permissions.", # (WMA)
|
|
155
|
+
50113: "Executable did not get enough arguments.", # (CRAB3)
|
|
156
|
+
50115: "cmsRun did not produce a valid job report at runtime (often means cmsRun segfaulted).", # (WMA, CRAB3)
|
|
157
|
+
50116: "Could not determine exit code of cmsRun executable at runtime.", # (WMA)
|
|
158
|
+
50513: "Failure to run SCRAM setup scripts.", # (WMA, CRAB3)
|
|
159
|
+
50660: "Application terminated by wrapper because using too much RAM (PSS).", # (WMA, CRAB3)
|
|
160
|
+
50662: "Application terminated by wrapper because using too much disk.", # (CRAB3)
|
|
161
|
+
50664: "Application terminated by wrapper because using too much Wall Clock time.", # (WMA, CRAB3)
|
|
162
|
+
50665: "Application terminated by wrapper because it stay idle too long.", # (CRAB3)
|
|
163
|
+
50666: "Job removed by condor for unknown reasons.", # (WMA, CRAB3)
|
|
164
|
+
50669: "Application terminated by wrapper for not defined reason.", # (CRAB3)
|
|
165
|
+
60302: "Output file(s) not found.", # (CRAB3)
|
|
166
|
+
60307: "General failure during files stage out.", # (WMA, CRAB3)
|
|
167
|
+
60311: "Local Stage Out Failure using site specific plugin.", # (WMA, CRAB3)
|
|
168
|
+
60312: "Failure in staging in log files during log collection (WMAgent).", # (WMA)
|
|
169
|
+
60313: "Failed to clean up any files that were no longer needed (WMAgent).", # (WMA)
|
|
170
|
+
60315: "StageOut initialisation error (Due to TFC, SITECONF etc).", # (WMA)
|
|
171
|
+
60317: "Forced timeout for stuck stage out.", # (To be used in CRAB3/ASO)
|
|
172
|
+
60318: "Internal error in Crab cmscp.py stageout script.", # (CRAB3)
|
|
173
|
+
60319: "Failed to do AlcaHarvest stageout.", # (WMA)
|
|
174
|
+
60320: "Failure to communicate with ASO server.", # (CRAB3)
|
|
175
|
+
60321: "Site related issue: no space, SE down, refused connection.", # (To be used in CRAB3/ASO)
|
|
176
|
+
60322: "User is not authorized to write to destination site.", # (To be used in CRAB3/ASO)
|
|
177
|
+
60323: "User quota exceeded.", # (To be used in CRAB3/ASO)
|
|
178
|
+
60324: "Other stageout exception.", # (To be used in CRAB3/ASO)
|
|
179
|
+
60401: "Failure to assemble LFN in direct-to-merge (WMAgent).", # (WMA)
|
|
180
|
+
60403: "Timeout during files stage out.", # (WMA, CRAB3)
|
|
181
|
+
60404: "Timeout during staging of log archives- status unknown (WMAgent).", # (WMA)
|
|
182
|
+
60405: "General failure to stage out log archives (WMAgent).", # (WMA)
|
|
183
|
+
60407: "Timeout in staging in log files during log collection (WMAgent).", # (WMA)
|
|
184
|
+
60408: "Failure to stage out of log files during log collection (WMAgent).", # (WMA)
|
|
185
|
+
60409: "Timeout in stage out of log files during log collection (WMAgent).", # (WMA)
|
|
186
|
+
60450: "No output files present in the report", # (WMA)
|
|
187
|
+
60451: "Output file lacked adler32 checksum (WMAgent).", # (WMA)
|
|
188
|
+
70318: "Failure in DQM upload.",
|
|
189
|
+
70452: "No run/lumi information in file (WMAgent).",
|
|
190
|
+
71101: "No sites are available to submit the job because the location of its input(s) do not pass the site whitelist/blacklist restrictions (WMAgent).",
|
|
191
|
+
71102: "The job can only run at a site that is currently in Aborted state (WMAgent).",
|
|
192
|
+
71103: "The job can run only at a site that is currently in Draining state (WMAgent).",
|
|
193
|
+
71104: "JobSubmitter component could not find a job pickle object.",
|
|
194
|
+
71105: "JobSubmitter component loaded an empty job pickle object.",
|
|
195
|
+
71300: "The job was killed by the WMAgent, reason is unknown (WMAgent).",
|
|
196
|
+
71301: "The job was killed by WMAgent because the site it was supposed to run at was set to Aborted (WMAgent).",
|
|
197
|
+
71302: "The job was killed by WMAgent because the site it was supposed to run at was set to Draining (WMAgent).",
|
|
198
|
+
71303: "The job was killed by WMAgent because the site it was supposed to run at was set to Down (WMAgent).",
|
|
199
|
+
71304: "The job was killed by the WMAgent for using too much wallclock time (WMAgent) Job status was Running.",
|
|
200
|
+
71305: "The job was killed by the WMAgent for using too much wallclock time (WMAgent) Job status was Pending.",
|
|
201
|
+
71306: "The job was killed by the WMAgent for using too much wallclock time (WMAgent) Job status was Error.",
|
|
202
|
+
71307: "The job was killed by the WMAgent for using too much wallclock time (WMAgent) Job status was Unkown.",
|
|
203
|
+
80000: "Internal error in CRAB job wrapper.", # CRAB3
|
|
204
|
+
80001: "No exit code set by job wrapper.", # CRAB3
|
|
205
|
+
80453: "Unable to determine pset hash from output file (CRAB3).",
|
|
206
|
+
90000: "Error in CRAB3 post-processing step (includes basically errors in stage out and file metadata upload).", # CRAB3 TODO: Need to separate. new stageout errors are 60321-60324 and other needed for file metadata.
|
|
207
|
+
99108: "Skipping this step due to a failure in a previous one.", # WMA
|
|
208
|
+
99109: "Uncaught exception in WMAgent step executor.", # WMA TODO: Maybe move to 7****?
|
|
209
|
+
99303: "Job failed and the original job report got lost",
|
|
210
|
+
99304: "Could not find jobCache directory. Job will be failed",
|
|
211
|
+
99305: "Found single input file with too many events to be processed in a pilot lifetime",
|
|
212
|
+
99400: "Job is killed by condor_rm or SYSTEM_PERIODIC_REMOVE",
|
|
213
|
+
99401: "Job is killed by unknown reason ",
|
|
214
|
+
99996: "Failed to find a step report in the worker node",
|
|
215
|
+
99997: "Failed to load job report",
|
|
216
|
+
99998: "Job report with size 0",
|
|
217
|
+
99999: "Some generic error with the job report"
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
# ======================================================================
|
|
221
|
+
# Removed error codes and messages which are not used. (Review date: 2015-12-04)
|
|
222
|
+
# ======================================================================
|
|
223
|
+
# 10001: "LD_LIBRARY_PATH is not defined.",
|
|
224
|
+
# 10002: "Failed to setup LCG_LD_LIBRAR_PATH.",
|
|
225
|
+
# 10016: "OSG $WORKING_DIR could not be created.",
|
|
226
|
+
# 10017: "OSG $WORKING_DIR could not be deleted.",
|
|
227
|
+
# 10018: "OSG $WORKING_DIR could not be deleted.",
|
|
228
|
+
# 10020: "Shell script cmsset_default.sh to setup cms environment is not found.",
|
|
229
|
+
# 10021: "Failed to scram application project using the afs release area.",
|
|
230
|
+
# 10022: "Failed to scram application project using CMS sw disribution on the LCG2.",
|
|
231
|
+
# 10030: "Middleware not identified.",
|
|
232
|
+
# 10033: "Platform is incompatible with the scram version.",
|
|
233
|
+
# 10035: "Scram Project Command Failed.", Not used
|
|
234
|
+
# 10036: "Scram Runtime Command Failed.",
|
|
235
|
+
# 10037: "Failed to find cms_site_config file in software area.",
|
|
236
|
+
# 10038: "Failed to find cms_site_catalogue.sh file in software area.",
|
|
237
|
+
# 10039: "cms_site_catalogue.sh failed to provide the catalogue.",
|
|
238
|
+
# 10041: "fail to find valid client for output stage out.",
|
|
239
|
+
# 50112: "User executable shell file is not found.",
|
|
240
|
+
# 50114: "OSG $WORKING_DIR could not be deleted.",
|
|
241
|
+
# 50117: "Could not update exit code in job report (a variation of 50115).",
|
|
242
|
+
# 50663: "Application terminated by wrapper because using too much CPU time.", Not used
|
|
243
|
+
# 50700: "Job Wrapper did not produce any usable output file.", Not used
|
|
244
|
+
# 50800: "Application segfaulted (likely user code problem).", Not used
|
|
245
|
+
# 50998: "Problem calculating file details (i.e. size, checksum etc).", Not used
|
|
246
|
+
# 50999: "OSG $WORKING_DIR could not be deleted.", Not used
|
|
247
|
+
# 60300: "Either OutputSE or OutputSE_DIR not defined.",
|
|
248
|
+
# 60301: "Neither zip nor tar exists.",
|
|
249
|
+
# 60303: "File already exists on the SE.",
|
|
250
|
+
# 60304: "Failed to create the summary file (production).",
|
|
251
|
+
# 60305: "Failed to create a zipped archive (production).",
|
|
252
|
+
# 60306: "Failed to copy and register output file.",
|
|
253
|
+
# 60308: "An output file was saved to fall back local SE after failing to copy to remote SE.",
|
|
254
|
+
# 60309: "Failed to create an output directory in the catalogue.",
|
|
255
|
+
# 60310: "Failed to register an output file in the catalogue.",
|
|
256
|
+
# 60313: "Failed to delete the output from the previous run via lcg-del command.", # Mh.. only lcg-del? Not used
|
|
257
|
+
# 60314: "Failed to invoke ProdAgent StageOut Script.", Not used
|
|
258
|
+
# 60316: "Failed to create a directory on the SE.", Not used
|
|
259
|
+
# 60317: "Forced timeout for stuck stage out.", # (To be used in CRAB3/ASO)
|
|
260
|
+
# 60402: "Failure to assemble LFN in direct-to-merge by event (WMAgent).", # (WMA)
|
|
261
|
+
# 60406: "Failure in staging in log files during log collection (WMAgent).", Not used
|
|
262
|
+
# 60410: "Failure in deleting log files in log collection (WMAgent).", # Not used
|
|
263
|
+
# 60411: "Timeout in deleting log files in log collection (WMAgent).", # Not used
|
|
264
|
+
# 60514: "PreScriptFailure.", # Not used anymore
|
|
265
|
+
# 60515: "PreScriptScramFailure.", # Not used anymore
|
|
266
|
+
# 60999: "SG $WORKING_DIR could not be deleted.", # Not used
|
|
267
|
+
# 70000: "Output_sandbox too big for WMS: output can not be retrieved.", Not used
|
|
268
|
+
# 70500: "Warning: problem with ModifyJobReport.", # More details here: https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideCrabFaq#Exit_code_70500 Not used!
|
|
269
|
+
# ======================================================================
|
WMCore/WMFactory.py
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
"""
|
|
3
|
+
A factory Class that is 'not thread safe' but is intended to work in threads
|
|
4
|
+
(no sharing). The class dynamically loads objects from files when needed and
|
|
5
|
+
caches them (or not). It is a generalized factory object. If needed this class
|
|
6
|
+
can be made threadsafe.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from builtins import object
|
|
10
|
+
import threading
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class WMFactory(object):
|
|
14
|
+
"""
|
|
15
|
+
A factory Class that is 'not thread safe' but is intended to work in
|
|
16
|
+
threads (no sharing). The class dynamically loads objects from files
|
|
17
|
+
when needed and caches them.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
def __init__(self, name, namespace=''):
|
|
21
|
+
"""
|
|
22
|
+
Initializes the factory, and checks if this thread already
|
|
23
|
+
has an attribute for storing registries. It uses the reserved
|
|
24
|
+
'registries' attribute in the thread.
|
|
25
|
+
"""
|
|
26
|
+
self.namespace = namespace
|
|
27
|
+
self.objectList = {}
|
|
28
|
+
|
|
29
|
+
myThread = threading.currentThread()
|
|
30
|
+
if not hasattr(myThread, "factory"):
|
|
31
|
+
myThread.factory = {}
|
|
32
|
+
myThread.factory[name] = self
|
|
33
|
+
|
|
34
|
+
def loadObject(self, classname, args=None, storeInCache=True,
|
|
35
|
+
getFromCache=True, listFlag=False, alteredClassName=None):
|
|
36
|
+
"""
|
|
37
|
+
Dynamically loads the object from file.
|
|
38
|
+
For this to work the class name has to
|
|
39
|
+
be the same as the file name (minus the .py)
|
|
40
|
+
|
|
41
|
+
Be default objects are loaded from cache. However if you
|
|
42
|
+
want several different instances of the same object in one
|
|
43
|
+
thread, you set cache to False.
|
|
44
|
+
"""
|
|
45
|
+
if getFromCache:
|
|
46
|
+
if classname in self.objectList:
|
|
47
|
+
return self.objectList[classname]
|
|
48
|
+
|
|
49
|
+
if self.namespace == '':
|
|
50
|
+
module = classname
|
|
51
|
+
# FIXME: hoky way of doing this! Change this please!
|
|
52
|
+
errModule = classname
|
|
53
|
+
else:
|
|
54
|
+
module = "%s.%s" % (self.namespace, classname)
|
|
55
|
+
errModule = "%s.%s" % (self.namespace, classname)
|
|
56
|
+
if alteredClassName:
|
|
57
|
+
classname = alteredClassName
|
|
58
|
+
module = __import__(module, globals(), locals(), [classname])
|
|
59
|
+
obj = getattr(module, classname.split('.')[-1])
|
|
60
|
+
if args is None:
|
|
61
|
+
classinstance = obj()
|
|
62
|
+
else:
|
|
63
|
+
# This handles the passing of list-style arguments instead of dicts
|
|
64
|
+
# Primarily for setting the schema
|
|
65
|
+
# Or anywhere you need arguments of the form (a,b,c,...)
|
|
66
|
+
if isinstance(args, list) and listFlag:
|
|
67
|
+
classinstance = obj(*args)
|
|
68
|
+
elif isinstance(args, dict):
|
|
69
|
+
classinstance = obj(**args)
|
|
70
|
+
else:
|
|
71
|
+
# But if you actually need to pass a list, better do it the old fashioned way
|
|
72
|
+
classinstance = obj(args)
|
|
73
|
+
if storeInCache:
|
|
74
|
+
self.objectList[classname] = classinstance
|
|
75
|
+
|
|
76
|
+
return classinstance
|