Skip to main content

This optional plugin is intended to upload the Avocado Job results to a dedicated sever.

To install the Result Upload plugin from pip, use:

pip install avocado-framework-plugin-result-upload

Usage:

$ avocado run avocado/examples/tests/passtest.py --result-upload-url www@avocadologs.example.com:/var/www/html
JOB ID     : f40403c7409ef998f293a7c83ee456c32cb6547a
JOB LOG    : $HOME/avocado/job-results/job-2021-09-30T22.16-f40403c/job.log
 (1/1) avocado/examples/tests/passtest.py:PassTest.test: STARTED
 (1/1) avocado/examples/tests/passtest.py:PassTest.test: PASS (0.01 s)
RESULTS    : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : $HOME/avocado/job-results/job-2021-09-30T22.16-f40403c/results.html

Avocado logs will be available at following URL:

Such links may be referred by other plugins, such as the ResultsDB plugin.

By default upload will be handled by following command

rsync -arz -e 'ssh -o LogLevel=error -o stricthostkeychecking=no -o userknownhostsfile=/dev/null -o batchmode=yes -o passwordauthentication=no'

Optionally, you can customize uploader command, for example following command upload logs to Google storage:

$ avocado run avocado/examples/tests/passtest.py --result-upload-url='gs://avocadolog' --result-upload-cmd='gsutil -m cp -r'

You can also set the ResultUpload URL and command using a config file:

[plugins.result_upload]
url = www@avocadologs.example.com:/var/www/htmlavocado/job-results
command='rsync -arzq'

And then run the Avocado command without the explicit command options. Notice that the command line options will have precedence over the configuration file.

Download files

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

Source Distribution

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_result_upload-113.0.tar.gz.

File metadata

File hashes

Hashes for avocado_framework_plugin_result_upload-113.0.tar.gz
Algorithm Hash digest
SHA256 da0a8f25f9052c3a7a7b6fb99b2e92dcf1024bcac5cbce2dd00b6c5edd6f7e9b
MD5 215c9150066f4b2c88821c6a7532c6de
BLAKE2b-256 3d9f19ba64b567977d32285290fff0def11e9f8972f17c04120ba18c8618e287

See more details on using hashes here.

Provenance

The following attestation bundles were made for avocado_framework_plugin_result_upload-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_result_upload-113.0-py3-none-any.whl.

File metadata

File hashes

Hashes for avocado_framework_plugin_result_upload-113.0-py3-none-any.whl
Algorithm Hash digest
SHA256 67707e8ad69bef2f35626e3f8fa44b928b2f7a334d123628149bf0dab2436dde
MD5 b91f707d559b26375cd0e6a003c01b4a
BLAKE2b-256 dac8be35cf6ce509ecba870cdf214bf06c2f73c93233d8fcbcffa759965f39be

See more details on using hashes here.

Provenance

The following attestation bundles were made for avocado_framework_plugin_result_upload-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.

Release history Release notifications | RSS feed

This release

113.0 This release

2 files

112.0

2 files

111.0

2 files

110.0

2 files

109.0

2 files

108.0

2 files

107.0

2 files

106.0

2 files

105.0

2 files

104.0

2 files

103.0

2 files

102.0

1 file

101.0

2 files

100.1

2 files

100.0

2 files

99.0

2 files

98.0

2 files

97.0

2 files

96.0

2 files

95.0

2 files

94.0

2 files

93.0

2 files

92.3

2 files

92.2

2 files

92.1

2 files

92.0

2 files

91.0

2 files

90.0

2 files

89.0

2 files

88.1

2 files

88.0

2 files

87.0

2 files

86.0

2 files

85.0

2 files

84.0

2 files

83.0

2 files

82.2

2 files

82.1

2 files

82.0

2 files

81.0

2 files

80.0

2 files

79.0

2 files

78.0

2 files

77.0

2 files

76.0

2 files

75.1

2 files

74.0

2 files

73.0

2 files

72.0

2 files

71.0

2 files

70.0

2 files

69.3

3 files

69.2

3 files

69.1

3 files

69.0

3 files

68.0

3 files

67.0

3 files

66.0

3 files

65.0

3 files

64.0

3 files

63.0

3 files

62.0

3 files

61.0

3 files

60.0

3 files

59.0

3 files

58.0

2 files

57.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page