lp:~barry/ubuntu-system-image/lp1279056
- Get this branch:
- bzr branch lp:~barry/ubuntu-system-image/lp1279056
Branch merges
Related bugs
Related blueprints
Branch information
Recent revisions
- 230. By Barry Warsaw
-
* Internal improvements to SignatureError for better debugging. (LP: #1279056)
Also:
- Context.validate(): New API which combines the signature checking of
.verify() with raising the SignatureError exception if that method returns
False. This is the common case, and it allows us to attach more information
to SignatureErrors for logging and debugging.- In state.py, _get_blacklist_1(), log SignatureError at exception level to
get more information (although this is an expected error case).- In helpers.py, RequestHandler class, override the base class's
handle_one_request( ). The problem here is that during the test suite run we
randomly get ConnectResetErrors for no reason I can figure out (since the
u-d-m process does not appear to have exited). It seems to be enough to
just retry the request again. The way it's implemented, if the second try
fails, it will produce a traceback like the original code.- Also in the testing http/https server, in the shutdown() callback, catch and
ignore all OSErrors coming from conn.shutdown(). During the test suite, we
see random ENOTCONN errors here, meaning the u-d-m client has probably
exited by now (maybe?). Instead of just ignoring ENOTCONN, I ignore all
OSErrors since we're shutting down anyway. This and the above change make
the test suite run more cleanly, hopefully not at the expense of masking
over real bugs.- Bump version number.
- 229. By Barry Warsaw
-
* MANIFEST.in: Make sure the .bzr directory doesn't end up in the
sdist tarball.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~registry/ubuntu-system-image/client