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

Update to new version; add new prometheus version; add aps tools #6731

Merged
merged 4 commits into from Mar 16, 2021
Merged

Update to new version; add new prometheus version; add aps tools #6731

merged 4 commits into from Mar 16, 2021

Conversation

vkuznet
Copy link
Contributor

@vkuznet vkuznet commented Mar 15, 2021

No description provided.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @vkuznet (Valentin Kuznetsov) for branch IB/CMSSW_11_3_X/master.

@cmsbuild, @smuzaffar, @mrodozov can you please review it and eventually sign? Thanks.
cms-bot commands are listed here

@mrodozov
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f72b28/13527/summary.html
COMMIT: 9d71ed1
CMSSW: CMSSW_11_3_X_2021-03-14-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmsdist/6731/13527/install.sh to create a dev area with all the needed externals and cmssw changes.

External Build

I found compilation error when building:

+ for cmd in monit ggus_parser alert annotationManager nats-sub nats-pub nats-exitcodes-termui dbs_vm
+ cp nats-pub /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/56e556f66f587e5ed816e7a6e2be0067/opt/cmssw/slc7_amd64_gcc900/cms/cmsmon-tools/0.5.27-56e556f66f587e5ed816e7a6e2be0067/
+ for cmd in monit ggus_parser alert annotationManager nats-sub nats-pub nats-exitcodes-termui dbs_vm
+ cp nats-exitcodes-termui /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/56e556f66f587e5ed816e7a6e2be0067/opt/cmssw/slc7_amd64_gcc900/cms/cmsmon-tools/0.5.27-56e556f66f587e5ed816e7a6e2be0067/
cp: cannot stat 'nats-exitcodes-termui': No such file or directory
error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.VKDq5g (%install)


RPM build errors:
Macro %rpmbuild_libdir defined but not used within scope
Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.VKDq5g (%install)


@@ -60,6 +61,14 @@ chmod +x stern_linux_amd64
cp stern_linux_amd64 %i/stern
cd -

# install token-manager
cd %{_builddir}
curl -ksLO https://github.com/vkuznet/auth-proxy-server/releases/download/%apsver/auth-proxy-tools.tar.gz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vkuznet , why not add this to sources?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shahzad, honestly I don't remember RPM spec command syntax, and I find it very difficult to find the appropriate docs for them. The setup syntax I obviously don't remember, e.g. how it untar/unzip all possible combinations, and it is much easier to call curl instead of using sources/setup. If you remember proper syntax feel free to let me know how to do it (I can't do man rpm synax, and googling rpm setup does not lead anywhere close to how RPM commands are structured and which options to use for different use-cases).

Copy link
Contributor

@smuzaffar smuzaffar Mar 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by the way the RPM doc here https://rpm-packaging-guide.github.io/ looks good. See the %setup section for details how to expand

@cmsbuild
Copy link
Contributor

Pull request #6731 was updated.

@smuzaffar
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f72b28/13531/summary.html
COMMIT: 7246499
CMSSW: CMSSW_11_3_X_2021-03-15-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmsdist/6731/13531/install.sh to create a dev area with all the needed externals and cmssw changes.

External Build

I found compilation error when building:

+ cd /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/slc7_amd64_gcc900/cms/cmsmon-tools/0.5.27-cbad6107ee34e75340e687369e7f4ca1
+ curl -ksLO https://github.com/vkuznet/auth-proxy-server/releases/download/0.1.85/auth-proxy-tools.tar.gz
+ tar xfz auth-proxy-tools.tar.gz
+ cp token-manager /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/BUILDROOT/cbad6107ee34e75340e687369e7f4ca1/opt/cmssw/slc7_amd64_gcc900/cms/cmsmon-tools/0.5.27-cbad6107ee34e75340e687369e7f4ca1/
cp: cannot stat 'token-manager': No such file or directory
error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.TMu3vj (%install)


RPM build errors:
Macro %rpmbuild_libdir defined but not used within scope
Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.TMu3vj (%install)


@cmsbuild
Copy link
Contributor

Pull request #6731 was updated.

@vkuznet
Copy link
Contributor Author

vkuznet commented Mar 16, 2021

@smuzaffar I added sources, but for Source4 which is not a tarball I have no idea how to deal with it in rpm macro world. I also don't know how to refer to it if I call curl. Once again RedHat docs are not helpful and search for "how to download source file in rpm" or similar queires does not lead to what I need to know. If you know how to force in prep step a download of given source please let me know and I'll be happy to adjust the spec, otherwise for stern tool (which is just executable we need to download) I left the curl approach.

@vkuznet
Copy link
Contributor Author

vkuznet commented Mar 16, 2021

otherwise, the build is fine now in my local area. Please test it.

@cmsbuild
Copy link
Contributor

Pull request #6731 was updated.

@smuzaffar
Copy link
Contributor

@vkuznet , I have fixed the source4. For such files you can use %{_sourcedir} to access the downloaded file

@smuzaffar
Copy link
Contributor

please test

@vkuznet
Copy link
Contributor Author

vkuznet commented Mar 16, 2021

thanks, I'll keep this in mind for other specs as we may have more and more just static executables from go tools.

@smuzaffar
Copy link
Contributor

+externals

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f72b28/13544/summary.html
COMMIT: b97d43f
CMSSW: CMSSW_11_3_X_2021-03-15-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmsdist/6731/13544/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2635087
  • DQMHistoTests: Total failures: 3
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2635062
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 36 files compared)
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: no differences found

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

4 participants