[tools] testbot/WineRun*: Trace the name of the VM the task is run on.

Francois Gouget fgouget at codeweavers.com
Thu Mar 11 18:57:57 CST 2021


The information is available by going to the job details page of that
task but this helps keep track of the operations performed on a
specific VM in the Engine log.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/WineRunBuild.pl    | 2 +-
 testbot/bin/WineRunTask.pl     | 2 +-
 testbot/bin/WineRunWineTest.pl | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/testbot/bin/WineRunBuild.pl b/testbot/bin/WineRunBuild.pl
index ff130526e..adb1959f0 100755
--- a/testbot/bin/WineRunBuild.pl
+++ b/testbot/bin/WineRunBuild.pl
@@ -168,7 +168,7 @@ my $VM = $Task->VM;
 
 
 my $Start = Time();
-LogMsg "Task $JobId/$StepNo/$TaskNo started\n";
+LogMsg "Task $JobId/$StepNo/$TaskNo started on ", $VM->Name, "\n";
 
 
 #
diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl
index 36b3e68f0..d5f2610f6 100755
--- a/testbot/bin/WineRunTask.pl
+++ b/testbot/bin/WineRunTask.pl
@@ -197,7 +197,7 @@ my $VM = $Task->VM;
 
 
 my $Start = Time();
-LogMsg "Task $JobId/$StepNo/$TaskNo started\n";
+LogMsg "Task $JobId/$StepNo/$TaskNo started on ", $VM->Name, "\n";
 
 
 #
diff --git a/testbot/bin/WineRunWineTest.pl b/testbot/bin/WineRunWineTest.pl
index 94757bf62..3a267ace1 100755
--- a/testbot/bin/WineRunWineTest.pl
+++ b/testbot/bin/WineRunWineTest.pl
@@ -194,7 +194,7 @@ my $VM = $Task->VM;
 
 
 my $Start = Time();
-LogMsg "Task $JobId/$StepNo/$TaskNo started\n";
+LogMsg "Task $JobId/$StepNo/$TaskNo started on ", $VM->Name, "\n";
 
 
 #
-- 
2.20.1




More information about the wine-devel mailing list