Skip to main content

Avocado Plugin to propagate Job results to Resultsdb

Project description

This optional plugin is intended to propagate the Avocado Job results to a given ResultsDB API URL.

To install the ResultsDB plugin from pip, use:

pip install avocado-framework-plugin-resultsdb

Usage:

$ avocado run avocado/examples/tests/passtest.py --resultsdb-api http://resultsdb.example.com/api/v2.0/

Optionally, you can provide the URL where the Avocado logs are published:

$ avocado run avocado/examples/tests/passtest.py --resultsdb-api http://resultsdb.example.com/api/v2.0/ --resultsdb-logs http://avocadologs.example.com/

The --resultsdb-logs is a convenience option that will create links to the logs in the ResultsDB records. The links will then have the following formats:

  • ResultDB group (Avocado Job):

    http://avocadologs.example.com/job-2021-09-30T22.16-f40403c/
  • ResultDB result (Avocado Test):

    http://avocadologs.example.com/job-2021-09-30T22.16-f40403c/test-results/1-passtest.py:PassTest.test/

You can also set the ResultsDB API URL and logs URL using a config file:

[plugins.resultsdb]
api_url = http://resultsdb.example.com/api/v2.0/
logs_url = http://avocadologs.example.com/

And then run the Avocado command without the --resultsdb-api and --resultsdb-logs options. Notice that the command line options will have precedence over the configuration file.

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

avocado_framework_plugin_resultsdb-113.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file avocado_framework_plugin_resultsdb-113.0.tar.gz.

File metadata

File hashes

Hashes for avocado_framework_plugin_resultsdb-113.0.tar.gz
Algorithm Hash digest
SHA256 37c6f24f6df3c3d21c796c4d49b16170af62d7701c86f697a3c34c10f0352bc7
MD5 ec33eca539964db039936b1dc071d83b
BLAKE2b-256 bba0041d17aaaa41495e0274bf1d0fc7cde0abba730e6d80719a0844b1f58fb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for avocado_framework_plugin_resultsdb-113.0.tar.gz:

Publisher: release.yml on avocado-framework/avocado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file avocado_framework_plugin_resultsdb-113.0-py3-none-any.whl.

File metadata

File hashes

Hashes for avocado_framework_plugin_resultsdb-113.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e1ed4678771c134bb5ed8630f80e969d63f1c5f1dc084aced64d9bf80a2634d
MD5 75bd9f9b65284e729026d5e325cfd9e9
BLAKE2b-256 631d5ee648ad5e5404ba92377b6462d6facb370e9c2fcde8ee54f63ff8f834b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for avocado_framework_plugin_resultsdb-113.0-py3-none-any.whl:

Publisher: release.yml on avocado-framework/avocado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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