Pull request #104 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f02d3dc7e1b428c0c81d050d3d9c108c1c930965+03359c08c1b66a89f278bd3fc862a1cc531bead5 (143a118fec86006ec3b1adb01f5fe60d95b699a0) 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-ssh8705060439557915797.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-ssh3921413755045836684.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-104/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-104/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7935150160021078519.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-104/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6769562879303979938.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-ssh463703136512443678.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-104/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-104/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh735755824565075551.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-15741’ 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-15748 in /w/workspace/gexfoundry_device-rest-go_PR-104 [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-104 # 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-104@tmp/jenkins-gitclient-ssh1133219776823121171.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-104@tmp/jenkins-gitclient-ssh3020718136383203263.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 03359c08c1b66a89f278bd3fc862a1cc531bead5 into PR head commit f02d3dc7e1b428c0c81d050d3d9c108c1c930965 Merge succeeded, producing f02d3dc7e1b428c0c81d050d3d9c108c1c930965 Checking out Revision f02d3dc7e1b428c0c81d050d3d9c108c1c930965 (PR-104) > git config core.sparsecheckout # timeout=10 > git checkout -f f02d3dc7e1b428c0c81d050d3d9c108c1c930965 # 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-104@tmp/jenkins-gitclient-ssh5056148396806199645.key > git merge 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f02d3dc7e1b428c0c81d050d3d9c108c1c930965 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/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:23.349Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-24T05:51:25.823Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-24T05:51:27.999Z] ========================================================= [2021-05-24T05:51:27.999Z] EdgeX Global Pipelines Version Info [2021-05-24T05:51:27.999Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-24T05:51:33.165Z] ------------------- [2021-05-24T05:51:33.165Z] stable info: [2021-05-24T05:51:33.165Z] ------------------- [2021-05-24T05:51:33.165Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-24T05:51:33.165Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-24T05:51:33.165Z] Message: update stable to v1.0.192 [2021-05-24T05:51:33.165Z] ------------------- [2021-05-24T05:51:33.165Z] experimental info: [2021-05-24T05:51:33.165Z] ------------------- [2021-05-24T05:51:33.165Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-24T05:51:33.165Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-24T05:51:33.165Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-24T05:51:33.534Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-24T05:51:33.620Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-24T05:51:35.669Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-24T05:51:35.762Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-24T05:51:35.833Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-24T05:51:35.903Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-24T05:51:36.016Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-24T05:51:36.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-24T05:51:36.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-24T05:51:38.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-24T05:51:38.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-24T05:51:38.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-24T05:51:38.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-24T05:51:38.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-24T05:51:40.886Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-24T05:51:40.960Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-24T05:51:41.055Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-24T05:51:41.127Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-24T05:51:41.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-24T05:51:41.297Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-24T05:51:41.365Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-24T05:51:43.383Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-24T05:51:43.467Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-24T05:51:43.539Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-24T05:51:43.633Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-24T05:51:43.736Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-24T05:51:45.877Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-104 [Pipeline] echo [2021-05-24T05:51:46.012Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-104 [Pipeline] echo [2021-05-24T05:51:46.084Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-104 [Pipeline] echo [2021-05-24T05:51:46.145Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f02d3dc7e1b428c0c81d050d3d9c108c1c930965 [Pipeline] echo [2021-05-24T05:51:46.218Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f02d3dc [Pipeline] echo [2021-05-24T05:51:46.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T05:51:46.461Z] provisioning config files... [2021-05-24T05:51:48.477Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/config1289740175511552720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-24T05:51:48.878Z] ---> docker-login.sh [2021-05-24T05:51:48.878Z] nexus3.edgexfoundry.org:10001 [2021-05-24T05:51:51.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:51:51.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:51:51.287Z] Configure a credential helper to remove this warning. See [2021-05-24T05:51:51.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:51:51.287Z] [2021-05-24T05:51:51.287Z] Login Succeeded [2021-05-24T05:51:51.287Z] nexus3.edgexfoundry.org:10002 [2021-05-24T05:51:51.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:51:51.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:51:51.287Z] Configure a credential helper to remove this warning. See [2021-05-24T05:51:51.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:51:51.287Z] [2021-05-24T05:51:51.287Z] Login Succeeded [2021-05-24T05:51:51.287Z] nexus3.edgexfoundry.org:10003 [2021-05-24T05:51:51.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:51:51.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:51:51.287Z] Configure a credential helper to remove this warning. See [2021-05-24T05:51:51.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:51:51.287Z] [2021-05-24T05:51:51.287Z] Login Succeeded [2021-05-24T05:51:51.287Z] nexus3.edgexfoundry.org:10004 [2021-05-24T05:51:51.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:51:51.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:51:51.287Z] Configure a credential helper to remove this warning. See [2021-05-24T05:51:51.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:51:51.287Z] [2021-05-24T05:51:51.287Z] Login Succeeded [2021-05-24T05:51:51.287Z] docker.io [2021-05-24T05:51:51.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T05:51:51.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T05:51:51.287Z] Configure a credential helper to remove this warning. See [2021-05-24T05:51:51.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T05:51:51.287Z] [2021-05-24T05:51:51.287Z] Login Succeeded [2021-05-24T05:51:51.287Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T05:51:51.324Z] 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:51:54.262Z] + git log --format=format:%s -1 f02d3dc7e1b428c0c81d050d3d9c108c1c930965 [Pipeline] echo [2021-05-24T05:51:54.410Z] GIT_COMMIT: f02d3dc7e1b428c0c81d050d3d9c108c1c930965, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-24T05:51:56.704Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-24T05:52:01.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T05:52:01.643Z] [2021-05-24T05:52:01.643Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-24T05:52:04.167Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T05:52:04.167Z] latest: Pulling from edgex-devops/git-semver [2021-05-24T05:52:04.167Z] 31603596830f: Pulling fs layer [2021-05-24T05:52:04.167Z] 54011a49482f: Pulling fs layer [2021-05-24T05:52:04.167Z] a6820b24f6d8: Pulling fs layer [2021-05-24T05:52:04.167Z] f581987b2513: Pulling fs layer [2021-05-24T05:52:04.167Z] f581987b2513: Waiting [2021-05-24T05:52:04.167Z] 54011a49482f: Verifying Checksum [2021-05-24T05:52:04.167Z] 54011a49482f: Download complete [2021-05-24T05:52:04.167Z] 31603596830f: Verifying Checksum [2021-05-24T05:52:04.167Z] 31603596830f: Download complete [2021-05-24T05:52:04.167Z] f581987b2513: Verifying Checksum [2021-05-24T05:52:04.167Z] f581987b2513: Download complete [2021-05-24T05:52:04.167Z] a6820b24f6d8: Verifying Checksum [2021-05-24T05:52:04.167Z] a6820b24f6d8: Download complete [2021-05-24T05:52:04.167Z] 31603596830f: Pull complete [2021-05-24T05:52:04.167Z] 54011a49482f: Pull complete [2021-05-24T05:52:04.167Z] a6820b24f6d8: Pull complete [2021-05-24T05:52:06.616Z] f581987b2513: Pull complete [2021-05-24T05:52:06.616Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-24T05:52:06.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-24T05:52:06.617Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-24T05:52:06.844Z] prd-centos7-docker-4c-2g-15748 does not seem to be running inside a container [2021-05-24T05:52:06.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-104 -v /w/workspace/gexfoundry_device-rest-go_PR-104:/w/workspace/gexfoundry_device-rest-go_PR-104:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-104@tmp:/w/workspace/gexfoundry_device-rest-go_PR-104@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:14.108Z] $ docker top 7dcebc861db2c29000a50262ae258138f03e443bd180d95592d27cd74f17fa16 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-24T05:52:18.513Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-24T05:52:18.513Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-24T05:52:18.641Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-24T05:52:18.651Z] $ docker exec 7dcebc861db2c29000a50262ae258138f03e443bd180d95592d27cd74f17fa16 ssh-agent [2021-05-24T05:52:18.784Z] SSH_AUTH_SOCK=/tmp/ssh-BEObUvp6aJK8/agent.15 [2021-05-24T05:52:18.784Z] SSH_AGENT_PID=22 [2021-05-24T05:52:18.796Z] Running ssh-add (command line suppressed) [2021-05-24T05:52:18.900Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_7596633461038104060.key (/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_7596633461038104060.key) [2021-05-24T05:52:20.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-24T05:52:21.370Z] + git tag --points-at HEAD [Pipeline] } [2021-05-24T05:52:23.466Z] $ docker exec --env ******** --env ******** 7dcebc861db2c29000a50262ae258138f03e443bd180d95592d27cd74f17fa16 ssh-agent -k [2021-05-24T05:52:23.557Z] unset SSH_AUTH_SOCK; [2021-05-24T05:52:23.558Z] unset SSH_AGENT_PID; [2021-05-24T05:52:23.558Z] echo Agent pid 22 killed; [2021-05-24T05:52:23.566Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-24T05:52:23.748Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-24T05:52:23.748Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-24T05:52:23.859Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-24T05:52:23.867Z] $ docker exec 7dcebc861db2c29000a50262ae258138f03e443bd180d95592d27cd74f17fa16 ssh-agent [2021-05-24T05:52:23.955Z] SSH_AUTH_SOCK=/tmp/ssh-NrhcIamq7fmW/agent.55 [2021-05-24T05:52:23.955Z] SSH_AGENT_PID=61 [2021-05-24T05:52:23.960Z] Running ssh-add (command line suppressed) [2021-05-24T05:52:24.057Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_5790649530333435018.key (/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/private_key_5790649530333435018.key) [2021-05-24T05:52:26.056Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-24T05:52:26.463Z] + git semver init [2021-05-24T05:52:26.463Z] # -> Open(): unable to determine branch for HEAD [2021-05-24T05:52:26.463Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-104/.git [2021-05-24T05:52:26.463Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-104 [2021-05-24T05:52:26.463Z] # $SEMVER_REMOTE_NAME = origin [2021-05-24T05:52:26.463Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-24T05:52:26.463Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-24T05:52:26.463Z] # $SEMVER_BRANCH = PR-104 [2021-05-24T05:52:26.463Z] # $SEMVER_TEMP = /tmp/semver-162927022 [2021-05-24T05:52:26.463Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-24T05:52:28.420Z] # '/tmp/semver-162927022' -> '/w/workspace/gexfoundry_device-rest-go_PR-104/.semver' [2021-05-24T05:52:28.420Z] # -> Force: false [2021-05-24T05:52:28.420Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-104/.semver [Pipeline] } [2021-05-24T05:52:28.512Z] $ docker exec --env ******** --env ******** 7dcebc861db2c29000a50262ae258138f03e443bd180d95592d27cd74f17fa16 ssh-agent -k [2021-05-24T05:52:28.599Z] unset SSH_AUTH_SOCK; [2021-05-24T05:52:28.599Z] unset SSH_AGENT_PID; [2021-05-24T05:52:28.599Z] echo Agent pid 61 killed; [2021-05-24T05:52:28.607Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-24T05:52:32.688Z] + git semver [Pipeline] } [2021-05-24T05:52:32.788Z] $ docker stop --time=1 7dcebc861db2c29000a50262ae258138f03e443bd180d95592d27cd74f17fa16 [2021-05-24T05:52:35.166Z] $ docker rm -f 7dcebc861db2c29000a50262ae258138f03e443bd180d95592d27cd74f17fa16 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-24T05:52:37.804Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-24T05:52:42.444Z] Stashed 1 file(s) [Pipeline] echo [2021-05-24T05:52:42.500Z] [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:09.427Z] Still waiting to schedule task [2021-05-24T05:53:09.427Z] ‘prd-centos7-blackbox-4c-2g-15642’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-24T05:53:09.427Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-24T05:53:09.427Z] Still waiting to schedule task [2021-05-24T05:53:09.428Z] ‘prd-centos7-docker-4c-2g-15740’ is offline [2021-05-24T05:53:09.428Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-24T05:53:09.428Z] ‘prd-centos7-docker-4c-2g-15758’ is offline [2021-05-24T05:53:09.428Z] ‘prd-centos7-docker-4c-2g-15759’ is offline [2021-05-24T05:53:09.428Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-05-24T06:02:36.516Z] Running on prd-centos7-docker-4c-2g-16423 in /w/workspace/gexfoundry_device-rest-go_PR-104 [Pipeline] { [Pipeline] ws [2021-05-24T06:02:38.716Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-24T06:02:41.459Z] The recommended git tool is: git [2021-05-24T06:02:41.498Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16371 in /w/workspace/gexfoundry_device-rest-go_PR-104 [Pipeline] { [Pipeline] ws [2021-05-24T06:02:43.674Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-24T06:02:46.255Z] The recommended git tool is: git [2021-05-24T06:03:15.353Z] using credential edgex-jenkins-ssh [2021-05-24T06:03:15.371Z] Cloning the remote Git repository [2021-05-24T06:03:15.407Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-24T06:03:15.505Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-24T06:03:15.548Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-24T06:03:15.549Z] > git --version # timeout=10 [2021-05-24T06:03:15.554Z] > git --version # 'git version 2.24.4' [2021-05-24T06:03:15.555Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:15.586Z] [INFO] Currently running in a labeled security context [2021-05-24T06:03:15.586Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T06:03:15.587Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh5592069755212497731.key [2021-05-24T06:03:15.601Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T06:03:20.251Z] Merging remotes/origin/master commit 03359c08c1b66a89f278bd3fc862a1cc531bead5 into PR head commit f02d3dc7e1b428c0c81d050d3d9c108c1c930965 [2021-05-24T06:03:16.675Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-24T06:03:16.681Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T06:03:17.849Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-24T06:03:17.892Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-24T06:03:17.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:17.896Z] [INFO] Currently running in a labeled security context [2021-05-24T06:03:17.896Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T06:03:17.897Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh3087816662803203236.key [2021-05-24T06:03:17.901Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-24T06:03:20.408Z] Merge succeeded, producing f02d3dc7e1b428c0c81d050d3d9c108c1c930965 [2021-05-24T06:03:20.409Z] Checking out Revision f02d3dc7e1b428c0c81d050d3d9c108c1c930965 (PR-104) [2021-05-24T06:03:20.270Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T06:03:20.276Z] > git checkout -f f02d3dc7e1b428c0c81d050d3d9c108c1c930965 # timeout=10 [2021-05-24T06:03:20.365Z] > git remote # timeout=10 [2021-05-24T06:03:20.374Z] > git config --get remote.origin.url # timeout=10 [2021-05-24T06:03:20.381Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:20.382Z] [INFO] Currently running in a labeled security context [2021-05-24T06:03:20.382Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-24T06:03:20.382Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh5476011447117613208.key [2021-05-24T06:03:20.386Z] > git merge 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 [2021-05-24T06:03:20.399Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-24T06:03:20.413Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T06:03:20.419Z] > git checkout -f f02d3dc7e1b428c0c81d050d3d9c108c1c930965 # timeout=10 [2021-05-24T06:03:31.895Z] using credential edgex-jenkins-ssh [2021-05-24T06:03:31.924Z] Cloning the remote Git repository [2021-05-24T06:03:31.980Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-24T06:03:32.043Z] > git --version # timeout=10 [2021-05-24T06:03:32.053Z] > git --version # 'git version 2.24.4' [2021-05-24T06:03:32.056Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-24T06:03:31.989Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-05-24T06:03:34.076Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-24T06:03:34.162Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-24T06:03:34.163Z] > git --version # timeout=10 [2021-05-24T06:03:34.177Z] > git --version # 'git version 2.17.1' [2021-05-24T06:03:34.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:34.240Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh [2021-05-24T06:03:41.614Z] Merging remotes/origin/master commit 03359c08c1b66a89f278bd3fc862a1cc531bead5 into PR head commit f02d3dc7e1b428c0c81d050d3d9c108c1c930965 [2021-05-24T06:03:37.538Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-24T06:03:37.555Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-24T06:03:39.213Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-24T06:03:39.246Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-24T06:03:39.246Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:39.258Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-24T06:03:41.858Z] Merge succeeded, producing f02d3dc7e1b428c0c81d050d3d9c108c1c930965 [2021-05-24T06:03:41.859Z] Checking out Revision f02d3dc7e1b428c0c81d050d3d9c108c1c930965 (PR-104) [2021-05-24T06:03:42.039Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2021-05-24T06:03:41.646Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T06:03:41.667Z] > git checkout -f f02d3dc7e1b428c0c81d050d3d9c108c1c930965 # timeout=10 [2021-05-24T06:03:41.760Z] > git remote # timeout=10 [2021-05-24T06:03:41.778Z] > git config --get remote.origin.url # timeout=10 [2021-05-24T06:03:41.791Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-24T06:03:41.802Z] > git merge 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 [2021-05-24T06:03:41.836Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-24T06:03:41.867Z] > git config core.sparsecheckout # timeout=10 [2021-05-24T06:03:41.876Z] > git checkout -f f02d3dc7e1b428c0c81d050d3d9c108c1c930965 # timeout=10 [Pipeline] sh [2021-05-24T06:03:44.528Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-24T06:03:49.139Z] + sudo service docker restart [2021-05-24T06:03:49.139Z] + true [2021-05-24T06:03:49.139Z] Redirecting to /bin/systemctl restart docker.service [2021-05-24T06:03:54.124Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-24T06:03:54.218Z] > git --version # timeout=10 [2021-05-24T06:03:54.227Z] > git --version # 'git version 2.17.1' [2021-05-24T06:03:54.240Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [2021-05-24T06:04:04.077Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] { [Pipeline] configFileProvider [2021-05-24T06:04:04.204Z] provisioning config files... [2021-05-24T06:04:04.226Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2329274195737070377tmp [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:04:06.650Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-24T06:04:08.747Z] ---> docker-login.sh [2021-05-24T06:04:08.747Z] nexus3.edgexfoundry.org:10001 [2021-05-24T06:04:08.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:08.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:08.747Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:08.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:08.747Z] [2021-05-24T06:04:08.747Z] Login Succeeded [2021-05-24T06:04:08.747Z] nexus3.edgexfoundry.org:10002 [2021-05-24T06:04:08.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:08.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:08.747Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:08.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:08.747Z] [2021-05-24T06:04:08.747Z] Login Succeeded [2021-05-24T06:04:08.747Z] nexus3.edgexfoundry.org:10003 [2021-05-24T06:04:08.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:08.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:08.747Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:08.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:08.747Z] [2021-05-24T06:04:08.747Z] Login Succeeded [2021-05-24T06:04:08.747Z] nexus3.edgexfoundry.org:10004 [2021-05-24T06:04:08.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:08.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:08.747Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:08.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:08.747Z] [2021-05-24T06:04:08.747Z] Login Succeeded [2021-05-24T06:04:08.747Z] docker.io [2021-05-24T06:04:08.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:08.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:08.747Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:08.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:08.747Z] [2021-05-24T06:04:08.747Z] Login Succeeded [2021-05-24T06:04:08.747Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T06:04:08.838Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [2021-05-24T06:04:09.011Z] + sudo service docker restart [2021-05-24T06:04:09.011Z] + true [Pipeline] unstash [Pipeline] echo [2021-05-24T06:04:09.215Z] ========================================================= [2021-05-24T06:04:09.215Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-24T06:04:09.215Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:04:11.611Z] + 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:11.611Z] Sending build context to Docker daemon 92.16kB [2021-05-24T06:04:11.611Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T06:04:11.611Z] Step 2/10 : FROM ${BASE} [2021-05-24T06:04:13.681Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-24T06:04:13.681Z] 540db60ca938: Pulling fs layer [2021-05-24T06:04:13.681Z] adcc1eea9eea: Pulling fs layer [2021-05-24T06:04:13.681Z] 4c4ab2625f07: Pulling fs layer [2021-05-24T06:04:13.681Z] 0510c868ecb4: Pulling fs layer [2021-05-24T06:04:13.681Z] afea3b2eda06: Pulling fs layer [2021-05-24T06:04:13.681Z] 7809a108b3ef: Pulling fs layer [2021-05-24T06:04:13.681Z] f706445af74f: Pulling fs layer [2021-05-24T06:04:13.681Z] afea3b2eda06: Waiting [2021-05-24T06:04:13.681Z] 7809a108b3ef: Waiting [2021-05-24T06:04:13.681Z] f706445af74f: Waiting [2021-05-24T06:04:13.681Z] 0510c868ecb4: Waiting [2021-05-24T06:04:13.681Z] 4c4ab2625f07: Verifying Checksum [2021-05-24T06:04:13.681Z] 4c4ab2625f07: Download complete [2021-05-24T06:04:13.681Z] adcc1eea9eea: Verifying Checksum [2021-05-24T06:04:13.681Z] adcc1eea9eea: Download complete [2021-05-24T06:04:13.681Z] afea3b2eda06: Verifying Checksum [2021-05-24T06:04:13.681Z] afea3b2eda06: Download complete [2021-05-24T06:04:13.681Z] 540db60ca938: Verifying Checksum [2021-05-24T06:04:13.681Z] 540db60ca938: Download complete [2021-05-24T06:04:13.681Z] 7809a108b3ef: Verifying Checksum [2021-05-24T06:04:13.681Z] 7809a108b3ef: Download complete [2021-05-24T06:04:13.681Z] 540db60ca938: Pull complete [2021-05-24T06:04:13.681Z] adcc1eea9eea: Pull complete [2021-05-24T06:04:13.681Z] 4c4ab2625f07: Pull complete [2021-05-24T06:04:13.681Z] f706445af74f: Verifying Checksum [2021-05-24T06:04:13.681Z] f706445af74f: Download complete [2021-05-24T06:04:13.969Z] 0510c868ecb4: Verifying Checksum [2021-05-24T06:04:13.969Z] 0510c868ecb4: Download complete [2021-05-24T06:04:18.979Z] 0510c868ecb4: Pull complete [2021-05-24T06:04:18.979Z] afea3b2eda06: Pull complete [2021-05-24T06:04:18.979Z] 7809a108b3ef: Pull complete [2021-05-24T06:04:19.572Z] f706445af74f: Pull complete [2021-05-24T06:04:19.572Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-24T06:04:19.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-24T06:04:19.572Z] ---> b068be0155e3 [2021-05-24T06:04:19.572Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T06:04:26.036Z] provisioning config files... [2021-05-24T06:04:26.063Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7268763974570070443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:04:26.484Z] ---> docker-login.sh [2021-05-24T06:04:26.484Z] nexus3.edgexfoundry.org:10001 [2021-05-24T06:04:29.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:29.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:29.529Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:29.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:29.529Z] [2021-05-24T06:04:29.529Z] Login Succeeded [2021-05-24T06:04:29.529Z] nexus3.edgexfoundry.org:10002 [2021-05-24T06:04:29.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:29.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:29.529Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:29.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:29.529Z] [2021-05-24T06:04:29.529Z] Login Succeeded [2021-05-24T06:04:29.529Z] nexus3.edgexfoundry.org:10003 [2021-05-24T06:04:29.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:29.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:29.529Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:29.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:29.529Z] [2021-05-24T06:04:29.529Z] Login Succeeded [2021-05-24T06:04:29.529Z] nexus3.edgexfoundry.org:10004 [2021-05-24T06:04:29.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:29.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:29.529Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:29.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:29.529Z] [2021-05-24T06:04:29.529Z] Login Succeeded [2021-05-24T06:04:29.529Z] docker.io [2021-05-24T06:04:29.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-24T06:04:31.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-24T06:04:31.860Z] Configure a credential helper to remove this warning. See [2021-05-24T06:04:31.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-24T06:04:31.860Z] [2021-05-24T06:04:31.860Z] Login Succeeded [2021-05-24T06:04:31.860Z] ---> docker-login.sh ends [Pipeline] } [2021-05-24T06:04:31.983Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-24T06:04:36.674Z] ---> Running in a7e8b2858817 [Pipeline] echo [2021-05-24T06:04:36.793Z] ========================================================= [2021-05-24T06:04:36.793Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-24T06:04:36.793Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:04:39.092Z] Removing intermediate container a7e8b2858817 [2021-05-24T06:04:39.092Z] ---> a9794e95e778 [2021-05-24T06:04:39.092Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-24T06:04:39.092Z] ---> Running in e02a349d184a [2021-05-24T06:04:39.092Z] Removing intermediate container e02a349d184a [2021-05-24T06:04:39.092Z] ---> faa5d9b75bc7 [2021-05-24T06:04:39.092Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-24T06:04:39.092Z] ---> Running in cc955ebcde8e [2021-05-24T06:04:39.092Z] Removing intermediate container cc955ebcde8e [2021-05-24T06:04:39.092Z] ---> a78392149d0f [2021-05-24T06:04:39.092Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T06:04:39.092Z] ---> Running in 1598ff799be5 [2021-05-24T06:04:39.092Z] Removing intermediate container 1598ff799be5 [2021-05-24T06:04:39.092Z] ---> fe619d64340b [2021-05-24T06:04:39.092Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-24T06:04:39.092Z] ---> Running in 63fd9e1b6ab2 [2021-05-24T06:04:39.385Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-24T06:04:41.428Z] + 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:41.428Z] Sending build context to Docker daemon 92.16kB [2021-05-24T06:04:41.720Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T06:04:41.720Z] Step 2/10 : FROM ${BASE} [2021-05-24T06:04:41.720Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-24T06:04:41.720Z] 595b0fe564bb: Pulling fs layer [2021-05-24T06:04:41.720Z] 7186ed65a4f7: Pulling fs layer [2021-05-24T06:04:41.720Z] 316046926c0a: Pulling fs layer [2021-05-24T06:04:41.720Z] 4ebd0625c992: Pulling fs layer [2021-05-24T06:04:41.720Z] 207e8628e3a3: Pulling fs layer [2021-05-24T06:04:41.720Z] c791037a9be2: Pulling fs layer [2021-05-24T06:04:41.720Z] ffd874e62e21: Pulling fs layer [2021-05-24T06:04:41.720Z] 4ebd0625c992: Waiting [2021-05-24T06:04:41.720Z] 207e8628e3a3: Waiting [2021-05-24T06:04:41.720Z] c791037a9be2: Waiting [2021-05-24T06:04:41.720Z] ffd874e62e21: Waiting [2021-05-24T06:04:41.720Z] 316046926c0a: Verifying Checksum [2021-05-24T06:04:41.720Z] 316046926c0a: Download complete [2021-05-24T06:04:41.720Z] 7186ed65a4f7: Verifying Checksum [2021-05-24T06:04:41.720Z] 7186ed65a4f7: Download complete [2021-05-24T06:04:41.720Z] 207e8628e3a3: Download complete [2021-05-24T06:04:41.720Z] c791037a9be2: Download complete [2021-05-24T06:04:41.720Z] 595b0fe564bb: Verifying Checksum [2021-05-24T06:04:41.720Z] 595b0fe564bb: Download complete [2021-05-24T06:04:41.720Z] 595b0fe564bb: Pull complete [2021-05-24T06:04:41.720Z] 7186ed65a4f7: Pull complete [2021-05-24T06:04:43.812Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-24T06:04:43.812Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-24T06:04:43.812Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-24T06:04:43.812Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-24T06:04:43.812Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-24T06:04:43.812Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-24T06:04:43.812Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-24T06:04:43.812Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-24T06:04:43.812Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-24T06:04:43.812Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-24T06:04:43.812Z] Executing busybox-1.32.1-r6.trigger [2021-05-24T06:04:43.812Z] OK: 154 MiB in 49 packages [2021-05-24T06:04:43.812Z] Removing intermediate container 63fd9e1b6ab2 [2021-05-24T06:04:43.812Z] ---> ecd2cca4a8ce [2021-05-24T06:04:43.812Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-24T06:04:43.813Z] 316046926c0a: Pull complete [2021-05-24T06:04:43.813Z] ffd874e62e21: Verifying Checksum [2021-05-24T06:04:43.813Z] ffd874e62e21: Download complete [2021-05-24T06:04:43.813Z] 4ebd0625c992: Verifying Checksum [2021-05-24T06:04:43.813Z] 4ebd0625c992: Download complete [2021-05-24T06:04:44.089Z] ---> Running in 475808db3bd3 [2021-05-24T06:04:44.089Z] Removing intermediate container 475808db3bd3 [2021-05-24T06:04:44.089Z] ---> 6e923a150bed [2021-05-24T06:04:44.089Z] Step 9/10 : COPY . . [2021-05-24T06:04:46.372Z] ---> 280b19b87913 [2021-05-24T06:04:46.372Z] Step 10/10 : RUN go mod download [2021-05-24T06:04:46.372Z] ---> Running in cc67d7996480 [2021-05-24T06:04:54.233Z] 4ebd0625c992: Pull complete [2021-05-24T06:04:54.233Z] 207e8628e3a3: Pull complete [2021-05-24T06:04:54.233Z] c791037a9be2: Pull complete [2021-05-24T06:04:57.565Z] ffd874e62e21: Pull complete [2021-05-24T06:04:57.842Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-24T06:04:57.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-24T06:04:57.842Z] ---> cfc18b08335c [2021-05-24T06:04:57.843Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-24T06:04:59.820Z] ---> Running in 82911567f500 [2021-05-24T06:05:00.418Z] Removing intermediate container 82911567f500 [2021-05-24T06:05:00.418Z] ---> e243c8eb7fe2 [2021-05-24T06:05:00.418Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-24T06:05:00.418Z] ---> Running in b056f0be421e [2021-05-24T06:05:01.019Z] Removing intermediate container b056f0be421e [2021-05-24T06:05:01.019Z] ---> d2c753453cbc [2021-05-24T06:05:01.019Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-24T06:05:01.019Z] ---> Running in 903a2e14fe8a [2021-05-24T06:05:01.613Z] Removing intermediate container 903a2e14fe8a [2021-05-24T06:05:01.613Z] ---> fe595a2876d3 [2021-05-24T06:05:01.613Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T06:05:04.007Z] ---> Running in 4002d79a7734 [2021-05-24T06:05:04.615Z] Removing intermediate container 4002d79a7734 [2021-05-24T06:05:04.615Z] ---> d3514e93a104 [2021-05-24T06:05:04.615Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-24T06:05:04.889Z] ---> Running in b8b73f1b0960 [2021-05-24T06:05:05.864Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-24T06:05:07.287Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-24T06:05:10.167Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-24T06:05:10.167Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-24T06:05:10.167Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-24T06:05:10.167Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-24T06:05:10.167Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-24T06:05:10.167Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-24T06:05:10.167Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-24T06:05:12.136Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-24T06:05:12.136Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-24T06:05:12.136Z] Executing busybox-1.32.1-r6.trigger [2021-05-24T06:05:12.136Z] OK: 144 MiB in 49 packages [2021-05-24T06:05:14.127Z] Removing intermediate container b8b73f1b0960 [2021-05-24T06:05:14.127Z] ---> 3a8dbedc77fe [2021-05-24T06:05:14.127Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-24T06:05:14.127Z] ---> Running in 49841c03f25e [2021-05-24T06:05:16.364Z] Removing intermediate container 49841c03f25e [2021-05-24T06:05:16.364Z] ---> 196d60cc0166 [2021-05-24T06:05:16.364Z] Step 9/10 : COPY . . [2021-05-24T06:05:16.364Z] ---> 607f3e78be98 [2021-05-24T06:05:16.364Z] Step 10/10 : RUN go mod download [2021-05-24T06:05:16.364Z] ---> Running in c8facb593da6 [2021-05-24T06:05:20.393Z] Removing intermediate container cc67d7996480 [2021-05-24T06:05:20.393Z] ---> 838727828250 [2021-05-24T06:05:20.393Z] Successfully built 838727828250 [2021-05-24T06:05:20.393Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:05:20.761Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-24T06:05:20.761Z] . [Pipeline] withDockerContainer [2021-05-24T06:05:20.872Z] prd-centos7-docker-4c-2g-16423 does not seem to be running inside a container [2021-05-24T06:05:20.919Z] $ 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:05:22.590Z] $ docker top 9bd8ece3527b7c15cea4b8d8e8ba46b1380002ece627ecb1bb74c894e572c18b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T06:05:25.050Z] + go version [2021-05-24T06:05:25.050Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-24T06:05:25.081Z] $ docker stop --time=1 9bd8ece3527b7c15cea4b8d8e8ba46b1380002ece627ecb1bb74c894e572c18b [2021-05-24T06:05:26.666Z] $ docker rm -f 9bd8ece3527b7c15cea4b8d8e8ba46b1380002ece627ecb1bb74c894e572c18b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:05:27.541Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-24T06:05:27.542Z] . [Pipeline] withDockerContainer [2021-05-24T06:05:27.639Z] prd-centos7-docker-4c-2g-16423 does not seem to be running inside a container [2021-05-24T06:05:27.689Z] $ 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:05:29.742Z] $ docker top 0c48335d371185670ea5a562ad19ab650805143637cdfa63482ab226f70f48c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T06:05:30.170Z] + go mod tidy [Pipeline] sh [2021-05-24T06:05:30.761Z] + make test [2021-05-24T06:05:30.761Z] go mod tidy [2021-05-24T06:05:30.761Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-24T06:05:31.705Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-24T06:05:43.285Z] Removing intermediate container c8facb593da6 [2021-05-24T06:05:43.285Z] ---> 20c26373846a [2021-05-24T06:05:43.285Z] Successfully built 20c26373846a [2021-05-24T06:05:43.285Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:05:43.653Z] + docker inspect -f . ci-base-image-arm64 [2021-05-24T06:05:43.653Z] . [Pipeline] withDockerContainer [2021-05-24T06:05:43.900Z] prd-ubuntu18.04-docker-arm64-4c-16g-16371 does not seem to be running inside a container [2021-05-24T06:05:44.002Z] $ 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:46.785Z] $ docker top 713732dc61a3dd2874e74e8f0b6338826b6565cb4dbcbc83ca9ef940563174e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T06:05:47.820Z] + go version [2021-05-24T06:05:47.820Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-24T06:05:47.858Z] $ docker stop --time=1 713732dc61a3dd2874e74e8f0b6338826b6565cb4dbcbc83ca9ef940563174e6 [2021-05-24T06:05:50.109Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-24T06:05:50.109Z] $ docker rm -f 713732dc61a3dd2874e74e8f0b6338826b6565cb4dbcbc83ca9ef940563174e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-05-24T06:05:50.696Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-05-24T06:05:50.696Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:05:51.128Z] + docker inspect -f . ci-base-image-arm64 [2021-05-24T06:05:51.128Z] . [Pipeline] withDockerContainer [2021-05-24T06:05:51.408Z] prd-ubuntu18.04-docker-arm64-4c-16g-16371 does not seem to be running inside a container [2021-05-24T06:05:51.505Z] $ 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:53.842Z] $ docker top 7f237e224c2521bace7a4b8e1f9a7317c46c801087fb86f0bec3e9b3e11180f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T06:05:56.532Z] + go mod tidy [Pipeline] sh [2021-05-24T06:05:57.234Z] + make test [2021-05-24T06:05:57.234Z] go mod tidy [2021-05-24T06:05:57.833Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-24T06:06:00.655Z] gofmt -l . [2021-05-24T06:06:00.655Z] [ "`gofmt -l .`" = "" ] [2021-05-24T06:06:00.655Z] ./bin/test-go-mod-tidy.sh [2021-05-24T06:06:00.655Z] ./bin/test-attribution-txt.sh [2021-05-24T06:06:00.663Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] } [2021-05-24T06:06:00.722Z] $ docker stop --time=1 0c48335d371185670ea5a562ad19ab650805143637cdfa63482ab226f70f48c0 [2021-05-24T06:06:04.092Z] $ docker rm -f 0c48335d371185670ea5a562ad19ab650805143637cdfa63482ab226f70f48c0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-24T06:06:04.594Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-24T06:06:06.840Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-24T06:06:27.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-24T06:06:27.877Z] + ls -al . [2021-05-24T06:06:27.877Z] total 104 [2021-05-24T06:06:27.877Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 24 06:05 . [2021-05-24T06:06:27.877Z] drwxrwxr-x. 4 jenkins jenkins 28 May 24 06:03 .. [2021-05-24T06:06:27.877Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 24 06:03 Attribution.txt [2021-05-24T06:06:27.877Z] drwxrwxr-x. 2 jenkins jenkins 64 May 24 06:03 bin [2021-05-24T06:06:27.877Z] drwxrwxr-x. 3 jenkins jenkins 32 May 24 06:03 cmd [2021-05-24T06:06:27.877Z] -rw-r--r--. 1 jenkins jenkins 8513 May 24 06:05 coverage.out [2021-05-24T06:06:27.877Z] -rw-rw-r--. 1 jenkins jenkins 1615 May 24 06:03 Dockerfile [2021-05-24T06:06:27.877Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 24 06:03 Dockerfile.build [2021-05-24T06:06:27.877Z] -rw-rw-r--. 1 jenkins jenkins 151 May 24 06:03 .dockerignore [2021-05-24T06:06:27.877Z] drwxrwxr-x. 2 jenkins jenkins 76 May 24 06:03 driver [2021-05-24T06:06:27.877Z] drwxrwxr-x. 8 jenkins jenkins 179 May 24 06:03 .git [2021-05-24T06:06:27.877Z] drwxrwxr-x. 2 jenkins jenkins 103 May 24 06:03 .github [2021-05-24T06:06:27.877Z] -rw-rw-r--. 1 jenkins jenkins 336 May 24 06:03 .gitignore [2021-05-24T06:06:27.877Z] -rw-r--r--. 1 jenkins jenkins 285 May 24 06:05 go.mod [2021-05-24T06:06:27.877Z] -rw-r--r--. 1 jenkins jenkins 21295 May 24 06:05 go.sum [2021-05-24T06:06:27.877Z] -rw-rw-r--. 1 jenkins jenkins 680 May 24 06:03 Jenkinsfile [2021-05-24T06:06:27.877Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 24 06:03 LICENSE [2021-05-24T06:06:27.877Z] -rw-rw-r--. 1 jenkins jenkins 996 May 24 06:03 Makefile [2021-05-24T06:06:27.877Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 24 06:03 README.md [2021-05-24T06:06:27.877Z] drwxrwxr-x. 4 jenkins jenkins 71 May 24 06:03 snap [2021-05-24T06:06:27.877Z] -rw-rw-r--. 1 jenkins jenkins 5 May 24 05:52 VERSION [2021-05-24T06:06:27.877Z] -rw-rw-r--. 1 jenkins jenkins 713 May 24 06:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:06:28.227Z] + 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=f02d3dc7e1b428c0c81d050d3d9c108c1c930965 --label arch=amd64 --label version=0.0.0 . [2021-05-24T06:06:28.227Z] Sending build context to Docker daemon 101.9kB [2021-05-24T06:06:28.227Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T06:06:28.227Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-24T06:06:28.227Z] ---> 838727828250 [2021-05-24T06:06:28.227Z] Step 3/25 : ARG MAKE='make build' [2021-05-24T06:06:28.227Z] ---> Running in 2dfb656354aa [2021-05-24T06:06:28.227Z] Removing intermediate container 2dfb656354aa [2021-05-24T06:06:28.227Z] ---> 29117e675adc [2021-05-24T06:06:28.227Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-24T06:06:28.491Z] ---> Running in 9070680ecf92 [2021-05-24T06:06:28.491Z] Removing intermediate container 9070680ecf92 [2021-05-24T06:06:28.491Z] ---> 5b254bea0bbe [2021-05-24T06:06:28.491Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-24T06:06:28.491Z] ---> Running in 6bb0c4d04280 [2021-05-24T06:06:28.754Z] Removing intermediate container 6bb0c4d04280 [2021-05-24T06:06:28.754Z] ---> 30a2a2940dcd [2021-05-24T06:06:28.754Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T06:06:28.754Z] ---> Running in ab852de084fd [2021-05-24T06:06:29.701Z] Removing intermediate container ab852de084fd [2021-05-24T06:06:29.701Z] ---> 58c5406be0e3 [2021-05-24T06:06:29.701Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-24T06:06:29.701Z] ---> Running in c33f69ee615b [2021-05-24T06:06:31.672Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-24T06:06:31.672Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-24T06:06:31.672Z] OK: 154 MiB in 49 packages [2021-05-24T06:06:31.672Z] Removing intermediate container c33f69ee615b [2021-05-24T06:06:31.672Z] ---> 7b4cf10486c5 [2021-05-24T06:06:31.672Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-24T06:06:31.938Z] ---> Running in 6e2b048e8534 [2021-05-24T06:06:32.201Z] Removing intermediate container 6e2b048e8534 [2021-05-24T06:06:32.201Z] ---> f1dd0f75ecf9 [2021-05-24T06:06:32.201Z] Step 9/25 : COPY . . [2021-05-24T06:06:32.463Z] ---> a2f111b87c27 [2021-05-24T06:06:32.463Z] Step 10/25 : RUN go mod tidy [2021-05-24T06:06:32.727Z] ---> Running in 0ad76a55f3d6 [2021-05-24T06:06:33.677Z] Removing intermediate container 0ad76a55f3d6 [2021-05-24T06:06:33.677Z] ---> 973af8afb7c5 [2021-05-24T06:06:33.677Z] Step 11/25 : RUN make update [2021-05-24T06:06:35.647Z] ---> Running in 44c38f123ffe [2021-05-24T06:06:35.647Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-24T06:06:35.647Z] Removing intermediate container 44c38f123ffe [2021-05-24T06:06:35.647Z] ---> 49913a7d3d0d [2021-05-24T06:06:35.647Z] Step 12/25 : RUN $MAKE [2021-05-24T06:06:35.647Z] ---> Running in df8fe64fa953 [2021-05-24T06:06:35.647Z] go mod tidy [2021-05-24T06:06:35.647Z] 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:06:50.622Z] Removing intermediate container df8fe64fa953 [2021-05-24T06:06:50.622Z] ---> e8bcc79b07ad [2021-05-24T06:06:50.622Z] Step 13/25 : FROM alpine:3.12 [2021-05-24T06:06:50.622Z] 3.12: Pulling from library/alpine [2021-05-24T06:06:50.622Z] 339de151aab4: Pulling fs layer [2021-05-24T06:06:50.622Z] 339de151aab4: Download complete [2021-05-24T06:06:50.622Z] 339de151aab4: Pull complete [2021-05-24T06:06:50.890Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-24T06:06:50.890Z] Status: Downloaded newer image for alpine:3.12 [2021-05-24T06:06:50.890Z] ---> 13621d1b12d4 [2021-05-24T06:06:50.890Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-24T06:06:50.890Z] ---> Running in a46426373450 [2021-05-24T06:06:51.832Z] Removing intermediate container a46426373450 [2021-05-24T06:06:51.832Z] ---> dceef2c44345 [2021-05-24T06:06:51.832Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-24T06:06:51.832Z] ---> Running in 06cdb5affd51 [2021-05-24T06:06:51.832Z] Removing intermediate container 06cdb5affd51 [2021-05-24T06:06:51.832Z] ---> 526182e8c342 [2021-05-24T06:06:51.832Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-24T06:06:52.106Z] ---> Running in c8346eb17ede [2021-05-24T06:06:52.368Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-24T06:06:52.368Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-24T06:06:52.368Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-24T06:06:52.368Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-24T06:06:52.368Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-24T06:06:52.368Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-24T06:06:52.368Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-24T06:06:52.368Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-24T06:06:52.368Z] Executing busybox-1.31.1-r20.trigger [2021-05-24T06:06:52.368Z] OK: 8 MiB in 20 packages [2021-05-24T06:06:52.476Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-24T06:06:52.476Z] ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 54.0% of statements [2021-05-24T06:06:52.476Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-24T06:06:52.947Z] Removing intermediate container c8346eb17ede [2021-05-24T06:06:52.947Z] ---> 4bdfe590949a [2021-05-24T06:06:52.947Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-24T06:06:53.893Z] ---> 21158e980c93 [2021-05-24T06:06:53.893Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-24T06:06:54.156Z] ---> e0afb8f5ccef [2021-05-24T06:06:54.157Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-24T06:06:54.417Z] ---> 929658597e95 [2021-05-24T06:06:54.417Z] Step 20/25 : EXPOSE 59986 [2021-05-24T06:06:54.417Z] ---> Running in a9cc6b1f9c55 [2021-05-24T06:06:54.417Z] Removing intermediate container a9cc6b1f9c55 [2021-05-24T06:06:54.417Z] ---> 365c7acfb456 [2021-05-24T06:06:54.417Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-24T06:06:54.417Z] ---> Running in 2ef24d5a53eb [2021-05-24T06:06:54.683Z] Removing intermediate container 2ef24d5a53eb [2021-05-24T06:06:54.683Z] ---> 5a3ac8542d46 [2021-05-24T06:06:54.683Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-24T06:06:54.683Z] ---> Running in c310bde436df [2021-05-24T06:06:54.683Z] Removing intermediate container c310bde436df [2021-05-24T06:06:54.683Z] ---> d71df1e528d1 [2021-05-24T06:06:54.683Z] Step 23/25 : LABEL arch=amd64 [2021-05-24T06:06:54.683Z] ---> Running in 78125c88b96b [2021-05-24T06:06:54.683Z] Removing intermediate container 78125c88b96b [2021-05-24T06:06:54.683Z] ---> 0fbdecb4cd14 [2021-05-24T06:06:54.683Z] Step 24/25 : LABEL git_sha=f02d3dc7e1b428c0c81d050d3d9c108c1c930965 [2021-05-24T06:06:54.945Z] ---> Running in 1d447ec2e9c8 [2021-05-24T06:06:54.945Z] Removing intermediate container 1d447ec2e9c8 [2021-05-24T06:06:54.945Z] ---> 8ce3c1ee940b [2021-05-24T06:06:54.945Z] Step 25/25 : LABEL version=0.0.0 [2021-05-24T06:06:54.945Z] ---> Running in a2914dbf00dc [2021-05-24T06:06:55.210Z] Removing intermediate container a2914dbf00dc [2021-05-24T06:06:55.210Z] ---> de9961dfc4b2 [2021-05-24T06:06:55.210Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-24T06:06:55.210Z] Successfully built de9961dfc4b2 [2021-05-24T06:06:55.210Z] 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:06:58.345Z] ---> job-cost.sh [2021-05-24T06:06:58.345Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sdat [2021-05-24T06:07:08.323Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-24T06:07:23.875Z] lf-activate-venv(): INFO: Adding /tmp/venv-sdat/bin to PATH [2021-05-24T06:07:23.875Z] INFO: No Stack... [2021-05-24T06:07:23.875Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-24T06:07:23.890Z] gofmt -l . [2021-05-24T06:07:23.890Z] [ "`gofmt -l .`" = "" ] [2021-05-24T06:07:23.890Z] ./bin/test-go-mod-tidy.sh [2021-05-24T06:07:23.890Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-24T06:07:23.971Z] $ docker stop --time=1 7f237e224c2521bace7a4b8e1f9a7317c46c801087fb86f0bec3e9b3e11180f4 [2021-05-24T06:07:24.183Z] INFO: Archiving Costs [2021-05-24T06:07:26.611Z] $ docker rm -f 7f237e224c2521bace7a4b8e1f9a7317c46c801087fb86f0bec3e9b3e11180f4 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-05-24T06:07:29.518Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-24T06:07:29.518Z] + cut -d, -f6 [Pipeline] lock [2021-05-24T06:07:29.574Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-104-1-stack-cost] [2021-05-24T06:07:29.581Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-104-1-stack-cost] did not exist. Created. [2021-05-24T06:07:29.581Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-104-1-stack-cost] [Pipeline] { [2021-05-24T06:07:29.599Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-24T06:07:29.676Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] unstash [Pipeline] sh [2021-05-24T06:07:32.112Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-24T06:07:32.207Z] Stashed 1 file(s) [Pipeline] } [2021-05-24T06:07:32.229Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-104-1-stack-cost] [2021-05-24T06:07:32.247Z] Stashed 1 file(s) [Pipeline] // lock [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-24T06:07:35.679Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-24T06:07:36.035Z] + ls -al . [2021-05-24T06:07:36.035Z] total 132 [2021-05-24T06:07:36.035Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 06:07 . [2021-05-24T06:07:36.035Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 06:03 .. [2021-05-24T06:07:36.035Z] -rw-rw-r-- 1 jenkins jenkins 151 May 24 06:03 .dockerignore [2021-05-24T06:07:36.035Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 06:03 .git [2021-05-24T06:07:36.035Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 06:03 .github [2021-05-24T06:07:36.035Z] -rw-rw-r-- 1 jenkins jenkins 336 May 24 06:03 .gitignore [2021-05-24T06:07:36.035Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 24 06:03 Attribution.txt [2021-05-24T06:07:36.035Z] -rw-rw-r-- 1 jenkins jenkins 1615 May 24 06:03 Dockerfile [2021-05-24T06:07:36.035Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 24 06:03 Dockerfile.build [2021-05-24T06:07:36.035Z] -rw-rw-r-- 1 jenkins jenkins 680 May 24 06:03 Jenkinsfile [2021-05-24T06:07:36.035Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 06:03 LICENSE [2021-05-24T06:07:36.035Z] -rw-rw-r-- 1 jenkins jenkins 996 May 24 06:03 Makefile [2021-05-24T06:07:36.035Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 24 06:03 README.md [2021-05-24T06:07:36.035Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 05:52 VERSION [2021-05-24T06:07:36.035Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 06:03 bin [2021-05-24T06:07:36.035Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 06:03 cmd [2021-05-24T06:07:36.035Z] -rw-r--r-- 1 jenkins jenkins 8513 May 24 06:06 coverage.out [2021-05-24T06:07:36.035Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 06:03 driver [2021-05-24T06:07:36.035Z] -rw-r--r-- 1 jenkins jenkins 285 May 24 06:07 go.mod [2021-05-24T06:07:36.035Z] -rw-r--r-- 1 jenkins jenkins 21295 May 24 06:05 go.sum [2021-05-24T06:07:36.035Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 06:03 snap [2021-05-24T06:07:36.035Z] -rw-rw-r-- 1 jenkins jenkins 713 May 24 06:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:07:36.426Z] + 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=f02d3dc7e1b428c0c81d050d3d9c108c1c930965 --label arch=arm64 --label version=0.0.0 . [2021-05-24T06:07:36.426Z] Sending build context to Docker daemon 101.9kB [2021-05-24T06:07:36.702Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-24T06:07:36.702Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-24T06:07:36.702Z] ---> 20c26373846a [2021-05-24T06:07:36.702Z] Step 3/25 : ARG MAKE='make build' [2021-05-24T06:07:36.975Z] ---> Running in c67305acf678 [2021-05-24T06:07:39.499Z] Removing intermediate container c67305acf678 [2021-05-24T06:07:39.499Z] ---> 2141176c95e3 [2021-05-24T06:07:39.499Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-24T06:07:39.499Z] ---> Running in 3decd086f38c [2021-05-24T06:07:39.499Z] Removing intermediate container 3decd086f38c [2021-05-24T06:07:39.499Z] ---> 85ad29d91061 [2021-05-24T06:07:39.499Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-24T06:07:39.499Z] ---> Running in 4e4daee5df75 [2021-05-24T06:07:39.500Z] Removing intermediate container 4e4daee5df75 [2021-05-24T06:07:39.500Z] ---> 2637226f3207 [2021-05-24T06:07:39.500Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-24T06:07:39.500Z] ---> Running in 51fad94d85cc [2021-05-24T06:07:40.946Z] Removing intermediate container 51fad94d85cc [2021-05-24T06:07:40.946Z] ---> a9df505aec0e [2021-05-24T06:07:40.946Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-24T06:07:40.946Z] ---> Running in 86445d223025 [2021-05-24T06:07:43.402Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-24T06:07:43.402Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-24T06:07:43.676Z] OK: 144 MiB in 49 packages [2021-05-24T06:07:44.666Z] Removing intermediate container 86445d223025 [2021-05-24T06:07:44.666Z] ---> 5b119a8b6414 [2021-05-24T06:07:44.666Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-24T06:07:44.939Z] ---> Running in ab9669ac3490 [2021-05-24T06:07:45.540Z] Removing intermediate container ab9669ac3490 [2021-05-24T06:07:45.540Z] ---> c2df4ad573c8 [2021-05-24T06:07:45.540Z] Step 9/25 : COPY . . [2021-05-24T06:07:48.051Z] ---> 48c81abc4cdf [2021-05-24T06:07:48.051Z] Step 10/25 : RUN go mod tidy [2021-05-24T06:07:48.051Z] ---> Running in 7b5d00167cb1 [2021-05-24T06:07:50.660Z] Removing intermediate container 7b5d00167cb1 [2021-05-24T06:07:50.660Z] ---> 2d3b12085f3b [2021-05-24T06:07:50.660Z] Step 11/25 : RUN make update [2021-05-24T06:07:50.660Z] ---> Running in a88bb88c6059 [2021-05-24T06:07:50.660Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-24T06:07:53.623Z] Removing intermediate container a88bb88c6059 [2021-05-24T06:07:53.623Z] ---> b6b43a6144a2 [2021-05-24T06:07:53.623Z] Step 12/25 : RUN $MAKE [2021-05-24T06:07:53.623Z] ---> Running in 3a07eda92d34 [2021-05-24T06:07:53.623Z] go mod tidy [2021-05-24T06:07:53.623Z] 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:30.995Z] Removing intermediate container 3a07eda92d34 [2021-05-24T06:08:30.995Z] ---> 9c160900f903 [2021-05-24T06:08:30.995Z] Step 13/25 : FROM alpine:3.12 [2021-05-24T06:08:30.995Z] 3.12: Pulling from library/alpine [2021-05-24T06:08:30.995Z] d2f70382dc9a: Pulling fs layer [2021-05-24T06:08:30.995Z] d2f70382dc9a: Verifying Checksum [2021-05-24T06:08:30.995Z] d2f70382dc9a: Download complete [2021-05-24T06:08:30.995Z] d2f70382dc9a: Pull complete [2021-05-24T06:08:30.995Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-24T06:08:30.995Z] Status: Downloaded newer image for alpine:3.12 [2021-05-24T06:08:30.995Z] ---> 9852663dfa18 [2021-05-24T06:08:30.995Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-24T06:08:30.996Z] ---> Running in fc89351c4b68 [2021-05-24T06:08:30.996Z] Removing intermediate container fc89351c4b68 [2021-05-24T06:08:30.996Z] ---> 6bb1fd143bd0 [2021-05-24T06:08:30.996Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-24T06:08:30.996Z] ---> Running in f5d58444a55e [2021-05-24T06:08:30.996Z] Removing intermediate container f5d58444a55e [2021-05-24T06:08:30.996Z] ---> 7bba407fe90c [2021-05-24T06:08:30.996Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-24T06:08:30.996Z] ---> Running in c9543e783e54 [2021-05-24T06:08:31.991Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-24T06:08:31.991Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-24T06:08:32.591Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-24T06:08:32.591Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-24T06:08:32.591Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-24T06:08:32.591Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-24T06:08:32.591Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-24T06:08:32.591Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-24T06:08:32.591Z] Executing busybox-1.31.1-r20.trigger [2021-05-24T06:08:32.591Z] OK: 8 MiB in 20 packages [2021-05-24T06:08:33.573Z] Removing intermediate container c9543e783e54 [2021-05-24T06:08:33.573Z] ---> d4c444ebcdbc [2021-05-24T06:08:33.573Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-24T06:08:35.010Z] ---> fd656358c7a3 [2021-05-24T06:08:35.010Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-24T06:08:35.608Z] ---> 902a1d1ac2b3 [2021-05-24T06:08:35.608Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-24T06:08:38.451Z] ---> e6df2bc23607 [2021-05-24T06:08:38.451Z] Step 20/25 : EXPOSE 59986 [2021-05-24T06:08:38.451Z] ---> Running in 69cead36af0b [2021-05-24T06:08:38.451Z] Removing intermediate container 69cead36af0b [2021-05-24T06:08:38.451Z] ---> fe24cc136828 [2021-05-24T06:08:38.451Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-24T06:08:38.451Z] ---> Running in 99e474e84127 [2021-05-24T06:08:38.451Z] Removing intermediate container 99e474e84127 [2021-05-24T06:08:38.451Z] ---> d1218112bde7 [2021-05-24T06:08:38.451Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-24T06:08:38.451Z] ---> Running in 871eb6540ff6 [2021-05-24T06:08:38.451Z] Removing intermediate container 871eb6540ff6 [2021-05-24T06:08:38.451Z] ---> cc919025be36 [2021-05-24T06:08:38.451Z] Step 23/25 : LABEL arch=arm64 [2021-05-24T06:08:38.451Z] ---> Running in fc2d43e641e8 [2021-05-24T06:08:39.045Z] Removing intermediate container fc2d43e641e8 [2021-05-24T06:08:39.045Z] ---> a0d62fed1247 [2021-05-24T06:08:39.046Z] Step 24/25 : LABEL git_sha=f02d3dc7e1b428c0c81d050d3d9c108c1c930965 [2021-05-24T06:08:39.046Z] ---> Running in 86bb8d01f60d [2021-05-24T06:08:39.646Z] Removing intermediate container 86bb8d01f60d [2021-05-24T06:08:39.646Z] ---> f325932b7d6d [2021-05-24T06:08:39.646Z] Step 25/25 : LABEL version=0.0.0 [2021-05-24T06:08:39.646Z] ---> Running in 191e1f88ef41 [2021-05-24T06:08:40.246Z] Removing intermediate container 191e1f88ef41 [2021-05-24T06:08:40.246Z] ---> db9ffe21a66f [2021-05-24T06:08:40.246Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-24T06:08:40.246Z] Successfully built db9ffe21a66f [2021-05-24T06:08:40.246Z] 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:45.343Z] ---> job-cost.sh [2021-05-24T06:08:45.343Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fgeB [2021-05-24T06:09:24.960Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-24T06:10:43.820Z] lf-activate-venv(): INFO: Adding /tmp/venv-fgeB/bin to PATH [2021-05-24T06:10:43.821Z] INFO: No Stack... [2021-05-24T06:10:43.821Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-24T06:10:44.413Z] INFO: Archiving Costs [Pipeline] sh [2021-05-24T06:10:44.797Z] + + cut -d, -f6cat [2021-05-24T06:10:44.797Z] /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2021-05-24T06:10:44.912Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-104-1-stack-cost] [2021-05-24T06:10:44.919Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-104-1-stack-cost] did not exist. Created. [2021-05-24T06:10:44.919Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-104-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-24T06:10:45.391Z] /w/workspace/device-rest-go/1@tmp/durable-6770629a/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-6770629a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-24T06:10:45.771Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-24T06:10:45.812Z] Warning: overwriting stash ‘stack-cost’ [2021-05-24T06:10:45.963Z] Stashed 1 file(s) [Pipeline] } [2021-05-24T06:10:46.000Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-104-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:10:49.199Z] provisioning config files... [2021-05-24T06:10:49.208Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/config8484546445788651377tmp [Pipeline] { [Pipeline] sh [2021-05-24T06:10:49.565Z] + set +x [2021-05-24T06:10:49.565Z] + curl -s https://codecov.io/bash [2021-05-24T06:10:49.565Z] + bash -s -- [2021-05-24T06:10:49.565Z] [2021-05-24T06:10:49.565Z] _____ _ [2021-05-24T06:10:49.565Z] / ____| | | [2021-05-24T06:10:49.565Z] | | ___ __| | ___ ___ _____ __ [2021-05-24T06:10:49.565Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-24T06:10:49.565Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-24T06:10:49.565Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-24T06:10:49.565Z] Bash-1.0.2 [2021-05-24T06:10:49.565Z] [2021-05-24T06:10:49.565Z] [2021-05-24T06:10:49.565Z] ==> git version 2.24.4 found [2021-05-24T06:10:49.565Z] ==> 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:10:49.565Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-24T06:10:49.565Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-24T06:10:49.565Z] ==> Jenkins CI detected. [2021-05-24T06:10:49.565Z] project root: . [2021-05-24T06:10:49.565Z] --> token set from env [2021-05-24T06:10:49.565Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-24T06:10:49.565Z] ==> Running gcov in . (disable via -X gcov) [2021-05-24T06:10:49.565Z] ==> Python coveragepy not found [2021-05-24T06:10:49.565Z] ==> Searching for coverage reports in: [2021-05-24T06:10:49.565Z] + . [2021-05-24T06:10:49.565Z] -> Found 1 reports [2021-05-24T06:10:49.565Z] ==> Detecting git/mercurial file structure [2021-05-24T06:10:49.827Z] ==> Reading reports [2021-05-24T06:10:49.827Z] + ./coverage.out bytes=8513 [2021-05-24T06:10:49.827Z] ==> Appending adjustments [2021-05-24T06:10:49.827Z] https://docs.codecov.io/docs/fixing-reports [2021-05-24T06:10:49.827Z] + Found adjustments [2021-05-24T06:10:49.827Z] ==> Gzipping contents [2021-05-24T06:10:49.827Z] 4.0K /tmp/codecov.B1LVtS.gz [2021-05-24T06:10:49.827Z] ==> Uploading reports [2021-05-24T06:10:49.827Z] url: https://codecov.io [2021-05-24T06:10:49.827Z] query: branch=PR-104&commit=f02d3dc7e1b428c0c81d050d3d9c108c1c930965&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-104%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=104&job=&cmd_args= [2021-05-24T06:10:49.827Z] -> Pinging Codecov [2021-05-24T06:10:49.827Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-104&commit=f02d3dc7e1b428c0c81d050d3d9c108c1c930965&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-104%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=104&job=&cmd_args= [2021-05-24T06:10:50.412Z] -> Uploading to [2021-05-24T06:10:50.412Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-24/4E5D53B4F1F92C436F7061BF334D961C/f02d3dc7e1b428c0c81d050d3d9c108c1c930965/6d31d704-4610-4afc-bf29-edc24bcd9868.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210524T061050Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1eeaaf028d39107f7edef69800df0a8d92f5934e86bc478a1b009d4237978044 [2021-05-24T06:10:50.412Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-24T06:10:50.412Z] Dload Upload Total Spent Left Speed [2021-05-24T06:10:50.674Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 4933 --:--:-- --:--:-- --:--:-- 4941 [2021-05-24T06:10:50.674Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/f02d3dc7e1b428c0c81d050d3d9c108c1c930965 [Pipeline] } [2021-05-24T06:10:50.710Z] 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:10:55.930Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:10:56.591Z] ---> package-listing.sh [2021-05-24T06:10:56.591Z] ++ facter osfamily [2021-05-24T06:10:56.591Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-24T06:10:58.753Z] + OS_FAMILY=redhat [2021-05-24T06:10:58.753Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-104 [2021-05-24T06:10:58.753Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-24T06:10:58.753Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-24T06:10:58.753Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-24T06:10:58.753Z] + PACKAGES=/tmp/packages_start.txt [2021-05-24T06:10:58.753Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-104 ']' [2021-05-24T06:10:58.753Z] + PACKAGES=/tmp/packages_end.txt [2021-05-24T06:10:58.753Z] + case "${OS_FAMILY}" in [2021-05-24T06:10:58.753Z] + rpm -qa [2021-05-24T06:10:58.753Z] + sort [2021-05-24T06:10:58.753Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-24T06:10:58.753Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-24T06:10:58.753Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-24T06:10:58.753Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-104 ']' [2021-05-24T06:10:58.753Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-104/archives/ [2021-05-24T06:10:58.753Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-104/archives/ [Pipeline] echo [2021-05-24T06:10:58.802Z] 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-104/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:10:59.112Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:10:59.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T06:10:59.709Z] [2021-05-24T06:10:59.709Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-24T06:11:00.102Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T06:11:00.364Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-24T06:11:00.364Z] df20fa9351a1: Pulling fs layer [2021-05-24T06:11:00.364Z] 36b3adc4ff6f: Pulling fs layer [2021-05-24T06:11:00.364Z] 8ad3a11d3b57: Pulling fs layer [2021-05-24T06:11:00.364Z] 46f8f816bc3b: Pulling fs layer [2021-05-24T06:11:00.364Z] 93b61091891f: Pulling fs layer [2021-05-24T06:11:00.364Z] 93b9cdb0e59b: Pulling fs layer [2021-05-24T06:11:00.365Z] 5e14af77c1be: Pulling fs layer [2021-05-24T06:11:00.365Z] 01666e4c0597: Pulling fs layer [2021-05-24T06:11:00.365Z] aa168da1d23b: Pulling fs layer [2021-05-24T06:11:00.365Z] 93b61091891f: Waiting [2021-05-24T06:11:00.365Z] 93b9cdb0e59b: Waiting [2021-05-24T06:11:00.365Z] 5e14af77c1be: Waiting [2021-05-24T06:11:00.365Z] 01666e4c0597: Waiting [2021-05-24T06:11:00.365Z] aa168da1d23b: Waiting [2021-05-24T06:11:00.365Z] 46f8f816bc3b: Waiting [2021-05-24T06:11:00.365Z] 36b3adc4ff6f: Verifying Checksum [2021-05-24T06:11:00.365Z] 36b3adc4ff6f: Download complete [2021-05-24T06:11:00.365Z] 46f8f816bc3b: Verifying Checksum [2021-05-24T06:11:00.365Z] 46f8f816bc3b: Download complete [2021-05-24T06:11:00.629Z] df20fa9351a1: Verifying Checksum [2021-05-24T06:11:00.629Z] df20fa9351a1: Download complete [2021-05-24T06:11:00.629Z] 93b61091891f: Verifying Checksum [2021-05-24T06:11:00.629Z] 93b61091891f: Download complete [2021-05-24T06:11:00.629Z] 93b9cdb0e59b: Verifying Checksum [2021-05-24T06:11:00.629Z] 93b9cdb0e59b: Download complete [2021-05-24T06:11:00.629Z] 5e14af77c1be: Verifying Checksum [2021-05-24T06:11:00.629Z] 5e14af77c1be: Download complete [2021-05-24T06:11:00.629Z] 8ad3a11d3b57: Verifying Checksum [2021-05-24T06:11:00.629Z] 8ad3a11d3b57: Download complete [2021-05-24T06:11:00.629Z] 01666e4c0597: Verifying Checksum [2021-05-24T06:11:00.629Z] 01666e4c0597: Download complete [2021-05-24T06:11:00.891Z] df20fa9351a1: Pull complete [2021-05-24T06:11:01.476Z] 36b3adc4ff6f: Pull complete [2021-05-24T06:11:02.430Z] 8ad3a11d3b57: Pull complete [2021-05-24T06:11:02.711Z] 46f8f816bc3b: Pull complete [2021-05-24T06:11:02.974Z] aa168da1d23b: Verifying Checksum [2021-05-24T06:11:02.974Z] aa168da1d23b: Download complete [2021-05-24T06:11:03.239Z] 93b61091891f: Pull complete [2021-05-24T06:11:03.817Z] 93b9cdb0e59b: Pull complete [2021-05-24T06:11:04.081Z] 5e14af77c1be: Pull complete [2021-05-24T06:11:04.081Z] 01666e4c0597: Pull complete [2021-05-24T06:11:09.210Z] aa168da1d23b: Pull complete [2021-05-24T06:11:09.210Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-24T06:11:09.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-24T06:11:09.471Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-24T06:11:09.577Z] prd-centos7-docker-4c-2g-15748 does not seem to be running inside a container [2021-05-24T06:11:09.626Z] $ 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-104/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-104 -v /w/workspace/gexfoundry_device-rest-go_PR-104:/w/workspace/gexfoundry_device-rest-go_PR-104:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-104@tmp:/w/workspace/gexfoundry_device-rest-go_PR-104@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:38.364Z] $ docker top dae970b42b2058907311ed2ed96370b2c00015891970ec45e78048355a256c06 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-24T06:11:40.776Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-24T06:11:41.133Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-24T06:11:41.474Z] + ls /var/log/sa-host [2021-05-24T06:11:41.474Z] + sadf -c /var/log/sa-host/sa05 [2021-05-24T06:11:41.474Z] file_magic: OK [2021-05-24T06:11:41.474Z] HZ: Using current value: 100 [2021-05-24T06:11:41.474Z] file_header: OK [2021-05-24T06:11:41.474Z] 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:41.474Z] Statistics: [2021-05-24T06:11:41.474Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-24T06:11:41.475Z] File successfully converted to sysstat format version 12.2.1 [2021-05-24T06:11:41.475Z] + sadf -c /var/log/sa-host/sa24 [2021-05-24T06:11:41.475Z] file_magic: OK [2021-05-24T06:11:41.475Z] HZ: Using current value: 100 [2021-05-24T06:11:41.475Z] file_header: OK [2021-05-24T06:11:41.475Z] 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:41.475Z] Statistics: [2021-05-24T06:11:41.475Z] 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...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-24T06:11:41.475Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-24T06:11:43.870Z] provisioning config files... [2021-05-24T06:11:43.884Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-104@tmp/config6830351147052468870tmp [Pipeline] { [Pipeline] echo [2021-05-24T06:11:43.967Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:11:44.312Z] ---> create-netrc.sh [Pipeline] } [2021-05-24T06:11:44.343Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-24T06:11:44.435Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:11:46.993Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-24T06:11:47.044Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:11:49.433Z] ---> sudo-logs.sh [2021-05-24T06:11:49.433Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-24T06:11:49.585Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:11:52.107Z] ---> job-cost.sh [2021-05-24T06:11:52.108Z] lf-activate-venv: SKIPPING [2021-05-24T06:11:52.108Z] DEBUG: total: 0.18000000715255737 [2021-05-24T06:11:52.108Z] INFO: Retrieving Stack Cost... [2021-05-24T06:11:52.108Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-24T06:11:52.108Z] INFO: Archiving Costs [Pipeline] echo [2021-05-24T06:11:52.166Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-24T06:11:52.603Z] ---> logs-deploy.sh [2021-05-24T06:11:52.603Z] lf-activate-venv: SKIPPING [2021-05-24T06:11:52.603Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-104/1 [2021-05-24T06:11:52.603Z] INFO: archiving workspace using pattern(s):