Pull request #96 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 51e11ff276bbfaf82ef90786264c90e213bc617b+0088b1c14d9fd9deeb4630211d1277bd3e025ddb (55d0ee85d5d1aabced97fa5c6ea805005aa7e2c8) 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-96/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-96/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-4762 in /w/workspace/dgexfoundry_device-rest-go_PR-96 [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-96 # 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 Merging remotes/origin/master commit 0088b1c14d9fd9deeb4630211d1277bd3e025ddb into PR head commit 51e11ff276bbfaf82ef90786264c90e213bc617b Merge succeeded, producing 14363d849f4049583840bd0deab993d7e0e00cc5 Checking out Revision 14363d849f4049583840bd0deab993d7e0e00cc5 (PR-96) > 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/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51e11ff276bbfaf82ef90786264c90e213bc617b # 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 14363d849f4049583840bd0deab993d7e0e00cc5 # timeout=10 Commit message: "Merge commit '0088b1c14d9fd9deeb4630211d1277bd3e025ddb' into HEAD" 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-12T18:46:55.332Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T18:46:55.576Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T18:46:55.721Z] ========================================================= [2021-05-12T18:46:55.721Z] EdgeX Global Pipelines Version Info [2021-05-12T18:46:55.721Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:46:57.920Z] ------------------- [2021-05-12T18:46:57.921Z] stable info: [2021-05-12T18:46:57.921Z] ------------------- [2021-05-12T18:46:57.921Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T18:46:57.921Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T18:46:57.921Z] Message: update stable to v1.0.192 [2021-05-12T18:46:58.500Z] ------------------- [2021-05-12T18:46:58.500Z] experimental info: [2021-05-12T18:46:58.500Z] ------------------- [2021-05-12T18:46:58.500Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T18:46:58.500Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T18:46:58.500Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T18:46:58.757Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-12T18:46:58.812Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-12T18:46:58.866Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T18:46:58.929Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T18:46:58.981Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T18:46:59.037Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T18:46:59.089Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T18:46:59.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T18:46:59.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-12T18:46:59.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T18:46:59.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T18:46:59.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-12T18:46:59.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T18:46:59.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T18:46:59.524Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T18:46:59.577Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T18:46:59.640Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T18:46:59.695Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T18:46:59.748Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T18:46:59.801Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T18:46:59.857Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-12T18:46:59.910Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-12T18:46:59.962Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T18:47:00.041Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T18:47:00.092Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T18:47:00.148Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T18:47:00.199Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-96 [Pipeline] echo [2021-05-12T18:47:00.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-96 [Pipeline] echo [2021-05-12T18:47:00.301Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-96 [Pipeline] echo [2021-05-12T18:47:00.351Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14363d849f4049583840bd0deab993d7e0e00cc5 [Pipeline] echo [2021-05-12T18:47:00.405Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14363d8 [Pipeline] echo [2021-05-12T18:47:00.457Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T18:47:00.604Z] provisioning config files... [2021-05-12T18:47:00.635Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/config6587071876316678164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:47:01.010Z] ---> docker-login.sh [2021-05-12T18:47:01.010Z] nexus3.edgexfoundry.org:10001 [2021-05-12T18:47:01.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:47:01.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:47:01.544Z] Configure a credential helper to remove this warning. See [2021-05-12T18:47:01.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:47:01.544Z] [2021-05-12T18:47:01.544Z] Login Succeeded [2021-05-12T18:47:01.544Z] nexus3.edgexfoundry.org:10002 [2021-05-12T18:47:01.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:47:01.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:47:01.812Z] Configure a credential helper to remove this warning. See [2021-05-12T18:47:01.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:47:01.812Z] [2021-05-12T18:47:01.812Z] Login Succeeded [2021-05-12T18:47:01.812Z] nexus3.edgexfoundry.org:10003 [2021-05-12T18:47:02.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:47:02.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:47:02.338Z] Configure a credential helper to remove this warning. See [2021-05-12T18:47:02.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:47:02.338Z] [2021-05-12T18:47:02.338Z] Login Succeeded [2021-05-12T18:47:02.338Z] nexus3.edgexfoundry.org:10004 [2021-05-12T18:47:02.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:47:02.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:47:02.338Z] Configure a credential helper to remove this warning. See [2021-05-12T18:47:02.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:47:02.338Z] [2021-05-12T18:47:02.338Z] Login Succeeded [2021-05-12T18:47:02.338Z] docker.io [2021-05-12T18:47:02.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:47:02.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:47:02.865Z] Configure a credential helper to remove this warning. See [2021-05-12T18:47:02.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:47:02.865Z] [2021-05-12T18:47:02.865Z] Login Succeeded [2021-05-12T18:47:02.865Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T18:47:02.890Z] 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-12T18:47:03.631Z] + git log --format=format:%s -1 14363d849f4049583840bd0deab993d7e0e00cc5 [Pipeline] echo [2021-05-12T18:47:03.724Z] GIT_COMMIT: 14363d849f4049583840bd0deab993d7e0e00cc5, Commit Message: Merge commit '0088b1c14d9fd9deeb4630211d1277bd3e025ddb' into HEAD [Pipeline] echo [2021-05-12T18:47:03.764Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:47:04.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T18:47:04.768Z] [2021-05-12T18:47:04.768Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:47:05.131Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T18:47:05.131Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T18:47:05.131Z] 31603596830f: Pulling fs layer [2021-05-12T18:47:05.131Z] 54011a49482f: Pulling fs layer [2021-05-12T18:47:05.131Z] a6820b24f6d8: Pulling fs layer [2021-05-12T18:47:05.131Z] f581987b2513: Pulling fs layer [2021-05-12T18:47:05.131Z] f581987b2513: Waiting [2021-05-12T18:47:05.131Z] 54011a49482f: Download complete [2021-05-12T18:47:05.395Z] 31603596830f: Verifying Checksum [2021-05-12T18:47:05.395Z] 31603596830f: Download complete [2021-05-12T18:47:05.395Z] f581987b2513: Verifying Checksum [2021-05-12T18:47:05.395Z] f581987b2513: Download complete [2021-05-12T18:47:05.659Z] a6820b24f6d8: Verifying Checksum [2021-05-12T18:47:05.659Z] a6820b24f6d8: Download complete [2021-05-12T18:47:05.924Z] 31603596830f: Pull complete [2021-05-12T18:47:06.187Z] 54011a49482f: Pull complete [2021-05-12T18:47:07.152Z] a6820b24f6d8: Pull complete [2021-05-12T18:47:07.418Z] f581987b2513: Pull complete [2021-05-12T18:47:07.681Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T18:47:07.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T18:47:07.682Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T18:47:07.831Z] prd-centos7-docker-4c-2g-4762 does not seem to be running inside a container [2021-05-12T18:47:07.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-96 -v /w/workspace/dgexfoundry_device-rest-go_PR-96:/w/workspace/dgexfoundry_device-rest-go_PR-96:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-96@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-96@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-12T18:47:10.395Z] $ docker top df5ba8ad0bb571ea28231d9baa3047a9e73dc08767354cfed7df51eb131ff93e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T18:47:10.860Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T18:47:10.860Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T18:47:11.161Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T18:47:11.169Z] $ docker exec df5ba8ad0bb571ea28231d9baa3047a9e73dc08767354cfed7df51eb131ff93e ssh-agent [2021-05-12T18:47:11.397Z] SSH_AUTH_SOCK=/tmp/ssh-pU51Yjx4Xbn7/agent.12 [2021-05-12T18:47:11.397Z] SSH_AGENT_PID=17 [2021-05-12T18:47:11.427Z] Running ssh-add (command line suppressed) [2021-05-12T18:47:11.613Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/private_key_788924935695237746.key (/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/private_key_788924935695237746.key) [2021-05-12T18:47:11.687Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T18:47:12.056Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T18:47:12.102Z] $ docker exec --env ******** --env ******** df5ba8ad0bb571ea28231d9baa3047a9e73dc08767354cfed7df51eb131ff93e ssh-agent -k [2021-05-12T18:47:12.285Z] unset SSH_AUTH_SOCK; [2021-05-12T18:47:12.286Z] unset SSH_AGENT_PID; [2021-05-12T18:47:12.286Z] echo Agent pid 17 killed; [2021-05-12T18:47:12.352Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T18:47:12.443Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T18:47:12.443Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T18:47:12.646Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T18:47:12.653Z] $ docker exec df5ba8ad0bb571ea28231d9baa3047a9e73dc08767354cfed7df51eb131ff93e ssh-agent [2021-05-12T18:47:12.869Z] SSH_AUTH_SOCK=/tmp/ssh-wWS3flCyRo82/agent.48 [2021-05-12T18:47:12.869Z] SSH_AGENT_PID=54 [2021-05-12T18:47:12.880Z] Running ssh-add (command line suppressed) [2021-05-12T18:47:13.030Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/private_key_6993315640921688429.key (/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/private_key_6993315640921688429.key) [2021-05-12T18:47:13.098Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T18:47:13.470Z] + git semver init [2021-05-12T18:47:13.470Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T18:47:13.470Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-96/.git [2021-05-12T18:47:13.470Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-96 [2021-05-12T18:47:13.470Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T18:47:13.470Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T18:47:13.470Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T18:47:13.470Z] # $SEMVER_BRANCH = PR-96 [2021-05-12T18:47:13.470Z] # $SEMVER_TEMP = /tmp/semver-285225335 [2021-05-12T18:47:13.470Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-12T18:47:14.886Z] # '/tmp/semver-285225335' -> '/w/workspace/dgexfoundry_device-rest-go_PR-96/.semver' [2021-05-12T18:47:14.886Z] # -> Force: false [2021-05-12T18:47:14.886Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-96/.semver [Pipeline] } [2021-05-12T18:47:14.921Z] $ docker exec --env ******** --env ******** df5ba8ad0bb571ea28231d9baa3047a9e73dc08767354cfed7df51eb131ff93e ssh-agent -k [2021-05-12T18:47:15.128Z] unset SSH_AUTH_SOCK; [2021-05-12T18:47:15.129Z] unset SSH_AGENT_PID; [2021-05-12T18:47:15.129Z] echo Agent pid 54 killed; [2021-05-12T18:47:15.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T18:47:15.714Z] + git semver [Pipeline] } [2021-05-12T18:47:15.750Z] $ docker stop --time=1 df5ba8ad0bb571ea28231d9baa3047a9e73dc08767354cfed7df51eb131ff93e [2021-05-12T18:47:17.217Z] $ docker rm -f df5ba8ad0bb571ea28231d9baa3047a9e73dc08767354cfed7df51eb131ff93e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T18:47:17.694Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T18:47:18.218Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T18:47:18.239Z] [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-12T18:47:33.741Z] Still waiting to schedule task [2021-05-12T18:47:33.741Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-12T18:47:33.773Z] Still waiting to schedule task [2021-05-12T18:47:33.773Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-12T18:49:12.960Z] Running on prd-centos7-docker-4c-2g-4764 in /w/workspace/dgexfoundry_device-rest-go_PR-96 [Pipeline] { [Pipeline] ws [2021-05-12T18:49:13.015Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-12T18:49:15.750Z] using credential edgex-jenkins-ssh [2021-05-12T18:49:15.768Z] Cloning the remote Git repository [2021-05-12T18:49:15.790Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T18:49:15.861Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-12T18:49:15.924Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T18:49:15.924Z] > git --version # timeout=10 [2021-05-12T18:49:15.929Z] > git --version # 'git version 2.24.3' [2021-05-12T18:49:15.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T18:49:15.957Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T18:49:18.518Z] Merging remotes/origin/master commit 0088b1c14d9fd9deeb4630211d1277bd3e025ddb into PR head commit 51e11ff276bbfaf82ef90786264c90e213bc617b [2021-05-12T18:49:18.624Z] Merge succeeded, producing 86d9fe1c4591064b7e087b21bce7ee960fc06803 [2021-05-12T18:49:18.625Z] Checking out Revision 86d9fe1c4591064b7e087b21bce7ee960fc06803 (PR-96) [2021-05-12T18:49:18.051Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T18:49:18.063Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T18:49:18.079Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T18:49:18.094Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T18:49:18.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T18:49:18.098Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T18:49:18.526Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T18:49:18.532Z] > git checkout -f 51e11ff276bbfaf82ef90786264c90e213bc617b # timeout=10 [2021-05-12T18:49:18.565Z] > git remote # timeout=10 [2021-05-12T18:49:18.572Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T18:49:18.578Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T18:49:18.581Z] > git merge 0088b1c14d9fd9deeb4630211d1277bd3e025ddb # timeout=10 [2021-05-12T18:49:18.617Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T18:49:18.628Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T18:49:18.636Z] > git checkout -f 86d9fe1c4591064b7e087b21bce7ee960fc06803 # timeout=10 [2021-05-12T18:49:22.269Z] Commit message: "Merge commit '0088b1c14d9fd9deeb4630211d1277bd3e025ddb' into HEAD" [2021-05-12T18:49:22.269Z] First time build. Skipping changelog. [2021-05-12T18:49:22.300Z] > git --version # timeout=10 [2021-05-12T18:49:22.309Z] > git --version # 'git version 2.24.3' [2021-05-12T18:49:22.318Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T18:49:23.703Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T18:49:24.080Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T18:49:24.399Z] + sudo service docker restart [2021-05-12T18:49:24.399Z] + true [2021-05-12T18:49:24.399Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T18:49:25.433Z] provisioning config files... [2021-05-12T18:49:25.466Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6489101972367776433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:49:25.839Z] ---> docker-login.sh [2021-05-12T18:49:25.839Z] nexus3.edgexfoundry.org:10001 [2021-05-12T18:49:26.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:49:26.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:49:26.102Z] Configure a credential helper to remove this warning. See [2021-05-12T18:49:26.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:49:26.102Z] [2021-05-12T18:49:26.102Z] Login Succeeded [2021-05-12T18:49:26.102Z] nexus3.edgexfoundry.org:10002 [2021-05-12T18:49:26.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:49:26.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:49:26.365Z] Configure a credential helper to remove this warning. See [2021-05-12T18:49:26.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:49:26.365Z] [2021-05-12T18:49:26.365Z] Login Succeeded [2021-05-12T18:49:26.365Z] nexus3.edgexfoundry.org:10003 [2021-05-12T18:49:26.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:49:26.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:49:26.626Z] Configure a credential helper to remove this warning. See [2021-05-12T18:49:26.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:49:26.626Z] [2021-05-12T18:49:26.626Z] Login Succeeded [2021-05-12T18:49:26.626Z] nexus3.edgexfoundry.org:10004 [2021-05-12T18:49:26.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:49:26.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:49:26.889Z] Configure a credential helper to remove this warning. See [2021-05-12T18:49:26.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:49:26.889Z] [2021-05-12T18:49:26.889Z] Login Succeeded [2021-05-12T18:49:26.889Z] docker.io [2021-05-12T18:49:26.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:49:27.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:49:27.156Z] Configure a credential helper to remove this warning. See [2021-05-12T18:49:27.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:49:27.156Z] [2021-05-12T18:49:27.156Z] Login Succeeded [2021-05-12T18:49:27.156Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T18:49:27.183Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T18:49:27.500Z] ========================================================= [2021-05-12T18:49:27.500Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T18:49:27.500Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:49:27.855Z] + 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-12T18:49:27.855Z] Sending build context to Docker daemon 92.16kB [2021-05-12T18:49:27.855Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T18:49:27.855Z] Step 2/10 : FROM ${BASE} [2021-05-12T18:49:28.126Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T18:49:28.126Z] 540db60ca938: Pulling fs layer [2021-05-12T18:49:28.126Z] adcc1eea9eea: Pulling fs layer [2021-05-12T18:49:28.126Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T18:49:28.126Z] 0510c868ecb4: Pulling fs layer [2021-05-12T18:49:28.126Z] afea3b2eda06: Pulling fs layer [2021-05-12T18:49:28.126Z] 7809a108b3ef: Pulling fs layer [2021-05-12T18:49:28.126Z] f706445af74f: Pulling fs layer [2021-05-12T18:49:28.126Z] afea3b2eda06: Waiting [2021-05-12T18:49:28.126Z] 7809a108b3ef: Waiting [2021-05-12T18:49:28.126Z] f706445af74f: Waiting [2021-05-12T18:49:28.126Z] 0510c868ecb4: Waiting [2021-05-12T18:49:28.126Z] 4c4ab2625f07: Download complete [2021-05-12T18:49:28.126Z] adcc1eea9eea: Download complete [2021-05-12T18:49:28.126Z] afea3b2eda06: Verifying Checksum [2021-05-12T18:49:28.126Z] afea3b2eda06: Download complete [2021-05-12T18:49:28.126Z] 7809a108b3ef: Verifying Checksum [2021-05-12T18:49:28.126Z] 7809a108b3ef: Download complete [2021-05-12T18:49:28.126Z] 540db60ca938: Verifying Checksum [2021-05-12T18:49:28.126Z] 540db60ca938: Download complete [2021-05-12T18:49:28.392Z] 540db60ca938: Pull complete [2021-05-12T18:49:28.659Z] adcc1eea9eea: Pull complete [2021-05-12T18:49:28.659Z] 4c4ab2625f07: Pull complete [2021-05-12T18:49:30.588Z] f706445af74f: Verifying Checksum [2021-05-12T18:49:30.588Z] f706445af74f: Download complete [2021-05-12T18:49:31.166Z] 0510c868ecb4: Verifying Checksum [2021-05-12T18:49:31.166Z] 0510c868ecb4: Download complete [2021-05-12T18:49:37.818Z] 0510c868ecb4: Pull complete [2021-05-12T18:49:37.818Z] afea3b2eda06: Pull complete [2021-05-12T18:49:37.818Z] 7809a108b3ef: Pull complete [2021-05-12T18:49:43.179Z] f706445af74f: Pull complete [2021-05-12T18:49:43.179Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T18:49:43.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T18:49:43.179Z] ---> b068be0155e3 [2021-05-12T18:49:43.179Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T18:49:43.179Z] ---> Running in bfe97622cdf8 [2021-05-12T18:49:43.179Z] Removing intermediate container bfe97622cdf8 [2021-05-12T18:49:43.179Z] ---> 7d564b1bac23 [2021-05-12T18:49:43.179Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T18:49:43.179Z] ---> Running in 3e7c6883328c [2021-05-12T18:49:43.443Z] Removing intermediate container 3e7c6883328c [2021-05-12T18:49:43.443Z] ---> 2d5a54a16947 [2021-05-12T18:49:43.443Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T18:49:43.443Z] ---> Running in fb8697dd3f35 [2021-05-12T18:49:43.706Z] Removing intermediate container fb8697dd3f35 [2021-05-12T18:49:43.706Z] ---> bb537cfa0f3b [2021-05-12T18:49:43.706Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T18:49:43.706Z] ---> Running in 8d74312d77e2 [2021-05-12T18:49:44.669Z] Removing intermediate container 8d74312d77e2 [2021-05-12T18:49:44.669Z] ---> 050b7d8ab7eb [2021-05-12T18:49:44.669Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T18:49:44.932Z] ---> Running in 440bb1b7080c [2021-05-12T18:49:45.511Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T18:49:46.460Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T18:49:46.722Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-12T18:49:46.722Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-12T18:49:46.984Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-12T18:49:46.984Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-12T18:49:46.984Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T18:49:47.246Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-12T18:49:47.246Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-12T18:49:47.509Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-12T18:49:47.774Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-12T18:49:47.774Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T18:49:47.774Z] OK: 154 MiB in 49 packages [2021-05-12T18:49:48.726Z] Removing intermediate container 440bb1b7080c [2021-05-12T18:49:48.726Z] ---> 44ba300b8d2d [2021-05-12T18:49:48.726Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-12T18:49:48.726Z] ---> Running in 9b55b20a1ef5 [2021-05-12T18:49:48.726Z] Removing intermediate container 9b55b20a1ef5 [2021-05-12T18:49:48.726Z] ---> 40405707efc2 [2021-05-12T18:49:48.726Z] Step 9/10 : COPY . . [2021-05-12T18:49:48.989Z] ---> fc9c1d309592 [2021-05-12T18:49:48.989Z] Step 10/10 : RUN go mod download [2021-05-12T18:49:49.252Z] ---> Running in caae19fdccde [2021-05-12T18:50:15.941Z] Removing intermediate container caae19fdccde [2021-05-12T18:50:15.941Z] ---> 36c34ab064d6 [2021-05-12T18:50:15.941Z] Successfully built 36c34ab064d6 [2021-05-12T18:50:15.941Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:50:16.331Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T18:50:16.331Z] . [Pipeline] withDockerContainer [2021-05-12T18:50:16.499Z] prd-centos7-docker-4c-2g-4764 does not seem to be running inside a container [2021-05-12T18:50:16.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T18:50:17.668Z] $ docker top f7d4818afe42d95bd9624bc41dd5836c4dd9acaa3a837a696015755659dd00f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T18:50:18.228Z] + go version [2021-05-12T18:50:18.228Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T18:50:18.259Z] $ docker stop --time=1 f7d4818afe42d95bd9624bc41dd5836c4dd9acaa3a837a696015755659dd00f1 [2021-05-12T18:50:19.624Z] $ docker rm -f f7d4818afe42d95bd9624bc41dd5836c4dd9acaa3a837a696015755659dd00f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:50:20.430Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T18:50:20.430Z] . [Pipeline] withDockerContainer [2021-05-12T18:50:20.548Z] prd-centos7-docker-4c-2g-4764 does not seem to be running inside a container [2021-05-12T18:50:20.594Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T18:50:21.206Z] $ docker top 331e3b063adfb121831c1da91cb37acc34a773ec939f531e3d4f43976d107f9d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T18:50:21.681Z] + go mod tidy [Pipeline] sh [2021-05-12T18:50:22.613Z] + make test [2021-05-12T18:50:22.613Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-12T18:50:23.100Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4765 in /w/workspace/dgexfoundry_device-rest-go_PR-96 [Pipeline] { [Pipeline] ws [2021-05-12T18:50:23.169Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-12T18:50:23.803Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-12T18:50:28.629Z] using credential edgex-jenkins-ssh [2021-05-12T18:50:28.667Z] Cloning the remote Git repository [2021-05-12T18:50:28.749Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T18:50:28.851Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-12T18:50:28.929Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T18:50:28.930Z] > git --version # timeout=10 [2021-05-12T18:50:28.954Z] > git --version # 'git version 2.17.1' [2021-05-12T18:50:28.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T18:50:29.031Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T18:50:30.621Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T18:50:30.638Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T18:50:30.662Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-12T18:50:30.702Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-12T18:50:30.703Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T18:50:30.719Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T18:50:31.269Z] Merging remotes/origin/master commit 0088b1c14d9fd9deeb4630211d1277bd3e025ddb into PR head commit 51e11ff276bbfaf82ef90786264c90e213bc617b [2021-05-12T18:50:31.461Z] Merge succeeded, producing 65980dd2079a8780432a4723c02cb052c04e93a1 [2021-05-12T18:50:31.462Z] Checking out Revision 65980dd2079a8780432a4723c02cb052c04e93a1 (PR-96) [2021-05-12T18:50:31.289Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T18:50:31.302Z] > git checkout -f 51e11ff276bbfaf82ef90786264c90e213bc617b # timeout=10 [2021-05-12T18:50:31.373Z] > git remote # timeout=10 [2021-05-12T18:50:31.388Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T18:50:31.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T18:50:31.411Z] > git merge 0088b1c14d9fd9deeb4630211d1277bd3e025ddb # timeout=10 [2021-05-12T18:50:31.453Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T18:50:31.471Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T18:50:31.483Z] > git checkout -f 65980dd2079a8780432a4723c02cb052c04e93a1 # timeout=10 [2021-05-12T18:50:35.633Z] Commit message: "Merge commit '0088b1c14d9fd9deeb4630211d1277bd3e025ddb' into HEAD" [2021-05-12T18:50:35.633Z] First time build. Skipping changelog. [2021-05-12T18:50:35.694Z] > git --version # timeout=10 [2021-05-12T18:50:35.706Z] > git --version # 'git version 2.17.1' [2021-05-12T18:50:35.724Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T18:50:37.556Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-12T18:50:37.984Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T18:50:38.341Z] + true [2021-05-12T18:50:38.341Z] + sudo service docker restart [2021-05-12T18:50:42.371Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T18:50:42.495Z] provisioning config files... [2021-05-12T18:50:42.541Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7979316583824333673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:50:42.981Z] ---> docker-login.sh [2021-05-12T18:50:42.981Z] nexus3.edgexfoundry.org:10001 [2021-05-12T18:50:43.780Z] ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 54.0% of statements [2021-05-12T18:50:43.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:50:44.046Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T18:50:44.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:50:44.239Z] Configure a credential helper to remove this warning. See [2021-05-12T18:50:44.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:50:44.239Z] [2021-05-12T18:50:44.239Z] Login Succeeded [2021-05-12T18:50:44.239Z] nexus3.edgexfoundry.org:10002 [2021-05-12T18:50:44.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:50:44.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:50:44.790Z] Configure a credential helper to remove this warning. See [2021-05-12T18:50:44.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:50:44.790Z] [2021-05-12T18:50:44.790Z] Login Succeeded [2021-05-12T18:50:44.790Z] nexus3.edgexfoundry.org:10003 [2021-05-12T18:50:45.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:50:45.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:50:45.342Z] Configure a credential helper to remove this warning. See [2021-05-12T18:50:45.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:50:45.342Z] [2021-05-12T18:50:45.342Z] Login Succeeded [2021-05-12T18:50:45.342Z] nexus3.edgexfoundry.org:10004 [2021-05-12T18:50:45.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:50:45.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:50:45.617Z] Configure a credential helper to remove this warning. See [2021-05-12T18:50:45.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:50:45.617Z] [2021-05-12T18:50:45.617Z] Login Succeeded [2021-05-12T18:50:45.893Z] docker.io [2021-05-12T18:50:46.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T18:50:46.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T18:50:46.445Z] Configure a credential helper to remove this warning. See [2021-05-12T18:50:46.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T18:50:46.445Z] [2021-05-12T18:50:46.445Z] Login Succeeded [2021-05-12T18:50:46.445Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T18:50:46.475Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T18:50:46.908Z] ========================================================= [2021-05-12T18:50:46.908Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T18:50:46.908Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:50:47.325Z] + 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-12T18:50:47.325Z] Sending build context to Docker daemon 92.16kB [2021-05-12T18:50:47.598Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T18:50:47.598Z] Step 2/10 : FROM ${BASE} [2021-05-12T18:50:47.598Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T18:50:47.598Z] 595b0fe564bb: Pulling fs layer [2021-05-12T18:50:47.598Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T18:50:47.598Z] 316046926c0a: Pulling fs layer [2021-05-12T18:50:47.598Z] 4ebd0625c992: Pulling fs layer [2021-05-12T18:50:47.598Z] 207e8628e3a3: Pulling fs layer [2021-05-12T18:50:47.598Z] c791037a9be2: Pulling fs layer [2021-05-12T18:50:47.598Z] ffd874e62e21: Pulling fs layer [2021-05-12T18:50:47.598Z] 4ebd0625c992: Waiting [2021-05-12T18:50:47.598Z] 207e8628e3a3: Waiting [2021-05-12T18:50:47.598Z] c791037a9be2: Waiting [2021-05-12T18:50:47.598Z] ffd874e62e21: Waiting [2021-05-12T18:50:47.598Z] 316046926c0a: Download complete [2021-05-12T18:50:47.598Z] 7186ed65a4f7: Download complete [2021-05-12T18:50:47.872Z] 207e8628e3a3: Verifying Checksum [2021-05-12T18:50:47.873Z] 207e8628e3a3: Download complete [2021-05-12T18:50:47.873Z] c791037a9be2: Verifying Checksum [2021-05-12T18:50:47.873Z] c791037a9be2: Download complete [2021-05-12T18:50:47.873Z] 595b0fe564bb: Download complete [2021-05-12T18:50:48.468Z] 595b0fe564bb: Pull complete [2021-05-12T18:50:49.067Z] 7186ed65a4f7: Pull complete [2021-05-12T18:50:49.671Z] 316046926c0a: Pull complete [2021-05-12T18:50:49.671Z] ffd874e62e21: Verifying Checksum [2021-05-12T18:50:49.671Z] ffd874e62e21: Download complete [2021-05-12T18:50:50.653Z] 4ebd0625c992: Verifying Checksum [2021-05-12T18:50:50.653Z] 4ebd0625c992: Download complete [2021-05-12T18:50:54.141Z] gofmt -l . [2021-05-12T18:50:54.141Z] [ "`gofmt -l .`" = "" ] [2021-05-12T18:50:54.141Z] ./bin/test-go-mod-tidy.sh [2021-05-12T18:50:54.141Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-12T18:50:54.176Z] $ docker stop --time=1 331e3b063adfb121831c1da91cb37acc34a773ec939f531e3d4f43976d107f9d [2021-05-12T18:50:56.002Z] $ docker rm -f 331e3b063adfb121831c1da91cb37acc34a773ec939f531e3d4f43976d107f9d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T18:50:56.685Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T18:50:57.099Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-12T18:50:58.259Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T18:50:58.587Z] + ls -al . [2021-05-12T18:50:58.587Z] total 104 [2021-05-12T18:50:58.587Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 12 18:50 . [2021-05-12T18:50:58.587Z] drwxrwxr-x. 4 jenkins jenkins 28 May 12 18:49 .. [2021-05-12T18:50:58.587Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 12 18:49 Attribution.txt [2021-05-12T18:50:58.587Z] drwxrwxr-x. 2 jenkins jenkins 64 May 12 18:49 bin [2021-05-12T18:50:58.587Z] drwxrwxr-x. 3 jenkins jenkins 32 May 12 18:49 cmd [2021-05-12T18:50:58.587Z] -rw-r--r--. 1 jenkins jenkins 8513 May 12 18:50 coverage.out [2021-05-12T18:50:58.587Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 12 18:49 Dockerfile [2021-05-12T18:50:58.587Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 12 18:49 Dockerfile.build [2021-05-12T18:50:58.587Z] -rw-rw-r--. 1 jenkins jenkins 151 May 12 18:49 .dockerignore [2021-05-12T18:50:58.587Z] drwxrwxr-x. 2 jenkins jenkins 76 May 12 18:49 driver [2021-05-12T18:50:58.587Z] drwxrwxr-x. 8 jenkins jenkins 179 May 12 18:49 .git [2021-05-12T18:50:58.587Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 18:49 .github [2021-05-12T18:50:58.587Z] -rw-rw-r--. 1 jenkins jenkins 339 May 12 18:49 .gitignore [2021-05-12T18:50:58.587Z] -rw-r--r--. 1 jenkins jenkins 285 May 12 18:50 go.mod [2021-05-12T18:50:58.587Z] -rw-r--r--. 1 jenkins jenkins 20782 May 12 18:50 go.sum [2021-05-12T18:50:58.587Z] -rw-rw-r--. 1 jenkins jenkins 680 May 12 18:49 Jenkinsfile [2021-05-12T18:50:58.587Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 12 18:49 LICENSE [2021-05-12T18:50:58.587Z] -rw-rw-r--. 1 jenkins jenkins 989 May 12 18:49 Makefile [2021-05-12T18:50:58.587Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 12 18:49 README.md [2021-05-12T18:50:58.587Z] drwxrwxr-x. 4 jenkins jenkins 71 May 12 18:49 snap [2021-05-12T18:50:58.587Z] -rw-rw-r--. 1 jenkins jenkins 5 May 12 18:47 VERSION [2021-05-12T18:50:58.587Z] -rw-rw-r--. 1 jenkins jenkins 713 May 12 18:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:50:58.941Z] + 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=14363d849f4049583840bd0deab993d7e0e00cc5 --label arch=amd64 --label version=0.0.0 . [2021-05-12T18:50:58.941Z] Sending build context to Docker daemon 101.9kB [2021-05-12T18:50:59.204Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T18:50:59.204Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-12T18:50:59.204Z] ---> 36c34ab064d6 [2021-05-12T18:50:59.204Z] Step 3/24 : ARG MAKE='make build' [2021-05-12T18:50:59.204Z] ---> Running in 9a37f297f102 [2021-05-12T18:50:59.468Z] Removing intermediate container 9a37f297f102 [2021-05-12T18:50:59.468Z] ---> 2be4a21b9103 [2021-05-12T18:50:59.468Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T18:50:59.468Z] ---> Running in 9cf1289853f6 [2021-05-12T18:50:59.732Z] Removing intermediate container 9cf1289853f6 [2021-05-12T18:50:59.732Z] ---> f2a06f1ea42a [2021-05-12T18:50:59.732Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T18:50:59.732Z] ---> Running in d3048ea5f109 [2021-05-12T18:50:59.998Z] Removing intermediate container d3048ea5f109 [2021-05-12T18:50:59.998Z] ---> ab3464b36daf [2021-05-12T18:50:59.998Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T18:50:59.998Z] ---> Running in e6661ce2810c [2021-05-12T18:51:00.814Z] 4ebd0625c992: Pull complete [2021-05-12T18:51:01.088Z] 207e8628e3a3: Pull complete [2021-05-12T18:51:01.360Z] c791037a9be2: Pull complete [2021-05-12T18:51:01.412Z] Removing intermediate container e6661ce2810c [2021-05-12T18:51:01.412Z] ---> 017145d56a4b [2021-05-12T18:51:01.412Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T18:51:01.412Z] ---> Running in 2a46b9a45d49 [2021-05-12T18:51:01.679Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T18:51:03.075Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T18:51:04.468Z] OK: 154 MiB in 49 packages [2021-05-12T18:51:04.734Z] Removing intermediate container 2a46b9a45d49 [2021-05-12T18:51:04.734Z] ---> 8545a5d3c612 [2021-05-12T18:51:04.734Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-12T18:51:05.003Z] ---> Running in 79a20d5961ee [2021-05-12T18:51:05.269Z] Removing intermediate container 79a20d5961ee [2021-05-12T18:51:05.269Z] ---> dea66e1f060e [2021-05-12T18:51:05.269Z] Step 9/24 : COPY . . [2021-05-12T18:51:05.534Z] ---> 1d91c8e882ce [2021-05-12T18:51:05.534Z] Step 10/24 : RUN make update [2021-05-12T18:51:05.534Z] ---> Running in cd79c49a7e80 [2021-05-12T18:51:05.676Z] ffd874e62e21: Pull complete [2021-05-12T18:51:05.676Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T18:51:05.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T18:51:05.676Z] ---> cfc18b08335c [2021-05-12T18:51:05.676Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T18:51:06.119Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-12T18:51:06.704Z] Removing intermediate container cd79c49a7e80 [2021-05-12T18:51:06.704Z] ---> 923ff655e98e [2021-05-12T18:51:06.704Z] Step 11/24 : RUN $MAKE [2021-05-12T18:51:06.704Z] ---> Running in e7eec69a0cfc [2021-05-12T18:51:07.303Z] go mod tidy [2021-05-12T18:51:07.580Z] 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-12T18:51:07.680Z] ---> Running in a23451f5bd26 [2021-05-12T18:51:08.288Z] Removing intermediate container a23451f5bd26 [2021-05-12T18:51:08.288Z] ---> 7b9ebe92dddc [2021-05-12T18:51:08.288Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T18:51:08.288Z] ---> Running in 670369369b05 [2021-05-12T18:51:08.888Z] Removing intermediate container 670369369b05 [2021-05-12T18:51:08.888Z] ---> 1ef87913cdc8 [2021-05-12T18:51:08.888Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T18:51:08.888Z] ---> Running in 43a90f24051c [2021-05-12T18:51:09.490Z] Removing intermediate container 43a90f24051c [2021-05-12T18:51:09.490Z] ---> a9097f508610 [2021-05-12T18:51:09.490Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T18:51:09.490Z] ---> Running in c8289cb0f7d9 [2021-05-12T18:51:12.127Z] Removing intermediate container c8289cb0f7d9 [2021-05-12T18:51:12.127Z] ---> 38d2dc74c5d8 [2021-05-12T18:51:12.127Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T18:51:12.127Z] ---> Running in 5272cf9d574e [2021-05-12T18:51:13.564Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T18:51:14.156Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T18:51:15.131Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-12T18:51:15.131Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-12T18:51:15.131Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-12T18:51:15.131Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-12T18:51:15.402Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T18:51:15.402Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-12T18:51:15.402Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-12T18:51:15.996Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-12T18:51:15.996Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-12T18:51:15.996Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T18:51:15.996Z] OK: 144 MiB in 49 packages [2021-05-12T18:51:17.423Z] Removing intermediate container 5272cf9d574e [2021-05-12T18:51:17.423Z] ---> 0e88107e31fa [2021-05-12T18:51:17.423Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-12T18:51:17.694Z] ---> Running in 5e5869e9512b [2021-05-12T18:51:17.969Z] Removing intermediate container 5e5869e9512b [2021-05-12T18:51:17.969Z] ---> 97a5624373ad [2021-05-12T18:51:17.969Z] Step 9/10 : COPY . . [2021-05-12T18:51:18.950Z] ---> 3c37d9393fa6 [2021-05-12T18:51:18.950Z] Step 10/10 : RUN go mod download [2021-05-12T18:51:18.950Z] ---> Running in 707bbac20582 [2021-05-12T18:51:22.688Z] Removing intermediate container e7eec69a0cfc [2021-05-12T18:51:22.688Z] ---> 6fc5dc153453 [2021-05-12T18:51:22.688Z] Step 12/24 : FROM alpine:3.12 [2021-05-12T18:51:22.688Z] 3.12: Pulling from library/alpine [2021-05-12T18:51:22.688Z] 339de151aab4: Pulling fs layer [2021-05-12T18:51:22.688Z] 339de151aab4: Download complete [2021-05-12T18:51:22.952Z] 339de151aab4: Pull complete [2021-05-12T18:51:22.952Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T18:51:23.221Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T18:51:23.221Z] ---> 13621d1b12d4 [2021-05-12T18:51:23.221Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T18:51:23.221Z] ---> Running in 61618bd8f960 [2021-05-12T18:51:23.484Z] Removing intermediate container 61618bd8f960 [2021-05-12T18:51:23.484Z] ---> 2c7ad93ea067 [2021-05-12T18:51:23.484Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-12T18:51:23.484Z] ---> Running in 7a9ea8678575 [2021-05-12T18:51:23.756Z] Removing intermediate container 7a9ea8678575 [2021-05-12T18:51:23.756Z] ---> 94d6c197c1a1 [2021-05-12T18:51:23.756Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T18:51:23.756Z] ---> Running in 6b3ba58d3cba [2021-05-12T18:51:24.340Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-12T18:51:24.604Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-12T18:51:24.604Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T18:51:24.604Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T18:51:24.604Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T18:51:24.604Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T18:51:24.604Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T18:51:24.604Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T18:51:24.604Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T18:51:24.870Z] OK: 8 MiB in 20 packages [2021-05-12T18:51:25.457Z] Removing intermediate container 6b3ba58d3cba [2021-05-12T18:51:25.457Z] ---> 91b7075b16fb [2021-05-12T18:51:25.457Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-12T18:51:26.048Z] ---> 6eb220084a67 [2021-05-12T18:51:26.048Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-12T18:51:26.628Z] ---> 5cbeeef204a2 [2021-05-12T18:51:26.628Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-12T18:51:26.892Z] ---> 8a38ee8682a1 [2021-05-12T18:51:26.892Z] Step 19/24 : EXPOSE 49986 [2021-05-12T18:51:26.892Z] ---> Running in 80343647ed17 [2021-05-12T18:51:27.154Z] Removing intermediate container 80343647ed17 [2021-05-12T18:51:27.154Z] ---> 0abc6ba7e294 [2021-05-12T18:51:27.154Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-12T18:51:27.154Z] ---> Running in d21ff3be5130 [2021-05-12T18:51:27.418Z] Removing intermediate container d21ff3be5130 [2021-05-12T18:51:27.418Z] ---> 694c728656cd [2021-05-12T18:51:27.418Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-12T18:51:27.418Z] ---> Running in 0d9b10cc7eda [2021-05-12T18:51:27.418Z] Removing intermediate container 0d9b10cc7eda [2021-05-12T18:51:27.418Z] ---> c7b4b53f4ca1 [2021-05-12T18:51:27.418Z] Step 22/24 : LABEL arch=amd64 [2021-05-12T18:51:27.685Z] ---> Running in dc52872108e5 [2021-05-12T18:51:27.685Z] Removing intermediate container dc52872108e5 [2021-05-12T18:51:27.685Z] ---> eacbf3ce95cc [2021-05-12T18:51:27.685Z] Step 23/24 : LABEL git_sha=14363d849f4049583840bd0deab993d7e0e00cc5 [2021-05-12T18:51:27.949Z] ---> Running in d4308a28051d [2021-05-12T18:51:27.949Z] Removing intermediate container d4308a28051d [2021-05-12T18:51:27.949Z] ---> b0b065b25071 [2021-05-12T18:51:27.949Z] Step 24/24 : LABEL version=0.0.0 [2021-05-12T18:51:28.212Z] ---> Running in c396cccaf190 [2021-05-12T18:51:28.212Z] Removing intermediate container c396cccaf190 [2021-05-12T18:51:28.212Z] ---> 5f40d294a15b [2021-05-12T18:51:28.212Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T18:51:28.212Z] Successfully built 5f40d294a15b [2021-05-12T18:51:28.212Z] 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-12T18:51:29.055Z] ---> job-cost.sh [2021-05-12T18:51:29.056Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RBFW [2021-05-12T18:51:45.769Z] Removing intermediate container 707bbac20582 [2021-05-12T18:51:45.769Z] ---> 8fddf792ee0c [2021-05-12T18:51:45.769Z] Successfully built 8fddf792ee0c [2021-05-12T18:51:45.769Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:51:46.139Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T18:51:46.139Z] . [Pipeline] withDockerContainer [2021-05-12T18:51:46.422Z] prd-ubuntu18.04-docker-arm64-4c-16g-4765 does not seem to be running inside a container [2021-05-12T18:51:46.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T18:51:47.237Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T18:51:48.003Z] $ docker top ec55dae757b6008c2ecf3b2bc5622069feb21f4cb5f30a0ea759435df3c9de8d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T18:51:49.047Z] + go version [2021-05-12T18:51:49.047Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T18:51:49.092Z] $ docker stop --time=1 ec55dae757b6008c2ecf3b2bc5622069feb21f4cb5f30a0ea759435df3c9de8d [2021-05-12T18:51:51.017Z] $ docker rm -f ec55dae757b6008c2ecf3b2bc5622069feb21f4cb5f30a0ea759435df3c9de8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:51:51.963Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T18:51:51.963Z] . [Pipeline] withDockerContainer [2021-05-12T18:51:52.250Z] prd-ubuntu18.04-docker-arm64-4c-16g-4765 does not seem to be running inside a container [2021-05-12T18:51:52.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T18:51:53.867Z] $ docker top 7b6e610e5a87b84a3a79347111ec9af9dbe24036a790e5673005953d1c6c2af5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T18:51:54.874Z] + go mod tidy [Pipeline] sh [2021-05-12T18:51:56.204Z] + make test [2021-05-12T18:51:56.204Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-12T18:51:57.640Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-12T18:52:13.880Z] lf-activate-venv(): INFO: Adding /tmp/venv-RBFW/bin to PATH [2021-05-12T18:52:13.880Z] INFO: No Stack... [2021-05-12T18:52:15.273Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T18:52:15.851Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T18:52:16.196Z] + cut -d, -f6 [2021-05-12T18:52:16.196Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2021-05-12T18:52:16.306Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-96-1-stack-cost] [2021-05-12T18:52:16.313Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-96-1-stack-cost] did not exist. Created. [2021-05-12T18:52:16.313Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-96-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T18:52:16.726Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T18:52:16.873Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T18:52:16.894Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-96-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T18:52:54.202Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-12T18:52:54.202Z] ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 54.0% of statements [2021-05-12T18:52:54.202Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T18:53:16.427Z] gofmt -l . [2021-05-12T18:53:16.427Z] [ "`gofmt -l .`" = "" ] [2021-05-12T18:53:16.427Z] ./bin/test-go-mod-tidy.sh [2021-05-12T18:53:17.031Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-12T18:53:19.065Z] $ docker stop --time=1 7b6e610e5a87b84a3a79347111ec9af9dbe24036a790e5673005953d1c6c2af5 [2021-05-12T18:53:21.089Z] $ docker rm -f 7b6e610e5a87b84a3a79347111ec9af9dbe24036a790e5673005953d1c6c2af5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T18:53:22.016Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T18:53:22.056Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T18:53:22.546Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T18:53:23.187Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T18:53:23.535Z] + ls -al . [2021-05-12T18:53:23.535Z] total 132 [2021-05-12T18:53:23.535Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 18:53 . [2021-05-12T18:53:23.535Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 18:50 .. [2021-05-12T18:53:23.535Z] -rw-rw-r-- 1 jenkins jenkins 151 May 12 18:50 .dockerignore [2021-05-12T18:53:23.535Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 18:50 .git [2021-05-12T18:53:23.535Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 18:50 .github [2021-05-12T18:53:23.535Z] -rw-rw-r-- 1 jenkins jenkins 339 May 12 18:50 .gitignore [2021-05-12T18:53:23.535Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 12 18:50 Attribution.txt [2021-05-12T18:53:23.535Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 12 18:50 Dockerfile [2021-05-12T18:53:23.535Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 12 18:50 Dockerfile.build [2021-05-12T18:53:23.535Z] -rw-rw-r-- 1 jenkins jenkins 680 May 12 18:50 Jenkinsfile [2021-05-12T18:53:23.535Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 18:50 LICENSE [2021-05-12T18:53:23.535Z] -rw-rw-r-- 1 jenkins jenkins 989 May 12 18:50 Makefile [2021-05-12T18:53:23.535Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 12 18:50 README.md [2021-05-12T18:53:23.535Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 18:47 VERSION [2021-05-12T18:53:23.535Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 18:50 bin [2021-05-12T18:53:23.535Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 18:50 cmd [2021-05-12T18:53:23.535Z] -rw-r--r-- 1 jenkins jenkins 8513 May 12 18:52 coverage.out [2021-05-12T18:53:23.535Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 18:50 driver [2021-05-12T18:53:23.535Z] -rw-r--r-- 1 jenkins jenkins 285 May 12 18:53 go.mod [2021-05-12T18:53:23.535Z] -rw-r--r-- 1 jenkins jenkins 20782 May 12 18:51 go.sum [2021-05-12T18:53:23.535Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 18:50 snap [2021-05-12T18:53:23.535Z] -rw-rw-r-- 1 jenkins jenkins 713 May 12 18:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:53:23.913Z] + 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=14363d849f4049583840bd0deab993d7e0e00cc5 --label arch=arm64 --label version=0.0.0 . [2021-05-12T18:53:23.913Z] Sending build context to Docker daemon 101.9kB [2021-05-12T18:53:24.188Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T18:53:24.188Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-12T18:53:24.188Z] ---> 8fddf792ee0c [2021-05-12T18:53:24.188Z] Step 3/24 : ARG MAKE='make build' [2021-05-12T18:53:24.464Z] ---> Running in e190d7f8e6a1 [2021-05-12T18:53:25.060Z] Removing intermediate container e190d7f8e6a1 [2021-05-12T18:53:25.060Z] ---> 503fc34b71c4 [2021-05-12T18:53:25.060Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T18:53:25.060Z] ---> Running in 4d196082b3d7 [2021-05-12T18:53:25.660Z] Removing intermediate container 4d196082b3d7 [2021-05-12T18:53:25.660Z] ---> 43edf1c22cbc [2021-05-12T18:53:25.660Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T18:53:25.660Z] ---> Running in 3ba95026b65f [2021-05-12T18:53:25.933Z] Removing intermediate container 3ba95026b65f [2021-05-12T18:53:25.933Z] ---> 41af87f0b73a [2021-05-12T18:53:25.933Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T18:53:26.205Z] ---> Running in 89d302338d23 [2021-05-12T18:53:28.175Z] Removing intermediate container 89d302338d23 [2021-05-12T18:53:28.175Z] ---> 50a9f391e131 [2021-05-12T18:53:28.175Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T18:53:28.453Z] ---> Running in 7ab6c6ed3b18 [2021-05-12T18:53:29.431Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T18:53:30.406Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T18:53:30.999Z] OK: 144 MiB in 49 packages [2021-05-12T18:53:32.431Z] Removing intermediate container 7ab6c6ed3b18 [2021-05-12T18:53:32.432Z] ---> b55a46317206 [2021-05-12T18:53:32.432Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-12T18:53:32.432Z] ---> Running in de93e722767b [2021-05-12T18:53:33.026Z] Removing intermediate container de93e722767b [2021-05-12T18:53:33.027Z] ---> d12179244e46 [2021-05-12T18:53:33.027Z] Step 9/24 : COPY . . [2021-05-12T18:53:33.624Z] ---> f4e4dcafcb50 [2021-05-12T18:53:33.624Z] Step 10/24 : RUN make update [2021-05-12T18:53:33.901Z] ---> Running in 663f53764621 [2021-05-12T18:53:34.880Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-12T18:53:36.340Z] Removing intermediate container 663f53764621 [2021-05-12T18:53:36.340Z] ---> c90b025d7c81 [2021-05-12T18:53:36.340Z] Step 11/24 : RUN $MAKE [2021-05-12T18:53:36.340Z] ---> Running in dcd802fed444 [2021-05-12T18:53:37.325Z] go mod tidy [2021-05-12T18:53:37.922Z] 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-12T18:54:16.948Z] Removing intermediate container dcd802fed444 [2021-05-12T18:54:16.948Z] ---> d51061cb8dda [2021-05-12T18:54:16.948Z] Step 12/24 : FROM alpine:3.12 [2021-05-12T18:54:16.948Z] 3.12: Pulling from library/alpine [2021-05-12T18:54:16.948Z] d2f70382dc9a: Pulling fs layer [2021-05-12T18:54:16.948Z] d2f70382dc9a: Download complete [2021-05-12T18:54:16.948Z] d2f70382dc9a: Pull complete [2021-05-12T18:54:16.948Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T18:54:16.948Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T18:54:16.948Z] ---> 9852663dfa18 [2021-05-12T18:54:16.948Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T18:54:16.948Z] ---> Running in 7f196bad1291 [2021-05-12T18:54:16.948Z] Removing intermediate container 7f196bad1291 [2021-05-12T18:54:16.948Z] ---> 0b0975219f07 [2021-05-12T18:54:16.948Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-12T18:54:16.948Z] ---> Running in 9c316d5d6acd [2021-05-12T18:54:16.948Z] Removing intermediate container 9c316d5d6acd [2021-05-12T18:54:16.948Z] ---> 8399d97f0aaf [2021-05-12T18:54:16.948Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T18:54:16.948Z] ---> Running in b42c16a00e1c [2021-05-12T18:54:16.948Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-12T18:54:16.948Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-12T18:54:16.948Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T18:54:16.948Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T18:54:16.948Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T18:54:16.948Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T18:54:16.948Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T18:54:16.948Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T18:54:16.948Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T18:54:16.948Z] OK: 8 MiB in 20 packages [2021-05-12T18:54:17.922Z] Removing intermediate container b42c16a00e1c [2021-05-12T18:54:17.922Z] ---> 80cd9437d289 [2021-05-12T18:54:17.922Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-12T18:54:18.898Z] ---> 5083df137677 [2021-05-12T18:54:18.898Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-12T18:54:19.504Z] ---> 2c0e50ef58c8 [2021-05-12T18:54:19.504Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-12T18:54:20.485Z] ---> 57873f9d75cd [2021-05-12T18:54:20.485Z] Step 19/24 : EXPOSE 49986 [2021-05-12T18:54:20.485Z] ---> Running in a67d18bb5042 [2021-05-12T18:54:21.078Z] Removing intermediate container a67d18bb5042 [2021-05-12T18:54:21.078Z] ---> 3775ce7dec1c [2021-05-12T18:54:21.078Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-12T18:54:21.078Z] ---> Running in f5f02da3d26e [2021-05-12T18:54:21.353Z] Removing intermediate container f5f02da3d26e [2021-05-12T18:54:21.353Z] ---> 31812390464f [2021-05-12T18:54:21.353Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-12T18:54:21.629Z] ---> Running in d942e093d119 [2021-05-12T18:54:21.902Z] Removing intermediate container d942e093d119 [2021-05-12T18:54:21.902Z] ---> 13b963127950 [2021-05-12T18:54:21.902Z] Step 22/24 : LABEL arch=arm64 [2021-05-12T18:54:22.174Z] ---> Running in 073c281d0ece [2021-05-12T18:54:22.450Z] Removing intermediate container 073c281d0ece [2021-05-12T18:54:22.450Z] ---> a59f80e72421 [2021-05-12T18:54:22.450Z] Step 23/24 : LABEL git_sha=14363d849f4049583840bd0deab993d7e0e00cc5 [2021-05-12T18:54:22.729Z] ---> Running in 8c6ea6760059 [2021-05-12T18:54:23.324Z] Removing intermediate container 8c6ea6760059 [2021-05-12T18:54:23.324Z] ---> ed55e66c7c58 [2021-05-12T18:54:23.324Z] Step 24/24 : LABEL version=0.0.0 [2021-05-12T18:54:23.324Z] ---> Running in 4fc08fafef16 [2021-05-12T18:54:23.919Z] Removing intermediate container 4fc08fafef16 [2021-05-12T18:54:23.919Z] ---> 100d395f5dc4 [2021-05-12T18:54:23.919Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T18:54:23.919Z] Successfully built 100d395f5dc4 [2021-05-12T18:54:23.919Z] 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-12T18:54:24.637Z] ---> job-cost.sh [2021-05-12T18:54:24.637Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-V8iU [2021-05-12T18:55:03.597Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T18:56:25.326Z] lf-activate-venv(): INFO: Adding /tmp/venv-V8iU/bin to PATH [2021-05-12T18:56:25.326Z] INFO: No Stack... [2021-05-12T18:56:25.326Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T18:56:25.919Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T18:56:26.290Z] + cut -d, -f6 [2021-05-12T18:56:26.290Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2021-05-12T18:56:26.426Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-96-1-stack-cost] [2021-05-12T18:56:26.432Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-96-1-stack-cost] did not exist. Created. [2021-05-12T18:56:26.432Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-96-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T18:56:26.871Z] /w/workspace/device-rest-go/1@tmp/durable-9c895a68/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-9c895a68/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T18:56:27.260Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T18:56:27.309Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T18:56:27.461Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T18:56:27.481Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-96-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-12T18:56:28.644Z] provisioning config files... [2021-05-12T18:56:28.660Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/config8352972061156959360tmp [Pipeline] { [Pipeline] sh [2021-05-12T18:56:29.235Z] + set +x [2021-05-12T18:56:29.235Z] + bash -s -- [2021-05-12T18:56:29.235Z] + curl -s https://codecov.io/bash [2021-05-12T18:56:29.539Z] [2021-05-12T18:56:29.539Z] _____ _ [2021-05-12T18:56:29.539Z] / ____| | | [2021-05-12T18:56:29.539Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T18:56:29.539Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T18:56:29.539Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T18:56:29.539Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T18:56:29.539Z] Bash-1.0.2 [2021-05-12T18:56:29.539Z] [2021-05-12T18:56:29.539Z] [2021-05-12T18:56:29.539Z] ==> git version 2.24.3 found [2021-05-12T18:56:29.539Z] ==> 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-12T18:56:29.539Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T18:56:29.539Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T18:56:29.539Z] ==> Jenkins CI detected. [2021-05-12T18:56:29.836Z] project root: . [2021-05-12T18:56:29.836Z] --> token set from env [2021-05-12T18:56:29.836Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T18:56:29.836Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T18:56:29.836Z] ==> Python coveragepy not found [2021-05-12T18:56:29.836Z] ==> Searching for coverage reports in: [2021-05-12T18:56:29.836Z] + . [2021-05-12T18:56:29.836Z] -> Found 1 reports [2021-05-12T18:56:29.836Z] ==> Detecting git/mercurial file structure [2021-05-12T18:56:29.836Z] ==> Reading reports [2021-05-12T18:56:29.836Z] + ./coverage.out bytes=8513 [2021-05-12T18:56:29.836Z] ==> Appending adjustments [2021-05-12T18:56:29.836Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T18:56:30.104Z] + Found adjustments [2021-05-12T18:56:30.104Z] ==> Gzipping contents [2021-05-12T18:56:30.104Z] 4.0K /tmp/codecov.sY9UQQ.gz [2021-05-12T18:56:30.104Z] ==> Uploading reports [2021-05-12T18:56:30.104Z] url: https://codecov.io [2021-05-12T18:56:30.104Z] query: branch=PR-96&commit=14363d849f4049583840bd0deab993d7e0e00cc5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-96%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=96&job=&cmd_args= [2021-05-12T18:56:30.104Z] -> Pinging Codecov [2021-05-12T18:56:30.104Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-96&commit=14363d849f4049583840bd0deab993d7e0e00cc5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-96%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=96&job=&cmd_args= [2021-05-12T18:56:30.736Z] -> Uploading to [2021-05-12T18:56:30.736Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/4E5D53B4F1F92C436F7061BF334D961C/14363d849f4049583840bd0deab993d7e0e00cc5/1498b922-9013-4e12-b1df-034f29437dcb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T185630Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=175f631a2ac21bffa169b0224de6e2c4daf15a5c2f7671aa6e957898bd5e09c3 [2021-05-12T18:56:30.736Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T18:56:30.736Z] Dload Upload Total Spent Left Speed [2021-05-12T18:56:31.334Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3729 --:--:-- --:--:-- --:--:-- 3737 [2021-05-12T18:56:31.334Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/14363d849f4049583840bd0deab993d7e0e00cc5 [Pipeline] } [2021-05-12T18:56:31.363Z] 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-12T18:56:33.365Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:56:34.791Z] ---> package-listing.sh [2021-05-12T18:56:34.791Z] ++ facter osfamily [2021-05-12T18:56:34.791Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T18:56:35.156Z] + OS_FAMILY=redhat [2021-05-12T18:56:35.156Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-96 [2021-05-12T18:56:35.156Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T18:56:35.156Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T18:56:35.156Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T18:56:35.156Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T18:56:35.156Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-96 ']' [2021-05-12T18:56:35.156Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T18:56:35.156Z] + case "${OS_FAMILY}" in [2021-05-12T18:56:35.156Z] + rpm -qa [2021-05-12T18:56:35.156Z] + sort [2021-05-12T18:56:42.022Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T18:56:42.022Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T18:56:42.022Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T18:56:42.022Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-96 ']' [2021-05-12T18:56:42.022Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-96/archives/ [2021-05-12T18:56:42.022Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-96/archives/ [Pipeline] echo [2021-05-12T18:56:42.073Z] 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-96/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-12T18:56:42.431Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:56:43.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T18:56:43.489Z] [2021-05-12T18:56:43.489Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T18:56:43.992Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T18:56:44.269Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T18:56:44.269Z] df20fa9351a1: Pulling fs layer [2021-05-12T18:56:44.269Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T18:56:44.269Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T18:56:44.269Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T18:56:44.269Z] 93b61091891f: Pulling fs layer [2021-05-12T18:56:44.269Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T18:56:44.269Z] 5e14af77c1be: Pulling fs layer [2021-05-12T18:56:44.270Z] 01666e4c0597: Pulling fs layer [2021-05-12T18:56:44.270Z] aa168da1d23b: Pulling fs layer [2021-05-12T18:56:44.270Z] 46f8f816bc3b: Waiting [2021-05-12T18:56:44.270Z] 93b61091891f: Waiting [2021-05-12T18:56:44.270Z] 93b9cdb0e59b: Waiting [2021-05-12T18:56:44.270Z] 5e14af77c1be: Waiting [2021-05-12T18:56:44.270Z] 01666e4c0597: Waiting [2021-05-12T18:56:44.270Z] aa168da1d23b: Waiting [2021-05-12T18:56:44.270Z] 36b3adc4ff6f: Verifying Checksum [2021-05-12T18:56:44.270Z] 36b3adc4ff6f: Download complete [2021-05-12T18:56:44.270Z] 46f8f816bc3b: Verifying Checksum [2021-05-12T18:56:44.270Z] 46f8f816bc3b: Download complete [2021-05-12T18:56:44.573Z] df20fa9351a1: Download complete [2021-05-12T18:56:44.852Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T18:56:44.852Z] 93b9cdb0e59b: Download complete [2021-05-12T18:56:44.853Z] 5e14af77c1be: Verifying Checksum [2021-05-12T18:56:44.853Z] 5e14af77c1be: Download complete [2021-05-12T18:56:44.853Z] 01666e4c0597: Download complete [2021-05-12T18:56:44.853Z] 93b61091891f: Verifying Checksum [2021-05-12T18:56:44.853Z] 93b61091891f: Download complete [2021-05-12T18:56:45.151Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T18:56:45.151Z] 8ad3a11d3b57: Download complete [2021-05-12T18:56:45.452Z] df20fa9351a1: Pull complete [2021-05-12T18:56:45.768Z] 36b3adc4ff6f: Pull complete [2021-05-12T18:56:47.941Z] 8ad3a11d3b57: Pull complete [2021-05-12T18:56:47.941Z] 46f8f816bc3b: Pull complete [2021-05-12T18:56:49.110Z] 93b61091891f: Pull complete [2021-05-12T18:56:49.110Z] 93b9cdb0e59b: Pull complete [2021-05-12T18:56:49.425Z] 5e14af77c1be: Pull complete [2021-05-12T18:56:50.083Z] 01666e4c0597: Pull complete [2021-05-12T18:56:52.285Z] aa168da1d23b: Verifying Checksum [2021-05-12T18:56:52.285Z] aa168da1d23b: Download complete [2021-05-12T18:57:05.007Z] aa168da1d23b: Pull complete [2021-05-12T18:57:05.007Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T18:57:05.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T18:57:05.007Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T18:57:05.277Z] prd-centos7-docker-4c-2g-4762 does not seem to be running inside a container [2021-05-12T18:57:05.380Z] $ 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-96/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-96 -v /w/workspace/dgexfoundry_device-rest-go_PR-96:/w/workspace/dgexfoundry_device-rest-go_PR-96:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-96@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-96@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-12T18:57:09.576Z] $ docker top 9cfd3c2d471df456a9d6e9832d9a9195dd94c10a73321b3d5b73e72914b492c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T18:57:10.299Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T18:57:10.676Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T18:57:11.062Z] + ls /var/log/sa-host [2021-05-12T18:57:11.062Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T18:57:11.062Z] file_magic: OK [2021-05-12T18:57:11.062Z] HZ: Using current value: 100 [2021-05-12T18:57:11.062Z] file_header: OK [2021-05-12T18:57:11.062Z] 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-12T18:57:11.062Z] Statistics: [2021-05-12T18:57:11.062Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-12T18:57:11.062Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T18:57:11.062Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T18:57:11.062Z] file_magic: OK [2021-05-12T18:57:11.062Z] HZ: Using current value: 100 [2021-05-12T18:57:11.062Z] file_header: OK [2021-05-12T18:57:11.062Z] 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-12T18:57:11.062Z] Statistics: [2021-05-12T18:57:11.062Z] Hnuu...uuuununununu... [2021-05-12T18:57:11.062Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T18:57:11.723Z] provisioning config files... [2021-05-12T18:57:11.771Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/config2187806942391849069tmp [Pipeline] { [Pipeline] echo [2021-05-12T18:57:11.876Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:57:12.287Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T18:57:12.610Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T18:57:12.693Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:57:13.100Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T18:57:13.132Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:57:13.826Z] ---> sudo-logs.sh [2021-05-12T18:57:13.826Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T18:57:13.930Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:57:14.628Z] ---> job-cost.sh [2021-05-12T18:57:14.628Z] lf-activate-venv: SKIPPING [2021-05-12T18:57:14.628Z] DEBUG: total: 0.20999999344348907 [2021-05-12T18:57:14.628Z] INFO: Retrieving Stack Cost... [2021-05-12T18:57:16.042Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T18:57:16.689Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T18:57:16.740Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T18:57:17.127Z] ---> logs-deploy.sh [2021-05-12T18:57:17.127Z] lf-activate-venv: SKIPPING [2021-05-12T18:57:17.127Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-96/1 [2021-05-12T18:57:17.127Z] INFO: archiving workspace using pattern(s): [2021-05-12T18:57:19.724Z] Archives upload complete. [2021-05-12T18:57:19.724Z] INFO: archiving logs to Nexus [2021-05-12T18:57:21.185Z] ---> uname -a: [2021-05-12T18:57:21.185Z] Linux prd-centos7-docker-4c-2g-4762.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-12T18:57:21.185Z] [2021-05-12T18:57:21.185Z]