Remove totalUnits usage from (DBS)DataDiscovery. Should put it in WMCore after lumi-mask is applied.
In Analysis tasks, pass the total units to the splitting algorithm.
1) Inject to ASO for all output files (if a file is not in FJR, add it). 2) In PostJob, don't commit to ASO if neither transfer nor publication are needed. 3) Prioritize cmsRun exit code over any other exit codes in cmscp. 4) Revisit exit codes in cmscp.
Merge pull request #4386 from AndresTanasijczuk/transfer_all_outfiles

Fix so to transfer all kind of output files. Revisit exit codes.
Merge pull request #4374 from AndresTanasijczuk/totalunits

Don't use totalUnits in DataDiscovery; plan to use it in WMCore
small fixes, don`t encode failures twice. Validation script fixes

Signed-off-by: Justas Balcas <juztas@gmail.com>
Merge pull request #4387 from juztas/small_fixes

small fixes, don`t encode failures twice. Validation script fixes
Adjust printout in DBSDataDiscovery
Report an error if usedbs is used in the report and no outputdataset is found
Use lfnParts for the outfile reg exp
Final additions to the monitor
Do not assume that the job ad goes into $PWD/.job.ad.  Instead,
use $_CONDOR_JOB_AD if set by HTCondor (defaulting to $PWD/.job.ad).

There should be no user-visible change; however, in 8.3.2, HTCondor
will populate this file and remove our need to do condor_q.
Fix typo in cmscp
Merge pull request #4402 from AndresTanasijczuk/fixtypo

Fix typo in cmscp. Fixes #4401
Make uisoure optional, add cleanEnvironment option. Fixes #4398
Merge pull request #4403 from mmascher/SLC6_fixes

Make uisoure optional, add cleanEnvironment option. Fixes #4398
Add missing monitor files
Improve algorithm to retrieve outputs and logs from temporary or permanent storage.
Moving around functions in CMSRunAnalysis.py to have a decent structure
Report access type to popularity service. Fixes #4399