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

Tim.Bird at sony.com Tim.Bird at sony.com
Tue Mar 20 22:51:28 UTC 2018


I assume you are trying to package some runs.  This code has also
not been maintained adequately.  Thanks for the fix.
Applied.
 -- Tim


> -----Original Message-----
> From: fuego-bounces at lists.linuxfoundation.org [mailto:fuego-
> bounces at lists.linuxfoundation.org] On Behalf Of Hoang Van Tuyen
> Sent: Tuesday, March 20, 2018 12:50 AM
> To: fuego at lists.linuxfoundation.org
> Subject: [Fuego] [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



More information about the Fuego mailing list