Pull request #920 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f87a0d8af330d096da16b69dfda80d81331e98f2+6cc4c25230d964bbb6ccd74e42769d1c7a10d9be (66f74c14e7714a4d7dc31a5a0249c95c199589a9) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-920/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-920/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4320’ Running on prd-centos7-docker-4c-2g-4329 in /w/workspace/dgexfoundry_device-sdk-go_PR-920 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-920 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit f87a0d8af330d096da16b69dfda80d81331e98f2 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/920/head:refs/remotes/origin/PR-920 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f87a0d8af330d096da16b69dfda80d81331e98f2 # timeout=10 > git remote # timeout=10 Merge succeeded, producing f87a0d8af330d096da16b69dfda80d81331e98f2 Checking out Revision f87a0d8af330d096da16b69dfda80d81331e98f2 (PR-920) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f87a0d8af330d096da16b69dfda80d81331e98f2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-11T05:17:48.080Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T05:17:48.279Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T05:17:48.427Z] ========================================================= [2021-05-11T05:17:48.427Z] EdgeX Global Pipelines Version Info [2021-05-11T05:17:48.427Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:17:50.069Z] ------------------- [2021-05-11T05:17:50.069Z] stable info: [2021-05-11T05:17:50.069Z] ------------------- [2021-05-11T05:17:50.069Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T05:17:50.069Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-11T05:17:50.069Z] Message: update stable to v1.0.191 [2021-05-11T05:17:51.016Z] ------------------- [2021-05-11T05:17:51.016Z] experimental info: [2021-05-11T05:17:51.016Z] ------------------- [2021-05-11T05:17:51.016Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T05:17:51.016Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T05:17:51.016Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T05:17:51.258Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-11T05:17:51.314Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-11T05:17:51.383Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T05:17:51.443Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T05:17:51.504Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T05:17:51.606Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T05:17:51.669Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T05:17:51.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T05:17:51.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-11T05:17:51.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T05:17:51.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T05:17:51.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-11T05:17:52.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T05:17:52.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T05:17:52.136Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T05:17:52.192Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T05:17:52.252Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T05:17:52.310Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T05:17:52.433Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T05:17:52.487Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-11T05:17:52.544Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-11T05:17:52.601Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-11T05:17:52.656Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T05:17:52.721Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T05:17:52.782Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T05:17:52.839Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T05:17:52.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-920 [Pipeline] echo [2021-05-11T05:17:52.959Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-920 [Pipeline] echo [2021-05-11T05:17:53.020Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-920 [Pipeline] echo [2021-05-11T05:17:53.083Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f87a0d8af330d096da16b69dfda80d81331e98f2 [Pipeline] echo [2021-05-11T05:17:53.143Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f87a0d8 [Pipeline] echo [2021-05-11T05:17:53.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T05:17:53.348Z] provisioning config files... [2021-05-11T05:17:53.389Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-920@tmp/config1306211486676248887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:17:53.765Z] ---> docker-login.sh [2021-05-11T05:17:53.765Z] nexus3.edgexfoundry.org:10001 [2021-05-11T05:17:54.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:17:54.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:17:54.295Z] Configure a credential helper to remove this warning. See [2021-05-11T05:17:54.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:17:54.295Z] [2021-05-11T05:17:54.295Z] Login Succeeded [2021-05-11T05:17:54.295Z] nexus3.edgexfoundry.org:10002 [2021-05-11T05:17:54.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:17:54.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:17:54.561Z] Configure a credential helper to remove this warning. See [2021-05-11T05:17:54.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:17:54.561Z] [2021-05-11T05:17:54.561Z] Login Succeeded [2021-05-11T05:17:54.561Z] nexus3.edgexfoundry.org:10003 [2021-05-11T05:17:54.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:17:54.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:17:54.561Z] Configure a credential helper to remove this warning. See [2021-05-11T05:17:54.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:17:54.561Z] [2021-05-11T05:17:54.561Z] Login Succeeded [2021-05-11T05:17:54.561Z] nexus3.edgexfoundry.org:10004 [2021-05-11T05:17:54.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:17:54.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:17:54.826Z] Configure a credential helper to remove this warning. See [2021-05-11T05:17:54.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:17:54.826Z] [2021-05-11T05:17:54.826Z] Login Succeeded [2021-05-11T05:17:54.826Z] docker.io [2021-05-11T05:17:54.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:17:55.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:17:55.405Z] Configure a credential helper to remove this warning. See [2021-05-11T05:17:55.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:17:55.405Z] [2021-05-11T05:17:55.405Z] Login Succeeded [2021-05-11T05:17:55.405Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T05:17:55.429Z] 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-11T05:17:56.145Z] + git log --format=format:%s -1 f87a0d8af330d096da16b69dfda80d81331e98f2 [Pipeline] echo [2021-05-11T05:17:56.252Z] GIT_COMMIT: f87a0d8af330d096da16b69dfda80d81331e98f2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-11T05:17:56.294Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:17:56.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T05:17:56.912Z] [2021-05-11T05:17:56.912Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:17:57.283Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T05:17:57.283Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T05:17:57.283Z] 31603596830f: Pulling fs layer [2021-05-11T05:17:57.283Z] 54011a49482f: Pulling fs layer [2021-05-11T05:17:57.283Z] a6820b24f6d8: Pulling fs layer [2021-05-11T05:17:57.283Z] f581987b2513: Pulling fs layer [2021-05-11T05:17:57.283Z] f581987b2513: Waiting [2021-05-11T05:17:57.283Z] 54011a49482f: Verifying Checksum [2021-05-11T05:17:57.283Z] 54011a49482f: Download complete [2021-05-11T05:17:57.283Z] 31603596830f: Verifying Checksum [2021-05-11T05:17:57.283Z] 31603596830f: Download complete [2021-05-11T05:17:57.557Z] f581987b2513: Verifying Checksum [2021-05-11T05:17:57.557Z] f581987b2513: Download complete [2021-05-11T05:17:57.558Z] a6820b24f6d8: Verifying Checksum [2021-05-11T05:17:57.558Z] a6820b24f6d8: Download complete [2021-05-11T05:17:57.821Z] 31603596830f: Pull complete [2021-05-11T05:17:57.821Z] 54011a49482f: Pull complete [2021-05-11T05:17:59.234Z] a6820b24f6d8: Pull complete [2021-05-11T05:17:59.234Z] f581987b2513: Pull complete [2021-05-11T05:17:59.234Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T05:17:59.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T05:17:59.234Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T05:17:59.384Z] prd-centos7-docker-4c-2g-4329 does not seem to be running inside a container [2021-05-11T05:17:59.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-920 -v /w/workspace/dgexfoundry_device-sdk-go_PR-920:/w/workspace/dgexfoundry_device-sdk-go_PR-920:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-920@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-920@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T05:18:01.461Z] $ docker top 2ea4b92b8587419a82ab0b3c4dbc21c6fffe891798556780630e5b7cd935c0a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T05:18:01.739Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T05:18:01.739Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T05:18:01.986Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T05:18:01.992Z] $ docker exec 2ea4b92b8587419a82ab0b3c4dbc21c6fffe891798556780630e5b7cd935c0a8 ssh-agent [2021-05-11T05:18:02.199Z] SSH_AUTH_SOCK=/tmp/ssh-KYPSnqRhHLl2/agent.12 [2021-05-11T05:18:02.199Z] SSH_AGENT_PID=17 [2021-05-11T05:18:02.216Z] Running ssh-add (command line suppressed) [2021-05-11T05:18:02.358Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-920@tmp/private_key_1377975385454020763.key (/w/workspace/dgexfoundry_device-sdk-go_PR-920@tmp/private_key_1377975385454020763.key) [2021-05-11T05:18:02.442Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T05:18:02.830Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T05:18:02.868Z] $ docker exec --env ******** --env ******** 2ea4b92b8587419a82ab0b3c4dbc21c6fffe891798556780630e5b7cd935c0a8 ssh-agent -k [2021-05-11T05:18:03.115Z] unset SSH_AUTH_SOCK; [2021-05-11T05:18:03.116Z] unset SSH_AGENT_PID; [2021-05-11T05:18:03.116Z] echo Agent pid 17 killed; [2021-05-11T05:18:03.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T05:18:03.293Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T05:18:03.293Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T05:18:03.572Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T05:18:03.579Z] $ docker exec 2ea4b92b8587419a82ab0b3c4dbc21c6fffe891798556780630e5b7cd935c0a8 ssh-agent [2021-05-11T05:18:03.782Z] SSH_AUTH_SOCK=/tmp/ssh-HLMD3CPAfoow/agent.47 [2021-05-11T05:18:03.782Z] SSH_AGENT_PID=53 [2021-05-11T05:18:03.791Z] Running ssh-add (command line suppressed) [2021-05-11T05:18:03.950Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-920@tmp/private_key_5749835349301718896.key (/w/workspace/dgexfoundry_device-sdk-go_PR-920@tmp/private_key_5749835349301718896.key) [2021-05-11T05:18:04.033Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T05:18:04.750Z] + git semver init [2021-05-11T05:18:04.750Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T05:18:04.750Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-920/.git [2021-05-11T05:18:04.750Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-920 [2021-05-11T05:18:04.750Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T05:18:04.750Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T05:18:04.750Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T05:18:04.750Z] # $SEMVER_BRANCH = PR-920 [2021-05-11T05:18:04.750Z] # $SEMVER_TEMP = /tmp/semver-514477260 [2021-05-11T05:18:04.750Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-11T05:18:05.747Z] # '/tmp/semver-514477260' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-920/.semver' [2021-05-11T05:18:05.747Z] # -> Force: false [2021-05-11T05:18:05.747Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-920/.semver [Pipeline] } [2021-05-11T05:18:05.838Z] $ docker exec --env ******** --env ******** 2ea4b92b8587419a82ab0b3c4dbc21c6fffe891798556780630e5b7cd935c0a8 ssh-agent -k [2021-05-11T05:18:06.171Z] unset SSH_AUTH_SOCK; [2021-05-11T05:18:06.172Z] unset SSH_AGENT_PID; [2021-05-11T05:18:06.172Z] echo Agent pid 53 killed; [2021-05-11T05:18:06.249Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T05:18:07.060Z] + git semver [Pipeline] } [2021-05-11T05:18:07.105Z] $ docker stop --time=1 2ea4b92b8587419a82ab0b3c4dbc21c6fffe891798556780630e5b7cd935c0a8 [2021-05-11T05:18:09.119Z] $ docker rm -f 2ea4b92b8587419a82ab0b3c4dbc21c6fffe891798556780630e5b7cd935c0a8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T05:18:09.648Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T05:18:10.628Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T05:18:10.655Z] [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-11T05:18:26.184Z] Still waiting to schedule task [2021-05-11T05:18:26.184Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-11T05:18:26.210Z] Still waiting to schedule task [2021-05-11T05:18:26.210Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-11T05:20:03.767Z] Running on prd-centos7-docker-4c-2g-4334 in /w/workspace/dgexfoundry_device-sdk-go_PR-920 [Pipeline] { [Pipeline] ws [2021-05-11T05:20:03.825Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-11T05:20:06.660Z] using credential edgex-jenkins-ssh [2021-05-11T05:20:06.676Z] Cloning the remote Git repository [2021-05-11T05:20:06.426Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T05:20:06.504Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-11T05:20:06.584Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T05:20:06.585Z] > git --version # timeout=10 [2021-05-11T05:20:06.593Z] > git --version # 'git version 2.24.3' [2021-05-11T05:20:06.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T05:20:06.624Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T05:20:08.188Z] Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit f87a0d8af330d096da16b69dfda80d81331e98f2 [2021-05-11T05:20:08.292Z] Merge succeeded, producing f87a0d8af330d096da16b69dfda80d81331e98f2 [2021-05-11T05:20:08.293Z] Checking out Revision f87a0d8af330d096da16b69dfda80d81331e98f2 (PR-920) [2021-05-11T05:20:07.478Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T05:20:07.488Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T05:20:07.501Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T05:20:07.516Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T05:20:07.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T05:20:07.523Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/920/head:refs/remotes/origin/PR-920 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T05:20:08.039Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T05:20:08.048Z] > git checkout -f f87a0d8af330d096da16b69dfda80d81331e98f2 # timeout=10 [2021-05-11T05:20:08.099Z] > git remote # timeout=10 [2021-05-11T05:20:08.105Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T05:20:08.111Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T05:20:08.115Z] > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 [2021-05-11T05:20:08.125Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T05:20:08.145Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T05:20:08.156Z] > git checkout -f f87a0d8af330d096da16b69dfda80d81331e98f2 # timeout=10 [2021-05-11T05:20:11.977Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-11T05:20:12.072Z] > git --version # timeout=10 [2021-05-11T05:20:12.103Z] > git --version # 'git version 2.24.3' [2021-05-11T05:20:12.111Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T05:20:13.397Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T05:20:13.754Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T05:20:14.078Z] + sudo service docker restart [2021-05-11T05:20:14.078Z] + true [2021-05-11T05:20:14.078Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T05:20:15.586Z] provisioning config files... [2021-05-11T05:20:15.622Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8282418611240268963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:20:16.010Z] ---> docker-login.sh [2021-05-11T05:20:16.010Z] nexus3.edgexfoundry.org:10001 [2021-05-11T05:20:16.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:20:16.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:20:16.542Z] Configure a credential helper to remove this warning. See [2021-05-11T05:20:16.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:20:16.542Z] [2021-05-11T05:20:16.542Z] Login Succeeded [2021-05-11T05:20:16.542Z] nexus3.edgexfoundry.org:10002 [2021-05-11T05:20:16.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:20:16.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:20:16.809Z] Configure a credential helper to remove this warning. See [2021-05-11T05:20:16.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:20:16.809Z] [2021-05-11T05:20:16.809Z] Login Succeeded [2021-05-11T05:20:16.809Z] nexus3.edgexfoundry.org:10003 [2021-05-11T05:20:16.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:20:17.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:20:17.074Z] Configure a credential helper to remove this warning. See [2021-05-11T05:20:17.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:20:17.074Z] [2021-05-11T05:20:17.074Z] Login Succeeded [2021-05-11T05:20:17.074Z] nexus3.edgexfoundry.org:10004 [2021-05-11T05:20:17.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:20:17.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:20:17.074Z] Configure a credential helper to remove this warning. See [2021-05-11T05:20:17.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:20:17.074Z] [2021-05-11T05:20:17.074Z] Login Succeeded [2021-05-11T05:20:17.074Z] docker.io [2021-05-11T05:20:17.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:20:17.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:20:17.605Z] Configure a credential helper to remove this warning. See [2021-05-11T05:20:17.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:20:17.605Z] [2021-05-11T05:20:17.605Z] Login Succeeded [2021-05-11T05:20:17.605Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T05:20:17.629Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T05:20:17.959Z] ========================================================= [2021-05-11T05:20:17.959Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T05:20:17.959Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:20:18.315Z] + 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-11T05:20:18.580Z] Sending build context to Docker daemon 2.542MB [2021-05-11T05:20:18.580Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T05:20:18.580Z] Step 2/8 : FROM ${BASE} [2021-05-11T05:20:18.580Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T05:20:18.580Z] 540db60ca938: Pulling fs layer [2021-05-11T05:20:18.580Z] adcc1eea9eea: Pulling fs layer [2021-05-11T05:20:18.580Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T05:20:18.580Z] 0510c868ecb4: Pulling fs layer [2021-05-11T05:20:18.580Z] afea3b2eda06: Pulling fs layer [2021-05-11T05:20:18.580Z] 7809a108b3ef: Pulling fs layer [2021-05-11T05:20:18.580Z] f706445af74f: Pulling fs layer [2021-05-11T05:20:18.580Z] 0510c868ecb4: Waiting [2021-05-11T05:20:18.580Z] 7809a108b3ef: Waiting [2021-05-11T05:20:18.580Z] afea3b2eda06: Waiting [2021-05-11T05:20:18.581Z] f706445af74f: Waiting [2021-05-11T05:20:18.581Z] 4c4ab2625f07: Download complete [2021-05-11T05:20:18.581Z] adcc1eea9eea: Verifying Checksum [2021-05-11T05:20:18.581Z] adcc1eea9eea: Download complete [2021-05-11T05:20:18.581Z] afea3b2eda06: Download complete [2021-05-11T05:20:18.581Z] 7809a108b3ef: Verifying Checksum [2021-05-11T05:20:18.581Z] 7809a108b3ef: Download complete [2021-05-11T05:20:18.848Z] 540db60ca938: Verifying Checksum [2021-05-11T05:20:18.848Z] 540db60ca938: Download complete [2021-05-11T05:20:19.121Z] 540db60ca938: Pull complete [2021-05-11T05:20:19.121Z] adcc1eea9eea: Pull complete [2021-05-11T05:20:19.387Z] 4c4ab2625f07: Pull complete [2021-05-11T05:20:19.974Z] f706445af74f: Verifying Checksum [2021-05-11T05:20:19.974Z] f706445af74f: Download complete [2021-05-11T05:20:20.930Z] 0510c868ecb4: Verifying Checksum [2021-05-11T05:20:20.930Z] 0510c868ecb4: Download complete [2021-05-11T05:20:27.583Z] 0510c868ecb4: Pull complete [2021-05-11T05:20:27.583Z] afea3b2eda06: Pull complete [2021-05-11T05:20:27.583Z] 7809a108b3ef: Pull complete [2021-05-11T05:20:31.852Z] f706445af74f: Pull complete [2021-05-11T05:20:31.852Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T05:20:31.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T05:20:31.852Z] ---> b068be0155e3 [2021-05-11T05:20:31.852Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T05:20:32.120Z] ---> Running in 48ca5e574439 [2021-05-11T05:20:32.386Z] Removing intermediate container 48ca5e574439 [2021-05-11T05:20:32.386Z] ---> f604c72758f7 [2021-05-11T05:20:32.386Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T05:20:32.386Z] ---> Running in 6df2e6e11a5f [2021-05-11T05:20:33.802Z] Removing intermediate container 6df2e6e11a5f [2021-05-11T05:20:33.802Z] ---> f6e159c0217e [2021-05-11T05:20:33.802Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-11T05:20:33.802Z] ---> Running in d2d697de49ef [2021-05-11T05:20:34.391Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T05:20:35.797Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T05:20:36.753Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-11T05:20:37.021Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-11T05:20:37.021Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-11T05:20:37.286Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-11T05:20:37.550Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-11T05:20:37.550Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-11T05:20:37.818Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T05:20:37.819Z] OK: 150 MiB in 46 packages [2021-05-11T05:20:38.774Z] Removing intermediate container d2d697de49ef [2021-05-11T05:20:38.774Z] ---> 7e47ada3c4e5 [2021-05-11T05:20:38.774Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-11T05:20:38.774Z] ---> Running in bb6f8e695c22 [2021-05-11T05:20:39.045Z] Removing intermediate container bb6f8e695c22 [2021-05-11T05:20:39.045Z] ---> 2a6ee2a1c5df [2021-05-11T05:20:39.045Z] Step 7/8 : COPY . . [2021-05-11T05:20:40.447Z] ---> 6930b60c8f45 [2021-05-11T05:20:40.447Z] Step 8/8 : RUN go mod download [2021-05-11T05:20:40.447Z] ---> Running in 048364cb529c [2021-05-11T05:21:02.489Z] Removing intermediate container 048364cb529c [2021-05-11T05:21:02.489Z] ---> e98a9a24ffe8 [2021-05-11T05:21:02.489Z] Successfully built e98a9a24ffe8 [2021-05-11T05:21:02.489Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:21:02.864Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T05:21:02.864Z] . [Pipeline] withDockerContainer [2021-05-11T05:21:03.013Z] prd-centos7-docker-4c-2g-4334 does not seem to be running inside a container [2021-05-11T05:21:03.069Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T05:21:03.980Z] $ docker top a5b1230e16dd8eca962e26726cb51af589137096e3a50bbd6199525d5c8af6e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T05:21:04.467Z] + go version [2021-05-11T05:21:04.467Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T05:21:04.505Z] $ docker stop --time=1 a5b1230e16dd8eca962e26726cb51af589137096e3a50bbd6199525d5c8af6e1 [2021-05-11T05:21:05.869Z] $ docker rm -f a5b1230e16dd8eca962e26726cb51af589137096e3a50bbd6199525d5c8af6e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:21:06.643Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T05:21:06.643Z] . [Pipeline] withDockerContainer [2021-05-11T05:21:06.784Z] prd-centos7-docker-4c-2g-4334 does not seem to be running inside a container [2021-05-11T05:21:06.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T05:21:07.532Z] $ docker top c3db894fff167147b36310ff5a17a3a4538939f6cd2c0b608e28770410c756b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T05:21:08.043Z] + go mod tidy [Pipeline] sh [2021-05-11T05:21:08.958Z] + make test [2021-05-11T05:21:08.958Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-11T05:21:17.423Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-11T05:21:44.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-11T05:21:44.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-11T05:21:44.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-11T05:21:44.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.088s coverage: 25.4% of statements [2021-05-11T05:21:44.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-11T05:21:44.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.091s coverage: 28.1% of statements [2021-05-11T05:21:44.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.090s coverage: 78.9% of statements [2021-05-11T05:21:45.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.087s coverage: 10.7% of statements [2021-05-11T05:21:45.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-11T05:21:45.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-11T05:21:45.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-11T05:21:46.038Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.103s coverage: 30.2% of statements [2021-05-11T05:21:46.038Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-11T05:21:46.038Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-11T05:21:46.038Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-11T05:21:46.038Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-11T05:21:46.308Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.144s coverage: 58.4% of statements [2021-05-11T05:21:47.259Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.266s coverage: 89.2% of statements [2021-05-11T05:21:47.259Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-11T05:21:47.259Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-05-11T05:21:47.259Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-11T05:21:47.524Z] GO111MODULE=on go vet ./... [2021-05-11T05:21:51.522Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4339 in /w/workspace/dgexfoundry_device-sdk-go_PR-920 [Pipeline] { [Pipeline] ws [2021-05-11T05:21:51.604Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-11T05:21:57.332Z] using credential edgex-jenkins-ssh [2021-05-11T05:21:57.350Z] Cloning the remote Git repository [2021-05-11T05:21:57.421Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T05:21:57.535Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-11T05:21:57.640Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T05:21:57.641Z] > git --version # timeout=10 [2021-05-11T05:21:57.705Z] > git --version # 'git version 2.17.1' [2021-05-11T05:21:57.707Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T05:21:57.783Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T05:21:59.067Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T05:21:59.088Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T05:21:59.116Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T05:21:59.150Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T05:21:59.151Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T05:21:59.163Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/920/head:refs/remotes/origin/PR-920 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T05:21:59.649Z] Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit f87a0d8af330d096da16b69dfda80d81331e98f2 [2021-05-11T05:21:59.887Z] Merge succeeded, producing f87a0d8af330d096da16b69dfda80d81331e98f2 [2021-05-11T05:21:59.887Z] Checking out Revision f87a0d8af330d096da16b69dfda80d81331e98f2 (PR-920) [2021-05-11T05:21:59.687Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T05:21:59.708Z] > git checkout -f f87a0d8af330d096da16b69dfda80d81331e98f2 # timeout=10 [2021-05-11T05:21:59.808Z] > git remote # timeout=10 [2021-05-11T05:21:59.826Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T05:21:59.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T05:21:59.861Z] > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 [2021-05-11T05:21:59.885Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T05:21:59.911Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T05:21:59.921Z] > git checkout -f f87a0d8af330d096da16b69dfda80d81331e98f2 # timeout=10 [2021-05-11T05:22:04.112Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-11T05:22:04.176Z] > git --version # timeout=10 [2021-05-11T05:22:04.193Z] > git --version # 'git version 2.17.1' [2021-05-11T05:22:04.205Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T05:22:05.910Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T05:22:06.320Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T05:22:06.687Z] + + truesudo [2021-05-11T05:22:06.687Z] service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T05:22:09.429Z] provisioning config files... [2021-05-11T05:22:09.474Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config947519428578984282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:22:09.652Z] gofmt -l . [2021-05-11T05:22:09.652Z] [ "`gofmt -l .`" = "" ] [2021-05-11T05:22:09.652Z] ./bin/test-attribution-txt.sh [2021-05-11T05:22:09.652Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T05:22:09.700Z] $ docker stop --time=1 c3db894fff167147b36310ff5a17a3a4538939f6cd2c0b608e28770410c756b8 [2021-05-11T05:22:09.899Z] ---> docker-login.sh [2021-05-11T05:22:09.899Z] nexus3.edgexfoundry.org:10001 [2021-05-11T05:22:10.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:22:11.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:22:11.157Z] Configure a credential helper to remove this warning. See [2021-05-11T05:22:11.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:22:11.157Z] [2021-05-11T05:22:11.157Z] Login Succeeded [2021-05-11T05:22:11.157Z] nexus3.edgexfoundry.org:10002 [2021-05-11T05:22:11.414Z] $ docker rm -f c3db894fff167147b36310ff5a17a3a4538939f6cd2c0b608e28770410c756b8 [2021-05-11T05:22:11.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:22:11.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:22:11.429Z] Configure a credential helper to remove this warning. See [2021-05-11T05:22:11.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:22:11.429Z] [2021-05-11T05:22:11.429Z] Login Succeeded [2021-05-11T05:22:11.703Z] nexus3.edgexfoundry.org:10003 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T05:22:11.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:22:11.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:22:11.983Z] Configure a credential helper to remove this warning. See [2021-05-11T05:22:11.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:22:11.983Z] [2021-05-11T05:22:11.983Z] Login Succeeded [2021-05-11T05:22:11.983Z] nexus3.edgexfoundry.org:10004 [2021-05-11T05:22:12.193Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T05:22:12.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:22:12.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:22:12.583Z] Configure a credential helper to remove this warning. See [2021-05-11T05:22:12.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:22:12.583Z] [2021-05-11T05:22:12.583Z] Login Succeeded [2021-05-11T05:22:12.583Z] docker.io [2021-05-11T05:22:12.604Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-11T05:22:12.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:22:13.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:22:13.467Z] Configure a credential helper to remove this warning. See [2021-05-11T05:22:13.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:22:13.467Z] [2021-05-11T05:22:13.467Z] Login Succeeded [2021-05-11T05:22:13.467Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T05:22:13.829Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-11T05:22:14.143Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] echo [2021-05-11T05:22:14.364Z] ========================================================= [2021-05-11T05:22:14.364Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T05:22:14.364Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:22:14.480Z] + ls -al . [2021-05-11T05:22:14.480Z] total 212 [2021-05-11T05:22:14.480Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 11 05:22 . [2021-05-11T05:22:14.480Z] drwxrwxr-x. 4 jenkins jenkins 28 May 11 05:20 .. [2021-05-11T05:22:14.480Z] drwxrwxr-x. 2 jenkins jenkins 64 May 11 05:20 bin [2021-05-11T05:22:14.480Z] -rw-r--r--. 1 jenkins jenkins 124140 May 11 05:21 coverage.out [2021-05-11T05:22:14.480Z] -rw-rw-r--. 1 jenkins jenkins 987 May 11 05:20 Dockerfile.build [2021-05-11T05:22:14.480Z] -rw-rw-r--. 1 jenkins jenkins 140 May 11 05:20 .dockerignore [2021-05-11T05:22:14.480Z] drwxrwxr-x. 5 jenkins jenkins 62 May 11 05:20 example [2021-05-11T05:22:14.480Z] drwxrwxr-x. 8 jenkins jenkins 179 May 11 05:20 .git [2021-05-11T05:22:14.480Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 05:20 .github [2021-05-11T05:22:14.480Z] -rw-rw-r--. 1 jenkins jenkins 138 May 11 05:20 .gitignore [2021-05-11T05:22:14.480Z] -rw-r--r--. 1 jenkins jenkins 575 May 11 05:22 go.mod [2021-05-11T05:22:14.480Z] -rw-r--r--. 1 jenkins jenkins 20637 May 11 05:21 go.sum [2021-05-11T05:22:14.480Z] drwxrwxr-x. 15 jenkins jenkins 222 May 11 05:20 internal [2021-05-11T05:22:14.480Z] -rw-rw-r--. 1 jenkins jenkins 901 May 11 05:20 Jenkinsfile [2021-05-11T05:22:14.480Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 11 05:20 LICENSE [2021-05-11T05:22:14.480Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 11 05:20 Makefile [2021-05-11T05:22:14.480Z] drwxrwxr-x. 4 jenkins jenkins 26 May 11 05:20 openapi [2021-05-11T05:22:14.480Z] drwxrwxr-x. 5 jenkins jenkins 50 May 11 05:20 pkg [2021-05-11T05:22:14.480Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 11 05:20 README.md [2021-05-11T05:22:14.480Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 11 05:20 RELEASE-NOTES.txt [2021-05-11T05:22:14.480Z] drwxrwxr-x. 4 jenkins jenkins 54 May 11 05:20 snap [2021-05-11T05:22:14.480Z] -rw-rw-r--. 1 jenkins jenkins 5 May 11 05:18 VERSION [2021-05-11T05:22:14.480Z] -rw-rw-r--. 1 jenkins jenkins 222 May 11 05:20 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:22:14.763Z] + 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-11T05:22:14.861Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f87a0d8af330d096da16b69dfda80d81331e98f2 --label arch=amd64 --label version=0.0.0 . [2021-05-11T05:22:15.043Z] Sending build context to Docker daemon 2.541MB [2021-05-11T05:22:15.122Z] Sending build context to Docker daemon 2.666MB [2021-05-11T05:22:15.123Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T05:22:15.123Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-11T05:22:15.123Z] ---> e98a9a24ffe8 [2021-05-11T05:22:15.123Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-11T05:22:15.320Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T05:22:15.320Z] Step 2/8 : FROM ${BASE} [2021-05-11T05:22:15.320Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T05:22:15.320Z] 595b0fe564bb: Pulling fs layer [2021-05-11T05:22:15.320Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T05:22:15.320Z] 316046926c0a: Pulling fs layer [2021-05-11T05:22:15.320Z] 4ebd0625c992: Pulling fs layer [2021-05-11T05:22:15.320Z] 207e8628e3a3: Pulling fs layer [2021-05-11T05:22:15.320Z] c791037a9be2: Pulling fs layer [2021-05-11T05:22:15.320Z] ffd874e62e21: Pulling fs layer [2021-05-11T05:22:15.320Z] 4ebd0625c992: Waiting [2021-05-11T05:22:15.320Z] 207e8628e3a3: Waiting [2021-05-11T05:22:15.320Z] c791037a9be2: Waiting [2021-05-11T05:22:15.320Z] ffd874e62e21: Waiting [2021-05-11T05:22:15.320Z] 316046926c0a: Verifying Checksum [2021-05-11T05:22:15.320Z] 316046926c0a: Download complete [2021-05-11T05:22:15.320Z] 7186ed65a4f7: Verifying Checksum [2021-05-11T05:22:15.320Z] 7186ed65a4f7: Download complete [2021-05-11T05:22:15.320Z] 207e8628e3a3: Download complete [2021-05-11T05:22:15.593Z] c791037a9be2: Verifying Checksum [2021-05-11T05:22:15.593Z] c791037a9be2: Download complete [2021-05-11T05:22:15.593Z] 595b0fe564bb: Verifying Checksum [2021-05-11T05:22:15.701Z] ---> Running in 6fdb785a6806 [2021-05-11T05:22:15.967Z] Removing intermediate container 6fdb785a6806 [2021-05-11T05:22:15.967Z] ---> 99283cfd8a13 [2021-05-11T05:22:15.967Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T05:22:15.967Z] ---> Running in 68dbe63abb98 [2021-05-11T05:22:15.967Z] Removing intermediate container 68dbe63abb98 [2021-05-11T05:22:15.967Z] ---> 2afa17282d83 [2021-05-11T05:22:15.967Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T05:22:16.200Z] 595b0fe564bb: Pull complete [2021-05-11T05:22:16.246Z] ---> Running in 73d0fa01c24a [2021-05-11T05:22:16.811Z] 7186ed65a4f7: Pull complete [2021-05-11T05:22:17.415Z] 316046926c0a: Pull complete [2021-05-11T05:22:17.649Z] Removing intermediate container 73d0fa01c24a [2021-05-11T05:22:17.650Z] ---> 9764cde7d42d [2021-05-11T05:22:17.650Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T05:22:17.650Z] ---> Running in a8040e1c1584 [2021-05-11T05:22:17.922Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T05:22:18.402Z] ffd874e62e21: Verifying Checksum [2021-05-11T05:22:18.402Z] ffd874e62e21: Download complete [2021-05-11T05:22:19.848Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T05:22:19.849Z] 4ebd0625c992: Verifying Checksum [2021-05-11T05:22:19.849Z] 4ebd0625c992: Download complete [2021-05-11T05:22:21.787Z] OK: 150 MiB in 46 packages [2021-05-11T05:22:22.052Z] Removing intermediate container a8040e1c1584 [2021-05-11T05:22:22.052Z] ---> 42fb0a5a6a0b [2021-05-11T05:22:22.052Z] Step 7/23 : COPY . . [2021-05-11T05:22:23.006Z] ---> c5c677cd994f [2021-05-11T05:22:23.006Z] Step 8/23 : RUN go mod download [2021-05-11T05:22:23.006Z] ---> Running in 04f8b8875a08 [2021-05-11T05:22:24.411Z] Removing intermediate container 04f8b8875a08 [2021-05-11T05:22:24.411Z] ---> 9134fe6a3bbf [2021-05-11T05:22:24.411Z] Step 9/23 : RUN make build [2021-05-11T05:22:24.411Z] ---> Running in 645f0d1ca5a0 [2021-05-11T05:22:24.998Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-11T05:22:30.035Z] 4ebd0625c992: Pull complete [2021-05-11T05:22:30.035Z] 207e8628e3a3: Pull complete [2021-05-11T05:22:30.316Z] c791037a9be2: Pull complete [2021-05-11T05:22:33.738Z] ffd874e62e21: Pull complete [2021-05-11T05:22:33.738Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T05:22:33.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T05:22:33.738Z] ---> cfc18b08335c [2021-05-11T05:22:33.738Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T05:22:37.116Z] ---> Running in 44cc0b7afcb8 [2021-05-11T05:22:37.116Z] Removing intermediate container 44cc0b7afcb8 [2021-05-11T05:22:37.116Z] ---> 4240561369c5 [2021-05-11T05:22:37.116Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T05:22:37.345Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-11T05:22:37.400Z] ---> Running in e7e5239f9808 [2021-05-11T05:22:38.753Z] Removing intermediate container 645f0d1ca5a0 [2021-05-11T05:22:38.753Z] ---> 782eb732a9ac [2021-05-11T05:22:38.753Z] Step 10/23 : FROM alpine:3.12 [2021-05-11T05:22:39.015Z] 3.12: Pulling from library/alpine [2021-05-11T05:22:39.283Z] 339de151aab4: Pulling fs layer [2021-05-11T05:22:39.283Z] 339de151aab4: Verifying Checksum [2021-05-11T05:22:39.283Z] 339de151aab4: Download complete [2021-05-11T05:22:39.374Z] Removing intermediate container e7e5239f9808 [2021-05-11T05:22:39.374Z] ---> 187c166d035c [2021-05-11T05:22:39.375Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-11T05:22:39.547Z] 339de151aab4: Pull complete [2021-05-11T05:22:39.649Z] ---> Running in 9c92bb4901df [2021-05-11T05:22:39.810Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T05:22:39.810Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T05:22:39.810Z] ---> 13621d1b12d4 [2021-05-11T05:22:39.810Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T05:22:39.810Z] ---> Running in acacc4f65621 [2021-05-11T05:22:40.074Z] Removing intermediate container acacc4f65621 [2021-05-11T05:22:40.074Z] ---> 9ed85bf7a3e5 [2021-05-11T05:22:40.074Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T05:22:40.074Z] ---> Running in 226d394fc48e [2021-05-11T05:22:40.636Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T05:22:41.046Z] Removing intermediate container 226d394fc48e [2021-05-11T05:22:41.046Z] ---> eb25c20c221a [2021-05-11T05:22:41.046Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-11T05:22:41.312Z] ---> Running in 6cf15155db23 [2021-05-11T05:22:41.900Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-11T05:22:42.608Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T05:22:43.582Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-11T05:22:43.824Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T05:22:43.853Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-11T05:22:43.854Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-11T05:22:44.140Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-11T05:22:44.411Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-11T05:22:44.411Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-11T05:22:44.683Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T05:22:44.684Z] OK: 139 MiB in 46 packages [2021-05-11T05:22:45.220Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-11T05:22:45.220Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-11T05:22:45.220Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-11T05:22:46.117Z] Removing intermediate container 9c92bb4901df [2021-05-11T05:22:46.117Z] ---> 68ccb6f17a88 [2021-05-11T05:22:46.117Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-11T05:22:46.167Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-11T05:22:46.394Z] ---> Running in de6920037a86 [2021-05-11T05:22:46.430Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-11T05:22:46.693Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T05:22:46.693Z] OK: 8 MiB in 19 packages [2021-05-11T05:22:46.987Z] Removing intermediate container de6920037a86 [2021-05-11T05:22:46.987Z] ---> 372b73762fc7 [2021-05-11T05:22:46.987Z] Step 7/8 : COPY . . [2021-05-11T05:22:47.273Z] Removing intermediate container 6cf15155db23 [2021-05-11T05:22:47.273Z] ---> 45321cef6706 [2021-05-11T05:22:47.273Z] Step 14/23 : WORKDIR / [2021-05-11T05:22:47.273Z] ---> Running in 542e18a18168 [2021-05-11T05:22:47.539Z] Removing intermediate container 542e18a18168 [2021-05-11T05:22:47.539Z] ---> 91f61fe6018b [2021-05-11T05:22:47.539Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-11T05:22:47.804Z] ---> 3666ffa9eafa [2021-05-11T05:22:47.804Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-11T05:22:48.382Z] ---> 0e86fe54c2ed [2021-05-11T05:22:48.382Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-11T05:22:48.416Z] ---> cf2bced78ad4 [2021-05-11T05:22:48.416Z] Step 8/8 : RUN go mod download [2021-05-11T05:22:48.416Z] ---> Running in db6f128e2a5f [2021-05-11T05:22:48.653Z] ---> aa3bb9e7f309 [2021-05-11T05:22:48.653Z] Step 18/23 : EXPOSE 49990 [2021-05-11T05:22:48.653Z] ---> Running in f238167896ae [2021-05-11T05:22:48.925Z] Removing intermediate container f238167896ae [2021-05-11T05:22:48.925Z] ---> 9be19016e65b [2021-05-11T05:22:48.925Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-11T05:22:48.925Z] ---> Running in 380044977c05 [2021-05-11T05:22:49.190Z] Removing intermediate container 380044977c05 [2021-05-11T05:22:49.190Z] ---> 0e69c4bcb4ce [2021-05-11T05:22:49.190Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T05:22:49.190Z] ---> Running in 9d910fc30363 [2021-05-11T05:22:49.453Z] Removing intermediate container 9d910fc30363 [2021-05-11T05:22:49.453Z] ---> 136876a7f998 [2021-05-11T05:22:49.453Z] Step 21/23 : LABEL arch=amd64 [2021-05-11T05:22:49.453Z] ---> Running in 4fd8e578462e [2021-05-11T05:22:49.715Z] Removing intermediate container 4fd8e578462e [2021-05-11T05:22:49.715Z] ---> d0f644b16ab8 [2021-05-11T05:22:49.715Z] Step 22/23 : LABEL git_sha=f87a0d8af330d096da16b69dfda80d81331e98f2 [2021-05-11T05:22:49.715Z] ---> Running in 48b07c7cea29 [2021-05-11T05:22:49.977Z] Removing intermediate container 48b07c7cea29 [2021-05-11T05:22:49.977Z] ---> 9bf3430875e2 [2021-05-11T05:22:49.977Z] Step 23/23 : LABEL version=0.0.0 [2021-05-11T05:22:49.977Z] ---> Running in d52cc8ce4ed6 [2021-05-11T05:22:50.239Z] Removing intermediate container d52cc8ce4ed6 [2021-05-11T05:22:50.239Z] ---> f5fcc6ea604e [2021-05-11T05:22:50.239Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-11T05:22:50.239Z] Successfully built f5fcc6ea604e [2021-05-11T05:22:50.239Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:22:51.076Z] ---> job-cost.sh [2021-05-11T05:22:51.076Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-b9Ds [2021-05-11T05:23:09.235Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T05:23:15.222Z] Removing intermediate container db6f128e2a5f [2021-05-11T05:23:15.222Z] ---> ce632d7e9b9b [2021-05-11T05:23:15.222Z] Successfully built ce632d7e9b9b [2021-05-11T05:23:15.222Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:23:15.596Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T05:23:15.596Z] . [Pipeline] withDockerContainer [2021-05-11T05:23:15.840Z] prd-ubuntu18.04-docker-arm64-4c-16g-4339 does not seem to be running inside a container [2021-05-11T05:23:15.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T05:23:17.356Z] $ docker top da6f62f2691736cd3cc15f43970de704f4e9b7ad6ff9c56de78a9ba78e1f04a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T05:23:18.334Z] + go version [2021-05-11T05:23:18.334Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T05:23:18.380Z] $ docker stop --time=1 da6f62f2691736cd3cc15f43970de704f4e9b7ad6ff9c56de78a9ba78e1f04a6 [2021-05-11T05:23:20.216Z] $ docker rm -f da6f62f2691736cd3cc15f43970de704f4e9b7ad6ff9c56de78a9ba78e1f04a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:23:21.125Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T05:23:21.125Z] . [Pipeline] withDockerContainer [2021-05-11T05:23:21.422Z] prd-ubuntu18.04-docker-arm64-4c-16g-4339 does not seem to be running inside a container [2021-05-11T05:23:21.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T05:23:22.963Z] $ docker top 214ce2ac0a0b1004cd1b20fc3434956eb6ee2c22f11cc7cd7ae9907483f0e9fe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T05:23:23.938Z] + go mod tidy [Pipeline] sh [2021-05-11T05:23:25.224Z] + make test [2021-05-11T05:23:25.224Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-11T05:23:35.862Z] lf-activate-venv(): INFO: Adding /tmp/venv-b9Ds/bin to PATH [2021-05-11T05:23:35.863Z] INFO: No Stack... [2021-05-11T05:23:35.863Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T05:23:35.863Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T05:23:36.215Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-11T05:23:36.215Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T05:23:36.329Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-920-1-stack-cost] [2021-05-11T05:23:36.333Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-920-1-stack-cost] did not exist. Created. [2021-05-11T05:23:36.333Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-920-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T05:23:36.753Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T05:23:36.902Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T05:23:36.926Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-920-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T05:23:47.473Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-11T05:24:55.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-11T05:24:55.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-11T05:24:55.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-11T05:25:05.747Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.201s coverage: 25.4% of statements [2021-05-11T05:25:05.747Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-11T05:25:05.747Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 28.1% of statements [2021-05-11T05:25:05.747Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.167s coverage: 78.9% of statements [2021-05-11T05:25:05.747Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.169s coverage: 10.7% of statements [2021-05-11T05:25:05.747Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-11T05:25:05.747Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-11T05:25:05.747Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-11T05:25:08.408Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.268s coverage: 30.2% of statements [2021-05-11T05:25:08.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-11T05:25:08.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-11T05:25:08.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-11T05:25:08.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-11T05:25:09.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.380s coverage: 58.4% of statements [2021-05-11T05:25:11.653Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.266s coverage: 89.2% of statements [2021-05-11T05:25:11.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-11T05:25:11.653Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.165s coverage: 5.0% of statements [2021-05-11T05:25:11.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-11T05:25:11.928Z] GO111MODULE=on go vet ./... [2021-05-11T05:26:08.508Z] gofmt -l . [2021-05-11T05:26:08.508Z] [ "`gofmt -l .`" = "" ] [2021-05-11T05:26:08.508Z] ./bin/test-attribution-txt.sh [2021-05-11T05:26:09.945Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T05:26:10.588Z] $ docker stop --time=1 214ce2ac0a0b1004cd1b20fc3434956eb6ee2c22f11cc7cd7ae9907483f0e9fe [2021-05-11T05:26:12.789Z] $ docker rm -f 214ce2ac0a0b1004cd1b20fc3434956eb6ee2c22f11cc7cd7ae9907483f0e9fe [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T05:26:13.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T05:26:13.915Z] Warning: overwriting stash ‘coverage-report’ [2021-05-11T05:26:14.537Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T05:26:15.193Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T05:26:15.584Z] + ls -al . [2021-05-11T05:26:15.584Z] total 248 [2021-05-11T05:26:15.584Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 05:26 . [2021-05-11T05:26:15.584Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:21 .. [2021-05-11T05:26:15.584Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 05:21 .dockerignore [2021-05-11T05:26:15.584Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:22 .git [2021-05-11T05:26:15.584Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:21 .github [2021-05-11T05:26:15.584Z] -rw-rw-r-- 1 jenkins jenkins 138 May 11 05:21 .gitignore [2021-05-11T05:26:15.584Z] -rw-rw-r-- 1 jenkins jenkins 987 May 11 05:21 Dockerfile.build [2021-05-11T05:26:15.584Z] -rw-rw-r-- 1 jenkins jenkins 901 May 11 05:21 Jenkinsfile [2021-05-11T05:26:15.584Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 11 05:21 LICENSE [2021-05-11T05:26:15.584Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 11 05:21 Makefile [2021-05-11T05:26:15.584Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 11 05:21 README.md [2021-05-11T05:26:15.584Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 11 05:21 RELEASE-NOTES.txt [2021-05-11T05:26:15.584Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 05:18 VERSION [2021-05-11T05:26:15.584Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:21 bin [2021-05-11T05:26:15.584Z] -rw-r--r-- 1 jenkins jenkins 124140 May 11 05:25 coverage.out [2021-05-11T05:26:15.584Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 05:21 example [2021-05-11T05:26:15.584Z] -rw-r--r-- 1 jenkins jenkins 575 May 11 05:26 go.mod [2021-05-11T05:26:15.584Z] -rw-r--r-- 1 jenkins jenkins 20637 May 11 05:23 go.sum [2021-05-11T05:26:15.584Z] drwxrwxr-x 15 jenkins jenkins 4096 May 11 05:21 internal [2021-05-11T05:26:15.584Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:21 openapi [2021-05-11T05:26:15.584Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 05:21 pkg [2021-05-11T05:26:15.584Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:21 snap [2021-05-11T05:26:15.584Z] -rw-rw-r-- 1 jenkins jenkins 222 May 11 05:21 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:26:15.967Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f87a0d8af330d096da16b69dfda80d81331e98f2 --label arch=arm64 --label version=0.0.0 . [2021-05-11T05:26:16.241Z] Sending build context to Docker daemon 2.665MB [2021-05-11T05:26:16.512Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T05:26:16.512Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-11T05:26:16.512Z] ---> ce632d7e9b9b [2021-05-11T05:26:16.512Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-11T05:26:16.788Z] ---> Running in 04dd58d99d30 [2021-05-11T05:26:17.061Z] Removing intermediate container 04dd58d99d30 [2021-05-11T05:26:17.061Z] ---> 0ed1b0b768dd [2021-05-11T05:26:17.061Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T05:26:17.334Z] ---> Running in 2bfda9ad8c6d [2021-05-11T05:26:17.609Z] Removing intermediate container 2bfda9ad8c6d [2021-05-11T05:26:17.609Z] ---> ecb31f73036c [2021-05-11T05:26:17.609Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T05:26:17.887Z] ---> Running in 413f15c3b008 [2021-05-11T05:26:19.867Z] Removing intermediate container 413f15c3b008 [2021-05-11T05:26:19.867Z] ---> 8487c0618200 [2021-05-11T05:26:19.867Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T05:26:20.152Z] ---> Running in a4ad6e3eb8c3 [2021-05-11T05:26:21.128Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T05:26:23.106Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T05:26:24.080Z] OK: 139 MiB in 46 packages [2021-05-11T05:26:25.072Z] Removing intermediate container a4ad6e3eb8c3 [2021-05-11T05:26:25.072Z] ---> 0bd97a9e491b [2021-05-11T05:26:25.072Z] Step 7/23 : COPY . . [2021-05-11T05:26:26.521Z] ---> a325cf5018ba [2021-05-11T05:26:26.521Z] Step 8/23 : RUN go mod download [2021-05-11T05:26:26.521Z] ---> Running in 64c4b609e478 [2021-05-11T05:26:29.156Z] Removing intermediate container 64c4b609e478 [2021-05-11T05:26:29.156Z] ---> 0b6f22c1a9f6 [2021-05-11T05:26:29.156Z] Step 9/23 : RUN make build [2021-05-11T05:26:29.156Z] ---> Running in 45806edf7b72 [2021-05-11T05:26:30.136Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-11T05:27:02.510Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-11T05:27:05.526Z] Removing intermediate container 45806edf7b72 [2021-05-11T05:27:05.526Z] ---> 8e2a7e8677c7 [2021-05-11T05:27:05.526Z] Step 10/23 : FROM alpine:3.12 [2021-05-11T05:27:05.799Z] 3.12: Pulling from library/alpine [2021-05-11T05:27:05.799Z] d2f70382dc9a: Pulling fs layer [2021-05-11T05:27:06.074Z] d2f70382dc9a: Verifying Checksum [2021-05-11T05:27:06.074Z] d2f70382dc9a: Download complete [2021-05-11T05:27:06.677Z] d2f70382dc9a: Pull complete [2021-05-11T05:27:06.677Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T05:27:06.677Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T05:27:06.677Z] ---> 9852663dfa18 [2021-05-11T05:27:06.677Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T05:27:06.955Z] ---> Running in e16842d8d310 [2021-05-11T05:27:07.553Z] Removing intermediate container e16842d8d310 [2021-05-11T05:27:07.553Z] ---> 32e24610b6cf [2021-05-11T05:27:07.553Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T05:27:07.553Z] ---> Running in 638b1cfe00f8 [2021-05-11T05:27:10.206Z] Removing intermediate container 638b1cfe00f8 [2021-05-11T05:27:10.206Z] ---> 02d13128a978 [2021-05-11T05:27:10.206Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-11T05:27:10.206Z] ---> Running in a13e9ba09731 [2021-05-11T05:27:11.190Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-11T05:27:12.624Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-11T05:27:14.047Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-11T05:27:14.047Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-11T05:27:15.016Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-11T05:27:15.990Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-11T05:27:15.990Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-11T05:27:16.266Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T05:27:16.266Z] OK: 8 MiB in 19 packages [2021-05-11T05:27:17.693Z] Removing intermediate container a13e9ba09731 [2021-05-11T05:27:17.694Z] ---> 70744875f91e [2021-05-11T05:27:17.694Z] Step 14/23 : WORKDIR / [2021-05-11T05:27:17.694Z] ---> Running in 4ee3ede54c43 [2021-05-11T05:27:17.967Z] Removing intermediate container 4ee3ede54c43 [2021-05-11T05:27:17.967Z] ---> d8a641af442d [2021-05-11T05:27:17.967Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-11T05:27:18.945Z] ---> 8330727acc62 [2021-05-11T05:27:18.945Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-11T05:27:19.922Z] ---> ea57135caa8a [2021-05-11T05:27:19.922Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-11T05:27:20.903Z] ---> 3a2dc685883a [2021-05-11T05:27:20.903Z] Step 18/23 : EXPOSE 49990 [2021-05-11T05:27:20.903Z] ---> Running in 9b412d061e0a [2021-05-11T05:27:21.181Z] Removing intermediate container 9b412d061e0a [2021-05-11T05:27:21.181Z] ---> 6c905ed4a2e4 [2021-05-11T05:27:21.181Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-11T05:27:21.456Z] ---> Running in c1381497d9e8 [2021-05-11T05:27:22.050Z] Removing intermediate container c1381497d9e8 [2021-05-11T05:27:22.050Z] ---> 34bb84a6f736 [2021-05-11T05:27:22.050Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T05:27:22.050Z] ---> Running in d373e96c089e [2021-05-11T05:27:22.646Z] Removing intermediate container d373e96c089e [2021-05-11T05:27:22.646Z] ---> 3351a9836245 [2021-05-11T05:27:22.646Z] Step 21/23 : LABEL arch=arm64 [2021-05-11T05:27:22.646Z] ---> Running in 9fc987616d64 [2021-05-11T05:27:23.242Z] Removing intermediate container 9fc987616d64 [2021-05-11T05:27:23.242Z] ---> 35597fb34663 [2021-05-11T05:27:23.242Z] Step 22/23 : LABEL git_sha=f87a0d8af330d096da16b69dfda80d81331e98f2 [2021-05-11T05:27:23.242Z] ---> Running in 72a2bcd91791 [2021-05-11T05:27:23.842Z] Removing intermediate container 72a2bcd91791 [2021-05-11T05:27:23.842Z] ---> be08a7f4f944 [2021-05-11T05:27:23.842Z] Step 23/23 : LABEL version=0.0.0 [2021-05-11T05:27:23.842Z] ---> Running in 70932a3599eb [2021-05-11T05:27:24.436Z] Removing intermediate container 70932a3599eb [2021-05-11T05:27:24.436Z] ---> 778a257b3ad4 [2021-05-11T05:27:24.436Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-11T05:27:24.436Z] Successfully built 778a257b3ad4 [2021-05-11T05:27:24.436Z] Successfully tagged docker-device-sdk-simple-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-11T05:27:25.140Z] ---> job-cost.sh [2021-05-11T05:27:25.140Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8Jcy [2021-05-11T05:28:04.118Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T05:29:40.898Z] lf-activate-venv(): INFO: Adding /tmp/venv-8Jcy/bin to PATH [2021-05-11T05:29:40.898Z] INFO: No Stack... [2021-05-11T05:29:40.898Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T05:29:40.898Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T05:29:41.257Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-11T05:29:41.257Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T05:29:41.404Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-920-1-stack-cost] [2021-05-11T05:29:41.411Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-920-1-stack-cost] did not exist. Created. [2021-05-11T05:29:41.411Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-920-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T05:29:41.887Z] /w/workspace/device-sdk-go/1@tmp/durable-13d46006/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-13d46006/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T05:29:42.262Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T05:29:42.312Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T05:29:42.473Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T05:29:42.495Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-920-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-11T05:29:43.405Z] provisioning config files... [2021-05-11T05:29:43.417Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-920@tmp/config6900662697104278448tmp [Pipeline] { [Pipeline] sh [2021-05-11T05:29:43.782Z] + set +x [2021-05-11T05:29:43.782Z] + curl -s https://codecov.io/bash [2021-05-11T05:29:43.782Z] + bash -s -- [2021-05-11T05:29:44.046Z] [2021-05-11T05:29:44.046Z] _____ _ [2021-05-11T05:29:44.046Z] / ____| | | [2021-05-11T05:29:44.046Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T05:29:44.046Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T05:29:44.046Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T05:29:44.046Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T05:29:44.046Z] Bash-1.0.2 [2021-05-11T05:29:44.046Z] [2021-05-11T05:29:44.046Z] [2021-05-11T05:29:44.046Z] ==> git version 2.24.3 found [2021-05-11T05:29:44.046Z] ==> 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-11T05:29:44.046Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T05:29:44.046Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T05:29:44.046Z] ==> Jenkins CI detected. [2021-05-11T05:29:44.046Z] project root: . [2021-05-11T05:29:44.046Z] --> token set from env [2021-05-11T05:29:44.046Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T05:29:44.046Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T05:29:44.046Z] ==> Python coveragepy not found [2021-05-11T05:29:44.046Z] ==> Searching for coverage reports in: [2021-05-11T05:29:44.046Z] + . [2021-05-11T05:29:44.046Z] -> Found 1 reports [2021-05-11T05:29:44.046Z] ==> Detecting git/mercurial file structure [2021-05-11T05:29:44.046Z] ==> Reading reports [2021-05-11T05:29:44.046Z] + ./coverage.out bytes=124140 [2021-05-11T05:29:44.046Z] ==> Appending adjustments [2021-05-11T05:29:44.046Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T05:29:44.625Z] + Found adjustments [2021-05-11T05:29:44.625Z] ==> Gzipping contents [2021-05-11T05:29:44.625Z] 16K /tmp/codecov.UIJkGw.gz [2021-05-11T05:29:44.625Z] ==> Uploading reports [2021-05-11T05:29:44.625Z] url: https://codecov.io [2021-05-11T05:29:44.625Z] query: branch=PR-920&commit=f87a0d8af330d096da16b69dfda80d81331e98f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-920%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=920&job=&cmd_args= [2021-05-11T05:29:44.625Z] -> Pinging Codecov [2021-05-11T05:29:44.625Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-920&commit=f87a0d8af330d096da16b69dfda80d81331e98f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-920%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=920&job=&cmd_args= [2021-05-11T05:29:45.212Z] -> Uploading to [2021-05-11T05:29:45.212Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/7E55EF52A471D76F132DFD9A03CDDE97/f87a0d8af330d096da16b69dfda80d81331e98f2/276f636b-3b91-41d5-8f2d-1225385ffbca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T052944Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3952f283a4bb1b154919674d0b2db1bc661f5e36067f8ab938a56494c5c515a5 [2021-05-11T05:29:45.212Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T05:29:45.212Z] Dload Upload Total Spent Left Speed [2021-05-11T05:29:45.484Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16196 0 0 100 16196 0 33441 --:--:-- --:--:-- --:--:-- 33462 [2021-05-11T05:29:45.484Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f87a0d8af330d096da16b69dfda80d81331e98f2 [Pipeline] } [2021-05-11T05:29:45.510Z] 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-11T05:29:47.328Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:29:47.964Z] ---> package-listing.sh [2021-05-11T05:29:47.964Z] ++ facter osfamily [2021-05-11T05:29:47.964Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T05:29:47.964Z] + OS_FAMILY=redhat [2021-05-11T05:29:47.964Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-920 [2021-05-11T05:29:47.964Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T05:29:47.964Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T05:29:47.964Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T05:29:47.964Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T05:29:47.964Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-920 ']' [2021-05-11T05:29:47.964Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T05:29:47.964Z] + case "${OS_FAMILY}" in [2021-05-11T05:29:47.964Z] + rpm -qa [2021-05-11T05:29:47.964Z] + sort [2021-05-11T05:29:53.317Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T05:29:53.317Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T05:29:53.317Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T05:29:53.317Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-920 ']' [2021-05-11T05:29:53.317Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-920/archives/ [2021-05-11T05:29:53.317Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-920/archives/ [Pipeline] echo [2021-05-11T05:29:53.352Z] 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-sdk-go_PR-920/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-11T05:29:53.669Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:29:54.020Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T05:29:54.020Z] [2021-05-11T05:29:54.020Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:29:54.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T05:29:54.416Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T05:29:54.416Z] df20fa9351a1: Pulling fs layer [2021-05-11T05:29:54.416Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T05:29:54.416Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T05:29:54.416Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T05:29:54.416Z] 93b61091891f: Pulling fs layer [2021-05-11T05:29:54.416Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T05:29:54.416Z] 5e14af77c1be: Pulling fs layer [2021-05-11T05:29:54.416Z] 01666e4c0597: Pulling fs layer [2021-05-11T05:29:54.416Z] aa168da1d23b: Pulling fs layer [2021-05-11T05:29:54.416Z] 93b9cdb0e59b: Waiting [2021-05-11T05:29:54.416Z] 5e14af77c1be: Waiting [2021-05-11T05:29:54.416Z] aa168da1d23b: Waiting [2021-05-11T05:29:54.416Z] 01666e4c0597: Waiting [2021-05-11T05:29:54.416Z] 93b61091891f: Waiting [2021-05-11T05:29:54.416Z] 46f8f816bc3b: Waiting [2021-05-11T05:29:54.416Z] 36b3adc4ff6f: Verifying Checksum [2021-05-11T05:29:54.416Z] 36b3adc4ff6f: Download complete [2021-05-11T05:29:54.416Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T05:29:54.416Z] 46f8f816bc3b: Download complete [2021-05-11T05:29:54.688Z] df20fa9351a1: Verifying Checksum [2021-05-11T05:29:54.688Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T05:29:54.688Z] 93b9cdb0e59b: Download complete [2021-05-11T05:29:54.688Z] 5e14af77c1be: Download complete [2021-05-11T05:29:54.688Z] 93b61091891f: Verifying Checksum [2021-05-11T05:29:54.688Z] 93b61091891f: Download complete [2021-05-11T05:29:54.688Z] 01666e4c0597: Verifying Checksum [2021-05-11T05:29:54.688Z] 01666e4c0597: Download complete [2021-05-11T05:29:54.964Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T05:29:54.964Z] 8ad3a11d3b57: Download complete [2021-05-11T05:29:54.964Z] df20fa9351a1: Pull complete [2021-05-11T05:29:55.229Z] 36b3adc4ff6f: Pull complete [2021-05-11T05:29:56.702Z] 8ad3a11d3b57: Pull complete [2021-05-11T05:29:56.702Z] 46f8f816bc3b: Pull complete [2021-05-11T05:29:57.294Z] 93b61091891f: Pull complete [2021-05-11T05:29:57.295Z] aa168da1d23b: Verifying Checksum [2021-05-11T05:29:57.295Z] aa168da1d23b: Download complete [2021-05-11T05:29:57.295Z] 93b9cdb0e59b: Pull complete [2021-05-11T05:29:57.560Z] 5e14af77c1be: Pull complete [2021-05-11T05:29:57.560Z] 01666e4c0597: Pull complete [2021-05-11T05:30:05.795Z] aa168da1d23b: Pull complete [2021-05-11T05:30:05.795Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T05:30:05.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T05:30:05.795Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T05:30:06.083Z] prd-centos7-docker-4c-2g-4329 does not seem to be running inside a container [2021-05-11T05:30:06.142Z] $ 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-sdk-go_PR-920/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-sdk-go_PR-920 -v /w/workspace/dgexfoundry_device-sdk-go_PR-920:/w/workspace/dgexfoundry_device-sdk-go_PR-920:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-920@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-920@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-11T05:30:09.295Z] $ docker top a22e5de940f558740bc8289fe3180a25718232cd81f800219a97088ef3af40ef -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T05:30:09.874Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T05:30:10.198Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T05:30:10.534Z] + ls /var/log/sa-host [2021-05-11T05:30:10.534Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T05:30:10.534Z] file_magic: OK [2021-05-11T05:30:10.534Z] HZ: Using current value: 100 [2021-05-11T05:30:10.534Z] file_header: OK [2021-05-11T05:30:10.534Z] 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-11T05:30:10.534Z] Statistics: [2021-05-11T05:30:10.534Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-11T05:30:10.534Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T05:30:10.534Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T05:30:10.534Z] file_magic: OK [2021-05-11T05:30:10.534Z] HZ: Using current value: 100 [2021-05-11T05:30:10.534Z] file_header: OK [2021-05-11T05:30:10.534Z] 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-11T05:30:10.534Z] Statistics: [2021-05-11T05:30:10.534Z] Hnuu...uuuununununu... [2021-05-11T05:30:10.534Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T05:30:10.782Z] provisioning config files... [2021-05-11T05:30:10.811Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-920@tmp/config771326079333908603tmp [Pipeline] { [Pipeline] echo [2021-05-11T05:30:10.873Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:30:11.244Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T05:30:11.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T05:30:11.354Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:30:11.725Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T05:30:11.787Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:30:12.131Z] ---> sudo-logs.sh [2021-05-11T05:30:12.131Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T05:30:12.210Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:30:12.557Z] ---> job-cost.sh [2021-05-11T05:30:12.557Z] lf-activate-venv: SKIPPING [2021-05-11T05:30:12.557Z] DEBUG: total: 0.20999999344348907 [2021-05-11T05:30:12.557Z] INFO: Retrieving Stack Cost... [2021-05-11T05:30:13.983Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T05:30:14.565Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T05:30:14.616Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:30:14.964Z] ---> logs-deploy.sh [2021-05-11T05:30:14.964Z] lf-activate-venv: SKIPPING [2021-05-11T05:30:14.964Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-920/1 [2021-05-11T05:30:14.964Z] INFO: archiving workspace using pattern(s): [2021-05-11T05:30:16.922Z] Archives upload complete. [2021-05-11T05:30:17.187Z] INFO: archiving logs to Nexus