Skip to content

Conversation

@zverevgeny
Copy link
Collaborator

Changelog category

  • Not for changelog (changelog entry is not required)

@github-actions
Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 13:54:40 UTC Pre-commit check linux-x86_64-release-asan for 2f906ed has started.
2024-12-11 13:54:52 UTC Artifacts will be uploaded here
2024-12-11 13:57:30 UTC ya make is running...
🟡 2024-12-11 14:09:23 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
27 19 0 8 0 0

🟢 2024-12-11 14:09:30 UTC Build successful.
🟡 2024-12-11 14:09:44 UTC ydbd size 3.6 GiB changed* by +180.4 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 4ca0cb6 merge: 2f906ed diff diff %
ydbd size 3 898 414 584 Bytes 3 898 599 360 Bytes +180.4 KiB +0.005%
ydbd stripped size 1 366 680 912 Bytes 1 366 736 592 Bytes +54.4 KiB +0.004%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 13:54:46 UTC Pre-commit check linux-x86_64-relwithdebinfo for 2f906ed has started.
2024-12-11 13:55:02 UTC Artifacts will be uploaded here
2024-12-11 13:57:40 UTC ya make is running...
🟡 2024-12-11 14:09:14 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
61 52 0 9 0 0

2024-12-11 14:09:23 UTC ya make is running... (failed tests rerun, try 2)
🟡 2024-12-11 14:10:34 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13 (only retried tests) 4 0 9 0 0

2024-12-11 14:10:53 UTC ya make is running... (failed tests rerun, try 3)
🔴 2024-12-11 14:12:30 UTC Some tests failed, follow the links below.

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13 (only retried tests) 4 0 9 0 0

🟢 2024-12-11 14:12:41 UTC Build successful.
🟡 2024-12-11 14:13:06 UTC ydbd size 2.1 GiB changed* by +116.4 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 4ca0cb6 merge: 2f906ed diff diff %
ydbd size 2 256 127 880 Bytes 2 256 247 056 Bytes +116.4 KiB +0.005%
ydbd stripped size 483 904 976 Bytes 483 939 152 Bytes +33.4 KiB +0.007%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 15:05:50 UTC Pre-commit check linux-x86_64-relwithdebinfo for e554c3a has started.
2024-12-11 15:06:35 UTC Artifacts will be uploaded here
2024-12-11 15:09:26 UTC ya make is running...
🟡 2024-12-11 15:12:53 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72 65 0 7 0 0

2024-12-11 15:13:01 UTC ya make is running... (failed tests rerun, try 2)
🟡 2024-12-11 15:14:08 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
8 (only retried tests) 1 0 7 0 0

2024-12-11 15:14:17 UTC ya make is running... (failed tests rerun, try 3)
🔴 2024-12-11 15:15:19 UTC Some tests failed, follow the links below.

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
8 (only retried tests) 6 0 2 0 0

🟢 2024-12-11 15:15:27 UTC Build successful.
🟡 2024-12-11 15:15:40 UTC ydbd size 2.1 GiB changed* by +116.4 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 4ca0cb6 merge: e554c3a diff diff %
ydbd size 2 256 127 880 Bytes 2 256 247 056 Bytes +116.4 KiB +0.005%
ydbd stripped size 483 904 976 Bytes 483 939 152 Bytes +33.4 KiB +0.007%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 15:06:56 UTC Pre-commit check linux-x86_64-release-asan for e554c3a has started.
2024-12-11 15:07:00 UTC Artifacts will be uploaded here
2024-12-11 15:09:26 UTC ya make is running...
🟡 2024-12-11 15:12:30 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38 31 0 7 0 0

🟢 2024-12-11 15:12:37 UTC Build successful.
🟢 2024-12-11 15:12:50 UTC ydbd size 3.6 GiB changed* by -96 Bytes, which is <= 0 Bytes vs main: OK

