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 d1d9bcbcfc0abd23936c477722a2a680a73e8042+e522836f5d508ce20413c5d2a08a926bd2b9771b (ee6c128983866d620bb125561a51a6f66bc1400c) 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-31308 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 Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit d1d9bcbcfc0abd23936c477722a2a680a73e8042 Merge succeeded, producing d1d9bcbcfc0abd23936c477722a2a680a73e8042 Checking out Revision d1d9bcbcfc0abd23936c477722a2a680a73e8042 (PR-829) 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 d1d9bcbcfc0abd23936c477722a2a680a73e8042 # 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 d1d9bcbcfc0abd23936c477722a2a680a73e8042 # 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] { > git rev-list --no-walk 26a4423d655cc358e7d0c344981c50fea279f837 # timeout=10 [Pipeline] timeout [2021-03-25T03:55:23.205Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-25T03:55:23.498Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-25T03:55:23.606Z] ========================================================= [2021-03-25T03:55:23.606Z] EdgeX Global Pipelines Version Info [2021-03-25T03:55:23.606Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-25T03:55:25.231Z] ------------------- [2021-03-25T03:55:25.232Z] stable info: [2021-03-25T03:55:25.232Z] ------------------- [2021-03-25T03:55:25.232Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-25T03:55:25.232Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-25T03:55:25.232Z] Message: update stable to v1.0.186 [2021-03-25T03:55:26.176Z] ------------------- [2021-03-25T03:55:26.176Z] experimental info: [2021-03-25T03:55:26.176Z] ------------------- [2021-03-25T03:55:26.176Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-25T03:55:26.176Z] Commit SHA: 606c6f769ab3e61af702b3bd2da8ca6cacc01659 [2021-03-25T03:55:26.176Z] Message: update experimental to v1.0.187 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-25T03:55:26.484Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-25T03:55:26.583Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-25T03:55:26.678Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-25T03:55:26.774Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-25T03:55:26.875Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-25T03:55:27.032Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-25T03:55:27.142Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-25T03:55:27.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-25T03:55:27.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-25T03:55:27.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-25T03:55:27.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-25T03:55:27.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-25T03:55:27.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-25T03:55:27.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-25T03:55:27.918Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-25T03:55:28.016Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T03:55:28.116Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T03:55:28.230Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T03:55:28.330Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-25T03:55:28.435Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-25T03:55:28.574Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-25T03:55:28.672Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-25T03:55:28.762Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-25T03:55:28.857Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-25T03:55:28.948Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-25T03:55:29.043Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-25T03:55:29.141Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-829 [Pipeline] echo [2021-03-25T03:55:29.233Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-829 [Pipeline] echo [2021-03-25T03:55:29.330Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-829 [Pipeline] echo [2021-03-25T03:55:29.425Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d1d9bcbcfc0abd23936c477722a2a680a73e8042 [Pipeline] echo [2021-03-25T03:55:29.525Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d1d9bcb [Pipeline] echo [2021-03-25T03:55:29.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-25T03:55:29.810Z] provisioning config files... [2021-03-25T03:55:29.848Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config7091762889244845306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-25T03:55:30.223Z] ---> docker-login.sh [2021-03-25T03:55:30.223Z] nexus3.edgexfoundry.org:10001 [2021-03-25T03:55:30.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:55:30.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:55:30.485Z] Configure a credential helper to remove this warning. See [2021-03-25T03:55:30.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:55:30.485Z] [2021-03-25T03:55:30.485Z] Login Succeeded [2021-03-25T03:55:30.485Z] nexus3.edgexfoundry.org:10002 [2021-03-25T03:55:30.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:55:30.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:55:30.747Z] Configure a credential helper to remove this warning. See [2021-03-25T03:55:30.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:55:30.747Z] [2021-03-25T03:55:30.747Z] Login Succeeded [2021-03-25T03:55:30.747Z] nexus3.edgexfoundry.org:10003 [2021-03-25T03:55:30.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:55:31.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:55:31.010Z] Configure a credential helper to remove this warning. See [2021-03-25T03:55:31.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:55:31.010Z] [2021-03-25T03:55:31.010Z] Login Succeeded [2021-03-25T03:55:31.010Z] nexus3.edgexfoundry.org:10004 [2021-03-25T03:55:31.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:55:31.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:55:31.010Z] Configure a credential helper to remove this warning. See [2021-03-25T03:55:31.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:55:31.010Z] [2021-03-25T03:55:31.010Z] Login Succeeded [2021-03-25T03:55:31.010Z] docker.io [2021-03-25T03:55:31.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:55:31.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:55:31.533Z] Configure a credential helper to remove this warning. See [2021-03-25T03:55:31.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:55:31.533Z] [2021-03-25T03:55:31.533Z] Login Succeeded [2021-03-25T03:55:31.533Z] ---> docker-login.sh ends [Pipeline] } [2021-03-25T03:55:31.543Z] 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-25T03:55:32.465Z] + git log --format=format:%s -1 d1d9bcbcfc0abd23936c477722a2a680a73e8042 [Pipeline] echo [2021-03-25T03:55:32.530Z] GIT_COMMIT: d1d9bcbcfc0abd23936c477722a2a680a73e8042, Commit Message: feat: update example configuration to support MessageBus [Pipeline] echo [2021-03-25T03:55:32.576Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-25T03:55:33.602Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T03:55:33.603Z] [2021-03-25T03:55:33.603Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T03:55:34.041Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T03:55:34.041Z] latest: Pulling from edgex-devops/git-semver [2021-03-25T03:55:34.041Z] 31603596830f: Pulling fs layer [2021-03-25T03:55:34.041Z] 2a8b12db71e7: Pulling fs layer [2021-03-25T03:55:34.041Z] 6ca5941a6612: Pulling fs layer [2021-03-25T03:55:34.041Z] ecc8261a40a4: Pulling fs layer [2021-03-25T03:55:34.041Z] ecc8261a40a4: Waiting [2021-03-25T03:55:34.041Z] 2a8b12db71e7: Verifying Checksum [2021-03-25T03:55:34.041Z] 2a8b12db71e7: Download complete [2021-03-25T03:55:34.304Z] 31603596830f: Verifying Checksum [2021-03-25T03:55:34.304Z] 31603596830f: Download complete [2021-03-25T03:55:34.304Z] 6ca5941a6612: Verifying Checksum [2021-03-25T03:55:34.304Z] 6ca5941a6612: Download complete [2021-03-25T03:55:34.304Z] ecc8261a40a4: Verifying Checksum [2021-03-25T03:55:34.304Z] ecc8261a40a4: Download complete [2021-03-25T03:55:34.567Z] 31603596830f: Pull complete [2021-03-25T03:55:34.833Z] 2a8b12db71e7: Pull complete [2021-03-25T03:55:35.784Z] 6ca5941a6612: Pull complete [2021-03-25T03:55:35.784Z] ecc8261a40a4: Pull complete [2021-03-25T03:55:35.784Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-25T03:55:35.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T03:55:35.784Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-25T03:55:35.885Z] prd-centos7-docker-4c-2g-31308 does not seem to be running inside a container [2021-03-25T03:55:35.939Z] $ 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-25T03:55:38.211Z] $ docker top 79014c8c560bbffe6b5b126ca91af6f3c4a35571ee3a7c5a845c07a02464f20b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-25T03:55:38.513Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T03:55:38.514Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T03:55:38.723Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T03:55:38.726Z] $ docker exec 79014c8c560bbffe6b5b126ca91af6f3c4a35571ee3a7c5a845c07a02464f20b ssh-agent [2021-03-25T03:55:38.897Z] SSH_AUTH_SOCK=/tmp/ssh-jkAaTCXiDHvB/agent.11 [2021-03-25T03:55:38.897Z] SSH_AGENT_PID=17 [2021-03-25T03:55:38.907Z] Running ssh-add (command line suppressed) [2021-03-25T03:55:39.033Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_4903681992234200983.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_4903681992234200983.key) [2021-03-25T03:55:39.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T03:55:39.418Z] + git tag --points-at HEAD [Pipeline] } [2021-03-25T03:55:39.437Z] $ docker exec --env ******** --env ******** 79014c8c560bbffe6b5b126ca91af6f3c4a35571ee3a7c5a845c07a02464f20b ssh-agent -k [2021-03-25T03:55:39.568Z] unset SSH_AUTH_SOCK; [2021-03-25T03:55:39.568Z] unset SSH_AGENT_PID; [2021-03-25T03:55:39.568Z] echo Agent pid 17 killed; [2021-03-25T03:55:39.617Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-25T03:55:39.765Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T03:55:39.765Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T03:55:40.005Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T03:55:40.008Z] $ docker exec 79014c8c560bbffe6b5b126ca91af6f3c4a35571ee3a7c5a845c07a02464f20b ssh-agent [2021-03-25T03:55:40.170Z] SSH_AUTH_SOCK=/tmp/ssh-3dvWwq3w5oB6/agent.46 [2021-03-25T03:55:40.170Z] SSH_AGENT_PID=51 [2021-03-25T03:55:40.176Z] Running ssh-add (command line suppressed) [2021-03-25T03:55:40.316Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_6331977090507966905.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_6331977090507966905.key) [2021-03-25T03:55:40.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T03:55:40.733Z] + git semver init [2021-03-25T03:55:40.733Z] # -> Open(): unable to determine branch for HEAD [2021-03-25T03:55:40.733Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.git [2021-03-25T03:55:40.733Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-829 [2021-03-25T03:55:40.733Z] # $SEMVER_REMOTE_NAME = origin [2021-03-25T03:55:40.733Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-25T03:55:40.733Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-25T03:55:40.733Z] # $SEMVER_BRANCH = PR-829 [2021-03-25T03:55:40.733Z] # $SEMVER_TEMP = /tmp/semver-664714601 [2021-03-25T03:55:40.733Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-25T03:55:41.710Z] # '/tmp/semver-664714601' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver' [2021-03-25T03:55:41.710Z] # -> Force: false [2021-03-25T03:55:41.710Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver [Pipeline] } [2021-03-25T03:55:41.728Z] $ docker exec --env ******** --env ******** 79014c8c560bbffe6b5b126ca91af6f3c4a35571ee3a7c5a845c07a02464f20b ssh-agent -k [2021-03-25T03:55:41.842Z] unset SSH_AUTH_SOCK; [2021-03-25T03:55:41.842Z] unset SSH_AGENT_PID; [2021-03-25T03:55:41.842Z] echo Agent pid 51 killed; [2021-03-25T03:55:41.899Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-25T03:55:42.434Z] + git semver [Pipeline] } [2021-03-25T03:55:42.459Z] $ docker stop --time=1 79014c8c560bbffe6b5b126ca91af6f3c4a35571ee3a7c5a845c07a02464f20b [2021-03-25T03:55:43.880Z] $ docker rm -f 79014c8c560bbffe6b5b126ca91af6f3c4a35571ee3a7c5a845c07a02464f20b [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-25T03:55:44.375Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-25T03:55:44.793Z] Stashed 1 file(s) [Pipeline] echo [2021-03-25T03:55:44.796Z] [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-25T03:56:00.301Z] Still waiting to schedule task [2021-03-25T03:56:00.301Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-31308’ [2021-03-25T03:56:00.304Z] Still waiting to schedule task [2021-03-25T03:56:00.304Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-25T03:57:34.478Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31309 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws [2021-03-25T03:57:34.532Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-03-25T03:57:39.502Z] using credential edgex-jenkins-ssh [2021-03-25T03:57:39.560Z] Cloning the remote Git repository [2021-03-25T03:57:39.629Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T03:57:39.735Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-03-25T03:57:39.815Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T03:57:39.815Z] > git --version # timeout=10 [2021-03-25T03:57:39.831Z] > git --version # 'git version 2.17.1' [2021-03-25T03:57:39.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T03:57:39.902Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T03:57:41.735Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit d1d9bcbcfc0abd23936c477722a2a680a73e8042 [2021-03-25T03:57:41.997Z] Merge succeeded, producing d1d9bcbcfc0abd23936c477722a2a680a73e8042 [2021-03-25T03:57:41.998Z] Checking out Revision d1d9bcbcfc0abd23936c477722a2a680a73e8042 (PR-829) [2021-03-25T03:57:41.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T03:57:41.055Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T03:57:41.081Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T03:57:41.136Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T03:57:41.137Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T03:57:41.155Z] > 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-25T03:57:41.778Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T03:57:41.803Z] > git checkout -f d1d9bcbcfc0abd23936c477722a2a680a73e8042 # timeout=10 [2021-03-25T03:57:41.915Z] > git remote # timeout=10 [2021-03-25T03:57:41.937Z] > git config --get remote.origin.url # timeout=10 [2021-03-25T03:57:41.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T03:57:41.967Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-25T03:57:41.989Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-25T03:57:42.020Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T03:57:42.039Z] > git checkout -f d1d9bcbcfc0abd23936c477722a2a680a73e8042 # timeout=10 [2021-03-25T03:57:46.471Z] 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-25T03:57:48.158Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-25T03:57:48.577Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-25T03:57:48.931Z] + sudo service docker restart [2021-03-25T03:57:48.931Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-25T03:57:51.632Z] provisioning config files... [2021-03-25T03:57:51.681Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config6440062352878028971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-25T03:57:52.130Z] ---> docker-login.sh [2021-03-25T03:57:52.130Z] nexus3.edgexfoundry.org:10001 [2021-03-25T03:57:53.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:57:53.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:57:53.389Z] Configure a credential helper to remove this warning. See [2021-03-25T03:57:53.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:57:53.389Z] [2021-03-25T03:57:53.389Z] Login Succeeded [2021-03-25T03:57:53.389Z] nexus3.edgexfoundry.org:10002 [2021-03-25T03:57:53.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:57:53.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:57:53.961Z] Configure a credential helper to remove this warning. See [2021-03-25T03:57:53.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:57:53.961Z] [2021-03-25T03:57:53.961Z] Login Succeeded [2021-03-25T03:57:53.961Z] nexus3.edgexfoundry.org:10003 [2021-03-25T03:57:54.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:57:54.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:57:54.234Z] Configure a credential helper to remove this warning. See [2021-03-25T03:57:54.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:57:54.234Z] [2021-03-25T03:57:54.234Z] Login Succeeded [2021-03-25T03:57:54.234Z] nexus3.edgexfoundry.org:10004 [2021-03-25T03:57:54.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:57:54.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:57:54.834Z] Configure a credential helper to remove this warning. See [2021-03-25T03:57:54.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:57:54.834Z] [2021-03-25T03:57:54.834Z] Login Succeeded [2021-03-25T03:57:54.834Z] docker.io [2021-03-25T03:57:55.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:57:55.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:57:55.373Z] Configure a credential helper to remove this warning. See [2021-03-25T03:57:55.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:57:55.373Z] [2021-03-25T03:57:55.373Z] Login Succeeded [2021-03-25T03:57:55.373Z] ---> docker-login.sh ends [Pipeline] } [2021-03-25T03:57:55.389Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-25T03:57:55.850Z] ========================================================= [2021-03-25T03:57:55.850Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-25T03:57:55.850Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-25T03:57:56.221Z] + 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-25T03:57:56.492Z] Sending build context to Docker daemon 2.387MB [2021-03-25T03:57:56.492Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-25T03:57:56.492Z] Step 2/8 : FROM ${BASE} [2021-03-25T03:57:56.765Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-25T03:57:56.765Z] 5f621e34cdf4: Pulling fs layer [2021-03-25T03:57:56.765Z] a4357932f1b6: Pulling fs layer [2021-03-25T03:57:56.765Z] 18c013af1878: Pulling fs layer [2021-03-25T03:57:56.765Z] 00ac8860ef70: Pulling fs layer [2021-03-25T03:57:56.765Z] 63d7cb157983: Pulling fs layer [2021-03-25T03:57:56.765Z] b116817d02f9: Pulling fs layer [2021-03-25T03:57:56.765Z] 745a02a5169b: Pulling fs layer [2021-03-25T03:57:56.765Z] 00ac8860ef70: Waiting [2021-03-25T03:57:56.765Z] 63d7cb157983: Waiting [2021-03-25T03:57:56.765Z] b116817d02f9: Waiting [2021-03-25T03:57:56.765Z] 745a02a5169b: Waiting [2021-03-25T03:57:56.765Z] 18c013af1878: Verifying Checksum [2021-03-25T03:57:56.765Z] 18c013af1878: Download complete [2021-03-25T03:57:56.765Z] a4357932f1b6: Verifying Checksum [2021-03-25T03:57:56.765Z] a4357932f1b6: Download complete [2021-03-25T03:57:56.765Z] 63d7cb157983: Verifying Checksum [2021-03-25T03:57:56.765Z] 63d7cb157983: Download complete [2021-03-25T03:57:56.765Z] 5f621e34cdf4: Verifying Checksum [2021-03-25T03:57:56.765Z] 5f621e34cdf4: Download complete [2021-03-25T03:57:56.765Z] b116817d02f9: Verifying Checksum [2021-03-25T03:57:56.765Z] b116817d02f9: Download complete [2021-03-25T03:57:57.367Z] 5f621e34cdf4: Pull complete [2021-03-25T03:57:57.963Z] a4357932f1b6: Pull complete [2021-03-25T03:57:58.236Z] 18c013af1878: Pull complete [2021-03-25T03:57:59.671Z] 745a02a5169b: Verifying Checksum [2021-03-25T03:57:59.671Z] 745a02a5169b: Download complete [2021-03-25T03:58:00.651Z] 00ac8860ef70: Verifying Checksum [2021-03-25T03:58:00.651Z] 00ac8860ef70: Download complete [2021-03-25T03:58:10.817Z] 00ac8860ef70: Pull complete [2021-03-25T03:58:10.817Z] 63d7cb157983: Pull complete [2021-03-25T03:58:10.817Z] b116817d02f9: Pull complete [2021-03-25T03:58:15.177Z] 745a02a5169b: Pull complete [2021-03-25T03:58:15.177Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-25T03:58:15.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-25T03:58:15.177Z] ---> b7e6874047d6 [2021-03-25T03:58:15.177Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-25T03:58:17.818Z] ---> Running in d9dc5ffaf5d6 [2021-03-25T03:58:18.098Z] Removing intermediate container d9dc5ffaf5d6 [2021-03-25T03:58:18.098Z] ---> 742ddf97ff07 [2021-03-25T03:58:18.098Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-25T03:58:18.374Z] ---> Running in f82c6696320a [2021-03-25T03:58:20.998Z] Removing intermediate container f82c6696320a [2021-03-25T03:58:20.998Z] ---> 6edd5ac7130d [2021-03-25T03:58:20.998Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-25T03:58:20.998Z] ---> Running in 68688bb285d3 [2021-03-25T03:58:21.984Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-25T03:58:22.582Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-25T03:58:23.183Z] OK: 142 MiB in 39 packages [2021-03-25T03:58:24.164Z] Removing intermediate container 68688bb285d3 [2021-03-25T03:58:24.164Z] ---> db027b36e9ec [2021-03-25T03:58:24.164Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-25T03:58:24.445Z] ---> Running in 21036c20145f [2021-03-25T03:58:25.052Z] Removing intermediate container 21036c20145f [2021-03-25T03:58:25.052Z] ---> 144a5ec3edda [2021-03-25T03:58:25.052Z] Step 7/8 : COPY . . [2021-03-25T03:58:26.530Z] ---> 7da6c2e18d2e [2021-03-25T03:58:26.530Z] Step 8/8 : RUN go mod download [2021-03-25T03:58:26.530Z] ---> Running in d5572ee37c16 [2021-03-25T03:58:28.856Z] Running on prd-centos7-docker-4c-2g-31310 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws [2021-03-25T03:58:28.913Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-03-25T03:58:31.508Z] using credential edgex-jenkins-ssh [2021-03-25T03:58:31.574Z] Cloning the remote Git repository [2021-03-25T03:58:31.605Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T03:58:31.681Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-03-25T03:58:31.741Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T03:58:31.741Z] > git --version # timeout=10 [2021-03-25T03:58:31.751Z] > git --version # 'git version 2.24.3' [2021-03-25T03:58:31.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T03:58:31.781Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T03:58:33.100Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit d1d9bcbcfc0abd23936c477722a2a680a73e8042 [2021-03-25T03:58:33.191Z] Merge succeeded, producing d1d9bcbcfc0abd23936c477722a2a680a73e8042 [2021-03-25T03:58:33.192Z] Checking out Revision d1d9bcbcfc0abd23936c477722a2a680a73e8042 (PR-829) [2021-03-25T03:58:32.555Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T03:58:32.570Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T03:58:32.591Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T03:58:32.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T03:58:32.605Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T03:58:32.610Z] > 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-25T03:58:33.110Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T03:58:33.115Z] > git checkout -f d1d9bcbcfc0abd23936c477722a2a680a73e8042 # timeout=10 [2021-03-25T03:58:33.159Z] > git remote # timeout=10 [2021-03-25T03:58:33.167Z] > git config --get remote.origin.url # timeout=10 [2021-03-25T03:58:33.173Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T03:58:33.177Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-25T03:58:33.189Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-25T03:58:33.198Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T03:58:33.207Z] > git checkout -f d1d9bcbcfc0abd23936c477722a2a680a73e8042 # timeout=10 [2021-03-25T03:58:36.791Z] 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-25T03:58:37.985Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-25T03:58:38.321Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-25T03:58:38.629Z] + sudo service docker restart [2021-03-25T03:58:38.629Z] + true [2021-03-25T03:58:38.629Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-25T03:58:39.661Z] provisioning config files... [2021-03-25T03:58:39.697Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1068951591260140852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-25T03:58:40.088Z] ---> docker-login.sh [2021-03-25T03:58:40.088Z] nexus3.edgexfoundry.org:10001 [2021-03-25T03:58:40.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:58:40.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:58:40.355Z] Configure a credential helper to remove this warning. See [2021-03-25T03:58:40.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:58:40.355Z] [2021-03-25T03:58:40.355Z] Login Succeeded [2021-03-25T03:58:40.355Z] nexus3.edgexfoundry.org:10002 [2021-03-25T03:58:40.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:58:40.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:58:40.618Z] Configure a credential helper to remove this warning. See [2021-03-25T03:58:40.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:58:40.618Z] [2021-03-25T03:58:40.618Z] Login Succeeded [2021-03-25T03:58:40.618Z] nexus3.edgexfoundry.org:10003 [2021-03-25T03:58:40.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:58:40.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:58:40.880Z] Configure a credential helper to remove this warning. See [2021-03-25T03:58:40.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:58:40.880Z] [2021-03-25T03:58:40.880Z] Login Succeeded [2021-03-25T03:58:40.880Z] nexus3.edgexfoundry.org:10004 [2021-03-25T03:58:40.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:58:41.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:58:41.143Z] Configure a credential helper to remove this warning. See [2021-03-25T03:58:41.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:58:41.143Z] [2021-03-25T03:58:41.143Z] Login Succeeded [2021-03-25T03:58:41.143Z] docker.io [2021-03-25T03:58:41.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T03:58:41.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T03:58:41.406Z] Configure a credential helper to remove this warning. See [2021-03-25T03:58:41.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T03:58:41.406Z] [2021-03-25T03:58:41.406Z] Login Succeeded [2021-03-25T03:58:41.406Z] ---> docker-login.sh ends [Pipeline] } [2021-03-25T03:58:41.417Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-25T03:58:41.789Z] ========================================================= [2021-03-25T03:58:41.789Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-25T03:58:41.789Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-25T03:58:42.135Z] + 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-25T03:58:42.135Z] Sending build context to Docker daemon 2.388MB [2021-03-25T03:58:42.398Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-25T03:58:42.398Z] Step 2/8 : FROM ${BASE} [2021-03-25T03:58:42.398Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-25T03:58:42.398Z] 188c0c94c7c5: Pulling fs layer [2021-03-25T03:58:42.398Z] 0ef7d3d256c8: Pulling fs layer [2021-03-25T03:58:42.398Z] de9db76c5a1d: Pulling fs layer [2021-03-25T03:58:42.398Z] bca2f99d35d6: Pulling fs layer [2021-03-25T03:58:42.398Z] 93359f2a8cfa: Pulling fs layer [2021-03-25T03:58:42.398Z] 7c6f9722023f: Pulling fs layer [2021-03-25T03:58:42.398Z] a35cf1a2eb13: Pulling fs layer [2021-03-25T03:58:42.398Z] 93359f2a8cfa: Waiting [2021-03-25T03:58:42.398Z] 7c6f9722023f: Waiting [2021-03-25T03:58:42.398Z] bca2f99d35d6: Waiting [2021-03-25T03:58:42.398Z] a35cf1a2eb13: Waiting [2021-03-25T03:58:42.398Z] de9db76c5a1d: Verifying Checksum [2021-03-25T03:58:42.398Z] de9db76c5a1d: Download complete [2021-03-25T03:58:42.398Z] 0ef7d3d256c8: Download complete [2021-03-25T03:58:42.398Z] 93359f2a8cfa: Download complete [2021-03-25T03:58:42.398Z] 7c6f9722023f: Download complete [2021-03-25T03:58:42.398Z] 188c0c94c7c5: Verifying Checksum [2021-03-25T03:58:42.398Z] 188c0c94c7c5: Download complete [2021-03-25T03:58:42.668Z] 188c0c94c7c5: Pull complete [2021-03-25T03:58:42.931Z] 0ef7d3d256c8: Pull complete [2021-03-25T03:58:42.931Z] de9db76c5a1d: Pull complete [2021-03-25T03:58:44.332Z] a35cf1a2eb13: Verifying Checksum [2021-03-25T03:58:44.332Z] a35cf1a2eb13: Download complete [2021-03-25T03:58:44.599Z] bca2f99d35d6: Verifying Checksum [2021-03-25T03:58:44.599Z] bca2f99d35d6: Download complete [2021-03-25T03:58:49.927Z] bca2f99d35d6: Pull complete [2021-03-25T03:58:49.927Z] 93359f2a8cfa: Pull complete [2021-03-25T03:58:49.928Z] 7c6f9722023f: Pull complete [2021-03-25T03:58:53.404Z] Removing intermediate container d5572ee37c16 [2021-03-25T03:58:53.404Z] ---> bcc97c2463d7 [2021-03-25T03:58:53.404Z] Successfully built bcc97c2463d7 [2021-03-25T03:58:53.404Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T03:58:53.764Z] + docker inspect -f . ci-base-image-arm64 [2021-03-25T03:58:53.764Z] . [Pipeline] withDockerContainer [2021-03-25T03:58:54.035Z] prd-ubuntu18.04-docker-arm64-4c-16g-31309 does not seem to be running inside a container [2021-03-25T03:58:54.125Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-25T03:58:55.656Z] $ docker top b10b4c902abb18d8aba93114bff9475f676fe421add411c4a3e8e180184d3134 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T03:58:56.673Z] + go version [2021-03-25T03:58:56.673Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-25T03:58:56.707Z] $ docker stop --time=1 b10b4c902abb18d8aba93114bff9475f676fe421add411c4a3e8e180184d3134 [2021-03-25T03:58:58.652Z] $ docker rm -f b10b4c902abb18d8aba93114bff9475f676fe421add411c4a3e8e180184d3134 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-25T03:58:59.637Z] + docker inspect -f . ci-base-image-arm64 [2021-03-25T03:58:59.637Z] . [Pipeline] withDockerContainer [2021-03-25T03:58:59.895Z] prd-ubuntu18.04-docker-arm64-4c-16g-31309 does not seem to be running inside a container [2021-03-25T03:58:59.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-25T03:59:00.002Z] a35cf1a2eb13: Pull complete [2021-03-25T03:59:00.002Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-25T03:59:00.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-25T03:59:00.002Z] ---> a62c8e92a672 [2021-03-25T03:59:00.002Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-25T03:59:00.002Z] ---> Running in 43db21e2a11f [2021-03-25T03:59:00.002Z] Removing intermediate container 43db21e2a11f [2021-03-25T03:59:00.002Z] ---> 85a6f93e5ce3 [2021-03-25T03:59:00.002Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-25T03:59:00.002Z] ---> Running in 7668681733b2 [2021-03-25T03:59:00.578Z] Removing intermediate container 7668681733b2 [2021-03-25T03:59:00.578Z] ---> c92e50c8cf30 [2021-03-25T03:59:00.578Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-25T03:59:00.850Z] ---> Running in c32c92b512f6 [2021-03-25T03:59:01.435Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-25T03:59:01.523Z] $ docker top 29677786a5a3a24a7e469e0219d4fcd5a4f8aadc45ede47d317fb8356ff14ebd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T03:59:02.014Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-25T03:59:02.278Z] OK: 166 MiB in 39 packages [2021-03-25T03:59:02.559Z] + make test [2021-03-25T03:59:02.559Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-25T03:59:02.856Z] Removing intermediate container c32c92b512f6 [2021-03-25T03:59:02.856Z] ---> b7d742c9b1a4 [2021-03-25T03:59:02.856Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-25T03:59:02.856Z] ---> Running in 0d597bd0eb34 [2021-03-25T03:59:03.121Z] Removing intermediate container 0d597bd0eb34 [2021-03-25T03:59:03.121Z] ---> 300e66520ffb [2021-03-25T03:59:03.121Z] Step 7/8 : COPY . . [2021-03-25T03:59:04.086Z] ---> b476e34c2314 [2021-03-25T03:59:04.086Z] Step 8/8 : RUN go mod download [2021-03-25T03:59:04.086Z] ---> Running in 9ae77c404c9d [2021-03-25T03:59:24.723Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-25T03:59:26.135Z] Removing intermediate container 9ae77c404c9d [2021-03-25T03:59:26.135Z] ---> 9d26c1c3ec4d [2021-03-25T03:59:26.135Z] Successfully built 9d26c1c3ec4d [2021-03-25T03:59:26.135Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T03:59:26.456Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-25T03:59:26.456Z] . [Pipeline] withDockerContainer [2021-03-25T03:59:26.723Z] prd-centos7-docker-4c-2g-31310 does not seem to be running inside a container [2021-03-25T03:59:26.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-25T03:59:27.644Z] $ docker top a87f11d4bff5e1ed659cf4d2476b364c6aa305a362eb1864eca07d8da3207b91 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T03:59:28.155Z] + go version [2021-03-25T03:59:28.155Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-25T03:59:28.174Z] $ docker stop --time=1 a87f11d4bff5e1ed659cf4d2476b364c6aa305a362eb1864eca07d8da3207b91 [2021-03-25T03:59:29.527Z] $ docker rm -f a87f11d4bff5e1ed659cf4d2476b364c6aa305a362eb1864eca07d8da3207b91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-25T03:59:30.464Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-25T03:59:30.464Z] . [Pipeline] withDockerContainer [2021-03-25T03:59:30.562Z] prd-centos7-docker-4c-2g-31310 does not seem to be running inside a container [2021-03-25T03:59:30.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-25T03:59:31.292Z] $ docker top 013517249c41ee45ddc30adf9ce49235020b24dcca6dc4412fb9ad5f7da27047 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T03:59:31.798Z] + make test [2021-03-25T03:59:31.798Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-25T03:59:34.920Z] # pkg-config --cflags -- libzmq [2021-03-25T03:59:34.920Z] pkg-config: exec: "pkg-config": executable file not found in $PATH [2021-03-25T03:59:40.032Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-25T03:59:43.476Z] # pkg-config --cflags -- libzmq [2021-03-25T03:59:43.476Z] pkg-config: exec: "pkg-config": executable file not found in $PATH [2021-03-25T03:59:58.497Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] [2021-03-25T03:59:58.497Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] [2021-03-25T03:59:58.497Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/clients [build failed] [2021-03-25T03:59:58.497Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] [2021-03-25T03:59:58.497Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] [2021-03-25T03:59:58.759Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.145s coverage: 6.6% of statements [2021-03-25T03:59:58.759Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2021-03-25T03:59:59.022Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-03-25T03:59:59.046Z] $ docker stop --time=1 013517249c41ee45ddc30adf9ce49235020b24dcca6dc4412fb9ad5f7da27047 [2021-03-25T04:00:00.812Z] $ docker rm -f 013517249c41ee45ddc30adf9ce49235020b24dcca6dc4412fb9ad5f7da27047 [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-25T04:00:02.767Z] ---> job-cost.sh [2021-03-25T04:00:02.767Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CBY2 [2021-03-25T04:00:13.979Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] [2021-03-25T04:00:13.979Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] [2021-03-25T04:00:13.979Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/clients [build failed] [2021-03-25T04:00:13.979Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] [2021-03-25T04:00:13.979Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] [2021-03-25T04:00:17.359Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.787s coverage: 6.6% of statements [2021-03-25T04:00:17.359Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2021-03-25T04:00:17.359Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-03-25T04:00:17.402Z] $ docker stop --time=1 29677786a5a3a24a7e469e0219d4fcd5a4f8aadc45ede47d317fb8356ff14ebd [2021-03-25T04:00:17.718Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-25T04:00:19.882Z] $ docker rm -f 29677786a5a3a24a7e469e0219d4fcd5a4f8aadc45ede47d317fb8356ff14ebd [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-25T04:00:21.634Z] ---> job-cost.sh [2021-03-25T04:00:21.634Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AukZ [2021-03-25T04:00:44.379Z] lf-activate-venv(): INFO: Adding /tmp/venv-CBY2/bin to PATH [2021-03-25T04:00:44.379Z] INFO: No Stack... [2021-03-25T04:00:44.955Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-25T04:00:45.904Z] INFO: Archiving Costs [Pipeline] sh [2021-03-25T04:00:46.215Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-03-25T04:00:46.215Z] + cut -d, -f6 [Pipeline] lock [2021-03-25T04:00:46.290Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-3-stack-cost] [2021-03-25T04:00:46.304Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-3-stack-cost] did not exist. Created. [2021-03-25T04:00:46.305Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-25T04:00:46.724Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-25T04:00:47.230Z] Stashed 1 file(s) [Pipeline] } [2021-03-25T04:00:47.238Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-25T04:00:47.928Z] Failed in branch amd64 [2021-03-25T04:01:00.751Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-25T04:02:22.493Z] lf-activate-venv(): INFO: Adding /tmp/venv-AukZ/bin to PATH [2021-03-25T04:02:22.493Z] INFO: No Stack... [2021-03-25T04:02:22.764Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-25T04:02:23.355Z] INFO: Archiving Costs [Pipeline] sh [2021-03-25T04:02:23.699Z] + + cat /w/workspace/device-sdk-go/3/archives/cost.csvcut [2021-03-25T04:02:23.699Z] -d, -f6 [Pipeline] lock [2021-03-25T04:02:23.812Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-3-stack-cost] [2021-03-25T04:02:23.822Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-3-stack-cost] did not exist. Created. [2021-03-25T04:02:23.822Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-25T04:02:24.291Z] /w/workspace/device-sdk-go/3@tmp/durable-b8e3c20b/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-b8e3c20b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-25T04:02:24.638Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-25T04:02:24.728Z] Warning: overwriting stash ‘stack-cost’ [2021-03-25T04:02:25.687Z] Stashed 1 file(s) [Pipeline] } [2021-03-25T04:02:25.697Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-25T04:02:26.379Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:02:29.026Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:02:29.342Z] ---> package-listing.sh [2021-03-25T04:02:29.342Z] ++ facter osfamily [2021-03-25T04:02:29.342Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-25T04:02:29.342Z] + OS_FAMILY=redhat [2021-03-25T04:02:29.342Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-829 [2021-03-25T04:02:29.342Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-25T04:02:29.342Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-25T04:02:29.342Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-25T04:02:29.342Z] + PACKAGES=/tmp/packages_start.txt [2021-03-25T04:02:29.342Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' [2021-03-25T04:02:29.342Z] + PACKAGES=/tmp/packages_end.txt [2021-03-25T04:02:29.342Z] + case "${OS_FAMILY}" in [2021-03-25T04:02:29.342Z] + rpm -qa [2021-03-25T04:02:29.342Z] + sort [2021-03-25T04:02:34.662Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-25T04:02:34.662Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-25T04:02:34.662Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-25T04:02:34.662Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' [2021-03-25T04:02:34.662Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-829/archives/ [2021-03-25T04:02:34.662Z] + 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-25T04:02:34.680Z] 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-25T04:02:34.982Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:02:35.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T04:02:35.285Z] [2021-03-25T04:02:35.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:02:35.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T04:02:35.636Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-25T04:02:35.636Z] df20fa9351a1: Pulling fs layer [2021-03-25T04:02:35.636Z] 36b3adc4ff6f: Pulling fs layer [2021-03-25T04:02:35.636Z] 8ad3a11d3b57: Pulling fs layer [2021-03-25T04:02:35.636Z] 46f8f816bc3b: Pulling fs layer [2021-03-25T04:02:35.636Z] 93b61091891f: Pulling fs layer [2021-03-25T04:02:35.636Z] 93b9cdb0e59b: Pulling fs layer [2021-03-25T04:02:35.636Z] 5e14af77c1be: Pulling fs layer [2021-03-25T04:02:35.636Z] 01666e4c0597: Pulling fs layer [2021-03-25T04:02:35.636Z] aa168da1d23b: Pulling fs layer [2021-03-25T04:02:35.636Z] 93b9cdb0e59b: Waiting [2021-03-25T04:02:35.636Z] 5e14af77c1be: Waiting [2021-03-25T04:02:35.636Z] aa168da1d23b: Waiting [2021-03-25T04:02:35.636Z] 01666e4c0597: Waiting [2021-03-25T04:02:35.636Z] 46f8f816bc3b: Waiting [2021-03-25T04:02:35.636Z] 93b61091891f: Waiting [2021-03-25T04:02:35.636Z] 36b3adc4ff6f: Verifying Checksum [2021-03-25T04:02:35.636Z] 36b3adc4ff6f: Download complete [2021-03-25T04:02:35.636Z] 46f8f816bc3b: Verifying Checksum [2021-03-25T04:02:35.636Z] 46f8f816bc3b: Download complete [2021-03-25T04:02:35.908Z] df20fa9351a1: Verifying Checksum [2021-03-25T04:02:35.908Z] df20fa9351a1: Download complete [2021-03-25T04:02:35.908Z] 93b61091891f: Verifying Checksum [2021-03-25T04:02:35.908Z] 93b61091891f: Download complete [2021-03-25T04:02:35.908Z] 93b9cdb0e59b: Verifying Checksum [2021-03-25T04:02:35.908Z] 93b9cdb0e59b: Download complete [2021-03-25T04:02:35.908Z] 5e14af77c1be: Verifying Checksum [2021-03-25T04:02:35.908Z] 5e14af77c1be: Download complete [2021-03-25T04:02:35.908Z] 01666e4c0597: Verifying Checksum [2021-03-25T04:02:35.908Z] 01666e4c0597: Download complete [2021-03-25T04:02:36.173Z] df20fa9351a1: Pull complete [2021-03-25T04:02:36.435Z] 36b3adc4ff6f: Pull complete [2021-03-25T04:02:36.701Z] 8ad3a11d3b57: Verifying Checksum [2021-03-25T04:02:36.701Z] 8ad3a11d3b57: Download complete [2021-03-25T04:02:37.657Z] 8ad3a11d3b57: Pull complete [2021-03-25T04:02:37.657Z] 46f8f816bc3b: Pull complete [2021-03-25T04:02:38.611Z] aa168da1d23b: Verifying Checksum [2021-03-25T04:02:38.611Z] aa168da1d23b: Download complete [2021-03-25T04:02:38.875Z] 93b61091891f: Pull complete [2021-03-25T04:02:38.875Z] 93b9cdb0e59b: Pull complete [2021-03-25T04:02:39.146Z] 5e14af77c1be: Pull complete [2021-03-25T04:02:39.146Z] 01666e4c0597: Pull complete [2021-03-25T04:02:45.762Z] aa168da1d23b: Pull complete [2021-03-25T04:02:45.762Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-25T04:02:45.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T04:02:45.762Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-25T04:02:45.904Z] prd-centos7-docker-4c-2g-31308 does not seem to be running inside a container [2021-03-25T04:02:45.946Z] $ 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-25T04:02:49.889Z] $ docker top 135628dafaa3b2a3289056db0a875a3c75fbd723963e9abc6db001c6e31991ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T04:02:50.417Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-25T04:02:50.713Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-25T04:02:51.015Z] + ls /var/log/sa-host [2021-03-25T04:02:51.016Z] + sadf -c /var/log/sa-host/sa23 [2021-03-25T04:02:51.016Z] file_magic: OK [2021-03-25T04:02:51.016Z] HZ: Using current value: 100 [2021-03-25T04:02:51.016Z] file_header: OK [2021-03-25T04:02:51.016Z] 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-25T04:02:51.016Z] Statistics: [2021-03-25T04:02:51.016Z] Hnuu...uuuununununu... [2021-03-25T04:02:51.016Z] File successfully converted to sysstat format version 12.2.1 [2021-03-25T04:02:51.016Z] + sadf -c /var/log/sa-host/sa25 [2021-03-25T04:02:51.016Z] file_magic: OK [2021-03-25T04:02:51.016Z] HZ: Using current value: 100 [2021-03-25T04:02:51.016Z] file_header: OK [2021-03-25T04:02:51.016Z] 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-25T04:02:51.016Z] Statistics: [2021-03-25T04:02:51.016Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-25T04:02:51.016Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-25T04:02:51.710Z] provisioning config files... [2021-03-25T04:02:51.724Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config3877926311595416098tmp [Pipeline] { [Pipeline] echo [2021-03-25T04:02:51.796Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:02:52.092Z] ---> create-netrc.sh [Pipeline] } [2021-03-25T04:02:52.101Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-25T04:02:52.216Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:02:52.510Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-25T04:02:52.521Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:02:52.820Z] ---> sudo-logs.sh [2021-03-25T04:02:52.820Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-25T04:02:52.984Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:02:53.284Z] ---> job-cost.sh [2021-03-25T04:02:53.284Z] lf-activate-venv: SKIPPING [2021-03-25T04:02:53.284Z] DEBUG: total: 0.20999999344348907 [2021-03-25T04:02:53.284Z] INFO: Retrieving Stack Cost... [2021-03-25T04:02:54.231Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-25T04:02:54.804Z] INFO: Archiving Costs [Pipeline] echo [2021-03-25T04:02:54.818Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:02:55.112Z] ---> logs-deploy.sh [2021-03-25T04:02:55.112Z] lf-activate-venv: SKIPPING [2021-03-25T04:02:55.112Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-829/3 [2021-03-25T04:02:55.112Z] INFO: archiving workspace using pattern(s): [2021-03-25T04:02:57.033Z] Archives upload complete. [2021-03-25T04:02:57.033Z] INFO: archiving logs to Nexus