New issue
Advanced search Search tips

Issue 708871 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

Wrong TMPDIR when executing recipes on Swarming on canary.

Project Member Reported by vadimsh@chromium.org, Apr 6 2017

Issue description

The canary has been red for few days: https://luci-scheduler-dev.appspot.com/jobs/infra/infra-continuous-trusty-64

Last green build: https://luci-milo-dev.appspot.com/swarming/task/354e0d6b8ee11a10?server=chromium-swarm-dev.appspot.com 
First red build: https://luci-milo-dev.appspot.com/swarming/task/354e1511ad112a10?server=chromium-swarm-dev.appspot.com

The difference is in TMPDIR value: 
 * On green it is: TMPDIR=/b/s/w/itpPijlz
 * On red it is: TMPDIR=tmp

Relative path for TMPDIR env var probably triggers some weird stuff. In particular, go compiler doesn't work with such environment.
 

Comment 1 by no...@chromium.org, Apr 6 2017

Owner: no...@chromium.org
Status: Assigned (was: Untriaged)
i will fix it first thing tomorrow
Project Member

Comment 2 by bugdroid1@chromium.org, Apr 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/a7bbef40c4da1f42e9ee87507d2c052d2548220d

commit a7bbef40c4da1f42e9ee87507d2c052d2548220d
Author: Nodir Turakulov <nodir@chromium.org>
Date: Thu Apr 06 21:37:27 2017

kitchen: make temp dir absolute

R=dnj@chromium.org, vadimsh@chromium.org
BUG= 708871 

Change-Id: I373aa1115df8baeab63026e6445c0cc586c3c513
Reviewed-on: https://chromium-review.googlesource.com/470187
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
Reviewed-by: Daniel Jacques <dnj@chromium.org>
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Commit-Queue: Nodir Turakulov <nodir@chromium.org>

[modify] https://crrev.com/a7bbef40c4da1f42e9ee87507d2c052d2548220d/go/src/infra/tools/kitchen/cook.go

Comment 3 by no...@chromium.org, Apr 6 2017

Status: Fixed (was: Assigned)

Sign in to add a comment