turbot / steampipe

Zero-ETL, infinite possibilities. Live query APIs, code & more with SQL. No DB required.
https://steampipe.io
GNU Affero General Public License v3.0
6.92k stars 274 forks source link

Intermittent failures when looping `check` #3644

Closed binaek closed 7 months ago

binaek commented 1 year ago

When running steampipe check in a loop (for run in {1..10}; do steampipe check ... ; done) - queries sometime come back with a few unexpected errors:

binaek commented 1 year ago

cmd line:

binaek@Turingmbp steampipe-mod-aws-compliance % steampipe service stop ; STEAMPIPE_LOG=info steampipe service start ; steampipe query "select * from aws_account" ; ps -ef | grep steampipe; sleep 5 ; echo "waiting another 10" ; sleep 10 ; STAMP=$(date +%s) && for run in {1..10}; do echo "" > ~/.steampipe/logs/plugin-2023-07-04.log ; echo "" > ~/.steampipe/logs/database-2023-07-04.log ; steampipe check benchmark.cis_v150 --export $(echo $STAMP)_$(echo $run)_cis150_$(date +%s).csv --export $(echo $STAMP)_$(echo $run)_cis150_$(date +%s).json --timing; cat ~/.steampipe/logs/database-2023-07-04.log > $(echo $STAMP)_$(echo $run)_database.log; cat ~/.steampipe/logs/plugin-2023-07-04.log > $(echo $STAMP)_$(echo $run)_plugin.log; done ; steampipe service stop
github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 90 days with no activity.

github-actions[bot] commented 8 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

kaidaguerre commented 7 months ago

could not reproduce