#637 MBS doesn't cannot handle modules with no components
Closed 6 years ago Opened 6 years ago by psabata.

I've just submitted a module with no components, which should be okay according to the specification.

The submission passed and I can now see it in mbs-build overview but it seems to be stuck on 0/0 components being build. Furthermore, attempting to watch it with mbs-build watch crashes the tool with the following:

% mbs-build watch 781
Traceback (most recent call last):
  File "/usr/bin/mbs-build", line 473, in <module>
    main()
  File "/usr/bin/mbs-build", line 461, in main
    watch_build(args.server, args.build_id)
  File "/usr/bin/mbs-build", line 85, in watch_build
    tasks = data['tasks']['rpms']
KeyError: 'rpms'

Ok, the build's not stuck anymore -- it simply failed with No batch is in progress: 0. That's slightly better.

Metadata Update from @fivaldi:
- Issue assigned to fivaldi

6 years ago

Metadata Update from @ralph:
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata