From 1fb12b84ddbccc851701ddbdd6937dfc081c5a84 Mon Sep 17 00:00:00 2001 From: Yang Guo Date: Mon, 14 Aug 2017 17:11:05 -0700 Subject: [PATCH] Allow passing image description from e2e node test config --- .../e2e_node/jenkins/benchmark/benchmark-config.yaml | 3 +++ test/e2e_node/remote/node_e2e.go | 2 +- test/e2e_node/runner/remote/run_remote.go | 12 ++++++++++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/test/e2e_node/jenkins/benchmark/benchmark-config.yaml b/test/e2e_node/jenkins/benchmark/benchmark-config.yaml index 58494307d3..d92e92c941 100644 --- a/test/e2e_node/jenkins/benchmark/benchmark-config.yaml +++ b/test/e2e_node/jenkins/benchmark/benchmark-config.yaml @@ -113,6 +113,7 @@ images: - 'resource tracking for 105 pods per node \[Benchmark\]' cos-docker112-resource1: image: cos-stable-60-9592-76-0 + image_description: cos-stable-60-9592-76-0 with docker 1.12.6 project: cos-cloud machine: n1-standard-1 metadata: "user-data 1 { // Use image name when shortName is not unique. name = image @@ -485,7 +493,7 @@ func testImage(imageConfig *internalGCEImage, junitFilePrefix string) *TestResul // If we are going to delete the instance, don't bother with cleaning up the files deleteFiles := !*deleteInstances && *cleanup - result := testHost(host, deleteFiles, imageConfig.image, junitFilePrefix, ginkgoFlagsStr) + result := testHost(host, deleteFiles, imageConfig.imageDesc, junitFilePrefix, ginkgoFlagsStr) // This is a temporary solution to collect serial node serial log. Only port 1 contains useful information. // TODO(random-liu): Extract out and unify log collection logic with cluste e2e. serialPortOutput, err := computeService.Instances.GetSerialPortOutput(*project, *zone, host).Port(1).Do()