Pull request #877 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 87bfc33b1665b7a826ea9309de008e2879655a12+c62645d0ab1012df8ad15b74000ef7e30c377aaa (4b27eace9a4bec634997b448710b28a4f1aaeb81) 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-877/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-877/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-62 in /w/workspace/dgexfoundry_device-sdk-go_PR-877 [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-877 # 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 c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit 87bfc33b1665b7a826ea9309de008e2879655a12 Merge succeeded, producing 87bfc33b1665b7a826ea9309de008e2879655a12 Checking out Revision 87bfc33b1665b7a826ea9309de008e2879655a12 (PR-877) > 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/877/head:refs/remotes/origin/PR-877 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 87bfc33b1665b7a826ea9309de008e2879655a12 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 87bfc33b1665b7a826ea9309de008e2879655a12 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/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-14T05:51:45.215Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-14T05:51:45.416Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-14T05:51:45.528Z] ========================================================= [2021-04-14T05:51:45.528Z] EdgeX Global Pipelines Version Info [2021-04-14T05:51:45.528Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-14T05:51:47.110Z] ------------------- [2021-04-14T05:51:47.110Z] stable info: [2021-04-14T05:51:47.110Z] ------------------- [2021-04-14T05:51:47.110Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-14T05:51:47.110Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-14T05:51:47.110Z] Message: update stable to v1.0.186 [2021-04-14T05:51:48.059Z] ------------------- [2021-04-14T05:51:48.059Z] experimental info: [2021-04-14T05:51:48.059Z] ------------------- [2021-04-14T05:51:48.059Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-14T05:51:48.059Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-14T05:51:48.059Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-14T05:51:48.293Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-14T05:51:48.353Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-14T05:51:48.410Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-14T05:51:48.469Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-14T05:51:48.527Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-14T05:51:48.583Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-14T05:51:48.641Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-14T05:51:48.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-14T05:51:48.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-14T05:51:48.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-14T05:51:48.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-14T05:51:48.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-14T05:51:48.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-14T05:51:49.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-14T05:51:49.090Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-14T05:51:49.148Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T05:51:49.216Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T05:51:49.267Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T05:51:49.320Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-14T05:51:49.375Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-14T05:51:49.433Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-14T05:51:49.491Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-14T05:51:49.563Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-14T05:51:49.618Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-14T05:51:49.673Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-14T05:51:49.730Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-14T05:51:49.785Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-877 [Pipeline] echo [2021-04-14T05:51:49.842Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-877 [Pipeline] echo [2021-04-14T05:51:49.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-877 [Pipeline] echo [2021-04-14T05:51:49.961Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87bfc33b1665b7a826ea9309de008e2879655a12 [Pipeline] echo [2021-04-14T05:51:50.031Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87bfc33 [Pipeline] echo [2021-04-14T05:51:50.091Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T05:51:50.277Z] provisioning config files... [2021-04-14T05:51:50.310Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-877@tmp/config8755793361189385478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T05:51:50.698Z] ---> docker-login.sh [2021-04-14T05:51:50.698Z] nexus3.edgexfoundry.org:10001 [2021-04-14T05:51:50.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T05:51:51.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:51:51.230Z] Configure a credential helper to remove this warning. See [2021-04-14T05:51:51.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:51:51.230Z] [2021-04-14T05:51:51.230Z] Login Succeeded [2021-04-14T05:51:51.230Z] nexus3.edgexfoundry.org:10002 [2021-04-14T05:51:51.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T05:51:51.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:51:51.493Z] Configure a credential helper to remove this warning. See [2021-04-14T05:51:51.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:51:51.493Z] [2021-04-14T05:51:51.493Z] Login Succeeded [2021-04-14T05:51:51.493Z] nexus3.edgexfoundry.org:10003 [2021-04-14T05:51:51.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T05:51:51.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:51:51.493Z] Configure a credential helper to remove this warning. See [2021-04-14T05:51:51.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:51:51.493Z] [2021-04-14T05:51:51.493Z] Login Succeeded [2021-04-14T05:51:51.493Z] nexus3.edgexfoundry.org:10004 [2021-04-14T05:51:51.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T05:51:51.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:51:51.757Z] Configure a credential helper to remove this warning. See [2021-04-14T05:51:51.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:51:51.757Z] [2021-04-14T05:51:51.757Z] Login Succeeded [2021-04-14T05:51:51.757Z] docker.io [2021-04-14T05:51:52.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T05:51:52.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:51:52.281Z] Configure a credential helper to remove this warning. See [2021-04-14T05:51:52.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:51:52.282Z] [2021-04-14T05:51:52.282Z] Login Succeeded [2021-04-14T05:51:52.282Z] ---> docker-login.sh ends [Pipeline] } [2021-04-14T05:51:52.307Z] 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-14T05:51:53.003Z] + git log --format=format:%s -1 87bfc33b1665b7a826ea9309de008e2879655a12 [Pipeline] echo [2021-04-14T05:51:53.110Z] GIT_COMMIT: 87bfc33b1665b7a826ea9309de008e2879655a12, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-04-14T05:51:53.163Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-14T05:51:53.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T05:51:53.748Z] [2021-04-14T05:51:53.748Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-14T05:51:54.108Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T05:51:54.108Z] latest: Pulling from edgex-devops/git-semver [2021-04-14T05:51:54.108Z] 31603596830f: Pulling fs layer [2021-04-14T05:51:54.108Z] 2a8b12db71e7: Pulling fs layer [2021-04-14T05:51:54.108Z] 6ca5941a6612: Pulling fs layer [2021-04-14T05:51:54.108Z] ecc8261a40a4: Pulling fs layer [2021-04-14T05:51:54.108Z] ecc8261a40a4: Waiting [2021-04-14T05:51:54.108Z] 2a8b12db71e7: Verifying Checksum [2021-04-14T05:51:54.108Z] 2a8b12db71e7: Download complete [2021-04-14T05:51:54.108Z] 31603596830f: Verifying Checksum [2021-04-14T05:51:54.108Z] 31603596830f: Download complete [2021-04-14T05:51:54.371Z] ecc8261a40a4: Verifying Checksum [2021-04-14T05:51:54.371Z] ecc8261a40a4: Download complete [2021-04-14T05:51:54.371Z] 6ca5941a6612: Verifying Checksum [2021-04-14T05:51:54.371Z] 6ca5941a6612: Download complete [2021-04-14T05:51:54.946Z] 31603596830f: Pull complete [2021-04-14T05:51:54.946Z] 2a8b12db71e7: Pull complete [2021-04-14T05:51:55.907Z] 6ca5941a6612: Pull complete [2021-04-14T05:51:55.907Z] ecc8261a40a4: Pull complete [2021-04-14T05:51:55.907Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-14T05:51:55.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T05:51:55.907Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-14T05:51:56.043Z] prd-centos7-docker-4c-2g-62 does not seem to be running inside a container [2021-04-14T05:51:56.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-877 -v /w/workspace/dgexfoundry_device-sdk-go_PR-877:/w/workspace/dgexfoundry_device-sdk-go_PR-877:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-877@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-877@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-14T05:51:58.226Z] $ docker top f2b77ebcb1af76cf195635260421fca6ba68d6df7b7d1ebc0f85c050b2db33f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-14T05:51:58.469Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-14T05:51:58.469Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-14T05:51:58.723Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-14T05:51:58.728Z] $ docker exec f2b77ebcb1af76cf195635260421fca6ba68d6df7b7d1ebc0f85c050b2db33f5 ssh-agent [2021-04-14T05:51:58.949Z] SSH_AUTH_SOCK=/tmp/ssh-GSC8hVcX979f/agent.12 [2021-04-14T05:51:58.949Z] SSH_AGENT_PID=17 [2021-04-14T05:51:58.962Z] Running ssh-add (command line suppressed) [2021-04-14T05:51:59.095Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-877@tmp/private_key_7066079902188581595.key (/w/workspace/dgexfoundry_device-sdk-go_PR-877@tmp/private_key_7066079902188581595.key) [2021-04-14T05:51:59.168Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-14T05:51:59.834Z] + git tag --points-at HEAD [Pipeline] } [2021-04-14T05:51:59.864Z] $ docker exec --env ******** --env ******** f2b77ebcb1af76cf195635260421fca6ba68d6df7b7d1ebc0f85c050b2db33f5 ssh-agent -k [2021-04-14T05:51:59.986Z] unset SSH_AUTH_SOCK; [2021-04-14T05:51:59.986Z] unset SSH_AGENT_PID; [2021-04-14T05:51:59.986Z] echo Agent pid 17 killed; [2021-04-14T05:52:00.042Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-14T05:52:00.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-14T05:52:00.127Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-14T05:52:00.307Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-14T05:52:00.312Z] $ docker exec f2b77ebcb1af76cf195635260421fca6ba68d6df7b7d1ebc0f85c050b2db33f5 ssh-agent [2021-04-14T05:52:00.482Z] SSH_AUTH_SOCK=/tmp/ssh-MJWnRLpyPATg/agent.46 [2021-04-14T05:52:00.482Z] SSH_AGENT_PID=51 [2021-04-14T05:52:00.489Z] Running ssh-add (command line suppressed) [2021-04-14T05:52:00.620Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-877@tmp/private_key_6029118855283240687.key (/w/workspace/dgexfoundry_device-sdk-go_PR-877@tmp/private_key_6029118855283240687.key) [2021-04-14T05:52:00.678Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-14T05:52:01.026Z] + git semver init [2021-04-14T05:52:01.026Z] # -> Open(): unable to determine branch for HEAD [2021-04-14T05:52:01.026Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-877/.git [2021-04-14T05:52:01.026Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-877 [2021-04-14T05:52:01.026Z] # $SEMVER_REMOTE_NAME = origin [2021-04-14T05:52:01.026Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-14T05:52:01.026Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-14T05:52:01.026Z] # $SEMVER_BRANCH = PR-877 [2021-04-14T05:52:01.026Z] # $SEMVER_TEMP = /tmp/semver-501830923 [2021-04-14T05:52:01.026Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-14T05:52:01.997Z] # '/tmp/semver-501830923' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-877/.semver' [2021-04-14T05:52:01.997Z] # -> Force: false [2021-04-14T05:52:01.997Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-877/.semver [Pipeline] } [2021-04-14T05:52:02.023Z] $ docker exec --env ******** --env ******** f2b77ebcb1af76cf195635260421fca6ba68d6df7b7d1ebc0f85c050b2db33f5 ssh-agent -k [2021-04-14T05:52:02.176Z] unset SSH_AUTH_SOCK; [2021-04-14T05:52:02.182Z] unset SSH_AGENT_PID; [2021-04-14T05:52:02.182Z] echo Agent pid 51 killed; [2021-04-14T05:52:02.241Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-14T05:52:02.676Z] + git semver [Pipeline] } [2021-04-14T05:52:02.711Z] $ docker stop --time=1 f2b77ebcb1af76cf195635260421fca6ba68d6df7b7d1ebc0f85c050b2db33f5 [2021-04-14T05:52:04.239Z] $ docker rm -f f2b77ebcb1af76cf195635260421fca6ba68d6df7b7d1ebc0f85c050b2db33f5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-14T05:52:04.735Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-14T05:52:05.148Z] Stashed 1 file(s) [Pipeline] echo [2021-04-14T05:52:05.172Z] [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-14T05:52:20.630Z] Still waiting to schedule task [2021-04-14T05:52:20.630Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-14T05:52:20.669Z] Still waiting to schedule task [2021-04-14T05:52:20.669Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-14T05:54:22.855Z] Running on prd-centos7-docker-4c-2g-66 in /w/workspace/dgexfoundry_device-sdk-go_PR-877 [Pipeline] { [Pipeline] ws [2021-04-14T05:54:22.914Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-14T05:54:25.715Z] using credential edgex-jenkins-ssh [2021-04-14T05:54:25.729Z] Cloning the remote Git repository [2021-04-14T05:54:25.752Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T05:54:25.823Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-14T05:54:25.895Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T05:54:25.895Z] > git --version # timeout=10 [2021-04-14T05:54:25.904Z] > git --version # 'git version 2.24.3' [2021-04-14T05:54:25.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T05:54:25.938Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T05:54:27.064Z] Merging remotes/origin/master commit c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit 87bfc33b1665b7a826ea9309de008e2879655a12 [2021-04-14T05:54:27.157Z] Merge succeeded, producing 87bfc33b1665b7a826ea9309de008e2879655a12 [2021-04-14T05:54:27.158Z] Checking out Revision 87bfc33b1665b7a826ea9309de008e2879655a12 (PR-877) [2021-04-14T05:54:26.651Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T05:54:26.659Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T05:54:26.672Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T05:54:26.693Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T05:54:26.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T05:54:26.699Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/877/head:refs/remotes/origin/PR-877 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-14T05:54:27.074Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T05:54:27.079Z] > git checkout -f 87bfc33b1665b7a826ea9309de008e2879655a12 # timeout=10 [2021-04-14T05:54:27.121Z] > git remote # timeout=10 [2021-04-14T05:54:27.128Z] > git config --get remote.origin.url # timeout=10 [2021-04-14T05:54:27.137Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T05:54:27.142Z] > git merge c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 [2021-04-14T05:54:27.153Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-14T05:54:27.161Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T05:54:27.166Z] > git checkout -f 87bfc33b1665b7a826ea9309de008e2879655a12 # timeout=10 [2021-04-14T05:54:30.782Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-04-14T05:54:30.817Z] > git --version # timeout=10 [2021-04-14T05:54:30.828Z] > git --version # 'git version 2.24.3' [2021-04-14T05:54:30.835Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T05:54:32.021Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-14T05:54:32.368Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-14T05:54:32.688Z] + sudo service docker restart [2021-04-14T05:54:32.688Z] + true [2021-04-14T05:54:32.688Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T05:54:33.738Z] provisioning config files... [2021-04-14T05:54:33.768Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config339664199076082536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T05:54:34.139Z] ---> docker-login.sh [2021-04-14T05:54:34.140Z] nexus3.edgexfoundry.org:10001 [2021-04-14T05:54:34.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T05:54:34.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:54:34.402Z] Configure a credential helper to remove this warning. See [2021-04-14T05:54:34.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:54:34.402Z] [2021-04-14T05:54:34.402Z] Login Succeeded [2021-04-14T05:54:34.402Z] nexus3.edgexfoundry.org:10002 [2021-04-14T05:54:34.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T05:54:34.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:54:34.668Z] Configure a credential helper to remove this warning. See [2021-04-14T05:54:34.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:54:34.668Z] [2021-04-14T05:54:34.668Z] Login Succeeded [2021-04-14T05:54:34.668Z] nexus3.edgexfoundry.org:10003 [2021-04-14T05:54:34.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T05:54:34.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:54:34.668Z] Configure a credential helper to remove this warning. See [2021-04-14T05:54:34.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:54:34.668Z] [2021-04-14T05:54:34.668Z] Login Succeeded [2021-04-14T05:54:34.668Z] nexus3.edgexfoundry.org:10004 [2021-04-14T05:54:34.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T05:54:34.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:54:34.930Z] Configure a credential helper to remove this warning. See [2021-04-14T05:54:34.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:54:34.930Z] [2021-04-14T05:54:34.930Z] Login Succeeded [2021-04-14T05:54:34.930Z] docker.io [2021-04-14T05:54:34.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T05:54:35.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:54:35.193Z] Configure a credential helper to remove this warning. See [2021-04-14T05:54:35.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:54:35.193Z] [2021-04-14T05:54:35.193Z] Login Succeeded [2021-04-14T05:54:35.193Z] ---> docker-login.sh ends [Pipeline] } [2021-04-14T05:54:35.221Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-14T05:54:35.523Z] ========================================================= [2021-04-14T05:54:35.523Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-14T05:54:35.523Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-14T05:54:35.875Z] + 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-14T05:54:35.875Z] Sending build context to Docker daemon 2.402MB [2021-04-14T05:54:35.875Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T05:54:35.875Z] Step 2/8 : FROM ${BASE} [2021-04-14T05:54:36.139Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-14T05:54:36.139Z] 188c0c94c7c5: Pulling fs layer [2021-04-14T05:54:36.139Z] 0ef7d3d256c8: Pulling fs layer [2021-04-14T05:54:36.139Z] de9db76c5a1d: Pulling fs layer [2021-04-14T05:54:36.139Z] bca2f99d35d6: Pulling fs layer [2021-04-14T05:54:36.139Z] 93359f2a8cfa: Pulling fs layer [2021-04-14T05:54:36.139Z] 7c6f9722023f: Pulling fs layer [2021-04-14T05:54:36.139Z] a35cf1a2eb13: Pulling fs layer [2021-04-14T05:54:36.139Z] 93359f2a8cfa: Waiting [2021-04-14T05:54:36.139Z] 7c6f9722023f: Waiting [2021-04-14T05:54:36.139Z] a35cf1a2eb13: Waiting [2021-04-14T05:54:36.139Z] bca2f99d35d6: Waiting [2021-04-14T05:54:36.139Z] de9db76c5a1d: Download complete [2021-04-14T05:54:36.139Z] 0ef7d3d256c8: Verifying Checksum [2021-04-14T05:54:36.139Z] 0ef7d3d256c8: Download complete [2021-04-14T05:54:36.139Z] 93359f2a8cfa: Verifying Checksum [2021-04-14T05:54:36.139Z] 93359f2a8cfa: Download complete [2021-04-14T05:54:36.139Z] 7c6f9722023f: Download complete [2021-04-14T05:54:36.139Z] 188c0c94c7c5: Verifying Checksum [2021-04-14T05:54:36.139Z] 188c0c94c7c5: Download complete [2021-04-14T05:54:36.405Z] 188c0c94c7c5: Pull complete [2021-04-14T05:54:36.669Z] 0ef7d3d256c8: Pull complete [2021-04-14T05:54:36.669Z] de9db76c5a1d: Pull complete [2021-04-14T05:54:38.065Z] a35cf1a2eb13: Verifying Checksum [2021-04-14T05:54:38.065Z] a35cf1a2eb13: Download complete [2021-04-14T05:54:38.651Z] bca2f99d35d6: Verifying Checksum [2021-04-14T05:54:38.651Z] bca2f99d35d6: Download complete [2021-04-14T05:54:44.020Z] bca2f99d35d6: Pull complete [2021-04-14T05:54:44.020Z] 93359f2a8cfa: Pull complete [2021-04-14T05:54:44.020Z] 7c6f9722023f: Pull complete [2021-04-14T05:54:48.251Z] a35cf1a2eb13: Pull complete [2021-04-14T05:54:48.514Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-14T05:54:48.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-14T05:54:48.514Z] ---> a62c8e92a672 [2021-04-14T05:54:48.514Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T05:54:48.778Z] ---> Running in 0a7596302d7a [2021-04-14T05:54:48.778Z] Removing intermediate container 0a7596302d7a [2021-04-14T05:54:48.778Z] ---> 79e9b035bb09 [2021-04-14T05:54:48.778Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T05:54:49.042Z] ---> Running in 31c41e178f1c [2021-04-14T05:54:49.997Z] Removing intermediate container 31c41e178f1c [2021-04-14T05:54:49.997Z] ---> da12e65886c1 [2021-04-14T05:54:49.997Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-14T05:54:49.997Z] ---> Running in e45c504a1f7b [2021-04-14T05:54:50.577Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T05:54:51.152Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-14T05:54:51.726Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-14T05:54:51.726Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-14T05:54:51.726Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-14T05:54:51.988Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-14T05:54:51.988Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-14T05:54:51.988Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-14T05:54:52.250Z] Executing busybox-1.31.1-r19.trigger [2021-04-14T05:54:52.250Z] OK: 167 MiB in 45 packages [2021-04-14T05:54:52.826Z] Removing intermediate container e45c504a1f7b [2021-04-14T05:54:52.826Z] ---> e21649a89462 [2021-04-14T05:54:52.826Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-14T05:54:53.089Z] ---> Running in 56bbe3f66ae2 [2021-04-14T05:54:53.089Z] Removing intermediate container 56bbe3f66ae2 [2021-04-14T05:54:53.089Z] ---> 665a2648e52c [2021-04-14T05:54:53.089Z] Step 7/8 : COPY . . [2021-04-14T05:54:54.478Z] ---> 2a1bcd9f092f [2021-04-14T05:54:54.478Z] Step 8/8 : RUN go mod download [2021-04-14T05:54:54.478Z] ---> Running in 53fbf2bec339 [2021-04-14T05:54:56.619Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-65 in /w/workspace/dgexfoundry_device-sdk-go_PR-877 [Pipeline] { [Pipeline] ws [2021-04-14T05:54:56.669Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-14T05:55:02.162Z] using credential edgex-jenkins-ssh [2021-04-14T05:55:02.184Z] Cloning the remote Git repository [2021-04-14T05:55:02.232Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T05:55:02.337Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-14T05:55:02.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T05:55:02.413Z] > git --version # timeout=10 [2021-04-14T05:55:02.431Z] > git --version # 'git version 2.17.1' [2021-04-14T05:55:02.433Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T05:55:02.484Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T05:55:05.246Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T05:55:05.262Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T05:55:05.287Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T05:55:05.320Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T05:55:05.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T05:55:05.336Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/877/head:refs/remotes/origin/PR-877 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-14T05:55:05.891Z] Merging remotes/origin/master commit c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit 87bfc33b1665b7a826ea9309de008e2879655a12 [2021-04-14T05:55:06.119Z] Merge succeeded, producing 87bfc33b1665b7a826ea9309de008e2879655a12 [2021-04-14T05:55:06.120Z] Checking out Revision 87bfc33b1665b7a826ea9309de008e2879655a12 (PR-877) [2021-04-14T05:55:05.908Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T05:55:05.933Z] > git checkout -f 87bfc33b1665b7a826ea9309de008e2879655a12 # timeout=10 [2021-04-14T05:55:06.038Z] > git remote # timeout=10 [2021-04-14T05:55:06.061Z] > git config --get remote.origin.url # timeout=10 [2021-04-14T05:55:06.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T05:55:06.084Z] > git merge c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 [2021-04-14T05:55:06.104Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-14T05:55:06.124Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T05:55:06.133Z] > git checkout -f 87bfc33b1665b7a826ea9309de008e2879655a12 # timeout=10 [2021-04-14T05:55:10.339Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-04-14T05:55:10.395Z] > git --version # timeout=10 [2021-04-14T05:55:10.413Z] > git --version # 'git version 2.17.1' [2021-04-14T05:55:10.427Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T05:55:11.985Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-14T05:55:12.427Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-14T05:55:12.788Z] + + true [2021-04-14T05:55:12.788Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T05:55:14.869Z] provisioning config files... [2021-04-14T05:55:14.913Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5691131494542583665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T05:55:15.330Z] ---> docker-login.sh [2021-04-14T05:55:15.330Z] nexus3.edgexfoundry.org:10001 [2021-04-14T05:55:16.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T05:55:16.511Z] Removing intermediate container 53fbf2bec339 [2021-04-14T05:55:16.511Z] ---> eca971c595cb [2021-04-14T05:55:16.511Z] Successfully built eca971c595cb [2021-04-14T05:55:16.511Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-14T05:55:16.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:55:16.594Z] Configure a credential helper to remove this warning. See [2021-04-14T05:55:16.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:55:16.594Z] [2021-04-14T05:55:16.594Z] Login Succeeded [2021-04-14T05:55:16.594Z] nexus3.edgexfoundry.org:10002 [2021-04-14T05:55:16.857Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-14T05:55:16.857Z] . [2021-04-14T05:55:16.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withDockerContainer [2021-04-14T05:55:17.003Z] prd-centos7-docker-4c-2g-66 does not seem to be running inside a container [2021-04-14T05:55:17.060Z] $ 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-14T05:55:17.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:55:17.143Z] Configure a credential helper to remove this warning. See [2021-04-14T05:55:17.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:55:17.143Z] [2021-04-14T05:55:17.143Z] Login Succeeded [2021-04-14T05:55:17.143Z] nexus3.edgexfoundry.org:10003 [2021-04-14T05:55:17.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T05:55:17.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:55:17.697Z] Configure a credential helper to remove this warning. See [2021-04-14T05:55:17.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:55:17.697Z] [2021-04-14T05:55:17.697Z] Login Succeeded [2021-04-14T05:55:17.697Z] nexus3.edgexfoundry.org:10004 [2021-04-14T05:55:17.796Z] $ docker top 453e1e3bdabfddd9429757d639eab3b64a219b2d64510733f2438cd6445a68cc -eo pid,comm [Pipeline] { [2021-04-14T05:55:17.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2021-04-14T05:55:18.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:55:18.245Z] Configure a credential helper to remove this warning. See [2021-04-14T05:55:18.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:55:18.245Z] [2021-04-14T05:55:18.245Z] Login Succeeded [2021-04-14T05:55:18.245Z] docker.io [2021-04-14T05:55:18.310Z] + go version [2021-04-14T05:55:18.310Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-14T05:55:18.341Z] $ docker stop --time=1 453e1e3bdabfddd9429757d639eab3b64a219b2d64510733f2438cd6445a68cc [2021-04-14T05:55:18.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T05:55:19.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T05:55:19.112Z] Configure a credential helper to remove this warning. See [2021-04-14T05:55:19.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T05:55:19.112Z] [2021-04-14T05:55:19.112Z] Login Succeeded [2021-04-14T05:55:19.112Z] ---> docker-login.sh ends [2021-04-14T05:55:19.741Z] $ docker rm -f 453e1e3bdabfddd9429757d639eab3b64a219b2d64510733f2438cd6445a68cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-04-14T05:55:19.908Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // wrap [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2021-04-14T05:55:20.402Z] ========================================================= [2021-04-14T05:55:20.402Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-14T05:55:20.402Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-14T05:55:20.601Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-14T05:55:20.601Z] . [Pipeline] withDockerContainer [2021-04-14T05:55:20.731Z] prd-centos7-docker-4c-2g-66 does not seem to be running inside a container [2021-04-14T05:55:20.781Z] $ 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-14T05:55:20.822Z] + 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-14T05:55:21.103Z] Sending build context to Docker daemon 2.403MB [2021-04-14T05:55:21.361Z] $ docker top e4e4516aeb9c26fdaee5e0970063d9a6d3012410dd275501f38df01b919d4f4b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T05:55:21.606Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T05:55:21.606Z] Step 2/8 : FROM ${BASE} [2021-04-14T05:55:21.606Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-14T05:55:21.606Z] 5f621e34cdf4: Pulling fs layer [2021-04-14T05:55:21.606Z] a4357932f1b6: Pulling fs layer [2021-04-14T05:55:21.606Z] 18c013af1878: Pulling fs layer [2021-04-14T05:55:21.606Z] 00ac8860ef70: Pulling fs layer [2021-04-14T05:55:21.606Z] 63d7cb157983: Pulling fs layer [2021-04-14T05:55:21.606Z] b116817d02f9: Pulling fs layer [2021-04-14T05:55:21.606Z] 745a02a5169b: Pulling fs layer [2021-04-14T05:55:21.606Z] 00ac8860ef70: Waiting [2021-04-14T05:55:21.606Z] 63d7cb157983: Waiting [2021-04-14T05:55:21.606Z] b116817d02f9: Waiting [2021-04-14T05:55:21.606Z] 745a02a5169b: Waiting [2021-04-14T05:55:21.606Z] 18c013af1878: Verifying Checksum [2021-04-14T05:55:21.606Z] 18c013af1878: Download complete [2021-04-14T05:55:21.606Z] a4357932f1b6: Download complete [2021-04-14T05:55:21.606Z] 63d7cb157983: Verifying Checksum [2021-04-14T05:55:21.606Z] 63d7cb157983: Download complete [2021-04-14T05:55:21.606Z] b116817d02f9: Verifying Checksum [2021-04-14T05:55:21.606Z] b116817d02f9: Download complete [2021-04-14T05:55:21.606Z] 5f621e34cdf4: Verifying Checksum [2021-04-14T05:55:21.606Z] 5f621e34cdf4: Download complete [2021-04-14T05:55:21.940Z] + make test [2021-04-14T05:55:21.940Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-14T05:55:22.215Z] 5f621e34cdf4: Pull complete [2021-04-14T05:55:22.820Z] a4357932f1b6: Pull complete [2021-04-14T05:55:23.422Z] 18c013af1878: Pull complete [2021-04-14T05:55:24.398Z] 745a02a5169b: Verifying Checksum [2021-04-14T05:55:24.398Z] 745a02a5169b: Download complete [2021-04-14T05:55:24.990Z] 00ac8860ef70: Verifying Checksum [2021-04-14T05:55:24.990Z] 00ac8860ef70: Download complete [2021-04-14T05:55:30.157Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-14T05:55:35.145Z] 00ac8860ef70: Pull complete [2021-04-14T05:55:35.145Z] 63d7cb157983: Pull complete [2021-04-14T05:55:35.145Z] b116817d02f9: Pull complete [2021-04-14T05:55:39.450Z] 745a02a5169b: Pull complete [2021-04-14T05:55:39.450Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-14T05:55:39.450Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-14T05:55:39.450Z] ---> b7e6874047d6 [2021-04-14T05:55:39.450Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T05:55:42.067Z] ---> Running in 78e11ca63925 [2021-04-14T05:55:42.067Z] Removing intermediate container 78e11ca63925 [2021-04-14T05:55:42.067Z] ---> fc3fa322f233 [2021-04-14T05:55:42.067Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T05:55:42.067Z] ---> Running in 130025bcb170 [2021-04-14T05:55:44.695Z] Removing intermediate container 130025bcb170 [2021-04-14T05:55:44.695Z] ---> 0d8618cbcf14 [2021-04-14T05:55:44.695Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-14T05:55:44.695Z] ---> Running in 9e010e09ea64 [2021-04-14T05:55:45.675Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T05:55:46.655Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T05:55:47.636Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-14T05:55:47.636Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-14T05:55:47.636Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-14T05:55:47.907Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-14T05:55:47.907Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-14T05:55:48.181Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-14T05:55:48.181Z] Executing busybox-1.31.1-r19.trigger [2021-04-14T05:55:48.181Z] OK: 144 MiB in 45 packages [2021-04-14T05:55:48.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-14T05:55:48.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-14T05:55:48.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-14T05:55:48.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-14T05:55:48.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-14T05:55:49.613Z] Removing intermediate container 9e010e09ea64 [2021-04-14T05:55:49.613Z] ---> 2e64ce8beabc [2021-04-14T05:55:49.613Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-14T05:55:49.614Z] ---> Running in f4361ad81759 [2021-04-14T05:55:50.217Z] Removing intermediate container f4361ad81759 [2021-04-14T05:55:50.218Z] ---> e5141a1eae7e [2021-04-14T05:55:50.218Z] Step 7/8 : COPY . . [2021-04-14T05:55:51.664Z] ---> 6db39a7c5d9b [2021-04-14T05:55:51.664Z] Step 8/8 : RUN go mod download [2021-04-14T05:55:51.664Z] ---> Running in 2eaeec10f062 [2021-04-14T05:55:52.662Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.092s coverage: 28.1% of statements [2021-04-14T05:55:52.662Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements [2021-04-14T05:55:53.627Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.062s coverage: 7.8% of statements [2021-04-14T05:55:53.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-14T05:55:53.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-14T05:55:53.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-14T05:55:53.627Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 32.5% of statements [2021-04-14T05:55:53.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-14T05:55:53.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-14T05:55:53.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-14T05:55:54.203Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 57.1% of statements [2021-04-14T05:55:54.466Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.227s coverage: 6.6% of statements [2021-04-14T05:55:54.466Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-14T05:55:54.466Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-14T05:55:54.730Z] GO111MODULE=on go vet ./... [2021-04-14T05:56:09.815Z] gofmt -l . [2021-04-14T05:56:10.077Z] [ "`gofmt -l .`" = "" ] [2021-04-14T05:56:10.077Z] ./bin/test-attribution-txt.sh [2021-04-14T05:56:11.026Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-14T05:56:11.322Z] $ docker stop --time=1 e4e4516aeb9c26fdaee5e0970063d9a6d3012410dd275501f38df01b919d4f4b [2021-04-14T05:56:12.951Z] $ docker rm -f e4e4516aeb9c26fdaee5e0970063d9a6d3012410dd275501f38df01b919d4f4b [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-14T05:56:13.594Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-14T05:56:13.997Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-14T05:56:16.784Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-14T05:56:17.103Z] + ls -al . [2021-04-14T05:56:17.103Z] total 188 [2021-04-14T05:56:17.103Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 14 05:56 . [2021-04-14T05:56:17.103Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 14 05:54 .. [2021-04-14T05:56:17.103Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 14 05:54 bin [2021-04-14T05:56:17.103Z] -rw-r--r--. 1 jenkins jenkins 99750 Apr 14 05:55 coverage.out [2021-04-14T05:56:17.103Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 14 05:54 Dockerfile.build [2021-04-14T05:56:17.103Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 14 05:54 .dockerignore [2021-04-14T05:56:17.103Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 14 05:54 example [2021-04-14T05:56:17.103Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 14 05:54 .git [2021-04-14T05:56:17.103Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 14 05:54 .github [2021-04-14T05:56:17.103Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 14 05:54 .gitignore [2021-04-14T05:56:17.103Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 14 05:56 go.mod [2021-04-14T05:56:17.103Z] -rw-r--r--. 1 jenkins jenkins 20817 Apr 14 05:56 go.sum [2021-04-14T05:56:17.104Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 14 05:54 internal [2021-04-14T05:56:17.104Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 14 05:54 Jenkinsfile [2021-04-14T05:56:17.104Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 14 05:54 LICENSE [2021-04-14T05:56:17.104Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 14 05:54 Makefile [2021-04-14T05:56:17.104Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 14 05:54 openapi [2021-04-14T05:56:17.104Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 14 05:54 pkg [2021-04-14T05:56:17.104Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 14 05:54 README.md [2021-04-14T05:56:17.104Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 14 05:54 RELEASE-NOTES.txt [2021-04-14T05:56:17.104Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 14 05:54 snap [2021-04-14T05:56:17.104Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 14 05:52 VERSION [2021-04-14T05:56:17.104Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 14 05:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-14T05:56:17.451Z] + 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=87bfc33b1665b7a826ea9309de008e2879655a12 --label arch=amd64 --label version=0.0.0 . [2021-04-14T05:56:17.715Z] Sending build context to Docker daemon 2.502MB [2021-04-14T05:56:17.715Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T05:56:17.715Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-14T05:56:17.715Z] ---> eca971c595cb [2021-04-14T05:56:17.715Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-14T05:56:17.977Z] ---> Running in eac28b50b985 [2021-04-14T05:56:18.246Z] Removing intermediate container eac28b50b985 [2021-04-14T05:56:18.246Z] ---> d615a9c034a2 [2021-04-14T05:56:18.246Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T05:56:18.246Z] ---> Running in 44b07228cfb7 [2021-04-14T05:56:18.246Z] Removing intermediate container 44b07228cfb7 [2021-04-14T05:56:18.246Z] ---> 967bb41e8119 [2021-04-14T05:56:18.246Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T05:56:18.459Z] Removing intermediate container 2eaeec10f062 [2021-04-14T05:56:18.460Z] ---> b04a00f33d95 [2021-04-14T05:56:18.460Z] Successfully built b04a00f33d95 [2021-04-14T05:56:18.460Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-14T05:56:18.511Z] ---> Running in 491b5c4685ac [2021-04-14T05:56:18.835Z] + docker inspect -f . ci-base-image-arm64 [2021-04-14T05:56:18.835Z] . [Pipeline] withDockerContainer [2021-04-14T05:56:19.088Z] prd-ubuntu18.04-docker-arm64-4c-16g-65 does not seem to be running inside a container [2021-04-14T05:56:19.162Z] $ 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-14T05:56:19.486Z] Removing intermediate container 491b5c4685ac [2021-04-14T05:56:19.486Z] ---> 66cd20b9e03e [2021-04-14T05:56:19.486Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-14T05:56:19.486Z] ---> Running in a4a28a021552 [2021-04-14T05:56:20.068Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T05:56:20.623Z] $ docker top 4bb2d4f8d3a7d456cd13145fbd8e15b1a621fe6180581d9e00362f37ecd7c639 -eo pid,comm [2021-04-14T05:56:20.641Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] { [2021-04-14T05:56:20.903Z] OK: 167 MiB in 45 packages [Pipeline] sh [2021-04-14T05:56:21.488Z] Removing intermediate container a4a28a021552 [2021-04-14T05:56:21.488Z] ---> 2d0c162cd7d7 [2021-04-14T05:56:21.488Z] Step 7/23 : COPY . . [2021-04-14T05:56:21.622Z] + go version [2021-04-14T05:56:21.623Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-14T05:56:21.651Z] $ docker stop --time=1 4bb2d4f8d3a7d456cd13145fbd8e15b1a621fe6180581d9e00362f37ecd7c639 [2021-04-14T05:56:22.436Z] ---> 609c6c7301de [2021-04-14T05:56:22.436Z] Step 8/23 : RUN go mod download [2021-04-14T05:56:22.436Z] ---> Running in 73416744aa46 [2021-04-14T05:56:23.391Z] Removing intermediate container 73416744aa46 [2021-04-14T05:56:23.391Z] ---> 107104b7df13 [2021-04-14T05:56:23.391Z] Step 9/23 : RUN make build [2021-04-14T05:56:23.391Z] ---> Running in 5df53af68563 [2021-04-14T05:56:23.655Z] $ docker rm -f 4bb2d4f8d3a7d456cd13145fbd8e15b1a621fe6180581d9e00362f37ecd7c639 [2021-04-14T05:56:23.977Z] 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 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-14T05:56:24.666Z] + docker inspect -f . ci-base-image-arm64 [2021-04-14T05:56:24.667Z] . [Pipeline] withDockerContainer [2021-04-14T05:56:24.915Z] prd-ubuntu18.04-docker-arm64-4c-16g-65 does not seem to be running inside a container [2021-04-14T05:56:24.987Z] $ 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-14T05:56:26.470Z] $ docker top 8dcf16a34233784b7fc1594b251da10d1cc689949eb5855e5615351bf68686f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T05:56:27.442Z] + make test [2021-04-14T05:56:27.442Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-14T05:56:36.289Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-14T05:56:36.289Z] Removing intermediate container 5df53af68563 [2021-04-14T05:56:36.289Z] ---> c66057254d5a [2021-04-14T05:56:36.289Z] Step 10/23 : FROM alpine:3.12 [2021-04-14T05:56:36.865Z] 3.12: Pulling from library/alpine [2021-04-14T05:56:37.133Z] 532819f3e44c: Pulling fs layer [2021-04-14T05:56:37.133Z] 532819f3e44c: Download complete [2021-04-14T05:56:37.395Z] 532819f3e44c: Pull complete [2021-04-14T05:56:37.395Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-14T05:56:37.395Z] Status: Downloaded newer image for alpine:3.12 [2021-04-14T05:56:37.395Z] ---> 7230e588e954 [2021-04-14T05:56:37.395Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T05:56:37.395Z] ---> Running in fef6abfd9955 [2021-04-14T05:56:37.659Z] Removing intermediate container fef6abfd9955 [2021-04-14T05:56:37.659Z] ---> d8e91148c76d [2021-04-14T05:56:37.659Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T05:56:37.659Z] ---> Running in d9468b991514 [2021-04-14T05:56:38.609Z] Removing intermediate container d9468b991514 [2021-04-14T05:56:38.609Z] ---> 615d874ab835 [2021-04-14T05:56:38.609Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-14T05:56:38.609Z] ---> Running in 5193c70fd219 [2021-04-14T05:56:39.188Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T05:56:39.764Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-14T05:56:40.342Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-14T05:56:40.342Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-14T05:56:40.342Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-14T05:56:41.285Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-14T05:56:41.285Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-14T05:56:41.285Z] Executing busybox-1.31.1-r20.trigger [2021-04-14T05:56:41.285Z] OK: 8 MiB in 19 packages [2021-04-14T05:56:41.859Z] Removing intermediate container 5193c70fd219 [2021-04-14T05:56:41.859Z] ---> b82eae0b006f [2021-04-14T05:56:41.859Z] Step 14/23 : WORKDIR / [2021-04-14T05:56:41.859Z] ---> Running in 76ebf0930964 [2021-04-14T05:56:42.124Z] Removing intermediate container 76ebf0930964 [2021-04-14T05:56:42.124Z] ---> 4aacbcf007d6 [2021-04-14T05:56:42.124Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-14T05:56:42.388Z] ---> ac828f1f0d11 [2021-04-14T05:56:42.388Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-14T05:56:42.962Z] ---> 250ff94f4090 [2021-04-14T05:56:42.962Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-14T05:56:43.229Z] ---> 726e25ba7882 [2021-04-14T05:56:43.229Z] Step 18/23 : EXPOSE 49990 [2021-04-14T05:56:43.490Z] ---> Running in 3e5e7453b392 [2021-04-14T05:56:43.490Z] Removing intermediate container 3e5e7453b392 [2021-04-14T05:56:43.490Z] ---> 47208451772f [2021-04-14T05:56:43.490Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-14T05:56:43.753Z] ---> Running in 8b88581b8811 [2021-04-14T05:56:43.753Z] Removing intermediate container 8b88581b8811 [2021-04-14T05:56:43.753Z] ---> 7c8a08187a0c [2021-04-14T05:56:43.753Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-14T05:56:43.753Z] ---> Running in 7bca75b8604b [2021-04-14T05:56:44.016Z] Removing intermediate container 7bca75b8604b [2021-04-14T05:56:44.016Z] ---> 55adabce6524 [2021-04-14T05:56:44.016Z] Step 21/23 : LABEL arch=amd64 [2021-04-14T05:56:44.016Z] ---> Running in 4113112df136 [2021-04-14T05:56:44.963Z] Removing intermediate container 4113112df136 [2021-04-14T05:56:44.963Z] ---> e90958c2fe1a [2021-04-14T05:56:44.963Z] Step 22/23 : LABEL git_sha=87bfc33b1665b7a826ea9309de008e2879655a12 [2021-04-14T05:56:44.963Z] ---> Running in 0e0d8b204cd3 [2021-04-14T05:56:45.224Z] Removing intermediate container 0e0d8b204cd3 [2021-04-14T05:56:45.224Z] ---> d768b646bc3e [2021-04-14T05:56:45.224Z] Step 23/23 : LABEL version=0.0.0 [2021-04-14T05:56:45.224Z] ---> Running in f2bcb0f24489 [2021-04-14T05:56:45.486Z] Removing intermediate container f2bcb0f24489 [2021-04-14T05:56:45.486Z] ---> 8750d2876196 [2021-04-14T05:56:45.486Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-14T05:56:45.486Z] Successfully built 8750d2876196 [2021-04-14T05:56:45.486Z] 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-14T05:56:46.283Z] ---> job-cost.sh [2021-04-14T05:56:46.283Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mCP5 [2021-04-14T05:56:49.641Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-14T05:57:01.238Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-14T05:57:27.910Z] lf-activate-venv(): INFO: Adding /tmp/venv-mCP5/bin to PATH [2021-04-14T05:57:27.910Z] INFO: No Stack... [2021-04-14T05:57:27.910Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-14T05:57:28.171Z] INFO: Archiving Costs [Pipeline] sh [2021-04-14T05:57:28.798Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-14T05:57:28.798Z] + cut -d, -f6 [Pipeline] lock [2021-04-14T05:57:28.899Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-877-1-stack-cost] [2021-04-14T05:57:28.905Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-877-1-stack-cost] did not exist. Created. [2021-04-14T05:57:28.906Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-877-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-14T05:57:29.337Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-14T05:57:29.465Z] Stashed 1 file(s) [Pipeline] } [2021-04-14T05:57:29.488Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-877-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-14T05:57:46.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-14T05:57:46.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-14T05:57:46.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-14T05:57:46.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-14T05:57:46.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-14T05:57:48.207Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.162s coverage: 28.1% of statements [2021-04-14T05:57:49.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.191s coverage: 78.9% of statements [2021-04-14T05:57:49.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.173s coverage: 7.8% of statements [2021-04-14T05:57:49.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-14T05:57:49.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-14T05:57:49.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-14T05:57:51.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.313s coverage: 32.5% of statements [2021-04-14T05:57:51.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-14T05:57:51.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-14T05:57:51.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-14T05:57:55.058Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.325s coverage: 57.1% of statements [2021-04-14T05:57:55.058Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.091s coverage: 6.6% of statements [2021-04-14T05:57:55.339Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.150s coverage: 5.0% of statements [2021-04-14T05:57:55.339Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-14T05:57:55.934Z] GO111MODULE=on go vet ./... [2021-04-14T05:58:42.990Z] gofmt -l . [2021-04-14T05:58:42.991Z] [ "`gofmt -l .`" = "" ] [2021-04-14T05:58:42.991Z] ./bin/test-attribution-txt.sh [2021-04-14T05:58:42.991Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-14T05:58:43.017Z] $ docker stop --time=1 8dcf16a34233784b7fc1594b251da10d1cc689949eb5855e5615351bf68686f9 [2021-04-14T05:58:45.456Z] $ docker rm -f 8dcf16a34233784b7fc1594b251da10d1cc689949eb5855e5615351bf68686f9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-14T05:58:46.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-14T05:58:46.681Z] Warning: overwriting stash ‘coverage-report’ [2021-04-14T05:58:47.820Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T05:58:48.463Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-14T05:58:48.828Z] + ls -al . [2021-04-14T05:58:48.828Z] total 224 [2021-04-14T05:58:48.828Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 05:58 . [2021-04-14T05:58:48.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 05:55 .. [2021-04-14T05:58:48.828Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 05:55 .dockerignore [2021-04-14T05:58:48.828Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 05:55 .git [2021-04-14T05:58:48.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 05:55 .github [2021-04-14T05:58:48.828Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 14 05:55 .gitignore [2021-04-14T05:58:48.828Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 14 05:55 Dockerfile.build [2021-04-14T05:58:48.828Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 14 05:55 Jenkinsfile [2021-04-14T05:58:48.828Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 05:55 LICENSE [2021-04-14T05:58:48.828Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 14 05:55 Makefile [2021-04-14T05:58:48.828Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 14 05:55 README.md [2021-04-14T05:58:48.829Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 14 05:55 RELEASE-NOTES.txt [2021-04-14T05:58:48.829Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 05:52 VERSION [2021-04-14T05:58:48.829Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 05:55 bin [2021-04-14T05:58:48.829Z] -rw-r--r-- 1 jenkins jenkins 99750 Apr 14 05:57 coverage.out [2021-04-14T05:58:48.829Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 05:55 example [2021-04-14T05:58:48.829Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 14 05:58 go.mod [2021-04-14T05:58:48.829Z] -rw-r--r-- 1 jenkins jenkins 20817 Apr 14 05:58 go.sum [2021-04-14T05:58:48.829Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 14 05:55 internal [2021-04-14T05:58:48.829Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 05:55 openapi [2021-04-14T05:58:48.829Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 05:55 pkg [2021-04-14T05:58:48.829Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 05:55 snap [2021-04-14T05:58:48.829Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 05:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-14T05:58:49.242Z] + 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=87bfc33b1665b7a826ea9309de008e2879655a12 --label arch=arm64 --label version=0.0.0 . [2021-04-14T05:58:49.857Z] Sending build context to Docker daemon 2.504MB [2021-04-14T05:58:49.857Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T05:58:49.857Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-14T05:58:49.857Z] ---> b04a00f33d95 [2021-04-14T05:58:49.857Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-14T05:58:50.132Z] ---> Running in 8842b28ec3ad [2021-04-14T05:58:50.727Z] Removing intermediate container 8842b28ec3ad [2021-04-14T05:58:50.727Z] ---> 4e3d8c065fcc [2021-04-14T05:58:50.727Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T05:58:50.727Z] ---> Running in 8389148f422e [2021-04-14T05:58:51.320Z] Removing intermediate container 8389148f422e [2021-04-14T05:58:51.320Z] ---> cd6a1061489b [2021-04-14T05:58:51.320Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T05:58:51.320Z] ---> Running in 6422b6f52235 [2021-04-14T05:58:53.295Z] Removing intermediate container 6422b6f52235 [2021-04-14T05:58:53.295Z] ---> 3ea44323925c [2021-04-14T05:58:53.295Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-14T05:58:53.295Z] ---> Running in 8fbe33c1b094 [2021-04-14T05:58:54.750Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T05:58:55.353Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T05:58:55.949Z] OK: 144 MiB in 45 packages [2021-04-14T05:58:56.921Z] Removing intermediate container 8fbe33c1b094 [2021-04-14T05:58:56.921Z] ---> c8d92fca652b [2021-04-14T05:58:56.921Z] Step 7/23 : COPY . . [2021-04-14T05:58:58.350Z] ---> 8e68de61fe96 [2021-04-14T05:58:58.350Z] Step 8/23 : RUN go mod download [2021-04-14T05:58:58.350Z] ---> Running in ab21bfd9f316 [2021-04-14T05:59:00.976Z] Removing intermediate container ab21bfd9f316 [2021-04-14T05:59:00.976Z] ---> d22deb99be3d [2021-04-14T05:59:00.976Z] Step 9/23 : RUN make build [2021-04-14T05:59:00.976Z] ---> Running in 5d219e30a9d6 [2021-04-14T05:59:01.961Z] 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-14T05:59:34.340Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-14T05:59:37.723Z] Removing intermediate container 5d219e30a9d6 [2021-04-14T05:59:37.723Z] ---> a716db9fbb9b [2021-04-14T05:59:37.723Z] Step 10/23 : FROM alpine:3.12 [2021-04-14T05:59:37.723Z] 3.12: Pulling from library/alpine [2021-04-14T05:59:37.998Z] 9a219e8acc52: Pulling fs layer [2021-04-14T05:59:37.998Z] 9a219e8acc52: Download complete [2021-04-14T05:59:38.597Z] 9a219e8acc52: Pull complete [2021-04-14T05:59:38.597Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-14T05:59:38.597Z] Status: Downloaded newer image for alpine:3.12 [2021-04-14T05:59:38.597Z] ---> d75e27dfc0a0 [2021-04-14T05:59:38.597Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T05:59:38.872Z] ---> Running in cdc392424be2 [2021-04-14T05:59:39.467Z] Removing intermediate container cdc392424be2 [2021-04-14T05:59:39.467Z] ---> 8c1379f4a35b [2021-04-14T05:59:39.467Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T05:59:39.467Z] ---> Running in 9a4ca3726cdb [2021-04-14T05:59:41.440Z] Removing intermediate container 9a4ca3726cdb [2021-04-14T05:59:41.440Z] ---> aa0a8116d70a [2021-04-14T05:59:41.440Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-14T05:59:41.722Z] ---> Running in bd7fda4ecbc4 [2021-04-14T05:59:42.708Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T05:59:43.682Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T05:59:44.287Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-14T05:59:44.287Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-14T05:59:44.560Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-14T05:59:44.833Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-14T05:59:44.833Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-14T05:59:44.833Z] Executing busybox-1.31.1-r20.trigger [2021-04-14T05:59:44.833Z] OK: 8 MiB in 19 packages [2021-04-14T05:59:46.258Z] Removing intermediate container bd7fda4ecbc4 [2021-04-14T05:59:46.258Z] ---> fbbb72caac59 [2021-04-14T05:59:46.258Z] Step 14/23 : WORKDIR / [2021-04-14T05:59:46.258Z] ---> Running in 6d00b84a6633 [2021-04-14T05:59:46.850Z] Removing intermediate container 6d00b84a6633 [2021-04-14T05:59:46.850Z] ---> d14ff88f28ed [2021-04-14T05:59:46.850Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-14T05:59:47.443Z] ---> 93340ac6a687 [2021-04-14T05:59:47.443Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-14T05:59:48.421Z] ---> a800f5358742 [2021-04-14T05:59:48.421Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-14T05:59:49.398Z] ---> 79544a576be4 [2021-04-14T05:59:49.398Z] Step 18/23 : EXPOSE 49990 [2021-04-14T05:59:49.398Z] ---> Running in 7b454200d85f [2021-04-14T05:59:49.671Z] Removing intermediate container 7b454200d85f [2021-04-14T05:59:49.671Z] ---> 1a95f1b3ceff [2021-04-14T05:59:49.672Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-14T05:59:49.945Z] ---> Running in cb7a62d0fe7b [2021-04-14T05:59:50.220Z] Removing intermediate container cb7a62d0fe7b [2021-04-14T05:59:50.220Z] ---> 2339f06bc019 [2021-04-14T05:59:50.220Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-14T05:59:50.492Z] ---> Running in 3688bc7c5dcc [2021-04-14T05:59:50.764Z] Removing intermediate container 3688bc7c5dcc [2021-04-14T05:59:50.764Z] ---> 09cd75e9fecc [2021-04-14T05:59:50.764Z] Step 21/23 : LABEL arch=arm64 [2021-04-14T05:59:51.037Z] ---> Running in 4f257e35cc2f [2021-04-14T05:59:51.316Z] Removing intermediate container 4f257e35cc2f [2021-04-14T05:59:51.316Z] ---> 6e09c78cc427 [2021-04-14T05:59:51.316Z] Step 22/23 : LABEL git_sha=87bfc33b1665b7a826ea9309de008e2879655a12 [2021-04-14T05:59:51.589Z] ---> Running in cd71219eb2ef [2021-04-14T05:59:51.864Z] Removing intermediate container cd71219eb2ef [2021-04-14T05:59:51.864Z] ---> a6801b1f477a [2021-04-14T05:59:51.864Z] Step 23/23 : LABEL version=0.0.0 [2021-04-14T05:59:52.140Z] ---> Running in 5f02587ac466 [2021-04-14T05:59:52.733Z] Removing intermediate container 5f02587ac466 [2021-04-14T05:59:52.733Z] ---> 58e763493ad0 [2021-04-14T05:59:52.733Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-14T05:59:52.733Z] Successfully built 58e763493ad0 [2021-04-14T05:59:52.733Z] 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-14T05:59:53.510Z] ---> job-cost.sh [2021-04-14T05:59:53.510Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FGYz [2021-04-14T06:00:32.479Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-14T06:02:09.226Z] lf-activate-venv(): INFO: Adding /tmp/venv-FGYz/bin to PATH [2021-04-14T06:02:09.226Z] INFO: No Stack... [2021-04-14T06:02:09.226Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-14T06:02:09.226Z] INFO: Archiving Costs [Pipeline] sh [2021-04-14T06:02:09.589Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-14T06:02:09.589Z] + cut -d, -f6 [Pipeline] lock [2021-04-14T06:02:09.730Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-877-1-stack-cost] [2021-04-14T06:02:09.737Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-877-1-stack-cost] did not exist. Created. [2021-04-14T06:02:09.737Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-877-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-14T06:02:10.182Z] /w/workspace/device-sdk-go/1@tmp/durable-f6820e47/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-f6820e47/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-14T06:02:10.565Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-14T06:02:10.605Z] Warning: overwriting stash ‘stack-cost’ [2021-04-14T06:02:10.758Z] Stashed 1 file(s) [Pipeline] } [2021-04-14T06:02:10.779Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-877-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-14T06:02:11.902Z] provisioning config files... [2021-04-14T06:02:11.914Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-877@tmp/config7892918364090774732tmp [Pipeline] { [Pipeline] sh [2021-04-14T06:02:12.282Z] + set +x [2021-04-14T06:02:12.282Z] + curl -s https://codecov.io/bash [2021-04-14T06:02:12.282Z] + bash -s -- [2021-04-14T06:02:12.546Z] [2021-04-14T06:02:12.546Z] _____ _ [2021-04-14T06:02:12.546Z] / ____| | | [2021-04-14T06:02:12.546Z] | | ___ __| | ___ ___ _____ __ [2021-04-14T06:02:12.546Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-14T06:02:12.546Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-14T06:02:12.546Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-14T06:02:12.546Z] Bash-1.0.1 [2021-04-14T06:02:12.546Z] [2021-04-14T06:02:12.546Z] [2021-04-14T06:02:12.546Z] ==> git version 2.24.3 found [2021-04-14T06:02:12.546Z] ==> 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-14T06:02:12.546Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-14T06:02:12.546Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-14T06:02:12.546Z] ==> Jenkins CI detected. [2021-04-14T06:02:12.546Z] project root: . [2021-04-14T06:02:12.546Z] --> token set from env [2021-04-14T06:02:12.546Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-14T06:02:12.546Z] ==> Running gcov in . (disable via -X gcov) [2021-04-14T06:02:12.546Z] ==> Python coveragepy not found [2021-04-14T06:02:12.546Z] ==> Searching for coverage reports in: [2021-04-14T06:02:12.546Z] + . [2021-04-14T06:02:12.809Z] -> Found 1 reports [2021-04-14T06:02:12.809Z] ==> Detecting git/mercurial file structure [2021-04-14T06:02:12.809Z] ==> Reading reports [2021-04-14T06:02:12.809Z] + ./coverage.out bytes=99750 [2021-04-14T06:02:12.809Z] ==> Appending adjustments [2021-04-14T06:02:12.809Z] https://docs.codecov.io/docs/fixing-reports [2021-04-14T06:02:13.072Z] + Found adjustments [2021-04-14T06:02:13.072Z] ==> Gzipping contents [2021-04-14T06:02:13.072Z] 16K /tmp/codecov.8Abh88.gz [2021-04-14T06:02:13.072Z] ==> Uploading reports [2021-04-14T06:02:13.072Z] url: https://codecov.io [2021-04-14T06:02:13.072Z] query: branch=PR-877&commit=87bfc33b1665b7a826ea9309de008e2879655a12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-877%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=877&job=&cmd_args= [2021-04-14T06:02:13.072Z] -> Pinging Codecov [2021-04-14T06:02:13.072Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-877&commit=87bfc33b1665b7a826ea9309de008e2879655a12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-877%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=877&job=&cmd_args= [2021-04-14T06:02:13.647Z] -> Uploading to [2021-04-14T06:02:13.647Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-14/7E55EF52A471D76F132DFD9A03CDDE97/87bfc33b1665b7a826ea9309de008e2879655a12/23c752b2-a7ca-4609-86fd-33626b3d2576.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210414%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210414T060213Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0c831cd370c2d2859dd3eaacc96feb49764ec16318d152bd1fdde82a73d4635 [2021-04-14T06:02:13.647Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-14T06:02:13.647Z] Dload Upload Total Spent Left Speed [2021-04-14T06:02:13.909Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13498 0 0 100 13498 0 32299 --:--:-- --:--:-- --:--:-- 32291 100 13498 0 0 100 13498 0 32281 --:--:-- --:--:-- --:--:-- 32291 [2021-04-14T06:02:13.909Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/87bfc33b1665b7a826ea9309de008e2879655a12 [Pipeline] } [2021-04-14T06:02:13.938Z] 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-14T06:02:15.757Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T06:02:16.109Z] ---> package-listing.sh [2021-04-14T06:02:16.109Z] ++ facter osfamily [2021-04-14T06:02:16.109Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-14T06:02:16.109Z] + OS_FAMILY=redhat [2021-04-14T06:02:16.109Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-877 [2021-04-14T06:02:16.109Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-14T06:02:16.109Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-14T06:02:16.109Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-14T06:02:16.109Z] + PACKAGES=/tmp/packages_start.txt [2021-04-14T06:02:16.109Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-877 ']' [2021-04-14T06:02:16.109Z] + PACKAGES=/tmp/packages_end.txt [2021-04-14T06:02:16.109Z] + case "${OS_FAMILY}" in [2021-04-14T06:02:16.109Z] + rpm -qa [2021-04-14T06:02:16.109Z] + sort [2021-04-14T06:02:21.430Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-14T06:02:21.430Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-14T06:02:21.430Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-14T06:02:21.430Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-877 ']' [2021-04-14T06:02:21.430Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-877/archives/ [2021-04-14T06:02:21.430Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-877/archives/ [Pipeline] echo [2021-04-14T06:02:21.464Z] 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-877/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-14T06:02:21.897Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-14T06:02:22.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T06:02:22.274Z] [2021-04-14T06:02:22.274Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-14T06:02:22.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T06:02:22.638Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-14T06:02:22.638Z] df20fa9351a1: Pulling fs layer [2021-04-14T06:02:22.638Z] 36b3adc4ff6f: Pulling fs layer [2021-04-14T06:02:22.638Z] 8ad3a11d3b57: Pulling fs layer [2021-04-14T06:02:22.638Z] 46f8f816bc3b: Pulling fs layer [2021-04-14T06:02:22.638Z] 93b61091891f: Pulling fs layer [2021-04-14T06:02:22.638Z] 93b9cdb0e59b: Pulling fs layer [2021-04-14T06:02:22.638Z] 5e14af77c1be: Pulling fs layer [2021-04-14T06:02:22.638Z] 01666e4c0597: Pulling fs layer [2021-04-14T06:02:22.638Z] aa168da1d23b: Pulling fs layer [2021-04-14T06:02:22.638Z] 93b9cdb0e59b: Waiting [2021-04-14T06:02:22.638Z] 5e14af77c1be: Waiting [2021-04-14T06:02:22.638Z] 01666e4c0597: Waiting [2021-04-14T06:02:22.638Z] aa168da1d23b: Waiting [2021-04-14T06:02:22.638Z] 46f8f816bc3b: Waiting [2021-04-14T06:02:22.638Z] 93b61091891f: Waiting [2021-04-14T06:02:22.638Z] 36b3adc4ff6f: Verifying Checksum [2021-04-14T06:02:22.638Z] 36b3adc4ff6f: Download complete [2021-04-14T06:02:22.638Z] 46f8f816bc3b: Verifying Checksum [2021-04-14T06:02:22.638Z] 46f8f816bc3b: Download complete [2021-04-14T06:02:22.638Z] df20fa9351a1: Verifying Checksum [2021-04-14T06:02:22.638Z] df20fa9351a1: Download complete [2021-04-14T06:02:22.906Z] 93b9cdb0e59b: Verifying Checksum [2021-04-14T06:02:22.906Z] 93b9cdb0e59b: Download complete [2021-04-14T06:02:22.906Z] 93b61091891f: Verifying Checksum [2021-04-14T06:02:22.906Z] 93b61091891f: Download complete [2021-04-14T06:02:22.906Z] 5e14af77c1be: Verifying Checksum [2021-04-14T06:02:22.906Z] 5e14af77c1be: Download complete [2021-04-14T06:02:22.906Z] 01666e4c0597: Verifying Checksum [2021-04-14T06:02:22.906Z] 01666e4c0597: Download complete [2021-04-14T06:02:23.168Z] df20fa9351a1: Pull complete [2021-04-14T06:02:23.168Z] 8ad3a11d3b57: Verifying Checksum [2021-04-14T06:02:23.168Z] 8ad3a11d3b57: Download complete [2021-04-14T06:02:23.435Z] 36b3adc4ff6f: Pull complete [2021-04-14T06:02:24.396Z] 8ad3a11d3b57: Pull complete [2021-04-14T06:02:25.348Z] aa168da1d23b: Verifying Checksum [2021-04-14T06:02:25.348Z] aa168da1d23b: Download complete [2021-04-14T06:02:25.348Z] 46f8f816bc3b: Pull complete [2021-04-14T06:02:25.926Z] 93b61091891f: Pull complete [2021-04-14T06:02:26.190Z] 93b9cdb0e59b: Pull complete [2021-04-14T06:02:26.190Z] 5e14af77c1be: Pull complete [2021-04-14T06:02:26.190Z] 01666e4c0597: Pull complete [2021-04-14T06:02:34.381Z] aa168da1d23b: Pull complete [2021-04-14T06:02:34.381Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-14T06:02:34.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T06:02:34.381Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-14T06:02:34.627Z] prd-centos7-docker-4c-2g-62 does not seem to be running inside a container [2021-04-14T06:02:34.681Z] $ 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-877/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-877 -v /w/workspace/dgexfoundry_device-sdk-go_PR-877:/w/workspace/dgexfoundry_device-sdk-go_PR-877:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-877@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-877@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-14T06:02:38.781Z] $ docker top c6d1174cea4bafb4a6278dc9b890047b1e478075eead9b6d841883f77d3c0fe5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T06:02:39.257Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-14T06:02:39.581Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-14T06:02:39.905Z] + ls /var/log/sa-host [2021-04-14T06:02:39.906Z] + sadf -c /var/log/sa-host/sa14 [2021-04-14T06:02:39.906Z] file_magic: OK [2021-04-14T06:02:39.906Z] HZ: Using current value: 100 [2021-04-14T06:02:39.906Z] file_header: OK [2021-04-14T06:02:39.906Z] 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-14T06:02:39.906Z] Statistics: [2021-04-14T06:02:39.906Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-14T06:02:39.906Z] File successfully converted to sysstat format version 12.2.1 [2021-04-14T06:02:39.906Z] + sadf -c /var/log/sa-host/sa23 [2021-04-14T06:02:39.906Z] file_magic: OK [2021-04-14T06:02:39.906Z] HZ: Using current value: 100 [2021-04-14T06:02:39.906Z] file_header: OK [2021-04-14T06:02:39.906Z] 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-14T06:02:39.906Z] Statistics: [2021-04-14T06:02:39.906Z] Hnuu...uuuununununu... [2021-04-14T06:02:39.906Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-14T06:02:40.163Z] provisioning config files... [2021-04-14T06:02:40.183Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-877@tmp/config1947159173211615863tmp [Pipeline] { [Pipeline] echo [2021-04-14T06:02:40.239Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T06:02:40.578Z] ---> create-netrc.sh [Pipeline] } [2021-04-14T06:02:40.602Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-14T06:02:40.683Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T06:02:41.017Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-14T06:02:41.048Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T06:02:41.385Z] ---> sudo-logs.sh [2021-04-14T06:02:41.385Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-14T06:02:41.465Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T06:02:41.812Z] ---> job-cost.sh [2021-04-14T06:02:41.813Z] lf-activate-venv: SKIPPING [2021-04-14T06:02:41.813Z] DEBUG: total: 0.20999999344348907 [2021-04-14T06:02:41.813Z] INFO: Retrieving Stack Cost... [2021-04-14T06:02:42.771Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-14T06:02:43.346Z] INFO: Archiving Costs [Pipeline] echo [2021-04-14T06:02:43.392Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T06:02:43.735Z] ---> logs-deploy.sh [2021-04-14T06:02:43.735Z] lf-activate-venv: SKIPPING [2021-04-14T06:02:43.735Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-877/1 [2021-04-14T06:02:43.735Z] INFO: archiving workspace using pattern(s): [2021-04-14T06:02:45.660Z] Archives upload complete. [2021-04-14T06:02:45.660Z] INFO: archiving logs to Nexus