Commit graph

447 commits

Author SHA1 Message Date
d327e8149b [OBJECT-5670] test_container_creation_deletion_parallel extended
test_container_creation_deletion_parallel extended

Signed-off-by: Mikhail Kadilov m.kadilov@yadro.com
2023-12-20 15:00:53 +03:00
6ee9b70d50 [#175] Update maintenance steps
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-12-15 13:10:01 +03:00
e14579f026 [#173] Update network test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-12-13 13:14:50 +00:00
7b688af84d add reporter 2023-12-12 07:54:58 +00:00
9712644c38 [#171] Executive command changed
Added exception of error 'Too many requests' in log analyzer

Signed-off-by: Mikhail Kadilov m.kadilov@yadro.com
2023-12-11 15:07:16 +03:00
1c3460eecf Add issues invalid bind regex
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-12-08 12:31:53 +03:00
05d592e583 [#166] Fixed arguments order in get_filtered_logs
Fixed arguments order in get_filtered_logs

Signed-off-by: Mikhail Kadilov <m.kadilov@yadro.com>
2023-12-06 12:13:27 +03:00
71bb73a410 [#165] Fix test flow in case of skipped tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-12-05 11:33:59 +03:00
f6438c5b93 [#163] Added log exception
Added log exception

Signed-off-by: Mikhail Kadilov <m.kadilov@yadro.com>
2023-12-04 13:07:50 +00:00
426f999e92 update allure title 2023-12-01 14:48:48 +03:00
873d6e3d14 [#161] Improve logging
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-11-29 16:34:59 +03:00
3b071f02f7 [#157] Updates for skipped tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-11-27 13:47:02 +03:00
553fb1ec50 [#157] Move fixture
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-11-27 10:07:25 +00:00
858ca71e40 [#155] Allow to skip binaries version check
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-11-27 10:05:11 +00:00
da06c09ed0 [#150] Patterns for keys in logs added
Now regex can find kyes in logs

Signed-off-by: Mikhail Kadilov <m.kadilov@yadro.com>
2023-11-24 14:12:18 +00:00
269caf8e03 [#154] Add new test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-11-24 13:22:00 +03:00
fbefa422e8 [#153] Register services automatically
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-11-22 20:13:19 +00:00
ee71c17700 Delete kernel panic tests
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-11-22 15:12:35 +00:00
0e57ad79cd [#151] Updates after testlib
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-11-22 17:26:59 +03:00
850b8533a8 Move Time test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-11-20 14:29:19 +03:00
b0c9502bd3 Add Maintenance tests
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-11-20 13:49:54 +03:00
7da11807da Reduction of sanity tests
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-11-16 16:22:14 +03:00
86b0d1e0fe Add await
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-11-16 08:47:00 +03:00
aa0b556bd3 [#142] Renamed Github to Gitea in links
Some links changed to git.frostfs from github

Signed-off-by: Mikhail Kadilov <m.kadilov@yadro.com>
2023-11-15 12:21:26 +03:00
c37fedc04c discard_dynamic_title 2023-11-13 20:24:46 +03:00
44873ad0ca [#137] Some markers added
PytestUnknownMarkWarning excluded

Signed-off-by: Mikhail Kadilov <m.kadilov@yadro.com>
2023-11-13 11:49:08 +00:00
d82ce3626f Add autotest for resolving with bucket name and object name
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-11-13 10:26:27 +00:00
a2838455cc Update check Policy: REP 1 IN SPB REP 1 IN MSK REP 3 2023-11-13 10:02:29 +00:00
0f5f5da9d3 [#135]Fixed test title
Test title was wrong before

Signed-off-by: Mikhail Kadilov <m.kadilov@yadro.com>
2023-11-08 19:13:32 +03:00
d0ec778346 Change sanity makrs first step
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-11-02 14:06:31 +03:00
52ea27e01e Remove sanity from awsclient
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-11-02 14:06:31 +03:00
d7144c65bf Skip teardown if sanity in markexpr 2023-11-02 14:06:31 +03:00
e5093bf6ac Remove pytest hooks 2023-11-02 14:06:25 +03:00
975d06de40 Add sanity marks
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-11-02 13:58:16 +03:00
aab8b07726 Add time test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-11-02 08:43:22 +00:00
3944d9ff3b update test_container_creation_deletion_parallel 2023-11-01 10:43:43 +03:00
ae57672c7d [#129] Updates for failover
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-31 14:28:44 +03:00
e8289a3f83 Update check Policy: REP 1 IN SPB REP 1 IN MSK REP 3 2023-10-27 16:21:46 +03:00
00f312dab9 Update check filters results with 25% node the object appearance 2023-10-27 13:19:34 +03:00
eee02d1346 Update check filters results with 50% node the object appearance 2023-10-26 16:14:30 +00:00
e7e963b1a1 Delete non actual policy test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-26 10:37:54 +03:00
6749245206 Add fixture skip test interfaces
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-25 14:10:59 +00:00
d986fe2fb6 [#124] Use CSC in case of node shutdown
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-25 13:15:54 +00:00
6128468310 Update check filters results with 75% node the object appearance 2023-10-25 11:01:50 +03:00
69202cc703 Add test down interfaces
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-24 12:42:01 +00:00
009f2876a2 Update check filters results with 100% node the object appearance 2023-10-24 11:43:53 +03:00
c5f6d6cf2b [#120] increase 1sec wait to 15sec
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-23 19:42:23 +03:00
f159cd89f3 [#118] Add after-deploy healthcheck
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-23 15:04:41 +00:00
283149f837 Update check filters results with unique node the object appearance 2023-10-23 17:11:53 +03:00
af50be78e6 Update check filters results with one node the object appearance 2023-10-23 16:13:10 +03:00
cbbbc686f4 Update simple check the object appearance 2023-10-23 08:30:18 +00:00
b72f6daeb7 [#115] Make logs gathering parallel and in single command
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-20 18:50:02 +03:00
ad1254b4f3 [#113] Add new pattern
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-20 12:35:32 +03:00
2564f7421e Add test down all data interfaces
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-19 10:04:22 +00:00
bcc61303df Update placement rule 2023-10-18 14:57:52 +03:00
6b8800760d Add policy REP 1 IN SPB REP 1 IN MSK REP 3 2023-10-18 13:54:58 +03:00
5eae65b471 Add negative policy tests 2023-10-18 13:08:15 +03:00
78b0fd5b2a Update policy tests 2023-10-17 11:28:09 +00:00
20d6510c3a Add small fix and delete test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-13 11:52:42 +03:00
adfd6854f8 Add network internal interface test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-12 10:30:13 +03:00
b3c24828d3 [#103] Make allure treat same test differently 2023-10-10 16:17:56 +00:00
1d22162d2f Add network data interface test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-10 16:39:24 +03:00
c4f4e637fa [#101] add request to proper work
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-06 12:13:10 +03:00
38d1bdbf83 [#100] Make special test distinct 2023-10-05 19:05:34 +03:00
b01fff85f6 Delete split-brain test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-04 08:27:52 +00:00
4f78085b44 Add await mode for delete container
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-03 09:45:19 +03:00
f70dfd310e [#97] Use shards config path
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-02 07:49:44 +00:00
07debbb1ca [#96] Move healthcheck to function level
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-29 16:16:06 +03:00
7c788057db Fix empty map tests
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-09-27 18:28:56 +03:00
a0ea180aa9 add policy 2023-09-25 13:59:17 +00:00
73a9c95704 Attach ACL wallets to allure
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-21 19:49:31 +03:00
d38e05c100 Fix teardown for network test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-19 14:35:21 +00:00
2a1d40680a Add new fixture
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-09-19 08:35:27 +00:00
ed15485b72 Add new fixture
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-09-19 08:35:27 +00:00
3021805f7e Fix tests title
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-11 16:59:06 +03:00
1cd077fdf3 Update test titles to conform standard 2023-09-08 10:42:47 +00:00
4d2e27a317 Fix policy
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-09-07 13:40:42 +03:00
967f4f37d9 Change file_pith fixture and change title test acl
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-09-07 08:59:03 +00:00
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