From 9cc0fc5beede1d146b7bd45b9a5fc777ab7f2000 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Wed, 12 Jul 2023 19:42:56 +0900 Subject: [PATCH] Log when HCKStudio and HCKClient start The test configuration step is quite a complicated; it first launches machines, and performs various configuration steps. To provide more visibility, log when machines are being launched. Signed-off-by: Akihiko Odaki --- lib/setupmanagers/hckclient.rb | 1 + lib/setupmanagers/hckstudio.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/setupmanagers/hckclient.rb b/lib/setupmanagers/hckclient.rb index 0b7a13b4..4daaefd0 100644 --- a/lib/setupmanagers/hckclient.rb +++ b/lib/setupmanagers/hckclient.rb @@ -24,6 +24,7 @@ def initialize(setup_manager, scope, studio, name, run_opts) @name = name @kit = setup_manager.kit @pool = 'Default Pool' + @logger.info("Starting client #{name}") @runner = setup_manager.run_client(scope, @name, run_opts) scope << self end diff --git a/lib/setupmanagers/hckstudio.rb b/lib/setupmanagers/hckstudio.rb index 0d348b53..019691c2 100644 --- a/lib/setupmanagers/hckstudio.rb +++ b/lib/setupmanagers/hckstudio.rb @@ -17,6 +17,7 @@ def initialize(setup_manager, scope, run_opts, &ip_getter) @ip_getter = ip_getter @logger = @project.logger @scope = scope + @logger.info('Starting studio') @runner = setup_manager.run_studio(scope, run_opts) end