ydbd size dash main: 7037279 merge: e554c3a diff diff %
ydbd size 3 898 599 456 Bytes 3 898 599 360 Bytes -96 Bytes -0.000%
ydbd stripped size 1 366 736 656 Bytes 1 366 736 592 Bytes -64 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 15:28:30 UTC Pre-commit check linux-x86_64-relwithdebinfo for 2d75c52 has started.
2024-12-11 15:28:34 UTC Artifacts will be uploaded here
2024-12-11 15:30:58 UTC ya make is running...
🟡 2024-12-11 15:34:20 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72 66 0 6 0 0

2024-12-11 15:34:28 UTC ya make is running... (failed tests rerun, try 2)
🟡 2024-12-11 15:35:24 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
7 (only retried tests) 1 0 6 0 0

2024-12-11 15:35:32 UTC ya make is running... (failed tests rerun, try 3)
🔴 2024-12-11 15:36:41 UTC Some tests failed, follow the links below.

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
7 (only retried tests) 5 0 2 0 0

🟢 2024-12-11 15:36:47 UTC Build successful.
🟡 2024-12-11 15:36:56 UTC ydbd size 2.1 GiB changed* by +116.4 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 4ca0cb6 merge: 2d75c52 diff diff %
ydbd size 2 256 127 880 Bytes 2 256 247 056 Bytes +116.4 KiB +0.005%
ydbd stripped size 483 904 976 Bytes 483 939 152 Bytes +33.4 KiB +0.007%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 15:35:14 UTC Pre-commit check linux-x86_64-release-asan for 2d75c52 has started.
2024-12-11 15:35:26 UTC Artifacts will be uploaded here
2024-12-11 15:38:00 UTC ya make is running...
🟡 2024-12-11 15:41:22 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38 31 0 7 0 0

🟢 2024-12-11 15:41:36 UTC Build successful.
🟢 2024-12-11 15:41:50 UTC ydbd size 3.6 GiB changed* by -96 Bytes, which is <= 0 Bytes vs main: OK

ydbd size dash main: 7037279 merge: 2d75c52 diff diff %
ydbd size 3 898 599 456 Bytes 3 898 599 360 Bytes -96 Bytes -0.000%
ydbd stripped size 1 366 736 656 Bytes 1 366 736 592 Bytes -64 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@zverevgeny zverevgeny requested a review from iddqdex December 11, 2024 16:01
Copy link
Collaborator

@iddqdex iddqdex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Мне не нравится идея затащить Harness кластер прямо в ydb_cluster. Конфигурация кластера может быть разная для разных тестов, передавать это сюдя будет неудобно. Буквально недавно я решал полностью аналогичную задачу для нагрузочных тестов, вот тут код, посмотри: https://github.com/ydb-platform/ydb/blob/main/ydb/tests/functional/tpc/conftest.py

@github-actions
Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 16:11:58 UTC Pre-commit check linux-x86_64-relwithdebinfo for a6bb61a has started.
2024-12-11 16:12:02 UTC Artifacts will be uploaded here
2024-12-11 16:14:28 UTC ya make is running...
🟡 2024-12-11 16:17:49 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72 66 0 4 0 2

2024-12-11 16:17:57 UTC ya make is running... (failed tests rerun, try 2)
🟢 2024-12-11 16:18:57 UTC Tests successful.

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
7 (only retried tests) 5 0 0 0 2

🟢 2024-12-11 16:19:03 UTC Build successful.
🟠 2024-12-11 16:19:33 UTC Muted new 2 tests
🟡 2024-12-11 16:19:42 UTC ydbd size 2.1 GiB changed* by +116.4 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 4ca0cb6 merge: a6bb61a diff diff %
ydbd size 2 256 127 880 Bytes 2 256 247 056 Bytes +116.4 KiB +0.005%
ydbd stripped size 483 904 976 Bytes 483 939 152 Bytes +33.4 KiB +0.007%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 16:12:00 UTC Pre-commit check linux-x86_64-release-asan for a6bb61a has started.
2024-12-11 16:12:26 UTC Artifacts will be uploaded here
2024-12-11 16:14:56 UTC ya make is running...
🟡 2024-12-11 16:17:02 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38 34 0 2 0 2

