Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L LbNightlyTools
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 42
    • Issues 42
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Jira
    • Jira
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LHCb Core Software
  • LbNightlyTools
  • Issues
  • #94

Closed
Open
Created Jul 09, 2021 by Marco Clemencic@clemenciOwner

release RPM generations fails on new style data package dependencies

We are getting this stack trace from Python in the release builds:

Traceback (most recent call last):
  File "/workspace/venv/centos7/bin/lbn-rpm", line 8, in <module>
    sys.exit(rpm())
  File "/workspace/venv/centos7/lib/python2.7/site-packages/LbNightlyTools/Scripts/_entry_points.py", line 275, in rpm
HEPTOOLS: ('100', 'x86_64_v2-centos7-gcc10-do0', {u'tbb': u'2020_U2', u'XercesC': u'3.2.3', u'clhep': u'2.4.4.0', u'Python': u'3.8.6', u'ROOT': u'v6.24.00', u'fmt': u'7.1.3', u'zlib': u'1.2.11', u'pkgconfig': u'1.5.1', u'HepMC': u'2.06.11', u'Vc': u'1.4.1p1', u'AIDA': u'3.2.1', u'HepPDT': u'2.06.01', u'rangev3': u'0.11.0', u'gperftools': u'2.9.1', u'cppgsl': u'3.1.0', u'jemalloc': u'5.2.1', u'Boost': u'1.75.0', u'GSL': u'2.6', u'vdt': u'0.4.3'})
(hver, hcmtconfig, packages): ('100', 'x86_64_v2-centos7-gcc10-do0', {u'tbb': u'2020_U2', u'XercesC': u'3.2.3', u'clhep': u'2.4.4.0', u'Python': u'3.8.6', u'ROOT': u'v6.24.00', u'fmt': u'7.1.3', u'zlib': u'1.2.11', u'pkgconfig': u'1.5.1', u'HepMC': u'2.06.11', u'Vc': u'1.4.1p1', u'AIDA': u'3.2.1', u'HepPDT': u'2.06.01', u'rangev3': u'0.11.0', u'gperftools': u'2.9.1', u'cppgsl': u'3.1.0', u'jemalloc': u'5.2.1', u'Boost': u'1.75.0', u'GSL': u'2.6', u'vdt': u'0.4.3'})
(lcg_platform, lcg_system): ('x86_64-centos7-gcc10-dbg', 'x86_64-centos7-gcc10')
(hver, hcmtconfig, packages): ('100', 'x86_64-centos7-gcc10-dbg', {u'tbb': u'2020_U2', u'XercesC': u'3.2.3', u'clhep': u'2.4.4.0', u'Python': u'3.8.6', u'ROOT': u'v6.24.00', u'fmt': u'7.1.3', u'zlib': u'1.2.11', u'pkgconfig': u'1.5.1', u'HepMC': u'2.06.11', u'Vc': u'1.4.1p1', u'AIDA': u'3.2.1', u'HepPDT': u'2.06.01', u'rangev3': u'0.11.0', u'gperftools': u'2.9.1', u'cppgsl': u'3.1.0', u'jemalloc': u'5.2.1', u'Boost': u'1.75.0', u'GSL': u'2.6', u'vdt': u'0.4.3'})
    return Script().run()
  File "/workspace/venv/centos7/lib/python2.7/site-packages/LbNightlyTools/Scripts/Common.py", line 59, in run
    return _PlainScript.run(self, args)
  File "/workspace/venv/centos7/lib/python2.7/site-packages/LbCommon/Script.py", line 107, in run
    rc = self.main()
  File "/workspace/venv/centos7/lib/python2.7/site-packages/LbRPMTools/PackageSlot.py", line 694, in main
    builddir, artifactdir, keeprpmdir)
  File "/workspace/venv/centos7/lib/python2.7/site-packages/LbRPMTools/PackageSlot.py", line 236, in _buildRpm
    outputfile.write(spec.getSpec())
  File "/workspace/venv/centos7/lib/python2.7/site-packages/LbRPMTools/LHCbRPMSpecBuilder.py", line 129, in getSpec
    + str(self._createTrailer())
  File "/workspace/venv/centos7/lib/python2.7/site-packages/LbRPMTools/LHCbRPMSpecBuilder.py", line 704, in _createRequires
    tmp += self._createDataPackageDependency(pack, ver)
  File "/workspace/venv/centos7/lib/python2.7/site-packages/LbRPMTools/LHCbRPMSpecBuilder.py", line 661, in _createDataPackageDependency
    raise Exception("Version '%s' could not be parsed" % ver)
Exception: Version '1.0' could not be parsed
+ set +x
Exiting, trying to stop the container lhcb-release.3881.x86_64_v2-centos7-gcc10-do0
lhcb-release.3881.x86_64_v2-centos7-gcc10-do0
Build step 'Execute shell' marked build as failure
New run name is 'release.lhcb-release.3881.x86_64_v2-centos7-gcc10-do0'
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 71675 killed;
[ssh-agent] Stopped.
Assignee
Assign to
Time tracking