Pull request #888 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 98a5cb813bc17f1c30a83f261e888554777b499f+4d2675d668c2f9064e370a810b18e5856622130c (ec5bc326fe20b6bcb0f7d3152327b7c578eec791) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-888/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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-888/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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-1073’ Running on prd-centos7-docker-4c-2g-1081 in /w/workspace/dgexfoundry_device-sdk-go_PR-888 [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-888 # 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 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit 98a5cb813bc17f1c30a83f261e888554777b499f > 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/888/head:refs/remotes/origin/PR-888 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98a5cb813bc17f1c30a83f261e888554777b499f # timeout=10 Merge succeeded, producing 98a5cb813bc17f1c30a83f261e888554777b499f Checking out Revision 98a5cb813bc17f1c30a83f261e888554777b499f (PR-888) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98a5cb813bc17f1c30a83f261e888554777b499f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-20T05:51:06.232Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-20T05:51:06.427Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-20T05:51:06.541Z] ========================================================= [2021-04-20T05:51:06.541Z] EdgeX Global Pipelines Version Info [2021-04-20T05:51:06.541Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-20T05:51:08.136Z] ------------------- [2021-04-20T05:51:08.136Z] stable info: [2021-04-20T05:51:08.136Z] ------------------- [2021-04-20T05:51:08.136Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-20T05:51:08.136Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-20T05:51:08.136Z] Message: update stable to v1.0.186 [2021-04-20T05:51:09.080Z] ------------------- [2021-04-20T05:51:09.080Z] experimental info: [2021-04-20T05:51:09.080Z] ------------------- [2021-04-20T05:51:09.080Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-20T05:51:09.080Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-20T05:51:09.080Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-20T05:51:09.301Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-20T05:51:09.364Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-20T05:51:09.420Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-20T05:51:09.482Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-20T05:51:09.540Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-20T05:51:09.593Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-20T05:51:09.652Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-20T05:51:09.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-20T05:51:09.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-20T05:51:09.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-20T05:51:09.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-20T05:51:09.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-20T05:51:10.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-20T05:51:10.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-20T05:51:10.135Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-20T05:51:10.190Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-20T05:51:10.249Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-20T05:51:10.313Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-20T05:51:10.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-20T05:51:10.427Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-20T05:51:10.484Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-20T05:51:10.539Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-20T05:51:10.594Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-20T05:51:10.649Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-20T05:51:10.706Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-20T05:51:10.762Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-20T05:51:10.822Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-888 [Pipeline] echo [2021-04-20T05:51:10.888Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-888 [Pipeline] echo [2021-04-20T05:51:10.951Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-888 [Pipeline] echo [2021-04-20T05:51:11.009Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98a5cb813bc17f1c30a83f261e888554777b499f [Pipeline] echo [2021-04-20T05:51:11.065Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98a5cb8 [Pipeline] echo [2021-04-20T05:51:11.129Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-20T05:51:11.288Z] provisioning config files... [2021-04-20T05:51:11.326Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp/config869981600000473880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T05:51:11.711Z] ---> docker-login.sh [2021-04-20T05:51:11.711Z] nexus3.edgexfoundry.org:10001 [2021-04-20T05:51:11.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:51:12.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:51:12.240Z] Configure a credential helper to remove this warning. See [2021-04-20T05:51:12.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:51:12.240Z] [2021-04-20T05:51:12.240Z] Login Succeeded [2021-04-20T05:51:12.240Z] nexus3.edgexfoundry.org:10002 [2021-04-20T05:51:12.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:51:12.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:51:12.240Z] Configure a credential helper to remove this warning. See [2021-04-20T05:51:12.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:51:12.240Z] [2021-04-20T05:51:12.240Z] Login Succeeded [2021-04-20T05:51:12.240Z] nexus3.edgexfoundry.org:10003 [2021-04-20T05:51:12.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:51:12.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:51:12.502Z] Configure a credential helper to remove this warning. See [2021-04-20T05:51:12.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:51:12.502Z] [2021-04-20T05:51:12.502Z] Login Succeeded [2021-04-20T05:51:12.502Z] nexus3.edgexfoundry.org:10004 [2021-04-20T05:51:12.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:51:12.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:51:12.765Z] Configure a credential helper to remove this warning. See [2021-04-20T05:51:12.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:51:12.765Z] [2021-04-20T05:51:12.765Z] Login Succeeded [2021-04-20T05:51:12.765Z] docker.io [2021-04-20T05:51:12.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:51:13.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:51:13.027Z] Configure a credential helper to remove this warning. See [2021-04-20T05:51:13.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:51:13.027Z] [2021-04-20T05:51:13.027Z] Login Succeeded [2021-04-20T05:51:13.027Z] ---> docker-login.sh ends [Pipeline] } [2021-04-20T05:51:13.057Z] 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-04-20T05:51:13.767Z] + git log --format=format:%s -1 98a5cb813bc17f1c30a83f261e888554777b499f [Pipeline] echo [2021-04-20T05:51:13.875Z] GIT_COMMIT: 98a5cb813bc17f1c30a83f261e888554777b499f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2021-04-20T05:51:13.923Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:51:14.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T05:51:14.608Z] [2021-04-20T05:51:14.608Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:51:14.977Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T05:51:14.977Z] latest: Pulling from edgex-devops/git-semver [2021-04-20T05:51:14.977Z] 31603596830f: Pulling fs layer [2021-04-20T05:51:14.977Z] 2a8b12db71e7: Pulling fs layer [2021-04-20T05:51:14.977Z] 6ca5941a6612: Pulling fs layer [2021-04-20T05:51:14.977Z] ecc8261a40a4: Pulling fs layer [2021-04-20T05:51:14.977Z] 2a8b12db71e7: Verifying Checksum [2021-04-20T05:51:14.977Z] 2a8b12db71e7: Download complete [2021-04-20T05:51:15.241Z] 31603596830f: Verifying Checksum [2021-04-20T05:51:15.241Z] 31603596830f: Download complete [2021-04-20T05:51:15.241Z] ecc8261a40a4: Verifying Checksum [2021-04-20T05:51:15.241Z] ecc8261a40a4: Download complete [2021-04-20T05:51:15.241Z] 6ca5941a6612: Verifying Checksum [2021-04-20T05:51:15.241Z] 6ca5941a6612: Download complete [2021-04-20T05:51:15.505Z] 31603596830f: Pull complete [2021-04-20T05:51:15.773Z] 2a8b12db71e7: Pull complete [2021-04-20T05:51:16.353Z] 6ca5941a6612: Pull complete [2021-04-20T05:51:16.929Z] ecc8261a40a4: Pull complete [2021-04-20T05:51:16.929Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-20T05:51:16.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-20T05:51:16.929Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-20T05:51:17.052Z] prd-centos7-docker-4c-2g-1081 does not seem to be running inside a container [2021-04-20T05:51:17.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-888 -v /w/workspace/dgexfoundry_device-sdk-go_PR-888:/w/workspace/dgexfoundry_device-sdk-go_PR-888:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-888@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-04-20T05:51:19.090Z] $ docker top 12835b83be9175c1cd022217c95f760c34dbb5154a96e3fadf402729c516a146 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-20T05:51:19.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-20T05:51:19.338Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-20T05:51:19.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-20T05:51:19.550Z] $ docker exec 12835b83be9175c1cd022217c95f760c34dbb5154a96e3fadf402729c516a146 ssh-agent [2021-04-20T05:51:19.714Z] SSH_AUTH_SOCK=/tmp/ssh-BgkfSIt26EWc/agent.11 [2021-04-20T05:51:19.714Z] SSH_AGENT_PID=16 [2021-04-20T05:51:19.723Z] Running ssh-add (command line suppressed) [2021-04-20T05:51:19.840Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp/private_key_2753475435361529565.key (/w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp/private_key_2753475435361529565.key) [2021-04-20T05:51:19.891Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-20T05:51:20.244Z] + git tag --points-at HEAD [Pipeline] } [2021-04-20T05:51:20.269Z] $ docker exec --env ******** --env ******** 12835b83be9175c1cd022217c95f760c34dbb5154a96e3fadf402729c516a146 ssh-agent -k [2021-04-20T05:51:20.388Z] unset SSH_AUTH_SOCK; [2021-04-20T05:51:20.389Z] unset SSH_AGENT_PID; [2021-04-20T05:51:20.389Z] echo Agent pid 16 killed; [2021-04-20T05:51:20.434Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-20T05:51:20.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-20T05:51:20.529Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-20T05:51:20.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-20T05:51:20.691Z] $ docker exec 12835b83be9175c1cd022217c95f760c34dbb5154a96e3fadf402729c516a146 ssh-agent [2021-04-20T05:51:20.853Z] SSH_AUTH_SOCK=/tmp/ssh-O6PtIkcF6uxA/agent.45 [2021-04-20T05:51:20.853Z] SSH_AGENT_PID=50 [2021-04-20T05:51:20.859Z] Running ssh-add (command line suppressed) [2021-04-20T05:51:20.977Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp/private_key_3575800811986734387.key (/w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp/private_key_3575800811986734387.key) [2021-04-20T05:51:21.027Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-20T05:51:21.379Z] + git semver init [2021-04-20T05:51:21.379Z] # -> Open(): unable to determine branch for HEAD [2021-04-20T05:51:21.379Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-888/.git [2021-04-20T05:51:21.379Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-888 [2021-04-20T05:51:21.379Z] # $SEMVER_REMOTE_NAME = origin [2021-04-20T05:51:21.379Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-20T05:51:21.379Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-20T05:51:21.379Z] # $SEMVER_BRANCH = PR-888 [2021-04-20T05:51:21.379Z] # $SEMVER_TEMP = /tmp/semver-169776026 [2021-04-20T05:51:21.379Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-20T05:51:22.327Z] # '/tmp/semver-169776026' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-888/.semver' [2021-04-20T05:51:22.327Z] # -> Force: false [2021-04-20T05:51:22.327Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-888/.semver [Pipeline] } [2021-04-20T05:51:22.348Z] $ docker exec --env ******** --env ******** 12835b83be9175c1cd022217c95f760c34dbb5154a96e3fadf402729c516a146 ssh-agent -k [2021-04-20T05:51:22.458Z] unset SSH_AUTH_SOCK; [2021-04-20T05:51:22.458Z] unset SSH_AGENT_PID; [2021-04-20T05:51:22.459Z] echo Agent pid 50 killed; [2021-04-20T05:51:22.503Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-20T05:51:22.966Z] + git semver [Pipeline] } [2021-04-20T05:51:22.996Z] $ docker stop --time=1 12835b83be9175c1cd022217c95f760c34dbb5154a96e3fadf402729c516a146 [2021-04-20T05:51:24.494Z] $ docker rm -f 12835b83be9175c1cd022217c95f760c34dbb5154a96e3fadf402729c516a146 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-20T05:51:24.943Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-20T05:51:25.320Z] Stashed 1 file(s) [Pipeline] echo [2021-04-20T05:51:25.342Z] [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-04-20T05:51:40.787Z] Still waiting to schedule task [2021-04-20T05:51:40.788Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-1073’ is offline; ‘prd-centos7-docker-4c-2g-1082’ is offline; ‘prd-centos7-docker-4c-2g-1083’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-949’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1078’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-20T05:51:40.813Z] Still waiting to schedule task [2021-04-20T05:51:40.814Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1078’ is offline [2021-04-20T05:52:45.471Z] Running on prd-centos7-docker-4c-2g-1086 in /w/workspace/dgexfoundry_device-sdk-go_PR-888 [Pipeline] { [Pipeline] ws [2021-04-20T05:52:45.529Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-20T05:52:48.174Z] using credential edgex-jenkins-ssh [2021-04-20T05:52:48.193Z] Cloning the remote Git repository [2021-04-20T05:52:47.673Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-20T05:52:47.748Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-20T05:52:47.811Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-20T05:52:47.811Z] > git --version # timeout=10 [2021-04-20T05:52:47.817Z] > git --version # 'git version 2.24.3' [2021-04-20T05:52:47.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T05:52:47.847Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T05:52:49.549Z] Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit 98a5cb813bc17f1c30a83f261e888554777b499f [2021-04-20T05:52:49.641Z] Merge succeeded, producing 98a5cb813bc17f1c30a83f261e888554777b499f [2021-04-20T05:52:49.642Z] Checking out Revision 98a5cb813bc17f1c30a83f261e888554777b499f (PR-888) [2021-04-20T05:52:48.677Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-20T05:52:48.687Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T05:52:48.698Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-20T05:52:48.711Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-20T05:52:48.712Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T05:52:48.716Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/888/head:refs/remotes/origin/PR-888 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-20T05:52:49.128Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T05:52:49.136Z] > git checkout -f 98a5cb813bc17f1c30a83f261e888554777b499f # timeout=10 [2021-04-20T05:52:49.184Z] > git remote # timeout=10 [2021-04-20T05:52:49.192Z] > git config --get remote.origin.url # timeout=10 [2021-04-20T05:52:49.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T05:52:49.201Z] > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 [2021-04-20T05:52:49.213Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-20T05:52:49.224Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T05:52:49.229Z] > git checkout -f 98a5cb813bc17f1c30a83f261e888554777b499f # timeout=10 [2021-04-20T05:52:53.086Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-04-20T05:52:52.979Z] > git --version # timeout=10 [2021-04-20T05:52:52.986Z] > git --version # 'git version 2.24.3' [2021-04-20T05:52:53.116Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T05:52:55.021Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-20T05:52:55.371Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-20T05:52:55.695Z] + sudo service docker restart [2021-04-20T05:52:55.695Z] + true [2021-04-20T05:52:55.695Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-20T05:52:56.742Z] provisioning config files... [2021-04-20T05:52:56.773Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2258660922287381017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T05:52:57.152Z] ---> docker-login.sh [2021-04-20T05:52:57.152Z] nexus3.edgexfoundry.org:10001 [2021-04-20T05:52:57.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:52:57.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:52:57.419Z] Configure a credential helper to remove this warning. See [2021-04-20T05:52:57.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:52:57.419Z] [2021-04-20T05:52:57.419Z] Login Succeeded [2021-04-20T05:52:57.419Z] nexus3.edgexfoundry.org:10002 [2021-04-20T05:52:57.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:52:57.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:52:57.682Z] Configure a credential helper to remove this warning. See [2021-04-20T05:52:57.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:52:57.682Z] [2021-04-20T05:52:57.682Z] Login Succeeded [2021-04-20T05:52:57.682Z] nexus3.edgexfoundry.org:10003 [2021-04-20T05:52:57.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:52:57.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:52:57.682Z] Configure a credential helper to remove this warning. See [2021-04-20T05:52:57.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:52:57.682Z] [2021-04-20T05:52:57.682Z] Login Succeeded [2021-04-20T05:52:57.945Z] nexus3.edgexfoundry.org:10004 [2021-04-20T05:52:57.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:52:57.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:52:57.945Z] Configure a credential helper to remove this warning. See [2021-04-20T05:52:57.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:52:57.945Z] [2021-04-20T05:52:57.945Z] Login Succeeded [2021-04-20T05:52:57.945Z] docker.io [2021-04-20T05:52:58.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:52:58.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:52:58.475Z] Configure a credential helper to remove this warning. See [2021-04-20T05:52:58.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:52:58.475Z] [2021-04-20T05:52:58.475Z] Login Succeeded [2021-04-20T05:52:58.475Z] ---> docker-login.sh ends [Pipeline] } [2021-04-20T05:52:58.503Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-20T05:52:58.803Z] ========================================================= [2021-04-20T05:52:58.803Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-20T05:52:58.803Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:52:59.175Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-20T05:52:59.175Z] Sending build context to Docker daemon 2.462MB [2021-04-20T05:52:59.176Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-20T05:52:59.176Z] Step 2/8 : FROM ${BASE} [2021-04-20T05:52:59.452Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-20T05:52:59.452Z] 188c0c94c7c5: Pulling fs layer [2021-04-20T05:52:59.452Z] 0ef7d3d256c8: Pulling fs layer [2021-04-20T05:52:59.452Z] de9db76c5a1d: Pulling fs layer [2021-04-20T05:52:59.452Z] bca2f99d35d6: Pulling fs layer [2021-04-20T05:52:59.452Z] 93359f2a8cfa: Pulling fs layer [2021-04-20T05:52:59.452Z] 7c6f9722023f: Pulling fs layer [2021-04-20T05:52:59.452Z] a35cf1a2eb13: Pulling fs layer [2021-04-20T05:52:59.452Z] 93359f2a8cfa: Waiting [2021-04-20T05:52:59.452Z] 7c6f9722023f: Waiting [2021-04-20T05:52:59.452Z] a35cf1a2eb13: Waiting [2021-04-20T05:52:59.452Z] bca2f99d35d6: Waiting [2021-04-20T05:52:59.452Z] de9db76c5a1d: Verifying Checksum [2021-04-20T05:52:59.452Z] de9db76c5a1d: Download complete [2021-04-20T05:52:59.452Z] 0ef7d3d256c8: Verifying Checksum [2021-04-20T05:52:59.452Z] 0ef7d3d256c8: Download complete [2021-04-20T05:52:59.452Z] 93359f2a8cfa: Download complete [2021-04-20T05:52:59.452Z] 7c6f9722023f: Verifying Checksum [2021-04-20T05:52:59.452Z] 7c6f9722023f: Download complete [2021-04-20T05:52:59.452Z] 188c0c94c7c5: Verifying Checksum [2021-04-20T05:52:59.452Z] 188c0c94c7c5: Download complete [2021-04-20T05:52:59.763Z] 188c0c94c7c5: Pull complete [2021-04-20T05:53:00.028Z] 0ef7d3d256c8: Pull complete [2021-04-20T05:53:00.293Z] de9db76c5a1d: Pull complete [2021-04-20T05:53:01.247Z] a35cf1a2eb13: Download complete [2021-04-20T05:53:01.839Z] bca2f99d35d6: Verifying Checksum [2021-04-20T05:53:01.839Z] bca2f99d35d6: Download complete [2021-04-20T05:53:08.485Z] bca2f99d35d6: Pull complete [2021-04-20T05:53:08.485Z] 93359f2a8cfa: Pull complete [2021-04-20T05:53:08.485Z] 7c6f9722023f: Pull complete [2021-04-20T05:53:13.812Z] a35cf1a2eb13: Pull complete [2021-04-20T05:53:13.812Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-20T05:53:13.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-20T05:53:13.812Z] ---> a62c8e92a672 [2021-04-20T05:53:13.812Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-20T05:53:13.812Z] ---> Running in d0f0005ef8b0 [2021-04-20T05:53:14.076Z] Removing intermediate container d0f0005ef8b0 [2021-04-20T05:53:14.076Z] ---> a25e5722e8e2 [2021-04-20T05:53:14.076Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-20T05:53:14.076Z] ---> Running in e67f944005bd [2021-04-20T05:53:15.022Z] Removing intermediate container e67f944005bd [2021-04-20T05:53:15.022Z] ---> 29d746de89e3 [2021-04-20T05:53:15.022Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-20T05:53:15.022Z] ---> Running in 801cae709ca5 [2021-04-20T05:53:15.969Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-20T05:53:16.546Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-20T05:53:17.127Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-20T05:53:17.127Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-20T05:53:17.127Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-20T05:53:17.127Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-20T05:53:17.389Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-20T05:53:17.389Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-20T05:53:17.651Z] Executing busybox-1.31.1-r19.trigger [2021-04-20T05:53:17.651Z] OK: 167 MiB in 45 packages [2021-04-20T05:53:18.229Z] Removing intermediate container 801cae709ca5 [2021-04-20T05:53:18.229Z] ---> 7725a229e860 [2021-04-20T05:53:18.229Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-20T05:53:18.229Z] ---> Running in a8a27c25ac35 [2021-04-20T05:53:18.229Z] Removing intermediate container a8a27c25ac35 [2021-04-20T05:53:18.229Z] ---> 8dc5a87f5c55 [2021-04-20T05:53:18.229Z] Step 7/8 : COPY . . [2021-04-20T05:53:19.620Z] ---> 817a40c5fda9 [2021-04-20T05:53:19.620Z] Step 8/8 : RUN go mod download [2021-04-20T05:53:19.620Z] ---> Running in c226e6a163aa [2021-04-20T05:53:41.665Z] Removing intermediate container c226e6a163aa [2021-04-20T05:53:41.665Z] ---> e7c0f1f24278 [2021-04-20T05:53:41.665Z] Successfully built e7c0f1f24278 [2021-04-20T05:53:41.665Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:53:42.076Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-20T05:53:42.076Z] . [Pipeline] withDockerContainer [2021-04-20T05:53:42.241Z] prd-centos7-docker-4c-2g-1086 does not seem to be running inside a container [2021-04-20T05:53:42.295Z] $ 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-04-20T05:53:43.719Z] $ docker top b666127bc86c9f7cbf49738ea1a1e14bf781501fd10391d32ec3c1b5031d3359 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T05:53:44.229Z] + go version [2021-04-20T05:53:44.229Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-20T05:53:44.259Z] $ docker stop --time=1 b666127bc86c9f7cbf49738ea1a1e14bf781501fd10391d32ec3c1b5031d3359 [2021-04-20T05:53:45.596Z] $ docker rm -f b666127bc86c9f7cbf49738ea1a1e14bf781501fd10391d32ec3c1b5031d3359 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:53:46.402Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-20T05:53:46.402Z] . [Pipeline] withDockerContainer [2021-04-20T05:53:46.516Z] prd-centos7-docker-4c-2g-1086 does not seem to be running inside a container [2021-04-20T05:53:46.567Z] $ 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-04-20T05:53:47.169Z] $ docker top ec35ef6345421b2cda71c499cea15a6b124f0b5dae60891f6262b810aeefc898 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T05:53:47.805Z] + make test [2021-04-20T05:53:47.805Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-20T05:53:56.189Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-20T05:54:18.377Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-20T05:54:18.377Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-20T05:54:18.377Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-20T05:54:18.377Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-20T05:54:18.377Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-20T05:54:19.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.083s coverage: 28.1% of statements [2021-04-20T05:54:19.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements [2021-04-20T05:54:20.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.065s coverage: 7.8% of statements [2021-04-20T05:54:20.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-20T05:54:20.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-20T05:54:20.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-20T05:54:20.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.089s coverage: 32.0% of statements [2021-04-20T05:54:20.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-20T05:54:20.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-20T05:54:20.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-20T05:54:20.443Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1088 in /w/workspace/dgexfoundry_device-sdk-go_PR-888 [Pipeline] { [Pipeline] ws [2021-04-20T05:54:20.523Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-20T05:54:21.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 57.1% of statements [2021-04-20T05:54:21.602Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.219s coverage: 6.6% of statements [2021-04-20T05:54:21.602Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-04-20T05:54:21.602Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-20T05:54:21.881Z] GO111MODULE=on go vet ./... [2021-04-20T05:54:26.481Z] using credential edgex-jenkins-ssh [2021-04-20T05:54:26.512Z] Cloning the remote Git repository [2021-04-20T05:54:26.596Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-20T05:54:26.753Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-20T05:54:26.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-20T05:54:26.820Z] > git --version # timeout=10 [2021-04-20T05:54:26.845Z] > git --version # 'git version 2.17.1' [2021-04-20T05:54:26.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T05:54:26.893Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T05:54:28.225Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-20T05:54:28.806Z] Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit 98a5cb813bc17f1c30a83f261e888554777b499f [2021-04-20T05:54:29.042Z] Merge succeeded, producing 98a5cb813bc17f1c30a83f261e888554777b499f [2021-04-20T05:54:29.042Z] Checking out Revision 98a5cb813bc17f1c30a83f261e888554777b499f (PR-888) [2021-04-20T05:54:28.247Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-20T05:54:28.281Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-20T05:54:28.325Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-20T05:54:28.325Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T05:54:28.337Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/888/head:refs/remotes/origin/PR-888 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-20T05:54:28.831Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T05:54:28.851Z] > git checkout -f 98a5cb813bc17f1c30a83f261e888554777b499f # timeout=10 [2021-04-20T05:54:28.948Z] > git remote # timeout=10 [2021-04-20T05:54:28.969Z] > git config --get remote.origin.url # timeout=10 [2021-04-20T05:54:28.992Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-20T05:54:29.001Z] > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 [2021-04-20T05:54:29.025Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-20T05:54:29.052Z] > git config core.sparsecheckout # timeout=10 [2021-04-20T05:54:29.061Z] > git checkout -f 98a5cb813bc17f1c30a83f261e888554777b499f # timeout=10 [2021-04-20T05:54:33.291Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-04-20T05:54:33.352Z] > git --version # timeout=10 [2021-04-20T05:54:33.366Z] > git --version # 'git version 2.17.1' [2021-04-20T05:54:33.391Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T05:54:34.995Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-20T05:54:35.424Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-20T05:54:35.785Z] + + sudo service dockertrue restart [2021-04-20T05:54:35.785Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-20T05:54:37.868Z] provisioning config files... [2021-04-20T05:54:37.925Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5862070341084312220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-20T05:54:38.344Z] ---> docker-login.sh [2021-04-20T05:54:38.344Z] nexus3.edgexfoundry.org:10001 [2021-04-20T05:54:39.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:54:39.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:54:39.607Z] Configure a credential helper to remove this warning. See [2021-04-20T05:54:39.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:54:39.607Z] [2021-04-20T05:54:39.607Z] Login Succeeded [2021-04-20T05:54:39.607Z] nexus3.edgexfoundry.org:10002 [2021-04-20T05:54:39.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:54:40.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:54:40.157Z] Configure a credential helper to remove this warning. See [2021-04-20T05:54:40.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:54:40.157Z] [2021-04-20T05:54:40.157Z] Login Succeeded [2021-04-20T05:54:40.157Z] nexus3.edgexfoundry.org:10003 [2021-04-20T05:54:40.180Z] gofmt -l . [2021-04-20T05:54:40.180Z] [ "`gofmt -l .`" = "" ] [2021-04-20T05:54:40.180Z] ./bin/test-attribution-txt.sh [2021-04-20T05:54:40.180Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-20T05:54:40.214Z] $ docker stop --time=1 ec35ef6345421b2cda71c499cea15a6b124f0b5dae60891f6262b810aeefc898 [2021-04-20T05:54:40.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:54:40.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:54:40.710Z] Configure a credential helper to remove this warning. See [2021-04-20T05:54:40.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:54:40.710Z] [2021-04-20T05:54:40.710Z] Login Succeeded [2021-04-20T05:54:40.710Z] nexus3.edgexfoundry.org:10004 [2021-04-20T05:54:40.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:54:41.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:54:41.257Z] Configure a credential helper to remove this warning. See [2021-04-20T05:54:41.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:54:41.257Z] [2021-04-20T05:54:41.257Z] Login Succeeded [2021-04-20T05:54:41.257Z] docker.io [2021-04-20T05:54:41.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-20T05:54:41.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-20T05:54:41.804Z] Configure a credential helper to remove this warning. See [2021-04-20T05:54:41.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-20T05:54:41.804Z] [2021-04-20T05:54:41.804Z] Login Succeeded [2021-04-20T05:54:41.804Z] ---> docker-login.sh ends [2021-04-20T05:54:41.960Z] $ docker rm -f ec35ef6345421b2cda71c499cea15a6b124f0b5dae60891f6262b810aeefc898 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2021-04-20T05:54:42.440Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-20T05:54:42.688Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo [2021-04-20T05:54:42.866Z] ========================================================= [2021-04-20T05:54:42.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-20T05:54:42.866Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:54:43.257Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-20T05:54:43.267Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-04-20T05:54:43.865Z] Sending build context to Docker daemon 2.461MB [2021-04-20T05:54:43.865Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-20T05:54:43.865Z] Step 2/8 : FROM ${BASE} [2021-04-20T05:54:43.865Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-20T05:54:43.865Z] 5f621e34cdf4: Pulling fs layer [2021-04-20T05:54:43.865Z] a4357932f1b6: Pulling fs layer [2021-04-20T05:54:43.865Z] 18c013af1878: Pulling fs layer [2021-04-20T05:54:43.865Z] 00ac8860ef70: Pulling fs layer [2021-04-20T05:54:43.865Z] 63d7cb157983: Pulling fs layer [2021-04-20T05:54:43.865Z] b116817d02f9: Pulling fs layer [2021-04-20T05:54:43.865Z] 745a02a5169b: Pulling fs layer [2021-04-20T05:54:43.865Z] b116817d02f9: Waiting [2021-04-20T05:54:43.865Z] 745a02a5169b: Waiting [2021-04-20T05:54:43.865Z] 63d7cb157983: Waiting [2021-04-20T05:54:43.865Z] 18c013af1878: Download complete [2021-04-20T05:54:43.865Z] a4357932f1b6: Verifying Checksum [2021-04-20T05:54:43.865Z] a4357932f1b6: Download complete [2021-04-20T05:54:43.865Z] 63d7cb157983: Verifying Checksum [2021-04-20T05:54:43.865Z] 63d7cb157983: Download complete [2021-04-20T05:54:43.865Z] b116817d02f9: Download complete [2021-04-20T05:54:43.865Z] 5f621e34cdf4: Verifying Checksum [2021-04-20T05:54:43.865Z] 5f621e34cdf4: Download complete [2021-04-20T05:54:44.862Z] 5f621e34cdf4: Pull complete [2021-04-20T05:54:45.141Z] a4357932f1b6: Pull complete [Pipeline] sh [2021-04-20T05:54:45.754Z] 18c013af1878: Pull complete [2021-04-20T05:54:45.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-20T05:54:46.026Z] 745a02a5169b: Verifying Checksum [2021-04-20T05:54:46.026Z] 745a02a5169b: Download complete [2021-04-20T05:54:46.272Z] + ls -al . [2021-04-20T05:54:46.272Z] total 188 [2021-04-20T05:54:46.272Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 20 05:54 . [2021-04-20T05:54:46.272Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 05:52 .. [2021-04-20T05:54:46.272Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 20 05:52 bin [2021-04-20T05:54:46.272Z] -rw-r--r--. 1 jenkins jenkins 100117 Apr 20 05:54 coverage.out [2021-04-20T05:54:46.272Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 20 05:52 Dockerfile.build [2021-04-20T05:54:46.272Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 20 05:52 .dockerignore [2021-04-20T05:54:46.272Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 20 05:52 example [2021-04-20T05:54:46.272Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 05:52 .git [2021-04-20T05:54:46.272Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 20 05:52 .github [2021-04-20T05:54:46.272Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 20 05:52 .gitignore [2021-04-20T05:54:46.272Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 20 05:54 go.mod [2021-04-20T05:54:46.272Z] -rw-r--r--. 1 jenkins jenkins 20737 Apr 20 05:54 go.sum [2021-04-20T05:54:46.272Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 20 05:52 internal [2021-04-20T05:54:46.272Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 20 05:52 Jenkinsfile [2021-04-20T05:54:46.272Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 20 05:52 LICENSE [2021-04-20T05:54:46.272Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 20 05:52 Makefile [2021-04-20T05:54:46.272Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 20 05:52 openapi [2021-04-20T05:54:46.272Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 20 05:52 pkg [2021-04-20T05:54:46.272Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 20 05:52 README.md [2021-04-20T05:54:46.272Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 20 05:52 RELEASE-NOTES.txt [2021-04-20T05:54:46.272Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 20 05:52 snap [2021-04-20T05:54:46.272Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 05:51 VERSION [2021-04-20T05:54:46.272Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 20 05:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:54:46.626Z] + 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=98a5cb813bc17f1c30a83f261e888554777b499f --label arch=amd64 --label version=0.0.0 . [2021-04-20T05:54:46.889Z] Sending build context to Docker daemon 2.563MB [2021-04-20T05:54:46.889Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-20T05:54:46.889Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-20T05:54:46.889Z] ---> e7c0f1f24278 [2021-04-20T05:54:46.889Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-20T05:54:47.162Z] ---> Running in 48089ef1e178 [2021-04-20T05:54:47.162Z] Removing intermediate container 48089ef1e178 [2021-04-20T05:54:47.162Z] ---> 7a1376e71288 [2021-04-20T05:54:47.162Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-20T05:54:47.425Z] ---> Running in 85b9a5f2827e [2021-04-20T05:54:47.425Z] Removing intermediate container 85b9a5f2827e [2021-04-20T05:54:47.425Z] ---> ba50c5b62724 [2021-04-20T05:54:47.425Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-20T05:54:47.456Z] 00ac8860ef70: Verifying Checksum [2021-04-20T05:54:47.456Z] 00ac8860ef70: Download complete [2021-04-20T05:54:47.690Z] ---> Running in 270023cfdaf6 [2021-04-20T05:54:48.646Z] Removing intermediate container 270023cfdaf6 [2021-04-20T05:54:48.646Z] ---> b9aa94bdfb20 [2021-04-20T05:54:48.646Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-20T05:54:48.646Z] ---> Running in a3aa7f25503c [2021-04-20T05:54:49.238Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-20T05:54:49.818Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-20T05:54:50.142Z] OK: 167 MiB in 45 packages [2021-04-20T05:54:50.739Z] Removing intermediate container a3aa7f25503c [2021-04-20T05:54:50.739Z] ---> 1c7a8cd4be50 [2021-04-20T05:54:50.739Z] Step 7/23 : COPY . . [2021-04-20T05:54:52.141Z] ---> 907731a99f7c [2021-04-20T05:54:52.141Z] Step 8/23 : RUN go mod download [2021-04-20T05:54:52.141Z] ---> Running in f33e124fc8f6 [2021-04-20T05:54:53.128Z] Removing intermediate container f33e124fc8f6 [2021-04-20T05:54:53.128Z] ---> 933cbecec2d2 [2021-04-20T05:54:53.128Z] Step 9/23 : RUN make build [2021-04-20T05:54:53.128Z] ---> Running in d0402281b78b [2021-04-20T05:54:53.733Z] 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-04-20T05:54:57.623Z] 00ac8860ef70: Pull complete [2021-04-20T05:54:57.623Z] 63d7cb157983: Pull complete [2021-04-20T05:54:57.897Z] b116817d02f9: Pull complete [2021-04-20T05:55:02.224Z] 745a02a5169b: Pull complete [2021-04-20T05:55:02.224Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-20T05:55:02.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-20T05:55:02.224Z] ---> b7e6874047d6 [2021-04-20T05:55:02.224Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-20T05:55:04.222Z] ---> Running in 4279ffc701fd [2021-04-20T05:55:04.830Z] Removing intermediate container 4279ffc701fd [2021-04-20T05:55:04.830Z] ---> 99f910af17d6 [2021-04-20T05:55:04.830Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-20T05:55:04.830Z] ---> Running in ec77695fe80a [2021-04-20T05:55:07.476Z] Removing intermediate container ec77695fe80a [2021-04-20T05:55:07.476Z] ---> c1f7477b6060 [2021-04-20T05:55:07.476Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-20T05:55:07.476Z] ---> Running in 1374934dd341 [2021-04-20T05:55:08.470Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-20T05:55:08.868Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-20T05:55:09.062Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-20T05:55:09.133Z] Removing intermediate container d0402281b78b [2021-04-20T05:55:09.133Z] ---> f3cc8b34c820 [2021-04-20T05:55:09.133Z] Step 10/23 : FROM alpine:3.12 [2021-04-20T05:55:09.717Z] 3.12: Pulling from library/alpine [2021-04-20T05:55:09.717Z] 339de151aab4: Pulling fs layer [2021-04-20T05:55:09.717Z] 339de151aab4: Verifying Checksum [2021-04-20T05:55:09.717Z] 339de151aab4: Download complete [2021-04-20T05:55:09.984Z] 339de151aab4: Pull complete [2021-04-20T05:55:10.254Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-20T05:55:10.254Z] Status: Downloaded newer image for alpine:3.12 [2021-04-20T05:55:10.254Z] ---> 13621d1b12d4 [2021-04-20T05:55:10.254Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-20T05:55:10.254Z] ---> Running in e30693cb8b01 [2021-04-20T05:55:10.492Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-20T05:55:10.492Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-20T05:55:10.492Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-20T05:55:10.492Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-20T05:55:10.525Z] Removing intermediate container e30693cb8b01 [2021-04-20T05:55:10.525Z] ---> 11c7f6c43869 [2021-04-20T05:55:10.525Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-20T05:55:10.525Z] ---> Running in 3998911d61ad [2021-04-20T05:55:10.763Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-20T05:55:10.763Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-20T05:55:10.763Z] Executing busybox-1.31.1-r19.trigger [2021-04-20T05:55:11.043Z] OK: 144 MiB in 45 packages [2021-04-20T05:55:11.482Z] Removing intermediate container 3998911d61ad [2021-04-20T05:55:11.482Z] ---> 8465a2e3ef27 [2021-04-20T05:55:11.482Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-20T05:55:11.482Z] ---> Running in 1b2b0766a95a [2021-04-20T05:55:12.019Z] Removing intermediate container 1374934dd341 [2021-04-20T05:55:12.019Z] ---> 3fb0e4347d5e [2021-04-20T05:55:12.019Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-20T05:55:12.058Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-20T05:55:12.293Z] ---> Running in 087623bbadc1 [2021-04-20T05:55:12.631Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-20T05:55:12.889Z] Removing intermediate container 087623bbadc1 [2021-04-20T05:55:12.889Z] ---> 57ff33cb3abf [2021-04-20T05:55:12.889Z] Step 7/8 : COPY . . [2021-04-20T05:55:13.208Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-20T05:55:13.473Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-20T05:55:13.473Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-20T05:55:13.736Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-20T05:55:13.736Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-20T05:55:13.867Z] ---> 134b5e955654 [2021-04-20T05:55:13.867Z] Step 8/8 : RUN go mod download [2021-04-20T05:55:14.008Z] Executing busybox-1.31.1-r20.trigger [2021-04-20T05:55:14.008Z] OK: 8 MiB in 19 packages [2021-04-20T05:55:14.141Z] ---> Running in 32d757b0eb98 [2021-04-20T05:55:14.583Z] Removing intermediate container 1b2b0766a95a [2021-04-20T05:55:14.583Z] ---> 1a93df0d4c93 [2021-04-20T05:55:14.583Z] Step 14/23 : WORKDIR / [2021-04-20T05:55:14.583Z] ---> Running in 06e7f355adc9 [2021-04-20T05:55:14.848Z] Removing intermediate container 06e7f355adc9 [2021-04-20T05:55:14.848Z] ---> fd9060e3f14d [2021-04-20T05:55:14.848Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-20T05:55:15.111Z] ---> 951eb641bc9e [2021-04-20T05:55:15.111Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-20T05:55:15.688Z] ---> f391136b747a [2021-04-20T05:55:15.688Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-20T05:55:15.688Z] ---> c2502aec0917 [2021-04-20T05:55:15.688Z] Step 18/23 : EXPOSE 49990 [2021-04-20T05:55:15.953Z] ---> Running in 5daa9ef50b5c [2021-04-20T05:55:15.953Z] Removing intermediate container 5daa9ef50b5c [2021-04-20T05:55:15.953Z] ---> 8e4dcfcaf335 [2021-04-20T05:55:15.953Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-20T05:55:16.218Z] ---> Running in 028caf14a316 [2021-04-20T05:55:16.218Z] Removing intermediate container 028caf14a316 [2021-04-20T05:55:16.218Z] ---> d6b2cb6df51f [2021-04-20T05:55:16.218Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-20T05:55:16.218Z] ---> Running in 87973a817ae6 [2021-04-20T05:55:16.487Z] Removing intermediate container 87973a817ae6 [2021-04-20T05:55:16.487Z] ---> a5ccc7850727 [2021-04-20T05:55:16.487Z] Step 21/23 : LABEL arch=amd64 [2021-04-20T05:55:16.487Z] ---> Running in b2db6c09e694 [2021-04-20T05:55:16.751Z] Removing intermediate container b2db6c09e694 [2021-04-20T05:55:16.751Z] ---> c3749a1b7669 [2021-04-20T05:55:16.751Z] Step 22/23 : LABEL git_sha=98a5cb813bc17f1c30a83f261e888554777b499f [2021-04-20T05:55:16.751Z] ---> Running in efd44c5755d4 [2021-04-20T05:55:17.019Z] Removing intermediate container efd44c5755d4 [2021-04-20T05:55:17.019Z] ---> b73f43be1091 [2021-04-20T05:55:17.019Z] Step 23/23 : LABEL version=0.0.0 [2021-04-20T05:55:17.019Z] ---> Running in b6470b0da831 [2021-04-20T05:55:17.293Z] Removing intermediate container b6470b0da831 [2021-04-20T05:55:17.293Z] ---> 0a026d7041f7 [2021-04-20T05:55:17.293Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-20T05:55:17.293Z] Successfully built 0a026d7041f7 [2021-04-20T05:55:17.293Z] 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-04-20T05:55:18.274Z] ---> job-cost.sh [2021-04-20T05:55:18.274Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yiOj [2021-04-20T05:55:36.496Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-20T05:55:40.962Z] Removing intermediate container 32d757b0eb98 [2021-04-20T05:55:40.962Z] ---> e6cf703cf721 [2021-04-20T05:55:40.962Z] Successfully built e6cf703cf721 [2021-04-20T05:55:40.962Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:55:41.336Z] + docker inspect -f . ci-base-image-arm64 [2021-04-20T05:55:41.337Z] . [Pipeline] withDockerContainer [2021-04-20T05:55:41.596Z] prd-ubuntu18.04-docker-arm64-4c-16g-1088 does not seem to be running inside a container [2021-04-20T05:55:41.698Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-04-20T05:55:43.211Z] $ docker top 185f076528f483a78e1af1d3336f958973eec94c3a2637278cdcfa201cb53f57 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T05:55:44.220Z] + go version [2021-04-20T05:55:44.220Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-20T05:55:44.263Z] $ docker stop --time=1 185f076528f483a78e1af1d3336f958973eec94c3a2637278cdcfa201cb53f57 [2021-04-20T05:55:46.253Z] $ docker rm -f 185f076528f483a78e1af1d3336f958973eec94c3a2637278cdcfa201cb53f57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:55:47.208Z] + docker inspect -f . ci-base-image-arm64 [2021-04-20T05:55:47.208Z] . [Pipeline] withDockerContainer [2021-04-20T05:55:47.476Z] prd-ubuntu18.04-docker-arm64-4c-16g-1088 does not seem to be running inside a container [2021-04-20T05:55:47.556Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-04-20T05:55:49.064Z] $ docker top eeecf86a31b1b31bacb50d8aa27e280613252261f0830c439d92d177f2f309e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T05:55:50.022Z] + make test [2021-04-20T05:55:50.022Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-20T05:56:08.647Z] lf-activate-venv(): INFO: Adding /tmp/venv-yiOj/bin to PATH [2021-04-20T05:56:08.647Z] INFO: No Stack... [2021-04-20T05:56:08.647Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-20T05:56:08.647Z] INFO: Archiving Costs [Pipeline] sh [2021-04-20T05:56:08.984Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-20T05:56:08.984Z] + cut -d, -f6 [Pipeline] lock [2021-04-20T05:56:09.094Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-888-1-stack-cost] [2021-04-20T05:56:09.099Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-888-1-stack-cost] did not exist. Created. [2021-04-20T05:56:09.100Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-888-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-20T05:56:09.521Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-20T05:56:09.663Z] Stashed 1 file(s) [Pipeline] } [2021-04-20T05:56:09.684Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-888-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-20T05:56:12.293Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-20T05:57:08.929Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-20T05:57:08.929Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-20T05:57:08.929Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-20T05:57:08.929Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-20T05:57:08.929Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-20T05:57:12.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.168s coverage: 28.1% of statements [2021-04-20T05:57:12.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.182s coverage: 78.9% of statements [2021-04-20T05:57:12.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.182s coverage: 7.8% of statements [2021-04-20T05:57:12.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-20T05:57:12.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-20T05:57:12.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-20T05:57:14.340Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.306s coverage: 32.0% of statements [2021-04-20T05:57:14.340Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-20T05:57:14.340Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-20T05:57:14.340Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-20T05:57:17.885Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.315s coverage: 57.1% of statements [2021-04-20T05:57:17.885Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.101s coverage: 6.6% of statements [2021-04-20T05:57:18.480Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements [2021-04-20T05:57:18.480Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-20T05:57:18.753Z] GO111MODULE=on go vet ./... [2021-04-20T05:58:05.814Z] gofmt -l . [2021-04-20T05:58:05.814Z] [ "`gofmt -l .`" = "" ] [2021-04-20T05:58:05.814Z] ./bin/test-attribution-txt.sh [2021-04-20T05:58:05.814Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-20T05:58:06.457Z] $ docker stop --time=1 eeecf86a31b1b31bacb50d8aa27e280613252261f0830c439d92d177f2f309e1 [2021-04-20T05:58:08.730Z] $ docker rm -f eeecf86a31b1b31bacb50d8aa27e280613252261f0830c439d92d177f2f309e1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-20T05:58:09.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-20T05:58:09.858Z] Warning: overwriting stash ‘coverage-report’ [2021-04-20T05:58:10.478Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-20T05:58:11.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-20T05:58:11.448Z] + ls -al . [2021-04-20T05:58:11.449Z] total 224 [2021-04-20T05:58:11.449Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 05:58 . [2021-04-20T05:58:11.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 05:54 .. [2021-04-20T05:58:11.449Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 05:54 .dockerignore [2021-04-20T05:58:11.449Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 05:54 .git [2021-04-20T05:58:11.449Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 05:54 .github [2021-04-20T05:58:11.449Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 20 05:54 .gitignore [2021-04-20T05:58:11.449Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 20 05:54 Dockerfile.build [2021-04-20T05:58:11.449Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 20 05:54 Jenkinsfile [2021-04-20T05:58:11.449Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 20 05:54 LICENSE [2021-04-20T05:58:11.449Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 20 05:54 Makefile [2021-04-20T05:58:11.449Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 20 05:54 README.md [2021-04-20T05:58:11.449Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 20 05:54 RELEASE-NOTES.txt [2021-04-20T05:58:11.449Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 05:51 VERSION [2021-04-20T05:58:11.449Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 05:54 bin [2021-04-20T05:58:11.449Z] -rw-r--r-- 1 jenkins jenkins 100117 Apr 20 05:57 coverage.out [2021-04-20T05:58:11.449Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 05:54 example [2021-04-20T05:58:11.449Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 20 05:58 go.mod [2021-04-20T05:58:11.449Z] -rw-r--r-- 1 jenkins jenkins 20737 Apr 20 05:58 go.sum [2021-04-20T05:58:11.449Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 20 05:54 internal [2021-04-20T05:58:11.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 05:54 openapi [2021-04-20T05:58:11.449Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 20 05:54 pkg [2021-04-20T05:58:11.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 05:54 snap [2021-04-20T05:58:11.449Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 20 05:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-20T05:58:11.839Z] + 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=98a5cb813bc17f1c30a83f261e888554777b499f --label arch=arm64 --label version=0.0.0 . [2021-04-20T05:58:12.436Z] Sending build context to Docker daemon 2.562MB [2021-04-20T05:58:12.436Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-20T05:58:12.436Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-20T05:58:12.436Z] ---> e6cf703cf721 [2021-04-20T05:58:12.436Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-20T05:58:12.710Z] ---> Running in ede8411e9341 [2021-04-20T05:58:13.303Z] Removing intermediate container ede8411e9341 [2021-04-20T05:58:13.303Z] ---> d6900ed2ab22 [2021-04-20T05:58:13.303Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-20T05:58:13.303Z] ---> Running in a59545b5f697 [2021-04-20T05:58:13.900Z] Removing intermediate container a59545b5f697 [2021-04-20T05:58:13.900Z] ---> 0ddb711be9ca [2021-04-20T05:58:13.900Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-20T05:58:13.900Z] ---> Running in 46bd94209110 [2021-04-20T05:58:16.519Z] Removing intermediate container 46bd94209110 [2021-04-20T05:58:16.519Z] ---> 46789c925a14 [2021-04-20T05:58:16.519Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-20T05:58:16.519Z] ---> Running in e17be3305c8d [2021-04-20T05:58:17.500Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-20T05:58:18.104Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-20T05:58:19.079Z] OK: 144 MiB in 45 packages [2021-04-20T05:58:20.118Z] Removing intermediate container e17be3305c8d [2021-04-20T05:58:20.118Z] ---> 867a4ce265eb [2021-04-20T05:58:20.118Z] Step 7/23 : COPY . . [2021-04-20T05:58:21.568Z] ---> 08bbe8316437 [2021-04-20T05:58:21.568Z] Step 8/23 : RUN go mod download [2021-04-20T05:58:21.845Z] ---> Running in 50ba07738088 [2021-04-20T05:58:24.503Z] Removing intermediate container 50ba07738088 [2021-04-20T05:58:24.503Z] ---> 080dfe5e746b [2021-04-20T05:58:24.503Z] Step 9/23 : RUN make build [2021-04-20T05:58:24.503Z] ---> Running in 93fcacdd4e07 [2021-04-20T05:58:25.489Z] 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-04-20T05:59:04.494Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-20T05:59:04.494Z] Removing intermediate container 93fcacdd4e07 [2021-04-20T05:59:04.494Z] ---> 83d6ded055f2 [2021-04-20T05:59:04.494Z] Step 10/23 : FROM alpine:3.12 [2021-04-20T05:59:04.494Z] 3.12: Pulling from library/alpine [2021-04-20T05:59:04.494Z] d2f70382dc9a: Pulling fs layer [2021-04-20T05:59:04.494Z] d2f70382dc9a: Verifying Checksum [2021-04-20T05:59:04.494Z] d2f70382dc9a: Download complete [2021-04-20T05:59:04.494Z] d2f70382dc9a: Pull complete [2021-04-20T05:59:04.494Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-20T05:59:04.494Z] Status: Downloaded newer image for alpine:3.12 [2021-04-20T05:59:04.494Z] ---> 9852663dfa18 [2021-04-20T05:59:04.494Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-20T05:59:04.494Z] ---> Running in f02e08f9c204 [2021-04-20T05:59:04.494Z] Removing intermediate container f02e08f9c204 [2021-04-20T05:59:04.494Z] ---> 6264453cc49c [2021-04-20T05:59:04.495Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-20T05:59:04.495Z] ---> Running in 73aa64442077 [2021-04-20T05:59:06.484Z] Removing intermediate container 73aa64442077 [2021-04-20T05:59:06.484Z] ---> 5769f92c8e7b [2021-04-20T05:59:06.484Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-20T05:59:06.484Z] ---> Running in 78d34db6fbae [2021-04-20T05:59:07.459Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-20T05:59:08.048Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-20T05:59:09.023Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-20T05:59:09.023Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-20T05:59:09.023Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-20T05:59:09.296Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-20T05:59:09.567Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-20T05:59:09.568Z] Executing busybox-1.31.1-r20.trigger [2021-04-20T05:59:09.568Z] OK: 8 MiB in 19 packages [2021-04-20T05:59:11.002Z] Removing intermediate container 78d34db6fbae [2021-04-20T05:59:11.002Z] ---> ff8725ee099c [2021-04-20T05:59:11.002Z] Step 14/23 : WORKDIR / [2021-04-20T05:59:11.002Z] ---> Running in a7cc498aa886 [2021-04-20T05:59:11.596Z] Removing intermediate container a7cc498aa886 [2021-04-20T05:59:11.596Z] ---> bdb5bfb56090 [2021-04-20T05:59:11.596Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-20T05:59:12.192Z] ---> c461eb5f23dc [2021-04-20T05:59:12.192Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-20T05:59:13.644Z] ---> aeffde16524b [2021-04-20T05:59:13.644Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-20T05:59:14.627Z] ---> 290d6bb7e5aa [2021-04-20T05:59:14.627Z] Step 18/23 : EXPOSE 49990 [2021-04-20T05:59:14.628Z] ---> Running in e1f11d737bed [2021-04-20T05:59:15.216Z] Removing intermediate container e1f11d737bed [2021-04-20T05:59:15.216Z] ---> dc64bbdf2dc0 [2021-04-20T05:59:15.216Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-20T05:59:15.216Z] ---> Running in 820623d353a8 [2021-04-20T05:59:15.811Z] Removing intermediate container 820623d353a8 [2021-04-20T05:59:15.811Z] ---> 354e619acb83 [2021-04-20T05:59:15.811Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-20T05:59:15.811Z] ---> Running in 8520085cac15 [2021-04-20T05:59:16.405Z] Removing intermediate container 8520085cac15 [2021-04-20T05:59:16.405Z] ---> 85fe04e8388f [2021-04-20T05:59:16.405Z] Step 21/23 : LABEL arch=arm64 [2021-04-20T05:59:16.405Z] ---> Running in 81aa58549ea6 [2021-04-20T05:59:17.004Z] Removing intermediate container 81aa58549ea6 [2021-04-20T05:59:17.004Z] ---> 1c566fd2ffcc [2021-04-20T05:59:17.004Z] Step 22/23 : LABEL git_sha=98a5cb813bc17f1c30a83f261e888554777b499f [2021-04-20T05:59:17.004Z] ---> Running in f705de4046b9 [2021-04-20T05:59:17.604Z] Removing intermediate container f705de4046b9 [2021-04-20T05:59:17.604Z] ---> c4ef0989f478 [2021-04-20T05:59:17.604Z] Step 23/23 : LABEL version=0.0.0 [2021-04-20T05:59:17.604Z] ---> Running in c6dff2501b45 [2021-04-20T05:59:18.200Z] Removing intermediate container c6dff2501b45 [2021-04-20T05:59:18.200Z] ---> 503e952af8d5 [2021-04-20T05:59:18.200Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-20T05:59:18.200Z] Successfully built 503e952af8d5 [2021-04-20T05:59:18.200Z] 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-04-20T05:59:18.926Z] ---> job-cost.sh [2021-04-20T05:59:18.926Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-x5ea [2021-04-20T06:00:05.848Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-20T06:02:13.115Z] lf-activate-venv(): INFO: Adding /tmp/venv-x5ea/bin to PATH [2021-04-20T06:02:13.115Z] INFO: No Stack... [2021-04-20T06:02:13.115Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-20T06:02:13.115Z] INFO: Archiving Costs [Pipeline] sh [2021-04-20T06:02:13.495Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-20T06:02:13.495Z] + cut -d, -f6 [Pipeline] lock [2021-04-20T06:02:13.649Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-888-1-stack-cost] [2021-04-20T06:02:13.655Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-888-1-stack-cost] did not exist. Created. [2021-04-20T06:02:13.655Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-888-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-20T06:02:14.110Z] /w/workspace/device-sdk-go/1@tmp/durable-b9752e88/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-b9752e88/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-20T06:02:14.496Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-20T06:02:14.548Z] Warning: overwriting stash ‘stack-cost’ [2021-04-20T06:02:14.730Z] Stashed 1 file(s) [Pipeline] } [2021-04-20T06:02:14.752Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-888-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-04-20T06:02:15.698Z] provisioning config files... [2021-04-20T06:02:15.711Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp/config2964210400437956778tmp [Pipeline] { [Pipeline] sh [2021-04-20T06:02:16.079Z] + set +x [2021-04-20T06:02:16.079Z] + curl -s https://codecov.io/bash [2021-04-20T06:02:16.079Z] + bash -s -- [2021-04-20T06:02:16.434Z] [2021-04-20T06:02:16.434Z] _____ _ [2021-04-20T06:02:16.434Z] / ____| | | [2021-04-20T06:02:16.434Z] | | ___ __| | ___ ___ _____ __ [2021-04-20T06:02:16.435Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-20T06:02:16.435Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-20T06:02:16.435Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-20T06:02:16.435Z] Bash-1.0.1 [2021-04-20T06:02:16.435Z] [2021-04-20T06:02:16.435Z] [2021-04-20T06:02:16.435Z] ==> git version 2.24.3 found [2021-04-20T06:02:16.435Z] ==> 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-04-20T06:02:16.435Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-20T06:02:16.435Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-20T06:02:16.435Z] ==> Jenkins CI detected. [2021-04-20T06:02:16.435Z] project root: . [2021-04-20T06:02:16.435Z] --> token set from env [2021-04-20T06:02:16.435Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-20T06:02:16.435Z] ==> Running gcov in . (disable via -X gcov) [2021-04-20T06:02:16.435Z] ==> Python coveragepy not found [2021-04-20T06:02:16.435Z] ==> Searching for coverage reports in: [2021-04-20T06:02:16.435Z] + . [2021-04-20T06:02:16.435Z] -> Found 1 reports [2021-04-20T06:02:16.435Z] ==> Detecting git/mercurial file structure [2021-04-20T06:02:16.435Z] ==> Reading reports [2021-04-20T06:02:16.435Z] + ./coverage.out bytes=100117 [2021-04-20T06:02:16.435Z] ==> Appending adjustments [2021-04-20T06:02:16.435Z] https://docs.codecov.io/docs/fixing-reports [2021-04-20T06:02:16.711Z] + Found adjustments [2021-04-20T06:02:16.711Z] ==> Gzipping contents [2021-04-20T06:02:16.711Z] 16K /tmp/codecov.VsJXVj.gz [2021-04-20T06:02:16.711Z] ==> Uploading reports [2021-04-20T06:02:16.711Z] url: https://codecov.io [2021-04-20T06:02:16.711Z] query: branch=PR-888&commit=98a5cb813bc17f1c30a83f261e888554777b499f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-888%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=888&job=&cmd_args= [2021-04-20T06:02:16.711Z] -> Pinging Codecov [2021-04-20T06:02:16.711Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-888&commit=98a5cb813bc17f1c30a83f261e888554777b499f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-888%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=888&job=&cmd_args= [2021-04-20T06:02:18.126Z] -> Uploading to [2021-04-20T06:02:18.126Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-20/7E55EF52A471D76F132DFD9A03CDDE97/98a5cb813bc17f1c30a83f261e888554777b499f/b4e50dd6-ac3b-4627-ab1c-9e0d239008c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210420T060217Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=12fbfafc5057a499059f666da4b14c9c571f1a4d8b8c7ba656fde11370cfa355 [2021-04-20T06:02:18.126Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-20T06:02:18.126Z] Dload Upload Total Spent Left Speed [2021-04-20T06:02:18.394Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13516 0 0 100 13516 0 33337 --:--:-- --:--:-- --:--:-- 33372 [2021-04-20T06:02:18.394Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/98a5cb813bc17f1c30a83f261e888554777b499f [Pipeline] } [2021-04-20T06:02:18.432Z] 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-04-20T06:02:20.628Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T06:02:21.251Z] ---> package-listing.sh [2021-04-20T06:02:21.251Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-20T06:02:21.251Z] ++ facter osfamily [2021-04-20T06:02:21.251Z] + OS_FAMILY=redhat [2021-04-20T06:02:21.251Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-888 [2021-04-20T06:02:21.251Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-20T06:02:21.251Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-20T06:02:21.251Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-20T06:02:21.251Z] + PACKAGES=/tmp/packages_start.txt [2021-04-20T06:02:21.251Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-888 ']' [2021-04-20T06:02:21.251Z] + PACKAGES=/tmp/packages_end.txt [2021-04-20T06:02:21.251Z] + case "${OS_FAMILY}" in [2021-04-20T06:02:21.251Z] + rpm -qa [2021-04-20T06:02:21.251Z] + sort [2021-04-20T06:02:26.573Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-20T06:02:26.573Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-20T06:02:26.573Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-20T06:02:26.573Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-888 ']' [2021-04-20T06:02:26.573Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-888/archives/ [2021-04-20T06:02:26.573Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-888/archives/ [Pipeline] echo [2021-04-20T06:02:26.609Z] 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-888/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-20T06:02:26.925Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-20T06:02:27.267Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T06:02:27.267Z] [2021-04-20T06:02:27.267Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-20T06:02:27.641Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T06:02:27.641Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-20T06:02:27.641Z] df20fa9351a1: Pulling fs layer [2021-04-20T06:02:27.641Z] 36b3adc4ff6f: Pulling fs layer [2021-04-20T06:02:27.641Z] 8ad3a11d3b57: Pulling fs layer [2021-04-20T06:02:27.641Z] 46f8f816bc3b: Pulling fs layer [2021-04-20T06:02:27.641Z] 93b61091891f: Pulling fs layer [2021-04-20T06:02:27.641Z] 93b9cdb0e59b: Pulling fs layer [2021-04-20T06:02:27.641Z] 5e14af77c1be: Pulling fs layer [2021-04-20T06:02:27.641Z] 01666e4c0597: Pulling fs layer [2021-04-20T06:02:27.641Z] aa168da1d23b: Pulling fs layer [2021-04-20T06:02:27.641Z] 46f8f816bc3b: Waiting [2021-04-20T06:02:27.641Z] 93b61091891f: Waiting [2021-04-20T06:02:27.641Z] 93b9cdb0e59b: Waiting [2021-04-20T06:02:27.641Z] 5e14af77c1be: Waiting [2021-04-20T06:02:27.641Z] 01666e4c0597: Waiting [2021-04-20T06:02:27.641Z] aa168da1d23b: Waiting [2021-04-20T06:02:27.641Z] 36b3adc4ff6f: Verifying Checksum [2021-04-20T06:02:27.641Z] 36b3adc4ff6f: Download complete [2021-04-20T06:02:27.641Z] 46f8f816bc3b: Verifying Checksum [2021-04-20T06:02:27.641Z] 46f8f816bc3b: Download complete [2021-04-20T06:02:27.909Z] df20fa9351a1: Verifying Checksum [2021-04-20T06:02:27.909Z] df20fa9351a1: Download complete [2021-04-20T06:02:27.909Z] 93b9cdb0e59b: Verifying Checksum [2021-04-20T06:02:27.909Z] 93b9cdb0e59b: Download complete [2021-04-20T06:02:27.909Z] 5e14af77c1be: Verifying Checksum [2021-04-20T06:02:27.909Z] 5e14af77c1be: Download complete [2021-04-20T06:02:27.909Z] 93b61091891f: Download complete [2021-04-20T06:02:27.909Z] 01666e4c0597: Download complete [2021-04-20T06:02:27.909Z] 8ad3a11d3b57: Verifying Checksum [2021-04-20T06:02:27.909Z] 8ad3a11d3b57: Download complete [2021-04-20T06:02:28.183Z] df20fa9351a1: Pull complete [2021-04-20T06:02:28.453Z] 36b3adc4ff6f: Pull complete [2021-04-20T06:02:30.397Z] aa168da1d23b: Verifying Checksum [2021-04-20T06:02:30.397Z] aa168da1d23b: Download complete [2021-04-20T06:02:30.397Z] 8ad3a11d3b57: Pull complete [2021-04-20T06:02:30.672Z] 46f8f816bc3b: Pull complete [2021-04-20T06:02:30.935Z] 93b61091891f: Pull complete [2021-04-20T06:02:31.199Z] 93b9cdb0e59b: Pull complete [2021-04-20T06:02:31.199Z] 5e14af77c1be: Pull complete [2021-04-20T06:02:31.466Z] 01666e4c0597: Pull complete [2021-04-20T06:02:39.683Z] aa168da1d23b: Pull complete [2021-04-20T06:02:39.683Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-20T06:02:39.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-20T06:02:39.683Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-20T06:02:39.899Z] prd-centos7-docker-4c-2g-1081 does not seem to be running inside a container [2021-04-20T06:02:39.951Z] $ 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-888/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-888 -v /w/workspace/dgexfoundry_device-sdk-go_PR-888:/w/workspace/dgexfoundry_device-sdk-go_PR-888:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-888@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-04-20T06:02:43.169Z] $ docker top e5143e3c44183fcc09ea0efd8e61813ff24cad23146a4ea3bdfe579c9332f11d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-20T06:02:43.727Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-20T06:02:44.059Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-20T06:02:44.385Z] + ls /var/log/sa-host [2021-04-20T06:02:44.385Z] + sadf -c /var/log/sa-host/sa20 [2021-04-20T06:02:44.385Z] file_magic: OK [2021-04-20T06:02:44.385Z] HZ: Using current value: 100 [2021-04-20T06:02:44.385Z] file_header: OK [2021-04-20T06:02:44.385Z] 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-04-20T06:02:44.385Z] Statistics: [2021-04-20T06:02:44.385Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-20T06:02:44.385Z] File successfully converted to sysstat format version 12.2.1 [2021-04-20T06:02:44.385Z] + sadf -c /var/log/sa-host/sa23 [2021-04-20T06:02:44.385Z] file_magic: OK [2021-04-20T06:02:44.385Z] HZ: Using current value: 100 [2021-04-20T06:02:44.385Z] file_header: OK [2021-04-20T06:02:44.385Z] 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-04-20T06:02:44.385Z] Statistics: [2021-04-20T06:02:44.385Z] Hnuu...uuuununununu... [2021-04-20T06:02:44.385Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-20T06:02:44.629Z] provisioning config files... [2021-04-20T06:02:44.646Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-888@tmp/config3396893222114659364tmp [Pipeline] { [Pipeline] echo [2021-04-20T06:02:44.707Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T06:02:45.056Z] ---> create-netrc.sh [Pipeline] } [2021-04-20T06:02:45.083Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-20T06:02:45.159Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T06:02:45.533Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-20T06:02:45.568Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T06:02:45.909Z] ---> sudo-logs.sh [2021-04-20T06:02:45.909Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-20T06:02:45.993Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T06:02:46.349Z] ---> job-cost.sh [2021-04-20T06:02:46.349Z] lf-activate-venv: SKIPPING [2021-04-20T06:02:46.349Z] DEBUG: total: 0.20999999344348907 [2021-04-20T06:02:46.349Z] INFO: Retrieving Stack Cost... [2021-04-20T06:02:47.299Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-20T06:02:47.875Z] INFO: Archiving Costs [Pipeline] echo [2021-04-20T06:02:47.909Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-20T06:02:48.242Z] ---> logs-deploy.sh [2021-04-20T06:02:48.242Z] lf-activate-venv: SKIPPING [2021-04-20T06:02:48.242Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-888/1 [2021-04-20T06:02:48.242Z] INFO: archiving workspace using pattern(s): [2021-04-20T06:02:50.185Z] Archives upload complete. [2021-04-20T06:02:50.185Z] INFO: archiving logs to Nexus