Skip to content

Commit 3e5e4ae

Browse files
authored
Merge branch 'main' into columnshard_nullable_pk
2 parents 26fd95f + 4f34c1a commit 3e5e4ae

File tree

31,771 files changed

+884451
-2281869
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

31,771 files changed

+884451
-2281869
lines changed

.github/CODEOWNERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/tools @ydb-platform/ci
1010
/util @ydb-platform/ci
1111
/vendor @ydb-platform/ci
12+
/yql @ydb-platform/ci
1213
/yt @ydb-platform/ci
1314

1415
/ydb/core/fq/ @ydb-platform/fq
@@ -18,13 +19,16 @@
1819

1920
/ydb/library/yql/ @ydb-platform/yql
2021
/ydb/library/yql/dq @ydb-platform/yql @ydb-platform/qp
22+
/ydb/library/yql/dq/actors/common @ydb-platform/fq
2123
/ydb/library/yql/providers/common/http_gateway @ydb-platform/fq
2224
/ydb/library/yql/providers/common/db_id_async_resolver @ydb-platform/fq
2325
/ydb/library/yql/providers/common/pushdown @ydb-platform/fq
2426
/ydb/library/yql/providers/generic @ydb-platform/fq
2527
/ydb/library/yql/providers/pq @ydb-platform/fq
2628
/ydb/library/yql/providers/s3 @ydb-platform/fq
2729
/ydb/library/yql/providers/solomon @ydb-platform/fq
30+
/ydb/library/yql/tests/sql/solomon @ydb-platform/fq
31+
/ydb/library/yql/tests/sql/suites/solomon @ydb-platform/fq
2832
/ydb/library/yql/udfs/common/clickhouse/client @ydb-platform/fq
2933

3034
/ydb/library/yql/yt @Krock21 @Krisha11 @zlobober @gritukan
@@ -45,3 +49,6 @@
4549
/ydb/core/formats/arrow @ydb-platform/cs
4650
/ydb/core/tx/columnshard @ydb-platform/cs
4751

52+
/ydb/apps/ydb @ydb-platform/cli
53+
/ydb/public/lib/ydb_cli @ydb-platform/cli
54+

.github/actions/s3cmd/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ runs:
6060
debug)
6161
folder+="-debug"
6262
;;
63-
release-*)
63+
release*)
6464
folder+="-${BUILD_PRESET/release-/}"
6565
;;
6666
*)

.github/actions/test_ya/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ runs:
292292
debug)
293293
TESTMO_SOURCE="ya-${TESTMO_ARCH}-debug"
294294
;;
295-
release-*)
295+
release*)
296296
TESTMO_SOURCE="ya-${TESTMO_ARCH}-${BUILD_PRESET/release-/}"
297297
;;
298298
*)

