avocado_resultsdb package

Module contents

Avocado Plugin to propagate Job results to Resultsdb

class avocado_resultsdb.ResultsdbCLI

Bases: avocado.core.plugin_interfaces.CLI

Propagate Job results to Resultsdb


Configures the command line parser with options specific to this plugin.

description = "Resultsdb options for 'run' subcommand"
name = 'resultsdb'

Execute any action the plugin intends.

Example of action may include activating a special features upon finding that the requested command line options were set by the user.

Note: this plugin class is not intended for adding new commands, for that please use CLICmd.

class avocado_resultsdb.ResultsdbResult

Bases: avocado.core.plugin_interfaces.Result

ResultsDB render class

description = 'Resultsdb result support'
name = 'resultsdb'
render(result, job)

Entry point with method that renders the result.

This will usually be used to write the result to a file or directory.

class avocado_resultsdb.ResultsdbResultEvent(config)

Bases: avocado.core.plugin_interfaces.ResultEvents

ResultsDB output class

description = 'Resultsdb result support'
end_test(result, state)

Create the ResultsDB result, which corresponds to one test from the Avocado Job

name = 'resultsdb'

Entry point for job running actions after the tests execution.


Create the ResultsDB group, which corresponds to the Avocado Job

start_test(result, state)

Event triggered when a test starts running.


Interface to notify progress (or not) of the running test.