Pull request #105 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e2c9c4c342c32711e5ff04843954e6793da3475b+03359c08c1b66a89f278bd3fc862a1cc531bead5 (125503f833b05ecc5709607e1d17ac6014bd1c1a) 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-ssh3010442218235347359.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2899023878096848869.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-105/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-105/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5307484976347969929.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-105/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4324219175014316481.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6402329244735318104.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-105/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-105/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4416774005790278899.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-15642’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-15740’ is offline ‘prd-centos7-docker-4c-2g-309’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-15739’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15752 in /w/workspace/gexfoundry_device-rest-go_PR-105 [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-105 # 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-105@tmp/jenkins-gitclient-ssh4236194588284446465.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 Merging remotes/origin/master commit 03359c08c1b66a89f278bd3fc862a1cc531bead5 into PR head commit e2c9c4c342c32711e5ff04843954e6793da3475b > 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-105@tmp/jenkins-gitclient-ssh7385366184684253096.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/105/head:refs/remotes/origin/PR-105 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2c9c4c342c32711e5ff04843954e6793da3475b # 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-105@tmp/jenkins-gitclient-ssh7121675597780471939.key > git merge 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing e2c9c4c342c32711e5ff04843954e6793da3475b Checking out Revision e2c9c4c342c32711e5ff04843954e6793da3475b (PR-105) > git config core.sparsecheckout # timeout=10 > git checkout -f e2c9c4c342c32711e5ff04843954e6793da3475b # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-24T05:51:54.043Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-24T05:51:54.374Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-24T05:51:56.808Z] ========================================================= [2021-05-24T05:51:56.808Z] EdgeX Global Pipelines Version Info [2021-05-24T05:51:56.808Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-24T05:52:02.043Z] ------------------- [2021-05-24T05:52:02.043Z] stable info: [2021-05-24T05:52:02.043Z] ------------------- [2021-05-24T05:52:02.043Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-24T05:52:02.043Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-24T05:52:02.043Z] Message: update stable to v1.0.192 [2021-05-24T05:52:02.043Z] ------------------- [2021-05-24T05:52:02.043Z] experimental info: [2021-05-24T05:52:02.043Z] ------------------- [2021-05-24T05:52:02.043Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-24T05:52:02.043Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-24T05:52:02.043Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-24T05:52:04.416Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-24T05:52:06.613Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-24T05:52:06.776Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-24T05:52:06.943Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-24T05:52:09.072Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-24T05:52:09.169Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-24T05:52:09.264Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-24T05:52:09.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-24T05:52:09.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-24T05:52:11.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-24T05:52:11.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-24T05:52:11.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-24T05:52:12.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-24T05:52:14.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-24T05:52:14.299Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-24T05:52:14.427Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-24T05:52:18.542Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-24T05:52:18.674Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-24T05:52:18.815Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-24T05:52:18.907Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-24T05:52:21.047Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-24T05:52:21.174Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-24T05:52:21.267Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-24T05:52:21.389Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-24T05:52:23.520Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-24T05:52:23.674Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-24T05:52:23.793Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-105 [Pipeline] echo [2021-05-24T05:52:23.885Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-105 [Pipeline] echo [2021-05-24T05:52:25.991Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-105 [Pipeline] echo [2021-05-24T05:52:26.121Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2c9c4c342c32711e5ff04843954e6793da3475b [Pipeline] echo [2021-05-24T05:52:26.220Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2c9c4c [Pipeline] echo [2021-05-24T05:52:26.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T05:52:28.583Z] provisioning config files... [2021-05-24T05:52:28.601Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-105@tmp/config6118583306308743478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-24T05:52:32.590Z] ---> docker-login.sh [2021-05-24T05:52:32.591Z] nexus3.edgexfoundry.org:10001 [2021-05-24T05:52:32.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:52:32.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:52:32.591Z] Configure a credential helper to remove this warning. See [2021-05-24T05:52:32.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:52:32.591Z] [2021-05-24T05:52:32.591Z] Login Succeeded [2021-05-24T05:52:32.591Z] nexus3.edgexfoundry.org:10002 [2021-05-24T05:52:32.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:52:32.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:52:32.591Z] Configure a credential helper to remove this warning. See [2021-05-24T05:52:32.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:52:32.591Z] [2021-05-24T05:52:32.591Z] Login Succeeded [2021-05-24T05:52:32.591Z] nexus3.edgexfoundry.org:10003 [2021-05-24T05:52:32.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:52:32.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:52:32.591Z] Configure a credential helper to remove this warning. See [2021-05-24T05:52:32.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:52:32.591Z] [2021-05-24T05:52:32.591Z] Login Succeeded [2021-05-24T05:52:32.591Z] nexus3.edgexfoundry.org:10004 [2021-05-24T05:52:32.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:52:32.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:52:32.591Z] Configure a credential helper to remove this warning. See [2021-05-24T05:52:32.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:52:32.591Z] [2021-05-24T05:52:32.591Z] Login Succeeded [2021-05-24T05:52:32.591Z] docker.io [2021-05-24T05:52:32.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:52:32.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:52:32.591Z] Configure a credential helper to remove this warning. See [2021-05-24T05:52:32.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:52:32.591Z] [2021-05-24T05:52:32.591Z] Login Succeeded [2021-05-24T05:52:32.591Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T05:52:32.633Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-24T05:52:37.895Z] + git log --format=format:%s -1 e2c9c4c342c32711e5ff04843954e6793da3475b [Pipeline] echo [2021-05-24T05:52:39.927Z] GIT_COMMIT: e2c9c4c342c32711e5ff04843954e6793da3475b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-05-24T05:52:40.017Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-24T05:52:44.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T05:52:44.953Z] [2021-05-24T05:52:44.953Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-24T05:52:51.755Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T05:52:51.755Z] latest: Pulling from edgex-devops/git-semver [2021-05-24T05:52:51.755Z] 31603596830f: Pulling fs layer [2021-05-24T05:52:51.755Z] 54011a49482f: Pulling fs layer [2021-05-24T05:52:51.755Z] a6820b24f6d8: Pulling fs layer [2021-05-24T05:52:51.755Z] f581987b2513: Pulling fs layer [2021-05-24T05:52:51.755Z] f581987b2513: Waiting [2021-05-24T05:52:51.755Z] 54011a49482f: Verifying Checksum [2021-05-24T05:52:51.755Z] 54011a49482f: Download complete [2021-05-24T05:52:51.755Z] 31603596830f: Verifying Checksum [2021-05-24T05:52:51.755Z] 31603596830f: Download complete [2021-05-24T05:52:51.755Z] f581987b2513: Verifying Checksum [2021-05-24T05:52:51.755Z] f581987b2513: Download complete [2021-05-24T05:52:51.755Z] 31603596830f: Pull complete [2021-05-24T05:52:51.755Z] 54011a49482f: Pull complete [2021-05-24T05:52:51.755Z] a6820b24f6d8: Verifying Checksum [2021-05-24T05:52:51.755Z] a6820b24f6d8: Download complete [2021-05-24T05:52:51.755Z] a6820b24f6d8: Pull complete [2021-05-24T05:52:51.755Z] f581987b2513: Pull complete [2021-05-24T05:52:51.755Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-24T05:52:51.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T05:52:51.755Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-24T05:52:51.988Z] prd-centos7-docker-4c-2g-15752 does not seem to be running inside a container [2021-05-24T05:52:54.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-105 -v /w/workspace/gexfoundry_device-rest-go_PR-105:/w/workspace/gexfoundry_device-rest-go_PR-105:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-105@tmp:/w/workspace/gexfoundry_device-rest-go_PR-105@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-24T05:52:57.931Z] $ docker top 683379375d2d48ac02891a88ae223245386dd4ee1a212ce402e9e172f1113ae6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-24T05:52:58.282Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-24T05:52:58.282Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-24T05:52:58.408Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-24T05:52:58.410Z] $ docker exec 683379375d2d48ac02891a88ae223245386dd4ee1a212ce402e9e172f1113ae6 ssh-agent [2021-05-24T05:53:00.451Z] SSH_AUTH_SOCK=/tmp/ssh-pDLCf8frX0o8/agent.14 [2021-05-24T05:53:00.451Z] SSH_AGENT_PID=20 [2021-05-24T05:53:00.468Z] Running ssh-add (command line suppressed) [2021-05-24T05:53:00.582Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-105@tmp/private_key_2598228996991423108.key (/w/workspace/gexfoundry_device-rest-go_PR-105@tmp/private_key_2598228996991423108.key) [2021-05-24T05:53:00.691Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-24T05:53:04.476Z] + git tag --points-at HEAD [Pipeline] } [2021-05-24T05:53:04.514Z] $ docker exec --env ******** --env ******** 683379375d2d48ac02891a88ae223245386dd4ee1a212ce402e9e172f1113ae6 ssh-agent -k [2021-05-24T05:53:04.641Z] unset SSH_AUTH_SOCK; [2021-05-24T05:53:04.642Z] unset SSH_AGENT_PID; [2021-05-24T05:53:04.642Z] echo Agent pid 20 killed; [2021-05-24T05:53:04.661Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-24T05:53:04.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-24T05:53:04.786Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-24T05:53:04.928Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-24T05:53:04.931Z] $ docker exec 683379375d2d48ac02891a88ae223245386dd4ee1a212ce402e9e172f1113ae6 ssh-agent [2021-05-24T05:53:07.009Z] SSH_AUTH_SOCK=/tmp/ssh-yeqRiqBZnF0V/agent.53 [2021-05-24T05:53:07.009Z] SSH_AGENT_PID=59 [2021-05-24T05:53:07.072Z] Running ssh-add (command line suppressed) [2021-05-24T05:53:07.182Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-105@tmp/private_key_991291601161457607.key (/w/workspace/gexfoundry_device-rest-go_PR-105@tmp/private_key_991291601161457607.key) [2021-05-24T05:53:07.221Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-24T05:53:09.722Z] + git semver init [2021-05-24T05:53:09.722Z] # -> Open(): unable to determine branch for HEAD [2021-05-24T05:53:09.722Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-105/.git [2021-05-24T05:53:09.722Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-105 [2021-05-24T05:53:09.722Z] # $SEMVER_REMOTE_NAME = origin [2021-05-24T05:53:09.722Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-24T05:53:09.722Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-24T05:53:09.722Z] # $SEMVER_BRANCH = PR-105 [2021-05-24T05:53:09.722Z] # $SEMVER_TEMP = /tmp/semver-853733507 [2021-05-24T05:53:09.722Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-24T05:53:09.722Z] # '/tmp/semver-853733507' -> '/w/workspace/gexfoundry_device-rest-go_PR-105/.semver' [2021-05-24T05:53:09.722Z] # -> Force: false [2021-05-24T05:53:09.722Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-105/.semver [Pipeline] } [2021-05-24T05:53:09.768Z] $ docker exec --env ******** --env ******** 683379375d2d48ac02891a88ae223245386dd4ee1a212ce402e9e172f1113ae6 ssh-agent -k [2021-05-24T05:53:09.886Z] unset SSH_AUTH_SOCK; [2021-05-24T05:53:09.886Z] unset SSH_AGENT_PID; [2021-05-24T05:53:09.886Z] echo Agent pid 59 killed; [2021-05-24T05:53:12.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-24T05:53:15.101Z] + git semver [Pipeline] } [2021-05-24T05:53:15.156Z] $ docker stop --time=1 683379375d2d48ac02891a88ae223245386dd4ee1a212ce402e9e172f1113ae6 [2021-05-24T05:53:17.686Z] $ docker rm -f 683379375d2d48ac02891a88ae223245386dd4ee1a212ce402e9e172f1113ae6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-24T05:53:20.186Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-24T05:53:22.791Z] Stashed 1 file(s) [Pipeline] echo [2021-05-24T05:53:22.856Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-24T05:53:44.893Z] Still waiting to schedule task [2021-05-24T05:53:44.893Z] ‘prd-centos7-blackbox-4c-2g-15642’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-24T05:53:44.893Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-24T05:53:44.893Z] ‘prd-centos7-docker-4c-2g-15740’ is offline [2021-05-24T05:53:44.894Z] ‘prd-centos7-docker-4c-2g-15758’ is offline [2021-05-24T05:53:44.894Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-05-24T05:53:47.433Z] Still waiting to schedule task [2021-05-24T05:53:47.433Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-24T06:02:46.293Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16374 in /w/workspace/gexfoundry_device-rest-go_PR-105 [Pipeline] { [Pipeline] ws [2021-05-24T06:02:46.464Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-24T06:02:51.037Z] The recommended git tool is: git [2021-05-24T06:02:56.100Z] Running on prd-centos7-docker-4c-2g-16406 in /w/workspace/gexfoundry_device-rest-go_PR-105 [Pipeline] { [Pipeline] ws [2021-05-24T06:02:58.375Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-24T06:03:00.759Z] The recommended git tool is: git [2021-05-24T06:03:31.972Z] using credential edgex-jenkins-ssh [2021-05-24T06:03:32.005Z] Cloning the remote Git repository [2021-05-24T06:03:32.037Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-24T06:03:34.438Z] using credential edgex-jenkins-ssh [2021-05-24T06:03:34.460Z] Cloning the remote Git repository [2021-05-24T06:03:34.100Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-24T06:03:34.127Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-24T06:03:34.127Z] > git --version # timeout=10 [2021-05-24T06:03:34.134Z] > git --version # 'git version 2.24.4' [2021-05-24T06:03:34.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:34.169Z] [INFO] Currently running in a labeled security context [2021-05-24T06:03:34.169Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T06:03:34.169Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh8139753349559377324.key [2021-05-24T06:03:34.194Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T06:03:36.959Z] Merging remotes/origin/master commit 03359c08c1b66a89f278bd3fc862a1cc531bead5 into PR head commit e2c9c4c342c32711e5ff04843954e6793da3475b [2021-05-24T06:03:37.072Z] Merge succeeded, producing e2c9c4c342c32711e5ff04843954e6793da3475b [2021-05-24T06:03:39.194Z] Checking out Revision e2c9c4c342c32711e5ff04843954e6793da3475b (PR-105) [2021-05-24T06:03:35.288Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-24T06:03:35.294Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T06:03:36.557Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-24T06:03:36.578Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-24T06:03:36.578Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:36.579Z] [INFO] Currently running in a labeled security context [2021-05-24T06:03:36.579Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T06:03:36.579Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6358681626181476025.key [2021-05-24T06:03:36.590Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/105/head:refs/remotes/origin/PR-105 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-24T06:03:36.971Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T06:03:36.977Z] > git checkout -f e2c9c4c342c32711e5ff04843954e6793da3475b # timeout=10 [2021-05-24T06:03:37.028Z] > git remote # timeout=10 [2021-05-24T06:03:37.034Z] > git config --get remote.origin.url # timeout=10 [2021-05-24T06:03:37.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:37.043Z] [INFO] Currently running in a labeled security context [2021-05-24T06:03:37.043Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T06:03:37.043Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh8462755957474153472.key [2021-05-24T06:03:37.047Z] > git merge 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 [2021-05-24T06:03:37.061Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-24T06:03:34.515Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-24T06:03:36.745Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-24T06:03:36.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-24T06:03:36.834Z] > git --version # timeout=10 [2021-05-24T06:03:36.850Z] > git --version # 'git version 2.17.1' [2021-05-24T06:03:36.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:36.921Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T06:03:39.199Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T06:03:39.205Z] > git checkout -f e2c9c4c342c32711e5ff04843954e6793da3475b # timeout=10 [2021-05-24T06:03:41.615Z] Merging remotes/origin/master commit 03359c08c1b66a89f278bd3fc862a1cc531bead5 into PR head commit e2c9c4c342c32711e5ff04843954e6793da3475b [2021-05-24T06:03:38.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-24T06:03:38.845Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T06:03:39.219Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-24T06:03:39.263Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-24T06:03:39.264Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:39.280Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/105/head:refs/remotes/origin/PR-105 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-24T06:03:41.834Z] Merge succeeded, producing e2c9c4c342c32711e5ff04843954e6793da3475b [2021-05-24T06:03:41.835Z] Checking out Revision e2c9c4c342c32711e5ff04843954e6793da3475b (PR-105) [2021-05-24T06:03:41.638Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T06:03:41.653Z] > git checkout -f e2c9c4c342c32711e5ff04843954e6793da3475b # timeout=10 [2021-05-24T06:03:41.754Z] > git remote # timeout=10 [2021-05-24T06:03:41.772Z] > git config --get remote.origin.url # timeout=10 [2021-05-24T06:03:41.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:41.798Z] > git merge 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 [2021-05-24T06:03:41.822Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-24T06:03:41.846Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T06:03:41.858Z] > git checkout -f e2c9c4c342c32711e5ff04843954e6793da3475b # timeout=10 [2021-05-24T06:03:49.217Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-24T06:03:49.282Z] > git --version # timeout=10 [2021-05-24T06:03:49.287Z] > git --version # 'git version 2.24.4' [2021-05-24T06:03:49.292Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-24T06:03:54.260Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-24T06:03:56.391Z] > git --version # timeout=10 [2021-05-24T06:03:56.402Z] > git --version # 'git version 2.17.1' [2021-05-24T06:03:56.422Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [2021-05-24T06:03:58.895Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2021-05-24T06:04:01.391Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] stage [Pipeline] { (Prep) [Pipeline] sh [Pipeline] script [Pipeline] { [2021-05-24T06:04:04.014Z] + sudo service docker restart [2021-05-24T06:04:04.014Z] + true [2021-05-24T06:04:04.014Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] sh [2021-05-24T06:04:09.112Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-24T06:04:11.656Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-24T06:04:14.024Z] + + sudo servicetrue docker [2021-05-24T06:04:14.024Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T06:04:19.097Z] provisioning config files... [2021-05-24T06:04:19.113Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8101682376277584323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:04:19.503Z] ---> docker-login.sh [2021-05-24T06:04:19.504Z] nexus3.edgexfoundry.org:10001 [2021-05-24T06:04:21.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:21.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:21.774Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:21.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:21.774Z] [2021-05-24T06:04:21.774Z] Login Succeeded [2021-05-24T06:04:21.774Z] nexus3.edgexfoundry.org:10002 [2021-05-24T06:04:21.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:21.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:21.774Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:21.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:21.774Z] [2021-05-24T06:04:21.774Z] Login Succeeded [2021-05-24T06:04:21.774Z] nexus3.edgexfoundry.org:10003 [2021-05-24T06:04:21.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:21.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:21.774Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:21.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:21.774Z] [2021-05-24T06:04:21.774Z] Login Succeeded [2021-05-24T06:04:21.774Z] nexus3.edgexfoundry.org:10004 [2021-05-24T06:04:21.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:21.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:21.774Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:21.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:21.774Z] [2021-05-24T06:04:21.774Z] Login Succeeded [2021-05-24T06:04:21.774Z] docker.io [2021-05-24T06:04:21.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:21.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:21.774Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:21.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:21.774Z] [2021-05-24T06:04:21.774Z] Login Succeeded [2021-05-24T06:04:21.774Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T06:04:21.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-24T06:04:22.114Z] ========================================================= [2021-05-24T06:04:22.114Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-24T06:04:22.114Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:04:22.469Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-24T06:04:22.469Z] Sending build context to Docker daemon 92.16kB [2021-05-24T06:04:22.469Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T06:04:22.469Z] Step 2/10 : FROM ${BASE} [2021-05-24T06:04:24.586Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-24T06:04:24.586Z] 540db60ca938: Pulling fs layer [2021-05-24T06:04:24.586Z] adcc1eea9eea: Pulling fs layer [2021-05-24T06:04:24.586Z] 4c4ab2625f07: Pulling fs layer [2021-05-24T06:04:24.586Z] 0510c868ecb4: Pulling fs layer [2021-05-24T06:04:24.586Z] afea3b2eda06: Pulling fs layer [2021-05-24T06:04:24.586Z] 7809a108b3ef: Pulling fs layer [2021-05-24T06:04:24.586Z] f706445af74f: Pulling fs layer [2021-05-24T06:04:24.586Z] 7809a108b3ef: Waiting [2021-05-24T06:04:24.586Z] 0510c868ecb4: Waiting [2021-05-24T06:04:24.586Z] f706445af74f: Waiting [2021-05-24T06:04:24.586Z] afea3b2eda06: Waiting [2021-05-24T06:04:24.586Z] 4c4ab2625f07: Verifying Checksum [2021-05-24T06:04:24.586Z] 4c4ab2625f07: Download complete [2021-05-24T06:04:24.586Z] adcc1eea9eea: Verifying Checksum [2021-05-24T06:04:24.586Z] adcc1eea9eea: Download complete [2021-05-24T06:04:24.586Z] afea3b2eda06: Verifying Checksum [2021-05-24T06:04:24.586Z] afea3b2eda06: Download complete [2021-05-24T06:04:24.586Z] 7809a108b3ef: Verifying Checksum [2021-05-24T06:04:24.586Z] 7809a108b3ef: Download complete [2021-05-24T06:04:24.586Z] 540db60ca938: Verifying Checksum [2021-05-24T06:04:24.586Z] 540db60ca938: Download complete [2021-05-24T06:04:24.586Z] 540db60ca938: Pull complete [2021-05-24T06:04:24.586Z] adcc1eea9eea: Pull complete [2021-05-24T06:04:24.586Z] 4c4ab2625f07: Pull complete [2021-05-24T06:04:24.586Z] f706445af74f: Verifying Checksum [2021-05-24T06:04:24.586Z] f706445af74f: Download complete [2021-05-24T06:04:25.162Z] 0510c868ecb4: Verifying Checksum [2021-05-24T06:04:25.162Z] 0510c868ecb4: Download complete [2021-05-24T06:04:31.881Z] 0510c868ecb4: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T06:04:32.091Z] provisioning config files... [2021-05-24T06:04:34.207Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2419981676690201144tmp [2021-05-24T06:04:34.227Z] afea3b2eda06: Pull complete [2021-05-24T06:04:34.227Z] 7809a108b3ef: Pull complete [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:04:36.669Z] f706445af74f: Pull complete [2021-05-24T06:04:36.669Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-24T06:04:36.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-24T06:04:36.669Z] ---> b068be0155e3 [2021-05-24T06:04:36.669Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-24T06:04:36.673Z] ---> docker-login.sh [2021-05-24T06:04:36.673Z] nexus3.edgexfoundry.org:10001 [2021-05-24T06:04:36.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:36.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:36.673Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:36.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:36.673Z] [2021-05-24T06:04:36.673Z] Login Succeeded [2021-05-24T06:04:36.673Z] nexus3.edgexfoundry.org:10002 [2021-05-24T06:04:36.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:36.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:36.673Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:36.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:36.673Z] [2021-05-24T06:04:36.673Z] Login Succeeded [2021-05-24T06:04:36.673Z] nexus3.edgexfoundry.org:10003 [2021-05-24T06:04:39.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:39.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:39.075Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:39.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:39.075Z] [2021-05-24T06:04:39.075Z] Login Succeeded [2021-05-24T06:04:39.075Z] nexus3.edgexfoundry.org:10004 [2021-05-24T06:04:39.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:39.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:39.075Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:39.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:39.075Z] [2021-05-24T06:04:39.075Z] Login Succeeded [2021-05-24T06:04:39.075Z] docker.io [2021-05-24T06:04:39.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:39.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:39.075Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:39.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:39.075Z] [2021-05-24T06:04:39.075Z] Login Succeeded [2021-05-24T06:04:39.075Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T06:04:39.233Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-24T06:04:44.045Z] ========================================================= [2021-05-24T06:04:44.045Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-24T06:04:44.045Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:04:46.386Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-24T06:04:46.386Z] Sending build context to Docker daemon 92.16kB [2021-05-24T06:04:46.386Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T06:04:46.386Z] Step 2/10 : FROM ${BASE} [2021-05-24T06:04:46.386Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-24T06:04:46.386Z] 595b0fe564bb: Pulling fs layer [2021-05-24T06:04:46.386Z] 7186ed65a4f7: Pulling fs layer [2021-05-24T06:04:46.386Z] 316046926c0a: Pulling fs layer [2021-05-24T06:04:46.386Z] 4ebd0625c992: Pulling fs layer [2021-05-24T06:04:46.386Z] 207e8628e3a3: Pulling fs layer [2021-05-24T06:04:46.386Z] c791037a9be2: Pulling fs layer [2021-05-24T06:04:46.386Z] ffd874e62e21: Pulling fs layer [2021-05-24T06:04:46.386Z] 207e8628e3a3: Waiting [2021-05-24T06:04:46.386Z] c791037a9be2: Waiting [2021-05-24T06:04:46.386Z] ffd874e62e21: Waiting [2021-05-24T06:04:46.386Z] 4ebd0625c992: Waiting [2021-05-24T06:04:46.386Z] 316046926c0a: Verifying Checksum [2021-05-24T06:04:46.386Z] 316046926c0a: Download complete [2021-05-24T06:04:46.386Z] 7186ed65a4f7: Verifying Checksum [2021-05-24T06:04:46.386Z] 7186ed65a4f7: Download complete [2021-05-24T06:04:46.386Z] 207e8628e3a3: Verifying Checksum [2021-05-24T06:04:46.386Z] 207e8628e3a3: Download complete [2021-05-24T06:04:46.386Z] c791037a9be2: Verifying Checksum [2021-05-24T06:04:46.386Z] c791037a9be2: Download complete [2021-05-24T06:04:46.386Z] 595b0fe564bb: Verifying Checksum [2021-05-24T06:04:46.386Z] 595b0fe564bb: Download complete [2021-05-24T06:04:46.386Z] 595b0fe564bb: Pull complete [2021-05-24T06:04:46.386Z] 7186ed65a4f7: Pull complete [2021-05-24T06:04:47.012Z] 316046926c0a: Pull complete [2021-05-24T06:04:49.647Z] ffd874e62e21: Verifying Checksum [2021-05-24T06:04:49.647Z] ffd874e62e21: Download complete [2021-05-24T06:04:52.183Z] 4ebd0625c992: Verifying Checksum [2021-05-24T06:04:52.183Z] 4ebd0625c992: Download complete [2021-05-24T06:05:04.005Z] ---> Running in 30127e86f4be [2021-05-24T06:05:04.005Z] Removing intermediate container 30127e86f4be [2021-05-24T06:05:04.005Z] ---> 5e0699cd99b6 [2021-05-24T06:05:04.005Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-24T06:05:04.005Z] ---> Running in c5e9c9955698 [2021-05-24T06:05:04.005Z] Removing intermediate container c5e9c9955698 [2021-05-24T06:05:04.005Z] ---> 675f5482a645 [2021-05-24T06:05:04.005Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-24T06:05:04.005Z] ---> Running in b4857e73263c [2021-05-24T06:05:04.005Z] Removing intermediate container b4857e73263c [2021-05-24T06:05:04.005Z] ---> 447915db49b6 [2021-05-24T06:05:04.005Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T06:05:04.005Z] ---> Running in 47a981a938b4 [2021-05-24T06:05:04.022Z] 4ebd0625c992: Pull complete [2021-05-24T06:05:04.022Z] 207e8628e3a3: Pull complete [2021-05-24T06:05:04.022Z] c791037a9be2: Pull complete [2021-05-24T06:05:04.969Z] Removing intermediate container 47a981a938b4 [2021-05-24T06:05:04.969Z] ---> d232a277766c [2021-05-24T06:05:04.969Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-24T06:05:05.232Z] ---> Running in dd2750495edc [2021-05-24T06:05:05.807Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-24T06:05:06.018Z] ffd874e62e21: Pull complete [2021-05-24T06:05:06.018Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-24T06:05:06.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-24T06:05:06.018Z] ---> cfc18b08335c [2021-05-24T06:05:06.018Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-24T06:05:07.197Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-24T06:05:08.017Z] ---> Running in a172b0a66469 [2021-05-24T06:05:10.165Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-24T06:05:10.165Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-24T06:05:10.165Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-24T06:05:10.165Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-24T06:05:10.165Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-24T06:05:10.175Z] Removing intermediate container a172b0a66469 [2021-05-24T06:05:10.175Z] ---> b81904e20424 [2021-05-24T06:05:10.175Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-24T06:05:10.175Z] ---> Running in 6445e77bf063 [2021-05-24T06:05:10.175Z] Removing intermediate container 6445e77bf063 [2021-05-24T06:05:10.175Z] ---> 25b002d48cd6 [2021-05-24T06:05:10.175Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-24T06:05:10.175Z] ---> Running in ced9fcae6fca [2021-05-24T06:05:10.175Z] Removing intermediate container ced9fcae6fca [2021-05-24T06:05:10.175Z] ---> 5d46cde3fc6c [2021-05-24T06:05:10.175Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T06:05:10.175Z] ---> Running in 86409157e28b [2021-05-24T06:05:10.745Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-24T06:05:11.012Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-24T06:05:12.186Z] Removing intermediate container 86409157e28b [2021-05-24T06:05:12.186Z] ---> 2f056fdc78d0 [2021-05-24T06:05:12.186Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-24T06:05:12.186Z] ---> Running in a38bfd7f1c21 [2021-05-24T06:05:13.567Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-24T06:05:13.625Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-24T06:05:13.829Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-24T06:05:14.093Z] Executing busybox-1.32.1-r6.trigger [2021-05-24T06:05:14.093Z] OK: 154 MiB in 49 packages [2021-05-24T06:05:16.348Z] Removing intermediate container dd2750495edc [2021-05-24T06:05:16.348Z] ---> be5930784b58 [2021-05-24T06:05:16.348Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-24T06:05:16.367Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-24T06:05:16.367Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-24T06:05:16.367Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-24T06:05:16.367Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-24T06:05:16.367Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-24T06:05:16.367Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-24T06:05:16.367Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-24T06:05:16.367Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-24T06:05:16.367Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-24T06:05:16.367Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-24T06:05:16.367Z] Executing busybox-1.32.1-r6.trigger [2021-05-24T06:05:16.367Z] OK: 144 MiB in 49 packages [2021-05-24T06:05:16.625Z] ---> Running in b42a6f0ac307 [2021-05-24T06:05:17.197Z] Removing intermediate container b42a6f0ac307 [2021-05-24T06:05:17.197Z] ---> 6c8e4c8c8ea0 [2021-05-24T06:05:17.197Z] Step 9/10 : COPY . . [2021-05-24T06:05:17.781Z] ---> e5c87135f58b [2021-05-24T06:05:17.781Z] Step 10/10 : RUN go mod download [2021-05-24T06:05:17.831Z] Removing intermediate container a38bfd7f1c21 [2021-05-24T06:05:17.831Z] ---> 06c86366ccd2 [2021-05-24T06:05:17.831Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-24T06:05:18.110Z] ---> Running in 595e7e6761a7 [2021-05-24T06:05:20.394Z] ---> Running in 44734ee554f7 [2021-05-24T06:05:20.408Z] Removing intermediate container 595e7e6761a7 [2021-05-24T06:05:20.408Z] ---> 00e584ce42cb [2021-05-24T06:05:20.408Z] Step 9/10 : COPY . . [2021-05-24T06:05:20.408Z] ---> b45629f10308 [2021-05-24T06:05:20.408Z] Step 10/10 : RUN go mod download [2021-05-24T06:05:20.408Z] ---> Running in 22f9bb7d01df [2021-05-24T06:05:46.812Z] Removing intermediate container 22f9bb7d01df [2021-05-24T06:05:46.812Z] ---> ab01a6c17e07 [2021-05-24T06:05:46.812Z] Successfully built ab01a6c17e07 [2021-05-24T06:05:46.812Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:05:47.217Z] + docker inspect -f . ci-base-image-arm64 [2021-05-24T06:05:47.217Z] . [Pipeline] withDockerContainer [2021-05-24T06:05:47.521Z] prd-ubuntu18.04-docker-arm64-4c-16g-16374 does not seem to be running inside a container [2021-05-24T06:05:47.610Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-24T06:05:50.114Z] $ docker top 0941c4d2a941f69d2ab8fa12bcc779f1ef1a22294b91e853679ea89d2c27b281 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T06:05:51.168Z] + go version [2021-05-24T06:05:51.168Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-24T06:05:51.205Z] $ docker stop --time=1 0941c4d2a941f69d2ab8fa12bcc779f1ef1a22294b91e853679ea89d2c27b281 [2021-05-24T06:05:53.819Z] $ docker rm -f 0941c4d2a941f69d2ab8fa12bcc779f1ef1a22294b91e853679ea89d2c27b281 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:05:56.979Z] + docker inspect -f . ci-base-image-arm64 [2021-05-24T06:05:56.979Z] . [Pipeline] withDockerContainer [2021-05-24T06:05:57.280Z] prd-ubuntu18.04-docker-arm64-4c-16g-16374 does not seem to be running inside a container [2021-05-24T06:05:57.381Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-24T06:06:00.657Z] $ docker top 492d321a70999b66498c07a2f734877a3cc0c9c82f6c0ccfc657df2a334c07b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T06:06:01.789Z] + go mod tidy [Pipeline] sh [2021-05-24T06:06:06.660Z] + make test [2021-05-24T06:06:06.660Z] go mod tidy [2021-05-24T06:06:06.660Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-24T06:06:06.660Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-24T06:06:25.190Z] Removing intermediate container 44734ee554f7 [2021-05-24T06:06:25.190Z] ---> d14775ca6817 [2021-05-24T06:06:25.190Z] Successfully built d14775ca6817 [2021-05-24T06:06:25.190Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:06:27.507Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-24T06:06:27.507Z] . [Pipeline] withDockerContainer [2021-05-24T06:06:27.652Z] prd-centos7-docker-4c-2g-16406 does not seem to be running inside a container [2021-05-24T06:06:27.714Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-24T06:06:28.859Z] $ docker top a3b019e21b9fb814726a713accc4d7816ce3921f9bbe392a38a9260dac954118 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T06:06:29.296Z] + go version [2021-05-24T06:06:29.296Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-24T06:06:29.335Z] $ docker stop --time=1 a3b019e21b9fb814726a713accc4d7816ce3921f9bbe392a38a9260dac954118 [2021-05-24T06:06:32.770Z] $ docker rm -f a3b019e21b9fb814726a713accc4d7816ce3921f9bbe392a38a9260dac954118 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:06:33.639Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-24T06:06:33.639Z] . [Pipeline] withDockerContainer [2021-05-24T06:06:35.667Z] prd-centos7-docker-4c-2g-16406 does not seem to be running inside a container [2021-05-24T06:06:35.711Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-24T06:06:36.875Z] $ docker top 3b47070109f09500d970473c4d2f78bff3a392f6b62c3c8957067fd32a54fd43 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T06:06:39.245Z] + go mod tidy [Pipeline] sh [2021-05-24T06:06:39.623Z] + make test [2021-05-24T06:06:39.623Z] go mod tidy [2021-05-24T06:06:39.623Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-24T06:06:42.448Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-24T06:06:57.904Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-24T06:06:59.895Z] ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 54.0% of statements [2021-05-24T06:07:00.175Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-24T06:07:02.590Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-24T06:07:02.861Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 54.0% of statements [2021-05-24T06:07:03.122Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-24T06:07:11.904Z] gofmt -l . [2021-05-24T06:07:11.904Z] [ "`gofmt -l .`" = "" ] [2021-05-24T06:07:11.904Z] ./bin/test-go-mod-tidy.sh [2021-05-24T06:07:11.904Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-24T06:07:12.508Z] $ docker stop --time=1 3b47070109f09500d970473c4d2f78bff3a392f6b62c3c8957067fd32a54fd43 [2021-05-24T06:07:21.318Z] $ docker rm -f 3b47070109f09500d970473c4d2f78bff3a392f6b62c3c8957067fd32a54fd43 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-24T06:07:23.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-24T06:07:24.205Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-24T06:07:29.127Z] gofmt -l . [2021-05-24T06:07:29.127Z] [ "`gofmt -l .`" = "" ] [2021-05-24T06:07:29.127Z] ./bin/test-go-mod-tidy.sh [2021-05-24T06:07:29.127Z] ./bin/test-attribution-txt.sh [Pipeline] sh [2021-05-24T06:07:29.669Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] } [2021-05-24T06:07:31.844Z] $ docker stop --time=1 492d321a70999b66498c07a2f734877a3cc0c9c82f6c0ccfc657df2a334c07b3 [2021-05-24T06:07:32.036Z] + ls -al . [2021-05-24T06:07:32.296Z] total 104 [2021-05-24T06:07:32.296Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 24 06:07 . [2021-05-24T06:07:32.296Z] drwxrwxr-x. 4 jenkins jenkins 28 May 24 06:03 .. [2021-05-24T06:07:32.296Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 24 06:03 Attribution.txt [2021-05-24T06:07:32.296Z] drwxrwxr-x. 2 jenkins jenkins 64 May 24 06:03 bin [2021-05-24T06:07:32.296Z] drwxrwxr-x. 3 jenkins jenkins 32 May 24 06:03 cmd [2021-05-24T06:07:32.296Z] -rw-r--r--. 1 jenkins jenkins 8513 May 24 06:07 coverage.out [2021-05-24T06:07:32.296Z] -rw-rw-r--. 1 jenkins jenkins 1615 May 24 06:03 Dockerfile [2021-05-24T06:07:32.296Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 24 06:03 Dockerfile.build [2021-05-24T06:07:32.296Z] -rw-rw-r--. 1 jenkins jenkins 151 May 24 06:03 .dockerignore [2021-05-24T06:07:32.296Z] drwxrwxr-x. 2 jenkins jenkins 76 May 24 06:03 driver [2021-05-24T06:07:32.296Z] drwxrwxr-x. 8 jenkins jenkins 179 May 24 06:03 .git [2021-05-24T06:07:32.296Z] drwxrwxr-x. 2 jenkins jenkins 103 May 24 06:03 .github [2021-05-24T06:07:32.296Z] -rw-rw-r--. 1 jenkins jenkins 336 May 24 06:03 .gitignore [2021-05-24T06:07:32.296Z] -rw-r--r--. 1 jenkins jenkins 285 May 24 06:07 go.mod [2021-05-24T06:07:32.296Z] -rw-r--r--. 1 jenkins jenkins 21177 May 24 06:06 go.sum [2021-05-24T06:07:32.296Z] -rw-rw-r--. 1 jenkins jenkins 680 May 24 06:03 Jenkinsfile [2021-05-24T06:07:32.296Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 24 06:03 LICENSE [2021-05-24T06:07:32.296Z] -rw-rw-r--. 1 jenkins jenkins 996 May 24 06:03 Makefile [2021-05-24T06:07:32.296Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 24 06:03 README.md [2021-05-24T06:07:32.296Z] drwxrwxr-x. 4 jenkins jenkins 71 May 24 06:03 snap [2021-05-24T06:07:32.296Z] -rw-rw-r--. 1 jenkins jenkins 5 May 24 05:53 VERSION [2021-05-24T06:07:32.296Z] -rw-rw-r--. 1 jenkins jenkins 713 May 24 06:03 version.go [2021-05-24T06:07:35.314Z] $ docker rm -f 492d321a70999b66498c07a2f734877a3cc0c9c82f6c0ccfc657df2a334c07b3 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:07:36.349Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-24T06:07:36.397Z] Warning: overwriting stash ‘coverage-report’ [2021-05-24T06:07:36.438Z] + 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=e2c9c4c342c32711e5ff04843954e6793da3475b --label arch=amd64 --label version=0.0.0 . [2021-05-24T06:07:36.438Z] Sending build context to Docker daemon 101.9kB [2021-05-24T06:07:36.438Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T06:07:36.438Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-24T06:07:36.438Z] ---> d14775ca6817 [2021-05-24T06:07:36.438Z] Step 3/25 : ARG MAKE='make build' [2021-05-24T06:07:36.995Z] Stashed 1 file(s) [Pipeline] } [2021-05-24T06:07:37.012Z] ---> Running in 8902f6fe31b0 [2021-05-24T06:07:39.482Z] Removing intermediate container 8902f6fe31b0 [2021-05-24T06:07:39.482Z] ---> f2f7996bb1a0 [2021-05-24T06:07:39.482Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-24T06:07:39.482Z] ---> Running in aa2344467e14 [2021-05-24T06:07:39.482Z] Removing intermediate container aa2344467e14 [2021-05-24T06:07:39.482Z] ---> 9be517971d28 [2021-05-24T06:07:39.482Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-24T06:07:39.482Z] ---> Running in 6e9e90026a1b [2021-05-24T06:07:39.482Z] Removing intermediate container 6e9e90026a1b [2021-05-24T06:07:39.482Z] ---> ae51ec6c32f4 [2021-05-24T06:07:39.482Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T06:07:39.482Z] ---> Running in aa3289d3a003 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-24T06:07:40.217Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-24T06:07:40.647Z] + ls -al . [2021-05-24T06:07:40.647Z] total 132 [2021-05-24T06:07:40.647Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 06:07 . [2021-05-24T06:07:40.647Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 06:03 .. [2021-05-24T06:07:40.647Z] -rw-rw-r-- 1 jenkins jenkins 151 May 24 06:03 .dockerignore [2021-05-24T06:07:40.647Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 06:03 .git [2021-05-24T06:07:40.647Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 06:03 .github [2021-05-24T06:07:40.647Z] -rw-rw-r-- 1 jenkins jenkins 336 May 24 06:03 .gitignore [2021-05-24T06:07:40.647Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 24 06:03 Attribution.txt [2021-05-24T06:07:40.647Z] -rw-rw-r-- 1 jenkins jenkins 1615 May 24 06:03 Dockerfile [2021-05-24T06:07:40.647Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 24 06:03 Dockerfile.build [2021-05-24T06:07:40.647Z] -rw-rw-r-- 1 jenkins jenkins 680 May 24 06:03 Jenkinsfile [2021-05-24T06:07:40.647Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 06:03 LICENSE [2021-05-24T06:07:40.647Z] -rw-rw-r-- 1 jenkins jenkins 996 May 24 06:03 Makefile [2021-05-24T06:07:40.647Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 24 06:03 README.md [2021-05-24T06:07:40.647Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 05:53 VERSION [2021-05-24T06:07:40.647Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 06:03 bin [2021-05-24T06:07:40.647Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 06:03 cmd [2021-05-24T06:07:40.647Z] -rw-r--r-- 1 jenkins jenkins 8513 May 24 06:06 coverage.out [2021-05-24T06:07:40.647Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 06:03 driver [2021-05-24T06:07:40.647Z] -rw-r--r-- 1 jenkins jenkins 285 May 24 06:07 go.mod [2021-05-24T06:07:40.647Z] -rw-r--r-- 1 jenkins jenkins 21177 May 24 06:06 go.sum [2021-05-24T06:07:40.647Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 06:03 snap [2021-05-24T06:07:40.647Z] -rw-rw-r-- 1 jenkins jenkins 713 May 24 06:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:07:40.879Z] Removing intermediate container aa3289d3a003 [2021-05-24T06:07:40.879Z] ---> c97ead994bf3 [2021-05-24T06:07:40.879Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-24T06:07:43.391Z] ---> Running in c4fffdd9c39b [2021-05-24T06:07:43.391Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-24T06:07:43.391Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-24T06:07:43.423Z] + 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=e2c9c4c342c32711e5ff04843954e6793da3475b --label arch=arm64 --label version=0.0.0 . [2021-05-24T06:07:43.423Z] Sending build context to Docker daemon 101.9kB [2021-05-24T06:07:43.423Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T06:07:43.423Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-24T06:07:43.423Z] ---> ab01a6c17e07 [2021-05-24T06:07:43.423Z] Step 3/25 : ARG MAKE='make build' [2021-05-24T06:07:43.423Z] ---> Running in ca896afd7820 [2021-05-24T06:07:43.423Z] Removing intermediate container ca896afd7820 [2021-05-24T06:07:43.423Z] ---> 577664268bdf [2021-05-24T06:07:43.423Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-24T06:07:43.423Z] ---> Running in c73b55556de2 [2021-05-24T06:07:43.423Z] Removing intermediate container c73b55556de2 [2021-05-24T06:07:43.423Z] ---> 63e633596910 [2021-05-24T06:07:43.423Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-24T06:07:43.423Z] ---> Running in d83ac66ba67a [2021-05-24T06:07:43.423Z] Removing intermediate container d83ac66ba67a [2021-05-24T06:07:43.423Z] ---> 5d900af48c5e [2021-05-24T06:07:43.423Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T06:07:43.717Z] ---> Running in da55683bace9 [2021-05-24T06:07:44.350Z] OK: 154 MiB in 49 packages [2021-05-24T06:07:48.022Z] Removing intermediate container da55683bace9 [2021-05-24T06:07:48.022Z] ---> 4cd07b184ba6 [2021-05-24T06:07:48.022Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-24T06:07:48.022Z] ---> Running in b54cef4b02a4 [2021-05-24T06:07:48.022Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-24T06:07:48.022Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-24T06:07:48.032Z] Removing intermediate container c4fffdd9c39b [2021-05-24T06:07:48.032Z] ---> c8cd48bddd9c [2021-05-24T06:07:48.032Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-24T06:07:48.032Z] ---> Running in 992a1801335a [2021-05-24T06:07:48.032Z] Removing intermediate container 992a1801335a [2021-05-24T06:07:48.032Z] ---> 1e46467fb90e [2021-05-24T06:07:48.032Z] Step 9/25 : COPY . . [2021-05-24T06:07:48.032Z] ---> 102b2b5f6cf5 [2021-05-24T06:07:48.032Z] Step 10/25 : RUN go mod tidy [2021-05-24T06:07:48.032Z] ---> Running in 3dea03e9fe9d [2021-05-24T06:07:50.632Z] Removing intermediate container 3dea03e9fe9d [2021-05-24T06:07:50.632Z] ---> 60fcbd4c0dfb [2021-05-24T06:07:50.632Z] Step 11/25 : RUN make update [2021-05-24T06:07:50.632Z] ---> Running in 558cd8364edb [2021-05-24T06:07:50.632Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-24T06:07:50.643Z] OK: 144 MiB in 49 packages [2021-05-24T06:07:50.644Z] Removing intermediate container b54cef4b02a4 [2021-05-24T06:07:50.644Z] ---> abdf950640c7 [2021-05-24T06:07:50.644Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-24T06:07:50.644Z] ---> Running in eb60e5c8842f [2021-05-24T06:07:50.941Z] Removing intermediate container eb60e5c8842f [2021-05-24T06:07:50.941Z] ---> 241017dfb748 [2021-05-24T06:07:50.941Z] Step 9/25 : COPY . . [2021-05-24T06:07:53.607Z] Removing intermediate container 558cd8364edb [2021-05-24T06:07:53.607Z] ---> 851d78cf6b28 [2021-05-24T06:07:53.607Z] Step 12/25 : RUN $MAKE [2021-05-24T06:07:53.607Z] ---> Running in caae03886cd6 [2021-05-24T06:07:53.607Z] go mod tidy [2021-05-24T06:07:53.607Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-05-24T06:07:53.621Z] ---> 934e3e12aced [2021-05-24T06:07:53.621Z] Step 10/25 : RUN go mod tidy [2021-05-24T06:07:53.621Z] ---> Running in a2560ded5b03 [2021-05-24T06:07:56.139Z] Removing intermediate container a2560ded5b03 [2021-05-24T06:07:56.139Z] ---> c5ff7cd156f0 [2021-05-24T06:07:56.139Z] Step 11/25 : RUN make update [2021-05-24T06:07:56.139Z] ---> Running in 4a7e96f48997 [2021-05-24T06:07:56.139Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-24T06:07:58.530Z] Removing intermediate container 4a7e96f48997 [2021-05-24T06:07:58.530Z] ---> 8bee7c3f5bcd [2021-05-24T06:07:58.530Z] Step 12/25 : RUN $MAKE [2021-05-24T06:07:58.530Z] ---> Running in 5605fba00a32 [2021-05-24T06:07:58.530Z] go mod tidy [2021-05-24T06:08:01.091Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-05-24T06:08:22.101Z] Removing intermediate container caae03886cd6 [2021-05-24T06:08:22.101Z] ---> 7e24d1957114 [2021-05-24T06:08:22.101Z] Step 13/25 : FROM alpine:3.12 [2021-05-24T06:08:22.101Z] 3.12: Pulling from library/alpine [2021-05-24T06:08:22.101Z] 339de151aab4: Pulling fs layer [2021-05-24T06:08:22.101Z] 339de151aab4: Verifying Checksum [2021-05-24T06:08:22.101Z] 339de151aab4: Download complete [2021-05-24T06:08:22.101Z] 339de151aab4: Pull complete [2021-05-24T06:08:22.101Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-24T06:08:22.101Z] Status: Downloaded newer image for alpine:3.12 [2021-05-24T06:08:22.101Z] ---> 13621d1b12d4 [2021-05-24T06:08:22.101Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-24T06:08:22.101Z] ---> Running in 7e582f70184b [2021-05-24T06:08:22.101Z] Removing intermediate container 7e582f70184b [2021-05-24T06:08:22.101Z] ---> 2cf32d4a1722 [2021-05-24T06:08:22.101Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-24T06:08:22.101Z] ---> Running in f886d018ce57 [2021-05-24T06:08:22.364Z] Removing intermediate container f886d018ce57 [2021-05-24T06:08:22.364Z] ---> e6f11ac8be80 [2021-05-24T06:08:22.364Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-24T06:08:22.935Z] ---> Running in 563d8bdff56d [2021-05-24T06:08:23.508Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-24T06:08:23.508Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-24T06:08:23.769Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-24T06:08:23.769Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-24T06:08:23.769Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-24T06:08:23.769Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-24T06:08:23.769Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-24T06:08:23.769Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-24T06:08:23.769Z] Executing busybox-1.31.1-r20.trigger [2021-05-24T06:08:23.769Z] OK: 8 MiB in 20 packages [2021-05-24T06:08:25.163Z] Removing intermediate container 563d8bdff56d [2021-05-24T06:08:25.163Z] ---> a3d06d257c1e [2021-05-24T06:08:25.163Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-24T06:08:27.714Z] ---> e3425c8e978f [2021-05-24T06:08:27.714Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-24T06:08:28.308Z] ---> bdeaf2fee3ac [2021-05-24T06:08:28.308Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-24T06:08:30.988Z] ---> e5e4416ae31d [2021-05-24T06:08:30.988Z] Step 20/25 : EXPOSE 59986 [2021-05-24T06:08:30.988Z] ---> Running in b0a5fc2a8153 [2021-05-24T06:08:30.988Z] Removing intermediate container b0a5fc2a8153 [2021-05-24T06:08:30.988Z] ---> 37df5bc810fb [2021-05-24T06:08:30.988Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-24T06:08:30.988Z] ---> Running in ad262797ce28 [2021-05-24T06:08:30.988Z] Removing intermediate container ad262797ce28 [2021-05-24T06:08:30.988Z] ---> 52528a971b96 [2021-05-24T06:08:30.988Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-24T06:08:30.988Z] ---> Running in 3723722b7ffc [2021-05-24T06:08:30.988Z] Removing intermediate container 3723722b7ffc [2021-05-24T06:08:30.988Z] ---> b2021f42bfec [2021-05-24T06:08:30.988Z] Step 23/25 : LABEL arch=amd64 [2021-05-24T06:08:31.250Z] ---> Running in 95bc9b824852 [2021-05-24T06:08:33.821Z] Removing intermediate container 95bc9b824852 [2021-05-24T06:08:33.821Z] ---> 8e9605a8a07b [2021-05-24T06:08:33.821Z] Step 24/25 : LABEL git_sha=e2c9c4c342c32711e5ff04843954e6793da3475b [2021-05-24T06:08:34.082Z] ---> Running in f7f80098104e [2021-05-24T06:08:34.346Z] Removing intermediate container f7f80098104e [2021-05-24T06:08:34.346Z] ---> 0e1eca0197b0 [2021-05-24T06:08:34.346Z] Step 25/25 : LABEL version=0.0.0 [2021-05-24T06:08:34.929Z] ---> Running in 6929d6fee1af [2021-05-24T06:08:35.192Z] Removing intermediate container 6929d6fee1af [2021-05-24T06:08:35.192Z] ---> 222d54129bfd [2021-05-24T06:08:35.192Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-24T06:08:35.192Z] Successfully built 222d54129bfd [2021-05-24T06:08:35.192Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:08:38.652Z] ---> job-cost.sh [2021-05-24T06:08:38.652Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vRqz [2021-05-24T06:08:42.585Z] Removing intermediate container 5605fba00a32 [2021-05-24T06:08:42.585Z] ---> fea22e8d902d [2021-05-24T06:08:42.585Z] Step 13/25 : FROM alpine:3.12 [2021-05-24T06:08:42.585Z] 3.12: Pulling from library/alpine [2021-05-24T06:08:42.585Z] d2f70382dc9a: Pulling fs layer [2021-05-24T06:08:42.585Z] d2f70382dc9a: Verifying Checksum [2021-05-24T06:08:42.585Z] d2f70382dc9a: Download complete [2021-05-24T06:08:42.585Z] d2f70382dc9a: Pull complete [2021-05-24T06:08:42.585Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-24T06:08:42.585Z] Status: Downloaded newer image for alpine:3.12 [2021-05-24T06:08:42.585Z] ---> 9852663dfa18 [2021-05-24T06:08:42.585Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-24T06:08:42.585Z] ---> Running in 8f868e64709f [2021-05-24T06:08:42.585Z] Removing intermediate container 8f868e64709f [2021-05-24T06:08:42.585Z] ---> d405123a72be [2021-05-24T06:08:42.585Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-24T06:08:42.585Z] ---> Running in 1083417e1198 [2021-05-24T06:08:42.585Z] Removing intermediate container 1083417e1198 [2021-05-24T06:08:42.585Z] ---> 8ae02d8c8d3c [2021-05-24T06:08:42.585Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-24T06:08:42.585Z] ---> Running in 201b293fa52a [2021-05-24T06:08:42.585Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-24T06:08:42.585Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-24T06:08:42.585Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-24T06:08:42.585Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-24T06:08:42.585Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-24T06:08:42.585Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-24T06:08:42.585Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-24T06:08:42.586Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-24T06:08:42.586Z] Executing busybox-1.31.1-r20.trigger [2021-05-24T06:08:42.586Z] OK: 8 MiB in 20 packages [2021-05-24T06:08:42.586Z] Removing intermediate container 201b293fa52a [2021-05-24T06:08:42.586Z] ---> 249537747815 [2021-05-24T06:08:42.586Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-24T06:08:45.365Z] ---> 726de164ac85 [2021-05-24T06:08:45.365Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-24T06:08:45.365Z] ---> 2a3a6fcef346 [2021-05-24T06:08:45.365Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-24T06:08:45.365Z] ---> a145b04a6789 [2021-05-24T06:08:45.365Z] Step 20/25 : EXPOSE 59986 [2021-05-24T06:08:45.644Z] ---> Running in 5986ef688b83 [2021-05-24T06:08:46.242Z] Removing intermediate container 5986ef688b83 [2021-05-24T06:08:46.242Z] ---> 052a98273135 [2021-05-24T06:08:46.242Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-24T06:08:46.242Z] ---> Running in 3af8ea6d8694 [2021-05-24T06:08:46.837Z] Removing intermediate container 3af8ea6d8694 [2021-05-24T06:08:46.837Z] ---> 11f5f52cd7e0 [2021-05-24T06:08:46.837Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-24T06:08:46.837Z] ---> Running in 1104d31e390d [2021-05-24T06:08:47.433Z] Removing intermediate container 1104d31e390d [2021-05-24T06:08:47.433Z] ---> 72a21a93b607 [2021-05-24T06:08:47.433Z] Step 23/25 : LABEL arch=arm64 [2021-05-24T06:08:47.433Z] ---> Running in 12f60b2c673e [2021-05-24T06:08:49.610Z] Removing intermediate container 12f60b2c673e [2021-05-24T06:08:49.610Z] ---> b5f7735e4bde [2021-05-24T06:08:49.610Z] Step 24/25 : LABEL git_sha=e2c9c4c342c32711e5ff04843954e6793da3475b [2021-05-24T06:08:49.610Z] ---> Running in d6d0f25e1d61 [2021-05-24T06:08:49.610Z] Removing intermediate container d6d0f25e1d61 [2021-05-24T06:08:49.610Z] ---> d996d7217f83 [2021-05-24T06:08:49.610Z] Step 25/25 : LABEL version=0.0.0 [2021-05-24T06:08:49.610Z] ---> Running in 1f61c8a0b957 [2021-05-24T06:08:49.610Z] Removing intermediate container 1f61c8a0b957 [2021-05-24T06:08:49.610Z] ---> 767536b56d3a [2021-05-24T06:08:49.610Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-24T06:08:49.610Z] Successfully built 767536b56d3a [2021-05-24T06:08:49.610Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:08:50.475Z] ---> job-cost.sh [2021-05-24T06:08:50.476Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Rjh3 [2021-05-24T06:08:59.397Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-24T06:09:29.581Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-24T06:09:46.120Z] lf-activate-venv(): INFO: Adding /tmp/venv-vRqz/bin to PATH [2021-05-24T06:09:46.120Z] INFO: No Stack... [2021-05-24T06:09:46.120Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-24T06:09:46.120Z] INFO: Archiving Costs [Pipeline] sh [2021-05-24T06:09:46.511Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-24T06:09:46.511Z] + cut -d, -f6 [Pipeline] lock [2021-05-24T06:09:46.577Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-105-1-stack-cost] [2021-05-24T06:09:46.585Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-105-1-stack-cost] did not exist. Created. [2021-05-24T06:09:46.585Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-105-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-24T06:09:47.022Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-24T06:09:47.112Z] Stashed 1 file(s) [Pipeline] } [2021-05-24T06:09:49.749Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-105-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-24T06:11:09.807Z] lf-activate-venv(): INFO: Adding /tmp/venv-Rjh3/bin to PATH [2021-05-24T06:11:09.807Z] INFO: No Stack... [2021-05-24T06:11:09.807Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-24T06:11:09.807Z] INFO: Archiving Costs [Pipeline] sh [2021-05-24T06:11:10.171Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-24T06:11:10.171Z] + cut -d, -f6 [Pipeline] lock [2021-05-24T06:11:12.611Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-105-1-stack-cost] [2021-05-24T06:11:12.617Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-105-1-stack-cost] did not exist. Created. [2021-05-24T06:11:12.617Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-105-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-24T06:11:13.059Z] /w/workspace/device-rest-go/1@tmp/durable-483ccbb3/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-483ccbb3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-24T06:11:13.427Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-24T06:11:13.470Z] Warning: overwriting stash ‘stack-cost’ [2021-05-24T06:11:13.619Z] Stashed 1 file(s) [Pipeline] } [2021-05-24T06:11:13.656Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-105-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-24T06:11:16.735Z] provisioning config files... [2021-05-24T06:11:16.744Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-105@tmp/config1521103199778061597tmp [Pipeline] { [Pipeline] sh [2021-05-24T06:11:17.102Z] + set +x [2021-05-24T06:11:17.102Z] + bash -s -- [2021-05-24T06:11:17.102Z] + curl -s https://codecov.io/bash [2021-05-24T06:11:17.102Z] [2021-05-24T06:11:17.102Z] _____ _ [2021-05-24T06:11:17.102Z] / ____| | | [2021-05-24T06:11:17.102Z] | | ___ __| | ___ ___ _____ __ [2021-05-24T06:11:17.102Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-24T06:11:17.102Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-24T06:11:17.102Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-24T06:11:17.102Z] Bash-1.0.2 [2021-05-24T06:11:17.102Z] [2021-05-24T06:11:17.102Z] [2021-05-24T06:11:17.102Z] ==> git version 2.24.4 found [2021-05-24T06:11:17.102Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-24T06:11:17.102Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-24T06:11:17.102Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-24T06:11:17.102Z] ==> Jenkins CI detected. [2021-05-24T06:11:17.102Z] project root: . [2021-05-24T06:11:17.102Z] --> token set from env [2021-05-24T06:11:17.102Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-24T06:11:17.364Z] ==> Running gcov in . (disable via -X gcov) [2021-05-24T06:11:17.364Z] ==> Python coveragepy not found [2021-05-24T06:11:17.364Z] ==> Searching for coverage reports in: [2021-05-24T06:11:17.364Z] + . [2021-05-24T06:11:17.364Z] -> Found 1 reports [2021-05-24T06:11:17.364Z] ==> Detecting git/mercurial file structure [2021-05-24T06:11:17.364Z] ==> Reading reports [2021-05-24T06:11:17.364Z] + ./coverage.out bytes=8513 [2021-05-24T06:11:17.364Z] ==> Appending adjustments [2021-05-24T06:11:17.364Z] https://docs.codecov.io/docs/fixing-reports [2021-05-24T06:11:17.364Z] + Found adjustments [2021-05-24T06:11:17.364Z] ==> Gzipping contents [2021-05-24T06:11:17.364Z] 4.0K /tmp/codecov.aaBoeI.gz [2021-05-24T06:11:17.364Z] ==> Uploading reports [2021-05-24T06:11:17.364Z] url: https://codecov.io [2021-05-24T06:11:17.364Z] query: branch=PR-105&commit=e2c9c4c342c32711e5ff04843954e6793da3475b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-105%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=105&job=&cmd_args= [2021-05-24T06:11:17.364Z] -> Pinging Codecov [2021-05-24T06:11:17.364Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-105&commit=e2c9c4c342c32711e5ff04843954e6793da3475b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-105%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=105&job=&cmd_args= [2021-05-24T06:11:19.485Z] -> Uploading to [2021-05-24T06:11:19.485Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-24/4E5D53B4F1F92C436F7061BF334D961C/e2c9c4c342c32711e5ff04843954e6793da3475b/0790134f-e2c2-459f-8e89-41150e687611.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210524T061117Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=80c2b1b8b778f27e01a537a2708459b9fd11fd2fdb51d83a09052a11a4a75c87 [2021-05-24T06:11:19.485Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-24T06:11:19.485Z] Dload Upload Total Spent Left Speed [2021-05-24T06:11:19.485Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 4240 --:--:-- --:--:-- --:--:-- 4250 [2021-05-24T06:11:19.485Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/e2c9c4c342c32711e5ff04843954e6793da3475b [Pipeline] } [2021-05-24T06:11:19.530Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:11:24.036Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:11:26.601Z] ---> package-listing.sh [2021-05-24T06:11:26.601Z] ++ facter osfamily [2021-05-24T06:11:26.601Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-24T06:11:26.867Z] + OS_FAMILY=redhat [2021-05-24T06:11:26.867Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-105 [2021-05-24T06:11:26.867Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-24T06:11:26.867Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-24T06:11:26.867Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-24T06:11:26.867Z] + PACKAGES=/tmp/packages_start.txt [2021-05-24T06:11:26.867Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-105 ']' [2021-05-24T06:11:26.867Z] + PACKAGES=/tmp/packages_end.txt [2021-05-24T06:11:26.867Z] + case "${OS_FAMILY}" in [2021-05-24T06:11:26.867Z] + rpm -qa [2021-05-24T06:11:26.867Z] + sort [2021-05-24T06:11:29.288Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-24T06:11:29.288Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-24T06:11:29.288Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-24T06:11:29.288Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-105 ']' [2021-05-24T06:11:29.288Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-105/archives/ [2021-05-24T06:11:29.288Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-105/archives/ [Pipeline] echo [2021-05-24T06:11:29.391Z] 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-105/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-24T06:11:29.709Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:11:32.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T06:11:32.179Z] [2021-05-24T06:11:32.179Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:11:34.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T06:11:34.703Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-24T06:11:34.703Z] df20fa9351a1: Pulling fs layer [2021-05-24T06:11:34.703Z] 36b3adc4ff6f: Pulling fs layer [2021-05-24T06:11:34.703Z] 8ad3a11d3b57: Pulling fs layer [2021-05-24T06:11:34.703Z] 46f8f816bc3b: Pulling fs layer [2021-05-24T06:11:34.703Z] 93b61091891f: Pulling fs layer [2021-05-24T06:11:34.703Z] 93b9cdb0e59b: Pulling fs layer [2021-05-24T06:11:34.703Z] 5e14af77c1be: Pulling fs layer [2021-05-24T06:11:34.703Z] 01666e4c0597: Pulling fs layer [2021-05-24T06:11:34.703Z] aa168da1d23b: Pulling fs layer [2021-05-24T06:11:34.703Z] 93b61091891f: Waiting [2021-05-24T06:11:34.703Z] 93b9cdb0e59b: Waiting [2021-05-24T06:11:34.703Z] 5e14af77c1be: Waiting [2021-05-24T06:11:34.703Z] 01666e4c0597: Waiting [2021-05-24T06:11:34.703Z] aa168da1d23b: Waiting [2021-05-24T06:11:34.703Z] 46f8f816bc3b: Waiting [2021-05-24T06:11:34.703Z] 36b3adc4ff6f: Verifying Checksum [2021-05-24T06:11:34.703Z] 36b3adc4ff6f: Download complete [2021-05-24T06:11:34.703Z] 46f8f816bc3b: Verifying Checksum [2021-05-24T06:11:34.703Z] 46f8f816bc3b: Download complete [2021-05-24T06:11:34.703Z] df20fa9351a1: Verifying Checksum [2021-05-24T06:11:34.703Z] df20fa9351a1: Download complete [2021-05-24T06:11:34.703Z] 93b9cdb0e59b: Verifying Checksum [2021-05-24T06:11:34.703Z] 93b9cdb0e59b: Download complete [2021-05-24T06:11:34.703Z] 5e14af77c1be: Verifying Checksum [2021-05-24T06:11:34.703Z] 5e14af77c1be: Download complete [2021-05-24T06:11:34.703Z] 01666e4c0597: Verifying Checksum [2021-05-24T06:11:34.703Z] 01666e4c0597: Download complete [2021-05-24T06:11:34.703Z] 93b61091891f: Verifying Checksum [2021-05-24T06:11:34.703Z] 93b61091891f: Download complete [2021-05-24T06:11:34.703Z] 8ad3a11d3b57: Verifying Checksum [2021-05-24T06:11:34.703Z] 8ad3a11d3b57: Download complete [2021-05-24T06:11:34.703Z] df20fa9351a1: Pull complete [2021-05-24T06:11:34.703Z] 36b3adc4ff6f: Pull complete [2021-05-24T06:11:34.703Z] 8ad3a11d3b57: Pull complete [2021-05-24T06:11:34.703Z] 46f8f816bc3b: Pull complete [2021-05-24T06:11:34.703Z] 93b61091891f: Pull complete [2021-05-24T06:11:34.703Z] 93b9cdb0e59b: Pull complete [2021-05-24T06:11:34.703Z] 5e14af77c1be: Pull complete [2021-05-24T06:11:34.703Z] 01666e4c0597: Pull complete [2021-05-24T06:11:34.703Z] aa168da1d23b: Verifying Checksum [2021-05-24T06:11:34.703Z] aa168da1d23b: Download complete [2021-05-24T06:11:40.777Z] aa168da1d23b: Pull complete [2021-05-24T06:11:40.777Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-24T06:11:40.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T06:11:40.777Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-24T06:11:40.913Z] prd-centos7-docker-4c-2g-15752 does not seem to be running inside a container [2021-05-24T06:11:40.951Z] $ 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-105/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-105 -v /w/workspace/gexfoundry_device-rest-go_PR-105:/w/workspace/gexfoundry_device-rest-go_PR-105:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-105@tmp:/w/workspace/gexfoundry_device-rest-go_PR-105@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:10003/edgex-lftools-log-publisher:alpine cat [2021-05-24T06:11:43.721Z] $ docker top 3dd69bb4ecd1cef2708755e3fcc0e440df3be2961426e21b9255e9cd0777b9df -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T06:11:44.213Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-24T06:11:46.687Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-24T06:11:47.051Z] + ls /var/log/sa-host [2021-05-24T06:11:47.051Z] + sadf -c /var/log/sa-host/sa05 [2021-05-24T06:11:47.051Z] file_magic: OK [2021-05-24T06:11:47.051Z] HZ: Using current value: 100 [2021-05-24T06:11:47.051Z] file_header: OK [2021-05-24T06:11:47.051Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-24T06:11:47.051Z] Statistics: [2021-05-24T06:11:47.051Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-24T06:11:47.051Z] File successfully converted to sysstat format version 12.2.1 [2021-05-24T06:11:47.051Z] + sadf -c /var/log/sa-host/sa24 [2021-05-24T06:11:47.051Z] file_magic: OK [2021-05-24T06:11:47.051Z] HZ: Using current value: 100 [2021-05-24T06:11:47.051Z] file_header: OK [2021-05-24T06:11:47.051Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-24T06:11:47.051Z] Statistics: [2021-05-24T06:11:47.051Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-24T06:11:47.051Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T06:11:49.431Z] provisioning config files... [2021-05-24T06:11:49.462Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-105@tmp/config777602040138623502tmp [Pipeline] { [Pipeline] echo [2021-05-24T06:11:49.591Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:11:52.121Z] ---> create-netrc.sh [Pipeline] } [2021-05-24T06:11:52.172Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-24T06:11:52.282Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:11:52.692Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-24T06:11:52.734Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:11:55.186Z] ---> sudo-logs.sh [2021-05-24T06:11:55.186Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-24T06:11:57.387Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:11:59.820Z] ---> job-cost.sh [2021-05-24T06:11:59.820Z] lf-activate-venv: SKIPPING [2021-05-24T06:11:59.820Z] DEBUG: total: 0.18000000715255737 [2021-05-24T06:11:59.820Z] INFO: Retrieving Stack Cost... [2021-05-24T06:11:59.820Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-24T06:11:59.820Z] INFO: Archiving Costs [Pipeline] echo [2021-05-24T06:11:59.882Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh