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
Update to new version; add new prometheus version; add aps tools #6731
Conversation
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. |
please test |
-1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f72b28/13527/summary.html External BuildI 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) |
cmsmon-tools.spec
Outdated
@@ -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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean you already have 4 sources defined here https://github.com/cms-sw/cmsdist/pull/6731/files#diff-15398a788af5b8c0e165e8cca9a44fb7637daebb4850bf66571da9512729a925L11-L14 , so why not just and this as a Source4
and extract is just like you extract other sources https://github.com/cms-sw/cmsdist/pull/6731/files#diff-15398a788af5b8c0e165e8cca9a44fb7637daebb4850bf66571da9512729a925L24
There was a problem hiding this comment.
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
Pull request #6731 was updated. |
please test |
-1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f72b28/13531/summary.html External BuildI 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) |
Pull request #6731 was updated. |
@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. |
otherwise, the build is fine now in my local area. Please test it. |
Pull request #6731 was updated. |
@vkuznet , I have fixed the source4. For such files you can use |
please test |
thanks, I'll keep this in mind for other specs as we may have more and more just static executables from go tools. |
+externals |
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) |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f72b28/13544/summary.html Comparison SummarySummary:
|
No description provided.