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.
Files changed (678) hide show
  1. PSetTweaks/PSetTweak.py +449 -0
  2. PSetTweaks/WMTweak.py +621 -0
  3. PSetTweaks/__init__.py +3 -0
  4. Utils/CPMetrics.py +270 -0
  5. Utils/CertTools.py +62 -0
  6. Utils/EmailAlert.py +50 -0
  7. Utils/ExtendedUnitTestCase.py +62 -0
  8. Utils/FileTools.py +182 -0
  9. Utils/IteratorTools.py +80 -0
  10. Utils/MathUtils.py +31 -0
  11. Utils/MemoryCache.py +119 -0
  12. Utils/Patterns.py +24 -0
  13. Utils/Pipeline.py +137 -0
  14. Utils/PortForward.py +97 -0
  15. Utils/ProcessStats.py +103 -0
  16. Utils/PythonVersion.py +17 -0
  17. Utils/Signals.py +36 -0
  18. Utils/TemporaryEnvironment.py +27 -0
  19. Utils/Throttled.py +227 -0
  20. Utils/Timers.py +130 -0
  21. Utils/Timestamps.py +86 -0
  22. Utils/TokenManager.py +143 -0
  23. Utils/Tracing.py +60 -0
  24. Utils/TwPrint.py +98 -0
  25. Utils/Utilities.py +308 -0
  26. Utils/__init__.py +11 -0
  27. WMCore/ACDC/Collection.py +57 -0
  28. WMCore/ACDC/CollectionTypes.py +12 -0
  29. WMCore/ACDC/CouchCollection.py +67 -0
  30. WMCore/ACDC/CouchFileset.py +238 -0
  31. WMCore/ACDC/CouchService.py +73 -0
  32. WMCore/ACDC/DataCollectionService.py +485 -0
  33. WMCore/ACDC/Fileset.py +94 -0
  34. WMCore/ACDC/__init__.py +11 -0
  35. WMCore/Algorithms/Alarm.py +39 -0
  36. WMCore/Algorithms/MathAlgos.py +274 -0
  37. WMCore/Algorithms/MiscAlgos.py +67 -0
  38. WMCore/Algorithms/ParseXMLFile.py +115 -0
  39. WMCore/Algorithms/Permissions.py +27 -0
  40. WMCore/Algorithms/Singleton.py +58 -0
  41. WMCore/Algorithms/SubprocessAlgos.py +129 -0
  42. WMCore/Algorithms/__init__.py +7 -0
  43. WMCore/Cache/GenericDataCache.py +98 -0
  44. WMCore/Cache/WMConfigCache.py +572 -0
  45. WMCore/Cache/__init__.py +0 -0
  46. WMCore/Configuration.py +651 -0
  47. WMCore/DAOFactory.py +47 -0
  48. WMCore/DataStructs/File.py +177 -0
  49. WMCore/DataStructs/Fileset.py +140 -0
  50. WMCore/DataStructs/Job.py +182 -0
  51. WMCore/DataStructs/JobGroup.py +142 -0
  52. WMCore/DataStructs/JobPackage.py +49 -0
  53. WMCore/DataStructs/LumiList.py +734 -0
  54. WMCore/DataStructs/Mask.py +219 -0
  55. WMCore/DataStructs/MathStructs/ContinuousSummaryHistogram.py +197 -0
  56. WMCore/DataStructs/MathStructs/DiscreteSummaryHistogram.py +92 -0
  57. WMCore/DataStructs/MathStructs/SummaryHistogram.py +117 -0
  58. WMCore/DataStructs/MathStructs/__init__.py +0 -0
  59. WMCore/DataStructs/Pickleable.py +24 -0
  60. WMCore/DataStructs/Run.py +256 -0
  61. WMCore/DataStructs/Subscription.py +175 -0
  62. WMCore/DataStructs/WMObject.py +47 -0
  63. WMCore/DataStructs/WorkUnit.py +112 -0
  64. WMCore/DataStructs/Workflow.py +60 -0
  65. WMCore/DataStructs/__init__.py +8 -0
  66. WMCore/Database/CMSCouch.py +1349 -0
  67. WMCore/Database/ConfigDBMap.py +29 -0
  68. WMCore/Database/CouchUtils.py +118 -0
  69. WMCore/Database/DBCore.py +198 -0
  70. WMCore/Database/DBCreator.py +113 -0
  71. WMCore/Database/DBExceptionHandler.py +57 -0
  72. WMCore/Database/DBFactory.py +110 -0
  73. WMCore/Database/DBFormatter.py +177 -0
  74. WMCore/Database/Dialects.py +13 -0
  75. WMCore/Database/ExecuteDAO.py +327 -0
  76. WMCore/Database/MongoDB.py +241 -0
  77. WMCore/Database/MySQL/Destroy.py +42 -0
  78. WMCore/Database/MySQL/ListUserContent.py +20 -0
  79. WMCore/Database/MySQL/__init__.py +9 -0
  80. WMCore/Database/MySQLCore.py +132 -0
  81. WMCore/Database/Oracle/Destroy.py +56 -0
  82. WMCore/Database/Oracle/ListUserContent.py +19 -0
  83. WMCore/Database/Oracle/__init__.py +9 -0
  84. WMCore/Database/ResultSet.py +44 -0
  85. WMCore/Database/Transaction.py +91 -0
  86. WMCore/Database/__init__.py +9 -0
  87. WMCore/Database/ipy_profile_couch.py +438 -0
  88. WMCore/FwkJobReport/FileInfo.py +131 -0
  89. WMCore/FwkJobReport/Report.py +1646 -0
  90. WMCore/FwkJobReport/ReportEmu.py +122 -0
  91. WMCore/FwkJobReport/XMLParser.py +606 -0
  92. WMCore/FwkJobReport/__init__.py +15 -0
  93. WMCore/GroupUser/CouchObject.py +127 -0
  94. WMCore/GroupUser/Decorators.py +51 -0
  95. WMCore/GroupUser/Group.py +33 -0
  96. WMCore/GroupUser/Interface.py +73 -0
  97. WMCore/GroupUser/User.py +96 -0
  98. WMCore/GroupUser/__init__.py +11 -0
  99. WMCore/Lexicon.py +836 -0
  100. WMCore/REST/Auth.py +202 -0
  101. WMCore/REST/CherryPyPeriodicTask.py +166 -0
  102. WMCore/REST/Error.py +333 -0
  103. WMCore/REST/Format.py +642 -0
  104. WMCore/REST/HeartbeatMonitorBase.py +90 -0
  105. WMCore/REST/Main.py +623 -0
  106. WMCore/REST/Server.py +2435 -0
  107. WMCore/REST/Services.py +24 -0
  108. WMCore/REST/Test.py +120 -0
  109. WMCore/REST/Tools.py +38 -0
  110. WMCore/REST/Validation.py +250 -0
  111. WMCore/REST/__init__.py +1 -0
  112. WMCore/ReqMgr/CherryPyThreads/AuxCacheUpdateTasks.py +31 -0
  113. WMCore/ReqMgr/CherryPyThreads/BuildParentLock.py +116 -0
  114. WMCore/ReqMgr/CherryPyThreads/CouchDBCleanup.py +110 -0
  115. WMCore/ReqMgr/CherryPyThreads/HeartbeatMonitor.py +154 -0
  116. WMCore/ReqMgr/CherryPyThreads/StatusChangeTasks.py +131 -0
  117. WMCore/ReqMgr/CherryPyThreads/StepChainParentageFixTask.py +104 -0
  118. WMCore/ReqMgr/CherryPyThreads/__init__.py +0 -0
  119. WMCore/ReqMgr/DataStructs/AuthzByStatus.py +113 -0
  120. WMCore/ReqMgr/DataStructs/DefaultConfig/CAMPAIGN_CONFIG.py +116 -0
  121. WMCore/ReqMgr/DataStructs/DefaultConfig/DAS_RESULT_FILTER.py +3 -0
  122. WMCore/ReqMgr/DataStructs/DefaultConfig/EDITABLE_SPLITTING_PARAM_CONFIG.py +42 -0
  123. WMCore/ReqMgr/DataStructs/DefaultConfig/UNIFIED_CONFIG.py +240 -0
  124. WMCore/ReqMgr/DataStructs/DefaultConfig/__init__.py +0 -0
  125. WMCore/ReqMgr/DataStructs/ReqMgrConfigDataCache.py +65 -0
  126. WMCore/ReqMgr/DataStructs/Request.py +293 -0
  127. WMCore/ReqMgr/DataStructs/RequestError.py +21 -0
  128. WMCore/ReqMgr/DataStructs/RequestStatus.py +209 -0
  129. WMCore/ReqMgr/DataStructs/RequestType.py +13 -0
  130. WMCore/ReqMgr/DataStructs/__init__.py +0 -0
  131. WMCore/ReqMgr/ReqMgrCouch.py +74 -0
  132. WMCore/ReqMgr/Service/Auxiliary.py +319 -0
  133. WMCore/ReqMgr/Service/RegExp.py +16 -0
  134. WMCore/ReqMgr/Service/Request.py +681 -0
  135. WMCore/ReqMgr/Service/RequestAdditionalInfo.py +317 -0
  136. WMCore/ReqMgr/Service/RestApiHub.py +68 -0
  137. WMCore/ReqMgr/Service/WMStatsInfo.py +46 -0
  138. WMCore/ReqMgr/Service/__init__.py +0 -0
  139. WMCore/ReqMgr/Tools/__init__.py +0 -0
  140. WMCore/ReqMgr/Tools/cms.py +243 -0
  141. WMCore/ReqMgr/Utils/AuxValidation.py +53 -0
  142. WMCore/ReqMgr/Utils/Validation.py +341 -0
  143. WMCore/ReqMgr/Utils/__init__.py +0 -0
  144. WMCore/ReqMgr/Web/ReqMgrService.py +780 -0
  145. WMCore/ReqMgr/Web/__init__.py +0 -0
  146. WMCore/ReqMgr/Web/tools.py +211 -0
  147. WMCore/ReqMgr/Web/utils.py +291 -0
  148. WMCore/ReqMgr/WebGui/FrontPage.py +38 -0
  149. WMCore/ReqMgr/WebGui/__init__.py +0 -0
  150. WMCore/ReqMgr/__init__.py +1 -0
  151. WMCore/Services/AlertManager/AlertManagerAPI.py +111 -0
  152. WMCore/Services/AlertManager/__init__.py +0 -0
  153. WMCore/Services/CRIC/CRIC.py +238 -0
  154. WMCore/Services/CRIC/__init__.py +0 -0
  155. WMCore/Services/DBS/DBS3Reader.py +1044 -0
  156. WMCore/Services/DBS/DBSConcurrency.py +44 -0
  157. WMCore/Services/DBS/DBSErrors.py +113 -0
  158. WMCore/Services/DBS/DBSReader.py +23 -0
  159. WMCore/Services/DBS/DBSUtils.py +139 -0
  160. WMCore/Services/DBS/DBSWriterObjects.py +381 -0
  161. WMCore/Services/DBS/ProdException.py +133 -0
  162. WMCore/Services/DBS/__init__.py +8 -0
  163. WMCore/Services/FWJRDB/FWJRDBAPI.py +118 -0
  164. WMCore/Services/FWJRDB/__init__.py +0 -0
  165. WMCore/Services/HTTPS/HTTPSAuthHandler.py +66 -0
  166. WMCore/Services/HTTPS/__init__.py +0 -0
  167. WMCore/Services/LogDB/LogDB.py +201 -0
  168. WMCore/Services/LogDB/LogDBBackend.py +191 -0
  169. WMCore/Services/LogDB/LogDBExceptions.py +11 -0
  170. WMCore/Services/LogDB/LogDBReport.py +85 -0
  171. WMCore/Services/LogDB/__init__.py +0 -0
  172. WMCore/Services/MSPileup/__init__.py +0 -0
  173. WMCore/Services/MSUtils/MSUtils.py +54 -0
  174. WMCore/Services/MSUtils/__init__.py +0 -0
  175. WMCore/Services/McM/McM.py +173 -0
  176. WMCore/Services/McM/__init__.py +8 -0
  177. WMCore/Services/MonIT/Grafana.py +133 -0
  178. WMCore/Services/MonIT/__init__.py +0 -0
  179. WMCore/Services/PyCondor/PyCondorAPI.py +154 -0
  180. WMCore/Services/PyCondor/PyCondorUtils.py +105 -0
  181. WMCore/Services/PyCondor/__init__.py +0 -0
  182. WMCore/Services/ReqMgr/ReqMgr.py +261 -0
  183. WMCore/Services/ReqMgr/__init__.py +0 -0
  184. WMCore/Services/ReqMgrAux/ReqMgrAux.py +419 -0
  185. WMCore/Services/ReqMgrAux/__init__.py +0 -0
  186. WMCore/Services/RequestDB/RequestDBReader.py +267 -0
  187. WMCore/Services/RequestDB/RequestDBWriter.py +39 -0
  188. WMCore/Services/RequestDB/__init__.py +0 -0
  189. WMCore/Services/Requests.py +624 -0
  190. WMCore/Services/Rucio/Rucio.py +1287 -0
  191. WMCore/Services/Rucio/RucioUtils.py +74 -0
  192. WMCore/Services/Rucio/__init__.py +0 -0
  193. WMCore/Services/RucioConMon/RucioConMon.py +128 -0
  194. WMCore/Services/RucioConMon/__init__.py +0 -0
  195. WMCore/Services/Service.py +400 -0
  196. WMCore/Services/StompAMQ/__init__.py +0 -0
  197. WMCore/Services/TagCollector/TagCollector.py +155 -0
  198. WMCore/Services/TagCollector/XMLUtils.py +98 -0
  199. WMCore/Services/TagCollector/__init__.py +0 -0
  200. WMCore/Services/UUIDLib.py +13 -0
  201. WMCore/Services/UserFileCache/UserFileCache.py +160 -0
  202. WMCore/Services/UserFileCache/__init__.py +8 -0
  203. WMCore/Services/WMAgent/WMAgent.py +63 -0
  204. WMCore/Services/WMAgent/__init__.py +0 -0
  205. WMCore/Services/WMArchive/CMSSWMetrics.py +526 -0
  206. WMCore/Services/WMArchive/DataMap.py +463 -0
  207. WMCore/Services/WMArchive/WMArchive.py +33 -0
  208. WMCore/Services/WMArchive/__init__.py +0 -0
  209. WMCore/Services/WMBS/WMBS.py +97 -0
  210. WMCore/Services/WMBS/__init__.py +0 -0
  211. WMCore/Services/WMStats/DataStruct/RequestInfoCollection.py +300 -0
  212. WMCore/Services/WMStats/DataStruct/__init__.py +0 -0
  213. WMCore/Services/WMStats/WMStatsPycurl.py +145 -0
  214. WMCore/Services/WMStats/WMStatsReader.py +445 -0
  215. WMCore/Services/WMStats/WMStatsWriter.py +273 -0
  216. WMCore/Services/WMStats/__init__.py +0 -0
  217. WMCore/Services/WMStatsServer/WMStatsServer.py +134 -0
  218. WMCore/Services/WMStatsServer/__init__.py +0 -0
  219. WMCore/Services/WorkQueue/WorkQueue.py +492 -0
  220. WMCore/Services/WorkQueue/__init__.py +0 -0
  221. WMCore/Services/__init__.py +8 -0
  222. WMCore/Services/pycurl_manager.py +574 -0
  223. WMCore/Storage/Backends/AWSS3Impl.py +110 -0
  224. WMCore/Storage/Backends/CPImpl.py +125 -0
  225. WMCore/Storage/Backends/FNALImpl.py +229 -0
  226. WMCore/Storage/Backends/GFAL2Impl.py +260 -0
  227. WMCore/Storage/Backends/LCGImpl.py +236 -0
  228. WMCore/Storage/Backends/SRMV2Impl.py +248 -0
  229. WMCore/Storage/Backends/TestFallbackToOldBackend.py +130 -0
  230. WMCore/Storage/Backends/UnittestImpl.py +188 -0
  231. WMCore/Storage/Backends/VandyImpl.py +110 -0
  232. WMCore/Storage/Backends/XRDCPImpl.py +314 -0
  233. WMCore/Storage/Backends/__init__.py +29 -0
  234. WMCore/Storage/DeleteMgr.py +255 -0
  235. WMCore/Storage/Execute.py +82 -0
  236. WMCore/Storage/FileManager.py +448 -0
  237. WMCore/Storage/Plugins/CPImpl.py +45 -0
  238. WMCore/Storage/Plugins/Examples/SRMV2Impl.py +188 -0
  239. WMCore/Storage/Plugins/Examples/XRDCPImpl.py +64 -0
  240. WMCore/Storage/Plugins/Examples/__init__.py +1 -0
  241. WMCore/Storage/Plugins/FNALImpl.py +329 -0
  242. WMCore/Storage/Plugins/GFAL2Impl.py +84 -0
  243. WMCore/Storage/Plugins/LCGImpl.py +91 -0
  244. WMCore/Storage/Plugins/TestFailImpl.py +33 -0
  245. WMCore/Storage/Plugins/TestLocalCopyImpl.py +48 -0
  246. WMCore/Storage/Plugins/TestWinImpl.py +28 -0
  247. WMCore/Storage/Plugins/VandyImpl.py +109 -0
  248. WMCore/Storage/Plugins/__init__.py +17 -0
  249. WMCore/Storage/Registry.py +105 -0
  250. WMCore/Storage/RucioFileCatalog.py +247 -0
  251. WMCore/Storage/SiteLocalConfig.py +353 -0
  252. WMCore/Storage/StageInMgr.py +257 -0
  253. WMCore/Storage/StageOutError.py +69 -0
  254. WMCore/Storage/StageOutImpl.py +303 -0
  255. WMCore/Storage/StageOutImplV2.py +97 -0
  256. WMCore/Storage/StageOutMgr.py +390 -0
  257. WMCore/Storage/StoreFail.py +73 -0
  258. WMCore/Storage/TestImpl.py +71 -0
  259. WMCore/Storage/TrivialFileCatalog.py +383 -0
  260. WMCore/Storage/__init__.py +0 -0
  261. WMCore/WMBase.py +50 -0
  262. WMCore/WMConnectionBase.py +164 -0
  263. WMCore/WMException.py +183 -0
  264. WMCore/WMExceptions.py +269 -0
  265. WMCore/WMFactory.py +76 -0
  266. WMCore/WMInit.py +228 -0
  267. WMCore/WMLogging.py +108 -0
  268. WMCore/WMRuntime/Bootstrap.py +459 -0
  269. WMCore/WMRuntime/Monitors/PerformanceMonitor.py +308 -0
  270. WMCore/WMRuntime/Monitors/TestMonitor.py +197 -0
  271. WMCore/WMRuntime/Monitors/WMRuntimeMonitor.py +115 -0
  272. WMCore/WMRuntime/Monitors/__init__.py +8 -0
  273. WMCore/WMRuntime/ProcessMonitor.py +157 -0
  274. WMCore/WMRuntime/Sandbox.py +56 -0
  275. WMCore/WMRuntime/SandboxCreator.py +199 -0
  276. WMCore/WMRuntime/ScriptFactory.py +53 -0
  277. WMCore/WMRuntime/ScriptInterface.py +30 -0
  278. WMCore/WMRuntime/ScriptInvoke.py +120 -0
  279. WMCore/WMRuntime/Scripts/SetupCMSSWPset.py +826 -0
  280. WMCore/WMRuntime/Scripts/__init__.py +7 -0
  281. WMCore/WMRuntime/Startup.py +57 -0
  282. WMCore/WMRuntime/StepSpace.py +75 -0
  283. WMCore/WMRuntime/TaskSpace.py +144 -0
  284. WMCore/WMRuntime/Tools/Plugins/__init__.py +7 -0
  285. WMCore/WMRuntime/Tools/Scram.py +465 -0
  286. WMCore/WMRuntime/Tools/__init__.py +8 -0
  287. WMCore/WMRuntime/Unpacker.py +175 -0
  288. WMCore/WMRuntime/Watchdog.py +329 -0
  289. WMCore/WMRuntime/__init__.py +8 -0
  290. WMCore/WMSpec/ConfigSectionTree.py +442 -0
  291. WMCore/WMSpec/Makers/Handlers/MakeJob.py +46 -0
  292. WMCore/WMSpec/Makers/Handlers/MakeJobSlave.py +66 -0
  293. WMCore/WMSpec/Makers/Handlers/__init__.py +9 -0
  294. WMCore/WMSpec/Makers/Interface/CreateWorkArea.py +466 -0
  295. WMCore/WMSpec/Makers/Interface/__init__.py +9 -0
  296. WMCore/WMSpec/Makers/JobMaker.py +33 -0
  297. WMCore/WMSpec/Makers/TaskMaker.py +229 -0
  298. WMCore/WMSpec/Makers/__init__.py +9 -0
  299. WMCore/WMSpec/Persistency.py +135 -0
  300. WMCore/WMSpec/StdSpecs/DQMHarvest.py +156 -0
  301. WMCore/WMSpec/StdSpecs/DataProcessing.py +75 -0
  302. WMCore/WMSpec/StdSpecs/Express.py +506 -0
  303. WMCore/WMSpec/StdSpecs/PromptReco.py +220 -0
  304. WMCore/WMSpec/StdSpecs/ReReco.py +280 -0
  305. WMCore/WMSpec/StdSpecs/Repack.py +219 -0
  306. WMCore/WMSpec/StdSpecs/Resubmission.py +213 -0
  307. WMCore/WMSpec/StdSpecs/StdBase.py +1412 -0
  308. WMCore/WMSpec/StdSpecs/StepChain.py +672 -0
  309. WMCore/WMSpec/StdSpecs/StoreResults.py +124 -0
  310. WMCore/WMSpec/StdSpecs/TaskChain.py +777 -0
  311. WMCore/WMSpec/StdSpecs/__init__.py +9 -0
  312. WMCore/WMSpec/Steps/BuildMaster.py +87 -0
  313. WMCore/WMSpec/Steps/BuildTools.py +201 -0
  314. WMCore/WMSpec/Steps/Builder.py +97 -0
  315. WMCore/WMSpec/Steps/Builders/AlcaHarvest.py +31 -0
  316. WMCore/WMSpec/Steps/Builders/CMSSW.py +34 -0
  317. WMCore/WMSpec/Steps/Builders/DQMUpload.py +34 -0
  318. WMCore/WMSpec/Steps/Builders/DeleteFiles.py +34 -0
  319. WMCore/WMSpec/Steps/Builders/LogArchive.py +34 -0
  320. WMCore/WMSpec/Steps/Builders/LogCollect.py +34 -0
  321. WMCore/WMSpec/Steps/Builders/StageOut.py +34 -0
  322. WMCore/WMSpec/Steps/Builders/__init__.py +8 -0
  323. WMCore/WMSpec/Steps/Diagnostic.py +89 -0
  324. WMCore/WMSpec/Steps/Diagnostics/AlcaHarvest.py +72 -0
  325. WMCore/WMSpec/Steps/Diagnostics/CMSSW.py +302 -0
  326. WMCore/WMSpec/Steps/Diagnostics/DQMUpload.py +70 -0
  327. WMCore/WMSpec/Steps/Diagnostics/DeleteFiles.py +67 -0
  328. WMCore/WMSpec/Steps/Diagnostics/Generic.py +18 -0
  329. WMCore/WMSpec/Steps/Diagnostics/LogArchive.py +76 -0
  330. WMCore/WMSpec/Steps/Diagnostics/LogCollect.py +80 -0
  331. WMCore/WMSpec/Steps/Diagnostics/StageOut.py +77 -0
  332. WMCore/WMSpec/Steps/Diagnostics/__init__.py +8 -0
  333. WMCore/WMSpec/Steps/Emulator.py +62 -0
  334. WMCore/WMSpec/Steps/Emulators/AlcaHarvest.py +50 -0
  335. WMCore/WMSpec/Steps/Emulators/CMSSW.py +52 -0
  336. WMCore/WMSpec/Steps/Emulators/DQMUpload.py +50 -0
  337. WMCore/WMSpec/Steps/Emulators/DeleteFiles.py +50 -0
  338. WMCore/WMSpec/Steps/Emulators/LogArchive.py +83 -0
  339. WMCore/WMSpec/Steps/Emulators/LogCollect.py +66 -0
  340. WMCore/WMSpec/Steps/Emulators/StageOut.py +50 -0
  341. WMCore/WMSpec/Steps/Emulators/__init__.py +10 -0
  342. WMCore/WMSpec/Steps/ExecuteMaster.py +208 -0
  343. WMCore/WMSpec/Steps/Executor.py +210 -0
  344. WMCore/WMSpec/Steps/Executors/AlcaHarvest.py +206 -0
  345. WMCore/WMSpec/Steps/Executors/CMSSW.py +473 -0
  346. WMCore/WMSpec/Steps/Executors/DQMUpload.py +295 -0
  347. WMCore/WMSpec/Steps/Executors/DeleteFiles.py +161 -0
  348. WMCore/WMSpec/Steps/Executors/LogArchive.py +309 -0
  349. WMCore/WMSpec/Steps/Executors/LogCollect.py +284 -0
  350. WMCore/WMSpec/Steps/Executors/StageOut.py +325 -0
  351. WMCore/WMSpec/Steps/Executors/__init__.py +8 -0
  352. WMCore/WMSpec/Steps/Fetchers/CMSSWFetcher.py +49 -0
  353. WMCore/WMSpec/Steps/Fetchers/FetcherInterface.py +45 -0
  354. WMCore/WMSpec/Steps/Fetchers/PileupFetcher.py +247 -0
  355. WMCore/WMSpec/Steps/Fetchers/URLFetcher.py +61 -0
  356. WMCore/WMSpec/Steps/Fetchers/__init__.py +9 -0
  357. WMCore/WMSpec/Steps/StepFactory.py +213 -0
  358. WMCore/WMSpec/Steps/TaskEmulator.py +75 -0
  359. WMCore/WMSpec/Steps/Template.py +204 -0
  360. WMCore/WMSpec/Steps/Templates/AlcaHarvest.py +76 -0
  361. WMCore/WMSpec/Steps/Templates/CMSSW.py +613 -0
  362. WMCore/WMSpec/Steps/Templates/DQMUpload.py +59 -0
  363. WMCore/WMSpec/Steps/Templates/DeleteFiles.py +70 -0
  364. WMCore/WMSpec/Steps/Templates/LogArchive.py +84 -0
  365. WMCore/WMSpec/Steps/Templates/LogCollect.py +105 -0
  366. WMCore/WMSpec/Steps/Templates/StageOut.py +105 -0
  367. WMCore/WMSpec/Steps/Templates/__init__.py +10 -0
  368. WMCore/WMSpec/Steps/WMExecutionFailure.py +21 -0
  369. WMCore/WMSpec/Steps/__init__.py +8 -0
  370. WMCore/WMSpec/Utilities.py +63 -0
  371. WMCore/WMSpec/WMSpecErrors.py +12 -0
  372. WMCore/WMSpec/WMStep.py +347 -0
  373. WMCore/WMSpec/WMTask.py +1980 -0
  374. WMCore/WMSpec/WMWorkload.py +2288 -0
  375. WMCore/WMSpec/WMWorkloadTools.py +370 -0
  376. WMCore/WMSpec/__init__.py +9 -0
  377. WMCore/WorkQueue/DataStructs/CouchWorkQueueElement.py +148 -0
  378. WMCore/WorkQueue/DataStructs/WorkQueueElement.py +274 -0
  379. WMCore/WorkQueue/DataStructs/__init__.py +0 -0
  380. WMCore/WorkQueue/__init__.py +13 -0
  381. WMCore/Wrappers/JsonWrapper/JSONThunker.py +342 -0
  382. WMCore/Wrappers/JsonWrapper/__init__.py +7 -0
  383. WMCore/Wrappers/__init__.py +6 -0
  384. WMCore/__init__.py +10 -0
  385. reqmgr2-2.3.10.data/data/bin/wmc-dist-patch +15 -0
  386. reqmgr2-2.3.10.data/data/bin/wmc-dist-unpatch +8 -0
  387. reqmgr2-2.3.10.data/data/bin/wmc-httpd +3 -0
  388. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/_id +1 -0
  389. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/couchapp.json +5 -0
  390. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/language +1 -0
  391. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/config_by_label/map.js +12 -0
  392. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/config_by_md5hash/map.js +7 -0
  393. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/config_by_owner/map.js +15 -0
  394. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/config_by_psethash/map.js +7 -0
  395. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/config_type/map.js +10 -0
  396. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/group_name/map.js +10 -0
  397. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/groups/map.js +10 -0
  398. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/groups/reduce.js +12 -0
  399. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/owner_name_group/map.js +7 -0
  400. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/runseq_by_owner/map.js +10 -0
  401. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/runsequence_type/map.js +10 -0
  402. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/seedseq_by_owner/map.js +10 -0
  403. reqmgr2-2.3.10.data/data/data/couchapps/ConfigCache/views/types/map.js +7 -0
  404. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/_id +1 -0
  405. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/couchapp.json +5 -0
  406. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/language +1 -0
  407. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/updates/totalstats.js +39 -0
  408. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/updates/updaterequest.js +105 -0
  409. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/validate_doc_update.js +6 -0
  410. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bycampaign/map.js +5 -0
  411. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bydatapileup/map.js +21 -0
  412. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bydate/map.js +14 -0
  413. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/byinputdataset/map.js +21 -0
  414. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bymcpileup/map.js +21 -0
  415. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/byoriginalrequest/map.js +6 -0
  416. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/byoutputdataset/map.js +7 -0
  417. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/byparentageflag/map.js +5 -0
  418. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/byprepid/map.js +22 -0
  419. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/byrequest/map.js +3 -0
  420. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bystatus/map.js +7 -0
  421. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bystatusandrequestor/map.js +3 -0
  422. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bystatusandtime/map.js +7 -0
  423. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bystatusandtypeandrequestor/map.js +3 -0
  424. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/byteamandstatus/map.js +5 -0
  425. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/bytype/map.js +3 -0
  426. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/childresubmissionrequests/map.js +10 -0
  427. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/requestsbystatusandtype/map.js +3 -0
  428. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgr/views/requestsincludeparents/map.js +11 -0
  429. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgrAux/_id +1 -0
  430. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgrAux/couchapp.json +5 -0
  431. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgrAux/filters/filterDeletedDocs.js +3 -0
  432. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgrAux/language +1 -0
  433. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgrAux/validate_doc_update.js +6 -0
  434. reqmgr2-2.3.10.data/data/data/couchapps/ReqMgrAux/views/byconfig/map.js +5 -0
  435. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/ColVis.css +76 -0
  436. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/font-awesome.min.css +4 -0
  437. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/badge-circle-check-16.png +0 -0
  438. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/badge-circle-cross-16.png +0 -0
  439. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/badge-circle-plus-16.png +0 -0
  440. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/badge-square-check-16.png +0 -0
  441. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/cms_logo.gif +0 -0
  442. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/cms_logo.jpeg +0 -0
  443. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  444. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  445. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  446. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  447. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  448. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  449. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  450. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_highlight-hard_55_5c9ccc_1x100.png +0 -0
  451. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  452. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-bg_inset-soft_100_fcfdfd_1x100.png +0 -0
  453. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_217bc0_256x240.png +0 -0
  454. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_2694e8_256x240.png +0 -0
  455. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_2e83ff_256x240.png +0 -0
  456. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_469bdd_256x240.png +0 -0
  457. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_6da8d5_256x240.png +0 -0
  458. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_cd0a0a_256x240.png +0 -0
  459. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_d8e7f3_256x240.png +0 -0
  460. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/ui-icons_f9bd01_256x240.png +0 -0
  461. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/images/warning-16.png +0 -0
  462. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/jquery-ui-1.12.0.css +1312 -0
  463. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/jquery.dataTables.css +241 -0
  464. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/logdb.css +60 -0
  465. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/css/main_layout.css +565 -0
  466. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/fonts/FontAwesome.otf +0 -0
  467. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.eot +0 -0
  468. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.svg +565 -0
  469. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.ttf +0 -0
  470. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.woff +0 -0
  471. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.woff2 +0 -0
  472. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/Sorting icons.psd +0 -0
  473. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/back_disabled.jpg +0 -0
  474. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/back_enabled.jpg +0 -0
  475. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/error.png +0 -0
  476. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/favicon.ico +0 -0
  477. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/forward_disabled.jpg +0 -0
  478. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/forward_enabled.jpg +0 -0
  479. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/loader-1.gif +0 -0
  480. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/module.caption.backg.png +0 -0
  481. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/module.caption.backg.rolledup.png +0 -0
  482. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/rollup.gif +0 -0
  483. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/sort_asc.png +0 -0
  484. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/sort_asc_disabled.png +0 -0
  485. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/sort_both.png +0 -0
  486. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/sort_desc.png +0 -0
  487. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/sort_desc_disabled.png +0 -0
  488. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/stable.png +0 -0
  489. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/images/warning.png +0 -0
  490. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/index.html +105 -0
  491. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/index.html.min +106 -0
  492. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/index.html.org +125 -0
  493. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Controller/WMStats.ActiveRequestController.js +61 -0
  494. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Controller/WMStats.GenericController.js +38 -0
  495. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Controller/WMStats.WorkloadSummaryController.js +12 -0
  496. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Controller/import.js +6 -0
  497. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/T0/WMStats.RequestSummary.js +71 -0
  498. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/T0/WMStats.RunSummary.js +70 -0
  499. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.AgentRequestSummary.js +28 -0
  500. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.CMSSWSummary.js +28 -0
  501. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.CampaignSummary.js +28 -0
  502. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.ReqMgrRequest.js +10 -0
  503. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.RequestSummary.js +190 -0
  504. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Agents.js +98 -0
  505. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Alerts.js +21 -0
  506. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Campaigns.js +25 -0
  507. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.GenericRequests.js +728 -0
  508. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.History.js +78 -0
  509. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.JobDetails.js +19 -0
  510. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.JobSummary.js +32 -0
  511. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.LogDBData.js +93 -0
  512. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.LogMessage.js +38 -0
  513. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.SiteSummary.js +24 -0
  514. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Sites.js +25 -0
  515. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Tasks.js +107 -0
  516. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats.WorkloadSummary.js +20 -0
  517. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/WMStats._StructBase.js +37 -0
  518. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/DataStruct/import.js +29 -0
  519. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T0/WMStats.ActiveRequestModel.js +9 -0
  520. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T0/WMStats.RequestLogDetailModel.js +17 -0
  521. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T0/WMStats.RequestLogModel.js +14 -0
  522. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T0/WMStats.RequestModel.js +3 -0
  523. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T0/WMStats.RequestSearchModel.js +8 -0
  524. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T1/WMStats.ActiveRequestModel.js +9 -0
  525. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T1/WMStats.ReqMgrRequestModel.js +8 -0
  526. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T1/WMStats.RequestLogDetailModel.js +18 -0
  527. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T1/WMStats.RequestLogModel.js +14 -0
  528. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/T1/WMStats.RequestSearchModel.js +8 -0
  529. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats.AgentModel.js +3 -0
  530. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats.AlertModel.js +6 -0
  531. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats.HistoryModel.js +14 -0
  532. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats.JobDetailModel.js +22 -0
  533. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats.JobSummaryModel.js +18 -0
  534. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats.WorkloadSummaryModel.js +8 -0
  535. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats._AjaxModelBase.js +55 -0
  536. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats._ModelBase.js +77 -0
  537. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/WMStats._RequestModelBase.js +127 -0
  538. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Models/import.js +26 -0
  539. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/ViewModels/WMStats.ViewModel.js +511 -0
  540. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/ViewModels/import.js +2 -0
  541. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Controls/T0/WMStats.Controls.js +117 -0
  542. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Controls/T1/WMStats.Controls.js +158 -0
  543. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Controls/WMStats.CommonControls.js +100 -0
  544. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Controls/import.js +10 -0
  545. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Graphs/WMStats.SiteHistoryGraph.js +8 -0
  546. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Graphs/import.js +3 -0
  547. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.CategoryDetailList.js +38 -0
  548. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.RequestAlertGUI.js +128 -0
  549. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.RequestDataList.js +25 -0
  550. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.RequestDetailList.js +68 -0
  551. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.RequestSummaryList.js +31 -0
  552. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.CategoryDetailList.js +54 -0
  553. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.RequestAlertGUI.js +81 -0
  554. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.RequestDataList.js +26 -0
  555. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.RequestDetailList.js +122 -0
  556. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.RequestSummaryList.js +35 -0
  557. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.ResubmissionList.js +64 -0
  558. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.AgentDetailList.js +137 -0
  559. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.CategoryTitle.js +20 -0
  560. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.HTMLList.js +12 -0
  561. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.JobDetailList.js +178 -0
  562. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.RequestLogList.js +88 -0
  563. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.RequestTitle.js +33 -0
  564. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/HTMLList/import.js +25 -0
  565. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T0/WMStats.ActiveRequestTable.js +142 -0
  566. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T0/WMStats.RunSummaryTable.js +77 -0
  567. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T0/WMStats.TaskSummaryTable.js +127 -0
  568. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T0/addCategoryMap.js +10 -0
  569. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.ActiveRequestTable.js +132 -0
  570. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.ActiveRequestTableWithJob.js +164 -0
  571. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.AgentRequestSummaryTable.js +78 -0
  572. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.CMSSWSummaryTable.js +76 -0
  573. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.CampaignSummaryTable.js +76 -0
  574. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.SiteSummaryTable.js +63 -0
  575. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.TaskSummaryTable.js +124 -0
  576. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/T1/addCategoryMap.js +17 -0
  577. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/WMStats.JobSummaryTable.js +71 -0
  578. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/WMStats.Table.js +70 -0
  579. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/WMStats.TableController.js +130 -0
  580. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/WMStats.WorkloadSummaryTable.js +62 -0
  581. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/Tables/import.js +26 -0
  582. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/WMStats.CategoryMap.js +45 -0
  583. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/WMStats.View.IndexHTML.js +137 -0
  584. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/Views/import.js +3 -0
  585. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/WMStats.Ajax.js +74 -0
  586. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/WMStats.Couch.js +83 -0
  587. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/WMStats.Globals.js +200 -0
  588. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/WMStats.Utils.js +283 -0
  589. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/import-all.min.js +7 -0
  590. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/loader.js +27 -0
  591. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/minified/global.min.js +639 -0
  592. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/minified/import-all-t0.min.js +4317 -0
  593. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/js/minified/import-all-t1.min.js +4972 -0
  594. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/lib/jquery.dataTables.columnFilter.js +732 -0
  595. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/_attachments/lib/namespace.js +23 -0
  596. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/filters/deleteFatDocFilter.js +3 -0
  597. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/filters/filterDeletedDocs.js +3 -0
  598. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/filters/repfilter.js +7 -0
  599. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/rewrites.json +110 -0
  600. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/shows/redirect.js +23 -0
  601. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/updates/agentInfo.js +17 -0
  602. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/updates/generalFields.js +11 -0
  603. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/updates/insertRequest.js +13 -0
  604. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/updates/jobLogArchiveLocation.js +10 -0
  605. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/updates/jobStateTransition.js +17 -0
  606. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/updates/jobSummaryState.js +5 -0
  607. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/updates/totalStats.js +39 -0
  608. reqmgr2-2.3.10.data/data/data/couchapps/WMStats/validate_doc_update.js +10 -0
  609. reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/cms_logo.jpg +0 -0
  610. reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/details_closed.gif +0 -0
  611. reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/details_open.gif +0 -0
  612. reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/feed-icon.png +0 -0
  613. reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/gradientfromtop.gif +0 -0
  614. reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/loading-small.gif +0 -0
  615. reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/loading.gif +0 -0
  616. reqmgr2-2.3.10.data/data/data/html/ReqMgr/img/shadow.gif +0 -0
  617. reqmgr2-2.3.10.data/data/data/html/ReqMgr/index.html +67 -0
  618. reqmgr2-2.3.10.data/data/data/html/ReqMgr/javascript/ajax_utils.js +104 -0
  619. reqmgr2-2.3.10.data/data/data/html/ReqMgr/javascript/config.js +10 -0
  620. reqmgr2-2.3.10.data/data/data/html/ReqMgr/javascript/md5.js +184 -0
  621. reqmgr2-2.3.10.data/data/data/html/ReqMgr/javascript/prototype.js +7510 -0
  622. reqmgr2-2.3.10.data/data/data/html/ReqMgr/javascript/requestsview.js +189 -0
  623. reqmgr2-2.3.10.data/data/data/html/ReqMgr/javascript/task_splitting.js +190 -0
  624. reqmgr2-2.3.10.data/data/data/html/ReqMgr/javascript/utils.js +337 -0
  625. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/admin.tmpl +217 -0
  626. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/apis.tmpl +36 -0
  627. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/approve.tmpl +112 -0
  628. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/assign.tmpl +252 -0
  629. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/batch.tmpl +72 -0
  630. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/batches.tmpl +63 -0
  631. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/confirm.tmpl +34 -0
  632. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/create.tmpl +112 -0
  633. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/doc.tmpl +152 -0
  634. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/error.tmpl +6 -0
  635. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/filter_sort.tmpl +55 -0
  636. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/generic.tmpl +6 -0
  637. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/index.tmpl +24 -0
  638. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/main.tmpl +33 -0
  639. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/manualConversions.txt +57 -0
  640. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/menu.tmpl +16 -0
  641. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/requests.tmpl +51 -0
  642. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/search.tmpl +22 -0
  643. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/validate.tmpl +9 -0
  644. reqmgr2-2.3.10.data/data/data/html/ReqMgr/jinja_templates/workflow.tmpl +34 -0
  645. reqmgr2-2.3.10.data/data/data/html/ReqMgr/style/kube.min.css +1 -0
  646. reqmgr2-2.3.10.data/data/data/html/ReqMgr/style/main.css +194 -0
  647. reqmgr2-2.3.10.data/data/data/html/ReqMgr/style/style.css +249 -0
  648. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/admin.tmpl +217 -0
  649. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/apis.tmpl +36 -0
  650. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/approve.tmpl +114 -0
  651. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/assign.tmpl +253 -0
  652. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/batch.tmpl +72 -0
  653. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/batches.tmpl +63 -0
  654. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/confirm.tmpl +35 -0
  655. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/create.tmpl +112 -0
  656. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/doc.tmpl +153 -0
  657. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/error.tmpl +6 -0
  658. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/filter_sort.tmpl +55 -0
  659. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/generic.tmpl +6 -0
  660. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/index.tmpl +24 -0
  661. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/json/DataProcessing.tmpl +34 -0
  662. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/json/MonteCarlo.tmpl +29 -0
  663. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/json/ReDigi.tmpl +41 -0
  664. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/json/ReReco.tmpl +38 -0
  665. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/json/Resubmission.tmpl +22 -0
  666. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/json/StoreResults.tmpl +24 -0
  667. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/main.tmpl +33 -0
  668. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/menu.tmpl +16 -0
  669. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/requests.tmpl +51 -0
  670. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/search.tmpl +22 -0
  671. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/validate.tmpl +9 -0
  672. reqmgr2-2.3.10.data/data/data/html/ReqMgr/templates/workflow.tmpl +34 -0
  673. reqmgr2-2.3.10.dist-info/LICENSE +202 -0
  674. reqmgr2-2.3.10.dist-info/METADATA +24 -0
  675. reqmgr2-2.3.10.dist-info/NOTICE +16 -0
  676. reqmgr2-2.3.10.dist-info/RECORD +678 -0
  677. reqmgr2-2.3.10.dist-info/WHEEL +5 -0
  678. reqmgr2-2.3.10.dist-info/top_level.txt +3 -0
