Skip to content

Commit

Permalink
adding log files for ls tests (#2410)
Browse files Browse the repository at this point in the history
  • Loading branch information
anushka567 authored Aug 28, 2024
1 parent ab2d575 commit f826b24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 6 additions & 4 deletions perfmetrics/scripts/continuous_test/gcp_ubuntu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ run_ls_benchmark(){
COMMON_MOUNT_FLAGS="--debug_fuse --debug_gcs --log-format \"text\""

# Testing for flat bucket.
LOG_FILE_FIO_TESTS=${KOKORO_ARTIFACTS_DIR}/gcsfuse-logs-flat.txt
LOG_FILE_FIO_TESTS=${KOKORO_ARTIFACTS_DIR}/gcsfuse-logs-fio-flat.txt
LOG_FILE_LS_TESTS=${KOKORO_ARTIFACTS_DIR}/gcsfuse-logs-ls-flat.txt
GCSFUSE_FIO_FLAGS="--implicit-dirs --stackdriver-export-interval=30s --log-file $LOG_FILE_FIO_TESTS"
GCSFUSE_LS_FLAGS="--implicit-dirs"
GCSFUSE_LS_FLAGS="--implicit-dirs --log-file $LOG_FILE_LS_TESTS"
BUCKET_NAME="periodic-perf-tests"
SPREADSHEET_ID='1kvHv1OBCzr9GnFxRu9RTJC7jjQjc9M4rAiDnhyak2Sg'
LIST_CONFIG_FILE="config.json"
Expand All @@ -76,9 +77,10 @@ run_ls_benchmark "$GCSFUSE_LS_FLAGS" "$SPREADSHEET_ID" "$LIST_CONFIG_FILE"
echo "enable-hns: true
metadata-cache:
ttl-secs: 0" > /tmp/config.yml
LOG_FILE_FIO_TESTS=${KOKORO_ARTIFACTS_DIR}/gcsfuse-logs-hns.txt
LOG_FILE_FIO_TESTS=${KOKORO_ARTIFACTS_DIR}/gcsfuse-logs-fio-hns.txt
LOG_FILE_LS_TESTS=${KOKORO_ARTIFACTS_DIR}/gcsfuse-logs-ls-hns.txt
GCSFUSE_FIO_FLAGS="--config-file=/tmp/config.yml --stackdriver-export-interval=30s --log-file $LOG_FILE_FIO_TESTS"
GCSFUSE_LS_FLAGS="--config-file=/tmp/config.yml"
GCSFUSE_LS_FLAGS="--config-file=/tmp/config.yml --log-file $LOG_FILE_LS_TESTS"
BUCKET_NAME="periodic-perf-tests-hns"
SPREADSHEET_ID='1wXRGYyAWvasU8U4KaP7NGPHEvgiOSgMd1sCLxsQUwf0'
LIST_CONFIG_FILE="config-hns.json"
Expand Down
6 changes: 4 additions & 2 deletions perfmetrics/scripts/continuous_test/gcp_ubuntu/continuous.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@

action {
define_artifacts {
regex: "gcsfuse-logs.txt"
regex: "gcsfuse-list-logs.txt"
regex: "gcsfuse-logs-fio-hns.txt"
regex: "gcsfuse-logs-ls-hns.txt"
regex: "gcsfuse-logs-fio-flat.txt"
regex: "gcsfuse-logs-ls-flat.txt"
regex: "github/gcsfuse/perfmetrics/scripts/fio-output.json"
strip_prefix: "github/gcsfuse/perfmetrics/scripts"
}
Expand Down

0 comments on commit f826b24

Please sign in to comment.