Pull request #108 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of siggiskulason for edgexfoundry/device-rest-go Loading trusted files from base branch master at a0a7eec39b0c4269a0e577821221e71b45f7e5c7 rather than 8b5b60a7870f91dc9f24498af2c9e08cdcac521a Obtained Jenkinsfile from a0a7eec39b0c4269a0e577821221e71b45f7e5c7 Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4084795483357125418.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh616111449540534312.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-108/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-108/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8750545962231270733.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-108/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6526990047908837598.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4231954792831236354.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-108/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-108/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3227453750456176623.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-412 in /w/workspace/gexfoundry_device-rest-go_PR-108 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-108 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-108@tmp/jenkins-gitclient-ssh5228065227437683370.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit a0a7eec39b0c4269a0e577821221e71b45f7e5c7 into PR head commit 8b5b60a7870f91dc9f24498af2c9e08cdcac521a Merge succeeded, producing 8b5b60a7870f91dc9f24498af2c9e08cdcac521a Checking out Revision 8b5b60a7870f91dc9f24498af2c9e08cdcac521a (PR-108) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-108@tmp/jenkins-gitclient-ssh5414031459221023878.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/108/head:refs/remotes/origin/PR-108 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b5b60a7870f91dc9f24498af2c9e08cdcac521a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-108@tmp/jenkins-gitclient-ssh8279642808516740357.key > git merge a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b5b60a7870f91dc9f24498af2c9e08cdcac521a # timeout=10 Commit message: "fix(snap): '-go' suffix removed from device name" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-26T12:05:16.988Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-26T12:05:17.183Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-26T12:05:17.298Z] ========================================================= [2021-05-26T12:05:17.298Z] EdgeX Global Pipelines Version Info [2021-05-26T12:05:17.298Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-26T12:05:18.851Z] ------------------- [2021-05-26T12:05:18.851Z] stable info: [2021-05-26T12:05:18.851Z] ------------------- [2021-05-26T12:05:18.851Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-26T12:05:18.851Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T12:05:18.851Z] Message: update stable to v1.0.192 [2021-05-26T12:05:19.430Z] ------------------- [2021-05-26T12:05:19.430Z] experimental info: [2021-05-26T12:05:19.430Z] ------------------- [2021-05-26T12:05:19.430Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-26T12:05:19.430Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T12:05:19.430Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-26T12:05:19.668Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-26T12:05:19.730Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-26T12:05:19.787Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-26T12:05:19.850Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-26T12:05:19.920Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-26T12:05:19.981Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-26T12:05:20.043Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-26T12:05:20.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-26T12:05:20.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-26T12:05:20.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-26T12:05:20.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-26T12:05:20.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-26T12:05:20.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-26T12:05:20.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-26T12:05:20.593Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T12:05:20.650Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T12:05:20.710Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T12:05:20.769Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T12:05:20.826Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-26T12:05:20.901Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-26T12:05:20.959Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-26T12:05:21.025Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-26T12:05:21.087Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-26T12:05:21.142Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-26T12:05:21.200Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-26T12:05:21.257Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-26T12:05:21.314Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-108 [Pipeline] echo [2021-05-26T12:05:21.373Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-108 [Pipeline] echo [2021-05-26T12:05:21.437Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-108 [Pipeline] echo [2021-05-26T12:05:21.501Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b5b60a7870f91dc9f24498af2c9e08cdcac521a [Pipeline] echo [2021-05-26T12:05:21.563Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b5b60a [Pipeline] echo [2021-05-26T12:05:21.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T12:05:21.807Z] provisioning config files... [2021-05-26T12:05:21.828Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-108@tmp/config5830333198951456073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T12:05:22.229Z] ---> docker-login.sh [2021-05-26T12:05:22.229Z] nexus3.edgexfoundry.org:10001 [2021-05-26T12:05:22.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:05:23.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:05:23.068Z] Configure a credential helper to remove this warning. See [2021-05-26T12:05:23.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:05:23.068Z] [2021-05-26T12:05:23.068Z] Login Succeeded [2021-05-26T12:05:23.068Z] nexus3.edgexfoundry.org:10002 [2021-05-26T12:05:23.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:05:23.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:05:23.068Z] Configure a credential helper to remove this warning. See [2021-05-26T12:05:23.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:05:23.068Z] [2021-05-26T12:05:23.068Z] Login Succeeded [2021-05-26T12:05:23.068Z] nexus3.edgexfoundry.org:10003 [2021-05-26T12:05:23.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:05:23.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:05:23.332Z] Configure a credential helper to remove this warning. See [2021-05-26T12:05:23.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:05:23.332Z] [2021-05-26T12:05:23.332Z] Login Succeeded [2021-05-26T12:05:23.332Z] nexus3.edgexfoundry.org:10004 [2021-05-26T12:05:23.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:05:23.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:05:23.598Z] Configure a credential helper to remove this warning. See [2021-05-26T12:05:23.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:05:23.598Z] [2021-05-26T12:05:23.598Z] Login Succeeded [2021-05-26T12:05:23.598Z] docker.io [2021-05-26T12:05:23.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:05:23.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:05:23.860Z] Configure a credential helper to remove this warning. See [2021-05-26T12:05:23.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:05:23.860Z] [2021-05-26T12:05:23.860Z] Login Succeeded [2021-05-26T12:05:23.860Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T12:05:23.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T12:05:24.683Z] + git log --format=format:%s -1 8b5b60a7870f91dc9f24498af2c9e08cdcac521a [Pipeline] echo [2021-05-26T12:05:24.758Z] GIT_COMMIT: 8b5b60a7870f91dc9f24498af2c9e08cdcac521a, Commit Message: fix(snap): '-go' suffix removed from device name [Pipeline] echo [2021-05-26T12:05:24.802Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-26T12:05:25.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T12:05:25.774Z] [2021-05-26T12:05:25.774Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T12:05:26.134Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T12:05:28.052Z] latest: Pulling from edgex-devops/git-semver [2021-05-26T12:05:28.052Z] 31603596830f: Pulling fs layer [2021-05-26T12:05:28.052Z] 54011a49482f: Pulling fs layer [2021-05-26T12:05:28.052Z] a6820b24f6d8: Pulling fs layer [2021-05-26T12:05:28.052Z] f581987b2513: Pulling fs layer [2021-05-26T12:05:28.052Z] f581987b2513: Waiting [2021-05-26T12:05:28.052Z] 54011a49482f: Verifying Checksum [2021-05-26T12:05:28.052Z] 54011a49482f: Download complete [2021-05-26T12:05:28.052Z] 31603596830f: Verifying Checksum [2021-05-26T12:05:28.052Z] 31603596830f: Download complete [2021-05-26T12:05:28.052Z] f581987b2513: Verifying Checksum [2021-05-26T12:05:28.052Z] f581987b2513: Download complete [2021-05-26T12:05:28.052Z] a6820b24f6d8: Verifying Checksum [2021-05-26T12:05:28.052Z] a6820b24f6d8: Download complete [2021-05-26T12:05:28.313Z] 31603596830f: Pull complete [2021-05-26T12:05:28.577Z] 54011a49482f: Pull complete [2021-05-26T12:05:29.524Z] a6820b24f6d8: Pull complete [2021-05-26T12:05:29.785Z] f581987b2513: Pull complete [2021-05-26T12:05:29.785Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-26T12:05:29.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T12:05:29.785Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-26T12:05:29.893Z] prd-centos7-docker-4c-2g-412 does not seem to be running inside a container [2021-05-26T12:05:29.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-108 -v /w/workspace/gexfoundry_device-rest-go_PR-108:/w/workspace/gexfoundry_device-rest-go_PR-108:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-108@tmp:/w/workspace/gexfoundry_device-rest-go_PR-108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T12:05:34.587Z] $ docker top b8a479c0d691d78badd72b09dcc4290250e525de8678973e72ffab3b45fa2eb6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T12:05:34.800Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T12:05:34.800Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T12:05:34.906Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T12:05:34.905Z] $ docker exec b8a479c0d691d78badd72b09dcc4290250e525de8678973e72ffab3b45fa2eb6 ssh-agent [2021-05-26T12:05:35.016Z] SSH_AUTH_SOCK=/tmp/ssh-3QkkU9jcmGcr/agent.14 [2021-05-26T12:05:35.016Z] SSH_AGENT_PID=20 [2021-05-26T12:05:35.023Z] Running ssh-add (command line suppressed) [2021-05-26T12:05:35.101Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-108@tmp/private_key_8733067750958371449.key (/w/workspace/gexfoundry_device-rest-go_PR-108@tmp/private_key_8733067750958371449.key) [2021-05-26T12:05:35.118Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T12:05:35.461Z] + git tag --points-at HEAD [Pipeline] } [2021-05-26T12:05:35.480Z] $ docker exec --env ******** --env ******** b8a479c0d691d78badd72b09dcc4290250e525de8678973e72ffab3b45fa2eb6 ssh-agent -k [2021-05-26T12:05:35.569Z] unset SSH_AUTH_SOCK; [2021-05-26T12:05:35.570Z] unset SSH_AGENT_PID; [2021-05-26T12:05:35.570Z] echo Agent pid 20 killed; [2021-05-26T12:05:35.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-26T12:05:35.686Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T12:05:35.686Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T12:05:35.789Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T12:05:35.788Z] $ docker exec b8a479c0d691d78badd72b09dcc4290250e525de8678973e72ffab3b45fa2eb6 ssh-agent [2021-05-26T12:05:35.896Z] SSH_AUTH_SOCK=/tmp/ssh-GFm2LT0iDU0z/agent.53 [2021-05-26T12:05:35.896Z] SSH_AGENT_PID=60 [2021-05-26T12:05:35.902Z] Running ssh-add (command line suppressed) [2021-05-26T12:05:35.992Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-108@tmp/private_key_4126740243068129123.key (/w/workspace/gexfoundry_device-rest-go_PR-108@tmp/private_key_4126740243068129123.key) [2021-05-26T12:05:36.009Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T12:05:36.361Z] + git semver init [2021-05-26T12:05:36.361Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T12:05:36.361Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-108/.git [2021-05-26T12:05:36.361Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-108 [2021-05-26T12:05:36.361Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T12:05:36.361Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T12:05:36.361Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T12:05:36.361Z] # $SEMVER_BRANCH = PR-108 [2021-05-26T12:05:36.361Z] # $SEMVER_TEMP = /tmp/semver-861803294 [2021-05-26T12:05:36.361Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-26T12:05:37.306Z] # '/tmp/semver-861803294' -> '/w/workspace/gexfoundry_device-rest-go_PR-108/.semver' [2021-05-26T12:05:37.306Z] # -> Force: false [2021-05-26T12:05:37.306Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-108/.semver [Pipeline] } [2021-05-26T12:05:37.322Z] $ docker exec --env ******** --env ******** b8a479c0d691d78badd72b09dcc4290250e525de8678973e72ffab3b45fa2eb6 ssh-agent -k [2021-05-26T12:05:37.437Z] unset SSH_AUTH_SOCK; [2021-05-26T12:05:37.438Z] unset SSH_AGENT_PID; [2021-05-26T12:05:37.438Z] echo Agent pid 60 killed; [2021-05-26T12:05:37.451Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T12:05:37.885Z] + git semver [Pipeline] } [2021-05-26T12:05:37.922Z] $ docker stop --time=1 b8a479c0d691d78badd72b09dcc4290250e525de8678973e72ffab3b45fa2eb6 [2021-05-26T12:05:39.759Z] $ docker rm -f b8a479c0d691d78badd72b09dcc4290250e525de8678973e72ffab3b45fa2eb6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T12:05:40.220Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-26T12:05:40.545Z] Stashed 1 file(s) [Pipeline] echo [2021-05-26T12:05:40.578Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-26T12:05:56.120Z] Still waiting to schedule task [2021-05-26T12:05:56.121Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-26T12:05:56.149Z] Still waiting to schedule task [2021-05-26T12:05:56.150Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-26T12:08:01.599Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-413 in /w/workspace/gexfoundry_device-rest-go_PR-108 [Pipeline] { [Pipeline] ws [2021-05-26T12:08:01.664Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-26T12:08:01.921Z] The recommended git tool is: git [2021-05-26T12:08:07.265Z] using credential edgex-jenkins-ssh [2021-05-26T12:08:07.282Z] Cloning the remote Git repository [2021-05-26T12:08:07.386Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T12:08:07.667Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-26T12:08:07.753Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T12:08:07.754Z] > git --version # timeout=10 [2021-05-26T12:08:07.775Z] > git --version # 'git version 2.17.1' [2021-05-26T12:08:07.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T12:08:07.875Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T12:08:10.112Z] Merging remotes/origin/master commit a0a7eec39b0c4269a0e577821221e71b45f7e5c7 into PR head commit 8b5b60a7870f91dc9f24498af2c9e08cdcac521a [2021-05-26T12:08:10.317Z] Merge succeeded, producing 8b5b60a7870f91dc9f24498af2c9e08cdcac521a [2021-05-26T12:08:10.318Z] Checking out Revision 8b5b60a7870f91dc9f24498af2c9e08cdcac521a (PR-108) [2021-05-26T12:08:09.379Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-26T12:08:09.400Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T12:08:09.427Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-26T12:08:09.470Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T12:08:09.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T12:08:09.483Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/108/head:refs/remotes/origin/PR-108 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-26T12:08:10.126Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T12:08:10.143Z] > git checkout -f 8b5b60a7870f91dc9f24498af2c9e08cdcac521a # timeout=10 [2021-05-26T12:08:10.223Z] > git remote # timeout=10 [2021-05-26T12:08:10.244Z] > git config --get remote.origin.url # timeout=10 [2021-05-26T12:08:10.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T12:08:10.272Z] > git merge a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 [2021-05-26T12:08:10.295Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-26T12:08:10.319Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T12:08:10.337Z] > git checkout -f 8b5b60a7870f91dc9f24498af2c9e08cdcac521a # timeout=10 [2021-05-26T12:08:14.610Z] Commit message: "fix(snap): '-go' suffix removed from device name" [2021-05-26T12:08:14.670Z] > git --version # timeout=10 [2021-05-26T12:08:14.679Z] > git --version # 'git version 2.17.1' [2021-05-26T12:08:14.694Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T12:08:16.406Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-26T12:08:16.824Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T12:08:17.181Z] + true [2021-05-26T12:08:17.181Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T12:08:35.596Z] provisioning config files... [2021-05-26T12:08:35.624Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1239209243893534397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T12:08:36.048Z] ---> docker-login.sh [2021-05-26T12:08:36.048Z] nexus3.edgexfoundry.org:10001 [2021-05-26T12:08:37.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:08:37.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:08:37.634Z] Configure a credential helper to remove this warning. See [2021-05-26T12:08:37.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:08:37.634Z] [2021-05-26T12:08:37.634Z] Login Succeeded [2021-05-26T12:08:37.634Z] nexus3.edgexfoundry.org:10002 [2021-05-26T12:08:37.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:08:38.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:08:38.184Z] Configure a credential helper to remove this warning. See [2021-05-26T12:08:38.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:08:38.184Z] [2021-05-26T12:08:38.184Z] Login Succeeded [2021-05-26T12:08:38.184Z] nexus3.edgexfoundry.org:10003 [2021-05-26T12:08:38.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:08:38.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:08:38.739Z] Configure a credential helper to remove this warning. See [2021-05-26T12:08:38.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:08:38.739Z] [2021-05-26T12:08:38.739Z] Login Succeeded [2021-05-26T12:08:38.739Z] nexus3.edgexfoundry.org:10004 [2021-05-26T12:08:39.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:08:39.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:08:39.294Z] Configure a credential helper to remove this warning. See [2021-05-26T12:08:39.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:08:39.294Z] [2021-05-26T12:08:39.294Z] Login Succeeded [2021-05-26T12:08:39.294Z] docker.io [2021-05-26T12:08:39.338Z] Running on prd-centos7-docker-4c-2g-414 in /w/workspace/gexfoundry_device-rest-go_PR-108 [Pipeline] { [Pipeline] ws [2021-05-26T12:08:39.392Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-26T12:08:39.541Z] The recommended git tool is: git [2021-05-26T12:08:39.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:08:39.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:08:39.848Z] Configure a credential helper to remove this warning. See [2021-05-26T12:08:39.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:08:39.848Z] [2021-05-26T12:08:39.848Z] Login Succeeded [2021-05-26T12:08:39.848Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T12:08:39.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-26T12:08:40.497Z] ========================================================= [2021-05-26T12:08:40.497Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-26T12:08:40.497Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T12:08:40.916Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-26T12:08:40.916Z] Sending build context to Docker daemon 92.16kB [2021-05-26T12:08:41.534Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T12:08:41.534Z] Step 2/10 : FROM ${BASE} [2021-05-26T12:08:41.534Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-26T12:08:41.534Z] 595b0fe564bb: Pulling fs layer [2021-05-26T12:08:41.534Z] 7186ed65a4f7: Pulling fs layer [2021-05-26T12:08:41.534Z] 316046926c0a: Pulling fs layer [2021-05-26T12:08:41.534Z] 4ebd0625c992: Pulling fs layer [2021-05-26T12:08:41.534Z] 207e8628e3a3: Pulling fs layer [2021-05-26T12:08:41.534Z] c791037a9be2: Pulling fs layer [2021-05-26T12:08:41.534Z] ffd874e62e21: Pulling fs layer [2021-05-26T12:08:41.534Z] 207e8628e3a3: Waiting [2021-05-26T12:08:41.534Z] c791037a9be2: Waiting [2021-05-26T12:08:41.534Z] ffd874e62e21: Waiting [2021-05-26T12:08:41.534Z] 4ebd0625c992: Waiting [2021-05-26T12:08:41.534Z] 316046926c0a: Verifying Checksum [2021-05-26T12:08:41.534Z] 316046926c0a: Download complete [2021-05-26T12:08:41.534Z] 7186ed65a4f7: Verifying Checksum [2021-05-26T12:08:41.534Z] 7186ed65a4f7: Download complete [2021-05-26T12:08:41.534Z] 207e8628e3a3: Verifying Checksum [2021-05-26T12:08:41.534Z] 207e8628e3a3: Download complete [2021-05-26T12:08:41.534Z] c791037a9be2: Verifying Checksum [2021-05-26T12:08:41.534Z] c791037a9be2: Download complete [2021-05-26T12:08:41.809Z] 595b0fe564bb: Verifying Checksum [2021-05-26T12:08:41.809Z] 595b0fe564bb: Download complete [2021-05-26T12:08:42.009Z] using credential edgex-jenkins-ssh [2021-05-26T12:08:42.023Z] Cloning the remote Git repository [2021-05-26T12:08:42.408Z] 595b0fe564bb: Pull complete [2021-05-26T12:08:42.043Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T12:08:42.112Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-26T12:08:42.137Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T12:08:42.137Z] > git --version # timeout=10 [2021-05-26T12:08:42.145Z] > git --version # 'git version 2.24.4' [2021-05-26T12:08:42.146Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T12:08:42.178Z] [INFO] Currently running in a labeled security context [2021-05-26T12:08:42.178Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T12:08:42.179Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh830082410439922936.key [2021-05-26T12:08:42.226Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T12:08:43.010Z] 7186ed65a4f7: Pull complete [2021-05-26T12:08:43.285Z] 316046926c0a: Pull complete [2021-05-26T12:08:44.264Z] ffd874e62e21: Verifying Checksum [2021-05-26T12:08:44.264Z] ffd874e62e21: Download complete [2021-05-26T12:08:45.698Z] 4ebd0625c992: Verifying Checksum [2021-05-26T12:08:45.698Z] 4ebd0625c992: Download complete [2021-05-26T12:08:46.590Z] Merging remotes/origin/master commit a0a7eec39b0c4269a0e577821221e71b45f7e5c7 into PR head commit 8b5b60a7870f91dc9f24498af2c9e08cdcac521a [2021-05-26T12:08:46.112Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-26T12:08:46.116Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T12:08:46.130Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-26T12:08:46.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T12:08:46.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T12:08:46.147Z] [INFO] Currently running in a labeled security context [2021-05-26T12:08:46.148Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T12:08:46.148Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6537313552257243876.key [2021-05-26T12:08:46.155Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/108/head:refs/remotes/origin/PR-108 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-26T12:08:46.669Z] Merge succeeded, producing 8b5b60a7870f91dc9f24498af2c9e08cdcac521a [2021-05-26T12:08:46.669Z] Checking out Revision 8b5b60a7870f91dc9f24498af2c9e08cdcac521a (PR-108) [2021-05-26T12:08:46.594Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T12:08:46.600Z] > git checkout -f 8b5b60a7870f91dc9f24498af2c9e08cdcac521a # timeout=10 [2021-05-26T12:08:46.631Z] > git remote # timeout=10 [2021-05-26T12:08:46.636Z] > git config --get remote.origin.url # timeout=10 [2021-05-26T12:08:46.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T12:08:46.645Z] [INFO] Currently running in a labeled security context [2021-05-26T12:08:46.645Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T12:08:46.645Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh5096056589951879951.key [2021-05-26T12:08:46.649Z] > git merge a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 [2021-05-26T12:08:46.657Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-26T12:08:46.667Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T12:08:46.676Z] > git checkout -f 8b5b60a7870f91dc9f24498af2c9e08cdcac521a # timeout=10 [2021-05-26T12:08:50.258Z] Commit message: "fix(snap): '-go' suffix removed from device name" [2021-05-26T12:08:50.277Z] > git --version # timeout=10 [2021-05-26T12:08:50.286Z] > git --version # 'git version 2.24.4' [2021-05-26T12:08:50.295Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T12:08:51.530Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-26T12:08:51.875Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T12:08:52.200Z] + sudo service docker restart [2021-05-26T12:08:52.201Z] + true [2021-05-26T12:08:52.201Z] Redirecting to /bin/systemctl restart docker.service [2021-05-26T12:08:55.876Z] 4ebd0625c992: Pull complete [2021-05-26T12:08:56.149Z] 207e8628e3a3: Pull complete [2021-05-26T12:08:56.426Z] c791037a9be2: Pull complete [2021-05-26T12:09:00.782Z] ffd874e62e21: Pull complete [2021-05-26T12:09:00.782Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-26T12:09:00.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-26T12:09:00.782Z] ---> cfc18b08335c [2021-05-26T12:09:00.782Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T12:09:02.768Z] ---> Running in 29db481bf5a4 [2021-05-26T12:09:02.768Z] Removing intermediate container 29db481bf5a4 [2021-05-26T12:09:02.768Z] ---> c3c09a19d8e5 [2021-05-26T12:09:02.768Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T12:09:03.041Z] ---> Running in 0e9725929ea8 [2021-05-26T12:09:03.641Z] Removing intermediate container 0e9725929ea8 [2021-05-26T12:09:03.641Z] ---> 9ffbb8068c5c [2021-05-26T12:09:03.641Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T12:09:03.641Z] ---> Running in 4331442cb688 [2021-05-26T12:09:03.921Z] Removing intermediate container 4331442cb688 [2021-05-26T12:09:03.921Z] ---> b01cd9bd9424 [2021-05-26T12:09:03.921Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T12:09:04.196Z] ---> Running in aeb8a99d62d8 [2021-05-26T12:09:06.826Z] Removing intermediate container aeb8a99d62d8 [2021-05-26T12:09:06.826Z] ---> 1918efa69f24 [2021-05-26T12:09:06.826Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T12:09:06.826Z] ---> Running in 2fe67307f861 [2021-05-26T12:09:07.810Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T12:09:09.247Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T12:09:09.847Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-26T12:09:09.847Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-26T12:09:09.847Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-26T12:09:10.122Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-26T12:09:10.122Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T12:09:10.122Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-26T12:09:10.407Z] (7/9) Installing openssh-client (8.4_p1-r3) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T12:09:10.501Z] provisioning config files... [2021-05-26T12:09:10.515Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3895163738918368268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T12:09:10.699Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-26T12:09:10.700Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-26T12:09:10.916Z] ---> docker-login.sh [2021-05-26T12:09:10.916Z] nexus3.edgexfoundry.org:10001 [2021-05-26T12:09:10.974Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T12:09:10.974Z] OK: 144 MiB in 49 packages [2021-05-26T12:09:11.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:09:11.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:09:11.882Z] Configure a credential helper to remove this warning. See [2021-05-26T12:09:11.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:09:11.882Z] [2021-05-26T12:09:11.882Z] Login Succeeded [2021-05-26T12:09:11.882Z] nexus3.edgexfoundry.org:10002 [2021-05-26T12:09:11.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:09:11.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:09:11.882Z] Configure a credential helper to remove this warning. See [2021-05-26T12:09:11.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:09:11.882Z] [2021-05-26T12:09:11.882Z] Login Succeeded [2021-05-26T12:09:11.882Z] nexus3.edgexfoundry.org:10003 [2021-05-26T12:09:11.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:09:12.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:09:12.147Z] Configure a credential helper to remove this warning. See [2021-05-26T12:09:12.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:09:12.147Z] [2021-05-26T12:09:12.147Z] Login Succeeded [2021-05-26T12:09:12.147Z] nexus3.edgexfoundry.org:10004 [2021-05-26T12:09:12.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:09:12.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:09:12.147Z] Configure a credential helper to remove this warning. See [2021-05-26T12:09:12.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:09:12.147Z] [2021-05-26T12:09:12.147Z] Login Succeeded [2021-05-26T12:09:12.147Z] docker.io [2021-05-26T12:09:12.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T12:09:12.422Z] Removing intermediate container 2fe67307f861 [2021-05-26T12:09:12.422Z] ---> 5d6f6ea762da [2021-05-26T12:09:12.422Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-26T12:09:12.422Z] ---> Running in 3b7407dfc3a8 [2021-05-26T12:09:12.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T12:09:12.763Z] Configure a credential helper to remove this warning. See [2021-05-26T12:09:12.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T12:09:12.763Z] [2021-05-26T12:09:12.763Z] Login Succeeded [2021-05-26T12:09:12.763Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T12:09:12.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-26T12:09:13.042Z] Removing intermediate container 3b7407dfc3a8 [2021-05-26T12:09:13.042Z] ---> 09ec1d7cdcb6 [2021-05-26T12:09:13.042Z] Step 9/10 : COPY . . [Pipeline] echo [2021-05-26T12:09:13.121Z] ========================================================= [2021-05-26T12:09:13.121Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-26T12:09:13.121Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T12:09:13.476Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-26T12:09:13.476Z] Sending build context to Docker daemon 92.16kB [2021-05-26T12:09:13.476Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T12:09:13.476Z] Step 2/10 : FROM ${BASE} [2021-05-26T12:09:13.736Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-26T12:09:13.736Z] 540db60ca938: Pulling fs layer [2021-05-26T12:09:13.736Z] adcc1eea9eea: Pulling fs layer [2021-05-26T12:09:13.736Z] 4c4ab2625f07: Pulling fs layer [2021-05-26T12:09:13.736Z] 0510c868ecb4: Pulling fs layer [2021-05-26T12:09:13.736Z] afea3b2eda06: Pulling fs layer [2021-05-26T12:09:13.736Z] 7809a108b3ef: Pulling fs layer [2021-05-26T12:09:13.736Z] f706445af74f: Pulling fs layer [2021-05-26T12:09:13.736Z] 0510c868ecb4: Waiting [2021-05-26T12:09:13.736Z] afea3b2eda06: Waiting [2021-05-26T12:09:13.736Z] 7809a108b3ef: Waiting [2021-05-26T12:09:13.736Z] f706445af74f: Waiting [2021-05-26T12:09:14.002Z] 4c4ab2625f07: Verifying Checksum [2021-05-26T12:09:14.002Z] 4c4ab2625f07: Download complete [2021-05-26T12:09:14.002Z] adcc1eea9eea: Verifying Checksum [2021-05-26T12:09:14.002Z] adcc1eea9eea: Download complete [2021-05-26T12:09:14.002Z] afea3b2eda06: Verifying Checksum [2021-05-26T12:09:14.002Z] afea3b2eda06: Download complete [2021-05-26T12:09:14.002Z] 7809a108b3ef: Verifying Checksum [2021-05-26T12:09:14.002Z] 7809a108b3ef: Download complete [2021-05-26T12:09:14.002Z] 540db60ca938: Verifying Checksum [2021-05-26T12:09:14.002Z] 540db60ca938: Download complete [2021-05-26T12:09:14.024Z] ---> db19ed4b11c0 [2021-05-26T12:09:14.024Z] Step 10/10 : RUN go mod download [2021-05-26T12:09:14.024Z] ---> Running in 64bf80999a80 [2021-05-26T12:09:14.278Z] 540db60ca938: Pull complete [2021-05-26T12:09:14.558Z] adcc1eea9eea: Pull complete [2021-05-26T12:09:14.558Z] 4c4ab2625f07: Pull complete [2021-05-26T12:09:15.945Z] f706445af74f: Verifying Checksum [2021-05-26T12:09:15.945Z] f706445af74f: Download complete [2021-05-26T12:09:16.207Z] 0510c868ecb4: Verifying Checksum [2021-05-26T12:09:16.207Z] 0510c868ecb4: Download complete [2021-05-26T12:09:20.453Z] 0510c868ecb4: Pull complete [2021-05-26T12:09:20.453Z] afea3b2eda06: Pull complete [2021-05-26T12:09:20.717Z] 7809a108b3ef: Pull complete [2021-05-26T12:09:22.645Z] f706445af74f: Pull complete [2021-05-26T12:09:22.645Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-26T12:09:22.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-26T12:09:22.645Z] ---> b068be0155e3 [2021-05-26T12:09:22.645Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T12:09:40.825Z] Removing intermediate container 64bf80999a80 [2021-05-26T12:09:40.826Z] ---> 01d3f6025d17 [2021-05-26T12:09:40.826Z] Successfully built 01d3f6025d17 [2021-05-26T12:09:41.095Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T12:09:41.476Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T12:09:41.477Z] . [Pipeline] withDockerContainer [2021-05-26T12:09:41.762Z] prd-ubuntu18.04-docker-arm64-4c-16g-413 does not seem to be running inside a container [2021-05-26T12:09:41.843Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-26T12:09:43.537Z] $ docker top 1a47e9241902089fc8e5f7567f5e1293672a97beaf1b6a143064824e465a3ad4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T12:09:44.598Z] + go version [2021-05-26T12:09:44.598Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-26T12:09:44.630Z] $ docker stop --time=1 1a47e9241902089fc8e5f7567f5e1293672a97beaf1b6a143064824e465a3ad4 [2021-05-26T12:09:46.432Z] $ docker rm -f 1a47e9241902089fc8e5f7567f5e1293672a97beaf1b6a143064824e465a3ad4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T12:09:47.387Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T12:09:47.387Z] . [Pipeline] withDockerContainer [2021-05-26T12:09:47.634Z] prd-ubuntu18.04-docker-arm64-4c-16g-413 does not seem to be running inside a container [2021-05-26T12:09:47.708Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-26T12:09:49.343Z] $ docker top e929c06ebc2de39e8db160ff2d64dbe6d39ae90d08bd5d58ee63629c82b8b106 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T12:09:50.377Z] + go mod tidy [Pipeline] sh [2021-05-26T12:09:51.670Z] + make test [2021-05-26T12:09:51.670Z] go mod tidy [2021-05-26T12:09:52.268Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-26T12:09:53.717Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-26T12:10:01.424Z] ---> Running in 49502ab3a5bd [2021-05-26T12:10:01.424Z] Removing intermediate container 49502ab3a5bd [2021-05-26T12:10:01.424Z] ---> 2d1676c72282 [2021-05-26T12:10:01.424Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T12:10:01.424Z] ---> Running in 4cdf5b0c1f74 [2021-05-26T12:10:01.424Z] Removing intermediate container 4cdf5b0c1f74 [2021-05-26T12:10:01.424Z] ---> 003eabef84e2 [2021-05-26T12:10:01.424Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T12:10:01.424Z] ---> Running in 5e271b56d436 [2021-05-26T12:10:01.424Z] Removing intermediate container 5e271b56d436 [2021-05-26T12:10:01.424Z] ---> bcb84c3ca1a8 [2021-05-26T12:10:01.424Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T12:10:01.424Z] ---> Running in 5e42cccdec4b [2021-05-26T12:10:01.424Z] Removing intermediate container 5e42cccdec4b [2021-05-26T12:10:01.424Z] ---> 942dcd17dbc0 [2021-05-26T12:10:01.424Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T12:10:01.424Z] ---> Running in aba8d2a805ea [2021-05-26T12:10:01.424Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T12:10:01.424Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T12:10:01.688Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-26T12:10:01.688Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-26T12:10:01.688Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-26T12:10:01.951Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-26T12:10:01.951Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T12:10:01.951Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-26T12:10:02.213Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-26T12:10:02.482Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-26T12:10:02.482Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-26T12:10:02.482Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T12:10:02.482Z] OK: 154 MiB in 49 packages [2021-05-26T12:10:03.876Z] Removing intermediate container aba8d2a805ea [2021-05-26T12:10:03.876Z] ---> 6f26cdbc392a [2021-05-26T12:10:03.876Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-26T12:10:03.876Z] ---> Running in 57994daeeb9d [2021-05-26T12:10:03.876Z] Removing intermediate container 57994daeeb9d [2021-05-26T12:10:03.876Z] ---> 8941d3a00802 [2021-05-26T12:10:03.876Z] Step 9/10 : COPY . . [2021-05-26T12:10:04.449Z] ---> 02761532436f [2021-05-26T12:10:04.449Z] Step 10/10 : RUN go mod download [2021-05-26T12:10:04.711Z] ---> Running in 3378f5947169 [2021-05-26T12:10:26.744Z] Removing intermediate container 3378f5947169 [2021-05-26T12:10:26.744Z] ---> fdf64e0ac4ef [2021-05-26T12:10:26.744Z] Successfully built fdf64e0ac4ef [2021-05-26T12:10:26.744Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T12:10:27.085Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T12:10:27.085Z] . [Pipeline] withDockerContainer [2021-05-26T12:10:27.185Z] prd-centos7-docker-4c-2g-414 does not seem to be running inside a container [2021-05-26T12:10:27.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-26T12:10:27.973Z] $ docker top 41c6d39b45b98748a748d05660d24280966d9c34a8d206e9702727037967d5c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T12:10:28.405Z] + go version [2021-05-26T12:10:28.406Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-26T12:10:28.431Z] $ docker stop --time=1 41c6d39b45b98748a748d05660d24280966d9c34a8d206e9702727037967d5c9 [2021-05-26T12:10:29.799Z] $ docker rm -f 41c6d39b45b98748a748d05660d24280966d9c34a8d206e9702727037967d5c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T12:10:30.628Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T12:10:30.628Z] . [Pipeline] withDockerContainer [2021-05-26T12:10:30.880Z] prd-centos7-docker-4c-2g-414 does not seem to be running inside a container [2021-05-26T12:10:31.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-26T12:10:31.710Z] $ docker top 10dffd93031d647c23ae3fb441841bb2d47452959a166887e3de6b3ef1ce5d59 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T12:10:32.164Z] + go mod tidy [Pipeline] sh [2021-05-26T12:10:32.755Z] + make test [2021-05-26T12:10:32.755Z] go mod tidy [2021-05-26T12:10:32.755Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-26T12:10:33.339Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-26T12:10:50.427Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-26T12:10:50.427Z] ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 54.0% of statements [2021-05-26T12:10:50.427Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T12:10:51.529Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-26T12:10:52.102Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 54.0% of statements [2021-05-26T12:10:52.677Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T12:11:03.080Z] gofmt -l . [2021-05-26T12:11:03.080Z] [ "`gofmt -l .`" = "" ] [2021-05-26T12:11:03.080Z] ./bin/test-go-mod-tidy.sh [2021-05-26T12:11:03.080Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-26T12:11:03.104Z] $ docker stop --time=1 10dffd93031d647c23ae3fb441841bb2d47452959a166887e3de6b3ef1ce5d59 [2021-05-26T12:11:06.318Z] $ docker rm -f 10dffd93031d647c23ae3fb441841bb2d47452959a166887e3de6b3ef1ce5d59 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T12:11:06.870Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T12:11:07.156Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-26T12:11:09.837Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T12:11:10.167Z] + ls -al . [2021-05-26T12:11:10.167Z] total 104 [2021-05-26T12:11:10.167Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 26 12:11 . [2021-05-26T12:11:10.167Z] drwxrwxr-x. 4 jenkins jenkins 28 May 26 12:08 .. [2021-05-26T12:11:10.167Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 26 12:08 Attribution.txt [2021-05-26T12:11:10.167Z] drwxrwxr-x. 2 jenkins jenkins 64 May 26 12:08 bin [2021-05-26T12:11:10.167Z] drwxrwxr-x. 3 jenkins jenkins 32 May 26 12:08 cmd [2021-05-26T12:11:10.167Z] -rw-r--r--. 1 jenkins jenkins 8513 May 26 12:10 coverage.out [2021-05-26T12:11:10.167Z] -rw-rw-r--. 1 jenkins jenkins 1615 May 26 12:08 Dockerfile [2021-05-26T12:11:10.167Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 26 12:08 Dockerfile.build [2021-05-26T12:11:10.167Z] -rw-rw-r--. 1 jenkins jenkins 151 May 26 12:08 .dockerignore [2021-05-26T12:11:10.167Z] drwxrwxr-x. 2 jenkins jenkins 76 May 26 12:08 driver [2021-05-26T12:11:10.167Z] drwxrwxr-x. 8 jenkins jenkins 179 May 26 12:08 .git [2021-05-26T12:11:10.167Z] drwxrwxr-x. 2 jenkins jenkins 103 May 26 12:08 .github [2021-05-26T12:11:10.167Z] -rw-rw-r--. 1 jenkins jenkins 336 May 26 12:08 .gitignore [2021-05-26T12:11:10.167Z] -rw-r--r--. 1 jenkins jenkins 285 May 26 12:11 go.mod [2021-05-26T12:11:10.167Z] -rw-r--r--. 1 jenkins jenkins 21177 May 26 12:10 go.sum [2021-05-26T12:11:10.168Z] -rw-rw-r--. 1 jenkins jenkins 680 May 26 12:08 Jenkinsfile [2021-05-26T12:11:10.168Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 26 12:08 LICENSE [2021-05-26T12:11:10.168Z] -rw-rw-r--. 1 jenkins jenkins 996 May 26 12:08 Makefile [2021-05-26T12:11:10.168Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 26 12:08 README.md [2021-05-26T12:11:10.168Z] drwxrwxr-x. 4 jenkins jenkins 71 May 26 12:08 snap [2021-05-26T12:11:10.168Z] -rw-rw-r--. 1 jenkins jenkins 5 May 26 12:05 VERSION [2021-05-26T12:11:10.168Z] -rw-rw-r--. 1 jenkins jenkins 713 May 26 12:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T12:11:10.509Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=8b5b60a7870f91dc9f24498af2c9e08cdcac521a --label arch=amd64 --label version=0.0.0 . [2021-05-26T12:11:10.509Z] Sending build context to Docker daemon 101.9kB [2021-05-26T12:11:10.509Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T12:11:10.509Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-26T12:11:10.509Z] ---> fdf64e0ac4ef [2021-05-26T12:11:10.509Z] Step 3/25 : ARG MAKE='make build' [2021-05-26T12:11:11.469Z] ---> Running in a2fdf9a6338a [2021-05-26T12:11:11.732Z] Removing intermediate container a2fdf9a6338a [2021-05-26T12:11:11.732Z] ---> 83f71ffa0ec5 [2021-05-26T12:11:11.732Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T12:11:11.992Z] ---> Running in 6d6bab362ff5 [2021-05-26T12:11:12.254Z] Removing intermediate container 6d6bab362ff5 [2021-05-26T12:11:12.254Z] ---> 7cc3d1e4da48 [2021-05-26T12:11:12.254Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T12:11:12.515Z] ---> Running in 1debb2f45e57 [2021-05-26T12:11:12.777Z] Removing intermediate container 1debb2f45e57 [2021-05-26T12:11:12.777Z] ---> cf772d4b0eeb [2021-05-26T12:11:12.777Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T12:11:12.929Z] gofmt -l . [2021-05-26T12:11:12.929Z] [ "`gofmt -l .`" = "" ] [2021-05-26T12:11:12.929Z] ./bin/test-go-mod-tidy.sh [2021-05-26T12:11:12.929Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-26T12:11:12.973Z] $ docker stop --time=1 e929c06ebc2de39e8db160ff2d64dbe6d39ae90d08bd5d58ee63629c82b8b106 [2021-05-26T12:11:13.046Z] ---> Running in 709bbb189ecb [2021-05-26T12:11:14.434Z] Removing intermediate container 709bbb189ecb [2021-05-26T12:11:14.434Z] ---> 5adf1822aa8f [2021-05-26T12:11:14.434Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T12:11:14.434Z] ---> Running in 385e03506b47 [2021-05-26T12:11:14.969Z] $ docker rm -f e929c06ebc2de39e8db160ff2d64dbe6d39ae90d08bd5d58ee63629c82b8b106 [2021-05-26T12:11:15.021Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T12:11:15.911Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T12:11:15.952Z] Warning: overwriting stash ‘coverage-report’ [2021-05-26T12:11:15.984Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T12:11:16.244Z] OK: 154 MiB in 49 packages [2021-05-26T12:11:16.453Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T12:11:17.114Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T12:11:17.187Z] Removing intermediate container 385e03506b47 [2021-05-26T12:11:17.187Z] ---> 4bd25ea80d31 [2021-05-26T12:11:17.187Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-26T12:11:17.451Z] ---> Running in 6aab84b75ccf [2021-05-26T12:11:17.495Z] + ls -al . [2021-05-26T12:11:17.495Z] total 132 [2021-05-26T12:11:17.495Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 12:11 . [2021-05-26T12:11:17.495Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 12:08 .. [2021-05-26T12:11:17.495Z] -rw-rw-r-- 1 jenkins jenkins 151 May 26 12:08 .dockerignore [2021-05-26T12:11:17.495Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 12:08 .git [2021-05-26T12:11:17.495Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 12:08 .github [2021-05-26T12:11:17.495Z] -rw-rw-r-- 1 jenkins jenkins 336 May 26 12:08 .gitignore [2021-05-26T12:11:17.495Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 26 12:08 Attribution.txt [2021-05-26T12:11:17.495Z] -rw-rw-r-- 1 jenkins jenkins 1615 May 26 12:08 Dockerfile [2021-05-26T12:11:17.495Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 26 12:08 Dockerfile.build [2021-05-26T12:11:17.495Z] -rw-rw-r-- 1 jenkins jenkins 680 May 26 12:08 Jenkinsfile [2021-05-26T12:11:17.495Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 26 12:08 LICENSE [2021-05-26T12:11:17.495Z] -rw-rw-r-- 1 jenkins jenkins 996 May 26 12:08 Makefile [2021-05-26T12:11:17.495Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 26 12:08 README.md [2021-05-26T12:11:17.495Z] -rw-rw-r-- 1 jenkins jenkins 5 May 26 12:05 VERSION [2021-05-26T12:11:17.495Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 12:08 bin [2021-05-26T12:11:17.495Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 12:08 cmd [2021-05-26T12:11:17.495Z] -rw-r--r-- 1 jenkins jenkins 8513 May 26 12:10 coverage.out [2021-05-26T12:11:17.495Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 12:08 driver [2021-05-26T12:11:17.495Z] -rw-r--r-- 1 jenkins jenkins 285 May 26 12:11 go.mod [2021-05-26T12:11:17.495Z] -rw-r--r-- 1 jenkins jenkins 21177 May 26 12:09 go.sum [2021-05-26T12:11:17.495Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 12:08 snap [2021-05-26T12:11:17.495Z] -rw-rw-r-- 1 jenkins jenkins 713 May 26 12:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T12:11:17.716Z] Removing intermediate container 6aab84b75ccf [2021-05-26T12:11:17.716Z] ---> 126e538a930c [2021-05-26T12:11:17.716Z] Step 9/25 : COPY . . [2021-05-26T12:11:17.888Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8b5b60a7870f91dc9f24498af2c9e08cdcac521a --label arch=arm64 --label version=0.0.0 . [2021-05-26T12:11:17.888Z] Sending build context to Docker daemon 101.9kB [2021-05-26T12:11:18.162Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T12:11:18.162Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-26T12:11:18.162Z] ---> 01d3f6025d17 [2021-05-26T12:11:18.162Z] Step 3/25 : ARG MAKE='make build' [2021-05-26T12:11:18.437Z] ---> Running in 8f7f5840a927 [2021-05-26T12:11:19.033Z] Removing intermediate container 8f7f5840a927 [2021-05-26T12:11:19.033Z] ---> a40d719a7a4e [2021-05-26T12:11:19.033Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T12:11:19.033Z] ---> Running in 9c0d3398903b [2021-05-26T12:11:19.111Z] ---> 428ae38ac238 [2021-05-26T12:11:19.111Z] Step 10/25 : RUN go mod tidy [2021-05-26T12:11:19.629Z] Removing intermediate container 9c0d3398903b [2021-05-26T12:11:19.629Z] ---> 98f4b5fd83c2 [2021-05-26T12:11:19.629Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T12:11:19.629Z] ---> Running in fc919da3d746 [2021-05-26T12:11:19.684Z] ---> Running in fdcd75f756be [2021-05-26T12:11:20.226Z] Removing intermediate container fc919da3d746 [2021-05-26T12:11:20.226Z] ---> 5e771597e44e [2021-05-26T12:11:20.226Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T12:11:20.226Z] ---> Running in 4fc47bca353a [2021-05-26T12:11:22.224Z] Removing intermediate container 4fc47bca353a [2021-05-26T12:11:22.224Z] ---> 7e21cc33b59d [2021-05-26T12:11:22.244Z] Removing intermediate container fdcd75f756be [2021-05-26T12:11:22.244Z] ---> 7366976a8ac3 [2021-05-26T12:11:22.244Z] Step 11/25 : RUN make update [2021-05-26T12:11:22.244Z] ---> Running in 0c7151616020 [2021-05-26T12:11:22.499Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T12:11:22.499Z] ---> Running in 0d5d49a17058 [2021-05-26T12:11:22.815Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-26T12:11:23.389Z] Removing intermediate container 0c7151616020 [2021-05-26T12:11:23.390Z] ---> e29fb6f6df9d [2021-05-26T12:11:23.390Z] Step 12/25 : RUN $MAKE [2021-05-26T12:11:23.655Z] ---> Running in 21e9c777a5b9 [2021-05-26T12:11:23.935Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T12:11:24.238Z] go mod tidy [2021-05-26T12:11:24.239Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-05-26T12:11:24.543Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T12:11:25.540Z] OK: 144 MiB in 49 packages [2021-05-26T12:11:26.524Z] Removing intermediate container 0d5d49a17058 [2021-05-26T12:11:26.524Z] ---> 403c41d03939 [2021-05-26T12:11:26.524Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-26T12:11:26.524Z] ---> Running in ef7b7b43c843 [2021-05-26T12:11:27.122Z] Removing intermediate container ef7b7b43c843 [2021-05-26T12:11:27.122Z] ---> bf7cc4bfbe14 [2021-05-26T12:11:27.122Z] Step 9/25 : COPY . . [2021-05-26T12:11:28.096Z] ---> e9a2e9af83c3 [2021-05-26T12:11:28.096Z] Step 10/25 : RUN go mod tidy [2021-05-26T12:11:28.096Z] ---> Running in 8a5b387dae0d [2021-05-26T12:11:30.717Z] Removing intermediate container 8a5b387dae0d [2021-05-26T12:11:30.717Z] ---> bb2f462f83c4 [2021-05-26T12:11:30.717Z] Step 11/25 : RUN make update [2021-05-26T12:11:30.995Z] ---> Running in d7a369073a15 [2021-05-26T12:11:31.972Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-26T12:11:32.963Z] Removing intermediate container d7a369073a15 [2021-05-26T12:11:32.963Z] ---> 61b2324d041f [2021-05-26T12:11:32.963Z] Step 12/25 : RUN $MAKE [2021-05-26T12:11:33.236Z] ---> Running in 87b812acad46 [2021-05-26T12:11:34.217Z] go mod tidy [2021-05-26T12:11:34.817Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-05-26T12:11:39.281Z] Removing intermediate container 21e9c777a5b9 [2021-05-26T12:11:39.281Z] ---> 85c21e2f7524 [2021-05-26T12:11:39.281Z] Step 13/25 : FROM alpine:3.12 [2021-05-26T12:11:39.281Z] 3.12: Pulling from library/alpine [2021-05-26T12:11:39.281Z] 339de151aab4: Pulling fs layer [2021-05-26T12:11:39.281Z] 339de151aab4: Verifying Checksum [2021-05-26T12:11:39.281Z] 339de151aab4: Download complete [2021-05-26T12:11:39.281Z] 339de151aab4: Pull complete [2021-05-26T12:11:39.281Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T12:11:39.281Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T12:11:39.281Z] ---> 13621d1b12d4 [2021-05-26T12:11:39.281Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T12:11:39.281Z] ---> Running in 424df4fd94d9 [2021-05-26T12:11:39.544Z] Removing intermediate container 424df4fd94d9 [2021-05-26T12:11:39.544Z] ---> 040ce6149beb [2021-05-26T12:11:39.544Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-26T12:11:39.544Z] ---> Running in ba63fb335910 [2021-05-26T12:11:39.807Z] Removing intermediate container ba63fb335910 [2021-05-26T12:11:39.807Z] ---> 2c62b7632a09 [2021-05-26T12:11:39.807Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T12:11:39.807Z] ---> Running in 658f2dcc0b19 [2021-05-26T12:11:40.074Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-26T12:11:40.075Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-26T12:11:40.338Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T12:11:40.338Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T12:11:40.338Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T12:11:40.338Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T12:11:40.338Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T12:11:40.338Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T12:11:40.338Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T12:11:40.338Z] OK: 8 MiB in 20 packages [2021-05-26T12:11:40.913Z] Removing intermediate container 658f2dcc0b19 [2021-05-26T12:11:40.913Z] ---> 2fb7cdec5fd5 [2021-05-26T12:11:40.913Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-26T12:11:41.175Z] ---> 5974804781b8 [2021-05-26T12:11:41.175Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-26T12:11:41.438Z] ---> cdff6da77f10 [2021-05-26T12:11:41.438Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-26T12:11:41.702Z] ---> 6cfce9471892 [2021-05-26T12:11:41.702Z] Step 20/25 : EXPOSE 59986 [2021-05-26T12:11:41.702Z] ---> Running in 940285457e92 [2021-05-26T12:11:41.702Z] Removing intermediate container 940285457e92 [2021-05-26T12:11:41.702Z] ---> 86ed8c299a4c [2021-05-26T12:11:41.702Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-26T12:11:41.702Z] ---> Running in ae2663dd87b5 [2021-05-26T12:11:41.702Z] Removing intermediate container ae2663dd87b5 [2021-05-26T12:11:41.702Z] ---> bfdb7ced80b6 [2021-05-26T12:11:41.702Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-26T12:11:41.963Z] ---> Running in 7f3f34596ec4 [2021-05-26T12:11:41.963Z] Removing intermediate container 7f3f34596ec4 [2021-05-26T12:11:41.963Z] ---> 854ffb2f7bdd [2021-05-26T12:11:41.963Z] Step 23/25 : LABEL arch=amd64 [2021-05-26T12:11:41.963Z] ---> Running in 47a9043d2e93 [2021-05-26T12:11:41.963Z] Removing intermediate container 47a9043d2e93 [2021-05-26T12:11:41.963Z] ---> ec192cf75abf [2021-05-26T12:11:41.963Z] Step 24/25 : LABEL git_sha=8b5b60a7870f91dc9f24498af2c9e08cdcac521a [2021-05-26T12:11:42.224Z] ---> Running in ed2483321d71 [2021-05-26T12:11:42.224Z] Removing intermediate container ed2483321d71 [2021-05-26T12:11:42.224Z] ---> 96a0fb241e6a [2021-05-26T12:11:42.224Z] Step 25/25 : LABEL version=0.0.0 [2021-05-26T12:11:42.224Z] ---> Running in 82c6e26f255d [2021-05-26T12:11:42.224Z] Removing intermediate container 82c6e26f255d [2021-05-26T12:11:42.224Z] ---> 2c1beb735036 [2021-05-26T12:11:42.224Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T12:11:42.224Z] Successfully built 2c1beb735036 [2021-05-26T12:11:42.224Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-26T12:11:43.172Z] ---> job-cost.sh [2021-05-26T12:11:43.172Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-HvUx [2021-05-26T12:11:58.144Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T12:12:13.863Z] Removing intermediate container 87b812acad46 [2021-05-26T12:12:13.863Z] ---> 3218c7d4848a [2021-05-26T12:12:13.863Z] Step 13/25 : FROM alpine:3.12 [2021-05-26T12:12:13.863Z] 3.12: Pulling from library/alpine [2021-05-26T12:12:13.863Z] d2f70382dc9a: Pulling fs layer [2021-05-26T12:12:13.863Z] d2f70382dc9a: Verifying Checksum [2021-05-26T12:12:13.863Z] d2f70382dc9a: Download complete [2021-05-26T12:12:13.863Z] d2f70382dc9a: Pull complete [2021-05-26T12:12:13.863Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T12:12:13.863Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T12:12:13.863Z] ---> 9852663dfa18 [2021-05-26T12:12:13.863Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T12:12:13.863Z] ---> Running in 389c5026ff11 [2021-05-26T12:12:13.863Z] Removing intermediate container 389c5026ff11 [2021-05-26T12:12:13.863Z] ---> 5aea223995c6 [2021-05-26T12:12:13.863Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-26T12:12:13.863Z] ---> Running in 543d9d04e454 [2021-05-26T12:12:13.863Z] Removing intermediate container 543d9d04e454 [2021-05-26T12:12:13.863Z] ---> 42ca06c46a46 [2021-05-26T12:12:13.863Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T12:12:13.863Z] ---> Running in 2521a80bdf90 [2021-05-26T12:12:13.863Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-26T12:12:13.863Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-26T12:12:14.457Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T12:12:14.457Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T12:12:14.457Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T12:12:14.457Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T12:12:14.457Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T12:12:14.457Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T12:12:14.457Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T12:12:14.736Z] OK: 8 MiB in 20 packages [2021-05-26T12:12:15.720Z] Removing intermediate container 2521a80bdf90 [2021-05-26T12:12:15.720Z] ---> 5705aa29dde0 [2021-05-26T12:12:15.720Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-26T12:12:17.160Z] ---> c6762673ab32 [2021-05-26T12:12:17.160Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-26T12:12:17.757Z] ---> db144e5de567 [2021-05-26T12:12:17.757Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-26T12:12:18.356Z] ---> 3bebaaa8a70f [2021-05-26T12:12:18.356Z] Step 20/25 : EXPOSE 59986 [2021-05-26T12:12:18.630Z] ---> Running in 8209301403ff [2021-05-26T12:12:18.905Z] Removing intermediate container 8209301403ff [2021-05-26T12:12:18.905Z] ---> 5c26db0342f2 [2021-05-26T12:12:18.905Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-26T12:12:19.179Z] ---> Running in ab8ea3d1cc1f [2021-05-26T12:12:19.776Z] Removing intermediate container ab8ea3d1cc1f [2021-05-26T12:12:19.776Z] ---> 5dab492e0630 [2021-05-26T12:12:19.776Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-26T12:12:19.776Z] ---> Running in f34c44543854 [2021-05-26T12:12:20.167Z] lf-activate-venv(): INFO: Adding /tmp/venv-HvUx/bin to PATH [2021-05-26T12:12:20.167Z] INFO: No Stack... [2021-05-26T12:12:20.167Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T12:12:20.167Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T12:12:20.374Z] Removing intermediate container f34c44543854 [2021-05-26T12:12:20.374Z] ---> bfa7f926493e [2021-05-26T12:12:20.374Z] Step 23/25 : LABEL arch=arm64 [2021-05-26T12:12:20.374Z] ---> Running in baecbb251300 [2021-05-26T12:12:20.604Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-26T12:12:20.604Z] + cut -d, -f6 [2021-05-26T12:12:20.653Z] Removing intermediate container baecbb251300 [2021-05-26T12:12:20.653Z] ---> bd25e438ddb5 [2021-05-26T12:12:20.653Z] Step 24/25 : LABEL git_sha=8b5b60a7870f91dc9f24498af2c9e08cdcac521a [Pipeline] lock [2021-05-26T12:12:20.820Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-108-1-stack-cost] [2021-05-26T12:12:20.828Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-108-1-stack-cost] did not exist. Created. [2021-05-26T12:12:20.828Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-108-1-stack-cost] [Pipeline] { [Pipeline] unstash [2021-05-26T12:12:20.936Z] ---> Running in 411e36e1bc89 [Pipeline] sh [2021-05-26T12:12:21.285Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-26T12:12:21.370Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T12:12:21.387Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-108-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [2021-05-26T12:12:21.536Z] Removing intermediate container 411e36e1bc89 [2021-05-26T12:12:21.536Z] ---> eb68f4037576 [2021-05-26T12:12:21.536Z] Step 25/25 : LABEL version=0.0.0 [2021-05-26T12:12:21.536Z] ---> Running in cd8850327050 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-26T12:12:22.132Z] Removing intermediate container cd8850327050 [2021-05-26T12:12:22.133Z] ---> 98531010bc4a [2021-05-26T12:12:22.133Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T12:12:22.133Z] Successfully built 98531010bc4a [2021-05-26T12:12:22.133Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-26T12:12:22.817Z] ---> job-cost.sh [2021-05-26T12:12:22.817Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jn8K [2021-05-26T12:13:01.809Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T12:14:23.572Z] lf-activate-venv(): INFO: Adding /tmp/venv-jn8K/bin to PATH [2021-05-26T12:14:23.572Z] INFO: No Stack... [2021-05-26T12:14:23.572Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-26T12:14:23.572Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T12:14:23.932Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-26T12:14:23.932Z] + cut -d, -f6 [Pipeline] lock [2021-05-26T12:14:24.020Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-108-1-stack-cost] [2021-05-26T12:14:24.027Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-108-1-stack-cost] did not exist. Created. [2021-05-26T12:14:24.027Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-108-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T12:14:24.484Z] /w/workspace/device-rest-go/1@tmp/durable-a898ff4b/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-a898ff4b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-26T12:14:24.854Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-26T12:14:24.893Z] Warning: overwriting stash ‘stack-cost’ [2021-05-26T12:14:25.045Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T12:14:25.066Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-108-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-26T12:14:25.996Z] provisioning config files... [2021-05-26T12:14:26.010Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-108@tmp/config769728919559897693tmp [Pipeline] { [Pipeline] sh [2021-05-26T12:14:26.362Z] + set +x [2021-05-26T12:14:26.362Z] + bash -s -- [2021-05-26T12:14:26.362Z] + curl -s https://codecov.io/bash [2021-05-26T12:14:26.362Z] [2021-05-26T12:14:26.362Z] _____ _ [2021-05-26T12:14:26.362Z] / ____| | | [2021-05-26T12:14:26.362Z] | | ___ __| | ___ ___ _____ __ [2021-05-26T12:14:26.362Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-26T12:14:26.362Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-26T12:14:26.362Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-26T12:14:26.362Z] Bash-1.0.3 [2021-05-26T12:14:26.362Z] [2021-05-26T12:14:26.362Z] [2021-05-26T12:14:26.362Z] ==> git version 2.24.4 found [2021-05-26T12:14:26.362Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-26T12:14:26.362Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-26T12:14:26.362Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-26T12:14:26.362Z] ==> Jenkins CI detected. [2021-05-26T12:14:26.362Z] project root: . [2021-05-26T12:14:26.362Z] --> token set from env [2021-05-26T12:14:26.362Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-26T12:14:26.362Z] ==> Running gcov in . (disable via -X gcov) [2021-05-26T12:14:26.362Z] ==> Python coveragepy not found [2021-05-26T12:14:26.362Z] ==> Searching for coverage reports in: [2021-05-26T12:14:26.362Z] + . [2021-05-26T12:14:26.625Z] -> Found 1 reports [2021-05-26T12:14:26.625Z] ==> Detecting git/mercurial file structure [2021-05-26T12:14:26.625Z] ==> Reading reports [2021-05-26T12:14:26.625Z] + ./coverage.out bytes=8513 [2021-05-26T12:14:26.625Z] ==> Appending adjustments [2021-05-26T12:14:26.625Z] https://docs.codecov.io/docs/fixing-reports [2021-05-26T12:14:26.625Z] + Found adjustments [2021-05-26T12:14:26.625Z] ==> Gzipping contents [2021-05-26T12:14:26.625Z] 4.0K /tmp/codecov.rI3Tbr.gz [2021-05-26T12:14:26.625Z] ==> Uploading reports [2021-05-26T12:14:26.625Z] url: https://codecov.io [2021-05-26T12:14:26.625Z] query: branch=PR-108&commit=8b5b60a7870f91dc9f24498af2c9e08cdcac521a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-108%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=108&job=&cmd_args= [2021-05-26T12:14:26.625Z] -> Pinging Codecov [2021-05-26T12:14:26.625Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-108&commit=8b5b60a7870f91dc9f24498af2c9e08cdcac521a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-108%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=108&job=&cmd_args= [2021-05-26T12:14:27.202Z] -> Uploading to [2021-05-26T12:14:27.202Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-26/4E5D53B4F1F92C436F7061BF334D961C/8b5b60a7870f91dc9f24498af2c9e08cdcac521a/ebe5d720-e634-40eb-b1a4-817a36ad7425.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210526T121427Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=01715d86205a7b9a51b4af7eb2301ce874f99fa3372d4c0a466fa96483317ab1 [2021-05-26T12:14:27.470Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-26T12:14:27.470Z] Dload Upload Total Spent Left Speed [2021-05-26T12:14:27.733Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1622 0 0 100 1622 0 3710 --:--:-- --:--:-- --:--:-- 3703 100 1622 0 0 100 1622 0 3709 --:--:-- --:--:-- --:--:-- 3703 [2021-05-26T12:14:27.733Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/8b5b60a7870f91dc9f24498af2c9e08cdcac521a [Pipeline] } [2021-05-26T12:14:27.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-26T12:14:29.929Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T12:14:30.550Z] ---> package-listing.sh [2021-05-26T12:14:30.550Z] ++ facter osfamily [2021-05-26T12:14:30.550Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-26T12:14:30.814Z] + OS_FAMILY=redhat [2021-05-26T12:14:30.814Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-108 [2021-05-26T12:14:30.814Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-26T12:14:30.814Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-26T12:14:30.814Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-26T12:14:30.814Z] + PACKAGES=/tmp/packages_start.txt [2021-05-26T12:14:30.814Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-108 ']' [2021-05-26T12:14:30.814Z] + PACKAGES=/tmp/packages_end.txt [2021-05-26T12:14:30.814Z] + case "${OS_FAMILY}" in [2021-05-26T12:14:30.814Z] + sort [2021-05-26T12:14:30.814Z] + rpm -qa [2021-05-26T12:14:31.388Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-26T12:14:31.388Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-26T12:14:31.388Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-26T12:14:31.388Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-108 ']' [2021-05-26T12:14:31.388Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-108/archives/ [2021-05-26T12:14:31.388Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-108/archives/ [Pipeline] echo [2021-05-26T12:14:31.423Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-108/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-26T12:14:31.731Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-26T12:14:32.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T12:14:32.355Z] [2021-05-26T12:14:32.355Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-26T12:14:32.717Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T12:14:32.717Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-26T12:14:32.717Z] df20fa9351a1: Pulling fs layer [2021-05-26T12:14:32.717Z] 36b3adc4ff6f: Pulling fs layer [2021-05-26T12:14:32.717Z] 8ad3a11d3b57: Pulling fs layer [2021-05-26T12:14:32.717Z] 46f8f816bc3b: Pulling fs layer [2021-05-26T12:14:32.717Z] 93b61091891f: Pulling fs layer [2021-05-26T12:14:32.717Z] 93b9cdb0e59b: Pulling fs layer [2021-05-26T12:14:32.717Z] 5e14af77c1be: Pulling fs layer [2021-05-26T12:14:32.717Z] 01666e4c0597: Pulling fs layer [2021-05-26T12:14:32.717Z] aa168da1d23b: Pulling fs layer [2021-05-26T12:14:32.717Z] 93b9cdb0e59b: Waiting [2021-05-26T12:14:32.717Z] 5e14af77c1be: Waiting [2021-05-26T12:14:32.717Z] 01666e4c0597: Waiting [2021-05-26T12:14:32.717Z] aa168da1d23b: Waiting [2021-05-26T12:14:32.717Z] 46f8f816bc3b: Waiting [2021-05-26T12:14:32.717Z] 93b61091891f: Waiting [2021-05-26T12:14:32.988Z] 36b3adc4ff6f: Verifying Checksum [2021-05-26T12:14:32.988Z] 36b3adc4ff6f: Download complete [2021-05-26T12:14:32.988Z] 46f8f816bc3b: Verifying Checksum [2021-05-26T12:14:32.988Z] 46f8f816bc3b: Download complete [2021-05-26T12:14:32.988Z] df20fa9351a1: Verifying Checksum [2021-05-26T12:14:32.988Z] df20fa9351a1: Download complete [2021-05-26T12:14:32.988Z] 93b9cdb0e59b: Verifying Checksum [2021-05-26T12:14:32.988Z] 93b9cdb0e59b: Download complete [2021-05-26T12:14:32.988Z] 93b61091891f: Verifying Checksum [2021-05-26T12:14:32.988Z] 93b61091891f: Download complete [2021-05-26T12:14:32.988Z] 5e14af77c1be: Verifying Checksum [2021-05-26T12:14:32.988Z] 5e14af77c1be: Download complete [2021-05-26T12:14:32.988Z] 01666e4c0597: Verifying Checksum [2021-05-26T12:14:32.988Z] 01666e4c0597: Download complete [2021-05-26T12:14:33.255Z] 8ad3a11d3b57: Verifying Checksum [2021-05-26T12:14:33.255Z] 8ad3a11d3b57: Download complete [2021-05-26T12:14:33.255Z] df20fa9351a1: Pull complete [2021-05-26T12:14:33.827Z] 36b3adc4ff6f: Pull complete [2021-05-26T12:14:34.401Z] 8ad3a11d3b57: Pull complete [2021-05-26T12:14:34.669Z] 46f8f816bc3b: Pull complete [2021-05-26T12:14:35.243Z] aa168da1d23b: Verifying Checksum [2021-05-26T12:14:35.243Z] aa168da1d23b: Download complete [2021-05-26T12:14:35.243Z] 93b61091891f: Pull complete [2021-05-26T12:14:35.243Z] 93b9cdb0e59b: Pull complete [2021-05-26T12:14:35.515Z] 5e14af77c1be: Pull complete [2021-05-26T12:14:35.777Z] 01666e4c0597: Pull complete [2021-05-26T12:14:41.076Z] aa168da1d23b: Pull complete [2021-05-26T12:14:41.076Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-26T12:14:41.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T12:14:41.076Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-26T12:14:41.185Z] prd-centos7-docker-4c-2g-412 does not seem to be running inside a container [2021-05-26T12:14:41.218Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-108/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-108 -v /w/workspace/gexfoundry_device-rest-go_PR-108:/w/workspace/gexfoundry_device-rest-go_PR-108:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-108@tmp:/w/workspace/gexfoundry_device-rest-go_PR-108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-26T12:14:59.689Z] $ docker top 46cb8f3af31ce5a5c5ba7a9596fa3039d03bbaefcdd619aa58edf95cb6000b5e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T12:15:00.119Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-26T12:15:00.448Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-26T12:15:00.776Z] + ls /var/log/sa-host [2021-05-26T12:15:00.776Z] + sadf -c /var/log/sa-host/sa05 [2021-05-26T12:15:00.776Z] file_magic: OK [2021-05-26T12:15:00.776Z] HZ: Using current value: 100 [2021-05-26T12:15:00.776Z] file_header: OK [2021-05-26T12:15:00.776Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-26T12:15:00.776Z] Statistics: [2021-05-26T12:15:00.776Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T12:15:00.776Z] File successfully converted to sysstat format version 12.2.1 [2021-05-26T12:15:00.776Z] + sadf -c /var/log/sa-host/sa26 [2021-05-26T12:15:00.776Z] file_magic: OK [2021-05-26T12:15:00.776Z] HZ: Using current value: 100 [2021-05-26T12:15:00.776Z] file_header: OK [2021-05-26T12:15:00.776Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-26T12:15:00.776Z] Statistics: [2021-05-26T12:15:00.776Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T12:15:00.776Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T12:15:01.419Z] provisioning config files... [2021-05-26T12:15:01.441Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-108@tmp/config7612594515334592839tmp [Pipeline] { [Pipeline] echo [2021-05-26T12:15:01.499Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T12:15:01.880Z] ---> create-netrc.sh [Pipeline] } [2021-05-26T12:15:01.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-26T12:15:02.015Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T12:15:02.380Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-26T12:15:02.411Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T12:15:02.751Z] ---> sudo-logs.sh [2021-05-26T12:15:02.751Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-26T12:15:02.838Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T12:15:03.175Z] ---> job-cost.sh [2021-05-26T12:15:03.175Z] lf-activate-venv: SKIPPING [2021-05-26T12:15:03.175Z] DEBUG: total: 0.18000000715255737 [2021-05-26T12:15:03.175Z] INFO: Retrieving Stack Cost... [2021-05-26T12:15:04.566Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T12:15:05.140Z] INFO: Archiving Costs [Pipeline] echo [2021-05-26T12:15:05.231Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T12:15:05.561Z] ---> logs-deploy.sh [2021-05-26T12:15:05.561Z] lf-activate-venv: SKIPPING [2021-05-26T12:15:05.561Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-108/1 [2021-05-26T12:15:05.561Z] INFO: archiving workspace using pattern(s): [2021-05-26T12:15:06.515Z] Archives upload complete. [2021-05-26T12:15:06.515Z] INFO: archiving logs to Nexus