if "charm pull" fails, it doesn't expose why
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
codetree |
Fix Released
|
Medium
|
Martin Hilton |
Bug Description
We recently saw the following error on a CI run with codetree:
2017-04-14 13:26:07 [ERROR] Error calling external process
Traceback (most recent call last):
File "/usr/lib/
args.func(args)
File "/usr/lib/
return method(*args, **kwargs)
File "/usr/lib/
manifest.
File "/usr/lib/
auto_
File "/usr/lib/
collect_success = collect_
File "/usr/lib/
results.
File "/usr/lib/
return self.__get_result()
File "/usr/lib/
raise self._exception
CalledProcessError: Command '('charm', 'pull', '--channel', 'stable', 'cs:~canonical-
Codetree should display the error here rather than just showing a traceback.
Related branches
- Junien F: Approve
-
Diff: 96 lines (+40/-10)3 files modifiedcodetree/handlers/charm.py (+19/-6)
tests/test_charm_handler.py (+20/-3)
tests/test_git_handler.py (+1/-1)
Changed in codetree: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Martin Hilton (martin-hilton) |
Changed in codetree: | |
status: | Confirmed → Fix Committed |
Changed in codetree: | |
status: | Fix Committed → Fix Released |
It would be nice to get this into a release and deployed to is-mojo-ci. "charm show" seems to fail fairly often during CI runs and we don't know why.