Pull request #887 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2bb65c041a37a8504bdc98d22aea3da443584b80+a1de66810b8e114107e849a310222ed3c1b44bf0 (e1e2ca4198414f5e6c3a806cf82557c11c87344d) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1437’ Running on prd-centos7-docker-4c-2g-1442 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [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-887 # 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 a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit 2bb65c041a37a8504bdc98d22aea3da443584b80 > 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/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 2bb65c041a37a8504bdc98d22aea3da443584b80 Checking out Revision 2bb65c041a37a8504bdc98d22aea3da443584b80 (PR-887) > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # 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 a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. > git rev-list --no-walk 575f9d08c1cd7040fdff40d3a04e9ff61be50f8a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-22T09:20:11.614Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-22T09:20:11.733Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-22T09:20:11.761Z] ========================================================= [2021-04-22T09:20:11.761Z] EdgeX Global Pipelines Version Info [2021-04-22T09:20:11.761Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:20:13.213Z] ------------------- [2021-04-22T09:20:13.213Z] stable info: [2021-04-22T09:20:13.213Z] ------------------- [2021-04-22T09:20:13.213Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-22T09:20:13.213Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-22T09:20:13.213Z] Message: update stable to v1.0.186 [2021-04-22T09:20:14.157Z] ------------------- [2021-04-22T09:20:14.157Z] experimental info: [2021-04-22T09:20:14.157Z] ------------------- [2021-04-22T09:20:14.157Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-22T09:20:14.157Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-22T09:20:14.157Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-22T09:20:14.289Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-22T09:20:14.319Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-22T09:20:14.348Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-22T09:20:14.374Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-22T09:20:14.414Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-22T09:20:14.437Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-22T09:20:14.461Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-22T09:20:14.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-22T09:20:14.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-22T09:20:14.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-22T09:20:14.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-22T09:20:14.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-22T09:20:14.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-22T09:20:14.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-22T09:20:14.685Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-22T09:20:14.708Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-22T09:20:14.732Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-22T09:20:14.756Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-22T09:20:14.780Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-22T09:20:14.804Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-22T09:20:14.847Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-22T09:20:14.872Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-22T09:20:14.895Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-22T09:20:14.918Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-22T09:20:14.942Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-22T09:20:14.982Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-22T09:20:15.008Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-887 [Pipeline] echo [2021-04-22T09:20:15.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-887 [Pipeline] echo [2021-04-22T09:20:15.078Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-887 [Pipeline] echo [2021-04-22T09:20:15.104Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bb65c041a37a8504bdc98d22aea3da443584b80 [Pipeline] echo [2021-04-22T09:20:15.129Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bb65c0 [Pipeline] echo [2021-04-22T09:20:15.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-22T09:20:15.229Z] provisioning config files... [2021-04-22T09:20:15.258Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config2082618524659873760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:20:15.575Z] ---> docker-login.sh [2021-04-22T09:20:15.576Z] nexus3.edgexfoundry.org:10001 [2021-04-22T09:20:15.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:20:15.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:20:15.837Z] Configure a credential helper to remove this warning. See [2021-04-22T09:20:15.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:20:15.837Z] [2021-04-22T09:20:15.837Z] Login Succeeded [2021-04-22T09:20:15.837Z] nexus3.edgexfoundry.org:10002 [2021-04-22T09:20:16.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:20:16.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:20:16.098Z] Configure a credential helper to remove this warning. See [2021-04-22T09:20:16.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:20:16.098Z] [2021-04-22T09:20:16.098Z] Login Succeeded [2021-04-22T09:20:16.098Z] nexus3.edgexfoundry.org:10003 [2021-04-22T09:20:16.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:20:16.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:20:16.360Z] Configure a credential helper to remove this warning. See [2021-04-22T09:20:16.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:20:16.360Z] [2021-04-22T09:20:16.360Z] Login Succeeded [2021-04-22T09:20:16.360Z] nexus3.edgexfoundry.org:10004 [2021-04-22T09:20:16.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:20:16.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:20:16.360Z] Configure a credential helper to remove this warning. See [2021-04-22T09:20:16.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:20:16.360Z] [2021-04-22T09:20:16.360Z] Login Succeeded [2021-04-22T09:20:16.360Z] docker.io [2021-04-22T09:20:16.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:20:16.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:20:16.884Z] Configure a credential helper to remove this warning. See [2021-04-22T09:20:16.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:20:16.884Z] [2021-04-22T09:20:16.884Z] Login Succeeded [2021-04-22T09:20:16.884Z] ---> docker-login.sh ends [Pipeline] } [2021-04-22T09:20:16.893Z] 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-04-22T09:20:17.356Z] + git log --format=format:%s -1 2bb65c041a37a8504bdc98d22aea3da443584b80 [Pipeline] echo [2021-04-22T09:20:17.430Z] GIT_COMMIT: 2bb65c041a37a8504bdc98d22aea3da443584b80, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo [2021-04-22T09:20:17.443Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:20:18.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T09:20:18.038Z] [2021-04-22T09:20:18.038Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:20:18.351Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T09:20:18.351Z] latest: Pulling from edgex-devops/git-semver [2021-04-22T09:20:18.351Z] 31603596830f: Pulling fs layer [2021-04-22T09:20:18.351Z] 2a8b12db71e7: Pulling fs layer [2021-04-22T09:20:18.351Z] 6ca5941a6612: Pulling fs layer [2021-04-22T09:20:18.351Z] ecc8261a40a4: Pulling fs layer [2021-04-22T09:20:18.351Z] ecc8261a40a4: Waiting [2021-04-22T09:20:18.351Z] 2a8b12db71e7: Download complete [2021-04-22T09:20:18.352Z] 31603596830f: Verifying Checksum [2021-04-22T09:20:18.352Z] 31603596830f: Download complete [2021-04-22T09:20:18.615Z] ecc8261a40a4: Verifying Checksum [2021-04-22T09:20:18.615Z] ecc8261a40a4: Download complete [2021-04-22T09:20:18.615Z] 6ca5941a6612: Verifying Checksum [2021-04-22T09:20:18.615Z] 6ca5941a6612: Download complete [2021-04-22T09:20:18.879Z] 31603596830f: Pull complete [2021-04-22T09:20:18.879Z] 2a8b12db71e7: Pull complete [2021-04-22T09:20:19.839Z] 6ca5941a6612: Pull complete [2021-04-22T09:20:19.839Z] ecc8261a40a4: Pull complete [2021-04-22T09:20:19.839Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-22T09:20:20.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T09:20:20.101Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-22T09:20:20.197Z] prd-centos7-docker-4c-2g-1442 does not seem to be running inside a container [2021-04-22T09:20:20.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-22T09:20:22.453Z] $ docker top 18a873c82748ef1274b292d879dde08a384ea4082453b113afc335a03d91c301 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-22T09:20:22.707Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-22T09:20:22.707Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-22T09:20:22.941Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-22T09:20:22.945Z] $ docker exec 18a873c82748ef1274b292d879dde08a384ea4082453b113afc335a03d91c301 ssh-agent [2021-04-22T09:20:23.140Z] SSH_AUTH_SOCK=/tmp/ssh-JnTMD7zq1KHG/agent.13 [2021-04-22T09:20:23.140Z] SSH_AGENT_PID=18 [2021-04-22T09:20:23.153Z] Running ssh-add (command line suppressed) [2021-04-22T09:20:23.273Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6331029562495547754.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6331029562495547754.key) [2021-04-22T09:20:23.331Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-22T09:20:23.638Z] + git tag --points-at HEAD [Pipeline] } [2021-04-22T09:20:23.670Z] $ docker exec --env ******** --env ******** 18a873c82748ef1274b292d879dde08a384ea4082453b113afc335a03d91c301 ssh-agent -k [2021-04-22T09:20:23.830Z] unset SSH_AUTH_SOCK; [2021-04-22T09:20:23.831Z] unset SSH_AGENT_PID; [2021-04-22T09:20:23.831Z] echo Agent pid 18 killed; [2021-04-22T09:20:23.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-22T09:20:23.936Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-22T09:20:23.936Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-22T09:20:24.134Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-22T09:20:24.137Z] $ docker exec 18a873c82748ef1274b292d879dde08a384ea4082453b113afc335a03d91c301 ssh-agent [2021-04-22T09:20:24.311Z] SSH_AUTH_SOCK=/tmp/ssh-mmTHrphoUbF5/agent.48 [2021-04-22T09:20:24.311Z] SSH_AGENT_PID=53 [2021-04-22T09:20:24.318Z] Running ssh-add (command line suppressed) [2021-04-22T09:20:24.443Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_5075995068272974888.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_5075995068272974888.key) [2021-04-22T09:20:24.504Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-22T09:20:24.808Z] + git semver init [2021-04-22T09:20:24.809Z] # -> Open(): unable to determine branch for HEAD [2021-04-22T09:20:24.809Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.git [2021-04-22T09:20:24.809Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-887 [2021-04-22T09:20:24.809Z] # $SEMVER_REMOTE_NAME = origin [2021-04-22T09:20:24.809Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-22T09:20:24.809Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-22T09:20:24.809Z] # $SEMVER_BRANCH = PR-887 [2021-04-22T09:20:24.809Z] # $SEMVER_TEMP = /tmp/semver-440914957 [2021-04-22T09:20:24.809Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-22T09:20:25.761Z] # '/tmp/semver-440914957' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver' [2021-04-22T09:20:25.762Z] # -> Force: false [2021-04-22T09:20:25.762Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver [Pipeline] } [2021-04-22T09:20:25.774Z] $ docker exec --env ******** --env ******** 18a873c82748ef1274b292d879dde08a384ea4082453b113afc335a03d91c301 ssh-agent -k [2021-04-22T09:20:25.888Z] unset SSH_AUTH_SOCK; [2021-04-22T09:20:25.889Z] unset SSH_AGENT_PID; [2021-04-22T09:20:25.889Z] echo Agent pid 53 killed; [2021-04-22T09:20:25.939Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-22T09:20:26.279Z] + git semver [Pipeline] } [2021-04-22T09:20:26.296Z] $ docker stop --time=1 18a873c82748ef1274b292d879dde08a384ea4082453b113afc335a03d91c301 [2021-04-22T09:20:28.213Z] $ docker rm -f 18a873c82748ef1274b292d879dde08a384ea4082453b113afc335a03d91c301 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-22T09:20:28.611Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-22T09:20:28.929Z] Stashed 1 file(s) [Pipeline] echo [2021-04-22T09:20:28.933Z] [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-04-22T09:20:44.149Z] Still waiting to schedule task [2021-04-22T09:20:44.149Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-22T09:20:44.152Z] Still waiting to schedule task [2021-04-22T09:20:44.152Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1439’ [2021-04-22T09:21:54.640Z] Running on prd-centos7-docker-4c-2g-1446 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws [2021-04-22T09:21:54.659Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-22T09:21:57.678Z] using credential edgex-jenkins-ssh [2021-04-22T09:21:57.703Z] Cloning the remote Git repository [2021-04-22T09:21:57.731Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T09:21:57.808Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-22T09:21:57.876Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T09:21:57.877Z] > git --version # timeout=10 [2021-04-22T09:21:57.886Z] > git --version # 'git version 2.24.3' [2021-04-22T09:21:57.887Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T09:21:57.926Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T09:21:59.133Z] Merging remotes/origin/master commit a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit 2bb65c041a37a8504bdc98d22aea3da443584b80 [2021-04-22T09:21:59.266Z] Merge succeeded, producing 2bb65c041a37a8504bdc98d22aea3da443584b80 [2021-04-22T09:21:59.266Z] Checking out Revision 2bb65c041a37a8504bdc98d22aea3da443584b80 (PR-887) [2021-04-22T09:21:58.686Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-22T09:21:58.694Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T09:21:58.709Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-22T09:21:58.726Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T09:21:58.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T09:21:58.730Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-22T09:21:59.151Z] > git config core.sparsecheckout # timeout=10 [2021-04-22T09:21:59.161Z] > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 [2021-04-22T09:21:59.226Z] > git remote # timeout=10 [2021-04-22T09:21:59.237Z] > git config --get remote.origin.url # timeout=10 [2021-04-22T09:21:59.244Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T09:21:59.249Z] > git merge a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 [2021-04-22T09:21:59.260Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-22T09:21:59.271Z] > git config core.sparsecheckout # timeout=10 [2021-04-22T09:21:59.277Z] > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 [2021-04-22T09:22:03.006Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-22T09:22:04.005Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-22T09:22:04.340Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-22T09:22:04.639Z] + sudo service docker restart [2021-04-22T09:22:04.639Z] + true [2021-04-22T09:22:04.639Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-22T09:22:05.622Z] provisioning config files... [2021-04-22T09:22:05.655Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6919579678194505895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:22:06.010Z] ---> docker-login.sh [2021-04-22T09:22:06.010Z] nexus3.edgexfoundry.org:10001 [2021-04-22T09:22:06.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:22:06.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:22:06.539Z] Configure a credential helper to remove this warning. See [2021-04-22T09:22:06.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:22:06.539Z] [2021-04-22T09:22:06.539Z] Login Succeeded [2021-04-22T09:22:06.539Z] nexus3.edgexfoundry.org:10002 [2021-04-22T09:22:06.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:22:06.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:22:06.539Z] Configure a credential helper to remove this warning. See [2021-04-22T09:22:06.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:22:06.539Z] [2021-04-22T09:22:06.539Z] Login Succeeded [2021-04-22T09:22:06.539Z] nexus3.edgexfoundry.org:10003 [2021-04-22T09:22:06.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:22:06.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:22:06.804Z] Configure a credential helper to remove this warning. See [2021-04-22T09:22:06.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:22:06.804Z] [2021-04-22T09:22:06.804Z] Login Succeeded [2021-04-22T09:22:06.804Z] nexus3.edgexfoundry.org:10004 [2021-04-22T09:22:07.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:22:07.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:22:07.067Z] Configure a credential helper to remove this warning. See [2021-04-22T09:22:07.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:22:07.067Z] [2021-04-22T09:22:07.067Z] Login Succeeded [2021-04-22T09:22:07.067Z] docker.io [2021-04-22T09:22:07.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:22:07.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:22:07.594Z] Configure a credential helper to remove this warning. See [2021-04-22T09:22:07.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:22:07.594Z] [2021-04-22T09:22:07.594Z] Login Succeeded [2021-04-22T09:22:07.594Z] ---> docker-login.sh ends [Pipeline] } [2021-04-22T09:22:07.604Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-22T09:22:07.804Z] ========================================================= [2021-04-22T09:22:07.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-22T09:22:07.804Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:22:08.112Z] + 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-04-22T09:22:08.379Z] Sending build context to Docker daemon 2.456MB [2021-04-22T09:22:08.379Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-22T09:22:08.379Z] Step 2/8 : FROM ${BASE} [2021-04-22T09:22:08.379Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-22T09:22:08.379Z] 188c0c94c7c5: Pulling fs layer [2021-04-22T09:22:08.379Z] 0ef7d3d256c8: Pulling fs layer [2021-04-22T09:22:08.379Z] de9db76c5a1d: Pulling fs layer [2021-04-22T09:22:08.379Z] bca2f99d35d6: Pulling fs layer [2021-04-22T09:22:08.379Z] 93359f2a8cfa: Pulling fs layer [2021-04-22T09:22:08.379Z] 7c6f9722023f: Pulling fs layer [2021-04-22T09:22:08.379Z] a35cf1a2eb13: Pulling fs layer [2021-04-22T09:22:08.379Z] bca2f99d35d6: Waiting [2021-04-22T09:22:08.379Z] 7c6f9722023f: Waiting [2021-04-22T09:22:08.379Z] a35cf1a2eb13: Waiting [2021-04-22T09:22:08.379Z] 93359f2a8cfa: Waiting [2021-04-22T09:22:08.379Z] de9db76c5a1d: Verifying Checksum [2021-04-22T09:22:08.379Z] de9db76c5a1d: Download complete [2021-04-22T09:22:08.379Z] 0ef7d3d256c8: Verifying Checksum [2021-04-22T09:22:08.379Z] 0ef7d3d256c8: Download complete [2021-04-22T09:22:08.379Z] 93359f2a8cfa: Verifying Checksum [2021-04-22T09:22:08.379Z] 93359f2a8cfa: Download complete [2021-04-22T09:22:08.379Z] 7c6f9722023f: Verifying Checksum [2021-04-22T09:22:08.379Z] 7c6f9722023f: Download complete [2021-04-22T09:22:08.379Z] 188c0c94c7c5: Verifying Checksum [2021-04-22T09:22:08.379Z] 188c0c94c7c5: Download complete [2021-04-22T09:22:08.642Z] 188c0c94c7c5: Pull complete [2021-04-22T09:22:08.906Z] 0ef7d3d256c8: Pull complete [2021-04-22T09:22:09.170Z] de9db76c5a1d: Pull complete [2021-04-22T09:22:11.737Z] bca2f99d35d6: Verifying Checksum [2021-04-22T09:22:11.737Z] bca2f99d35d6: Download complete [2021-04-22T09:22:12.687Z] a35cf1a2eb13: Verifying Checksum [2021-04-22T09:22:12.687Z] a35cf1a2eb13: Download complete [2021-04-22T09:22:19.354Z] bca2f99d35d6: Pull complete [2021-04-22T09:22:19.354Z] 93359f2a8cfa: Pull complete [2021-04-22T09:22:19.354Z] 7c6f9722023f: Pull complete [2021-04-22T09:22:25.982Z] a35cf1a2eb13: Pull complete [2021-04-22T09:22:25.982Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-22T09:22:25.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-22T09:22:25.982Z] ---> a62c8e92a672 [2021-04-22T09:22:25.982Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T09:22:25.982Z] ---> Running in dcd91bf97f24 [2021-04-22T09:22:25.982Z] Removing intermediate container dcd91bf97f24 [2021-04-22T09:22:25.982Z] ---> 2f78585331ca [2021-04-22T09:22:25.982Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T09:22:26.256Z] ---> Running in d3f91fa4034c [2021-04-22T09:22:27.655Z] Removing intermediate container d3f91fa4034c [2021-04-22T09:22:27.655Z] ---> 1d05bd6a490e [2021-04-22T09:22:27.655Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-22T09:22:27.655Z] ---> Running in a3fc14259150 [2021-04-22T09:22:28.610Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-22T09:22:29.188Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-22T09:22:29.765Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-22T09:22:29.765Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-22T09:22:29.765Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-22T09:22:30.028Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-22T09:22:30.028Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-22T09:22:30.028Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-22T09:22:30.291Z] Executing busybox-1.31.1-r19.trigger [2021-04-22T09:22:30.291Z] OK: 167 MiB in 45 packages [2021-04-22T09:22:30.869Z] Removing intermediate container a3fc14259150 [2021-04-22T09:22:30.869Z] ---> c9e7f3121226 [2021-04-22T09:22:30.869Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-22T09:22:30.869Z] ---> Running in 3706b9b7242b [2021-04-22T09:22:31.131Z] Removing intermediate container 3706b9b7242b [2021-04-22T09:22:31.131Z] ---> 187490ebbf17 [2021-04-22T09:22:31.131Z] Step 7/8 : COPY . . [2021-04-22T09:22:32.536Z] ---> 3b17a3a2bf0d [2021-04-22T09:22:32.536Z] Step 8/8 : RUN go mod download [2021-04-22T09:22:32.536Z] ---> Running in 75a23c7877cb [2021-04-22T09:22:54.620Z] Removing intermediate container 75a23c7877cb [2021-04-22T09:22:54.620Z] ---> a33ca1129acc [2021-04-22T09:22:54.620Z] Successfully built a33ca1129acc [2021-04-22T09:22:54.903Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:22:55.229Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-22T09:22:55.495Z] . [Pipeline] withDockerContainer [2021-04-22T09:22:55.644Z] prd-centos7-docker-4c-2g-1446 does not seem to be running inside a container [2021-04-22T09:22:55.713Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-22T09:22:56.889Z] $ docker top a5cc5a0f9d9b067628c39248a577b52a6f741a85d6b3f13e2b6ebdd04022ebeb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T09:22:57.378Z] + go version [2021-04-22T09:22:57.378Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-22T09:22:57.411Z] $ docker stop --time=1 a5cc5a0f9d9b067628c39248a577b52a6f741a85d6b3f13e2b6ebdd04022ebeb [2021-04-22T09:22:58.826Z] $ docker rm -f a5cc5a0f9d9b067628c39248a577b52a6f741a85d6b3f13e2b6ebdd04022ebeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:22:59.362Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-22T09:22:59.362Z] . [Pipeline] withDockerContainer [2021-04-22T09:22:59.494Z] prd-centos7-docker-4c-2g-1446 does not seem to be running inside a container [2021-04-22T09:22:59.548Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-22T09:23:00.476Z] $ docker top 84d4a2b3942181b935c9e7fb05a66501c65c44a9b2050036da21f596a2650a2e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T09:23:00.984Z] + make test [2021-04-22T09:23:00.984Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-22T09:23:11.084Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1448 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws [2021-04-22T09:23:11.103Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-22T09:23:11.173Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-22T09:23:17.107Z] using credential edgex-jenkins-ssh [2021-04-22T09:23:17.140Z] Cloning the remote Git repository [2021-04-22T09:23:17.230Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T09:23:17.352Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-22T09:23:17.461Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T09:23:17.462Z] > git --version # timeout=10 [2021-04-22T09:23:17.485Z] > git --version # 'git version 2.17.1' [2021-04-22T09:23:17.486Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T09:23:17.570Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T09:23:18.801Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-22T09:23:18.834Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T09:23:19.463Z] Merging remotes/origin/master commit a1de66810b8e114107e849a310222ed3c1b44bf0 into PR head commit 2bb65c041a37a8504bdc98d22aea3da443584b80 [2021-04-22T09:23:19.716Z] Merge succeeded, producing 2bb65c041a37a8504bdc98d22aea3da443584b80 [2021-04-22T09:23:19.716Z] Checking out Revision 2bb65c041a37a8504bdc98d22aea3da443584b80 (PR-887) [2021-04-22T09:23:18.865Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-22T09:23:18.910Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T09:23:18.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T09:23:18.924Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-22T09:23:19.481Z] > git config core.sparsecheckout # timeout=10 [2021-04-22T09:23:19.501Z] > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 [2021-04-22T09:23:19.615Z] > git remote # timeout=10 [2021-04-22T09:23:19.642Z] > git config --get remote.origin.url # timeout=10 [2021-04-22T09:23:19.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T09:23:19.666Z] > git merge a1de66810b8e114107e849a310222ed3c1b44bf0 # timeout=10 [2021-04-22T09:23:19.697Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-22T09:23:19.721Z] > git config core.sparsecheckout # timeout=10 [2021-04-22T09:23:19.736Z] > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 [2021-04-22T09:23:23.994Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-22T09:23:25.276Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-22T09:23:25.692Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-22T09:23:26.031Z] + sudo service docker restart [2021-04-22T09:23:26.031Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-22T09:23:28.708Z] provisioning config files... [2021-04-22T09:23:28.747Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3289094883488395931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:23:29.133Z] ---> docker-login.sh [2021-04-22T09:23:29.133Z] nexus3.edgexfoundry.org:10001 [2021-04-22T09:23:29.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:23:30.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:23:30.328Z] Configure a credential helper to remove this warning. See [2021-04-22T09:23:30.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:23:30.328Z] [2021-04-22T09:23:30.328Z] Login Succeeded [2021-04-22T09:23:30.328Z] nexus3.edgexfoundry.org:10002 [2021-04-22T09:23:30.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:23:30.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:23:30.611Z] Configure a credential helper to remove this warning. See [2021-04-22T09:23:30.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:23:30.611Z] [2021-04-22T09:23:30.611Z] Login Succeeded [2021-04-22T09:23:30.611Z] nexus3.edgexfoundry.org:10003 [2021-04-22T09:23:31.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:23:31.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:23:31.223Z] Configure a credential helper to remove this warning. See [2021-04-22T09:23:31.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:23:31.223Z] [2021-04-22T09:23:31.223Z] Login Succeeded [2021-04-22T09:23:31.223Z] nexus3.edgexfoundry.org:10004 [2021-04-22T09:23:31.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:23:31.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:23:31.779Z] Configure a credential helper to remove this warning. See [2021-04-22T09:23:31.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:23:31.779Z] [2021-04-22T09:23:31.779Z] Login Succeeded [2021-04-22T09:23:31.779Z] docker.io [2021-04-22T09:23:32.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:23:32.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:23:32.650Z] Configure a credential helper to remove this warning. See [2021-04-22T09:23:32.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:23:32.650Z] [2021-04-22T09:23:32.650Z] Login Succeeded [2021-04-22T09:23:32.650Z] ---> docker-login.sh ends [Pipeline] } [2021-04-22T09:23:32.669Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-22T09:23:32.989Z] ========================================================= [2021-04-22T09:23:32.990Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-22T09:23:32.990Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:23:33.336Z] + 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-04-22T09:23:33.945Z] Sending build context to Docker daemon 2.452MB [2021-04-22T09:23:33.945Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-22T09:23:33.945Z] Step 2/8 : FROM ${BASE} [2021-04-22T09:23:33.945Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-22T09:23:33.945Z] 5f621e34cdf4: Pulling fs layer [2021-04-22T09:23:33.945Z] a4357932f1b6: Pulling fs layer [2021-04-22T09:23:33.945Z] 18c013af1878: Pulling fs layer [2021-04-22T09:23:33.945Z] 00ac8860ef70: Pulling fs layer [2021-04-22T09:23:33.945Z] 63d7cb157983: Pulling fs layer [2021-04-22T09:23:33.945Z] b116817d02f9: Pulling fs layer [2021-04-22T09:23:33.945Z] 745a02a5169b: Pulling fs layer [2021-04-22T09:23:33.945Z] 00ac8860ef70: Waiting [2021-04-22T09:23:33.945Z] 63d7cb157983: Waiting [2021-04-22T09:23:33.945Z] b116817d02f9: Waiting [2021-04-22T09:23:33.945Z] 18c013af1878: Download complete [2021-04-22T09:23:33.945Z] a4357932f1b6: Verifying Checksum [2021-04-22T09:23:33.945Z] a4357932f1b6: Download complete [2021-04-22T09:23:33.945Z] 63d7cb157983: Verifying Checksum [2021-04-22T09:23:33.945Z] 63d7cb157983: Download complete [2021-04-22T09:23:33.945Z] b116817d02f9: Verifying Checksum [2021-04-22T09:23:33.945Z] b116817d02f9: Download complete [2021-04-22T09:23:33.945Z] 5f621e34cdf4: Verifying Checksum [2021-04-22T09:23:33.945Z] 5f621e34cdf4: Download complete [2021-04-22T09:23:34.547Z] 5f621e34cdf4: Pull complete [2021-04-22T09:23:35.147Z] a4357932f1b6: Pull complete [2021-04-22T09:23:35.762Z] 18c013af1878: Pull complete [2021-04-22T09:23:36.036Z] 745a02a5169b: Verifying Checksum [2021-04-22T09:23:36.036Z] 745a02a5169b: Download complete [2021-04-22T09:23:37.481Z] 00ac8860ef70: Verifying Checksum [2021-04-22T09:23:37.481Z] 00ac8860ef70: Download complete [2021-04-22T09:23:44.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-22T09:23:44.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-22T09:23:44.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-22T09:23:44.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-22T09:23:44.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-22T09:23:45.094Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.110s coverage: 28.1% of statements [2021-04-22T09:23:45.373Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.101s coverage: 78.9% of statements [2021-04-22T09:23:45.981Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.100s coverage: 7.8% of statements [2021-04-22T09:23:45.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-22T09:23:45.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-22T09:23:45.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-22T09:23:46.258Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 32.0% of statements [2021-04-22T09:23:46.258Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-22T09:23:46.258Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-22T09:23:46.258Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-22T09:23:47.671Z] 00ac8860ef70: Pull complete [2021-04-22T09:23:47.671Z] 63d7cb157983: Pull complete [2021-04-22T09:23:47.676Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.148s coverage: 57.2% of statements [2021-04-22T09:23:47.676Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.573s coverage: 6.6% of statements [2021-04-22T09:23:48.255Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 5.0% of statements [2021-04-22T09:23:48.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-22T09:23:48.267Z] b116817d02f9: Pull complete [2021-04-22T09:23:48.521Z] GO111MODULE=on go vet ./... [2021-04-22T09:23:52.574Z] 745a02a5169b: Pull complete [2021-04-22T09:23:52.574Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-22T09:23:52.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-22T09:23:52.574Z] ---> b7e6874047d6 [2021-04-22T09:23:52.574Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T09:23:54.549Z] ---> Running in 1c82ab95037e [2021-04-22T09:23:55.151Z] Removing intermediate container 1c82ab95037e [2021-04-22T09:23:55.151Z] ---> 4e0a079004d2 [2021-04-22T09:23:55.151Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T09:23:55.151Z] ---> Running in b4d414e6154c [2021-04-22T09:23:57.790Z] Removing intermediate container b4d414e6154c [2021-04-22T09:23:57.790Z] ---> 45308393d6e2 [2021-04-22T09:23:57.790Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-22T09:23:57.790Z] ---> Running in 6d4245844695 [2021-04-22T09:23:58.386Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-22T09:23:59.366Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-22T09:23:59.958Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-22T09:24:00.232Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-22T09:24:00.232Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-22T09:24:00.232Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-22T09:24:00.505Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-22T09:24:00.505Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-22T09:24:00.505Z] Executing busybox-1.31.1-r19.trigger [2021-04-22T09:24:00.789Z] OK: 144 MiB in 45 packages [2021-04-22T09:24:02.226Z] Removing intermediate container 6d4245844695 [2021-04-22T09:24:02.226Z] ---> 923a8ede6b1f [2021-04-22T09:24:02.226Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-22T09:24:02.226Z] ---> Running in 08d9915ad41f [2021-04-22T09:24:02.820Z] Removing intermediate container 08d9915ad41f [2021-04-22T09:24:02.820Z] ---> b82b0f7a319a [2021-04-22T09:24:02.820Z] Step 7/8 : COPY . . [2021-04-22T09:24:04.266Z] ---> 4ea06185ef5b [2021-04-22T09:24:04.266Z] Step 8/8 : RUN go mod download [2021-04-22T09:24:04.266Z] ---> Running in 873d9021ff9a [2021-04-22T09:24:10.722Z] gofmt -l . [2021-04-22T09:24:10.722Z] [ "`gofmt -l .`" = "" ] [2021-04-22T09:24:10.722Z] ./bin/test-attribution-txt.sh [2021-04-22T09:24:10.722Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-22T09:24:10.749Z] $ docker stop --time=1 84d4a2b3942181b935c9e7fb05a66501c65c44a9b2050036da21f596a2650a2e [2021-04-22T09:24:12.603Z] $ docker rm -f 84d4a2b3942181b935c9e7fb05a66501c65c44a9b2050036da21f596a2650a2e [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-22T09:24:13.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-22T09:24:13.759Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-22T09:24:14.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-22T09:24:15.072Z] + ls -al . [2021-04-22T09:24:15.072Z] total 188 [2021-04-22T09:24:15.072Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 22 09:24 . [2021-04-22T09:24:15.072Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 22 09:21 .. [2021-04-22T09:24:15.072Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 22 09:21 bin [2021-04-22T09:24:15.072Z] -rw-r--r--. 1 jenkins jenkins 100024 Apr 22 09:23 coverage.out [2021-04-22T09:24:15.072Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 22 09:21 Dockerfile.build [2021-04-22T09:24:15.072Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 22 09:21 .dockerignore [2021-04-22T09:24:15.072Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 22 09:21 example [2021-04-22T09:24:15.072Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 22 09:22 .git [2021-04-22T09:24:15.072Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 22 09:21 .github [2021-04-22T09:24:15.072Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 22 09:21 .gitignore [2021-04-22T09:24:15.072Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 22 09:24 go.mod [2021-04-22T09:24:15.072Z] -rw-r--r--. 1 jenkins jenkins 20848 Apr 22 09:24 go.sum [2021-04-22T09:24:15.072Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 22 09:21 internal [2021-04-22T09:24:15.072Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 22 09:21 Jenkinsfile [2021-04-22T09:24:15.072Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 22 09:21 LICENSE [2021-04-22T09:24:15.072Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 22 09:21 Makefile [2021-04-22T09:24:15.072Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 22 09:21 openapi [2021-04-22T09:24:15.072Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 22 09:21 pkg [2021-04-22T09:24:15.072Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 22 09:21 README.md [2021-04-22T09:24:15.072Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 22 09:21 RELEASE-NOTES.txt [2021-04-22T09:24:15.072Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 22 09:21 snap [2021-04-22T09:24:15.072Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 22 09:20 VERSION [2021-04-22T09:24:15.072Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 22 09:21 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:24:15.385Z] + 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=2bb65c041a37a8504bdc98d22aea3da443584b80 --label arch=amd64 --label version=0.0.0 . [2021-04-22T09:24:15.655Z] Sending build context to Docker daemon 2.556MB [2021-04-22T09:24:15.656Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-22T09:24:15.656Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-22T09:24:15.656Z] ---> a33ca1129acc [2021-04-22T09:24:15.656Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-22T09:24:16.234Z] ---> Running in 87089f4a1006 [2021-04-22T09:24:16.234Z] Removing intermediate container 87089f4a1006 [2021-04-22T09:24:16.234Z] ---> 15e7b3cd88b6 [2021-04-22T09:24:16.234Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T09:24:16.499Z] ---> Running in 8ac33a5ee0aa [2021-04-22T09:24:16.499Z] Removing intermediate container 8ac33a5ee0aa [2021-04-22T09:24:16.499Z] ---> 6ecdc2016259 [2021-04-22T09:24:16.499Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T09:24:16.767Z] ---> Running in acfb283f7a42 [2021-04-22T09:24:17.721Z] Removing intermediate container acfb283f7a42 [2021-04-22T09:24:17.721Z] ---> 2a171ab015af [2021-04-22T09:24:17.721Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-22T09:24:17.721Z] ---> Running in 3b1577cd0196 [2021-04-22T09:24:18.304Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-22T09:24:18.880Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-22T09:24:19.457Z] OK: 167 MiB in 45 packages [2021-04-22T09:24:20.039Z] Removing intermediate container 3b1577cd0196 [2021-04-22T09:24:20.039Z] ---> 94ee96e52bd2 [2021-04-22T09:24:20.039Z] Step 7/23 : COPY . . [2021-04-22T09:24:21.433Z] ---> d16214a9fa0a [2021-04-22T09:24:21.433Z] Step 8/23 : RUN go mod download [2021-04-22T09:24:21.433Z] ---> Running in e90e2e7361c7 [2021-04-22T09:24:22.408Z] Removing intermediate container e90e2e7361c7 [2021-04-22T09:24:22.408Z] ---> bd8d1dcdad25 [2021-04-22T09:24:22.408Z] Step 9/23 : RUN make build [2021-04-22T09:24:22.673Z] ---> Running in 8e97599689ca [2021-04-22T09:24:23.252Z] CGO_ENABLED=1 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-04-22T09:24:31.070Z] Removing intermediate container 873d9021ff9a [2021-04-22T09:24:31.070Z] ---> 9ba7baa276ce [2021-04-22T09:24:31.070Z] Successfully built 9ba7baa276ce [2021-04-22T09:24:31.070Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:24:31.414Z] + docker inspect -f . ci-base-image-arm64 [2021-04-22T09:24:31.414Z] . [Pipeline] withDockerContainer [2021-04-22T09:24:31.689Z] prd-ubuntu18.04-docker-arm64-4c-16g-1448 does not seem to be running inside a container [2021-04-22T09:24:31.773Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-22T09:24:33.370Z] $ docker top 90d99d7d3c3336aaf81483b7e3c38bd2ceb017c2577573064f12a94335a7b16a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T09:24:34.351Z] + go version [2021-04-22T09:24:34.352Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-22T09:24:34.374Z] $ docker stop --time=1 90d99d7d3c3336aaf81483b7e3c38bd2ceb017c2577573064f12a94335a7b16a [2021-04-22T09:24:35.679Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-22T09:24:36.301Z] $ docker rm -f 90d99d7d3c3336aaf81483b7e3c38bd2ceb017c2577573064f12a94335a7b16a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:24:37.003Z] + docker inspect -f . ci-base-image-arm64 [2021-04-22T09:24:37.003Z] . [Pipeline] withDockerContainer [2021-04-22T09:24:37.259Z] prd-ubuntu18.04-docker-arm64-4c-16g-1448 does not seem to be running inside a container [2021-04-22T09:24:37.339Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-22T09:24:38.264Z] Removing intermediate container 8e97599689ca [2021-04-22T09:24:38.264Z] ---> 6ab7971926b5 [2021-04-22T09:24:38.264Z] Step 10/23 : FROM alpine:3.12 [2021-04-22T09:24:38.264Z] 3.12: Pulling from library/alpine [2021-04-22T09:24:38.264Z] 339de151aab4: Pulling fs layer [2021-04-22T09:24:38.532Z] 339de151aab4: Verifying Checksum [2021-04-22T09:24:38.532Z] 339de151aab4: Download complete [2021-04-22T09:24:38.799Z] 339de151aab4: Pull complete [2021-04-22T09:24:38.799Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-22T09:24:38.799Z] Status: Downloaded newer image for alpine:3.12 [2021-04-22T09:24:38.799Z] ---> 13621d1b12d4 [2021-04-22T09:24:38.799Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T09:24:38.861Z] $ docker top 4b2c0f5887fe994a3ff02c1f968358d34feafb75609d1f69ff3c4656d6edfadd -eo pid,comm [2021-04-22T09:24:39.068Z] ---> Running in 6845ea10e74d [2021-04-22T09:24:39.068Z] Removing intermediate container 6845ea10e74d [2021-04-22T09:24:39.068Z] ---> 794572160f27 [2021-04-22T09:24:39.068Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] { [Pipeline] sh [2021-04-22T09:24:39.337Z] ---> Running in c5c6648d4c14 [2021-04-22T09:24:39.817Z] + make test [2021-04-22T09:24:39.817Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-22T09:24:40.289Z] Removing intermediate container c5c6648d4c14 [2021-04-22T09:24:40.289Z] ---> ca0d3b043c8c [2021-04-22T09:24:40.289Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-22T09:24:40.289Z] ---> Running in 6850c14dcb41 [2021-04-22T09:24:40.869Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-22T09:24:41.452Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-22T09:24:42.032Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-22T09:24:42.032Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-22T09:24:42.032Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-22T09:24:42.985Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-22T09:24:42.985Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-22T09:24:42.985Z] Executing busybox-1.31.1-r20.trigger [2021-04-22T09:24:43.254Z] OK: 8 MiB in 19 packages [2021-04-22T09:24:44.213Z] Removing intermediate container 6850c14dcb41 [2021-04-22T09:24:44.213Z] ---> fe8af7c186b0 [2021-04-22T09:24:44.213Z] Step 14/23 : WORKDIR / [2021-04-22T09:24:44.479Z] ---> Running in a968bca17ed6 [2021-04-22T09:24:44.744Z] Removing intermediate container a968bca17ed6 [2021-04-22T09:24:44.744Z] ---> 6e88b07cead2 [2021-04-22T09:24:44.744Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-22T09:24:45.010Z] ---> 7eb99b8e9059 [2021-04-22T09:24:45.010Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-22T09:24:45.980Z] ---> eb9282414fca [2021-04-22T09:24:45.980Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-22T09:24:46.245Z] ---> 0ab311ca8d22 [2021-04-22T09:24:46.245Z] Step 18/23 : EXPOSE 49990 [2021-04-22T09:24:46.245Z] ---> Running in fdae78580a8f [2021-04-22T09:24:46.510Z] Removing intermediate container fdae78580a8f [2021-04-22T09:24:46.510Z] ---> 43d8a97095c5 [2021-04-22T09:24:46.510Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-22T09:24:46.510Z] ---> Running in 2fd6afa46b29 [2021-04-22T09:24:46.510Z] Removing intermediate container 2fd6afa46b29 [2021-04-22T09:24:46.510Z] ---> 0ca47298a8f1 [2021-04-22T09:24:46.510Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-22T09:24:46.773Z] ---> Running in 7730e6c178d7 [2021-04-22T09:24:46.773Z] Removing intermediate container 7730e6c178d7 [2021-04-22T09:24:46.773Z] ---> f962ee1faf41 [2021-04-22T09:24:46.773Z] Step 21/23 : LABEL arch=amd64 [2021-04-22T09:24:47.036Z] ---> Running in d696f3002406 [2021-04-22T09:24:47.036Z] Removing intermediate container d696f3002406 [2021-04-22T09:24:47.036Z] ---> 9a7a13faf2c4 [2021-04-22T09:24:47.036Z] Step 22/23 : LABEL git_sha=2bb65c041a37a8504bdc98d22aea3da443584b80 [2021-04-22T09:24:47.298Z] ---> Running in 77796fc69239 [2021-04-22T09:24:47.298Z] Removing intermediate container 77796fc69239 [2021-04-22T09:24:47.298Z] ---> dc0ce8a2b623 [2021-04-22T09:24:47.298Z] Step 23/23 : LABEL version=0.0.0 [2021-04-22T09:24:47.561Z] ---> Running in b63df5867491 [2021-04-22T09:24:47.561Z] Removing intermediate container b63df5867491 [2021-04-22T09:24:47.561Z] ---> d6186058ccd9 [2021-04-22T09:24:47.561Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-22T09:24:47.561Z] Successfully built d6186058ccd9 [2021-04-22T09:24:47.561Z] 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-04-22T09:24:48.096Z] ---> job-cost.sh [2021-04-22T09:24:48.096Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JzMC [2021-04-22T09:25:02.031Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-22T09:25:06.260Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-22T09:25:38.465Z] lf-activate-venv(): INFO: Adding /tmp/venv-JzMC/bin to PATH [2021-04-22T09:25:38.465Z] INFO: No Stack... [2021-04-22T09:25:38.465Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-22T09:25:38.465Z] INFO: Archiving Costs [Pipeline] sh [2021-04-22T09:25:38.776Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-22T09:25:38.776Z] + cut -d, -f6 [Pipeline] lock [2021-04-22T09:25:38.866Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-2-stack-cost] [2021-04-22T09:25:38.874Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-2-stack-cost] did not exist. Created. [2021-04-22T09:25:38.875Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-22T09:25:39.210Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-22T09:25:39.352Z] Stashed 1 file(s) [Pipeline] } [2021-04-22T09:25:39.365Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-22T09:25:58.628Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-22T09:25:58.628Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-22T09:25:58.628Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-22T09:25:58.628Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-22T09:25:58.628Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-22T09:26:01.298Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.125s coverage: 28.1% of statements [2021-04-22T09:26:01.582Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.244s coverage: 78.9% of statements [2021-04-22T09:26:01.582Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.192s coverage: 7.8% of statements [2021-04-22T09:26:01.582Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-22T09:26:01.582Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-22T09:26:01.582Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-22T09:26:04.228Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.281s coverage: 32.0% of statements [2021-04-22T09:26:04.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-22T09:26:04.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-22T09:26:04.228Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-22T09:26:07.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.329s coverage: 57.2% of statements [2021-04-22T09:26:07.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.051s coverage: 6.6% of statements [2021-04-22T09:26:07.914Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements [2021-04-22T09:26:07.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-22T09:26:08.188Z] GO111MODULE=on go vet ./... [2021-04-22T09:26:55.207Z] gofmt -l . [2021-04-22T09:26:55.207Z] [ "`gofmt -l .`" = "" ] [2021-04-22T09:26:55.207Z] ./bin/test-attribution-txt.sh [2021-04-22T09:26:55.207Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-22T09:26:55.234Z] $ docker stop --time=1 4b2c0f5887fe994a3ff02c1f968358d34feafb75609d1f69ff3c4656d6edfadd [2021-04-22T09:26:57.559Z] $ docker rm -f 4b2c0f5887fe994a3ff02c1f968358d34feafb75609d1f69ff3c4656d6edfadd [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-22T09:26:58.580Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-22T09:26:58.614Z] Warning: overwriting stash ‘coverage-report’ [2021-04-22T09:26:59.852Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-22T09:27:00.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-22T09:27:00.723Z] + ls -al . [2021-04-22T09:27:00.723Z] total 224 [2021-04-22T09:27:00.723Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 09:26 . [2021-04-22T09:27:00.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:23 .. [2021-04-22T09:27:00.723Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 09:23 .dockerignore [2021-04-22T09:27:00.723Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 09:23 .git [2021-04-22T09:27:00.723Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 09:23 .github [2021-04-22T09:27:00.723Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 22 09:23 .gitignore [2021-04-22T09:27:00.723Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 22 09:23 Dockerfile.build [2021-04-22T09:27:00.723Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 22 09:23 Jenkinsfile [2021-04-22T09:27:00.723Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 09:23 LICENSE [2021-04-22T09:27:00.723Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 22 09:23 Makefile [2021-04-22T09:27:00.723Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 22 09:23 README.md [2021-04-22T09:27:00.723Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 22 09:23 RELEASE-NOTES.txt [2021-04-22T09:27:00.723Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 09:20 VERSION [2021-04-22T09:27:00.723Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 09:23 bin [2021-04-22T09:27:00.723Z] -rw-r--r-- 1 jenkins jenkins 100025 Apr 22 09:26 coverage.out [2021-04-22T09:27:00.723Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 09:23 example [2021-04-22T09:27:00.723Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 22 09:26 go.mod [2021-04-22T09:27:00.723Z] -rw-r--r-- 1 jenkins jenkins 20848 Apr 22 09:26 go.sum [2021-04-22T09:27:00.723Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 22 09:23 internal [2021-04-22T09:27:00.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:23 openapi [2021-04-22T09:27:00.723Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 09:23 pkg [2021-04-22T09:27:00.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:23 snap [2021-04-22T09:27:00.723Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 09:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:27:01.165Z] + 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=2bb65c041a37a8504bdc98d22aea3da443584b80 --label arch=arm64 --label version=0.0.0 . [2021-04-22T09:27:01.453Z] Sending build context to Docker daemon 2.553MB [2021-04-22T09:27:01.740Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-22T09:27:01.740Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-22T09:27:01.740Z] ---> 9ba7baa276ce [2021-04-22T09:27:01.740Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-22T09:27:02.023Z] ---> Running in 2d441a56637e [2021-04-22T09:27:02.619Z] Removing intermediate container 2d441a56637e [2021-04-22T09:27:02.619Z] ---> bccb5a55010a [2021-04-22T09:27:02.619Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T09:27:02.619Z] ---> Running in 85bee4658003 [2021-04-22T09:27:03.212Z] Removing intermediate container 85bee4658003 [2021-04-22T09:27:03.212Z] ---> af19e2e1230c [2021-04-22T09:27:03.212Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T09:27:03.212Z] ---> Running in 32f19b5c07d2 [2021-04-22T09:27:05.184Z] Removing intermediate container 32f19b5c07d2 [2021-04-22T09:27:05.184Z] ---> 5be5d5ba8111 [2021-04-22T09:27:05.184Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-22T09:27:05.458Z] ---> Running in 1e786f047e01 [2021-04-22T09:27:06.442Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-22T09:27:07.412Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-22T09:27:08.008Z] OK: 144 MiB in 45 packages [2021-04-22T09:27:09.001Z] Removing intermediate container 1e786f047e01 [2021-04-22T09:27:09.001Z] ---> 977e43eae102 [2021-04-22T09:27:09.001Z] Step 7/23 : COPY . . [2021-04-22T09:27:10.429Z] ---> a67ef4933d48 [2021-04-22T09:27:10.429Z] Step 8/23 : RUN go mod download [2021-04-22T09:27:10.715Z] ---> Running in 9e0c3f73d818 [2021-04-22T09:27:12.948Z] Removing intermediate container 9e0c3f73d818 [2021-04-22T09:27:12.948Z] ---> 93db774e4e00 [2021-04-22T09:27:12.948Z] Step 9/23 : RUN make build [2021-04-22T09:27:13.239Z] ---> Running in 115650014c9f [2021-04-22T09:27:14.222Z] CGO_ENABLED=1 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-04-22T09:27:46.594Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-22T09:27:48.562Z] Removing intermediate container 115650014c9f [2021-04-22T09:27:48.562Z] ---> 427aedde8ae8 [2021-04-22T09:27:48.562Z] Step 10/23 : FROM alpine:3.12 [2021-04-22T09:27:48.831Z] 3.12: Pulling from library/alpine [2021-04-22T09:27:49.103Z] d2f70382dc9a: Pulling fs layer [2021-04-22T09:27:49.103Z] d2f70382dc9a: Download complete [2021-04-22T09:27:49.696Z] d2f70382dc9a: Pull complete [2021-04-22T09:27:49.696Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-22T09:27:49.696Z] Status: Downloaded newer image for alpine:3.12 [2021-04-22T09:27:49.696Z] ---> 9852663dfa18 [2021-04-22T09:27:49.696Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T09:27:49.971Z] ---> Running in b9da1236a006 [2021-04-22T09:27:50.564Z] Removing intermediate container b9da1236a006 [2021-04-22T09:27:50.564Z] ---> 89e90c1a6b04 [2021-04-22T09:27:50.564Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T09:27:50.564Z] ---> Running in 2aea6e86c169 [2021-04-22T09:27:52.538Z] Removing intermediate container 2aea6e86c169 [2021-04-22T09:27:52.538Z] ---> c96704eb6971 [2021-04-22T09:27:52.538Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-22T09:27:52.812Z] ---> Running in 8b5173aef383 [2021-04-22T09:27:53.793Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-22T09:27:54.765Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-22T09:27:55.355Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-22T09:27:55.624Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-22T09:27:55.624Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-22T09:27:55.893Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-22T09:27:55.893Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-22T09:27:55.893Z] Executing busybox-1.31.1-r20.trigger [2021-04-22T09:27:56.164Z] OK: 8 MiB in 19 packages [2021-04-22T09:27:57.144Z] Removing intermediate container 8b5173aef383 [2021-04-22T09:27:57.144Z] ---> ea6923c130e2 [2021-04-22T09:27:57.144Z] Step 14/23 : WORKDIR / [2021-04-22T09:27:57.417Z] ---> Running in c925c6a9b8ed [2021-04-22T09:27:58.010Z] Removing intermediate container c925c6a9b8ed [2021-04-22T09:27:58.010Z] ---> 1840caf4a490 [2021-04-22T09:27:58.010Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-22T09:27:58.604Z] ---> abb3b479ddca [2021-04-22T09:27:58.604Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-22T09:28:00.037Z] ---> 9589f922e82a [2021-04-22T09:28:00.037Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-22T09:28:00.634Z] ---> 554c7783c434 [2021-04-22T09:28:00.634Z] Step 18/23 : EXPOSE 49990 [2021-04-22T09:28:00.908Z] ---> Running in e39303b80344 [2021-04-22T09:28:01.180Z] Removing intermediate container e39303b80344 [2021-04-22T09:28:01.180Z] ---> bc2aa271f28c [2021-04-22T09:28:01.180Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-22T09:28:01.453Z] ---> Running in 137656cfb986 [2021-04-22T09:28:02.068Z] Removing intermediate container 137656cfb986 [2021-04-22T09:28:02.068Z] ---> 76d4cd560d60 [2021-04-22T09:28:02.068Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-22T09:28:02.068Z] ---> Running in 16cbc944a95d [2021-04-22T09:28:02.662Z] Removing intermediate container 16cbc944a95d [2021-04-22T09:28:02.662Z] ---> 4e1001523b3d [2021-04-22T09:28:02.662Z] Step 21/23 : LABEL arch=arm64 [2021-04-22T09:28:02.662Z] ---> Running in c27e24c182a5 [2021-04-22T09:28:03.257Z] Removing intermediate container c27e24c182a5 [2021-04-22T09:28:03.257Z] ---> e84b4af31fa4 [2021-04-22T09:28:03.257Z] Step 22/23 : LABEL git_sha=2bb65c041a37a8504bdc98d22aea3da443584b80 [2021-04-22T09:28:03.257Z] ---> Running in 1edaee901103 [2021-04-22T09:28:03.852Z] Removing intermediate container 1edaee901103 [2021-04-22T09:28:03.852Z] ---> e3a2c844de96 [2021-04-22T09:28:03.852Z] Step 23/23 : LABEL version=0.0.0 [2021-04-22T09:28:03.852Z] ---> Running in 6068a5d386a0 [2021-04-22T09:28:04.445Z] Removing intermediate container 6068a5d386a0 [2021-04-22T09:28:04.445Z] ---> 992638cba223 [2021-04-22T09:28:04.445Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-22T09:28:04.445Z] Successfully built 992638cba223 [2021-04-22T09:28:04.445Z] 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-04-22T09:28:04.899Z] ---> job-cost.sh [2021-04-22T09:28:04.899Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5ftw [2021-04-22T09:28:43.840Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-22T09:30:20.606Z] lf-activate-venv(): INFO: Adding /tmp/venv-5ftw/bin to PATH [2021-04-22T09:30:20.606Z] INFO: No Stack... [2021-04-22T09:30:20.606Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-22T09:30:20.606Z] INFO: Archiving Costs [Pipeline] sh [2021-04-22T09:30:20.950Z] + + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-22T09:30:20.950Z] cut -d, -f6 [Pipeline] lock [2021-04-22T09:30:21.062Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-2-stack-cost] [2021-04-22T09:30:21.069Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-2-stack-cost] did not exist. Created. [2021-04-22T09:30:21.071Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-22T09:30:21.431Z] /w/workspace/device-sdk-go/2@tmp/durable-aeab696c/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-aeab696c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-22T09:30:21.793Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-22T09:30:21.814Z] Warning: overwriting stash ‘stack-cost’ [2021-04-22T09:30:21.964Z] Stashed 1 file(s) [Pipeline] } [2021-04-22T09:30:21.991Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-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-04-22T09:30:22.774Z] provisioning config files... [2021-04-22T09:30:22.787Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config2059232845190899315tmp [Pipeline] { [Pipeline] sh [2021-04-22T09:30:23.115Z] + set +x [2021-04-22T09:30:23.115Z] + curl -s https://codecov.io/bash [2021-04-22T09:30:23.115Z] + bash -s -- [2021-04-22T09:30:23.379Z] [2021-04-22T09:30:23.379Z] _____ _ [2021-04-22T09:30:23.379Z] / ____| | | [2021-04-22T09:30:23.379Z] | | ___ __| | ___ ___ _____ __ [2021-04-22T09:30:23.379Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-22T09:30:23.379Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-22T09:30:23.379Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-22T09:30:23.379Z] Bash-1.0.2 [2021-04-22T09:30:23.379Z] [2021-04-22T09:30:23.379Z] [2021-04-22T09:30:23.379Z] ==> git version 2.24.3 found [2021-04-22T09:30:23.379Z] ==> 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-04-22T09:30:23.379Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-22T09:30:23.379Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-22T09:30:23.379Z] ==> Jenkins CI detected. [2021-04-22T09:30:23.379Z] project root: . [2021-04-22T09:30:23.379Z] --> token set from env [2021-04-22T09:30:23.379Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-22T09:30:23.379Z] ==> Running gcov in . (disable via -X gcov) [2021-04-22T09:30:23.379Z] ==> Python coveragepy not found [2021-04-22T09:30:23.379Z] ==> Searching for coverage reports in: [2021-04-22T09:30:23.379Z] + . [2021-04-22T09:30:23.379Z] -> Found 1 reports [2021-04-22T09:30:23.379Z] ==> Detecting git/mercurial file structure [2021-04-22T09:30:23.379Z] ==> Reading reports [2021-04-22T09:30:23.379Z] + ./coverage.out bytes=100025 [2021-04-22T09:30:23.379Z] ==> Appending adjustments [2021-04-22T09:30:23.379Z] https://docs.codecov.io/docs/fixing-reports [2021-04-22T09:30:23.644Z] + Found adjustments [2021-04-22T09:30:23.644Z] ==> Gzipping contents [2021-04-22T09:30:23.644Z] 16K /tmp/codecov.gl7ki4.gz [2021-04-22T09:30:23.644Z] ==> Uploading reports [2021-04-22T09:30:23.644Z] url: https://codecov.io [2021-04-22T09:30:23.644Z] query: branch=PR-887&commit=2bb65c041a37a8504bdc98d22aea3da443584b80&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= [2021-04-22T09:30:23.644Z] -> Pinging Codecov [2021-04-22T09:30:23.644Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-887&commit=2bb65c041a37a8504bdc98d22aea3da443584b80&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= [2021-04-22T09:30:24.599Z] -> Uploading to [2021-04-22T09:30:24.599Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-22/7E55EF52A471D76F132DFD9A03CDDE97/2bb65c041a37a8504bdc98d22aea3da443584b80/79d00dc9-0934-4903-abc3-a0348d288dad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210422T093024Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d109edc88918ebd68ce35d6c39368dd22194ffb78245d36688d54bb9a816aa21 [2021-04-22T09:30:24.599Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-22T09:30:24.599Z] Dload Upload Total Spent Left Speed [2021-04-22T09:30:24.860Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13525 0 0 100 13525 0 35719 --:--:-- --:--:-- --:--:-- 35686 [2021-04-22T09:30:24.860Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2bb65c041a37a8504bdc98d22aea3da443584b80 [Pipeline] } [2021-04-22T09:30:24.870Z] 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-04-22T09:30:25.802Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:30:26.400Z] ---> package-listing.sh [2021-04-22T09:30:26.400Z] ++ facter osfamily [2021-04-22T09:30:26.400Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-22T09:30:26.400Z] + OS_FAMILY=redhat [2021-04-22T09:30:26.400Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-887 [2021-04-22T09:30:26.400Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-22T09:30:26.400Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-22T09:30:26.400Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-22T09:30:26.400Z] + PACKAGES=/tmp/packages_start.txt [2021-04-22T09:30:26.400Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' [2021-04-22T09:30:26.400Z] + PACKAGES=/tmp/packages_end.txt [2021-04-22T09:30:26.400Z] + case "${OS_FAMILY}" in [2021-04-22T09:30:26.400Z] + rpm -qa [2021-04-22T09:30:26.400Z] + sort [2021-04-22T09:30:31.784Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-22T09:30:31.785Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-22T09:30:31.785Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-22T09:30:31.785Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' [2021-04-22T09:30:31.785Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [2021-04-22T09:30:31.785Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [Pipeline] echo [2021-04-22T09:30:31.800Z] 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-887/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-22T09:30:32.095Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:30:32.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-22T09:30:32.401Z] [2021-04-22T09:30:32.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:30:32.734Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-22T09:30:32.734Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-22T09:30:32.734Z] df20fa9351a1: Pulling fs layer [2021-04-22T09:30:32.734Z] 36b3adc4ff6f: Pulling fs layer [2021-04-22T09:30:32.734Z] 8ad3a11d3b57: Pulling fs layer [2021-04-22T09:30:32.734Z] 46f8f816bc3b: Pulling fs layer [2021-04-22T09:30:32.734Z] 93b61091891f: Pulling fs layer [2021-04-22T09:30:32.734Z] 93b9cdb0e59b: Pulling fs layer [2021-04-22T09:30:32.734Z] 5e14af77c1be: Pulling fs layer [2021-04-22T09:30:32.734Z] 01666e4c0597: Pulling fs layer [2021-04-22T09:30:32.734Z] aa168da1d23b: Pulling fs layer [2021-04-22T09:30:32.734Z] 93b9cdb0e59b: Waiting [2021-04-22T09:30:32.734Z] 5e14af77c1be: Waiting [2021-04-22T09:30:32.734Z] 01666e4c0597: Waiting [2021-04-22T09:30:32.734Z] aa168da1d23b: Waiting [2021-04-22T09:30:32.734Z] 46f8f816bc3b: Waiting [2021-04-22T09:30:32.734Z] 93b61091891f: Waiting [2021-04-22T09:30:32.734Z] 36b3adc4ff6f: Download complete [2021-04-22T09:30:32.734Z] 46f8f816bc3b: Verifying Checksum [2021-04-22T09:30:32.734Z] 46f8f816bc3b: Download complete [2021-04-22T09:30:32.734Z] df20fa9351a1: Verifying Checksum [2021-04-22T09:30:32.734Z] df20fa9351a1: Download complete [2021-04-22T09:30:33.000Z] 93b9cdb0e59b: Verifying Checksum [2021-04-22T09:30:33.000Z] 93b9cdb0e59b: Download complete [2021-04-22T09:30:33.000Z] 5e14af77c1be: Verifying Checksum [2021-04-22T09:30:33.000Z] 5e14af77c1be: Download complete [2021-04-22T09:30:33.000Z] 93b61091891f: Verifying Checksum [2021-04-22T09:30:33.000Z] 93b61091891f: Download complete [2021-04-22T09:30:33.000Z] 01666e4c0597: Verifying Checksum [2021-04-22T09:30:33.000Z] 01666e4c0597: Download complete [2021-04-22T09:30:33.000Z] 8ad3a11d3b57: Verifying Checksum [2021-04-22T09:30:33.000Z] 8ad3a11d3b57: Download complete [2021-04-22T09:30:33.263Z] df20fa9351a1: Pull complete [2021-04-22T09:30:33.526Z] 36b3adc4ff6f: Pull complete [2021-04-22T09:30:34.493Z] 8ad3a11d3b57: Pull complete [2021-04-22T09:30:34.493Z] 46f8f816bc3b: Pull complete [2021-04-22T09:30:35.082Z] 93b61091891f: Pull complete [2021-04-22T09:30:35.082Z] 93b9cdb0e59b: Pull complete [2021-04-22T09:30:35.082Z] aa168da1d23b: Download complete [2021-04-22T09:30:35.344Z] 5e14af77c1be: Pull complete [2021-04-22T09:30:35.344Z] 01666e4c0597: Pull complete [2021-04-22T09:30:43.551Z] aa168da1d23b: Pull complete [2021-04-22T09:30:43.551Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-22T09:30:43.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-22T09:30:43.551Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-22T09:30:43.759Z] prd-centos7-docker-4c-2g-1442 does not seem to be running inside a container [2021-04-22T09:30:43.806Z] $ 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-887/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-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-22T09:30:46.978Z] $ docker top cc4d7ebe5df89cd4a5da3e768aec4cb4c4346bc40ab109bbf07a5820554bf1fe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T09:30:47.408Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-22T09:30:47.710Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-22T09:30:48.009Z] + ls /var/log/sa-host [2021-04-22T09:30:48.009Z] + sadf -c /var/log/sa-host/sa22 [2021-04-22T09:30:48.009Z] file_magic: OK [2021-04-22T09:30:48.009Z] HZ: Using current value: 100 [2021-04-22T09:30:48.009Z] file_header: OK [2021-04-22T09:30:48.009Z] 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-04-22T09:30:48.009Z] Statistics: [2021-04-22T09:30:48.009Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-22T09:30:48.009Z] File successfully converted to sysstat format version 12.2.1 [2021-04-22T09:30:48.009Z] + sadf -c /var/log/sa-host/sa23 [2021-04-22T09:30:48.009Z] file_magic: OK [2021-04-22T09:30:48.009Z] HZ: Using current value: 100 [2021-04-22T09:30:48.009Z] file_header: OK [2021-04-22T09:30:48.009Z] 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-04-22T09:30:48.009Z] Statistics: [2021-04-22T09:30:48.009Z] Hnuu...uuuununununu... [2021-04-22T09:30:48.009Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-22T09:30:48.219Z] provisioning config files... [2021-04-22T09:30:48.238Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config1964507158578644380tmp [Pipeline] { [Pipeline] echo [2021-04-22T09:30:48.270Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:30:48.583Z] ---> create-netrc.sh [Pipeline] } [2021-04-22T09:30:48.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-22T09:30:48.621Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:30:48.922Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-22T09:30:48.934Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:30:49.231Z] ---> sudo-logs.sh [2021-04-22T09:30:49.231Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-22T09:30:49.259Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:30:49.557Z] ---> job-cost.sh [2021-04-22T09:30:49.557Z] lf-activate-venv: SKIPPING [2021-04-22T09:30:49.557Z] DEBUG: total: 0.20999999344348907 [2021-04-22T09:30:49.557Z] INFO: Retrieving Stack Cost... [2021-04-22T09:30:50.503Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-22T09:30:50.767Z] INFO: Archiving Costs [Pipeline] echo [2021-04-22T09:30:50.783Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:30:51.098Z] ---> logs-deploy.sh [2021-04-22T09:30:51.098Z] lf-activate-venv: SKIPPING [2021-04-22T09:30:51.098Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-887/2 [2021-04-22T09:30:51.098Z] INFO: archiving workspace using pattern(s): [2021-04-22T09:30:53.024Z] Archives upload complete. [2021-04-22T09:30:53.024Z] INFO: archiving logs to Nexus