🟢 2024-12-11 16:17:09 UTC Build successful.
🟢 2024-12-11 16:17:23 UTC ydbd size 3.6 GiB changed* by -96 Bytes, which is <= 0 Bytes vs main: OK

ydbd size dash main: 7037279 merge: a6bb61a diff diff %
ydbd size 3 898 599 456 Bytes 3 898 599 360 Bytes -96 Bytes -0.000%
ydbd stripped size 1 366 736 656 Bytes 1 366 736 592 Bytes -64 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@iddqdex
Copy link
Collaborator

iddqdex commented Dec 11, 2024

Кроме предыдущего. Я бы разделил тесты, запускаемые локально и тесты, которые запускаются на кластере, эти множества могут не совпадать. Делил бы я их через запуск в разных ya.make c переиспользованием кода тестов. Примеры опять же из нагрузочных. Локально: https://github.com/ydb-platform/ydb/blob/main/ydb/tests/functional/tpc/ya.make , на кластере: https://github.com/ydb-platform/ydb/blob/main/ydb/tests/olap/load/ya.make

def _start_ydb_cluster():
config = KikimrConfigGenerator(extra_feature_flags=[])
cluster = KiKiMR(configurator=config)
cluster.start()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

И кстати, при таком старте не создается db, а без нее ydb работает странно. Например не создается таблетка статистики. Пример как стартовать есть в нагрузочных тестах выше.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Довольно много тестов сейчас создают кластер именно таким способом. Если это некорректно, то нужно править их все. Можно создать тикет на это.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ну конкретно на отсутствие таблетки со статистикой мы с Монстром наткнулись. Я не могу сказать, что ещё не создалось. Может и ничего критичного

ydb_endpoint = get_external_param('ydb-endpoint', 'grpc://ydb-olap-testing-vla-0002.search.yandex.net:2135')
ydb_database = get_external_param('ydb-db', 'olap-testing/kikimr/testing/acceptance-2').lstrip('/')

ydb_endpoint = get_external_param('ydb-endpoint', "")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Обычно в питоне пишут что-то типа

ydb_endpoint = get_external_param('ydb-endpoint', None)

А потом что-то типа

if ydb_endpoint is not None:
    ...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Поправил

@zverevgeny zverevgeny linked an issue Dec 11, 2024 that may be closed by this pull request
def _start_ydb_cluster():
config = KikimrConfigGenerator(extra_feature_flags=[])
cluster = KiKiMR(configurator=config)
cluster.start()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А где stop для кластера?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я, конечно, допишу stop. А что бывает, если до stop не дойдёт выполнение? Кластера будут висеть вечно?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я думаю его убьет ya make в неопределенный момент времени (но не уверен)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не нашёл в текущей реализации хелперов, куда можно вставить stop, чтобы он гарантированно вызывался. Можно переписать все хелперы со статических классов на обычные инстансы, тогда можно будет останавливать в teardown_class. Но это требует больших изменений, чем этот PR.
Я в питоне не спец, если подскажетет, куда можно вставить stop, вставлю.

Проверил, что при завершении запуска через ya test запущенный кластер тоже ydb завершается.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Сделал остановку с помощью atexit

@github-actions
Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 16:57:02 UTC Pre-commit check linux-x86_64-relwithdebinfo for 664dd84 has started.
2024-12-11 16:57:14 UTC Artifacts will be uploaded here
2024-12-11 16:59:41 UTC ya make is running...
🟢 2024-12-11 17:03:06 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72 70 0 0 0 2

🟢 2024-12-11 17:03:13 UTC Build successful.
🟠 2024-12-11 17:03:33 UTC Muted new 2 tests
🟡 2024-12-11 17:03:46 UTC ydbd size 2.1 GiB changed* by +116.4 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 4ca0cb6 merge: 664dd84 diff diff %
ydbd size 2 256 127 880 Bytes 2 256 247 056 Bytes +116.4 KiB +0.005%
ydbd stripped size 483 904 976 Bytes 483 939 152 Bytes +33.4 KiB +0.007%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 16:57:21 UTC Pre-commit check linux-x86_64-release-asan for 664dd84 has started.
2024-12-11 16:57:27 UTC Artifacts will be uploaded here
2024-12-11 16:59:58 UTC ya make is running...
🟡 2024-12-11 17:02:21 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38 34 0 2 0 2

