Merge lp:~raharper/curtin/trunk.fix-missing-install-log into lp:~curtin-dev/curtin/trunk
Status: | Merged |
---|---|
Merged at revision: | 392 |
Proposed branch: | lp:~raharper/curtin/trunk.fix-missing-install-log |
Merge into: | lp:~curtin-dev/curtin/trunk |
Diff against target: |
96 lines (+27/-15) 2 files modified
curtin/reporter/handlers.py (+4/-13) tests/unittests/test_reporter.py (+23/-2) |
To merge this branch: | bzr merge lp:~raharper/curtin/trunk.fix-missing-install-log |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
curtin developers | Pending | ||
Review via email: mp+297340@code.launchpad.net |
Commit message
reporting: default webhook handler level to DEBUG, no filtering
The webhook handler in curtin reporting included a default level
of INFO and included a event filter which would not report events
that were of lower importance than what was set. The result was
for unconfigured WebHook handlers, some of the expected messages
including post_files used by maas to collect the curtin install
log were no longer sent.
This patch sets WebHookHandler level to DEBUG, the same level set for
LogHandler and PrintHandler, further we remove the event filtering.
The events themselves include the level value and the event collector
can apply their own filtering as needed. Along with the changes we
clean up some comments and include a new unittest which specifically
tests that a FinishReporting
WebHookHandler.
PASSED: Continuous integration, rev:390 /server- team-jenkins. canonical. com/job/ curtin- ci/256/ /server- team-jenkins. canonical. com/job/ generic- update- mp/253/ console
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild: /server- team-jenkins. canonical. com/job/ curtin- ci/256/ rebuild
https:/