On Travis (not a real vte), releasing to a branch name during snapcraft push prints a stacktrace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Kyle Fazzari |
Bug Description
On Travis CI only (working locally, in a real terminal):
Running snapcraft docker image:
$ snapcraft push *.snap --release=
-> stacktrace is printed and snapcraft exit. Note that doesn't happen with --release=edge for instance though.
Example from https:/
Preparing to push '/home/
Using local configuration ('.snapcraft/
Pushing communitheme_
Processing...|
Ready to release!
Revision 4 of 'communitheme' created.
Using local configuration ('.snapcraft/
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
echo.
File "/usr/lib/
return self.fmt.format([], **self.__dict__)
KeyError: '"status"'
Original exception was:
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
return get_distributio
File "/usr/lib/
return ep.load()
File "/usr/lib/
return self.resolve()
File "/usr/lib/
module = __import_
File "/usr/lib/
run(
File "/usr/lib/
return self.main(*args, **kwargs)
File "/usr/lib/
rv = self.invoke(ctx)
File "/usr/lib/
return _process_
File "/usr/lib/
return ctx.invoke(
File "/usr/lib/
return callback(*args, **kwargs)
File "/usr/lib/
snapcraft.
File "/usr/lib/
release(
File "/usr/lib/
channels = store.release(
File "/usr/lib/
self.
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
raise errors.
snapcraft.
description: | updated |
summary: |
- invalid branchname release while doing snapcraft push print a stacktrace + On Travis (not a real vte), releasing to a branch name during snapcraft + push prints a stacktrace |
description: | updated |
description: | updated |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
EDIT: the stacktrace still happens with a valid --release= risk/branch name (working with snapcraft release command): https:/ /travis- ci.org/ ubuntu/ communitheme- snap-helpers/ builds/ 362103394.
The source is thus probably something else?