🟢 2024-12-11 17:02:32 UTC Build successful.
🟢 2024-12-11 17:02:47 UTC ydbd size 3.6 GiB changed* by -96 Bytes, which is <= 0 Bytes vs main: OK

ydbd size dash main: 7037279 merge: 664dd84 diff diff %
ydbd size 3 898 599 456 Bytes 3 898 599 360 Bytes -96 Bytes -0.000%
ydbd stripped size 1 366 736 656 Bytes 1 366 736 592 Bytes -64 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

ydb_database = get_external_param('ydb-db', 'olap-testing/kikimr/testing/acceptance-2').lstrip('/')

ydb_endpoint = get_external_param('ydb-endpoint', "")
ydb_database = get_external_param('ydb-db', "/Root").lstrip('/')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут же некорректно кажется написано, если этот дефолт на случай "так называется база в KiKiMR(...)", надо явно спросить название у KiKiMR

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Поправил. Убрал странный дефолт

endpoint = cls.ydb_endpoint
if not endpoint:
if cls._ydb_cluster is not None:
raise "Double temporary cluster initialization attempt"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я если честно не понял на какой это случай сделано

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Проверка инварианта: сюда попадать не должны

@zverevgeny zverevgeny force-pushed the olap_scenario_tests_on_local_ydb branch from c383531 to 565629a Compare December 12, 2024 16:06
@github-actions
Copy link

github-actions bot commented Dec 12, 2024

2024-12-12 16:08:35 UTC Pre-commit check linux-x86_64-relwithdebinfo for c4967d0 has started.
2024-12-12 16:08:48 UTC Check cancelled

@github-actions
Copy link

github-actions bot commented Dec 12, 2024

2024-12-12 16:12:19 UTC Pre-commit check linux-x86_64-relwithdebinfo for 601bc67 has started.
2024-12-12 16:14:20 UTC Artifacts will be uploaded here
2024-12-12 16:17:20 UTC ya make is running...
🟢 2024-12-12 16:20:39 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72 71 0 0 0 1

🟢 2024-12-12 16:20:45 UTC Build successful.
🟠 2024-12-12 16:20:54 UTC Muted new 1 tests
🟡 2024-12-12 16:21:03 UTC ydbd size 2.1 GiB changed* by +256.7 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 7f5a9f3 merge: 601bc67 diff diff %
ydbd size 2 256 263 552 Bytes 2 256 526 456 Bytes +256.7 KiB +0.012%
ydbd stripped size 483 943 952 Bytes 483 997 040 Bytes +51.8 KiB +0.011%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 12, 2024

2024-12-12 16:12:48 UTC Pre-commit check linux-x86_64-release-asan for 601bc67 has started.
2024-12-12 16:14:52 UTC Artifacts will be uploaded here
2024-12-12 16:17:53 UTC ya make is running...
🟢 2024-12-12 16:21:30 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38 37 0 0 0 1

🟢 2024-12-12 16:21:37 UTC Build successful.
🟡 2024-12-12 16:21:51 UTC ydbd size 3.6 GiB changed* by +411.2 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 7f5a9f3 merge: 601bc67 diff diff %
ydbd size 3 898 616 008 Bytes 3 899 037 104 Bytes +411.2 KiB +0.011%
ydbd stripped size 1 366 738 000 Bytes 1 366 820 880 Bytes +80.9 KiB +0.006%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@zverevgeny
Copy link
Collaborator Author

zverevgeny commented Dec 12, 2024

Мне не нравится идея затащить Harness кластер прямо в ydb_cluster. Конфигурация кластера может быть разная для разных тестов, передавать это сюдя будет неудобно. Буквально недавно я решал полностью аналогичную задачу для нагрузочных тестов, вот тут код, посмотри: https://github.com/ydb-platform/ydb/blob/main/ydb/tests/functional/tpc/conftest.py

