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

[Disk Manager] fix ydb binary path #3141

Merged
merged 1 commit into from
Mar 10, 2025
Merged

Conversation

gy2411
Copy link
Collaborator

@gy2411 gy2411 commented Mar 5, 2025

Should handle exception when search for ydb binary path with yatest_common.binary_path.

yatest_lib.ya.TestMisconfigurationException: Cannot find binary '['cloud/storage/core/tools/testing/ydb/bin/ydbd']': make sure it was added in the DEPENDS section

This binary should not be found if we build without OPENSOURCE option https://github.com/ydb-platform/nbs/blob/main/cloud/disk_manager/test/snapshot_migration_test/ya.make#L62. The problem was the following: yatest_common.binary_path might throw exception instead of returning None.

@gy2411 gy2411 added large-tests Launch large tests for PR disk_manager Add this label to run only cloud/disk_manager build and tests on PR labels Mar 5, 2025
@gy2411 gy2411 force-pushed the users/gayurgin/fix_ydb_binary_path branch from 27ad5c8 to b4b73ea Compare March 5, 2025 14:26
Copy link
Contributor

github-actions bot commented Mar 5, 2025

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit b4b73ea.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
879 879 0 0 0 0

@gy2411 gy2411 changed the title [Disk Manager] [Disk Manager] fix ydb binary path Mar 6, 2025
@gy2411 gy2411 merged commit fcd85bf into main Mar 10, 2025
11 of 15 checks passed
@gy2411 gy2411 deleted the users/gayurgin/fix_ydb_binary_path branch March 10, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
disk_manager Add this label to run only cloud/disk_manager build and tests on PR large-tests Launch large tests for PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants