Commit Graph

153 Commits (master)

Author SHA1 Message Date
Anton Nikiforov 31fac75743 [#138] scenarios: Bump version for `node`, `s3-gw`, `sdk-go`, `neo-go`
DCO action / DCO (pull_request) Successful in 58s Details
Tests and linters / Tests (1.22) (pull_request) Successful in 2m4s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 2m33s Details
Tests and linters / Tests with -race (pull_request) Successful in 3m31s Details
Tests and linters / Lint (pull_request) Successful in 7m33s Details
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-05-06 10:12:28 +03:00
Anton Nikiforov b5c7c01a11 [#138] go.mod: Bump go version to 1.21
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-05-05 21:29:00 +03:00
Evgenii Stratonikov e5af4112f9 [#136] registry: Apply updates in batch
DCO action / DCO (pull_request) Successful in 1m7s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 2m27s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 3m0s Details
Tests and linters / Tests with -race (pull_request) Successful in 3m19s Details
Tests and linters / Lint (pull_request) Successful in 4m33s Details
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-05-03 13:56:59 +03:00
Evgenii Stratonikov 7f139734b1 [#133] scenarios: Support one-shot deletion scenario
DCO action / DCO (pull_request) Successful in 1m56s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 3m50s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 4m14s Details
Tests and linters / Lint (pull_request) Successful in 4m49s Details
Tests and linters / Tests with -race (pull_request) Successful in 4m40s Details
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-04-05 13:43:01 +03:00
Evgenii Stratonikov 86ed8add10 [#133] scenarios: Format with clang-format
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-04-05 13:43:01 +03:00
Evgenii Stratonikov 87ffb551b6 [#133] registry: Implement oneshot selector
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-04-05 13:43:01 +03:00
Dmitrii Stepanov d1ec9e4bf0 [#108] preset: Allow to skip preset
DCO action / DCO (pull_request) Successful in 37s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 3m0s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 3m16s Details
Tests and linters / Tests with -race (pull_request) Successful in 3m40s Details
Tests and linters / Lint (pull_request) Successful in 2m38s Details
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-04-01 16:10:04 +03:00
Dmitrii Stepanov 0a6e51ccc9 [#131] registry: Gofumpt
DCO action / DCO (pull_request) Successful in 1m11s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 2m20s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 2m33s Details
Tests and linters / Lint (pull_request) Successful in 2m55s Details
Tests and linters / Tests with -race (pull_request) Successful in 3m18s Details
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-03-20 11:41:03 +03:00
Dmitrii Stepanov 93aaec4e0d [#131] scenarios: Format js files with clang formatter
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-03-20 11:40:49 +03:00
Dmitrii Stepanov 0c4e2665ba [#131] registry: Allow to create cycled/forward selectors
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-03-20 11:40:49 +03:00
Anton Nikiforov 2d26ac766f [#130] Update documentation
DCO action / DCO (pull_request) Successful in 1m41s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 2m10s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 2m12s Details
Tests and linters / Lint (pull_request) Successful in 2m34s Details
Tests and linters / Tests with -race (pull_request) Successful in 3m5s Details
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-22 16:31:29 +03:00
Andrey Berezin adacef19bb [#125] Fix recursion issue
DCO action / DCO (pull_request) Has been cancelled Details
Tests and linters / Lint (pull_request) Has been cancelled Details
Tests and linters / Tests (1.20) (pull_request) Has been cancelled Details
Tests and linters / Tests (1.21) (pull_request) Has been cancelled Details
Tests and linters / Tests with -race (pull_request) Has been cancelled Details
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2024-02-15 16:40:18 +03:00
Dmitrii Stepanov d1578a728f [#121] scenarios: Fix tags doc
DCO action / DCO (pull_request) Successful in 3m49s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 6m18s Details
Tests and linters / Tests with -race (pull_request) Successful in 6m56s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 2m53s Details
Tests and linters / Lint (pull_request) Successful in 2m25s Details
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-02-08 10:10:09 +03:00
Dmitrii Stepanov 5cfb958a18 [#121] scenarios: Add info about Grafana annotations
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-02-08 10:10:09 +03:00
Andrey Berezin 47fc031028 [#125] Adding acl to container and bucket creation
DCO action / DCO (pull_request) Has been cancelled Details
Tests and linters / Lint (pull_request) Has been cancelled Details
Tests and linters / Tests (1.20) (pull_request) Has been cancelled Details
Tests and linters / Tests (1.21) (pull_request) Has been cancelled Details
Tests and linters / Tests with -race (pull_request) Has been cancelled Details
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2024-02-05 18:56:36 +03:00
Dmitrii Stepanov 965dcdcbe7 [#119] scenarios: Add `Metrics export` section to docs
DCO action / DCO (pull_request) Successful in 52s Details
Tests and linters / Lint (pull_request) Successful in 2m14s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 2m7s Details
Tests and linters / Tests with -race (pull_request) Successful in 9m56s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 11m43s Details
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-01-26 10:39:26 +03:00
Dmitrii Stepanov e9edca3e79 [#119] metrics: Refactor custom metrics
Add `data` metrics to measure payload rate.
Rename `total` metrics to `success`, because these metrics count
success operations count but not total operations count.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-01-26 10:39:26 +03:00
Dmitrii Stepanov 604982de3e [#119] metrics: Allow to add custom tags
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-01-26 10:31:54 +03:00
Evgenii Stratonikov 029af2a865 [#114] local: Fix payload type after recent refactoring
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-24 16:15:24 +00:00
Dmitrii Stepanov 4ff87f9bf6 [#122] preset_grpc: Allow specify `--local` without value
DCO action / DCO (pull_request) Successful in 1m17s Details
Tests and linters / Lint (pull_request) Successful in 3m40s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 3m45s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 3m44s Details
Tests and linters / Tests with -race (pull_request) Successful in 4m7s Details
Now `--local` is flag, so it is possible to specify `--local`
instead of `--local True` or '--local False'.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-01-24 16:28:44 +03:00
Evgenii Stratonikov 339e4e52ec [#114] .forgejo: Add golanci-lint workflow
DCO action / DCO (pull_request) Successful in 1m7s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 2m13s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 2m28s Details
Tests and linters / Tests with -race (pull_request) Successful in 3m16s Details
Tests and linters / Lint (pull_request) Successful in 4m25s Details
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-12 19:35:26 +03:00
Evgenii Stratonikov 636a1e9290 [#114] internal: Resolve linter issues
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-12 19:29:16 +03:00
Evgenii Stratonikov d8af19cc83 [#114] datagen: Remove calcHash parameter in GenPayload()
Hash calculation is now done on-demand with a method call.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-12 19:29:16 +03:00
Evgenii Stratonikov 4544ec616b [#114] datagen: Allow to generate streaming payloads
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-12 19:29:16 +03:00
Evgenii Stratonikov 74121bb387 [#114] datagen: Refactor payload generation
Return an interface which can be converted to `io.Reader` as well as
report payload size and hash.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-12 19:29:16 +03:00
Evgenii Stratonikov 17ace8a73d [#117] .gitignore: Add __pycache__
DCO action / DCO (pull_request) Successful in 1m14s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 2m24s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 2m33s Details
Tests and linters / Tests with -race (pull_request) Successful in 3m57s Details
It is created after preset script execution.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-12 13:19:03 +03:00
Evgenii Stratonikov 14a5eac5b1 [#117] scenarios: Refactor data generator construction
1. Make it easier to change new parameters.
2. Fix a bug where the generator was created even for read-only
   scenarios.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-12 13:19:03 +03:00
Evgenii Stratonikov 278b234753 [#117] scenarios: Provide all parameters to datagen.generator()
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-12 13:18:59 +03:00
Dmitrii Stepanov 0e06020118 [#107] preset_grpc: Allow to create local containers
DCO action / DCO (pull_request) Successful in 1m2s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 1m53s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 2m2s Details
Tests and linters / Tests with -race (pull_request) Successful in 3m0s Details
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-12-15 16:57:05 +03:00
Dmitrii Stepanov bc47d66316 [#106] xk6: Allow to set max total size in local scenarios
DCO action / DCO (pull_request) Successful in 1m8s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 1m49s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 2m1s Details
Tests and linters / Tests with -race (pull_request) Successful in 3m7s Details
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-12-15 14:07:35 +03:00
Dmitrii Stepanov eeededfc18 [#106] go.mod: Update frostfs-node version
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-12-14 11:35:09 +03:00
Dmitrii Stepanov 3574361f2e [#104] s3local: Use default HTTP client instead of requests
DCO action / DCO (pull_request) Successful in 1m51s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 2m55s Details
Tests and linters / Tests with -race (pull_request) Successful in 3m20s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 3m33s Details
`requests` lib is not default, so it can be unavailable.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-11-17 14:33:32 +03:00
m.malygina 48a95bc50b remove http from s3 multipart upload load scenario, protocol would be set in endpoint parameter
DCO action / DCO (pull_request) Has been cancelled Details
Tests and linters / Tests (1.20) (pull_request) Has been cancelled Details
Tests and linters / Tests (1.21) (pull_request) Has been cancelled Details
Tests and linters / Tests with -race (pull_request) Has been cancelled Details
Signed-off-by: m.malygina <m.malygina@yadro.com>
2023-10-27 13:22:38 +03:00
Anton Nikiforov 26f5262b3d [#90] Support config folder together with config file
Tests and linters / Tests (1.20) (pull_request) Successful in 1m46s Details
Tests and linters / Tests with -race (pull_request) Successful in 2m9s Details
DCO action / DCO (pull_request) Successful in 3m26s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 8m10s Details
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2023-10-25 16:48:29 +03:00
Evgenii Stratonikov 95ce6f1162 [#96] .forgejo: Copy tests workflow from node
Tests and linters / Tests (1.21) (pull_request) Successful in 2m28s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 2m42s Details
Tests and linters / Tests with -race (pull_request) Successful in 2m51s Details
DCO action / DCO (pull_request) Successful in 3m18s Details
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-10-19 11:45:10 +03:00
Evgenii Stratonikov 27db0ac943 [#96] .forgejo: Fix DCO action
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-10-19 11:43:52 +03:00
Evgenii Stratonikov e970e52eea [#96] .forgejo: Move workflows folder from .github
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-10-19 11:43:52 +03:00
Andrey Berezin 1311051f60 [#99] Adding read age param to improve k6 runs stability
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-02 20:08:43 +03:00
Anton Nikiforov 7db7751334 [#95] Allow to use wallet from config file for frostfs-cli
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2023-08-23 15:01:53 +03:00
Andrey Berezin bf884936a7 [#91] Improve logging for preset
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-08-16 08:25:03 +00:00
Airat Arifullin 108e761639 [#93] go.mod: Update go.k6.io/k6 package to patched version
* The update fixes bug with k6 build

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2023-08-11 18:52:14 +03:00
Airat Arifullin 5b1793f248 [#30] report: log start and end time of load scenario
Signed-off-by: Airat Arifullin a.arifullin@yadro.com
2023-07-26 14:54:59 +00:00
Andrey Berezin 4ef3795e04 [#84] preset: fix typo
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-07-21 06:55:40 +00:00
Dmitrii Stepanov 704c0f06bc [#25] selector: Remove next object timeout
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-07-20 15:01:57 +03:00
Dmitrii Stepanov 0dc0ba1704 [#25] xk6: Read objects from registry for S3 tests
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-07-20 10:01:41 +03:00
Dmitrii Stepanov 3c26e7c917 [#25] xk6: Read objects from registry for gRPC tests
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-07-20 10:01:34 +03:00
Denis Kirillov 50e2f55362 [#80] Add dump registry util
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-07-19 15:57:39 +03:00
Denis Kirillov 77d3dd8d6e [#80] Support parallel multipart
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-07-19 10:44:44 +03:00
Andrey Berezin 6182d47b43 [#81] remove schema from preset_s3 and k6 load s3 scenarios 2023-07-14 11:36:10 +00:00
Anton Nikiforov ff6814e15d [#72] Add option `--prepare-locally`
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2023-07-07 13:16:54 +03:00