.github/config/mute_rules.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,60 @@ Open the [Flaky](https://datalens.yandex/4un3zdm0zcnyr) dashboard.
8989
- If the `summary:` column shows `mute <= 3` and `success rate >= 98%` - **it's time to enable the test**.
9090
- Perform steps from [How to Unmute](#how-to-unmute)
9191
- You are awesome!
92+
93+
### Unmute stable and flaky tests automaticaly
94+
95+
96+
**setup**
97+
1) ```pip install PyGithub```
98+
2) request git token
99+
```
100+
# Github api (personal access token (classic)) token shoud have permitions to
101+
# repo
102+
# - repo:status
103+
# - repo_deployment
104+
# - public_repo
105+
# admin:org
106+
# project
107+
```
108+
3) save it to env `export GITHUB_TOKEN=<token>
109+
4) save to env `export CI_YDB_SERVICE_ACCOUNT_KEY_FILE_CREDENTIALS=<iam_cloud_file>
110+
111+
**How to use**
112+
113+
0) *update your branch* - you shoud have last version of muted_ya localy
114+
1) Run instance https://github.com/ydb-platform/ydb/actions/workflows/collect_analytics.yml
115+
2) wait till end of step `Collect all test monitor (how long tests in state)` (about 7 min)
116+
3) run `create_new_muted_ya.py update_muted_ya` - it creates bunch of files in `%repo_path%/mute_update/`
117+
118+
| File Name | Description |
119+
|----------------------------------------|-------------------------------------------------------------------------------------------------|
120+
| deleted.txt | Tests what look like deleted (no runs 28 days in a row) |
121+
| deleted_debug.txt | With detailed info |
122+
| flaky.txt | Tests which are flaky today AND total runs > 3 AND fail_count > 2 |
123+
| flaky_debug.txt | With detailed info |
124+
| muted_stable.txt | Muted tests which are stable for the last 14 days |
125+
| muted_stable_debug.txt | With detailed info |
126+
| new_muted_ya.txt | Muted_ya.txt version with excluded **muted_stable** and **deleted** tests |
127+
| new_muted_ya_debug.txt | With detailed info |
128+
| new_muted_ya_with_flaky.txt | Muted_ya.txt version with excluded **muted_stable** and **deleted** tests and included **flaky**|
129+
| new_muted_ya_with_flaky_debug.txt | With detailed info |
130+
|muted_ya_sorted.txt| original muted_ya with resolved wildcards for real tests (not chunks)|
131+
|muted_ya_sorted_debug.txt| With detailed info|
132+
133+
134+
**1. Unmute Stable**
135+
1) replace content of [muted_ya](https://github.com/ydb-platform/ydb/blob/main/.github/config/muted_ya.txt) with content of **new_muted_ya.txt**
136+
2) create new PR and paste in PR Description
137+
- `<Unmuted tests : stable 9 and deleted 0>` from concole output
138+
- content from **muted_stable_debug** and **deleted_debug**
139+
3) Merge
140+
example https://github.com/ydb-platform/ydb/pull/11099
141+
142+
**2. Mute Flaky** (AFTER UNMUTE STABLE ONLY)
143+
1) replace content of [muted_ya](https://github.com/ydb-platform/ydb/blob/main/.github/config/muted_ya.txt) with content of **new_muted_ya_with_flaky.txt**
144+
2) create new PR
145+
2) run `create_new_muted_ya.py create_issues` - it creates issue for each flaky test in **flaky.txt**
146+
3) copy from console output text like ' Created issue ...' and paste in PR
147+
4) merge
148+
example https://github.com/ydb-platform/ydb/pull/11101

.github/config/muted_ya.txt

