Commit graph

319 commits

Author SHA1 Message Date
28a7748398 Update regex to skip panic in OID and CID
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-06 17:13:26 +03:00
3455c5360d add 2 cases for test object lock 2023-09-01 09:06:46 +00:00
9456a0bb28 Update regex to catch more errors 2023-08-30 11:32:59 +00:00
841d6674f6 Update fixtures to be properly reflected in the allure report 2023-08-29 16:43:16 +03:00
ee110e5baf change hostname
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-08-24 08:30:31 +03:00
da31a82126 Add replace in assert policy and fix policy
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-08-17 11:54:13 +03:00
e70532d6e0 New test Split Brain
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-08-16 11:53:14 +03:00
Yaroslava Lukoyanova
4a17bc7b9c Marked HTTP GW cases with PUT call with separate pytest mark 2023-08-09 08:08:23 +00:00
247bc5ba8d Update name for missed S3 test 2023-08-08 14:56:46 +03:00
Yaroslava Lukoyanova
0ae0cee522 Small fixes and skips for http gw test cases 2023-08-07 14:46:38 +00:00
e0a9d687f2 Update test titles for most cases 2023-08-07 12:43:16 +03:00
d40e875091 regex for versions ready 2023-08-04 09:49:59 +00:00
6449264dcf Changes for object size usage
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-08-02 14:54:03 +03:00
05b5f7d133 Mark replication test as failover and add fixture to return nodes 2023-07-31 12:27:12 +03:00
63c4ac5ac6 Add simple replication test
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2023-07-28 08:29:32 +00:00
49e1019a2c Fix method name
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-07-27 12:05:49 +03:00
Yaroslava Lukoyanova
0e1d34b2f7 Added http hostname as a header to all http calls 2023-07-25 14:08:26 +03:00
Yaroslava Lukoyanova
89a31a695b Skipped HTTP GW cases with PUT 'cause of feature deprecation 2023-07-24 06:56:29 +00:00
f4a267fe81 Changed fixture restore network
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-07-12 12:05:36 +03:00
dc13252ff2 Add logs
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-27 15:39:00 +00:00
Yaroslava Lukoyanova
d97d852940 Deprecated bearer-rules parameter 2023-06-26 17:23:29 +03:00
79a60c5e5b Temp disable curl upload for complex objects
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-06-23 17:50:18 +03:00
5acf19592a Fix s3_client fixture
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-22 10:30:09 +00:00
ead55f657f Delete object after put to container
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-19 07:43:48 +03:00
01f4c5217d Delete wait replication steps for tests
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-15 09:11:19 +03:00
Yaroslava Lukoyanova
c2cd9ba887 Added case for not ignoring unhealthy tree endpoints 2023-06-14 08:28:39 +00:00
6f77a6ab08 Fix test shutdown node
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-09 09:21:56 +03:00
Yaroslava Lukoyanova
dd7f91e66b Add case for loss of pilorama on one node 2023-06-05 10:39:36 +03:00
Yaroslava Lukoyanova
c071f54b56 Add test case for loss of one node 2023-06-01 14:24:48 +03:00
a0587438c4 Add write-cache loss test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-31 18:31:35 +03:00
27cf9bb1bd Add metabase loss test 2023-05-30 16:45:23 +03:00
Yaroslava Lukoyanova
d0660d626b Fixture for restore stopped storage nodes in test_failover_storage 2023-05-29 17:50:02 +00:00
Yaroslava Lukoyanova
e36e18dc57 Fixed typo in test_s3_delete_versioning case assertion 2023-05-25 15:58:04 +00:00
Yaroslava Lukoyanova
8d50407439 Add pilorama loss test cases, marked as skipped 2023-05-23 17:42:52 +03:00
Yaroslava Lukoyanova
520f9fe5b5 Add test cases for S3 blobovnicza and fstree loss 2023-05-19 12:41:57 +00:00
2d174831ab Add wait block for tick epoch and add version testlib
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-05-19 15:30:29 +03:00
5be478e577 Test for invalid location constraint
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-05-18 13:49:48 +00:00
856e5afa60 [#41] lifetime: Fix lifetime test
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-05-17 12:33:04 +03:00
8a3d617c19 Fix tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-15 20:20:27 +03:00
c77123f301 Move shared code to testlib
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-15 12:59:33 +03:00
Yaroslava Lukoyanova
b13f0ec33d Added new test cases for s3 gate, delete marker feature 2023-05-12 08:48:28 +00:00
cbe8847231 Node argument made optional for epoch ticks
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-05-10 11:53:47 +03:00
a6e1190f23 Add tests for node shutdown and object replication integrity
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-05-05 08:18:46 +00:00
bbf9ea7143 Use proper name for binary
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-03 16:23:05 +03:00
532d58abc7 Add check for Errors while deleting objects 2023-05-02 11:11:35 +03:00
e86ed765b1 Add test for putting object while one node is stopped
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-04-20 17:40:30 +03:00
1e6d3e77f9 Divide test_expiration_epoch_in_http into several (parametrized)
Two tests now checks if an expired object can be got.
X-Attribute-System-Expiration-Epoch -> X-Attribute-System-Expiration-Epoch
python3.9 -> 3.10 in .pre-commit-config.yaml

Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-04-13 14:19:15 +03:00
520ac116df Update multipart upload abort test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-04-06 21:47:08 +03:00
d355eccfd8 Add deletion 1001 objects test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-04-05 19:02:42 +03:00
b995bfca41 Fix s3 tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-29 19:59:14 +03:00
4779d2be88 update headers names
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-27 19:49:41 +03:00
5684d11408 Fix dataloss test
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-03-24 13:54:08 +00:00
bb831697f7 [#25] testcases: Fix test_static_session_search
Lists should be compared sorted
Enable test after bugfix

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-03-21 16:19:01 +03:00
2b950f41cd Add test cycles feature
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-20 19:03:29 +03:00
eb464f422c Add tests with empty map
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-03-17 17:15:01 +03:00
c3947b0716 Remove payments and storagegroupe tests
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-03-14 14:46:25 +00:00
c97855dcee Fix __FROSTFS__EXPIRATION*
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-03-14 16:24:29 +03:00
c997e23194 Updates for testcases
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-14 12:21:40 +03:00
cff0e0f23e Update session token tests related to expiration rules
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-13 17:05:24 +03:00
06dc226ef8 Add timeout for cli commands
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-09 14:41:38 +03:00
ac7dae0d2d Add timeout for cli commands
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-09 14:13:51 +03:00
4755a2e167 import fix for some helpers and steps
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-03-01 18:47:33 +03:00
Aleksei Chetaev
cb1b0c9bdd Fix issue with frostfs-authmate binnary name
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-28 11:48:06 +01:00
Aleksei Chetaev
aa145357f3 Fixing path to DevEnv
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-28 11:48:06 +01:00
Aleksei Chetaev
1fb08e36c3 Fixing comments changed by auto replace imports
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-28 11:48:06 +01:00
Aleksei Chetaev
ee0c2527f7 Change python to 3.10
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-28 11:48:06 +01:00
Aleksei Chetaev
52001dc23a Change all imports to imports from root and remove robot
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-28 11:48:06 +01:00
Aleksei Chetaev
13bc98eecc Fixing imports after move utils ti frostfs-testlib
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-27 11:44:19 +01:00
Aleksei Chetaev
d253e8f5fd Remove non used files from the repo 2023-02-27 11:44:19 +01:00
Aleksei Chetaev
7a742d57fc Move errors templates to testlib
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-27 11:44:19 +01:00
19809c5641 Rename to frostfs
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2023-02-17 16:31:07 +03:00
Aleskei Chetaev
9395a8003f Add assert_s3_acl
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2023-02-16 11:53:39 +03:00
850c0e77ec Remove wait_for_success for start/stop service methods
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2023-02-07 12:29:39 +03:00
fc6f9ac162 Update expected errors
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-01-24 13:26:50 +03:00
baf0b4dd0f Add waiting for epoch align for storage group lifetime test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-01-16 15:45:22 +03:00
c6ebe1d67d align all nodes to be in the same epoch
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2023-01-13 19:08:08 +03:00
a942464de6 Fix epoch duration in http test
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-30 13:40:10 +03:00
690323e85d http test with bearer token
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-29 12:42:03 +03:00
ced72602ef Add too many open files to logs analyzer
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-29 11:28:24 +03:00
4099413577 #478 Update lock tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-28 11:27:19 +03:00
1abf544433 Add support data and internal ips
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-12-28 11:26:22 +03:00
4f9294918d add system http system header test
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-28 10:10:13 +03:00
6209a61258 Unskip static session token tests
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-12-27 11:28:29 +03:00
Мария Малыгина
ad2eafd230 [fix] s3 load
Signed-off-by: Мария Малыгина <m.malygina@MacBook-Pro-Maria.local>
2022-12-26 18:08:22 +03:00
2151f0e446 Add await to delete container
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-12-26 17:30:36 +03:00
422636f68b Updates for local dev env runs
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-23 12:18:37 +03:00
5c4f6b6a7d new http test
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-21 17:07:29 +03:00
a2a234f1b2 Update range tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-20 11:26:51 +03:00
4f5aedebfe Fix wildcard flag value
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-16 15:17:02 +03:00
c7f832e77a Fix allure attaches for failover test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-16 11:51:48 +03:00
ee204528b8 fix lock_mode
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-12-15 16:44:18 +03:00
aa957639ec Fix policy test s3
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-12-14 14:07:24 +03:00
4003d0115c Fix s3 range tests
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-12-14 11:22:11 +03:00
f89d66817b Add drop locked objects tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-13 14:59:04 +03:00
2f04775fce Fix delete all objects in bucket
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-12-13 11:40:56 +03:00
3497f3b23a Add load_param file, delete old tests, new universal, parametrized test, add stop unused nodes function.
Signed-off-by: a.lipay <a.lipay@yadro.com>
2022-12-12 19:14:17 +03:00
15677e89eb Add load_param file, delete old tests, new universal, parametrized test, add stop unused nodes function.
Signed-off-by: a.lipay <a.lipay@yadro.com>
2022-12-12 19:14:17 +03:00
1bb640a0db Add load_param file, delete old tests, new universal, parametrized test, add stop unused nodes function.
Signed-off-by: a.lipay <a.lipay@yadro.com>
2022-12-12 19:14:17 +03:00
614031a53a Fix s3 object tests after remove obj size hardcode
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-12-09 14:45:30 +03:00
ddf6406e10 fix generate file in http test
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-09 14:35:43 +03:00