Тогда непонятна зона ответсвенности класса YdbCluster. Сейчас это "синглтон", предоставляющий доступ к какому-то реальному ydb кластеру. Правильно ли я понимаю, что ты предлагаешь разделить этот класс, по-сути, на два:
1 - отвечающий за создание/существование самого кластера
2 - отвечающий за доступ к существующему (за счёт п.1) кластеру

@zverevgeny
Copy link
Collaborator Author

Кроме предыдущего. Я бы разделил тесты, запускаемые локально и тесты, которые запускаются на кластере, эти множества могут не совпадать. Делил бы я их через запуск в разных ya.make c переиспользованием кода тестов. Примеры опять же из нагрузочных. Локально: https://github.com/ydb-platform/ydb/blob/main/ydb/tests/functional/tpc/ya.make , на кластере: https://github.com/ydb-platform/ydb/blob/main/ydb/tests/olap/load/ya.make

Пока нет необходимости в разделении. Хотим уметь запускать все тесты и локально и на долгоживущем кластере.

@github-actions
Copy link

github-actions bot commented Dec 12, 2024

2024-12-12 19:38:34 UTC Pre-commit check linux-x86_64-relwithdebinfo for 56cdd36 has started.
2024-12-12 19:38:45 UTC Artifacts will be uploaded here
2024-12-12 19:41:20 UTC ya make is running...
🟢 2024-12-12 19:45:20 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72 71 0 0 0 1

🟢 2024-12-12 19:45:26 UTC Build successful.
🟠 2024-12-12 19:45:34 UTC Muted new 1 tests
🟢 2024-12-12 19:45:42 UTC ydbd size 2.1 GiB changed* by -18.6 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: 9c831b2 merge: 56cdd36 diff diff %
ydbd size 2 256 585 080 Bytes 2 256 566 000 Bytes -18.6 KiB -0.001%
ydbd stripped size 484 008 560 Bytes 484 005 744 Bytes -2.8 KiB -0.001%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 12, 2024

2024-12-12 19:38:54 UTC Pre-commit check linux-x86_64-release-asan for 56cdd36 has started.
2024-12-12 19:39:05 UTC Artifacts will be uploaded here
2024-12-12 19:41:35 UTC ya make is running...
🟢 2024-12-12 19:45:02 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38 37 0 0 0 1

🟢 2024-12-12 19:45:09 UTC Build successful.
🟢 2024-12-12 19:45:21 UTC ydbd size 3.6 GiB changed* by -19.9 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: 9c831b2 merge: 56cdd36 diff diff %
ydbd size 3 899 143 392 Bytes 3 899 123 024 Bytes -19.9 KiB -0.001%
ydbd stripped size 1 366 849 872 Bytes 1 366 840 080 Bytes -9.6 KiB -0.001%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@zverevgeny zverevgeny requested a review from iddqdex December 12, 2024 19:44
@github-actions
Copy link

github-actions bot commented Dec 15, 2024

2024-12-15 07:40:47 UTC Pre-commit check linux-x86_64-release-asan for 8c50120 has started.
2024-12-15 07:40:58 UTC Artifacts will be uploaded here
2024-12-15 07:43:23 UTC ya make is running...
🟢 2024-12-15 07:47:06 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38 37 0 0 0 1

🟢 2024-12-15 07:47:12 UTC Build successful.
🟢 2024-12-15 07:47:24 UTC ydbd size 3.6 GiB changed* by -96 Bytes, which is <= 0 Bytes vs main: OK

ydbd size dash main: b40adfb merge: 8c50120 diff diff %
ydbd size 3 890 190 856 Bytes 3 890 190 760 Bytes -96 Bytes -0.000%
ydbd stripped size 1 362 075 536 Bytes 1 362 075 472 Bytes -64 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 15, 2024

2024-12-15 07:41:00 UTC Pre-commit check linux-x86_64-relwithdebinfo for 8c50120 has started.
2024-12-15 07:41:12 UTC Artifacts will be uploaded here
2024-12-15 07:43:37 UTC ya make is running...
🟢 2024-12-15 07:47:02 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72 71 0 0 0 1

