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 f11e55c319cbdbeef90700ad7434ca004756aab4+e522836f5d508ce20413c5d2a08a926bd2b9771b (d6fa7569d5e81bac6ae2f58f7f7233e0bf0ed0fa) 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-31315 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-829 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/829/head:refs/remotes/origin/PR-829 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit f11e55c319cbdbeef90700ad7434ca004756aab4 Merge succeeded, producing f11e55c319cbdbeef90700ad7434ca004756aab4 Checking out Revision f11e55c319cbdbeef90700ad7434ca004756aab4 (PR-829) > git config core.sparsecheckout # timeout=10 > git checkout -f f11e55c319cbdbeef90700ad7434ca004756aab4 # 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 f11e55c319cbdbeef90700ad7434ca004756aab4 # timeout=10 Commit message: "feat: update example configuration to support MessageBus" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk e1b79a6a65da4f0f5748fec6d5a4c72c18b6c96e # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-25T04:28:43.011Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-25T04:28:43.323Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-25T04:28:43.436Z] ========================================================= [2021-03-25T04:28:43.436Z] EdgeX Global Pipelines Version Info [2021-03-25T04:28:43.437Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:28:45.041Z] ------------------- [2021-03-25T04:28:45.041Z] stable info: [2021-03-25T04:28:45.041Z] ------------------- [2021-03-25T04:28:45.041Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-25T04:28:45.042Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-25T04:28:45.042Z] Message: update stable to v1.0.186 [2021-03-25T04:28:45.993Z] ------------------- [2021-03-25T04:28:45.993Z] experimental info: [2021-03-25T04:28:45.993Z] ------------------- [2021-03-25T04:28:45.993Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-25T04:28:45.993Z] Commit SHA: 606c6f769ab3e61af702b3bd2da8ca6cacc01659 [2021-03-25T04:28:45.993Z] Message: update experimental to v1.0.187 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-25T04:28:46.291Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-25T04:28:46.413Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-25T04:28:46.517Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-25T04:28:46.625Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-25T04:28:46.730Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-25T04:28:46.837Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-25T04:28:46.942Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-25T04:28:47.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-25T04:28:47.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-25T04:28:47.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-25T04:28:47.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-25T04:28:47.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-25T04:28:47.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-25T04:28:47.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-25T04:28:47.758Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-25T04:28:47.882Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T04:28:47.991Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T04:28:48.115Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T04:28:48.223Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-25T04:28:48.326Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-25T04:28:48.446Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-25T04:28:48.544Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-25T04:28:48.640Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-25T04:28:48.735Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-25T04:28:48.825Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-25T04:28:48.977Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-25T04:28:49.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-829 [Pipeline] echo [2021-03-25T04:28:49.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-829 [Pipeline] echo [2021-03-25T04:28:49.264Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-829 [Pipeline] echo [2021-03-25T04:28:49.358Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f11e55c319cbdbeef90700ad7434ca004756aab4 [Pipeline] echo [2021-03-25T04:28:49.456Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f11e55c [Pipeline] echo [2021-03-25T04:28:49.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-25T04:28:49.760Z] provisioning config files... [2021-03-25T04:28:49.796Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config8915549596489656636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:28:50.152Z] ---> docker-login.sh [2021-03-25T04:28:50.152Z] nexus3.edgexfoundry.org:10001 [2021-03-25T04:28:50.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:28:50.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:28:50.678Z] Configure a credential helper to remove this warning. See [2021-03-25T04:28:50.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:28:50.678Z] [2021-03-25T04:28:50.678Z] Login Succeeded [2021-03-25T04:28:50.678Z] nexus3.edgexfoundry.org:10002 [2021-03-25T04:28:50.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:28:50.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:28:50.678Z] Configure a credential helper to remove this warning. See [2021-03-25T04:28:50.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:28:50.678Z] [2021-03-25T04:28:50.678Z] Login Succeeded [2021-03-25T04:28:50.678Z] nexus3.edgexfoundry.org:10003 [2021-03-25T04:28:50.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:28:50.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:28:50.941Z] Configure a credential helper to remove this warning. See [2021-03-25T04:28:50.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:28:50.941Z] [2021-03-25T04:28:50.941Z] Login Succeeded [2021-03-25T04:28:50.941Z] nexus3.edgexfoundry.org:10004 [2021-03-25T04:28:50.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:28:51.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:28:51.203Z] Configure a credential helper to remove this warning. See [2021-03-25T04:28:51.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:28:51.203Z] [2021-03-25T04:28:51.203Z] Login Succeeded [2021-03-25T04:28:51.203Z] docker.io [2021-03-25T04:28:51.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:28:51.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:28:51.466Z] Configure a credential helper to remove this warning. See [2021-03-25T04:28:51.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:28:51.466Z] [2021-03-25T04:28:51.466Z] Login Succeeded [2021-03-25T04:28:51.466Z] ---> docker-login.sh ends [Pipeline] } [2021-03-25T04:28:51.476Z] 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-25T04:28:52.397Z] + git log --format=format:%s -1 f11e55c319cbdbeef90700ad7434ca004756aab4 [Pipeline] echo [2021-03-25T04:28:52.466Z] GIT_COMMIT: f11e55c319cbdbeef90700ad7434ca004756aab4, Commit Message: feat: update example configuration to support MessageBus [Pipeline] echo [2021-03-25T04:28:52.517Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:28:53.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T04:28:53.633Z] [2021-03-25T04:28:53.633Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:28:53.982Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T04:28:54.249Z] latest: Pulling from edgex-devops/git-semver [2021-03-25T04:28:54.249Z] 31603596830f: Pulling fs layer [2021-03-25T04:28:54.249Z] 2a8b12db71e7: Pulling fs layer [2021-03-25T04:28:54.249Z] 6ca5941a6612: Pulling fs layer [2021-03-25T04:28:54.249Z] ecc8261a40a4: Pulling fs layer [2021-03-25T04:28:54.249Z] ecc8261a40a4: Waiting [2021-03-25T04:28:54.249Z] 2a8b12db71e7: Verifying Checksum [2021-03-25T04:28:54.249Z] 2a8b12db71e7: Download complete [2021-03-25T04:28:54.249Z] 31603596830f: Verifying Checksum [2021-03-25T04:28:54.249Z] 31603596830f: Download complete [2021-03-25T04:28:54.512Z] ecc8261a40a4: Verifying Checksum [2021-03-25T04:28:54.512Z] ecc8261a40a4: Download complete [2021-03-25T04:28:54.512Z] 6ca5941a6612: Verifying Checksum [2021-03-25T04:28:54.512Z] 6ca5941a6612: Download complete [2021-03-25T04:28:54.512Z] 31603596830f: Pull complete [2021-03-25T04:28:54.774Z] 2a8b12db71e7: Pull complete [2021-03-25T04:28:55.723Z] 6ca5941a6612: Pull complete [2021-03-25T04:28:55.723Z] ecc8261a40a4: Pull complete [2021-03-25T04:28:55.723Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-25T04:28:55.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T04:28:55.723Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-25T04:28:55.827Z] prd-centos7-docker-4c-2g-31315 does not seem to be running inside a container [2021-03-25T04:28:55.875Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-25T04:28:58.280Z] $ docker top 83dbae18772b201d37158289ce1e1b8db6c9af60b954f385c9bb77da70827143 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-25T04:28:58.678Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T04:28:58.679Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T04:28:58.909Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T04:28:58.915Z] $ docker exec 83dbae18772b201d37158289ce1e1b8db6c9af60b954f385c9bb77da70827143 ssh-agent [2021-03-25T04:28:59.087Z] SSH_AUTH_SOCK=/tmp/ssh-lalzY42YXW1u/agent.11 [2021-03-25T04:28:59.087Z] SSH_AGENT_PID=17 [2021-03-25T04:28:59.099Z] Running ssh-add (command line suppressed) [2021-03-25T04:28:59.289Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_8263632539802057029.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_8263632539802057029.key) [2021-03-25T04:28:59.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T04:28:59.691Z] + git tag --points-at HEAD [Pipeline] } [2021-03-25T04:28:59.716Z] $ docker exec --env ******** --env ******** 83dbae18772b201d37158289ce1e1b8db6c9af60b954f385c9bb77da70827143 ssh-agent -k [2021-03-25T04:28:59.839Z] unset SSH_AUTH_SOCK; [2021-03-25T04:28:59.839Z] unset SSH_AGENT_PID; [2021-03-25T04:28:59.839Z] echo Agent pid 17 killed; [2021-03-25T04:28:59.886Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-25T04:29:00.025Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T04:29:00.025Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T04:29:00.226Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T04:29:00.233Z] $ docker exec 83dbae18772b201d37158289ce1e1b8db6c9af60b954f385c9bb77da70827143 ssh-agent [2021-03-25T04:29:00.418Z] SSH_AUTH_SOCK=/tmp/ssh-O6zRHDXzzX5D/agent.46 [2021-03-25T04:29:00.418Z] SSH_AGENT_PID=51 [2021-03-25T04:29:00.425Z] Running ssh-add (command line suppressed) [2021-03-25T04:29:00.570Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_8804357852248144988.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_8804357852248144988.key) [2021-03-25T04:29:00.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T04:29:00.981Z] + git semver init [2021-03-25T04:29:00.981Z] # -> Open(): unable to determine branch for HEAD [2021-03-25T04:29:00.981Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.git [2021-03-25T04:29:00.981Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-829 [2021-03-25T04:29:00.981Z] # $SEMVER_REMOTE_NAME = origin [2021-03-25T04:29:00.981Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-25T04:29:00.981Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-25T04:29:00.981Z] # $SEMVER_BRANCH = PR-829 [2021-03-25T04:29:00.981Z] # $SEMVER_TEMP = /tmp/semver-372168962 [2021-03-25T04:29:00.981Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-25T04:29:01.931Z] # '/tmp/semver-372168962' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver' [2021-03-25T04:29:01.931Z] # -> Force: false [2021-03-25T04:29:01.932Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver [Pipeline] } [2021-03-25T04:29:01.948Z] $ docker exec --env ******** --env ******** 83dbae18772b201d37158289ce1e1b8db6c9af60b954f385c9bb77da70827143 ssh-agent -k [2021-03-25T04:29:02.107Z] unset SSH_AUTH_SOCK; [2021-03-25T04:29:02.108Z] unset SSH_AGENT_PID; [2021-03-25T04:29:02.108Z] echo Agent pid 51 killed; [2021-03-25T04:29:02.183Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-25T04:29:02.670Z] + git semver [Pipeline] } [2021-03-25T04:29:02.701Z] $ docker stop --time=1 83dbae18772b201d37158289ce1e1b8db6c9af60b954f385c9bb77da70827143 [2021-03-25T04:29:04.314Z] $ docker rm -f 83dbae18772b201d37158289ce1e1b8db6c9af60b954f385c9bb77da70827143 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-25T04:29:04.793Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-25T04:29:05.284Z] Stashed 1 file(s) [Pipeline] echo [2021-03-25T04:29:05.287Z] [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-25T04:29:20.893Z] Still waiting to schedule task [2021-03-25T04:29:20.893Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-31315’ [2021-03-25T04:29:20.896Z] Still waiting to schedule task [2021-03-25T04:29:20.896Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-25T04:30:56.655Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31316 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws [2021-03-25T04:30:56.724Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-03-25T04:31:02.016Z] using credential edgex-jenkins-ssh [2021-03-25T04:31:02.128Z] Cloning the remote Git repository [2021-03-25T04:31:02.206Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T04:31:02.335Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-03-25T04:31:02.413Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T04:31:02.413Z] > git --version # timeout=10 [2021-03-25T04:31:02.435Z] > git --version # 'git version 2.17.1' [2021-03-25T04:31:02.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T04:31:02.526Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T04:31:03.981Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T04:31:04.004Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T04:31:04.033Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T04:31:04.067Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T04:31:04.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T04:31:04.080Z] > 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-25T04:31:04.670Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit f11e55c319cbdbeef90700ad7434ca004756aab4 [2021-03-25T04:31:04.902Z] Merge succeeded, producing f11e55c319cbdbeef90700ad7434ca004756aab4 [2021-03-25T04:31:04.902Z] Checking out Revision f11e55c319cbdbeef90700ad7434ca004756aab4 (PR-829) [2021-03-25T04:31:04.703Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T04:31:04.722Z] > git checkout -f f11e55c319cbdbeef90700ad7434ca004756aab4 # timeout=10 [2021-03-25T04:31:04.830Z] > git remote # timeout=10 [2021-03-25T04:31:04.847Z] > git config --get remote.origin.url # timeout=10 [2021-03-25T04:31:04.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T04:31:04.871Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-25T04:31:04.898Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-25T04:31:04.922Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T04:31:04.938Z] > git checkout -f f11e55c319cbdbeef90700ad7434ca004756aab4 # timeout=10 [2021-03-25T04:31:09.365Z] 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-25T04:31:11.529Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-25T04:31:12.027Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-25T04:31:12.387Z] + sudo service docker+ restart [2021-03-25T04:31:12.388Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-25T04:31:15.126Z] provisioning config files... [2021-03-25T04:31:15.179Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3429635671731299942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:31:15.592Z] ---> docker-login.sh [2021-03-25T04:31:15.592Z] nexus3.edgexfoundry.org:10001 [2021-03-25T04:31:16.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:31:16.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:31:16.853Z] Configure a credential helper to remove this warning. See [2021-03-25T04:31:16.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:31:16.853Z] [2021-03-25T04:31:16.853Z] Login Succeeded [2021-03-25T04:31:16.853Z] nexus3.edgexfoundry.org:10002 [2021-03-25T04:31:17.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:31:17.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:31:17.400Z] Configure a credential helper to remove this warning. See [2021-03-25T04:31:17.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:31:17.400Z] [2021-03-25T04:31:17.400Z] Login Succeeded [2021-03-25T04:31:17.400Z] nexus3.edgexfoundry.org:10003 [2021-03-25T04:31:17.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:31:17.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:31:17.675Z] Configure a credential helper to remove this warning. See [2021-03-25T04:31:17.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:31:17.675Z] [2021-03-25T04:31:17.675Z] Login Succeeded [2021-03-25T04:31:17.675Z] nexus3.edgexfoundry.org:10004 [2021-03-25T04:31:18.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:31:18.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:31:18.275Z] Configure a credential helper to remove this warning. See [2021-03-25T04:31:18.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:31:18.275Z] [2021-03-25T04:31:18.275Z] Login Succeeded [2021-03-25T04:31:18.275Z] docker.io [2021-03-25T04:31:18.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:31:19.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:31:19.144Z] Configure a credential helper to remove this warning. See [2021-03-25T04:31:19.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:31:19.144Z] [2021-03-25T04:31:19.144Z] Login Succeeded [2021-03-25T04:31:19.144Z] ---> docker-login.sh ends [Pipeline] } [2021-03-25T04:31:19.162Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-25T04:31:19.642Z] ========================================================= [2021-03-25T04:31:19.642Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-25T04:31:19.642Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:31:20.028Z] + 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-25T04:31:20.304Z] Sending build context to Docker daemon 2.387MB [2021-03-25T04:31:20.582Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-25T04:31:20.582Z] Step 2/8 : FROM ${BASE} [2021-03-25T04:31:20.582Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-25T04:31:20.582Z] 5f621e34cdf4: Pulling fs layer [2021-03-25T04:31:20.582Z] a4357932f1b6: Pulling fs layer [2021-03-25T04:31:20.582Z] 18c013af1878: Pulling fs layer [2021-03-25T04:31:20.582Z] 00ac8860ef70: Pulling fs layer [2021-03-25T04:31:20.582Z] 63d7cb157983: Pulling fs layer [2021-03-25T04:31:20.582Z] b116817d02f9: Pulling fs layer [2021-03-25T04:31:20.582Z] 745a02a5169b: Pulling fs layer [2021-03-25T04:31:20.582Z] 00ac8860ef70: Waiting [2021-03-25T04:31:20.582Z] 63d7cb157983: Waiting [2021-03-25T04:31:20.582Z] 745a02a5169b: Waiting [2021-03-25T04:31:20.582Z] b116817d02f9: Waiting [2021-03-25T04:31:20.582Z] 18c013af1878: Verifying Checksum [2021-03-25T04:31:20.582Z] 18c013af1878: Download complete [2021-03-25T04:31:20.582Z] a4357932f1b6: Verifying Checksum [2021-03-25T04:31:20.582Z] a4357932f1b6: Download complete [2021-03-25T04:31:20.582Z] 63d7cb157983: Verifying Checksum [2021-03-25T04:31:20.582Z] 63d7cb157983: Download complete [2021-03-25T04:31:20.582Z] b116817d02f9: Verifying Checksum [2021-03-25T04:31:20.582Z] b116817d02f9: Download complete [2021-03-25T04:31:20.582Z] 5f621e34cdf4: Verifying Checksum [2021-03-25T04:31:20.582Z] 5f621e34cdf4: Download complete [2021-03-25T04:31:21.569Z] 5f621e34cdf4: Pull complete [2021-03-25T04:31:21.847Z] a4357932f1b6: Pull complete [2021-03-25T04:31:22.449Z] 18c013af1878: Pull complete [2021-03-25T04:31:23.430Z] 745a02a5169b: Verifying Checksum [2021-03-25T04:31:23.430Z] 745a02a5169b: Download complete [2021-03-25T04:31:24.420Z] 00ac8860ef70: Verifying Checksum [2021-03-25T04:31:24.420Z] 00ac8860ef70: Download complete [2021-03-25T04:31:34.603Z] 00ac8860ef70: Pull complete [2021-03-25T04:31:34.878Z] 63d7cb157983: Pull complete [2021-03-25T04:31:35.151Z] b116817d02f9: Pull complete [2021-03-25T04:31:39.468Z] 745a02a5169b: Pull complete [2021-03-25T04:31:39.468Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-25T04:31:39.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-25T04:31:39.468Z] ---> b7e6874047d6 [2021-03-25T04:31:39.468Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-25T04:31:42.085Z] ---> Running in f5ce595bc585 [2021-03-25T04:31:42.359Z] Removing intermediate container f5ce595bc585 [2021-03-25T04:31:42.359Z] ---> 2f33b7bc0a20 [2021-03-25T04:31:42.359Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-25T04:31:42.359Z] ---> Running in 421282b7f587 [2021-03-25T04:31:44.986Z] Removing intermediate container 421282b7f587 [2021-03-25T04:31:44.986Z] ---> 679aec43fd3e [2021-03-25T04:31:44.986Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-25T04:31:44.986Z] ---> Running in 9c4e6b03226f [2021-03-25T04:31:45.974Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-25T04:31:46.568Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-25T04:31:47.163Z] OK: 142 MiB in 39 packages [2021-03-25T04:31:48.595Z] Removing intermediate container 9c4e6b03226f [2021-03-25T04:31:48.595Z] ---> 42e928e91936 [2021-03-25T04:31:48.595Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-25T04:31:48.595Z] ---> Running in 3090a17e9a1d [2021-03-25T04:31:49.190Z] Removing intermediate container 3090a17e9a1d [2021-03-25T04:31:49.190Z] ---> b3923ac5d07d [2021-03-25T04:31:49.190Z] Step 7/8 : COPY . . [2021-03-25T04:31:50.170Z] ---> 9af7b9bac837 [2021-03-25T04:31:50.170Z] Step 8/8 : RUN go mod download [2021-03-25T04:31:50.442Z] ---> Running in b0df5ea182e6 [2021-03-25T04:31:53.513Z] Running on prd-centos7-docker-4c-2g-31317 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws [2021-03-25T04:31:53.574Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-03-25T04:31:55.989Z] using credential edgex-jenkins-ssh [2021-03-25T04:31:56.045Z] Cloning the remote Git repository [2021-03-25T04:31:55.865Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T04:31:55.945Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-03-25T04:31:56.012Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T04:31:56.013Z] > git --version # timeout=10 [2021-03-25T04:31:56.021Z] > git --version # 'git version 2.24.3' [2021-03-25T04:31:56.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T04:31:56.054Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T04:31:56.855Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T04:31:56.863Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T04:31:56.877Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-25T04:31:56.893Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-25T04:31:56.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T04:31:56.900Z] > 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-25T04:31:57.503Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit f11e55c319cbdbeef90700ad7434ca004756aab4 [2021-03-25T04:31:57.625Z] Merge succeeded, producing f11e55c319cbdbeef90700ad7434ca004756aab4 [2021-03-25T04:31:57.626Z] Checking out Revision f11e55c319cbdbeef90700ad7434ca004756aab4 (PR-829) [2021-03-25T04:31:57.420Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T04:31:57.428Z] > git checkout -f f11e55c319cbdbeef90700ad7434ca004756aab4 # timeout=10 [2021-03-25T04:31:57.486Z] > git remote # timeout=10 [2021-03-25T04:31:57.494Z] > git config --get remote.origin.url # timeout=10 [2021-03-25T04:31:57.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T04:31:57.505Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-25T04:31:57.519Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-25T04:31:57.548Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T04:31:57.560Z] > git checkout -f f11e55c319cbdbeef90700ad7434ca004756aab4 # timeout=10 [2021-03-25T04:32:01.290Z] 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-25T04:32:02.674Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-25T04:32:03.006Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-25T04:32:03.310Z] + sudo service docker restart [2021-03-25T04:32:03.310Z] + true [2021-03-25T04:32:03.310Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-25T04:32:05.303Z] provisioning config files... [2021-03-25T04:32:05.334Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config8583869021286733414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:32:05.706Z] ---> docker-login.sh [2021-03-25T04:32:05.706Z] nexus3.edgexfoundry.org:10001 [2021-03-25T04:32:05.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:32:05.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:32:05.972Z] Configure a credential helper to remove this warning. See [2021-03-25T04:32:05.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:32:05.972Z] [2021-03-25T04:32:05.972Z] Login Succeeded [2021-03-25T04:32:05.972Z] nexus3.edgexfoundry.org:10002 [2021-03-25T04:32:06.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:32:06.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:32:06.234Z] Configure a credential helper to remove this warning. See [2021-03-25T04:32:06.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:32:06.234Z] [2021-03-25T04:32:06.234Z] Login Succeeded [2021-03-25T04:32:06.234Z] nexus3.edgexfoundry.org:10003 [2021-03-25T04:32:06.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:32:06.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:32:06.500Z] Configure a credential helper to remove this warning. See [2021-03-25T04:32:06.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:32:06.500Z] [2021-03-25T04:32:06.500Z] Login Succeeded [2021-03-25T04:32:06.500Z] nexus3.edgexfoundry.org:10004 [2021-03-25T04:32:06.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:32:06.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:32:06.500Z] Configure a credential helper to remove this warning. See [2021-03-25T04:32:06.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:32:06.500Z] [2021-03-25T04:32:06.500Z] Login Succeeded [2021-03-25T04:32:06.500Z] docker.io [2021-03-25T04:32:06.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-25T04:32:07.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-25T04:32:07.026Z] Configure a credential helper to remove this warning. See [2021-03-25T04:32:07.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-25T04:32:07.026Z] [2021-03-25T04:32:07.026Z] Login Succeeded [2021-03-25T04:32:07.026Z] ---> docker-login.sh ends [Pipeline] } [2021-03-25T04:32:07.036Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-25T04:32:07.342Z] ========================================================= [2021-03-25T04:32:07.342Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-25T04:32:07.342Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:32:07.684Z] + 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-25T04:32:07.684Z] Sending build context to Docker daemon 2.388MB [2021-03-25T04:32:07.684Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-25T04:32:07.684Z] Step 2/8 : FROM ${BASE} [2021-03-25T04:32:07.948Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-25T04:32:07.948Z] 188c0c94c7c5: Pulling fs layer [2021-03-25T04:32:07.948Z] 0ef7d3d256c8: Pulling fs layer [2021-03-25T04:32:07.948Z] de9db76c5a1d: Pulling fs layer [2021-03-25T04:32:07.948Z] bca2f99d35d6: Pulling fs layer [2021-03-25T04:32:07.948Z] 93359f2a8cfa: Pulling fs layer [2021-03-25T04:32:07.948Z] 7c6f9722023f: Pulling fs layer [2021-03-25T04:32:07.948Z] a35cf1a2eb13: Pulling fs layer [2021-03-25T04:32:07.948Z] 93359f2a8cfa: Waiting [2021-03-25T04:32:07.948Z] 7c6f9722023f: Waiting [2021-03-25T04:32:07.948Z] a35cf1a2eb13: Waiting [2021-03-25T04:32:07.948Z] bca2f99d35d6: Waiting [2021-03-25T04:32:07.948Z] de9db76c5a1d: Verifying Checksum [2021-03-25T04:32:07.948Z] de9db76c5a1d: Download complete [2021-03-25T04:32:07.948Z] 0ef7d3d256c8: Verifying Checksum [2021-03-25T04:32:07.948Z] 0ef7d3d256c8: Download complete [2021-03-25T04:32:07.948Z] 93359f2a8cfa: Verifying Checksum [2021-03-25T04:32:07.948Z] 93359f2a8cfa: Download complete [2021-03-25T04:32:07.948Z] 188c0c94c7c5: Verifying Checksum [2021-03-25T04:32:07.948Z] 188c0c94c7c5: Download complete [2021-03-25T04:32:07.948Z] 7c6f9722023f: Verifying Checksum [2021-03-25T04:32:07.948Z] 7c6f9722023f: Download complete [2021-03-25T04:32:08.214Z] 188c0c94c7c5: Pull complete [2021-03-25T04:32:08.476Z] 0ef7d3d256c8: Pull complete [2021-03-25T04:32:08.476Z] de9db76c5a1d: Pull complete [2021-03-25T04:32:09.872Z] a35cf1a2eb13: Verifying Checksum [2021-03-25T04:32:09.872Z] a35cf1a2eb13: Download complete [2021-03-25T04:32:10.448Z] bca2f99d35d6: Verifying Checksum [2021-03-25T04:32:10.448Z] bca2f99d35d6: Download complete [2021-03-25T04:32:15.779Z] bca2f99d35d6: Pull complete [2021-03-25T04:32:15.779Z] 93359f2a8cfa: Pull complete [2021-03-25T04:32:15.779Z] 7c6f9722023f: Pull complete [2021-03-25T04:32:17.241Z] Removing intermediate container b0df5ea182e6 [2021-03-25T04:32:17.241Z] ---> 3da06894412c [2021-03-25T04:32:17.241Z] Successfully built 3da06894412c [2021-03-25T04:32:17.241Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:32:17.581Z] + docker inspect -f . ci-base-image-arm64 [2021-03-25T04:32:17.581Z] . [Pipeline] withDockerContainer [2021-03-25T04:32:17.859Z] prd-ubuntu18.04-docker-arm64-4c-16g-31316 does not seem to be running inside a container [2021-03-25T04:32:17.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-25T04:32:19.485Z] $ docker top ae1faca387b2941172f205d6214f51efa93fc6f3ba20985121fba1f374955b62 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T04:32:20.472Z] + go version [2021-03-25T04:32:20.472Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-25T04:32:20.496Z] $ docker stop --time=1 ae1faca387b2941172f205d6214f51efa93fc6f3ba20985121fba1f374955b62 [2021-03-25T04:32:22.385Z] $ docker rm -f ae1faca387b2941172f205d6214f51efa93fc6f3ba20985121fba1f374955b62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:32:23.391Z] + docker inspect -f . ci-base-image-arm64 [2021-03-25T04:32:23.391Z] . [Pipeline] withDockerContainer [2021-03-25T04:32:23.622Z] prd-ubuntu18.04-docker-arm64-4c-16g-31316 does not seem to be running inside a container [2021-03-25T04:32:23.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-25T04:32:25.099Z] $ docker top f876a646035a30e802eecd7ea845ab6dcb78c3eb9dbafb83d24882baae5a7587 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T04:32:25.829Z] a35cf1a2eb13: Pull complete [2021-03-25T04:32:25.829Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-25T04:32:25.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-25T04:32:25.829Z] ---> a62c8e92a672 [2021-03-25T04:32:25.829Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-25T04:32:25.829Z] ---> Running in e138e003a121 [2021-03-25T04:32:25.829Z] Removing intermediate container e138e003a121 [2021-03-25T04:32:25.829Z] ---> 2116826d3a09 [2021-03-25T04:32:25.829Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-25T04:32:25.829Z] ---> Running in 67898ae0bf8c [2021-03-25T04:32:26.143Z] + make test [2021-03-25T04:32:26.143Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-25T04:32:27.221Z] Removing intermediate container 67898ae0bf8c [2021-03-25T04:32:27.221Z] ---> 95dea19d344a [2021-03-25T04:32:27.221Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-25T04:32:27.221Z] ---> Running in f4ecbcae40f2 [2021-03-25T04:32:27.800Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-25T04:32:28.379Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-25T04:32:28.957Z] OK: 166 MiB in 39 packages [2021-03-25T04:32:29.221Z] Removing intermediate container f4ecbcae40f2 [2021-03-25T04:32:29.221Z] ---> bc4855ec9a5f [2021-03-25T04:32:29.221Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-25T04:32:29.485Z] ---> Running in 06af729b2004 [2021-03-25T04:32:29.485Z] Removing intermediate container 06af729b2004 [2021-03-25T04:32:29.485Z] ---> cd53433235d4 [2021-03-25T04:32:29.485Z] Step 7/8 : COPY . . [2021-03-25T04:32:30.886Z] ---> 8f69b10803bc [2021-03-25T04:32:30.886Z] Step 8/8 : RUN go mod download [2021-03-25T04:32:30.886Z] ---> Running in ca6afcb0e1e8 [2021-03-25T04:32:48.340Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-25T04:32:52.909Z] Removing intermediate container ca6afcb0e1e8 [2021-03-25T04:32:52.909Z] ---> a0f000e2bdd5 [2021-03-25T04:32:52.909Z] Successfully built a0f000e2bdd5 [2021-03-25T04:32:52.909Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:32:53.870Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-25T04:32:53.870Z] . [Pipeline] withDockerContainer [2021-03-25T04:32:54.248Z] prd-centos7-docker-4c-2g-31317 does not seem to be running inside a container [2021-03-25T04:32:54.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-25T04:32:55.318Z] $ docker top d3bf00d589d72dcf423ff1cdb1c9b9508cdc7715e9edda53d41277a189c9d323 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T04:32:55.908Z] + go version [2021-03-25T04:32:55.908Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-25T04:32:55.922Z] $ docker stop --time=1 d3bf00d589d72dcf423ff1cdb1c9b9508cdc7715e9edda53d41277a189c9d323 [2021-03-25T04:32:57.271Z] $ docker rm -f d3bf00d589d72dcf423ff1cdb1c9b9508cdc7715e9edda53d41277a189c9d323 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:32:58.080Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-25T04:32:58.080Z] . [Pipeline] withDockerContainer [2021-03-25T04:32:58.179Z] prd-centos7-docker-4c-2g-31317 does not seem to be running inside a container [2021-03-25T04:32:58.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-25T04:32:58.499Z] # pkg-config --cflags -- libzmq [2021-03-25T04:32:58.499Z] pkg-config: exec: "pkg-config": executable file not found in $PATH [2021-03-25T04:32:58.958Z] $ docker top e47150624afed74754f4058748f8ad3c8279cc1a5ffd4c0d8b0255dd7d09a4a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T04:32:59.444Z] + make test [2021-03-25T04:32:59.444Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-25T04:33:07.645Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-25T04:33:11.011Z] # pkg-config --cflags -- libzmq [2021-03-25T04:33:11.012Z] pkg-config: exec: "pkg-config": executable file not found in $PATH [2021-03-25T04:33:26.066Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] [2021-03-25T04:33:26.066Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] [2021-03-25T04:33:26.066Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/clients [build failed] [2021-03-25T04:33:26.066Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] [2021-03-25T04:33:26.066Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] [2021-03-25T04:33:27.014Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.115s coverage: 6.6% of statements [2021-03-25T04:33:27.014Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2021-03-25T04:33:27.014Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-03-25T04:33:27.036Z] $ docker stop --time=1 e47150624afed74754f4058748f8ad3c8279cc1a5ffd4c0d8b0255dd7d09a4a1 [2021-03-25T04:33:28.990Z] $ docker rm -f e47150624afed74754f4058748f8ad3c8279cc1a5ffd4c0d8b0255dd7d09a4a1 [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:33:30.532Z] ---> job-cost.sh [2021-03-25T04:33:30.532Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AVui [2021-03-25T04:33:37.537Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] [2021-03-25T04:33:37.537Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] [2021-03-25T04:33:37.537Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/clients [build failed] [2021-03-25T04:33:37.537Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] [2021-03-25T04:33:37.537Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] [2021-03-25T04:33:40.909Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.788s coverage: 6.6% of statements [2021-03-25T04:33:40.909Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2021-03-25T04:33:41.178Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-03-25T04:33:41.202Z] $ docker stop --time=1 f876a646035a30e802eecd7ea845ab6dcb78c3eb9dbafb83d24882baae5a7587 [2021-03-25T04:33:43.508Z] $ docker rm -f f876a646035a30e802eecd7ea845ab6dcb78c3eb9dbafb83d24882baae5a7587 [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:33:45.133Z] ---> job-cost.sh [2021-03-25T04:33:45.133Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cCIv [2021-03-25T04:33:45.465Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-25T04:34:12.081Z] lf-activate-venv(): INFO: Adding /tmp/venv-AVui/bin to PATH [2021-03-25T04:34:12.081Z] INFO: No Stack... [2021-03-25T04:34:12.081Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-25T04:34:12.081Z] INFO: Archiving Costs [Pipeline] sh [2021-03-25T04:34:12.391Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-03-25T04:34:12.392Z] + cut -d, -f6 [Pipeline] lock [2021-03-25T04:34:12.483Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-5-stack-cost] [2021-03-25T04:34:12.497Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-5-stack-cost] did not exist. Created. [2021-03-25T04:34:12.497Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-25T04:34:12.896Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-25T04:34:13.318Z] Stashed 1 file(s) [Pipeline] } [2021-03-25T04:34:13.345Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-25T04:34:14.015Z] Failed in branch amd64 [2021-03-25T04:34:24.156Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-25T04:36:00.909Z] lf-activate-venv(): INFO: Adding /tmp/venv-cCIv/bin to PATH [2021-03-25T04:36:00.909Z] INFO: No Stack... [2021-03-25T04:36:00.910Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-25T04:36:00.910Z] INFO: Archiving Costs [Pipeline] sh [2021-03-25T04:36:01.264Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-03-25T04:36:01.265Z] + cut -d, -f6 [Pipeline] lock [2021-03-25T04:36:01.372Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-5-stack-cost] [2021-03-25T04:36:01.382Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-5-stack-cost] did not exist. Created. [2021-03-25T04:36:01.382Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-25T04:36:01.849Z] /w/workspace/device-sdk-go/5@tmp/durable-d14cb831/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-d14cb831/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-25T04:36:02.195Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-25T04:36:02.215Z] Warning: overwriting stash ‘stack-cost’ [2021-03-25T04:36:03.074Z] Stashed 1 file(s) [Pipeline] } [2021-03-25T04:36:03.083Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-25T04:36:03.805Z] 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:36:06.648Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:36:07.243Z] ---> package-listing.sh [2021-03-25T04:36:07.243Z] ++ facter osfamily [2021-03-25T04:36:07.243Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-25T04:36:07.243Z] + OS_FAMILY=redhat [2021-03-25T04:36:07.243Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-829 [2021-03-25T04:36:07.243Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-25T04:36:07.243Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-25T04:36:07.243Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-25T04:36:07.243Z] + PACKAGES=/tmp/packages_start.txt [2021-03-25T04:36:07.243Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' [2021-03-25T04:36:07.243Z] + PACKAGES=/tmp/packages_end.txt [2021-03-25T04:36:07.243Z] + case "${OS_FAMILY}" in [2021-03-25T04:36:07.243Z] + rpm -qa [2021-03-25T04:36:07.243Z] + sort [2021-03-25T04:36:12.570Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-25T04:36:12.570Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-25T04:36:12.570Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-25T04:36:12.570Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' [2021-03-25T04:36:12.570Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-829/archives/ [2021-03-25T04:36:12.570Z] + 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:36:12.584Z] 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:36:12.873Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:36:13.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T04:36:13.177Z] [2021-03-25T04:36:13.177Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-25T04:36:13.545Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T04:36:13.545Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-25T04:36:13.545Z] df20fa9351a1: Pulling fs layer [2021-03-25T04:36:13.545Z] 36b3adc4ff6f: Pulling fs layer [2021-03-25T04:36:13.545Z] 8ad3a11d3b57: Pulling fs layer [2021-03-25T04:36:13.545Z] 46f8f816bc3b: Pulling fs layer [2021-03-25T04:36:13.545Z] 93b61091891f: Pulling fs layer [2021-03-25T04:36:13.545Z] 93b9cdb0e59b: Pulling fs layer [2021-03-25T04:36:13.545Z] 5e14af77c1be: Pulling fs layer [2021-03-25T04:36:13.545Z] 01666e4c0597: Pulling fs layer [2021-03-25T04:36:13.545Z] aa168da1d23b: Pulling fs layer [2021-03-25T04:36:13.545Z] 46f8f816bc3b: Waiting [2021-03-25T04:36:13.545Z] 93b9cdb0e59b: Waiting [2021-03-25T04:36:13.545Z] 5e14af77c1be: Waiting [2021-03-25T04:36:13.545Z] 01666e4c0597: Waiting [2021-03-25T04:36:13.545Z] 93b61091891f: Waiting [2021-03-25T04:36:13.545Z] aa168da1d23b: Waiting [2021-03-25T04:36:13.545Z] 36b3adc4ff6f: Download complete [2021-03-25T04:36:13.811Z] 46f8f816bc3b: Verifying Checksum [2021-03-25T04:36:13.811Z] 46f8f816bc3b: Download complete [2021-03-25T04:36:13.811Z] df20fa9351a1: Verifying Checksum [2021-03-25T04:36:13.811Z] df20fa9351a1: Download complete [2021-03-25T04:36:13.811Z] 93b9cdb0e59b: Verifying Checksum [2021-03-25T04:36:13.811Z] 93b9cdb0e59b: Download complete [2021-03-25T04:36:13.811Z] 5e14af77c1be: Verifying Checksum [2021-03-25T04:36:13.811Z] 5e14af77c1be: Download complete [2021-03-25T04:36:13.811Z] 93b61091891f: Verifying Checksum [2021-03-25T04:36:13.811Z] 93b61091891f: Download complete [2021-03-25T04:36:13.811Z] 01666e4c0597: Verifying Checksum [2021-03-25T04:36:13.811Z] 01666e4c0597: Download complete [2021-03-25T04:36:14.074Z] df20fa9351a1: Pull complete [2021-03-25T04:36:14.338Z] 36b3adc4ff6f: Pull complete [2021-03-25T04:36:14.604Z] 8ad3a11d3b57: Verifying Checksum [2021-03-25T04:36:14.604Z] 8ad3a11d3b57: Download complete [2021-03-25T04:36:15.567Z] 8ad3a11d3b57: Pull complete [2021-03-25T04:36:15.567Z] 46f8f816bc3b: Pull complete [2021-03-25T04:36:16.521Z] 93b61091891f: Pull complete [2021-03-25T04:36:16.521Z] aa168da1d23b: Verifying Checksum [2021-03-25T04:36:16.521Z] aa168da1d23b: Download complete [2021-03-25T04:36:16.785Z] 93b9cdb0e59b: Pull complete [2021-03-25T04:36:17.049Z] 5e14af77c1be: Pull complete [2021-03-25T04:36:17.049Z] 01666e4c0597: Pull complete [2021-03-25T04:36:25.256Z] aa168da1d23b: Pull complete [2021-03-25T04:36:25.256Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-25T04:36:25.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T04:36:25.256Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-25T04:36:25.415Z] prd-centos7-docker-4c-2g-31315 does not seem to be running inside a container [2021-03-25T04:36:25.462Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-25T04:36:29.702Z] $ docker top 06d8cbd9f0c4535112cf2598e5b641eb6464d889126b8c1315c02a81c650ee0b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T04:36:30.224Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-25T04:36:30.524Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-25T04:36:30.822Z] + ls /var/log/sa-host [2021-03-25T04:36:30.822Z] + sadf -c /var/log/sa-host/sa23 [2021-03-25T04:36:30.822Z] file_magic: OK [2021-03-25T04:36:30.822Z] HZ: Using current value: 100 [2021-03-25T04:36:30.822Z] file_header: OK [2021-03-25T04:36:30.822Z] 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:36:30.822Z] Statistics: [2021-03-25T04:36:30.822Z] Hnuu...uuuununununu... [2021-03-25T04:36:30.822Z] File successfully converted to sysstat format version 12.2.1 [2021-03-25T04:36:30.822Z] + sadf -c /var/log/sa-host/sa25 [2021-03-25T04:36:30.822Z] file_magic: OK [2021-03-25T04:36:30.822Z] HZ: Using current value: 100 [2021-03-25T04:36:30.822Z] file_header: OK [2021-03-25T04:36:30.822Z] 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:36:30.822Z] Statistics: [2021-03-25T04:36:30.822Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-25T04:36:30.822Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-25T04:36:31.525Z] provisioning config files... [2021-03-25T04:36:31.546Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config1835365922230332102tmp [Pipeline] { [Pipeline] echo [2021-03-25T04:36:31.624Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:36:31.920Z] ---> create-netrc.sh [Pipeline] } [2021-03-25T04:36:31.930Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-25T04:36:32.061Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:36:32.358Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-25T04:36:32.369Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:36:32.666Z] ---> sudo-logs.sh [2021-03-25T04:36:32.666Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-25T04:36:32.731Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:36:33.028Z] ---> job-cost.sh [2021-03-25T04:36:33.028Z] lf-activate-venv: SKIPPING [2021-03-25T04:36:33.028Z] DEBUG: total: 0.20999999344348907 [2021-03-25T04:36:33.028Z] INFO: Retrieving Stack Cost... [2021-03-25T04:36:33.973Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-25T04:36:34.546Z] INFO: Archiving Costs [Pipeline] echo [2021-03-25T04:36:34.560Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T04:36:34.857Z] ---> logs-deploy.sh [2021-03-25T04:36:34.857Z] lf-activate-venv: SKIPPING [2021-03-25T04:36:34.857Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-829/5 [2021-03-25T04:36:34.857Z] INFO: archiving workspace using pattern(s): [2021-03-25T04:36:36.252Z] Archives upload complete. [2021-03-25T04:36:36.514Z] INFO: archiving logs to Nexus [2021-03-25T04:36:37.460Z] ---> uname -a: [2021-03-25T04:36:37.460Z] Linux prd-centos7-docker-4c-2g-31315.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-03-25T04:36:37.460Z] [2021-03-25T04:36:37.460Z]