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

Created by Barry Warsaw on 2014-09-11 and last modified on 2014-09-12
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 on 2014-09-12

trunk merge

278. By Barry Warsaw on 2014-09-11

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 on 2014-09-11

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 on 2014-09-11

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 on 2014-09-11

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 on 2014-09-09

Bump version.

273. By Barry Warsaw on 2014-08-08

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

272. By Barry Warsaw on 2014-08-08

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 on 2014-08-08

Whitespace

270. By Barry Warsaw on 2014-08-08

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:~ubuntu-system-image/ubuntu-system-image/client
This branch contains Public information 
Everyone can see this information.

Subscribers