lp://staging/~wesley-wiedenmeier/curtin/reporting-cleanup
- Get this branch:
- bzr branch lp://staging/~wesley-wiedenmeier/curtin/reporting-cleanup
Branch merges
Branch information
Recent revisions
- 384. By Wesley Wiedenmeier
-
During error message output use '' in output text if stdout or stderr is empty
to show it is empty - 382. By Wesley Wiedenmeier
-
Cleaned up reporting event description alterations. Where the previous solution
changed description strings for all start and finish events, this only changes
them for webhooks and does not modify the event, only the output in case
multiple reporters are active. This means that for print handler and log
handler output will not have extraneous 'started: ' messages in it, as
event.as_string() already appends a 'started: ' prefix - 381. By Wesley Wiedenmeier
-
Set default logging behaviour for tools/report_
webhook_ logger. py back to output
to stdout when run as a script - 380. By Wesley Wiedenmeier
-
In vmtests add a config file to enable webhooks reporting, get target ip of
test webhooks server using ip addr - 379. By Wesley Wiedenmeier
-
Added webhooks reporting data capture to vmtests.
- tools/report-
webhook- logger has been moved to
tools/report_ webhook_ logger. py and updated:
- can still be run as a script, but functionality has been moved so it can
be used as a module
- new functions to generate a server and run a server
- server can be instructed to log webhook posts to json dump instead of
stdout
- tests/vmtests/__init_ _.py:
- call to boot_system wrapped in context manager to capture webhooks data
- new check test_reporting_data to verify reporting data, currently just
has demo test - 378. By Ryan Harper
-
vmtests: fix nvme tests
Disable nvme on precise (does not support it without HWE kernels)
Trusty and Vivid do not have /sys/class/nvme, use /dev/nvme* instead
Add additional collect files for easier debugging. - 376. By Ryan Harper
-
block: fix partition path issue with nvme devices
- added vmtest test case for nvme devices using qemu nvme emulation
- when finding the kname of a partition curtin will check if the partition is
a nvme device and prepend a 'p' before the partition number to ensure that
the kname is in the format nvme<DEVNUM>p<PARTNUM>
- curtin will do the same for mmcblk devices since they also prepend a 'p' to
the partition number
- since the partition number is still represented numerically and is only
converted to this format when used, previous determine_partition_ number code
does not need to be modified, so there will not be any change to config
files needed for nvme devices
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/~curtin-dev/curtin/trunk