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

refactor: uninstall agnocast_heaphook before test_and_create_report #342

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

atsushi421
Copy link
Contributor

Description

agnocast-heaphookがインストールされている、かつ、kmodがinsmodされていない状態だと、単体テストがfailしてしまうので、もしagnocast-heaphookがインストールされている場合は

  1. uninstall
  2. テスト実行
  3. 再install

となるようにスクリプトを修正しました。ついでにテスト結果の詳細もコンソールに出るようにしました。

Related links

https://star4.slack.com/archives/C07FL8616EM/p1738287186688019

How was this PR tested?

ローカルで動作確認。

Notes for reviewers

@atsushi421 atsushi421 requested review from veqcc and Koichi98 January 31, 2025 07:37
@atsushi421 atsushi421 added the run-build-test Run build-test in CI label Jan 31, 2025
@veqcc
Copy link
Contributor

veqcc commented Jan 31, 2025

今井くんと口頭で話しましたが、
「kernel module 有無や heaphook の有無」で colcon test の結果が変わってしまうこと自体望ましくは無いですが、暫定の対応としては本 PR のやり方で良いと思います!
また同じ原因で問題が起きたら考えましょう 👍

@atsushi421 atsushi421 merged commit 2e3ce9d into main Jan 31, 2025
4 checks passed
@atsushi421 atsushi421 deleted the fix_test_and_create_report branch January 31, 2025 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-build-test Run build-test in CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants