Pull request #97 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of tonyespy for edgexfoundry/device-rest-go Loading trusted files from base branch master at 0088b1c14d9fd9deeb4630211d1277bd3e025ddb rather than e393ce8d8fd4646f791651f8b29b323be127be0c Obtained Jenkinsfile from 0088b1c14d9fd9deeb4630211d1277bd3e025ddb 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-97/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-97/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4800 in /w/workspace/dgexfoundry_device-rest-go_PR-97 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-97 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/97/head:refs/remotes/origin/PR-97 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0088b1c14d9fd9deeb4630211d1277bd3e025ddb into PR head commit e393ce8d8fd4646f791651f8b29b323be127be0c Merge succeeded, producing e393ce8d8fd4646f791651f8b29b323be127be0c Checking out Revision e393ce8d8fd4646f791651f8b29b323be127be0c (PR-97) > git config core.sparsecheckout # timeout=10 > git checkout -f e393ce8d8fd4646f791651f8b29b323be127be0c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0088b1c14d9fd9deeb4630211d1277bd3e025ddb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e393ce8d8fd4646f791651f8b29b323be127be0c # timeout=10 Commit message: "fix(snap): run 'go mod tidy'" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T20:05:25.587Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T20:05:25.762Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T20:05:25.871Z] ========================================================= [2021-05-12T20:05:25.871Z] EdgeX Global Pipelines Version Info [2021-05-12T20:05:25.871Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:05:28.093Z] ------------------- [2021-05-12T20:05:28.093Z] stable info: [2021-05-12T20:05:28.093Z] ------------------- [2021-05-12T20:05:28.093Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T20:05:28.093Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:05:28.093Z] Message: update stable to v1.0.192 [2021-05-12T20:05:29.068Z] ------------------- [2021-05-12T20:05:29.068Z] experimental info: [2021-05-12T20:05:29.068Z] ------------------- [2021-05-12T20:05:29.068Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T20:05:29.068Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:05:29.068Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T20:05:29.330Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-12T20:05:29.399Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-12T20:05:29.455Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T20:05:29.546Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T20:05:29.603Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T20:05:29.662Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T20:05:29.719Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T20:05:29.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T20:05:29.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-12T20:05:29.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T20:05:29.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T20:05:30.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-12T20:05:30.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T20:05:30.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T20:05:30.215Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:05:30.282Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:05:30.337Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:05:30.394Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:05:30.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T20:05:30.501Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T20:05:30.552Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-12T20:05:30.604Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-12T20:05:30.661Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T20:05:30.731Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T20:05:30.795Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T20:05:30.856Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T20:05:30.913Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-97 [Pipeline] echo [2021-05-12T20:05:30.971Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-97 [Pipeline] echo [2021-05-12T20:05:31.025Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-97 [Pipeline] echo [2021-05-12T20:05:31.080Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e393ce8d8fd4646f791651f8b29b323be127be0c [Pipeline] echo [2021-05-12T20:05:31.192Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e393ce8 [Pipeline] echo [2021-05-12T20:05:31.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:05:31.421Z] provisioning config files... [2021-05-12T20:05:31.454Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-97@tmp/config1607350348907572567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:05:31.845Z] ---> docker-login.sh [2021-05-12T20:05:31.845Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:05:32.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:05:32.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:05:32.392Z] Configure a credential helper to remove this warning. See [2021-05-12T20:05:32.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:05:32.392Z] [2021-05-12T20:05:32.392Z] Login Succeeded [2021-05-12T20:05:32.392Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:05:32.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:05:32.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:05:32.659Z] Configure a credential helper to remove this warning. See [2021-05-12T20:05:32.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:05:32.659Z] [2021-05-12T20:05:32.659Z] Login Succeeded [2021-05-12T20:05:32.659Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:05:32.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:05:32.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:05:32.927Z] Configure a credential helper to remove this warning. See [2021-05-12T20:05:32.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:05:32.927Z] [2021-05-12T20:05:32.927Z] Login Succeeded [2021-05-12T20:05:32.927Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:05:32.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:05:33.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:05:33.190Z] Configure a credential helper to remove this warning. See [2021-05-12T20:05:33.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:05:33.190Z] [2021-05-12T20:05:33.190Z] Login Succeeded [2021-05-12T20:05:33.190Z] docker.io [2021-05-12T20:05:33.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:05:33.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:05:33.454Z] Configure a credential helper to remove this warning. See [2021-05-12T20:05:33.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:05:33.454Z] [2021-05-12T20:05:33.454Z] Login Succeeded [2021-05-12T20:05:33.454Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:05:33.480Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:05:34.229Z] + git log --format=format:%s -1 e393ce8d8fd4646f791651f8b29b323be127be0c [Pipeline] echo [2021-05-12T20:05:34.369Z] GIT_COMMIT: e393ce8d8fd4646f791651f8b29b323be127be0c, Commit Message: fix(snap): run 'go mod tidy' [Pipeline] echo [2021-05-12T20:05:34.409Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:05:35.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:05:35.009Z] [2021-05-12T20:05:35.009Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:05:35.391Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:05:35.391Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T20:05:35.391Z] 31603596830f: Pulling fs layer [2021-05-12T20:05:35.391Z] 54011a49482f: Pulling fs layer [2021-05-12T20:05:35.391Z] a6820b24f6d8: Pulling fs layer [2021-05-12T20:05:35.391Z] f581987b2513: Pulling fs layer [2021-05-12T20:05:35.391Z] f581987b2513: Waiting [2021-05-12T20:05:35.391Z] 54011a49482f: Verifying Checksum [2021-05-12T20:05:35.391Z] 54011a49482f: Download complete [2021-05-12T20:05:35.674Z] 31603596830f: Download complete [2021-05-12T20:05:35.957Z] f581987b2513: Verifying Checksum [2021-05-12T20:05:35.957Z] f581987b2513: Download complete [2021-05-12T20:05:35.957Z] a6820b24f6d8: Verifying Checksum [2021-05-12T20:05:35.957Z] a6820b24f6d8: Download complete [2021-05-12T20:05:36.230Z] 31603596830f: Pull complete [2021-05-12T20:05:36.502Z] 54011a49482f: Pull complete [2021-05-12T20:05:37.479Z] a6820b24f6d8: Pull complete [2021-05-12T20:05:38.058Z] f581987b2513: Pull complete [2021-05-12T20:05:38.058Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T20:05:38.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:05:38.058Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T20:05:38.265Z] prd-centos7-docker-4c-2g-4800 does not seem to be running inside a container [2021-05-12T20:05:38.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-97 -v /w/workspace/dgexfoundry_device-rest-go_PR-97:/w/workspace/dgexfoundry_device-rest-go_PR-97:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-97@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-97@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:05:40.398Z] $ docker top e2bc6eb227a369e4bf242d0debfbe53aa003c241ccc69fb20641e8f16155cbfc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:05:40.677Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:05:40.677Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:05:40.941Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:05:40.948Z] $ docker exec e2bc6eb227a369e4bf242d0debfbe53aa003c241ccc69fb20641e8f16155cbfc ssh-agent [2021-05-12T20:05:41.125Z] SSH_AUTH_SOCK=/tmp/ssh-DTlIDqFlXKOr/agent.13 [2021-05-12T20:05:41.125Z] SSH_AGENT_PID=18 [2021-05-12T20:05:41.143Z] Running ssh-add (command line suppressed) [2021-05-12T20:05:41.317Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-97@tmp/private_key_321331012815356052.key (/w/workspace/dgexfoundry_device-rest-go_PR-97@tmp/private_key_321331012815356052.key) [2021-05-12T20:05:41.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:05:41.775Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T20:05:41.808Z] $ docker exec --env ******** --env ******** e2bc6eb227a369e4bf242d0debfbe53aa003c241ccc69fb20641e8f16155cbfc ssh-agent -k [2021-05-12T20:05:41.929Z] unset SSH_AUTH_SOCK; [2021-05-12T20:05:41.930Z] unset SSH_AGENT_PID; [2021-05-12T20:05:41.930Z] echo Agent pid 18 killed; [2021-05-12T20:05:41.980Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T20:05:42.071Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:05:42.071Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:05:42.261Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:05:42.267Z] $ docker exec e2bc6eb227a369e4bf242d0debfbe53aa003c241ccc69fb20641e8f16155cbfc ssh-agent [2021-05-12T20:05:42.442Z] SSH_AUTH_SOCK=/tmp/ssh-q9OcxujgTyUS/agent.47 [2021-05-12T20:05:42.442Z] SSH_AGENT_PID=52 [2021-05-12T20:05:42.451Z] Running ssh-add (command line suppressed) [2021-05-12T20:05:42.695Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-97@tmp/private_key_6944364523358424567.key (/w/workspace/dgexfoundry_device-rest-go_PR-97@tmp/private_key_6944364523358424567.key) [2021-05-12T20:05:42.783Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:05:43.147Z] + git semver init [2021-05-12T20:05:43.147Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:05:43.147Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-97/.git [2021-05-12T20:05:43.147Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-97 [2021-05-12T20:05:43.147Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:05:43.147Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:05:43.147Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:05:43.147Z] # $SEMVER_BRANCH = PR-97 [2021-05-12T20:05:43.147Z] # $SEMVER_TEMP = /tmp/semver-566703885 [2021-05-12T20:05:43.147Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-12T20:05:44.575Z] # '/tmp/semver-566703885' -> '/w/workspace/dgexfoundry_device-rest-go_PR-97/.semver' [2021-05-12T20:05:44.575Z] # -> Force: false [2021-05-12T20:05:44.575Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-97/.semver [Pipeline] } [2021-05-12T20:05:44.621Z] $ docker exec --env ******** --env ******** e2bc6eb227a369e4bf242d0debfbe53aa003c241ccc69fb20641e8f16155cbfc ssh-agent -k [2021-05-12T20:05:44.750Z] unset SSH_AUTH_SOCK; [2021-05-12T20:05:44.750Z] unset SSH_AGENT_PID; [2021-05-12T20:05:44.750Z] echo Agent pid 52 killed; [2021-05-12T20:05:44.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:05:45.246Z] + git semver [Pipeline] } [2021-05-12T20:05:45.296Z] $ docker stop --time=1 e2bc6eb227a369e4bf242d0debfbe53aa003c241ccc69fb20641e8f16155cbfc [2021-05-12T20:05:46.806Z] $ docker rm -f e2bc6eb227a369e4bf242d0debfbe53aa003c241ccc69fb20641e8f16155cbfc [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:05:47.413Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T20:05:47.971Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T20:05:47.992Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-12T20:06:03.444Z] Still waiting to schedule task [2021-05-12T20:06:03.444Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-12T20:06:03.468Z] Still waiting to schedule task [2021-05-12T20:06:03.468Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-12T20:08:18.748Z] Running on prd-centos7-docker-4c-2g-4809 in /w/workspace/dgexfoundry_device-rest-go_PR-97 [Pipeline] { [Pipeline] ws [2021-05-12T20:08:18.819Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-12T20:08:22.499Z] using credential edgex-jenkins-ssh [2021-05-12T20:08:22.549Z] Cloning the remote Git repository [2021-05-12T20:08:22.580Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T20:08:22.662Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-12T20:08:22.719Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T20:08:22.720Z] > git --version # timeout=10 [2021-05-12T20:08:22.726Z] > git --version # 'git version 2.24.3' [2021-05-12T20:08:22.727Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:08:22.754Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:08:23.770Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T20:08:23.778Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:08:24.243Z] Merging remotes/origin/master commit 0088b1c14d9fd9deeb4630211d1277bd3e025ddb into PR head commit e393ce8d8fd4646f791651f8b29b323be127be0c [2021-05-12T20:08:24.336Z] Merge succeeded, producing e393ce8d8fd4646f791651f8b29b323be127be0c [2021-05-12T20:08:24.336Z] Checking out Revision e393ce8d8fd4646f791651f8b29b323be127be0c (PR-97) [2021-05-12T20:08:23.794Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T20:08:23.811Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T20:08:23.811Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:08:23.816Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/97/head:refs/remotes/origin/PR-97 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:08:24.253Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:08:24.261Z] > git checkout -f e393ce8d8fd4646f791651f8b29b323be127be0c # timeout=10 [2021-05-12T20:08:24.298Z] > git remote # timeout=10 [2021-05-12T20:08:24.305Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T20:08:24.311Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:08:24.316Z] > git merge 0088b1c14d9fd9deeb4630211d1277bd3e025ddb # timeout=10 [2021-05-12T20:08:24.330Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T20:08:24.340Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:08:24.346Z] > git checkout -f e393ce8d8fd4646f791651f8b29b323be127be0c # timeout=10 [2021-05-12T20:08:28.976Z] Commit message: "fix(snap): run 'go mod tidy'" [2021-05-12T20:08:29.006Z] > git --version # timeout=10 [2021-05-12T20:08:29.010Z] > git --version # 'git version 2.24.3' [2021-05-12T20:08:29.018Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:08:30.530Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:08:30.947Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:08:31.297Z] + true [2021-05-12T20:08:31.297Z] + sudo service docker restart [2021-05-12T20:08:31.297Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:08:32.907Z] provisioning config files... [2021-05-12T20:08:32.942Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4689947209694334060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:08:33.376Z] ---> docker-login.sh [2021-05-12T20:08:33.377Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:08:33.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:08:33.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:08:33.923Z] Configure a credential helper to remove this warning. See [2021-05-12T20:08:33.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:08:33.923Z] [2021-05-12T20:08:33.923Z] Login Succeeded [2021-05-12T20:08:33.923Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:08:34.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:08:34.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:08:34.193Z] Configure a credential helper to remove this warning. See [2021-05-12T20:08:34.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:08:34.193Z] [2021-05-12T20:08:34.193Z] Login Succeeded [2021-05-12T20:08:34.193Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:08:34.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:08:34.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:08:34.457Z] Configure a credential helper to remove this warning. See [2021-05-12T20:08:34.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:08:34.457Z] [2021-05-12T20:08:34.457Z] Login Succeeded [2021-05-12T20:08:34.457Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:08:34.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:08:34.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:08:34.983Z] Configure a credential helper to remove this warning. See [2021-05-12T20:08:34.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:08:34.983Z] [2021-05-12T20:08:34.983Z] Login Succeeded [2021-05-12T20:08:34.983Z] docker.io [2021-05-12T20:08:34.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:08:35.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:08:35.252Z] Configure a credential helper to remove this warning. See [2021-05-12T20:08:35.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:08:35.252Z] [2021-05-12T20:08:35.252Z] Login Succeeded [2021-05-12T20:08:35.252Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:08:35.278Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:08:35.672Z] ========================================================= [2021-05-12T20:08:35.672Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T20:08:35.672Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:08:36.044Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-12T20:08:36.044Z] Sending build context to Docker daemon 92.16kB [2021-05-12T20:08:36.044Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:08:36.044Z] Step 2/10 : FROM ${BASE} [2021-05-12T20:08:36.350Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T20:08:36.350Z] 540db60ca938: Pulling fs layer [2021-05-12T20:08:36.350Z] adcc1eea9eea: Pulling fs layer [2021-05-12T20:08:36.350Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T20:08:36.350Z] 0510c868ecb4: Pulling fs layer [2021-05-12T20:08:36.350Z] afea3b2eda06: Pulling fs layer [2021-05-12T20:08:36.350Z] 7809a108b3ef: Pulling fs layer [2021-05-12T20:08:36.350Z] f706445af74f: Pulling fs layer [2021-05-12T20:08:36.350Z] 0510c868ecb4: Waiting [2021-05-12T20:08:36.350Z] 7809a108b3ef: Waiting [2021-05-12T20:08:36.350Z] afea3b2eda06: Waiting [2021-05-12T20:08:36.350Z] f706445af74f: Waiting [2021-05-12T20:08:36.350Z] 4c4ab2625f07: Download complete [2021-05-12T20:08:36.350Z] adcc1eea9eea: Verifying Checksum [2021-05-12T20:08:36.350Z] adcc1eea9eea: Download complete [2021-05-12T20:08:36.350Z] afea3b2eda06: Verifying Checksum [2021-05-12T20:08:36.350Z] afea3b2eda06: Download complete [2021-05-12T20:08:36.350Z] 7809a108b3ef: Verifying Checksum [2021-05-12T20:08:36.350Z] 7809a108b3ef: Download complete [2021-05-12T20:08:36.350Z] 540db60ca938: Verifying Checksum [2021-05-12T20:08:36.350Z] 540db60ca938: Download complete [2021-05-12T20:08:36.639Z] 540db60ca938: Pull complete [2021-05-12T20:08:36.919Z] adcc1eea9eea: Pull complete [2021-05-12T20:08:36.919Z] 4c4ab2625f07: Pull complete [2021-05-12T20:08:37.876Z] f706445af74f: Verifying Checksum [2021-05-12T20:08:37.876Z] f706445af74f: Download complete [2021-05-12T20:08:38.892Z] 0510c868ecb4: Verifying Checksum [2021-05-12T20:08:38.892Z] 0510c868ecb4: Download complete [2021-05-12T20:08:45.617Z] 0510c868ecb4: Pull complete [2021-05-12T20:08:45.617Z] afea3b2eda06: Pull complete [2021-05-12T20:08:45.617Z] 7809a108b3ef: Pull complete [2021-05-12T20:08:52.296Z] f706445af74f: Pull complete [2021-05-12T20:08:52.296Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T20:08:52.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T20:08:52.296Z] ---> b068be0155e3 [2021-05-12T20:08:52.296Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:08:52.296Z] ---> Running in 58c70787c386 [2021-05-12T20:08:52.567Z] Removing intermediate container 58c70787c386 [2021-05-12T20:08:52.568Z] ---> 89cff3e034d1 [2021-05-12T20:08:52.568Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:08:52.568Z] ---> Running in 5c0e42ba9239 [2021-05-12T20:08:52.568Z] Removing intermediate container 5c0e42ba9239 [2021-05-12T20:08:52.568Z] ---> 0d509f26fa2e [2021-05-12T20:08:52.568Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T20:08:52.852Z] ---> Running in a0428832c987 [2021-05-12T20:08:52.852Z] Removing intermediate container a0428832c987 [2021-05-12T20:08:52.852Z] ---> 9a14b4bbf727 [2021-05-12T20:08:52.852Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:08:53.124Z] ---> Running in bb59361dbbde [2021-05-12T20:08:54.553Z] Removing intermediate container bb59361dbbde [2021-05-12T20:08:54.553Z] ---> 31b4144918ac [2021-05-12T20:08:54.553Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:08:54.553Z] ---> Running in c144c0ea8037 [2021-05-12T20:08:55.991Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:08:56.966Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:08:57.555Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-12T20:08:57.834Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-12T20:08:58.106Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-12T20:08:58.106Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:08:58.372Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:08:58.638Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-12T20:08:58.638Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:09:00.614Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-12T20:09:00.614Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:09:00.614Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:09:00.614Z] OK: 154 MiB in 49 packages [2021-05-12T20:09:02.043Z] Removing intermediate container c144c0ea8037 [2021-05-12T20:09:02.043Z] ---> d5ca335cb779 [2021-05-12T20:09:02.043Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-12T20:09:02.043Z] ---> Running in 6350e19c9a45 [2021-05-12T20:09:02.043Z] Removing intermediate container 6350e19c9a45 [2021-05-12T20:09:02.043Z] ---> cc9d18cad86e [2021-05-12T20:09:02.043Z] Step 9/10 : COPY . . [2021-05-12T20:09:02.627Z] ---> 99fec23d0164 [2021-05-12T20:09:02.627Z] Step 10/10 : RUN go mod download [2021-05-12T20:09:02.627Z] ---> Running in 36ca707190a3 [2021-05-12T20:09:23.810Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4811 in /w/workspace/dgexfoundry_device-rest-go_PR-97 [Pipeline] { [Pipeline] ws [2021-05-12T20:09:23.892Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-12T20:09:29.406Z] Removing intermediate container 36ca707190a3 [2021-05-12T20:09:29.406Z] ---> c0feaa8ca879 [2021-05-12T20:09:29.406Z] Successfully built c0feaa8ca879 [2021-05-12T20:09:29.406Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:09:29.799Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:09:29.799Z] . [Pipeline] withDockerContainer [2021-05-12T20:09:29.952Z] prd-centos7-docker-4c-2g-4809 does not seem to be running inside a container [2021-05-12T20:09:29.967Z] using credential edgex-jenkins-ssh [2021-05-12T20:09:29.989Z] Cloning the remote Git repository [2021-05-12T20:09:30.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T20:09:30.116Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T20:09:30.261Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-12T20:09:31.170Z] $ docker top 2c8f7d6eeaa60e9032260f30c2d6df82059e43d22a9e07f340187e80c8bed5b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:09:30.320Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T20:09:30.321Z] > git --version # timeout=10 [2021-05-12T20:09:30.336Z] > git --version # 'git version 2.17.1' [2021-05-12T20:09:30.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:09:30.421Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:09:31.868Z] + go version [2021-05-12T20:09:31.868Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T20:09:31.912Z] $ docker stop --time=1 2c8f7d6eeaa60e9032260f30c2d6df82059e43d22a9e07f340187e80c8bed5b8 [2021-05-12T20:09:32.736Z] Merging remotes/origin/master commit 0088b1c14d9fd9deeb4630211d1277bd3e025ddb into PR head commit e393ce8d8fd4646f791651f8b29b323be127be0c [2021-05-12T20:09:32.063Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T20:09:32.089Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:09:32.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T20:09:32.143Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T20:09:32.144Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:09:32.156Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/97/head:refs/remotes/origin/PR-97 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:09:32.755Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:09:32.772Z] > git checkout -f e393ce8d8fd4646f791651f8b29b323be127be0c # timeout=10 [2021-05-12T20:09:32.844Z] > git remote # timeout=10 [2021-05-12T20:09:32.861Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T20:09:32.874Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:09:32.883Z] > git merge 0088b1c14d9fd9deeb4630211d1277bd3e025ddb # timeout=10 [2021-05-12T20:09:32.904Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T20:09:32.920Z] Merge succeeded, producing e393ce8d8fd4646f791651f8b29b323be127be0c [2021-05-12T20:09:32.921Z] Checking out Revision e393ce8d8fd4646f791651f8b29b323be127be0c (PR-97) [2021-05-12T20:09:33.409Z] $ docker rm -f 2c8f7d6eeaa60e9032260f30c2d6df82059e43d22a9e07f340187e80c8bed5b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:09:34.324Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:09:34.324Z] . [2021-05-12T20:09:32.926Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:09:32.942Z] > git checkout -f e393ce8d8fd4646f791651f8b29b323be127be0c # timeout=10 [Pipeline] withDockerContainer [2021-05-12T20:09:34.481Z] prd-centos7-docker-4c-2g-4809 does not seem to be running inside a container [2021-05-12T20:09:34.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T20:09:35.241Z] $ docker top 4e13ee31bdbc310e79bc6e6597d1a98d96fe8ea8e592bc3fd025471dcc9d8d53 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:09:35.809Z] + go mod tidy [Pipeline] sh [2021-05-12T20:09:36.731Z] + make test [2021-05-12T20:09:36.731Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-12T20:09:37.360Z] Commit message: "fix(snap): run 'go mod tidy'" [2021-05-12T20:09:37.439Z] > git --version # timeout=10 [2021-05-12T20:09:37.450Z] > git --version # 'git version 2.17.1' [2021-05-12T20:09:37.463Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:09:38.215Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-12T20:09:39.166Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:09:39.595Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:09:39.964Z] + + truesudo [2021-05-12T20:09:39.964Z] service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:09:42.088Z] provisioning config files... [2021-05-12T20:09:42.176Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2201808371901998839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:09:42.601Z] ---> docker-login.sh [2021-05-12T20:09:42.602Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:09:43.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:09:43.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:09:43.860Z] Configure a credential helper to remove this warning. See [2021-05-12T20:09:43.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:09:43.860Z] [2021-05-12T20:09:43.860Z] Login Succeeded [2021-05-12T20:09:43.860Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:09:44.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:09:44.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:09:44.434Z] Configure a credential helper to remove this warning. See [2021-05-12T20:09:44.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:09:44.434Z] [2021-05-12T20:09:44.434Z] Login Succeeded [2021-05-12T20:09:44.434Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:09:44.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:09:44.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:09:44.988Z] Configure a credential helper to remove this warning. See [2021-05-12T20:09:44.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:09:44.988Z] [2021-05-12T20:09:44.988Z] Login Succeeded [2021-05-12T20:09:44.988Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:09:45.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:09:45.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:09:45.536Z] Configure a credential helper to remove this warning. See [2021-05-12T20:09:45.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:09:45.536Z] [2021-05-12T20:09:45.536Z] Login Succeeded [2021-05-12T20:09:45.536Z] docker.io [2021-05-12T20:09:45.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:09:46.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:09:46.408Z] Configure a credential helper to remove this warning. See [2021-05-12T20:09:46.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:09:46.408Z] [2021-05-12T20:09:46.408Z] Login Succeeded [2021-05-12T20:09:46.408Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:09:46.440Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:09:46.883Z] ========================================================= [2021-05-12T20:09:46.883Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T20:09:46.883Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:09:47.274Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-12T20:09:47.274Z] Sending build context to Docker daemon 92.16kB [2021-05-12T20:09:47.548Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:09:47.548Z] Step 2/10 : FROM ${BASE} [2021-05-12T20:09:47.821Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T20:09:47.821Z] 595b0fe564bb: Pulling fs layer [2021-05-12T20:09:47.821Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T20:09:47.821Z] 316046926c0a: Pulling fs layer [2021-05-12T20:09:47.821Z] 4ebd0625c992: Pulling fs layer [2021-05-12T20:09:47.821Z] 207e8628e3a3: Pulling fs layer [2021-05-12T20:09:47.821Z] c791037a9be2: Pulling fs layer [2021-05-12T20:09:47.821Z] ffd874e62e21: Pulling fs layer [2021-05-12T20:09:47.821Z] 207e8628e3a3: Waiting [2021-05-12T20:09:47.821Z] c791037a9be2: Waiting [2021-05-12T20:09:47.821Z] 4ebd0625c992: Waiting [2021-05-12T20:09:47.821Z] ffd874e62e21: Waiting [2021-05-12T20:09:47.821Z] 316046926c0a: Verifying Checksum [2021-05-12T20:09:47.821Z] 316046926c0a: Download complete [2021-05-12T20:09:47.821Z] 7186ed65a4f7: Verifying Checksum [2021-05-12T20:09:47.821Z] 7186ed65a4f7: Download complete [2021-05-12T20:09:47.821Z] 207e8628e3a3: Verifying Checksum [2021-05-12T20:09:47.821Z] 207e8628e3a3: Download complete [2021-05-12T20:09:47.821Z] c791037a9be2: Download complete [2021-05-12T20:09:48.099Z] 595b0fe564bb: Verifying Checksum [2021-05-12T20:09:48.099Z] 595b0fe564bb: Download complete [2021-05-12T20:09:48.706Z] 595b0fe564bb: Pull complete [2021-05-12T20:09:49.323Z] 7186ed65a4f7: Pull complete [2021-05-12T20:09:49.599Z] 316046926c0a: Pull complete [2021-05-12T20:09:50.206Z] ffd874e62e21: Download complete [2021-05-12T20:09:51.644Z] 4ebd0625c992: Verifying Checksum [2021-05-12T20:09:51.644Z] 4ebd0625c992: Download complete [2021-05-12T20:10:00.821Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-12T20:10:00.821Z] ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 54.0% of statements [2021-05-12T20:10:00.821Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:10:01.865Z] 4ebd0625c992: Pull complete [2021-05-12T20:10:01.866Z] 207e8628e3a3: Pull complete [2021-05-12T20:10:02.470Z] c791037a9be2: Pull complete [2021-05-12T20:10:05.877Z] ffd874e62e21: Pull complete [2021-05-12T20:10:05.877Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T20:10:05.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T20:10:05.877Z] ---> cfc18b08335c [2021-05-12T20:10:05.877Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:10:08.506Z] ---> Running in e0b2d16e3de0 [2021-05-12T20:10:08.778Z] Removing intermediate container e0b2d16e3de0 [2021-05-12T20:10:08.778Z] ---> 52515e53fa42 [2021-05-12T20:10:08.778Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:10:09.059Z] ---> Running in c8c7ed65335a [2021-05-12T20:10:09.336Z] Removing intermediate container c8c7ed65335a [2021-05-12T20:10:09.336Z] ---> 8e13ba9bde9b [2021-05-12T20:10:09.336Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T20:10:09.611Z] ---> Running in 150a2d2b954e [2021-05-12T20:10:10.211Z] Removing intermediate container 150a2d2b954e [2021-05-12T20:10:10.211Z] ---> de7732e6ed93 [2021-05-12T20:10:10.211Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:10:10.211Z] ---> Running in 35b16b7a2fec [2021-05-12T20:10:10.939Z] gofmt -l . [2021-05-12T20:10:10.939Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:10:10.939Z] ./bin/test-go-mod-tidy.sh [2021-05-12T20:10:10.939Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-12T20:10:10.993Z] $ docker stop --time=1 4e13ee31bdbc310e79bc6e6597d1a98d96fe8ea8e592bc3fd025471dcc9d8d53 [2021-05-12T20:10:12.844Z] Removing intermediate container 35b16b7a2fec [2021-05-12T20:10:12.844Z] ---> 7ee75c3b8a73 [2021-05-12T20:10:12.845Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:10:12.845Z] ---> Running in e10954fdaaf9 [2021-05-12T20:10:13.733Z] $ docker rm -f 4e13ee31bdbc310e79bc6e6597d1a98d96fe8ea8e592bc3fd025471dcc9d8d53 [2021-05-12T20:10:13.826Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:10:14.493Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:10:14.825Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:10:14.915Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-12T20:10:15.813Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-12T20:10:15.813Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-12T20:10:15.813Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-12T20:10:15.813Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:10:16.083Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:10:16.083Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-12T20:10:16.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:10:16.361Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:10:16.435Z] + ls -al . [2021-05-12T20:10:16.435Z] total 104 [2021-05-12T20:10:16.435Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 12 20:10 . [2021-05-12T20:10:16.435Z] drwxrwxr-x. 4 jenkins jenkins 28 May 12 20:08 .. [2021-05-12T20:10:16.435Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 12 20:08 Attribution.txt [2021-05-12T20:10:16.435Z] drwxrwxr-x. 2 jenkins jenkins 64 May 12 20:08 bin [2021-05-12T20:10:16.435Z] drwxrwxr-x. 3 jenkins jenkins 32 May 12 20:08 cmd [2021-05-12T20:10:16.435Z] -rw-r--r--. 1 jenkins jenkins 8513 May 12 20:09 coverage.out [2021-05-12T20:10:16.435Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 12 20:08 Dockerfile [2021-05-12T20:10:16.435Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 12 20:08 Dockerfile.build [2021-05-12T20:10:16.435Z] -rw-rw-r--. 1 jenkins jenkins 151 May 12 20:08 .dockerignore [2021-05-12T20:10:16.435Z] drwxrwxr-x. 2 jenkins jenkins 76 May 12 20:08 driver [2021-05-12T20:10:16.435Z] drwxrwxr-x. 8 jenkins jenkins 179 May 12 20:08 .git [2021-05-12T20:10:16.435Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 20:08 .github [2021-05-12T20:10:16.435Z] -rw-rw-r--. 1 jenkins jenkins 339 May 12 20:08 .gitignore [2021-05-12T20:10:16.435Z] -rw-r--r--. 1 jenkins jenkins 285 May 12 20:10 go.mod [2021-05-12T20:10:16.435Z] -rw-r--r--. 1 jenkins jenkins 21011 May 12 20:09 go.sum [2021-05-12T20:10:16.435Z] -rw-rw-r--. 1 jenkins jenkins 680 May 12 20:08 Jenkinsfile [2021-05-12T20:10:16.435Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 12 20:08 LICENSE [2021-05-12T20:10:16.435Z] -rw-rw-r--. 1 jenkins jenkins 976 May 12 20:08 Makefile [2021-05-12T20:10:16.435Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 12 20:08 README.md [2021-05-12T20:10:16.435Z] drwxrwxr-x. 4 jenkins jenkins 71 May 12 20:08 snap [2021-05-12T20:10:16.435Z] -rw-rw-r--. 1 jenkins jenkins 5 May 12 20:05 VERSION [2021-05-12T20:10:16.435Z] -rw-rw-r--. 1 jenkins jenkins 713 May 12 20:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:10:16.635Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-12T20:10:16.635Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:10:16.786Z] + 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=e393ce8d8fd4646f791651f8b29b323be127be0c --label arch=amd64 --label version=0.0.0 . [2021-05-12T20:10:16.786Z] Sending build context to Docker daemon 101.9kB [2021-05-12T20:10:16.908Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:10:16.908Z] OK: 144 MiB in 49 packages [2021-05-12T20:10:17.053Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:10:17.053Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-12T20:10:17.053Z] ---> c0feaa8ca879 [2021-05-12T20:10:17.053Z] Step 3/24 : ARG MAKE='make build' [2021-05-12T20:10:17.053Z] ---> Running in 546b4cfcb0a0 [2021-05-12T20:10:17.321Z] Removing intermediate container 546b4cfcb0a0 [2021-05-12T20:10:17.321Z] ---> 82cfdecd9428 [2021-05-12T20:10:17.321Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:10:17.321Z] ---> Running in b85633cc327f [2021-05-12T20:10:17.585Z] Removing intermediate container b85633cc327f [2021-05-12T20:10:17.585Z] ---> 53c68369d2dd [2021-05-12T20:10:17.585Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:10:17.585Z] ---> Running in eaff6ac76020 [2021-05-12T20:10:17.852Z] Removing intermediate container eaff6ac76020 [2021-05-12T20:10:17.852Z] ---> e65a188bf9d9 [2021-05-12T20:10:17.852Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:10:17.852Z] ---> Running in e74e33b54d2f [2021-05-12T20:10:18.363Z] Removing intermediate container e10954fdaaf9 [2021-05-12T20:10:18.363Z] ---> 82a77d833a7c [2021-05-12T20:10:18.363Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-12T20:10:18.645Z] ---> Running in b3fc105674b3 [2021-05-12T20:10:18.850Z] Removing intermediate container e74e33b54d2f [2021-05-12T20:10:18.851Z] ---> 9482979d602a [2021-05-12T20:10:18.851Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:10:18.851Z] ---> Running in 7e13d3629e89 [2021-05-12T20:10:18.918Z] Removing intermediate container b3fc105674b3 [2021-05-12T20:10:18.919Z] ---> 06a40e4bc517 [2021-05-12T20:10:18.919Z] Step 9/10 : COPY . . [2021-05-12T20:10:19.449Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:10:19.910Z] ---> 8f7aeba1532f [2021-05-12T20:10:19.910Z] Step 10/10 : RUN go mod download [2021-05-12T20:10:19.910Z] ---> Running in e16209fff867 [2021-05-12T20:10:20.414Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:10:20.698Z] OK: 154 MiB in 49 packages [2021-05-12T20:10:21.276Z] Removing intermediate container 7e13d3629e89 [2021-05-12T20:10:21.276Z] ---> e718685528f2 [2021-05-12T20:10:21.276Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-12T20:10:21.276Z] ---> Running in d3382f1a713e [2021-05-12T20:10:21.544Z] Removing intermediate container d3382f1a713e [2021-05-12T20:10:21.544Z] ---> a6de17adaa23 [2021-05-12T20:10:21.544Z] Step 9/24 : COPY . . [2021-05-12T20:10:21.816Z] ---> b8890c766765 [2021-05-12T20:10:21.816Z] Step 10/24 : RUN make update [2021-05-12T20:10:21.816Z] ---> Running in dcea5ee9797a [2021-05-12T20:10:22.403Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-12T20:10:22.996Z] Removing intermediate container dcea5ee9797a [2021-05-12T20:10:22.996Z] ---> 6710df193e77 [2021-05-12T20:10:22.996Z] Step 11/24 : RUN $MAKE [2021-05-12T20:10:23.262Z] ---> Running in 364b68516fda [2021-05-12T20:10:23.867Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-05-12T20:10:38.940Z] Removing intermediate container 364b68516fda [2021-05-12T20:10:38.940Z] ---> a058c20b2c82 [2021-05-12T20:10:38.940Z] Step 12/24 : FROM alpine:3.12 [2021-05-12T20:10:38.940Z] 3.12: Pulling from library/alpine [2021-05-12T20:10:38.940Z] 339de151aab4: Pulling fs layer [2021-05-12T20:10:38.940Z] 339de151aab4: Verifying Checksum [2021-05-12T20:10:38.941Z] 339de151aab4: Download complete [2021-05-12T20:10:38.941Z] 339de151aab4: Pull complete [2021-05-12T20:10:38.941Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:10:38.941Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:10:38.941Z] ---> 13621d1b12d4 [2021-05-12T20:10:38.941Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T20:10:39.204Z] ---> Running in 3f40b6eb87bf [2021-05-12T20:10:39.466Z] Removing intermediate container 3f40b6eb87bf [2021-05-12T20:10:39.466Z] ---> e7d9aaab94e8 [2021-05-12T20:10:39.466Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-12T20:10:39.466Z] ---> Running in 047ac0bebe10 [2021-05-12T20:10:39.731Z] Removing intermediate container 047ac0bebe10 [2021-05-12T20:10:39.731Z] ---> 06fdf67b965d [2021-05-12T20:10:39.731Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:10:39.731Z] ---> Running in 8fa7eae9966f [2021-05-12T20:10:40.310Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:10:40.310Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:10:40.575Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:10:40.575Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:10:40.575Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:10:40.575Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:10:40.575Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:10:40.575Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:10:40.575Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:10:40.575Z] OK: 8 MiB in 20 packages [2021-05-12T20:10:41.152Z] Removing intermediate container 8fa7eae9966f [2021-05-12T20:10:41.152Z] ---> 2f6011785ade [2021-05-12T20:10:41.152Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-12T20:10:42.105Z] ---> 2bfdddbebd8d [2021-05-12T20:10:42.105Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-12T20:10:42.370Z] ---> 7d547205c268 [2021-05-12T20:10:42.370Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-12T20:10:42.637Z] ---> 92bdc229c397 [2021-05-12T20:10:42.637Z] Step 19/24 : EXPOSE 49986 [2021-05-12T20:10:42.899Z] ---> Running in e2358c2f7fac [2021-05-12T20:10:43.164Z] Removing intermediate container e2358c2f7fac [2021-05-12T20:10:43.164Z] ---> ae16cb4829be [2021-05-12T20:10:43.164Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-12T20:10:43.164Z] ---> Running in a45e6da98ec7 [2021-05-12T20:10:43.164Z] Removing intermediate container a45e6da98ec7 [2021-05-12T20:10:43.164Z] ---> b79948216694 [2021-05-12T20:10:43.164Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-12T20:10:43.428Z] ---> Running in 89ef2078d884 [2021-05-12T20:10:43.428Z] Removing intermediate container 89ef2078d884 [2021-05-12T20:10:43.428Z] ---> 3c5d15882e13 [2021-05-12T20:10:43.428Z] Step 22/24 : LABEL arch=amd64 [2021-05-12T20:10:43.428Z] ---> Running in 7e40f3ca0e08 [2021-05-12T20:10:43.697Z] Removing intermediate container 7e40f3ca0e08 [2021-05-12T20:10:43.697Z] ---> 767212294b20 [2021-05-12T20:10:43.697Z] Step 23/24 : LABEL git_sha=e393ce8d8fd4646f791651f8b29b323be127be0c [2021-05-12T20:10:43.697Z] ---> Running in 3d5073bd6042 [2021-05-12T20:10:43.962Z] Removing intermediate container 3d5073bd6042 [2021-05-12T20:10:43.962Z] ---> d1e1254aedcc [2021-05-12T20:10:43.962Z] Step 24/24 : LABEL version=0.0.0 [2021-05-12T20:10:43.962Z] ---> Running in 2b05176322aa [2021-05-12T20:10:44.227Z] Removing intermediate container 2b05176322aa [2021-05-12T20:10:44.227Z] ---> a1ca83b55259 [2021-05-12T20:10:44.227Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:10:44.227Z] Successfully built a1ca83b55259 [2021-05-12T20:10:44.227Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:10:45.062Z] ---> job-cost.sh [2021-05-12T20:10:45.062Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3pXD [2021-05-12T20:10:46.841Z] Removing intermediate container e16209fff867 [2021-05-12T20:10:46.841Z] ---> 7aa893e6765c [2021-05-12T20:10:46.841Z] Successfully built 7aa893e6765c [2021-05-12T20:10:46.841Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:10:47.214Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:10:47.214Z] . [Pipeline] withDockerContainer [2021-05-12T20:10:47.507Z] prd-ubuntu18.04-docker-arm64-4c-16g-4811 does not seem to be running inside a container [2021-05-12T20:10:47.632Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T20:10:48.982Z] $ docker top ee059a6fa98b367a9178672a8f37706f2c390901e9082f1340088685cfce9e48 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:10:49.957Z] + go version [2021-05-12T20:10:49.957Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T20:10:49.999Z] $ docker stop --time=1 ee059a6fa98b367a9178672a8f37706f2c390901e9082f1340088685cfce9e48 [2021-05-12T20:10:52.043Z] $ docker rm -f ee059a6fa98b367a9178672a8f37706f2c390901e9082f1340088685cfce9e48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:10:53.117Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:10:53.117Z] . [Pipeline] withDockerContainer [2021-05-12T20:10:53.423Z] prd-ubuntu18.04-docker-arm64-4c-16g-4811 does not seem to be running inside a container [2021-05-12T20:10:53.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T20:10:55.062Z] $ docker top fc1c4394587cdbb601ec5344114f83cdc9c1152d364ed342320fe6423371782d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:10:56.074Z] + go mod tidy [Pipeline] sh [2021-05-12T20:10:57.374Z] + make test [2021-05-12T20:10:57.374Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-12T20:10:58.818Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-12T20:11:03.781Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:11:30.477Z] lf-activate-venv(): INFO: Adding /tmp/venv-3pXD/bin to PATH [2021-05-12T20:11:30.477Z] INFO: No Stack... [2021-05-12T20:11:30.477Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:11:30.477Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:11:30.862Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-12T20:11:30.862Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T20:11:31.046Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-97-1-stack-cost] [2021-05-12T20:11:31.052Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-97-1-stack-cost] did not exist. Created. [2021-05-12T20:11:31.052Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-97-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:11:31.502Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T20:11:31.653Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:11:31.677Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-97-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T20:11:55.434Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-12T20:11:55.434Z] ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 54.0% of statements [2021-05-12T20:11:55.434Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:12:17.635Z] gofmt -l . [2021-05-12T20:12:17.635Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:12:17.635Z] ./bin/test-go-mod-tidy.sh [2021-05-12T20:12:17.635Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-12T20:12:18.661Z] $ docker stop --time=1 fc1c4394587cdbb601ec5344114f83cdc9c1152d364ed342320fe6423371782d [2021-05-12T20:12:20.757Z] $ docker rm -f fc1c4394587cdbb601ec5344114f83cdc9c1152d364ed342320fe6423371782d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:12:21.645Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:12:21.709Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T20:12:22.409Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:12:23.125Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:12:23.505Z] + ls -al . [2021-05-12T20:12:23.505Z] total 132 [2021-05-12T20:12:23.505Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:12 . [2021-05-12T20:12:23.505Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:09 .. [2021-05-12T20:12:23.505Z] -rw-rw-r-- 1 jenkins jenkins 151 May 12 20:09 .dockerignore [2021-05-12T20:12:23.505Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:09 .git [2021-05-12T20:12:23.505Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:09 .github [2021-05-12T20:12:23.505Z] -rw-rw-r-- 1 jenkins jenkins 339 May 12 20:09 .gitignore [2021-05-12T20:12:23.505Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 12 20:09 Attribution.txt [2021-05-12T20:12:23.505Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 12 20:09 Dockerfile [2021-05-12T20:12:23.505Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 12 20:09 Dockerfile.build [2021-05-12T20:12:23.505Z] -rw-rw-r-- 1 jenkins jenkins 680 May 12 20:09 Jenkinsfile [2021-05-12T20:12:23.505Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 20:09 LICENSE [2021-05-12T20:12:23.505Z] -rw-rw-r-- 1 jenkins jenkins 976 May 12 20:09 Makefile [2021-05-12T20:12:23.505Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 12 20:09 README.md [2021-05-12T20:12:23.505Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 20:05 VERSION [2021-05-12T20:12:23.505Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:09 bin [2021-05-12T20:12:23.505Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:09 cmd [2021-05-12T20:12:23.505Z] -rw-r--r-- 1 jenkins jenkins 8513 May 12 20:11 coverage.out [2021-05-12T20:12:23.505Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:09 driver [2021-05-12T20:12:23.505Z] -rw-r--r-- 1 jenkins jenkins 285 May 12 20:12 go.mod [2021-05-12T20:12:23.505Z] -rw-r--r-- 1 jenkins jenkins 21011 May 12 20:10 go.sum [2021-05-12T20:12:23.505Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:09 snap [2021-05-12T20:12:23.505Z] -rw-rw-r-- 1 jenkins jenkins 713 May 12 20:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:12:23.905Z] + 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=e393ce8d8fd4646f791651f8b29b323be127be0c --label arch=arm64 --label version=0.0.0 . [2021-05-12T20:12:23.905Z] Sending build context to Docker daemon 101.9kB [2021-05-12T20:12:24.181Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:12:24.181Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-12T20:12:24.181Z] ---> 7aa893e6765c [2021-05-12T20:12:24.181Z] Step 3/24 : ARG MAKE='make build' [2021-05-12T20:12:24.457Z] ---> Running in 8e5bfc716ebb [2021-05-12T20:12:25.050Z] Removing intermediate container 8e5bfc716ebb [2021-05-12T20:12:25.050Z] ---> a32828a54f28 [2021-05-12T20:12:25.050Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:12:25.050Z] ---> Running in a973b0aecf81 [2021-05-12T20:12:25.343Z] Removing intermediate container a973b0aecf81 [2021-05-12T20:12:25.343Z] ---> f6924613aa33 [2021-05-12T20:12:25.343Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:12:25.940Z] ---> Running in bb3761141426 [2021-05-12T20:12:26.214Z] Removing intermediate container bb3761141426 [2021-05-12T20:12:26.214Z] ---> 8f7e9511cf2e [2021-05-12T20:12:26.214Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:12:26.491Z] ---> Running in 10d8e6ce7033 [2021-05-12T20:12:28.472Z] Removing intermediate container 10d8e6ce7033 [2021-05-12T20:12:28.472Z] ---> 8930562455c5 [2021-05-12T20:12:28.472Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:12:28.750Z] ---> Running in 5387c913386c [2021-05-12T20:12:29.734Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:12:30.721Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:12:31.721Z] OK: 144 MiB in 49 packages [2021-05-12T20:12:33.173Z] Removing intermediate container 5387c913386c [2021-05-12T20:12:33.173Z] ---> b99d465649e4 [2021-05-12T20:12:33.173Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-12T20:12:33.173Z] ---> Running in 4e1f9890c80a [2021-05-12T20:12:33.795Z] Removing intermediate container 4e1f9890c80a [2021-05-12T20:12:33.795Z] ---> 33b452e9c2de [2021-05-12T20:12:33.795Z] Step 9/24 : COPY . . [2021-05-12T20:12:34.825Z] ---> f6d9dc6309d3 [2021-05-12T20:12:34.825Z] Step 10/24 : RUN make update [2021-05-12T20:12:34.825Z] ---> Running in 95ddc31a9a31 [2021-05-12T20:12:35.819Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-12T20:12:37.259Z] Removing intermediate container 95ddc31a9a31 [2021-05-12T20:12:37.259Z] ---> 4aee96cd4554 [2021-05-12T20:12:37.259Z] Step 11/24 : RUN $MAKE [2021-05-12T20:12:37.259Z] ---> Running in c1dd134db24d [2021-05-12T20:12:38.237Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-05-12T20:13:18.005Z] Removing intermediate container c1dd134db24d [2021-05-12T20:13:18.005Z] ---> bf0ef9019a65 [2021-05-12T20:13:18.005Z] Step 12/24 : FROM alpine:3.12 [2021-05-12T20:13:18.005Z] 3.12: Pulling from library/alpine [2021-05-12T20:13:18.005Z] d2f70382dc9a: Pulling fs layer [2021-05-12T20:13:18.005Z] d2f70382dc9a: Verifying Checksum [2021-05-12T20:13:18.005Z] d2f70382dc9a: Download complete [2021-05-12T20:13:18.005Z] d2f70382dc9a: Pull complete [2021-05-12T20:13:18.005Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:13:18.005Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:13:18.005Z] ---> 9852663dfa18 [2021-05-12T20:13:18.005Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T20:13:18.005Z] ---> Running in 012631b7900a [2021-05-12T20:13:18.005Z] Removing intermediate container 012631b7900a [2021-05-12T20:13:18.005Z] ---> 352de736baf5 [2021-05-12T20:13:18.005Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-12T20:13:18.005Z] ---> Running in 33e37831ae43 [2021-05-12T20:13:18.280Z] Removing intermediate container 33e37831ae43 [2021-05-12T20:13:18.280Z] ---> 8c9f78a35361 [2021-05-12T20:13:18.280Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:13:18.555Z] ---> Running in 9b411ef8c0d3 [2021-05-12T20:13:19.578Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:13:19.852Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:13:20.829Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:13:20.829Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:13:20.829Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:13:20.829Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:13:20.829Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:13:20.829Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:13:20.829Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:13:20.829Z] OK: 8 MiB in 20 packages [2021-05-12T20:13:22.272Z] Removing intermediate container 9b411ef8c0d3 [2021-05-12T20:13:22.272Z] ---> 8bd685fdec19 [2021-05-12T20:13:22.272Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-12T20:13:23.709Z] ---> 061ab5a5984a [2021-05-12T20:13:23.709Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-12T20:13:24.318Z] ---> 2cfd7afa15d1 [2021-05-12T20:13:24.318Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-12T20:13:24.912Z] ---> 77aec87aef6e [2021-05-12T20:13:24.912Z] Step 19/24 : EXPOSE 49986 [2021-05-12T20:13:25.184Z] ---> Running in 91cb5685589b [2021-05-12T20:13:25.461Z] Removing intermediate container 91cb5685589b [2021-05-12T20:13:25.461Z] ---> ca542470f587 [2021-05-12T20:13:25.461Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-12T20:13:25.740Z] ---> Running in d8354b9859b9 [2021-05-12T20:13:26.354Z] Removing intermediate container d8354b9859b9 [2021-05-12T20:13:26.354Z] ---> efd3ef5710d0 [2021-05-12T20:13:26.354Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-12T20:13:26.354Z] ---> Running in 71f1c5b03922 [2021-05-12T20:13:26.951Z] Removing intermediate container 71f1c5b03922 [2021-05-12T20:13:26.951Z] ---> f4e1fb97f83b [2021-05-12T20:13:26.951Z] Step 22/24 : LABEL arch=arm64 [2021-05-12T20:13:26.951Z] ---> Running in ab39c804cc60 [2021-05-12T20:13:27.549Z] Removing intermediate container ab39c804cc60 [2021-05-12T20:13:27.549Z] ---> bb40fe5349f3 [2021-05-12T20:13:27.549Z] Step 23/24 : LABEL git_sha=e393ce8d8fd4646f791651f8b29b323be127be0c [2021-05-12T20:13:27.824Z] ---> Running in d323ae6a40d6 [2021-05-12T20:13:28.099Z] Removing intermediate container d323ae6a40d6 [2021-05-12T20:13:28.099Z] ---> 85f1c8fec29f [2021-05-12T20:13:28.099Z] Step 24/24 : LABEL version=0.0.0 [2021-05-12T20:13:28.382Z] ---> Running in 6d63c3580ef9 [2021-05-12T20:13:28.976Z] Removing intermediate container 6d63c3580ef9 [2021-05-12T20:13:28.976Z] ---> ca47119f50f4 [2021-05-12T20:13:28.976Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:13:28.976Z] Successfully built ca47119f50f4 [2021-05-12T20:13:28.976Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:13:29.696Z] ---> job-cost.sh [2021-05-12T20:13:29.696Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-P9Ql [2021-05-12T20:14:16.649Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:16:23.488Z] lf-activate-venv(): INFO: Adding /tmp/venv-P9Ql/bin to PATH [2021-05-12T20:16:23.488Z] INFO: No Stack... [2021-05-12T20:16:23.488Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T20:16:23.488Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:16:23.846Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-12T20:16:23.846Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T20:16:23.999Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-97-1-stack-cost] [2021-05-12T20:16:24.006Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-97-1-stack-cost] did not exist. Created. [2021-05-12T20:16:24.006Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-97-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:16:24.508Z] /w/workspace/device-rest-go/1@tmp/durable-78b9008b/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-78b9008b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T20:16:24.881Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T20:16:24.920Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T20:16:25.070Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:16:25.099Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-97-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] wrap [2021-05-12T20:16:26.153Z] provisioning config files... [2021-05-12T20:16:26.166Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-97@tmp/config1600259082037588887tmp [Pipeline] { [Pipeline] sh [2021-05-12T20:16:26.557Z] + set +x [2021-05-12T20:16:26.557Z] + curl -s https://codecov.io/bash [2021-05-12T20:16:26.557Z] + bash -s -- [2021-05-12T20:16:26.826Z] [2021-05-12T20:16:26.826Z] _____ _ [2021-05-12T20:16:26.826Z] / ____| | | [2021-05-12T20:16:26.826Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T20:16:26.826Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T20:16:26.826Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T20:16:26.826Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T20:16:26.826Z] Bash-1.0.2 [2021-05-12T20:16:26.826Z] [2021-05-12T20:16:26.826Z] [2021-05-12T20:16:26.826Z] ==> git version 2.24.3 found [2021-05-12T20:16:26.826Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-12T20:16:26.826Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T20:16:26.826Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T20:16:26.826Z] ==> Jenkins CI detected. [2021-05-12T20:16:26.826Z] project root: . [2021-05-12T20:16:26.826Z] --> token set from env [2021-05-12T20:16:26.826Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T20:16:26.826Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T20:16:26.826Z] ==> Python coveragepy not found [2021-05-12T20:16:26.826Z] ==> Searching for coverage reports in: [2021-05-12T20:16:26.826Z] + . [2021-05-12T20:16:26.826Z] -> Found 1 reports [2021-05-12T20:16:26.826Z] ==> Detecting git/mercurial file structure [2021-05-12T20:16:26.826Z] ==> Reading reports [2021-05-12T20:16:27.090Z] + ./coverage.out bytes=8513 [2021-05-12T20:16:27.090Z] ==> Appending adjustments [2021-05-12T20:16:27.090Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T20:16:27.090Z] + Found adjustments [2021-05-12T20:16:27.090Z] ==> Gzipping contents [2021-05-12T20:16:27.090Z] 4.0K /tmp/codecov.De0GU4.gz [2021-05-12T20:16:27.090Z] ==> Uploading reports [2021-05-12T20:16:27.090Z] url: https://codecov.io [2021-05-12T20:16:27.090Z] query: branch=PR-97&commit=e393ce8d8fd4646f791651f8b29b323be127be0c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-97%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=97&job=&cmd_args= [2021-05-12T20:16:27.090Z] -> Pinging Codecov [2021-05-12T20:16:27.090Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-97&commit=e393ce8d8fd4646f791651f8b29b323be127be0c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-97%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=97&job=&cmd_args= [2021-05-12T20:16:27.672Z] -> Uploading to [2021-05-12T20:16:27.672Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/4E5D53B4F1F92C436F7061BF334D961C/e393ce8d8fd4646f791651f8b29b323be127be0c/9ca9b054-e9e4-46cf-ab8e-8de62db46530.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T201627Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2504b6c716adc4f0db903740e4c79e61f6cd27dcad8195cef0eb579367cecd07 [2021-05-12T20:16:27.672Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T20:16:27.672Z] Dload Upload Total Spent Left Speed [2021-05-12T20:16:28.247Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3339 --:--:-- --:--:-- --:--:-- 3342 [2021-05-12T20:16:28.247Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/e393ce8d8fd4646f791651f8b29b323be127be0c [Pipeline] } [2021-05-12T20:16:28.274Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:16:30.374Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:16:31.070Z] ---> package-listing.sh [2021-05-12T20:16:31.071Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T20:16:31.071Z] ++ facter osfamily [2021-05-12T20:16:31.369Z] + OS_FAMILY=redhat [2021-05-12T20:16:31.369Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-97 [2021-05-12T20:16:31.369Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T20:16:31.369Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T20:16:31.369Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T20:16:31.369Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T20:16:31.369Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-97 ']' [2021-05-12T20:16:31.369Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T20:16:31.369Z] + case "${OS_FAMILY}" in [2021-05-12T20:16:31.369Z] + rpm -qa [2021-05-12T20:16:31.369Z] + sort [2021-05-12T20:16:36.720Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T20:16:36.720Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T20:16:36.720Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T20:16:36.720Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-97 ']' [2021-05-12T20:16:36.720Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-97/archives/ [2021-05-12T20:16:36.720Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-97/archives/ [Pipeline] echo [2021-05-12T20:16:36.774Z] 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/dgexfoundry_device-rest-go_PR-97/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-12T20:16:37.123Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:16:37.551Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:16:37.817Z] [2021-05-12T20:16:37.817Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:16:38.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:16:38.231Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T20:16:38.231Z] df20fa9351a1: Pulling fs layer [2021-05-12T20:16:38.231Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T20:16:38.231Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T20:16:38.231Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T20:16:38.231Z] 93b61091891f: Pulling fs layer [2021-05-12T20:16:38.231Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T20:16:38.231Z] 5e14af77c1be: Pulling fs layer [2021-05-12T20:16:38.231Z] 01666e4c0597: Pulling fs layer [2021-05-12T20:16:38.231Z] aa168da1d23b: Pulling fs layer [2021-05-12T20:16:38.231Z] 93b9cdb0e59b: Waiting [2021-05-12T20:16:38.231Z] 01666e4c0597: Waiting [2021-05-12T20:16:38.231Z] 5e14af77c1be: Waiting [2021-05-12T20:16:38.231Z] aa168da1d23b: Waiting [2021-05-12T20:16:38.231Z] 93b61091891f: Waiting [2021-05-12T20:16:38.231Z] 46f8f816bc3b: Waiting [2021-05-12T20:16:38.231Z] 36b3adc4ff6f: Verifying Checksum [2021-05-12T20:16:38.231Z] 36b3adc4ff6f: Download complete [2021-05-12T20:16:38.503Z] 46f8f816bc3b: Download complete [2021-05-12T20:16:38.503Z] 93b61091891f: Verifying Checksum [2021-05-12T20:16:38.503Z] 93b61091891f: Download complete [2021-05-12T20:16:38.503Z] df20fa9351a1: Verifying Checksum [2021-05-12T20:16:38.503Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T20:16:38.503Z] 93b9cdb0e59b: Download complete [2021-05-12T20:16:38.503Z] 5e14af77c1be: Verifying Checksum [2021-05-12T20:16:38.503Z] 5e14af77c1be: Download complete [2021-05-12T20:16:38.503Z] 01666e4c0597: Verifying Checksum [2021-05-12T20:16:38.503Z] 01666e4c0597: Download complete [2021-05-12T20:16:39.098Z] df20fa9351a1: Pull complete [2021-05-12T20:16:39.098Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T20:16:39.098Z] 8ad3a11d3b57: Download complete [2021-05-12T20:16:39.379Z] 36b3adc4ff6f: Pull complete [2021-05-12T20:16:40.346Z] 8ad3a11d3b57: Pull complete [2021-05-12T20:16:40.346Z] 46f8f816bc3b: Pull complete [2021-05-12T20:16:40.953Z] 93b61091891f: Pull complete [2021-05-12T20:16:41.548Z] 93b9cdb0e59b: Pull complete [2021-05-12T20:16:41.815Z] 5e14af77c1be: Pull complete [2021-05-12T20:16:42.090Z] 01666e4c0597: Pull complete [2021-05-12T20:16:42.363Z] aa168da1d23b: Verifying Checksum [2021-05-12T20:16:42.363Z] aa168da1d23b: Download complete [2021-05-12T20:16:50.626Z] aa168da1d23b: Pull complete [2021-05-12T20:16:50.626Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T20:16:50.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:16:50.626Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T20:16:50.903Z] prd-centos7-docker-4c-2g-4800 does not seem to be running inside a container [2021-05-12T20:16:50.996Z] $ 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/dgexfoundry_device-rest-go_PR-97/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-97 -v /w/workspace/dgexfoundry_device-rest-go_PR-97:/w/workspace/dgexfoundry_device-rest-go_PR-97:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-97@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-97@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-12T20:16:57.477Z] $ docker top 8b029d905d6ac9b0d97a0fdea8a7ea4452e185a37018ab4f418356f500ee8ae0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:16:58.153Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T20:16:58.496Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T20:16:58.869Z] + ls /var/log/sa-host [2021-05-12T20:16:58.869Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T20:16:58.869Z] file_magic: OK [2021-05-12T20:16:58.869Z] HZ: Using current value: 100 [2021-05-12T20:16:58.869Z] file_header: OK [2021-05-12T20:16:58.869Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-12T20:16:58.869Z] Statistics: [2021-05-12T20:16:58.869Z] 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-05-12T20:16:58.869Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T20:16:58.869Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T20:16:58.869Z] file_magic: OK [2021-05-12T20:16:58.869Z] HZ: Using current value: 100 [2021-05-12T20:16:58.869Z] file_header: OK [2021-05-12T20:16:58.869Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-12T20:16:58.869Z] Statistics: [2021-05-12T20:16:58.869Z] Hnuu...uuuununununu... [2021-05-12T20:16:58.869Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T20:16:59.578Z] provisioning config files... [2021-05-12T20:16:59.601Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-97@tmp/config5378396932751382086tmp [Pipeline] { [Pipeline] echo [2021-05-12T20:16:59.661Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:17:00.009Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T20:17:00.032Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T20:17:00.105Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:17:00.443Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T20:17:00.487Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:17:00.835Z] ---> sudo-logs.sh [2021-05-12T20:17:00.835Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T20:17:00.920Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:17:01.284Z] ---> job-cost.sh [2021-05-12T20:17:01.284Z] lf-activate-venv: SKIPPING [2021-05-12T20:17:01.284Z] DEBUG: total: 0.20999999344348907 [2021-05-12T20:17:01.284Z] INFO: Retrieving Stack Cost... [2021-05-12T20:17:02.690Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:17:02.957Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T20:17:03.051Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:17:03.481Z] ---> logs-deploy.sh [2021-05-12T20:17:03.481Z] lf-activate-venv: SKIPPING [2021-05-12T20:17:03.481Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-97/1 [2021-05-12T20:17:03.481Z] INFO: archiving workspace using pattern(s): [2021-05-12T20:17:06.044Z] Archives upload complete. [2021-05-12T20:17:06.310Z] INFO: archiving logs to Nexus