Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Python3 problems with #28920 #29219

Merged
merged 1 commit into from Mar 17, 2020
Merged

Conversation

silviodonato
Copy link
Contributor

As discussed during the Core software meeting, we can trivially fix the failures in PY3 IB by forcing int(self._options.nConcurrentLumis).
The error affecting almost all workflows in CMSSW_11_1_PY3_X_2020-03-16-2300 was

  File "/cvmfs/cms-ib.cern.ch/nweek-02620/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_1_PY3_X_2020-03-16-2300/bin/slc7_amd64_gcc820/cmsDriver.py", line 56, in <module>
    run()
  File "/cvmfs/cms-ib.cern.ch/nweek-02620/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_1_PY3_X_2020-03-16-2300/bin/slc7_amd64_gcc820/cmsDriver.py", line 28, in run
    configBuilder.prepare()
  File "/cvmfs/cms-ib.cern.ch/nweek-02620/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_1_PY3_X_2020-03-16-2300/python/Configuration/Applications/ConfigBuilder.py", line 2235, in prepare
    if self._options.nConcurrentLumis > 1:
TypeError: '>' not supported between instances of 'str' and 'int'```
This bug was related to https://github.com/cms-sw/cmssw/pull/28920.

@silviodonato
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-29219/14237

  • This PR adds an extra 36KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 17, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/5229/console Started: 2020/03/17 19:56

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @silviodonato (Silvio Donato) for master.

It involves the following packages:

Configuration/Applications

@cmsbuild, @silviodonato, @franzoni, @fabiocos, @davidlange6 can you please review it and eventually sign? Thanks.
@makortel, @Martin-Grunewald this is something you requested to watch as well.
@davidlange6, @silviodonato, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

+1
Tested at: c9498ec
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-77f869/5229/summary.html
CMSSW: CMSSW_11_1_X_2020-03-17-1100
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@davidlange6
Copy link
Contributor

davidlange6 commented Mar 17, 2020 via email

@silviodonato
Copy link
Contributor Author

merge
That line was added with #28920.
Currently if self._options.nConcurrentLumis > 1: is always true, this means we are always disabling assertLegacySafe. On contrary, before having integrated #28920 assertLegacySafe was never disabled. This fix disables assertLegacySafe only if nConcurrentLumis > 2, ie. avoid the crash of wf 1361.181 (nConcurrentLumis > 2).

cc: @schneiml

@cmsbuild cmsbuild merged commit 87c17b3 into cms-sw:master Mar 17, 2020
@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-77f869/5229/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2680593
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2680272
  • DQMHistoTests: Total skipped: 319
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 147 log files, 16 edm output root files, 34 DQM output files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants