Pull request #829 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 15f7e56aedbf3b609d0b9edf55d565b25ab7add9+b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 (2a15cdbca520b956d8815d667218fa632b5ccdd8) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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-31661 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [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-829 # 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 b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 Merge succeeded, producing 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 Checking out Revision 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 (PR-829) > 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/829/head:refs/remotes/origin/PR-829 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 # 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 b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 # timeout=10 Commit message: "build: update build files to support zmq dependency" > git rev-list --no-walk 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-29T04:38:26.645Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-29T04:38:26.998Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-29T04:38:27.109Z] ========================================================= [2021-03-29T04:38:27.109Z] EdgeX Global Pipelines Version Info [2021-03-29T04:38:27.109Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:38:28.598Z] ------------------- [2021-03-29T04:38:28.598Z] stable info: [2021-03-29T04:38:28.598Z] ------------------- [2021-03-29T04:38:28.598Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-29T04:38:28.598Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-29T04:38:28.598Z] Message: update stable to v1.0.186 [2021-03-29T04:38:29.546Z] ------------------- [2021-03-29T04:38:29.546Z] experimental info: [2021-03-29T04:38:29.546Z] ------------------- [2021-03-29T04:38:29.546Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-29T04:38:29.546Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-29T04:38:29.546Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-29T04:38:29.855Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-29T04:38:29.970Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-29T04:38:30.093Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-29T04:38:30.232Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-29T04:38:30.369Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-29T04:38:30.469Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-29T04:38:30.577Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-29T04:38:30.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-29T04:38:30.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-29T04:38:30.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-29T04:38:31.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-29T04:38:31.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-29T04:38:31.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-29T04:38:31.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-29T04:38:31.445Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-29T04:38:31.547Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T04:38:31.638Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T04:38:31.741Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T04:38:31.839Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-29T04:38:31.938Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-29T04:38:32.043Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-29T04:38:32.139Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-29T04:38:32.234Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-29T04:38:32.326Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-29T04:38:32.428Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-29T04:38:32.532Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-29T04:38:32.654Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-829 [Pipeline] echo [2021-03-29T04:38:32.750Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-829 [Pipeline] echo [2021-03-29T04:38:32.886Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-829 [Pipeline] echo [2021-03-29T04:38:32.995Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 [Pipeline] echo [2021-03-29T04:38:33.098Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 15f7e56 [Pipeline] echo [2021-03-29T04:38:33.217Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-29T04:38:33.398Z] provisioning config files... [2021-03-29T04:38:33.439Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config2866347186800820436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:38:33.799Z] ---> docker-login.sh [2021-03-29T04:38:33.799Z] nexus3.edgexfoundry.org:10001 [2021-03-29T04:38:34.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:38:34.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:38:34.325Z] Configure a credential helper to remove this warning. See [2021-03-29T04:38:34.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:38:34.325Z] [2021-03-29T04:38:34.325Z] Login Succeeded [2021-03-29T04:38:34.325Z] nexus3.edgexfoundry.org:10002 [2021-03-29T04:38:34.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:38:34.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:38:34.588Z] Configure a credential helper to remove this warning. See [2021-03-29T04:38:34.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:38:34.588Z] [2021-03-29T04:38:34.588Z] Login Succeeded [2021-03-29T04:38:34.588Z] nexus3.edgexfoundry.org:10003 [2021-03-29T04:38:34.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:38:34.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:38:34.854Z] Configure a credential helper to remove this warning. See [2021-03-29T04:38:34.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:38:34.854Z] [2021-03-29T04:38:34.854Z] Login Succeeded [2021-03-29T04:38:34.854Z] nexus3.edgexfoundry.org:10004 [2021-03-29T04:38:34.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:38:35.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:38:35.117Z] Configure a credential helper to remove this warning. See [2021-03-29T04:38:35.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:38:35.117Z] [2021-03-29T04:38:35.117Z] Login Succeeded [2021-03-29T04:38:35.117Z] docker.io [2021-03-29T04:38:35.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:38:35.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:38:35.381Z] Configure a credential helper to remove this warning. See [2021-03-29T04:38:35.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:38:35.381Z] [2021-03-29T04:38:35.381Z] Login Succeeded [2021-03-29T04:38:35.381Z] ---> docker-login.sh ends [Pipeline] } [2021-03-29T04:38:35.393Z] 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-03-29T04:38:36.217Z] + git log --format=format:%s -1 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 [Pipeline] echo [2021-03-29T04:38:36.326Z] GIT_COMMIT: 15f7e56aedbf3b609d0b9edf55d565b25ab7add9, Commit Message: build: update build files to support zmq dependency [Pipeline] echo [2021-03-29T04:38:36.376Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:38:37.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T04:38:37.350Z] [2021-03-29T04:38:37.350Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:38:37.700Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T04:38:37.700Z] latest: Pulling from edgex-devops/git-semver [2021-03-29T04:38:37.700Z] 31603596830f: Pulling fs layer [2021-03-29T04:38:37.700Z] 2a8b12db71e7: Pulling fs layer [2021-03-29T04:38:37.700Z] 6ca5941a6612: Pulling fs layer [2021-03-29T04:38:37.700Z] ecc8261a40a4: Pulling fs layer [2021-03-29T04:38:37.700Z] ecc8261a40a4: Waiting [2021-03-29T04:38:37.700Z] 2a8b12db71e7: Download complete [2021-03-29T04:38:37.964Z] 31603596830f: Verifying Checksum [2021-03-29T04:38:37.964Z] 31603596830f: Download complete [2021-03-29T04:38:37.964Z] ecc8261a40a4: Verifying Checksum [2021-03-29T04:38:37.964Z] ecc8261a40a4: Download complete [2021-03-29T04:38:37.964Z] 6ca5941a6612: Verifying Checksum [2021-03-29T04:38:37.964Z] 6ca5941a6612: Download complete [2021-03-29T04:38:38.227Z] 31603596830f: Pull complete [2021-03-29T04:38:38.493Z] 2a8b12db71e7: Pull complete [2021-03-29T04:38:39.462Z] 6ca5941a6612: Pull complete [2021-03-29T04:38:39.725Z] ecc8261a40a4: Pull complete [2021-03-29T04:38:39.725Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-29T04:38:39.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T04:38:39.725Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-29T04:38:39.841Z] prd-centos7-docker-4c-2g-31661 does not seem to be running inside a container [2021-03-29T04:38:39.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-829 -v /w/workspace/dgexfoundry_device-sdk-go_PR-829:/w/workspace/dgexfoundry_device-sdk-go_PR-829:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-29T04:38:42.260Z] $ docker top a89ad49ea9e66233becedaae7eeaa55e8b4f1712c4ab0ecd4b4ccce4f04f4410 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-29T04:38:42.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-29T04:38:42.701Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-29T04:38:42.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-29T04:38:42.974Z] $ docker exec a89ad49ea9e66233becedaae7eeaa55e8b4f1712c4ab0ecd4b4ccce4f04f4410 ssh-agent [2021-03-29T04:38:43.163Z] SSH_AUTH_SOCK=/tmp/ssh-ldGEcYMEaSF0/agent.12 [2021-03-29T04:38:43.163Z] SSH_AGENT_PID=18 [2021-03-29T04:38:43.182Z] Running ssh-add (command line suppressed) [2021-03-29T04:38:43.307Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_7999046643086575076.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_7999046643086575076.key) [2021-03-29T04:38:43.370Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-29T04:38:43.711Z] + git tag --points-at HEAD [Pipeline] } [2021-03-29T04:38:43.731Z] $ docker exec --env ******** --env ******** a89ad49ea9e66233becedaae7eeaa55e8b4f1712c4ab0ecd4b4ccce4f04f4410 ssh-agent -k [2021-03-29T04:38:43.850Z] unset SSH_AUTH_SOCK; [2021-03-29T04:38:43.850Z] unset SSH_AGENT_PID; [2021-03-29T04:38:43.850Z] echo Agent pid 18 killed; [2021-03-29T04:38:43.909Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-29T04:38:44.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-29T04:38:44.051Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-29T04:38:44.243Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-29T04:38:44.245Z] $ docker exec a89ad49ea9e66233becedaae7eeaa55e8b4f1712c4ab0ecd4b4ccce4f04f4410 ssh-agent [2021-03-29T04:38:44.438Z] SSH_AUTH_SOCK=/tmp/ssh-ME84wQ3FY5B0/agent.47 [2021-03-29T04:38:44.438Z] SSH_AGENT_PID=53 [2021-03-29T04:38:44.446Z] Running ssh-add (command line suppressed) [2021-03-29T04:38:44.566Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_2463637557537745110.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_2463637557537745110.key) [2021-03-29T04:38:44.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-29T04:38:44.971Z] + git semver init [2021-03-29T04:38:44.971Z] # -> Open(): unable to determine branch for HEAD [2021-03-29T04:38:44.971Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.git [2021-03-29T04:38:44.971Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-829 [2021-03-29T04:38:44.971Z] # $SEMVER_REMOTE_NAME = origin [2021-03-29T04:38:44.971Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-29T04:38:44.971Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-29T04:38:44.971Z] # $SEMVER_BRANCH = PR-829 [2021-03-29T04:38:44.971Z] # $SEMVER_TEMP = /tmp/semver-319867412 [2021-03-29T04:38:44.971Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-29T04:38:45.917Z] # '/tmp/semver-319867412' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver' [2021-03-29T04:38:45.917Z] # -> Force: false [2021-03-29T04:38:45.917Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver [Pipeline] } [2021-03-29T04:38:45.926Z] $ docker exec --env ******** --env ******** a89ad49ea9e66233becedaae7eeaa55e8b4f1712c4ab0ecd4b4ccce4f04f4410 ssh-agent -k [2021-03-29T04:38:46.046Z] unset SSH_AUTH_SOCK; [2021-03-29T04:38:46.046Z] unset SSH_AGENT_PID; [2021-03-29T04:38:46.047Z] echo Agent pid 53 killed; [2021-03-29T04:38:46.107Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-29T04:38:46.573Z] + git semver [Pipeline] } [2021-03-29T04:38:46.588Z] $ docker stop --time=1 a89ad49ea9e66233becedaae7eeaa55e8b4f1712c4ab0ecd4b4ccce4f04f4410 [2021-03-29T04:38:48.140Z] $ docker rm -f a89ad49ea9e66233becedaae7eeaa55e8b4f1712c4ab0ecd4b4ccce4f04f4410 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-29T04:38:48.628Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-29T04:38:49.029Z] Stashed 1 file(s) [Pipeline] echo [2021-03-29T04:38:49.032Z] [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-03-29T04:39:04.532Z] Still waiting to schedule task [2021-03-29T04:39:04.533Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-31661’ [2021-03-29T04:39:04.535Z] Still waiting to schedule task [2021-03-29T04:39:04.535Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-29T04:40:52.522Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31662 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws [2021-03-29T04:40:52.581Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-03-29T04:40:57.925Z] using credential edgex-jenkins-ssh [2021-03-29T04:40:57.989Z] Cloning the remote Git repository [2021-03-29T04:40:58.036Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-29T04:40:58.150Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2021-03-29T04:40:58.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-29T04:40:58.230Z] > git --version # timeout=10 [2021-03-29T04:40:58.254Z] > git --version # 'git version 2.17.1' [2021-03-29T04:40:58.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T04:40:58.351Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T04:41:00.115Z] Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 [2021-03-29T04:40:59.416Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-29T04:40:59.432Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T04:40:59.459Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-29T04:40:59.496Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-29T04:40:59.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T04:40:59.509Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/829/head:refs/remotes/origin/PR-829 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-29T04:41:00.123Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T04:41:00.149Z] > git checkout -f 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 # timeout=10 [2021-03-29T04:41:00.420Z] Merge succeeded, producing 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 [2021-03-29T04:41:00.420Z] Checking out Revision 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 (PR-829) [2021-03-29T04:41:00.252Z] > git remote # timeout=10 [2021-03-29T04:41:00.274Z] > git config --get remote.origin.url # timeout=10 [2021-03-29T04:41:00.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T04:41:00.305Z] > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 [2021-03-29T04:41:00.328Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-29T04:41:00.419Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T04:41:00.463Z] > git checkout -f 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 # timeout=10 [2021-03-29T04:41:04.869Z] Commit message: "build: update build files to support zmq dependency" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-29T04:41:06.653Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-29T04:41:07.078Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-29T04:41:07.480Z] + sudo service docker restart [2021-03-29T04:41:07.480Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-29T04:41:09.550Z] provisioning config files... [2021-03-29T04:41:09.618Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config3409100666772053224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:41:10.028Z] ---> docker-login.sh [2021-03-29T04:41:10.028Z] nexus3.edgexfoundry.org:10001 [2021-03-29T04:41:11.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:41:11.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:41:11.611Z] Configure a credential helper to remove this warning. See [2021-03-29T04:41:11.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:41:11.611Z] [2021-03-29T04:41:11.611Z] Login Succeeded [2021-03-29T04:41:11.611Z] nexus3.edgexfoundry.org:10002 [2021-03-29T04:41:11.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:41:11.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:41:11.884Z] Configure a credential helper to remove this warning. See [2021-03-29T04:41:11.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:41:11.884Z] [2021-03-29T04:41:11.884Z] Login Succeeded [2021-03-29T04:41:11.884Z] nexus3.edgexfoundry.org:10003 [2021-03-29T04:41:12.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:41:12.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:41:12.484Z] Configure a credential helper to remove this warning. See [2021-03-29T04:41:12.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:41:12.484Z] [2021-03-29T04:41:12.484Z] Login Succeeded [2021-03-29T04:41:12.484Z] nexus3.edgexfoundry.org:10004 [2021-03-29T04:41:13.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:41:13.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:41:13.099Z] Configure a credential helper to remove this warning. See [2021-03-29T04:41:13.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:41:13.099Z] [2021-03-29T04:41:13.099Z] Login Succeeded [2021-03-29T04:41:13.099Z] docker.io [2021-03-29T04:41:13.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:41:13.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:41:13.971Z] Configure a credential helper to remove this warning. See [2021-03-29T04:41:13.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:41:13.971Z] [2021-03-29T04:41:13.971Z] Login Succeeded [2021-03-29T04:41:13.971Z] ---> docker-login.sh ends [Pipeline] } [2021-03-29T04:41:13.988Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-29T04:41:14.534Z] ========================================================= [2021-03-29T04:41:14.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-29T04:41:14.534Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:41:14.927Z] + 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-03-29T04:41:15.534Z] Sending build context to Docker daemon 2.419MB [2021-03-29T04:41:15.534Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-29T04:41:15.534Z] Step 2/8 : FROM ${BASE} [2021-03-29T04:41:15.534Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-29T04:41:15.534Z] 5f621e34cdf4: Pulling fs layer [2021-03-29T04:41:15.534Z] a4357932f1b6: Pulling fs layer [2021-03-29T04:41:15.534Z] 18c013af1878: Pulling fs layer [2021-03-29T04:41:15.534Z] 00ac8860ef70: Pulling fs layer [2021-03-29T04:41:15.534Z] 63d7cb157983: Pulling fs layer [2021-03-29T04:41:15.534Z] b116817d02f9: Pulling fs layer [2021-03-29T04:41:15.534Z] 745a02a5169b: Pulling fs layer [2021-03-29T04:41:15.534Z] 63d7cb157983: Waiting [2021-03-29T04:41:15.534Z] b116817d02f9: Waiting [2021-03-29T04:41:15.534Z] 745a02a5169b: Waiting [2021-03-29T04:41:15.534Z] 00ac8860ef70: Waiting [2021-03-29T04:41:15.534Z] 18c013af1878: Verifying Checksum [2021-03-29T04:41:15.534Z] 18c013af1878: Download complete [2021-03-29T04:41:15.534Z] a4357932f1b6: Verifying Checksum [2021-03-29T04:41:15.534Z] a4357932f1b6: Download complete [2021-03-29T04:41:15.534Z] 63d7cb157983: Verifying Checksum [2021-03-29T04:41:15.534Z] 63d7cb157983: Download complete [2021-03-29T04:41:16.132Z] 5f621e34cdf4: Verifying Checksum [2021-03-29T04:41:16.132Z] b116817d02f9: Verifying Checksum [2021-03-29T04:41:16.132Z] b116817d02f9: Download complete [2021-03-29T04:41:17.118Z] 5f621e34cdf4: Pull complete [2021-03-29T04:41:17.714Z] a4357932f1b6: Pull complete [2021-03-29T04:41:17.987Z] 18c013af1878: Pull complete [2021-03-29T04:41:18.260Z] 745a02a5169b: Verifying Checksum [2021-03-29T04:41:18.260Z] 745a02a5169b: Download complete [2021-03-29T04:41:19.244Z] 00ac8860ef70: Verifying Checksum [2021-03-29T04:41:19.244Z] 00ac8860ef70: Download complete [2021-03-29T04:41:29.409Z] 00ac8860ef70: Pull complete [2021-03-29T04:41:29.409Z] 63d7cb157983: Pull complete [2021-03-29T04:41:29.409Z] b116817d02f9: Pull complete [2021-03-29T04:41:32.796Z] 745a02a5169b: Pull complete [2021-03-29T04:41:32.796Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-29T04:41:32.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-29T04:41:32.796Z] ---> b7e6874047d6 [2021-03-29T04:41:32.796Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-29T04:41:35.430Z] ---> Running in 118cca1c8d3b [2021-03-29T04:41:35.717Z] Removing intermediate container 118cca1c8d3b [2021-03-29T04:41:35.717Z] ---> 421f867a0dc7 [2021-03-29T04:41:35.717Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-29T04:41:35.717Z] ---> Running in 9be30a21a1e0 [2021-03-29T04:41:36.267Z] Running on prd-centos7-docker-4c-2g-31663 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws [2021-03-29T04:41:36.324Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2021-03-29T04:41:38.443Z] Removing intermediate container 9be30a21a1e0 [2021-03-29T04:41:38.443Z] ---> d0767ed20928 [2021-03-29T04:41:38.443Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-29T04:41:38.443Z] ---> Running in c917331dbc5a [2021-03-29T04:41:38.990Z] using credential edgex-jenkins-ssh [2021-03-29T04:41:39.059Z] Cloning the remote Git repository [2021-03-29T04:41:39.431Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-29T04:41:38.697Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-29T04:41:38.773Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2021-03-29T04:41:38.860Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-29T04:41:38.861Z] > git --version # timeout=10 [2021-03-29T04:41:38.868Z] > git --version # 'git version 2.24.3' [2021-03-29T04:41:38.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T04:41:38.899Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T04:41:40.031Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-29T04:41:40.518Z] Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 [2021-03-29T04:41:40.618Z] Merge succeeded, producing 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 [2021-03-29T04:41:40.619Z] Checking out Revision 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 (PR-829) [2021-03-29T04:41:39.684Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-29T04:41:39.696Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T04:41:39.710Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-29T04:41:39.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-29T04:41:39.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T04:41:39.740Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/829/head:refs/remotes/origin/PR-829 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-29T04:41:40.259Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T04:41:40.265Z] > git checkout -f 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 # timeout=10 [2021-03-29T04:41:40.318Z] > git remote # timeout=10 [2021-03-29T04:41:40.324Z] > git config --get remote.origin.url # timeout=10 [2021-03-29T04:41:40.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T04:41:40.336Z] > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 [2021-03-29T04:41:40.348Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-29T04:41:40.361Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T04:41:40.367Z] > git checkout -f 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 # timeout=10 [2021-03-29T04:41:41.003Z] OK: 142 MiB in 39 packages [2021-03-29T04:41:41.985Z] Removing intermediate container c917331dbc5a [2021-03-29T04:41:41.985Z] ---> d54a1be2d886 [2021-03-29T04:41:41.985Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-29T04:41:41.985Z] ---> Running in 28c802ba010a [2021-03-29T04:41:42.587Z] Removing intermediate container 28c802ba010a [2021-03-29T04:41:42.587Z] ---> 1047ec3ee0fa [2021-03-29T04:41:42.587Z] Step 7/8 : COPY . . [2021-03-29T04:41:44.025Z] ---> 1d2f31b1ee6d [2021-03-29T04:41:44.025Z] Step 8/8 : RUN go mod download [2021-03-29T04:41:44.025Z] ---> Running in 850aa04b4d17 [2021-03-29T04:41:44.149Z] Commit message: "build: update build files to support zmq dependency" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-29T04:41:45.336Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-29T04:41:45.679Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-29T04:41:45.984Z] + sudo service docker restart [2021-03-29T04:41:45.985Z] + true [2021-03-29T04:41:45.985Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-29T04:41:47.012Z] provisioning config files... [2021-03-29T04:41:47.044Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config6438582796408827995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:41:47.416Z] ---> docker-login.sh [2021-03-29T04:41:47.416Z] nexus3.edgexfoundry.org:10001 [2021-03-29T04:41:47.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:41:47.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:41:47.681Z] Configure a credential helper to remove this warning. See [2021-03-29T04:41:47.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:41:47.681Z] [2021-03-29T04:41:47.681Z] Login Succeeded [2021-03-29T04:41:47.681Z] nexus3.edgexfoundry.org:10002 [2021-03-29T04:41:47.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:41:47.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:41:47.945Z] Configure a credential helper to remove this warning. See [2021-03-29T04:41:47.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:41:47.945Z] [2021-03-29T04:41:47.945Z] Login Succeeded [2021-03-29T04:41:47.945Z] nexus3.edgexfoundry.org:10003 [2021-03-29T04:41:48.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:41:48.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:41:48.210Z] Configure a credential helper to remove this warning. See [2021-03-29T04:41:48.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:41:48.210Z] [2021-03-29T04:41:48.210Z] Login Succeeded [2021-03-29T04:41:48.210Z] nexus3.edgexfoundry.org:10004 [2021-03-29T04:41:48.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:41:48.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:41:48.475Z] Configure a credential helper to remove this warning. See [2021-03-29T04:41:48.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:41:48.475Z] [2021-03-29T04:41:48.475Z] Login Succeeded [2021-03-29T04:41:48.475Z] docker.io [2021-03-29T04:41:48.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-29T04:41:48.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-29T04:41:48.739Z] Configure a credential helper to remove this warning. See [2021-03-29T04:41:48.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-29T04:41:48.739Z] [2021-03-29T04:41:48.739Z] Login Succeeded [2021-03-29T04:41:48.739Z] ---> docker-login.sh ends [Pipeline] } [2021-03-29T04:41:48.750Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-29T04:41:49.186Z] ========================================================= [2021-03-29T04:41:49.186Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-29T04:41:49.186Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:41:49.547Z] + 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-03-29T04:41:49.547Z] Sending build context to Docker daemon 2.42MB [2021-03-29T04:41:49.547Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-29T04:41:49.547Z] Step 2/8 : FROM ${BASE} [2021-03-29T04:41:49.823Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-29T04:41:49.823Z] 188c0c94c7c5: Pulling fs layer [2021-03-29T04:41:49.823Z] 0ef7d3d256c8: Pulling fs layer [2021-03-29T04:41:49.823Z] de9db76c5a1d: Pulling fs layer [2021-03-29T04:41:49.823Z] bca2f99d35d6: Pulling fs layer [2021-03-29T04:41:49.823Z] 93359f2a8cfa: Pulling fs layer [2021-03-29T04:41:49.823Z] 7c6f9722023f: Pulling fs layer [2021-03-29T04:41:49.823Z] a35cf1a2eb13: Pulling fs layer [2021-03-29T04:41:49.823Z] 93359f2a8cfa: Waiting [2021-03-29T04:41:49.823Z] bca2f99d35d6: Waiting [2021-03-29T04:41:49.823Z] a35cf1a2eb13: Waiting [2021-03-29T04:41:49.823Z] 7c6f9722023f: Waiting [2021-03-29T04:41:49.823Z] de9db76c5a1d: Verifying Checksum [2021-03-29T04:41:49.823Z] de9db76c5a1d: Download complete [2021-03-29T04:41:49.823Z] 0ef7d3d256c8: Verifying Checksum [2021-03-29T04:41:49.823Z] 0ef7d3d256c8: Download complete [2021-03-29T04:41:49.823Z] 93359f2a8cfa: Verifying Checksum [2021-03-29T04:41:49.823Z] 93359f2a8cfa: Download complete [2021-03-29T04:41:49.823Z] 7c6f9722023f: Verifying Checksum [2021-03-29T04:41:49.823Z] 7c6f9722023f: Download complete [2021-03-29T04:41:49.823Z] 188c0c94c7c5: Verifying Checksum [2021-03-29T04:41:49.823Z] 188c0c94c7c5: Download complete [2021-03-29T04:41:50.091Z] 188c0c94c7c5: Pull complete [2021-03-29T04:41:50.358Z] 0ef7d3d256c8: Pull complete [2021-03-29T04:41:50.623Z] de9db76c5a1d: Pull complete [2021-03-29T04:41:51.586Z] a35cf1a2eb13: Verifying Checksum [2021-03-29T04:41:51.586Z] a35cf1a2eb13: Download complete [2021-03-29T04:41:52.166Z] bca2f99d35d6: Verifying Checksum [2021-03-29T04:41:52.166Z] bca2f99d35d6: Download complete [2021-03-29T04:41:58.954Z] bca2f99d35d6: Pull complete [2021-03-29T04:41:58.954Z] 93359f2a8cfa: Pull complete [2021-03-29T04:41:58.954Z] 7c6f9722023f: Pull complete [2021-03-29T04:42:02.296Z] a35cf1a2eb13: Pull complete [2021-03-29T04:42:02.296Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-29T04:42:02.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-29T04:42:02.296Z] ---> a62c8e92a672 [2021-03-29T04:42:02.296Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-29T04:42:02.562Z] ---> Running in e5d4d777d5d3 [2021-03-29T04:42:02.829Z] Removing intermediate container e5d4d777d5d3 [2021-03-29T04:42:02.829Z] ---> e3e122d544ad [2021-03-29T04:42:02.829Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-29T04:42:02.829Z] ---> Running in e91b7a7b4b9f [2021-03-29T04:42:04.228Z] Removing intermediate container e91b7a7b4b9f [2021-03-29T04:42:04.228Z] ---> 983eb6b6b5f0 [2021-03-29T04:42:04.228Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-29T04:42:04.228Z] ---> Running in 376b18215c01 [2021-03-29T04:42:05.183Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-29T04:42:05.760Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-29T04:42:06.337Z] OK: 166 MiB in 39 packages [2021-03-29T04:42:06.915Z] Removing intermediate container 376b18215c01 [2021-03-29T04:42:06.915Z] ---> 668d66ffdb43 [2021-03-29T04:42:06.915Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-29T04:42:06.915Z] ---> Running in be61045e43b4 [2021-03-29T04:42:06.915Z] Removing intermediate container be61045e43b4 [2021-03-29T04:42:06.915Z] ---> 1e7e93c99c50 [2021-03-29T04:42:06.915Z] Step 7/8 : COPY . . [2021-03-29T04:42:08.311Z] ---> 8cf42cc6d698 [2021-03-29T04:42:08.311Z] Step 8/8 : RUN go mod download [2021-03-29T04:42:08.311Z] ---> Running in 17b3af475e41 [2021-03-29T04:42:10.820Z] Removing intermediate container 850aa04b4d17 [2021-03-29T04:42:10.820Z] ---> a83120da3e32 [2021-03-29T04:42:11.102Z] Successfully built a83120da3e32 [2021-03-29T04:42:11.102Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:42:11.453Z] + docker inspect -f . ci-base-image-arm64 [2021-03-29T04:42:11.453Z] . [Pipeline] withDockerContainer [2021-03-29T04:42:11.707Z] prd-ubuntu18.04-docker-arm64-4c-16g-31662 does not seem to be running inside a container [2021-03-29T04:42:11.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-29T04:42:13.268Z] $ docker top 14626c473c6b2295a4a47d69a694f06785cd594d6a801faa4148efd6c7b59f49 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T04:42:14.309Z] + go version [2021-03-29T04:42:14.310Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-29T04:42:14.338Z] $ docker stop --time=1 14626c473c6b2295a4a47d69a694f06785cd594d6a801faa4148efd6c7b59f49 [2021-03-29T04:42:16.326Z] $ docker rm -f 14626c473c6b2295a4a47d69a694f06785cd594d6a801faa4148efd6c7b59f49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:42:17.342Z] + docker inspect -f . ci-base-image-arm64 [2021-03-29T04:42:17.342Z] . [Pipeline] withDockerContainer [2021-03-29T04:42:17.606Z] prd-ubuntu18.04-docker-arm64-4c-16g-31662 does not seem to be running inside a container [2021-03-29T04:42:17.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-29T04:42:19.195Z] $ docker top c9de22b82bc913e2747e30c62dca3738d8cd092390d34b37c467aaefd1ba080f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T04:42:20.219Z] + make test [2021-03-29T04:42:20.219Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-29T04:42:30.355Z] Removing intermediate container 17b3af475e41 [2021-03-29T04:42:30.355Z] ---> 9cb1979cc06a [2021-03-29T04:42:30.355Z] Successfully built 9cb1979cc06a [2021-03-29T04:42:30.355Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:42:30.692Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-29T04:42:30.692Z] . [Pipeline] withDockerContainer [2021-03-29T04:42:31.043Z] prd-centos7-docker-4c-2g-31663 does not seem to be running inside a container [2021-03-29T04:42:31.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-29T04:42:32.161Z] $ docker top 76e81c055965b6438b600f15e5a114ff2e284ea075884339e37b33ff4ca2170f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T04:42:32.645Z] + go version [2021-03-29T04:42:32.645Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-29T04:42:32.659Z] $ docker stop --time=1 76e81c055965b6438b600f15e5a114ff2e284ea075884339e37b33ff4ca2170f [2021-03-29T04:42:34.003Z] $ docker rm -f 76e81c055965b6438b600f15e5a114ff2e284ea075884339e37b33ff4ca2170f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:42:34.804Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-29T04:42:34.805Z] . [Pipeline] withDockerContainer [2021-03-29T04:42:34.904Z] prd-centos7-docker-4c-2g-31663 does not seem to be running inside a container [2021-03-29T04:42:34.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-29T04:42:35.544Z] $ docker top 9c1df1ed43c89ed0af9998067ca6c590f1df63ef7d24e95ce51cdbe738887cf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T04:42:36.041Z] + make test [2021-03-29T04:42:36.041Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-29T04:42:42.408Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-29T04:42:44.248Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-29T04:42:48.521Z] # pkg-config --cflags -- libzmq [2021-03-29T04:42:48.521Z] pkg-config: exec: "pkg-config": executable file not found in $PATH [2021-03-29T04:42:52.620Z] # pkg-config --cflags -- libzmq [2021-03-29T04:42:52.620Z] pkg-config: exec: "pkg-config": executable file not found in $PATH [2021-03-29T04:43:06.758Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] [2021-03-29T04:43:06.758Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] [2021-03-29T04:43:06.758Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/clients [build failed] [2021-03-29T04:43:06.758Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] [2021-03-29T04:43:06.758Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] [2021-03-29T04:43:06.758Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.196s coverage: 6.6% of statements [2021-03-29T04:43:06.758Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2021-03-29T04:43:06.758Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-03-29T04:43:06.779Z] $ docker stop --time=1 9c1df1ed43c89ed0af9998067ca6c590f1df63ef7d24e95ce51cdbe738887cf7 [2021-03-29T04:43:08.693Z] $ docker rm -f 9c1df1ed43c89ed0af9998067ca6c590f1df63ef7d24e95ce51cdbe738887cf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:43:10.349Z] ---> job-cost.sh [2021-03-29T04:43:10.350Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ppm9 [2021-03-29T04:43:25.299Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-29T04:43:31.687Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] [2021-03-29T04:43:31.688Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] [2021-03-29T04:43:31.688Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/clients [build failed] [2021-03-29T04:43:31.688Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] [2021-03-29T04:43:31.688Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] [2021-03-29T04:43:34.291Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.803s coverage: 6.6% of statements [2021-03-29T04:43:34.291Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2021-03-29T04:43:34.562Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-03-29T04:43:34.594Z] $ docker stop --time=1 c9de22b82bc913e2747e30c62dca3738d8cd092390d34b37c467aaefd1ba080f [2021-03-29T04:43:37.031Z] $ docker rm -f c9de22b82bc913e2747e30c62dca3738d8cd092390d34b37c467aaefd1ba080f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:43:38.602Z] ---> job-cost.sh [2021-03-29T04:43:38.602Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-32cY [2021-03-29T04:43:57.484Z] lf-activate-venv(): INFO: Adding /tmp/venv-ppm9/bin to PATH [2021-03-29T04:43:57.484Z] INFO: No Stack... [2021-03-29T04:43:57.484Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-29T04:43:57.484Z] INFO: Archiving Costs [Pipeline] sh [2021-03-29T04:43:57.794Z] + cat /w/workspace/device-sdk-go/8/archives/cost.csv [2021-03-29T04:43:57.794Z] + cut -d, -f6 [Pipeline] lock [2021-03-29T04:43:57.869Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-8-stack-cost] [2021-03-29T04:43:57.882Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-8-stack-cost] did not exist. Created. [2021-03-29T04:43:57.882Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-29T04:43:58.291Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-29T04:43:58.785Z] Stashed 1 file(s) [Pipeline] } [2021-03-29T04:43:58.797Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-8-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-29T04:43:59.434Z] Failed in branch amd64 [2021-03-29T04:44:18.032Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-29T04:45:54.798Z] lf-activate-venv(): INFO: Adding /tmp/venv-32cY/bin to PATH [2021-03-29T04:45:54.798Z] INFO: No Stack... [2021-03-29T04:45:54.798Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-29T04:45:54.798Z] INFO: Archiving Costs [Pipeline] sh [2021-03-29T04:45:55.159Z] + cat /w/workspace/device-sdk-go/8/archives/cost.csv [2021-03-29T04:45:55.159Z] + cut -d, -f6 [Pipeline] lock [2021-03-29T04:45:55.293Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-8-stack-cost] [2021-03-29T04:45:55.301Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-8-stack-cost] did not exist. Created. [2021-03-29T04:45:55.302Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-29T04:45:55.774Z] /w/workspace/device-sdk-go/8@tmp/durable-84d70a5b/script.sh: 1: /w/workspace/device-sdk-go/8@tmp/durable-84d70a5b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-29T04:45:56.141Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-29T04:45:56.219Z] Warning: overwriting stash ‘stack-cost’ [2021-03-29T04:45:57.161Z] Stashed 1 file(s) [Pipeline] } [2021-03-29T04:45:57.193Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-8-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-29T04:45:57.906Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:46:00.668Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:46:01.249Z] ---> package-listing.sh [2021-03-29T04:46:01.250Z] ++ facter osfamily [2021-03-29T04:46:01.250Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-29T04:46:01.250Z] + OS_FAMILY=redhat [2021-03-29T04:46:01.250Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-829 [2021-03-29T04:46:01.250Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-29T04:46:01.250Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-29T04:46:01.250Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-29T04:46:01.250Z] + PACKAGES=/tmp/packages_start.txt [2021-03-29T04:46:01.250Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' [2021-03-29T04:46:01.250Z] + PACKAGES=/tmp/packages_end.txt [2021-03-29T04:46:01.250Z] + case "${OS_FAMILY}" in [2021-03-29T04:46:01.250Z] + rpm -qa [2021-03-29T04:46:01.250Z] + sort [2021-03-29T04:46:06.591Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-29T04:46:06.591Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-29T04:46:06.591Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-29T04:46:06.591Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' [2021-03-29T04:46:06.591Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-829/archives/ [2021-03-29T04:46:06.591Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-829/archives/ [Pipeline] echo [2021-03-29T04:46:06.609Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-829/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-29T04:46:06.918Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:46:07.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T04:46:07.236Z] [2021-03-29T04:46:07.236Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-29T04:46:07.608Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T04:46:07.608Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-29T04:46:07.608Z] df20fa9351a1: Pulling fs layer [2021-03-29T04:46:07.608Z] 36b3adc4ff6f: Pulling fs layer [2021-03-29T04:46:07.608Z] 8ad3a11d3b57: Pulling fs layer [2021-03-29T04:46:07.608Z] 46f8f816bc3b: Pulling fs layer [2021-03-29T04:46:07.608Z] 93b61091891f: Pulling fs layer [2021-03-29T04:46:07.608Z] 93b9cdb0e59b: Pulling fs layer [2021-03-29T04:46:07.608Z] 5e14af77c1be: Pulling fs layer [2021-03-29T04:46:07.608Z] 01666e4c0597: Pulling fs layer [2021-03-29T04:46:07.608Z] aa168da1d23b: Pulling fs layer [2021-03-29T04:46:07.608Z] 46f8f816bc3b: Waiting [2021-03-29T04:46:07.608Z] 93b61091891f: Waiting [2021-03-29T04:46:07.608Z] 93b9cdb0e59b: Waiting [2021-03-29T04:46:07.608Z] 5e14af77c1be: Waiting [2021-03-29T04:46:07.608Z] 01666e4c0597: Waiting [2021-03-29T04:46:07.608Z] aa168da1d23b: Waiting [2021-03-29T04:46:07.608Z] 36b3adc4ff6f: Verifying Checksum [2021-03-29T04:46:07.608Z] 36b3adc4ff6f: Download complete [2021-03-29T04:46:07.608Z] 46f8f816bc3b: Verifying Checksum [2021-03-29T04:46:07.608Z] 46f8f816bc3b: Download complete [2021-03-29T04:46:07.874Z] df20fa9351a1: Verifying Checksum [2021-03-29T04:46:07.874Z] df20fa9351a1: Download complete [2021-03-29T04:46:07.874Z] 93b9cdb0e59b: Verifying Checksum [2021-03-29T04:46:07.874Z] 93b9cdb0e59b: Download complete [2021-03-29T04:46:07.874Z] 5e14af77c1be: Verifying Checksum [2021-03-29T04:46:07.874Z] 5e14af77c1be: Download complete [2021-03-29T04:46:07.874Z] 93b61091891f: Download complete [2021-03-29T04:46:07.874Z] 01666e4c0597: Verifying Checksum [2021-03-29T04:46:07.874Z] 01666e4c0597: Download complete [2021-03-29T04:46:08.142Z] 8ad3a11d3b57: Verifying Checksum [2021-03-29T04:46:08.142Z] 8ad3a11d3b57: Download complete [2021-03-29T04:46:08.142Z] df20fa9351a1: Pull complete [2021-03-29T04:46:08.409Z] 36b3adc4ff6f: Pull complete [2021-03-29T04:46:09.370Z] 8ad3a11d3b57: Pull complete [2021-03-29T04:46:09.640Z] 46f8f816bc3b: Pull complete [2021-03-29T04:46:09.905Z] 93b61091891f: Pull complete [2021-03-29T04:46:10.171Z] 93b9cdb0e59b: Pull complete [2021-03-29T04:46:10.171Z] aa168da1d23b: Verifying Checksum [2021-03-29T04:46:10.171Z] aa168da1d23b: Download complete [2021-03-29T04:46:10.171Z] 5e14af77c1be: Pull complete [2021-03-29T04:46:10.439Z] 01666e4c0597: Pull complete [2021-03-29T04:46:17.102Z] aa168da1d23b: Pull complete [2021-03-29T04:46:17.102Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-29T04:46:17.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T04:46:17.103Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-29T04:46:17.270Z] prd-centos7-docker-4c-2g-31661 does not seem to be running inside a container [2021-03-29T04:46:17.329Z] $ 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-829/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-829 -v /w/workspace/dgexfoundry_device-sdk-go_PR-829:/w/workspace/dgexfoundry_device-sdk-go_PR-829:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-29T04:46:21.492Z] $ docker top 0c99215cefed260eb1daa734d6bd75c23bd43d1d15ad25e09f84d8abb11bb238 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T04:46:22.091Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-29T04:46:22.404Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-29T04:46:22.716Z] + ls /var/log/sa-host [2021-03-29T04:46:22.716Z] + sadf -c /var/log/sa-host/sa23 [2021-03-29T04:46:22.716Z] file_magic: OK [2021-03-29T04:46:22.716Z] HZ: Using current value: 100 [2021-03-29T04:46:22.716Z] file_header: OK [2021-03-29T04:46:22.716Z] 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-03-29T04:46:22.716Z] Statistics: [2021-03-29T04:46:22.716Z] Hnuu...uuuununununu... [2021-03-29T04:46:22.716Z] File successfully converted to sysstat format version 12.2.1 [2021-03-29T04:46:22.716Z] + sadf -c /var/log/sa-host/sa29 [2021-03-29T04:46:22.716Z] file_magic: OK [2021-03-29T04:46:22.716Z] HZ: Using current value: 100 [2021-03-29T04:46:22.716Z] file_header: OK [2021-03-29T04:46:22.716Z] 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-03-29T04:46:22.716Z] Statistics: [2021-03-29T04:46:22.716Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-29T04:46:22.716Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-29T04:46:23.580Z] provisioning config files... [2021-03-29T04:46:23.599Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config8226842075278583463tmp [Pipeline] { [Pipeline] echo [2021-03-29T04:46:23.673Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:46:23.973Z] ---> create-netrc.sh [Pipeline] } [2021-03-29T04:46:23.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-29T04:46:24.086Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:46:24.390Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-29T04:46:24.403Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:46:24.709Z] ---> sudo-logs.sh [2021-03-29T04:46:24.709Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-29T04:46:24.816Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:46:25.121Z] ---> job-cost.sh [2021-03-29T04:46:25.121Z] lf-activate-venv: SKIPPING [2021-03-29T04:46:25.121Z] DEBUG: total: 0.20999999344348907 [2021-03-29T04:46:25.121Z] INFO: Retrieving Stack Cost... [2021-03-29T04:46:26.071Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-29T04:46:26.648Z] INFO: Archiving Costs [Pipeline] echo [2021-03-29T04:46:26.664Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T04:46:26.968Z] ---> logs-deploy.sh [2021-03-29T04:46:26.968Z] lf-activate-venv: SKIPPING [2021-03-29T04:46:26.968Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-829/8 [2021-03-29T04:46:26.968Z] INFO: archiving workspace using pattern(s): [2021-03-29T04:46:28.894Z] Archives upload complete. [2021-03-29T04:46:28.894Z] INFO: archiving logs to Nexus