Pull request #113 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d+e449f7094e73ba5d0241c87d9e59db3ba8d69b80 (fc3c1c464b080f6ca4865366fb750f691429d7d1) 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-ssh8805745581023933335.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6068181450479032181.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-113/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-113/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2695019847425859834.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-113/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6031979773052173175.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4465430112535441573.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-113/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-113/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8983982543039296991.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-288 in /w/workspace/gexfoundry_device-rest-go_PR-113 [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-113 # 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-113@tmp/jenkins-gitclient-ssh1103847721430448353.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-113@tmp/jenkins-gitclient-ssh2031103794567890296.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e449f7094e73ba5d0241c87d9e59db3ba8d69b80 into PR head commit 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d Merge succeeded, producing 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d Checking out Revision 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d (PR-113) > git config core.sparsecheckout # timeout=10 > git checkout -f 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d # 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-113@tmp/jenkins-gitclient-ssh1068802568794792580.key > git merge e449f7094e73ba5d0241c87d9e59db3ba8d69b80 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d # 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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-03T07:42:20.159Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-03T07:42:20.358Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-03T07:42:20.482Z] ========================================================= [2021-06-03T07:42:20.482Z] EdgeX Global Pipelines Version Info [2021-06-03T07:42:20.482Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:42:22.013Z] ------------------- [2021-06-03T07:42:22.013Z] stable info: [2021-06-03T07:42:22.013Z] ------------------- [2021-06-03T07:42:22.013Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-03T07:42:22.013Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-03T07:42:22.013Z] Message: update stable to v1.0.193 [2021-06-03T07:42:22.593Z] ------------------- [2021-06-03T07:42:22.593Z] experimental info: [2021-06-03T07:42:22.593Z] ------------------- [2021-06-03T07:42:22.593Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-03T07:42:22.593Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-03T07:42:22.593Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-03T07:42:22.812Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-03T07:42:22.868Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-03T07:42:22.924Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-03T07:42:23.001Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-03T07:42:23.077Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-03T07:42:23.131Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-03T07:42:23.188Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-03T07:42:23.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-03T07:42:23.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-03T07:42:23.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-03T07:42:23.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-03T07:42:23.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-03T07:42:23.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-03T07:42:23.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-03T07:42:23.685Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-03T07:42:23.741Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-03T07:42:23.815Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-03T07:42:23.890Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-03T07:42:23.961Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-03T07:42:24.020Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-03T07:42:24.082Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-03T07:42:24.143Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-03T07:42:24.205Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-03T07:42:24.265Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-03T07:42:24.323Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-03T07:42:24.380Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-03T07:42:24.450Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-113 [Pipeline] echo [2021-06-03T07:42:24.510Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-113 [Pipeline] echo [2021-06-03T07:42:24.569Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-113 [Pipeline] echo [2021-06-03T07:42:24.631Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d [Pipeline] echo [2021-06-03T07:42:24.688Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32fb313 [Pipeline] echo [2021-06-03T07:42:24.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T07:42:24.899Z] provisioning config files... [2021-06-03T07:42:24.917Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-113@tmp/config3289586527326626884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:42:25.318Z] ---> docker-login.sh [2021-06-03T07:42:25.318Z] nexus3.edgexfoundry.org:10001 [2021-06-03T07:42:25.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:42:25.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:42:25.582Z] Configure a credential helper to remove this warning. See [2021-06-03T07:42:25.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:42:25.582Z] [2021-06-03T07:42:25.582Z] Login Succeeded [2021-06-03T07:42:25.582Z] nexus3.edgexfoundry.org:10002 [2021-06-03T07:42:25.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:42:25.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:42:25.582Z] Configure a credential helper to remove this warning. See [2021-06-03T07:42:25.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:42:25.582Z] [2021-06-03T07:42:25.582Z] Login Succeeded [2021-06-03T07:42:25.582Z] nexus3.edgexfoundry.org:10003 [2021-06-03T07:42:25.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:42:25.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:42:25.845Z] Configure a credential helper to remove this warning. See [2021-06-03T07:42:25.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:42:25.845Z] [2021-06-03T07:42:25.845Z] Login Succeeded [2021-06-03T07:42:25.845Z] nexus3.edgexfoundry.org:10004 [2021-06-03T07:42:25.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:42:25.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:42:25.845Z] Configure a credential helper to remove this warning. See [2021-06-03T07:42:25.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:42:25.845Z] [2021-06-03T07:42:25.845Z] Login Succeeded [2021-06-03T07:42:25.845Z] docker.io [2021-06-03T07:42:26.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:42:26.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:42:26.369Z] Configure a credential helper to remove this warning. See [2021-06-03T07:42:26.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:42:26.369Z] [2021-06-03T07:42:26.369Z] Login Succeeded [2021-06-03T07:42:26.369Z] ---> docker-login.sh ends [Pipeline] } [2021-06-03T07:42:26.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-03T07:42:27.186Z] + git log --format=format:%s -1 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d [Pipeline] echo [2021-06-03T07:42:27.269Z] GIT_COMMIT: 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-06-03T07:42:27.320Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:42:27.999Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-03T07:42:28.000Z] [2021-06-03T07:42:28.000Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:42:28.366Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-03T07:42:28.366Z] latest: Pulling from edgex-devops/git-semver [2021-06-03T07:42:28.366Z] 31603596830f: Pulling fs layer [2021-06-03T07:42:28.366Z] 54011a49482f: Pulling fs layer [2021-06-03T07:42:28.366Z] a6820b24f6d8: Pulling fs layer [2021-06-03T07:42:28.366Z] f581987b2513: Pulling fs layer [2021-06-03T07:42:28.366Z] f581987b2513: Waiting [2021-06-03T07:42:28.366Z] 54011a49482f: Verifying Checksum [2021-06-03T07:42:28.366Z] 54011a49482f: Download complete [2021-06-03T07:42:28.627Z] 31603596830f: Verifying Checksum [2021-06-03T07:42:28.628Z] 31603596830f: Download complete [2021-06-03T07:42:28.628Z] f581987b2513: Verifying Checksum [2021-06-03T07:42:28.628Z] f581987b2513: Download complete [2021-06-03T07:42:28.628Z] a6820b24f6d8: Verifying Checksum [2021-06-03T07:42:28.628Z] a6820b24f6d8: Download complete [2021-06-03T07:42:28.628Z] 31603596830f: Pull complete [2021-06-03T07:42:28.895Z] 54011a49482f: Pull complete [2021-06-03T07:42:29.469Z] a6820b24f6d8: Pull complete [2021-06-03T07:42:29.470Z] f581987b2513: Pull complete [2021-06-03T07:42:29.470Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-03T07:42:29.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-03T07:42:29.470Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-03T07:42:29.574Z] prd-centos7-docker-4c-2g-288 does not seem to be running inside a container [2021-06-03T07:42:29.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-113 -v /w/workspace/gexfoundry_device-rest-go_PR-113:/w/workspace/gexfoundry_device-rest-go_PR-113:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-113@tmp:/w/workspace/gexfoundry_device-rest-go_PR-113@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-03T07:42:30.643Z] $ docker top 38dba792c4531aea2f2ab3198ba3b675b7becde36c4657e2590bfe1674046d24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-03T07:42:30.864Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-03T07:42:30.864Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-03T07:42:30.976Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-03T07:42:30.975Z] $ docker exec 38dba792c4531aea2f2ab3198ba3b675b7becde36c4657e2590bfe1674046d24 ssh-agent [2021-06-03T07:42:31.089Z] SSH_AUTH_SOCK=/tmp/ssh-GDCleTHkRcny/agent.15 [2021-06-03T07:42:31.089Z] SSH_AGENT_PID=21 [2021-06-03T07:42:31.097Z] Running ssh-add (command line suppressed) [2021-06-03T07:42:31.200Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-113@tmp/private_key_7698962158968740605.key (/w/workspace/gexfoundry_device-rest-go_PR-113@tmp/private_key_7698962158968740605.key) [2021-06-03T07:42:31.223Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-03T07:42:31.604Z] + git tag --points-at HEAD [Pipeline] } [2021-06-03T07:42:31.654Z] $ docker exec --env ******** --env ******** 38dba792c4531aea2f2ab3198ba3b675b7becde36c4657e2590bfe1674046d24 ssh-agent -k [2021-06-03T07:42:31.753Z] unset SSH_AUTH_SOCK; [2021-06-03T07:42:31.753Z] unset SSH_AGENT_PID; [2021-06-03T07:42:31.753Z] echo Agent pid 21 killed; [2021-06-03T07:42:31.770Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-03T07:42:31.864Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-03T07:42:31.865Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-03T07:42:31.970Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-03T07:42:31.969Z] $ docker exec 38dba792c4531aea2f2ab3198ba3b675b7becde36c4657e2590bfe1674046d24 ssh-agent [2021-06-03T07:42:32.083Z] SSH_AUTH_SOCK=/tmp/ssh-kzz8GT1yVHtK/agent.55 [2021-06-03T07:42:32.083Z] SSH_AGENT_PID=61 [2021-06-03T07:42:32.089Z] Running ssh-add (command line suppressed) [2021-06-03T07:42:32.182Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-113@tmp/private_key_2457920010989964634.key (/w/workspace/gexfoundry_device-rest-go_PR-113@tmp/private_key_2457920010989964634.key) [2021-06-03T07:42:32.202Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-03T07:42:32.560Z] + git semver init [2021-06-03T07:42:32.560Z] # -> Open(): unable to determine branch for HEAD [2021-06-03T07:42:32.560Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-113/.git [2021-06-03T07:42:32.560Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-113 [2021-06-03T07:42:32.560Z] # $SEMVER_REMOTE_NAME = origin [2021-06-03T07:42:32.560Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-03T07:42:32.560Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-03T07:42:32.560Z] # $SEMVER_BRANCH = PR-113 [2021-06-03T07:42:32.560Z] # $SEMVER_TEMP = /tmp/semver-074079844 [2021-06-03T07:42:32.560Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-03T07:42:33.526Z] # '/tmp/semver-074079844' -> '/w/workspace/gexfoundry_device-rest-go_PR-113/.semver' [2021-06-03T07:42:33.526Z] # -> Force: false [2021-06-03T07:42:33.526Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-113/.semver [Pipeline] } [2021-06-03T07:42:33.548Z] $ docker exec --env ******** --env ******** 38dba792c4531aea2f2ab3198ba3b675b7becde36c4657e2590bfe1674046d24 ssh-agent -k [2021-06-03T07:42:33.644Z] unset SSH_AUTH_SOCK; [2021-06-03T07:42:33.644Z] unset SSH_AGENT_PID; [2021-06-03T07:42:33.644Z] echo Agent pid 61 killed; [2021-06-03T07:42:33.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-03T07:42:34.158Z] + git semver [Pipeline] } [2021-06-03T07:42:34.183Z] $ docker stop --time=1 38dba792c4531aea2f2ab3198ba3b675b7becde36c4657e2590bfe1674046d24 [2021-06-03T07:42:35.483Z] $ docker rm -f 38dba792c4531aea2f2ab3198ba3b675b7becde36c4657e2590bfe1674046d24 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-03T07:42:35.916Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-03T07:42:36.223Z] Stashed 1 file(s) [Pipeline] echo [2021-06-03T07:42:36.252Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-03T07:42:51.807Z] Still waiting to schedule task [2021-06-03T07:42:51.807Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-03T07:42:51.807Z] ‘prd-centos7-docker-4c-2g-290’ is offline [2021-06-03T07:42:51.808Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-06-03T07:42:51.808Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-287’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-03T07:42:51.838Z] Still waiting to schedule task [2021-06-03T07:42:51.838Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-03T07:42:51.838Z] ‘prd-centos7-docker-4c-2g-290’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-03T07:42:51.838Z] ‘prd-centos7-docker-4c-2g-309’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-03T07:42:51.838Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-287’ is offline [2021-06-03T07:43:59.571Z] Running on prd-centos7-docker-4c-2g-294 in /w/workspace/gexfoundry_device-rest-go_PR-113 [Pipeline] { [Pipeline] ws [2021-06-03T07:43:59.632Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-03T07:43:59.774Z] The recommended git tool is: git [2021-06-03T07:44:03.017Z] using credential edgex-jenkins-ssh [2021-06-03T07:44:03.045Z] Cloning the remote Git repository [2021-06-03T07:44:02.645Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-03T07:44:02.714Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-03T07:44:02.757Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-03T07:44:02.757Z] > git --version # timeout=10 [2021-06-03T07:44:02.766Z] > git --version # 'git version 2.24.4' [2021-06-03T07:44:02.766Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T07:44:02.791Z] [INFO] Currently running in a labeled security context [2021-06-03T07:44:02.792Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-03T07:44:02.792Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh1439443108148526992.key [2021-06-03T07:44:02.804Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T07:44:05.324Z] Merging remotes/origin/master commit e449f7094e73ba5d0241c87d9e59db3ba8d69b80 into PR head commit 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d [2021-06-03T07:44:05.408Z] Merge succeeded, producing 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d [2021-06-03T07:44:05.408Z] Checking out Revision 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d (PR-113) [2021-06-03T07:44:04.536Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-03T07:44:04.544Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T07:44:04.559Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-03T07:44:04.571Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-03T07:44:04.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T07:44:04.572Z] [INFO] Currently running in a labeled security context [2021-06-03T07:44:04.572Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-03T07:44:04.572Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6524107471527708240.key [2021-06-03T07:44:04.578Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-03T07:44:05.010Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T07:44:05.026Z] > git checkout -f 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d # timeout=10 [2021-06-03T07:44:05.055Z] > git remote # timeout=10 [2021-06-03T07:44:05.060Z] > git config --get remote.origin.url # timeout=10 [2021-06-03T07:44:05.066Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T07:44:05.067Z] [INFO] Currently running in a labeled security context [2021-06-03T07:44:05.067Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-03T07:44:05.067Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh3381583784402144362.key [2021-06-03T07:44:05.079Z] > git merge e449f7094e73ba5d0241c87d9e59db3ba8d69b80 # timeout=10 [2021-06-03T07:44:05.086Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-03T07:44:05.094Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T07:44:05.099Z] > git checkout -f 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d # timeout=10 [2021-06-03T07:44:08.835Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-03T07:44:08.830Z] > git --version # timeout=10 [2021-06-03T07:44:08.838Z] > git --version # 'git version 2.24.4' [2021-06-03T07:44:08.845Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-03T07:44:10.011Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-03T07:44:10.365Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-03T07:44:10.714Z] + sudo service docker restart [2021-06-03T07:44:10.714Z] + true [2021-06-03T07:44:10.714Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T07:44:28.935Z] provisioning config files... [2021-06-03T07:44:28.950Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1829194882987236220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:44:29.337Z] ---> docker-login.sh [2021-06-03T07:44:29.337Z] nexus3.edgexfoundry.org:10001 [2021-06-03T07:44:29.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:44:29.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:44:29.604Z] Configure a credential helper to remove this warning. See [2021-06-03T07:44:29.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:44:29.604Z] [2021-06-03T07:44:29.604Z] Login Succeeded [2021-06-03T07:44:29.604Z] nexus3.edgexfoundry.org:10002 [2021-06-03T07:44:29.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:44:29.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:44:29.604Z] Configure a credential helper to remove this warning. See [2021-06-03T07:44:29.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:44:29.604Z] [2021-06-03T07:44:29.604Z] Login Succeeded [2021-06-03T07:44:29.604Z] nexus3.edgexfoundry.org:10003 [2021-06-03T07:44:29.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:44:29.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:44:29.865Z] Configure a credential helper to remove this warning. See [2021-06-03T07:44:29.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:44:29.865Z] [2021-06-03T07:44:29.865Z] Login Succeeded [2021-06-03T07:44:29.865Z] nexus3.edgexfoundry.org:10004 [2021-06-03T07:44:29.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:44:29.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:44:29.865Z] Configure a credential helper to remove this warning. See [2021-06-03T07:44:29.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:44:29.865Z] [2021-06-03T07:44:29.865Z] Login Succeeded [2021-06-03T07:44:29.865Z] docker.io [2021-06-03T07:44:29.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:44:30.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:44:30.438Z] Configure a credential helper to remove this warning. See [2021-06-03T07:44:30.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:44:30.438Z] [2021-06-03T07:44:30.438Z] Login Succeeded [2021-06-03T07:44:30.438Z] ---> docker-login.sh ends [Pipeline] } [2021-06-03T07:44:30.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-03T07:44:30.752Z] ========================================================= [2021-06-03T07:44:30.752Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-03T07:44:30.752Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:44:31.120Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-03T07:44:31.120Z] Sending build context to Docker daemon 92.16kB [2021-06-03T07:44:31.120Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T07:44:31.120Z] Step 2/10 : FROM ${BASE} [2021-06-03T07:44:31.120Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-03T07:44:31.120Z] 540db60ca938: Pulling fs layer [2021-06-03T07:44:31.120Z] adcc1eea9eea: Pulling fs layer [2021-06-03T07:44:31.120Z] 4c4ab2625f07: Pulling fs layer [2021-06-03T07:44:31.120Z] 0510c868ecb4: Pulling fs layer [2021-06-03T07:44:31.120Z] afea3b2eda06: Pulling fs layer [2021-06-03T07:44:31.120Z] 7809a108b3ef: Pulling fs layer [2021-06-03T07:44:31.120Z] f706445af74f: Pulling fs layer [2021-06-03T07:44:31.120Z] afea3b2eda06: Waiting [2021-06-03T07:44:31.120Z] 7809a108b3ef: Waiting [2021-06-03T07:44:31.120Z] f706445af74f: Waiting [2021-06-03T07:44:31.120Z] 0510c868ecb4: Waiting [2021-06-03T07:44:31.391Z] 4c4ab2625f07: Verifying Checksum [2021-06-03T07:44:31.391Z] 4c4ab2625f07: Download complete [2021-06-03T07:44:31.391Z] adcc1eea9eea: Verifying Checksum [2021-06-03T07:44:31.391Z] adcc1eea9eea: Download complete [2021-06-03T07:44:31.391Z] afea3b2eda06: Verifying Checksum [2021-06-03T07:44:31.391Z] afea3b2eda06: Download complete [2021-06-03T07:44:31.391Z] 540db60ca938: Verifying Checksum [2021-06-03T07:44:31.391Z] 540db60ca938: Download complete [2021-06-03T07:44:31.391Z] 7809a108b3ef: Verifying Checksum [2021-06-03T07:44:31.391Z] 7809a108b3ef: Download complete [2021-06-03T07:44:31.391Z] 540db60ca938: Pull complete [2021-06-03T07:44:31.651Z] adcc1eea9eea: Pull complete [2021-06-03T07:44:31.651Z] 4c4ab2625f07: Pull complete [2021-06-03T07:44:34.962Z] f706445af74f: Verifying Checksum [2021-06-03T07:44:34.962Z] f706445af74f: Download complete [2021-06-03T07:44:35.922Z] 0510c868ecb4: Verifying Checksum [2021-06-03T07:44:35.922Z] 0510c868ecb4: Download complete [2021-06-03T07:44:39.253Z] 0510c868ecb4: Pull complete [2021-06-03T07:44:39.253Z] afea3b2eda06: Pull complete [2021-06-03T07:44:39.253Z] 7809a108b3ef: Pull complete [2021-06-03T07:44:40.646Z] f706445af74f: Pull complete [2021-06-03T07:44:40.646Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-03T07:44:40.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-03T07:44:40.646Z] ---> b068be0155e3 [2021-06-03T07:44:40.646Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-03T07:44:43.956Z] ---> Running in e9b0221d63be [2021-06-03T07:44:43.956Z] Removing intermediate container e9b0221d63be [2021-06-03T07:44:43.956Z] ---> d05f2b7ae120 [2021-06-03T07:44:43.956Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-03T07:44:43.956Z] ---> Running in da40339d6e1e [2021-06-03T07:44:43.956Z] Removing intermediate container da40339d6e1e [2021-06-03T07:44:43.956Z] ---> 8a4dbbbccfbc [2021-06-03T07:44:43.956Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-03T07:44:43.956Z] ---> Running in a71d3e729e3e [2021-06-03T07:44:43.956Z] Removing intermediate container a71d3e729e3e [2021-06-03T07:44:43.956Z] ---> c87ddce081d7 [2021-06-03T07:44:43.956Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T07:44:43.956Z] ---> Running in b61aa728a06e [2021-06-03T07:44:44.535Z] Removing intermediate container b61aa728a06e [2021-06-03T07:44:44.535Z] ---> 74ccda240429 [2021-06-03T07:44:44.535Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-03T07:44:44.535Z] ---> Running in ac0acafee3b4 [2021-06-03T07:44:44.798Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-03T07:44:45.748Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-03T07:44:46.319Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-03T07:44:46.319Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-03T07:44:46.319Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-03T07:44:46.319Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-03T07:44:46.587Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-03T07:44:46.587Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-03T07:44:46.849Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-03T07:44:47.112Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-03T07:44:47.112Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-03T07:44:47.112Z] Executing busybox-1.32.1-r6.trigger [2021-06-03T07:44:47.112Z] OK: 154 MiB in 49 packages [2021-06-03T07:44:47.698Z] Removing intermediate container ac0acafee3b4 [2021-06-03T07:44:47.698Z] ---> 7a38892fa79a [2021-06-03T07:44:47.698Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-03T07:44:47.698Z] ---> Running in 64d92b620375 [2021-06-03T07:44:47.698Z] Removing intermediate container 64d92b620375 [2021-06-03T07:44:47.698Z] ---> 9cb58417886d [2021-06-03T07:44:47.698Z] Step 9/10 : COPY . . [2021-06-03T07:44:47.969Z] ---> 961fcbba3b57 [2021-06-03T07:44:47.969Z] Step 10/10 : RUN go mod download [2021-06-03T07:44:47.969Z] ---> Running in d2ef4c17505c [2021-06-03T07:45:00.260Z] Removing intermediate container d2ef4c17505c [2021-06-03T07:45:00.260Z] ---> 943a67516b0f [2021-06-03T07:45:00.260Z] Successfully built 943a67516b0f [2021-06-03T07:45:00.260Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:45:00.643Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-03T07:45:00.643Z] . [Pipeline] withDockerContainer [2021-06-03T07:45:00.740Z] prd-centos7-docker-4c-2g-294 does not seem to be running inside a container [2021-06-03T07:45:00.773Z] $ 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-06-03T07:45:01.119Z] $ docker top 5f526e8dcf02b66ba09c0babca98a9fd984f94f57a401744af737506680bcfe9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T07:45:01.592Z] + go version [2021-06-03T07:45:01.592Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-03T07:45:01.616Z] $ docker stop --time=1 5f526e8dcf02b66ba09c0babca98a9fd984f94f57a401744af737506680bcfe9 [2021-06-03T07:45:02.788Z] $ docker rm -f 5f526e8dcf02b66ba09c0babca98a9fd984f94f57a401744af737506680bcfe9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:45:03.618Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-03T07:45:03.619Z] . [Pipeline] withDockerContainer [2021-06-03T07:45:03.719Z] prd-centos7-docker-4c-2g-294 does not seem to be running inside a container [2021-06-03T07:45:03.761Z] $ 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-06-03T07:45:04.116Z] $ docker top 7e10db775b4c9299e7011954de52f856905a1c5956dc3628ee16ffe516f3f8e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T07:45:04.576Z] + go mod tidy [Pipeline] sh [2021-06-03T07:45:05.188Z] + make test [2021-06-03T07:45:05.188Z] go mod tidy [2021-06-03T07:45:05.188Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-03T07:45:05.788Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-03T07:45:20.835Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-03T07:45:21.107Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-06-03T07:45:21.108Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-03T07:45:27.770Z] gofmt -l . [2021-06-03T07:45:27.770Z] [ "`gofmt -l .`" = "" ] [2021-06-03T07:45:27.770Z] ./bin/test-go-mod-tidy.sh [2021-06-03T07:45:27.770Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-03T07:45:28.058Z] $ docker stop --time=1 7e10db775b4c9299e7011954de52f856905a1c5956dc3628ee16ffe516f3f8e6 [2021-06-03T07:45:29.482Z] $ docker rm -f 7e10db775b4c9299e7011954de52f856905a1c5956dc3628ee16ffe516f3f8e6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-03T07:45:29.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-03T07:45:30.172Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-03T07:45:31.366Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-03T07:45:31.683Z] + ls -al . [2021-06-03T07:45:31.683Z] total 104 [2021-06-03T07:45:31.683Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 3 07:45 . [2021-06-03T07:45:31.683Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 3 07:44 .. [2021-06-03T07:45:31.683Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 3 07:44 Attribution.txt [2021-06-03T07:45:31.683Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 3 07:44 bin [2021-06-03T07:45:31.683Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 3 07:44 cmd [2021-06-03T07:45:31.683Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 3 07:45 coverage.out [2021-06-03T07:45:31.683Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 3 07:44 Dockerfile [2021-06-03T07:45:31.683Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 3 07:44 Dockerfile.build [2021-06-03T07:45:31.683Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 3 07:44 .dockerignore [2021-06-03T07:45:31.683Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 3 07:44 driver [2021-06-03T07:45:31.683Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 3 07:44 .git [2021-06-03T07:45:31.683Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 3 07:44 .github [2021-06-03T07:45:31.683Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 3 07:44 .gitignore [2021-06-03T07:45:31.683Z] -rw-r--r--. 1 jenkins jenkins 285 Jun 3 07:45 go.mod [2021-06-03T07:45:31.683Z] -rw-r--r--. 1 jenkins jenkins 20873 Jun 3 07:45 go.sum [2021-06-03T07:45:31.683Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 3 07:44 Jenkinsfile [2021-06-03T07:45:31.683Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 3 07:44 LICENSE [2021-06-03T07:45:31.683Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 3 07:44 Makefile [2021-06-03T07:45:31.683Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 3 07:44 README.md [2021-06-03T07:45:31.683Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 3 07:44 snap [2021-06-03T07:45:31.683Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 3 07:42 VERSION [2021-06-03T07:45:31.683Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 3 07:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:45:32.021Z] + 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=32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d --label arch=amd64 --label version=0.0.0 . [2021-06-03T07:45:32.021Z] Sending build context to Docker daemon 101.9kB [2021-06-03T07:45:32.021Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T07:45:32.021Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-03T07:45:32.021Z] ---> 943a67516b0f [2021-06-03T07:45:32.021Z] Step 3/25 : ARG MAKE='make build' [2021-06-03T07:45:32.021Z] ---> Running in 9daef24ee755 [2021-06-03T07:45:32.021Z] Removing intermediate container 9daef24ee755 [2021-06-03T07:45:32.021Z] ---> bd9db29e8c94 [2021-06-03T07:45:32.021Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-03T07:45:32.021Z] ---> Running in c9670c8dd68c [2021-06-03T07:45:32.290Z] Removing intermediate container c9670c8dd68c [2021-06-03T07:45:32.290Z] ---> 2d9a0e799255 [2021-06-03T07:45:32.290Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-03T07:45:32.290Z] ---> Running in 931e2f09ad3f [2021-06-03T07:45:32.290Z] Removing intermediate container 931e2f09ad3f [2021-06-03T07:45:32.290Z] ---> 42f422e425da [2021-06-03T07:45:32.290Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T07:45:32.290Z] ---> Running in 873d6f2d7f77 [2021-06-03T07:45:32.877Z] Removing intermediate container 873d6f2d7f77 [2021-06-03T07:45:32.877Z] ---> 28d5a07ee6ed [2021-06-03T07:45:32.877Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-03T07:45:32.877Z] ---> Running in 0c4dc56100bb [2021-06-03T07:45:33.147Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-03T07:45:34.099Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-03T07:45:34.365Z] OK: 154 MiB in 49 packages [2021-06-03T07:45:34.634Z] Removing intermediate container 0c4dc56100bb [2021-06-03T07:45:34.634Z] ---> 6f141fbf15b3 [2021-06-03T07:45:34.634Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-03T07:45:34.634Z] ---> Running in de9546ab57ba [2021-06-03T07:45:34.634Z] Removing intermediate container de9546ab57ba [2021-06-03T07:45:34.634Z] ---> 99b4a2e2490b [2021-06-03T07:45:34.634Z] Step 9/25 : COPY . . [2021-06-03T07:45:34.895Z] ---> 28aaf55f8882 [2021-06-03T07:45:34.895Z] Step 10/25 : RUN go mod tidy [2021-06-03T07:45:34.895Z] ---> Running in 52660e95918a [2021-06-03T07:45:35.468Z] Removing intermediate container 52660e95918a [2021-06-03T07:45:35.468Z] ---> 0d312260ad46 [2021-06-03T07:45:35.468Z] Step 11/25 : RUN make update [2021-06-03T07:45:35.468Z] ---> Running in 43abd2eb2b54 [2021-06-03T07:45:35.732Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-03T07:45:36.005Z] Removing intermediate container 43abd2eb2b54 [2021-06-03T07:45:36.006Z] ---> 6700d1174db7 [2021-06-03T07:45:36.006Z] Step 12/25 : RUN $MAKE [2021-06-03T07:45:36.006Z] ---> Running in f93deb112905 [2021-06-03T07:45:36.277Z] go mod tidy [2021-06-03T07:45:36.546Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-03T07:45:48.879Z] Removing intermediate container f93deb112905 [2021-06-03T07:45:48.879Z] ---> 638bd4f59290 [2021-06-03T07:45:48.879Z] Step 13/25 : FROM alpine:3.12 [2021-06-03T07:45:48.879Z] 3.12: Pulling from library/alpine [2021-06-03T07:45:48.879Z] 339de151aab4: Pulling fs layer [2021-06-03T07:45:48.879Z] 339de151aab4: Verifying Checksum [2021-06-03T07:45:48.879Z] 339de151aab4: Download complete [2021-06-03T07:45:48.879Z] 339de151aab4: Pull complete [2021-06-03T07:45:48.879Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-03T07:45:48.879Z] Status: Downloaded newer image for alpine:3.12 [2021-06-03T07:45:48.879Z] ---> 13621d1b12d4 [2021-06-03T07:45:48.879Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-03T07:45:48.879Z] ---> Running in 0c6ad3c9bcf6 [2021-06-03T07:45:48.879Z] Removing intermediate container 0c6ad3c9bcf6 [2021-06-03T07:45:48.879Z] ---> d121c178db32 [2021-06-03T07:45:48.879Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-03T07:45:48.879Z] ---> Running in 3570f4f66295 [2021-06-03T07:45:48.879Z] Removing intermediate container 3570f4f66295 [2021-06-03T07:45:48.879Z] ---> 4bd4ba6646bd [2021-06-03T07:45:48.879Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-03T07:45:48.879Z] ---> Running in b42a24415717 [2021-06-03T07:45:48.879Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-03T07:45:48.879Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-03T07:45:48.879Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-03T07:45:48.879Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-03T07:45:48.879Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-03T07:45:48.879Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-03T07:45:48.879Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-03T07:45:48.879Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-03T07:45:48.879Z] Executing busybox-1.31.1-r20.trigger [2021-06-03T07:45:48.879Z] OK: 8 MiB in 20 packages [2021-06-03T07:45:48.879Z] Removing intermediate container b42a24415717 [2021-06-03T07:45:48.879Z] ---> 161f1f8a0ccc [2021-06-03T07:45:48.879Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-03T07:45:49.452Z] ---> d2d2752f5b18 [2021-06-03T07:45:49.452Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-03T07:45:49.452Z] ---> 9b683ccb3da9 [2021-06-03T07:45:49.452Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-03T07:45:49.713Z] ---> 14283f9dd6f2 [2021-06-03T07:45:49.714Z] Step 20/25 : EXPOSE 59986 [2021-06-03T07:45:49.714Z] ---> Running in 1600a226b781 [2021-06-03T07:45:49.714Z] Removing intermediate container 1600a226b781 [2021-06-03T07:45:49.714Z] ---> d4ad44f1c976 [2021-06-03T07:45:49.714Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-03T07:45:49.714Z] ---> Running in 855a7efdce16 [2021-06-03T07:45:49.974Z] Removing intermediate container 855a7efdce16 [2021-06-03T07:45:49.974Z] ---> b2b275850bc6 [2021-06-03T07:45:49.974Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-03T07:45:49.974Z] ---> Running in 0d18a5db11e4 [2021-06-03T07:45:49.974Z] Removing intermediate container 0d18a5db11e4 [2021-06-03T07:45:49.974Z] ---> 3b2bec48d4f2 [2021-06-03T07:45:49.974Z] Step 23/25 : LABEL arch=amd64 [2021-06-03T07:45:49.974Z] ---> Running in 47e801014c10 [2021-06-03T07:45:49.974Z] Removing intermediate container 47e801014c10 [2021-06-03T07:45:49.974Z] ---> fc2d1f3b2cc2 [2021-06-03T07:45:49.974Z] Step 24/25 : LABEL git_sha=32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d [2021-06-03T07:45:49.974Z] ---> Running in 8e04bd853a41 [2021-06-03T07:45:50.238Z] Removing intermediate container 8e04bd853a41 [2021-06-03T07:45:50.238Z] ---> 817e5e3e4aaf [2021-06-03T07:45:50.238Z] Step 25/25 : LABEL version=0.0.0 [2021-06-03T07:45:50.238Z] ---> Running in afef9cfbb95f [2021-06-03T07:45:50.238Z] Removing intermediate container afef9cfbb95f [2021-06-03T07:45:50.238Z] ---> 78d80944b41b [2021-06-03T07:45:50.238Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-03T07:45:50.238Z] Successfully built 78d80944b41b [2021-06-03T07:45:50.238Z] 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-06-03T07:45:51.221Z] ---> job-cost.sh [2021-06-03T07:45:51.221Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bHh8 [2021-06-03T07:45:54.947Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-295 in /w/workspace/gexfoundry_device-rest-go_PR-113 [Pipeline] { [Pipeline] ws [2021-06-03T07:45:55.008Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-03T07:45:55.303Z] The recommended git tool is: git [2021-06-03T07:46:01.245Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-03T07:46:01.804Z] using credential edgex-jenkins-ssh [2021-06-03T07:46:01.830Z] Cloning the remote Git repository [2021-06-03T07:46:01.895Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-03T07:46:02.017Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-03T07:46:02.177Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-03T07:46:02.179Z] > git --version # timeout=10 [2021-06-03T07:46:02.204Z] > git --version # 'git version 2.17.1' [2021-06-03T07:46:02.206Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T07:46:02.302Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T07:46:05.097Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-03T07:46:05.124Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-03T07:46:05.156Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-03T07:46:05.203Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-03T07:46:05.204Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T07:46:05.219Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-03T07:46:05.707Z] Merging remotes/origin/master commit e449f7094e73ba5d0241c87d9e59db3ba8d69b80 into PR head commit 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d [2021-06-03T07:46:05.939Z] Merge succeeded, producing 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d [2021-06-03T07:46:05.940Z] Checking out Revision 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d (PR-113) [2021-06-03T07:46:05.724Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T07:46:05.742Z] > git checkout -f 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d # timeout=10 [2021-06-03T07:46:05.837Z] > git remote # timeout=10 [2021-06-03T07:46:05.867Z] > git config --get remote.origin.url # timeout=10 [2021-06-03T07:46:05.883Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-03T07:46:05.896Z] > git merge e449f7094e73ba5d0241c87d9e59db3ba8d69b80 # timeout=10 [2021-06-03T07:46:05.919Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-03T07:46:05.945Z] > git config core.sparsecheckout # timeout=10 [2021-06-03T07:46:05.957Z] > git checkout -f 32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d # timeout=10 [2021-06-03T07:46:10.284Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-03T07:46:10.340Z] > git --version # timeout=10 [2021-06-03T07:46:10.351Z] > git --version # 'git version 2.17.1' [2021-06-03T07:46:10.379Z] fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-03T07:46:10.672Z] [2021-06-03T07:46:10.672Z] GitHub has been notified of this commit’s build result [2021-06-03T07:46:10.672Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-03T07:46:11.941Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-03T07:46:12.443Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-03T07:46:12.813Z] + sudo service docker restart [2021-06-03T07:46:12.813Z] + true [2021-06-03T07:46:13.502Z] lf-activate-venv(): INFO: Adding /tmp/venv-bHh8/bin to PATH [2021-06-03T07:46:13.502Z] INFO: No Stack... [2021-06-03T07:46:13.502Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-03T07:46:13.763Z] INFO: Archiving Costs [Pipeline] sh [2021-06-03T07:46:14.109Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-06-03T07:46:14.109Z] + cut -d, -f6 [Pipeline] lock [2021-06-03T07:46:14.161Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-113-1-stack-cost] [2021-06-03T07:46:14.167Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-113-1-stack-cost] did not exist. Created. [2021-06-03T07:46:14.167Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-113-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-03T07:46:14.598Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-03T07:46:14.686Z] Stashed 1 file(s) [Pipeline] } [2021-06-03T07:46:14.708Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-113-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T07:46:31.257Z] provisioning config files... [2021-06-03T07:46:31.288Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1067293307430864273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:46:31.755Z] ---> docker-login.sh [2021-06-03T07:46:31.755Z] nexus3.edgexfoundry.org:10001 [2021-06-03T07:46:32.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:46:33.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:46:33.024Z] Configure a credential helper to remove this warning. See [2021-06-03T07:46:33.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:46:33.024Z] [2021-06-03T07:46:33.024Z] Login Succeeded [2021-06-03T07:46:33.024Z] nexus3.edgexfoundry.org:10002 [2021-06-03T07:46:33.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:46:33.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:46:33.631Z] Configure a credential helper to remove this warning. See [2021-06-03T07:46:33.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:46:33.631Z] [2021-06-03T07:46:33.631Z] Login Succeeded [2021-06-03T07:46:33.631Z] nexus3.edgexfoundry.org:10003 [2021-06-03T07:46:34.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:46:34.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:46:34.231Z] Configure a credential helper to remove this warning. See [2021-06-03T07:46:34.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:46:34.231Z] [2021-06-03T07:46:34.231Z] Login Succeeded [2021-06-03T07:46:34.231Z] nexus3.edgexfoundry.org:10004 [2021-06-03T07:46:34.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:46:34.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:46:34.830Z] Configure a credential helper to remove this warning. See [2021-06-03T07:46:34.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:46:34.830Z] [2021-06-03T07:46:34.830Z] Login Succeeded [2021-06-03T07:46:34.830Z] docker.io [2021-06-03T07:46:35.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-03T07:46:35.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-03T07:46:35.704Z] Configure a credential helper to remove this warning. See [2021-06-03T07:46:35.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-03T07:46:35.704Z] [2021-06-03T07:46:35.704Z] Login Succeeded [2021-06-03T07:46:35.704Z] ---> docker-login.sh ends [Pipeline] } [2021-06-03T07:46:35.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-03T07:46:36.430Z] ========================================================= [2021-06-03T07:46:36.430Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-03T07:46:36.430Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:46:36.851Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-03T07:46:36.851Z] Sending build context to Docker daemon 92.16kB [2021-06-03T07:46:37.131Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T07:46:37.131Z] Step 2/10 : FROM ${BASE} [2021-06-03T07:46:37.411Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-03T07:46:37.411Z] 595b0fe564bb: Pulling fs layer [2021-06-03T07:46:37.411Z] 7186ed65a4f7: Pulling fs layer [2021-06-03T07:46:37.411Z] 316046926c0a: Pulling fs layer [2021-06-03T07:46:37.411Z] 4ebd0625c992: Pulling fs layer [2021-06-03T07:46:37.411Z] 207e8628e3a3: Pulling fs layer [2021-06-03T07:46:37.411Z] c791037a9be2: Pulling fs layer [2021-06-03T07:46:37.411Z] ffd874e62e21: Pulling fs layer [2021-06-03T07:46:37.411Z] 4ebd0625c992: Waiting [2021-06-03T07:46:37.411Z] 207e8628e3a3: Waiting [2021-06-03T07:46:37.411Z] c791037a9be2: Waiting [2021-06-03T07:46:37.411Z] ffd874e62e21: Waiting [2021-06-03T07:46:37.411Z] 316046926c0a: Verifying Checksum [2021-06-03T07:46:37.411Z] 316046926c0a: Download complete [2021-06-03T07:46:37.411Z] 7186ed65a4f7: Verifying Checksum [2021-06-03T07:46:37.411Z] 7186ed65a4f7: Download complete [2021-06-03T07:46:37.687Z] 207e8628e3a3: Download complete [2021-06-03T07:46:37.687Z] c791037a9be2: Download complete [2021-06-03T07:46:37.687Z] 595b0fe564bb: Verifying Checksum [2021-06-03T07:46:37.687Z] 595b0fe564bb: Download complete [2021-06-03T07:46:38.301Z] 595b0fe564bb: Pull complete [2021-06-03T07:46:38.907Z] 7186ed65a4f7: Pull complete [2021-06-03T07:46:39.184Z] 316046926c0a: Pull complete [2021-06-03T07:46:40.164Z] ffd874e62e21: Verifying Checksum [2021-06-03T07:46:40.164Z] ffd874e62e21: Download complete [2021-06-03T07:46:41.603Z] 4ebd0625c992: Verifying Checksum [2021-06-03T07:46:41.603Z] 4ebd0625c992: Download complete [2021-06-03T07:46:51.771Z] 4ebd0625c992: Pull complete [2021-06-03T07:46:51.771Z] 207e8628e3a3: Pull complete [2021-06-03T07:46:52.368Z] c791037a9be2: Pull complete [2021-06-03T07:46:56.705Z] ffd874e62e21: Pull complete [2021-06-03T07:46:56.705Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-03T07:46:56.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-03T07:46:56.705Z] ---> cfc18b08335c [2021-06-03T07:46:56.705Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-03T07:46:58.686Z] ---> Running in 8430fdc16aa4 [2021-06-03T07:46:59.281Z] Removing intermediate container 8430fdc16aa4 [2021-06-03T07:46:59.281Z] ---> a4377f2e9b12 [2021-06-03T07:46:59.281Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-03T07:46:59.281Z] ---> Running in a0c4cc54a623 [2021-06-03T07:46:59.881Z] Removing intermediate container a0c4cc54a623 [2021-06-03T07:46:59.881Z] ---> 9753ca06d352 [2021-06-03T07:46:59.881Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-03T07:46:59.881Z] ---> Running in d77cc1cff7c4 [2021-06-03T07:47:00.481Z] Removing intermediate container d77cc1cff7c4 [2021-06-03T07:47:00.481Z] ---> 34dfd46092f2 [2021-06-03T07:47:00.481Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T07:47:00.756Z] ---> Running in b461d7ab3353 [2021-06-03T07:47:03.392Z] Removing intermediate container b461d7ab3353 [2021-06-03T07:47:03.392Z] ---> fb0982c97eeb [2021-06-03T07:47:03.392Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-03T07:47:03.392Z] ---> Running in 7a603314bccc [2021-06-03T07:47:04.899Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-03T07:47:05.543Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-03T07:47:06.535Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-03T07:47:06.535Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-03T07:47:06.535Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-03T07:47:06.806Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-03T07:47:06.807Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-03T07:47:06.807Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-03T07:47:07.077Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-03T07:47:07.349Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-03T07:47:07.349Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-03T07:47:07.349Z] Executing busybox-1.32.1-r6.trigger [2021-06-03T07:47:07.624Z] OK: 144 MiB in 49 packages [2021-06-03T07:47:09.061Z] Removing intermediate container 7a603314bccc [2021-06-03T07:47:09.061Z] ---> dd92009b958a [2021-06-03T07:47:09.061Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-03T07:47:09.061Z] ---> Running in 4207e3abce3d [2021-06-03T07:47:09.662Z] Removing intermediate container 4207e3abce3d [2021-06-03T07:47:09.662Z] ---> 4048fefa6133 [2021-06-03T07:47:09.662Z] Step 9/10 : COPY . . [2021-06-03T07:47:10.258Z] ---> e4b39c1bec55 [2021-06-03T07:47:10.258Z] Step 10/10 : RUN go mod download [2021-06-03T07:47:10.543Z] ---> Running in ac812c51f233 [2021-06-03T07:47:37.396Z] Removing intermediate container ac812c51f233 [2021-06-03T07:47:37.396Z] ---> 9b8ad89dfed3 [2021-06-03T07:47:37.396Z] Successfully built 9b8ad89dfed3 [2021-06-03T07:47:37.396Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:47:37.821Z] + docker inspect -f . ci-base-image-arm64 [2021-06-03T07:47:37.821Z] . [Pipeline] withDockerContainer [2021-06-03T07:47:38.136Z] prd-ubuntu18.04-docker-arm64-4c-16g-295 does not seem to be running inside a container [2021-06-03T07:47:38.244Z] $ 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-06-03T07:47:39.985Z] $ docker top 6c8c9bda7cecd650d4f217a93b2f1e87ca30f72b57049996ddecc68560467628 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T07:47:41.043Z] + go version [2021-06-03T07:47:41.043Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-03T07:47:41.080Z] $ docker stop --time=1 6c8c9bda7cecd650d4f217a93b2f1e87ca30f72b57049996ddecc68560467628 [2021-06-03T07:47:42.938Z] $ docker rm -f 6c8c9bda7cecd650d4f217a93b2f1e87ca30f72b57049996ddecc68560467628 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:47:43.964Z] + docker inspect -f . ci-base-image-arm64 [2021-06-03T07:47:43.964Z] . [Pipeline] withDockerContainer [2021-06-03T07:47:44.223Z] prd-ubuntu18.04-docker-arm64-4c-16g-295 does not seem to be running inside a container [2021-06-03T07:47:44.308Z] $ 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-06-03T07:47:45.820Z] $ docker top 099d3594a853c65b9512dadea6f86b15d13e5bb9154808a3a6ad936363aa7a31 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T07:47:46.812Z] + go mod tidy [Pipeline] sh [2021-06-03T07:47:48.105Z] + make test [2021-06-03T07:47:48.105Z] go mod tidy [2021-06-03T07:47:48.377Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-03T07:47:49.836Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-03T07:48:46.468Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-03T07:48:46.468Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 54.0% of statements [2021-06-03T07:48:46.468Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-03T07:49:18.849Z] gofmt -l . [2021-06-03T07:49:18.849Z] [ "`gofmt -l .`" = "" ] [2021-06-03T07:49:18.849Z] ./bin/test-go-mod-tidy.sh [2021-06-03T07:49:18.849Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-03T07:49:18.876Z] $ docker stop --time=1 099d3594a853c65b9512dadea6f86b15d13e5bb9154808a3a6ad936363aa7a31 [2021-06-03T07:49:20.902Z] $ docker rm -f 099d3594a853c65b9512dadea6f86b15d13e5bb9154808a3a6ad936363aa7a31 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-03T07:49:21.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-03T07:49:22.004Z] Warning: overwriting stash ‘coverage-report’ [2021-06-03T07:49:22.603Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-03T07:49:23.333Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-03T07:49:23.700Z] + ls -al . [2021-06-03T07:49:23.700Z] total 132 [2021-06-03T07:49:23.700Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 07:49 . [2021-06-03T07:49:23.700Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 07:46 .. [2021-06-03T07:49:23.700Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 3 07:46 .dockerignore [2021-06-03T07:49:23.700Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 07:46 .git [2021-06-03T07:49:23.700Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 07:46 .github [2021-06-03T07:49:23.700Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 3 07:46 .gitignore [2021-06-03T07:49:23.700Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 3 07:46 Attribution.txt [2021-06-03T07:49:23.700Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 3 07:46 Dockerfile [2021-06-03T07:49:23.700Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 3 07:46 Dockerfile.build [2021-06-03T07:49:23.700Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 3 07:46 Jenkinsfile [2021-06-03T07:49:23.700Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 07:46 LICENSE [2021-06-03T07:49:23.700Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 3 07:46 Makefile [2021-06-03T07:49:23.700Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 3 07:46 README.md [2021-06-03T07:49:23.700Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 07:42 VERSION [2021-06-03T07:49:23.700Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 07:46 bin [2021-06-03T07:49:23.700Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:46 cmd [2021-06-03T07:49:23.700Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 3 07:48 coverage.out [2021-06-03T07:49:23.700Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 07:46 driver [2021-06-03T07:49:23.700Z] -rw-r--r-- 1 jenkins jenkins 285 Jun 3 07:49 go.mod [2021-06-03T07:49:23.700Z] -rw-r--r-- 1 jenkins jenkins 20873 Jun 3 07:47 go.sum [2021-06-03T07:49:23.700Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 07:46 snap [2021-06-03T07:49:23.700Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 3 07:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:49:24.087Z] + 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=32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d --label arch=arm64 --label version=0.0.0 . [2021-06-03T07:49:24.087Z] Sending build context to Docker daemon 101.9kB [2021-06-03T07:49:24.403Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-03T07:49:24.403Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-03T07:49:24.403Z] ---> 9b8ad89dfed3 [2021-06-03T07:49:24.403Z] Step 3/25 : ARG MAKE='make build' [2021-06-03T07:49:24.677Z] ---> Running in 477bb38d140b [2021-06-03T07:49:25.274Z] Removing intermediate container 477bb38d140b [2021-06-03T07:49:25.274Z] ---> 5c34478b99ad [2021-06-03T07:49:25.274Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-03T07:49:25.274Z] ---> Running in 767c94c6bd97 [2021-06-03T07:49:25.875Z] Removing intermediate container 767c94c6bd97 [2021-06-03T07:49:25.875Z] ---> b776fb980490 [2021-06-03T07:49:25.875Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-03T07:49:25.875Z] ---> Running in b337436eef5a [2021-06-03T07:49:26.479Z] Removing intermediate container b337436eef5a [2021-06-03T07:49:26.479Z] ---> 18bfce9500f8 [2021-06-03T07:49:26.479Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-03T07:49:26.754Z] ---> Running in 123608f3930b [2021-06-03T07:49:29.405Z] Removing intermediate container 123608f3930b [2021-06-03T07:49:29.405Z] ---> 3d694415f610 [2021-06-03T07:49:29.405Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-03T07:49:29.405Z] ---> Running in e1abd7feed9f [2021-06-03T07:49:30.867Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-03T07:49:31.486Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-03T07:49:32.490Z] OK: 144 MiB in 49 packages [2021-06-03T07:49:33.937Z] Removing intermediate container e1abd7feed9f [2021-06-03T07:49:33.937Z] ---> 3c542c6fef40 [2021-06-03T07:49:33.937Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-03T07:49:33.937Z] ---> Running in fd22474a0d68 [2021-06-03T07:49:34.558Z] Removing intermediate container fd22474a0d68 [2021-06-03T07:49:34.558Z] ---> 01fcd036f088 [2021-06-03T07:49:34.558Z] Step 9/25 : COPY . . [2021-06-03T07:49:35.538Z] ---> 75db3a544a31 [2021-06-03T07:49:35.538Z] Step 10/25 : RUN go mod tidy [2021-06-03T07:49:35.538Z] ---> Running in 8690193f0ff1 [2021-06-03T07:49:38.192Z] Removing intermediate container 8690193f0ff1 [2021-06-03T07:49:38.192Z] ---> 71aff17c9bf6 [2021-06-03T07:49:38.192Z] Step 11/25 : RUN make update [2021-06-03T07:49:38.465Z] ---> Running in a43acdece478 [2021-06-03T07:49:39.909Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-03T07:49:40.897Z] Removing intermediate container a43acdece478 [2021-06-03T07:49:40.897Z] ---> 6fa7af3ed356 [2021-06-03T07:49:40.897Z] Step 12/25 : RUN $MAKE [2021-06-03T07:49:40.897Z] ---> Running in 4a7a35bdeae5 [2021-06-03T07:49:42.344Z] go mod tidy [2021-06-03T07:49:42.950Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-03T07:50:22.038Z] Removing intermediate container 4a7a35bdeae5 [2021-06-03T07:50:22.038Z] ---> cbbf4c6000c6 [2021-06-03T07:50:22.038Z] Step 13/25 : FROM alpine:3.12 [2021-06-03T07:50:22.038Z] 3.12: Pulling from library/alpine [2021-06-03T07:50:22.038Z] d2f70382dc9a: Pulling fs layer [2021-06-03T07:50:22.038Z] d2f70382dc9a: Download complete [2021-06-03T07:50:22.038Z] d2f70382dc9a: Pull complete [2021-06-03T07:50:22.038Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-03T07:50:22.038Z] Status: Downloaded newer image for alpine:3.12 [2021-06-03T07:50:22.038Z] ---> 9852663dfa18 [2021-06-03T07:50:22.038Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-03T07:50:22.038Z] ---> Running in b945adcd957e [2021-06-03T07:50:22.638Z] Removing intermediate container b945adcd957e [2021-06-03T07:50:22.638Z] ---> e0b47f6fb08a [2021-06-03T07:50:22.638Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-03T07:50:22.638Z] ---> Running in ba49440136b4 [2021-06-03T07:50:23.240Z] Removing intermediate container ba49440136b4 [2021-06-03T07:50:23.240Z] ---> b44b555d9ddb [2021-06-03T07:50:23.240Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-03T07:50:23.240Z] ---> Running in 6b1e76f25866 [2021-06-03T07:50:24.681Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-03T07:50:24.681Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-03T07:50:25.279Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-03T07:50:25.280Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-03T07:50:25.280Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-03T07:50:25.280Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-03T07:50:25.280Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-03T07:50:25.280Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-03T07:50:25.280Z] Executing busybox-1.31.1-r20.trigger [2021-06-03T07:50:25.280Z] OK: 8 MiB in 20 packages [2021-06-03T07:50:26.258Z] Removing intermediate container 6b1e76f25866 [2021-06-03T07:50:26.258Z] ---> 26ebcf08d397 [2021-06-03T07:50:26.258Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-03T07:50:27.688Z] ---> 7b69fdeab5f1 [2021-06-03T07:50:27.688Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-03T07:50:28.288Z] ---> ce02b4e87ad3 [2021-06-03T07:50:28.288Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-03T07:50:28.889Z] ---> 0ec95ae74000 [2021-06-03T07:50:28.889Z] Step 20/25 : EXPOSE 59986 [2021-06-03T07:50:29.163Z] ---> Running in 9de49029ed0b [2021-06-03T07:50:29.764Z] Removing intermediate container 9de49029ed0b [2021-06-03T07:50:29.764Z] ---> f3dca8ed7925 [2021-06-03T07:50:29.764Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-03T07:50:29.764Z] ---> Running in e9fbb81defa7 [2021-06-03T07:50:30.359Z] Removing intermediate container e9fbb81defa7 [2021-06-03T07:50:30.359Z] ---> 82b76345aeaa [2021-06-03T07:50:30.359Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-03T07:50:30.359Z] ---> Running in b78ec7d71581 [2021-06-03T07:50:30.954Z] Removing intermediate container b78ec7d71581 [2021-06-03T07:50:30.954Z] ---> ebca37c172f1 [2021-06-03T07:50:30.954Z] Step 23/25 : LABEL arch=arm64 [2021-06-03T07:50:30.954Z] ---> Running in 6f172e496d43 [2021-06-03T07:50:31.552Z] Removing intermediate container 6f172e496d43 [2021-06-03T07:50:31.552Z] ---> d1dcc6415e24 [2021-06-03T07:50:31.552Z] Step 24/25 : LABEL git_sha=32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d [2021-06-03T07:50:31.827Z] ---> Running in 7eb74a57df28 [2021-06-03T07:50:32.429Z] Removing intermediate container 7eb74a57df28 [2021-06-03T07:50:32.429Z] ---> c80f7559a250 [2021-06-03T07:50:32.429Z] Step 25/25 : LABEL version=0.0.0 [2021-06-03T07:50:32.429Z] ---> Running in 1e45a614c401 [2021-06-03T07:50:33.031Z] Removing intermediate container 1e45a614c401 [2021-06-03T07:50:33.031Z] ---> 4ea383c4a4ea [2021-06-03T07:50:33.031Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-03T07:50:33.031Z] Successfully built 4ea383c4a4ea [2021-06-03T07:50:33.031Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:50:33.919Z] ---> job-cost.sh [2021-06-03T07:50:33.919Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VJrZ [2021-06-03T07:51:20.890Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-03T07:52:42.670Z] lf-activate-venv(): INFO: Adding /tmp/venv-VJrZ/bin to PATH [2021-06-03T07:52:42.670Z] INFO: No Stack... [2021-06-03T07:52:43.266Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-03T07:52:43.539Z] INFO: Archiving Costs [Pipeline] sh [2021-06-03T07:52:43.918Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-06-03T07:52:43.918Z] + cut -d, -f6 [Pipeline] lock [2021-06-03T07:52:44.016Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-113-1-stack-cost] [2021-06-03T07:52:44.022Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-113-1-stack-cost] did not exist. Created. [2021-06-03T07:52:44.022Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-113-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-03T07:52:44.500Z] /w/workspace/device-rest-go/1@tmp/durable-1103f0aa/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-1103f0aa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-03T07:52:44.889Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-03T07:52:44.929Z] Warning: overwriting stash ‘stack-cost’ [2021-06-03T07:52:45.092Z] Stashed 1 file(s) [Pipeline] } [2021-06-03T07:52:45.110Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-113-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-03T07:52:46.042Z] provisioning config files... [2021-06-03T07:52:46.052Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-113@tmp/config8377239867068249601tmp [Pipeline] { [Pipeline] sh [2021-06-03T07:52:46.436Z] + set +x [2021-06-03T07:52:46.436Z] + curl -s https://codecov.io/bash [2021-06-03T07:52:46.436Z] + bash -s -- [2021-06-03T07:52:46.436Z] [2021-06-03T07:52:46.436Z] _____ _ [2021-06-03T07:52:46.436Z] / ____| | | [2021-06-03T07:52:46.436Z] | | ___ __| | ___ ___ _____ __ [2021-06-03T07:52:46.436Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-03T07:52:46.436Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-03T07:52:46.436Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-03T07:52:46.436Z] Bash-1.0.3 [2021-06-03T07:52:46.436Z] [2021-06-03T07:52:46.436Z] [2021-06-03T07:52:46.436Z] ==> git version 2.24.4 found [2021-06-03T07:52:46.436Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-03T07:52:46.436Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-03T07:52:46.436Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-03T07:52:46.436Z] ==> Jenkins CI detected. [2021-06-03T07:52:46.436Z] project root: . [2021-06-03T07:52:46.436Z] --> token set from env [2021-06-03T07:52:46.436Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-03T07:52:46.436Z] ==> Running gcov in . (disable via -X gcov) [2021-06-03T07:52:46.436Z] ==> Python coveragepy not found [2021-06-03T07:52:46.436Z] ==> Searching for coverage reports in: [2021-06-03T07:52:46.436Z] + . [2021-06-03T07:52:46.436Z] -> Found 1 reports [2021-06-03T07:52:46.436Z] ==> Detecting git/mercurial file structure [2021-06-03T07:52:46.701Z] ==> Reading reports [2021-06-03T07:52:46.701Z] + ./coverage.out bytes=8513 [2021-06-03T07:52:46.701Z] ==> Appending adjustments [2021-06-03T07:52:46.701Z] https://docs.codecov.io/docs/fixing-reports [2021-06-03T07:52:46.701Z] + Found adjustments [2021-06-03T07:52:46.701Z] ==> Gzipping contents [2021-06-03T07:52:46.701Z] 4.0K /tmp/codecov.PGklkk.gz [2021-06-03T07:52:46.701Z] ==> Uploading reports [2021-06-03T07:52:46.701Z] url: https://codecov.io [2021-06-03T07:52:46.701Z] query: branch=PR-113&commit=32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=113&job=&cmd_args= [2021-06-03T07:52:46.701Z] -> Pinging Codecov [2021-06-03T07:52:46.701Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-113&commit=32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=113&job=&cmd_args= [2021-06-03T07:52:47.275Z] -> Uploading to [2021-06-03T07:52:47.275Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-03/4E5D53B4F1F92C436F7061BF334D961C/32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d/c8326f86-c1bb-45ba-a452-9b30ac5a411f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210603T075246Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0dcaf55fcb7aba303e7f581e7ff4e6f754a2d91e32289f7cc54b60a3a2110d88 [2021-06-03T07:52:47.275Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-03T07:52:47.275Z] Dload Upload Total Spent Left Speed [2021-06-03T07:52:47.539Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 5293 --:--:-- --:--:-- --:--:-- 5299 [2021-06-03T07:52:47.539Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/32fb31325c1d3dcb101c6ab1262b6a28dbe1d74d [Pipeline] } [2021-06-03T07:52:47.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:52:49.883Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:52:50.514Z] ---> package-listing.sh [2021-06-03T07:52:50.514Z] ++ facter osfamily [2021-06-03T07:52:50.514Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-03T07:52:50.779Z] + OS_FAMILY=redhat [2021-06-03T07:52:50.779Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-113 [2021-06-03T07:52:50.779Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-03T07:52:50.779Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-03T07:52:50.779Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-03T07:52:50.779Z] + PACKAGES=/tmp/packages_start.txt [2021-06-03T07:52:50.779Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-113 ']' [2021-06-03T07:52:50.779Z] + PACKAGES=/tmp/packages_end.txt [2021-06-03T07:52:50.779Z] + case "${OS_FAMILY}" in [2021-06-03T07:52:50.779Z] + rpm -qa [2021-06-03T07:52:50.779Z] + sort [2021-06-03T07:52:51.355Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-03T07:52:51.355Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-03T07:52:51.355Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-03T07:52:51.355Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-113 ']' [2021-06-03T07:52:51.355Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-113/archives/ [2021-06-03T07:52:51.355Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-113/archives/ [Pipeline] echo [2021-06-03T07:52:51.414Z] 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-113/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-03T07:52:51.728Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:52:52.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-03T07:52:52.335Z] [2021-06-03T07:52:52.335Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-03T07:52:52.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-03T07:52:52.689Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-03T07:52:52.689Z] df20fa9351a1: Pulling fs layer [2021-06-03T07:52:52.689Z] 36b3adc4ff6f: Pulling fs layer [2021-06-03T07:52:52.689Z] 8ad3a11d3b57: Pulling fs layer [2021-06-03T07:52:52.689Z] 46f8f816bc3b: Pulling fs layer [2021-06-03T07:52:52.689Z] 93b61091891f: Pulling fs layer [2021-06-03T07:52:52.689Z] 93b9cdb0e59b: Pulling fs layer [2021-06-03T07:52:52.689Z] 5e14af77c1be: Pulling fs layer [2021-06-03T07:52:52.689Z] 01666e4c0597: Pulling fs layer [2021-06-03T07:52:52.689Z] aa168da1d23b: Pulling fs layer [2021-06-03T07:52:52.689Z] 46f8f816bc3b: Waiting [2021-06-03T07:52:52.689Z] 93b61091891f: Waiting [2021-06-03T07:52:52.689Z] 93b9cdb0e59b: Waiting [2021-06-03T07:52:52.689Z] 5e14af77c1be: Waiting [2021-06-03T07:52:52.689Z] 01666e4c0597: Waiting [2021-06-03T07:52:52.689Z] aa168da1d23b: Waiting [2021-06-03T07:52:52.689Z] 36b3adc4ff6f: Verifying Checksum [2021-06-03T07:52:52.689Z] 36b3adc4ff6f: Download complete [2021-06-03T07:52:52.689Z] 46f8f816bc3b: Verifying Checksum [2021-06-03T07:52:52.689Z] 46f8f816bc3b: Download complete [2021-06-03T07:52:52.960Z] df20fa9351a1: Verifying Checksum [2021-06-03T07:52:52.960Z] df20fa9351a1: Download complete [2021-06-03T07:52:52.960Z] 93b9cdb0e59b: Verifying Checksum [2021-06-03T07:52:52.960Z] 93b9cdb0e59b: Download complete [2021-06-03T07:52:52.960Z] 5e14af77c1be: Verifying Checksum [2021-06-03T07:52:52.960Z] 5e14af77c1be: Download complete [2021-06-03T07:52:52.960Z] 01666e4c0597: Verifying Checksum [2021-06-03T07:52:52.960Z] 01666e4c0597: Download complete [2021-06-03T07:52:52.960Z] 93b61091891f: Verifying Checksum [2021-06-03T07:52:52.960Z] 93b61091891f: Download complete [2021-06-03T07:52:52.960Z] 8ad3a11d3b57: Verifying Checksum [2021-06-03T07:52:52.960Z] 8ad3a11d3b57: Download complete [2021-06-03T07:52:52.960Z] df20fa9351a1: Pull complete [2021-06-03T07:52:53.224Z] 36b3adc4ff6f: Pull complete [2021-06-03T07:52:53.811Z] 8ad3a11d3b57: Pull complete [2021-06-03T07:52:53.811Z] 46f8f816bc3b: Pull complete [2021-06-03T07:52:54.383Z] 93b61091891f: Pull complete [2021-06-03T07:52:54.383Z] 93b9cdb0e59b: Pull complete [2021-06-03T07:52:54.643Z] 5e14af77c1be: Pull complete [2021-06-03T07:52:54.643Z] 01666e4c0597: Pull complete [2021-06-03T07:52:54.903Z] aa168da1d23b: Verifying Checksum [2021-06-03T07:52:54.903Z] aa168da1d23b: Download complete [2021-06-03T07:52:59.141Z] aa168da1d23b: Pull complete [2021-06-03T07:52:59.141Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-03T07:52:59.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-03T07:52:59.141Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-03T07:52:59.254Z] prd-centos7-docker-4c-2g-288 does not seem to be running inside a container [2021-06-03T07:52:59.294Z] $ 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-113/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-113 -v /w/workspace/gexfoundry_device-rest-go_PR-113:/w/workspace/gexfoundry_device-rest-go_PR-113:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-113@tmp:/w/workspace/gexfoundry_device-rest-go_PR-113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-03T07:53:02.234Z] $ docker top 2d084bd861cd4c611441fa02c93ac9890a2de9ee59886b662ddc4a4d0d74cfcf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-03T07:53:02.660Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-03T07:53:02.985Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-03T07:53:03.328Z] + ls /var/log/sa-host [2021-06-03T07:53:03.328Z] + sadf -c /var/log/sa-host/sa03 [2021-06-03T07:53:03.328Z] file_magic: OK [2021-06-03T07:53:03.328Z] HZ: Using current value: 100 [2021-06-03T07:53:03.328Z] file_header: OK [2021-06-03T07:53:03.328Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-03T07:53:03.328Z] Statistics: [2021-06-03T07:53:03.328Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-03T07:53:03.328Z] File successfully converted to sysstat format version 12.2.1 [2021-06-03T07:53:03.328Z] + sadf -c /var/log/sa-host/sa05 [2021-06-03T07:53:03.328Z] file_magic: OK [2021-06-03T07:53:03.328Z] HZ: Using current value: 100 [2021-06-03T07:53:03.328Z] file_header: OK [2021-06-03T07:53:03.328Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-03T07:53:03.328Z] Statistics: [2021-06-03T07:53:03.328Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-03T07:53:03.328Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-03T07:53:03.598Z] provisioning config files... [2021-06-03T07:53:03.621Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-113@tmp/config988098905610386418tmp [Pipeline] { [Pipeline] echo [2021-06-03T07:53:03.676Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:53:04.020Z] ---> create-netrc.sh [Pipeline] } [2021-06-03T07:53:04.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-06-03T07:53:04.113Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:53:04.454Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-03T07:53:04.483Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:53:04.825Z] ---> sudo-logs.sh [2021-06-03T07:53:04.825Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-03T07:53:04.905Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:53:05.233Z] ---> job-cost.sh [2021-06-03T07:53:05.233Z] lf-activate-venv: SKIPPING [2021-06-03T07:53:05.233Z] DEBUG: total: 0.18000000715255737 [2021-06-03T07:53:05.233Z] INFO: Retrieving Stack Cost... [2021-06-03T07:53:06.621Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-03T07:53:06.883Z] INFO: Archiving Costs [Pipeline] echo [2021-06-03T07:53:06.915Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-03T07:53:07.254Z] ---> logs-deploy.sh [2021-06-03T07:53:07.254Z] lf-activate-venv: SKIPPING [2021-06-03T07:53:07.254Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-113/1 [2021-06-03T07:53:07.254Z] INFO: archiving workspace using pattern(s): [2021-06-03T07:53:08.200Z] Archives upload complete. [2021-06-03T07:53:08.200Z] INFO: archiving logs to Nexus