Pull request #112 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 jim-wang-intel for edgexfoundry/device-rest-go Loading trusted files from base branch master at 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b rather than 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 Obtained Jenkinsfile from 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b 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-ssh6353669618715385893.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh8925661939934272930.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-112/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-112/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7269738888424361457.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-112/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6859175972208492570.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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-ssh9030811469236741719.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-112/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-112/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1893492942355762485.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-167 in /w/workspace/gexfoundry_device-rest-go_PR-112 [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-112 # 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-112@tmp/jenkins-gitclient-ssh8669551806892584525.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-112@tmp/jenkins-gitclient-ssh7181928280195187621.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/112/head:refs/remotes/origin/PR-112 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b into PR head commit 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 Merge succeeded, producing 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 Checking out Revision 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 (PR-112) > git config core.sparsecheckout # timeout=10 > git checkout -f 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 # 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-112@tmp/jenkins-gitclient-ssh3303808336416233931.key > git merge 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 # timeout=10 Commit message: "fix: Remove retry items of SecretStore config and update secret path" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-02T23:38:26.477Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-02T23:38:26.658Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-02T23:38:26.765Z] ========================================================= [2021-06-02T23:38:26.765Z] EdgeX Global Pipelines Version Info [2021-06-02T23:38:26.765Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-02T23:38:28.313Z] ------------------- [2021-06-02T23:38:28.313Z] stable info: [2021-06-02T23:38:28.313Z] ------------------- [2021-06-02T23:38:28.313Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-02T23:38:28.313Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-02T23:38:28.313Z] Message: update stable to v1.0.193 [2021-06-02T23:38:28.889Z] ------------------- [2021-06-02T23:38:28.890Z] experimental info: [2021-06-02T23:38:28.890Z] ------------------- [2021-06-02T23:38:28.890Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-02T23:38:28.890Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-02T23:38:28.890Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-02T23:38:29.104Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-02T23:38:29.172Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-02T23:38:29.230Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-02T23:38:29.303Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-02T23:38:29.374Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-02T23:38:29.434Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-02T23:38:29.495Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-02T23:38:29.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-02T23:38:29.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-02T23:38:29.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-02T23:38:29.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-02T23:38:29.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-02T23:38:29.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-02T23:38:29.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-02T23:38:29.944Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-02T23:38:30.011Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-02T23:38:30.064Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T23:38:30.119Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T23:38:30.196Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-02T23:38:30.277Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-02T23:38:30.343Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-02T23:38:30.416Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-02T23:38:30.488Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-02T23:38:30.554Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-02T23:38:30.617Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-02T23:38:30.676Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-02T23:38:30.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-112 [Pipeline] echo [2021-06-02T23:38:30.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-112 [Pipeline] echo [2021-06-02T23:38:30.845Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-112 [Pipeline] echo [2021-06-02T23:38:30.901Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 [Pipeline] echo [2021-06-02T23:38:30.969Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16b192d [Pipeline] echo [2021-06-02T23:38:31.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T23:38:31.199Z] provisioning config files... [2021-06-02T23:38:31.222Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-112@tmp/config27255548206706592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-02T23:38:31.622Z] ---> docker-login.sh [2021-06-02T23:38:31.622Z] nexus3.edgexfoundry.org:10001 [2021-06-02T23:38:31.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:38:31.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:38:31.891Z] Configure a credential helper to remove this warning. See [2021-06-02T23:38:31.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:38:31.891Z] [2021-06-02T23:38:31.891Z] Login Succeeded [2021-06-02T23:38:31.891Z] nexus3.edgexfoundry.org:10002 [2021-06-02T23:38:31.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:38:32.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:38:32.158Z] Configure a credential helper to remove this warning. See [2021-06-02T23:38:32.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:38:32.158Z] [2021-06-02T23:38:32.158Z] Login Succeeded [2021-06-02T23:38:32.158Z] nexus3.edgexfoundry.org:10003 [2021-06-02T23:38:32.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:38:32.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:38:32.158Z] Configure a credential helper to remove this warning. See [2021-06-02T23:38:32.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:38:32.158Z] [2021-06-02T23:38:32.158Z] Login Succeeded [2021-06-02T23:38:32.158Z] nexus3.edgexfoundry.org:10004 [2021-06-02T23:38:32.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:38:32.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:38:32.425Z] Configure a credential helper to remove this warning. See [2021-06-02T23:38:32.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:38:32.425Z] [2021-06-02T23:38:32.425Z] Login Succeeded [2021-06-02T23:38:32.425Z] docker.io [2021-06-02T23:38:32.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:38:32.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:38:32.688Z] Configure a credential helper to remove this warning. See [2021-06-02T23:38:32.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:38:32.688Z] [2021-06-02T23:38:32.688Z] Login Succeeded [2021-06-02T23:38:32.688Z] ---> docker-login.sh ends [Pipeline] } [2021-06-02T23:38:32.733Z] 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-06-02T23:38:33.642Z] + git log --format=format:%s -1 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 [Pipeline] echo [2021-06-02T23:38:33.711Z] GIT_COMMIT: 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7, Commit Message: fix: Remove retry items of SecretStore config and update secret path [Pipeline] echo [2021-06-02T23:38:33.750Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-02T23:38:34.372Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T23:38:34.372Z] [2021-06-02T23:38:34.372Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T23:38:34.733Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T23:38:34.733Z] latest: Pulling from edgex-devops/git-semver [2021-06-02T23:38:34.733Z] 31603596830f: Pulling fs layer [2021-06-02T23:38:34.733Z] 54011a49482f: Pulling fs layer [2021-06-02T23:38:34.733Z] a6820b24f6d8: Pulling fs layer [2021-06-02T23:38:34.733Z] f581987b2513: Pulling fs layer [2021-06-02T23:38:34.733Z] f581987b2513: Waiting [2021-06-02T23:38:34.733Z] 54011a49482f: Verifying Checksum [2021-06-02T23:38:34.733Z] 54011a49482f: Download complete [2021-06-02T23:38:34.996Z] 31603596830f: Verifying Checksum [2021-06-02T23:38:34.996Z] 31603596830f: Download complete [2021-06-02T23:38:35.265Z] 31603596830f: Pull complete [2021-06-02T23:38:35.265Z] a6820b24f6d8: Verifying Checksum [2021-06-02T23:38:35.265Z] a6820b24f6d8: Download complete [2021-06-02T23:38:35.265Z] f581987b2513: Verifying Checksum [2021-06-02T23:38:35.265Z] f581987b2513: Download complete [2021-06-02T23:38:35.265Z] 54011a49482f: Pull complete [2021-06-02T23:38:36.217Z] a6820b24f6d8: Pull complete [2021-06-02T23:38:36.217Z] f581987b2513: Pull complete [2021-06-02T23:38:36.217Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-02T23:38:36.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T23:38:36.217Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-02T23:38:36.323Z] prd-centos7-docker-4c-2g-167 does not seem to be running inside a container [2021-06-02T23:38:36.363Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-112 -v /w/workspace/gexfoundry_device-rest-go_PR-112:/w/workspace/gexfoundry_device-rest-go_PR-112:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-112@tmp:/w/workspace/gexfoundry_device-rest-go_PR-112@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-02T23:38:37.771Z] $ docker top 594fdfa0bc44b87f7d2fcc43a0bbe8db8db7c04c8b1209e89cca27714f0ef5c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-02T23:38:38.014Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T23:38:38.014Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T23:38:38.135Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T23:38:38.133Z] $ docker exec 594fdfa0bc44b87f7d2fcc43a0bbe8db8db7c04c8b1209e89cca27714f0ef5c0 ssh-agent [2021-06-02T23:38:38.263Z] SSH_AUTH_SOCK=/tmp/ssh-RIyugNMG19xj/agent.14 [2021-06-02T23:38:38.263Z] SSH_AGENT_PID=20 [2021-06-02T23:38:38.273Z] Running ssh-add (command line suppressed) [2021-06-02T23:38:38.377Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-112@tmp/private_key_2263050039904359560.key (/w/workspace/gexfoundry_device-rest-go_PR-112@tmp/private_key_2263050039904359560.key) [2021-06-02T23:38:38.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T23:38:38.756Z] + git tag --points-at HEAD [Pipeline] } [2021-06-02T23:38:38.776Z] $ docker exec --env ******** --env ******** 594fdfa0bc44b87f7d2fcc43a0bbe8db8db7c04c8b1209e89cca27714f0ef5c0 ssh-agent -k [2021-06-02T23:38:38.878Z] unset SSH_AUTH_SOCK; [2021-06-02T23:38:38.878Z] unset SSH_AGENT_PID; [2021-06-02T23:38:38.878Z] echo Agent pid 20 killed; [2021-06-02T23:38:38.900Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-02T23:38:38.991Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T23:38:38.991Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T23:38:39.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T23:38:39.115Z] $ docker exec 594fdfa0bc44b87f7d2fcc43a0bbe8db8db7c04c8b1209e89cca27714f0ef5c0 ssh-agent [2021-06-02T23:38:39.240Z] SSH_AUTH_SOCK=/tmp/ssh-zbdBxOivplym/agent.52 [2021-06-02T23:38:39.240Z] SSH_AGENT_PID=59 [2021-06-02T23:38:39.246Z] Running ssh-add (command line suppressed) [2021-06-02T23:38:39.361Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-112@tmp/private_key_1520387473846018984.key (/w/workspace/gexfoundry_device-rest-go_PR-112@tmp/private_key_1520387473846018984.key) [2021-06-02T23:38:39.388Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T23:38:39.739Z] + git semver init [2021-06-02T23:38:39.740Z] # -> Open(): unable to determine branch for HEAD [2021-06-02T23:38:39.740Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-112/.git [2021-06-02T23:38:39.740Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-112 [2021-06-02T23:38:39.740Z] # $SEMVER_REMOTE_NAME = origin [2021-06-02T23:38:39.740Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-02T23:38:39.740Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-02T23:38:39.740Z] # $SEMVER_BRANCH = PR-112 [2021-06-02T23:38:39.740Z] # $SEMVER_TEMP = /tmp/semver-424255116 [2021-06-02T23:38:39.740Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-02T23:38:40.697Z] # '/tmp/semver-424255116' -> '/w/workspace/gexfoundry_device-rest-go_PR-112/.semver' [2021-06-02T23:38:40.697Z] # -> Force: false [2021-06-02T23:38:40.697Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-112/.semver [Pipeline] } [2021-06-02T23:38:40.715Z] $ docker exec --env ******** --env ******** 594fdfa0bc44b87f7d2fcc43a0bbe8db8db7c04c8b1209e89cca27714f0ef5c0 ssh-agent -k [2021-06-02T23:38:40.824Z] unset SSH_AUTH_SOCK; [2021-06-02T23:38:40.825Z] unset SSH_AGENT_PID; [2021-06-02T23:38:40.825Z] echo Agent pid 59 killed; [2021-06-02T23:38:40.842Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-02T23:38:41.282Z] + git semver [Pipeline] } [2021-06-02T23:38:41.306Z] $ docker stop --time=1 594fdfa0bc44b87f7d2fcc43a0bbe8db8db7c04c8b1209e89cca27714f0ef5c0 [2021-06-02T23:38:42.639Z] $ docker rm -f 594fdfa0bc44b87f7d2fcc43a0bbe8db8db7c04c8b1209e89cca27714f0ef5c0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T23:38:43.089Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-02T23:38:43.417Z] Stashed 1 file(s) [Pipeline] echo [2021-06-02T23:38:43.440Z] [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-06-02T23:38:59.088Z] Still waiting to schedule task [2021-06-02T23:38:59.088Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-02T23:38:59.116Z] Still waiting to schedule task [2021-06-02T23:38:59.116Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-164’ [2021-06-02T23:41:23.549Z] Running on prd-centos7-docker-4c-2g-168 in /w/workspace/gexfoundry_device-rest-go_PR-112 [Pipeline] { [Pipeline] ws [2021-06-02T23:41:23.611Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-02T23:41:23.792Z] The recommended git tool is: git [2021-06-02T23:41:26.153Z] using credential edgex-jenkins-ssh [2021-06-02T23:41:26.177Z] Cloning the remote Git repository [2021-06-02T23:41:26.139Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-02T23:41:26.208Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-02T23:41:26.241Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-02T23:41:26.242Z] > git --version # timeout=10 [2021-06-02T23:41:26.253Z] > git --version # 'git version 2.24.4' [2021-06-02T23:41:26.254Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T23:41:26.276Z] [INFO] Currently running in a labeled security context [2021-06-02T23:41:26.276Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T23:41:26.276Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh1430832820744189929.key [2021-06-02T23:41:26.299Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T23:41:27.109Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-02T23:41:27.119Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T23:41:27.643Z] Merging remotes/origin/master commit 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b into PR head commit 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 [2021-06-02T23:41:27.723Z] Merge succeeded, producing 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 [2021-06-02T23:41:27.724Z] Checking out Revision 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 (PR-112) [2021-06-02T23:41:27.134Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-02T23:41:27.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-02T23:41:27.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T23:41:27.153Z] [INFO] Currently running in a labeled security context [2021-06-02T23:41:27.153Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T23:41:27.154Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh8403895514412131229.key [2021-06-02T23:41:27.163Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/112/head:refs/remotes/origin/PR-112 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-02T23:41:27.648Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T23:41:27.657Z] > git checkout -f 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 # timeout=10 [2021-06-02T23:41:27.690Z] > git remote # timeout=10 [2021-06-02T23:41:27.695Z] > git config --get remote.origin.url # timeout=10 [2021-06-02T23:41:27.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T23:41:27.701Z] [INFO] Currently running in a labeled security context [2021-06-02T23:41:27.701Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T23:41:27.701Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh1335211485138566199.key [2021-06-02T23:41:27.705Z] > git merge 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 [2021-06-02T23:41:27.712Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-02T23:41:27.723Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T23:41:27.735Z] > git checkout -f 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 # timeout=10 [2021-06-02T23:41:31.299Z] Commit message: "fix: Remove retry items of SecretStore config and update secret path" [2021-06-02T23:41:31.317Z] > git --version # timeout=10 [2021-06-02T23:41:31.325Z] > git --version # 'git version 2.24.4' [2021-06-02T23:41:31.332Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T23:41:32.539Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-02T23:41:32.886Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-02T23:41:33.216Z] + sudo service docker restart [2021-06-02T23:41:33.216Z] + true [2021-06-02T23:41:33.216Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T23:41:51.449Z] provisioning config files... [2021-06-02T23:41:51.466Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1026748163400826212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-02T23:41:51.867Z] ---> docker-login.sh [2021-06-02T23:41:51.867Z] nexus3.edgexfoundry.org:10001 [2021-06-02T23:41:52.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:41:52.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:41:52.149Z] Configure a credential helper to remove this warning. See [2021-06-02T23:41:52.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:41:52.149Z] [2021-06-02T23:41:52.149Z] Login Succeeded [2021-06-02T23:41:52.149Z] nexus3.edgexfoundry.org:10002 [2021-06-02T23:41:52.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:41:52.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:41:52.149Z] Configure a credential helper to remove this warning. See [2021-06-02T23:41:52.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:41:52.149Z] [2021-06-02T23:41:52.149Z] Login Succeeded [2021-06-02T23:41:52.149Z] nexus3.edgexfoundry.org:10003 [2021-06-02T23:41:52.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:41:52.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:41:52.413Z] Configure a credential helper to remove this warning. See [2021-06-02T23:41:52.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:41:52.413Z] [2021-06-02T23:41:52.413Z] Login Succeeded [2021-06-02T23:41:52.413Z] nexus3.edgexfoundry.org:10004 [2021-06-02T23:41:52.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:41:52.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:41:52.413Z] Configure a credential helper to remove this warning. See [2021-06-02T23:41:52.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:41:52.413Z] [2021-06-02T23:41:52.413Z] Login Succeeded [2021-06-02T23:41:52.413Z] docker.io [2021-06-02T23:41:52.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:41:52.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:41:52.943Z] Configure a credential helper to remove this warning. See [2021-06-02T23:41:52.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:41:52.943Z] [2021-06-02T23:41:52.943Z] Login Succeeded [2021-06-02T23:41:52.943Z] ---> docker-login.sh ends [Pipeline] } [2021-06-02T23:41:52.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-02T23:41:53.264Z] ========================================================= [2021-06-02T23:41:53.264Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-02T23:41:53.264Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-02T23:41:53.616Z] + 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-06-02T23:41:53.616Z] Sending build context to Docker daemon 92.16kB [2021-06-02T23:41:53.616Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T23:41:53.616Z] Step 2/10 : FROM ${BASE} [2021-06-02T23:41:53.616Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-02T23:41:53.616Z] 540db60ca938: Pulling fs layer [2021-06-02T23:41:53.616Z] adcc1eea9eea: Pulling fs layer [2021-06-02T23:41:53.616Z] 4c4ab2625f07: Pulling fs layer [2021-06-02T23:41:53.616Z] 0510c868ecb4: Pulling fs layer [2021-06-02T23:41:53.616Z] afea3b2eda06: Pulling fs layer [2021-06-02T23:41:53.616Z] 7809a108b3ef: Pulling fs layer [2021-06-02T23:41:53.616Z] f706445af74f: Pulling fs layer [2021-06-02T23:41:53.616Z] 0510c868ecb4: Waiting [2021-06-02T23:41:53.616Z] afea3b2eda06: Waiting [2021-06-02T23:41:53.616Z] 7809a108b3ef: Waiting [2021-06-02T23:41:53.616Z] f706445af74f: Waiting [2021-06-02T23:41:53.883Z] 4c4ab2625f07: Verifying Checksum [2021-06-02T23:41:53.883Z] 4c4ab2625f07: Download complete [2021-06-02T23:41:53.883Z] adcc1eea9eea: Verifying Checksum [2021-06-02T23:41:53.883Z] adcc1eea9eea: Download complete [2021-06-02T23:41:53.883Z] afea3b2eda06: Verifying Checksum [2021-06-02T23:41:53.883Z] afea3b2eda06: Download complete [2021-06-02T23:41:53.883Z] 540db60ca938: Verifying Checksum [2021-06-02T23:41:53.883Z] 540db60ca938: Download complete [2021-06-02T23:41:53.883Z] 7809a108b3ef: Verifying Checksum [2021-06-02T23:41:53.883Z] 7809a108b3ef: Download complete [2021-06-02T23:41:53.883Z] 540db60ca938: Pull complete [2021-06-02T23:41:54.152Z] adcc1eea9eea: Pull complete [2021-06-02T23:41:54.152Z] 4c4ab2625f07: Pull complete [2021-06-02T23:41:56.071Z] f706445af74f: Verifying Checksum [2021-06-02T23:41:56.071Z] f706445af74f: Download complete [2021-06-02T23:41:56.643Z] 0510c868ecb4: Verifying Checksum [2021-06-02T23:41:56.643Z] 0510c868ecb4: Download complete [2021-06-02T23:41:59.982Z] 0510c868ecb4: Pull complete [2021-06-02T23:41:59.982Z] afea3b2eda06: Pull complete [2021-06-02T23:41:59.982Z] 7809a108b3ef: Pull complete [2021-06-02T23:42:01.392Z] f706445af74f: Pull complete [2021-06-02T23:42:01.392Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-02T23:42:01.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-02T23:42:01.392Z] ---> b068be0155e3 [2021-06-02T23:42:01.392Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-02T23:42:05.603Z] ---> Running in 9ca80c854101 [2021-06-02T23:42:05.603Z] Removing intermediate container 9ca80c854101 [2021-06-02T23:42:05.603Z] ---> 54f8fa631d65 [2021-06-02T23:42:05.603Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-02T23:42:05.604Z] ---> Running in 9ac262136c77 [2021-06-02T23:42:05.604Z] Removing intermediate container 9ac262136c77 [2021-06-02T23:42:05.604Z] ---> 886714da3cb3 [2021-06-02T23:42:05.604Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-02T23:42:05.604Z] ---> Running in 2ca7bb0fecca [2021-06-02T23:42:05.604Z] Removing intermediate container 2ca7bb0fecca [2021-06-02T23:42:05.604Z] ---> d227819af453 [2021-06-02T23:42:05.604Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T23:42:05.604Z] ---> Running in 36bddb2c3436 [2021-06-02T23:42:05.866Z] Removing intermediate container 36bddb2c3436 [2021-06-02T23:42:05.866Z] ---> d5f6f9922c98 [2021-06-02T23:42:05.866Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-02T23:42:06.127Z] ---> Running in a945705ab962 [2021-06-02T23:42:06.127Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-02T23:42:07.517Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-02T23:42:07.784Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-02T23:42:07.784Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-02T23:42:07.784Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-02T23:42:08.046Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-02T23:42:08.046Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-02T23:42:08.046Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-02T23:42:08.319Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-02T23:42:08.585Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-02T23:42:08.585Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-02T23:42:08.585Z] Executing busybox-1.32.1-r6.trigger [2021-06-02T23:42:08.851Z] OK: 154 MiB in 49 packages [2021-06-02T23:42:09.115Z] Removing intermediate container a945705ab962 [2021-06-02T23:42:09.115Z] ---> 91b0331f0d8a [2021-06-02T23:42:09.115Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-02T23:42:09.115Z] ---> Running in 6aac794fb1ba [2021-06-02T23:42:09.387Z] Removing intermediate container 6aac794fb1ba [2021-06-02T23:42:09.387Z] ---> 37cbc7c9f71e [2021-06-02T23:42:09.387Z] Step 9/10 : COPY . . [2021-06-02T23:42:09.387Z] ---> 0b76e6d3f05b [2021-06-02T23:42:09.387Z] Step 10/10 : RUN go mod download [2021-06-02T23:42:09.387Z] ---> Running in 1798866ab549 [2021-06-02T23:42:21.671Z] Removing intermediate container 1798866ab549 [2021-06-02T23:42:21.671Z] ---> 1e84f7ab9543 [2021-06-02T23:42:21.671Z] Successfully built 1e84f7ab9543 [2021-06-02T23:42:21.671Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T23:42:22.011Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-02T23:42:22.011Z] . [Pipeline] withDockerContainer [2021-06-02T23:42:22.115Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2021-06-02T23:42:22.150Z] $ 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-x86_64 cat [2021-06-02T23:42:22.506Z] $ docker top 307997e5dd0f2cef32f0f17c58ad0c3ecb9665285a262214ba827119ed27fa62 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T23:42:22.939Z] + go version [2021-06-02T23:42:22.939Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-02T23:42:22.964Z] $ docker stop --time=1 307997e5dd0f2cef32f0f17c58ad0c3ecb9665285a262214ba827119ed27fa62 [2021-06-02T23:42:24.136Z] $ docker rm -f 307997e5dd0f2cef32f0f17c58ad0c3ecb9665285a262214ba827119ed27fa62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-02T23:42:24.996Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-02T23:42:24.996Z] . [Pipeline] withDockerContainer [2021-06-02T23:42:25.093Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2021-06-02T23:42:25.143Z] $ 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-x86_64 cat [2021-06-02T23:42:25.510Z] $ docker top 49ab02d345cdb938c130312f95d7093c188c4ede168a6d782dba09a58a25c9bd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T23:42:26.027Z] + go mod tidy [Pipeline] sh [2021-06-02T23:42:26.618Z] + make test [2021-06-02T23:42:26.618Z] go mod tidy [2021-06-02T23:42:26.618Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-02T23:42:27.203Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-02T23:42:35.374Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-169 in /w/workspace/gexfoundry_device-rest-go_PR-112 [Pipeline] { [Pipeline] ws [2021-06-02T23:42:35.433Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-02T23:42:35.689Z] The recommended git tool is: git [2021-06-02T23:42:40.575Z] using credential edgex-jenkins-ssh [2021-06-02T23:42:40.599Z] Cloning the remote Git repository [2021-06-02T23:42:40.659Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-02T23:42:40.762Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-02T23:42:40.821Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-02T23:42:40.821Z] > git --version # timeout=10 [2021-06-02T23:42:40.837Z] > git --version # 'git version 2.17.1' [2021-06-02T23:42:40.839Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T23:42:40.934Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T23:42:42.177Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-02T23:42:42.752Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-06-02T23:42:42.752Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-02T23:42:43.122Z] Merging remotes/origin/master commit 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b into PR head commit 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 [2021-06-02T23:42:42.476Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-02T23:42:42.492Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T23:42:42.517Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-02T23:42:42.548Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-02T23:42:42.548Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T23:42:42.561Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/112/head:refs/remotes/origin/PR-112 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-02T23:42:43.139Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T23:42:43.157Z] > git checkout -f 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 # timeout=10 [2021-06-02T23:42:43.225Z] > git remote # timeout=10 [2021-06-02T23:42:43.319Z] Merge succeeded, producing 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 [2021-06-02T23:42:43.319Z] Checking out Revision 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 (PR-112) [2021-06-02T23:42:43.241Z] > git config --get remote.origin.url # timeout=10 [2021-06-02T23:42:43.254Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T23:42:43.281Z] > git merge 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 [2021-06-02T23:42:43.301Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-02T23:42:43.321Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T23:42:43.331Z] > git checkout -f 16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 # timeout=10 [2021-06-02T23:42:47.476Z] Commit message: "fix: Remove retry items of SecretStore config and update secret path" [2021-06-02T23:42:47.526Z] > git --version # timeout=10 [2021-06-02T23:42:47.550Z] > git --version # 'git version 2.17.1' [2021-06-02T23:42:47.562Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T23:42:49.057Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-02T23:42:49.488Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-02T23:42:49.853Z] + true [2021-06-02T23:42:49.853Z] + sudo service docker restart [2021-06-02T23:42:50.960Z] gofmt -l . [2021-06-02T23:42:50.960Z] [ "`gofmt -l .`" = "" ] [2021-06-02T23:42:50.960Z] ./bin/test-go-mod-tidy.sh [2021-06-02T23:42:50.960Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-02T23:42:50.990Z] $ docker stop --time=1 49ab02d345cdb938c130312f95d7093c188c4ede168a6d782dba09a58a25c9bd [2021-06-02T23:42:52.468Z] $ docker rm -f 49ab02d345cdb938c130312f95d7093c188c4ede168a6d782dba09a58a25c9bd [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T23:42:52.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-02T23:42:53.212Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-02T23:42:55.256Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-02T23:42:55.575Z] + ls -al . [2021-06-02T23:42:55.575Z] total 104 [2021-06-02T23:42:55.575Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 2 23:42 . [2021-06-02T23:42:55.575Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 2 23:41 .. [2021-06-02T23:42:55.575Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 2 23:41 Attribution.txt [2021-06-02T23:42:55.575Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 2 23:41 bin [2021-06-02T23:42:55.575Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 2 23:41 cmd [2021-06-02T23:42:55.575Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 2 23:42 coverage.out [2021-06-02T23:42:55.575Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 2 23:41 Dockerfile [2021-06-02T23:42:55.575Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 2 23:41 Dockerfile.build [2021-06-02T23:42:55.575Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 2 23:41 .dockerignore [2021-06-02T23:42:55.575Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 2 23:41 driver [2021-06-02T23:42:55.575Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 2 23:41 .git [2021-06-02T23:42:55.575Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 2 23:41 .github [2021-06-02T23:42:55.575Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 2 23:41 .gitignore [2021-06-02T23:42:55.575Z] -rw-r--r--. 1 jenkins jenkins 285 Jun 2 23:42 go.mod [2021-06-02T23:42:55.575Z] -rw-r--r--. 1 jenkins jenkins 20755 Jun 2 23:42 go.sum [2021-06-02T23:42:55.575Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 2 23:41 Jenkinsfile [2021-06-02T23:42:55.575Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 2 23:41 LICENSE [2021-06-02T23:42:55.575Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 2 23:41 Makefile [2021-06-02T23:42:55.575Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 2 23:41 README.md [2021-06-02T23:42:55.575Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 2 23:41 snap [2021-06-02T23:42:55.575Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 2 23:38 VERSION [2021-06-02T23:42:55.575Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 2 23:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-02T23:42:55.911Z] + 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=16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 --label arch=amd64 --label version=0.0.0 . [2021-06-02T23:42:55.911Z] Sending build context to Docker daemon 101.9kB [2021-06-02T23:42:55.911Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T23:42:55.911Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-02T23:42:55.911Z] ---> 1e84f7ab9543 [2021-06-02T23:42:55.911Z] Step 3/25 : ARG MAKE='make build' [2021-06-02T23:42:55.911Z] ---> Running in 0c8cb69bd5f5 [2021-06-02T23:42:56.174Z] Removing intermediate container 0c8cb69bd5f5 [2021-06-02T23:42:56.174Z] ---> 450eb1ef0f6c [2021-06-02T23:42:56.174Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-02T23:42:56.174Z] ---> Running in 61584f3e711e [2021-06-02T23:42:56.174Z] Removing intermediate container 61584f3e711e [2021-06-02T23:42:56.174Z] ---> bcd693fe61bd [2021-06-02T23:42:56.174Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-02T23:42:56.174Z] ---> Running in a4e32309eed7 [2021-06-02T23:42:56.174Z] Removing intermediate container a4e32309eed7 [2021-06-02T23:42:56.174Z] ---> ba76a11b5511 [2021-06-02T23:42:56.174Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T23:42:56.437Z] ---> Running in 39f897f98590 [2021-06-02T23:42:56.701Z] Removing intermediate container 39f897f98590 [2021-06-02T23:42:56.701Z] ---> 31f9bcc01049 [2021-06-02T23:42:56.701Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-02T23:42:56.969Z] ---> Running in f0b5dc66653b [2021-06-02T23:42:57.243Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-02T23:42:58.192Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-02T23:42:58.453Z] OK: 154 MiB in 49 packages [2021-06-02T23:42:58.718Z] Removing intermediate container f0b5dc66653b [2021-06-02T23:42:58.718Z] ---> 59c278d09b29 [2021-06-02T23:42:58.718Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-02T23:42:58.718Z] ---> Running in b6fbc524b308 [2021-06-02T23:42:58.718Z] Removing intermediate container b6fbc524b308 [2021-06-02T23:42:58.718Z] ---> 18ca346de9dc [2021-06-02T23:42:58.718Z] Step 9/25 : COPY . . [2021-06-02T23:42:58.985Z] ---> 7bd8a6a59598 [2021-06-02T23:42:58.985Z] Step 10/25 : RUN go mod tidy [2021-06-02T23:42:58.985Z] ---> Running in 5c934544e224 [2021-06-02T23:42:59.935Z] Removing intermediate container 5c934544e224 [2021-06-02T23:42:59.935Z] ---> 5ddcb4e25132 [2021-06-02T23:42:59.935Z] Step 11/25 : RUN make update [2021-06-02T23:42:59.935Z] ---> Running in 383cbcb98302 [2021-06-02T23:43:00.199Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-02T23:43:00.460Z] Removing intermediate container 383cbcb98302 [2021-06-02T23:43:00.460Z] ---> d70d544c327e [2021-06-02T23:43:00.460Z] Step 12/25 : RUN $MAKE [2021-06-02T23:43:00.460Z] ---> Running in cf1f8b0219a6 [2021-06-02T23:43:00.721Z] go mod tidy [2021-06-02T23:43:00.721Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T23:43:08.258Z] provisioning config files... [2021-06-02T23:43:08.288Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2793510393197655121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-02T23:43:08.742Z] ---> docker-login.sh [2021-06-02T23:43:08.743Z] nexus3.edgexfoundry.org:10001 [2021-06-02T23:43:09.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:43:10.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:43:10.016Z] Configure a credential helper to remove this warning. See [2021-06-02T23:43:10.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:43:10.016Z] [2021-06-02T23:43:10.016Z] Login Succeeded [2021-06-02T23:43:10.016Z] nexus3.edgexfoundry.org:10002 [2021-06-02T23:43:10.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:43:10.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:43:10.288Z] Configure a credential helper to remove this warning. See [2021-06-02T23:43:10.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:43:10.288Z] [2021-06-02T23:43:10.288Z] Login Succeeded [2021-06-02T23:43:10.559Z] nexus3.edgexfoundry.org:10003 [2021-06-02T23:43:10.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:43:10.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:43:10.835Z] Configure a credential helper to remove this warning. See [2021-06-02T23:43:10.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:43:10.835Z] [2021-06-02T23:43:10.835Z] Login Succeeded [2021-06-02T23:43:10.835Z] nexus3.edgexfoundry.org:10004 [2021-06-02T23:43:11.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:43:11.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:43:11.383Z] Configure a credential helper to remove this warning. See [2021-06-02T23:43:11.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:43:11.383Z] [2021-06-02T23:43:11.383Z] Login Succeeded [2021-06-02T23:43:11.383Z] docker.io [2021-06-02T23:43:11.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-02T23:43:12.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-02T23:43:12.261Z] Configure a credential helper to remove this warning. See [2021-06-02T23:43:12.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-02T23:43:12.261Z] [2021-06-02T23:43:12.261Z] Login Succeeded [2021-06-02T23:43:12.261Z] ---> docker-login.sh ends [Pipeline] } [2021-06-02T23:43:12.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-02T23:43:12.896Z] ========================================================= [2021-06-02T23:43:12.896Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-02T23:43:12.896Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-02T23:43:13.071Z] Removing intermediate container cf1f8b0219a6 [2021-06-02T23:43:13.071Z] ---> ce4c62271039 [2021-06-02T23:43:13.071Z] Step 13/25 : FROM alpine:3.12 [2021-06-02T23:43:13.071Z] 3.12: Pulling from library/alpine [2021-06-02T23:43:13.071Z] 339de151aab4: Pulling fs layer [2021-06-02T23:43:13.071Z] 339de151aab4: Verifying Checksum [2021-06-02T23:43:13.071Z] 339de151aab4: Download complete [2021-06-02T23:43:13.071Z] 339de151aab4: Pull complete [2021-06-02T23:43:13.071Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-02T23:43:13.071Z] Status: Downloaded newer image for alpine:3.12 [2021-06-02T23:43:13.071Z] ---> 13621d1b12d4 [2021-06-02T23:43:13.071Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-02T23:43:13.071Z] ---> Running in 1854c6d3272b [2021-06-02T23:43:13.071Z] Removing intermediate container 1854c6d3272b [2021-06-02T23:43:13.071Z] ---> 4577baa8cb5e [2021-06-02T23:43:13.071Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-02T23:43:13.071Z] ---> Running in ed826c0d50e8 [2021-06-02T23:43:13.071Z] Removing intermediate container ed826c0d50e8 [2021-06-02T23:43:13.071Z] ---> 39dbb7e256a1 [2021-06-02T23:43:13.071Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-02T23:43:13.071Z] ---> Running in bcb7a7796fb4 [2021-06-02T23:43:13.301Z] + 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-06-02T23:43:13.301Z] Sending build context to Docker daemon 92.16kB [2021-06-02T23:43:13.331Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-02T23:43:13.331Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-02T23:43:13.580Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T23:43:13.580Z] Step 2/10 : FROM ${BASE} [2021-06-02T23:43:13.596Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-02T23:43:13.597Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-02T23:43:13.597Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-02T23:43:13.597Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-02T23:43:13.597Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-02T23:43:13.597Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-02T23:43:13.597Z] Executing busybox-1.31.1-r20.trigger [2021-06-02T23:43:13.597Z] OK: 8 MiB in 20 packages [2021-06-02T23:43:13.861Z] Removing intermediate container bcb7a7796fb4 [2021-06-02T23:43:13.861Z] ---> e96118ec6143 [2021-06-02T23:43:13.861Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-02T23:43:13.863Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-02T23:43:13.863Z] 595b0fe564bb: Pulling fs layer [2021-06-02T23:43:13.863Z] 7186ed65a4f7: Pulling fs layer [2021-06-02T23:43:13.863Z] 316046926c0a: Pulling fs layer [2021-06-02T23:43:13.863Z] 4ebd0625c992: Pulling fs layer [2021-06-02T23:43:13.863Z] 207e8628e3a3: Pulling fs layer [2021-06-02T23:43:13.863Z] c791037a9be2: Pulling fs layer [2021-06-02T23:43:13.863Z] ffd874e62e21: Pulling fs layer [2021-06-02T23:43:13.863Z] 4ebd0625c992: Waiting [2021-06-02T23:43:13.863Z] 207e8628e3a3: Waiting [2021-06-02T23:43:13.863Z] c791037a9be2: Waiting [2021-06-02T23:43:13.863Z] ffd874e62e21: Waiting [2021-06-02T23:43:13.863Z] 316046926c0a: Download complete [2021-06-02T23:43:13.863Z] 7186ed65a4f7: Verifying Checksum [2021-06-02T23:43:13.863Z] 7186ed65a4f7: Download complete [2021-06-02T23:43:13.863Z] 207e8628e3a3: Download complete [2021-06-02T23:43:14.139Z] c791037a9be2: Verifying Checksum [2021-06-02T23:43:14.139Z] c791037a9be2: Download complete [2021-06-02T23:43:14.139Z] 595b0fe564bb: Verifying Checksum [2021-06-02T23:43:14.139Z] 595b0fe564bb: Download complete [2021-06-02T23:43:14.435Z] ---> 9892dc534f51 [2021-06-02T23:43:14.436Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-02T23:43:14.436Z] ---> 29fec439991d [2021-06-02T23:43:14.436Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-02T23:43:14.697Z] ---> 60103aa3eb29 [2021-06-02T23:43:14.697Z] Step 20/25 : EXPOSE 59986 [2021-06-02T23:43:14.697Z] ---> Running in 6d88828a5b92 [2021-06-02T23:43:14.697Z] Removing intermediate container 6d88828a5b92 [2021-06-02T23:43:14.697Z] ---> cb8fa14c3641 [2021-06-02T23:43:14.697Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-02T23:43:14.697Z] ---> Running in ae9b34146d92 [2021-06-02T23:43:14.697Z] Removing intermediate container ae9b34146d92 [2021-06-02T23:43:14.697Z] ---> 4fb171ea1856 [2021-06-02T23:43:14.697Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-02T23:43:14.742Z] 595b0fe564bb: Pull complete [2021-06-02T23:43:14.958Z] ---> Running in 46ccdef0c9ca [2021-06-02T23:43:14.958Z] Removing intermediate container 46ccdef0c9ca [2021-06-02T23:43:14.958Z] ---> 5190f25008e9 [2021-06-02T23:43:14.958Z] Step 23/25 : LABEL arch=amd64 [2021-06-02T23:43:14.958Z] ---> Running in a4118ce57b53 [2021-06-02T23:43:14.958Z] Removing intermediate container a4118ce57b53 [2021-06-02T23:43:14.958Z] ---> b8e2ac82e038 [2021-06-02T23:43:14.958Z] Step 24/25 : LABEL git_sha=16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 [2021-06-02T23:43:14.958Z] ---> Running in a3cce13a2f3a [2021-06-02T23:43:15.219Z] Removing intermediate container a3cce13a2f3a [2021-06-02T23:43:15.219Z] ---> 5d7636be33d0 [2021-06-02T23:43:15.219Z] Step 25/25 : LABEL version=0.0.0 [2021-06-02T23:43:15.219Z] ---> Running in a5c4ab381ea3 [2021-06-02T23:43:15.219Z] Removing intermediate container a5c4ab381ea3 [2021-06-02T23:43:15.219Z] ---> 4e352e5f356a [2021-06-02T23:43:15.219Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-02T23:43:15.219Z] Successfully built 4e352e5f356a [2021-06-02T23:43:15.219Z] Successfully tagged device-rest:latest [Pipeline] } [2021-06-02T23:43:15.348Z] 7186ed65a4f7: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-06-02T23:43:15.630Z] 316046926c0a: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-02T23:43:16.499Z] ---> job-cost.sh [2021-06-02T23:43:16.499Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8Rvz [2021-06-02T23:43:16.614Z] ffd874e62e21: Verifying Checksum [2021-06-02T23:43:16.614Z] ffd874e62e21: Download complete [2021-06-02T23:43:18.055Z] 4ebd0625c992: Verifying Checksum [2021-06-02T23:43:18.055Z] 4ebd0625c992: Download complete [2021-06-02T23:43:26.534Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-02T23:43:28.207Z] 4ebd0625c992: Pull complete [2021-06-02T23:43:28.483Z] 207e8628e3a3: Pull complete [2021-06-02T23:43:28.757Z] c791037a9be2: Pull complete [2021-06-02T23:43:33.100Z] ffd874e62e21: Pull complete [2021-06-02T23:43:33.100Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-02T23:43:33.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-02T23:43:33.100Z] ---> cfc18b08335c [2021-06-02T23:43:33.100Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-02T23:43:34.546Z] ---> Running in 81ae71f019c7 [2021-06-02T23:43:35.148Z] Removing intermediate container 81ae71f019c7 [2021-06-02T23:43:35.148Z] ---> a565441f862c [2021-06-02T23:43:35.148Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-02T23:43:35.148Z] ---> Running in b3c004fd41ab [2021-06-02T23:43:35.745Z] Removing intermediate container b3c004fd41ab [2021-06-02T23:43:35.745Z] ---> c792dfac62e7 [2021-06-02T23:43:35.745Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-02T23:43:35.745Z] ---> Running in 38cc9eb28d88 [2021-06-02T23:43:36.356Z] Removing intermediate container 38cc9eb28d88 [2021-06-02T23:43:36.356Z] ---> 8b724f34dad1 [2021-06-02T23:43:36.356Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T23:43:36.356Z] ---> Running in 5570451476c6 [2021-06-02T23:43:38.844Z] lf-activate-venv(): INFO: Adding /tmp/venv-8Rvz/bin to PATH [2021-06-02T23:43:38.844Z] INFO: No Stack... [2021-06-02T23:43:38.844Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-02T23:43:38.991Z] Removing intermediate container 5570451476c6 [2021-06-02T23:43:38.992Z] ---> 9b105d2150a0 [2021-06-02T23:43:38.992Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-02T23:43:38.992Z] ---> Running in 46bae5145c74 [2021-06-02T23:43:39.416Z] INFO: Archiving Costs [Pipeline] sh [2021-06-02T23:43:39.745Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-06-02T23:43:39.745Z] + cut -d, -f6 [Pipeline] lock [2021-06-02T23:43:39.808Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-112-1-stack-cost] [2021-06-02T23:43:39.815Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-112-1-stack-cost] did not exist. Created. [2021-06-02T23:43:39.815Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-112-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-02T23:43:39.967Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-02T23:43:40.249Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-02T23:43:40.344Z] Stashed 1 file(s) [Pipeline] } [2021-06-02T23:43:40.368Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-112-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-02T23:43:40.937Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-02T23:43:41.533Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-02T23:43:41.812Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-02T23:43:41.812Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-02T23:43:41.812Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-02T23:43:42.092Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-02T23:43:42.092Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-02T23:43:42.092Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-02T23:43:42.687Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-02T23:43:42.687Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-02T23:43:42.687Z] Executing busybox-1.32.1-r6.trigger [2021-06-02T23:43:42.959Z] OK: 144 MiB in 49 packages [2021-06-02T23:43:44.388Z] Removing intermediate container 46bae5145c74 [2021-06-02T23:43:44.388Z] ---> b3be13acf581 [2021-06-02T23:43:44.388Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-02T23:43:44.388Z] ---> Running in c34fc0ee4f7e [2021-06-02T23:43:44.984Z] Removing intermediate container c34fc0ee4f7e [2021-06-02T23:43:44.984Z] ---> 0ce8b9e88012 [2021-06-02T23:43:44.984Z] Step 9/10 : COPY . . [2021-06-02T23:43:45.578Z] ---> 74de6a0347a3 [2021-06-02T23:43:45.578Z] Step 10/10 : RUN go mod download [2021-06-02T23:43:45.850Z] ---> Running in 8a919bd8c8cd [2021-06-02T23:44:12.666Z] Removing intermediate container 8a919bd8c8cd [2021-06-02T23:44:12.666Z] ---> 3133e0ec352e [2021-06-02T23:44:12.666Z] Successfully built 3133e0ec352e [2021-06-02T23:44:12.666Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T23:44:13.052Z] + docker inspect -f . ci-base-image-arm64 [2021-06-02T23:44:13.052Z] . [Pipeline] withDockerContainer [2021-06-02T23:44:13.354Z] prd-ubuntu18.04-docker-arm64-4c-16g-169 does not seem to be running inside a container [2021-06-02T23:44:13.444Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-06-02T23:44:15.066Z] $ docker top 63d8266e038390fc421f67ab7ca23fcaede70be156b392fc31921bdf4512b57d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T23:44:16.090Z] + go version [2021-06-02T23:44:16.090Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-02T23:44:16.129Z] $ docker stop --time=1 63d8266e038390fc421f67ab7ca23fcaede70be156b392fc31921bdf4512b57d [2021-06-02T23:44:17.974Z] $ docker rm -f 63d8266e038390fc421f67ab7ca23fcaede70be156b392fc31921bdf4512b57d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-02T23:44:19.071Z] + docker inspect -f . ci-base-image-arm64 [2021-06-02T23:44:19.071Z] . [Pipeline] withDockerContainer [2021-06-02T23:44:19.410Z] prd-ubuntu18.04-docker-arm64-4c-16g-169 does not seem to be running inside a container [2021-06-02T23:44:19.522Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-06-02T23:44:21.113Z] $ docker top 71e4fa3ffc24f72807205f4e1994089f5f5e6e4ab67f1f219764201171f11b99 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T23:44:22.218Z] + go mod tidy [Pipeline] sh [2021-06-02T23:44:23.551Z] + make test [2021-06-02T23:44:23.551Z] go mod tidy [2021-06-02T23:44:24.150Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-02T23:44:25.590Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-02T23:45:22.247Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-02T23:45:22.247Z] ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 54.0% of statements [2021-06-02T23:45:22.247Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-02T23:45:44.476Z] gofmt -l . [2021-06-02T23:45:44.476Z] [ "`gofmt -l .`" = "" ] [2021-06-02T23:45:44.476Z] ./bin/test-go-mod-tidy.sh [2021-06-02T23:45:44.476Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-02T23:45:44.506Z] $ docker stop --time=1 71e4fa3ffc24f72807205f4e1994089f5f5e6e4ab67f1f219764201171f11b99 [2021-06-02T23:45:46.534Z] $ docker rm -f 71e4fa3ffc24f72807205f4e1994089f5f5e6e4ab67f1f219764201171f11b99 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T23:45:47.441Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-02T23:45:47.484Z] Warning: overwriting stash ‘coverage-report’ [2021-06-02T23:45:47.961Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T23:45:48.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-02T23:45:49.217Z] + ls -al . [2021-06-02T23:45:49.217Z] total 132 [2021-06-02T23:45:49.217Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:45 . [2021-06-02T23:45:49.217Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:42 .. [2021-06-02T23:45:49.217Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 2 23:42 .dockerignore [2021-06-02T23:45:49.217Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:42 .git [2021-06-02T23:45:49.217Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:42 .github [2021-06-02T23:45:49.217Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 2 23:42 .gitignore [2021-06-02T23:45:49.217Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 2 23:42 Attribution.txt [2021-06-02T23:45:49.217Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 2 23:42 Dockerfile [2021-06-02T23:45:49.217Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 2 23:42 Dockerfile.build [2021-06-02T23:45:49.217Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 2 23:42 Jenkinsfile [2021-06-02T23:45:49.217Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 23:42 LICENSE [2021-06-02T23:45:49.217Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 2 23:42 Makefile [2021-06-02T23:45:49.217Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 2 23:42 README.md [2021-06-02T23:45:49.217Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 23:38 VERSION [2021-06-02T23:45:49.217Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:42 bin [2021-06-02T23:45:49.217Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:42 cmd [2021-06-02T23:45:49.217Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 2 23:45 coverage.out [2021-06-02T23:45:49.217Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:42 driver [2021-06-02T23:45:49.217Z] -rw-r--r-- 1 jenkins jenkins 285 Jun 2 23:45 go.mod [2021-06-02T23:45:49.217Z] -rw-r--r-- 1 jenkins jenkins 20755 Jun 2 23:44 go.sum [2021-06-02T23:45:49.217Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:42 snap [2021-06-02T23:45:49.217Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 2 23:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-02T23:45:49.637Z] + 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=16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 --label arch=arm64 --label version=0.0.0 . [2021-06-02T23:45:49.637Z] Sending build context to Docker daemon 101.9kB [2021-06-02T23:45:49.953Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T23:45:49.953Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-02T23:45:49.953Z] ---> 3133e0ec352e [2021-06-02T23:45:49.953Z] Step 3/25 : ARG MAKE='make build' [2021-06-02T23:45:50.303Z] ---> Running in 83fe6cca230f [2021-06-02T23:45:50.581Z] Removing intermediate container 83fe6cca230f [2021-06-02T23:45:50.581Z] ---> 56373edceb54 [2021-06-02T23:45:50.581Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-02T23:45:50.857Z] ---> Running in 15f396e7319a [2021-06-02T23:45:51.134Z] Removing intermediate container 15f396e7319a [2021-06-02T23:45:51.134Z] ---> 1ac181cb80ee [2021-06-02T23:45:51.134Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-02T23:45:51.408Z] ---> Running in c65b9ed147f2 [2021-06-02T23:45:52.006Z] Removing intermediate container c65b9ed147f2 [2021-06-02T23:45:52.006Z] ---> f652f10b2ba3 [2021-06-02T23:45:52.006Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-02T23:45:52.006Z] ---> Running in 52f58e1ea340 [2021-06-02T23:45:53.980Z] Removing intermediate container 52f58e1ea340 [2021-06-02T23:45:53.980Z] ---> 1b9f43d7a234 [2021-06-02T23:45:53.980Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-02T23:45:54.268Z] ---> Running in 69d44c52386e [2021-06-02T23:45:55.251Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-02T23:45:56.232Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-02T23:45:57.223Z] OK: 144 MiB in 49 packages [2021-06-02T23:45:58.212Z] Removing intermediate container 69d44c52386e [2021-06-02T23:45:58.212Z] ---> 755a90236ee8 [2021-06-02T23:45:58.212Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-02T23:45:58.212Z] ---> Running in f4ecd961901f [2021-06-02T23:45:58.818Z] Removing intermediate container f4ecd961901f [2021-06-02T23:45:58.818Z] ---> d897d68d68ea [2021-06-02T23:45:58.818Z] Step 9/25 : COPY . . [2021-06-02T23:45:59.420Z] ---> 2153746e80d8 [2021-06-02T23:45:59.420Z] Step 10/25 : RUN go mod tidy [2021-06-02T23:45:59.693Z] ---> Running in 34e724874ed6 [2021-06-02T23:46:02.308Z] Removing intermediate container 34e724874ed6 [2021-06-02T23:46:02.308Z] ---> 54bbceced7a7 [2021-06-02T23:46:02.308Z] Step 11/25 : RUN make update [2021-06-02T23:46:02.581Z] ---> Running in 4fb46b4aa88a [2021-06-02T23:46:04.016Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-02T23:46:04.995Z] Removing intermediate container 4fb46b4aa88a [2021-06-02T23:46:04.995Z] ---> 2978c56ea73d [2021-06-02T23:46:04.995Z] Step 12/25 : RUN $MAKE [2021-06-02T23:46:04.995Z] ---> Running in f9d0d739198e [2021-06-02T23:46:06.419Z] go mod tidy [2021-06-02T23:46:06.694Z] 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-06-02T23:46:45.715Z] Removing intermediate container f9d0d739198e [2021-06-02T23:46:45.715Z] ---> fe7098e422f2 [2021-06-02T23:46:45.715Z] Step 13/25 : FROM alpine:3.12 [2021-06-02T23:46:45.715Z] 3.12: Pulling from library/alpine [2021-06-02T23:46:45.715Z] d2f70382dc9a: Pulling fs layer [2021-06-02T23:46:45.715Z] d2f70382dc9a: Verifying Checksum [2021-06-02T23:46:45.715Z] d2f70382dc9a: Download complete [2021-06-02T23:46:45.715Z] d2f70382dc9a: Pull complete [2021-06-02T23:46:45.715Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-02T23:46:45.715Z] Status: Downloaded newer image for alpine:3.12 [2021-06-02T23:46:45.715Z] ---> 9852663dfa18 [2021-06-02T23:46:45.715Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-02T23:46:45.715Z] ---> Running in 8ac0a13bb259 [2021-06-02T23:46:45.715Z] Removing intermediate container 8ac0a13bb259 [2021-06-02T23:46:45.715Z] ---> fbadee23254d [2021-06-02T23:46:45.715Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-02T23:46:45.715Z] ---> Running in 2081cf97ab3c [2021-06-02T23:46:45.715Z] Removing intermediate container 2081cf97ab3c [2021-06-02T23:46:45.715Z] ---> 5b76302a24ce [2021-06-02T23:46:45.715Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-02T23:46:45.715Z] ---> Running in e842c6e1e888 [2021-06-02T23:46:45.715Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-02T23:46:45.715Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-02T23:46:45.715Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-02T23:46:45.715Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-02T23:46:45.715Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-02T23:46:45.988Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-02T23:46:45.988Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-02T23:46:45.988Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-02T23:46:45.988Z] Executing busybox-1.31.1-r20.trigger [2021-06-02T23:46:45.988Z] OK: 8 MiB in 20 packages [2021-06-02T23:46:46.963Z] Removing intermediate container e842c6e1e888 [2021-06-02T23:46:46.963Z] ---> 0ea7d3de570e [2021-06-02T23:46:46.963Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-02T23:46:48.399Z] ---> 84627c984de8 [2021-06-02T23:46:48.399Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-02T23:46:48.987Z] ---> 96a12a8583d9 [2021-06-02T23:46:48.987Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-02T23:46:49.580Z] ---> 045da67c6647 [2021-06-02T23:46:49.580Z] Step 20/25 : EXPOSE 59986 [2021-06-02T23:46:49.854Z] ---> Running in 78cc53e778b6 [2021-06-02T23:46:50.126Z] Removing intermediate container 78cc53e778b6 [2021-06-02T23:46:50.126Z] ---> 10ef6803d5f9 [2021-06-02T23:46:50.126Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-02T23:46:50.399Z] ---> Running in 029592b9d642 [2021-06-02T23:46:50.994Z] Removing intermediate container 029592b9d642 [2021-06-02T23:46:50.994Z] ---> 9ea0bb7c6c32 [2021-06-02T23:46:50.994Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-02T23:46:50.994Z] ---> Running in 269f071d88f8 [2021-06-02T23:46:51.266Z] Removing intermediate container 269f071d88f8 [2021-06-02T23:46:51.266Z] ---> f3b9d7c35887 [2021-06-02T23:46:51.266Z] Step 23/25 : LABEL arch=arm64 [2021-06-02T23:46:51.538Z] ---> Running in ec4c2ec994cc [2021-06-02T23:46:52.138Z] Removing intermediate container ec4c2ec994cc [2021-06-02T23:46:52.138Z] ---> 727abbbf702a [2021-06-02T23:46:52.138Z] Step 24/25 : LABEL git_sha=16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 [2021-06-02T23:46:52.138Z] ---> Running in 12108143790c [2021-06-02T23:46:52.747Z] Removing intermediate container 12108143790c [2021-06-02T23:46:52.747Z] ---> 0d398b9f3f5d [2021-06-02T23:46:52.747Z] Step 25/25 : LABEL version=0.0.0 [2021-06-02T23:46:52.747Z] ---> Running in 423179a51f55 [2021-06-02T23:46:53.347Z] Removing intermediate container 423179a51f55 [2021-06-02T23:46:53.347Z] ---> fe2ad0be64cc [2021-06-02T23:46:53.347Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-02T23:46:53.347Z] Successfully built fe2ad0be64cc [2021-06-02T23:46:53.347Z] 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-06-02T23:46:54.199Z] ---> job-cost.sh [2021-06-02T23:46:54.199Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gIe5 [2021-06-02T23:47:33.159Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-02T23:48:54.897Z] lf-activate-venv(): INFO: Adding /tmp/venv-gIe5/bin to PATH [2021-06-02T23:48:54.897Z] INFO: No Stack... [2021-06-02T23:48:55.167Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-02T23:48:55.438Z] INFO: Archiving Costs [Pipeline] sh [2021-06-02T23:48:55.794Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-06-02T23:48:55.794Z] + cut -d, -f6 [Pipeline] lock [2021-06-02T23:48:55.880Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-112-1-stack-cost] [2021-06-02T23:48:55.888Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-112-1-stack-cost] did not exist. Created. [2021-06-02T23:48:55.888Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-112-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-02T23:48:56.329Z] /w/workspace/device-rest-go/1@tmp/durable-3fb698b6/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-3fb698b6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-02T23:48:56.696Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-02T23:48:56.774Z] Warning: overwriting stash ‘stack-cost’ [2021-06-02T23:48:56.924Z] Stashed 1 file(s) [Pipeline] } [2021-06-02T23:48:56.949Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-112-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-06-02T23:48:58.170Z] provisioning config files... [2021-06-02T23:48:58.178Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-112@tmp/config4366244103530185083tmp [Pipeline] { [Pipeline] sh [2021-06-02T23:48:58.540Z] + set +x [2021-06-02T23:48:58.540Z] + curl -s https://codecov.io/bash [2021-06-02T23:48:58.540Z] + bash -s -- [2021-06-02T23:48:58.540Z] [2021-06-02T23:48:58.540Z] _____ _ [2021-06-02T23:48:58.540Z] / ____| | | [2021-06-02T23:48:58.540Z] | | ___ __| | ___ ___ _____ __ [2021-06-02T23:48:58.540Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-02T23:48:58.540Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-02T23:48:58.540Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-02T23:48:58.540Z] Bash-1.0.3 [2021-06-02T23:48:58.540Z] [2021-06-02T23:48:58.540Z] [2021-06-02T23:48:58.540Z] ==> git version 2.24.4 found [2021-06-02T23:48:58.540Z] ==> 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-06-02T23:48:58.540Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-02T23:48:58.540Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-02T23:48:58.540Z] ==> Jenkins CI detected. [2021-06-02T23:48:58.540Z] project root: . [2021-06-02T23:48:58.540Z] --> token set from env [2021-06-02T23:48:58.540Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-02T23:48:58.803Z] ==> Running gcov in . (disable via -X gcov) [2021-06-02T23:48:58.803Z] ==> Python coveragepy not found [2021-06-02T23:48:58.803Z] ==> Searching for coverage reports in: [2021-06-02T23:48:58.803Z] + . [2021-06-02T23:48:58.803Z] -> Found 1 reports [2021-06-02T23:48:58.803Z] ==> Detecting git/mercurial file structure [2021-06-02T23:48:58.803Z] ==> Reading reports [2021-06-02T23:48:58.803Z] + ./coverage.out bytes=8513 [2021-06-02T23:48:58.803Z] ==> Appending adjustments [2021-06-02T23:48:58.803Z] https://docs.codecov.io/docs/fixing-reports [2021-06-02T23:48:58.803Z] + Found adjustments [2021-06-02T23:48:58.803Z] ==> Gzipping contents [2021-06-02T23:48:58.803Z] 4.0K /tmp/codecov.8LACFF.gz [2021-06-02T23:48:58.803Z] ==> Uploading reports [2021-06-02T23:48:58.803Z] url: https://codecov.io [2021-06-02T23:48:58.803Z] query: branch=PR-112&commit=16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-112%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=112&job=&cmd_args= [2021-06-02T23:48:58.803Z] -> Pinging Codecov [2021-06-02T23:48:58.803Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-112&commit=16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-112%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=112&job=&cmd_args= [2021-06-02T23:48:59.377Z] -> Uploading to [2021-06-02T23:48:59.377Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-02/4E5D53B4F1F92C436F7061BF334D961C/16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7/9d406f73-4eb4-4fbe-bae4-49d21b6fa6ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210602T234859Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd57d534271a5bb21fdc3667e0cd7a1a59dbde93d3fe6a9636ec13b7ab3be0b4 [2021-06-02T23:48:59.377Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-02T23:48:59.377Z] Dload Upload Total Spent Left Speed [2021-06-02T23:48:59.639Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3723 --:--:-- --:--:-- --:--:-- 3729 [2021-06-02T23:48:59.639Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/16b192d4b9fc0d9db10f8b00c876bcacc8fd3db7 [Pipeline] } [2021-06-02T23:48:59.662Z] 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-06-02T23:49:02.519Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T23:49:03.147Z] ---> package-listing.sh [2021-06-02T23:49:03.147Z] ++ facter osfamily [2021-06-02T23:49:03.147Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-02T23:49:03.421Z] + OS_FAMILY=redhat [2021-06-02T23:49:03.421Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-112 [2021-06-02T23:49:03.421Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-02T23:49:03.421Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-02T23:49:03.421Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-02T23:49:03.421Z] + PACKAGES=/tmp/packages_start.txt [2021-06-02T23:49:03.421Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-112 ']' [2021-06-02T23:49:03.421Z] + PACKAGES=/tmp/packages_end.txt [2021-06-02T23:49:03.421Z] + case "${OS_FAMILY}" in [2021-06-02T23:49:03.421Z] + sort [2021-06-02T23:49:03.421Z] + rpm -qa [2021-06-02T23:49:03.994Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-02T23:49:03.994Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-02T23:49:03.994Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-02T23:49:03.994Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-112 ']' [2021-06-02T23:49:03.994Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-112/archives/ [2021-06-02T23:49:03.994Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-112/archives/ [Pipeline] echo [2021-06-02T23:49:04.040Z] 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-112/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-02T23:49:04.347Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-02T23:49:04.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T23:49:04.951Z] [2021-06-02T23:49:04.951Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-02T23:49:05.308Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T23:49:05.308Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-02T23:49:05.308Z] df20fa9351a1: Pulling fs layer [2021-06-02T23:49:05.308Z] 36b3adc4ff6f: Pulling fs layer [2021-06-02T23:49:05.308Z] 8ad3a11d3b57: Pulling fs layer [2021-06-02T23:49:05.308Z] 46f8f816bc3b: Pulling fs layer [2021-06-02T23:49:05.308Z] 93b61091891f: Pulling fs layer [2021-06-02T23:49:05.308Z] 93b9cdb0e59b: Pulling fs layer [2021-06-02T23:49:05.308Z] 5e14af77c1be: Pulling fs layer [2021-06-02T23:49:05.308Z] 01666e4c0597: Pulling fs layer [2021-06-02T23:49:05.308Z] aa168da1d23b: Pulling fs layer [2021-06-02T23:49:05.308Z] 93b9cdb0e59b: Waiting [2021-06-02T23:49:05.308Z] 5e14af77c1be: Waiting [2021-06-02T23:49:05.308Z] 01666e4c0597: Waiting [2021-06-02T23:49:05.308Z] aa168da1d23b: Waiting [2021-06-02T23:49:05.308Z] 46f8f816bc3b: Waiting [2021-06-02T23:49:05.308Z] 93b61091891f: Waiting [2021-06-02T23:49:05.308Z] 36b3adc4ff6f: Verifying Checksum [2021-06-02T23:49:05.308Z] 36b3adc4ff6f: Download complete [2021-06-02T23:49:05.308Z] 46f8f816bc3b: Verifying Checksum [2021-06-02T23:49:05.308Z] 46f8f816bc3b: Download complete [2021-06-02T23:49:05.572Z] df20fa9351a1: Verifying Checksum [2021-06-02T23:49:05.572Z] df20fa9351a1: Download complete [2021-06-02T23:49:05.572Z] 93b9cdb0e59b: Verifying Checksum [2021-06-02T23:49:05.572Z] 93b9cdb0e59b: Download complete [2021-06-02T23:49:05.572Z] 5e14af77c1be: Verifying Checksum [2021-06-02T23:49:05.572Z] 5e14af77c1be: Download complete [2021-06-02T23:49:05.572Z] 93b61091891f: Verifying Checksum [2021-06-02T23:49:05.572Z] 93b61091891f: Download complete [2021-06-02T23:49:05.572Z] 01666e4c0597: Verifying Checksum [2021-06-02T23:49:05.572Z] 01666e4c0597: Download complete [2021-06-02T23:49:05.572Z] 8ad3a11d3b57: Verifying Checksum [2021-06-02T23:49:05.572Z] 8ad3a11d3b57: Download complete [2021-06-02T23:49:05.834Z] df20fa9351a1: Pull complete [2021-06-02T23:49:05.834Z] 36b3adc4ff6f: Pull complete [2021-06-02T23:49:06.795Z] 8ad3a11d3b57: Pull complete [2021-06-02T23:49:06.795Z] 46f8f816bc3b: Pull complete [2021-06-02T23:49:07.055Z] 93b61091891f: Pull complete [2021-06-02T23:49:07.318Z] aa168da1d23b: Verifying Checksum [2021-06-02T23:49:07.318Z] aa168da1d23b: Download complete [2021-06-02T23:49:07.318Z] 93b9cdb0e59b: Pull complete [2021-06-02T23:49:07.318Z] 5e14af77c1be: Pull complete [2021-06-02T23:49:07.586Z] 01666e4c0597: Pull complete [2021-06-02T23:49:11.810Z] aa168da1d23b: Pull complete [2021-06-02T23:49:11.810Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-02T23:49:11.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T23:49:11.810Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-02T23:49:11.922Z] prd-centos7-docker-4c-2g-167 does not seem to be running inside a container [2021-06-02T23:49:11.961Z] $ 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-112/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-112 -v /w/workspace/gexfoundry_device-rest-go_PR-112:/w/workspace/gexfoundry_device-rest-go_PR-112:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-112@tmp:/w/workspace/gexfoundry_device-rest-go_PR-112@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-02T23:49:14.383Z] $ docker top 2423fc32b1c70812050db2fe38e8310ca5481feab7ea8a8875614da2433ac8f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T23:49:14.834Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-02T23:49:15.161Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-02T23:49:15.489Z] + ls /var/log/sa-host [2021-06-02T23:49:15.489Z] + sadf -c /var/log/sa-host/sa02 [2021-06-02T23:49:15.489Z] file_magic: OK [2021-06-02T23:49:15.489Z] HZ: Using current value: 100 [2021-06-02T23:49:15.489Z] file_header: OK [2021-06-02T23:49:15.489Z] 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-06-02T23:49:15.489Z] Statistics: [2021-06-02T23:49:15.489Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T23:49:15.489Z] File successfully converted to sysstat format version 12.2.1 [2021-06-02T23:49:15.489Z] + sadf -c /var/log/sa-host/sa05 [2021-06-02T23:49:15.489Z] file_magic: OK [2021-06-02T23:49:15.489Z] HZ: Using current value: 100 [2021-06-02T23:49:15.489Z] file_header: OK [2021-06-02T23:49:15.489Z] 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-06-02T23:49:15.489Z] Statistics: [2021-06-02T23:49:15.489Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T23:49:15.489Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T23:49:16.293Z] provisioning config files... [2021-06-02T23:49:16.305Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-112@tmp/config7325902324772821120tmp [Pipeline] { [Pipeline] echo [2021-06-02T23:49:16.370Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T23:49:16.706Z] ---> create-netrc.sh [Pipeline] } [2021-06-02T23:49:16.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-06-02T23:49:16.823Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T23:49:17.190Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-02T23:49:17.221Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T23:49:17.554Z] ---> sudo-logs.sh [2021-06-02T23:49:17.554Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-02T23:49:17.654Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T23:49:17.988Z] ---> job-cost.sh [2021-06-02T23:49:17.988Z] lf-activate-venv: SKIPPING [2021-06-02T23:49:17.988Z] DEBUG: total: 0.18000000715255737 [2021-06-02T23:49:17.988Z] INFO: Retrieving Stack Cost... [2021-06-02T23:49:18.948Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-02T23:49:19.527Z] INFO: Archiving Costs [Pipeline] echo [2021-06-02T23:49:19.576Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T23:49:19.921Z] ---> logs-deploy.sh [2021-06-02T23:49:19.921Z] lf-activate-venv: SKIPPING [2021-06-02T23:49:19.921Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-112/1 [2021-06-02T23:49:19.921Z] INFO: archiving workspace using pattern(s): [2021-06-02T23:49:20.872Z] Archives upload complete. [2021-06-02T23:49:20.872Z] INFO: archiving logs to Nexus