lp:~barry/ubuntu-system-image/lp1279056

Created by Barry Warsaw and last modified
Get this branch:
bzr branch lp:~barry/ubuntu-system-image/lp1279056
Only Barry Warsaw can upload to this branch. If you are Barry Warsaw please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Barry Warsaw
Project:
Ubuntu system image
Status:
Merged

Recent revisions

232. By Barry Warsaw

Whitespace cleanup.

231. By Barry Warsaw

fixes

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.

228. By Barry Warsaw

 * No change release to test the new landing process.

227. By Barry Warsaw

Release.

226. By Barry Warsaw

 * More attempted DEP-8 test failure fixes.

225. By Barry Warsaw

Explicitly start the D-Bus services and complain if they weren't started.

224. By Barry Warsaw

 * Fix additional build environment test failures. (LP: #1256947)

223. By Barry Warsaw

 * Fix some build environment test failures.

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
This branch contains Public information 
Everyone can see this information.

Subscribers