testkube icon indicating copy to clipboard operation
testkube copied to clipboard

Minio out of storage - the test fails on saving artifacts, no execution logs

Open tkonieczny opened this issue 2 years ago • 4 comments

Describe the bug When minio out of storage (Storage backend has reached its minimum free drive threshold) the test fails with:

execution pod 658b003d382af015eee15126-k79v7 failed
error scraping artifacts for Artillery executor: error processing object artifacts.tar.gz: error saving file artifacts.tar.gz: minio saving file (658b003d382af015eee15126/artifacts.tar.gz) put object error: Storage backend has reached its minimum free drive threshold. Please delete a few objects to proceed.

Example: https://demo.testkube.dev/tests/artillery-executor-smoke/executions/658b003d382af015eee15126

Expected behavior Saving artifacts shouldn't fail the test - the test should be executed correctly, execution logs should be available.

tkonieczny avatar Dec 28 '23 13:12 tkonieczny

This looks, like a business decision or might be even better to use a flag failOnArtifactScrapingError. For some users this is not important, for other ones, it might be critical

vsukhin avatar Jan 22 '24 13:01 vsukhin

It's quite useful to fail on the artifacts problem - otherwise, you may be surprised when there will be actual error, but no artifacts

rangoo94 avatar Jan 22 '24 13:01 rangoo94