🟢 2024-12-15 07:47:09 UTC Build successful.
🟠 2024-12-15 07:47:17 UTC Muted new 1 tests
🟢 2024-12-15 07:47:25 UTC ydbd size 2.1 GiB changed* by 0 Bytes, which is <= 0 Bytes vs main: OK

ydbd size dash main: b40adfb merge: 8c50120 diff diff %
ydbd size 2 251 547 488 Bytes 2 251 547 488 Bytes 0 Bytes 0.000%
ydbd stripped size 482 543 952 Bytes 482 543 952 Bytes 0 Bytes 0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

self._database = config.domain_name
self._temp_ydb_cluster = cluster
LOGGER.info(f'Using YDB, endpoint:{self._endpoint}, database:{self._database}')
atexit.register(self.__del__)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это какое-то хакерство, предлагаю сделать явный метод stop

self._endpoint = endpoint
self._database = database
else:
config = KikimrConfigGenerator(extra_feature_flags=[])
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra_feature_flags лишнее, оно скорее всего и так в дефолте пустое

def get_ydb_driver(cls):
if cls._ydb_driver is None:
if cls._ydb_cluster_instance is not None:
raise 'Double cluster initialization attempt'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я чет все равно не понимаю на какой случай этот raise. На какой?

@github-actions
Copy link

github-actions bot commented Dec 16, 2024

2024-12-16 09:01:48 UTC Pre-commit check linux-x86_64-relwithdebinfo for e852b3f has started.
2024-12-16 09:02:32 UTC Artifacts will be uploaded here
2024-12-16 09:05:26 UTC ya make is running...
🟡 2024-12-16 09:09:30 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72 70 0 1 0 1

2024-12-16 09:09:45 UTC ya make is running... (failed tests rerun, try 2)
🟡 2024-12-16 09:11:08 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
4 (only retried tests) 2 0 1 0 1

2024-12-16 09:11:17 UTC ya make is running... (failed tests rerun, try 3)
🔴 2024-12-16 09:12:30 UTC Some tests failed, follow the links below.

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
4 (only retried tests) 2 0 1 0 1

🟢 2024-12-16 09:12:37 UTC Build successful.
🟡 2024-12-16 09:12:50 UTC ydbd size 2.1 GiB changed* by +183.7 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: e7dae09 merge: e852b3f diff diff %
ydbd size 2 251 678 224 Bytes 2 251 866 360 Bytes +183.7 KiB +0.008%
ydbd stripped size 482 562 064 Bytes 482 574 224 Bytes +11.9 KiB +0.003%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 16, 2024

2024-12-16 09:04:10 UTC Pre-commit check linux-x86_64-release-asan for e852b3f has started.
2024-12-16 09:04:22 UTC Artifacts will be uploaded here
2024-12-16 09:07:03 UTC ya make is running...
🟡 2024-12-16 09:12:39 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38 36 0 1 0 1

🟢 2024-12-16 09:12:46 UTC Build successful.
🟢 2024-12-16 09:13:00 UTC ydbd size 3.6 GiB changed* by -96 Bytes, which is <= 0 Bytes vs main: OK

ydbd size dash main: b0b1457 merge: e852b3f diff diff %
ydbd size 3 890 739 688 Bytes 3 890 739 592 Bytes -96 Bytes -0.000%
ydbd stripped size 1 362 162 448 Bytes 1 362 162 384 Bytes -64 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 16, 2024

2024-12-16 09:45:21 UTC Pre-commit check linux-x86_64-release-asan for df8785f has started.
2024-12-16 09:45:32 UTC Artifacts will be uploaded here
2024-12-16 09:47:58 UTC ya make is running...
🟢 2024-12-16 09:57:07 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38 37 0 0 0 1

🟢 2024-12-16 09:57:17 UTC Build successful.
🟢 2024-12-16 09:57:31 UTC ydbd size 3.6 GiB changed* by +128 Bytes, which is < 100.0 KiB vs main: OK

