Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2d6897ad21f311d49f4974b8dbf2de077c7c0aba+196bef76aa0a3d89dc26ac944eff062c8405d7e3 (2041eeeebc893e341162af2462e4c74de0f31671) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5143 in /w/workspace/dgexfoundry_device-rest-go_PR-95 [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-95 # 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 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit 2d6897ad21f311d49f4974b8dbf2de077c7c0aba > 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/95/head:refs/remotes/origin/PR-95 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d6897ad21f311d49f4974b8dbf2de077c7c0aba # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing c83f3facbea0e05b2abce4455565e3db68c0c6c1 Checking out Revision c83f3facbea0e05b2abce4455565e3db68c0c6c1 (PR-95) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c83f3facbea0e05b2abce4455565e3db68c0c6c1 # timeout=10 Commit message: "Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD" > git rev-list --no-walk 2d6897ad21f311d49f4974b8dbf2de077c7c0aba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-13T11:08:40.368Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-13T11:08:40.475Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-13T11:08:40.508Z] ========================================================= [2021-05-13T11:08:40.508Z] EdgeX Global Pipelines Version Info [2021-05-13T11:08:40.508Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:08:42.101Z] ------------------- [2021-05-13T11:08:42.101Z] stable info: [2021-05-13T11:08:42.101Z] ------------------- [2021-05-13T11:08:42.101Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-13T11:08:42.101Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-13T11:08:42.101Z] Message: update stable to v1.0.192 [2021-05-13T11:08:43.053Z] ------------------- [2021-05-13T11:08:43.053Z] experimental info: [2021-05-13T11:08:43.053Z] ------------------- [2021-05-13T11:08:43.053Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-13T11:08:43.053Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-13T11:08:43.053Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-13T11:08:43.189Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-13T11:08:43.216Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-13T11:08:43.241Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-13T11:08:43.269Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-13T11:08:43.296Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-13T11:08:43.322Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-13T11:08:43.349Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-13T11:08:43.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-13T11:08:43.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-13T11:08:43.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-13T11:08:43.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-13T11:08:43.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-13T11:08:43.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-13T11:08:43.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-13T11:08:43.566Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-13T11:08:43.595Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-13T11:08:43.623Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T11:08:43.650Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T11:08:43.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-13T11:08:43.704Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-13T11:08:43.729Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-13T11:08:43.756Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-13T11:08:43.783Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-13T11:08:43.807Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-13T11:08:43.836Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-13T11:08:43.865Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-13T11:08:43.904Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-95 [Pipeline] echo [2021-05-13T11:08:43.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-95 [Pipeline] echo [2021-05-13T11:08:43.988Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-95 [Pipeline] echo [2021-05-13T11:08:44.033Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c83f3facbea0e05b2abce4455565e3db68c0c6c1 [Pipeline] echo [2021-05-13T11:08:44.059Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c83f3fa [Pipeline] echo [2021-05-13T11:08:44.107Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T11:08:44.197Z] provisioning config files... [2021-05-13T11:08:44.235Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-95@tmp/config3000814906777350318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:08:44.565Z] ---> docker-login.sh [2021-05-13T11:08:44.565Z] nexus3.edgexfoundry.org:10001 [2021-05-13T11:08:44.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:08:45.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:08:45.102Z] Configure a credential helper to remove this warning. See [2021-05-13T11:08:45.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:08:45.102Z] [2021-05-13T11:08:45.102Z] Login Succeeded [2021-05-13T11:08:45.102Z] nexus3.edgexfoundry.org:10002 [2021-05-13T11:08:45.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:08:45.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:08:45.102Z] Configure a credential helper to remove this warning. See [2021-05-13T11:08:45.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:08:45.102Z] [2021-05-13T11:08:45.102Z] Login Succeeded [2021-05-13T11:08:45.102Z] nexus3.edgexfoundry.org:10003 [2021-05-13T11:08:45.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:08:45.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:08:45.370Z] Configure a credential helper to remove this warning. See [2021-05-13T11:08:45.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:08:45.370Z] [2021-05-13T11:08:45.370Z] Login Succeeded [2021-05-13T11:08:45.370Z] nexus3.edgexfoundry.org:10004 [2021-05-13T11:08:45.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:08:45.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:08:45.634Z] Configure a credential helper to remove this warning. See [2021-05-13T11:08:45.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:08:45.634Z] [2021-05-13T11:08:45.634Z] Login Succeeded [2021-05-13T11:08:45.634Z] docker.io [2021-05-13T11:08:45.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:08:45.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:08:45.901Z] Configure a credential helper to remove this warning. See [2021-05-13T11:08:45.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:08:45.901Z] [2021-05-13T11:08:45.901Z] Login Succeeded [2021-05-13T11:08:45.901Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T11:08:45.913Z] 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-13T11:08:46.371Z] + git log --format=format:%s -1 c83f3facbea0e05b2abce4455565e3db68c0c6c1 [Pipeline] echo [2021-05-13T11:08:46.464Z] GIT_COMMIT: c83f3facbea0e05b2abce4455565e3db68c0c6c1, Commit Message: Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD [Pipeline] echo [2021-05-13T11:08:46.480Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:08:47.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T11:08:47.102Z] [2021-05-13T11:08:47.102Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:08:47.424Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T11:08:47.425Z] latest: Pulling from edgex-devops/git-semver [2021-05-13T11:08:47.425Z] 31603596830f: Pulling fs layer [2021-05-13T11:08:47.425Z] 54011a49482f: Pulling fs layer [2021-05-13T11:08:47.425Z] a6820b24f6d8: Pulling fs layer [2021-05-13T11:08:47.425Z] f581987b2513: Pulling fs layer [2021-05-13T11:08:47.425Z] f581987b2513: Waiting [2021-05-13T11:08:47.425Z] 54011a49482f: Verifying Checksum [2021-05-13T11:08:47.425Z] 54011a49482f: Download complete [2021-05-13T11:08:47.691Z] 31603596830f: Verifying Checksum [2021-05-13T11:08:47.691Z] 31603596830f: Download complete [2021-05-13T11:08:47.959Z] f581987b2513: Verifying Checksum [2021-05-13T11:08:47.959Z] f581987b2513: Download complete [2021-05-13T11:08:47.959Z] a6820b24f6d8: Verifying Checksum [2021-05-13T11:08:47.959Z] a6820b24f6d8: Download complete [2021-05-13T11:08:47.959Z] 31603596830f: Pull complete [2021-05-13T11:08:48.230Z] 54011a49482f: Pull complete [2021-05-13T11:08:49.191Z] a6820b24f6d8: Pull complete [2021-05-13T11:08:49.454Z] f581987b2513: Pull complete [2021-05-13T11:08:49.454Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-13T11:08:49.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T11:08:49.454Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-13T11:08:49.572Z] prd-centos7-docker-4c-2g-5143 does not seem to be running inside a container [2021-05-13T11:08:49.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-95 -v /w/workspace/dgexfoundry_device-rest-go_PR-95:/w/workspace/dgexfoundry_device-rest-go_PR-95:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-95@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-95@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-13T11:08:51.724Z] $ docker top b69ab346c64d858b94ddfa00a0925ad02cfb130ee1bb1d42e75389c0d7ff4baf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-13T11:08:51.890Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-13T11:08:51.890Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-13T11:08:52.125Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-13T11:08:52.128Z] $ docker exec b69ab346c64d858b94ddfa00a0925ad02cfb130ee1bb1d42e75389c0d7ff4baf ssh-agent [2021-05-13T11:08:52.303Z] SSH_AUTH_SOCK=/tmp/ssh-cu2rSSf2Qxrk/agent.13 [2021-05-13T11:08:52.303Z] SSH_AGENT_PID=19 [2021-05-13T11:08:52.313Z] Running ssh-add (command line suppressed) [2021-05-13T11:08:52.438Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-95@tmp/private_key_8843285044688029957.key (/w/workspace/dgexfoundry_device-rest-go_PR-95@tmp/private_key_8843285044688029957.key) [2021-05-13T11:08:52.497Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-13T11:08:52.807Z] + git tag --points-at HEAD [Pipeline] } [2021-05-13T11:08:52.827Z] $ docker exec --env ******** --env ******** b69ab346c64d858b94ddfa00a0925ad02cfb130ee1bb1d42e75389c0d7ff4baf ssh-agent -k [2021-05-13T11:08:52.941Z] unset SSH_AUTH_SOCK; [2021-05-13T11:08:52.942Z] unset SSH_AGENT_PID; [2021-05-13T11:08:52.942Z] echo Agent pid 19 killed; [2021-05-13T11:08:52.993Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-13T11:08:53.034Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-13T11:08:53.034Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-13T11:08:53.205Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-13T11:08:53.209Z] $ docker exec b69ab346c64d858b94ddfa00a0925ad02cfb130ee1bb1d42e75389c0d7ff4baf ssh-agent [2021-05-13T11:08:53.382Z] SSH_AUTH_SOCK=/tmp/ssh-yz2S1LfSdVqN/agent.48 [2021-05-13T11:08:53.382Z] SSH_AGENT_PID=53 [2021-05-13T11:08:53.391Z] Running ssh-add (command line suppressed) [2021-05-13T11:08:53.509Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-95@tmp/private_key_4659461365702633520.key (/w/workspace/dgexfoundry_device-rest-go_PR-95@tmp/private_key_4659461365702633520.key) [2021-05-13T11:08:53.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-13T11:08:53.884Z] + git semver init [2021-05-13T11:08:53.884Z] # -> Open(): unable to determine branch for HEAD [2021-05-13T11:08:53.884Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-95/.git [2021-05-13T11:08:53.884Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-95 [2021-05-13T11:08:53.884Z] # $SEMVER_REMOTE_NAME = origin [2021-05-13T11:08:53.884Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-13T11:08:53.884Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-13T11:08:53.884Z] # $SEMVER_BRANCH = PR-95 [2021-05-13T11:08:53.884Z] # $SEMVER_TEMP = /tmp/semver-617959774 [2021-05-13T11:08:53.884Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-13T11:08:55.828Z] # '/tmp/semver-617959774' -> '/w/workspace/dgexfoundry_device-rest-go_PR-95/.semver' [2021-05-13T11:08:56.091Z] # -> Force: false [2021-05-13T11:08:56.091Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-95/.semver [Pipeline] } [2021-05-13T11:08:56.112Z] $ docker exec --env ******** --env ******** b69ab346c64d858b94ddfa00a0925ad02cfb130ee1bb1d42e75389c0d7ff4baf ssh-agent -k [2021-05-13T11:08:56.251Z] unset SSH_AUTH_SOCK; [2021-05-13T11:08:56.251Z] unset SSH_AGENT_PID; [2021-05-13T11:08:56.251Z] echo Agent pid 53 killed; [2021-05-13T11:08:56.308Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-13T11:08:56.658Z] + git semver [Pipeline] } [2021-05-13T11:08:56.674Z] $ docker stop --time=1 b69ab346c64d858b94ddfa00a0925ad02cfb130ee1bb1d42e75389c0d7ff4baf [2021-05-13T11:08:58.120Z] $ docker rm -f b69ab346c64d858b94ddfa00a0925ad02cfb130ee1bb1d42e75389c0d7ff4baf [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T11:08:58.613Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-13T11:08:58.963Z] Stashed 1 file(s) [Pipeline] echo [2021-05-13T11:08:58.967Z] [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-13T11:09:14.149Z] Still waiting to schedule task [2021-05-13T11:09:14.150Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-13T11:09:14.153Z] Still waiting to schedule task [2021-05-13T11:09:14.153Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-13T11:11:08.739Z] Running on prd-centos7-docker-4c-2g-5147 in /w/workspace/dgexfoundry_device-rest-go_PR-95 [Pipeline] { [Pipeline] ws [2021-05-13T11:11:08.760Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-13T11:11:11.658Z] using credential edgex-jenkins-ssh [2021-05-13T11:11:11.671Z] Cloning the remote Git repository [2021-05-13T11:11:11.449Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-13T11:11:11.527Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-13T11:11:11.595Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-13T11:11:11.596Z] > git --version # timeout=10 [2021-05-13T11:11:11.601Z] > git --version # 'git version 2.24.3' [2021-05-13T11:11:11.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T11:11:11.631Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T11:11:12.679Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-13T11:11:12.687Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T11:11:12.699Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-13T11:11:12.715Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-13T11:11:12.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T11:11:12.720Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-13T11:11:13.245Z] Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit 2d6897ad21f311d49f4974b8dbf2de077c7c0aba [2021-05-13T11:11:13.340Z] Merge succeeded, producing 20729ba83d4085cc8594786e50b5c7cda808137e [2021-05-13T11:11:13.340Z] Checking out Revision 20729ba83d4085cc8594786e50b5c7cda808137e (PR-95) [2021-05-13T11:11:13.137Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T11:11:13.144Z] > git checkout -f 2d6897ad21f311d49f4974b8dbf2de077c7c0aba # timeout=10 [2021-05-13T11:11:13.180Z] > git remote # timeout=10 [2021-05-13T11:11:13.188Z] > git config --get remote.origin.url # timeout=10 [2021-05-13T11:11:13.195Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T11:11:13.200Z] > git merge 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 [2021-05-13T11:11:13.225Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-13T11:11:13.236Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T11:11:13.241Z] > git checkout -f 20729ba83d4085cc8594786e50b5c7cda808137e # timeout=10 [2021-05-13T11:11:16.879Z] Commit message: "Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD" [2021-05-13T11:11:16.885Z] > git rev-list --no-walk 2d6897ad21f311d49f4974b8dbf2de077c7c0aba # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T11:11:18.056Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-13T11:11:18.398Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-13T11:11:18.697Z] + sudo service docker restart [2021-05-13T11:11:18.697Z] + true [2021-05-13T11:11:18.697Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T11:11:19.676Z] provisioning config files... [2021-05-13T11:11:19.708Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config1499556297720328321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:11:20.033Z] ---> docker-login.sh [2021-05-13T11:11:20.033Z] nexus3.edgexfoundry.org:10001 [2021-05-13T11:11:20.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:11:20.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:11:20.557Z] Configure a credential helper to remove this warning. See [2021-05-13T11:11:20.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:11:20.557Z] [2021-05-13T11:11:20.557Z] Login Succeeded [2021-05-13T11:11:20.557Z] nexus3.edgexfoundry.org:10002 [2021-05-13T11:11:20.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:11:20.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:11:20.557Z] Configure a credential helper to remove this warning. See [2021-05-13T11:11:20.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:11:20.557Z] [2021-05-13T11:11:20.557Z] Login Succeeded [2021-05-13T11:11:20.557Z] nexus3.edgexfoundry.org:10003 [2021-05-13T11:11:20.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:11:20.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:11:20.821Z] Configure a credential helper to remove this warning. See [2021-05-13T11:11:20.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:11:20.821Z] [2021-05-13T11:11:20.821Z] Login Succeeded [2021-05-13T11:11:20.821Z] nexus3.edgexfoundry.org:10004 [2021-05-13T11:11:21.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:11:21.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:11:21.083Z] Configure a credential helper to remove this warning. See [2021-05-13T11:11:21.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:11:21.083Z] [2021-05-13T11:11:21.083Z] Login Succeeded [2021-05-13T11:11:21.083Z] docker.io [2021-05-13T11:11:21.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:11:21.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:11:21.347Z] Configure a credential helper to remove this warning. See [2021-05-13T11:11:21.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:11:21.347Z] [2021-05-13T11:11:21.347Z] Login Succeeded [2021-05-13T11:11:21.347Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T11:11:21.356Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-13T11:11:21.536Z] ========================================================= [2021-05-13T11:11:21.536Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-13T11:11:21.536Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:11:21.850Z] + 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-13T11:11:21.850Z] Sending build context to Docker daemon 92.16kB [2021-05-13T11:11:21.850Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T11:11:21.850Z] Step 2/10 : FROM ${BASE} [2021-05-13T11:11:21.850Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-13T11:11:21.850Z] 540db60ca938: Pulling fs layer [2021-05-13T11:11:21.850Z] adcc1eea9eea: Pulling fs layer [2021-05-13T11:11:21.850Z] 4c4ab2625f07: Pulling fs layer [2021-05-13T11:11:21.850Z] 0510c868ecb4: Pulling fs layer [2021-05-13T11:11:21.850Z] afea3b2eda06: Pulling fs layer [2021-05-13T11:11:21.850Z] 7809a108b3ef: Pulling fs layer [2021-05-13T11:11:21.850Z] f706445af74f: Pulling fs layer [2021-05-13T11:11:21.850Z] 0510c868ecb4: Waiting [2021-05-13T11:11:21.850Z] afea3b2eda06: Waiting [2021-05-13T11:11:21.850Z] 7809a108b3ef: Waiting [2021-05-13T11:11:21.850Z] f706445af74f: Waiting [2021-05-13T11:11:22.115Z] 4c4ab2625f07: Verifying Checksum [2021-05-13T11:11:22.115Z] 4c4ab2625f07: Download complete [2021-05-13T11:11:22.115Z] adcc1eea9eea: Verifying Checksum [2021-05-13T11:11:22.115Z] adcc1eea9eea: Download complete [2021-05-13T11:11:22.115Z] afea3b2eda06: Verifying Checksum [2021-05-13T11:11:22.115Z] afea3b2eda06: Download complete [2021-05-13T11:11:22.115Z] 540db60ca938: Verifying Checksum [2021-05-13T11:11:22.115Z] 540db60ca938: Download complete [2021-05-13T11:11:22.115Z] 7809a108b3ef: Verifying Checksum [2021-05-13T11:11:22.115Z] 7809a108b3ef: Download complete [2021-05-13T11:11:22.377Z] 540db60ca938: Pull complete [2021-05-13T11:11:22.640Z] adcc1eea9eea: Pull complete [2021-05-13T11:11:22.640Z] 4c4ab2625f07: Pull complete [2021-05-13T11:11:24.041Z] f706445af74f: Verifying Checksum [2021-05-13T11:11:24.041Z] f706445af74f: Download complete [2021-05-13T11:11:24.992Z] 0510c868ecb4: Verifying Checksum [2021-05-13T11:11:24.992Z] 0510c868ecb4: Download complete [2021-05-13T11:11:31.633Z] 0510c868ecb4: Pull complete [2021-05-13T11:11:31.633Z] afea3b2eda06: Pull complete [2021-05-13T11:11:31.633Z] 7809a108b3ef: Pull complete [2021-05-13T11:11:34.972Z] f706445af74f: Pull complete [2021-05-13T11:11:34.972Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-13T11:11:34.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-13T11:11:34.972Z] ---> b068be0155e3 [2021-05-13T11:11:34.972Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-13T11:11:35.922Z] ---> Running in ad161c5a048e [2021-05-13T11:11:35.922Z] Removing intermediate container ad161c5a048e [2021-05-13T11:11:35.922Z] ---> e0a84541c6ea [2021-05-13T11:11:35.922Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-13T11:11:36.193Z] ---> Running in 87afe3f9da82 [2021-05-13T11:11:36.194Z] Removing intermediate container 87afe3f9da82 [2021-05-13T11:11:36.194Z] ---> ff6701a74321 [2021-05-13T11:11:36.194Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-13T11:11:36.194Z] ---> Running in a5f1f47209db [2021-05-13T11:11:36.457Z] Removing intermediate container a5f1f47209db [2021-05-13T11:11:36.457Z] ---> 97dfdb520a19 [2021-05-13T11:11:36.457Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T11:11:36.457Z] ---> Running in f32a3b7de9b8 [2021-05-13T11:11:37.872Z] Removing intermediate container f32a3b7de9b8 [2021-05-13T11:11:37.872Z] ---> fd6c25b63172 [2021-05-13T11:11:37.872Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-13T11:11:37.872Z] ---> Running in d4e17258b7b3 [2021-05-13T11:11:38.822Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-13T11:11:39.770Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-13T11:11:40.345Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-13T11:11:40.345Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-13T11:11:40.345Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-13T11:11:40.345Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-13T11:11:40.607Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-13T11:11:40.607Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-13T11:11:40.607Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-13T11:11:41.182Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-13T11:11:41.182Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-13T11:11:41.182Z] Executing busybox-1.32.1-r6.trigger [2021-05-13T11:11:41.182Z] OK: 154 MiB in 49 packages [2021-05-13T11:11:42.132Z] Removing intermediate container d4e17258b7b3 [2021-05-13T11:11:42.132Z] ---> e9f76b35028f [2021-05-13T11:11:42.132Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-13T11:11:42.132Z] ---> Running in 2e6a5711d774 [2021-05-13T11:11:42.132Z] Removing intermediate container 2e6a5711d774 [2021-05-13T11:11:42.132Z] ---> 36cc3d853cfa [2021-05-13T11:11:42.132Z] Step 9/10 : COPY . . [2021-05-13T11:11:42.398Z] ---> 6d99d1b290fb [2021-05-13T11:11:42.398Z] Step 10/10 : RUN go mod download [2021-05-13T11:11:42.662Z] ---> Running in 1b194bb85fe2 [2021-05-13T11:11:50.410Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5146 in /w/workspace/dgexfoundry_device-rest-go_PR-95 [Pipeline] { [Pipeline] ws [2021-05-13T11:11:50.432Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-13T11:11:56.563Z] using credential edgex-jenkins-ssh [2021-05-13T11:11:56.600Z] Cloning the remote Git repository [2021-05-13T11:11:56.697Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-13T11:11:56.824Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-13T11:11:57.056Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-13T11:11:57.056Z] > git --version # timeout=10 [2021-05-13T11:11:57.086Z] > git --version # 'git version 2.17.1' [2021-05-13T11:11:57.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T11:11:57.163Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T11:11:59.419Z] Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit 2d6897ad21f311d49f4974b8dbf2de077c7c0aba [2021-05-13T11:11:59.650Z] Merge succeeded, producing c09d5e72c13119063f19e692723c03f058554732 [2021-05-13T11:11:59.651Z] Checking out Revision c09d5e72c13119063f19e692723c03f058554732 (PR-95) [2021-05-13T11:11:58.846Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-13T11:11:58.862Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T11:11:58.895Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-13T11:11:58.931Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-13T11:11:58.932Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T11:11:58.944Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-13T11:11:59.445Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T11:11:59.456Z] > git checkout -f 2d6897ad21f311d49f4974b8dbf2de077c7c0aba # timeout=10 [2021-05-13T11:11:59.538Z] > git remote # timeout=10 [2021-05-13T11:11:59.564Z] > git config --get remote.origin.url # timeout=10 [2021-05-13T11:11:59.585Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T11:11:59.595Z] > git merge 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 [2021-05-13T11:11:59.639Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-13T11:11:59.669Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T11:11:59.688Z] > git checkout -f c09d5e72c13119063f19e692723c03f058554732 # timeout=10 [2021-05-13T11:12:03.856Z] Commit message: "Merge commit '196bef76aa0a3d89dc26ac944eff062c8405d7e3' into HEAD" [2021-05-13T11:12:03.872Z] > git rev-list --no-walk 2d6897ad21f311d49f4974b8dbf2de077c7c0aba # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T11:12:04.708Z] Removing intermediate container 1b194bb85fe2 [2021-05-13T11:12:04.708Z] ---> 3aded251f8f7 [2021-05-13T11:12:04.708Z] Successfully built 3aded251f8f7 [2021-05-13T11:12:04.708Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:12:05.384Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-05-13T11:12:05.388Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-13T11:12:05.389Z] . [Pipeline] withDockerContainer [2021-05-13T11:12:05.515Z] prd-centos7-docker-4c-2g-5147 does not seem to be running inside a container [2021-05-13T11:12:05.567Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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-13T11:12:06.452Z] $ docker top 627e85f2ce5d3aba8c137ac96789a475d754642f249a34d7030f276ff730d9ff -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-13T11:12:06.973Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-13T11:12:07.007Z] + go version [2021-05-13T11:12:07.007Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-13T11:12:07.081Z] $ docker stop --time=1 627e85f2ce5d3aba8c137ac96789a475d754642f249a34d7030f276ff730d9ff [2021-05-13T11:12:07.327Z] + sudo service docker restart [2021-05-13T11:12:07.327Z] + true [2021-05-13T11:12:08.453Z] $ docker rm -f 627e85f2ce5d3aba8c137ac96789a475d754642f249a34d7030f276ff730d9ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:12:08.981Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-13T11:12:08.981Z] . [Pipeline] withDockerContainer [2021-05-13T11:12:09.083Z] prd-centos7-docker-4c-2g-5147 does not seem to be running inside a container [2021-05-13T11:12:09.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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-13T11:12:09.986Z] $ docker top eb47c094d35ea3439bb0fe9b0654b9fe6934e14e1d3e9f9a4b24e778b8407048 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap [2021-05-13T11:12:10.230Z] provisioning config files... [2021-05-13T11:12:10.277Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config6590885630016194658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:12:10.479Z] + go mod tidy [2021-05-13T11:12:10.657Z] ---> docker-login.sh [2021-05-13T11:12:10.657Z] nexus3.edgexfoundry.org:10001 [Pipeline] sh [2021-05-13T11:12:11.365Z] + make test [2021-05-13T11:12:11.365Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-13T11:12:11.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:12:11.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:12:11.922Z] Configure a credential helper to remove this warning. See [2021-05-13T11:12:11.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:12:11.922Z] [2021-05-13T11:12:11.922Z] Login Succeeded [2021-05-13T11:12:11.922Z] nexus3.edgexfoundry.org:10002 [2021-05-13T11:12:12.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:12:12.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:12:12.478Z] Configure a credential helper to remove this warning. See [2021-05-13T11:12:12.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:12:12.478Z] [2021-05-13T11:12:12.478Z] Login Succeeded [2021-05-13T11:12:12.478Z] nexus3.edgexfoundry.org:10003 [2021-05-13T11:12:12.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:12:12.904Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-13T11:12:13.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:12:13.032Z] Configure a credential helper to remove this warning. See [2021-05-13T11:12:13.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:12:13.032Z] [2021-05-13T11:12:13.032Z] Login Succeeded [2021-05-13T11:12:13.032Z] nexus3.edgexfoundry.org:10004 [2021-05-13T11:12:13.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:12:13.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:12:13.584Z] Configure a credential helper to remove this warning. See [2021-05-13T11:12:13.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:12:13.584Z] [2021-05-13T11:12:13.584Z] Login Succeeded [2021-05-13T11:12:13.584Z] docker.io [2021-05-13T11:12:13.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T11:12:14.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T11:12:14.129Z] Configure a credential helper to remove this warning. See [2021-05-13T11:12:14.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T11:12:14.129Z] [2021-05-13T11:12:14.129Z] Login Succeeded [2021-05-13T11:12:14.129Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T11:12:14.148Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-13T11:12:14.478Z] ========================================================= [2021-05-13T11:12:14.478Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-13T11:12:14.478Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:12:14.828Z] + 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-13T11:12:14.828Z] Sending build context to Docker daemon 92.16kB [2021-05-13T11:12:15.101Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T11:12:15.101Z] Step 2/10 : FROM ${BASE} [2021-05-13T11:12:15.376Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-13T11:12:15.376Z] 595b0fe564bb: Pulling fs layer [2021-05-13T11:12:15.376Z] 7186ed65a4f7: Pulling fs layer [2021-05-13T11:12:15.376Z] 316046926c0a: Pulling fs layer [2021-05-13T11:12:15.376Z] 4ebd0625c992: Pulling fs layer [2021-05-13T11:12:15.376Z] 207e8628e3a3: Pulling fs layer [2021-05-13T11:12:15.376Z] c791037a9be2: Pulling fs layer [2021-05-13T11:12:15.376Z] ffd874e62e21: Pulling fs layer [2021-05-13T11:12:15.376Z] 207e8628e3a3: Waiting [2021-05-13T11:12:15.376Z] c791037a9be2: Waiting [2021-05-13T11:12:15.376Z] 4ebd0625c992: Waiting [2021-05-13T11:12:15.376Z] ffd874e62e21: Waiting [2021-05-13T11:12:15.376Z] 316046926c0a: Verifying Checksum [2021-05-13T11:12:15.376Z] 316046926c0a: Download complete [2021-05-13T11:12:15.376Z] 7186ed65a4f7: Verifying Checksum [2021-05-13T11:12:15.376Z] 7186ed65a4f7: Download complete [2021-05-13T11:12:15.376Z] 207e8628e3a3: Verifying Checksum [2021-05-13T11:12:15.376Z] 207e8628e3a3: Download complete [2021-05-13T11:12:15.376Z] c791037a9be2: Verifying Checksum [2021-05-13T11:12:15.376Z] c791037a9be2: Download complete [2021-05-13T11:12:15.376Z] 595b0fe564bb: Verifying Checksum [2021-05-13T11:12:15.376Z] 595b0fe564bb: Download complete [2021-05-13T11:12:15.990Z] 595b0fe564bb: Pull complete [2021-05-13T11:12:16.602Z] 7186ed65a4f7: Pull complete [2021-05-13T11:12:17.202Z] 316046926c0a: Pull complete [2021-05-13T11:12:17.794Z] ffd874e62e21: Verifying Checksum [2021-05-13T11:12:17.794Z] ffd874e62e21: Download complete [2021-05-13T11:12:19.226Z] 4ebd0625c992: Download complete [2021-05-13T11:12:29.386Z] 4ebd0625c992: Pull complete [2021-05-13T11:12:29.386Z] 207e8628e3a3: Pull complete [2021-05-13T11:12:29.386Z] c791037a9be2: Pull complete [2021-05-13T11:12:31.438Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-13T11:12:31.700Z] ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 54.0% of statements [2021-05-13T11:12:31.700Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-13T11:12:33.706Z] ffd874e62e21: Pull complete [2021-05-13T11:12:33.707Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-13T11:12:33.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-13T11:12:33.707Z] ---> cfc18b08335c [2021-05-13T11:12:33.707Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-13T11:12:36.333Z] ---> Running in c0a90285270c [2021-05-13T11:12:36.615Z] Removing intermediate container c0a90285270c [2021-05-13T11:12:36.615Z] ---> 610093945f7a [2021-05-13T11:12:36.615Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-13T11:12:36.615Z] ---> Running in 273395392bfb [2021-05-13T11:12:37.209Z] Removing intermediate container 273395392bfb [2021-05-13T11:12:37.209Z] ---> 172b4f7a6320 [2021-05-13T11:12:37.209Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-13T11:12:37.209Z] ---> Running in 58b74bdaa9f4 [2021-05-13T11:12:37.809Z] Removing intermediate container 58b74bdaa9f4 [2021-05-13T11:12:37.809Z] ---> 5812c26c64b1 [2021-05-13T11:12:37.809Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T11:12:37.809Z] ---> Running in aced1a50afa5 [2021-05-13T11:12:40.434Z] Removing intermediate container aced1a50afa5 [2021-05-13T11:12:40.434Z] ---> 8a53f95a2c6b [2021-05-13T11:12:40.434Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-13T11:12:40.434Z] ---> Running in 6acb24a10937 [2021-05-13T11:12:41.414Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-13T11:12:41.833Z] gofmt -l . [2021-05-13T11:12:41.833Z] [ "`gofmt -l .`" = "" ] [2021-05-13T11:12:41.833Z] ./bin/test-go-mod-tidy.sh [2021-05-13T11:12:41.833Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-13T11:12:41.854Z] $ docker stop --time=1 eb47c094d35ea3439bb0fe9b0654b9fe6934e14e1d3e9f9a4b24e778b8407048 [2021-05-13T11:12:42.392Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-13T11:12:43.369Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-13T11:12:43.369Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-13T11:12:43.639Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-13T11:12:43.639Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-13T11:12:43.639Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-13T11:12:43.817Z] $ docker rm -f eb47c094d35ea3439bb0fe9b0654b9fe6934e14e1d3e9f9a4b24e778b8407048 [2021-05-13T11:12:43.925Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-13T11:12:43.926Z] (7/9) Installing openssh-client (8.4_p1-r3) [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T11:12:44.204Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-13T11:12:44.204Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-13T11:12:44.436Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-13T11:12:44.478Z] Executing busybox-1.32.1-r6.trigger [2021-05-13T11:12:44.478Z] OK: 144 MiB in 49 packages [2021-05-13T11:12:44.795Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-13T11:12:45.842Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-13T11:12:45.960Z] Removing intermediate container 6acb24a10937 [2021-05-13T11:12:45.960Z] ---> f632649197c4 [2021-05-13T11:12:45.960Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-13T11:12:45.960Z] ---> Running in 2cdcd25082e9 [2021-05-13T11:12:46.143Z] + ls -al . [2021-05-13T11:12:46.143Z] total 104 [2021-05-13T11:12:46.143Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 13 11:12 . [2021-05-13T11:12:46.143Z] drwxrwxr-x. 4 jenkins jenkins 28 May 13 11:11 .. [2021-05-13T11:12:46.143Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 13 11:11 Attribution.txt [2021-05-13T11:12:46.143Z] drwxrwxr-x. 2 jenkins jenkins 64 May 13 11:11 bin [2021-05-13T11:12:46.143Z] drwxrwxr-x. 3 jenkins jenkins 32 May 13 11:11 cmd [2021-05-13T11:12:46.143Z] -rw-r--r--. 1 jenkins jenkins 8513 May 13 11:12 coverage.out [2021-05-13T11:12:46.143Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 13 11:11 Dockerfile [2021-05-13T11:12:46.143Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 13 11:11 Dockerfile.build [2021-05-13T11:12:46.143Z] -rw-rw-r--. 1 jenkins jenkins 151 May 13 11:11 .dockerignore [2021-05-13T11:12:46.143Z] drwxrwxr-x. 2 jenkins jenkins 76 May 13 11:11 driver [2021-05-13T11:12:46.143Z] drwxrwxr-x. 8 jenkins jenkins 179 May 13 11:11 .git [2021-05-13T11:12:46.143Z] drwxrwxr-x. 2 jenkins jenkins 103 May 13 11:11 .github [2021-05-13T11:12:46.143Z] -rw-rw-r--. 1 jenkins jenkins 339 May 13 11:11 .gitignore [2021-05-13T11:12:46.143Z] -rw-r--r--. 1 jenkins jenkins 285 May 13 11:12 go.mod [2021-05-13T11:12:46.143Z] -rw-r--r--. 1 jenkins jenkins 20782 May 13 11:12 go.sum [2021-05-13T11:12:46.143Z] -rw-rw-r--. 1 jenkins jenkins 680 May 13 11:11 Jenkinsfile [2021-05-13T11:12:46.143Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 13 11:11 LICENSE [2021-05-13T11:12:46.143Z] -rw-rw-r--. 1 jenkins jenkins 976 May 13 11:11 Makefile [2021-05-13T11:12:46.143Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 13 11:11 README.md [2021-05-13T11:12:46.143Z] drwxrwxr-x. 4 jenkins jenkins 71 May 13 11:11 snap [2021-05-13T11:12:46.143Z] -rw-rw-r--. 1 jenkins jenkins 5 May 13 11:08 VERSION [2021-05-13T11:12:46.143Z] -rw-rw-r--. 1 jenkins jenkins 713 May 13 11:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:12:46.457Z] + 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=c83f3facbea0e05b2abce4455565e3db68c0c6c1 --label arch=amd64 --label version=0.0.0 . [2021-05-13T11:12:46.457Z] Sending build context to Docker daemon 101.9kB [2021-05-13T11:12:46.550Z] Removing intermediate container 2cdcd25082e9 [2021-05-13T11:12:46.550Z] ---> a8782edf4f76 [2021-05-13T11:12:46.550Z] Step 9/10 : COPY . . [2021-05-13T11:12:46.723Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T11:12:46.723Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-13T11:12:46.723Z] ---> 3aded251f8f7 [2021-05-13T11:12:46.723Z] Step 3/24 : ARG MAKE='make build' [2021-05-13T11:12:46.723Z] ---> Running in c428b51456c3 [2021-05-13T11:12:46.986Z] Removing intermediate container c428b51456c3 [2021-05-13T11:12:46.986Z] ---> 440abd7dddc5 [2021-05-13T11:12:46.986Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-13T11:12:46.986Z] ---> Running in d735680aec5e [2021-05-13T11:12:47.146Z] ---> 586ba7bf1680 [2021-05-13T11:12:47.147Z] Step 10/10 : RUN go mod download [2021-05-13T11:12:47.147Z] ---> Running in 54d9d7123d26 [2021-05-13T11:12:47.249Z] Removing intermediate container d735680aec5e [2021-05-13T11:12:47.250Z] ---> 53c7a9f52224 [2021-05-13T11:12:47.250Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-13T11:12:47.250Z] ---> Running in 62b15f783a9e [2021-05-13T11:12:47.250Z] Removing intermediate container 62b15f783a9e [2021-05-13T11:12:47.250Z] ---> 54d08f52703e [2021-05-13T11:12:47.250Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T11:12:47.516Z] ---> Running in 0ecac68a719a [2021-05-13T11:12:48.472Z] Removing intermediate container 0ecac68a719a [2021-05-13T11:12:48.472Z] ---> c284eac5f5d4 [2021-05-13T11:12:48.472Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-13T11:12:48.472Z] ---> Running in c2a682c9abbf [2021-05-13T11:12:49.055Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-13T11:12:50.003Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-13T11:12:51.403Z] OK: 154 MiB in 49 packages [2021-05-13T11:12:51.666Z] Removing intermediate container c2a682c9abbf [2021-05-13T11:12:51.666Z] ---> 117f131c2745 [2021-05-13T11:12:51.666Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-13T11:12:51.666Z] ---> Running in 15c99e949ed4 [2021-05-13T11:12:51.929Z] Removing intermediate container 15c99e949ed4 [2021-05-13T11:12:51.929Z] ---> 9480cb7715d5 [2021-05-13T11:12:51.929Z] Step 9/24 : COPY . . [2021-05-13T11:12:52.194Z] ---> 3c484b0a52db [2021-05-13T11:12:52.194Z] Step 10/24 : RUN make update [2021-05-13T11:12:52.194Z] ---> Running in fa62e259255c [2021-05-13T11:12:52.774Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-13T11:12:53.368Z] Removing intermediate container fa62e259255c [2021-05-13T11:12:53.368Z] ---> b41a41fad869 [2021-05-13T11:12:53.368Z] Step 11/24 : RUN $MAKE [2021-05-13T11:12:53.368Z] ---> Running in c6164c640fbb [2021-05-13T11:12:54.329Z] 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-13T11:13:09.356Z] Removing intermediate container c6164c640fbb [2021-05-13T11:13:09.356Z] ---> 6e37aecb5d3d [2021-05-13T11:13:09.356Z] Step 12/24 : FROM alpine:3.12 [2021-05-13T11:13:09.356Z] 3.12: Pulling from library/alpine [2021-05-13T11:13:09.356Z] 339de151aab4: Pulling fs layer [2021-05-13T11:13:09.356Z] 339de151aab4: Verifying Checksum [2021-05-13T11:13:09.356Z] 339de151aab4: Download complete [2021-05-13T11:13:09.356Z] 339de151aab4: Pull complete [2021-05-13T11:13:09.356Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-13T11:13:09.356Z] Status: Downloaded newer image for alpine:3.12 [2021-05-13T11:13:09.356Z] ---> 13621d1b12d4 [2021-05-13T11:13:09.356Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-13T11:13:09.356Z] ---> Running in 148eb63e84bd [2021-05-13T11:13:09.356Z] Removing intermediate container 148eb63e84bd [2021-05-13T11:13:09.356Z] ---> 65cc34271c5f [2021-05-13T11:13:09.356Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-13T11:13:09.356Z] ---> Running in 1a272b473692 [2021-05-13T11:13:09.356Z] Removing intermediate container 1a272b473692 [2021-05-13T11:13:09.356Z] ---> f5e9d878a28b [2021-05-13T11:13:09.356Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-13T11:13:09.627Z] ---> Running in d106fdd7c2cc [2021-05-13T11:13:09.893Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-13T11:13:10.155Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-13T11:13:10.419Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-13T11:13:10.419Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-13T11:13:10.419Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-13T11:13:10.419Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-13T11:13:10.419Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-13T11:13:10.419Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-13T11:13:10.419Z] Executing busybox-1.31.1-r20.trigger [2021-05-13T11:13:10.419Z] OK: 8 MiB in 20 packages [2021-05-13T11:13:10.996Z] Removing intermediate container d106fdd7c2cc [2021-05-13T11:13:10.996Z] ---> 505195da7e29 [2021-05-13T11:13:10.996Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-13T11:13:11.573Z] ---> 3aeca8ce3057 [2021-05-13T11:13:11.573Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-13T11:13:11.845Z] ---> 0645822fb75d [2021-05-13T11:13:11.845Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-13T11:13:12.108Z] ---> 0c793a2d65d8 [2021-05-13T11:13:12.108Z] Step 19/24 : EXPOSE 49986 [2021-05-13T11:13:12.108Z] ---> Running in ede5ff2fdd5e [2021-05-13T11:13:12.376Z] Removing intermediate container ede5ff2fdd5e [2021-05-13T11:13:12.376Z] ---> b2ab8ac5e4d9 [2021-05-13T11:13:12.376Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-13T11:13:12.376Z] ---> Running in 15739106bd46 [2021-05-13T11:13:12.639Z] Removing intermediate container 15739106bd46 [2021-05-13T11:13:12.639Z] ---> 67a24d80722b [2021-05-13T11:13:12.639Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-13T11:13:12.639Z] ---> Running in 18b83d640ff4 [2021-05-13T11:13:12.901Z] Removing intermediate container 18b83d640ff4 [2021-05-13T11:13:12.902Z] ---> bd14f7ad824a [2021-05-13T11:13:12.902Z] Step 22/24 : LABEL arch=amd64 [2021-05-13T11:13:12.902Z] ---> Running in b8029d51be0e [2021-05-13T11:13:13.164Z] Removing intermediate container b8029d51be0e [2021-05-13T11:13:13.164Z] ---> e47a86dd81df [2021-05-13T11:13:13.164Z] Step 23/24 : LABEL git_sha=c83f3facbea0e05b2abce4455565e3db68c0c6c1 [2021-05-13T11:13:13.164Z] ---> Running in b1c068dfa21e [2021-05-13T11:13:13.431Z] Removing intermediate container b1c068dfa21e [2021-05-13T11:13:13.431Z] ---> fef33d6f81cc [2021-05-13T11:13:13.431Z] Step 24/24 : LABEL version=0.0.0 [2021-05-13T11:13:13.431Z] ---> Running in 3d30c98f695d [2021-05-13T11:13:13.695Z] Removing intermediate container 3d30c98f695d [2021-05-13T11:13:13.695Z] ---> 4efcdd740358 [2021-05-13T11:13:13.695Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-13T11:13:13.695Z] Successfully built 4efcdd740358 [2021-05-13T11:13:13.695Z] 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 [2021-05-13T11:13:13.951Z] Removing intermediate container 54d9d7123d26 [2021-05-13T11:13:13.952Z] ---> f895ce498df9 [2021-05-13T11:13:13.952Z] Successfully built f895ce498df9 [2021-05-13T11:13:13.952Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:13:14.268Z] ---> job-cost.sh [2021-05-13T11:13:14.268Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tHuY [2021-05-13T11:13:14.352Z] + docker inspect -f . ci-base-image-arm64 [2021-05-13T11:13:14.353Z] . [Pipeline] withDockerContainer [2021-05-13T11:13:14.596Z] prd-ubuntu18.04-docker-arm64-4c-16g-5146 does not seem to be running inside a container [2021-05-13T11:13:14.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2021-05-13T11:13:16.047Z] $ docker top c4dc293d71fc276cb9419dd749760543719de2ab48028750d57317397d679ffe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T11:13:16.956Z] + go version [2021-05-13T11:13:16.957Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-13T11:13:16.983Z] $ docker stop --time=1 c4dc293d71fc276cb9419dd749760543719de2ab48028750d57317397d679ffe [2021-05-13T11:13:18.802Z] $ docker rm -f c4dc293d71fc276cb9419dd749760543719de2ab48028750d57317397d679ffe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:13:19.494Z] + docker inspect -f . ci-base-image-arm64 [2021-05-13T11:13:19.494Z] . [Pipeline] withDockerContainer [2021-05-13T11:13:19.763Z] prd-ubuntu18.04-docker-arm64-4c-16g-5146 does not seem to be running inside a container [2021-05-13T11:13:19.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2021-05-13T11:13:21.382Z] $ docker top 17e3dbee4c222a47dc15d0c325dbd247604e131d533a57e577b46294de1f99c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T11:13:22.355Z] + go mod tidy [Pipeline] sh [2021-05-13T11:13:23.637Z] + make test [2021-05-13T11:13:23.637Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-13T11:13:25.081Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-13T11:13:29.214Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-13T11:14:01.410Z] lf-activate-venv(): INFO: Adding /tmp/venv-tHuY/bin to PATH [2021-05-13T11:14:01.410Z] INFO: No Stack... [2021-05-13T11:14:01.410Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-13T11:14:01.410Z] INFO: Archiving Costs [Pipeline] sh [2021-05-13T11:14:01.719Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-13T11:14:01.719Z] + cut -d, -f6 [Pipeline] lock [2021-05-13T11:14:01.830Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-95-2-stack-cost] [2021-05-13T11:14:01.840Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-95-2-stack-cost] did not exist. Created. [2021-05-13T11:14:01.840Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-95-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-13T11:14:02.206Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-13T11:14:02.351Z] Stashed 1 file(s) [Pipeline] } [2021-05-13T11:14:02.367Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-95-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-13T11:14:21.881Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-13T11:14:21.881Z] ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 54.0% of statements [2021-05-13T11:14:21.881Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-13T11:14:44.099Z] gofmt -l . [2021-05-13T11:14:44.099Z] [ "`gofmt -l .`" = "" ] [2021-05-13T11:14:44.099Z] ./bin/test-go-mod-tidy.sh [2021-05-13T11:14:44.099Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-13T11:14:44.394Z] $ docker stop --time=1 17e3dbee4c222a47dc15d0c325dbd247604e131d533a57e577b46294de1f99c8 [2021-05-13T11:14:46.363Z] $ docker rm -f 17e3dbee4c222a47dc15d0c325dbd247604e131d533a57e577b46294de1f99c8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T11:14:47.274Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-13T11:14:47.310Z] Warning: overwriting stash ‘coverage-report’ [2021-05-13T11:14:48.003Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T11:14:48.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-13T11:14:48.785Z] + ls -al . [2021-05-13T11:14:48.785Z] total 132 [2021-05-13T11:14:48.785Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 11:14 . [2021-05-13T11:14:48.785Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 11:11 .. [2021-05-13T11:14:48.785Z] -rw-rw-r-- 1 jenkins jenkins 151 May 13 11:11 .dockerignore [2021-05-13T11:14:48.785Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 11:12 .git [2021-05-13T11:14:48.785Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 11:11 .github [2021-05-13T11:14:48.785Z] -rw-rw-r-- 1 jenkins jenkins 339 May 13 11:11 .gitignore [2021-05-13T11:14:48.785Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 13 11:11 Attribution.txt [2021-05-13T11:14:48.785Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 13 11:11 Dockerfile [2021-05-13T11:14:48.785Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 13 11:11 Dockerfile.build [2021-05-13T11:14:48.785Z] -rw-rw-r-- 1 jenkins jenkins 680 May 13 11:11 Jenkinsfile [2021-05-13T11:14:48.785Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 13 11:11 LICENSE [2021-05-13T11:14:48.785Z] -rw-rw-r-- 1 jenkins jenkins 976 May 13 11:11 Makefile [2021-05-13T11:14:48.785Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 13 11:11 README.md [2021-05-13T11:14:48.785Z] -rw-rw-r-- 1 jenkins jenkins 5 May 13 11:08 VERSION [2021-05-13T11:14:48.785Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 11:11 bin [2021-05-13T11:14:48.785Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 11:11 cmd [2021-05-13T11:14:48.785Z] -rw-r--r-- 1 jenkins jenkins 8513 May 13 11:14 coverage.out [2021-05-13T11:14:48.785Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 11:11 driver [2021-05-13T11:14:48.785Z] -rw-r--r-- 1 jenkins jenkins 285 May 13 11:14 go.mod [2021-05-13T11:14:48.785Z] -rw-r--r-- 1 jenkins jenkins 20782 May 13 11:13 go.sum [2021-05-13T11:14:48.785Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 11:11 snap [2021-05-13T11:14:48.785Z] -rw-rw-r-- 1 jenkins jenkins 713 May 13 11:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:14:49.161Z] + 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=c83f3facbea0e05b2abce4455565e3db68c0c6c1 --label arch=arm64 --label version=0.0.0 . [2021-05-13T11:14:49.161Z] Sending build context to Docker daemon 101.9kB [2021-05-13T11:14:49.433Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T11:14:49.433Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-13T11:14:49.433Z] ---> f895ce498df9 [2021-05-13T11:14:49.433Z] Step 3/24 : ARG MAKE='make build' [2021-05-13T11:14:49.728Z] ---> Running in d5f1162deaa5 [2021-05-13T11:14:50.392Z] Removing intermediate container d5f1162deaa5 [2021-05-13T11:14:50.392Z] ---> 49e2bb6d3b21 [2021-05-13T11:14:50.392Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-13T11:14:50.392Z] ---> Running in b93278c0ed49 [2021-05-13T11:14:50.665Z] Removing intermediate container b93278c0ed49 [2021-05-13T11:14:50.665Z] ---> 78eb4c73069d [2021-05-13T11:14:50.665Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-13T11:14:50.940Z] ---> Running in 58a33fe4dc91 [2021-05-13T11:14:51.535Z] Removing intermediate container 58a33fe4dc91 [2021-05-13T11:14:51.535Z] ---> 3c84946a7acf [2021-05-13T11:14:51.535Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T11:14:51.535Z] ---> Running in 7860d79d7fe3 [2021-05-13T11:14:53.551Z] Removing intermediate container 7860d79d7fe3 [2021-05-13T11:14:53.551Z] ---> 9a56e88e98b9 [2021-05-13T11:14:53.551Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-13T11:14:53.826Z] ---> Running in 596eb483e0cd [2021-05-13T11:14:54.806Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-13T11:14:55.780Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-13T11:14:56.379Z] OK: 144 MiB in 49 packages [2021-05-13T11:14:57.827Z] Removing intermediate container 596eb483e0cd [2021-05-13T11:14:57.827Z] ---> 7edf2be2a58c [2021-05-13T11:14:57.827Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-13T11:14:57.827Z] ---> Running in 557698460d9c [2021-05-13T11:14:58.432Z] Removing intermediate container 557698460d9c [2021-05-13T11:14:58.432Z] ---> b02e774c81c4 [2021-05-13T11:14:58.432Z] Step 9/24 : COPY . . [2021-05-13T11:14:59.026Z] ---> f9e4cacce770 [2021-05-13T11:14:59.026Z] Step 10/24 : RUN make update [2021-05-13T11:14:59.304Z] ---> Running in e8028bca1682 [2021-05-13T11:15:00.285Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-13T11:15:01.264Z] Removing intermediate container e8028bca1682 [2021-05-13T11:15:01.264Z] ---> 33bb335be1f5 [2021-05-13T11:15:01.264Z] Step 11/24 : RUN $MAKE [2021-05-13T11:15:01.544Z] ---> Running in 33498fe9078c [2021-05-13T11:15:02.527Z] 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-13T11:15:41.566Z] Removing intermediate container 33498fe9078c [2021-05-13T11:15:41.566Z] ---> 994bef1e83c0 [2021-05-13T11:15:41.566Z] Step 12/24 : FROM alpine:3.12 [2021-05-13T11:15:41.566Z] 3.12: Pulling from library/alpine [2021-05-13T11:15:41.566Z] d2f70382dc9a: Pulling fs layer [2021-05-13T11:15:41.566Z] d2f70382dc9a: Download complete [2021-05-13T11:15:41.566Z] d2f70382dc9a: Pull complete [2021-05-13T11:15:41.566Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-13T11:15:41.566Z] Status: Downloaded newer image for alpine:3.12 [2021-05-13T11:15:41.566Z] ---> 9852663dfa18 [2021-05-13T11:15:41.566Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-13T11:15:41.566Z] ---> Running in 5b1f9fd16de9 [2021-05-13T11:15:41.566Z] Removing intermediate container 5b1f9fd16de9 [2021-05-13T11:15:41.566Z] ---> d3a1f4942797 [2021-05-13T11:15:41.566Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-13T11:15:41.566Z] ---> Running in c280397d3113 [2021-05-13T11:15:41.566Z] Removing intermediate container c280397d3113 [2021-05-13T11:15:41.566Z] ---> 5e474648abba [2021-05-13T11:15:41.566Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-13T11:15:41.566Z] ---> Running in 540f86886dbe [2021-05-13T11:15:41.566Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-13T11:15:41.838Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-13T11:15:42.433Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-13T11:15:42.433Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-13T11:15:42.433Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-13T11:15:42.433Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-13T11:15:42.433Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-13T11:15:42.434Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-13T11:15:42.434Z] Executing busybox-1.31.1-r20.trigger [2021-05-13T11:15:42.434Z] OK: 8 MiB in 20 packages [2021-05-13T11:15:43.865Z] Removing intermediate container 540f86886dbe [2021-05-13T11:15:43.865Z] ---> c1a34f1512f7 [2021-05-13T11:15:43.866Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-13T11:15:44.841Z] ---> 3c224f9e5b23 [2021-05-13T11:15:44.841Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-13T11:15:45.434Z] ---> c341299b30f4 [2021-05-13T11:15:45.434Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-13T11:15:46.417Z] ---> f39c053632d9 [2021-05-13T11:15:46.417Z] Step 19/24 : EXPOSE 49986 [2021-05-13T11:15:46.417Z] ---> Running in 52f1f8ea3888 [2021-05-13T11:15:47.010Z] Removing intermediate container 52f1f8ea3888 [2021-05-13T11:15:47.011Z] ---> 52cdba1a679f [2021-05-13T11:15:47.011Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-13T11:15:47.011Z] ---> Running in 8a8efa2ed6ba [2021-05-13T11:15:47.606Z] Removing intermediate container 8a8efa2ed6ba [2021-05-13T11:15:47.606Z] ---> 1f3a595478d1 [2021-05-13T11:15:47.606Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-13T11:15:47.606Z] ---> Running in 1367a64c552f [2021-05-13T11:15:48.203Z] Removing intermediate container 1367a64c552f [2021-05-13T11:15:48.203Z] ---> 494df70e1c61 [2021-05-13T11:15:48.203Z] Step 22/24 : LABEL arch=arm64 [2021-05-13T11:15:48.203Z] ---> Running in ecae5942054f [2021-05-13T11:15:48.830Z] Removing intermediate container ecae5942054f [2021-05-13T11:15:48.830Z] ---> 1374a01de63e [2021-05-13T11:15:48.830Z] Step 23/24 : LABEL git_sha=c83f3facbea0e05b2abce4455565e3db68c0c6c1 [2021-05-13T11:15:48.830Z] ---> Running in 874bebaadad2 [2021-05-13T11:15:49.427Z] Removing intermediate container 874bebaadad2 [2021-05-13T11:15:49.427Z] ---> f996f7d5e9e9 [2021-05-13T11:15:49.427Z] Step 24/24 : LABEL version=0.0.0 [2021-05-13T11:15:49.427Z] ---> Running in 9165f9a15759 [2021-05-13T11:15:50.023Z] Removing intermediate container 9165f9a15759 [2021-05-13T11:15:50.023Z] ---> 26997c7af1d9 [2021-05-13T11:15:50.023Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-13T11:15:50.023Z] Successfully built 26997c7af1d9 [2021-05-13T11:15:50.023Z] 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-13T11:15:50.492Z] ---> job-cost.sh [2021-05-13T11:15:50.492Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oJxY [2021-05-13T11:16:29.448Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-13T11:17:51.176Z] lf-activate-venv(): INFO: Adding /tmp/venv-oJxY/bin to PATH [2021-05-13T11:17:51.176Z] INFO: No Stack... [2021-05-13T11:17:51.461Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-13T11:17:52.053Z] INFO: Archiving Costs [Pipeline] sh [2021-05-13T11:17:52.390Z] + + cut -d, -f6 [2021-05-13T11:17:52.390Z] cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2021-05-13T11:17:52.515Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-95-2-stack-cost] [2021-05-13T11:17:52.524Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-95-2-stack-cost] did not exist. Created. [2021-05-13T11:17:52.524Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-95-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-13T11:17:52.906Z] /w/workspace/device-rest-go/2@tmp/durable-a3eb6fd5/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-a3eb6fd5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-13T11:17:53.248Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-13T11:17:53.300Z] Warning: overwriting stash ‘stack-cost’ [2021-05-13T11:17:53.449Z] Stashed 1 file(s) [Pipeline] } [2021-05-13T11:17:53.463Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-95-2-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-13T11:17:53.879Z] provisioning config files... [2021-05-13T11:17:53.892Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-95@tmp/config7307083107074954608tmp [Pipeline] { [Pipeline] sh [2021-05-13T11:17:54.237Z] + set +x [2021-05-13T11:17:54.237Z] + curl -s https://codecov.io/bash [2021-05-13T11:17:54.237Z] + bash -s -- [2021-05-13T11:17:54.500Z] [2021-05-13T11:17:54.500Z] _____ _ [2021-05-13T11:17:54.500Z] / ____| | | [2021-05-13T11:17:54.500Z] | | ___ __| | ___ ___ _____ __ [2021-05-13T11:17:54.500Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-13T11:17:54.500Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-13T11:17:54.500Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-13T11:17:54.500Z] Bash-1.0.2 [2021-05-13T11:17:54.500Z] [2021-05-13T11:17:54.500Z] [2021-05-13T11:17:54.500Z] ==> git version 2.24.3 found [2021-05-13T11:17:54.500Z] ==> 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-13T11:17:54.500Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-13T11:17:54.500Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-13T11:17:54.500Z] ==> Jenkins CI detected. [2021-05-13T11:17:54.500Z] project root: . [2021-05-13T11:17:54.500Z] --> token set from env [2021-05-13T11:17:54.500Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-13T11:17:54.500Z] ==> Running gcov in . (disable via -X gcov) [2021-05-13T11:17:54.500Z] ==> Python coveragepy not found [2021-05-13T11:17:54.500Z] ==> Searching for coverage reports in: [2021-05-13T11:17:54.500Z] + . [2021-05-13T11:17:54.500Z] -> Found 1 reports [2021-05-13T11:17:54.500Z] ==> Detecting git/mercurial file structure [2021-05-13T11:17:54.500Z] ==> Reading reports [2021-05-13T11:17:54.500Z] + ./coverage.out bytes=8513 [2021-05-13T11:17:54.500Z] ==> Appending adjustments [2021-05-13T11:17:54.500Z] https://docs.codecov.io/docs/fixing-reports [2021-05-13T11:17:54.500Z] + Found adjustments [2021-05-13T11:17:54.500Z] ==> Gzipping contents [2021-05-13T11:17:54.500Z] 4.0K /tmp/codecov.DqQIJs.gz [2021-05-13T11:17:54.762Z] ==> Uploading reports [2021-05-13T11:17:54.762Z] url: https://codecov.io [2021-05-13T11:17:54.762Z] query: branch=PR-95&commit=c83f3facbea0e05b2abce4455565e3db68c0c6c1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-95%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=95&job=&cmd_args= [2021-05-13T11:17:54.762Z] -> Pinging Codecov [2021-05-13T11:17:54.762Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-95&commit=c83f3facbea0e05b2abce4455565e3db68c0c6c1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-95%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=95&job=&cmd_args= [2021-05-13T11:17:55.024Z] -> Uploading to [2021-05-13T11:17:55.024Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-13/4E5D53B4F1F92C436F7061BF334D961C/c83f3facbea0e05b2abce4455565e3db68c0c6c1/6dd56f3d-5dae-457c-8583-efa19790cff9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210513T111754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d25d95b6e0eeadd9bbe92a08f55c9208b69b592967498ba11a07a83d52117f3b [2021-05-13T11:17:55.024Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-13T11:17:55.024Z] Dload Upload Total Spent Left Speed [2021-05-13T11:17:55.979Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 2553 --:--:-- --:--:-- --:--:-- 2553 100 1611 0 0 100 1611 0 2552 --:--:-- --:--:-- --:--:-- 2549 [2021-05-13T11:17:55.979Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c83f3facbea0e05b2abce4455565e3db68c0c6c1 [Pipeline] } [2021-05-13T11:17:55.989Z] 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-13T11:17:56.913Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:17:57.494Z] ---> package-listing.sh [2021-05-13T11:17:57.494Z] ++ facter osfamily [2021-05-13T11:17:57.494Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-13T11:17:57.494Z] + OS_FAMILY=redhat [2021-05-13T11:17:57.494Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-95 [2021-05-13T11:17:57.494Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-13T11:17:57.494Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-13T11:17:57.494Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-13T11:17:57.494Z] + PACKAGES=/tmp/packages_start.txt [2021-05-13T11:17:57.494Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-95 ']' [2021-05-13T11:17:57.494Z] + PACKAGES=/tmp/packages_end.txt [2021-05-13T11:17:57.494Z] + case "${OS_FAMILY}" in [2021-05-13T11:17:57.494Z] + rpm -qa [2021-05-13T11:17:57.494Z] + sort [2021-05-13T11:18:01.874Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-13T11:18:01.874Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-13T11:18:01.874Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-13T11:18:01.874Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-95 ']' [2021-05-13T11:18:01.874Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-95/archives/ [2021-05-13T11:18:01.874Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-95/archives/ [Pipeline] echo [2021-05-13T11:18:01.890Z] 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-95/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-13T11:18:02.183Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:18:02.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T11:18:02.494Z] [2021-05-13T11:18:02.494Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-13T11:18:02.820Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T11:18:02.820Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-13T11:18:02.820Z] df20fa9351a1: Pulling fs layer [2021-05-13T11:18:02.820Z] 36b3adc4ff6f: Pulling fs layer [2021-05-13T11:18:02.820Z] 8ad3a11d3b57: Pulling fs layer [2021-05-13T11:18:02.820Z] 46f8f816bc3b: Pulling fs layer [2021-05-13T11:18:02.820Z] 93b61091891f: Pulling fs layer [2021-05-13T11:18:02.820Z] 93b9cdb0e59b: Pulling fs layer [2021-05-13T11:18:02.820Z] 5e14af77c1be: Pulling fs layer [2021-05-13T11:18:02.820Z] 01666e4c0597: Pulling fs layer [2021-05-13T11:18:02.820Z] aa168da1d23b: Pulling fs layer [2021-05-13T11:18:02.820Z] 93b9cdb0e59b: Waiting [2021-05-13T11:18:02.820Z] 5e14af77c1be: Waiting [2021-05-13T11:18:02.820Z] 01666e4c0597: Waiting [2021-05-13T11:18:02.820Z] 93b61091891f: Waiting [2021-05-13T11:18:02.820Z] 36b3adc4ff6f: Verifying Checksum [2021-05-13T11:18:02.820Z] 36b3adc4ff6f: Download complete [2021-05-13T11:18:02.820Z] 46f8f816bc3b: Download complete [2021-05-13T11:18:02.820Z] df20fa9351a1: Verifying Checksum [2021-05-13T11:18:02.820Z] df20fa9351a1: Download complete [2021-05-13T11:18:02.820Z] 93b9cdb0e59b: Verifying Checksum [2021-05-13T11:18:02.820Z] 93b9cdb0e59b: Download complete [2021-05-13T11:18:03.092Z] 5e14af77c1be: Verifying Checksum [2021-05-13T11:18:03.092Z] 5e14af77c1be: Download complete [2021-05-13T11:18:03.092Z] 93b61091891f: Download complete [2021-05-13T11:18:03.092Z] 01666e4c0597: Verifying Checksum [2021-05-13T11:18:03.092Z] 01666e4c0597: Download complete [2021-05-13T11:18:03.092Z] 8ad3a11d3b57: Verifying Checksum [2021-05-13T11:18:03.092Z] 8ad3a11d3b57: Download complete [2021-05-13T11:18:03.356Z] df20fa9351a1: Pull complete [2021-05-13T11:18:03.624Z] 36b3adc4ff6f: Pull complete [2021-05-13T11:18:04.226Z] 8ad3a11d3b57: Pull complete [2021-05-13T11:18:04.489Z] 46f8f816bc3b: Pull complete [2021-05-13T11:18:05.896Z] aa168da1d23b: Verifying Checksum [2021-05-13T11:18:05.896Z] aa168da1d23b: Download complete [2021-05-13T11:18:05.896Z] 93b61091891f: Pull complete [2021-05-13T11:18:05.896Z] 93b9cdb0e59b: Pull complete [2021-05-13T11:18:05.896Z] 5e14af77c1be: Pull complete [2021-05-13T11:18:06.164Z] 01666e4c0597: Pull complete [2021-05-13T11:18:14.363Z] aa168da1d23b: Pull complete [2021-05-13T11:18:14.363Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-13T11:18:14.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T11:18:14.363Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-13T11:18:14.549Z] prd-centos7-docker-4c-2g-5143 does not seem to be running inside a container [2021-05-13T11:18:14.600Z] $ 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-95/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-95 -v /w/workspace/dgexfoundry_device-rest-go_PR-95:/w/workspace/dgexfoundry_device-rest-go_PR-95:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-95@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-95@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-13T11:18:17.806Z] $ docker top 12819ec94c4d51fd01d7f49ed5534c4ad35ff5fadf9feba6b83ad2d867553655 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T11:18:18.324Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-13T11:18:18.635Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-13T11:18:18.944Z] + ls /var/log/sa-host [2021-05-13T11:18:18.944Z] + sadf -c /var/log/sa-host/sa13 [2021-05-13T11:18:18.944Z] file_magic: OK [2021-05-13T11:18:18.944Z] HZ: Using current value: 100 [2021-05-13T11:18:18.944Z] file_header: OK [2021-05-13T11:18:18.944Z] 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-13T11:18:18.944Z] Statistics: [2021-05-13T11:18:18.944Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-13T11:18:18.944Z] File successfully converted to sysstat format version 12.2.1 [2021-05-13T11:18:18.944Z] + sadf -c /var/log/sa-host/sa23 [2021-05-13T11:18:18.944Z] file_magic: OK [2021-05-13T11:18:18.944Z] HZ: Using current value: 100 [2021-05-13T11:18:18.944Z] file_header: OK [2021-05-13T11:18:18.944Z] 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-13T11:18:18.944Z] Statistics: [2021-05-13T11:18:18.944Z] Hnuu...uuuununununu... [2021-05-13T11:18:18.944Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-13T11:18:19.125Z] provisioning config files... [2021-05-13T11:18:19.142Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-95@tmp/config6874504820258705339tmp [Pipeline] { [Pipeline] echo [2021-05-13T11:18:19.166Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:18:19.466Z] ---> create-netrc.sh [Pipeline] } [2021-05-13T11:18:19.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-13T11:18:19.506Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:18:19.807Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-13T11:18:19.819Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:18:20.119Z] ---> sudo-logs.sh [2021-05-13T11:18:20.119Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-13T11:18:20.149Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:18:20.449Z] ---> job-cost.sh [2021-05-13T11:18:20.449Z] lf-activate-venv: SKIPPING [2021-05-13T11:18:20.449Z] DEBUG: total: 0.20999999344348907 [2021-05-13T11:18:20.449Z] INFO: Retrieving Stack Cost... [2021-05-13T11:18:21.903Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-13T11:18:22.477Z] INFO: Archiving Costs [Pipeline] echo [2021-05-13T11:18:22.493Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T11:18:22.791Z] ---> logs-deploy.sh [2021-05-13T11:18:22.791Z] lf-activate-venv: SKIPPING [2021-05-13T11:18:22.791Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-95/2 [2021-05-13T11:18:22.791Z] INFO: archiving workspace using pattern(s): [2021-05-13T11:18:24.715Z] Archives upload complete. [2021-05-13T11:18:24.715Z] INFO: archiving logs to Nexus