Lines changed: 21 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
ydb/core/blobstorage/dsproxy/ut TBlobStorageProxySequenceTest.TestBlock42PutWithChangingSlowDisk
22
ydb/core/blobstorage/dsproxy/ut_fat TBlobStorageProxyTest.TestBatchedPutRequestDoesNotContainAHugeBlob
33
ydb/core/blobstorage/pdisk/ut TPDiskTest.AllRequestsAreAnsweredOnPDiskRestart
4-
ydb/core/blobstorage/pdisk/ut TPDiskTest.TestMultipleLogSpliceNonceJump
4+
ydb/core/blobstorage/ut_blobstorage/ut_huge HugeBlobOnlineSizeChange.Compaction
5+
ydb/core/blobstorage/ut_blobstorage/ut_huge [*/*] chunk chunk
56
ydb/core/blobstorage/ut_blobstorage/ut_scrub BlobScrubbing.block42
67
ydb/core/blobstorage/ut_blobstorage/ut_scrub BlobScrubbing.mirror3dc
78
ydb/core/blobstorage/ut_blobstorage/ut_scrub BlobScrubbing.mirror3of4
89
ydb/core/blobstorage/ut_mirror3of4 Mirror3of4.ReplicationSmall
910
ydb/core/blobstorage/ut_vdisk TBsVDiskGC.GCPutKeepBarrierSync
11+
ydb/core/blobstorage/ut_vdisk TBsLocalRecovery.WriteRestartReadHugeDecreased
1012
ydb/core/blobstorage/ut_vdisk TBsVDiskManyPutGet.ManyPutRangeGetCompactionIndexOnly
13+
ydb/core/blobstorage/ut_vdisk [*/*] chunk chunk
1114
ydb/core/cms/ut_sentinel_unstable TSentinelUnstableTests.BSControllerCantChangeStatus
1215
ydb/core/cms/ut_sentinel_unstable sole chunk chunk
1316
ydb/core/cms/ut_sentinel_unstable sole+chunk+chunk
@@ -20,15 +23,26 @@ ydb/core/kqp/ut/data_integrity KqpDataIntegrityTrails.UpsertEvWrite
2023
ydb/core/kqp/ut/data_integrity KqpDataIntegrityTrails.UpsertViaLegacyScripting-Streaming
2124
ydb/core/kqp/ut/olap KqpDecimalColumnShard.TestAggregation
2225
ydb/core/kqp/ut/olap KqpDecimalColumnShard.TestFilterCompare
26+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.BlobsSharingSplit1_1
27+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.BlobsSharingSplit1_1_clean
2328
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.BlobsSharingSplit1_1_clean_with_restarts
29+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.BlobsSharingSplit1_3_1
30+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.BlobsSharingSplit1_3_2_1_clean
31+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.BlobsSharingSplit3_1
32+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.ChangeSchemaAndSplit
33+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.HugeSchemeHistory
34+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.MultipleMerge
35+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.MultipleMergesWithRestartsAfterWait
36+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.MultipleMergesWithRestartsWhenWait
37+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.MultipleSchemaVersions
38+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.MultipleSplits
39+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.MultipleSplitsThenMerges
40+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.MultipleSplitsWithRestartsAfterWait
41+
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.MultipleSplitsWithRestartsWhenWait
2442
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.TableReshardingConsistency64
2543
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.TableReshardingModuloN
2644
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.UpsertWhileSplitTest
27-
ydb/core/kqp/ut/olap KqpOlapIndexes.IndexesActualization
28-
ydb/core/kqp/ut/olap KqpOlapIndexes.IndexesInBS
29-
ydb/core/kqp/ut/olap KqpOlapIndexes.IndexesInLocalMetadata
30-
ydb/core/kqp/ut/olap KqpOlapIndexes.IndexesModificationError
31-
ydb/core/kqp/ut/olap KqpOlapStatistics.StatsUsageWithTTL
45+
ydb/core/kqp/ut/olap KqpOlapTiering.Eviction
3246
ydb/core/kqp/ut/olap KqpOlapWrite.TierDraftsGCWithRestart
3347
ydb/core/kqp/ut/olap [*/*] chunk chunk
3448
ydb/core/kqp/ut/query KqpAnalyze.AnalyzeTable+ColumnStore
@@ -42,9 +56,6 @@ ydb/core/kqp/ut/scheme [*/*]+chunk+chunk
4256
ydb/core/kqp/ut/service KqpService.CloseSessionsWithLoad
4357
ydb/core/kqp/ut/service [*/*] chunk chunk
4458
ydb/core/kqp/ut/service [*/*]+chunk+chunk
45-
ydb/core/kqp/ut/spilling KqpScanSpilling.SelfJoinQueryService
46-
ydb/core/kqp/ut/sysview KqpSystemView.PartitionStatsFollower
47-
ydb/core/mind/hive/ut THiveTest.DrainWithHiveRestart
4859
ydb/core/persqueue/ut TPQTest.TestReadAndDeleteConsumer
4960
ydb/core/persqueue/ut [*/*] chunk chunk
5061
ydb/core/persqueue/ut/ut_with_sdk TopicAutoscaling.CDC_Write
@@ -64,35 +75,24 @@ ydb/library/actors/http/ut sole+chunk+chunk
6475
ydb/library/actors/interconnect/ut_huge_cluster HugeCluster.AllToAll
6576
ydb/library/actors/interconnect/ut_huge_cluster sole chunk chunk
6677
ydb/library/yql/providers/generic/connector/tests/datasource/clickhouse test.py.test_select_positive[primitive_types_non_nullable_NATIVE-dqrun]
67-
ydb/library/yql/providers/generic/connector/tests/datasource/ms_sql_server test.py.test_select_positive[constant-dqrun]
68-
ydb/library/yql/providers/generic/connector/tests/datasource/ms_sql_server test.py.test_select_positive[count_rows-dqrun]
6978
ydb/library/yql/providers/generic/connector/tests/datasource/ms_sql_server test.py.test_select_positive[primitives-dqrun]
7079
ydb/library/yql/providers/generic/connector/tests/datasource/ms_sql_server test.py.test_select_positive[primitives-kqprun]
71-
ydb/library/yql/providers/generic/connector/tests/datasource/mysql test.py.test_select_positive[constant-dqrun]
72-
ydb/library/yql/providers/generic/connector/tests/datasource/mysql test.py.test_select_positive[constant-kqprun]
73-
ydb/library/yql/providers/generic/connector/tests/datasource/mysql test.py.test_select_positive[count_rows-dqrun]
74-
ydb/library/yql/providers/generic/connector/tests/datasource/mysql test.py.test_select_positive[count_rows-kqprun]
7580
ydb/library/yql/providers/generic/connector/tests/datasource/mysql test.py.test_select_positive[primitives-dqrun]
7681
ydb/library/yql/providers/generic/connector/tests/datasource/mysql test.py.test_select_positive[primitives-kqprun]
77-
ydb/library/yql/providers/generic/connector/tests/datasource/mysql test.py.test_select_positive[pushdown0-dqrun]
78-
ydb/library/yql/providers/generic/connector/tests/datasource/mysql test.py.test_select_positive[pushdown0-kqprun]
7982
ydb/library/yql/providers/generic/connector/tests/datasource/oracle test.py.test_select_positive[PRIMITIVES-dqrun]
8083
ydb/library/yql/providers/generic/connector/tests/datasource/postgresql test.py.test_select_positive[primitive_types-dqrun]
8184
ydb/library/yql/providers/generic/connector/tests/datasource/ydb test.py.test_select_positive[column_selection_asterisk-dqrun]
82-
ydb/library/yql/providers/generic/connector/tests/datasource/ydb test.py.test_select_positive[primitive_types-kqprun]
83-
ydb/library/yql/providers/generic/connector/tests/datasource/ydb test.py.test_select_positive[pushdown-kqprun]
8485
ydb/library/yql/providers/generic/connector/tests/join test.py.test_join[join_ch_ch-dqrun]
8586
ydb/library/yql/tests/sql/hybrid_file/part1 test.py.test[in-in_noansi_join--Debug]
86-
ydb/public/sdk/cpp/client/ydb_topic/ut BasicUsage.ReadSessionCorrectClose
8787
ydb/public/sdk/cpp/client/ydb_topic/ut [*/*] chunk chunk
8888
ydb/public/sdk/cpp/client/ydb_topic/ut [*/*]+chunk+chunk
8989
ydb/services/datastreams/ut DataStreams.TestPutRecordsCornerCases
9090
ydb/services/datastreams/ut DataStreams.TestReservedConsumersMetering
9191
ydb/services/datastreams/ut DataStreams.TestReservedStorageMetering
92-
ydb/services/keyvalue/ut KeyValueGRPCService.SimpleConcatUnexistedKey
9392
ydb/services/keyvalue/ut sole chunk chunk
9493
ydb/services/keyvalue/ut sole+chunk+chunk
9594
ydb/services/persqueue_v1/ut TPersQueueTest.DirectReadCleanCache
95+
ydb/services/persqueue_v1/ut TPersQueueTest.DirectReadNotCached
9696
ydb/services/persqueue_v1/ut [*/*] chunk chunk
9797
ydb/services/persqueue_v1/ut [*/*]+chunk+chunk
9898
ydb/services/ydb/sdk_sessions_pool_ut YdbSdkSessionsPool.StressTestSync1
@@ -129,32 +129,19 @@ ydb/tests/fq/yds [*/*]+chunk+chunk
129129
ydb/tests/fq/yds test_2_selects_limit.py.TestSelectLimit.test_select_same[v1]
130130
ydb/tests/fq/yds test_2_selects_limit.py.TestSelectLimit.test_select_sequence[v1]
131131
ydb/tests/fq/yds test_big_state.py.TestBigState.test_gt_8mb[v1]
132-
ydb/tests/fq/yds test_kill_pq_bill.py.TestKillPqBill.test_do_not_bill_pq[v1-mvp_external_ydb_endpoint0]
133132
ydb/tests/fq/yds test_mem_alloc.py.TestMemAlloc.test_hop_alloc[v1]
134133
ydb/tests/fq/yds test_mem_alloc.py.TestMemAlloc.test_join_alloc[v1]
135-
ydb/tests/fq/yds test_pq_read_write.py.TestPqReadWrite.test_pq_read_write[v1-with_checkpoints-mvp_external_ydb_endpoint0]
136134
ydb/tests/fq/yds test_recovery.py.TestRecovery.test_ic_disconnection
137-
ydb/tests/fq/yds test_row_dispatcher.py.TestPqRowDispatcher.test_read_raw_format_with_row_dispatcher
138-
ydb/tests/fq/yds test_row_dispatcher.py.TestPqRowDispatcher.test_restart_compute_node
139-
ydb/tests/fq/yds test_row_dispatcher.py.TestPqRowDispatcher.test_scheme_error
140-
ydb/tests/fq/yds test_row_dispatcher.py.TestPqRowDispatcher.test_start_new_query
141-
ydb/tests/fq/yds test_row_dispatcher.py.TestPqRowDispatcher.test_stop_start
142-
ydb/tests/fq/yds test_row_dispatcher.py.TestPqRowDispatcher.test_stop_start_with_filter
143135
ydb/tests/fq/yds test_select_limit_db_id.py.TestSelectLimitWithDbId.test_select_same_with_id[v1-mvp_external_ydb_endpoint0]
144136
ydb/tests/fq/yds test_yds_bindings.py.TestBindings.test_yds_insert[v1]
145-
ydb/tests/fq/yds test_yq_streaming.py.TestYqStreaming.test_match_recognize_sink[v1]
146137
ydb/tests/fq/yt/kqp_yt_file/part18 test.py.test[pg-join_brackets2-default.txt]
147-
ydb/tests/functional/audit test_auditlog.py.test_dml_requests_arent_logged_when_sid_is_expected
148138
ydb/tests/functional/hive test_drain.py.TestHive.test_drain_on_stop
149139
ydb/tests/functional/kqp/kqp_query_session KqpQuerySession.NoLocalAttach
150140
ydb/tests/functional/rename [test_rename.py */*] chunk chunk
151-
ydb/tests/functional/restarts test_restarts.py.TestRestartSingleBlock42.test_restart_single_node_is_ok
152141
ydb/tests/functional/serializable test.py.test_local
153142
ydb/tests/functional/serverless test_serverless.py.test_database_with_disk_quotas[enable_alter_database_create_hive_first--false]
154143
ydb/tests/functional/serverless test_serverless.py.test_database_with_disk_quotas[enable_alter_database_create_hive_first--true]
155-
ydb/tests/functional/suite_tests test_postgres.py.TestPGSQL.test_sql_suite[plan-jointest/join2.test]
156144
ydb/tests/functional/tenants test_dynamic_tenants.py.test_create_and_drop_tenants[enable_alter_database_create_hive_first--false]
157-
ydb/tests/functional/tenants test_dynamic_tenants.py.test_create_and_drop_tenants[enable_alter_database_create_hive_first--true]
158145
ydb/tests/functional/tenants test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--false]
159146
ydb/tests/functional/tenants test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--true]
160147
ydb/tests/functional/tenants test_tenants.py.TestTenants.test_create_drop_create_table3[enable_alter_database_create_hive_first--false]

0 commit comments

Comments
 (0)