Pull request #887 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2bb65c041a37a8504bdc98d22aea3da443584b80+188b4cc14b9321dd8b2b5872b94485f2cb4f6961 (1f1008ce6fcb93c130b9650a6e1653d110f33c5c) 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 Running on prd-centos7-docker-4c-2g-1706 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 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 2bb65c041a37a8504bdc98d22aea3da443584b80 Merge succeeded, producing eb077a2e923156dfe7e56c7626544f9d712c7af1 Checking out Revision eb077a2e923156dfe7e56c7626544f9d712c7af1 (PR-887) > 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 > 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 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb077a2e923156dfe7e56c7626544f9d712c7af1 # timeout=10 Commit message: "Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD" > git rev-list --no-walk 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-26T05:19:27.595Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-26T05:19:27.676Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-26T05:19:27.703Z] ========================================================= [2021-04-26T05:19:27.703Z] EdgeX Global Pipelines Version Info [2021-04-26T05:19:27.703Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-26T05:19:29.290Z] ------------------- [2021-04-26T05:19:29.290Z] stable info: [2021-04-26T05:19:29.290Z] ------------------- [2021-04-26T05:19:29.290Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-26T05:19:29.290Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-26T05:19:29.290Z] Message: update stable to v1.0.186 [2021-04-26T05:19:30.252Z] ------------------- [2021-04-26T05:19:30.252Z] experimental info: [2021-04-26T05:19:30.252Z] ------------------- [2021-04-26T05:19:30.253Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-26T05:19:30.253Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-26T05:19:30.253Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-26T05:19:30.466Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-26T05:19:30.496Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-26T05:19:30.531Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-26T05:19:30.554Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-26T05:19:30.577Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-26T05:19:30.601Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-26T05:19:30.624Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-26T05:19:30.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-26T05:19:30.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-26T05:19:30.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-26T05:19:30.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-26T05:19:30.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-26T05:19:30.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-26T05:19:30.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-26T05:19:30.813Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-26T05:19:30.837Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T05:19:30.861Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T05:19:30.887Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T05:19:30.913Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-26T05:19:30.938Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-26T05:19:30.981Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-26T05:19:31.006Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-26T05:19:31.031Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-26T05:19:31.054Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-26T05:19:31.077Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-26T05:19:31.100Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-26T05:19:31.124Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-887 [Pipeline] echo [2021-04-26T05:19:31.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-887 [Pipeline] echo [2021-04-26T05:19:31.174Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-887 [Pipeline] echo [2021-04-26T05:19:31.199Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb077a2e923156dfe7e56c7626544f9d712c7af1 [Pipeline] echo [2021-04-26T05:19:31.225Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb077a2 [Pipeline] echo [2021-04-26T05:19:31.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T05:19:31.324Z] provisioning config files... [2021-04-26T05:19:31.358Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config5306700020737514703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T05:19:31.684Z] ---> docker-login.sh [2021-04-26T05:19:31.684Z] nexus3.edgexfoundry.org:10001 [2021-04-26T05:19:31.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:19:32.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:19:32.212Z] Configure a credential helper to remove this warning. See [2021-04-26T05:19:32.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:19:32.212Z] [2021-04-26T05:19:32.212Z] Login Succeeded [2021-04-26T05:19:32.212Z] nexus3.edgexfoundry.org:10002 [2021-04-26T05:19:32.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:19:32.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:19:32.212Z] Configure a credential helper to remove this warning. See [2021-04-26T05:19:32.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:19:32.212Z] [2021-04-26T05:19:32.212Z] Login Succeeded [2021-04-26T05:19:32.212Z] nexus3.edgexfoundry.org:10003 [2021-04-26T05:19:32.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:19:32.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:19:32.480Z] Configure a credential helper to remove this warning. See [2021-04-26T05:19:32.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:19:32.480Z] [2021-04-26T05:19:32.480Z] Login Succeeded [2021-04-26T05:19:32.480Z] nexus3.edgexfoundry.org:10004 [2021-04-26T05:19:32.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:19:32.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:19:32.743Z] Configure a credential helper to remove this warning. See [2021-04-26T05:19:32.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:19:32.743Z] [2021-04-26T05:19:32.743Z] Login Succeeded [2021-04-26T05:19:32.743Z] docker.io [2021-04-26T05:19:32.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:19:33.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:19:33.005Z] Configure a credential helper to remove this warning. See [2021-04-26T05:19:33.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:19:33.005Z] [2021-04-26T05:19:33.005Z] Login Succeeded [2021-04-26T05:19:33.005Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T05:19:33.016Z] 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-26T05:19:33.458Z] + git log --format=format:%s -1 eb077a2e923156dfe7e56c7626544f9d712c7af1 [Pipeline] echo [2021-04-26T05:19:33.551Z] GIT_COMMIT: eb077a2e923156dfe7e56c7626544f9d712c7af1, Commit Message: Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD [Pipeline] echo [2021-04-26T05:19:33.566Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-26T05:19:34.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T05:19:34.146Z] [2021-04-26T05:19:34.146Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T05:19:34.475Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T05:19:34.475Z] latest: Pulling from edgex-devops/git-semver [2021-04-26T05:19:34.475Z] 31603596830f: Pulling fs layer [2021-04-26T05:19:34.475Z] 2a8b12db71e7: Pulling fs layer [2021-04-26T05:19:34.475Z] 6ca5941a6612: Pulling fs layer [2021-04-26T05:19:34.475Z] ecc8261a40a4: Pulling fs layer [2021-04-26T05:19:34.475Z] ecc8261a40a4: Waiting [2021-04-26T05:19:34.475Z] 2a8b12db71e7: Verifying Checksum [2021-04-26T05:19:34.475Z] 2a8b12db71e7: Download complete [2021-04-26T05:19:34.475Z] 31603596830f: Verifying Checksum [2021-04-26T05:19:34.475Z] 31603596830f: Download complete [2021-04-26T05:19:34.743Z] ecc8261a40a4: Verifying Checksum [2021-04-26T05:19:34.743Z] ecc8261a40a4: Download complete [2021-04-26T05:19:34.743Z] 6ca5941a6612: Verifying Checksum [2021-04-26T05:19:34.743Z] 6ca5941a6612: Download complete [2021-04-26T05:19:35.007Z] 31603596830f: Pull complete [2021-04-26T05:19:35.007Z] 2a8b12db71e7: Pull complete [2021-04-26T05:19:35.973Z] 6ca5941a6612: Pull complete [2021-04-26T05:19:36.238Z] ecc8261a40a4: Pull complete [2021-04-26T05:19:36.503Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-26T05:19:36.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T05:19:36.503Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-26T05:19:36.622Z] prd-centos7-docker-4c-2g-1706 does not seem to be running inside a container [2021-04-26T05:19:36.679Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-26T05:19:38.615Z] $ docker top 34f893a4e1248a9dd2745e2ae9e0a6756b21769f2966d5a22a022fa321f319ca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-26T05:19:38.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T05:19:38.806Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T05:19:39.042Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T05:19:39.047Z] $ docker exec 34f893a4e1248a9dd2745e2ae9e0a6756b21769f2966d5a22a022fa321f319ca ssh-agent [2021-04-26T05:19:39.244Z] SSH_AUTH_SOCK=/tmp/ssh-bcVVyJmrX843/agent.12 [2021-04-26T05:19:39.244Z] SSH_AGENT_PID=17 [2021-04-26T05:19:39.259Z] Running ssh-add (command line suppressed) [2021-04-26T05:19:39.398Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_1963334795941441564.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_1963334795941441564.key) [2021-04-26T05:19:39.475Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T05:19:39.788Z] + git tag --points-at HEAD [Pipeline] } [2021-04-26T05:19:39.812Z] $ docker exec --env ******** --env ******** 34f893a4e1248a9dd2745e2ae9e0a6756b21769f2966d5a22a022fa321f319ca ssh-agent -k [2021-04-26T05:19:39.954Z] unset SSH_AUTH_SOCK; [2021-04-26T05:19:39.954Z] unset SSH_AGENT_PID; [2021-04-26T05:19:39.954Z] echo Agent pid 17 killed; [2021-04-26T05:19:40.026Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-26T05:19:40.065Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T05:19:40.065Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T05:19:40.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T05:19:40.264Z] $ docker exec 34f893a4e1248a9dd2745e2ae9e0a6756b21769f2966d5a22a022fa321f319ca ssh-agent [2021-04-26T05:19:40.454Z] SSH_AUTH_SOCK=/tmp/ssh-bT2Chuq6sWZo/agent.48 [2021-04-26T05:19:40.454Z] SSH_AGENT_PID=54 [2021-04-26T05:19:40.462Z] Running ssh-add (command line suppressed) [2021-04-26T05:19:40.602Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6818507477038911239.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6818507477038911239.key) [2021-04-26T05:19:40.668Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T05:19:40.977Z] + git semver init [2021-04-26T05:19:40.977Z] # -> Open(): unable to determine branch for HEAD [2021-04-26T05:19:40.977Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.git [2021-04-26T05:19:40.977Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-887 [2021-04-26T05:19:40.977Z] # $SEMVER_REMOTE_NAME = origin [2021-04-26T05:19:40.977Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-26T05:19:40.977Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-26T05:19:40.977Z] # $SEMVER_BRANCH = PR-887 [2021-04-26T05:19:40.977Z] # $SEMVER_TEMP = /tmp/semver-980737666 [2021-04-26T05:19:40.977Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-26T05:19:41.935Z] # '/tmp/semver-980737666' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver' [2021-04-26T05:19:41.935Z] # -> Force: false [2021-04-26T05:19:41.935Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver [Pipeline] } [2021-04-26T05:19:41.951Z] $ docker exec --env ******** --env ******** 34f893a4e1248a9dd2745e2ae9e0a6756b21769f2966d5a22a022fa321f319ca ssh-agent -k [2021-04-26T05:19:42.083Z] unset SSH_AUTH_SOCK; [2021-04-26T05:19:42.084Z] unset SSH_AGENT_PID; [2021-04-26T05:19:42.084Z] echo Agent pid 54 killed; [2021-04-26T05:19:42.138Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-26T05:19:42.502Z] + git semver [Pipeline] } [2021-04-26T05:19:42.521Z] $ docker stop --time=1 34f893a4e1248a9dd2745e2ae9e0a6756b21769f2966d5a22a022fa321f319ca [2021-04-26T05:19:44.031Z] $ docker rm -f 34f893a4e1248a9dd2745e2ae9e0a6756b21769f2966d5a22a022fa321f319ca [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T05:19:44.433Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-26T05:19:44.791Z] Stashed 1 file(s) [Pipeline] echo [2021-04-26T05:19:44.794Z] [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-26T05:19:59.972Z] Still waiting to schedule task [2021-04-26T05:19:59.972Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-26T05:19:59.975Z] Still waiting to schedule task [2021-04-26T05:19:59.975Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-26T05:22:54.924Z] Running on prd-centos7-docker-4c-2g-1709 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws [2021-04-26T05:22:54.945Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-26T05:22:58.968Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1710 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws [2021-04-26T05:22:58.988Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-26T05:23:04.829Z] using credential edgex-jenkins-ssh [2021-04-26T05:23:04.855Z] Cloning the remote Git repository [2021-04-26T05:23:04.905Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T05:23:05.008Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-26T05:23:05.163Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T05:23:05.164Z] > git --version # timeout=10 [2021-04-26T05:23:05.209Z] > git --version # 'git version 2.17.1' [2021-04-26T05:23:05.211Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T05:23:05.287Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T05:23:06.516Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T05:23:06.546Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T05:23:06.571Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T05:23:06.617Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T05:23:06.618Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T05:23:06.642Z] > 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-26T05:23:07.170Z] Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 2bb65c041a37a8504bdc98d22aea3da443584b80 [2021-04-26T05:23:07.444Z] Merge succeeded, producing fd43e3e8565974ae1fc4910b8d7703e23da3450b [2021-04-26T05:23:07.445Z] Checking out Revision fd43e3e8565974ae1fc4910b8d7703e23da3450b (PR-887) [2021-04-26T05:23:07.189Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T05:23:07.212Z] > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 [2021-04-26T05:23:07.308Z] > git remote # timeout=10 [2021-04-26T05:23:07.328Z] > git config --get remote.origin.url # timeout=10 [2021-04-26T05:23:07.346Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T05:23:07.355Z] > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 [2021-04-26T05:23:07.433Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-26T05:23:07.453Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T05:23:07.463Z] > git checkout -f fd43e3e8565974ae1fc4910b8d7703e23da3450b # timeout=10 [2021-04-26T05:23:08.157Z] using credential edgex-jenkins-ssh [2021-04-26T05:23:08.171Z] Cloning the remote Git repository [2021-04-26T05:23:08.204Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T05:23:08.282Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-26T05:23:08.505Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T05:23:08.505Z] > git --version # timeout=10 [2021-04-26T05:23:08.653Z] > git --version # 'git version 2.24.3' [2021-04-26T05:23:08.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T05:23:09.024Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T05:23:11.266Z] Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 2bb65c041a37a8504bdc98d22aea3da443584b80 [2021-04-26T05:23:11.644Z] Merge succeeded, producing e078741704480f7bd5225bb2dfefbffa46ae30ff [2021-04-26T05:23:11.644Z] Checking out Revision e078741704480f7bd5225bb2dfefbffa46ae30ff (PR-887) [2021-04-26T05:23:10.174Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T05:23:10.247Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T05:23:10.479Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T05:23:10.641Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T05:23:10.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T05:23:10.710Z] > 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-26T05:23:11.281Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T05:23:11.337Z] > git checkout -f 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 [2021-04-26T05:23:11.432Z] > git remote # timeout=10 [2021-04-26T05:23:11.478Z] > git config --get remote.origin.url # timeout=10 [2021-04-26T05:23:11.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T05:23:11.509Z] > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 [2021-04-26T05:23:11.599Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-26T05:23:11.649Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T05:23:11.687Z] > git checkout -f e078741704480f7bd5225bb2dfefbffa46ae30ff # timeout=10 [2021-04-26T05:23:11.841Z] Commit message: "Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD" [2021-04-26T05:23:11.854Z] > git rev-list --no-walk 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T05:23:13.401Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-26T05:23:13.865Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T05:23:14.214Z] + sudo+ service docker restart [2021-04-26T05:23:14.214Z] true [2021-04-26T05:23:15.455Z] Commit message: "Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD" [2021-04-26T05:23:15.461Z] > git rev-list --no-walk 2bb65c041a37a8504bdc98d22aea3da443584b80 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T05:23:16.880Z] provisioning config files... [2021-04-26T05:23:16.927Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8739209946053326940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T05:23:17.077Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-26T05:23:17.320Z] ---> docker-login.sh [2021-04-26T05:23:17.320Z] nexus3.edgexfoundry.org:10001 [2021-04-26T05:23:17.432Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T05:23:17.734Z] + true [2021-04-26T05:23:17.734Z] + sudo service docker restart [2021-04-26T05:23:17.734Z] Redirecting to /bin/systemctl restart docker.service [2021-04-26T05:23:18.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:23:18.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:23:18.583Z] Configure a credential helper to remove this warning. See [2021-04-26T05:23:18.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:23:18.583Z] [2021-04-26T05:23:18.583Z] Login Succeeded [2021-04-26T05:23:18.583Z] nexus3.edgexfoundry.org:10002 [2021-04-26T05:23:19.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:23:19.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:23:19.186Z] Configure a credential helper to remove this warning. See [2021-04-26T05:23:19.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:23:19.186Z] [2021-04-26T05:23:19.186Z] Login Succeeded [2021-04-26T05:23:19.186Z] nexus3.edgexfoundry.org:10003 [2021-04-26T05:23:19.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:23:19.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:23:19.734Z] Configure a credential helper to remove this warning. See [2021-04-26T05:23:19.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:23:19.734Z] [2021-04-26T05:23:19.734Z] Login Succeeded [2021-04-26T05:23:19.734Z] nexus3.edgexfoundry.org:10004 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T05:23:19.760Z] provisioning config files... [2021-04-26T05:23:19.795Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config254185435523631791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T05:23:20.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:23:20.209Z] ---> docker-login.sh [2021-04-26T05:23:20.209Z] nexus3.edgexfoundry.org:10001 [2021-04-26T05:23:20.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:23:20.282Z] Configure a credential helper to remove this warning. See [2021-04-26T05:23:20.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:23:20.282Z] [2021-04-26T05:23:20.282Z] Login Succeeded [2021-04-26T05:23:20.282Z] docker.io [2021-04-26T05:23:20.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:23:20.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:23:20.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:23:20.800Z] Configure a credential helper to remove this warning. See [2021-04-26T05:23:20.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:23:20.800Z] [2021-04-26T05:23:20.800Z] Login Succeeded [2021-04-26T05:23:20.800Z] nexus3.edgexfoundry.org:10002 [2021-04-26T05:23:21.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:23:21.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:23:21.083Z] Configure a credential helper to remove this warning. See [2021-04-26T05:23:21.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:23:21.083Z] [2021-04-26T05:23:21.083Z] Login Succeeded [2021-04-26T05:23:21.083Z] nexus3.edgexfoundry.org:10003 [2021-04-26T05:23:21.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:23:21.151Z] Configure a credential helper to remove this warning. See [2021-04-26T05:23:21.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:23:21.151Z] [2021-04-26T05:23:21.151Z] Login Succeeded [2021-04-26T05:23:21.151Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T05:23:21.169Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-26T05:23:21.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:23:21.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:23:21.352Z] Configure a credential helper to remove this warning. See [2021-04-26T05:23:21.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:23:21.352Z] [2021-04-26T05:23:21.352Z] Login Succeeded [2021-04-26T05:23:21.352Z] nexus3.edgexfoundry.org:10004 [Pipeline] echo [2021-04-26T05:23:21.470Z] ========================================================= [2021-04-26T05:23:21.470Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-26T05:23:21.470Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T05:23:21.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:23:21.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:23:21.619Z] Configure a credential helper to remove this warning. See [2021-04-26T05:23:21.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:23:21.619Z] [2021-04-26T05:23:21.619Z] Login Succeeded [2021-04-26T05:23:21.619Z] docker.io [2021-04-26T05:23:21.820Z] + 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-26T05:23:22.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T05:23:22.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T05:23:22.238Z] Configure a credential helper to remove this warning. See [2021-04-26T05:23:22.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T05:23:22.238Z] [2021-04-26T05:23:22.238Z] Login Succeeded [2021-04-26T05:23:22.238Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T05:23:22.266Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-26T05:23:22.420Z] Sending build context to Docker daemon 2.464MB [2021-04-26T05:23:22.420Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T05:23:22.420Z] Step 2/8 : FROM ${BASE} [2021-04-26T05:23:22.420Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-26T05:23:22.420Z] 5f621e34cdf4: Pulling fs layer [2021-04-26T05:23:22.420Z] a4357932f1b6: Pulling fs layer [2021-04-26T05:23:22.420Z] 18c013af1878: Pulling fs layer [2021-04-26T05:23:22.420Z] 00ac8860ef70: Pulling fs layer [2021-04-26T05:23:22.420Z] 63d7cb157983: Pulling fs layer [2021-04-26T05:23:22.420Z] b116817d02f9: Pulling fs layer [2021-04-26T05:23:22.420Z] 745a02a5169b: Pulling fs layer [2021-04-26T05:23:22.420Z] 00ac8860ef70: Waiting [2021-04-26T05:23:22.420Z] 63d7cb157983: Waiting [2021-04-26T05:23:22.420Z] b116817d02f9: Waiting [2021-04-26T05:23:22.420Z] 745a02a5169b: Waiting [2021-04-26T05:23:22.420Z] 18c013af1878: Verifying Checksum [2021-04-26T05:23:22.420Z] 18c013af1878: Download complete [2021-04-26T05:23:22.420Z] a4357932f1b6: Verifying Checksum [2021-04-26T05:23:22.420Z] a4357932f1b6: Download complete [2021-04-26T05:23:22.420Z] 63d7cb157983: Verifying Checksum [2021-04-26T05:23:22.420Z] 63d7cb157983: Download complete [2021-04-26T05:23:22.420Z] b116817d02f9: Verifying Checksum [2021-04-26T05:23:22.420Z] b116817d02f9: Download complete [2021-04-26T05:23:22.420Z] 5f621e34cdf4: Verifying Checksum [2021-04-26T05:23:22.420Z] 5f621e34cdf4: Download complete [Pipeline] echo [2021-04-26T05:23:22.703Z] ========================================================= [2021-04-26T05:23:22.703Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-26T05:23:22.703Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T05:23:23.106Z] + 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-26T05:23:23.389Z] Sending build context to Docker daemon 2.465MB [2021-04-26T05:23:23.389Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T05:23:23.389Z] Step 2/8 : FROM ${BASE} [2021-04-26T05:23:23.428Z] 5f621e34cdf4: Pull complete [2021-04-26T05:23:23.712Z] a4357932f1b6: Pull complete [2021-04-26T05:23:23.739Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-26T05:23:23.739Z] 188c0c94c7c5: Pulling fs layer [2021-04-26T05:23:23.739Z] 0ef7d3d256c8: Pulling fs layer [2021-04-26T05:23:23.739Z] de9db76c5a1d: Pulling fs layer [2021-04-26T05:23:23.739Z] bca2f99d35d6: Pulling fs layer [2021-04-26T05:23:23.740Z] 93359f2a8cfa: Pulling fs layer [2021-04-26T05:23:23.740Z] 7c6f9722023f: Pulling fs layer [2021-04-26T05:23:23.740Z] a35cf1a2eb13: Pulling fs layer [2021-04-26T05:23:23.740Z] bca2f99d35d6: Waiting [2021-04-26T05:23:23.740Z] 93359f2a8cfa: Waiting [2021-04-26T05:23:23.740Z] 7c6f9722023f: Waiting [2021-04-26T05:23:23.740Z] a35cf1a2eb13: Waiting [2021-04-26T05:23:23.740Z] de9db76c5a1d: Verifying Checksum [2021-04-26T05:23:23.740Z] de9db76c5a1d: Download complete [2021-04-26T05:23:23.740Z] 0ef7d3d256c8: Verifying Checksum [2021-04-26T05:23:23.740Z] 0ef7d3d256c8: Download complete [2021-04-26T05:23:23.740Z] 93359f2a8cfa: Verifying Checksum [2021-04-26T05:23:23.740Z] 93359f2a8cfa: Download complete [2021-04-26T05:23:23.740Z] 7c6f9722023f: Verifying Checksum [2021-04-26T05:23:23.740Z] 7c6f9722023f: Download complete [2021-04-26T05:23:24.035Z] 188c0c94c7c5: Verifying Checksum [2021-04-26T05:23:24.035Z] 188c0c94c7c5: Download complete [2021-04-26T05:23:24.301Z] 188c0c94c7c5: Pull complete [2021-04-26T05:23:24.308Z] 18c013af1878: Pull complete [2021-04-26T05:23:24.570Z] 0ef7d3d256c8: Pull complete [2021-04-26T05:23:24.839Z] de9db76c5a1d: Pull complete [2021-04-26T05:23:25.283Z] 745a02a5169b: Verifying Checksum [2021-04-26T05:23:25.283Z] 745a02a5169b: Download complete [2021-04-26T05:23:26.792Z] a35cf1a2eb13: Verifying Checksum [2021-04-26T05:23:26.792Z] a35cf1a2eb13: Download complete [2021-04-26T05:23:27.262Z] 00ac8860ef70: Download complete [2021-04-26T05:23:27.765Z] bca2f99d35d6: Verifying Checksum [2021-04-26T05:23:27.765Z] bca2f99d35d6: Download complete [2021-04-26T05:23:37.396Z] 00ac8860ef70: Pull complete [2021-04-26T05:23:37.396Z] 63d7cb157983: Pull complete [2021-04-26T05:23:37.396Z] b116817d02f9: Pull complete [2021-04-26T05:23:40.003Z] 745a02a5169b: Pull complete [2021-04-26T05:23:40.003Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-26T05:23:40.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-26T05:23:40.003Z] ---> b7e6874047d6 [2021-04-26T05:23:40.003Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T05:23:40.261Z] bca2f99d35d6: Pull complete [2021-04-26T05:23:40.261Z] 93359f2a8cfa: Pull complete [2021-04-26T05:23:40.261Z] 7c6f9722023f: Pull complete [2021-04-26T05:23:43.389Z] ---> Running in 0c9a57f7a298 [2021-04-26T05:23:43.667Z] Removing intermediate container 0c9a57f7a298 [2021-04-26T05:23:43.667Z] ---> 47679b4043c2 [2021-04-26T05:23:43.667Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T05:23:43.667Z] ---> Running in 5de1b03366dc [2021-04-26T05:23:46.297Z] Removing intermediate container 5de1b03366dc [2021-04-26T05:23:46.297Z] ---> 1e628470bf8d [2021-04-26T05:23:46.297Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-26T05:23:46.297Z] ---> Running in 9100e12153a4 [2021-04-26T05:23:47.279Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T05:23:47.876Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T05:23:48.636Z] a35cf1a2eb13: Pull complete [2021-04-26T05:23:48.636Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-26T05:23:48.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-26T05:23:48.636Z] ---> a62c8e92a672 [2021-04-26T05:23:48.636Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T05:23:48.636Z] ---> Running in db74f81c6ad9 [2021-04-26T05:23:48.636Z] Removing intermediate container db74f81c6ad9 [2021-04-26T05:23:48.636Z] ---> 89bf280b3b7a [2021-04-26T05:23:48.636Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T05:23:48.636Z] ---> Running in d05aa2396d0e [2021-04-26T05:23:48.851Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-26T05:23:48.851Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-26T05:23:48.851Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-26T05:23:49.130Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-26T05:23:49.130Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-26T05:23:49.401Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-26T05:23:49.401Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T05:23:49.401Z] OK: 144 MiB in 45 packages [2021-04-26T05:23:50.643Z] Removing intermediate container d05aa2396d0e [2021-04-26T05:23:50.643Z] ---> 4dff26a373d0 [2021-04-26T05:23:50.643Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-26T05:23:50.643Z] ---> Running in a0ef692f3f95 [2021-04-26T05:23:50.831Z] Removing intermediate container 9100e12153a4 [2021-04-26T05:23:50.831Z] ---> 17d67d9dc24f [2021-04-26T05:23:50.831Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-26T05:23:50.831Z] ---> Running in 7e009b03973c [2021-04-26T05:23:51.423Z] Removing intermediate container 7e009b03973c [2021-04-26T05:23:51.423Z] ---> 172f77fca251 [2021-04-26T05:23:51.423Z] Step 7/8 : COPY . . [2021-04-26T05:23:51.614Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T05:23:52.209Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T05:23:52.406Z] ---> 94791d6001ee [2021-04-26T05:23:52.406Z] Step 8/8 : RUN go mod download [2021-04-26T05:23:52.680Z] ---> Running in b340b01b87f7 [2021-04-26T05:23:52.792Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-26T05:23:52.792Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-26T05:23:52.792Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-26T05:23:53.057Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-26T05:23:53.057Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-26T05:23:53.057Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-26T05:23:53.321Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T05:23:53.321Z] OK: 167 MiB in 45 packages [2021-04-26T05:23:53.919Z] Removing intermediate container a0ef692f3f95 [2021-04-26T05:23:53.919Z] ---> eb99fccf1339 [2021-04-26T05:23:53.919Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-26T05:23:54.231Z] ---> Running in 47392d67a5cf [2021-04-26T05:23:54.231Z] Removing intermediate container 47392d67a5cf [2021-04-26T05:23:54.231Z] ---> f6f420327a6e [2021-04-26T05:23:54.231Z] Step 7/8 : COPY . . [2021-04-26T05:23:55.683Z] ---> 6da0c6cffd3c [2021-04-26T05:23:55.683Z] Step 8/8 : RUN go mod download [2021-04-26T05:23:55.683Z] ---> Running in 04324cc04db9 [2021-04-26T05:24:19.463Z] Removing intermediate container b340b01b87f7 [2021-04-26T05:24:19.463Z] ---> bd934f86008a [2021-04-26T05:24:19.463Z] Successfully built bd934f86008a [2021-04-26T05:24:19.463Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T05:24:19.824Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T05:24:19.824Z] . [Pipeline] withDockerContainer [2021-04-26T05:24:20.113Z] prd-ubuntu18.04-docker-arm64-4c-16g-1710 does not seem to be running inside a container [2021-04-26T05:24:20.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-26T05:24:21.993Z] $ docker top 9e412381d4969486ba34c3429c1632c2dccf39bbcec1e1c865f5c0a848da01db -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T05:24:22.987Z] + go version [2021-04-26T05:24:22.987Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-26T05:24:23.025Z] $ docker stop --time=1 9e412381d4969486ba34c3429c1632c2dccf39bbcec1e1c865f5c0a848da01db [2021-04-26T05:24:25.113Z] $ docker rm -f 9e412381d4969486ba34c3429c1632c2dccf39bbcec1e1c865f5c0a848da01db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T05:24:25.877Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T05:24:25.877Z] . [Pipeline] withDockerContainer [2021-04-26T05:24:26.164Z] prd-ubuntu18.04-docker-arm64-4c-16g-1710 does not seem to be running inside a container [2021-04-26T05:24:26.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-26T05:24:27.964Z] $ docker top 8c3dabdf4595c716007991e8b64f447867158999ca6b6eea22fb830df45206b9 -eo pid,comm [2021-04-26T05:24:28.139Z] Removing intermediate container 04324cc04db9 [2021-04-26T05:24:28.139Z] ---> d8a105337aeb [2021-04-26T05:24:28.139Z] Successfully built d8a105337aeb [2021-04-26T05:24:28.139Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-04-26T05:24:28.740Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T05:24:28.936Z] + make test [2021-04-26T05:24:28.936Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-26T05:24:29.008Z] . [Pipeline] withDockerContainer [2021-04-26T05:24:29.161Z] prd-centos7-docker-4c-2g-1709 does not seem to be running inside a container [2021-04-26T05:24:29.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-26T05:24:31.782Z] $ docker top 847485a0d0d2268062acc4e8e79f5d7deb4faa5d261f1bc94079bb7914307ef6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T05:24:32.453Z] + go version [2021-04-26T05:24:32.453Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-26T05:24:32.477Z] $ docker stop --time=1 847485a0d0d2268062acc4e8e79f5d7deb4faa5d261f1bc94079bb7914307ef6 [2021-04-26T05:24:34.018Z] $ docker rm -f 847485a0d0d2268062acc4e8e79f5d7deb4faa5d261f1bc94079bb7914307ef6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T05:24:34.627Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T05:24:34.628Z] . [Pipeline] withDockerContainer [2021-04-26T05:24:34.751Z] prd-centos7-docker-4c-2g-1709 does not seem to be running inside a container [2021-04-26T05:24:34.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-26T05:24:36.320Z] $ docker top 4976f0a139a5a77c08c1ea84552169cfdb345a6b651a2076add2330cd707e9fb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T05:24:37.566Z] + make test [2021-04-26T05:24:37.566Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-26T05:24:51.146Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-26T05:24:56.769Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-26T05:25:37.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-26T05:25:37.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-26T05:25:37.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-26T05:25:37.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-26T05:25:37.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-26T05:25:37.269Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.144s coverage: 28.1% of statements [2021-04-26T05:25:37.269Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.194s coverage: 78.9% of statements [2021-04-26T05:25:37.269Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.099s coverage: 7.8% of statements [2021-04-26T05:25:37.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-26T05:25:37.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-26T05:25:37.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-26T05:25:37.780Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.132s coverage: 32.0% of statements [2021-04-26T05:25:37.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-26T05:25:37.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-26T05:25:37.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T05:25:39.384Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.158s coverage: 57.2% of statements [2021-04-26T05:25:39.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.541s coverage: 6.6% of statements [2021-04-26T05:25:39.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.178s coverage: 5.0% of statements [2021-04-26T05:25:39.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-26T05:25:39.994Z] GO111MODULE=on go vet ./... [2021-04-26T05:25:47.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-26T05:25:47.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-26T05:25:47.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-26T05:25:47.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-26T05:25:47.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-26T05:25:57.954Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.138s coverage: 28.1% of statements [2021-04-26T05:25:58.560Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.271s coverage: 78.9% of statements [2021-04-26T05:25:58.560Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.230s coverage: 7.8% of statements [2021-04-26T05:25:58.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-26T05:25:58.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-26T05:25:58.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-26T05:26:00.032Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.273s coverage: 32.0% of statements [2021-04-26T05:26:00.032Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-26T05:26:00.032Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-26T05:26:00.032Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T05:26:04.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.312s coverage: 57.2% of statements [2021-04-26T05:26:04.384Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.246s coverage: 6.6% of statements [2021-04-26T05:26:04.384Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.0% of statements [2021-04-26T05:26:04.384Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-26T05:26:04.978Z] GO111MODULE=on go vet ./... [2021-04-26T05:26:12.971Z] gofmt -l . [2021-04-26T05:26:12.972Z] [ "`gofmt -l .`" = "" ] [2021-04-26T05:26:12.972Z] ./bin/test-attribution-txt.sh [2021-04-26T05:26:14.004Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-26T05:26:14.332Z] $ docker stop --time=1 4976f0a139a5a77c08c1ea84552169cfdb345a6b651a2076add2330cd707e9fb [2021-04-26T05:26:16.394Z] $ docker rm -f 4976f0a139a5a77c08c1ea84552169cfdb345a6b651a2076add2330cd707e9fb [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T05:26:17.145Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T05:26:17.980Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-26T05:26:19.002Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-26T05:26:19.332Z] + ls -al . [2021-04-26T05:26:19.332Z] total 188 [2021-04-26T05:26:19.332Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 26 05:26 . [2021-04-26T05:26:19.332Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 26 05:23 .. [2021-04-26T05:26:19.332Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 26 05:23 bin [2021-04-26T05:26:19.332Z] -rw-r--r--. 1 jenkins jenkins 100024 Apr 26 05:25 coverage.out [2021-04-26T05:26:19.332Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 26 05:23 Dockerfile.build [2021-04-26T05:26:19.332Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 26 05:23 .dockerignore [2021-04-26T05:26:19.332Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 26 05:23 example [2021-04-26T05:26:19.332Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 26 05:23 .git [2021-04-26T05:26:19.332Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 26 05:23 .github [2021-04-26T05:26:19.332Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 26 05:23 .gitignore [2021-04-26T05:26:19.332Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 26 05:26 go.mod [2021-04-26T05:26:19.332Z] -rw-r--r--. 1 jenkins jenkins 21068 Apr 26 05:26 go.sum [2021-04-26T05:26:19.332Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 26 05:23 internal [2021-04-26T05:26:19.332Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 26 05:23 Jenkinsfile [2021-04-26T05:26:19.332Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 26 05:23 LICENSE [2021-04-26T05:26:19.332Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 26 05:23 Makefile [2021-04-26T05:26:19.332Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 26 05:23 openapi [2021-04-26T05:26:19.332Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 26 05:23 pkg [2021-04-26T05:26:19.332Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 26 05:23 README.md [2021-04-26T05:26:19.332Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 26 05:23 RELEASE-NOTES.txt [2021-04-26T05:26:19.332Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 26 05:23 snap [2021-04-26T05:26:19.332Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 26 05:19 VERSION [2021-04-26T05:26:19.332Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 26 05:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-26T05:26:19.660Z] + 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=eb077a2e923156dfe7e56c7626544f9d712c7af1 --label arch=amd64 --label version=0.0.0 . [2021-04-26T05:26:19.937Z] Sending build context to Docker daemon 2.566MB [2021-04-26T05:26:19.937Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T05:26:19.937Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-26T05:26:19.937Z] ---> d8a105337aeb [2021-04-26T05:26:19.937Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-26T05:26:20.519Z] ---> Running in c3804cd71b0d [2021-04-26T05:26:20.789Z] Removing intermediate container c3804cd71b0d [2021-04-26T05:26:20.789Z] ---> 7102abdd710d [2021-04-26T05:26:20.789Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T05:26:21.062Z] ---> Running in 75d58c486923 [2021-04-26T05:26:21.727Z] Removing intermediate container 75d58c486923 [2021-04-26T05:26:21.727Z] ---> fa3ac5b54735 [2021-04-26T05:26:21.727Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T05:26:21.727Z] ---> Running in f515fc6f46cc [2021-04-26T05:26:25.208Z] Removing intermediate container f515fc6f46cc [2021-04-26T05:26:25.209Z] ---> 4e2fc187ee1d [2021-04-26T05:26:25.209Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-26T05:26:25.209Z] ---> Running in 6d6388e96baa [2021-04-26T05:26:25.842Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T05:26:26.829Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T05:26:27.463Z] OK: 167 MiB in 45 packages [2021-04-26T05:26:28.476Z] Removing intermediate container 6d6388e96baa [2021-04-26T05:26:28.476Z] ---> b2b41ea729a3 [2021-04-26T05:26:28.476Z] Step 7/23 : COPY . . [2021-04-26T05:26:29.470Z] ---> 49d3cf083430 [2021-04-26T05:26:29.470Z] Step 8/23 : RUN go mod download [2021-04-26T05:26:29.763Z] ---> Running in 7bced131f9f6 [2021-04-26T05:26:31.720Z] Removing intermediate container 7bced131f9f6 [2021-04-26T05:26:31.720Z] ---> 82eb2818c800 [2021-04-26T05:26:31.720Z] Step 9/23 : RUN make build [2021-04-26T05:26:32.025Z] ---> Running in 6a4a0cf1d3c6 [2021-04-26T05:26:33.107Z] 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-26T05:26:51.627Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-26T05:26:52.091Z] gofmt -l . [2021-04-26T05:26:52.374Z] [ "`gofmt -l .`" = "" ] [2021-04-26T05:26:52.624Z] Removing intermediate container 6a4a0cf1d3c6 [2021-04-26T05:26:52.624Z] ---> 93d832c6b548 [2021-04-26T05:26:52.624Z] Step 10/23 : FROM alpine:3.12 [2021-04-26T05:26:52.662Z] ./bin/test-attribution-txt.sh [2021-04-26T05:26:52.905Z] 3.12: Pulling from library/alpine [2021-04-26T05:26:53.182Z] 339de151aab4: Pulling fs layer [2021-04-26T05:26:53.182Z] 339de151aab4: Verifying Checksum [2021-04-26T05:26:53.182Z] 339de151aab4: Download complete [2021-04-26T05:26:53.803Z] 339de151aab4: Pull complete [2021-04-26T05:26:53.803Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-26T05:26:53.803Z] Status: Downloaded newer image for alpine:3.12 [2021-04-26T05:26:53.803Z] ---> 13621d1b12d4 [2021-04-26T05:26:53.803Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T05:26:53.803Z] ---> Running in 8f7ca81586e6 [2021-04-26T05:26:54.101Z] Removing intermediate container 8f7ca81586e6 [2021-04-26T05:26:54.101Z] ---> 649c83f42a37 [2021-04-26T05:26:54.101Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T05:26:54.103Z] ./bin/test-go-mod-tidy.sh [2021-04-26T05:26:54.370Z] ---> Running in 2dae8a596000 [Pipeline] } [2021-04-26T05:26:54.739Z] $ docker stop --time=1 8c3dabdf4595c716007991e8b64f447867158999ca6b6eea22fb830df45206b9 [2021-04-26T05:26:56.455Z] Removing intermediate container 2dae8a596000 [2021-04-26T05:26:56.455Z] ---> 117a6edcf854 [2021-04-26T05:26:56.455Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-26T05:26:56.455Z] ---> Running in 0eeb0ef2fb1f [2021-04-26T05:26:57.097Z] $ docker rm -f 8c3dabdf4595c716007991e8b64f447867158999ca6b6eea22fb830df45206b9 [2021-04-26T05:26:57.552Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T05:26:58.141Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T05:26:58.153Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T05:26:58.176Z] Warning: overwriting stash ‘coverage-report’ [2021-04-26T05:26:58.738Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-26T05:26:58.738Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-26T05:26:58.738Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-26T05:26:59.249Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T05:26:59.712Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-26T05:26:59.713Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-26T05:26:59.713Z] Executing busybox-1.31.1-r20.trigger [2021-04-26T05:26:59.713Z] OK: 8 MiB in 19 packages [2021-04-26T05:26:59.736Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-26T05:27:00.131Z] + ls -al . [2021-04-26T05:27:00.131Z] total 224 [2021-04-26T05:27:00.131Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 05:26 . [2021-04-26T05:27:00.131Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 05:23 .. [2021-04-26T05:27:00.131Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 05:23 .dockerignore [2021-04-26T05:27:00.131Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 05:23 .git [2021-04-26T05:27:00.131Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 05:23 .github [2021-04-26T05:27:00.131Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 26 05:23 .gitignore [2021-04-26T05:27:00.131Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 26 05:23 Dockerfile.build [2021-04-26T05:27:00.131Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 26 05:23 Jenkinsfile [2021-04-26T05:27:00.131Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 05:23 LICENSE [2021-04-26T05:27:00.131Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 26 05:23 Makefile [2021-04-26T05:27:00.131Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 26 05:23 README.md [2021-04-26T05:27:00.131Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 26 05:23 RELEASE-NOTES.txt [2021-04-26T05:27:00.131Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 05:19 VERSION [2021-04-26T05:27:00.131Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 05:23 bin [2021-04-26T05:27:00.131Z] -rw-r--r-- 1 jenkins jenkins 100024 Apr 26 05:26 coverage.out [2021-04-26T05:27:00.131Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 05:23 example [2021-04-26T05:27:00.131Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 26 05:26 go.mod [2021-04-26T05:27:00.131Z] -rw-r--r-- 1 jenkins jenkins 21068 Apr 26 05:26 go.sum [2021-04-26T05:27:00.131Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 26 05:23 internal [2021-04-26T05:27:00.131Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 05:23 openapi [2021-04-26T05:27:00.131Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 05:23 pkg [2021-04-26T05:27:00.131Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 05:23 snap [2021-04-26T05:27:00.131Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 05:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-26T05:27:00.557Z] + 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=eb077a2e923156dfe7e56c7626544f9d712c7af1 --label arch=arm64 --label version=0.0.0 . [2021-04-26T05:27:00.724Z] Removing intermediate container 0eeb0ef2fb1f [2021-04-26T05:27:00.724Z] ---> e06d32bb55e4 [2021-04-26T05:27:00.724Z] Step 14/23 : WORKDIR / [2021-04-26T05:27:00.724Z] ---> Running in 459e39b64703 [2021-04-26T05:27:01.036Z] Removing intermediate container 459e39b64703 [2021-04-26T05:27:01.036Z] ---> 9730bcdb0a07 [2021-04-26T05:27:01.036Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-26T05:27:01.160Z] Sending build context to Docker daemon 2.565MB [2021-04-26T05:27:01.160Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T05:27:01.160Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-26T05:27:01.160Z] ---> bd934f86008a [2021-04-26T05:27:01.160Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-26T05:27:01.456Z] ---> Running in 257e44ff8400 [2021-04-26T05:27:01.754Z] ---> 95d0faf5ed56 [2021-04-26T05:27:01.754Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-26T05:27:02.074Z] Removing intermediate container 257e44ff8400 [2021-04-26T05:27:02.074Z] ---> a7e80123c706 [2021-04-26T05:27:02.074Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T05:27:02.074Z] ---> Running in e30ffaf693b5 [2021-04-26T05:27:02.673Z] Removing intermediate container e30ffaf693b5 [2021-04-26T05:27:02.673Z] ---> 806a677ef515 [2021-04-26T05:27:02.673Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T05:27:02.673Z] ---> Running in f0cb920eed01 [2021-04-26T05:27:02.746Z] ---> 02224b22741b [2021-04-26T05:27:02.746Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-26T05:27:03.017Z] ---> a27ff875f288 [2021-04-26T05:27:03.017Z] Step 18/23 : EXPOSE 49990 [2021-04-26T05:27:03.017Z] ---> Running in 8c8b1962f641 [2021-04-26T05:27:03.288Z] Removing intermediate container 8c8b1962f641 [2021-04-26T05:27:03.288Z] ---> b57c61d7faba [2021-04-26T05:27:03.288Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-26T05:27:03.566Z] ---> Running in a7a738e166fc [2021-04-26T05:27:03.848Z] Removing intermediate container a7a738e166fc [2021-04-26T05:27:03.848Z] ---> 7c4f1d1d6d5f [2021-04-26T05:27:03.848Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-26T05:27:03.848Z] ---> Running in 1de1d92574bb [2021-04-26T05:27:04.114Z] Removing intermediate container 1de1d92574bb [2021-04-26T05:27:04.114Z] ---> c055a9f7fbbf [2021-04-26T05:27:04.114Z] Step 21/23 : LABEL arch=amd64 [2021-04-26T05:27:04.114Z] ---> Running in 774319a8f04d [2021-04-26T05:27:04.642Z] Removing intermediate container f0cb920eed01 [2021-04-26T05:27:04.642Z] ---> d5d67846a571 [2021-04-26T05:27:04.642Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-26T05:27:04.730Z] Removing intermediate container 774319a8f04d [2021-04-26T05:27:04.730Z] ---> 14570e607c14 [2021-04-26T05:27:04.730Z] Step 22/23 : LABEL git_sha=eb077a2e923156dfe7e56c7626544f9d712c7af1 [2021-04-26T05:27:04.730Z] ---> Running in 982344cbf171 [2021-04-26T05:27:04.912Z] ---> Running in 070dc5949f0a [2021-04-26T05:27:05.018Z] Removing intermediate container 982344cbf171 [2021-04-26T05:27:05.018Z] ---> 68c36327fdc0 [2021-04-26T05:27:05.018Z] Step 23/23 : LABEL version=0.0.0 [2021-04-26T05:27:05.018Z] ---> Running in 79254a6468f1 [2021-04-26T05:27:05.285Z] Removing intermediate container 79254a6468f1 [2021-04-26T05:27:05.285Z] ---> 27382ca28010 [2021-04-26T05:27:05.285Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-26T05:27:05.285Z] Successfully built 27382ca28010 [2021-04-26T05:27:05.285Z] 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-26T05:27:05.854Z] ---> job-cost.sh [2021-04-26T05:27:05.854Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AIEd [2021-04-26T05:27:05.896Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T05:27:06.501Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T05:27:07.476Z] OK: 144 MiB in 45 packages [2021-04-26T05:27:08.450Z] Removing intermediate container 070dc5949f0a [2021-04-26T05:27:08.450Z] ---> 494bc3a25fa7 [2021-04-26T05:27:08.450Z] Step 7/23 : COPY . . [2021-04-26T05:27:09.897Z] ---> f2775262a003 [2021-04-26T05:27:09.897Z] Step 8/23 : RUN go mod download [2021-04-26T05:27:09.897Z] ---> Running in f4ddca167cba [2021-04-26T05:27:12.525Z] Removing intermediate container f4ddca167cba [2021-04-26T05:27:12.525Z] ---> 31efd0a3ab75 [2021-04-26T05:27:12.525Z] Step 9/23 : RUN make build [2021-04-26T05:27:12.525Z] ---> Running in e50f8cfe3365 [2021-04-26T05:27:13.520Z] 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-26T05:27:27.985Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T05:27:45.896Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-26T05:27:49.280Z] Removing intermediate container e50f8cfe3365 [2021-04-26T05:27:49.280Z] ---> 554188d0a663 [2021-04-26T05:27:49.280Z] Step 10/23 : FROM alpine:3.12 [2021-04-26T05:27:49.280Z] 3.12: Pulling from library/alpine [2021-04-26T05:27:49.280Z] d2f70382dc9a: Pulling fs layer [2021-04-26T05:27:49.280Z] d2f70382dc9a: Verifying Checksum [2021-04-26T05:27:49.874Z] d2f70382dc9a: Pull complete [2021-04-26T05:27:49.874Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-26T05:27:49.874Z] Status: Downloaded newer image for alpine:3.12 [2021-04-26T05:27:49.874Z] ---> 9852663dfa18 [2021-04-26T05:27:49.874Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T05:27:50.146Z] ---> Running in 2589fb457e0e [2021-04-26T05:27:50.743Z] Removing intermediate container 2589fb457e0e [2021-04-26T05:27:50.743Z] ---> be8d3fd1d57a [2021-04-26T05:27:50.743Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T05:27:50.743Z] ---> Running in 04dfab3eacce [2021-04-26T05:27:53.357Z] Removing intermediate container 04dfab3eacce [2021-04-26T05:27:53.357Z] ---> 3902c38e17e5 [2021-04-26T05:27:53.357Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-26T05:27:53.357Z] ---> Running in 65d67b2bb02f [2021-04-26T05:27:53.952Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T05:27:54.923Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T05:27:55.514Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-26T05:27:55.514Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-26T05:27:55.784Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-26T05:27:55.784Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-26T05:27:56.055Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-26T05:27:56.055Z] Executing busybox-1.31.1-r20.trigger [2021-04-26T05:27:56.055Z] OK: 8 MiB in 19 packages [2021-04-26T05:27:57.498Z] Removing intermediate container 65d67b2bb02f [2021-04-26T05:27:57.498Z] ---> 175a5213d435 [2021-04-26T05:27:57.498Z] Step 14/23 : WORKDIR / [2021-04-26T05:27:57.498Z] ---> Running in becf0e060bdb [2021-04-26T05:27:57.781Z] Removing intermediate container becf0e060bdb [2021-04-26T05:27:57.781Z] ---> a306b935bb31 [2021-04-26T05:27:57.781Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-26T05:27:58.755Z] ---> 8d8e83ade8a1 [2021-04-26T05:27:58.755Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-26T05:27:59.742Z] ---> 1a33212d6c1c [2021-04-26T05:27:59.742Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-26T05:28:00.724Z] ---> 0005c1fe96f0 [2021-04-26T05:28:00.724Z] Step 18/23 : EXPOSE 49990 [2021-04-26T05:28:00.724Z] ---> Running in 539c27f0f897 [2021-04-26T05:28:01.320Z] Removing intermediate container 539c27f0f897 [2021-04-26T05:28:01.320Z] ---> 573f573700da [2021-04-26T05:28:01.320Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-26T05:28:01.320Z] ---> Running in c98a3644161a [2021-04-26T05:28:01.914Z] Removing intermediate container c98a3644161a [2021-04-26T05:28:01.914Z] ---> 8534d115d1dc [2021-04-26T05:28:01.914Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-26T05:28:01.914Z] ---> Running in 510fb1cc7066 [2021-04-26T05:28:02.510Z] Removing intermediate container 510fb1cc7066 [2021-04-26T05:28:02.510Z] ---> 0956e578467b [2021-04-26T05:28:02.510Z] Step 21/23 : LABEL arch=arm64 [2021-04-26T05:28:02.510Z] ---> Running in 8e76c0f3f47b [2021-04-26T05:28:03.107Z] Removing intermediate container 8e76c0f3f47b [2021-04-26T05:28:03.107Z] ---> bd96f14836f7 [2021-04-26T05:28:03.107Z] Step 22/23 : LABEL git_sha=eb077a2e923156dfe7e56c7626544f9d712c7af1 [2021-04-26T05:28:03.107Z] ---> Running in 9a3ef7031ba6 [2021-04-26T05:28:03.709Z] Removing intermediate container 9a3ef7031ba6 [2021-04-26T05:28:03.709Z] ---> b677281b0e57 [2021-04-26T05:28:03.709Z] Step 23/23 : LABEL version=0.0.0 [2021-04-26T05:28:03.709Z] ---> Running in a3f4ab058203 [2021-04-26T05:28:04.303Z] Removing intermediate container a3f4ab058203 [2021-04-26T05:28:04.303Z] ---> 7f8585a38a56 [2021-04-26T05:28:04.303Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-26T05:28:04.303Z] Successfully built 7f8585a38a56 [2021-04-26T05:28:04.303Z] 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-26T05:28:04.802Z] ---> job-cost.sh [2021-04-26T05:28:04.802Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nuLO [2021-04-26T05:28:06.920Z] lf-activate-venv(): INFO: Adding /tmp/venv-AIEd/bin to PATH [2021-04-26T05:28:06.920Z] INFO: No Stack... [2021-04-26T05:28:06.920Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T05:28:06.920Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T05:28:07.250Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-04-26T05:28:07.250Z] + cut -d, -f6 [Pipeline] lock [2021-04-26T05:28:07.435Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] [2021-04-26T05:28:07.442Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] did not exist. Created. [2021-04-26T05:28:07.442Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T05:28:07.791Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-26T05:28:07.931Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T05:28:07.964Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-26T05:28:43.759Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T05:30:20.520Z] lf-activate-venv(): INFO: Adding /tmp/venv-nuLO/bin to PATH [2021-04-26T05:30:20.520Z] INFO: No Stack... [2021-04-26T05:30:20.520Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-26T05:30:20.520Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T05:30:20.851Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-04-26T05:30:20.851Z] + cut -d, -f6 [Pipeline] lock [2021-04-26T05:30:20.958Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] [2021-04-26T05:30:20.966Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] did not exist. Created. [2021-04-26T05:30:20.966Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T05:30:21.329Z] /w/workspace/device-sdk-go/3@tmp/durable-99b6adef/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-99b6adef/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-26T05:30:21.698Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-26T05:30:21.718Z] Warning: overwriting stash ‘stack-cost’ [2021-04-26T05:30:21.868Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T05:30:21.878Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-3-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-26T05:30:22.281Z] provisioning config files... [2021-04-26T05:30:22.297Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config7207551430976462014tmp [Pipeline] { [Pipeline] sh [2021-04-26T05:30:22.645Z] + set +x [2021-04-26T05:30:22.645Z] + curl -s https://codecov.io/bash [2021-04-26T05:30:22.645Z] + bash -s -- [2021-04-26T05:30:22.917Z] [2021-04-26T05:30:22.917Z] _____ _ [2021-04-26T05:30:22.917Z] / ____| | | [2021-04-26T05:30:22.917Z] | | ___ __| | ___ ___ _____ __ [2021-04-26T05:30:22.917Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-26T05:30:22.917Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-26T05:30:22.917Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-26T05:30:22.917Z] Bash-1.0.2 [2021-04-26T05:30:22.917Z] [2021-04-26T05:30:22.917Z] [2021-04-26T05:30:22.917Z] ==> git version 2.24.3 found [2021-04-26T05:30:22.917Z] ==> 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-26T05:30:22.917Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-26T05:30:22.917Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-26T05:30:22.917Z] ==> Jenkins CI detected. [2021-04-26T05:30:22.917Z] project root: . [2021-04-26T05:30:22.917Z] --> token set from env [2021-04-26T05:30:22.917Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-26T05:30:22.917Z] ==> Running gcov in . (disable via -X gcov) [2021-04-26T05:30:22.917Z] ==> Python coveragepy not found [2021-04-26T05:30:22.917Z] ==> Searching for coverage reports in: [2021-04-26T05:30:22.917Z] + . [2021-04-26T05:30:22.917Z] -> Found 1 reports [2021-04-26T05:30:22.917Z] ==> Detecting git/mercurial file structure [2021-04-26T05:30:23.192Z] ==> Reading reports [2021-04-26T05:30:23.192Z] + ./coverage.out bytes=100024 [2021-04-26T05:30:23.192Z] ==> Appending adjustments [2021-04-26T05:30:23.192Z] https://docs.codecov.io/docs/fixing-reports [2021-04-26T05:30:23.456Z] + Found adjustments [2021-04-26T05:30:23.456Z] ==> Gzipping contents [2021-04-26T05:30:23.456Z] 16K /tmp/codecov.PJQq44.gz [2021-04-26T05:30:23.456Z] ==> Uploading reports [2021-04-26T05:30:23.456Z] url: https://codecov.io [2021-04-26T05:30:23.456Z] query: branch=PR-887&commit=eb077a2e923156dfe7e56c7626544f9d712c7af1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= [2021-04-26T05:30:23.456Z] -> Pinging Codecov [2021-04-26T05:30:23.456Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-887&commit=eb077a2e923156dfe7e56c7626544f9d712c7af1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= [2021-04-26T05:30:24.036Z] -> Uploading to [2021-04-26T05:30:24.036Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-26/7E55EF52A471D76F132DFD9A03CDDE97/eb077a2e923156dfe7e56c7626544f9d712c7af1/fdec3326-7abe-47e6-9d84-dd7a7fcba70b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210426T053023Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=70a390ac1966287b30c5d625fefd99127bfbe775b0ef9a93ebe6d1a7bd39c938 [2021-04-26T05:30:24.036Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-26T05:30:24.036Z] Dload Upload Total Spent Left Speed [2021-04-26T05:30:24.612Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13510 0 0 100 13510 0 23686 --:--:-- --:--:-- --:--:-- 23660 100 13510 0 0 100 13510 0 23679 --:--:-- --:--:-- --:--:-- 23660 [2021-04-26T05:30:24.612Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/eb077a2e923156dfe7e56c7626544f9d712c7af1 [Pipeline] } [2021-04-26T05:30:24.625Z] 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-26T05:30:25.694Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T05:30:26.328Z] ---> package-listing.sh [2021-04-26T05:30:26.328Z] ++ facter osfamily [2021-04-26T05:30:26.328Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-26T05:30:26.328Z] + OS_FAMILY=redhat [2021-04-26T05:30:26.328Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-887 [2021-04-26T05:30:26.328Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-26T05:30:26.328Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-26T05:30:26.328Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-26T05:30:26.328Z] + PACKAGES=/tmp/packages_start.txt [2021-04-26T05:30:26.328Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' [2021-04-26T05:30:26.328Z] + PACKAGES=/tmp/packages_end.txt [2021-04-26T05:30:26.328Z] + case "${OS_FAMILY}" in [2021-04-26T05:30:26.328Z] + rpm -qa [2021-04-26T05:30:26.328Z] + sort [2021-04-26T05:30:31.712Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-26T05:30:31.712Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-26T05:30:31.712Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-26T05:30:31.712Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' [2021-04-26T05:30:31.712Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [2021-04-26T05:30:31.712Z] + 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-26T05:30:31.725Z] 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-26T05:30:32.012Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-26T05:30:32.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T05:30:32.319Z] [2021-04-26T05:30:32.319Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-26T05:30:32.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T05:30:32.639Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-26T05:30:32.639Z] df20fa9351a1: Pulling fs layer [2021-04-26T05:30:32.639Z] 36b3adc4ff6f: Pulling fs layer [2021-04-26T05:30:32.639Z] 8ad3a11d3b57: Pulling fs layer [2021-04-26T05:30:32.639Z] 46f8f816bc3b: Pulling fs layer [2021-04-26T05:30:32.639Z] 93b61091891f: Pulling fs layer [2021-04-26T05:30:32.639Z] 93b9cdb0e59b: Pulling fs layer [2021-04-26T05:30:32.639Z] 5e14af77c1be: Pulling fs layer [2021-04-26T05:30:32.639Z] 01666e4c0597: Pulling fs layer [2021-04-26T05:30:32.639Z] aa168da1d23b: Pulling fs layer [2021-04-26T05:30:32.639Z] 93b9cdb0e59b: Waiting [2021-04-26T05:30:32.639Z] 5e14af77c1be: Waiting [2021-04-26T05:30:32.639Z] 46f8f816bc3b: Waiting [2021-04-26T05:30:32.639Z] 01666e4c0597: Waiting [2021-04-26T05:30:32.639Z] aa168da1d23b: Waiting [2021-04-26T05:30:32.639Z] 93b61091891f: Waiting [2021-04-26T05:30:32.639Z] 36b3adc4ff6f: Verifying Checksum [2021-04-26T05:30:32.639Z] 36b3adc4ff6f: Download complete [2021-04-26T05:30:32.639Z] 46f8f816bc3b: Verifying Checksum [2021-04-26T05:30:32.639Z] 46f8f816bc3b: Download complete [2021-04-26T05:30:32.639Z] df20fa9351a1: Verifying Checksum [2021-04-26T05:30:32.639Z] df20fa9351a1: Download complete [2021-04-26T05:30:32.639Z] 93b9cdb0e59b: Verifying Checksum [2021-04-26T05:30:32.639Z] 93b9cdb0e59b: Download complete [2021-04-26T05:30:32.639Z] 93b61091891f: Verifying Checksum [2021-04-26T05:30:32.639Z] 93b61091891f: Download complete [2021-04-26T05:30:32.639Z] 5e14af77c1be: Verifying Checksum [2021-04-26T05:30:32.639Z] 5e14af77c1be: Download complete [2021-04-26T05:30:32.906Z] 01666e4c0597: Verifying Checksum [2021-04-26T05:30:32.906Z] 01666e4c0597: Download complete [2021-04-26T05:30:32.906Z] 8ad3a11d3b57: Verifying Checksum [2021-04-26T05:30:32.906Z] 8ad3a11d3b57: Download complete [2021-04-26T05:30:33.175Z] df20fa9351a1: Pull complete [2021-04-26T05:30:33.442Z] 36b3adc4ff6f: Pull complete [2021-04-26T05:30:34.403Z] 8ad3a11d3b57: Pull complete [2021-04-26T05:30:34.403Z] 46f8f816bc3b: Pull complete [2021-04-26T05:30:34.667Z] aa168da1d23b: Verifying Checksum [2021-04-26T05:30:34.667Z] aa168da1d23b: Download complete [2021-04-26T05:30:34.667Z] 93b61091891f: Pull complete [2021-04-26T05:30:34.930Z] 93b9cdb0e59b: Pull complete [2021-04-26T05:30:34.930Z] 5e14af77c1be: Pull complete [2021-04-26T05:30:35.193Z] 01666e4c0597: Pull complete [2021-04-26T05:30:43.438Z] aa168da1d23b: Pull complete [2021-04-26T05:30:43.438Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-26T05:30:43.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T05:30:43.438Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-26T05:30:43.666Z] prd-centos7-docker-4c-2g-1706 does not seem to be running inside a container [2021-04-26T05:30:43.723Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-26T05:30:47.904Z] $ docker top 7e9300b378b933a32298c1dd6a527504d28110dea2ce698f94898a1d08fc5f6e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T05:30:48.404Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-26T05:30:48.719Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-26T05:30:49.033Z] + ls /var/log/sa-host [2021-04-26T05:30:49.033Z] + sadf -c /var/log/sa-host/sa23 [2021-04-26T05:30:49.033Z] file_magic: OK [2021-04-26T05:30:49.033Z] HZ: Using current value: 100 [2021-04-26T05:30:49.033Z] file_header: OK [2021-04-26T05:30:49.033Z] 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-26T05:30:49.033Z] Statistics: [2021-04-26T05:30:49.033Z] Hnuu...uuuununununu... [2021-04-26T05:30:49.033Z] File successfully converted to sysstat format version 12.2.1 [2021-04-26T05:30:49.033Z] + sadf -c /var/log/sa-host/sa26 [2021-04-26T05:30:49.033Z] file_magic: OK [2021-04-26T05:30:49.033Z] HZ: Using current value: 100 [2021-04-26T05:30:49.033Z] file_header: OK [2021-04-26T05:30:49.033Z] 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-26T05:30:49.033Z] Statistics: [2021-04-26T05:30:49.033Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-26T05:30:49.033Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-26T05:30:49.600Z] provisioning config files... [2021-04-26T05:30:49.621Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config8337492655019240143tmp [Pipeline] { [Pipeline] echo [2021-04-26T05:30:49.647Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T05:30:49.958Z] ---> create-netrc.sh [Pipeline] } [2021-04-26T05:30:49.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-26T05:30:49.997Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T05:30:50.311Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-26T05:30:50.323Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T05:30:50.625Z] ---> sudo-logs.sh [2021-04-26T05:30:50.625Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-26T05:30:50.664Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T05:30:50.966Z] ---> job-cost.sh [2021-04-26T05:30:50.966Z] lf-activate-venv: SKIPPING [2021-04-26T05:30:50.966Z] DEBUG: total: 0.20999999344348907 [2021-04-26T05:30:50.966Z] INFO: Retrieving Stack Cost... [2021-04-26T05:30:52.363Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T05:30:52.633Z] INFO: Archiving Costs [Pipeline] echo [2021-04-26T05:30:52.654Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T05:30:52.963Z] ---> logs-deploy.sh [2021-04-26T05:30:52.963Z] lf-activate-venv: SKIPPING [2021-04-26T05:30:52.963Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-887/3 [2021-04-26T05:30:52.963Z] INFO: archiving workspace using pattern(s): [2021-04-26T05:30:54.897Z] Archives upload complete. [2021-04-26T05:30:55.160Z] INFO: archiving logs to Nexus