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

Apply code checks to the HeterogeneousCore packages #29888

Merged

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented May 18, 2020

Apply clang-tidy automated code changes.
Apply clang-format automated code formatting.

Enabled checks:
    boost-use-to-string
    misc-uniqueptr-reset-release
    modernize-deprecated-headers
    modernize-make-shared
    modernize-use-bool-literals
    modernize-use-equals-delete
    modernize-use-nullptr
    modernize-use-override
    performance-unnecessary-copy-initialization
    readability-container-size-empty
    readability-redundant-string-cstr
    readability-static-definition-in-anonymous-namespace
    readability-uniqueptr-delete-release
@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@fwyzard
Copy link
Contributor Author

fwyzard commented May 18, 2020

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-29888/15461

  • This PR adds an extra 12KB to repository

  • Found files with invalid states:

    • Traceback (most recent call last):
      • File "/data/cmsbld/jenkins/workspace/run-pr-code-checks/cms-bot/process-pull-request", line 35, in
        • pr = repo.get_pull(prId)
      • File "/cvmfs/cms-ib.cern.ch/jenkins-env/python/PyGithub/github/Repository.py", line 1839, in get_pull
        • self.url + "/pulls/" + str(number)
      • File "/cvmfs/cms-ib.cern.ch/jenkins-env/python/PyGithub/github/Requester.py", line 172, in requestJsonAndCheck
        • return self.__check(*self.requestJson(verb, url, parameters, headers, input, cnx))
      • File "/cvmfs/cms-ib.cern.ch/jenkins-env/python/PyGithub/github/Requester.py", line 213, in requestJson
        • return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
      • File "/cvmfs/cms-ib.cern.ch/jenkins-env/python/PyGithub/github/Requester.py", line 252, in __requestEncode
        • status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
      • File "/cvmfs/cms-ib.cern.ch/jenkins-env/python/PyGithub/github/Requester.py", line 279, in __requestRaw
        • response = cnx.getresponse()
      • File "/cvmfs/cms-ib.cern.ch/week1/slc7_amd64_gcc820/external/python/2.7.15-bcolbf2/lib/python2.7/httplib.py", line 1121, in getresponse
        • response.begin()
      • File "/cvmfs/cms-ib.cern.ch/week1/slc7_amd64_gcc820/external/python/2.7.15-bcolbf2/lib/python2.7/httplib.py", line 438, in begin
        • version, status, reason = self._read_status()
      • File "/cvmfs/cms-ib.cern.ch/week1/slc7_amd64_gcc820/external/python/2.7.15-bcolbf2/lib/python2.7/httplib.py", line 394, in _read_status
        • line = self.fp.readline(_MAXLINE + 1)
      • File "/cvmfs/cms-ib.cern.ch/week1/slc7_amd64_gcc820/external/python/2.7.15-bcolbf2/lib/python2.7/socket.py", line 480, in readline
        • data = self._sock.recv(self._rbufsize)
      • File "/cvmfs/cms-ib.cern.ch/week1/slc7_amd64_gcc820/external/python/2.7.15-bcolbf2/lib/python2.7/ssl.py", line 779, in recv
        • return self.read(buflen)
      • File "/cvmfs/cms-ib.cern.ch/week1/slc7_amd64_gcc820/external/python/2.7.15-bcolbf2/lib/python2.7/ssl.py", line 659, in read
        • v = self._sslobj.read(len)
    • ssl.SSLError: ('The read operation timed out',)
  • There are other open Pull requests which might conflict with changes you have proposed:

@cmsbuild
Copy link
Contributor

cmsbuild commented May 18, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/6378/console Started: 2020/05/18 13:38

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @fwyzard (Andrea Bocci) for master.

It involves the following packages:

HeterogeneousCore/SonicCore

@makortel, @cmsbuild, @fwyzard can you please review it and eventually sign? Thanks.
@makortel, @rovere, @kpedro88 this is something you requested to watch as well.
@silviodonato, @dpiparo you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

+1
Tested at: d805410
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3f9a8d/6378/summary.html
CMSSW: CMSSW_11_1_X_2020-05-17-2300
SCRAM_ARCH: slc7_amd64_gcc820

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3f9a8d/6378/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3f9a8d/6378/git-merge-result

@cmsbuild
Copy link
Contributor

Comparison job queued.

@kpedro88
Copy link
Contributor

@fwyzard this all looks fine to me

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3f9a8d/6378/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2694466
  • DQMHistoTests: Total failures: 31
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2694386
  • DQMHistoTests: Total skipped: 49
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 150 log files, 16 edm output root files, 35 DQM output files

@makortel
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo (and backports should be raised in the release meeting by the corresponding L2)

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit d2fe90a into cms-sw:master May 18, 2020
@fwyzard fwyzard deleted the Apply_clang-format_HeterogeneousCore branch May 18, 2020 21:01
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

5 participants