Could not run tests locally #149

Closed
opened 2025-12-28 18:15:10 +00:00 by sami · 0 comments
Owner

Originally created by @carpawell on GitHub (Dec 22, 2022).

Originally assigned to: @abereziny on GitHub.

Got

AssertionError: Regex pattern 'code = 2048.*message = access to object operation denied' does not match "Command 'neofs-cli  storagegroup put --rpc-endpoint 's01.neofs.devenv:8080' --wallet '../neofs-dev-env/services/ir/az.json' --cid '3Y7udEVGbmgu3oq9WcWBQVrkaczMouK9hJysjmyg64vH' --members '48L894MpNdBr4cSCcGTSuQQ8sbj2SkNLumUXmnr47kcL' --lifetime 10' timed out after 30 seconds".

Some commands do not have any wallet config (so no password is provided and neofs-cli just freezes waiting for a password) while other commands do:

15:43:46 [INFO] Command: neofs-cli --config /home/carpawell/NSPCC/git/neofs-testcases/wallet_config.yml storagegroup put --rpc-endpoint 's01.neofs.devenv:8080' --wallet '/home/carpawell/NSPCC/git/neofs-testcases/TemporaryDir/b94d7986-1a5f-4509-b4d9-2c09edb717d4.json' --cid '3Y7udEVGbmgu3oq9WcWBQVrkaczMouK9hJysjmyg64vH' --members '48L894MpNdBr4cSCcGTSuQQ8sbj2SkNLumUXmnr47kcL' --lifetime 10
Success:
return code: 0 
Output: Storage group successfully stored
  ID: 2B1G7qcUm3o2Z5zqWyenbzKmNuuZfHGEkC3t5cayMpdf
  CID: 3Y7udEVGbmgu3oq9WcWBQVrkaczMouK9hJysjmyg64vH

15:43:46 [INFO] Executing command: neofs-cli  storagegroup put --rpc-endpoint 's01.neofs.devenv:8080' --wallet '../neofs-dev-env/services/ir/az.json' --cid '3Y7udEVGbmgu3oq9WcWBQVrkaczMouK9hJysjmyg64vH' --members '48L894MpNdBr4cSCcGTSuQQ8sbj2SkNLumUXmnr47kcL' --lifetime 10
15:44:16 [INFO] Command: neofs-cli  storagegroup put --rpc-endpoint 's01.neofs.devenv:8080' --wallet '../neofs-dev-env/services/ir/az.json' --cid '3Y7udEVGbmgu3oq9WcWBQVrkaczMouK9hJysjmyg64vH' --members '48L894MpNdBr4cSCcGTSuQQ8sbj2SkNLumUXmnr47kcL' --lifetime 10
Error:
return code:  
Output:

I tried pytest --alluredir my-allure-123 pytest_tests/testsuites/acl/storage_group/test_storagegroup.py.

Originally created by @carpawell on GitHub (Dec 22, 2022). Originally assigned to: @abereziny on GitHub. Got ``` AssertionError: Regex pattern 'code = 2048.*message = access to object operation denied' does not match "Command 'neofs-cli storagegroup put --rpc-endpoint 's01.neofs.devenv:8080' --wallet '../neofs-dev-env/services/ir/az.json' --cid '3Y7udEVGbmgu3oq9WcWBQVrkaczMouK9hJysjmyg64vH' --members '48L894MpNdBr4cSCcGTSuQQ8sbj2SkNLumUXmnr47kcL' --lifetime 10' timed out after 30 seconds". ``` Some commands do not have any wallet config (so no password is provided and `neofs-cli` just freezes waiting for a password) while other commands do: ``` 15:43:46 [INFO] Command: neofs-cli --config /home/carpawell/NSPCC/git/neofs-testcases/wallet_config.yml storagegroup put --rpc-endpoint 's01.neofs.devenv:8080' --wallet '/home/carpawell/NSPCC/git/neofs-testcases/TemporaryDir/b94d7986-1a5f-4509-b4d9-2c09edb717d4.json' --cid '3Y7udEVGbmgu3oq9WcWBQVrkaczMouK9hJysjmyg64vH' --members '48L894MpNdBr4cSCcGTSuQQ8sbj2SkNLumUXmnr47kcL' --lifetime 10 Success: return code: 0 Output: Storage group successfully stored ID: 2B1G7qcUm3o2Z5zqWyenbzKmNuuZfHGEkC3t5cayMpdf CID: 3Y7udEVGbmgu3oq9WcWBQVrkaczMouK9hJysjmyg64vH 15:43:46 [INFO] Executing command: neofs-cli storagegroup put --rpc-endpoint 's01.neofs.devenv:8080' --wallet '../neofs-dev-env/services/ir/az.json' --cid '3Y7udEVGbmgu3oq9WcWBQVrkaczMouK9hJysjmyg64vH' --members '48L894MpNdBr4cSCcGTSuQQ8sbj2SkNLumUXmnr47kcL' --lifetime 10 15:44:16 [INFO] Command: neofs-cli storagegroup put --rpc-endpoint 's01.neofs.devenv:8080' --wallet '../neofs-dev-env/services/ir/az.json' --cid '3Y7udEVGbmgu3oq9WcWBQVrkaczMouK9hJysjmyg64vH' --members '48L894MpNdBr4cSCcGTSuQQ8sbj2SkNLumUXmnr47kcL' --lifetime 10 Error: return code: Output: ``` I tried `pytest --alluredir my-allure-123 pytest_tests/testsuites/acl/storage_group/test_storagegroup.py`.
sami 2025-12-28 18:15:10 +00:00
  • closed this issue
  • added the
    bug
    U0
    labels
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-testcases#149
No description provided.