Commit graph

215 commits

Author SHA1 Message Date
anastasia prasolova
7a21456201 [#184]: neofs verbs divided from neofs.py; HEAD responses are now
proccessed as JSON

Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-04-02 00:08:41 +03:00
Elizaveta Chichindaeva
e5d6662905 [#162] eACL: Create eACL with neofs-cli
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-03-25 14:57:01 +03:00
anastasia prasolova
d66ae5b7fc Refactored Head object operation: removed placeholders for optional
parameters; JSON output set as a default

Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-03-22 16:43:24 +03:00
Alex Vanin
0ef41a8495 Ignore neofs-cli progress bar when parsing output 2022-03-22 16:35:53 +03:00
anastasia prasolova
b27159b417 s3_gate_object refactoring
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-03-15 11:54:25 +03:00
anastasia prasolova
2b51542ca2 fixes and refactoring in HTTP and S3 tests
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-03-14 10:16:06 +03:00
anastasia prasolova
40db81216a timeout on "make up" increased to 120 sec
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-03-10 13:30:34 +03:00
23ed8966ec
robot: Use hyphens in hostnames (#175)
Signed-off-by: Evgenii Stratonikov <evgenii@nspcc.ru>

Co-authored-by: Evgenii Stratonikov <evgenii@nspcc.ru>
2022-03-04 16:37:24 +03:00
Elizaveta Chichindaeva
f3fc070cc9 [#171] make up: Error report
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-02-25 13:24:26 +03:00
anastasia prasolova
e7dde52a31 [#128]: mainnet block time adjusted to devenv
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-02-17 18:22:15 +03:00
Elizaveta Chichindaeva
0d86352cbe [#163] Setup and Teardown restart dev-env
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-02-04 19:08:31 +03:00
Elizaveta Chichindaeva
bd9507a19e [#169] Replace --wif with --wallet`
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-02-02 18:12:45 +03:00
Elizaveta Chichindaeva
8216ab71fa [#165] Full path to neofs-cli
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-01-13 14:54:37 +03:00
Elizaveta Chichindaeva
38e6776fc1 [#105] Change common ACL constants
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-12-30 18:27:13 +03:00
anastasia prasolova
da64379eef initializing morph contracts on demand
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-12-30 17:23:56 +03:00
Elizaveta Chichindaeva
18c30c39ff [#334] Move common_steps*
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-12-10 19:24:17 +03:00
Elizaveta Chichindaeva
26f98c2cab Delete unnecessary file
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-12-10 16:52:37 +03:00
Elizaveta Chichindaeva
8a2f1cf50c [#64] Create container_session_token.robot test
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-12-10 16:40:15 +03:00
Elizaveta Chichindaeva
d6a73a2b23 [#103] Test to check eACL filter keys for objects
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-11-24 16:54:00 +03:00
Elizaveta Chichindaeva
dcab3a5745 [#115] Sticky Bit with SYSTEM group
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-11-22 12:13:22 +03:00
Elizaveta Chichindaeva
075ddfbd43 [#150] CID in replication.robot output
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-11-12 11:17:42 +03:00
Alex Vanin
9607396894 Fix config file in accounting test
Instead of `rpc`, v0.26.0 requires `rpc-endpoint`.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-11-02 15:29:32 +03:00
anastasia prasolova
6bff5f12e3 fixed #147
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-11-02 15:28:28 +03:00
anastasia prasolova
e14ba001a9 nspcc-dev/neofs-testcases#143: error message extended
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-11-01 13:54:30 +03:00
Alex Vanin
51b376d2bf robot: Support neofs-cli v0.26.x
Latest version of neofs-cli uses `--endpoint`
key for control service.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-10-26 17:55:09 +03:00
Elizaveta Chichindaeva
42ba6ac462 (#122) neofs-cli control drop-objects test case
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-10-11 11:40:52 +03:00
Anatoly Bogatyrev
1fe540fce9
Add replication test with deny eACL (#133)
* Add replication test with deny eACL
2021-10-07 14:28:31 +03:00
Elizaveta Chichindaeva
36107fcc4c (#108) HTTP error logs for S3
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-10-04 09:29:37 +03:00
Elizaveta Chichindaeva
636eb65e5c (#93) Add netmap_control.robot; fix resources for netmap tets; remove _get_storage_nodes
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-09-30 19:32:04 +03:00
anastasia prasolova
92488f0bec receive balance contract hash from NNS
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-30 18:44:45 +03:00
anastasia prasolova
54835b5ee5 changed pythonpath for virtualenv; shortened test libraries imports
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-28 13:58:08 +03:00
anastasia prasolova
51e3e52f62 fixed "Form eACL json common file" keyword
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-24 18:34:52 +03:00
EliChin
08108f6c24 (#98) Introduce Prepare Wallet And Deposit keywords instead of Generate Keys
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-09-22 14:16:14 +03:00
anastasia prasolova
7db9f15633 Fixed ACL import ; made "Verify Split Chain" work
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-21 13:39:06 +03:00
EliChin
ced05475d2 (#89) S3 Bucket and S3 Object tests
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-09-20 18:04:59 +03:00
anastasia prasolova
7552a742f3 (#116): fixed eACL tests; refactored acl keywords
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-15 18:25:29 +03:00
anastasia prasolova
19f9d97328 (#102): neofs-cli accounting balance test
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-10 15:03:29 +03:00
EliChin
f3f3f00d4a (#84) try-catch for --ttl 1
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-09-09 15:42:18 +03:00
EliChin
7638c10a20 (#95) Detailed error logs after subprocess.run; f-strings in neofs.py
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-09-06 10:17:45 +03:00
anastasia prasolova
694c31330e updated readme; misprints fixed
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-03 15:12:45 +03:00
anastasia prasolova
be281428b5 Waiting for container to appear in network; decrease complex object size
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-03 13:28:12 +03:00
EliChin
fe99c143aa (#87) Service tests update
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-09-01 16:58:22 +03:00
EliChin
ea6a01b3de (#97) Common ACL variables
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-08-31 12:55:33 +03:00
anastasia prasolova
11c4f21faa Few test fixes
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-08-31 12:32:28 +03:00
EliChin
a26118e581 (#88) Delete Container test
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-08-27 11:36:35 +03:00
EliChin
cc9780f4c5 Set common placement rule
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-08-25 15:28:33 +03:00
EliChin
14445dd5e4 Fix networkinfo_rpc_method
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-08-09 18:19:09 +03:00
EliChin
8e48234e1a (#70) Decode json Head Object output
Signeoff-by: EliChin <elizaveta@nspcc.ru>
2021-08-09 09:56:05 +03:00
EliChin
5f1fc77cb2 Add "try" and "exception" block in Create Container keyword
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-07-30 11:06:05 +03:00
anastasia prasolova
57fc4874e8 (#67): replaced sleeps with tick new epoch
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-07-23 20:05:42 +03:00
EliChin
abc7845610 Add container_attributes.robot test
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-07-20 18:44:50 +03:00
EliChin
692d6c4e20 Fix Create container keyword bug
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-07-20 15:15:26 +03:00
anastasia prasolova
d1fdd17e9a adjusted locodes
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-07-19 19:37:44 +03:00
EliChin
1e7ffba6e4 (#70) Add object_attributes.robot test
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-07-19 19:01:51 +03:00
EliChin
1c2fd5cead (#37) Test networkinfo_rpc_method.robot
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-07-14 14:20:06 +03:00
anastasia prasolova
0736cae28c move to python3.8
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-07-12 19:12:27 +03:00
anastasia prasolova
1f0749a561 #69 replace --key with --wif; fixes for acl testsuites
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-07-01 11:10:03 +03:00
anastasia prasolova
a3f7583706 static eacl tables
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-06-25 11:52:30 +03:00
anastasia prasolova
28af257f8f (#66) TEMP_DIR -> ASSETS_DIR
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-06-18 18:15:43 +03:00
anastasia prasolova
8d50305982 "Neofs Deposit" moved to keywords repo and changed its signature
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-06-17 13:26:27 +03:00
anatoly-bogatyrev
e0b0cbf823
Update testcases for NeoFS 0.20.0 version and fix issues (#62)
* update testcases for NeoFS 0.20.0 version
* fix issues
2021-05-26 17:14:46 +03:00
anastasia prasolova
17047720fd payment keywords moved to keywords repo (#60)
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-05-11 14:49:43 +03:00
anastasia prasolova
d841f3f9ef "create container" -> "prepare container" misprint fixed
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-05-07 14:46:04 +03:00
Anastasia Prasolova
9c1d4b9b07
single keyword for wallet initialization (#54)
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-04-26 20:48:43 +03:00
Anastasia Prasolova
2f31e79327
#56: create temporary directory on testsuite setup
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-04-26 13:30:40 +03:00
anatoly-bogatyrev
286a5ade31
#55: 'Get Docker Logs' keyword update 2021-04-25 13:43:39 +03:00
EliChin
d03e81d4ab
All environment variables. (#51)
* All environment variables.

* All environment variables.
2021-04-20 16:11:27 +03:00
EliChin
f72f1c6bbf
Config file optimized (#50)
* With all envvar added.

* neofs_int_vars.py deleted

* Variables put in common.py

* Variables put in common.py

* Update common.py

* Update common.py

* Update common.py

* Update common.py

* Update common.py

* Update common.py

* Update common.py
2021-04-20 12:51:53 +03:00
anatoly-bogatyrev
7a4ca9b7cc
Object expiration test case (#47)
* Object expiration test case has been added
* Common steps have been separated from object test cases
* Timeouts have been moved to pre-declared variables
2021-04-06 17:18:48 +03:00
anatoly-bogatyrev
4ac2f11300
Update to work with the latest NeoFS build and ACL cases decomposition (#45)
* Update to work with the latest NeoFS build
* ACL cases decomposition
* Sleep has been added to correct work with ACL cache
2021-04-02 17:29:41 +03:00
EliChin
f70e0852aa
Temporary Directory created 2021-03-29 13:18:24 +03:00
EliChin
36e6cde527
ScripHash misprint has been corrected to ScriptHash (#39) 2021-03-09 13:08:40 +03:00
anatoly-bogatyrev
0a47c0a815
Additional linking object search (#38)
* Withdraw test case improvements
* Additional linking object requests to detect issue details with unreturned Linking object
2021-02-20 17:05:03 +03:00
anatoly-bogatyrev
49cc629412
hotfix (#36)
* hotfix for incorrect request due to ACL restriction
2021-02-16 18:05:19 +03:00
anatoly-bogatyrev
1cd77ddd55
Feature/storagegroup acl (#33)
* update contracts to the latest NeoFS version
* update neo-go command execution to the NeoGo v0.93.0
* Add Storagegroup basic ACL check to the basic ACL test cases
* update expected values of GAS in the withdraw testcase
* update netmap test case to work with LOCODE
2021-02-16 14:56:52 +03:00
anatoly-bogatyrev
e2983c8539
Add storagegroup complex test case (#32)
* storage group complex test case has been added
* timeouts for several commands have been increased
2021-02-12 00:34:44 +03:00
anatoly-bogatyrev
346809005f
Feature/storage groups (#29)
* New test case and keywords for the storage group have been added
* Timeout for object PUT operation has been increased up to 120 seconds
* Object operations keywords have been renamed
2021-02-10 21:53:26 +03:00
anatoly-bogatyrev
4cb4121d60
Feature/code clearness (#27)
* replication testcase has been remade #19
* Split large complex test cases into multiple test cases #18
* Add the steps to check the viewing of previous epochs during GET operations #23
* Updating all test cases according to NeoFS updates
* Code improvements and bug fixes
2021-02-08 08:05:17 +03:00
anastasia prasolova
e922b15082 using neo-go directly instead of docker-exec in container 2021-02-03 12:25:37 +03:00
anastasia prasolova
87325aff7c paths to neofs-cli and cdn-authmate parameterized; requirements.txt
added
2021-01-22 13:46:40 +03:00
anatoly-bogatyrev
fb5da3dc21
Feature/acl extension operations (#17)
- Add bearer token coverage with the request filter #8
- Add eACL coverage with the request filter #9
- Add Bearer token coverage of the case with different permissions for operations in the complex operations #15 (Check Сompound Operations)
- Add eACL token coverage of the case with different permissions for operations in the complex operations
- Add latest nodes and services logs to the artifacts in case of failure #10
- Prepare neofs-testcases repository for the public #11 - new eACL and bearer token generation by rules.
- Readme update
- Fixes and additional extensions of the existed test cases
- Large file size has been changed from 20mb to 10mb
2020-12-29 22:55:33 +03:00
anatoly-bogatyrev
708bf2a012
NeoFS Yeouido testcases (#16)
* Update Header Verification with new CLI full headers output #14
* Add verification for the Link headers for complex objects #13
* Add Tombstone verification #6
* Support NeoFS Yeouido #7
2020-12-24 01:38:16 +03:00
anatoly-bogatyrev
bb3c2bd208
Testcases to cover S3 in the smoke test and updates in accordance with NeoFS 0.13.0 have been updated (#5)
* Coverage of the S3 gateway and "S3-gate - NeoFS - HTTP-gate" interaction has been added to the Selectel smoke test.
2020-12-16 14:19:24 +03:00
anatoly-bogatyrev
a20ec58614
Add S3-gate testcase (#4)
* Add S3-gate testcase
2020-12-11 14:35:02 +03:00
anatoly@nspcc.ru
b5166662a4 fix 2020-12-04 15:34:06 +03:00
anatoly@nspcc.ru
208602d963 fix comments 2020-12-04 15:32:29 +03:00
anatoly@nspcc.ru
bdffe9d2dc add http-gate testcase, fix issue with binary files in the get from gate. 2020-12-04 15:28:59 +03:00
anatoly@nspcc.ru
522de42ab6 Cleanup teardown has been added. Fixes. Added ACL bearer token scrnario for filter with user headers. 2020-12-03 02:08:05 +03:00
anatoly@nspcc.ru
1d77791ef6 fix public keys in eACL file to base64 2020-12-02 10:51:15 +03:00
anatoly@nspcc.ru
b032f6d447 Update testcases by result of NeoFS bug fixing. 2020-12-02 00:48:20 +03:00
anastasia prasolova
3d355ac117 Merge remote-tracking branch 'origin/master' into feature/INFRA-236 2020-11-30 13:43:19 +03:00
anastasia prasolova
0c4a035e22 INFRA-236 selectel cdn smoke tests 2020-11-30 13:33:05 +03:00
anatoly@nspcc.ru
e0cf6f3a2b update 2020-11-29 07:30:45 +03:00
anatoly@nspcc.ru
017fedffed update 2020-11-29 07:28:01 +03:00
anatoly@nspcc.ru
9e786f385d update 2020-11-29 07:23:56 +03:00
anatoly@nspcc.ru
f4d1f0b0fc fix 2020-11-29 06:54:18 +03:00
anatoly@nspcc.ru
54df07fde7 update 2020-11-29 06:44:38 +03:00
anatoly@nspcc.ru
8774839dbe update 2020-11-29 03:46:53 +03:00
anatoly@nspcc.ru
61358128bd update readme 2020-11-29 01:16:52 +03:00
anatoly@nspcc.ru
0857de8f77 update 2020-11-28 06:41:35 +03:00
anatoly@nspcc.ru
b7a30c763d update 2020-11-28 06:16:10 +03:00
anatoly@nspcc.ru
48813bc519 update 2020-11-27 03:33:11 +03:00
anatoly@nspcc.ru
776c2d7b90 update 2020-11-26 11:32:18 +03:00
anatoly@nspcc.ru
3e97ea79ed update for API2 - DRAFT 2020-11-18 18:15:57 +03:00
Anatoly Bogatyrev
0ecfd11821 Merged in feature/bearer (pull request #7)
Feature/bearer

* Bearer Token testcase, Netmap testcase, Fix of existed test cases
‌
2020-09-01 03:23:17 +00:00
anatoly@nspcc.ru
d9ceb25233 eACL updated version has been added 2020-08-20 01:31:16 +03:00
anatoly@nspcc.ru
da334c3bc1 update 2020-08-14 01:09:00 +03:00
anatoly@nspcc.ru
e61f0f7726 remove payment steps from object test 2020-07-15 00:36:12 +03:00
anatoly@nspcc.ru
d45d511f24 add acl testcase 2020-07-14 03:05:22 +03:00
anatoly@nspcc.ru
8c758ca773 update devenv with morph support 2020-07-08 19:25:54 +03:00
anatoly@nspcc.ru
560b4d9ab1 update: get extra hosts from make instead of docker 2020-07-07 02:11:41 +03:00
Anatoly Bogatyrev
029693653e Merged in features/neo-rpc (pull request #2)
Object user scenarios and DevEnv integration

* Object user scenarios and DevEnv integration.
2020-07-01 02:28:31 +00:00
anastasia prasolova
b23a49211b INFRA-144 CI for test image ; readme 2020-05-20 15:26:13 +03:00
anastasia prasolova
6dd650100c INFRA-144 repo dockerfile 2020-05-15 20:00:02 +03:00
anastasia prasolova
25810a756d INFRA-140 test prototypes 2020-04-30 16:14:32 +03:00