Pull request #827 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 6d0d00b72e8af535366520434a325914bf687937+e2b795a37b7f4058c403051823a7e04e4e702841 (19eff4a1f8189a370f2d4b0b88625015b8b34629) 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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-30512 in /w/workspace/dgexfoundry_device-sdk-go_PR-827 [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-827 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit e2b795a37b7f4058c403051823a7e04e4e702841 into PR head commit 6d0d00b72e8af535366520434a325914bf687937 Merge succeeded, producing 6d0d00b72e8af535366520434a325914bf687937 Checking out Revision 6d0d00b72e8af535366520434a325914bf687937 (PR-827) > 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/827/head:refs/remotes/origin/PR-827 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d0d00b72e8af535366520434a325914bf687937 # 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 e2b795a37b7f4058c403051823a7e04e4e702841 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d0d00b72e8af535366520434a325914bf687937 # timeout=10 Commit message: "fix: remove StopAutoEvents call during bootstrap" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-19T08:09:14.760Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 73f6dd7ae1dc48b71098234822fc44fe22aa7f90 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-19T08:09:15.042Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-19T08:09:15.150Z] ========================================================= [2021-03-19T08:09:15.150Z] EdgeX Global Pipelines Version Info [2021-03-19T08:09:15.150Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:09:16.638Z] ------------------- [2021-03-19T08:09:16.638Z] stable info: [2021-03-19T08:09:16.638Z] ------------------- [2021-03-19T08:09:16.638Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-19T08:09:16.638Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-19T08:09:16.638Z] Message: update stable to v1.0.184 [2021-03-19T08:09:17.583Z] ------------------- [2021-03-19T08:09:17.583Z] experimental info: [2021-03-19T08:09:17.583Z] ------------------- [2021-03-19T08:09:17.583Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-19T08:09:17.583Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-19T08:09:17.583Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-19T08:09:17.913Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-19T08:09:18.040Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-19T08:09:18.283Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-19T08:09:18.386Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-19T08:09:18.486Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-19T08:09:18.600Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-19T08:09:18.697Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-19T08:09:18.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-19T08:09:18.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-19T08:09:19.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-19T08:09:19.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-19T08:09:19.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-19T08:09:19.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-19T08:09:19.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-19T08:09:19.532Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-19T08:09:19.632Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T08:09:19.737Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T08:09:19.826Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T08:09:19.941Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-19T08:09:20.048Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-19T08:09:20.187Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-19T08:09:20.325Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-19T08:09:20.479Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-19T08:09:20.582Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-19T08:09:20.700Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-19T08:09:20.795Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-19T08:09:20.905Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-827 [Pipeline] echo [2021-03-19T08:09:21.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-827 [Pipeline] echo [2021-03-19T08:09:21.092Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-827 [Pipeline] echo [2021-03-19T08:09:21.180Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d0d00b72e8af535366520434a325914bf687937 [Pipeline] echo [2021-03-19T08:09:21.282Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d0d00b [Pipeline] echo [2021-03-19T08:09:21.373Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T08:09:21.553Z] provisioning config files... [2021-03-19T08:09:21.580Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/config6934836785496856371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:09:21.939Z] ---> docker-login.sh [2021-03-19T08:09:21.939Z] nexus3.edgexfoundry.org:10001 [2021-03-19T08:09:22.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:09:22.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:09:22.463Z] Configure a credential helper to remove this warning. See [2021-03-19T08:09:22.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:09:22.463Z] [2021-03-19T08:09:22.463Z] Login Succeeded [2021-03-19T08:09:22.463Z] nexus3.edgexfoundry.org:10002 [2021-03-19T08:09:22.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:09:22.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:09:22.463Z] Configure a credential helper to remove this warning. See [2021-03-19T08:09:22.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:09:22.463Z] [2021-03-19T08:09:22.463Z] Login Succeeded [2021-03-19T08:09:22.463Z] nexus3.edgexfoundry.org:10003 [2021-03-19T08:09:22.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:09:22.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:09:22.726Z] Configure a credential helper to remove this warning. See [2021-03-19T08:09:22.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:09:22.726Z] [2021-03-19T08:09:22.726Z] Login Succeeded [2021-03-19T08:09:22.726Z] nexus3.edgexfoundry.org:10004 [2021-03-19T08:09:22.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:09:22.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:09:22.988Z] Configure a credential helper to remove this warning. See [2021-03-19T08:09:22.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:09:22.988Z] [2021-03-19T08:09:22.988Z] Login Succeeded [2021-03-19T08:09:22.988Z] docker.io [2021-03-19T08:09:22.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:09:23.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:09:23.250Z] Configure a credential helper to remove this warning. See [2021-03-19T08:09:23.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:09:23.250Z] [2021-03-19T08:09:23.250Z] Login Succeeded [2021-03-19T08:09:23.250Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T08:09:23.260Z] 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-19T08:09:24.167Z] + git log --format=format:%s -1 6d0d00b72e8af535366520434a325914bf687937 [Pipeline] echo [2021-03-19T08:09:24.243Z] GIT_COMMIT: 6d0d00b72e8af535366520434a325914bf687937, Commit Message: fix: remove StopAutoEvents call during bootstrap [Pipeline] echo [2021-03-19T08:09:24.289Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:09:25.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T08:09:25.480Z] [2021-03-19T08:09:25.480Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:09:25.826Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T08:09:25.826Z] latest: Pulling from edgex-devops/git-semver [2021-03-19T08:09:25.826Z] 31603596830f: Pulling fs layer [2021-03-19T08:09:25.826Z] 2a8b12db71e7: Pulling fs layer [2021-03-19T08:09:25.826Z] 6ca5941a6612: Pulling fs layer [2021-03-19T08:09:25.826Z] ecc8261a40a4: Pulling fs layer [2021-03-19T08:09:25.826Z] ecc8261a40a4: Waiting [2021-03-19T08:09:25.826Z] 2a8b12db71e7: Verifying Checksum [2021-03-19T08:09:25.826Z] 2a8b12db71e7: Download complete [2021-03-19T08:09:26.089Z] 31603596830f: Verifying Checksum [2021-03-19T08:09:26.089Z] 31603596830f: Download complete [2021-03-19T08:09:26.089Z] ecc8261a40a4: Verifying Checksum [2021-03-19T08:09:26.089Z] ecc8261a40a4: Download complete [2021-03-19T08:09:26.089Z] 6ca5941a6612: Verifying Checksum [2021-03-19T08:09:26.089Z] 6ca5941a6612: Download complete [2021-03-19T08:09:26.351Z] 31603596830f: Pull complete [2021-03-19T08:09:26.351Z] 2a8b12db71e7: Pull complete [2021-03-19T08:09:27.297Z] 6ca5941a6612: Pull complete [2021-03-19T08:09:27.559Z] ecc8261a40a4: Pull complete [2021-03-19T08:09:27.559Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-19T08:09:28.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T08:09:28.132Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-19T08:09:28.231Z] prd-centos7-docker-4c-2g-30512 does not seem to be running inside a container [2021-03-19T08:09:28.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-827 -v /w/workspace/dgexfoundry_device-sdk-go_PR-827:/w/workspace/dgexfoundry_device-sdk-go_PR-827:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-827@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-19T08:09:29.804Z] $ docker top 3dbf3287ac1003329463e4345c42084f24c9e18587fdb109f853312880021d37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T08:09:30.074Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T08:09:30.074Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T08:09:30.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T08:09:30.288Z] $ docker exec 3dbf3287ac1003329463e4345c42084f24c9e18587fdb109f853312880021d37 ssh-agent [2021-03-19T08:09:30.441Z] SSH_AUTH_SOCK=/tmp/ssh-lgNZN366wgsa/agent.11 [2021-03-19T08:09:30.441Z] SSH_AGENT_PID=17 [2021-03-19T08:09:30.450Z] Running ssh-add (command line suppressed) [2021-03-19T08:09:30.568Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_9175906563990759353.key (/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_9175906563990759353.key) [2021-03-19T08:09:30.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T08:09:30.949Z] + git tag --points-at HEAD [Pipeline] } [2021-03-19T08:09:30.971Z] $ docker exec --env ******** --env ******** 3dbf3287ac1003329463e4345c42084f24c9e18587fdb109f853312880021d37 ssh-agent -k [2021-03-19T08:09:31.081Z] unset SSH_AUTH_SOCK; [2021-03-19T08:09:31.082Z] unset SSH_AGENT_PID; [2021-03-19T08:09:31.082Z] echo Agent pid 17 killed; [2021-03-19T08:09:31.124Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-19T08:09:31.267Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T08:09:31.267Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T08:09:31.426Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T08:09:31.432Z] $ docker exec 3dbf3287ac1003329463e4345c42084f24c9e18587fdb109f853312880021d37 ssh-agent [2021-03-19T08:09:31.576Z] SSH_AUTH_SOCK=/tmp/ssh-fwsTBYX4Q5wL/agent.46 [2021-03-19T08:09:31.576Z] SSH_AGENT_PID=51 [2021-03-19T08:09:31.583Z] Running ssh-add (command line suppressed) [2021-03-19T08:09:31.714Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_2593636856714684527.key (/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/private_key_2593636856714684527.key) [2021-03-19T08:09:31.778Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T08:09:32.114Z] + git semver init [2021-03-19T08:09:32.114Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T08:09:32.114Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-827/.git [2021-03-19T08:09:32.114Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-827 [2021-03-19T08:09:32.114Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T08:09:32.114Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T08:09:32.114Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T08:09:32.114Z] # $SEMVER_BRANCH = PR-827 [2021-03-19T08:09:32.114Z] # $SEMVER_TEMP = /tmp/semver-626698738 [2021-03-19T08:09:32.114Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-19T08:09:32.693Z] # '/tmp/semver-626698738' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-827/.semver' [2021-03-19T08:09:32.693Z] # -> Force: false [2021-03-19T08:09:32.693Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-827/.semver [Pipeline] } [2021-03-19T08:09:32.708Z] $ docker exec --env ******** --env ******** 3dbf3287ac1003329463e4345c42084f24c9e18587fdb109f853312880021d37 ssh-agent -k [2021-03-19T08:09:32.817Z] unset SSH_AUTH_SOCK; [2021-03-19T08:09:32.817Z] unset SSH_AGENT_PID; [2021-03-19T08:09:32.817Z] echo Agent pid 51 killed; [2021-03-19T08:09:32.861Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T08:09:33.389Z] + git semver [Pipeline] } [2021-03-19T08:09:33.408Z] $ docker stop --time=1 3dbf3287ac1003329463e4345c42084f24c9e18587fdb109f853312880021d37 [2021-03-19T08:09:34.807Z] $ docker rm -f 3dbf3287ac1003329463e4345c42084f24c9e18587fdb109f853312880021d37 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T08:09:35.258Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-19T08:09:35.752Z] Stashed 1 file(s) [Pipeline] echo [2021-03-19T08:09:35.755Z] [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-19T08:09:51.271Z] Still waiting to schedule task [2021-03-19T08:09:51.271Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30512’ [2021-03-19T08:09:51.274Z] Still waiting to schedule task [2021-03-19T08:09:51.274Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-19T08:11:30.328Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30513 in /w/workspace/dgexfoundry_device-sdk-go_PR-827 [Pipeline] { [Pipeline] ws [2021-03-19T08:11:30.389Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-19T08:11:35.188Z] using credential edgex-jenkins-ssh [2021-03-19T08:11:35.244Z] Cloning the remote Git repository [2021-03-19T08:11:35.295Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T08:11:35.404Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-19T08:11:35.490Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T08:11:35.491Z] > git --version # timeout=10 [2021-03-19T08:11:35.523Z] > git --version # 'git version 2.17.1' [2021-03-19T08:11:35.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:11:35.576Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T08:11:36.689Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-19T08:11:37.567Z] Merging remotes/origin/master commit e2b795a37b7f4058c403051823a7e04e4e702841 into PR head commit 6d0d00b72e8af535366520434a325914bf687937 [2021-03-19T08:11:37.784Z] Merge succeeded, producing 6d0d00b72e8af535366520434a325914bf687937 [2021-03-19T08:11:37.785Z] Checking out Revision 6d0d00b72e8af535366520434a325914bf687937 (PR-827) [2021-03-19T08:11:36.767Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T08:11:36.808Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-19T08:11:36.880Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T08:11:36.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:11:36.911Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/827/head:refs/remotes/origin/PR-827 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-19T08:11:37.588Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T08:11:37.602Z] > git checkout -f 6d0d00b72e8af535366520434a325914bf687937 # timeout=10 [2021-03-19T08:11:37.698Z] > git remote # timeout=10 [2021-03-19T08:11:37.719Z] > git config --get remote.origin.url # timeout=10 [2021-03-19T08:11:37.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:11:37.744Z] > git merge e2b795a37b7f4058c403051823a7e04e4e702841 # timeout=10 [2021-03-19T08:11:37.767Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-19T08:11:37.793Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T08:11:37.804Z] > git checkout -f 6d0d00b72e8af535366520434a325914bf687937 # timeout=10 [2021-03-19T08:11:42.016Z] Commit message: "fix: remove StopAutoEvents call during bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T08:11:43.667Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-19T08:11:44.089Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-19T08:11:44.435Z] + true [2021-03-19T08:11:44.436Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T08:11:47.137Z] provisioning config files... [2021-03-19T08:11:47.176Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6899430501888119002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:11:47.589Z] ---> docker-login.sh [2021-03-19T08:11:47.589Z] nexus3.edgexfoundry.org:10001 [2021-03-19T08:11:48.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:11:48.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:11:48.848Z] Configure a credential helper to remove this warning. See [2021-03-19T08:11:48.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:11:48.848Z] [2021-03-19T08:11:48.848Z] Login Succeeded [2021-03-19T08:11:48.848Z] nexus3.edgexfoundry.org:10002 [2021-03-19T08:11:49.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:11:49.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:11:49.397Z] Configure a credential helper to remove this warning. See [2021-03-19T08:11:49.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:11:49.397Z] [2021-03-19T08:11:49.397Z] Login Succeeded [2021-03-19T08:11:49.397Z] nexus3.edgexfoundry.org:10003 [2021-03-19T08:11:49.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:11:49.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:11:49.945Z] Configure a credential helper to remove this warning. See [2021-03-19T08:11:49.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:11:49.945Z] [2021-03-19T08:11:49.945Z] Login Succeeded [2021-03-19T08:11:49.945Z] nexus3.edgexfoundry.org:10004 [2021-03-19T08:11:50.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:11:50.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:11:50.492Z] Configure a credential helper to remove this warning. See [2021-03-19T08:11:50.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:11:50.492Z] [2021-03-19T08:11:50.492Z] Login Succeeded [2021-03-19T08:11:50.492Z] docker.io [2021-03-19T08:11:50.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:11:51.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:11:51.040Z] Configure a credential helper to remove this warning. See [2021-03-19T08:11:51.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:11:51.041Z] [2021-03-19T08:11:51.041Z] Login Succeeded [2021-03-19T08:11:51.312Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T08:11:51.334Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-19T08:11:51.859Z] ========================================================= [2021-03-19T08:11:51.859Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-19T08:11:51.859Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:11:52.233Z] + 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-19T08:11:52.508Z] Sending build context to Docker daemon 2.299MB [2021-03-19T08:11:52.781Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T08:11:52.782Z] Step 2/8 : FROM ${BASE} [2021-03-19T08:11:52.782Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-19T08:11:52.782Z] 5f621e34cdf4: Pulling fs layer [2021-03-19T08:11:52.782Z] a4357932f1b6: Pulling fs layer [2021-03-19T08:11:52.782Z] 18c013af1878: Pulling fs layer [2021-03-19T08:11:52.782Z] 00ac8860ef70: Pulling fs layer [2021-03-19T08:11:52.782Z] 63d7cb157983: Pulling fs layer [2021-03-19T08:11:52.782Z] b116817d02f9: Pulling fs layer [2021-03-19T08:11:52.782Z] 745a02a5169b: Pulling fs layer [2021-03-19T08:11:52.782Z] 00ac8860ef70: Waiting [2021-03-19T08:11:52.782Z] 63d7cb157983: Waiting [2021-03-19T08:11:52.782Z] b116817d02f9: Waiting [2021-03-19T08:11:52.782Z] 745a02a5169b: Waiting [2021-03-19T08:11:52.782Z] 18c013af1878: Download complete [2021-03-19T08:11:52.782Z] a4357932f1b6: Verifying Checksum [2021-03-19T08:11:52.782Z] a4357932f1b6: Download complete [2021-03-19T08:11:52.782Z] 63d7cb157983: Verifying Checksum [2021-03-19T08:11:52.782Z] 63d7cb157983: Download complete [2021-03-19T08:11:53.759Z] 5f621e34cdf4: Download complete [2021-03-19T08:11:53.759Z] b116817d02f9: Verifying Checksum [2021-03-19T08:11:53.759Z] b116817d02f9: Download complete [2021-03-19T08:11:54.365Z] 5f621e34cdf4: Pull complete [2021-03-19T08:11:54.965Z] a4357932f1b6: Pull complete [2021-03-19T08:11:55.242Z] 18c013af1878: Pull complete [2021-03-19T08:11:56.224Z] 745a02a5169b: Verifying Checksum [2021-03-19T08:11:56.224Z] 745a02a5169b: Download complete [2021-03-19T08:11:57.680Z] 00ac8860ef70: Verifying Checksum [2021-03-19T08:11:57.680Z] 00ac8860ef70: Download complete [2021-03-19T08:12:07.864Z] 00ac8860ef70: Pull complete [2021-03-19T08:12:07.864Z] 63d7cb157983: Pull complete [2021-03-19T08:12:08.152Z] b116817d02f9: Pull complete [2021-03-19T08:12:12.472Z] 745a02a5169b: Pull complete [2021-03-19T08:12:12.472Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-19T08:12:12.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-19T08:12:12.472Z] ---> b7e6874047d6 [2021-03-19T08:12:12.472Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T08:12:14.472Z] ---> Running in 45ce3902a622 [2021-03-19T08:12:14.738Z] Running on prd-centos7-docker-4c-2g-30514 in /w/workspace/dgexfoundry_device-sdk-go_PR-827 [Pipeline] { [Pipeline] ws [2021-03-19T08:12:14.801Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-19T08:12:15.073Z] Removing intermediate container 45ce3902a622 [2021-03-19T08:12:15.073Z] ---> ac74b7313c6b [2021-03-19T08:12:15.073Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T08:12:15.073Z] ---> Running in 62b2a3f60ede [2021-03-19T08:12:17.350Z] using credential edgex-jenkins-ssh [2021-03-19T08:12:17.446Z] Cloning the remote Git repository [2021-03-19T08:12:17.727Z] Removing intermediate container 62b2a3f60ede [2021-03-19T08:12:17.727Z] ---> 66cec2c21e0b [2021-03-19T08:12:17.727Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-19T08:12:17.727Z] ---> Running in bb2cc63e71ea [2021-03-19T08:12:17.451Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T08:12:17.534Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-19T08:12:17.593Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T08:12:17.593Z] > git --version # timeout=10 [2021-03-19T08:12:17.601Z] > git --version # 'git version 2.24.3' [2021-03-19T08:12:17.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:12:17.637Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T08:12:18.403Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-19T08:12:18.411Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T08:12:18.430Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-19T08:12:18.710Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-19T08:12:18.893Z] Merging remotes/origin/master commit e2b795a37b7f4058c403051823a7e04e4e702841 into PR head commit 6d0d00b72e8af535366520434a325914bf687937 [2021-03-19T08:12:19.036Z] Merge succeeded, producing 6d0d00b72e8af535366520434a325914bf687937 [2021-03-19T08:12:19.036Z] Checking out Revision 6d0d00b72e8af535366520434a325914bf687937 (PR-827) [2021-03-19T08:12:19.310Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-19T08:12:18.447Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T08:12:18.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:12:18.452Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/827/head:refs/remotes/origin/PR-827 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-19T08:12:18.907Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T08:12:18.915Z] > git checkout -f 6d0d00b72e8af535366520434a325914bf687937 # timeout=10 [2021-03-19T08:12:18.986Z] > git remote # timeout=10 [2021-03-19T08:12:18.999Z] > git config --get remote.origin.url # timeout=10 [2021-03-19T08:12:19.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:12:19.021Z] > git merge e2b795a37b7f4058c403051823a7e04e4e702841 # timeout=10 [2021-03-19T08:12:19.031Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-19T08:12:19.045Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T08:12:19.052Z] > git checkout -f 6d0d00b72e8af535366520434a325914bf687937 # timeout=10 [2021-03-19T08:12:20.290Z] OK: 142 MiB in 39 packages [2021-03-19T08:12:21.725Z] Removing intermediate container bb2cc63e71ea [2021-03-19T08:12:21.725Z] ---> 053945a85cad [2021-03-19T08:12:21.725Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-19T08:12:21.725Z] ---> Running in 0be8fce1af60 [2021-03-19T08:12:22.322Z] Removing intermediate container 0be8fce1af60 [2021-03-19T08:12:22.322Z] ---> c9ef657218ea [2021-03-19T08:12:22.322Z] Step 7/8 : COPY . . [2021-03-19T08:12:22.708Z] Commit message: "fix: remove StopAutoEvents call during bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T08:12:23.302Z] ---> 0d0cfa987d5c [2021-03-19T08:12:23.302Z] Step 8/8 : RUN go mod download [2021-03-19T08:12:23.581Z] ---> Running in 4df53a8dc207 [2021-03-19T08:12:23.967Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-19T08:12:24.303Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-19T08:12:24.630Z] + sudo service docker restart [2021-03-19T08:12:24.630Z] + true [2021-03-19T08:12:24.630Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T08:12:25.668Z] provisioning config files... [2021-03-19T08:12:25.693Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8851393950065603494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:12:26.115Z] ---> docker-login.sh [2021-03-19T08:12:26.115Z] nexus3.edgexfoundry.org:10001 [2021-03-19T08:12:26.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:12:26.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:12:26.378Z] Configure a credential helper to remove this warning. See [2021-03-19T08:12:26.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:12:26.378Z] [2021-03-19T08:12:26.378Z] Login Succeeded [2021-03-19T08:12:26.378Z] nexus3.edgexfoundry.org:10002 [2021-03-19T08:12:26.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:12:26.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:12:26.647Z] Configure a credential helper to remove this warning. See [2021-03-19T08:12:26.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:12:26.647Z] [2021-03-19T08:12:26.647Z] Login Succeeded [2021-03-19T08:12:26.647Z] nexus3.edgexfoundry.org:10003 [2021-03-19T08:12:26.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:12:26.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:12:26.911Z] Configure a credential helper to remove this warning. See [2021-03-19T08:12:26.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:12:26.911Z] [2021-03-19T08:12:26.911Z] Login Succeeded [2021-03-19T08:12:26.911Z] nexus3.edgexfoundry.org:10004 [2021-03-19T08:12:26.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:12:27.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:12:27.174Z] Configure a credential helper to remove this warning. See [2021-03-19T08:12:27.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:12:27.174Z] [2021-03-19T08:12:27.174Z] Login Succeeded [2021-03-19T08:12:27.174Z] docker.io [2021-03-19T08:12:27.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:12:27.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:12:27.438Z] Configure a credential helper to remove this warning. See [2021-03-19T08:12:27.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:12:27.438Z] [2021-03-19T08:12:27.438Z] Login Succeeded [2021-03-19T08:12:27.438Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T08:12:27.447Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-19T08:12:27.767Z] ========================================================= [2021-03-19T08:12:27.767Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-19T08:12:27.767Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:12:28.111Z] + 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-19T08:12:28.111Z] Sending build context to Docker daemon 2.3MB [2021-03-19T08:12:28.111Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T08:12:28.111Z] Step 2/8 : FROM ${BASE} [2021-03-19T08:12:28.374Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-19T08:12:28.374Z] 188c0c94c7c5: Pulling fs layer [2021-03-19T08:12:28.374Z] 0ef7d3d256c8: Pulling fs layer [2021-03-19T08:12:28.374Z] de9db76c5a1d: Pulling fs layer [2021-03-19T08:12:28.374Z] bca2f99d35d6: Pulling fs layer [2021-03-19T08:12:28.374Z] 93359f2a8cfa: Pulling fs layer [2021-03-19T08:12:28.374Z] 7c6f9722023f: Pulling fs layer [2021-03-19T08:12:28.374Z] a35cf1a2eb13: Pulling fs layer [2021-03-19T08:12:28.374Z] 93359f2a8cfa: Waiting [2021-03-19T08:12:28.374Z] 7c6f9722023f: Waiting [2021-03-19T08:12:28.374Z] a35cf1a2eb13: Waiting [2021-03-19T08:12:28.374Z] bca2f99d35d6: Waiting [2021-03-19T08:12:28.374Z] de9db76c5a1d: Verifying Checksum [2021-03-19T08:12:28.374Z] 0ef7d3d256c8: Verifying Checksum [2021-03-19T08:12:28.374Z] 0ef7d3d256c8: Download complete [2021-03-19T08:12:28.374Z] 93359f2a8cfa: Verifying Checksum [2021-03-19T08:12:28.374Z] 93359f2a8cfa: Download complete [2021-03-19T08:12:28.374Z] 188c0c94c7c5: Download complete [2021-03-19T08:12:28.374Z] 7c6f9722023f: Download complete [2021-03-19T08:12:28.636Z] 188c0c94c7c5: Pull complete [2021-03-19T08:12:28.898Z] 0ef7d3d256c8: Pull complete [2021-03-19T08:12:28.898Z] de9db76c5a1d: Pull complete [2021-03-19T08:12:30.843Z] a35cf1a2eb13: Verifying Checksum [2021-03-19T08:12:30.843Z] a35cf1a2eb13: Download complete [2021-03-19T08:12:31.427Z] bca2f99d35d6: Verifying Checksum [2021-03-19T08:12:31.427Z] bca2f99d35d6: Download complete [2021-03-19T08:12:36.790Z] bca2f99d35d6: Pull complete [2021-03-19T08:12:36.791Z] 93359f2a8cfa: Pull complete [2021-03-19T08:12:36.791Z] 7c6f9722023f: Pull complete [2021-03-19T08:12:43.423Z] a35cf1a2eb13: Pull complete [2021-03-19T08:12:43.423Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-19T08:12:43.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-19T08:12:43.423Z] ---> a62c8e92a672 [2021-03-19T08:12:43.423Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T08:12:43.423Z] ---> Running in 3ae3daaf1739 [2021-03-19T08:12:43.423Z] Removing intermediate container 3ae3daaf1739 [2021-03-19T08:12:43.423Z] ---> 0b2d55b02489 [2021-03-19T08:12:43.423Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T08:12:43.423Z] ---> Running in 407a25a5b025 [2021-03-19T08:12:44.381Z] Removing intermediate container 407a25a5b025 [2021-03-19T08:12:44.381Z] ---> fb5f2bbf8a76 [2021-03-19T08:12:44.381Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-19T08:12:44.381Z] ---> Running in a6659cae2a82 [2021-03-19T08:12:45.336Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-19T08:12:45.917Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-19T08:12:46.495Z] OK: 166 MiB in 39 packages [2021-03-19T08:12:46.763Z] Removing intermediate container a6659cae2a82 [2021-03-19T08:12:46.763Z] ---> fe7c6ac683ec [2021-03-19T08:12:46.763Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-19T08:12:46.763Z] ---> Running in 1562a1c73ede [2021-03-19T08:12:47.025Z] Removing intermediate container 1562a1c73ede [2021-03-19T08:12:47.025Z] ---> 755e49c065e2 [2021-03-19T08:12:47.025Z] Step 7/8 : COPY . . [2021-03-19T08:12:48.419Z] ---> 3e5716a7192a [2021-03-19T08:12:48.419Z] Step 8/8 : RUN go mod download [2021-03-19T08:12:48.419Z] ---> Running in e52c8d4492b5 [2021-03-19T08:12:50.372Z] Removing intermediate container 4df53a8dc207 [2021-03-19T08:12:50.372Z] ---> 49605cc4b7c6 [2021-03-19T08:12:50.372Z] Successfully built 49605cc4b7c6 [2021-03-19T08:12:50.372Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:12:50.714Z] + docker inspect -f . ci-base-image-arm64 [2021-03-19T08:12:50.714Z] . [Pipeline] withDockerContainer [2021-03-19T08:12:50.984Z] prd-ubuntu18.04-docker-arm64-4c-16g-30513 does not seem to be running inside a container [2021-03-19T08:12:51.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-19T08:12:52.759Z] $ docker top e9a156a577b0b8d42de39ef5206c37e396390383cd55e2403b302a4f691b8e48 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T08:12:53.775Z] + go version [2021-03-19T08:12:53.775Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-19T08:12:53.813Z] $ docker stop --time=1 e9a156a577b0b8d42de39ef5206c37e396390383cd55e2403b302a4f691b8e48 [2021-03-19T08:12:55.848Z] $ docker rm -f e9a156a577b0b8d42de39ef5206c37e396390383cd55e2403b302a4f691b8e48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:12:56.874Z] + docker inspect -f . ci-base-image-arm64 [2021-03-19T08:12:56.874Z] . [Pipeline] withDockerContainer [2021-03-19T08:12:57.134Z] prd-ubuntu18.04-docker-arm64-4c-16g-30513 does not seem to be running inside a container [2021-03-19T08:12:57.232Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-19T08:12:58.938Z] $ docker top 482b9ebb1de7a8c404f5fa1f30a04e56992ebfc24d291e0190645f4e327f3e8a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T08:12:59.940Z] + make test [2021-03-19T08:12:59.940Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-19T08:13:10.455Z] Removing intermediate container e52c8d4492b5 [2021-03-19T08:13:10.455Z] ---> fba0e06b341f [2021-03-19T08:13:10.455Z] Successfully built fba0e06b341f [2021-03-19T08:13:10.455Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:13:10.772Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-19T08:13:10.772Z] . [Pipeline] withDockerContainer [2021-03-19T08:13:11.045Z] prd-centos7-docker-4c-2g-30514 does not seem to be running inside a container [2021-03-19T08:13:11.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-19T08:13:11.938Z] $ docker top 93f99a3ac781773dc50d9602de9079416f36643ecaa2f9d135e28e708035f377 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T08:13:12.410Z] + go version [2021-03-19T08:13:12.985Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-19T08:13:13.007Z] $ docker stop --time=1 93f99a3ac781773dc50d9602de9079416f36643ecaa2f9d135e28e708035f377 [2021-03-19T08:13:14.351Z] $ docker rm -f 93f99a3ac781773dc50d9602de9079416f36643ecaa2f9d135e28e708035f377 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:13:15.120Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-19T08:13:15.120Z] . [Pipeline] withDockerContainer [2021-03-19T08:13:15.216Z] prd-centos7-docker-4c-2g-30514 does not seem to be running inside a container [2021-03-19T08:13:15.272Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-19T08:13:15.850Z] $ docker top 4bfdc8a452ccc3251bb40b507e32a2ac69bb057fe92a820c5a5dc00f8010f8db -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T08:13:16.319Z] + make test [2021-03-19T08:13:16.319Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-19T08:13:22.122Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-19T08:13:22.951Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-19T08:13:37.951Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-19T08:13:37.951Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-19T08:13:37.951Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-19T08:13:37.951Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-19T08:13:40.528Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 27.0% of statements [2021-03-19T08:13:40.528Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 81.2% of statements [2021-03-19T08:14:01.142Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-19T08:14:01.142Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-19T08:14:01.142Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-19T08:14:01.142Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-19T08:14:05.491Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.132s coverage: 27.0% of statements [2021-03-19T08:14:06.092Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.182s coverage: 81.2% of statements [2021-03-19T08:14:12.703Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.051s coverage: 10.5% of statements [2021-03-19T08:14:12.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-19T08:14:12.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-19T08:14:12.703Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.134s coverage: 32.5% of statements [2021-03-19T08:14:12.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-19T08:14:12.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-19T08:14:12.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-19T08:14:12.703Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 57.3% of statements [2021-03-19T08:14:12.703Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.148s coverage: 6.6% of statements [2021-03-19T08:14:12.703Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.1% of statements [2021-03-19T08:14:12.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-19T08:14:12.703Z] GO111MODULE=on go vet ./... [2021-03-19T08:14:20.903Z] gofmt -l . [2021-03-19T08:14:20.903Z] [ "`gofmt -l .`" = "" ] [2021-03-19T08:14:20.903Z] ./bin/test-attribution-txt.sh [2021-03-19T08:14:20.903Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-19T08:14:21.196Z] $ docker stop --time=1 4bfdc8a452ccc3251bb40b507e32a2ac69bb057fe92a820c5a5dc00f8010f8db [2021-03-19T08:14:23.255Z] $ docker rm -f 4bfdc8a452ccc3251bb40b507e32a2ac69bb057fe92a820c5a5dc00f8010f8db [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T08:14:23.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-19T08:14:24.383Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-19T08:14:27.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-19T08:14:27.405Z] + ls -al . [2021-03-19T08:14:27.405Z] total 184 [2021-03-19T08:14:27.405Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 19 08:14 . [2021-03-19T08:14:27.405Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 19 08:12 .. [2021-03-19T08:14:27.405Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 19 08:12 bin [2021-03-19T08:14:27.405Z] -rw-r--r--. 1 jenkins jenkins 99587 Mar 19 08:14 coverage.out [2021-03-19T08:14:27.405Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 19 08:12 Dockerfile.build [2021-03-19T08:14:27.405Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 19 08:12 .dockerignore [2021-03-19T08:14:27.405Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 19 08:12 example [2021-03-19T08:14:27.405Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 19 08:12 .git [2021-03-19T08:14:27.405Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 19 08:12 .github [2021-03-19T08:14:27.405Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 19 08:12 .gitignore [2021-03-19T08:14:27.405Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 19 08:14 go.mod [2021-03-19T08:14:27.405Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 19 08:14 go.sum [2021-03-19T08:14:27.405Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 19 08:12 internal [2021-03-19T08:14:27.405Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 19 08:12 Jenkinsfile [2021-03-19T08:14:27.405Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 19 08:12 LICENSE [2021-03-19T08:14:27.405Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 19 08:12 Makefile [2021-03-19T08:14:27.405Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 19 08:12 openapi [2021-03-19T08:14:27.405Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 19 08:12 pkg [2021-03-19T08:14:27.405Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 19 08:12 README.md [2021-03-19T08:14:27.405Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 19 08:12 RELEASE-NOTES.txt [2021-03-19T08:14:27.405Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 19 08:12 snap [2021-03-19T08:14:27.405Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 19 08:09 VERSION [2021-03-19T08:14:27.405Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 19 08:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:14:27.715Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=6d0d00b72e8af535366520434a325914bf687937 --label arch=amd64 --label version=0.0.0 . [2021-03-19T08:14:27.982Z] Sending build context to Docker daemon 2.401MB [2021-03-19T08:14:27.982Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T08:14:27.982Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-19T08:14:27.982Z] ---> fba0e06b341f [2021-03-19T08:14:27.982Z] Step 3/24 : ARG MAKE='make build' [2021-03-19T08:14:28.559Z] ---> Running in 331ae175fe9c [2021-03-19T08:14:28.559Z] Removing intermediate container 331ae175fe9c [2021-03-19T08:14:28.559Z] ---> 48f7cb6cd2e5 [2021-03-19T08:14:28.559Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-19T08:14:28.821Z] ---> Running in 7aabb5c8f01b [2021-03-19T08:14:28.821Z] Removing intermediate container 7aabb5c8f01b [2021-03-19T08:14:28.821Z] ---> 78484a46c226 [2021-03-19T08:14:28.821Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T08:14:29.091Z] ---> Running in f406968278c6 [2021-03-19T08:14:29.091Z] Removing intermediate container f406968278c6 [2021-03-19T08:14:29.091Z] ---> 3093ddfc8e04 [2021-03-19T08:14:29.091Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T08:14:29.091Z] ---> Running in 80c47114ef66 [2021-03-19T08:14:30.046Z] Removing intermediate container 80c47114ef66 [2021-03-19T08:14:30.046Z] ---> 79531d474788 [2021-03-19T08:14:30.046Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-19T08:14:30.046Z] ---> Running in 0aa6bd4d6427 [2021-03-19T08:14:30.624Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-19T08:14:31.204Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-19T08:14:31.785Z] OK: 166 MiB in 39 packages [2021-03-19T08:14:32.364Z] Removing intermediate container 0aa6bd4d6427 [2021-03-19T08:14:32.364Z] ---> 6a231ad2f6fe [2021-03-19T08:14:32.364Z] Step 8/24 : COPY . . [2021-03-19T08:14:33.318Z] ---> 87dfc7bc6efe [2021-03-19T08:14:33.318Z] Step 9/24 : RUN ${MAKE} [2021-03-19T08:14:33.318Z] ---> Running in 1e1be7bf8406 [2021-03-19T08:14:33.901Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-19T08:14:38.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.133s coverage: 10.5% of statements [2021-03-19T08:14:38.652Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-19T08:14:38.652Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-19T08:14:38.652Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.233s coverage: 32.5% of statements [2021-03-19T08:14:38.652Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-19T08:14:38.652Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-19T08:14:38.652Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-19T08:14:38.652Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.290s coverage: 57.3% of statements [2021-03-19T08:14:38.652Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.033s coverage: 6.6% of statements [2021-03-19T08:14:38.652Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.122s coverage: 5.1% of statements [2021-03-19T08:14:38.652Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-19T08:14:38.652Z] GO111MODULE=on go vet ./... [2021-03-19T08:14:44.028Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-19T08:14:45.418Z] Removing intermediate container 1e1be7bf8406 [2021-03-19T08:14:45.418Z] ---> 8222ad54314b [2021-03-19T08:14:45.418Z] Step 10/24 : FROM scratch [2021-03-19T08:14:45.418Z] ---> [2021-03-19T08:14:45.418Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T08:14:45.418Z] ---> Running in d9d3cc7f97df [2021-03-19T08:14:45.681Z] Removing intermediate container d9d3cc7f97df [2021-03-19T08:14:45.681Z] ---> 2afb1e40a2c0 [2021-03-19T08:14:45.681Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-19T08:14:45.681Z] ---> Running in 253a36e33b5a [2021-03-19T08:14:45.944Z] Removing intermediate container 253a36e33b5a [2021-03-19T08:14:45.944Z] ---> 1917e87904e6 [2021-03-19T08:14:45.944Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-19T08:14:45.944Z] ---> Running in 3f152868d3cd [2021-03-19T08:14:45.944Z] Removing intermediate container 3f152868d3cd [2021-03-19T08:14:45.944Z] ---> ff8cb7e1541a [2021-03-19T08:14:45.944Z] Step 14/24 : WORKDIR / [2021-03-19T08:14:46.207Z] ---> Running in 73ccf0e77c5c [2021-03-19T08:14:46.207Z] Removing intermediate container 73ccf0e77c5c [2021-03-19T08:14:46.207Z] ---> 0539c06c8c83 [2021-03-19T08:14:46.207Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-19T08:14:46.786Z] ---> 565eeb0a73ac [2021-03-19T08:14:46.786Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-19T08:14:47.050Z] ---> b20179ff7d5d [2021-03-19T08:14:47.050Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-19T08:14:47.315Z] ---> 4aecd13f2c73 [2021-03-19T08:14:47.315Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-19T08:14:47.315Z] ---> 17d9a3c024bc [2021-03-19T08:14:47.315Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-19T08:14:47.578Z] ---> 7dd4f42f92e6 [2021-03-19T08:14:47.578Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-19T08:14:47.840Z] ---> Running in c881e80416e0 [2021-03-19T08:14:47.840Z] Removing intermediate container c881e80416e0 [2021-03-19T08:14:47.840Z] ---> b9d8d2069912 [2021-03-19T08:14:47.840Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-19T08:14:47.840Z] ---> Running in 52f95b4b2ba2 [2021-03-19T08:14:48.103Z] Removing intermediate container 52f95b4b2ba2 [2021-03-19T08:14:48.103Z] ---> a51e679462a4 [2021-03-19T08:14:48.103Z] Step 22/24 : LABEL arch=amd64 [2021-03-19T08:14:48.103Z] ---> Running in 989798d862f9 [2021-03-19T08:14:48.367Z] Removing intermediate container 989798d862f9 [2021-03-19T08:14:48.367Z] ---> 8a2a4fb94ef4 [2021-03-19T08:14:48.367Z] Step 23/24 : LABEL git_sha=6d0d00b72e8af535366520434a325914bf687937 [2021-03-19T08:14:48.367Z] ---> Running in adf8b6c136c6 [2021-03-19T08:14:48.629Z] Removing intermediate container adf8b6c136c6 [2021-03-19T08:14:48.629Z] ---> 6adf96f7cadd [2021-03-19T08:14:48.629Z] Step 24/24 : LABEL version=0.0.0 [2021-03-19T08:14:48.629Z] ---> Running in 04a176f16bb3 [2021-03-19T08:14:48.891Z] Removing intermediate container 04a176f16bb3 [2021-03-19T08:14:48.891Z] ---> 710af0da1cb6 [2021-03-19T08:14:48.891Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-19T08:14:48.891Z] Successfully built 710af0da1cb6 [2021-03-19T08:14:48.891Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:14:49.991Z] ---> job-cost.sh [2021-03-19T08:14:49.991Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DbGt [2021-03-19T08:15:04.958Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-19T08:15:11.037Z] gofmt -l . [2021-03-19T08:15:11.037Z] [ "`gofmt -l .`" = "" ] [2021-03-19T08:15:11.037Z] ./bin/test-attribution-txt.sh [2021-03-19T08:15:11.037Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-19T08:15:11.082Z] $ docker stop --time=1 482b9ebb1de7a8c404f5fa1f30a04e56992ebfc24d291e0190645f4e327f3e8a [2021-03-19T08:15:13.445Z] $ docker rm -f 482b9ebb1de7a8c404f5fa1f30a04e56992ebfc24d291e0190645f4e327f3e8a [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T08:15:14.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-19T08:15:14.622Z] Warning: overwriting stash ‘coverage-report’ [2021-03-19T08:15:15.454Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T08:15:16.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-19T08:15:16.524Z] + ls -al . [2021-03-19T08:15:16.524Z] total 220 [2021-03-19T08:15:16.524Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 19 08:15 . [2021-03-19T08:15:16.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:11 .. [2021-03-19T08:15:16.524Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 19 08:11 .dockerignore [2021-03-19T08:15:16.524Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 19 08:11 .git [2021-03-19T08:15:16.524Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 08:11 .github [2021-03-19T08:15:16.524Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 19 08:11 .gitignore [2021-03-19T08:15:16.524Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 19 08:11 Dockerfile.build [2021-03-19T08:15:16.524Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 19 08:11 Jenkinsfile [2021-03-19T08:15:16.524Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 19 08:11 LICENSE [2021-03-19T08:15:16.524Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 19 08:11 Makefile [2021-03-19T08:15:16.524Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 19 08:11 README.md [2021-03-19T08:15:16.524Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 19 08:11 RELEASE-NOTES.txt [2021-03-19T08:15:16.524Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 19 08:09 VERSION [2021-03-19T08:15:16.524Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 08:11 bin [2021-03-19T08:15:16.524Z] -rw-r--r-- 1 jenkins jenkins 99587 Mar 19 08:14 coverage.out [2021-03-19T08:15:16.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:11 example [2021-03-19T08:15:16.524Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 19 08:15 go.mod [2021-03-19T08:15:16.524Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 19 08:15 go.sum [2021-03-19T08:15:16.524Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 19 08:11 internal [2021-03-19T08:15:16.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:11 openapi [2021-03-19T08:15:16.524Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 19 08:11 pkg [2021-03-19T08:15:16.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:11 snap [2021-03-19T08:15:16.524Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 19 08:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:15:16.863Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6d0d00b72e8af535366520434a325914bf687937 --label arch=arm64 --label version=0.0.0 . [2021-03-19T08:15:17.456Z] Sending build context to Docker daemon 2.4MB [2021-03-19T08:15:17.456Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T08:15:17.456Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-19T08:15:17.456Z] ---> 49605cc4b7c6 [2021-03-19T08:15:17.456Z] Step 3/24 : ARG MAKE='make build' [2021-03-19T08:15:17.728Z] ---> Running in cfe10288b6f3 [2021-03-19T08:15:18.003Z] Removing intermediate container cfe10288b6f3 [2021-03-19T08:15:18.003Z] ---> 797970d48d69 [2021-03-19T08:15:18.003Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-19T08:15:18.279Z] ---> Running in 58ab0195577b [2021-03-19T08:15:18.872Z] Removing intermediate container 58ab0195577b [2021-03-19T08:15:18.872Z] ---> d54dabf2e8d1 [2021-03-19T08:15:18.872Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T08:15:18.872Z] ---> Running in 7644ba1fc5b3 [2021-03-19T08:15:19.144Z] Removing intermediate container 7644ba1fc5b3 [2021-03-19T08:15:19.144Z] ---> 5a870b0a6025 [2021-03-19T08:15:19.144Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T08:15:19.416Z] ---> Running in c314501f37cc [2021-03-19T08:15:21.390Z] Removing intermediate container c314501f37cc [2021-03-19T08:15:21.390Z] ---> e6dc5e9d5e5f [2021-03-19T08:15:21.390Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-19T08:15:21.667Z] ---> Running in 831c3b757a97 [2021-03-19T08:15:22.657Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-19T08:15:23.634Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-19T08:15:23.906Z] OK: 142 MiB in 39 packages [2021-03-19T08:15:25.346Z] Removing intermediate container 831c3b757a97 [2021-03-19T08:15:25.346Z] ---> 9ca3e0909ccd [2021-03-19T08:15:25.346Z] Step 8/24 : COPY . . [2021-03-19T08:15:26.324Z] ---> be06a9667cde [2021-03-19T08:15:26.596Z] Step 9/24 : RUN ${MAKE} [2021-03-19T08:15:26.596Z] ---> Running in 6dbb1b0e1443 [2021-03-19T08:15:27.575Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-19T08:15:31.619Z] lf-activate-venv(): INFO: Adding /tmp/venv-DbGt/bin to PATH [2021-03-19T08:15:31.619Z] INFO: No Stack... [2021-03-19T08:15:31.619Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-19T08:15:31.619Z] INFO: Archiving Costs [Pipeline] sh [2021-03-19T08:15:31.929Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-19T08:15:31.929Z] + cut -d, -f6 [Pipeline] lock [2021-03-19T08:15:32.004Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] [2021-03-19T08:15:32.011Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] did not exist. Created. [2021-03-19T08:15:32.012Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T08:15:32.423Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-19T08:15:32.601Z] Stashed 1 file(s) [Pipeline] } [2021-03-19T08:15:32.612Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-19T08:15:54.403Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-19T08:15:55.402Z] Removing intermediate container 6dbb1b0e1443 [2021-03-19T08:15:55.402Z] ---> 9b53b3f44c34 [2021-03-19T08:15:55.402Z] Step 10/24 : FROM scratch [2021-03-19T08:15:55.402Z] ---> [2021-03-19T08:15:55.402Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T08:15:55.402Z] ---> Running in d4107153f2ea [2021-03-19T08:15:55.673Z] Removing intermediate container d4107153f2ea [2021-03-19T08:15:55.673Z] ---> b51e03a4dbee [2021-03-19T08:15:55.673Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-19T08:15:55.947Z] ---> Running in c0220643e613 [2021-03-19T08:15:56.220Z] Removing intermediate container c0220643e613 [2021-03-19T08:15:56.220Z] ---> f6ed1281c6b6 [2021-03-19T08:15:56.220Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-19T08:15:56.492Z] ---> Running in 35daee3a3987 [2021-03-19T08:15:56.765Z] Removing intermediate container 35daee3a3987 [2021-03-19T08:15:56.765Z] ---> 36adbe9ff21e [2021-03-19T08:15:56.765Z] Step 14/24 : WORKDIR / [2021-03-19T08:15:57.040Z] ---> Running in 39c563cd985e [2021-03-19T08:15:57.312Z] Removing intermediate container 39c563cd985e [2021-03-19T08:15:57.312Z] ---> 179b26ac9711 [2021-03-19T08:15:57.312Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-19T08:15:58.745Z] ---> 0a1a9cfe04ca [2021-03-19T08:15:58.745Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-19T08:15:59.338Z] ---> f24e9905bd24 [2021-03-19T08:15:59.338Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-19T08:15:59.937Z] ---> 0213ac92ad5b [2021-03-19T08:15:59.937Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-19T08:16:00.917Z] ---> 9bc38077317a [2021-03-19T08:16:00.917Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-19T08:16:01.511Z] ---> e956f9fcbd6c [2021-03-19T08:16:01.511Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-19T08:16:01.511Z] ---> Running in fffc740f943c [2021-03-19T08:16:02.102Z] Removing intermediate container fffc740f943c [2021-03-19T08:16:02.102Z] ---> 270b3bb5b738 [2021-03-19T08:16:02.102Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-19T08:16:02.102Z] ---> Running in 8f82ea6cb83b [2021-03-19T08:16:02.696Z] Removing intermediate container 8f82ea6cb83b [2021-03-19T08:16:02.696Z] ---> e146d33ed664 [2021-03-19T08:16:02.696Z] Step 22/24 : LABEL arch=arm64 [2021-03-19T08:16:02.696Z] ---> Running in 53d18de168a2 [2021-03-19T08:16:03.286Z] Removing intermediate container 53d18de168a2 [2021-03-19T08:16:03.286Z] ---> 7770b3338bd7 [2021-03-19T08:16:03.286Z] Step 23/24 : LABEL git_sha=6d0d00b72e8af535366520434a325914bf687937 [2021-03-19T08:16:03.286Z] ---> Running in 53db1ec87d90 [2021-03-19T08:16:03.880Z] Removing intermediate container 53db1ec87d90 [2021-03-19T08:16:03.880Z] ---> a3b24109c4c7 [2021-03-19T08:16:03.880Z] Step 24/24 : LABEL version=0.0.0 [2021-03-19T08:16:03.880Z] ---> Running in 579e830f74c9 [2021-03-19T08:16:04.472Z] Removing intermediate container 579e830f74c9 [2021-03-19T08:16:04.472Z] ---> 10eb5ba95acb [2021-03-19T08:16:04.472Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-19T08:16:04.472Z] Successfully built 10eb5ba95acb [2021-03-19T08:16:04.472Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:16:05.348Z] ---> job-cost.sh [2021-03-19T08:16:05.348Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZAx6 [2021-03-19T08:16:44.308Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-19T08:18:21.057Z] lf-activate-venv(): INFO: Adding /tmp/venv-ZAx6/bin to PATH [2021-03-19T08:18:21.058Z] INFO: No Stack... [2021-03-19T08:18:21.058Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-19T08:18:21.058Z] INFO: Archiving Costs [Pipeline] sh [2021-03-19T08:18:21.390Z] + + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-19T08:18:21.390Z] cut -d, -f6 [Pipeline] lock [2021-03-19T08:18:21.509Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] [2021-03-19T08:18:21.518Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] did not exist. Created. [2021-03-19T08:18:21.518Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T08:18:22.000Z] /w/workspace/device-sdk-go/2@tmp/durable-65150028/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-65150028/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-19T08:18:22.341Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-19T08:18:22.376Z] Warning: overwriting stash ‘stack-cost’ [2021-03-19T08:18:22.532Z] Stashed 1 file(s) [Pipeline] } [2021-03-19T08:18:22.543Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-827-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-19T08:18:23.873Z] provisioning config files... [2021-03-19T08:18:23.890Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/config1767904686460848915tmp [Pipeline] { [Pipeline] sh [2021-03-19T08:18:24.276Z] + set +x [2021-03-19T08:18:24.276Z] + curl -s https://codecov.io/bash [2021-03-19T08:18:24.276Z] + bash -s -- [2021-03-19T08:18:24.566Z] [2021-03-19T08:18:24.567Z] _____ _ [2021-03-19T08:18:24.567Z] / ____| | | [2021-03-19T08:18:24.567Z] | | ___ __| | ___ ___ _____ __ [2021-03-19T08:18:24.567Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-19T08:18:24.567Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-19T08:18:24.567Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-19T08:18:24.567Z] Bash-20210309-2b87ace [2021-03-19T08:18:24.567Z] [2021-03-19T08:18:24.567Z] [2021-03-19T08:18:24.567Z] ==> git version 2.24.3 found [2021-03-19T08:18:24.567Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-19T08:18:24.567Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-19T08:18:24.567Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-19T08:18:24.567Z] ==> Jenkins CI detected. [2021-03-19T08:18:24.567Z] project root: . [2021-03-19T08:18:24.567Z] --> token set from env [2021-03-19T08:18:24.567Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-19T08:18:24.567Z] ==> Running gcov in . (disable via -X gcov) [2021-03-19T08:18:24.567Z] ==> Python coveragepy not found [2021-03-19T08:18:24.567Z] ==> Searching for coverage reports in: [2021-03-19T08:18:24.567Z] + . [2021-03-19T08:18:24.567Z] -> Found 1 reports [2021-03-19T08:18:24.567Z] ==> Detecting git/mercurial file structure [2021-03-19T08:18:24.567Z] ==> Reading reports [2021-03-19T08:18:24.567Z] + ./coverage.out bytes=99587 [2021-03-19T08:18:24.567Z] ==> Appending adjustments [2021-03-19T08:18:24.567Z] https://docs.codecov.io/docs/fixing-reports [2021-03-19T08:18:24.829Z] + Found adjustments [2021-03-19T08:18:24.829Z] ==> Gzipping contents [2021-03-19T08:18:24.829Z] 16K /tmp/codecov.fN72Q2.gz [2021-03-19T08:18:24.829Z] ==> Uploading reports [2021-03-19T08:18:24.829Z] url: https://codecov.io [2021-03-19T08:18:24.829Z] query: branch=PR-827&commit=6d0d00b72e8af535366520434a325914bf687937&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-827%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=827&job=&cmd_args= [2021-03-19T08:18:24.829Z] -> Pinging Codecov [2021-03-19T08:18:24.829Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-827&commit=6d0d00b72e8af535366520434a325914bf687937&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-827%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=827&job=&cmd_args= [2021-03-19T08:18:25.403Z] -> Uploading to [2021-03-19T08:18:25.403Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-19/7E55EF52A471D76F132DFD9A03CDDE97/6d0d00b72e8af535366520434a325914bf687937/b6d12415-7f4d-4cda-a0e1-aa536f7d4d9f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210319%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210319T081825Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0785bd8754b565ccf79d4fcfb45a44b241962cc0abeeca217bbf834b0c00a1e2 [2021-03-19T08:18:25.403Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-19T08:18:25.403Z] Dload Upload Total Spent Left Speed [2021-03-19T08:18:25.666Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13465 0 0 100 13465 0 31996 --:--:-- --:--:-- --:--:-- 32059 [2021-03-19T08:18:25.666Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6d0d00b72e8af535366520434a325914bf687937 [Pipeline] } [2021-03-19T08:18:25.676Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-19T08:18:28.224Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:18:28.538Z] ---> package-listing.sh [2021-03-19T08:18:28.538Z] ++ facter osfamily [2021-03-19T08:18:28.538Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-19T08:18:28.538Z] + OS_FAMILY=redhat [2021-03-19T08:18:28.538Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-827 [2021-03-19T08:18:28.538Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-19T08:18:28.538Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-19T08:18:28.538Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-19T08:18:28.538Z] + PACKAGES=/tmp/packages_start.txt [2021-03-19T08:18:28.538Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-827 ']' [2021-03-19T08:18:28.538Z] + PACKAGES=/tmp/packages_end.txt [2021-03-19T08:18:28.538Z] + case "${OS_FAMILY}" in [2021-03-19T08:18:28.538Z] + rpm -qa [2021-03-19T08:18:28.538Z] + sort [2021-03-19T08:18:33.851Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-19T08:18:33.851Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-19T08:18:33.851Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-19T08:18:33.851Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-827 ']' [2021-03-19T08:18:33.851Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-827/archives/ [2021-03-19T08:18:33.851Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-827/archives/ [Pipeline] echo [2021-03-19T08:18:33.865Z] 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-827/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-19T08:18:34.162Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:18:34.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T08:18:34.480Z] [2021-03-19T08:18:34.480Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:18:34.854Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T08:18:34.854Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-19T08:18:34.854Z] df20fa9351a1: Pulling fs layer [2021-03-19T08:18:34.854Z] 36b3adc4ff6f: Pulling fs layer [2021-03-19T08:18:34.854Z] 8ad3a11d3b57: Pulling fs layer [2021-03-19T08:18:34.854Z] 46f8f816bc3b: Pulling fs layer [2021-03-19T08:18:34.854Z] 93b61091891f: Pulling fs layer [2021-03-19T08:18:34.854Z] 93b9cdb0e59b: Pulling fs layer [2021-03-19T08:18:34.854Z] 5e14af77c1be: Pulling fs layer [2021-03-19T08:18:34.854Z] 01666e4c0597: Pulling fs layer [2021-03-19T08:18:34.854Z] aa168da1d23b: Pulling fs layer [2021-03-19T08:18:34.854Z] 93b61091891f: Waiting [2021-03-19T08:18:34.854Z] 93b9cdb0e59b: Waiting [2021-03-19T08:18:34.854Z] 5e14af77c1be: Waiting [2021-03-19T08:18:34.854Z] 01666e4c0597: Waiting [2021-03-19T08:18:34.854Z] aa168da1d23b: Waiting [2021-03-19T08:18:34.854Z] 36b3adc4ff6f: Verifying Checksum [2021-03-19T08:18:34.854Z] 36b3adc4ff6f: Download complete [2021-03-19T08:18:35.119Z] 46f8f816bc3b: Verifying Checksum [2021-03-19T08:18:35.119Z] 46f8f816bc3b: Download complete [2021-03-19T08:18:35.119Z] df20fa9351a1: Verifying Checksum [2021-03-19T08:18:35.119Z] df20fa9351a1: Download complete [2021-03-19T08:18:35.119Z] 93b61091891f: Verifying Checksum [2021-03-19T08:18:35.119Z] 93b61091891f: Download complete [2021-03-19T08:18:35.119Z] 93b9cdb0e59b: Verifying Checksum [2021-03-19T08:18:35.119Z] 93b9cdb0e59b: Download complete [2021-03-19T08:18:35.119Z] 5e14af77c1be: Verifying Checksum [2021-03-19T08:18:35.119Z] 5e14af77c1be: Download complete [2021-03-19T08:18:35.119Z] 01666e4c0597: Download complete [2021-03-19T08:18:35.119Z] 8ad3a11d3b57: Verifying Checksum [2021-03-19T08:18:35.119Z] 8ad3a11d3b57: Download complete [2021-03-19T08:18:35.382Z] df20fa9351a1: Pull complete [2021-03-19T08:18:35.651Z] 36b3adc4ff6f: Pull complete [2021-03-19T08:18:36.637Z] 8ad3a11d3b57: Pull complete [2021-03-19T08:18:36.637Z] 46f8f816bc3b: Pull complete [2021-03-19T08:18:37.225Z] 93b61091891f: Pull complete [2021-03-19T08:18:37.803Z] aa168da1d23b: Verifying Checksum [2021-03-19T08:18:37.803Z] aa168da1d23b: Download complete [2021-03-19T08:18:37.803Z] 93b9cdb0e59b: Pull complete [2021-03-19T08:18:37.803Z] 5e14af77c1be: Pull complete [2021-03-19T08:18:38.069Z] 01666e4c0597: Pull complete [2021-03-19T08:18:44.730Z] aa168da1d23b: Pull complete [2021-03-19T08:18:44.730Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-19T08:18:44.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T08:18:44.730Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-19T08:18:44.919Z] prd-centos7-docker-4c-2g-30512 does not seem to be running inside a container [2021-03-19T08:18:44.970Z] $ 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-827/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-827 -v /w/workspace/dgexfoundry_device-sdk-go_PR-827:/w/workspace/dgexfoundry_device-sdk-go_PR-827:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-827@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-19T08:18:50.430Z] $ docker top 5e899afbe67b416de603b637d60419f72068a8541c4d4060d353928c761c6149 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T08:18:50.958Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-19T08:18:51.265Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-19T08:18:51.575Z] + ls /var/log/sa-host [2021-03-19T08:18:51.575Z] + sadf -c /var/log/sa-host/sa19 [2021-03-19T08:18:51.575Z] file_magic: OK [2021-03-19T08:18:51.575Z] HZ: Using current value: 100 [2021-03-19T08:18:51.575Z] file_header: OK [2021-03-19T08:18:51.575Z] 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-19T08:18:51.575Z] Statistics: [2021-03-19T08:18:51.575Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-19T08:18:51.575Z] File successfully converted to sysstat format version 12.2.1 [2021-03-19T08:18:51.575Z] + sadf -c /var/log/sa-host/sa23 [2021-03-19T08:18:51.575Z] file_magic: OK [2021-03-19T08:18:51.575Z] HZ: Using current value: 100 [2021-03-19T08:18:51.575Z] file_header: OK [2021-03-19T08:18:51.575Z] 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-19T08:18:51.575Z] Statistics: [2021-03-19T08:18:51.575Z] Hnuu...uuuununununu... [2021-03-19T08:18:51.575Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-19T08:18:52.251Z] provisioning config files... [2021-03-19T08:18:52.273Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-827@tmp/config6082658899255987227tmp [Pipeline] { [Pipeline] echo [2021-03-19T08:18:52.342Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:18:52.640Z] ---> create-netrc.sh [Pipeline] } [2021-03-19T08:18:52.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-19T08:18:52.738Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:18:53.040Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-19T08:18:53.052Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:18:53.352Z] ---> sudo-logs.sh [2021-03-19T08:18:53.352Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-19T08:18:53.418Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:18:53.716Z] ---> job-cost.sh [2021-03-19T08:18:53.716Z] lf-activate-venv: SKIPPING [2021-03-19T08:18:53.716Z] DEBUG: total: 0.20999999344348907 [2021-03-19T08:18:53.716Z] INFO: Retrieving Stack Cost... [2021-03-19T08:18:54.667Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-19T08:18:55.241Z] INFO: Archiving Costs [Pipeline] echo [2021-03-19T08:18:55.254Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:18:55.559Z] ---> logs-deploy.sh [2021-03-19T08:18:55.559Z] lf-activate-venv: SKIPPING [2021-03-19T08:18:55.559Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-827/2 [2021-03-19T08:18:55.559Z] INFO: archiving workspace using pattern(s): [2021-03-19T08:18:58.123Z] Archives upload complete. [2021-03-19T08:18:58.123Z] INFO: archiving logs to Nexus