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 26a4423d655cc358e7d0c344981c50fea279f837+e522836f5d508ce20413c5d2a08a926bd2b9771b (76bc8449543983a463e1a2b3f1963bdfe1f0a72a) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-31035 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 > 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 Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit 26a4423d655cc358e7d0c344981c50fea279f837 Merge succeeded, producing 26a4423d655cc358e7d0c344981c50fea279f837 Checking out Revision 26a4423d655cc358e7d0c344981c50fea279f837 (PR-829) > git config core.sparsecheckout # timeout=10 > git checkout -f 26a4423d655cc358e7d0c344981c50fea279f837 # 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 e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26a4423d655cc358e7d0c344981c50fea279f837 # timeout=10 Commit message: "feat: update example configuration to support MessageBus" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk cadaea56585132e784a1aefdf477bc5eab11db4e # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-23T06:37:10.234Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-23T06:37:10.590Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-23T06:37:10.693Z] ========================================================= [2021-03-23T06:37:10.693Z] EdgeX Global Pipelines Version Info [2021-03-23T06:37:10.693Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:37:12.191Z] ------------------- [2021-03-23T06:37:12.192Z] stable info: [2021-03-23T06:37:12.192Z] ------------------- [2021-03-23T06:37:12.192Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-23T06:37:12.192Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-23T06:37:12.192Z] Message: update stable to v1.0.186 [2021-03-23T06:37:13.140Z] ------------------- [2021-03-23T06:37:13.140Z] experimental info: [2021-03-23T06:37:13.140Z] ------------------- [2021-03-23T06:37:13.140Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-23T06:37:13.140Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-23T06:37:13.140Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-23T06:37:13.421Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-23T06:37:13.531Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-23T06:37:13.626Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-23T06:37:13.726Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-23T06:37:13.818Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-23T06:37:13.912Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-23T06:37:14.006Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-23T06:37:14.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-23T06:37:14.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-23T06:37:14.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-23T06:37:14.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-23T06:37:14.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-23T06:37:14.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-23T06:37:14.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-23T06:37:14.762Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-23T06:37:14.853Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-23T06:37:14.949Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-23T06:37:15.046Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-23T06:37:15.135Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-23T06:37:15.242Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-23T06:37:15.341Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-23T06:37:15.439Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-23T06:37:15.533Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-23T06:37:15.667Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-23T06:37:15.759Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-23T06:37:15.874Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-23T06:37:15.963Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-829 [Pipeline] echo [2021-03-23T06:37:16.049Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-829 [Pipeline] echo [2021-03-23T06:37:16.135Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-829 [Pipeline] echo [2021-03-23T06:37:16.223Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26a4423d655cc358e7d0c344981c50fea279f837 [Pipeline] echo [2021-03-23T06:37:16.313Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26a4423 [Pipeline] echo [2021-03-23T06:37:16.413Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-23T06:37:16.585Z] provisioning config files... [2021-03-23T06:37:16.613Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config585657909984714808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:37:16.975Z] ---> docker-login.sh [2021-03-23T06:37:16.975Z] nexus3.edgexfoundry.org:10001 [2021-03-23T06:37:17.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:37:17.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:37:17.505Z] Configure a credential helper to remove this warning. See [2021-03-23T06:37:17.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:37:17.505Z] [2021-03-23T06:37:17.505Z] Login Succeeded [2021-03-23T06:37:17.505Z] nexus3.edgexfoundry.org:10002 [2021-03-23T06:37:17.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:37:17.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:37:17.769Z] Configure a credential helper to remove this warning. See [2021-03-23T06:37:17.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:37:17.769Z] [2021-03-23T06:37:17.769Z] Login Succeeded [2021-03-23T06:37:17.769Z] nexus3.edgexfoundry.org:10003 [2021-03-23T06:37:18.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:37:18.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:37:18.033Z] Configure a credential helper to remove this warning. See [2021-03-23T06:37:18.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:37:18.033Z] [2021-03-23T06:37:18.033Z] Login Succeeded [2021-03-23T06:37:18.033Z] nexus3.edgexfoundry.org:10004 [2021-03-23T06:37:18.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:37:18.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:37:18.298Z] Configure a credential helper to remove this warning. See [2021-03-23T06:37:18.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:37:18.298Z] [2021-03-23T06:37:18.298Z] Login Succeeded [2021-03-23T06:37:18.298Z] docker.io [2021-03-23T06:37:18.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:37:18.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:37:18.563Z] Configure a credential helper to remove this warning. See [2021-03-23T06:37:18.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:37:18.563Z] [2021-03-23T06:37:18.563Z] Login Succeeded [2021-03-23T06:37:18.563Z] ---> docker-login.sh ends [Pipeline] } [2021-03-23T06:37:18.574Z] 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-23T06:37:19.388Z] + git log --format=format:%s -1 26a4423d655cc358e7d0c344981c50fea279f837 [Pipeline] echo [2021-03-23T06:37:19.466Z] GIT_COMMIT: 26a4423d655cc358e7d0c344981c50fea279f837, Commit Message: feat: update example configuration to support MessageBus [Pipeline] echo [2021-03-23T06:37:19.510Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:37:20.474Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T06:37:20.474Z] [2021-03-23T06:37:20.474Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:37:20.837Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T06:37:20.837Z] latest: Pulling from edgex-devops/git-semver [2021-03-23T06:37:20.837Z] 31603596830f: Pulling fs layer [2021-03-23T06:37:20.837Z] 2a8b12db71e7: Pulling fs layer [2021-03-23T06:37:20.837Z] 6ca5941a6612: Pulling fs layer [2021-03-23T06:37:20.837Z] ecc8261a40a4: Pulling fs layer [2021-03-23T06:37:20.837Z] ecc8261a40a4: Waiting [2021-03-23T06:37:20.837Z] 2a8b12db71e7: Verifying Checksum [2021-03-23T06:37:20.837Z] 2a8b12db71e7: Download complete [2021-03-23T06:37:20.837Z] 31603596830f: Download complete [2021-03-23T06:37:21.103Z] ecc8261a40a4: Verifying Checksum [2021-03-23T06:37:21.103Z] ecc8261a40a4: Download complete [2021-03-23T06:37:21.103Z] 6ca5941a6612: Verifying Checksum [2021-03-23T06:37:21.103Z] 6ca5941a6612: Download complete [2021-03-23T06:37:21.367Z] 31603596830f: Pull complete [2021-03-23T06:37:21.629Z] 2a8b12db71e7: Pull complete [2021-03-23T06:37:22.210Z] 6ca5941a6612: Pull complete [2021-03-23T06:37:22.473Z] ecc8261a40a4: Pull complete [2021-03-23T06:37:22.737Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-23T06:37:22.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T06:37:22.737Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-23T06:37:22.845Z] prd-centos7-docker-4c-2g-31035 does not seem to be running inside a container [2021-03-23T06:37:22.892Z] $ 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-23T06:37:24.971Z] $ docker top 43e0a84bc30a75ac364a9572a11c303c02d261b76be7fe86a17a29a666cf2edc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-23T06:37:25.277Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-23T06:37:25.277Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-23T06:37:25.496Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-23T06:37:25.499Z] $ docker exec 43e0a84bc30a75ac364a9572a11c303c02d261b76be7fe86a17a29a666cf2edc ssh-agent [2021-03-23T06:37:25.671Z] SSH_AUTH_SOCK=/tmp/ssh-2Hm8XoG3vO36/agent.13 [2021-03-23T06:37:25.671Z] SSH_AGENT_PID=19 [2021-03-23T06:37:25.685Z] Running ssh-add (command line suppressed) [2021-03-23T06:37:25.806Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_3302677508147809554.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_3302677508147809554.key) [2021-03-23T06:37:25.861Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-23T06:37:26.232Z] + git tag --points-at HEAD [Pipeline] } [2021-03-23T06:37:26.258Z] $ docker exec --env ******** --env ******** 43e0a84bc30a75ac364a9572a11c303c02d261b76be7fe86a17a29a666cf2edc ssh-agent -k [2021-03-23T06:37:26.373Z] unset SSH_AUTH_SOCK; [2021-03-23T06:37:26.373Z] unset SSH_AGENT_PID; [2021-03-23T06:37:26.373Z] echo Agent pid 19 killed; [2021-03-23T06:37:26.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-23T06:37:26.561Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-23T06:37:26.561Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-23T06:37:26.728Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-23T06:37:26.732Z] $ docker exec 43e0a84bc30a75ac364a9572a11c303c02d261b76be7fe86a17a29a666cf2edc ssh-agent [2021-03-23T06:37:26.897Z] SSH_AUTH_SOCK=/tmp/ssh-OjdXNJYOIVa5/agent.49 [2021-03-23T06:37:26.897Z] SSH_AGENT_PID=54 [2021-03-23T06:37:26.904Z] Running ssh-add (command line suppressed) [2021-03-23T06:37:27.025Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_8536019065939236426.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_8536019065939236426.key) [2021-03-23T06:37:27.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-23T06:37:27.417Z] + git semver init [2021-03-23T06:37:27.417Z] # -> Open(): unable to determine branch for HEAD [2021-03-23T06:37:27.417Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.git [2021-03-23T06:37:27.417Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-829 [2021-03-23T06:37:27.417Z] # $SEMVER_REMOTE_NAME = origin [2021-03-23T06:37:27.417Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-23T06:37:27.417Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-23T06:37:27.417Z] # $SEMVER_BRANCH = PR-829 [2021-03-23T06:37:27.417Z] # $SEMVER_TEMP = /tmp/semver-829231674 [2021-03-23T06:37:27.417Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-23T06:37:28.366Z] # '/tmp/semver-829231674' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver' [2021-03-23T06:37:28.366Z] # -> Force: false [2021-03-23T06:37:28.366Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver [Pipeline] } [2021-03-23T06:37:28.382Z] $ docker exec --env ******** --env ******** 43e0a84bc30a75ac364a9572a11c303c02d261b76be7fe86a17a29a666cf2edc ssh-agent -k [2021-03-23T06:37:28.506Z] unset SSH_AUTH_SOCK; [2021-03-23T06:37:28.506Z] unset SSH_AGENT_PID; [2021-03-23T06:37:28.506Z] echo Agent pid 54 killed; [2021-03-23T06:37:28.556Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-23T06:37:29.022Z] + git semver [Pipeline] } [2021-03-23T06:37:29.042Z] $ docker stop --time=1 43e0a84bc30a75ac364a9572a11c303c02d261b76be7fe86a17a29a666cf2edc [2021-03-23T06:37:30.518Z] $ docker rm -f 43e0a84bc30a75ac364a9572a11c303c02d261b76be7fe86a17a29a666cf2edc [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-23T06:37:30.993Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-23T06:37:31.584Z] Stashed 1 file(s) [Pipeline] echo [2021-03-23T06:37:31.589Z] [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-23T06:37:47.214Z] Still waiting to schedule task [2021-03-23T06:37:47.214Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-23T06:37:47.217Z] Still waiting to schedule task [2021-03-23T06:37:47.217Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-23T06:39:41.459Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31036 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws [2021-03-23T06:39:41.568Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-23T06:39:46.727Z] using credential edgex-jenkins-ssh [2021-03-23T06:39:46.785Z] Cloning the remote Git repository [2021-03-23T06:39:46.854Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:39:46.960Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-23T06:39:47.030Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:39:47.031Z] > git --version # timeout=10 [2021-03-23T06:39:47.046Z] > git --version # 'git version 2.17.1' [2021-03-23T06:39:47.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T06:39:47.123Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T06:39:49.026Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit 26a4423d655cc358e7d0c344981c50fea279f837 [2021-03-23T06:39:48.321Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T06:39:48.346Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T06:39:48.383Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T06:39:48.425Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:39:48.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T06:39:48.437Z] > 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-23T06:39:49.056Z] > git config core.sparsecheckout # timeout=10 [2021-03-23T06:39:49.088Z] > git checkout -f 26a4423d655cc358e7d0c344981c50fea279f837 # timeout=10 [2021-03-23T06:39:49.589Z] Merge succeeded, producing 26a4423d655cc358e7d0c344981c50fea279f837 [2021-03-23T06:39:49.590Z] Checking out Revision 26a4423d655cc358e7d0c344981c50fea279f837 (PR-829) [2021-03-23T06:39:49.471Z] > git remote # timeout=10 [2021-03-23T06:39:49.508Z] > git config --get remote.origin.url # timeout=10 [2021-03-23T06:39:49.540Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T06:39:49.551Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-23T06:39:49.579Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-23T06:39:49.601Z] > git config core.sparsecheckout # timeout=10 [2021-03-23T06:39:49.620Z] > git checkout -f 26a4423d655cc358e7d0c344981c50fea279f837 # timeout=10 [2021-03-23T06:39:53.870Z] Commit message: "feat: update example configuration to support MessageBus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-23T06:39:55.521Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-23T06:39:55.927Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-23T06:39:56.273Z] + true [2021-03-23T06:39:56.273Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-23T06:39:58.986Z] provisioning config files... [2021-03-23T06:39:59.026Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2913714016221333136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:39:59.430Z] ---> docker-login.sh [2021-03-23T06:39:59.430Z] nexus3.edgexfoundry.org:10001 [2021-03-23T06:40:00.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:40:00.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:40:00.700Z] Configure a credential helper to remove this warning. See [2021-03-23T06:40:00.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:40:00.700Z] [2021-03-23T06:40:00.700Z] Login Succeeded [2021-03-23T06:40:00.700Z] nexus3.edgexfoundry.org:10002 [2021-03-23T06:40:00.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:40:01.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:40:01.247Z] Configure a credential helper to remove this warning. See [2021-03-23T06:40:01.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:40:01.247Z] [2021-03-23T06:40:01.247Z] Login Succeeded [2021-03-23T06:40:01.247Z] nexus3.edgexfoundry.org:10003 [2021-03-23T06:40:01.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:40:01.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:40:01.800Z] Configure a credential helper to remove this warning. See [2021-03-23T06:40:01.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:40:01.800Z] [2021-03-23T06:40:01.800Z] Login Succeeded [2021-03-23T06:40:01.800Z] nexus3.edgexfoundry.org:10004 [2021-03-23T06:40:02.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:40:02.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:40:02.358Z] Configure a credential helper to remove this warning. See [2021-03-23T06:40:02.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:40:02.358Z] [2021-03-23T06:40:02.358Z] Login Succeeded [2021-03-23T06:40:02.358Z] docker.io [2021-03-23T06:40:02.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:40:02.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:40:02.917Z] Configure a credential helper to remove this warning. See [2021-03-23T06:40:02.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:40:02.917Z] [2021-03-23T06:40:02.917Z] Login Succeeded [2021-03-23T06:40:02.917Z] ---> docker-login.sh ends [Pipeline] } [2021-03-23T06:40:02.933Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-23T06:40:03.493Z] ========================================================= [2021-03-23T06:40:03.493Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-23T06:40:03.493Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:40:03.874Z] + 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-23T06:40:04.491Z] Sending build context to Docker daemon 2.372MB [2021-03-23T06:40:04.491Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-23T06:40:04.491Z] Step 2/8 : FROM ${BASE} [2021-03-23T06:40:04.491Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-23T06:40:04.491Z] 5f621e34cdf4: Pulling fs layer [2021-03-23T06:40:04.491Z] a4357932f1b6: Pulling fs layer [2021-03-23T06:40:04.491Z] 18c013af1878: Pulling fs layer [2021-03-23T06:40:04.491Z] 00ac8860ef70: Pulling fs layer [2021-03-23T06:40:04.491Z] 63d7cb157983: Pulling fs layer [2021-03-23T06:40:04.491Z] b116817d02f9: Pulling fs layer [2021-03-23T06:40:04.491Z] 745a02a5169b: Pulling fs layer [2021-03-23T06:40:04.491Z] 63d7cb157983: Waiting [2021-03-23T06:40:04.491Z] 745a02a5169b: Waiting [2021-03-23T06:40:04.491Z] 00ac8860ef70: Waiting [2021-03-23T06:40:04.491Z] b116817d02f9: Waiting [2021-03-23T06:40:04.491Z] 18c013af1878: Verifying Checksum [2021-03-23T06:40:04.491Z] 18c013af1878: Download complete [2021-03-23T06:40:04.491Z] a4357932f1b6: Verifying Checksum [2021-03-23T06:40:04.491Z] a4357932f1b6: Download complete [2021-03-23T06:40:04.491Z] 63d7cb157983: Download complete [2021-03-23T06:40:04.766Z] b116817d02f9: Verifying Checksum [2021-03-23T06:40:04.766Z] b116817d02f9: Download complete [2021-03-23T06:40:04.766Z] 5f621e34cdf4: Download complete [2021-03-23T06:40:05.379Z] 5f621e34cdf4: Pull complete [2021-03-23T06:40:05.997Z] a4357932f1b6: Pull complete [2021-03-23T06:40:06.274Z] 18c013af1878: Pull complete [2021-03-23T06:40:07.260Z] 745a02a5169b: Verifying Checksum [2021-03-23T06:40:07.260Z] 745a02a5169b: Download complete [2021-03-23T06:40:08.698Z] 00ac8860ef70: Verifying Checksum [2021-03-23T06:40:08.698Z] 00ac8860ef70: Download complete [2021-03-23T06:40:18.884Z] 00ac8860ef70: Pull complete [2021-03-23T06:40:18.884Z] 63d7cb157983: Pull complete [2021-03-23T06:40:19.159Z] b116817d02f9: Pull complete [2021-03-23T06:40:23.464Z] 745a02a5169b: Pull complete [2021-03-23T06:40:23.464Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-23T06:40:23.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-23T06:40:23.464Z] ---> b7e6874047d6 [2021-03-23T06:40:23.464Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T06:40:25.454Z] ---> Running in 2eb2dc56552b [2021-03-23T06:40:26.050Z] Removing intermediate container 2eb2dc56552b [2021-03-23T06:40:26.050Z] ---> 1c3b58c00c5c [2021-03-23T06:40:26.050Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-23T06:40:26.050Z] ---> Running in 6932388fa383 [2021-03-23T06:40:28.703Z] Removing intermediate container 6932388fa383 [2021-03-23T06:40:28.703Z] ---> 7b862dd2eeee [2021-03-23T06:40:28.703Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-23T06:40:28.703Z] ---> Running in d622d917091c [2021-03-23T06:40:29.684Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-23T06:40:30.278Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-23T06:40:31.263Z] OK: 142 MiB in 39 packages [2021-03-23T06:40:32.245Z] Removing intermediate container d622d917091c [2021-03-23T06:40:32.245Z] ---> 8f3fc26056e9 [2021-03-23T06:40:32.245Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-23T06:40:32.245Z] ---> Running in 1be254c9a6b7 [2021-03-23T06:40:32.837Z] Removing intermediate container 1be254c9a6b7 [2021-03-23T06:40:32.837Z] ---> 854bbb76a45c [2021-03-23T06:40:32.837Z] Step 7/8 : COPY . . [2021-03-23T06:40:34.269Z] ---> 2828add0840c [2021-03-23T06:40:34.269Z] Step 8/8 : RUN go mod download [2021-03-23T06:40:34.269Z] ---> Running in 352fa1176fb7 [2021-03-23T06:41:01.075Z] Removing intermediate container 352fa1176fb7 [2021-03-23T06:41:01.075Z] ---> 5ad254e3e319 [2021-03-23T06:41:01.075Z] Successfully built 5ad254e3e319 [2021-03-23T06:41:01.075Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:41:01.425Z] + docker inspect -f . ci-base-image-arm64 [2021-03-23T06:41:01.425Z] . [Pipeline] withDockerContainer [2021-03-23T06:41:01.685Z] prd-ubuntu18.04-docker-arm64-4c-16g-31036 does not seem to be running inside a container [2021-03-23T06:41:01.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-23T06:41:03.291Z] $ docker top c08bae2c8d9dace0b4f4eb4360ea5710af47d9542d7c6bb00b97c9a1023b15c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-23T06:41:04.353Z] + go version [2021-03-23T06:41:04.353Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-23T06:41:04.374Z] $ docker stop --time=1 c08bae2c8d9dace0b4f4eb4360ea5710af47d9542d7c6bb00b97c9a1023b15c4 [2021-03-23T06:41:06.317Z] $ docker rm -f c08bae2c8d9dace0b4f4eb4360ea5710af47d9542d7c6bb00b97c9a1023b15c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:41:07.348Z] + docker inspect -f . ci-base-image-arm64 [2021-03-23T06:41:07.348Z] . [Pipeline] withDockerContainer [2021-03-23T06:41:07.608Z] prd-ubuntu18.04-docker-arm64-4c-16g-31036 does not seem to be running inside a container [2021-03-23T06:41:07.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-23T06:41:09.235Z] $ docker top f4f0e8758235ad6b83764d218414b56c82af29c21ca20a00417434ba076586d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-23T06:41:10.303Z] + make test [2021-03-23T06:41:10.303Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-23T06:41:32.504Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-23T06:41:33.028Z] Running on prd-centos7-docker-4c-2g-31037 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws [2021-03-23T06:41:33.120Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-23T06:41:42.685Z] # pkg-config --cflags -- libzmq [2021-03-23T06:41:42.685Z] pkg-config: exec: "pkg-config": executable file not found in $PATH [2021-03-23T06:41:43.914Z] using credential edgex-jenkins-ssh [2021-03-23T06:41:43.981Z] Cloning the remote Git repository [2021-03-23T06:41:44.036Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:41:44.121Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-23T06:41:44.351Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:41:44.351Z] > git --version # timeout=10 [2021-03-23T06:41:44.424Z] > git --version # 'git version 2.24.3' [2021-03-23T06:41:44.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T06:41:44.623Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T06:41:47.100Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit 26a4423d655cc358e7d0c344981c50fea279f837 [2021-03-23T06:41:47.292Z] Merge succeeded, producing 26a4423d655cc358e7d0c344981c50fea279f837 [2021-03-23T06:41:47.292Z] Checking out Revision 26a4423d655cc358e7d0c344981c50fea279f837 (PR-829) [2021-03-23T06:41:46.509Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T06:41:46.539Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T06:41:46.558Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T06:41:46.579Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:41:46.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T06:41:46.586Z] > 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-23T06:41:47.119Z] > git config core.sparsecheckout # timeout=10 [2021-03-23T06:41:47.127Z] > git checkout -f 26a4423d655cc358e7d0c344981c50fea279f837 # timeout=10 [2021-03-23T06:41:47.199Z] > git remote # timeout=10 [2021-03-23T06:41:47.217Z] > git config --get remote.origin.url # timeout=10 [2021-03-23T06:41:47.227Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T06:41:47.235Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-23T06:41:47.271Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-23T06:41:47.297Z] > git config core.sparsecheckout # timeout=10 [2021-03-23T06:41:47.307Z] > git checkout -f 26a4423d655cc358e7d0c344981c50fea279f837 # timeout=10 [2021-03-23T06:41:51.440Z] Commit message: "feat: update example configuration to support MessageBus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-23T06:41:54.296Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-23T06:41:54.700Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-23T06:41:55.017Z] + sudo service docker restart [2021-03-23T06:41:55.017Z] + true [2021-03-23T06:41:55.018Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-23T06:41:56.540Z] provisioning config files... [2021-03-23T06:41:56.586Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8340122791063723201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:41:57.010Z] ---> docker-login.sh [2021-03-23T06:41:57.010Z] nexus3.edgexfoundry.org:10001 [2021-03-23T06:41:58.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:41:58.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:41:58.304Z] Configure a credential helper to remove this warning. See [2021-03-23T06:41:58.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:41:58.304Z] [2021-03-23T06:41:58.304Z] Login Succeeded [2021-03-23T06:41:58.304Z] nexus3.edgexfoundry.org:10002 [2021-03-23T06:41:58.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:41:58.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:41:58.579Z] Configure a credential helper to remove this warning. See [2021-03-23T06:41:58.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:41:58.579Z] [2021-03-23T06:41:58.579Z] Login Succeeded [2021-03-23T06:41:58.579Z] nexus3.edgexfoundry.org:10003 [2021-03-23T06:41:58.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:41:58.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:41:58.849Z] Configure a credential helper to remove this warning. See [2021-03-23T06:41:58.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:41:58.849Z] [2021-03-23T06:41:58.849Z] Login Succeeded [2021-03-23T06:41:58.849Z] nexus3.edgexfoundry.org:10004 [2021-03-23T06:41:59.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:41:59.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:41:59.116Z] Configure a credential helper to remove this warning. See [2021-03-23T06:41:59.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:41:59.116Z] [2021-03-23T06:41:59.116Z] Login Succeeded [2021-03-23T06:41:59.116Z] docker.io [2021-03-23T06:41:59.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:41:59.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:41:59.661Z] Configure a credential helper to remove this warning. See [2021-03-23T06:41:59.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:41:59.661Z] [2021-03-23T06:41:59.661Z] Login Succeeded [2021-03-23T06:41:59.661Z] ---> docker-login.sh ends [Pipeline] } [2021-03-23T06:41:59.673Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-23T06:42:00.128Z] ========================================================= [2021-03-23T06:42:00.128Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-23T06:42:00.128Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:42:00.510Z] + 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-23T06:42:00.781Z] Sending build context to Docker daemon 2.378MB [2021-03-23T06:42:00.781Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-23T06:42:00.781Z] Step 2/8 : FROM ${BASE} [2021-03-23T06:42:00.781Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-23T06:42:00.781Z] 188c0c94c7c5: Pulling fs layer [2021-03-23T06:42:00.781Z] 0ef7d3d256c8: Pulling fs layer [2021-03-23T06:42:00.781Z] de9db76c5a1d: Pulling fs layer [2021-03-23T06:42:00.781Z] bca2f99d35d6: Pulling fs layer [2021-03-23T06:42:00.781Z] 93359f2a8cfa: Pulling fs layer [2021-03-23T06:42:00.781Z] 7c6f9722023f: Pulling fs layer [2021-03-23T06:42:00.781Z] a35cf1a2eb13: Pulling fs layer [2021-03-23T06:42:00.781Z] 93359f2a8cfa: Waiting [2021-03-23T06:42:00.781Z] 7c6f9722023f: Waiting [2021-03-23T06:42:00.781Z] a35cf1a2eb13: Waiting [2021-03-23T06:42:00.781Z] bca2f99d35d6: Waiting [2021-03-23T06:42:00.781Z] de9db76c5a1d: Verifying Checksum [2021-03-23T06:42:00.781Z] de9db76c5a1d: Download complete [2021-03-23T06:42:00.781Z] 0ef7d3d256c8: Verifying Checksum [2021-03-23T06:42:00.781Z] 0ef7d3d256c8: Download complete [2021-03-23T06:42:01.052Z] 93359f2a8cfa: Download complete [2021-03-23T06:42:01.052Z] 7c6f9722023f: Verifying Checksum [2021-03-23T06:42:01.052Z] 7c6f9722023f: Download complete [2021-03-23T06:42:01.052Z] 188c0c94c7c5: Verifying Checksum [2021-03-23T06:42:01.052Z] 188c0c94c7c5: Download complete [2021-03-23T06:42:01.643Z] 188c0c94c7c5: Pull complete [2021-03-23T06:42:01.956Z] 0ef7d3d256c8: Pull complete [2021-03-23T06:42:02.322Z] de9db76c5a1d: Pull complete [2021-03-23T06:42:04.639Z] a35cf1a2eb13: Verifying Checksum [2021-03-23T06:42:04.639Z] a35cf1a2eb13: Download complete [2021-03-23T06:42:06.061Z] bca2f99d35d6: Verifying Checksum [2021-03-23T06:42:06.061Z] bca2f99d35d6: Download complete [2021-03-23T06:42:21.394Z] bca2f99d35d6: Pull complete [2021-03-23T06:42:21.394Z] 93359f2a8cfa: Pull complete [2021-03-23T06:42:21.394Z] 7c6f9722023f: Pull complete [2021-03-23T06:42:22.633Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] [2021-03-23T06:42:22.633Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] [2021-03-23T06:42:22.633Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/clients [build failed] [2021-03-23T06:42:22.633Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] [2021-03-23T06:42:22.633Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] [2021-03-23T06:42:25.243Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.814s coverage: 6.6% of statements [2021-03-23T06:42:25.243Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2021-03-23T06:42:25.515Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-03-23T06:42:25.528Z] $ docker stop --time=1 f4f0e8758235ad6b83764d218414b56c82af29c21ca20a00417434ba076586d5 [2021-03-23T06:42:27.829Z] $ docker rm -f f4f0e8758235ad6b83764d218414b56c82af29c21ca20a00417434ba076586d5 [2021-03-23T06:42:28.157Z] a35cf1a2eb13: Pull complete [2021-03-23T06:42:28.157Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-23T06:42:28.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-23T06:42:28.471Z] ---> a62c8e92a672 [2021-03-23T06:42:28.471Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [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 [2021-03-23T06:42:29.069Z] ---> Running in 1fe4a7a85685 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:42:29.380Z] Removing intermediate container 1fe4a7a85685 [2021-03-23T06:42:29.380Z] ---> ad827b85e046 [2021-03-23T06:42:29.380Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-23T06:42:29.671Z] ---> Running in 66957d9eb27b [2021-03-23T06:42:29.702Z] ---> job-cost.sh [2021-03-23T06:42:29.702Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2gnX [2021-03-23T06:42:31.761Z] Removing intermediate container 66957d9eb27b [2021-03-23T06:42:31.761Z] ---> 8ea99b009a65 [2021-03-23T06:42:31.761Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-23T06:42:31.761Z] ---> Running in 19c60ea83660 [2021-03-23T06:42:34.181Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-23T06:42:34.802Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-23T06:42:35.474Z] OK: 166 MiB in 39 packages [2021-03-23T06:42:37.050Z] Removing intermediate container 19c60ea83660 [2021-03-23T06:42:37.050Z] ---> 81eeccd5a2da [2021-03-23T06:42:37.050Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-23T06:42:37.050Z] ---> Running in c96f6f084f07 [2021-03-23T06:42:37.724Z] Removing intermediate container c96f6f084f07 [2021-03-23T06:42:37.724Z] ---> b0b0db57964a [2021-03-23T06:42:37.724Z] Step 7/8 : COPY . . [2021-03-23T06:42:39.847Z] ---> 30176a040c42 [2021-03-23T06:42:39.847Z] Step 8/8 : RUN go mod download [2021-03-23T06:42:39.847Z] ---> Running in 1999f4b74134 [2021-03-23T06:43:08.661Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-23T06:43:19.797Z] Removing intermediate container 1999f4b74134 [2021-03-23T06:43:19.797Z] ---> a12274d80f56 [2021-03-23T06:43:19.797Z] Successfully built a12274d80f56 [2021-03-23T06:43:19.797Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:43:20.145Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-23T06:43:20.739Z] . [Pipeline] withDockerContainer [2021-03-23T06:43:21.022Z] prd-centos7-docker-4c-2g-31037 does not seem to be running inside a container [2021-03-23T06:43:21.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-23T06:43:22.807Z] $ docker top 57367c8e970482788869de8a7b58b2d2e54b4b02d8d05406ee8d0135641be8f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-23T06:43:23.478Z] + go version [2021-03-23T06:43:23.479Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-23T06:43:23.519Z] $ docker stop --time=1 57367c8e970482788869de8a7b58b2d2e54b4b02d8d05406ee8d0135641be8f8 [2021-03-23T06:43:25.207Z] $ docker rm -f 57367c8e970482788869de8a7b58b2d2e54b4b02d8d05406ee8d0135641be8f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:43:26.268Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-23T06:43:26.268Z] . [Pipeline] withDockerContainer [2021-03-23T06:43:26.474Z] prd-centos7-docker-4c-2g-31037 does not seem to be running inside a container [2021-03-23T06:43:26.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-23T06:43:28.654Z] $ docker top 7987bde147fedcb92bfbcc67695a483b01463cbaf069a3d466fd7abe1e367ccc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-23T06:43:29.372Z] + make test [2021-03-23T06:43:29.372Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-23T06:43:48.500Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-23T06:43:54.106Z] # pkg-config --cflags -- libzmq [2021-03-23T06:43:54.106Z] pkg-config: exec: "pkg-config": executable file not found in $PATH [2021-03-23T06:44:26.975Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] [2021-03-23T06:44:26.975Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] [2021-03-23T06:44:26.975Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/clients [build failed] [2021-03-23T06:44:26.975Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] [2021-03-23T06:44:26.975Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] [2021-03-23T06:44:29.656Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.649s coverage: 6.6% of statements [2021-03-23T06:44:29.656Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2021-03-23T06:44:29.656Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-03-23T06:44:29.690Z] $ docker stop --time=1 7987bde147fedcb92bfbcc67695a483b01463cbaf069a3d466fd7abe1e367ccc [2021-03-23T06:44:32.287Z] $ docker rm -f 7987bde147fedcb92bfbcc67695a483b01463cbaf069a3d466fd7abe1e367ccc [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-23T06:44:33.968Z] ---> job-cost.sh [2021-03-23T06:44:33.968Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JdHD [2021-03-23T06:44:45.447Z] lf-activate-venv(): INFO: Adding /tmp/venv-2gnX/bin to PATH [2021-03-23T06:44:45.447Z] INFO: No Stack... [2021-03-23T06:44:45.447Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-23T06:44:45.447Z] INFO: Archiving Costs [Pipeline] sh [2021-03-23T06:44:45.794Z] + + cat /w/workspace/device-sdk-go/2/archives/cost.csvcut [2021-03-23T06:44:45.794Z] -d, -f6 [Pipeline] lock [2021-03-23T06:44:45.927Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-2-stack-cost] [2021-03-23T06:44:45.935Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-2-stack-cost] did not exist. Created. [2021-03-23T06:44:45.935Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-23T06:44:46.377Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-23T06:44:47.355Z] Stashed 1 file(s) [Pipeline] } [2021-03-23T06:44:47.365Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-23T06:44:48.120Z] Failed in branch arm64 [2021-03-23T06:45:00.833Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-23T06:45:48.054Z] lf-activate-venv(): INFO: Adding /tmp/venv-JdHD/bin to PATH [2021-03-23T06:45:48.054Z] INFO: No Stack... [2021-03-23T06:45:48.054Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-23T06:45:48.054Z] INFO: Archiving Costs [Pipeline] sh [2021-03-23T06:45:48.608Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-23T06:45:48.608Z] + cut -d, -f6 [Pipeline] lock [2021-03-23T06:45:49.208Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-2-stack-cost] [2021-03-23T06:45:49.218Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-2-stack-cost] did not exist. Created. [2021-03-23T06:45:49.218Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-23T06:45:49.764Z] /w/workspace/device-sdk-go/2@tmp/durable-5ddf2d6b/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-03-23T06:45:50.469Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-23T06:45:50.662Z] Warning: overwriting stash ‘stack-cost’ [2021-03-23T06:45:51.867Z] Stashed 1 file(s) [Pipeline] } [2021-03-23T06:45:51.878Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-23T06:45:52.567Z] Failed in branch amd64 [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-23T06:45:55.261Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:45:55.566Z] ---> package-listing.sh [2021-03-23T06:45:55.566Z] ++ facter osfamily [2021-03-23T06:45:55.566Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-23T06:45:55.566Z] + OS_FAMILY=redhat [2021-03-23T06:45:55.566Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-829 [2021-03-23T06:45:55.566Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-23T06:45:55.566Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-23T06:45:55.566Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-23T06:45:55.566Z] + PACKAGES=/tmp/packages_start.txt [2021-03-23T06:45:55.566Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' [2021-03-23T06:45:55.566Z] + PACKAGES=/tmp/packages_end.txt [2021-03-23T06:45:55.566Z] + case "${OS_FAMILY}" in [2021-03-23T06:45:55.566Z] + rpm -qa [2021-03-23T06:45:55.566Z] + sort [2021-03-23T06:46:00.890Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-23T06:46:00.890Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-23T06:46:00.890Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-23T06:46:00.890Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' [2021-03-23T06:46:00.890Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-829/archives/ [2021-03-23T06:46:00.890Z] + 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-23T06:46:00.908Z] 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-23T06:46:01.205Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:46:01.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-23T06:46:01.518Z] [2021-03-23T06:46:01.519Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:46:01.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-23T06:46:01.879Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-23T06:46:01.879Z] df20fa9351a1: Pulling fs layer [2021-03-23T06:46:01.879Z] 36b3adc4ff6f: Pulling fs layer [2021-03-23T06:46:01.879Z] 8ad3a11d3b57: Pulling fs layer [2021-03-23T06:46:01.879Z] 46f8f816bc3b: Pulling fs layer [2021-03-23T06:46:01.879Z] 93b61091891f: Pulling fs layer [2021-03-23T06:46:01.879Z] 93b9cdb0e59b: Pulling fs layer [2021-03-23T06:46:01.879Z] 5e14af77c1be: Pulling fs layer [2021-03-23T06:46:01.879Z] 01666e4c0597: Pulling fs layer [2021-03-23T06:46:01.879Z] aa168da1d23b: Pulling fs layer [2021-03-23T06:46:01.879Z] 46f8f816bc3b: Waiting [2021-03-23T06:46:01.879Z] 93b9cdb0e59b: Waiting [2021-03-23T06:46:01.879Z] 5e14af77c1be: Waiting [2021-03-23T06:46:01.879Z] 01666e4c0597: Waiting [2021-03-23T06:46:01.879Z] aa168da1d23b: Waiting [2021-03-23T06:46:01.879Z] 93b61091891f: Waiting [2021-03-23T06:46:01.879Z] 36b3adc4ff6f: Verifying Checksum [2021-03-23T06:46:01.879Z] 36b3adc4ff6f: Download complete [2021-03-23T06:46:01.879Z] 46f8f816bc3b: Verifying Checksum [2021-03-23T06:46:01.879Z] 46f8f816bc3b: Download complete [2021-03-23T06:46:02.143Z] df20fa9351a1: Verifying Checksum [2021-03-23T06:46:02.143Z] df20fa9351a1: Download complete [2021-03-23T06:46:02.143Z] 93b61091891f: Download complete [2021-03-23T06:46:02.143Z] 93b9cdb0e59b: Verifying Checksum [2021-03-23T06:46:02.143Z] 93b9cdb0e59b: Download complete [2021-03-23T06:46:02.143Z] 5e14af77c1be: Verifying Checksum [2021-03-23T06:46:02.143Z] 5e14af77c1be: Download complete [2021-03-23T06:46:02.143Z] 01666e4c0597: Verifying Checksum [2021-03-23T06:46:02.143Z] 01666e4c0597: Download complete [2021-03-23T06:46:02.143Z] 8ad3a11d3b57: Verifying Checksum [2021-03-23T06:46:02.143Z] 8ad3a11d3b57: Download complete [2021-03-23T06:46:02.407Z] df20fa9351a1: Pull complete [2021-03-23T06:46:02.677Z] 36b3adc4ff6f: Pull complete [2021-03-23T06:46:03.645Z] 8ad3a11d3b57: Pull complete [2021-03-23T06:46:03.645Z] 46f8f816bc3b: Pull complete [2021-03-23T06:46:04.234Z] 93b61091891f: Pull complete [2021-03-23T06:46:04.497Z] aa168da1d23b: Verifying Checksum [2021-03-23T06:46:04.497Z] aa168da1d23b: Download complete [2021-03-23T06:46:04.497Z] 93b9cdb0e59b: Pull complete [2021-03-23T06:46:04.497Z] 5e14af77c1be: Pull complete [2021-03-23T06:46:04.760Z] 01666e4c0597: Pull complete [2021-03-23T06:46:12.961Z] aa168da1d23b: Pull complete [2021-03-23T06:46:12.961Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-23T06:46:12.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-23T06:46:12.961Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-23T06:46:13.203Z] prd-centos7-docker-4c-2g-31035 does not seem to be running inside a container [2021-03-23T06:46:13.258Z] $ 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-23T06:46:15.900Z] $ docker top 9dca432f7a6e2fb03ccc21c34d706a27ffa5af049d5aeb5bb267c82173ea0647 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-23T06:46:16.453Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-23T06:46:16.757Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-23T06:46:17.059Z] + ls /var/log/sa-host [2021-03-23T06:46:17.059Z] + sadf -c /var/log/sa-host/sa23 [2021-03-23T06:46:17.059Z] file_magic: OK [2021-03-23T06:46:17.059Z] HZ: Using current value: 100 [2021-03-23T06:46:17.059Z] file_header: OK [2021-03-23T06:46:17.059Z] 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-23T06:46:17.059Z] Statistics: [2021-03-23T06:46:17.059Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-23T06:46:17.059Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-23T06:46:17.755Z] provisioning config files... [2021-03-23T06:46:17.771Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config3829917157918492542tmp [Pipeline] { [Pipeline] echo [2021-03-23T06:46:17.843Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:46:18.144Z] ---> create-netrc.sh [Pipeline] } [2021-03-23T06:46:18.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-23T06:46:18.242Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:46:18.542Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-23T06:46:18.554Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:46:19.203Z] ---> sudo-logs.sh [2021-03-23T06:46:19.203Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-23T06:46:19.318Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:46:19.618Z] ---> job-cost.sh [2021-03-23T06:46:19.618Z] lf-activate-venv: SKIPPING [2021-03-23T06:46:19.618Z] DEBUG: total: 0.029999999329447746 [2021-03-23T06:46:19.618Z] INFO: Retrieving Stack Cost... [2021-03-23T06:46:20.566Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-23T06:46:21.140Z] INFO: Archiving Costs [Pipeline] echo [2021-03-23T06:46:21.153Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:46:21.459Z] ---> logs-deploy.sh [2021-03-23T06:46:21.459Z] lf-activate-venv: SKIPPING [2021-03-23T06:46:21.459Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-829/2 [2021-03-23T06:46:21.459Z] INFO: archiving workspace using pattern(s): [2021-03-23T06:46:22.853Z] Archives upload complete. [2021-03-23T06:46:23.115Z] INFO: archiving logs to Nexus [2021-03-23T06:46:24.062Z] ---> uname -a: [2021-03-23T06:46:24.062Z] Linux prd-centos7-docker-4c-2g-31035.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-03-23T06:46:24.062Z] [2021-03-23T06:46:24.062Z]