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.3.tar.gz (20.6 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for autocloudreporter-1.0.3.tar.gz
Algorithm Hash digest
SHA256 a152f3bef2597393650ce768479d02b70f4eed705ae34881ad0c4cb9b9d0a4bd
MD5 69ac25ca625f788e3224bfb36d72ffb4
BLAKE2b-256 43399ffbd4ad321a8c9601edc4650beb6a37e8cdf6e4b57678f3145a7c1f2a14

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