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

Fix kikimr_runner for ubuntu 20.04 #7895

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

fexolm
Copy link
Contributor

@fexolm fexolm commented Aug 16, 2024

Changelog entry

...

Changelog category

  • New feature
  • Experimental feature
  • Improvement
  • Performance improvement
  • Bugfix
  • Backward incompatible change
  • Documentation (changelog entry is not required)
  • Not for changelog (changelog entry is not required)

Additional information

This change breaks compatibility with ubuntu 14.04 in order to run correctly on 20.04

...

@fexolm fexolm requested a review from gridnevvvit August 16, 2024 09:48
@fexolm fexolm marked this pull request as ready for review August 16, 2024 09:48
@fexolm fexolm force-pushed the fexolm/stability-tests-fix branch from 482837e to 5fac69a Compare August 16, 2024 09:51
Copy link

github-actions bot commented Aug 16, 2024

2024-08-16 09:53:35 UTC Pre-commit check for 2ca6e0a has started.
2024-08-16 09:56:45 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-16 10:50:34 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2342 2309 0 3 24 6

🟢 2024-08-16 10:50:51 UTC Build successful.
🟢 2024-08-16 10:51:10 UTC ydbd size 5.5 GiB changed* by +39.2 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 8796c8a merge: 2ca6e0a diff diff %
ydbd size 5 878 663 528 Bytes 5 878 703 648 Bytes +39.2 KiB +0.001%
ydbd stripped size 1 476 901 456 Bytes 1 476 910 800 Bytes +9.1 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

Copy link

github-actions bot commented Aug 16, 2024

2024-08-16 09:54:59 UTC Pre-commit check for 2ca6e0a has started.
2024-08-16 09:57:14 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-16 09:59:51 UTC Build successful.

Copy link

github-actions bot commented Aug 16, 2024

2024-08-16 09:55:15 UTC Pre-commit check for 2ca6e0a has started.
2024-08-16 09:57:25 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-16 10:26:43 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3277 3243 0 2 29 3

2024-08-16 10:27:04 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟡 2024-08-16 10:29:22 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

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

2024-08-16 10:29:30 UTC Failed tests rerun (try 3) linux-x86_64-relwithdebinfo is running...
🟢 2024-08-16 10:29:48 UTC Tests successful.

Test history | Ya make output

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

🟢 2024-08-16 10:29:54 UTC Build successful.
🟢 2024-08-16 10:30:09 UTC ydbd size 8.1 GiB changed* by +43.6 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 8796c8a merge: 2ca6e0a diff diff %
ydbd size 8 733 058 008 Bytes 8 733 102 648 Bytes +43.6 KiB +0.001%
ydbd stripped size 475 302 856 Bytes 475 304 264 Bytes +1.4 KiB +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

@fexolm fexolm requested a review from maximyurchuk August 16, 2024 11:33
"mon={}".format(self.__mon_port),
"ic={}".format(self.__ic_port),
]
return self.ssh_command("sudo service kikimr start")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Если мне не изменяет память на современных убунтах и без этого работало
Плюс не сломал ли ты старые убунты этой правкой?

]
return self.ssh_command("sudo service kikimr start")

slot_dir = "/Berkanavt/kikimr_{slot}".format(slot=self.__slot_id)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Это же копипаста из
def _deploy_slot_config_for_tenant(self, slot, tenant, node):
Можно ли как-то без копипасты? (я если что не уверен до конца)

self.ssh_command(["sudo", "touch", env_txt])
self.ssh_command(["/bin/echo", "-e", "\"{}\"".format(cfg), "|", "sudo", "tee", slot_cfg])

return self.ssh_command(["sudo", "systemctl", "start", "kikimr-multi@{}".format(self.__slot_id)])
Copy link
Collaborator

Choose a reason for hiding this comment

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

Тоже слом убунты 14 (systemctl)?

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.

3 participants