Skip to main content

Fedmsg consumer to report Autocloud results to ResultsDB

Project description

autocloudreporter is a fedmsg consumer for reporting Autocloud results to ResultsDB. It listens out for Autocloud fedmsg messages, and submits results using the resultsdb_conventions module for conveniently reporting results in ‘conventional’ format.

The code was written with Python 3 in mind, but it turns out that verification of fedmsg message signatures does not currently work in Python 3, so it should be run under Python 2 for now.

Requirements

Python libraries:

Installation

Install the required external Python libraries, then use setuptools to install, e.g.:

python setup.py install

Test and production modes

Two consumers are provided, a ‘test’ and a ‘production’ consumer. For ‘test’:

  • The consumer listens for dev (not prod) messages

  • The consumer does not validate message signatures

  • The consumer reports to a ResultsDB instance running on localhost port 5001

In this mode it is safe to play around with the consumer, and you can use a tool like fedmsg-dg-replay to trigger event creation by replaying a relevant fedmsg (which will show up with a dev topic rather than prod).

For ‘production’:

  • The consumer listens for prod (not dev) messages

  • The consumer validates message signatures

  • The consumer reports to the production ResultsDB instance (if permitted)

PLEASE do not enable the production consumer on a system authorized to submit results to ResultsDB without checking with Fedora QA.

The fedmsg config keys for the consumers are autocloudreporter.test.enabled and autocloudreporter.prod.enabled respectively.

License

autocloudreporter is released under the GPL, version 3 or later. See COPYING and the header of autocloudreporter.py itself.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autocloudreporter-1.0.2.tar.gz (20.2 kB view details)

Uploaded Source

File details

Details for the file autocloudreporter-1.0.2.tar.gz.

File metadata

File hashes

Hashes for autocloudreporter-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d8c3404bc871a05e4cb666226d04e697181f4a8b7ab642fc713a60d39e6aa91c
MD5 5b67320084d4de0f677b02b908d422b3
BLAKE2b-256 b94297f9c37475b11b9da19665dd20d81c8711606b4e3d0fc21f891791ceacd6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page