Pull request #887 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from be245dca7e4b97440bba36f65345a9359d609daa+188b4cc14b9321dd8b2b5872b94485f2cb4f6961 (cd1e0d6bfcb377fb29c6b2d235107e3b5b993660) 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 ‘prd-centos7-docker-4c-2g-1803’ is offline Running on prd-centos7-docker-4c-2g-1804 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 be245dca7e4b97440bba36f65345a9359d609daa Merge succeeded, producing be245dca7e4b97440bba36f65345a9359d609daa Checking out Revision be245dca7e4b97440bba36f65345a9359d609daa (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 be245dca7e4b97440bba36f65345a9359d609daa # 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 be245dca7e4b97440bba36f65345a9359d609daa # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-26T10:04:52.624Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-26T10:04:52.720Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-26T10:04:52.756Z] ========================================================= [2021-04-26T10:04:52.756Z] EdgeX Global Pipelines Version Info [2021-04-26T10:04:52.756Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk eb077a2e923156dfe7e56c7626544f9d712c7af1 # timeout=10 [2021-04-26T10:04:55.094Z] ------------------- [2021-04-26T10:04:55.094Z] stable info: [2021-04-26T10:04:55.094Z] ------------------- [2021-04-26T10:04:55.094Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-26T10:04:55.094Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-26T10:04:55.094Z] Message: update stable to v1.0.186 [2021-04-26T10:04:56.576Z] ------------------- [2021-04-26T10:04:56.576Z] experimental info: [2021-04-26T10:04:56.576Z] ------------------- [2021-04-26T10:04:56.576Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-26T10:04:56.576Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-26T10:04:56.576Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-26T10:04:56.709Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-26T10:04:56.733Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-26T10:04:56.757Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-26T10:04:56.781Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-26T10:04:56.805Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-26T10:04:56.829Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-26T10:04:56.861Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-26T10:04:56.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-26T10:04:56.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-26T10:04:56.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-26T10:04:56.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-26T10:04:56.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-26T10:04:57.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-26T10:04:57.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-26T10:04:57.068Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-26T10:04:57.093Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T10:04:57.117Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T10:04:57.142Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T10:04:57.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-26T10:04:57.191Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-26T10:04:57.215Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-26T10:04:57.238Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-26T10:04:57.262Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-26T10:04:57.286Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-26T10:04:57.315Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-26T10:04:57.340Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-26T10:04:57.364Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-887 [Pipeline] echo [2021-04-26T10:04:57.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-887 [Pipeline] echo [2021-04-26T10:04:57.415Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-887 [Pipeline] echo [2021-04-26T10:04:57.439Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be245dca7e4b97440bba36f65345a9359d609daa [Pipeline] echo [2021-04-26T10:04:57.470Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be245dc [Pipeline] echo [2021-04-26T10:04:57.493Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T10:04:57.568Z] provisioning config files... [2021-04-26T10:04:57.606Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config1404931351430021634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:04:57.934Z] ---> docker-login.sh [2021-04-26T10:04:57.934Z] nexus3.edgexfoundry.org:10001 [2021-04-26T10:04:58.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:04:58.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:04:58.800Z] Configure a credential helper to remove this warning. See [2021-04-26T10:04:58.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:04:58.800Z] [2021-04-26T10:04:58.800Z] Login Succeeded [2021-04-26T10:04:58.800Z] nexus3.edgexfoundry.org:10002 [2021-04-26T10:04:59.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:04:59.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:04:59.934Z] Configure a credential helper to remove this warning. See [2021-04-26T10:04:59.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:04:59.934Z] [2021-04-26T10:04:59.934Z] Login Succeeded [2021-04-26T10:04:59.934Z] nexus3.edgexfoundry.org:10003 [2021-04-26T10:05:00.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:00.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:00.205Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:00.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:00.205Z] [2021-04-26T10:05:00.205Z] Login Succeeded [2021-04-26T10:05:00.205Z] nexus3.edgexfoundry.org:10004 [2021-04-26T10:05:00.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:00.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:00.476Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:00.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:00.476Z] [2021-04-26T10:05:00.476Z] Login Succeeded [2021-04-26T10:05:00.476Z] docker.io [2021-04-26T10:05:00.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:05:00.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:05:00.741Z] Configure a credential helper to remove this warning. See [2021-04-26T10:05:00.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:05:00.741Z] [2021-04-26T10:05:00.741Z] Login Succeeded [2021-04-26T10:05:00.741Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T10:05:00.754Z] 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-26T10:05:01.205Z] + git log --format=format:%s -1 be245dca7e4b97440bba36f65345a9359d609daa [Pipeline] echo [2021-04-26T10:05:01.443Z] GIT_COMMIT: be245dca7e4b97440bba36f65345a9359d609daa, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo [2021-04-26T10:05:01.457Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:05:02.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T10:05:02.059Z] [2021-04-26T10:05:02.059Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:05:02.430Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T10:05:02.430Z] latest: Pulling from edgex-devops/git-semver [2021-04-26T10:05:02.430Z] 31603596830f: Pulling fs layer [2021-04-26T10:05:02.430Z] 2a8b12db71e7: Pulling fs layer [2021-04-26T10:05:02.430Z] 6ca5941a6612: Pulling fs layer [2021-04-26T10:05:02.430Z] ecc8261a40a4: Pulling fs layer [2021-04-26T10:05:02.430Z] ecc8261a40a4: Waiting [2021-04-26T10:05:02.430Z] 2a8b12db71e7: Verifying Checksum [2021-04-26T10:05:02.430Z] 2a8b12db71e7: Download complete [2021-04-26T10:05:02.706Z] 31603596830f: Download complete [2021-04-26T10:05:02.978Z] ecc8261a40a4: Verifying Checksum [2021-04-26T10:05:02.978Z] ecc8261a40a4: Download complete [2021-04-26T10:05:02.978Z] 6ca5941a6612: Verifying Checksum [2021-04-26T10:05:02.978Z] 6ca5941a6612: Download complete [2021-04-26T10:05:03.273Z] 31603596830f: Pull complete [2021-04-26T10:05:03.870Z] 2a8b12db71e7: Pull complete [2021-04-26T10:05:05.954Z] 6ca5941a6612: Pull complete [2021-04-26T10:05:05.954Z] ecc8261a40a4: Pull complete [2021-04-26T10:05:05.954Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-26T10:05:05.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T10:05:05.954Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-26T10:05:06.112Z] prd-centos7-docker-4c-2g-1804 does not seem to be running inside a container [2021-04-26T10:05:06.275Z] $ 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-26T10:05:09.954Z] $ docker top 02f64ace60021b9acbe132f2e41e71cdff477bf55fdbae457e91eab378e09146 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-26T10:05:10.611Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T10:05:10.611Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T10:05:11.631Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T10:05:11.639Z] $ docker exec 02f64ace60021b9acbe132f2e41e71cdff477bf55fdbae457e91eab378e09146 ssh-agent [2021-04-26T10:05:12.305Z] SSH_AUTH_SOCK=/tmp/ssh-5qB2Bvz2M3Px/agent.11 [2021-04-26T10:05:12.305Z] SSH_AGENT_PID=16 [2021-04-26T10:05:12.340Z] Running ssh-add (command line suppressed) [2021-04-26T10:05:12.917Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_2249134546690019063.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_2249134546690019063.key) [2021-04-26T10:05:13.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T10:05:14.136Z] + git tag --points-at HEAD [Pipeline] } [2021-04-26T10:05:14.198Z] $ docker exec --env ******** --env ******** 02f64ace60021b9acbe132f2e41e71cdff477bf55fdbae457e91eab378e09146 ssh-agent -k [2021-04-26T10:05:14.460Z] unset SSH_AUTH_SOCK; [2021-04-26T10:05:14.461Z] unset SSH_AGENT_PID; [2021-04-26T10:05:14.461Z] echo Agent pid 16 killed; [2021-04-26T10:05:14.543Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-26T10:05:14.581Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T10:05:14.581Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T10:05:14.921Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T10:05:14.927Z] $ docker exec 02f64ace60021b9acbe132f2e41e71cdff477bf55fdbae457e91eab378e09146 ssh-agent [2021-04-26T10:05:15.426Z] SSH_AUTH_SOCK=/tmp/ssh-VrCuFz1PlpZ9/agent.44 [2021-04-26T10:05:15.426Z] SSH_AGENT_PID=49 [2021-04-26T10:05:15.435Z] Running ssh-add (command line suppressed) [2021-04-26T10:05:15.683Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6872882028252460671.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6872882028252460671.key) [2021-04-26T10:05:15.827Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T10:05:16.930Z] + git semver init [2021-04-26T10:05:16.930Z] # -> Open(): unable to determine branch for HEAD [2021-04-26T10:05:16.930Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.git [2021-04-26T10:05:16.930Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-887 [2021-04-26T10:05:16.930Z] # $SEMVER_REMOTE_NAME = origin [2021-04-26T10:05:16.930Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-26T10:05:16.930Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-26T10:05:16.930Z] # $SEMVER_BRANCH = PR-887 [2021-04-26T10:05:16.930Z] # $SEMVER_TEMP = /tmp/semver-245752613 [2021-04-26T10:05:16.930Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-26T10:05:18.499Z] # '/tmp/semver-245752613' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver' [2021-04-26T10:05:18.499Z] # -> Force: false [2021-04-26T10:05:18.499Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver [Pipeline] } [2021-04-26T10:05:18.517Z] $ docker exec --env ******** --env ******** 02f64ace60021b9acbe132f2e41e71cdff477bf55fdbae457e91eab378e09146 ssh-agent -k [2021-04-26T10:05:18.666Z] unset SSH_AUTH_SOCK; [2021-04-26T10:05:18.666Z] unset SSH_AGENT_PID; [2021-04-26T10:05:18.666Z] echo Agent pid 49 killed; [2021-04-26T10:05:18.755Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-26T10:05:19.099Z] + git semver [Pipeline] } [2021-04-26T10:05:19.119Z] $ docker stop --time=1 02f64ace60021b9acbe132f2e41e71cdff477bf55fdbae457e91eab378e09146 [2021-04-26T10:05:20.628Z] $ docker rm -f 02f64ace60021b9acbe132f2e41e71cdff477bf55fdbae457e91eab378e09146 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T10:05:21.157Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-26T10:05:21.766Z] Stashed 1 file(s) [Pipeline] echo [2021-04-26T10:05:21.769Z] [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-26T10:05:36.948Z] Still waiting to schedule task [2021-04-26T10:05:36.949Z] ‘prd-centos7-docker-4c-2g-1809’ is offline [2021-04-26T10:05:36.954Z] Still waiting to schedule task [2021-04-26T10:05:36.954Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1805’ [2021-04-26T10:09:25.981Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1811 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws [2021-04-26T10:09:26.000Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-04-26T10:09:31.966Z] using credential edgex-jenkins-ssh [2021-04-26T10:09:31.985Z] Cloning the remote Git repository [2021-04-26T10:09:32.059Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:09:32.190Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-04-26T10:09:32.271Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:09:32.272Z] > git --version # timeout=10 [2021-04-26T10:09:32.290Z] > git --version # 'git version 2.17.1' [2021-04-26T10:09:32.292Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:09:32.385Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T10:09:34.278Z] Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit be245dca7e4b97440bba36f65345a9359d609daa [2021-04-26T10:09:34.521Z] Merge succeeded, producing be245dca7e4b97440bba36f65345a9359d609daa [2021-04-26T10:09:34.522Z] Checking out Revision be245dca7e4b97440bba36f65345a9359d609daa (PR-887) [2021-04-26T10:09:33.659Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T10:09:33.676Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T10:09:33.701Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T10:09:33.743Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:09:33.744Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:09:33.758Z] > 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-26T10:09:34.301Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T10:09:34.319Z] > git checkout -f be245dca7e4b97440bba36f65345a9359d609daa # timeout=10 [2021-04-26T10:09:34.425Z] > git remote # timeout=10 [2021-04-26T10:09:34.450Z] > git config --get remote.origin.url # timeout=10 [2021-04-26T10:09:34.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:09:34.478Z] > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 [2021-04-26T10:09:34.504Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-26T10:09:34.530Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T10:09:34.546Z] > git checkout -f be245dca7e4b97440bba36f65345a9359d609daa # timeout=10 [2021-04-26T10:09:38.964Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T10:09:40.469Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-26T10:09:40.908Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T10:09:41.253Z] + sudo service docker restart [2021-04-26T10:09:41.253Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T10:09:43.936Z] provisioning config files... [2021-04-26T10:09:43.982Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config5412073723563947388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:09:44.360Z] ---> docker-login.sh [2021-04-26T10:09:44.360Z] nexus3.edgexfoundry.org:10001 [2021-04-26T10:09:45.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:09:45.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:09:45.617Z] Configure a credential helper to remove this warning. See [2021-04-26T10:09:45.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:09:45.617Z] [2021-04-26T10:09:45.617Z] Login Succeeded [2021-04-26T10:09:45.617Z] nexus3.edgexfoundry.org:10002 [2021-04-26T10:09:45.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:09:46.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:09:46.165Z] Configure a credential helper to remove this warning. See [2021-04-26T10:09:46.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:09:46.165Z] [2021-04-26T10:09:46.165Z] Login Succeeded [2021-04-26T10:09:46.165Z] nexus3.edgexfoundry.org:10003 [2021-04-26T10:09:46.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:09:46.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:09:46.439Z] Configure a credential helper to remove this warning. See [2021-04-26T10:09:46.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:09:46.439Z] [2021-04-26T10:09:46.439Z] Login Succeeded [2021-04-26T10:09:46.439Z] nexus3.edgexfoundry.org:10004 [2021-04-26T10:09:47.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:09:47.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:09:47.038Z] Configure a credential helper to remove this warning. See [2021-04-26T10:09:47.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:09:47.038Z] [2021-04-26T10:09:47.038Z] Login Succeeded [2021-04-26T10:09:47.038Z] docker.io [2021-04-26T10:09:47.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:09:47.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:09:47.580Z] Configure a credential helper to remove this warning. See [2021-04-26T10:09:47.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:09:47.580Z] [2021-04-26T10:09:47.580Z] Login Succeeded [2021-04-26T10:09:47.852Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T10:09:47.868Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-26T10:09:48.149Z] ========================================================= [2021-04-26T10:09:48.149Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-26T10:09:48.149Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:09:48.518Z] + 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-26T10:09:48.803Z] Sending build context to Docker daemon 2.468MB [2021-04-26T10:09:49.091Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T10:09:49.091Z] Step 2/8 : FROM ${BASE} [2021-04-26T10:09:49.091Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-26T10:09:49.091Z] 5f621e34cdf4: Pulling fs layer [2021-04-26T10:09:49.091Z] a4357932f1b6: Pulling fs layer [2021-04-26T10:09:49.091Z] 18c013af1878: Pulling fs layer [2021-04-26T10:09:49.091Z] 00ac8860ef70: Pulling fs layer [2021-04-26T10:09:49.091Z] 63d7cb157983: Pulling fs layer [2021-04-26T10:09:49.091Z] b116817d02f9: Pulling fs layer [2021-04-26T10:09:49.091Z] 745a02a5169b: Pulling fs layer [2021-04-26T10:09:49.091Z] 63d7cb157983: Waiting [2021-04-26T10:09:49.091Z] b116817d02f9: Waiting [2021-04-26T10:09:49.091Z] 00ac8860ef70: Waiting [2021-04-26T10:09:49.091Z] 745a02a5169b: Waiting [2021-04-26T10:09:49.091Z] a4357932f1b6: Verifying Checksum [2021-04-26T10:09:49.091Z] a4357932f1b6: Download complete [2021-04-26T10:09:49.091Z] 18c013af1878: Verifying Checksum [2021-04-26T10:09:49.091Z] 18c013af1878: Download complete [2021-04-26T10:09:49.091Z] 63d7cb157983: Download complete [2021-04-26T10:09:49.091Z] b116817d02f9: Download complete [2021-04-26T10:09:49.091Z] 5f621e34cdf4: Verifying Checksum [2021-04-26T10:09:49.091Z] 5f621e34cdf4: Download complete [2021-04-26T10:09:50.079Z] 5f621e34cdf4: Pull complete [2021-04-26T10:09:50.394Z] a4357932f1b6: Pull complete [2021-04-26T10:09:51.000Z] 18c013af1878: Pull complete [2021-04-26T10:09:51.618Z] 745a02a5169b: Verifying Checksum [2021-04-26T10:09:51.618Z] 745a02a5169b: Download complete [2021-04-26T10:09:53.087Z] 00ac8860ef70: Verifying Checksum [2021-04-26T10:09:53.087Z] 00ac8860ef70: Download complete [2021-04-26T10:10:03.240Z] 00ac8860ef70: Pull complete [2021-04-26T10:10:03.240Z] 63d7cb157983: Pull complete [2021-04-26T10:10:03.240Z] b116817d02f9: Pull complete [2021-04-26T10:10:05.887Z] 745a02a5169b: Pull complete [2021-04-26T10:10:05.887Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-26T10:10:05.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-26T10:10:05.887Z] ---> b7e6874047d6 [2021-04-26T10:10:05.887Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:10:07.965Z] Running on prd-centos7-docker-4c-2g-1812 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws [2021-04-26T10:10:07.982Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-04-26T10:10:09.320Z] ---> Running in a7335b847b50 [2021-04-26T10:10:09.937Z] Removing intermediate container a7335b847b50 [2021-04-26T10:10:09.937Z] ---> 887c4d272c0f [2021-04-26T10:10:09.937Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:10:09.937Z] ---> Running in 25171cda49eb [2021-04-26T10:10:10.701Z] using credential edgex-jenkins-ssh [2021-04-26T10:10:10.716Z] Cloning the remote Git repository [2021-04-26T10:10:10.522Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:10:10.600Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-04-26T10:10:10.689Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:10:10.689Z] > git --version # timeout=10 [2021-04-26T10:10:10.698Z] > git --version # 'git version 2.24.3' [2021-04-26T10:10:10.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:10:10.747Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T10:10:12.257Z] Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit be245dca7e4b97440bba36f65345a9359d609daa [2021-04-26T10:10:12.355Z] Merge succeeded, producing be245dca7e4b97440bba36f65345a9359d609daa [2021-04-26T10:10:12.355Z] Checking out Revision be245dca7e4b97440bba36f65345a9359d609daa (PR-887) [2021-04-26T10:10:11.629Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T10:10:11.639Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T10:10:11.651Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T10:10:11.665Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T10:10:11.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:10:11.670Z] > 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-26T10:10:12.172Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T10:10:12.178Z] > git checkout -f be245dca7e4b97440bba36f65345a9359d609daa # timeout=10 [2021-04-26T10:10:12.231Z] > git remote # timeout=10 [2021-04-26T10:10:12.238Z] > git config --get remote.origin.url # timeout=10 [2021-04-26T10:10:12.246Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T10:10:12.251Z] > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 [2021-04-26T10:10:12.262Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-26T10:10:12.272Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T10:10:12.277Z] > git checkout -f be245dca7e4b97440bba36f65345a9359d609daa # timeout=10 [2021-04-26T10:10:12.568Z] Removing intermediate container 25171cda49eb [2021-04-26T10:10:12.568Z] ---> 331051c63ab2 [2021-04-26T10:10:12.568Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-26T10:10:12.568Z] ---> Running in c6d36f7c1828 [2021-04-26T10:10:13.546Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T10:10:14.135Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T10:10:15.110Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-26T10:10:15.110Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-26T10:10:15.110Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-26T10:10:15.110Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-26T10:10:15.386Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-26T10:10:15.386Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-26T10:10:15.386Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T10:10:15.386Z] OK: 144 MiB in 45 packages [2021-04-26T10:10:16.061Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T10:10:16.822Z] Removing intermediate container c6d36f7c1828 [2021-04-26T10:10:16.823Z] ---> 6e583621e83a [2021-04-26T10:10:16.823Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-26T10:10:16.823Z] ---> Running in 44233f4e76c4 [2021-04-26T10:10:17.085Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-26T10:10:17.417Z] Removing intermediate container 44233f4e76c4 [2021-04-26T10:10:17.417Z] ---> bd95ca085c50 [2021-04-26T10:10:17.417Z] Step 7/8 : COPY . . [2021-04-26T10:10:17.429Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T10:10:17.738Z] + sudo service docker restart [2021-04-26T10:10:17.738Z] + true [2021-04-26T10:10:17.738Z] Redirecting to /bin/systemctl restart docker.service [2021-04-26T10:10:18.872Z] ---> 3e1c9d0c15c5 [2021-04-26T10:10:18.872Z] Step 8/8 : RUN go mod download [2021-04-26T10:10:18.872Z] ---> Running in 7f0ff68ce263 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T10:10:19.166Z] provisioning config files... [2021-04-26T10:10:19.195Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config4222857432927356033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:10:19.515Z] ---> docker-login.sh [2021-04-26T10:10:19.515Z] nexus3.edgexfoundry.org:10001 [2021-04-26T10:10:19.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:10:20.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:10:20.044Z] Configure a credential helper to remove this warning. See [2021-04-26T10:10:20.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:10:20.044Z] [2021-04-26T10:10:20.044Z] Login Succeeded [2021-04-26T10:10:20.044Z] nexus3.edgexfoundry.org:10002 [2021-04-26T10:10:20.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:10:20.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:10:20.044Z] Configure a credential helper to remove this warning. See [2021-04-26T10:10:20.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:10:20.044Z] [2021-04-26T10:10:20.044Z] Login Succeeded [2021-04-26T10:10:20.044Z] nexus3.edgexfoundry.org:10003 [2021-04-26T10:10:20.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:10:20.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:10:20.307Z] Configure a credential helper to remove this warning. See [2021-04-26T10:10:20.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:10:20.307Z] [2021-04-26T10:10:20.307Z] Login Succeeded [2021-04-26T10:10:20.307Z] nexus3.edgexfoundry.org:10004 [2021-04-26T10:10:20.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:10:20.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:10:20.570Z] Configure a credential helper to remove this warning. See [2021-04-26T10:10:20.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:10:20.570Z] [2021-04-26T10:10:20.570Z] Login Succeeded [2021-04-26T10:10:20.570Z] docker.io [2021-04-26T10:10:20.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T10:10:20.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T10:10:20.833Z] Configure a credential helper to remove this warning. See [2021-04-26T10:10:20.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T10:10:20.833Z] [2021-04-26T10:10:20.833Z] Login Succeeded [2021-04-26T10:10:20.833Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T10:10:20.842Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-26T10:10:21.029Z] ========================================================= [2021-04-26T10:10:21.029Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-26T10:10:21.029Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:10:21.341Z] + 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-26T10:10:21.341Z] Sending build context to Docker daemon 2.469MB [2021-04-26T10:10:21.341Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T10:10:21.341Z] Step 2/8 : FROM ${BASE} [2021-04-26T10:10:21.605Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-26T10:10:21.605Z] 188c0c94c7c5: Pulling fs layer [2021-04-26T10:10:21.605Z] 0ef7d3d256c8: Pulling fs layer [2021-04-26T10:10:21.605Z] de9db76c5a1d: Pulling fs layer [2021-04-26T10:10:21.605Z] bca2f99d35d6: Pulling fs layer [2021-04-26T10:10:21.605Z] 93359f2a8cfa: Pulling fs layer [2021-04-26T10:10:21.605Z] 7c6f9722023f: Pulling fs layer [2021-04-26T10:10:21.605Z] a35cf1a2eb13: Pulling fs layer [2021-04-26T10:10:21.605Z] 93359f2a8cfa: Waiting [2021-04-26T10:10:21.605Z] 7c6f9722023f: Waiting [2021-04-26T10:10:21.605Z] a35cf1a2eb13: Waiting [2021-04-26T10:10:21.605Z] bca2f99d35d6: Waiting [2021-04-26T10:10:21.605Z] de9db76c5a1d: Verifying Checksum [2021-04-26T10:10:21.605Z] de9db76c5a1d: Download complete [2021-04-26T10:10:21.605Z] 0ef7d3d256c8: Verifying Checksum [2021-04-26T10:10:21.606Z] 0ef7d3d256c8: Download complete [2021-04-26T10:10:21.606Z] 93359f2a8cfa: Verifying Checksum [2021-04-26T10:10:21.606Z] 93359f2a8cfa: Download complete [2021-04-26T10:10:21.606Z] 188c0c94c7c5: Download complete [2021-04-26T10:10:21.606Z] 7c6f9722023f: Download complete [2021-04-26T10:10:21.873Z] 188c0c94c7c5: Pull complete [2021-04-26T10:10:22.135Z] 0ef7d3d256c8: Pull complete [2021-04-26T10:10:22.397Z] de9db76c5a1d: Pull complete [2021-04-26T10:10:23.798Z] a35cf1a2eb13: Verifying Checksum [2021-04-26T10:10:23.798Z] a35cf1a2eb13: Download complete [2021-04-26T10:10:24.383Z] bca2f99d35d6: Verifying Checksum [2021-04-26T10:10:24.383Z] bca2f99d35d6: Download complete [2021-04-26T10:10:29.911Z] bca2f99d35d6: Pull complete [2021-04-26T10:10:29.911Z] 93359f2a8cfa: Pull complete [2021-04-26T10:10:30.492Z] 7c6f9722023f: Pull complete [2021-04-26T10:10:34.753Z] a35cf1a2eb13: Pull complete [2021-04-26T10:10:34.753Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-26T10:10:34.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-26T10:10:34.753Z] ---> a62c8e92a672 [2021-04-26T10:10:34.753Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:10:34.753Z] ---> Running in 736ed16ba221 [2021-04-26T10:10:34.753Z] Removing intermediate container 736ed16ba221 [2021-04-26T10:10:34.753Z] ---> fbc3d18e5b96 [2021-04-26T10:10:34.753Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:10:34.753Z] ---> Running in d6c20499867e [2021-04-26T10:10:35.707Z] Removing intermediate container d6c20499867e [2021-04-26T10:10:35.707Z] ---> 6ed6b88939be [2021-04-26T10:10:35.707Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-26T10:10:35.707Z] ---> Running in 45571b08e5fd [2021-04-26T10:10:36.658Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T10:10:37.233Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T10:10:37.809Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-26T10:10:37.809Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-26T10:10:37.809Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-26T10:10:38.072Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-26T10:10:38.072Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-26T10:10:38.072Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-26T10:10:38.335Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T10:10:38.335Z] OK: 167 MiB in 45 packages [2021-04-26T10:10:38.911Z] Removing intermediate container 45571b08e5fd [2021-04-26T10:10:38.911Z] ---> 9008cea15f85 [2021-04-26T10:10:38.911Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-26T10:10:38.911Z] ---> Running in a003cf042eba [2021-04-26T10:10:39.173Z] Removing intermediate container a003cf042eba [2021-04-26T10:10:39.174Z] ---> 00ba8cb39945 [2021-04-26T10:10:39.174Z] Step 7/8 : COPY . . [2021-04-26T10:10:40.122Z] ---> 6dd562bbe4c0 [2021-04-26T10:10:40.122Z] Step 8/8 : RUN go mod download [2021-04-26T10:10:40.386Z] ---> Running in 430cc007c88b [2021-04-26T10:10:45.676Z] Removing intermediate container 7f0ff68ce263 [2021-04-26T10:10:45.676Z] ---> 1b3708dcdf93 [2021-04-26T10:10:45.676Z] Successfully built 1b3708dcdf93 [2021-04-26T10:10:45.676Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:10:46.023Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T10:10:46.023Z] . [Pipeline] withDockerContainer [2021-04-26T10:10:46.300Z] prd-ubuntu18.04-docker-arm64-4c-16g-1811 does not seem to be running inside a container [2021-04-26T10:10:46.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-26T10:10:47.903Z] $ docker top 76c4255f5d121fcacade48f4cc2bffbdf601869cb794be27918e21972be35659 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:10:48.867Z] + go version [2021-04-26T10:10:48.867Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-26T10:10:48.890Z] $ docker stop --time=1 76c4255f5d121fcacade48f4cc2bffbdf601869cb794be27918e21972be35659 [2021-04-26T10:10:50.811Z] $ docker rm -f 76c4255f5d121fcacade48f4cc2bffbdf601869cb794be27918e21972be35659 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:10:51.510Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T10:10:51.510Z] . [Pipeline] withDockerContainer [2021-04-26T10:10:51.746Z] prd-ubuntu18.04-docker-arm64-4c-16g-1811 does not seem to be running inside a container [2021-04-26T10:10:51.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-26T10:10:53.297Z] $ docker top 86c05381da83538d1dfd4a18afd02b0caf17f28a86de03a2ecfc7b7cc23254e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:10:54.224Z] + make test [2021-04-26T10:10:54.224Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-26T10:11:02.415Z] Removing intermediate container 430cc007c88b [2021-04-26T10:11:02.415Z] ---> 4fb63a4e1add [2021-04-26T10:11:02.415Z] Successfully built 4fb63a4e1add [2021-04-26T10:11:02.415Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:11:02.738Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T10:11:02.738Z] . [Pipeline] withDockerContainer [2021-04-26T10:11:02.871Z] prd-centos7-docker-4c-2g-1812 does not seem to be running inside a container [2021-04-26T10:11:02.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-26T10:11:03.777Z] $ docker top e4a719936a6afde205b50cc96941b08fe6ef75ac7032380e0f9d3ddffe42233f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:11:04.187Z] + go version [2021-04-26T10:11:04.187Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-26T10:11:04.207Z] $ docker stop --time=1 e4a719936a6afde205b50cc96941b08fe6ef75ac7032380e0f9d3ddffe42233f [2021-04-26T10:11:05.562Z] $ docker rm -f e4a719936a6afde205b50cc96941b08fe6ef75ac7032380e0f9d3ddffe42233f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:11:06.071Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T10:11:06.071Z] . [Pipeline] withDockerContainer [2021-04-26T10:11:06.169Z] prd-centos7-docker-4c-2g-1812 does not seem to be running inside a container [2021-04-26T10:11:06.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-26T10:11:06.813Z] $ docker top 4ca3e67d624b160b534996158a3e79e0b41eb3ef60e4de82a91007ad22beb088 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:11:07.212Z] + make test [2021-04-26T10:11:07.212Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-26T10:11:15.406Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-26T10:11:16.406Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-26T10:11:33.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-26T10:11:33.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-26T10:11:33.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-26T10:11:33.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-26T10:11:33.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-26T10:11:37.913Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.066s coverage: 28.1% of statements [2021-04-26T10:11:37.913Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements [2021-04-26T10:11:38.497Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.080s coverage: 7.8% of statements [2021-04-26T10:11:38.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-26T10:11:38.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-26T10:11:38.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-26T10:11:38.497Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.090s coverage: 32.0% of statements [2021-04-26T10:11:38.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-26T10:11:38.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-26T10:11:38.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T10:11:39.456Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 57.2% of statements [2021-04-26T10:11:39.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.227s coverage: 6.6% of statements [2021-04-26T10:11:40.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.076s coverage: 5.0% of statements [2021-04-26T10:11:40.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-26T10:11:40.318Z] GO111MODULE=on go vet ./... [2021-04-26T10:11:58.723Z] gofmt -l . [2021-04-26T10:11:58.723Z] [ "`gofmt -l .`" = "" ] [2021-04-26T10:11:58.723Z] ./bin/test-attribution-txt.sh [2021-04-26T10:11:58.723Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-26T10:11:58.743Z] $ docker stop --time=1 4ca3e67d624b160b534996158a3e79e0b41eb3ef60e4de82a91007ad22beb088 [2021-04-26T10:12:00.467Z] $ docker rm -f 4ca3e67d624b160b534996158a3e79e0b41eb3ef60e4de82a91007ad22beb088 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T10:12:01.132Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T10:12:01.548Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-26T10:12:02.572Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-26T10:12:02.875Z] + ls -al . [2021-04-26T10:12:02.875Z] total 188 [2021-04-26T10:12:02.875Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 26 10:11 . [2021-04-26T10:12:02.875Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 26 10:10 .. [2021-04-26T10:12:02.875Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 26 10:10 bin [2021-04-26T10:12:02.875Z] -rw-r--r--. 1 jenkins jenkins 100024 Apr 26 10:11 coverage.out [2021-04-26T10:12:02.875Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 26 10:10 Dockerfile.build [2021-04-26T10:12:02.875Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 26 10:10 .dockerignore [2021-04-26T10:12:02.875Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 26 10:10 example [2021-04-26T10:12:02.875Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 26 10:10 .git [2021-04-26T10:12:02.875Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 26 10:10 .github [2021-04-26T10:12:02.876Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 26 10:10 .gitignore [2021-04-26T10:12:02.876Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 26 10:11 go.mod [2021-04-26T10:12:02.876Z] -rw-r--r--. 1 jenkins jenkins 21068 Apr 26 10:11 go.sum [2021-04-26T10:12:02.876Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 26 10:10 internal [2021-04-26T10:12:02.876Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 26 10:10 Jenkinsfile [2021-04-26T10:12:02.876Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 26 10:10 LICENSE [2021-04-26T10:12:02.876Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 26 10:10 Makefile [2021-04-26T10:12:02.876Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 26 10:10 openapi [2021-04-26T10:12:02.876Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 26 10:10 pkg [2021-04-26T10:12:02.876Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 26 10:10 README.md [2021-04-26T10:12:02.876Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 26 10:10 RELEASE-NOTES.txt [2021-04-26T10:12:02.876Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 26 10:10 snap [2021-04-26T10:12:02.876Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 26 10:05 VERSION [2021-04-26T10:12:02.876Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 26 10:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:12:03.186Z] + 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=be245dca7e4b97440bba36f65345a9359d609daa --label arch=amd64 --label version=0.0.0 . [2021-04-26T10:12:03.450Z] Sending build context to Docker daemon 2.57MB [2021-04-26T10:12:03.450Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T10:12:03.450Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-26T10:12:03.450Z] ---> 4fb63a4e1add [2021-04-26T10:12:03.450Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-26T10:12:04.026Z] ---> Running in 35d5b2024747 [2021-04-26T10:12:04.289Z] Removing intermediate container 35d5b2024747 [2021-04-26T10:12:04.289Z] ---> dfe164ac1e5f [2021-04-26T10:12:04.289Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:12:04.289Z] ---> Running in fd2cebb28fea [2021-04-26T10:12:04.552Z] Removing intermediate container fd2cebb28fea [2021-04-26T10:12:04.552Z] ---> b709c79256d7 [2021-04-26T10:12:04.552Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:12:04.552Z] ---> Running in f95b2c53b7e4 [2021-04-26T10:12:05.503Z] Removing intermediate container f95b2c53b7e4 [2021-04-26T10:12:05.503Z] ---> 3837484aa0fb [2021-04-26T10:12:05.503Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-26T10:12:05.503Z] ---> Running in 535b0d8cbe97 [2021-04-26T10:12:06.081Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T10:12:06.656Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T10:12:07.238Z] OK: 167 MiB in 45 packages [2021-04-26T10:12:07.815Z] Removing intermediate container 535b0d8cbe97 [2021-04-26T10:12:07.815Z] ---> 21af328a16e2 [2021-04-26T10:12:07.815Z] Step 7/23 : COPY . . [2021-04-26T10:12:08.762Z] ---> d7ba12029a51 [2021-04-26T10:12:08.762Z] Step 8/23 : RUN go mod download [2021-04-26T10:12:08.762Z] ---> Running in b39c2802376e [2021-04-26T10:12:09.732Z] Removing intermediate container b39c2802376e [2021-04-26T10:12:09.732Z] ---> a52413a590b4 [2021-04-26T10:12:09.732Z] Step 9/23 : RUN make build [2021-04-26T10:12:09.997Z] ---> Running in a72eb6eed946 [2021-04-26T10:12:10.589Z] 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-26T10:12:13.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-26T10:12:13.035Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-26T10:12:13.035Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-26T10:12:13.035Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-26T10:12:13.035Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-26T10:12:17.393Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.156s coverage: 28.1% of statements [2021-04-26T10:12:17.671Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.274s coverage: 78.9% of statements [2021-04-26T10:12:17.671Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.131s coverage: 7.8% of statements [2021-04-26T10:12:17.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-26T10:12:17.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-26T10:12:17.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-26T10:12:20.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.356s coverage: 32.0% of statements [2021-04-26T10:12:20.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-26T10:12:20.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-26T10:12:20.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T10:12:22.963Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-26T10:12:23.541Z] Removing intermediate container a72eb6eed946 [2021-04-26T10:12:23.541Z] ---> f7a7be37ce8d [2021-04-26T10:12:23.541Z] Step 10/23 : FROM alpine:3.12 [2021-04-26T10:12:23.745Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.301s coverage: 57.2% of statements [2021-04-26T10:12:23.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.085s coverage: 6.6% of statements [2021-04-26T10:12:23.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 5.0% of statements [2021-04-26T10:12:23.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-26T10:12:23.803Z] 3.12: Pulling from library/alpine [2021-04-26T10:12:24.020Z] GO111MODULE=on go vet ./... [2021-04-26T10:12:24.066Z] 339de151aab4: Pulling fs layer [2021-04-26T10:12:24.066Z] 339de151aab4: Verifying Checksum [2021-04-26T10:12:24.066Z] 339de151aab4: Download complete [2021-04-26T10:12:24.335Z] 339de151aab4: Pull complete [2021-04-26T10:12:24.335Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-26T10:12:24.335Z] Status: Downloaded newer image for alpine:3.12 [2021-04-26T10:12:24.335Z] ---> 13621d1b12d4 [2021-04-26T10:12:24.335Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:12:24.598Z] ---> Running in a497d81fccfa [2021-04-26T10:12:24.598Z] Removing intermediate container a497d81fccfa [2021-04-26T10:12:24.598Z] ---> 8282930aa8ee [2021-04-26T10:12:24.598Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:12:24.862Z] ---> Running in 9b1d5ec1660a [2021-04-26T10:12:25.824Z] Removing intermediate container 9b1d5ec1660a [2021-04-26T10:12:25.824Z] ---> d8d0cb706b05 [2021-04-26T10:12:25.824Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-26T10:12:26.099Z] ---> Running in 3af2c09d3aab [2021-04-26T10:12:26.366Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T10:12:26.941Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T10:12:28.334Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-26T10:12:28.596Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-26T10:12:28.859Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-26T10:12:29.121Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-26T10:12:29.121Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-26T10:12:29.121Z] Executing busybox-1.31.1-r20.trigger [2021-04-26T10:12:29.121Z] OK: 8 MiB in 19 packages [2021-04-26T10:12:29.696Z] Removing intermediate container 3af2c09d3aab [2021-04-26T10:12:29.696Z] ---> 3d03685065be [2021-04-26T10:12:29.696Z] Step 14/23 : WORKDIR / [2021-04-26T10:12:29.696Z] ---> Running in 20c948d44d8d [2021-04-26T10:12:29.959Z] Removing intermediate container 20c948d44d8d [2021-04-26T10:12:29.959Z] ---> a000a453f3cc [2021-04-26T10:12:29.959Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-26T10:12:30.222Z] ---> 375701b592fd [2021-04-26T10:12:30.222Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-26T10:12:30.798Z] ---> 76137aad34af [2021-04-26T10:12:30.798Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-26T10:12:31.062Z] ---> 1ec6ab2258bd [2021-04-26T10:12:31.062Z] Step 18/23 : EXPOSE 49990 [2021-04-26T10:12:31.062Z] ---> Running in ef9838708f9f [2021-04-26T10:12:32.009Z] Removing intermediate container ef9838708f9f [2021-04-26T10:12:32.009Z] ---> 3518d80e6fbc [2021-04-26T10:12:32.009Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-26T10:12:32.010Z] ---> Running in e9fc4b4d901b [2021-04-26T10:12:32.010Z] Removing intermediate container e9fc4b4d901b [2021-04-26T10:12:32.010Z] ---> f68ae1978da7 [2021-04-26T10:12:32.010Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-26T10:12:32.274Z] ---> Running in 11817454512c [2021-04-26T10:12:32.274Z] Removing intermediate container 11817454512c [2021-04-26T10:12:32.274Z] ---> 35247bfe205a [2021-04-26T10:12:32.274Z] Step 21/23 : LABEL arch=amd64 [2021-04-26T10:12:32.274Z] ---> Running in 4fb0903a4b8e [2021-04-26T10:12:32.537Z] Removing intermediate container 4fb0903a4b8e [2021-04-26T10:12:32.537Z] ---> bc69f5fef1d9 [2021-04-26T10:12:32.537Z] Step 22/23 : LABEL git_sha=be245dca7e4b97440bba36f65345a9359d609daa [2021-04-26T10:12:32.537Z] ---> Running in 33faff16d9c0 [2021-04-26T10:12:32.800Z] Removing intermediate container 33faff16d9c0 [2021-04-26T10:12:32.800Z] ---> 78f8ec4d5ed6 [2021-04-26T10:12:32.800Z] Step 23/23 : LABEL version=0.0.0 [2021-04-26T10:12:32.800Z] ---> Running in 00f6434fada3 [2021-04-26T10:12:33.062Z] Removing intermediate container 00f6434fada3 [2021-04-26T10:12:33.062Z] ---> 2bbe84acf334 [2021-04-26T10:12:33.063Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-26T10:12:33.063Z] Successfully built 2bbe84acf334 [2021-04-26T10:12:33.063Z] 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-26T10:12:33.619Z] ---> job-cost.sh [2021-04-26T10:12:33.619Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4KjD [2021-04-26T10:12:48.555Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T10:13:11.085Z] gofmt -l . [2021-04-26T10:13:11.085Z] [ "`gofmt -l .`" = "" ] [2021-04-26T10:13:11.085Z] ./bin/test-attribution-txt.sh [2021-04-26T10:13:11.085Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-26T10:13:11.108Z] $ docker stop --time=1 86c05381da83538d1dfd4a18afd02b0caf17f28a86de03a2ecfc7b7cc23254e3 [2021-04-26T10:13:13.423Z] $ docker rm -f 86c05381da83538d1dfd4a18afd02b0caf17f28a86de03a2ecfc7b7cc23254e3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T10:13:14.517Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T10:13:14.550Z] Warning: overwriting stash ‘coverage-report’ [2021-04-26T10:13:15.213Z] lf-activate-venv(): INFO: Adding /tmp/venv-4KjD/bin to PATH [2021-04-26T10:13:15.213Z] INFO: No Stack... [2021-04-26T10:13:15.594Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T10:13:16.050Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-26T10:13:16.167Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T10:13:16.424Z] + ls -al . [2021-04-26T10:13:16.424Z] total 224 [2021-04-26T10:13:16.424Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 10:13 . [2021-04-26T10:13:16.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:09 .. [2021-04-26T10:13:16.425Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 10:09 .dockerignore [2021-04-26T10:13:16.425Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 10:09 .git [2021-04-26T10:13:16.425Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 10:09 .github [2021-04-26T10:13:16.425Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 26 10:09 .gitignore [2021-04-26T10:13:16.425Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 26 10:09 Dockerfile.build [2021-04-26T10:13:16.425Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 26 10:09 Jenkinsfile [2021-04-26T10:13:16.425Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 10:09 LICENSE [2021-04-26T10:13:16.425Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 26 10:09 Makefile [2021-04-26T10:13:16.425Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 26 10:09 README.md [2021-04-26T10:13:16.425Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 26 10:09 RELEASE-NOTES.txt [2021-04-26T10:13:16.425Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 10:05 VERSION [2021-04-26T10:13:16.425Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 10:09 bin [2021-04-26T10:13:16.425Z] -rw-r--r-- 1 jenkins jenkins 100024 Apr 26 10:12 coverage.out [2021-04-26T10:13:16.425Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 10:09 example [2021-04-26T10:13:16.425Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 26 10:13 go.mod [2021-04-26T10:13:16.425Z] -rw-r--r-- 1 jenkins jenkins 21068 Apr 26 10:13 go.sum [2021-04-26T10:13:16.425Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 26 10:09 internal [2021-04-26T10:13:16.425Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:09 openapi [2021-04-26T10:13:16.425Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 10:09 pkg [2021-04-26T10:13:16.425Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:09 snap [2021-04-26T10:13:16.425Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 10:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:13:16.747Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T10:13:16.825Z] + 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=be245dca7e4b97440bba36f65345a9359d609daa --label arch=arm64 --label version=0.0.0 . [2021-04-26T10:13:17.056Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-04-26T10:13:17.056Z] + cut -d, -f6 [2021-04-26T10:13:17.107Z] Sending build context to Docker daemon 2.569MB [Pipeline] lock [2021-04-26T10:13:17.136Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-4-stack-cost] [2021-04-26T10:13:17.151Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-4-stack-cost] did not exist. Created. [2021-04-26T10:13:17.151Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T10:13:17.389Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T10:13:17.389Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-26T10:13:17.389Z] ---> 1b3708dcdf93 [2021-04-26T10:13:17.389Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-26T10:13:17.389Z] ---> Running in 2b289d319751 [2021-04-26T10:13:17.478Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-26T10:13:17.594Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T10:13:17.606Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-26T10:13:17.994Z] Removing intermediate container 2b289d319751 [2021-04-26T10:13:17.994Z] ---> e8d6be601c86 [2021-04-26T10:13:17.994Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:13:18.288Z] ---> Running in 6c804cfb237e [2021-04-26T10:13:18.576Z] Removing intermediate container 6c804cfb237e [2021-04-26T10:13:18.576Z] ---> 379fcc7d6f84 [2021-04-26T10:13:18.576Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:13:18.576Z] ---> Running in e5c4f41182ec [2021-04-26T10:13:20.565Z] Removing intermediate container e5c4f41182ec [2021-04-26T10:13:20.565Z] ---> ee998994be10 [2021-04-26T10:13:20.565Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-26T10:13:20.839Z] ---> Running in f7d13c4c4323 [2021-04-26T10:13:21.815Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T10:13:22.794Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T10:13:23.388Z] OK: 144 MiB in 45 packages [2021-04-26T10:13:24.376Z] Removing intermediate container f7d13c4c4323 [2021-04-26T10:13:24.376Z] ---> a36d395a0836 [2021-04-26T10:13:24.376Z] Step 7/23 : COPY . . [2021-04-26T10:13:25.808Z] ---> d845f018e04d [2021-04-26T10:13:25.808Z] Step 8/23 : RUN go mod download [2021-04-26T10:13:25.808Z] ---> Running in db44f90e8fe8 [2021-04-26T10:13:28.426Z] Removing intermediate container db44f90e8fe8 [2021-04-26T10:13:28.426Z] ---> 6ac9f4e8b872 [2021-04-26T10:13:28.426Z] Step 9/23 : RUN make build [2021-04-26T10:13:28.426Z] ---> Running in 955931cb4eba [2021-04-26T10:13:29.403Z] 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-26T10:14:01.764Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-26T10:14:04.381Z] Removing intermediate container 955931cb4eba [2021-04-26T10:14:04.381Z] ---> 7b380e80c7d7 [2021-04-26T10:14:04.381Z] Step 10/23 : FROM alpine:3.12 [2021-04-26T10:14:04.381Z] 3.12: Pulling from library/alpine [2021-04-26T10:14:04.381Z] d2f70382dc9a: Pulling fs layer [2021-04-26T10:14:04.654Z] d2f70382dc9a: Verifying Checksum [2021-04-26T10:14:04.654Z] d2f70382dc9a: Download complete [2021-04-26T10:14:05.249Z] d2f70382dc9a: Pull complete [2021-04-26T10:14:05.249Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-26T10:14:05.249Z] Status: Downloaded newer image for alpine:3.12 [2021-04-26T10:14:05.249Z] ---> 9852663dfa18 [2021-04-26T10:14:05.249Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T10:14:05.521Z] ---> Running in e0f201b9fd28 [2021-04-26T10:14:05.795Z] Removing intermediate container e0f201b9fd28 [2021-04-26T10:14:05.795Z] ---> 084c11d72ea8 [2021-04-26T10:14:05.795Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T10:14:06.080Z] ---> Running in c142125c7256 [2021-04-26T10:14:08.058Z] Removing intermediate container c142125c7256 [2021-04-26T10:14:08.058Z] ---> 70b309645aa5 [2021-04-26T10:14:08.058Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-26T10:14:08.058Z] ---> Running in 687983c5ef5f [2021-04-26T10:14:09.041Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T10:14:10.019Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T10:14:10.610Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-26T10:14:10.610Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-26T10:14:10.880Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-26T10:14:11.156Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-26T10:14:11.156Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-26T10:14:11.156Z] Executing busybox-1.31.1-r20.trigger [2021-04-26T10:14:11.156Z] OK: 8 MiB in 19 packages [2021-04-26T10:14:12.590Z] Removing intermediate container 687983c5ef5f [2021-04-26T10:14:12.590Z] ---> 1d3a93bc98b4 [2021-04-26T10:14:12.590Z] Step 14/23 : WORKDIR / [2021-04-26T10:14:12.590Z] ---> Running in b11696926bff [2021-04-26T10:14:13.184Z] Removing intermediate container b11696926bff [2021-04-26T10:14:13.184Z] ---> 0c8d7af120ae [2021-04-26T10:14:13.184Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-26T10:14:13.780Z] ---> 55a4995030b8 [2021-04-26T10:14:13.780Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-26T10:14:15.214Z] ---> 8c11bd4e1c1e [2021-04-26T10:14:15.214Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-26T10:14:15.817Z] ---> c76dc8ad042c [2021-04-26T10:14:15.817Z] Step 18/23 : EXPOSE 49990 [2021-04-26T10:14:15.817Z] ---> Running in f5540ba9d39b [2021-04-26T10:14:16.418Z] Removing intermediate container f5540ba9d39b [2021-04-26T10:14:16.419Z] ---> d6e8c031a691 [2021-04-26T10:14:16.419Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-26T10:14:16.419Z] ---> Running in 5bb9b6425f4d [2021-04-26T10:14:17.015Z] Removing intermediate container 5bb9b6425f4d [2021-04-26T10:14:17.015Z] ---> 89cca01ce68a [2021-04-26T10:14:17.015Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-26T10:14:17.015Z] ---> Running in ef4debaca0cd [2021-04-26T10:14:17.610Z] Removing intermediate container ef4debaca0cd [2021-04-26T10:14:17.610Z] ---> 8301cb849251 [2021-04-26T10:14:17.610Z] Step 21/23 : LABEL arch=arm64 [2021-04-26T10:14:17.610Z] ---> Running in e5382309e329 [2021-04-26T10:14:18.206Z] Removing intermediate container e5382309e329 [2021-04-26T10:14:18.206Z] ---> 2bb34f1379aa [2021-04-26T10:14:18.206Z] Step 22/23 : LABEL git_sha=be245dca7e4b97440bba36f65345a9359d609daa [2021-04-26T10:14:18.206Z] ---> Running in 7b55ac207958 [2021-04-26T10:14:18.802Z] Removing intermediate container 7b55ac207958 [2021-04-26T10:14:18.802Z] ---> 7d495ac4b532 [2021-04-26T10:14:18.802Z] Step 23/23 : LABEL version=0.0.0 [2021-04-26T10:14:18.802Z] ---> Running in c13c0bb292fc [2021-04-26T10:14:19.397Z] Removing intermediate container c13c0bb292fc [2021-04-26T10:14:19.397Z] ---> 0fc8862e5c52 [2021-04-26T10:14:19.397Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-26T10:14:19.397Z] Successfully built 0fc8862e5c52 [2021-04-26T10:14:19.397Z] 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-26T10:14:19.881Z] ---> job-cost.sh [2021-04-26T10:14:19.881Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-luS8 [2021-04-26T10:14:58.848Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T10:16:20.566Z] lf-activate-venv(): INFO: Adding /tmp/venv-luS8/bin to PATH [2021-04-26T10:16:20.566Z] INFO: No Stack... [2021-04-26T10:16:20.566Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-26T10:16:20.566Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T10:16:20.901Z] + cut -d, -f6 [2021-04-26T10:16:20.901Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock [2021-04-26T10:16:21.032Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-4-stack-cost] [2021-04-26T10:16:21.045Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-4-stack-cost] did not exist. Created. [2021-04-26T10:16:21.045Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T10:16:21.411Z] /w/workspace/device-sdk-go/4@tmp/durable-b145fe86/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-b145fe86/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-26T10:16:21.757Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-26T10:16:21.779Z] Warning: overwriting stash ‘stack-cost’ [2021-04-26T10:16:21.935Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T10:16:21.949Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-4-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-26T10:16:22.609Z] provisioning config files... [2021-04-26T10:16:22.626Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config6278189719213507196tmp [Pipeline] { [Pipeline] sh [2021-04-26T10:16:23.076Z] + set +x [2021-04-26T10:16:23.076Z] + bash -s -- [2021-04-26T10:16:23.076Z] + curl -s https://codecov.io/bash [2021-04-26T10:16:23.350Z] [2021-04-26T10:16:23.350Z] _____ _ [2021-04-26T10:16:23.350Z] / ____| | | [2021-04-26T10:16:23.350Z] | | ___ __| | ___ ___ _____ __ [2021-04-26T10:16:23.350Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-26T10:16:23.350Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-26T10:16:23.350Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-26T10:16:23.350Z] Bash-1.0.2 [2021-04-26T10:16:23.350Z] [2021-04-26T10:16:23.350Z] [2021-04-26T10:16:23.350Z] ==> git version 2.24.3 found [2021-04-26T10:16:23.350Z] ==> 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-26T10:16:23.350Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-26T10:16:23.350Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-26T10:16:23.350Z] ==> Jenkins CI detected. [2021-04-26T10:16:23.350Z] project root: . [2021-04-26T10:16:23.350Z] --> token set from env [2021-04-26T10:16:23.350Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-26T10:16:23.350Z] ==> Running gcov in . (disable via -X gcov) [2021-04-26T10:16:23.350Z] ==> Python coveragepy not found [2021-04-26T10:16:23.350Z] ==> Searching for coverage reports in: [2021-04-26T10:16:23.350Z] + . [2021-04-26T10:16:23.350Z] -> Found 1 reports [2021-04-26T10:16:23.350Z] ==> Detecting git/mercurial file structure [2021-04-26T10:16:23.640Z] ==> Reading reports [2021-04-26T10:16:23.640Z] + ./coverage.out bytes=100024 [2021-04-26T10:16:23.640Z] ==> Appending adjustments [2021-04-26T10:16:23.640Z] https://docs.codecov.io/docs/fixing-reports [2021-04-26T10:16:24.272Z] + Found adjustments [2021-04-26T10:16:24.272Z] ==> Gzipping contents [2021-04-26T10:16:24.272Z] 16K /tmp/codecov.tCx2Ft.gz [2021-04-26T10:16:24.272Z] ==> Uploading reports [2021-04-26T10:16:24.272Z] url: https://codecov.io [2021-04-26T10:16:24.273Z] query: branch=PR-887&commit=be245dca7e4b97440bba36f65345a9359d609daa&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= [2021-04-26T10:16:24.273Z] -> Pinging Codecov [2021-04-26T10:16:24.273Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-887&commit=be245dca7e4b97440bba36f65345a9359d609daa&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= [2021-04-26T10:16:24.856Z] -> Uploading to [2021-04-26T10:16:24.856Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-26/7E55EF52A471D76F132DFD9A03CDDE97/be245dca7e4b97440bba36f65345a9359d609daa/a7e90cd1-3b31-44ae-bbf7-c91299c7a4a0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210426T101624Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2e31631c969e5e5c483e7b677de2874ffec011f2fe394940855afd6ee686959d [2021-04-26T10:16:24.856Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-26T10:16:24.856Z] Dload Upload Total Spent Left Speed [2021-04-26T10:16:25.120Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13519 0 0 100 13519 0 29192 --:--:-- --:--:-- --:--:-- 29198 100 13519 0 0 100 13519 0 29173 --:--:-- --:--:-- --:--:-- 29135 [2021-04-26T10:16:25.120Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/be245dca7e4b97440bba36f65345a9359d609daa [Pipeline] } [2021-04-26T10:16:25.132Z] 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-26T10:16:26.266Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:16:26.950Z] ---> package-listing.sh [2021-04-26T10:16:26.950Z] ++ facter osfamily [2021-04-26T10:16:26.950Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-26T10:16:26.950Z] + OS_FAMILY=redhat [2021-04-26T10:16:26.950Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-887 [2021-04-26T10:16:26.950Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-26T10:16:26.950Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-26T10:16:26.950Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-26T10:16:26.950Z] + PACKAGES=/tmp/packages_start.txt [2021-04-26T10:16:26.950Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' [2021-04-26T10:16:26.950Z] + PACKAGES=/tmp/packages_end.txt [2021-04-26T10:16:26.950Z] + case "${OS_FAMILY}" in [2021-04-26T10:16:26.950Z] + rpm -qa [2021-04-26T10:16:26.950Z] + sort [2021-04-26T10:16:35.265Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-26T10:16:35.265Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-26T10:16:35.265Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-26T10:16:35.265Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' [2021-04-26T10:16:35.265Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [2021-04-26T10:16:35.265Z] + 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-26T10:16:35.286Z] 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-26T10:16:35.601Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:16:36.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T10:16:36.513Z] [2021-04-26T10:16:36.513Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-26T10:16:36.945Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T10:16:37.216Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-26T10:16:37.216Z] df20fa9351a1: Pulling fs layer [2021-04-26T10:16:37.216Z] 36b3adc4ff6f: Pulling fs layer [2021-04-26T10:16:37.216Z] 8ad3a11d3b57: Pulling fs layer [2021-04-26T10:16:37.216Z] 46f8f816bc3b: Pulling fs layer [2021-04-26T10:16:37.216Z] 93b61091891f: Pulling fs layer [2021-04-26T10:16:37.216Z] 93b9cdb0e59b: Pulling fs layer [2021-04-26T10:16:37.216Z] 5e14af77c1be: Pulling fs layer [2021-04-26T10:16:37.216Z] 01666e4c0597: Pulling fs layer [2021-04-26T10:16:37.216Z] aa168da1d23b: Pulling fs layer [2021-04-26T10:16:37.216Z] 46f8f816bc3b: Waiting [2021-04-26T10:16:37.216Z] 5e14af77c1be: Waiting [2021-04-26T10:16:37.216Z] 01666e4c0597: Waiting [2021-04-26T10:16:37.216Z] 93b61091891f: Waiting [2021-04-26T10:16:37.216Z] 93b9cdb0e59b: Waiting [2021-04-26T10:16:37.216Z] aa168da1d23b: Waiting [2021-04-26T10:16:37.216Z] 36b3adc4ff6f: Verifying Checksum [2021-04-26T10:16:37.216Z] 36b3adc4ff6f: Download complete [2021-04-26T10:16:37.216Z] df20fa9351a1: Verifying Checksum [2021-04-26T10:16:37.216Z] df20fa9351a1: Download complete [2021-04-26T10:16:37.216Z] 93b9cdb0e59b: Verifying Checksum [2021-04-26T10:16:37.216Z] 93b9cdb0e59b: Download complete [2021-04-26T10:16:37.216Z] 5e14af77c1be: Verifying Checksum [2021-04-26T10:16:37.216Z] 5e14af77c1be: Download complete [2021-04-26T10:16:37.216Z] 93b61091891f: Verifying Checksum [2021-04-26T10:16:37.216Z] 93b61091891f: Download complete [2021-04-26T10:16:37.216Z] 01666e4c0597: Verifying Checksum [2021-04-26T10:16:37.216Z] 01666e4c0597: Download complete [2021-04-26T10:16:37.799Z] df20fa9351a1: Pull complete [2021-04-26T10:16:38.072Z] 8ad3a11d3b57: Verifying Checksum [2021-04-26T10:16:38.072Z] 8ad3a11d3b57: Download complete [2021-04-26T10:16:38.072Z] 36b3adc4ff6f: Pull complete [2021-04-26T10:16:39.062Z] 8ad3a11d3b57: Pull complete [2021-04-26T10:16:39.355Z] 46f8f816bc3b: Pull complete [2021-04-26T10:16:40.968Z] 93b61091891f: Pull complete [2021-04-26T10:16:41.315Z] 93b9cdb0e59b: Pull complete [2021-04-26T10:16:41.315Z] 5e14af77c1be: Pull complete [2021-04-26T10:16:41.605Z] aa168da1d23b: Verifying Checksum [2021-04-26T10:16:41.605Z] aa168da1d23b: Download complete [2021-04-26T10:16:41.605Z] 01666e4c0597: Pull complete [2021-04-26T10:16:56.830Z] aa168da1d23b: Pull complete [2021-04-26T10:16:56.830Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-26T10:16:56.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T10:16:56.830Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-26T10:16:57.076Z] prd-centos7-docker-4c-2g-1804 does not seem to be running inside a container [2021-04-26T10:16:57.159Z] $ 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-26T10:17:02.696Z] $ docker top b1df7f8cfbd6a4459fc1449fc3f62641501b7d3f6225c428f4e99d39f5c92f2f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T10:17:03.193Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-26T10:17:03.502Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-26T10:17:03.819Z] + ls /var/log/sa-host [2021-04-26T10:17:03.819Z] + sadf -c /var/log/sa-host/sa23 [2021-04-26T10:17:03.819Z] file_magic: OK [2021-04-26T10:17:03.819Z] HZ: Using current value: 100 [2021-04-26T10:17:03.819Z] file_header: OK [2021-04-26T10:17:03.819Z] 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-26T10:17:03.819Z] Statistics: [2021-04-26T10:17:03.819Z] Hnuu...uuuununununu... [2021-04-26T10:17:03.819Z] File successfully converted to sysstat format version 12.2.1 [2021-04-26T10:17:03.819Z] + sadf -c /var/log/sa-host/sa26 [2021-04-26T10:17:03.819Z] file_magic: OK [2021-04-26T10:17:03.819Z] HZ: Using current value: 100 [2021-04-26T10:17:03.819Z] file_header: OK [2021-04-26T10:17:03.819Z] 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-26T10:17:03.819Z] Statistics: [2021-04-26T10:17:03.819Z] HRHnuu...uuuununununu...Hnuu...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-26T10:17:03.819Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-26T10:17:04.058Z] provisioning config files... [2021-04-26T10:17:04.075Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config7281535274762253712tmp [Pipeline] { [Pipeline] echo [2021-04-26T10:17:04.103Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:17:04.416Z] ---> create-netrc.sh [Pipeline] } [2021-04-26T10:17:04.427Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-26T10:17:04.454Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:17:04.757Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-26T10:17:04.775Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:17:05.083Z] ---> sudo-logs.sh [2021-04-26T10:17:05.083Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-26T10:17:05.111Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:17:05.417Z] ---> job-cost.sh [2021-04-26T10:17:05.682Z] lf-activate-venv: SKIPPING [2021-04-26T10:17:05.682Z] DEBUG: total: 0.20999999344348907 [2021-04-26T10:17:05.682Z] INFO: Retrieving Stack Cost... [2021-04-26T10:17:07.083Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T10:17:07.347Z] INFO: Archiving Costs [Pipeline] echo [2021-04-26T10:17:07.363Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T10:17:07.669Z] ---> logs-deploy.sh [2021-04-26T10:17:07.669Z] lf-activate-venv: SKIPPING [2021-04-26T10:17:07.669Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-887/4 [2021-04-26T10:17:07.669Z] INFO: archiving workspace using pattern(s): [2021-04-26T10:17:11.007Z] Archives upload complete. [2021-04-26T10:17:11.007Z] INFO: archiving logs to Nexus