From e000ff087291217b20591ed24cd7a07c6534591b Mon Sep 17 00:00:00 2001 From: Random-Liu Date: Tue, 22 Nov 2016 18:40:30 -0800 Subject: [PATCH] Fix remote log fetching. --- test/e2e_node/remote/remote.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e_node/remote/remote.go b/test/e2e_node/remote/remote.go index a06657ade444..3a1d07bd88fb 100644 --- a/test/e2e_node/remote/remote.go +++ b/test/e2e_node/remote/remote.go @@ -299,7 +299,7 @@ func RunRemote(archive string, host string, cleanup bool, junitFilePrefix string // journald nodes. We should have a more robust way to collect logs. var ( logName = "system.log" - logPath = filepath.Join(workspace, logName) + logPath = fmt.Sprintf("/tmp/%s-%s", getTimestamp(), logName) destPath = fmt.Sprintf("%s/%s-%s", *resultsDir, host, logName) ) glog.Infof("Test failed unexpectedly. Attempting to retreiving system logs (only works for nodes with journald)")