ydbd size dash main: b0b1457 merge: df8785f diff diff %
ydbd size 3 890 739 688 Bytes 3 890 739 816 Bytes +128 Bytes +0.000%
ydbd stripped size 1 362 162 448 Bytes 1 362 162 512 Bytes +64 Bytes +0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 16, 2024

2024-12-16 09:45:41 UTC Pre-commit check linux-x86_64-relwithdebinfo for df8785f has started.
2024-12-16 09:45:54 UTC Artifacts will be uploaded here
2024-12-16 09:48:31 UTC ya make is running...
🟢 2024-12-16 09:52:17 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72 71 0 0 0 1

🟢 2024-12-16 09:52:29 UTC Build successful.
🟠 2024-12-16 09:52:38 UTC Muted new 1 tests
🟢 2024-12-16 09:52:47 UTC ydbd size 2.1 GiB changed* by +64 Bytes, which is < 100.0 KiB vs main: OK

ydbd size dash main: b0b1457 merge: df8785f diff diff %
ydbd size 2 251 866 360 Bytes 2 251 866 424 Bytes +64 Bytes +0.000%
ydbd stripped size 482 574 224 Bytes 482 574 224 Bytes 0 Bytes 0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

raise

@classmethod
def reset(cls, ydb_endpoint, ydb_database):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Еще mon_port надо выставлять.

maximyurchuk
maximyurchuk previously approved these changes Dec 16, 2024
@github-actions
Copy link

github-actions bot commented Dec 16, 2024

2024-12-16 11:26:41 UTC Pre-commit check linux-x86_64-release-asan for a75d17e has started.
2024-12-16 11:26:53 UTC Artifacts will be uploaded here
2024-12-16 11:29:19 UTC ya make is running...
🟢 2024-12-16 11:33:45 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
27 26 0 0 0 1

🟢 2024-12-16 11:33:54 UTC Build successful.
🟡 2024-12-16 11:34:07 UTC ydbd size 3.6 GiB changed* by +149.0 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 04c46d2 merge: a75d17e diff diff %
ydbd size 3 890 739 912 Bytes 3 890 892 504 Bytes +149.0 KiB +0.004%
ydbd stripped size 1 362 162 576 Bytes 1 362 201 872 Bytes +38.4 KiB +0.003%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Dec 16, 2024

2024-12-16 11:27:00 UTC Pre-commit check linux-x86_64-relwithdebinfo for a75d17e has started.
2024-12-16 11:27:12 UTC Artifacts will be uploaded here
2024-12-16 11:29:48 UTC ya make is running...
🟢 2024-12-16 11:33:36 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
61 60 0 0 0 1

🟢 2024-12-16 11:33:45 UTC Build successful.
🟠 2024-12-16 11:34:04 UTC Muted new 1 tests
🟢 2024-12-16 11:34:13 UTC ydbd size 2.1 GiB changed* by +84.5 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 04c46d2 merge: a75d17e diff diff %
ydbd size 2 251 866 424 Bytes 2 251 952 944 Bytes +84.5 KiB +0.004%
ydbd stripped size 482 574 224 Bytes 482 590 992 Bytes +16.4 KiB +0.003%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@zverevgeny zverevgeny merged commit 93b71f1 into ydb-platform:main Dec 16, 2024
10 checks passed
zverevgeny added a commit to zverevgeny/ydb that referenced this pull request Jan 2, 2025
Conflicts:
	.github/config/muted_ya.txt
	ydb/tests/olap/scenario/ya.make
zverevgeny added a commit to zverevgeny/ydb that referenced this pull request Jan 4, 2025
zverevgeny added a commit to zverevgeny/ydb that referenced this pull request Jan 5, 2025
Conflicts:
	.github/config/muted_ya.txt
	ydb/tests/olap/scenario/ya.make
zverevgeny added a commit to zverevgeny/ydb that referenced this pull request Jan 5, 2025
Conflicts:
	.github/config/muted_ya.txt
	ydb/tests/olap/scenario/ya.make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run olap scenario test in pr checks

3 participants