#954 ValueError: invalid literal for int() with base 10: 'f0de96b3'
Closed: Fixed a year ago Opened a year ago by mizdebsk.

When submitting module build of javapackages-tools in Fedora (commit 0fe7a3cc5270eb6757a98ed4816bfc37ed41875d), frontend crashed:

INFO:module_build_service:Starting resolving with following input modules: ['platform:f28:4:00000000', 'javapackages-tools:201801:20180614190756:f0de96b3']
DEBUG:module_build_service:Testing javapackages-tools:201801:20180618105611:0-20180618105611.src with combination: (<Solvable #3 javapackages-tools:201801:20180614190756:f0de96b3-20180614190756.x86_64>,)
DEBUG:module_build_service:Jobs:
DEBUG:module_build_service:  - favor javapackages-tools:201801:20180614190756:f0de96b3-20180614190756.x86_64
DEBUG:module_build_service:  - install javapackages-tools:201801:20180618105611:0-20180618105611.src
DEBUG:module_build_service:Transaction:
DEBUG:module_build_service:  - javapackages-tools:201801:20180618105611:0-20180618105611.src
DEBUG:module_build_service:  - javapackages-tools:201801:20180614190756:f0de96b3-20180614190756.x86_64
DEBUG:module_build_service:  - platform:f28:4:00000000-4.x86_64
INFO:module_build_service:Resolving done, possible requires: set([frozenset(['platform:f28:4:00000000:x86_64', 'javapackages-tools:201801:20180618105611:0:src', 'javapackages-tools:201801:20180614190756:f0de96b3:x86_64'])])
ERROR:module_build_service:Exception on /module-build-service/1/module-builds/ [POST]
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/lib/python2.7/site-packages/flask/views.py", line 84, in view
    return self.dispatch_request(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/flask/views.py", line 149, in dispatch_request
    return meth(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/module_build_service/utils/views.py", line 274, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/module_build_service/views.py", line 171, in post
    modules = handler.post()
  File "/usr/lib/python2.7/site-packages/module_build_service/views.py", line 350, in post
    optional_params=self.optional_params)
  File "/usr/lib/python2.7/site-packages/module_build_service/utils/submit.py", line 291, in submit_module_build_from_scm
    return submit_module_build(username, url, mmd, scm, optional_params)
  File "/usr/lib/python2.7/site-packages/module_build_service/utils/submit.py", line 329, in submit_module_build
    mmds = generate_expanded_mmds(db.session, mmd, raise_if_stream_ambigous, default_streams)
  File "/usr/lib/python2.7/site-packages/module_build_service/utils/mse.py", line 302, in generate_expanded_mmds
    dependencies_id = int(nsvca.split(":")[3])
ValueError: invalid literal for int() with base 10: 'f0de96b3'

Version of fm-orchestrator:
server: module-build-service-2.2.4-1.el7.noarch
client: module-build-service-2.2.4-1.fc27.noarch


Login to comment on this ticket.

Metadata