reqmon 2.3.7.4__tar.gz → 2.3.8__tar.gz
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.
- {reqmon-2.3.7.4/src/python/reqmon.egg-info → reqmon-2.3.8}/PKG-INFO +1 -1
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/drainAgent.py +1 -1
- reqmon-2.3.8/bin/patchCluster.sh +259 -0
- reqmon-2.3.8/bin/patchComponent.sh +366 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmagent-mod-config +2 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/ReqMgr/DataStructs/RequestStatus.py +17 -4
- reqmon-2.3.8/src/python/WMCore/Services/MSUtils/MSUtils.py +54 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/PyCondor/PyCondorAPI.py +2 -3
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/RequestDB/RequestDBWriter.py +1 -8
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/Rucio/Rucio.py +25 -1
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/WorkQueue/WorkQueue.py +35 -3
- reqmon-2.3.8/src/python/WMCore/WMStats/WebGui/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/__init__.py +1 -1
- {reqmon-2.3.7.4 → reqmon-2.3.8/src/python/reqmon.egg-info}/PKG-INFO +1 -1
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/reqmon.egg-info/SOURCES.txt +3 -1
- reqmon-2.3.7.4/bin/patchComponent.sh +0 -74
- reqmon-2.3.7.4/src/python/WMCore/Services/MSPileup/MSPileupUtils.py +0 -31
- {reqmon-2.3.7.4 → reqmon-2.3.8}/LICENSE +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/MANIFEST.in +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/NOTICE +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/README.md +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/HWMon/wmcore-SysStat +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/acdcserver-tools +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/ParseSpecCmsswdist.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/adjustMongoDocs.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/checkDsetFileCount.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/checkStuckLQE.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/createPileupObjects.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/fixWorkflowParentage.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/getWQStatusByWorkflow.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/injectUnified.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/mongoInit.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/parseUnifiedCampaigns.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/setrequeststatus.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/summaryWMStatsFailures.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/updatePileupObjects.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/updateTotalStats.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/adhoc-scripts/workflowCompletion.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/attempt-to-patch.sh +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/buildrelease.sh +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/check-ACDC-parentage +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/check-phedex-dbs-status +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/check-request-wq-status +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/clean-oracle +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/combineMinifyWMStats.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/couch-thrash.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/couch_archiver.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/create-iam-token.sh +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/createStoreResults.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/dbsbuffer-file-fix.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/deploy-rpm-to-jenkins.sh +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/docker.sh +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/fix-dbs-parentage +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/inject-to-config-cache +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/kill-workflow-in-agent +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/kill-workflow-in-global +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/make-local-clones.sh +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/outputmodules-from-config +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/paused-jobs +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/purgeDeletedCouchDoc.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/reqmgr-put-default-config +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/reqmgr-sw-update +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/vaildateCMSSWMergeVersion +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmagent-component-standalone +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmagent-couchapp-init +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmagent-delete-couchdb-workflow +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmagent-resource-control +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmagent-unregister-wmstats +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmagent-upload-config +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmagent-workqueue +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmc-dist-patch +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmc-dist-unpatch +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmc-httpd +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmcore-db-init +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmcore-new-config +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmcore-new-flow +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/bin/wmcoreD +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/requirements.txt +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/setup.cfg +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/setup.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/setup_build.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/setup_dependencies.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/LogDB/_id +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/LogDB/couchapp.json +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/LogDB/filters/filterDeletedDocs.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/LogDB/language +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/LogDB/validate_doc_update.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/LogDB/views/logByRequest/map.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/LogDB/views/logByRequestAndThread/map.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/LogDB/views/requests/map.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/LogDB/views/requests/reduce.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/LogDB/views/tstamp/map.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/T0Request/_id +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/T0Request/couchapp.json +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/T0Request/filters/repfilter.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/T0Request/language +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/T0Request/updates/updaterequest.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/T0Request/validate_doc_update.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/T0Request/views/byrequest/map.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/T0Request/views/bystatus/map.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/T0Request/views/bystatusandtime/map.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/ColVis.css +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/font-awesome.min.css +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/badge-circle-check-16.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/badge-circle-cross-16.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/badge-circle-plus-16.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/badge-square-check-16.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/cms_logo.gif +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/cms_logo.jpeg +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-bg_highlight-hard_55_5c9ccc_1x100.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-bg_inset-soft_100_fcfdfd_1x100.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-icons_217bc0_256x240.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-icons_2694e8_256x240.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-icons_2e83ff_256x240.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-icons_469bdd_256x240.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-icons_6da8d5_256x240.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-icons_cd0a0a_256x240.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-icons_d8e7f3_256x240.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/ui-icons_f9bd01_256x240.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/images/warning-16.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/jquery-ui-1.12.0.css +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/jquery.dataTables.css +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/logdb.css +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/css/main_layout.css +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/fonts/FontAwesome.otf +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.eot +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.svg +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.ttf +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.woff +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/fonts/fontawesome-webfont.woff2 +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/Sorting icons.psd +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/back_disabled.jpg +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/back_enabled.jpg +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/error.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/favicon.ico +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/forward_disabled.jpg +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/forward_enabled.jpg +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/loader-1.gif +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/module.caption.backg.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/module.caption.backg.rolledup.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/rollup.gif +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/sort_asc.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/sort_asc_disabled.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/sort_both.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/sort_desc.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/sort_desc_disabled.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/stable.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/images/warning.png +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/index.html +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/index.html.min +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/index.html.org +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Controller/WMStats.ActiveRequestController.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Controller/WMStats.GenericController.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Controller/WMStats.WorkloadSummaryController.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Controller/import.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/T0/WMStats.RequestSummary.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/T0/WMStats.RunSummary.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.AgentRequestSummary.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.CMSSWSummary.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.CampaignSummary.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.ReqMgrRequest.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/T1/WMStats.RequestSummary.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Agents.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Alerts.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Campaigns.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/WMStats.GenericRequests.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/WMStats.History.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/WMStats.JobDetails.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/WMStats.JobSummary.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/WMStats.LogDBData.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/WMStats.LogMessage.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/WMStats.SiteSummary.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Sites.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/WMStats.Tasks.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/WMStats.WorkloadSummary.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/WMStats._StructBase.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/DataStruct/import.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/T0/WMStats.ActiveRequestModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/T0/WMStats.RequestLogDetailModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/T0/WMStats.RequestLogModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/T0/WMStats.RequestModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/T0/WMStats.RequestSearchModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/T1/WMStats.ActiveRequestModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/T1/WMStats.ReqMgrRequestModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/T1/WMStats.RequestLogDetailModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/T1/WMStats.RequestLogModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/T1/WMStats.RequestSearchModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/WMStats.AgentModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/WMStats.AlertModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/WMStats.HistoryModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/WMStats.JobDetailModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/WMStats.JobSummaryModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/WMStats.WorkloadSummaryModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/WMStats._AjaxModelBase.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/WMStats._ModelBase.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/WMStats._RequestModelBase.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Models/import.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/ViewModels/WMStats.ViewModel.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/ViewModels/import.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Controls/T0/WMStats.Controls.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Controls/T1/WMStats.Controls.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Controls/WMStats.CommonControls.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Controls/import.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Graphs/WMStats.SiteHistoryGraph.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Graphs/import.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.CategoryDetailList.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.RequestAlertGUI.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.RequestDataList.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.RequestDetailList.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/T0/WMStats.RequestSummaryList.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.CategoryDetailList.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.RequestAlertGUI.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.RequestDataList.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.RequestDetailList.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.RequestSummaryList.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/T1/WMStats.ResubmissionList.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.AgentDetailList.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.CategoryTitle.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.HTMLList.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.JobDetailList.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.RequestLogList.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/WMStats.RequestTitle.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/HTMLList/import.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/T0/WMStats.ActiveRequestTable.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/T0/WMStats.RunSummaryTable.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/T0/WMStats.TaskSummaryTable.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/T0/addCategoryMap.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.ActiveRequestTable.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.ActiveRequestTableWithJob.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.AgentRequestSummaryTable.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.CMSSWSummaryTable.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.CampaignSummaryTable.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.SiteSummaryTable.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/T1/WMStats.TaskSummaryTable.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/T1/addCategoryMap.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/WMStats.JobSummaryTable.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/WMStats.Table.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/WMStats.TableController.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/WMStats.WorkloadSummaryTable.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/Tables/import.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/WMStats.CategoryMap.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/WMStats.View.IndexHTML.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/Views/import.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/WMStats.Ajax.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/WMStats.Couch.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/WMStats.Globals.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/WMStats.Utils.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/import-all.min.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/loader.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/minified/global.min.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/minified/import-all-t0.min.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/js/minified/import-all-t1.min.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/lib/jquery.dataTables.columnFilter.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/_attachments/lib/namespace.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/filters/deleteFatDocFilter.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/filters/filterDeletedDocs.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/filters/repfilter.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/rewrites.json +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/shows/redirect.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/updates/agentInfo.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/updates/generalFields.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/updates/insertRequest.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/updates/jobLogArchiveLocation.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/updates/jobStateTransition.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/updates/jobSummaryState.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/updates/totalStats.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStats/validate_doc_update.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl/language +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl/views/requestAgentUrl/map.erl +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl/views/requestAgentUrl/reduce.erl +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl1/language +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl1/views/byAgentURL/map.erl +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl2/language +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl2/views/allWorkflows/map.erl +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl2/views/allWorkflows/reduce.erl +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl3/language +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl3/views/jobsByStatusWorkflow/map.erl +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl3/views/jobsByStatusWorkflow/reduce.erl +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl4/language +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl4/views/cooledoffRequests/map.erl +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl4/views/cooledoffRequests/reduce.erl +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl5/language +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl5/views/time/map.erl +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl6/language +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl6/views/requestHistory/map.erl +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl6/views/requestHistory/reduce.erl +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl7/language +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl7/views/agentInfo/map.erl +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WMStatsErl7/views/latestRequest/map.erl +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/_attachments/index.html +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/_attachments/js/container/histogram.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/_attachments/js/container/tree.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/_attachments/js/dataMap/errorData.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/_attachments/js/htmlFormatter/listFormatter.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/_attachments/js/layout/gridLayout.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/_attachments/performanceHistogram.html +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/_attachments/style/main.css +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/couchapp.json +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/filters/repfilter.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/lib/mustache.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/lib/validate.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/lists/completedWorkflows.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/lists/performanceHistogram.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/rewrites.json +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/shows/histogramByWorkflow.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/shows/lumiMissingByWorkflow.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/templates/histogramByWorkflow.html +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/templates/performanceData.html +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/updates/updateacdc.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/updates/updatecollection.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/validate_doc_update.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/vendor/protovis/_attachments/protovis-r3.2.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/views/outputDataByPrimDs/map.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/views/performanceDataByCampaign/map.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/views/summaryByInputdataset/map.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/couchapps/WorkloadSummary/views/summaryByOutputdataset/map.js +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/CPMetrics.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/CertTools.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/EmailAlert.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/ExtendedUnitTestCase.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/FileTools.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/IteratorTools.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/MathUtils.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/MemoryCache.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/Patterns.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/Pipeline.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/PortForward.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/ProcessStats.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/PythonVersion.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/Signals.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/TemporaryEnvironment.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/Throttled.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/Timers.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/Timestamps.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/TokenManager.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/Tracing.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/TwPrint.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/Utilities.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/Utils/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Algorithms/Permissions.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Algorithms/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Cache/GenericDataCache.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Cache/WMConfigCache.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Cache/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Configuration.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/DataStructs/File.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/DataStructs/Fileset.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/DataStructs/Job.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/DataStructs/JobGroup.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/DataStructs/JobPackage.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/DataStructs/LumiList.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/DataStructs/Mask.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/DataStructs/Pickleable.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/DataStructs/Run.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/DataStructs/Subscription.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/DataStructs/WMObject.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/DataStructs/WorkUnit.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/DataStructs/Workflow.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/DataStructs/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Database/CMSCouch.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Database/CouchUtils.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Database/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Lexicon.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/REST/Auth.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/REST/CherryPyPeriodicTask.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/REST/Error.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/REST/Format.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/REST/HeartbeatMonitorBase.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/REST/Main.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/REST/Server.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/REST/Services.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/REST/Test.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/REST/Tools.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/REST/Validation.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/REST/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/ReqMgr/DataStructs/AuthzByStatus.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/ReqMgr/DataStructs/DefaultConfig/CAMPAIGN_CONFIG.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/ReqMgr/DataStructs/DefaultConfig/DAS_RESULT_FILTER.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/ReqMgr/DataStructs/DefaultConfig/EDITABLE_SPLITTING_PARAM_CONFIG.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/ReqMgr/DataStructs/DefaultConfig/UNIFIED_CONFIG.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/ReqMgr/DataStructs/DefaultConfig/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/ReqMgr/DataStructs/ReqMgrConfigDataCache.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/ReqMgr/DataStructs/Request.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/ReqMgr/DataStructs/RequestError.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/ReqMgr/DataStructs/RequestType.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/ReqMgr/DataStructs/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/ReqMgr/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/AlertManager/AlertManagerAPI.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/AlertManager/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/CRIC/CRIC.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/CRIC/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/DBS/DBS3Reader.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/DBS/DBSConcurrency.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/DBS/DBSErrors.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/DBS/DBSReader.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/DBS/DBSUtils.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/DBS/DBSWriterObjects.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/DBS/ProdException.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/DBS/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/FWJRDB/FWJRDBAPI.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/FWJRDB/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/HTTPS/HTTPSAuthHandler.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/HTTPS/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/LogDB/LogDB.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/LogDB/LogDBBackend.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/LogDB/LogDBExceptions.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/LogDB/LogDBReport.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/LogDB/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/MSPileup/__init__.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/MonIT → reqmon-2.3.8/src/python/WMCore/Services/MSUtils}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/McM/McM.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/McM/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/MonIT/Grafana.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/PyCondor → reqmon-2.3.8/src/python/WMCore/Services/MonIT}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/PyCondor/PyCondorUtils.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/ReqMgr → reqmon-2.3.8/src/python/WMCore/Services/PyCondor}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/ReqMgr/ReqMgr.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/ReqMgrAux → reqmon-2.3.8/src/python/WMCore/Services/ReqMgr}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/ReqMgrAux/ReqMgrAux.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/RequestDB → reqmon-2.3.8/src/python/WMCore/Services/ReqMgrAux}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/RequestDB/RequestDBReader.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/Rucio → reqmon-2.3.8/src/python/WMCore/Services/RequestDB}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/Requests.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/Rucio/RucioUtils.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/RucioConMon → reqmon-2.3.8/src/python/WMCore/Services/Rucio}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/RucioConMon/RucioConMon.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/StompAMQ → reqmon-2.3.8/src/python/WMCore/Services/RucioConMon}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/Service.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/TagCollector → reqmon-2.3.8/src/python/WMCore/Services/StompAMQ}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/TagCollector/TagCollector.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/TagCollector/XMLUtils.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/WMAgent → reqmon-2.3.8/src/python/WMCore/Services/TagCollector}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/UUIDLib.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/UserFileCache/UserFileCache.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/UserFileCache/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/WMAgent/WMAgent.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/WMArchive → reqmon-2.3.8/src/python/WMCore/Services/WMAgent}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/WMArchive/CMSSWMetrics.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/WMArchive/DataMap.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/WMArchive/WMArchive.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/WMBS → reqmon-2.3.8/src/python/WMCore/Services/WMArchive}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/WMBS/WMBS.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/WMStats/DataStruct → reqmon-2.3.8/src/python/WMCore/Services/WMBS}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/WMStats/DataStruct/RequestInfoCollection.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/WMStats → reqmon-2.3.8/src/python/WMCore/Services/WMStats/DataStruct}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/WMStats/WMStatsPycurl.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/WMStats/WMStatsReader.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/WMStats/WMStatsWriter.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/WMStatsServer → reqmon-2.3.8/src/python/WMCore/Services/WMStats}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/WMStatsServer/WMStatsServer.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/Services/WorkQueue → reqmon-2.3.8/src/python/WMCore/Services/WMStatsServer}/__init__.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/WMStats/CherryPyThreads → reqmon-2.3.8/src/python/WMCore/Services/WorkQueue}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Services/pycurl_manager.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMBase.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMException.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMExceptions.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMFactory.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMLogging.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMStats/CherryPyThreads/CleanUpTask.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMStats/CherryPyThreads/DataCacheUpdate.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMStats/CherryPyThreads/HeartbeatMonitor.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMStats/CherryPyThreads/LogDBTasks.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/WMStats/DataStructs → reqmon-2.3.8/src/python/WMCore/WMStats/CherryPyThreads}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMStats/DataStructs/DataCache.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/WMStats/Service → reqmon-2.3.8/src/python/WMCore/WMStats/DataStructs}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMStats/Service/ActiveRequestJobInfo.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMStats/Service/MetaDataInfo.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMStats/Service/RequestInfo.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMStats/Service/RestApiHub.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/WMStats/T0/CherryPyThreads → reqmon-2.3.8/src/python/WMCore/WMStats/Service}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMStats/T0/CherryPyThreads/T0DataCacheUpdate.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/WMStats/T0/Service → reqmon-2.3.8/src/python/WMCore/WMStats/T0/CherryPyThreads}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMStats/T0/Service/T0RestApiHub.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/WMStats/T0 → reqmon-2.3.8/src/python/WMCore/WMStats/T0/Service}/__init__.py +0 -0
- {reqmon-2.3.7.4/src/python/WMCore/WMStats/WebGui → reqmon-2.3.8/src/python/WMCore/WMStats/T0}/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMStats/WebGui/FrontPage.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/WMStats/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Wrappers/JsonWrapper/JSONThunker.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Wrappers/JsonWrapper/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/WMCore/Wrappers/__init__.py +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/reqmon.egg-info/dependency_links.txt +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/reqmon.egg-info/requires.txt +0 -0
- {reqmon-2.3.7.4 → reqmon-2.3.8}/src/python/reqmon.egg-info/top_level.txt +0 -0
|
@@ -202,7 +202,7 @@ def getCondorJobs():
|
|
|
202
202
|
"""
|
|
203
203
|
jobDict = {}
|
|
204
204
|
schedd = condor.Schedd()
|
|
205
|
-
jobs = schedd.
|
|
205
|
+
jobs = schedd.query('WMAgent_AgentName == "WMAgent"', ['WMAgent_RequestName', 'JobStatus'])
|
|
206
206
|
for job in jobs:
|
|
207
207
|
jobStatus = job['JobStatus']
|
|
208
208
|
jobDict.setdefault(jobStatus, {})
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
usage()
|
|
4
|
+
{
|
|
5
|
+
echo -e "\nA simple script to be used for patching all Running backends in"
|
|
6
|
+
echo -e "a WMCore central services K8 cluster with a patch based on:"
|
|
7
|
+
echo -e " * A list of upstream PRs (the order of applying them matters) or "
|
|
8
|
+
echo -e " * A patch file provided or"
|
|
9
|
+
echo -e " * A patch created from StdIn"
|
|
10
|
+
echo -e ""
|
|
11
|
+
echo -e "Usage: ./patchCluster.sh [-n] [-z] [-f <patchFile>] [-p <\"SpaceSepListOfPods\">] [-s <serviceName>] 12077 12120 ..."
|
|
12
|
+
echo -e ""
|
|
13
|
+
echo -e " -p - Space separated list of pods to be patched (Mind the quotation marks)"
|
|
14
|
+
echo -e " -s - Service name whose pods to be patched (if found)"
|
|
15
|
+
echo -e " -d - Deployment name whose pods to be patched (if found)"
|
|
16
|
+
echo -e " -z - Only zero the code base to the currently deployed tag for the files changed in the patch - no actual patches will be applied"
|
|
17
|
+
echo -e " -f - Apply the specified patch file. No multiple files supported. If opt is repeated only the last one will be considered."
|
|
18
|
+
echo -e " -n - Do not zero the code base neither from TAG nor from Master branch, just apply the patch"
|
|
19
|
+
echo -e " -o - One go - Apply the patch only through a single attempt starting from the tag deployed at the destination and avoid the second attempt upon syncing to master."
|
|
20
|
+
echo -e ""
|
|
21
|
+
echo -e "NOTE: We do not support patching from file and patching from command line simultaneously"
|
|
22
|
+
echo -e " If both provided at the command line patching from command line takes precedence"
|
|
23
|
+
echo -e ""
|
|
24
|
+
echo -e "Examples: \n"
|
|
25
|
+
echo -e " ./patchCluster.sh -s reqmgr2 11270 12120 \n"
|
|
26
|
+
echo -e " ./patchCluster.sh -p pod/reqmgr2-bcdccd8c6-hsmlj -f /tmp/11270.patch \n"
|
|
27
|
+
echo -e " git diff --no-color | ./patchCluster.sh -s reqmgr2 -n \n"
|
|
28
|
+
echo -e " curl https://patch-diff.githubusercontent.com/raw/dmwm/WMCore/pull/11270.patch | ./patchCluster.sh -s reqmgr2 \n"
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
# Set defaults
|
|
33
|
+
currPods=""
|
|
34
|
+
currService=""
|
|
35
|
+
currDeployment=""
|
|
36
|
+
zeroOnly=false
|
|
37
|
+
zeroCodeBase=true
|
|
38
|
+
oneGo=false
|
|
39
|
+
extPatchFile=""
|
|
40
|
+
while getopts ":f:p:s:d:znh" opt; do
|
|
41
|
+
case ${opt} in
|
|
42
|
+
p)
|
|
43
|
+
currPods=$OPTARG
|
|
44
|
+
;;
|
|
45
|
+
s)
|
|
46
|
+
currService=$OPTARG
|
|
47
|
+
;;
|
|
48
|
+
d)
|
|
49
|
+
currDeployment=$OPTARG
|
|
50
|
+
;;
|
|
51
|
+
f)
|
|
52
|
+
extPatchFile=$OPTARG
|
|
53
|
+
;;
|
|
54
|
+
z)
|
|
55
|
+
zeroOnly=true
|
|
56
|
+
;;
|
|
57
|
+
n)
|
|
58
|
+
zeroCodeBase=false
|
|
59
|
+
;;
|
|
60
|
+
o)
|
|
61
|
+
oneGo=true
|
|
62
|
+
;;
|
|
63
|
+
h)
|
|
64
|
+
usage
|
|
65
|
+
exit 0 ;;
|
|
66
|
+
\? )
|
|
67
|
+
echo -e "\nERROR: Invalid Option: -$OPTARG\n"
|
|
68
|
+
usage
|
|
69
|
+
exit 1 ;;
|
|
70
|
+
: )
|
|
71
|
+
echo -e "\nERROR: Invalid Option: -$OPTARG requires an argument\n"
|
|
72
|
+
usage
|
|
73
|
+
exit 1 ;;
|
|
74
|
+
esac
|
|
75
|
+
done
|
|
76
|
+
|
|
77
|
+
# shift to the last parsed option, so we can consume the patchList with a regular shift
|
|
78
|
+
shift $(expr $OPTIND - 1 )
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
# if fd 0 (stdin) is open and refers to a terminal - then we are running the script directly, without a pipe
|
|
82
|
+
# if fd 0 (stdin) is open but does not refer to the terminal - then we are running the script through a pipe
|
|
83
|
+
if [ -t 0 ] ; then pipe=false; else pipe=true ; fi
|
|
84
|
+
|
|
85
|
+
patchList=$*
|
|
86
|
+
|
|
87
|
+
which kubectl || { echo "ERROR: Missing 'kubectl'. Cannot continue! EXIT!"; exit 1 ;}
|
|
88
|
+
|
|
89
|
+
currCluster=`kubectl config get-clusters |grep -v NAME`
|
|
90
|
+
nameSpace=dmwm
|
|
91
|
+
|
|
92
|
+
echo
|
|
93
|
+
echo
|
|
94
|
+
echo
|
|
95
|
+
echo ========================================================
|
|
96
|
+
echo "INFO: CLUSTER: $currCluster"
|
|
97
|
+
echo --------------------------------------------------------
|
|
98
|
+
|
|
99
|
+
if $zeroOnly; then
|
|
100
|
+
echo "INFO: Only Zeroing the code base No patches will be applied"
|
|
101
|
+
echo "INFO: Source files affected to be taken from patches: $patchList"
|
|
102
|
+
elif $pipe ;then
|
|
103
|
+
echo "INFO: Patching from StdIn"
|
|
104
|
+
elif [[ -n $extPatchFile ]]; then
|
|
105
|
+
echo "INFO: Patching from file: $extPatchFile"
|
|
106
|
+
elif [[ -z $patchList ]] ; then
|
|
107
|
+
echo "ERROR: Neither patchList provided nor patchFile nor patching from StdIn"
|
|
108
|
+
exit
|
|
109
|
+
else
|
|
110
|
+
echo "INFO: Applying patches: $patchList"
|
|
111
|
+
fi
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
# -----------------------------------------------------------
|
|
115
|
+
# Build patchComponent.sh script command to be executed at the pod:
|
|
116
|
+
|
|
117
|
+
# NOTE: We do not support patching from file and patching from command line simultaneously
|
|
118
|
+
# If both provided at the command line patching from command line takes precedence
|
|
119
|
+
|
|
120
|
+
podCmdActions="sudo -v && /data/manage help && which curl && curl https://raw.githubusercontent.com/dmwm/WMCore/master/bin/patchComponent.sh -o /data/patchComponent.sh && chmod 755 /data/patchComponent.sh "
|
|
121
|
+
podCmdOpts=""
|
|
122
|
+
patchFile=""
|
|
123
|
+
$zeroOnly && podCmdOpts="$podCmdOpts -z"
|
|
124
|
+
$oneGo && podCmdOpts="$podCmdOpts -o"
|
|
125
|
+
$zeroCodeBase || podCmdOpts="$podCmdOpts -n"
|
|
126
|
+
|
|
127
|
+
[[ -n $extPatchFile ]] && { patchFile="/tmp/`basename $extPatchFile`"
|
|
128
|
+
podCmdOpts="$podCmdOpts -f $patchFile" ;}
|
|
129
|
+
|
|
130
|
+
# NOTE: We are about to create the pipeTmp_****.patch file from stdIn here
|
|
131
|
+
# And we are about to call `patchComponent.sh` through -f option, but we must
|
|
132
|
+
# explicitly break the redirection from the pipe command, because otherwise
|
|
133
|
+
# it will be kept through out the call to `patchComponent.sh` and will cause
|
|
134
|
+
# the $pipe flag to take precedence over the -f flag inside `patchComponent.sh`
|
|
135
|
+
# Then the so sent file will be ignored. What we need to do here is, once we create
|
|
136
|
+
# the temporary patch file from stdin (currently redirected through the pipe)
|
|
137
|
+
# to open again fd 0 (stdin) and redirect it to a tty terminal.
|
|
138
|
+
$pipe && { patchFile="/tmp/pipeTmp_$(id -u).patch"
|
|
139
|
+
extPatchFile=$patchFile
|
|
140
|
+
podCmdOpts="$podCmdOpts -f $patchFile"
|
|
141
|
+
echo "INFO: Creating a temporary patchFile from stdin at: $patchFile"
|
|
142
|
+
cat <&0 > $patchFile
|
|
143
|
+
exec 0<>/dev/tty
|
|
144
|
+
# The flag bellow is just for debugging purposes, never used after the printout
|
|
145
|
+
[[ -t 0 ]] && newPipeFlag=false || newPipeFlag=true
|
|
146
|
+
echo
|
|
147
|
+
echo "DEBUG: newPipeFlag=$newPipeFlag"
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
podCmd="$podCmdActions && sudo /data/patchComponent.sh $podCmdOpts $patchList "
|
|
151
|
+
restartCmd="/data/manage restart && sleep 1 && /data/manage status"
|
|
152
|
+
|
|
153
|
+
echo
|
|
154
|
+
echo "DEBUG: podCmd: $podCmd"
|
|
155
|
+
echo
|
|
156
|
+
# -----------------------------------------------------------
|
|
157
|
+
|
|
158
|
+
echo --------------------------------------------------------
|
|
159
|
+
# First try to find any pod from the service name provided and then extend the list in currPods:
|
|
160
|
+
if [[ -n $currService ]]; then
|
|
161
|
+
servicePods=`kubectl -n $nameSpace get ep $currService -o=jsonpath='{.subsets[*].addresses[*].ip}' | tr ' ' '\n' | xargs -I % kubectl -n $nameSpace get pods -o=name --field-selector=status.podIP=%`
|
|
162
|
+
[[ $? -eq 0 ]] || { echo "WARNING: could not find service: $currService at cluster: $currCluster"; exit ;}
|
|
163
|
+
|
|
164
|
+
# We need to trim the `pod/` prefix from every pod's name produced with the above command
|
|
165
|
+
if [[ -n $servicePods ]] ; then
|
|
166
|
+
for pod in $servicePods; do
|
|
167
|
+
currPods="$currPods ${pod#pod/}"
|
|
168
|
+
done
|
|
169
|
+
echo "INFO: Found the following pods for SERVICE: $currService: "
|
|
170
|
+
echo "$servicePods "
|
|
171
|
+
else
|
|
172
|
+
echo "WARNING: No pods found for SERVICE: $currService"
|
|
173
|
+
exit
|
|
174
|
+
fi
|
|
175
|
+
fi
|
|
176
|
+
|
|
177
|
+
# Second try to find any pod from the deployment name provided and then extend the list in currPods:
|
|
178
|
+
if [[ -n $currDeployment ]]; then
|
|
179
|
+
deploymentPods=`kubectl get --raw "/apis/apps/v1/namespaces/dmwm/deployments/$currDeployment/scale"|jq -r .status.selector | xargs -I % kubectl -n $nameSpace get pods -o=name --selector=%`
|
|
180
|
+
[[ $? -eq 0 ]] || { echo "WARNING: could not find deployment: $currDeployment at cluster: $currCluster"; exit ;}
|
|
181
|
+
|
|
182
|
+
# We need to trim the `pod/` prefix from every pod's name produced with the above command
|
|
183
|
+
if [[ -n $deploymentPods ]] ; then
|
|
184
|
+
for pod in $deploymentPods; do
|
|
185
|
+
currPods="$currPods ${pod#pod/}"
|
|
186
|
+
done
|
|
187
|
+
echo "INFO: Found the following pods for DEPLOYMENT: $currDeployment: "
|
|
188
|
+
echo "$deploymentPods "
|
|
189
|
+
else
|
|
190
|
+
echo "WARNING: No pods found for DEPLOYMENT: $currDeployment"
|
|
191
|
+
exit
|
|
192
|
+
fi
|
|
193
|
+
fi
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
if [[ -n $currPods ]] ; then
|
|
198
|
+
echo ========================================================
|
|
199
|
+
echo WARNING: We are about to patch backend pods: $currPods
|
|
200
|
+
echo WARNING: at k8 CLUSTER: $currCluster !!!!
|
|
201
|
+
else
|
|
202
|
+
echo ========================================================
|
|
203
|
+
echo WARNING: We are about to patch ANY running backend pod
|
|
204
|
+
echo WARNING: at k8 CLUSTER: $currCluster !!!!
|
|
205
|
+
fi
|
|
206
|
+
|
|
207
|
+
echo WARNING: Are you sure you want to continue?
|
|
208
|
+
echo -n "[y/n](Default n): "
|
|
209
|
+
read x && [[ $x =~ (y|yes|Yes|YES) ]] || { echo WARNING: Exit on user request!; exit 101 ;}
|
|
210
|
+
echo ========================================================
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
if [[ -n $currPods ]] ; then
|
|
214
|
+
runningPods=$currPods
|
|
215
|
+
else
|
|
216
|
+
# # check if any service name was actually provided at the command line and if not only then search for all running pods for the whole cluster:
|
|
217
|
+
# if [[ -n $currService ]] ; then
|
|
218
|
+
# echo "WARNING: Requested to patch: $currService at: $currCluster but NO pods were found."
|
|
219
|
+
# echo "WARNING: Will not patch the whole cluster. Nothing to do here, giving up now."
|
|
220
|
+
# exit
|
|
221
|
+
# else
|
|
222
|
+
runningPods=`kubectl get pods --no-headers -o custom-columns=":metadata.name" -n $nameSpace --field-selector=status.phase=Running`
|
|
223
|
+
# fi
|
|
224
|
+
fi
|
|
225
|
+
|
|
226
|
+
for pod in $runningPods
|
|
227
|
+
do
|
|
228
|
+
echo
|
|
229
|
+
echo --------------------------------------------------------
|
|
230
|
+
echo INFO: $pod:
|
|
231
|
+
|
|
232
|
+
if $pipe || [[ -n $extPatchFile ]]; then
|
|
233
|
+
echo INFO: Copying any external patchFiles provided: $extPatchFile
|
|
234
|
+
echo INFO: Executing: kubectl -n $nameSpace cp $extPatchFile $pod:$patchFile
|
|
235
|
+
kubectl -n $nameSpace cp $extPatchFile $pod:$patchFile || {
|
|
236
|
+
echo ERROR: While copying patch files to pod:$pod
|
|
237
|
+
echo ERROR: Skipping it!
|
|
238
|
+
continue
|
|
239
|
+
}
|
|
240
|
+
fi
|
|
241
|
+
echo
|
|
242
|
+
echo --------------------------------------------------------
|
|
243
|
+
echo INFO: Patching the services at pod: $pod:
|
|
244
|
+
echo INFO: Executing: kubectl exec -it $pod -n $nameSpace -- /bin/bash -c \"$podCmd\"
|
|
245
|
+
kubectl exec -it $pod -n $nameSpace -- /bin/bash -c "$podCmd" || {
|
|
246
|
+
echo ERROR: While patching the pod:$pod
|
|
247
|
+
echo ERROR: Skipping it!
|
|
248
|
+
continue
|
|
249
|
+
}
|
|
250
|
+
echo
|
|
251
|
+
echo --------------------------------------------------------
|
|
252
|
+
echo INFO: Restarting the services at pod: $pod:
|
|
253
|
+
echo INFO: Executing: kubectl exec $pod -n $nameSpace -- /bin/bash -c \"$restartCmd\"
|
|
254
|
+
kubectl exec $pod -n $nameSpace -- /bin/bash -c "$restartCmd" || {
|
|
255
|
+
echo ERROR: While restarting the service at pod:$pod
|
|
256
|
+
echo ERROR: Skipping it!
|
|
257
|
+
continue
|
|
258
|
+
}
|
|
259
|
+
done
|
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
usage()
|
|
4
|
+
{
|
|
5
|
+
echo -e "\nA simple script to facilitate component patching"
|
|
6
|
+
echo -e "and to decrease the development && testing turnaround time."
|
|
7
|
+
echo -e " * A list of upstream PRs (the order of applying them matters) or "
|
|
8
|
+
echo -e " * A patch file provided or"
|
|
9
|
+
echo -e " * A patch created from StdIn"
|
|
10
|
+
echo -e ""
|
|
11
|
+
echo -e "Usage: ./patchComponent [-n] [-z] [-f <patchFile>] <patchNum> <patchNum> ..."
|
|
12
|
+
echo -e " -z - Only zero the code base to the currently deployed tag for the files changed in the patch - no actual patches will be applied"
|
|
13
|
+
echo -e " -f - Apply the specified patch file. No multiple files supported. If opt is repeated only the last one will be considered."
|
|
14
|
+
echo -e " -n - Do not zero the code base neither from TAG nor from Master branch, just apply the patch"
|
|
15
|
+
echo -e " -o - One go - Apply the patch only through a single attempt starting from the tag deployed at the destination and avoid the second attempt upon syncing to master."
|
|
16
|
+
echo -e ""
|
|
17
|
+
echo -e "NOTE: We do not support patching from file and patching from command line simultaneously"
|
|
18
|
+
echo -e " If both provided at the command line patching from command line takes precedence"
|
|
19
|
+
echo -e ""
|
|
20
|
+
echo -e "Examples: \n"
|
|
21
|
+
echo -e " sudo ./patchComponent.sh 11270 12120"
|
|
22
|
+
echo -e " sudo ./patchComponent.sh -f /tmp/11270.patch"
|
|
23
|
+
echo -e " git diff --no-color | sudo ./patchComponent.sh"
|
|
24
|
+
echo -e " curl https://patch-diff.githubusercontent.com/raw/dmwm/WMCore/pull/11270.patch | sudo ./patchComponent.sh \n"
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# Add default value for zeroOnly option
|
|
30
|
+
zeroOnly=false
|
|
31
|
+
zeroCodeBase=true
|
|
32
|
+
oneGo=false
|
|
33
|
+
extPatchFile=""
|
|
34
|
+
while getopts ":f:znoh" opt; do
|
|
35
|
+
case ${opt} in
|
|
36
|
+
f)
|
|
37
|
+
extPatchFile=$OPTARG
|
|
38
|
+
;;
|
|
39
|
+
z)
|
|
40
|
+
zeroOnly=true
|
|
41
|
+
;;
|
|
42
|
+
n)
|
|
43
|
+
zeroCodeBase=false
|
|
44
|
+
;;
|
|
45
|
+
o)
|
|
46
|
+
oneGo=true
|
|
47
|
+
;;
|
|
48
|
+
h)
|
|
49
|
+
usage
|
|
50
|
+
exit 0 ;;
|
|
51
|
+
\? )
|
|
52
|
+
echo -e "\nERROR: Invalid Option: -$OPTARG\n"
|
|
53
|
+
usage
|
|
54
|
+
exit 1 ;;
|
|
55
|
+
: )
|
|
56
|
+
echo -e "\nERROR: Invalid Option: -$OPTARG requires an argument\n"
|
|
57
|
+
usage
|
|
58
|
+
exit 1 ;;
|
|
59
|
+
esac
|
|
60
|
+
done
|
|
61
|
+
# shift to the last parsed option, so we can consume the patchNum with a regular shift
|
|
62
|
+
shift $(expr $OPTIND - 1 )
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
# if fd 0 (stdin) is open and refers to a terminal - then we are running the script directly, without a pipe
|
|
66
|
+
# if fd 0 (stdin) is open but does not refer to the terminal - then we are running the script through a pipe
|
|
67
|
+
if [ -t 0 ] ; then pipe=false; else pipe=true ; fi
|
|
68
|
+
|
|
69
|
+
patchList=$*
|
|
70
|
+
# [[ -z $patchList ]] && patchList="temp"
|
|
71
|
+
|
|
72
|
+
currTag=$(python -c "from WMCore import __version__ as WMCoreVersion; print(WMCoreVersion)")
|
|
73
|
+
|
|
74
|
+
echo
|
|
75
|
+
echo
|
|
76
|
+
echo
|
|
77
|
+
echo ========================================================
|
|
78
|
+
echo "INFO: Current WMCoreTag: $currTag"
|
|
79
|
+
|
|
80
|
+
# Find all possible locations for the component source
|
|
81
|
+
# NOTE: We always consider PYTHONPATH first
|
|
82
|
+
pythonLibPaths=$(echo $PYTHONPATH |sed -e "s/\:/ /g")
|
|
83
|
+
pythonLibPaths="$pythonLibPaths $(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")"
|
|
84
|
+
|
|
85
|
+
for path in $pythonLibPaths
|
|
86
|
+
do
|
|
87
|
+
[[ -d $path/WMCore ]] && { pythonLibPath=$path; echo "INFO: Source code found at: $path"; break ;}
|
|
88
|
+
done
|
|
89
|
+
|
|
90
|
+
[[ -z $pythonLibPath ]] && { echo "ERROR: Could not find WMCore source to patch"; exit 1 ;}
|
|
91
|
+
echo "INFO: Current PythonLibPath: $pythonLibPath"
|
|
92
|
+
echo --------------------------------------------------------
|
|
93
|
+
echo
|
|
94
|
+
|
|
95
|
+
# Set patch command parameters
|
|
96
|
+
stripLevel=3
|
|
97
|
+
patchCmd="patch -t --verbose -b --version-control=numbered -d $pythonLibPath -p$stripLevel"
|
|
98
|
+
|
|
99
|
+
# Define Auxiliary functions
|
|
100
|
+
_createTestFilesDst() {
|
|
101
|
+
# A simple function to create test files destination for not breaking the patches
|
|
102
|
+
# because of a missing destination:
|
|
103
|
+
# :param $1: The source branch to be used for checking the files: could be TAG or Master
|
|
104
|
+
# :param $2-*: The list of files to be checked out
|
|
105
|
+
local srcBranch=$1
|
|
106
|
+
shift
|
|
107
|
+
local testFileList=$*
|
|
108
|
+
for file in $testFileList
|
|
109
|
+
do
|
|
110
|
+
# file=${file#a\/test\/python\/}
|
|
111
|
+
fileName=`basename $file`
|
|
112
|
+
fileDir=`dirname $file`
|
|
113
|
+
# Create the file path if missing
|
|
114
|
+
mkdir -p $pythonLibPath/$fileDir
|
|
115
|
+
echo INFO: orig: https://raw.githubusercontent.com/dmwm/WMCore/$srcBranch/test/python/$file
|
|
116
|
+
echo INFO: dest: $pythonLibPath/$file
|
|
117
|
+
curl -f https://raw.githubusercontent.com/dmwm/WMCore/$srcBranch/test/python/$file -o $pythonLibPath/$file || {
|
|
118
|
+
echo INFO: file: $file missing at the origin.
|
|
119
|
+
echo INFO: Seems to be a new file for the curren patch.
|
|
120
|
+
echo INFO: Removing it from the destination as well!
|
|
121
|
+
rm -f $pythonLibPath/$file
|
|
122
|
+
}
|
|
123
|
+
done
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
_zeroCodeBase() {
|
|
127
|
+
# A simple function to zero the code base for a set of files starting from
|
|
128
|
+
# a given tag or branch at the origin
|
|
129
|
+
# :param $1: The source branch to be used for checking the files: could be TAG or Master
|
|
130
|
+
# :param $2-*: The list of files to be checked out
|
|
131
|
+
local srcBranch=$1
|
|
132
|
+
shift
|
|
133
|
+
local srcFileList=$*
|
|
134
|
+
for file in $srcFileList
|
|
135
|
+
do
|
|
136
|
+
# file=${file#a\/src\/python\/}
|
|
137
|
+
fileName=`basename $file`
|
|
138
|
+
fileDir=`dirname $file`
|
|
139
|
+
# Create the file path if missing
|
|
140
|
+
mkdir -p $pythonLibPath/$fileDir
|
|
141
|
+
echo INFO: orig: https://raw.githubusercontent.com/dmwm/WMCore/$srcBranch/src/python/$file
|
|
142
|
+
echo INFO: dest: $pythonLibPath/$file
|
|
143
|
+
curl -f https://raw.githubusercontent.com/dmwm/WMCore/$srcBranch/src/python/$file -o $pythonLibPath/$file || {
|
|
144
|
+
echo INFO: file: $file missing at the origin.
|
|
145
|
+
echo INFO: Seems to be a new file for the curren patch.
|
|
146
|
+
echo INFO: Removing it from the destination as well!
|
|
147
|
+
rm -f $pythonLibPath/$file
|
|
148
|
+
}
|
|
149
|
+
done
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
# DONE: ....HERE TO START ITERATING THROUGH THE PATCH LIST
|
|
154
|
+
|
|
155
|
+
# Create the full list of patch files to be applied - keeping the order
|
|
156
|
+
# from the original patch list as provided at the command line
|
|
157
|
+
patchFileList=""
|
|
158
|
+
_createPatchFiles(){
|
|
159
|
+
local patchFile
|
|
160
|
+
|
|
161
|
+
# Check if we are running from a pipe
|
|
162
|
+
$pipe && {
|
|
163
|
+
if $zeroOnly ;then
|
|
164
|
+
echo "INFO: Zeroing WMCore code base from StdIn"
|
|
165
|
+
else
|
|
166
|
+
echo "INFO: Patching WMCore code from StdIn"
|
|
167
|
+
fi
|
|
168
|
+
patchFile="/tmp/pipeTmp_$(id -u).patch"
|
|
169
|
+
patchFileList=$patchFile
|
|
170
|
+
echo "INFO: Creating a temporary patchFile from stdin at: $patchFile"
|
|
171
|
+
cat <&0 > $patchFile
|
|
172
|
+
return
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
# Check if we were sent a file to patch from
|
|
176
|
+
[[ -n $extPatchFile ]] && {
|
|
177
|
+
if $zeroOnly ;then
|
|
178
|
+
echo "INFO: Zeroing WMCore code base with file: $extPatchFile"
|
|
179
|
+
else
|
|
180
|
+
echo "INFO: Patching WMCore code with file: $extPatchFile"
|
|
181
|
+
fi
|
|
182
|
+
patchFile=$extPatchFile
|
|
183
|
+
patchFileList=$patchFile
|
|
184
|
+
echo "INFO: Using command line provided patch file: $patchFile"
|
|
185
|
+
return
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
# Finally, if none of the above, build the list of patch files to be applied from the patchNums provided at the command line
|
|
189
|
+
if $zeroOnly ; then
|
|
190
|
+
echo "INFO: Zeroing WMCore code base with PRs: $patchList"
|
|
191
|
+
else
|
|
192
|
+
echo "INFO: Patching WMCore code with PRs: $patchList"
|
|
193
|
+
fi
|
|
194
|
+
for patchNum in $patchList
|
|
195
|
+
do
|
|
196
|
+
patchFile=/tmp/$patchNum.patch
|
|
197
|
+
patchFileList="$patchFileList $patchFile"
|
|
198
|
+
echo "INFO: Downloading a temporary patchFile at: $patchFile"
|
|
199
|
+
curl https://patch-diff.githubusercontent.com/raw/dmwm/WMCore/pull/$patchNum.patch -o $patchFile
|
|
200
|
+
done
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
_warnFilelist(){
|
|
204
|
+
echo WARNING: Please consider checking the follwoing list of files for eventual code conflicts:
|
|
205
|
+
for file in $srcFileList $testFileList
|
|
206
|
+
do
|
|
207
|
+
echo WARNING: $pythonLibPath/$file
|
|
208
|
+
done
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
_createPatchFiles
|
|
212
|
+
|
|
213
|
+
echo "DEBUG: patchFileList: $patchFileList"
|
|
214
|
+
|
|
215
|
+
# Build full lists of files altered by the given set of patch files to be applied
|
|
216
|
+
srcFileList=""
|
|
217
|
+
testFileList=""
|
|
218
|
+
for patchFile in $patchFileList
|
|
219
|
+
do
|
|
220
|
+
# Parse a list of files changed only by the current patch
|
|
221
|
+
srcFileListTemp=`grep diff $patchFile |grep "a/src/python" |awk '{print $3}' |sort |uniq`
|
|
222
|
+
testFileListTemp=`grep diff $patchFile |grep "a/test/python" |awk '{print $3}' |sort |uniq`
|
|
223
|
+
|
|
224
|
+
# Reduce paths for both src and test file lists to the path depth known to
|
|
225
|
+
# the WMCore modules/packages and add them to the global scope file lists
|
|
226
|
+
for file in $srcFileListTemp
|
|
227
|
+
do
|
|
228
|
+
file=${file#a\/src\/python\/} && srcFileList="$srcFileList $file"
|
|
229
|
+
done
|
|
230
|
+
|
|
231
|
+
for file in $testFileListTemp
|
|
232
|
+
do
|
|
233
|
+
file=${file#a\/test\/python\/} && testFileList="$testFileList $file"
|
|
234
|
+
done
|
|
235
|
+
done
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
$zeroCodeBase && {
|
|
239
|
+
echo
|
|
240
|
+
echo --------------------------------------------------------
|
|
241
|
+
echo "INFO: Refreshing all files which are to be patched from the origin and TAG: $currTag"
|
|
242
|
+
echo
|
|
243
|
+
|
|
244
|
+
# First create destination for test files from currTag if missing
|
|
245
|
+
_createTestFilesDst $currTag $testFileList
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
# Then zero code base for source files from currTag
|
|
249
|
+
_zeroCodeBase $currTag $srcFileList
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
# exit if the user has requested to only zero the code base
|
|
253
|
+
$zeroOnly && { _warnFilelist; exit ;}
|
|
254
|
+
|
|
255
|
+
err=0
|
|
256
|
+
echo
|
|
257
|
+
echo
|
|
258
|
+
echo --------------------------------------------------------
|
|
259
|
+
echo "INFO: Patching all files starting from the $($zeroCodeBase && echo original version of TAG: $currTag || echo current version of files)"
|
|
260
|
+
for patchFile in $patchFileList
|
|
261
|
+
do
|
|
262
|
+
echo
|
|
263
|
+
echo
|
|
264
|
+
echo --------------------------------------------------------
|
|
265
|
+
echo "INFO: ----------------- Currently applying patch: $patchNum -----------------"
|
|
266
|
+
echo "INFO: cat $patchFile | $patchCmd"
|
|
267
|
+
cat $patchFile | $patchCmd
|
|
268
|
+
let err+=$?
|
|
269
|
+
done
|
|
270
|
+
|
|
271
|
+
echo
|
|
272
|
+
echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
273
|
+
echo
|
|
274
|
+
if [[ $err -eq 0 ]]; then
|
|
275
|
+
echo INFO: First patch attempt exit status: $err
|
|
276
|
+
echo INFO: ALL GOOD
|
|
277
|
+
echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
278
|
+
exit
|
|
279
|
+
else
|
|
280
|
+
echo WARNING: First patch attempt exit status: $err
|
|
281
|
+
echo
|
|
282
|
+
echo
|
|
283
|
+
echo WARNING: There were errors while patching from TAG: $currTag
|
|
284
|
+
echo WARNING: Most probably some of the files from the current patch were having changes
|
|
285
|
+
echo WARNING: between the current PR and the tag deployed at the host/container.
|
|
286
|
+
echo
|
|
287
|
+
echo
|
|
288
|
+
|
|
289
|
+
# exit at this stage if the user has requested to patch without zeroing the code base
|
|
290
|
+
$zeroCodeBase || { _warnFilelist ; exit 1 ;}
|
|
291
|
+
|
|
292
|
+
# exit at this stage if the user has requested to do the patch only in one go
|
|
293
|
+
# without a second attempt from master. Restore files to their version at TAG
|
|
294
|
+
$oneGo && {
|
|
295
|
+
echo WARNING: Restoring all files to their original version at TAG: $currTag
|
|
296
|
+
echo
|
|
297
|
+
echo
|
|
298
|
+
_createTestFilesDst $currTag $testFileList
|
|
299
|
+
_zeroCodeBase $currTag $srcFileList
|
|
300
|
+
echo
|
|
301
|
+
echo
|
|
302
|
+
echo WARNING: All files have been rolled back to their original version at TAG: $currTag
|
|
303
|
+
_warnFilelist
|
|
304
|
+
exit 1
|
|
305
|
+
}
|
|
306
|
+
echo WARNING: TRYING TO START FROM ORIGIN/MASTER BRANCH INSTEAD:
|
|
307
|
+
echo
|
|
308
|
+
echo
|
|
309
|
+
fi
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
# If we are here it means something went wrong while patching some of the files.
|
|
313
|
+
# Most probably some of the files are having changes between the current PR and the tag deployed.
|
|
314
|
+
# What we can do in such cases is to try to fetch and zero the code base for those files
|
|
315
|
+
# to be patched from master and hope there are no conflicts in the PR.
|
|
316
|
+
|
|
317
|
+
echo
|
|
318
|
+
echo --------------------------------------------------------
|
|
319
|
+
echo "WARNING: Refreshing all files which are to be patched from origin/master branch:"
|
|
320
|
+
echo
|
|
321
|
+
|
|
322
|
+
# First create destination for test files from master if missing
|
|
323
|
+
_createTestFilesDst "master" $testFileList
|
|
324
|
+
|
|
325
|
+
# Then zero code base for source files from master
|
|
326
|
+
_zeroCodeBase "master" $srcFileList
|
|
327
|
+
|
|
328
|
+
err=0
|
|
329
|
+
echo
|
|
330
|
+
echo
|
|
331
|
+
echo --------------------------------------------------------
|
|
332
|
+
echo "WARNING: Patching all files starting from origin/master branch"
|
|
333
|
+
for patchFile in $patchFileList
|
|
334
|
+
do
|
|
335
|
+
echo
|
|
336
|
+
echo
|
|
337
|
+
echo "WARNING: --------------- Currently applying patch: $patchNum ---------------"
|
|
338
|
+
echo "WARNING: cat $patchFile | $patchCmd"
|
|
339
|
+
cat $patchFile | $patchCmd
|
|
340
|
+
let err+=$?
|
|
341
|
+
done
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
echo
|
|
345
|
+
echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
346
|
+
echo WARNING: Second patch attempt exit status: $err
|
|
347
|
+
echo
|
|
348
|
+
echo
|
|
349
|
+
|
|
350
|
+
[[ $err -eq 0 ]] || {
|
|
351
|
+
|
|
352
|
+
_createTestFilesDst $currTag $testFileList
|
|
353
|
+
_zeroCodeBase $currTag $srcFileList
|
|
354
|
+
|
|
355
|
+
echo
|
|
356
|
+
echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
357
|
+
echo WARNING: There were errors while patching from master branch as well
|
|
358
|
+
echo WARNING: All files have been rolled back to their original version at TAG: $currTag
|
|
359
|
+
echo
|
|
360
|
+
echo
|
|
361
|
+
}
|
|
362
|
+
echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
363
|
+
|
|
364
|
+
_warnFilelist
|
|
365
|
+
|
|
366
|
+
exit $err
|
|
@@ -293,6 +293,8 @@ def modifyConfiguration(config, **args):
|
|
|
293
293
|
config.WorkflowUpdater.dbsUrl = args.get("dbs3_reader_url", None)
|
|
294
294
|
config.WorkflowUpdater.rucioUrl = args["rucio_host"]
|
|
295
295
|
config.WorkflowUpdater.rucioAuthUrl = args["rucio_auth"]
|
|
296
|
+
if args.get("wmstats_url", None):
|
|
297
|
+
config.WorkflowUpdater.wmstatsUrl = args["wmstats_url"].replace("couchdb/wmstats", "wmstatsserver")
|
|
296
298
|
if args.get("mspileup_url", None):
|
|
297
299
|
config.WorkflowUpdater.msPileupUrl = args["mspileup_url"]
|
|
298
300
|
|