lp:~barry/ubuntu-system-image/lp1365646
- Get this branch:
- bzr branch lp:~barry/ubuntu-system-image/lp1365646
Branch merges
- Registry Administrators: Pending requested
-
Diff: 44 lines (+23/-0)2 files modifiedNEWS.rst (+1/-0)
systemimage/tests/test_dbus.py (+22/-0)
Related bugs
Bug #1365646: Top Crasher: /usr/sbin/system-image-dbus:RuntimeError:_download | Critical | Fix Released |
|
Related blueprints
Branch information
Recent revisions
- 275. By Barry Warsaw
-
* When an exception occurs in a `system-image-dbus` D-Bus method, signal, or
callback, this exception is logged in the standard log file, and the
process exits. Also, `[system]loglevel` can now take an optional ":level"
prefix which can be used to set the log level for the D-Bus API methods.
By default, they log at `ERROR` level, but can be set lower for debugging
purposes. (LP: #1279970) - 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.
- 270. By Barry Warsaw
-
Greatly improve coverage by reworking how and when nose imports systemimage
packages. Add a few tests to cover more code. - 269. By Barry Warsaw
-
Improve test coverage, invocation, and integration with tox.
- Use a wrapper module to invoke coverage so that systemimage/
service. py gets
full coverage.o
- Add commands to tox.ini to automatically do the subprocess data file
combination.
- Integrate with our nose2 plugin.
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