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

Created by Barry Warsaw and last modified
Get this branch:
bzr branch lp:~barry/ubuntu-system-image/lp1279970
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

279. By Barry Warsaw

trunk merge

278. By Barry Warsaw

Instrument all methods, signals, and callbacks to log and exit on exception.
As a byproduct, this also ignores releasing of unlocked locks as in LP:
#1365646

277. By Barry Warsaw

Fix a bug which caused some mocks to not get unwound, creating unpredictable
test results later on.

Fix some log level tests.

Update manpage.

276. By Barry Warsaw

Extend [system]loglevel so that it can take an optional ":level" suffix for
setting the more detailed systemimage.dbus logger level. Essentially,
something like "info:info" would enable logging of D-Bus method and signal
enters, exits, and exceptions.

Add `-M level` option to nose2 runner for setting this level in the
Controller's ini file.

275. By Barry Warsaw

Added a @log_and_exit decorator, which comes into play when a D-Bus @method or
@signal tracebacks. Right now it's only plumbed into some test cases, but
next I'll plumb it into all the D-Bus API.

I also need to rework the logging bits so that they go to an independent
systemimage.dbus logger (which will still go to the same log file, but just
with a different configurable level).

274. By Barry Warsaw

Bump version.

273. By Barry Warsaw

 * The channel.ini file can override the device name by setting
   ``[service]device``. (LP: #1353178)

272. By Barry Warsaw

Boost coverage numbers in several ways:

* Sprinkle "pragma: no cover" comments in places where we do not expect the
  test suite to cover, e.g. asserts, non-test-paths, "virtual" methods,
  reprs.

* Add a few tests for legitimately missed sections.

Remove testing infrastructure from the foreground process. Now we only need
specific programmatic coverage invocation in the D-Bus activated subprocess.
For the foreground process, invoke the test suite using the python3-coverage
script via the tox.ini file.

tox.ini always recreates the environment.

271. By Barry Warsaw

Whitespace

270. By Barry Warsaw

Greatly improve coverage by reworking how and when nose imports systemimage
packages. Add a few tests to cover more code.

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