Merge lp:~fboucault/thumbnailer/save_failures into lp:thumbnailer
| Status: | Merged |
|---|---|
| Approved by: | Jussi Pakkanen on 2015-01-22 |
| Approved revision: | 121 |
| Merged at revision: | 117 |
| Proposed branch: | lp:~fboucault/thumbnailer/save_failures |
| Merge into: | lp:thumbnailer |
| Diff against target: |
157 lines (+73/-4) 3 files modified
include/internal/thumbnailcache.h (+3/-0) src/thumbnailcache.cpp (+55/-0) src/thumbnailer.cpp (+15/-4) |
| To merge this branch: | bzr merge lp:~fboucault/thumbnailer/save_failures |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-01-21 | |
| Jussi Pakkanen (community) | 2015-01-15 | Approve on 2015-01-21 | |
|
Review via email:
|
|||
Commit Message
Keeps track of failed thumbnails and do not try to regenerate them.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:117
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Jussi Pakkanen (jpakkane) wrote : | # |
In mark failure you have this:
FILE *f = fopen(fail_
fclose(f);
The documentation of fclose says that if f is invalid, the behaviour is undefined. This can happen if fopen fails. Please wrap the fclose in an if(f). If the creation fails we can't throw an exception as one is already in flight. So just write strerror to stderr instead.
| Jussi Pakkanen (jpakkane) wrote : | # |
Also, catch the exception by const ref instead of plain ref and define mark_failure as noexcept.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:117
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:117
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 118. By Florian Boucault on 2015-01-20
-
Catch with const exception
- 119. By Florian Boucault on 2015-01-20
-
Mark ThumbnailCache:
:has_failure as noexcept - 120. By Florian Boucault on 2015-01-20
-
Mark ThumbnailCache:
:has_failure as not returning any value. - 121. By Florian Boucault on 2015-01-20
-
mark_failure: handle error case better
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:121
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:121
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:121
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:121
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:121
http://
Executed test runs:
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:121
http://
Executed test runs:
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:121
http://
Executed test runs:
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:121
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:121
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:121
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:121
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:121
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:121
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://

FAILED: Continuous integration, rev:117 jenkins. qa.ubuntu. com/job/ thumbnailer- ci/114/ jenkins. qa.ubuntu. com/job/ thumbnailer- vivid-amd64- ci/6/console jenkins. qa.ubuntu. com/job/ thumbnailer- vivid-armhf- ci/6/console jenkins. qa.ubuntu. com/job/ thumbnailer- vivid-i386- ci/6
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/thumbnailer -ci/114/ rebuild
http://