[Fuego] [PATCH 2/3] ftc: run_class: Correct setting value of logpath

Hoang Van Tuyen tuyen.hoangvan at toshiba-tsdv.com
Tue Mar 20 07:50:13 UTC 2018


We exported LOGDIR like $FUEGO_RW/logs/$TESTDIR/${NODE_NAME}.${TESTSPEC}.
${BUILD_NUMBER}.${BUILD_ID}. So, Add board field to logpath variable.

Signed-off-by: Hoang Van Tuyen <tuyen.hoangvan at toshiba-tsdv.com>
---
  engine/scripts/ftc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/engine/scripts/ftc b/engine/scripts/ftc
index 3263fe6..e4fcfe8 100755
--- a/engine/scripts/ftc
+++ b/engine/scripts/ftc
@@ -522,7 +522,7 @@ class run_class:
          self.board = board
          self.rundir = rundir    # place with run.json file and console log
          self.builddir = "not set"    # place with build.xml file and 
console log
-        self.logpath = conf.FUEGO_RW+"/logs/%s/%s.%s.%s" % (test_name, 
spec, num, num)
+        self.logpath = conf.FUEGO_RW+"/logs/%s/%s.%s.%s.%s" % 
(test_name, board, spec, num, num)
          self.num = num          # jenkins local run number
          self.run_id = "%s-%s-%s-%s" % (test_name, spec, num, board)
          self.global_run_id = "%s-%s-%s-on-%s:%s" % (test_name, spec, 
num, host, board)
-- 
2.1.4

-------------- next part --------------
From bddce5b9618da7596de75b78d6690c8171f64541 Mon Sep 17 00:00:00 2001
From: Hoang Van Tuyen <tuyen.hoangvan at toshiba-tsdv.com>
Date: Mon, 19 Mar 2018 13:14:49 +0700
Subject: [PATCH 2/3] ftc: run_class: Correct setting value of logpath

We exported LOGDIR like $FUEGO_RW/logs/$TESTDIR/${NODE_NAME}.${TESTSPEC}.
${BUILD_NUMBER}.${BUILD_ID}. So, Add board field to logpath variable.

Signed-off-by: Hoang Van Tuyen <tuyen.hoangvan at toshiba-tsdv.com>
---
 engine/scripts/ftc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/engine/scripts/ftc b/engine/scripts/ftc
index 3263fe6..e4fcfe8 100755
--- a/engine/scripts/ftc
+++ b/engine/scripts/ftc
@@ -522,7 +522,7 @@ class run_class:
         self.board = board
         self.rundir = rundir    # place with run.json file and console log
         self.builddir = "not set"    # place with build.xml file and console log
-        self.logpath = conf.FUEGO_RW+"/logs/%s/%s.%s.%s" % (test_name, spec, num, num)
+        self.logpath = conf.FUEGO_RW+"/logs/%s/%s.%s.%s.%s" % (test_name, board, spec, num, num)
         self.num = num          # jenkins local run number
         self.run_id = "%s-%s-%s-%s" % (test_name, spec, num, board)
         self.global_run_id = "%s-%s-%s-on-%s:%s" % (test_name, spec, num, host, board)
-- 
2.1.4
-------------- next part --------------
-- 
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com


More information about the Fuego mailing list