get rid of stacktrace when pbuilder fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBuilderJenkins |
In Progress
|
High
|
Unassigned |
Bug Description
Errors like the one below are very confusing. The first thing you usually see is a python/
Please catch the exception and log an error message instead.
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
W: no hooks of type C found -- ignoring
I: unmounting results filesystem
I: unmounting /var/cache/
I: unmounting /var/cache/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/
Traceback (most recent call last):
File "/usr/bin/
builder.
File "/usr/lib/
self.
File "/usr/lib/
subprocess.
File "/usr/lib/
raise CalledProcessEr
subprocess.
pbuilder returned ERROR.
Related branches
- Martin Mrazik (community): Approve
- jenkins (community): Approve (continuous-integration)
-
Diff: 203 lines (+74/-17)7 files modifiedbin/pbuilderjenkins (+12/-2)
debian/changelog (+7/-0)
debian/files (+1/-1)
hooks/H40native_hack.py (+1/-1)
pbuilderjenkins/pbuilderjenkins.py (+16/-12)
tests/test_bzr_build.py (+1/-1)
tests/test_hooks_setup.py (+36/-0)
Changed in pbuilderjenkins: | |
importance: | Undecided → High |
status: | Confirmed → In Progress |
Changed in pbuilderjenkins: | |
assignee: | Sergio Schvezov (sergiusens) → nobody |
Yeah, I just left the exceptions after Thomi's review with a TODO to log a bug for proper logging.
thanks!