Commit graph

5268 commits

Author SHA1 Message Date
916814c466 Trigger CI on Alya, iteration 1
Some checks failed
Build / Build Components (push) Failing after 13s
DCO action / DCO (push) Failing after 14s
Pre-commit hooks / Pre-commit (push) Failing after 23s
Tests and linters / Lint (push) Failing after 22s
Tests and linters / Tests (push) Failing after 19s
Tests and linters / gopls check (push) Failing after 31s
Tests and linters / Tests with -race (push) Failing after 35s
Vulncheck / Vulncheck (push) Failing after 30s
Tests and linters / Staticcheck (push) Failing after 36s
Tests and linters / Run gofumpt (push) Failing after 33s
2024-12-25 18:12:57 +03:00
70108345cf Trigger CI on Alya, iteration 2
Some checks failed
DCO action / DCO (push) Failing after 39s
Build / Build Components (push) Failing after 42s
Pre-commit hooks / Pre-commit (push) Failing after 40s
Tests and linters / Lint (push) Failing after 39s
Tests and linters / gopls check (push) Failing after 37s
Tests and linters / Tests (push) Failing after 44s
Tests and linters / Tests with -race (push) Failing after 45s
Vulncheck / Vulncheck (push) Failing after 37s
Tests and linters / Staticcheck (push) Failing after 45s
Tests and linters / Run gofumpt (push) Failing after 41s
2024-12-25 17:58:54 +03:00
6448597840 Trigger CI on Alya, iteration 1
Some checks failed
Build / Build Components (push) Failing after 10s
Pre-commit hooks / Pre-commit (push) Failing after 18s
Tests and linters / Lint (push) Failing after 17s
DCO action / DCO (push) Failing after 23s
Tests and linters / Staticcheck (push) Failing after 18s
Tests and linters / Tests with -race (push) Failing after 26s
Tests and linters / Tests (push) Failing after 28s
Tests and linters / gopls check (push) Failing after 24s
Tests and linters / Run gofumpt (push) Failing after 46s
Vulncheck / Vulncheck (push) Failing after 43s
2024-12-25 17:58:52 +03:00
ed075d1d8b Trigger CI on Alya, iteration 2
Some checks failed
DCO action / DCO (push) Failing after 2m42s
Tests and linters / Run gofumpt (push) Successful in 2m51s
Pre-commit hooks / Pre-commit (push) Successful in 3m40s
Build / Build Components (push) Successful in 3m57s
Vulncheck / Vulncheck (push) Successful in 3m36s
Tests and linters / Tests (push) Successful in 3m58s
Tests and linters / Staticcheck (push) Successful in 4m25s
Tests and linters / Lint (push) Successful in 5m4s
Tests and linters / Tests with -race (push) Successful in 4m58s
Tests and linters / gopls check (push) Successful in 4m56s
2024-12-25 17:05:42 +03:00
55b416e0b9 Trigger CI on Alya, iteration 1
Some checks failed
DCO action / DCO (push) Failing after 1m29s
Tests and linters / Run gofumpt (push) Successful in 1m31s
Tests and linters / Tests (push) Successful in 3m20s
Pre-commit hooks / Pre-commit (push) Successful in 3m39s
Vulncheck / Vulncheck (push) Successful in 3m20s
Build / Build Components (push) Successful in 3m47s
Tests and linters / Staticcheck (push) Successful in 4m3s
Tests and linters / Tests with -race (push) Successful in 4m11s
Tests and linters / Lint (push) Successful in 4m18s
Tests and linters / gopls check (push) Successful in 4m11s
2024-12-25 17:05:40 +03:00
293947cd85 Trigger CI on Alya, iteration 10
Some checks failed
Tests and linters / Run gofumpt (push) Successful in 7m49s
Build / Build Components (push) Successful in 10m46s
Tests and linters / Tests (push) Successful in 8m58s
Tests and linters / Staticcheck (push) Successful in 8m51s
Vulncheck / Vulncheck (push) Successful in 7m29s
Tests and linters / Lint (push) Successful in 9m44s
Tests and linters / gopls check (push) Successful in 9m3s
Tests and linters / Tests with -race (push) Failing after 14m2s
Pre-commit hooks / Pre-commit (push) Failing after 14m48s
DCO action / DCO (push) Failing after 14m57s
2024-12-25 16:06:50 +03:00
7bf71add23 Trigger CI on Alya, iteration 9
Some checks failed
Tests and linters / Run gofumpt (push) Successful in 7m27s
Build / Build Components (push) Failing after 10m46s
Vulncheck / Vulncheck (push) Successful in 7m30s
Tests and linters / Tests with -race (push) Successful in 8m43s
Tests and linters / gopls check (push) Successful in 8m52s
Tests and linters / Staticcheck (push) Failing after 12m58s
Tests and linters / Tests (push) Failing after 13m8s
Tests and linters / Lint (push) Failing after 13m10s
Pre-commit hooks / Pre-commit (push) Failing after 14m46s
DCO action / DCO (push) Failing after 14m53s
2024-12-25 16:06:46 +03:00
e6b2d2799d Trigger CI on Alya, iteration 8
Some checks failed
Tests and linters / Tests with -race (push) Failing after 7m38s
Tests and linters / Run gofumpt (push) Successful in 8m55s
Vulncheck / Vulncheck (push) Successful in 9m37s
Pre-commit hooks / Pre-commit (push) Successful in 11m40s
Tests and linters / Staticcheck (push) Successful in 11m1s
Build / Build Components (push) Successful in 12m37s
Tests and linters / Lint (push) Successful in 12m25s
Tests and linters / Tests (push) Successful in 11m34s
Tests and linters / gopls check (push) Successful in 11m22s
DCO action / DCO (push) Failing after 12m41s
2024-12-25 16:06:42 +03:00
86ea02bd33 Trigger CI on Alya, iteration 7
Some checks failed
DCO action / DCO (push) Failing after 9m54s
Tests and linters / Run gofumpt (push) Successful in 9m16s
Tests and linters / Tests (push) Successful in 11m1s
Pre-commit hooks / Pre-commit (push) Successful in 12m25s
Tests and linters / Tests with -race (push) Successful in 12m58s
Tests and linters / Staticcheck (push) Successful in 12m55s
Tests and linters / gopls check (push) Successful in 12m58s
Build / Build Components (push) Successful in 14m33s
Tests and linters / Lint (push) Successful in 13m51s
Vulncheck / Vulncheck (push) Failing after 11m22s
2024-12-25 16:06:39 +03:00
782ea01ba8 Trigger CI on Alya, iteration 6
Some checks failed
DCO action / DCO (push) Failing after 8m13s
Pre-commit hooks / Pre-commit (push) Successful in 10m43s
Tests and linters / Tests with -race (push) Successful in 10m50s
Tests and linters / Run gofumpt (push) Successful in 9m45s
Tests and linters / gopls check (push) Successful in 11m1s
Tests and linters / Lint (push) Successful in 11m44s
Tests and linters / Staticcheck (push) Failing after 12m19s
Tests and linters / Tests (push) Failing after 12m43s
Build / Build Components (push) Successful in 14m24s
Vulncheck / Vulncheck (push) Successful in 11m44s
2024-12-25 16:06:35 +03:00
74ec7bd642 Trigger CI on Alya, iteration 5
Some checks failed
Tests and linters / Run gofumpt (push) Successful in 9m29s
Pre-commit hooks / Pre-commit (push) Successful in 10m28s
Tests and linters / Tests (push) Successful in 10m23s
Vulncheck / Vulncheck (push) Successful in 10m16s
Tests and linters / Staticcheck (push) Successful in 10m57s
Tests and linters / Lint (push) Successful in 12m12s
Tests and linters / gopls check (push) Successful in 11m50s
Tests and linters / Tests with -race (push) Failing after 13m16s
DCO action / DCO (push) Failing after 13m31s
Build / Build Components (push) Successful in 14m21s
2024-12-25 16:06:32 +03:00
3a794131b0 Trigger CI on Alya, iteration 4
Some checks failed
Tests and linters / Tests with -race (push) Failing after 6m11s
DCO action / DCO (push) Failing after 7m41s
Tests and linters / Run gofumpt (push) Successful in 9m26s
Pre-commit hooks / Pre-commit (push) Successful in 9m56s
Vulncheck / Vulncheck (push) Successful in 10m17s
Tests and linters / Staticcheck (push) Successful in 10m57s
Tests and linters / Lint (push) Successful in 11m22s
Tests and linters / gopls check (push) Successful in 11m57s
Tests and linters / Tests (push) Failing after 13m51s
Build / Build Components (push) Failing after 10m17s
2024-12-25 16:06:29 +03:00
9efd925faf Trigger CI on Alya, iteration 3
Some checks failed
DCO action / DCO (push) Failing after 3m47s
Tests and linters / Run gofumpt (push) Failing after 4m1s
Tests and linters / Tests (push) Successful in 7m3s
Vulncheck / Vulncheck (push) Failing after 7m13s
Pre-commit hooks / Pre-commit (push) Successful in 7m45s
Tests and linters / Staticcheck (push) Successful in 9m6s
Tests and linters / Lint (push) Successful in 9m21s
Tests and linters / Tests with -race (push) Successful in 10m40s
Tests and linters / gopls check (push) Successful in 10m55s
Build / Build Components (push) Successful in 12m28s
2024-12-25 16:06:27 +03:00
8774cdbe07 Trigger CI on Alya, iteration 2
Some checks failed
DCO action / DCO (push) Failing after 3m27s
Tests and linters / Run gofumpt (push) Successful in 4m28s
Tests and linters / Tests (push) Successful in 4m3s
Pre-commit hooks / Pre-commit (push) Successful in 5m55s
Tests and linters / Staticcheck (push) Successful in 6m7s
Tests and linters / Tests with -race (push) Successful in 6m35s
Tests and linters / Lint (push) Successful in 7m0s
Tests and linters / gopls check (push) Successful in 7m18s
Vulncheck / Vulncheck (push) Successful in 7m31s
Build / Build Components (push) Successful in 11m28s
2024-12-25 16:06:25 +03:00
adff5f2459 Trigger CI on Alya, iteration 1
Some checks failed
Vulncheck / Vulncheck (push) Failing after 1m46s
DCO action / DCO (push) Failing after 2m44s
Tests and linters / Run gofumpt (push) Successful in 3m5s
Tests and linters / Staticcheck (push) Successful in 5m15s
Tests and linters / Tests (push) Successful in 5m18s
Pre-commit hooks / Pre-commit (push) Successful in 6m12s
Tests and linters / Tests with -race (push) Successful in 6m19s
Tests and linters / gopls check (push) Successful in 6m36s
Tests and linters / Lint (push) Successful in 6m46s
Build / Build Components (push) Successful in 11m12s
2024-12-25 16:06:19 +03:00
20cb8fdb25 Trigger CI on Alya, iteration 6 2024-12-25 16:05:44 +03:00
c08c98def0 Trigger CI on Alya, iteration 5 2024-12-25 16:05:42 +03:00
8ddcde1a19 Trigger CI on Alya, iteration 4 2024-12-25 16:05:41 +03:00
c451fc53fd Trigger CI on Alya, iteration 3 2024-12-25 16:05:39 +03:00
9be67499c2 Trigger CI on Alya, iteration 2 2024-12-25 16:05:37 +03:00
e5ca7dced9 Trigger CI on Alya, iteration 1 2024-12-25 16:05:35 +03:00
edeb780960 Trigger CI on Alya, iteration 10
Some checks failed
Tests and linters / Lint (push) Failing after 17s
DCO action / DCO (push) Failing after 44s
Tests and linters / Run gofumpt (push) Successful in 28s
Vulncheck / Vulncheck (push) Successful in 2m12s
Build / Build Components (push) Successful in 2m51s
Pre-commit hooks / Pre-commit (push) Successful in 2m57s
Tests and linters / Staticcheck (push) Successful in 3m19s
Tests and linters / Tests (push) Successful in 3m31s
Tests and linters / gopls check (push) Successful in 3m44s
Tests and linters / Tests with -race (push) Successful in 4m15s
2024-12-25 15:58:23 +03:00
10a8a35d73 Trigger CI on Alya, iteration 9
Some checks are pending
Build / Build Components (push) Waiting to run
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Tests and linters / Lint (push) Waiting to run
Tests and linters / Tests (push) Waiting to run
Tests and linters / Tests with -race (push) Waiting to run
Tests and linters / Staticcheck (push) Waiting to run
Tests and linters / gopls check (push) Waiting to run
Tests and linters / Run gofumpt (push) Waiting to run
Vulncheck / Vulncheck (push) Waiting to run
2024-12-25 15:58:18 +03:00
7883c1a2ce Trigger CI on Alya, iteration 8
Some checks are pending
Build / Build Components (push) Waiting to run
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Tests and linters / Lint (push) Waiting to run
Tests and linters / Tests (push) Waiting to run
Tests and linters / Tests with -race (push) Waiting to run
Tests and linters / Staticcheck (push) Waiting to run
Tests and linters / gopls check (push) Waiting to run
Tests and linters / Run gofumpt (push) Waiting to run
Vulncheck / Vulncheck (push) Waiting to run
2024-12-25 15:58:15 +03:00
3b77717773 Trigger CI on Alya, iteration 7
Some checks failed
Build / Build Components (push) Waiting to run
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Vulncheck / Vulncheck (push) Waiting to run
Tests and linters / Lint (push) Has been cancelled
Tests and linters / Tests (push) Has been cancelled
Tests and linters / Run gofumpt (push) Successful in 31s
Tests and linters / Tests with -race (push) Successful in 2m9s
Tests and linters / Staticcheck (push) Successful in 3m43s
Tests and linters / gopls check (push) Successful in 4m4s
2024-12-25 15:58:11 +03:00
9fc89b2ff6 Trigger CI on Alya, iteration 6
Some checks failed
Pre-commit hooks / Pre-commit (push) Waiting to run
Tests and linters / Lint (push) Waiting to run
Tests and linters / Tests (push) Waiting to run
Build / Build Components (push) Has been cancelled
Tests and linters / Tests with -race (push) Waiting to run
Tests and linters / Staticcheck (push) Waiting to run
Tests and linters / gopls check (push) Waiting to run
Tests and linters / Run gofumpt (push) Waiting to run
DCO action / DCO (push) Has been cancelled
Vulncheck / Vulncheck (push) Waiting to run
2024-12-25 15:58:08 +03:00
c79b3ef8f1 Trigger CI on Alya, iteration 5
Some checks failed
Build / Build Components (push) Waiting to run
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Vulncheck / Vulncheck (push) Waiting to run
Tests and linters / Lint (push) Has been cancelled
Tests and linters / Tests (push) Has been cancelled
Tests and linters / Tests with -race (push) Has been cancelled
Tests and linters / Staticcheck (push) Failing after 14s
Tests and linters / Run gofumpt (push) Successful in 38s
Tests and linters / gopls check (push) Successful in 4m13s
2024-12-25 15:58:05 +03:00
865c1b7097 Trigger CI on Alya, iteration 4
Some checks are pending
Build / Build Components (push) Waiting to run
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Tests and linters / Lint (push) Waiting to run
Tests and linters / Tests (push) Waiting to run
Tests and linters / Tests with -race (push) Waiting to run
Tests and linters / Staticcheck (push) Waiting to run
Tests and linters / gopls check (push) Waiting to run
Tests and linters / Run gofumpt (push) Waiting to run
Vulncheck / Vulncheck (push) Waiting to run
2024-12-25 15:58:03 +03:00
7d41f27ccc Trigger CI on Alya, iteration 3
Some checks are pending
Build / Build Components (push) Waiting to run
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Tests and linters / Lint (push) Waiting to run
Tests and linters / Tests (push) Waiting to run
Tests and linters / Tests with -race (push) Waiting to run
Tests and linters / Staticcheck (push) Waiting to run
Tests and linters / gopls check (push) Waiting to run
Tests and linters / Run gofumpt (push) Waiting to run
Vulncheck / Vulncheck (push) Waiting to run
2024-12-25 15:58:00 +03:00
83c9851822 Trigger CI on Alya, iteration 2
Some checks failed
Build / Build Components (push) Waiting to run
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Vulncheck / Vulncheck (push) Waiting to run
Tests and linters / Lint (push) Has been cancelled
Tests and linters / Tests (push) Has been cancelled
Tests and linters / Tests with -race (push) Has been cancelled
Tests and linters / Staticcheck (push) Has been cancelled
Tests and linters / gopls check (push) Has been cancelled
Tests and linters / Run gofumpt (push) Successful in 38s
2024-12-25 15:57:58 +03:00
9a85fc85c8 Trigger CI on Alya, iteration 1
Some checks failed
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Tests and linters / Tests (push) Waiting to run
Tests and linters / Tests with -race (push) Waiting to run
Tests and linters / Staticcheck (push) Waiting to run
Tests and linters / gopls check (push) Waiting to run
Tests and linters / Run gofumpt (push) Waiting to run
Build / Build Components (push) Has been cancelled
Tests and linters / Lint (push) Has been cancelled
Vulncheck / Vulncheck (push) Has been cancelled
2024-12-25 15:57:55 +03:00
6369133877 alya: Trigger CI
Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
2024-12-25 15:56:27 +03:00
2832f44437 [#1531] metrics: Rename app_info metric
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-12-23 10:40:18 +00:00
7c3bcb0f44
[#1578] Makefile: Refill GAS with a single command in env-up
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-23 11:17:22 +03:00
e64871c3fd
[#1578] adm: Allow to transfer GAS to multiple recepients
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-23 11:17:22 +03:00
303cd35a01
[#1578] adm: Remove unnecessary comments in RefillGasCmd
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-23 11:17:22 +03:00
bb9ba1bce2
[#1578] adm: Remove bool flag from refillGas()
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-23 11:17:22 +03:00
db03742d33
[#1578] adm: Reword help message for morph refill-gas
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-23 11:17:22 +03:00
148d68933b [#1573] node: Simplify bootstrapWithState()
After #1382 we have no need to use lambdas.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-20 08:17:05 +00:00
51ee132ea3
[#1342] network/cache: Add node address to error multiClient
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-12-18 19:27:35 +03:00
226dd25dd0 [#1568] pilorama: Replace "containerID" with "container ID" in the error message
It is "container ID" in every other place.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-18 15:52:26 +00:00
bd0197eaa8 [#1568] storage: Remove "could not/can't/failed to" from error messages
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-18 15:52:26 +00:00
e44b84c18c
[#1569] cli: Remove unnecessary variable after refactoring
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-18 10:17:04 +03:00
bed49e6ace
[#1569] cli: Make --range flag required in object hash
Previously, `object head` was used if no range was provided.
This is wrong on multiple levels:
1. We print an error if the checksum is missing in header,
   even though taking hash is possible.
2. We silently ignore --salt parameter.
3. `--range` is required for Object.RANGEHASH RPC, custom logic for one
   specific usecase has no value.

So we make it required and make CLI command follow more closely
the FrostFS API.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-18 10:17:04 +03:00
df05057ed4 [#1452] container: Add ListStream method
* Added new method for listing containers to container service.
  It opens stream and sends containers in batches.

* Added TransportSplitter wrapper around ExecutionService to
  split container ID list read from contract in parts that are
  smaller than grpc max message size. Batch size can be changed
  in node configuration file (as in example config file).

* Changed `container list` implementaion in cli: now ListStream
  is called by default. Old List is called only if ListStream
  is not implemented.

* Changed `internalclient.ListContainersPrm`.`Account` to
  `OwnerID` since `client.PrmContainerList`.`Account` was
  renamed to `OwnerID` in sdk.

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-12-17 16:22:43 +03:00
b6c8ebf493 [#1453] container: Replace sort.Slice with slices.SortFunc
* Replaced `sort.Slice` with `slices.SortFunc` in
  `ListContainersRes.SortedIDList()` as it is a bit faster,
  according to 15102e6dfd.

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-12-17 13:33:43 +03:00
6e82661c35 [#1563] tree: Wrap only ChainRouterError erros with ObjectAccessDenied
* Such wrapping helps to differentiate logical check errors and server internal
  errors.

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-12-16 15:16:07 +03:00
1a091ea7bb [#1563] object: Wrap only ChainRouterError erros with ObjectAccessDenied
* Such wrapping helps to differentiate logical check errors and server internal
  errors.

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-12-16 15:15:25 +03:00
7ac3542714 [#1563] ape: Introduce ChainRouterError error type
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-12-16 15:12:30 +03:00
f0c43c8d80
[#1502] Use zap.Error for logging errors
Use `zap.Error` instead of `zap.String` for logging errors: change all expressions like
`zap.String("error", err.Error())` or `zap.String("err", err.Error())` to `zap.Error(err)`.
Leave similar expressions with other messages unchanged, for example,
`zap.String("last_error", lastErr.Error())` or `zap.String("reason", ctx.Err().Error())`.

This change was made by applying the following patch:
```diff
@@
var err expression
@@
-zap.String("error", err.Error())
+zap.Error(err)

@@
var err expression
@@
-zap.String("err", err.Error())
+zap.Error(err)
```

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-12-16 11:13:42 +03:00