Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stability test library: add features and fixed bugs #13452

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

naspirato
Copy link
Collaborator

@naspirato naspirato commented Jan 16, 2025

Changelog entry

  • added md
  • fixed nemesis start
  • added start_all_workload

Changelog category

  • Not for changelog (changelog entry is not required)

Additional information

...

Copy link

github-actions bot commented Jan 16, 2025

2025-01-16 16:18:04 UTC Pre-commit check linux-x86_64-relwithdebinfo for 96a840d has started.
2025-01-16 16:18:15 UTC Artifacts will be uploaded here
2025-01-16 16:20:36 UTC ya make is running...
🟡 2025-01-16 16:22:31 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?
4 3 0 1 0 0

2025-01-16 16:22:41 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-01-16 16:23:55 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?
2 (only retried tests) 1 0 1 0 0

2025-01-16 16:24:03 UTC ya make is running... (failed tests rerun, try 3)
🔴 2025-01-16 16:25:28 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?
2 (only retried tests) 1 0 1 0 0

🟢 2025-01-16 16:25:35 UTC Build successful.

Copy link

github-actions bot commented Jan 16, 2025

2025-01-16 16:18:09 UTC Pre-commit check linux-x86_64-release-asan for 96a840d has started.
2025-01-16 16:18:21 UTC Artifacts will be uploaded here
2025-01-16 16:20:49 UTC ya make is running...
🟡 2025-01-16 16:22:43 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2 1 0 1 0 0

2025-01-16 16:22:52 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-01-16 16:24:11 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

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

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

2025-01-16 16:24:21 UTC ya make is running... (failed tests rerun, try 3)
🟡 2025-01-16 16:25:43 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

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

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

🟢 2025-01-16 16:25:50 UTC Build successful.

@naspirato naspirato changed the title add features and fixed bugs Stability test library: add features and fixed bugs Jan 16, 2025
@naspirato naspirato marked this pull request as ready for review January 17, 2025 14:34
Copy link

github-actions bot commented Jan 17, 2025

2025-01-17 14:35:06 UTC Pre-commit check linux-x86_64-relwithdebinfo for 6024c62 has started.
2025-01-17 14:35:26 UTC Artifacts will be uploaded here
2025-01-17 14:38:23 UTC ya make is running...
🟡 2025-01-17 14:39: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?
4 3 0 1 0 0

2025-01-17 14:39:57 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-01-17 14:40:39 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?
2 (only retried tests) 1 0 1 0 0

2025-01-17 14:40:47 UTC ya make is running... (failed tests rerun, try 3)
🔴 2025-01-17 14:41:54 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?
2 (only retried tests) 1 0 1 0 0

🟢 2025-01-17 14:42:01 UTC Build successful.

Copy link

github-actions bot commented Jan 17, 2025

2025-01-17 14:36:09 UTC Pre-commit check linux-x86_64-release-asan for 6024c62 has started.
2025-01-17 14:36:20 UTC Artifacts will be uploaded here
2025-01-17 14:38:42 UTC ya make is running...
🟡 2025-01-17 14:40:05 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2 1 0 1 0 0

2025-01-17 14:40:13 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-01-17 14:41:27 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

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

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

2025-01-17 14:41:35 UTC ya make is running... (failed tests rerun, try 3)
🟡 2025-01-17 14:42:45 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

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

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

🟢 2025-01-17 14:42:52 UTC Build successful.

# How to test stability
1) build ydbd (not stripped)
```
./ya make --build=profile -DCFLAGS=-fno-omit-frame-pointer --thinlto ydb/apps/ydbd
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 -r ydb/apps/ydbd предложил собирать

```
2) build library
```
./ya make /ydb/tests/stability/library
Copy link
Collaborator

@maximyurchuk maximyurchuk Jan 17, 2025

Choose a reason for hiding this comment

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

Тоже предложил бы собирать как ya make -r

```
3) deploy ydb to test specific build version
```
cd /ydb/tests/stability/library; ./library deploy_ydb --cluster_path=<path/to/>cluster.yaml --ydbd_path=<path/to/>ydb/apps/ydbd/ydbd
Copy link
Collaborator

Choose a reason for hiding this comment

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

/ydb/tests/stability/library -- первый слеш лишний

```
3) deploy ydb to test specific build version
```
cd /ydb/tests/stability/library; ./library deploy_ydb --cluster_path=<path/to/>cluster.yaml --ydbd_path=<path/to/>ydb/apps/ydbd/ydbd
Copy link
Collaborator

Choose a reason for hiding this comment

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

<path/to/>ydb/apps/ydbd/ydbd -- вот эта конструкция выглядит на мой вкус странно, предлагаю хотя бы так
repo_root/ydb/apps/ydbd/ydbd
или
<repo_root>/ydb/apps/ydbd/ydbd

Смущают слеши в треугольных скобках

./library deploy_tools --cluster_path=<path/to/>cluster.yaml --ydbd_path=<path/to/>ydb/apps/ydbd/ydbd
```
5) start workload:
- `start_all_workloads` - it start all listed bellow worloads
Copy link
Collaborator

Choose a reason for hiding this comment

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

worloads -> workloads

Copy link
Collaborator

Choose a reason for hiding this comment

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

bellow -> below

```
5) start workload:
- `start_all_workloads` - it start all listed bellow worloads
- `start_workload_simple_queue_row` - create
Copy link
Collaborator

Choose a reason for hiding this comment

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

- create -- что то неподчищенное как будто

./library deploy_tools --cluster_path=<path/to/>cluster.yaml --ydbd_path=<path/to/>ydb/apps/ydbd/ydbd
```
5) start workload:
- `start_all_workloads` - it start all listed bellow worloads
Copy link
Collaborator

Choose a reason for hiding this comment

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

Предлагаю убрать слово it возможно

```
./library start_all_workloads --cluster_path=<path/to/>cluster.yaml --ydbd_path=<path/to/>ydb/apps/ydbd/ydbd
```
to stop workload, use command `stop_workloads` - stops all worloads
Copy link
Collaborator

Choose a reason for hiding this comment

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

- stops all worloads как будто лишнее, предложение же с этого началось

to stop, use the command `stop_nemesis`


7) Check states
Copy link
Collaborator

Choose a reason for hiding this comment

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

У тебя выше пункты с маленькой буквы, здесь с большой начались

Предлагаю везде с большой сделать

7) Check states
1) yq to get all node hosts
```
sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/local/bin/yq
Copy link
Collaborator

Choose a reason for hiding this comment

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

Какая то стремноватая тема качать бинарь с гитхаба и руками его ставить в систему

Я предлагаю утилиту доработать чтобы она это в питоне делала

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.

2 participants