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 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde+b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 (da6e2e02b5805d09e5d80c4d99a6a41384c9bb5a) 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-31483 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 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde Merge succeeded, producing 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde Checking out Revision 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde (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 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde # 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 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde # timeout=10 Commit message: "feat: update example configuration to support MessageBus" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-26T03:15:51.412Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk f11e55c319cbdbeef90700ad7434ca004756aab4 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-26T03:15:51.704Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-26T03:15:51.833Z] ========================================================= [2021-03-26T03:15:51.833Z] EdgeX Global Pipelines Version Info [2021-03-26T03:15:51.833Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-26T03:15:54.651Z] ------------------- [2021-03-26T03:15:54.651Z] stable info: [2021-03-26T03:15:54.651Z] ------------------- [2021-03-26T03:15:54.651Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-26T03:15:54.651Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-26T03:15:54.651Z] Message: update stable to v1.0.186 [2021-03-26T03:15:55.617Z] ------------------- [2021-03-26T03:15:55.617Z] experimental info: [2021-03-26T03:15:55.617Z] ------------------- [2021-03-26T03:15:55.617Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-26T03:15:55.617Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-26T03:15:55.617Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-26T03:15:56.019Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-26T03:15:56.122Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-26T03:15:56.223Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-26T03:15:56.325Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-26T03:15:56.421Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-26T03:15:56.556Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-26T03:15:56.659Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-26T03:15:56.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-26T03:15:56.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-26T03:15:57.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-26T03:15:57.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-26T03:15:57.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-26T03:15:57.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-26T03:15:57.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-26T03:15:57.528Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-26T03:15:57.633Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-26T03:15:57.773Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-26T03:15:57.882Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-26T03:15:57.977Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-26T03:15:58.092Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-26T03:15:58.272Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-26T03:15:58.373Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-26T03:15:58.471Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-26T03:15:58.577Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-26T03:15:58.680Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-26T03:15:58.780Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-26T03:15:58.902Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-829 [Pipeline] echo [2021-03-26T03:15:59.025Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-829 [Pipeline] echo [2021-03-26T03:15:59.125Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-829 [Pipeline] echo [2021-03-26T03:15:59.218Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde [Pipeline] echo [2021-03-26T03:15:59.325Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1cd4cc8 [Pipeline] echo [2021-03-26T03:15:59.421Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-26T03:15:59.601Z] provisioning config files... [2021-03-26T03:15:59.640Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config711871057122168701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-26T03:16:00.144Z] ---> docker-login.sh [2021-03-26T03:16:00.144Z] nexus3.edgexfoundry.org:10001 [2021-03-26T03:16:01.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:16:01.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:16:01.504Z] Configure a credential helper to remove this warning. See [2021-03-26T03:16:01.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:16:01.504Z] [2021-03-26T03:16:01.504Z] Login Succeeded [2021-03-26T03:16:01.504Z] nexus3.edgexfoundry.org:10002 [2021-03-26T03:16:01.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:16:01.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:16:01.797Z] Configure a credential helper to remove this warning. See [2021-03-26T03:16:01.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:16:01.797Z] [2021-03-26T03:16:01.797Z] Login Succeeded [2021-03-26T03:16:01.797Z] nexus3.edgexfoundry.org:10003 [2021-03-26T03:16:02.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:16:02.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:16:02.499Z] Configure a credential helper to remove this warning. See [2021-03-26T03:16:02.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:16:02.499Z] [2021-03-26T03:16:02.499Z] Login Succeeded [2021-03-26T03:16:02.499Z] nexus3.edgexfoundry.org:10004 [2021-03-26T03:16:03.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:16:03.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:16:03.997Z] Configure a credential helper to remove this warning. See [2021-03-26T03:16:03.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:16:03.997Z] [2021-03-26T03:16:03.997Z] Login Succeeded [2021-03-26T03:16:03.997Z] docker.io [2021-03-26T03:16:04.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:16:04.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:16:04.540Z] Configure a credential helper to remove this warning. See [2021-03-26T03:16:04.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:16:04.540Z] [2021-03-26T03:16:04.540Z] Login Succeeded [2021-03-26T03:16:04.540Z] ---> docker-login.sh ends [Pipeline] } [2021-03-26T03:16:04.557Z] 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-26T03:16:05.665Z] + git log --format=format:%s -1 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde [Pipeline] echo [2021-03-26T03:16:06.113Z] GIT_COMMIT: 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde, Commit Message: feat: update example configuration to support MessageBus [Pipeline] echo [2021-03-26T03:16:06.162Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-26T03:16:07.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-26T03:16:07.204Z] [2021-03-26T03:16:07.204Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-26T03:16:07.700Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-26T03:16:07.700Z] latest: Pulling from edgex-devops/git-semver [2021-03-26T03:16:07.700Z] 31603596830f: Pulling fs layer [2021-03-26T03:16:07.700Z] 2a8b12db71e7: Pulling fs layer [2021-03-26T03:16:07.700Z] 6ca5941a6612: Pulling fs layer [2021-03-26T03:16:07.700Z] ecc8261a40a4: Pulling fs layer [2021-03-26T03:16:07.700Z] ecc8261a40a4: Waiting [2021-03-26T03:16:07.700Z] 2a8b12db71e7: Verifying Checksum [2021-03-26T03:16:07.700Z] 2a8b12db71e7: Download complete [2021-03-26T03:16:08.043Z] 31603596830f: Verifying Checksum [2021-03-26T03:16:08.043Z] 31603596830f: Download complete [2021-03-26T03:16:08.618Z] ecc8261a40a4: Verifying Checksum [2021-03-26T03:16:08.618Z] ecc8261a40a4: Download complete [2021-03-26T03:16:08.994Z] 6ca5941a6612: Verifying Checksum [2021-03-26T03:16:08.994Z] 6ca5941a6612: Download complete [2021-03-26T03:16:09.764Z] 31603596830f: Pull complete [2021-03-26T03:16:10.087Z] 2a8b12db71e7: Pull complete [2021-03-26T03:16:12.961Z] 6ca5941a6612: Pull complete [2021-03-26T03:16:14.042Z] ecc8261a40a4: Pull complete [2021-03-26T03:16:14.042Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-26T03:16:14.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-26T03:16:14.331Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-26T03:16:14.681Z] prd-centos7-docker-4c-2g-31483 does not seem to be running inside a container [2021-03-26T03:16:14.918Z] $ 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-26T03:16:18.571Z] $ docker top 2d7338e775d296cb5ba258918596ed9d3f6c0fdf3ffca2926a0f198f4e11a012 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-26T03:16:19.026Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-26T03:16:19.026Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-26T03:16:19.703Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-26T03:16:19.714Z] $ docker exec 2d7338e775d296cb5ba258918596ed9d3f6c0fdf3ffca2926a0f198f4e11a012 ssh-agent [2021-03-26T03:16:20.834Z] SSH_AUTH_SOCK=/tmp/ssh-xMS9otFwBO0F/agent.12 [2021-03-26T03:16:20.834Z] SSH_AGENT_PID=17 [2021-03-26T03:16:20.893Z] Running ssh-add (command line suppressed) [2021-03-26T03:16:21.221Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_7184000925924321495.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_7184000925924321495.key) [2021-03-26T03:16:21.485Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-26T03:16:22.238Z] + git tag --points-at HEAD [Pipeline] } [2021-03-26T03:16:22.285Z] $ docker exec --env ******** --env ******** 2d7338e775d296cb5ba258918596ed9d3f6c0fdf3ffca2926a0f198f4e11a012 ssh-agent -k [2021-03-26T03:16:22.776Z] unset SSH_AUTH_SOCK; [2021-03-26T03:16:22.785Z] unset SSH_AGENT_PID; [2021-03-26T03:16:22.785Z] echo Agent pid 17 killed; [2021-03-26T03:16:22.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-26T03:16:23.093Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-26T03:16:23.093Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-26T03:16:23.628Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-26T03:16:23.630Z] $ docker exec 2d7338e775d296cb5ba258918596ed9d3f6c0fdf3ffca2926a0f198f4e11a012 ssh-agent [2021-03-26T03:16:24.018Z] SSH_AUTH_SOCK=/tmp/ssh-PXjhbT6rrqNG/agent.46 [2021-03-26T03:16:24.018Z] SSH_AGENT_PID=52 [2021-03-26T03:16:24.028Z] Running ssh-add (command line suppressed) [2021-03-26T03:16:24.262Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_5103553001869212693.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_5103553001869212693.key) [2021-03-26T03:16:24.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-26T03:16:25.200Z] + git semver init [2021-03-26T03:16:25.201Z] # -> Open(): unable to determine branch for HEAD [2021-03-26T03:16:25.201Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.git [2021-03-26T03:16:25.201Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-829 [2021-03-26T03:16:25.201Z] # $SEMVER_REMOTE_NAME = origin [2021-03-26T03:16:25.201Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-26T03:16:25.201Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-26T03:16:25.201Z] # $SEMVER_BRANCH = PR-829 [2021-03-26T03:16:25.201Z] # $SEMVER_TEMP = /tmp/semver-906929620 [2021-03-26T03:16:25.201Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-26T03:16:26.243Z] # '/tmp/semver-906929620' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver' [2021-03-26T03:16:26.243Z] # -> Force: false [2021-03-26T03:16:26.243Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver [Pipeline] } [2021-03-26T03:16:26.255Z] $ docker exec --env ******** --env ******** 2d7338e775d296cb5ba258918596ed9d3f6c0fdf3ffca2926a0f198f4e11a012 ssh-agent -k [2021-03-26T03:16:26.468Z] unset SSH_AUTH_SOCK; [2021-03-26T03:16:26.470Z] unset SSH_AGENT_PID; [2021-03-26T03:16:26.470Z] echo Agent pid 52 killed; [2021-03-26T03:16:26.599Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-26T03:16:27.197Z] + git semver [Pipeline] } [2021-03-26T03:16:27.249Z] $ docker stop --time=1 2d7338e775d296cb5ba258918596ed9d3f6c0fdf3ffca2926a0f198f4e11a012 [2021-03-26T03:16:29.217Z] $ docker rm -f 2d7338e775d296cb5ba258918596ed9d3f6c0fdf3ffca2926a0f198f4e11a012 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-26T03:16:29.775Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-26T03:16:31.247Z] Stashed 1 file(s) [Pipeline] echo [2021-03-26T03:16:31.250Z] [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-26T03:16:46.888Z] Still waiting to schedule task [2021-03-26T03:16:46.888Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-31483’ [2021-03-26T03:16:46.891Z] Still waiting to schedule task [2021-03-26T03:16:46.891Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-26T03:18:34.952Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31484 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws [2021-03-26T03:18:35.015Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-03-26T03:18:39.992Z] using credential edgex-jenkins-ssh [2021-03-26T03:18:40.082Z] Cloning the remote Git repository [2021-03-26T03:18:40.138Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-26T03:18:40.246Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-03-26T03:18:40.336Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-26T03:18:40.337Z] > git --version # timeout=10 [2021-03-26T03:18:40.363Z] > git --version # 'git version 2.17.1' [2021-03-26T03:18:40.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-26T03:18:40.442Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-26T03:18:42.449Z] Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde [2021-03-26T03:18:41.701Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-26T03:18:41.721Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-26T03:18:41.748Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-26T03:18:41.806Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-26T03:18:41.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-26T03:18:41.820Z] > 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-26T03:18:42.469Z] > git config core.sparsecheckout # timeout=10 [2021-03-26T03:18:42.482Z] > git checkout -f 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde # timeout=10 [2021-03-26T03:18:42.585Z] > git remote # timeout=10 [2021-03-26T03:18:42.605Z] > git config --get remote.origin.url # timeout=10 [2021-03-26T03:18:42.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-26T03:18:42.639Z] > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 [2021-03-26T03:18:42.682Z] Merge succeeded, producing 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde [2021-03-26T03:18:42.683Z] Checking out Revision 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde (PR-829) [2021-03-26T03:18:42.666Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-26T03:18:42.689Z] > git config core.sparsecheckout # timeout=10 [2021-03-26T03:18:42.717Z] > git checkout -f 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde # timeout=10 [2021-03-26T03:18:47.260Z] 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-26T03:18:48.783Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-26T03:18:49.199Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-26T03:18:49.545Z] + true [2021-03-26T03:18:49.545Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-26T03:18:51.605Z] provisioning config files... [2021-03-26T03:18:51.645Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config8446427921097779781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-26T03:18:52.060Z] ---> docker-login.sh [2021-03-26T03:18:52.060Z] nexus3.edgexfoundry.org:10001 [2021-03-26T03:18:53.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:18:53.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:18:53.320Z] Configure a credential helper to remove this warning. See [2021-03-26T03:18:53.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:18:53.320Z] [2021-03-26T03:18:53.320Z] Login Succeeded [2021-03-26T03:18:53.320Z] nexus3.edgexfoundry.org:10002 [2021-03-26T03:18:53.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:18:53.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:18:53.870Z] Configure a credential helper to remove this warning. See [2021-03-26T03:18:53.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:18:53.870Z] [2021-03-26T03:18:53.870Z] Login Succeeded [2021-03-26T03:18:53.870Z] nexus3.edgexfoundry.org:10003 [2021-03-26T03:18:54.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:18:54.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:18:54.145Z] Configure a credential helper to remove this warning. See [2021-03-26T03:18:54.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:18:54.145Z] [2021-03-26T03:18:54.145Z] Login Succeeded [2021-03-26T03:18:54.145Z] nexus3.edgexfoundry.org:10004 [2021-03-26T03:18:54.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:18:54.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:18:54.738Z] Configure a credential helper to remove this warning. See [2021-03-26T03:18:54.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:18:54.738Z] [2021-03-26T03:18:54.738Z] Login Succeeded [2021-03-26T03:18:54.738Z] docker.io [2021-03-26T03:18:55.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:18:55.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:18:55.297Z] Configure a credential helper to remove this warning. See [2021-03-26T03:18:55.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:18:55.297Z] [2021-03-26T03:18:55.297Z] Login Succeeded [2021-03-26T03:18:55.297Z] ---> docker-login.sh ends [Pipeline] } [2021-03-26T03:18:55.313Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-26T03:18:55.804Z] ========================================================= [2021-03-26T03:18:55.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-26T03:18:55.804Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-26T03:18:56.186Z] + 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-26T03:18:56.791Z] Sending build context to Docker daemon 2.399MB [2021-03-26T03:18:56.791Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-26T03:18:56.791Z] Step 2/8 : FROM ${BASE} [2021-03-26T03:18:56.791Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-26T03:18:56.791Z] 5f621e34cdf4: Pulling fs layer [2021-03-26T03:18:56.791Z] a4357932f1b6: Pulling fs layer [2021-03-26T03:18:56.791Z] 18c013af1878: Pulling fs layer [2021-03-26T03:18:56.791Z] 00ac8860ef70: Pulling fs layer [2021-03-26T03:18:56.791Z] 63d7cb157983: Pulling fs layer [2021-03-26T03:18:56.791Z] b116817d02f9: Pulling fs layer [2021-03-26T03:18:56.791Z] 745a02a5169b: Pulling fs layer [2021-03-26T03:18:56.791Z] 00ac8860ef70: Waiting [2021-03-26T03:18:56.791Z] b116817d02f9: Waiting [2021-03-26T03:18:56.791Z] 63d7cb157983: Waiting [2021-03-26T03:18:56.791Z] 745a02a5169b: Waiting [2021-03-26T03:18:56.791Z] 18c013af1878: Verifying Checksum [2021-03-26T03:18:56.791Z] 18c013af1878: Download complete [2021-03-26T03:18:56.791Z] a4357932f1b6: Download complete [2021-03-26T03:18:56.791Z] 63d7cb157983: Verifying Checksum [2021-03-26T03:18:56.791Z] 63d7cb157983: Download complete [2021-03-26T03:18:56.791Z] b116817d02f9: Verifying Checksum [2021-03-26T03:18:56.791Z] b116817d02f9: Download complete [2021-03-26T03:18:56.791Z] 5f621e34cdf4: Verifying Checksum [2021-03-26T03:18:56.791Z] 5f621e34cdf4: Download complete [2021-03-26T03:18:57.390Z] 5f621e34cdf4: Pull complete [2021-03-26T03:18:57.990Z] a4357932f1b6: Pull complete [2021-03-26T03:18:58.590Z] 18c013af1878: Pull complete [2021-03-26T03:18:59.598Z] 745a02a5169b: Verifying Checksum [2021-03-26T03:18:59.598Z] 745a02a5169b: Download complete [2021-03-26T03:19:01.038Z] 00ac8860ef70: Verifying Checksum [2021-03-26T03:19:01.038Z] 00ac8860ef70: Download complete [2021-03-26T03:19:11.210Z] 00ac8860ef70: Pull complete [2021-03-26T03:19:11.210Z] 63d7cb157983: Pull complete [2021-03-26T03:19:11.807Z] b116817d02f9: Pull complete [2021-03-26T03:19:16.126Z] 745a02a5169b: Pull complete [2021-03-26T03:19:16.126Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-26T03:19:16.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-26T03:19:16.126Z] ---> b7e6874047d6 [2021-03-26T03:19:16.126Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-26T03:19:18.117Z] ---> Running in 6fde836e9ea6 [2021-03-26T03:19:18.713Z] Removing intermediate container 6fde836e9ea6 [2021-03-26T03:19:18.713Z] ---> 9e25e10ff5ba [2021-03-26T03:19:18.713Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-26T03:19:18.713Z] ---> Running in 74deb697cebe [2021-03-26T03:19:21.351Z] Removing intermediate container 74deb697cebe [2021-03-26T03:19:21.351Z] ---> 7bc0b5d8fdff [2021-03-26T03:19:21.351Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-26T03:19:21.351Z] ---> Running in b78e345b25ab [2021-03-26T03:19:22.329Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-26T03:19:24.299Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-26T03:19:25.273Z] OK: 142 MiB in 39 packages [2021-03-26T03:19:26.722Z] Removing intermediate container b78e345b25ab [2021-03-26T03:19:26.722Z] ---> adc2190ff81b [2021-03-26T03:19:26.722Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-26T03:19:26.722Z] ---> Running in 6a0d0ec977ff [2021-03-26T03:19:27.317Z] Removing intermediate container 6a0d0ec977ff [2021-03-26T03:19:27.317Z] ---> 8665d02a997f [2021-03-26T03:19:27.317Z] Step 7/8 : COPY . . [2021-03-26T03:19:28.752Z] ---> ae3fe11212f1 [2021-03-26T03:19:28.752Z] Step 8/8 : RUN go mod download [2021-03-26T03:19:28.752Z] ---> Running in af6470d6eb92 [2021-03-26T03:19:52.461Z] Running on prd-centos7-docker-4c-2g-31485 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws [2021-03-26T03:19:52.523Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-03-26T03:19:55.661Z] Removing intermediate container af6470d6eb92 [2021-03-26T03:19:55.661Z] ---> 6e68029cf20d [2021-03-26T03:19:55.661Z] Successfully built 6e68029cf20d [2021-03-26T03:19:55.661Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-26T03:19:56.008Z] + docker inspect -f . ci-base-image-arm64 [2021-03-26T03:19:56.008Z] . [Pipeline] withDockerContainer [2021-03-26T03:19:56.252Z] prd-ubuntu18.04-docker-arm64-4c-16g-31484 does not seem to be running inside a container [2021-03-26T03:19:56.341Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-arm64 cat [2021-03-26T03:19:57.793Z] $ docker top 2dfd454f404d82045008246705221dd511f5698c7f01263b53fbc99b42d24add -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-26T03:19:58.777Z] + go version [2021-03-26T03:19:58.777Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-26T03:19:58.812Z] $ docker stop --time=1 2dfd454f404d82045008246705221dd511f5698c7f01263b53fbc99b42d24add [2021-03-26T03:20:00.307Z] using credential edgex-jenkins-ssh [2021-03-26T03:20:00.369Z] Cloning the remote Git repository [2021-03-26T03:20:00.482Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-26T03:20:00.789Z] $ docker rm -f 2dfd454f404d82045008246705221dd511f5698c7f01263b53fbc99b42d24add [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-26T03:20:01.824Z] + docker inspect -f . ci-base-image-arm64 [2021-03-26T03:20:01.824Z] . [Pipeline] withDockerContainer [2021-03-26T03:20:00.680Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-03-26T03:20:00.922Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-26T03:20:00.922Z] > git --version # timeout=10 [2021-03-26T03:20:00.952Z] > git --version # 'git version 2.24.3' [2021-03-26T03:20:00.953Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-26T03:20:01.071Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-26T03:20:02.064Z] prd-ubuntu18.04-docker-arm64-4c-16g-31484 does not seem to be running inside a container [2021-03-26T03:20:02.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-arm64 cat [2021-03-26T03:20:03.718Z] $ docker top 78c478ac9b7e5269d966d345a4b26164202f090b6b1446590eae8545787b102d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-26T03:20:04.724Z] + make test [2021-03-26T03:20:04.724Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-26T03:20:03.415Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-26T03:20:03.437Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-26T03:20:03.466Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-26T03:20:03.502Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-26T03:20:03.503Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-26T03:20:03.511Z] > 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-26T03:20:05.297Z] Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde [2021-03-26T03:20:05.509Z] Merge succeeded, producing 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde [2021-03-26T03:20:05.510Z] Checking out Revision 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde (PR-829) [2021-03-26T03:20:05.313Z] > git config core.sparsecheckout # timeout=10 [2021-03-26T03:20:05.337Z] > git checkout -f 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde # timeout=10 [2021-03-26T03:20:05.406Z] > git remote # timeout=10 [2021-03-26T03:20:05.426Z] > git config --get remote.origin.url # timeout=10 [2021-03-26T03:20:05.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-26T03:20:05.462Z] > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 [2021-03-26T03:20:05.491Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-26T03:20:05.520Z] > git config core.sparsecheckout # timeout=10 [2021-03-26T03:20:05.542Z] > git checkout -f 1cd4cc8e2d4dac91e67e3b5d69ad979195811dde # timeout=10 [2021-03-26T03:20:09.776Z] 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-26T03:20:11.459Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-26T03:20:11.919Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-26T03:20:12.267Z] + sudo service docker restart [2021-03-26T03:20:12.267Z] + true [2021-03-26T03:20:12.267Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-26T03:20:14.982Z] provisioning config files... [2021-03-26T03:20:15.053Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config7599309179053701503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-26T03:20:15.520Z] ---> docker-login.sh [2021-03-26T03:20:15.520Z] nexus3.edgexfoundry.org:10001 [2021-03-26T03:20:16.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:20:16.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:20:16.552Z] Configure a credential helper to remove this warning. See [2021-03-26T03:20:16.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:20:16.552Z] [2021-03-26T03:20:16.552Z] Login Succeeded [2021-03-26T03:20:16.552Z] nexus3.edgexfoundry.org:10002 [2021-03-26T03:20:16.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:20:17.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:20:17.128Z] Configure a credential helper to remove this warning. See [2021-03-26T03:20:17.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:20:17.128Z] [2021-03-26T03:20:17.128Z] Login Succeeded [2021-03-26T03:20:17.128Z] nexus3.edgexfoundry.org:10003 [2021-03-26T03:20:17.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:20:17.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:20:17.424Z] Configure a credential helper to remove this warning. See [2021-03-26T03:20:17.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:20:17.424Z] [2021-03-26T03:20:17.424Z] Login Succeeded [2021-03-26T03:20:17.424Z] nexus3.edgexfoundry.org:10004 [2021-03-26T03:20:17.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:20:17.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:20:17.697Z] Configure a credential helper to remove this warning. See [2021-03-26T03:20:17.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:20:17.697Z] [2021-03-26T03:20:17.697Z] Login Succeeded [2021-03-26T03:20:17.697Z] docker.io [2021-03-26T03:20:17.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-26T03:20:18.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-26T03:20:18.238Z] Configure a credential helper to remove this warning. See [2021-03-26T03:20:18.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-26T03:20:18.238Z] [2021-03-26T03:20:18.238Z] Login Succeeded [2021-03-26T03:20:18.238Z] ---> docker-login.sh ends [Pipeline] } [2021-03-26T03:20:18.255Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-26T03:20:18.705Z] ========================================================= [2021-03-26T03:20:18.705Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-26T03:20:18.705Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-26T03:20:19.164Z] + 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-26T03:20:19.795Z] Sending build context to Docker daemon 2.4MB [2021-03-26T03:20:19.795Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-26T03:20:19.795Z] Step 2/8 : FROM ${BASE} [2021-03-26T03:20:19.795Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-26T03:20:19.795Z] 188c0c94c7c5: Pulling fs layer [2021-03-26T03:20:19.795Z] 0ef7d3d256c8: Pulling fs layer [2021-03-26T03:20:19.795Z] de9db76c5a1d: Pulling fs layer [2021-03-26T03:20:19.795Z] bca2f99d35d6: Pulling fs layer [2021-03-26T03:20:19.795Z] 93359f2a8cfa: Pulling fs layer [2021-03-26T03:20:19.795Z] 7c6f9722023f: Pulling fs layer [2021-03-26T03:20:19.795Z] a35cf1a2eb13: Pulling fs layer [2021-03-26T03:20:19.795Z] bca2f99d35d6: Waiting [2021-03-26T03:20:19.795Z] 93359f2a8cfa: Waiting [2021-03-26T03:20:19.795Z] 7c6f9722023f: Waiting [2021-03-26T03:20:19.795Z] a35cf1a2eb13: Waiting [2021-03-26T03:20:19.795Z] de9db76c5a1d: Verifying Checksum [2021-03-26T03:20:19.795Z] de9db76c5a1d: Download complete [2021-03-26T03:20:19.795Z] 0ef7d3d256c8: Verifying Checksum [2021-03-26T03:20:19.795Z] 0ef7d3d256c8: Download complete [2021-03-26T03:20:19.795Z] 93359f2a8cfa: Verifying Checksum [2021-03-26T03:20:19.795Z] 93359f2a8cfa: Download complete [2021-03-26T03:20:19.795Z] 7c6f9722023f: Verifying Checksum [2021-03-26T03:20:19.795Z] 7c6f9722023f: Download complete [2021-03-26T03:20:20.071Z] 188c0c94c7c5: Verifying Checksum [2021-03-26T03:20:20.071Z] 188c0c94c7c5: Download complete [2021-03-26T03:20:20.656Z] 188c0c94c7c5: Pull complete [2021-03-26T03:20:20.923Z] 0ef7d3d256c8: Pull complete [2021-03-26T03:20:21.194Z] de9db76c5a1d: Pull complete [2021-03-26T03:20:22.626Z] a35cf1a2eb13: Verifying Checksum [2021-03-26T03:20:22.626Z] a35cf1a2eb13: Download complete [2021-03-26T03:20:26.177Z] bca2f99d35d6: Verifying Checksum [2021-03-26T03:20:26.177Z] bca2f99d35d6: Download complete [2021-03-26T03:20:26.897Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-26T03:20:35.193Z] # pkg-config --cflags -- libzmq [2021-03-26T03:20:35.193Z] pkg-config: exec: "pkg-config": executable file not found in $PATH [2021-03-26T03:20:41.830Z] bca2f99d35d6: Pull complete [2021-03-26T03:20:42.555Z] 93359f2a8cfa: Pull complete [2021-03-26T03:20:43.156Z] 7c6f9722023f: Pull complete [2021-03-26T03:20:51.698Z] a35cf1a2eb13: Pull complete [2021-03-26T03:20:51.698Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-26T03:20:51.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-26T03:20:51.698Z] ---> a62c8e92a672 [2021-03-26T03:20:51.698Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-26T03:20:52.319Z] ---> Running in a7088e4bce71 [2021-03-26T03:20:52.611Z] Removing intermediate container a7088e4bce71 [2021-03-26T03:20:52.611Z] ---> 07970be5511a [2021-03-26T03:20:52.611Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-26T03:20:52.611Z] ---> Running in 61629791213f [2021-03-26T03:20:57.382Z] Removing intermediate container 61629791213f [2021-03-26T03:20:57.382Z] ---> 4a1fc2c004f6 [2021-03-26T03:20:57.382Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-26T03:20:57.382Z] ---> Running in 38bf35851a4c [2021-03-26T03:20:58.653Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-26T03:21:00.151Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-26T03:21:01.245Z] OK: 166 MiB in 39 packages [2021-03-26T03:21:04.453Z] Removing intermediate container 38bf35851a4c [2021-03-26T03:21:04.453Z] ---> d7e6d65b8dbc [2021-03-26T03:21:04.453Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-26T03:21:04.453Z] ---> Running in 757adaea180a [2021-03-26T03:21:04.732Z] Removing intermediate container 757adaea180a [2021-03-26T03:21:04.732Z] ---> f9c593fe86c6 [2021-03-26T03:21:04.732Z] Step 7/8 : COPY . . [2021-03-26T03:21:06.227Z] ---> 009a4d90b914 [2021-03-26T03:21:06.227Z] Step 8/8 : RUN go mod download [2021-03-26T03:21:06.521Z] ---> Running in 8ef77ab7bc7c [2021-03-26T03:21:22.183Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] [2021-03-26T03:21:22.183Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] [2021-03-26T03:21:22.183Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/clients [build failed] [2021-03-26T03:21:22.183Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] [2021-03-26T03:21:22.183Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] [2021-03-26T03:21:22.183Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.788s coverage: 6.6% of statements [2021-03-26T03:21:22.183Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2021-03-26T03:21:22.183Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-03-26T03:21:22.226Z] $ docker stop --time=1 78c478ac9b7e5269d966d345a4b26164202f090b6b1446590eae8545787b102d [2021-03-26T03:21:24.393Z] $ docker rm -f 78c478ac9b7e5269d966d345a4b26164202f090b6b1446590eae8545787b102d [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-26T03:21:26.335Z] ---> job-cost.sh [2021-03-26T03:21:26.335Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OEWZ [2021-03-26T03:21:45.954Z] Removing intermediate container 8ef77ab7bc7c [2021-03-26T03:21:45.954Z] ---> c74f558bbed4 [2021-03-26T03:21:45.954Z] Successfully built c74f558bbed4 [2021-03-26T03:21:45.954Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-26T03:21:46.344Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-26T03:21:46.626Z] . [Pipeline] withDockerContainer [2021-03-26T03:21:47.918Z] prd-centos7-docker-4c-2g-31485 does not seem to be running inside a container [2021-03-26T03:21:48.488Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-26T03:21:51.748Z] $ docker top d6affdd380e37075e6213410e23b25fc3495de8c65c2634c6ca8c4db9cdc38f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-26T03:21:52.633Z] + go version [2021-03-26T03:21:52.633Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-26T03:21:52.652Z] $ docker stop --time=1 d6affdd380e37075e6213410e23b25fc3495de8c65c2634c6ca8c4db9cdc38f3 [2021-03-26T03:21:54.493Z] $ docker rm -f d6affdd380e37075e6213410e23b25fc3495de8c65c2634c6ca8c4db9cdc38f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-26T03:21:55.552Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-26T03:21:55.552Z] . [Pipeline] withDockerContainer [2021-03-26T03:21:55.901Z] prd-centos7-docker-4c-2g-31485 does not seem to be running inside a container [2021-03-26T03:21:56.049Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-26T03:21:57.884Z] $ docker top b8d9d026c031c6b3a0f63dc4031656471cd42b60847238b5c96c7c32e91e9723 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-26T03:21:58.527Z] + make test [2021-03-26T03:21:58.527Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-26T03:22:05.314Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-26T03:22:18.813Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-26T03:22:25.780Z] # pkg-config --cflags -- libzmq [2021-03-26T03:22:25.780Z] pkg-config: exec: "pkg-config": executable file not found in $PATH [2021-03-26T03:23:05.782Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] [2021-03-26T03:23:05.782Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] [2021-03-26T03:23:05.782Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/clients [build failed] [2021-03-26T03:23:05.782Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] [2021-03-26T03:23:05.782Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] [2021-03-26T03:23:05.782Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.337s coverage: 6.6% of statements [2021-03-26T03:23:05.782Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2021-03-26T03:23:05.782Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-03-26T03:23:05.816Z] $ docker stop --time=1 b8d9d026c031c6b3a0f63dc4031656471cd42b60847238b5c96c7c32e91e9723 [2021-03-26T03:23:07.889Z] $ docker rm -f b8d9d026c031c6b3a0f63dc4031656471cd42b60847238b5c96c7c32e91e9723 [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-26T03:23:09.514Z] ---> job-cost.sh [2021-03-26T03:23:09.514Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Tsy4 [2021-03-26T03:23:36.391Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-26T03:23:42.087Z] lf-activate-venv(): INFO: Adding /tmp/venv-OEWZ/bin to PATH [2021-03-26T03:23:42.087Z] INFO: No Stack... [2021-03-26T03:23:42.087Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-26T03:23:42.087Z] INFO: Archiving Costs [Pipeline] sh [2021-03-26T03:23:42.430Z] + cut -d, -f6 [2021-03-26T03:23:42.430Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [Pipeline] lock [2021-03-26T03:23:42.553Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-7-stack-cost] [2021-03-26T03:23:42.563Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-7-stack-cost] did not exist. Created. [2021-03-26T03:23:42.563Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-26T03:23:43.013Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-26T03:23:43.979Z] Stashed 1 file(s) [Pipeline] } [2021-03-26T03:23:43.988Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-26T03:23:44.696Z] Failed in branch arm64 [2021-03-26T03:24:15.593Z] lf-activate-venv(): INFO: Adding /tmp/venv-Tsy4/bin to PATH [2021-03-26T03:24:15.593Z] INFO: No Stack... [2021-03-26T03:24:15.593Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-26T03:24:16.563Z] INFO: Archiving Costs [Pipeline] sh [2021-03-26T03:24:16.923Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2021-03-26T03:24:16.923Z] + cut -d, -f6 [Pipeline] lock [2021-03-26T03:24:17.048Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-7-stack-cost] [2021-03-26T03:24:17.056Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-7-stack-cost] did not exist. Created. [2021-03-26T03:24:17.057Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-26T03:24:17.501Z] /w/workspace/device-sdk-go/7@tmp/durable-f8b6e831/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-03-26T03:24:17.863Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-26T03:24:17.923Z] Warning: overwriting stash ‘stack-cost’ [2021-03-26T03:24:18.961Z] Stashed 1 file(s) [Pipeline] } [2021-03-26T03:24:18.969Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-26T03:24:19.574Z] 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-26T03:24:22.490Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-26T03:24:23.187Z] ---> package-listing.sh [2021-03-26T03:24:23.187Z] ++ facter osfamily [2021-03-26T03:24:23.187Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-26T03:24:23.497Z] + OS_FAMILY=redhat [2021-03-26T03:24:23.497Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-829 [2021-03-26T03:24:23.497Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-26T03:24:23.497Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-26T03:24:23.497Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-26T03:24:23.497Z] + PACKAGES=/tmp/packages_start.txt [2021-03-26T03:24:23.497Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' [2021-03-26T03:24:23.497Z] + PACKAGES=/tmp/packages_end.txt [2021-03-26T03:24:23.497Z] + case "${OS_FAMILY}" in [2021-03-26T03:24:23.497Z] + rpm -qa [2021-03-26T03:24:23.497Z] + sort [2021-03-26T03:24:31.892Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-26T03:24:31.892Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-26T03:24:31.892Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-26T03:24:31.892Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' [2021-03-26T03:24:31.892Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-829/archives/ [2021-03-26T03:24:31.892Z] + 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-26T03:24:31.911Z] 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-26T03:24:32.252Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-26T03:24:32.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-26T03:24:32.918Z] [2021-03-26T03:24:32.918Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-26T03:24:33.297Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-26T03:24:33.297Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-26T03:24:33.297Z] df20fa9351a1: Pulling fs layer [2021-03-26T03:24:33.297Z] 36b3adc4ff6f: Pulling fs layer [2021-03-26T03:24:33.297Z] 8ad3a11d3b57: Pulling fs layer [2021-03-26T03:24:33.297Z] 46f8f816bc3b: Pulling fs layer [2021-03-26T03:24:33.297Z] 93b61091891f: Pulling fs layer [2021-03-26T03:24:33.297Z] 93b9cdb0e59b: Pulling fs layer [2021-03-26T03:24:33.297Z] 5e14af77c1be: Pulling fs layer [2021-03-26T03:24:33.297Z] 01666e4c0597: Pulling fs layer [2021-03-26T03:24:33.297Z] aa168da1d23b: Pulling fs layer [2021-03-26T03:24:33.297Z] 46f8f816bc3b: Waiting [2021-03-26T03:24:33.297Z] 93b61091891f: Waiting [2021-03-26T03:24:33.297Z] 01666e4c0597: Waiting [2021-03-26T03:24:33.297Z] 5e14af77c1be: Waiting [2021-03-26T03:24:33.297Z] aa168da1d23b: Waiting [2021-03-26T03:24:33.297Z] 93b9cdb0e59b: Waiting [2021-03-26T03:24:33.567Z] 36b3adc4ff6f: Download complete [2021-03-26T03:24:33.567Z] 46f8f816bc3b: Verifying Checksum [2021-03-26T03:24:33.567Z] 46f8f816bc3b: Download complete [2021-03-26T03:24:33.567Z] df20fa9351a1: Download complete [2021-03-26T03:24:33.567Z] 93b9cdb0e59b: Verifying Checksum [2021-03-26T03:24:33.567Z] 93b9cdb0e59b: Download complete [2021-03-26T03:24:33.567Z] 5e14af77c1be: Verifying Checksum [2021-03-26T03:24:33.567Z] 5e14af77c1be: Download complete [2021-03-26T03:24:33.567Z] 01666e4c0597: Verifying Checksum [2021-03-26T03:24:33.567Z] 01666e4c0597: Download complete [2021-03-26T03:24:33.567Z] 93b61091891f: Verifying Checksum [2021-03-26T03:24:33.567Z] 93b61091891f: Download complete [2021-03-26T03:24:34.536Z] df20fa9351a1: Pull complete [2021-03-26T03:24:34.536Z] 8ad3a11d3b57: Verifying Checksum [2021-03-26T03:24:34.536Z] 8ad3a11d3b57: Download complete [2021-03-26T03:24:34.811Z] 36b3adc4ff6f: Pull complete [2021-03-26T03:24:36.240Z] 8ad3a11d3b57: Pull complete [2021-03-26T03:24:37.223Z] 46f8f816bc3b: Pull complete [2021-03-26T03:24:37.223Z] aa168da1d23b: Verifying Checksum [2021-03-26T03:24:37.223Z] aa168da1d23b: Download complete [2021-03-26T03:24:38.224Z] 93b61091891f: Pull complete [2021-03-26T03:24:38.565Z] 93b9cdb0e59b: Pull complete [2021-03-26T03:24:38.831Z] 5e14af77c1be: Pull complete [2021-03-26T03:24:38.831Z] 01666e4c0597: Pull complete [2021-03-26T03:24:57.356Z] aa168da1d23b: Pull complete [2021-03-26T03:24:57.356Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-26T03:24:57.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-26T03:24:57.356Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-26T03:24:58.148Z] prd-centos7-docker-4c-2g-31483 does not seem to be running inside a container [2021-03-26T03:24:58.242Z] $ 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-26T03:25:02.230Z] $ docker top e27f3fd306caeb50725101aa2e42e90f3d6acb0023c821bb1731197a6dcb190a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-26T03:25:03.078Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-26T03:25:03.425Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-26T03:25:03.761Z] + ls /var/log/sa-host [2021-03-26T03:25:03.761Z] + sadf -c /var/log/sa-host/sa23 [2021-03-26T03:25:03.761Z] file_magic: OK [2021-03-26T03:25:03.761Z] HZ: Using current value: 100 [2021-03-26T03:25:03.761Z] file_header: OK [2021-03-26T03:25:03.761Z] 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-26T03:25:03.761Z] Statistics: [2021-03-26T03:25:03.761Z] Hnuu...uuuununununu... [2021-03-26T03:25:03.761Z] File successfully converted to sysstat format version 12.2.1 [2021-03-26T03:25:03.761Z] + sadf -c /var/log/sa-host/sa26 [2021-03-26T03:25:03.761Z] file_magic: OK [2021-03-26T03:25:03.761Z] HZ: Using current value: 100 [2021-03-26T03:25:03.761Z] file_header: OK [2021-03-26T03:25:03.761Z] 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-26T03:25:03.761Z] Statistics: [2021-03-26T03:25:03.761Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-26T03:25:03.761Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-26T03:25:04.355Z] provisioning config files... [2021-03-26T03:25:04.373Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config8870243131702275293tmp [Pipeline] { [Pipeline] echo [2021-03-26T03:25:04.448Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-26T03:25:04.789Z] ---> create-netrc.sh [Pipeline] } [2021-03-26T03:25:05.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-26T03:25:05.178Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-26T03:25:05.493Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-26T03:25:05.509Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-26T03:25:05.872Z] ---> sudo-logs.sh [2021-03-26T03:25:05.872Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-26T03:25:06.482Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-26T03:25:06.906Z] ---> job-cost.sh [2021-03-26T03:25:07.181Z] lf-activate-venv: SKIPPING [2021-03-26T03:25:07.181Z] DEBUG: total: 0.029999999329447746 [2021-03-26T03:25:07.181Z] INFO: Retrieving Stack Cost... [2021-03-26T03:25:07.769Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-26T03:25:08.356Z] INFO: Archiving Costs [Pipeline] echo [2021-03-26T03:25:08.371Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-26T03:25:09.087Z] ---> logs-deploy.sh [2021-03-26T03:25:09.087Z] lf-activate-venv: SKIPPING [2021-03-26T03:25:09.087Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-829/7 [2021-03-26T03:25:09.087Z] INFO: archiving workspace using pattern(s): [2021-03-26T03:25:11.705Z] Archives upload complete. [2021-03-26T03:25:12.049Z] INFO: archiving logs to Nexus