@@ -0,0 +1,526 @@
1
+ """
2
+ This module contains example of CMSSW metrics and corresponding helper
3
+ function to convert real metrics values to their data-types
4
+ """
5
+
6
+ CMSSW_METRICS = {
7
+ "SystemMemory": {
8
+ "Active(file)": 4004848,
9
+ "KernelStack": 13760,
10
+ "VmallocUsed": 89264,
11
+ "Hugepagesize": 2048,
12
+ "Buffers": 81144,
13
+ "DirectMap4k": 145248,
14
+ "Inactive(file)": 3464500,
15
+ "PageTables": 54704,
16
+ "Shmem": 101300,
17
+ "SReclaimable": 4005812,
18
+ "Slab": 4393020,
19
+ "SUnreclaim": 387208,
20
+ "HardwareCorrupted": 0,
21
+ "VmallocTotal": -1,
22
+ "Committed_AS": 10468632,
23
+ "MemFree": 8409300,
24
+ "HugePages_Total": 0,
25
+ "AnonHugePages": 14336,
26
+ "Inactive": 5438044,
27
+ "Inactive(anon)": 1973544,
28
+ "Cached": 7490532,
29
+ "MemAvailable": 19492112,
30
+ "SwapFree": 28181320,
31
+ "HugePages_Free": 0,
32
+ "Bounce": 0,
33
+ "CmaFree": 0,
34
+ "WritebackTmp": 0,
35
+ "Active(anon)": 7233764,
36
+ "Mapped": 555512,
37
+ "CommitLimit": 45402068,
38
+ "Percpu": 4224,
39
+ "AnonPages": 9069956,
40
+ "Active": 11238612,
41
+ "MemTotal": 29986740,
42
+ "Mlocked": 0,
43
+ "VmallocChunk": -224904,
44
+ "NFS_Unstable": 0,
45
+ "SwapTotal": 30408700,
46
+ "DirectMap2M": 5408768,
47
+ "Unevictable": 0,
48
+ "CmaTotal": 0,
49
+ "HugePages_Surp": 0,
50
+ "HugePages_Rsvd": 0,
51
+ "DirectMap1G": 25165824,
52
+ "Dirty": 233852,
53
+ "SwapCached": 87876,
54
+ "Writeback": 0
55
+ },
56
+ "SystemCPU": {
57
+ "CPUModels": "Intel Core Processor (Broadwell, IBRS)",
58
+ "averageCoreSpeed": 2194.898,
59
+ "totalCPUs": 16,
60
+ "cpusetCount": 16
61
+ },
62
+ "ProcessingSummary": {
63
+ "NumberEvents": 3,
64
+ "NumberBeginRunCalls": 1,
65
+ "NumberBeginLumiCalls": 1
66
+ },
67
+ "XrdSiteStatistics": {
68
+ "readv-numOperations": [
69
+ {
70
+ "site": "roma1.infn.it",
71
+ "value": 2
72
+ },
73
+ {
74
+ "site": "T2_IT_BARI",
75
+ "value": 5
76
+ },
77
+ {
78
+ "site": "recas.ba.infn.it",
79
+ "value": 15
80
+ },
81
+ {
82
+ "site": "cern.ch",
83
+ "value": 1
84
+ }
85
+ ],
86
+ "read-totalMegabytes": [
87
+ {
88
+ "site": "roma1.infn.it",
89
+ "value": 0.455857
90
+ },
91
+ {
92
+ "site": "T2_IT_BARI",
93
+ "value": 1.36202
94
+ },
95
+ {
96
+ "site": "recas.ba.infn.it",
97
+ "value": 1.58517
98
+ },
99
+ {
100
+ "site": "cern.ch",
101
+ "value": 0
102
+ }
103
+ ],
104
+ "readv-totalMegabytes": [
105
+ {
106
+ "site": "roma1.infn.it",
107
+ "value": 17.8692
108
+ },
109
+ {
110
+ "site": "T2_IT_BARI",
111
+ "value": 6.18529
112
+ },
113
+ {
114
+ "site": "recas.ba.infn.it",
115
+ "value": 71.6814
116
+ },
117
+ {
118
+ "site": "cern.ch",
119
+ "value": 0.251508
120
+ }
121
+ ],
122
+ "read-totalMsecs": [
123
+ {
124
+ "site": "roma1.infn.it",
125
+ "value": 1820.49
126
+ },
127
+ {
128
+ "site": "T2_IT_BARI",
129
+ "value": 4115.96
130
+ },
131
+ {
132
+ "site": "recas.ba.infn.it",
133
+ "value": 2925.22
134
+ },
135
+ {
136
+ "site": "cern.ch",
137
+ "value": 0
138
+ }
139
+ ],
140
+ "read-numOperations": [
141
+ {
142
+ "site": "roma1.infn.it",
143
+ "value": 72
144
+ },
145
+ {
146
+ "site": "T2_IT_BARI",
147
+ "value": 99
148
+ },
149
+ {
150
+ "site": "recas.ba.infn.it",
151
+ "value": 101
152
+ },
153
+ {
154
+ "site": "cern.ch",
155
+ "value": 0
156
+ }
157
+ ],
158
+ "readv-totalMsecs": [
159
+ {
160
+ "site": "roma1.infn.it",
161
+ "value": 5100.97
162
+ },
163
+ {
164
+ "site": "T2_IT_BARI",
165
+ "value": 1064.16
166
+ },
167
+ {
168
+ "site": "recas.ba.infn.it",
169
+ "value": 4575.52
170
+ },
171
+ {
172
+ "site": "cern.ch",
173
+ "value": 48.8356
174
+ }
175
+ ],
176
+ "readv-numChunks": [
177
+ {
178
+ "site": "roma1.infn.it",
179
+ "value": 108
180
+ },
181
+ {
182
+ "site": "T2_IT_BARI",
183
+ "value": 29
184
+ },
185
+ {
186
+ "site": "recas.ba.infn.it",
187
+ "value": 359
188
+ },
189
+ {
190
+ "site": "cern.ch",
191
+ "value": 13
192
+ }
193
+ ]
194
+ },
195
+ "Timing": {
196
+ "MinEventTime": 10.3773,
197
+ "NumberOfThreads": 2,
198
+ "EventThroughput": 0.0379954,
199
+ "NumberOfStreams": 2,
200
+ "TotalEventSetupTime": 16.1899,
201
+ "TotalLoopTime": 78.9568,
202
+ "MaxEventTime": 46.6407,
203
+ "TotalInitTime": 73.9733,
204
+ "TotalJobChildrenCPU": 0.174912,
205
+ "TotalJobTime": 153.001,
206
+ "TotalNonModuleTime": 32.1743,
207
+ "TotalInitCPU": 47.1554,
208
+ "AvgEventTime": 34.1318,
209
+ "TotalJobCPU": 155.483,
210
+ "TotalLoopCPU": 108.262
211
+ },
212
+ "ApplicationMemory": {
213
+ "SecondLargestRssEvent-f-RSS": 3319.17,
214
+ "SecondLargestVsizeEventT2-f-RSS": 3284.8,
215
+ "HEAP_MAPPED_SIZE_BYTES": 0,
216
+ "LargestVsizeEventT1-c-EVENT": 102,
217
+ "SecondLargestVsizeEventT2-a-COUNT": 2,
218
+ "SecondLargestVsizeEventT2-e-DELTV": 0,
219
+ "LargestVsizeIncreaseEvent-e-DELTV": 0,
220
+ "HEAP_UNUSED_BYTES": 0,
221
+ "HEAP_USED_BYTES": 0,
222
+ "HEAP_MAPPED_N_CHUNKS": 0,
223
+ "PeakValueRss": 3331.98,
224
+ "ThirdLargestRssEvent-a-COUNT": 2,
225
+ "LargestVsizeEventT1-f-RSS": 3331.98,
226
+ "ThirdLargestVsizeEventT3-c-EVENT": 101,
227
+ "ThirdLargestVsizeEventT3-e-DELTV": 0,
228
+ "SecondLargestRssEvent-e-DELTV": 0,
229
+ "LargestVsizeEventT1-a-COUNT": 1,
230
+ "ThirdLargestRssEvent-b-RUN": 1,
231
+ "HEAP_ARENA_N_UNUSED_CHUNKS": 1,
232
+ "SecondLargestRssEvent-a-COUNT": 3,
233
+ "AverageGrowthRateRss": 669.988,
234
+ "ThirdLargestVsizeEventT3-d-VSIZE": 5453.68,
235
+ "AverageGrowthRateVsize": 895.158,
236
+ "LargestVsizeEventT1-e-DELTV": 0,
237
+ "LargestVsizeEventT1-d-VSIZE": 5453.68,
238
+ "LargestRssEvent-d-VSIZE": 5453.68,
239
+ "PeakValueVsize": 5453.68,
240
+ "LargestRssEvent-a-COUNT": 1,
241
+ "SecondLargestVsizeEventT2-d-VSIZE": 5453.68,
242
+ "LargestVsizeIncreaseEvent-f-RSS": 3331.98,
243
+ "ThirdLargestRssEvent-c-EVENT": 104,
244
+ "LargestVsizeEventT1-b-RUN": 1,
245
+ "LargestVsizeIncreaseEvent-a-COUNT": 1,
246
+ "LargestRssEvent-b-RUN": 1,
247
+ "ThirdLargestRssEvent-f-RSS": 3284.8,
248
+ "ThirdLargestVsizeEventT3-a-COUNT": 3,
249
+ "LargestVsizeIncreaseEvent-d-VSIZE": 5453.68,
250
+ "SecondLargestRssEvent-b-RUN": 1,
251
+ "ThirdLargestVsizeEventT3-f-RSS": 3319.17,
252
+ "ThirdLargestRssEvent-d-VSIZE": 5453.68,
253
+ "LargestRssEvent-c-EVENT": 102,
254
+ "HEAP_TOP_FREE_BYTES": 0,
255
+ "HEAP_ARENA_SIZE_BYTES": 0,
256
+ "LargestRssEvent-f-RSS": 3331.98,
257
+ "SecondLargestVsizeEventT2-c-EVENT": 104,
258
+ "LargestRssEvent-e-DELTV": 0,
259
+ "LargestVsizeIncreaseEvent-b-RUN": 1,
260
+ "SecondLargestVsizeEventT2-b-RUN": 1,
261
+ "ThirdLargestVsizeEventT3-b-RUN": 1,
262
+ "SecondLargestRssEvent-d-VSIZE": 5453.68,
263
+ "ThirdLargestRssEvent-e-DELTV": 0,
264
+ "LargestVsizeIncreaseEvent-c-EVENT": 102,
265
+ "SecondLargestRssEvent-c-EVENT": 101
266
+ },
267
+ "StorageStatistics": {
268
+ "Timing-tstoragefile-stat-maxMsecs": 0.072352,
269
+ "Parameter-untracked-bool-enabled": True,
270
+ "Timing-tstoragefile-flush-minMsecs": 0.646707,
271
+ "Timing-root-close-minMsecs": 0.10421,
272
+ "Timing-tstoragefile-flush-totalMegabytes": 0,
273
+ "Timing-file-readv-maxMsecs": 0,
274
+ "Timing-file-close-numSuccessfulOperations": 1,
275
+ "Timing-file-read-numOperations": 4680,
276
+ "Timing-file-read-totalMsecs": 61.8403,
277
+ "Timing-tstoragefile-writeViaCache-numOperations": 7307,
278
+ "Timing-file-flush-numOperations": 3,
279
+ "Timing-file-prefetch-numOperations": 0,
280
+ "Timing-file-close-totalMsecs": 0.190476,
281
+ "Timing-tstoragefile-readAsync-minMsecs": 0,
282
+ "Timing-root-open-numOperations": 3,
283
+ "Timing-root-position-totalMegabytes": 0,
284
+ "Timing-tstoragefile-readViaCache-minMsecs": 0,
285
+ "Timing-file-construct-totalMsecs": 0.00055,
286
+ "Timing-root-stagein-totalMsecs": 4.10695,
287
+ "Timing-tstoragefile-flush-numSuccessfulOperations": 3,
288
+ "Timing-tstoragefile-write-minMsecs": 0.006056,
289
+ "Timing-tstoragefile-readAsync-totalMsecs": 0,
290
+ "Timing-file-write-totalMegabytes": 29.0666,
291
+ "Timing-file-open-minMsecs": 1.05184,
292
+ "Timing-root-open-numSuccessfulOperations": 3,
293
+ "Timing-root-construct-numSuccessfulOperations": 3,
294
+ "Timing-file-read-minMsecs": 0.001137,
295
+ "Timing-file-close-maxMsecs": 0.190476,
296
+ "Timing-tstoragefile-readActual-numSuccessfulOperations": 4968,
297
+ "Timing-file-write-numSuccessfulOperations": 7307,
298
+ "Timing-root-prefetch-minMsecs": 0,
299
+ "Timing-root-stagein-numSuccessfulOperations": 1,
300
+ "Timing-root-readv-numOperations": 231,
301
+ "Timing-root-close-totalMsecs": 0.741968,
302
+ "Timing-tstoragefile-construct-numSuccessfulOperations": 5,
303
+ "Timing-tstoragefile-stat-totalMsecs": 2.83543,
304
+ "Timing-file-flush-maxMsecs": 1809.22,
305
+ "Timing-file-open-totalMegabytes": 0,
306
+ "Timing-tstoragefile-readAsync-numOperations": 30,
307
+ "Timing-root-position-numSuccessfulOperations": 93,
308
+ "Timing-tstoragefile-write-numOperations": 7307,
309
+ "Timing-root-read-numOperations": 57,
310
+ "Timing-file-writev-totalMsecs": 0,
311
+ "Timing-tstoragefile-readAsync-totalMegabytes": 0,
312
+ "Timing-file-writev-maxMsecs": 0,
313
+ "Timing-root-writev-totalMegabytes": 0,
314
+ "Timing-tstoragefile-writeActual-totalMegabytes": 29.0666,
315
+ "Timing-file-position-totalMsecs": 17.9375,
316
+ "Timing-tstoragefile-readViaCache-maxMsecs": 0,
317
+ "Timing-file-open-totalMsecs": 3.28384,
318
+ "Timing-root-writev-numSuccessfulOperations": 0,
319
+ "Timing-tstoragefile-writeViaCache-totalMsecs": 0,
320
+ "Timing-file-prefetch-numSuccessfulOperations": 0,
321
+ "Timing-tstoragefile-readViaCache-totalMegabytes": 0,
322
+ "Timing-file-prefetch-totalMsecs": 0,
323
+ "Timing-file-flush-numSuccessfulOperations": 3,
324
+ "Timing-tstoragefile-stat-minMsecs": 0.00071,
325
+ "Timing-file-position-totalMegabytes": 0,
326
+ "Timing-root-prefetch-totalMegabytes": 0,
327
+ "Timing-root-position-numOperations": 93,
328
+ "Timing-tstoragefile-close-numOperations": 4,
329
+ "Timing-file-position-minMsecs": 0.000751,
330
+ "Timing-root-read-totalMsecs": 2011.12,
331
+ "Timing-tstoragefile-construct-totalMegabytes": 0,
332
+ "Parameter-untracked-bool-prefetching": False,
333
+ "Timing-file-open-numOperations": 2,
334
+ "Timing-tstoragefile-writeViaCache-numSuccessfulOperations": 0,
335
+ "Timing-tstoragefile-writeActual-numSuccessfulOperations": 7307,
336
+ "Timing-root-readv-minMsecs": 15.7082,
337
+ "Timing-file-construct-totalMegabytes": 0,
338
+ "Timing-root-position-minMsecs": "4.4e-05",
339
+ "Timing-root-readv-maxMsecs": 4168.77,
340
+ "Timing-tstoragefile-seek-totalMegabytes": 0,
341
+ "Timing-root-close-numOperations": 3,
342
+ "Timing-root-close-numSuccessfulOperations": 3,
343
+ "Timing-root-readv-numSuccessfulOperations": 231,
344
+ "Timing-file-flush-minMsecs": 0.645059,
345
+ "Timing-tstoragefile-seek-minMsecs": 0.000217,
346
+ "Timing-root-read-maxMsecs": 258.502,
347
+ "Timing-file-write-maxMsecs": 12.2384,
348
+ "Timing-root-write-numSuccessfulOperations": 0,
349
+ "Timing-tstoragefile-readAsync-numSuccessfulOperations": 0,
350
+ "Timing-root-read-minMsecs": 15.753,
351
+ "Timing-file-readv-numSuccessfulOperations": 0,
352
+ "Timing-file-readv-minMsecs": 0,
353
+ "Timing-file-prefetch-maxMsecs": 0,
354
+ "Timing-root-construct-totalMegabytes": 0,
355
+ "Timing-tstoragefile-construct-numOperations": 5,
356
+ "Timing-file-read-numSuccessfulOperations": 4680,
357
+ "Timing-root-write-totalMsecs": 0,
358
+ "Timing-file-readv-numOperations": 0,
359
+ "Timing-root-prefetch-numSuccessfulOperations": 0,
360
+ "Timing-file-prefetch-totalMegabytes": 0,
361
+ "Timing-file-readv-totalMegabytes": 0,
362
+ "Timing-root-readv-totalMegabytes": 96.7375,
363
+ "Timing-tstoragefile-close-totalMegabytes": 0,
364
+ "Timing-file-writev-minMsecs": 0,
365
+ "Timing-file-construct-minMsecs": 0.000259,
366
+ "Timing-tstoragefile-flush-numOperations": 3,
367
+ "Timing-tstoragefile-readActual-minMsecs": 0.001295,
368
+ "Timing-file-write-minMsecs": 0.005698,
369
+ "ROOT-tfile-write-totalMegabytes": 0,
370
+ "Timing-root-open-maxMsecs": 4379.9,
371
+ "Timing-tstoragefile-readActual-numOperations": 4968,
372
+ "Timing-tstoragefile-flush-maxMsecs": 1809.23,
373
+ "Timing-root-close-maxMsecs": 0.402898,
374
+ "Timing-root-open-totalMegabytes": 0,
375
+ "Timing-tstoragefile-read-totalMegabytes": 8.08306,
376
+ "Timing-root-position-totalMsecs": 0.032065,
377
+ "Timing-file-open-numSuccessfulOperations": 2,
378
+ "Timing-root-write-numOperations": 0,
379
+ "Timing-tstoragefile-read-numOperations": 4737,
380
+ "Timing-root-open-totalMsecs": 9945.23,
381
+ "ROOT-tfile-read-totalMegabytes": 5.55608,
382
+ "Parameter-untracked-string-cacheHint": "auto-detect",
383
+ "Timing-root-write-maxMsecs": 0,
384
+ "Timing-file-writev-numOperations": 0,
385
+ "Timing-root-writev-numOperations": 0,
386
+ "Timing-file-writev-numSuccessfulOperations": 0,
387
+ "Timing-file-close-totalMegabytes": 0,
388
+ "Timing-tstoragefile-write-totalMegabytes": 29.0666,
389
+ "Timing-tstoragefile-close-maxMsecs": 0.40434,
390
+ "Timing-file-flush-totalMegabytes": 0,
391
+ "Timing-tstoragefile-readActual-totalMegabytes": 104.821,
392
+ "Timing-file-open-maxMsecs": 2.23201,
393
+ "Timing-tstoragefile-close-minMsecs": 0.152179,
394
+ "Timing-tstoragefile-read-minMsecs": 0.001442,
395
+ "Timing-tstoragefile-stat-numOperations": 697,
396
+ "Timing-root-construct-totalMsecs": 0.000643,
397
+ "Timing-root-writev-minMsecs": 0,
398
+ "Timing-tstoragefile-read-numSuccessfulOperations": 4737,
399
+ "Timing-file-position-maxMsecs": 0.065989,
400
+ "Timing-tstoragefile-close-totalMsecs": 0.992356,
401
+ "Parameter-untracked-bool-stats": True,
402
+ "Timing-file-writev-totalMegabytes": 0,
403
+ "Timing-root-read-totalMegabytes": 2.65289,
404
+ "Timing-tstoragefile-write-totalMsecs": 224.665,
405
+ "Timing-file-flush-totalMsecs": 1847.35,
406
+ "Timing-tstoragefile-close-numSuccessfulOperations": 4,
407
+ "Timing-tstoragefile-seek-maxMsecs": 0.05572,
408
+ "Timing-root-prefetch-numOperations": 30,
409
+ "Timing-root-open-minMsecs": 2228.61,
410
+ "Timing-root-readv-totalMsecs": 16602.5,
411
+ "Timing-tstoragefile-writeActual-numOperations": 7307,
412
+ "Timing-file-read-maxMsecs": 15.5135,
413
+ "Timing-root-stagein-totalMegabytes": 0,
414
+ "Timing-root-close-totalMegabytes": 0,
415
+ "Timing-tstoragefile-read-maxMsecs": 258.507,
416
+ "Timing-root-write-minMsecs": 0,
417
+ "Timing-tstoragefile-construct-maxMsecs": 4586.16,
418
+ "Parameter-untracked-string-readHint": "auto-detect",
419
+ "Timing-root-stagein-maxMsecs": 4.10695,
420
+ "Timing-tstoragefile-writeActual-maxMsecs": 12.2421,
421
+ "Timing-file-write-totalMsecs": 220.75,
422
+ "Timing-file-readv-totalMsecs": 0,
423
+ "Timing-tstoragefile-readAsync-maxMsecs": 0,
424
+ "Timing-tstoragefile-seek-numOperations": 12044,
425
+ "Timing-tstoragefile-writeViaCache-minMsecs": 0,
426
+ "Timing-tstoragefile-write-numSuccessfulOperations": 7307,
427
+ "Timing-tstoragefile-seek-numSuccessfulOperations": 12044,
428
+ "Timing-tstoragefile-readViaCache-totalMsecs": 0,
429
+ "Timing-tstoragefile-write-maxMsecs": 12.2428,
430
+ "Timing-file-read-totalMegabytes": 5.43017,
431
+ "Timing-tstoragefile-stat-numSuccessfulOperations": 697,
432
+ "Timing-root-construct-maxMsecs": 0.000261,
433
+ "Timing-tstoragefile-construct-minMsecs": 36.3145,
434
+ "Timing-root-writev-maxMsecs": 0,
435
+ "Timing-tstoragefile-readActual-totalMsecs": 18677.2,
436
+ "Timing-tstoragefile-construct-totalMsecs": 11419,
437
+ "Timing-root-writev-totalMsecs": 0,
438
+ "Timing-file-construct-maxMsecs": 0.000291,
439
+ "Timing-file-prefetch-minMsecs": 0,
440
+ "Timing-root-stagein-numOperations": 1,
441
+ "Timing-file-close-minMsecs": 0.190476,
442
+ "Timing-file-construct-numOperations": 2,
443
+ "Timing-file-construct-numSuccessfulOperations": 2,
444
+ "Timing-root-stagein-minMsecs": 4.10695,
445
+ "Timing-root-write-totalMegabytes": 0,
446
+ "Timing-root-read-numSuccessfulOperations": 57,
447
+ "Timing-tstoragefile-writeActual-minMsecs": 0.005877,
448
+ "Timing-tstoragefile-readViaCache-numOperations": 3,
449
+ "Timing-tstoragefile-readActual-maxMsecs": 4168.78,
450
+ "Timing-file-close-numOperations": 1,
451
+ "Timing-file-position-numOperations": 14759,
452
+ "Timing-tstoragefile-read-totalMsecs": 2075,
453
+ "Timing-root-position-maxMsecs": 0.001203,
454
+ "Timing-root-construct-minMsecs": 0.000142,
455
+ "Timing-tstoragefile-readViaCache-numSuccessfulOperations": 0,
456
+ "Timing-file-position-numSuccessfulOperations": 14759,
457
+ "Timing-tstoragefile-writeViaCache-maxMsecs": 0,
458
+ "Timing-tstoragefile-writeViaCache-totalMegabytes": 0,
459
+ "Timing-file-write-numOperations": 7307,
460
+ "Timing-tstoragefile-flush-totalMsecs": 1847.36,
461
+ "Timing-root-construct-numOperations": 3,
462
+ "Timing-tstoragefile-seek-totalMsecs": 18.3395,
463
+ "Timing-tstoragefile-stat-totalMegabytes": 0,
464
+ "Timing-root-prefetch-totalMsecs": 0,
465
+ "Timing-root-prefetch-maxMsecs": 0,
466
+ "Timing-tstoragefile-writeActual-totalMsecs": 222.926
467
+ }
468
+ }
469
+
470
+
471
+ def CMSSWMetrics():
472
+ """
473
+ Helper function to convert CMSSW_METRICS dict values to their data-types
474
+ :return: dictionary
475
+
476
+ Output dictionary will be in form
477
+ {
478
+ "SystemMemory": {
479
+ "Active(file)": <class 'int'>.
480
+ "KernelStack": <class 'int'>,
481
+ ...
482
+ },
483
+ ...
484
+ }
485
+ """
486
+ rdict = {}
487
+ for key, mdict in CMSSW_METRICS.items():
488
+ if key == 'XrdSiteStatistics':
489
+ rdict[key] = XrdMetrics(mdict)
490
+ continue
491
+ ndict = {}
492
+ for mkey, mval in mdict.items():
493
+ if isinstance(mval, (int, float, str, bool)):
494
+ ndict[mkey] = type(mval)
495
+ rdict[key] = ndict
496
+ return rdict
497
+
498
+
499
+ def XrdMetrics(mdict):
500
+ """
501
+ Convert given XrdSiteStatistics dict values to their data-types
502
+ :param mdict: XrdSiteStatistics dict
503
+ :return: dictionary
504
+
505
+ The output dictionary will be in a form of
506
+ {
507
+ "XrdSiteStatistics": {
508
+ "readv-numOperations": [
509
+ {
510
+ "site": <class 'str'>,
511
+ "value": <class 'int'>
512
+ },
513
+ ...
514
+ }
515
+ ...
516
+ }
517
+ """
518
+ rdict = {}
519
+ for key, values in mdict.items():
520
+ entry = values[0]
521
+ ndict = {}
522
+ for mkey, mval in entry.items():
523
+ if isinstance(mval, (int, float, str, bool)):
524
+ ndict[mkey] = type(mval)
525
+ rdict[key] = [ndict]
526
+ return rdict