Pull request #883 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 937f7680f1554a72c84329a55ac11d6ee07f800f+4afc3732447dbc1bcd63643089443d556eeee277 (76fc588f88a65214d67b70415b9049b10ac19cf0) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-883/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-883/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-424 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [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-883 # 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 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit 937f7680f1554a72c84329a55ac11d6ee07f800f Merge succeeded, producing 937f7680f1554a72c84329a55ac11d6ee07f800f Checking out Revision 937f7680f1554a72c84329a55ac11d6ee07f800f (PR-883) > 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/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 937f7680f1554a72c84329a55ac11d6ee07f800f # 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 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-16T05:58:13.127Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-16T05:58:13.310Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-16T05:58:13.426Z] ========================================================= [2021-04-16T05:58:13.426Z] EdgeX Global Pipelines Version Info [2021-04-16T05:58:13.426Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-16T05:58:14.981Z] ------------------- [2021-04-16T05:58:14.982Z] stable info: [2021-04-16T05:58:14.982Z] ------------------- [2021-04-16T05:58:14.982Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-16T05:58:14.982Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-16T05:58:14.982Z] Message: update stable to v1.0.186 [2021-04-16T05:58:15.939Z] ------------------- [2021-04-16T05:58:15.939Z] experimental info: [2021-04-16T05:58:15.939Z] ------------------- [2021-04-16T05:58:15.939Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-16T05:58:15.939Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-16T05:58:15.939Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-16T05:58:16.168Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-16T05:58:16.225Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-16T05:58:16.284Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-16T05:58:16.346Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-16T05:58:16.400Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-16T05:58:16.454Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-16T05:58:16.511Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-16T05:58:16.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-16T05:58:16.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-16T05:58:16.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-16T05:58:16.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-16T05:58:16.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-16T05:58:16.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-16T05:58:16.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-16T05:58:16.982Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-16T05:58:17.038Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-16T05:58:17.094Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-16T05:58:17.158Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-16T05:58:17.216Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-16T05:58:17.280Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-16T05:58:17.336Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-16T05:58:17.393Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-16T05:58:17.454Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-16T05:58:17.530Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-16T05:58:17.595Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-16T05:58:17.660Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-16T05:58:17.716Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-883 [Pipeline] echo [2021-04-16T05:58:17.775Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-883 [Pipeline] echo [2021-04-16T05:58:17.845Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-883 [Pipeline] echo [2021-04-16T05:58:17.904Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 937f7680f1554a72c84329a55ac11d6ee07f800f [Pipeline] echo [2021-04-16T05:58:17.964Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 937f768 [Pipeline] echo [2021-04-16T05:58:18.030Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T05:58:18.187Z] provisioning config files... [2021-04-16T05:58:18.217Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config3444560714338736935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T05:58:18.593Z] ---> docker-login.sh [2021-04-16T05:58:18.593Z] nexus3.edgexfoundry.org:10001 [2021-04-16T05:58:18.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:58:19.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:58:19.133Z] Configure a credential helper to remove this warning. See [2021-04-16T05:58:19.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:58:19.133Z] [2021-04-16T05:58:19.133Z] Login Succeeded [2021-04-16T05:58:19.133Z] nexus3.edgexfoundry.org:10002 [2021-04-16T05:58:19.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:58:19.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:58:19.133Z] Configure a credential helper to remove this warning. See [2021-04-16T05:58:19.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:58:19.133Z] [2021-04-16T05:58:19.133Z] Login Succeeded [2021-04-16T05:58:19.133Z] nexus3.edgexfoundry.org:10003 [2021-04-16T05:58:19.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:58:19.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:58:19.402Z] Configure a credential helper to remove this warning. See [2021-04-16T05:58:19.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:58:19.402Z] [2021-04-16T05:58:19.402Z] Login Succeeded [2021-04-16T05:58:19.402Z] nexus3.edgexfoundry.org:10004 [2021-04-16T05:58:19.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:58:19.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:58:19.666Z] Configure a credential helper to remove this warning. See [2021-04-16T05:58:19.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:58:19.666Z] [2021-04-16T05:58:19.666Z] Login Succeeded [2021-04-16T05:58:19.666Z] docker.io [2021-04-16T05:58:19.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:58:19.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:58:19.931Z] Configure a credential helper to remove this warning. See [2021-04-16T05:58:19.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:58:19.931Z] [2021-04-16T05:58:19.931Z] Login Succeeded [2021-04-16T05:58:19.931Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T05:58:19.955Z] 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-16T05:58:20.654Z] + git log --format=format:%s -1 937f7680f1554a72c84329a55ac11d6ee07f800f [Pipeline] echo [2021-04-16T05:58:20.775Z] GIT_COMMIT: 937f7680f1554a72c84329a55ac11d6ee07f800f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2021-04-16T05:58:20.815Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-16T05:58:21.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T05:58:21.406Z] [2021-04-16T05:58:21.406Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T05:58:21.761Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T05:58:21.761Z] latest: Pulling from edgex-devops/git-semver [2021-04-16T05:58:21.761Z] 31603596830f: Pulling fs layer [2021-04-16T05:58:21.761Z] 2a8b12db71e7: Pulling fs layer [2021-04-16T05:58:21.761Z] 6ca5941a6612: Pulling fs layer [2021-04-16T05:58:21.761Z] ecc8261a40a4: Pulling fs layer [2021-04-16T05:58:21.762Z] ecc8261a40a4: Waiting [2021-04-16T05:58:21.762Z] 2a8b12db71e7: Verifying Checksum [2021-04-16T05:58:21.762Z] 2a8b12db71e7: Download complete [2021-04-16T05:58:21.762Z] 31603596830f: Verifying Checksum [2021-04-16T05:58:21.762Z] 31603596830f: Download complete [2021-04-16T05:58:22.029Z] ecc8261a40a4: Verifying Checksum [2021-04-16T05:58:22.029Z] ecc8261a40a4: Download complete [2021-04-16T05:58:22.029Z] 6ca5941a6612: Verifying Checksum [2021-04-16T05:58:22.029Z] 6ca5941a6612: Download complete [2021-04-16T05:58:22.292Z] 31603596830f: Pull complete [2021-04-16T05:58:22.292Z] 2a8b12db71e7: Pull complete [2021-04-16T05:58:23.248Z] 6ca5941a6612: Pull complete [2021-04-16T05:58:23.510Z] ecc8261a40a4: Pull complete [2021-04-16T05:58:23.510Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-16T05:58:23.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T05:58:23.510Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-16T05:58:23.660Z] prd-centos7-docker-4c-2g-424 does not seem to be running inside a container [2021-04-16T05:58:23.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-883 -v /w/workspace/dgexfoundry_device-sdk-go_PR-883:/w/workspace/dgexfoundry_device-sdk-go_PR-883:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-883@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-16T05:58:25.507Z] $ docker top 36cf2641912967247c6d2b0f9d0fe69a2dfc494f29a07ad34ffe2e306f90c2c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-16T05:58:25.758Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-16T05:58:25.758Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-16T05:58:25.982Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-16T05:58:25.986Z] $ docker exec 36cf2641912967247c6d2b0f9d0fe69a2dfc494f29a07ad34ffe2e306f90c2c2 ssh-agent [2021-04-16T05:58:26.158Z] SSH_AUTH_SOCK=/tmp/ssh-xHPTno5dDK1D/agent.12 [2021-04-16T05:58:26.158Z] SSH_AGENT_PID=17 [2021-04-16T05:58:26.168Z] Running ssh-add (command line suppressed) [2021-04-16T05:58:26.299Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_3962047907270216834.key (/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_3962047907270216834.key) [2021-04-16T05:58:26.353Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-16T05:58:26.721Z] + git tag --points-at HEAD [Pipeline] } [2021-04-16T05:58:26.747Z] $ docker exec --env ******** --env ******** 36cf2641912967247c6d2b0f9d0fe69a2dfc494f29a07ad34ffe2e306f90c2c2 ssh-agent -k [2021-04-16T05:58:26.894Z] unset SSH_AUTH_SOCK; [2021-04-16T05:58:26.894Z] unset SSH_AGENT_PID; [2021-04-16T05:58:26.894Z] echo Agent pid 17 killed; [2021-04-16T05:58:26.947Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-16T05:58:27.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-16T05:58:27.051Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-16T05:58:27.225Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-16T05:58:27.231Z] $ docker exec 36cf2641912967247c6d2b0f9d0fe69a2dfc494f29a07ad34ffe2e306f90c2c2 ssh-agent [2021-04-16T05:58:27.397Z] SSH_AUTH_SOCK=/tmp/ssh-jxaxCblY645l/agent.45 [2021-04-16T05:58:27.397Z] SSH_AGENT_PID=50 [2021-04-16T05:58:27.403Z] Running ssh-add (command line suppressed) [2021-04-16T05:58:27.524Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_616619898198552588.key (/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_616619898198552588.key) [2021-04-16T05:58:27.580Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-16T05:58:27.926Z] + git semver init [2021-04-16T05:58:27.926Z] # -> Open(): unable to determine branch for HEAD [2021-04-16T05:58:27.926Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-883/.git [2021-04-16T05:58:27.926Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-883 [2021-04-16T05:58:27.926Z] # $SEMVER_REMOTE_NAME = origin [2021-04-16T05:58:27.926Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-16T05:58:27.926Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-16T05:58:27.926Z] # $SEMVER_BRANCH = PR-883 [2021-04-16T05:58:27.926Z] # $SEMVER_TEMP = /tmp/semver-976014006 [2021-04-16T05:58:27.926Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-16T05:58:28.876Z] # '/tmp/semver-976014006' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-883/.semver' [2021-04-16T05:58:28.876Z] # -> Force: false [2021-04-16T05:58:28.876Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-883/.semver [Pipeline] } [2021-04-16T05:58:28.897Z] $ docker exec --env ******** --env ******** 36cf2641912967247c6d2b0f9d0fe69a2dfc494f29a07ad34ffe2e306f90c2c2 ssh-agent -k [2021-04-16T05:58:29.019Z] unset SSH_AUTH_SOCK; [2021-04-16T05:58:29.021Z] unset SSH_AGENT_PID; [2021-04-16T05:58:29.021Z] echo Agent pid 50 killed; [2021-04-16T05:58:29.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-16T05:58:29.512Z] + git semver [Pipeline] } [2021-04-16T05:58:29.544Z] $ docker stop --time=1 36cf2641912967247c6d2b0f9d0fe69a2dfc494f29a07ad34ffe2e306f90c2c2 [2021-04-16T05:58:31.227Z] $ docker rm -f 36cf2641912967247c6d2b0f9d0fe69a2dfc494f29a07ad34ffe2e306f90c2c2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-16T05:58:31.731Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-16T05:58:32.172Z] Stashed 1 file(s) [Pipeline] echo [2021-04-16T05:58:32.216Z] [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-16T05:58:47.925Z] Still waiting to schedule task [2021-04-16T05:58:47.925Z] ‘prd-centos7-docker-4c-2g-426’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-423’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-16T05:58:47.984Z] Still waiting to schedule task [2021-04-16T05:58:47.984Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-423’ is offline [2021-04-16T05:58:58.398Z] Running on prd-centos7-docker-4c-2g-426 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [Pipeline] { [Pipeline] ws [2021-04-16T05:58:58.453Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-16T05:59:01.221Z] using credential edgex-jenkins-ssh [2021-04-16T05:59:01.233Z] Cloning the remote Git repository [2021-04-16T05:59:01.259Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T05:59:01.344Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-16T05:59:01.416Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T05:59:01.416Z] > git --version # timeout=10 [2021-04-16T05:59:01.423Z] > git --version # 'git version 2.24.3' [2021-04-16T05:59:01.424Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T05:59:01.456Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T05:59:02.779Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-16T05:59:02.784Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T05:59:02.796Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-16T05:59:02.810Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T05:59:02.810Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T05:59:02.815Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-16T05:59:03.508Z] Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit 937f7680f1554a72c84329a55ac11d6ee07f800f [2021-04-16T05:59:03.599Z] Merge succeeded, producing 937f7680f1554a72c84329a55ac11d6ee07f800f [2021-04-16T05:59:03.600Z] Checking out Revision 937f7680f1554a72c84329a55ac11d6ee07f800f (PR-883) [2021-04-16T05:59:03.518Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T05:59:03.524Z] > git checkout -f 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 [2021-04-16T05:59:03.568Z] > git remote # timeout=10 [2021-04-16T05:59:03.574Z] > git config --get remote.origin.url # timeout=10 [2021-04-16T05:59:03.578Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T05:59:03.582Z] > git merge 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 [2021-04-16T05:59:03.593Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-16T05:59:03.604Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T05:59:03.609Z] > git checkout -f 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 [2021-04-16T05:59:07.278Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-04-16T05:59:07.304Z] > git --version # timeout=10 [2021-04-16T05:59:07.309Z] > git --version # 'git version 2.24.3' [2021-04-16T05:59:07.316Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T05:59:08.689Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-16T05:59:09.038Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-16T05:59:09.356Z] + sudo service docker restart [2021-04-16T05:59:09.356Z] + true [2021-04-16T05:59:09.356Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T05:59:10.402Z] provisioning config files... [2021-04-16T05:59:10.433Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3923592151471692495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T05:59:10.827Z] ---> docker-login.sh [2021-04-16T05:59:10.827Z] nexus3.edgexfoundry.org:10001 [2021-04-16T05:59:11.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:59:11.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:59:11.352Z] Configure a credential helper to remove this warning. See [2021-04-16T05:59:11.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:59:11.352Z] [2021-04-16T05:59:11.352Z] Login Succeeded [2021-04-16T05:59:11.352Z] nexus3.edgexfoundry.org:10002 [2021-04-16T05:59:11.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:59:11.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:59:11.352Z] Configure a credential helper to remove this warning. See [2021-04-16T05:59:11.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:59:11.352Z] [2021-04-16T05:59:11.352Z] Login Succeeded [2021-04-16T05:59:11.352Z] nexus3.edgexfoundry.org:10003 [2021-04-16T05:59:11.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:59:11.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:59:11.616Z] Configure a credential helper to remove this warning. See [2021-04-16T05:59:11.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:59:11.616Z] [2021-04-16T05:59:11.616Z] Login Succeeded [2021-04-16T05:59:11.616Z] nexus3.edgexfoundry.org:10004 [2021-04-16T05:59:11.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:59:11.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:59:11.888Z] Configure a credential helper to remove this warning. See [2021-04-16T05:59:11.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:59:11.889Z] [2021-04-16T05:59:11.889Z] Login Succeeded [2021-04-16T05:59:11.889Z] docker.io [2021-04-16T05:59:11.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:59:12.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:59:12.154Z] Configure a credential helper to remove this warning. See [2021-04-16T05:59:12.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:59:12.154Z] [2021-04-16T05:59:12.154Z] Login Succeeded [2021-04-16T05:59:12.154Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T05:59:12.196Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-16T05:59:12.486Z] ========================================================= [2021-04-16T05:59:12.486Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-16T05:59:12.486Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-16T05:59:12.829Z] + 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-16T05:59:12.829Z] Sending build context to Docker daemon 2.426MB [2021-04-16T05:59:12.829Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T05:59:12.829Z] Step 2/8 : FROM ${BASE} [2021-04-16T05:59:13.101Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-16T05:59:13.101Z] 188c0c94c7c5: Pulling fs layer [2021-04-16T05:59:13.101Z] 0ef7d3d256c8: Pulling fs layer [2021-04-16T05:59:13.101Z] de9db76c5a1d: Pulling fs layer [2021-04-16T05:59:13.101Z] bca2f99d35d6: Pulling fs layer [2021-04-16T05:59:13.101Z] 93359f2a8cfa: Pulling fs layer [2021-04-16T05:59:13.101Z] 7c6f9722023f: Pulling fs layer [2021-04-16T05:59:13.101Z] a35cf1a2eb13: Pulling fs layer [2021-04-16T05:59:13.101Z] bca2f99d35d6: Waiting [2021-04-16T05:59:13.101Z] 93359f2a8cfa: Waiting [2021-04-16T05:59:13.101Z] 7c6f9722023f: Waiting [2021-04-16T05:59:13.101Z] a35cf1a2eb13: Waiting [2021-04-16T05:59:13.101Z] de9db76c5a1d: Verifying Checksum [2021-04-16T05:59:13.101Z] de9db76c5a1d: Download complete [2021-04-16T05:59:13.101Z] 0ef7d3d256c8: Verifying Checksum [2021-04-16T05:59:13.101Z] 0ef7d3d256c8: Download complete [2021-04-16T05:59:13.101Z] 93359f2a8cfa: Verifying Checksum [2021-04-16T05:59:13.101Z] 93359f2a8cfa: Download complete [2021-04-16T05:59:13.101Z] 7c6f9722023f: Download complete [2021-04-16T05:59:13.101Z] 188c0c94c7c5: Verifying Checksum [2021-04-16T05:59:13.101Z] 188c0c94c7c5: Download complete [2021-04-16T05:59:13.371Z] 188c0c94c7c5: Pull complete [2021-04-16T05:59:13.637Z] 0ef7d3d256c8: Pull complete [2021-04-16T05:59:13.637Z] de9db76c5a1d: Pull complete [2021-04-16T05:59:15.028Z] a35cf1a2eb13: Verifying Checksum [2021-04-16T05:59:15.028Z] a35cf1a2eb13: Download complete [2021-04-16T05:59:15.609Z] bca2f99d35d6: Verifying Checksum [2021-04-16T05:59:15.609Z] bca2f99d35d6: Download complete [2021-04-16T05:59:20.954Z] bca2f99d35d6: Pull complete [2021-04-16T05:59:20.954Z] 93359f2a8cfa: Pull complete [2021-04-16T05:59:21.224Z] 7c6f9722023f: Pull complete [2021-04-16T05:59:27.838Z] a35cf1a2eb13: Pull complete [2021-04-16T05:59:27.838Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-16T05:59:27.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-16T05:59:27.838Z] ---> a62c8e92a672 [2021-04-16T05:59:27.838Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T05:59:27.838Z] ---> Running in 38243c5732c4 [2021-04-16T05:59:27.838Z] Removing intermediate container 38243c5732c4 [2021-04-16T05:59:27.838Z] ---> 6b6a61b3e835 [2021-04-16T05:59:27.838Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T05:59:27.838Z] ---> Running in 9e4cea665d88 [2021-04-16T05:59:29.252Z] Removing intermediate container 9e4cea665d88 [2021-04-16T05:59:29.252Z] ---> dd2b562afc42 [2021-04-16T05:59:29.252Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-16T05:59:29.252Z] ---> Running in e5cf8dd7c745 [2021-04-16T05:59:30.199Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-16T05:59:30.775Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-16T05:59:31.350Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-16T05:59:31.350Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-16T05:59:31.615Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-16T05:59:31.615Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-16T05:59:31.615Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-16T05:59:31.879Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-16T05:59:31.879Z] Executing busybox-1.31.1-r19.trigger [2021-04-16T05:59:31.879Z] OK: 167 MiB in 45 packages [2021-04-16T05:59:32.834Z] Removing intermediate container e5cf8dd7c745 [2021-04-16T05:59:32.834Z] ---> 30bf5fc3d419 [2021-04-16T05:59:32.834Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-16T05:59:32.834Z] ---> Running in 0f3dcde7dae9 [2021-04-16T05:59:32.834Z] Removing intermediate container 0f3dcde7dae9 [2021-04-16T05:59:32.834Z] ---> c3bb178c7a74 [2021-04-16T05:59:32.834Z] Step 7/8 : COPY . . [2021-04-16T05:59:34.236Z] ---> ee931a3e9ffa [2021-04-16T05:59:34.236Z] Step 8/8 : RUN go mod download [2021-04-16T05:59:34.236Z] ---> Running in 3f06f9e435cb [2021-04-16T05:59:56.297Z] Removing intermediate container 3f06f9e435cb [2021-04-16T05:59:56.297Z] ---> 4dac39275dc0 [2021-04-16T05:59:56.297Z] Successfully built 4dac39275dc0 [2021-04-16T05:59:56.297Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T05:59:56.652Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-16T05:59:56.652Z] . [Pipeline] withDockerContainer [2021-04-16T05:59:56.798Z] prd-centos7-docker-4c-2g-426 does not seem to be running inside a container [2021-04-16T05:59:56.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-04-16T05:59:57.737Z] $ docker top 260e55dc8d496e8d341519db5f47562736d5e92d13e378a61aa07660abbfd3dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T05:59:58.245Z] + go version [2021-04-16T05:59:58.245Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-16T05:59:58.284Z] $ docker stop --time=1 260e55dc8d496e8d341519db5f47562736d5e92d13e378a61aa07660abbfd3dc [2021-04-16T05:59:59.635Z] $ docker rm -f 260e55dc8d496e8d341519db5f47562736d5e92d13e378a61aa07660abbfd3dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-16T06:00:00.431Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-16T06:00:00.431Z] . [Pipeline] withDockerContainer [2021-04-16T06:00:00.555Z] prd-centos7-docker-4c-2g-426 does not seem to be running inside a container [2021-04-16T06:00:00.610Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-04-16T06:00:01.189Z] $ docker top e225f463ec2c19f6b7db1503cd8dff6a56326ae9030fef231f7c63bb7b036e40 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T06:00:01.760Z] + make test [2021-04-16T06:00:01.760Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-16T06:00:10.014Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-16T06:00:32.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-16T06:00:32.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-16T06:00:32.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-16T06:00:32.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-16T06:00:32.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-16T06:00:33.587Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.107s coverage: 28.1% of statements [2021-04-16T06:00:33.587Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.070s coverage: 78.9% of statements [2021-04-16T06:00:34.788Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.081s coverage: 7.8% of statements [2021-04-16T06:00:34.788Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-16T06:00:34.788Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-16T06:00:34.788Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-16T06:00:34.788Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 32.0% of statements [2021-04-16T06:00:34.788Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-16T06:00:34.788Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-16T06:00:34.788Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-16T06:00:35.539Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.110s coverage: 57.1% of statements [2021-04-16T06:00:35.807Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.328s coverage: 6.6% of statements [2021-04-16T06:00:35.807Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-16T06:00:35.807Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-16T06:00:36.071Z] GO111MODULE=on go vet ./... [2021-04-16T06:00:54.374Z] gofmt -l . [2021-04-16T06:00:54.374Z] [ "`gofmt -l .`" = "" ] [2021-04-16T06:00:54.374Z] ./bin/test-attribution-txt.sh [2021-04-16T06:00:54.374Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-16T06:00:54.416Z] $ docker stop --time=1 e225f463ec2c19f6b7db1503cd8dff6a56326ae9030fef231f7c63bb7b036e40 [2021-04-16T06:00:56.106Z] $ docker rm -f e225f463ec2c19f6b7db1503cd8dff6a56326ae9030fef231f7c63bb7b036e40 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-16T06:00:56.781Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-16T06:00:57.160Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-16T06:00:58.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-16T06:00:58.640Z] + ls -al . [2021-04-16T06:00:58.640Z] total 188 [2021-04-16T06:00:58.640Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 16 06:00 . [2021-04-16T06:00:58.640Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 05:59 .. [2021-04-16T06:00:58.640Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 16 05:59 bin [2021-04-16T06:00:58.640Z] -rw-r--r--. 1 jenkins jenkins 99931 Apr 16 06:00 coverage.out [2021-04-16T06:00:58.640Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 16 05:59 Dockerfile.build [2021-04-16T06:00:58.640Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 05:59 .dockerignore [2021-04-16T06:00:58.640Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 16 05:59 example [2021-04-16T06:00:58.640Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 05:59 .git [2021-04-16T06:00:58.640Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 16 05:59 .github [2021-04-16T06:00:58.640Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 16 05:59 .gitignore [2021-04-16T06:00:58.640Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 16 06:00 go.mod [2021-04-16T06:00:58.640Z] -rw-r--r--. 1 jenkins jenkins 20735 Apr 16 06:00 go.sum [2021-04-16T06:00:58.640Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 16 05:59 internal [2021-04-16T06:00:58.641Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 16 05:59 Jenkinsfile [2021-04-16T06:00:58.641Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 16 05:59 LICENSE [2021-04-16T06:00:58.641Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 16 05:59 Makefile [2021-04-16T06:00:58.641Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 16 05:59 openapi [2021-04-16T06:00:58.641Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 16 05:59 pkg [2021-04-16T06:00:58.641Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 16 05:59 README.md [2021-04-16T06:00:58.641Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 16 05:59 RELEASE-NOTES.txt [2021-04-16T06:00:58.641Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 05:59 snap [2021-04-16T06:00:58.641Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 05:58 VERSION [2021-04-16T06:00:58.641Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 16 05:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-16T06:00:58.989Z] + 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=937f7680f1554a72c84329a55ac11d6ee07f800f --label arch=amd64 --label version=0.0.0 . [2021-04-16T06:00:59.256Z] Sending build context to Docker daemon 2.527MB [2021-04-16T06:00:59.256Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T06:00:59.256Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-16T06:00:59.256Z] ---> 4dac39275dc0 [2021-04-16T06:00:59.256Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-16T06:00:59.838Z] ---> Running in 3081e1096069 [2021-04-16T06:01:00.100Z] Removing intermediate container 3081e1096069 [2021-04-16T06:01:00.100Z] ---> 46fceacaa32b [2021-04-16T06:01:00.100Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T06:01:00.100Z] ---> Running in 34b6e876a988 [2021-04-16T06:01:00.100Z] Removing intermediate container 34b6e876a988 [2021-04-16T06:01:00.100Z] ---> 248a0b285c65 [2021-04-16T06:01:00.100Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T06:01:00.373Z] ---> Running in c74de7568ae6 [2021-04-16T06:01:01.333Z] Removing intermediate container c74de7568ae6 [2021-04-16T06:01:01.333Z] ---> 9b67893acfde [2021-04-16T06:01:01.333Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-16T06:01:01.333Z] ---> Running in 0bcb8e2c5c08 [2021-04-16T06:01:01.928Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-16T06:01:02.507Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-16T06:01:02.770Z] OK: 167 MiB in 45 packages [2021-04-16T06:01:03.358Z] Removing intermediate container 0bcb8e2c5c08 [2021-04-16T06:01:03.358Z] ---> 3052b63d6671 [2021-04-16T06:01:03.358Z] Step 7/23 : COPY . . [2021-04-16T06:01:04.353Z] ---> 22ed82c66092 [2021-04-16T06:01:04.353Z] Step 8/23 : RUN go mod download [2021-04-16T06:01:04.353Z] ---> Running in b7147e143efd [2021-04-16T06:01:05.759Z] Removing intermediate container b7147e143efd [2021-04-16T06:01:05.759Z] ---> b61ee182dc00 [2021-04-16T06:01:05.759Z] Step 9/23 : RUN make build [2021-04-16T06:01:05.759Z] ---> Running in 15287304aab6 [2021-04-16T06:01:06.037Z] 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-16T06:01:18.457Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-16T06:01:19.034Z] Removing intermediate container 15287304aab6 [2021-04-16T06:01:19.034Z] ---> 6a1c5fade34f [2021-04-16T06:01:19.034Z] Step 10/23 : FROM alpine:3.12 [2021-04-16T06:01:19.296Z] 3.12: Pulling from library/alpine [2021-04-16T06:01:19.566Z] 339de151aab4: Pulling fs layer [2021-04-16T06:01:19.566Z] 339de151aab4: Verifying Checksum [2021-04-16T06:01:19.566Z] 339de151aab4: Download complete [2021-04-16T06:01:19.846Z] 339de151aab4: Pull complete [2021-04-16T06:01:19.846Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-16T06:01:19.846Z] Status: Downloaded newer image for alpine:3.12 [2021-04-16T06:01:19.846Z] ---> 13621d1b12d4 [2021-04-16T06:01:19.846Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T06:01:20.110Z] ---> Running in fb680d4ca34b [2021-04-16T06:01:20.377Z] Removing intermediate container fb680d4ca34b [2021-04-16T06:01:20.377Z] ---> 1dc191eba75f [2021-04-16T06:01:20.377Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T06:01:20.377Z] ---> Running in cbea3da1ee0d [2021-04-16T06:01:21.332Z] Removing intermediate container cbea3da1ee0d [2021-04-16T06:01:21.332Z] ---> dc791a8ffb3d [2021-04-16T06:01:21.332Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-16T06:01:21.332Z] ---> Running in f9b40fe1303f [2021-04-16T06:01:21.913Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-16T06:01:22.494Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-16T06:01:23.075Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-16T06:01:23.075Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-16T06:01:23.338Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-16T06:01:23.717Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-427 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [Pipeline] { [Pipeline] ws [2021-04-16T06:01:23.791Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-16T06:01:24.286Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-16T06:01:24.547Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-16T06:01:24.547Z] Executing busybox-1.31.1-r20.trigger [2021-04-16T06:01:24.547Z] OK: 8 MiB in 19 packages [2021-04-16T06:01:25.123Z] Removing intermediate container f9b40fe1303f [2021-04-16T06:01:25.123Z] ---> 387154d60c90 [2021-04-16T06:01:25.123Z] Step 14/23 : WORKDIR / [2021-04-16T06:01:25.123Z] ---> Running in 81291035db20 [2021-04-16T06:01:25.392Z] Removing intermediate container 81291035db20 [2021-04-16T06:01:25.392Z] ---> 034a59398cbf [2021-04-16T06:01:25.392Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-16T06:01:25.656Z] ---> 68f8cc2a5ff4 [2021-04-16T06:01:25.656Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-16T06:01:26.232Z] ---> 4ca0f97d0baa [2021-04-16T06:01:26.232Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-16T06:01:26.494Z] ---> dc8f2abfeb98 [2021-04-16T06:01:26.494Z] Step 18/23 : EXPOSE 49990 [2021-04-16T06:01:26.494Z] ---> Running in a9701b469e73 [2021-04-16T06:01:26.762Z] Removing intermediate container a9701b469e73 [2021-04-16T06:01:26.762Z] ---> fc1d5e064630 [2021-04-16T06:01:26.762Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-16T06:01:26.762Z] ---> Running in f1d66cddc04b [2021-04-16T06:01:27.031Z] Removing intermediate container f1d66cddc04b [2021-04-16T06:01:27.031Z] ---> a43df975d547 [2021-04-16T06:01:27.031Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-16T06:01:27.031Z] ---> Running in d1c41d1324c1 [2021-04-16T06:01:27.031Z] Removing intermediate container d1c41d1324c1 [2021-04-16T06:01:27.031Z] ---> b733c59e4566 [2021-04-16T06:01:27.031Z] Step 21/23 : LABEL arch=amd64 [2021-04-16T06:01:27.294Z] ---> Running in 4e9a37fe26d1 [2021-04-16T06:01:27.294Z] Removing intermediate container 4e9a37fe26d1 [2021-04-16T06:01:27.294Z] ---> 6c06fe96deb7 [2021-04-16T06:01:27.294Z] Step 22/23 : LABEL git_sha=937f7680f1554a72c84329a55ac11d6ee07f800f [2021-04-16T06:01:27.559Z] ---> Running in 7457c2f3d15f [2021-04-16T06:01:27.559Z] Removing intermediate container 7457c2f3d15f [2021-04-16T06:01:27.559Z] ---> b87eb48c125b [2021-04-16T06:01:27.559Z] Step 23/23 : LABEL version=0.0.0 [2021-04-16T06:01:27.559Z] ---> Running in c0c5bb8d6fd8 [2021-04-16T06:01:27.822Z] Removing intermediate container c0c5bb8d6fd8 [2021-04-16T06:01:27.822Z] ---> 6db6a2b6423b [2021-04-16T06:01:27.822Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-16T06:01:27.822Z] Successfully built 6db6a2b6423b [2021-04-16T06:01:27.822Z] 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-16T06:01:28.687Z] ---> job-cost.sh [2021-04-16T06:01:28.687Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yasc [2021-04-16T06:01:29.789Z] using credential edgex-jenkins-ssh [2021-04-16T06:01:29.806Z] Cloning the remote Git repository [2021-04-16T06:01:29.878Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T06:01:30.049Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-16T06:01:30.146Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T06:01:30.147Z] > git --version # timeout=10 [2021-04-16T06:01:30.165Z] > git --version # 'git version 2.17.1' [2021-04-16T06:01:30.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T06:01:30.222Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T06:01:31.461Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-16T06:01:31.483Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T06:01:31.514Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-16T06:01:31.555Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T06:01:31.556Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T06:01:32.073Z] Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit 937f7680f1554a72c84329a55ac11d6ee07f800f [2021-04-16T06:01:32.315Z] Merge succeeded, producing 937f7680f1554a72c84329a55ac11d6ee07f800f [2021-04-16T06:01:32.315Z] Checking out Revision 937f7680f1554a72c84329a55ac11d6ee07f800f (PR-883) [2021-04-16T06:01:31.574Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-16T06:01:32.100Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T06:01:32.119Z] > git checkout -f 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 [2021-04-16T06:01:32.221Z] > git remote # timeout=10 [2021-04-16T06:01:32.240Z] > git config --get remote.origin.url # timeout=10 [2021-04-16T06:01:32.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T06:01:32.280Z] > git merge 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 [2021-04-16T06:01:32.303Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-16T06:01:32.325Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T06:01:32.340Z] > git checkout -f 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 [2021-04-16T06:01:36.721Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-04-16T06:01:36.783Z] > git --version # timeout=10 [2021-04-16T06:01:36.806Z] > git --version # 'git version 2.17.1' [2021-04-16T06:01:36.821Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-16T06:01:37.099Z] [2021-04-16T06:01:37.099Z] GitHub has been notified of this commit’s build result [2021-04-16T06:01:37.099Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T06:01:38.492Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-16T06:01:38.935Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-16T06:01:39.296Z] + sudo service docker restart [2021-04-16T06:01:39.296Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T06:01:42.031Z] provisioning config files... [2021-04-16T06:01:42.078Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config686357430647793732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T06:01:42.544Z] ---> docker-login.sh [2021-04-16T06:01:42.544Z] nexus3.edgexfoundry.org:10001 [2021-04-16T06:01:43.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T06:01:43.643Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-16T06:01:43.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T06:01:43.823Z] Configure a credential helper to remove this warning. See [2021-04-16T06:01:43.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T06:01:43.823Z] [2021-04-16T06:01:43.823Z] Login Succeeded [2021-04-16T06:01:43.823Z] nexus3.edgexfoundry.org:10002 [2021-04-16T06:01:44.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T06:01:44.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T06:01:44.382Z] Configure a credential helper to remove this warning. See [2021-04-16T06:01:44.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T06:01:44.382Z] [2021-04-16T06:01:44.382Z] Login Succeeded [2021-04-16T06:01:44.382Z] nexus3.edgexfoundry.org:10003 [2021-04-16T06:01:44.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T06:01:44.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T06:01:44.934Z] Configure a credential helper to remove this warning. See [2021-04-16T06:01:44.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T06:01:44.934Z] [2021-04-16T06:01:44.934Z] Login Succeeded [2021-04-16T06:01:44.934Z] nexus3.edgexfoundry.org:10004 [2021-04-16T06:01:45.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T06:01:45.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T06:01:45.495Z] Configure a credential helper to remove this warning. See [2021-04-16T06:01:45.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T06:01:45.495Z] [2021-04-16T06:01:45.495Z] Login Succeeded [2021-04-16T06:01:45.495Z] docker.io [2021-04-16T06:01:45.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T06:01:46.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T06:01:46.750Z] Configure a credential helper to remove this warning. See [2021-04-16T06:01:46.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T06:01:46.750Z] [2021-04-16T06:01:46.750Z] Login Succeeded [2021-04-16T06:01:46.750Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T06:01:46.782Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-16T06:01:47.203Z] ========================================================= [2021-04-16T06:01:47.204Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-16T06:01:47.204Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-16T06:01:47.580Z] + 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-16T06:01:48.185Z] Sending build context to Docker daemon 2.422MB [2021-04-16T06:01:48.185Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T06:01:48.185Z] Step 2/8 : FROM ${BASE} [2021-04-16T06:01:48.185Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-16T06:01:48.185Z] 5f621e34cdf4: Pulling fs layer [2021-04-16T06:01:48.185Z] a4357932f1b6: Pulling fs layer [2021-04-16T06:01:48.185Z] 18c013af1878: Pulling fs layer [2021-04-16T06:01:48.185Z] 00ac8860ef70: Pulling fs layer [2021-04-16T06:01:48.185Z] 63d7cb157983: Pulling fs layer [2021-04-16T06:01:48.185Z] b116817d02f9: Pulling fs layer [2021-04-16T06:01:48.185Z] 745a02a5169b: Pulling fs layer [2021-04-16T06:01:48.185Z] 63d7cb157983: Waiting [2021-04-16T06:01:48.185Z] b116817d02f9: Waiting [2021-04-16T06:01:48.185Z] 00ac8860ef70: Waiting [2021-04-16T06:01:48.185Z] 745a02a5169b: Waiting [2021-04-16T06:01:48.185Z] 18c013af1878: Download complete [2021-04-16T06:01:48.185Z] a4357932f1b6: Verifying Checksum [2021-04-16T06:01:48.185Z] a4357932f1b6: Download complete [2021-04-16T06:01:48.185Z] 63d7cb157983: Verifying Checksum [2021-04-16T06:01:48.185Z] 63d7cb157983: Download complete [2021-04-16T06:01:48.185Z] b116817d02f9: Verifying Checksum [2021-04-16T06:01:48.185Z] b116817d02f9: Download complete [2021-04-16T06:01:48.185Z] 5f621e34cdf4: Verifying Checksum [2021-04-16T06:01:48.185Z] 5f621e34cdf4: Download complete [2021-04-16T06:01:49.176Z] 5f621e34cdf4: Pull complete [2021-04-16T06:01:49.460Z] a4357932f1b6: Pull complete [2021-04-16T06:01:50.078Z] 18c013af1878: Pull complete [2021-04-16T06:01:50.360Z] 745a02a5169b: Verifying Checksum [2021-04-16T06:01:50.360Z] 745a02a5169b: Download complete [2021-04-16T06:01:51.801Z] 00ac8860ef70: Verifying Checksum [2021-04-16T06:01:51.801Z] 00ac8860ef70: Download complete [2021-04-16T06:02:01.957Z] 00ac8860ef70: Pull complete [2021-04-16T06:02:01.957Z] 63d7cb157983: Pull complete [2021-04-16T06:02:02.233Z] b116817d02f9: Pull complete [2021-04-16T06:02:06.574Z] 745a02a5169b: Pull complete [2021-04-16T06:02:06.574Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-16T06:02:06.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-16T06:02:06.574Z] ---> b7e6874047d6 [2021-04-16T06:02:06.574Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T06:02:09.216Z] ---> Running in 19102e868d52 [2021-04-16T06:02:09.216Z] Removing intermediate container 19102e868d52 [2021-04-16T06:02:09.216Z] ---> a42f02e96a10 [2021-04-16T06:02:09.216Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T06:02:09.491Z] ---> Running in 8d8c93bbd752 [2021-04-16T06:02:12.136Z] Removing intermediate container 8d8c93bbd752 [2021-04-16T06:02:12.136Z] ---> 41960ae3cb9d [2021-04-16T06:02:12.136Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-16T06:02:12.136Z] ---> Running in 2e597554c3b9 [2021-04-16T06:02:13.118Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-16T06:02:13.718Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-16T06:02:14.695Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-16T06:02:14.695Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-16T06:02:14.695Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-16T06:02:14.695Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-16T06:02:14.969Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-16T06:02:14.970Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-16T06:02:14.970Z] Executing busybox-1.31.1-r19.trigger [2021-04-16T06:02:15.243Z] OK: 144 MiB in 45 packages [2021-04-16T06:02:15.820Z] lf-activate-venv(): INFO: Adding /tmp/venv-yasc/bin to PATH [2021-04-16T06:02:15.820Z] INFO: No Stack... [2021-04-16T06:02:15.820Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-16T06:02:15.820Z] INFO: Archiving Costs [Pipeline] sh [2021-04-16T06:02:16.166Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-16T06:02:16.166Z] + cut -d, -f6 [Pipeline] lock [2021-04-16T06:02:16.269Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-883-1-stack-cost] [2021-04-16T06:02:16.275Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-883-1-stack-cost] did not exist. Created. [2021-04-16T06:02:16.275Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-883-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-16T06:02:16.682Z] + echo total: 0.029999999329447746 [2021-04-16T06:02:16.687Z] Removing intermediate container 2e597554c3b9 [2021-04-16T06:02:16.687Z] ---> bad53292a81e [2021-04-16T06:02:16.687Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-16T06:02:16.687Z] ---> Running in 4299ed35fb1f [Pipeline] stash [2021-04-16T06:02:16.829Z] Stashed 1 file(s) [Pipeline] } [2021-04-16T06:02:16.846Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-883-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-16T06:02:17.285Z] Removing intermediate container 4299ed35fb1f [2021-04-16T06:02:17.285Z] ---> 07c92dcc494b [2021-04-16T06:02:17.285Z] Step 7/8 : COPY . . [2021-04-16T06:02:18.269Z] ---> d1d306f043ff [2021-04-16T06:02:18.269Z] Step 8/8 : RUN go mod download [2021-04-16T06:02:18.542Z] ---> Running in ac18d5b543c9 [2021-04-16T06:02:45.340Z] Removing intermediate container ac18d5b543c9 [2021-04-16T06:02:45.340Z] ---> 99309aafc77e [2021-04-16T06:02:45.340Z] Successfully built 99309aafc77e [2021-04-16T06:02:45.340Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T06:02:45.736Z] + docker inspect -f . ci-base-image-arm64 [2021-04-16T06:02:45.736Z] . [Pipeline] withDockerContainer [2021-04-16T06:02:46.076Z] prd-ubuntu18.04-docker-arm64-4c-16g-427 does not seem to be running inside a container [2021-04-16T06:02:46.172Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-04-16T06:02:47.829Z] $ docker top a43696c9579eeda5fb2c2c655eef6f75c9361c6130193ba022a91c525676c0c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T06:02:48.857Z] + go version [2021-04-16T06:02:48.857Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-16T06:02:48.903Z] $ docker stop --time=1 a43696c9579eeda5fb2c2c655eef6f75c9361c6130193ba022a91c525676c0c8 [2021-04-16T06:02:50.880Z] $ docker rm -f a43696c9579eeda5fb2c2c655eef6f75c9361c6130193ba022a91c525676c0c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-16T06:02:51.875Z] + docker inspect -f . ci-base-image-arm64 [2021-04-16T06:02:51.875Z] . [Pipeline] withDockerContainer [2021-04-16T06:02:52.122Z] prd-ubuntu18.04-docker-arm64-4c-16g-427 does not seem to be running inside a container [2021-04-16T06:02:52.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-04-16T06:02:53.593Z] $ docker top bf594e8603d378ca229e27574dc38f15158f8398e211a1ae2bb25f095a74604c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T06:02:54.539Z] + make test [2021-04-16T06:02:54.539Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-16T06:03:16.832Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-16T06:04:13.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-16T06:04:13.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-16T06:04:13.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-16T06:04:13.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-16T06:04:13.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-16T06:04:16.107Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.142s coverage: 28.1% of statements [2021-04-16T06:04:16.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.208s coverage: 78.9% of statements [2021-04-16T06:04:16.665Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.152s coverage: 7.8% of statements [2021-04-16T06:04:16.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-16T06:04:16.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-16T06:04:16.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-16T06:04:19.322Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.301s coverage: 32.0% of statements [2021-04-16T06:04:19.322Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-16T06:04:19.322Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-16T06:04:19.322Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-16T06:04:21.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.319s coverage: 57.1% of statements [2021-04-16T06:04:21.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.992s coverage: 6.6% of statements [2021-04-16T06:04:22.578Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements [2021-04-16T06:04:22.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-16T06:04:23.182Z] GO111MODULE=on go vet ./... [2021-04-16T06:05:10.200Z] gofmt -l . [2021-04-16T06:05:10.200Z] [ "`gofmt -l .`" = "" ] [2021-04-16T06:05:10.200Z] ./bin/test-attribution-txt.sh [2021-04-16T06:05:10.200Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-16T06:05:10.510Z] $ docker stop --time=1 bf594e8603d378ca229e27574dc38f15158f8398e211a1ae2bb25f095a74604c [2021-04-16T06:05:12.704Z] $ docker rm -f bf594e8603d378ca229e27574dc38f15158f8398e211a1ae2bb25f095a74604c [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-16T06:05:13.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-16T06:05:13.820Z] Warning: overwriting stash ‘coverage-report’ [2021-04-16T06:05:14.427Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T06:05:15.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-16T06:05:15.454Z] + ls -al . [2021-04-16T06:05:15.454Z] total 224 [2021-04-16T06:05:15.454Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 06:05 . [2021-04-16T06:05:15.454Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 06:01 .. [2021-04-16T06:05:15.454Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 06:01 .dockerignore [2021-04-16T06:05:15.454Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 06:01 .git [2021-04-16T06:05:15.454Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 06:01 .github [2021-04-16T06:05:15.454Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 16 06:01 .gitignore [2021-04-16T06:05:15.454Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 16 06:01 Dockerfile.build [2021-04-16T06:05:15.454Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 16 06:01 Jenkinsfile [2021-04-16T06:05:15.454Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 06:01 LICENSE [2021-04-16T06:05:15.454Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 16 06:01 Makefile [2021-04-16T06:05:15.454Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 16 06:01 README.md [2021-04-16T06:05:15.454Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 16 06:01 RELEASE-NOTES.txt [2021-04-16T06:05:15.454Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 05:58 VERSION [2021-04-16T06:05:15.454Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 06:01 bin [2021-04-16T06:05:15.454Z] -rw-r--r-- 1 jenkins jenkins 99931 Apr 16 06:04 coverage.out [2021-04-16T06:05:15.454Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 06:01 example [2021-04-16T06:05:15.454Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 16 06:05 go.mod [2021-04-16T06:05:15.454Z] -rw-r--r-- 1 jenkins jenkins 20735 Apr 16 06:05 go.sum [2021-04-16T06:05:15.454Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 16 06:01 internal [2021-04-16T06:05:15.454Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 06:01 openapi [2021-04-16T06:05:15.454Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 06:01 pkg [2021-04-16T06:05:15.454Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 06:01 snap [2021-04-16T06:05:15.454Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 06:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-16T06:05:15.831Z] + 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=937f7680f1554a72c84329a55ac11d6ee07f800f --label arch=arm64 --label version=0.0.0 . [2021-04-16T06:05:16.107Z] Sending build context to Docker daemon 2.523MB [2021-04-16T06:05:16.381Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T06:05:16.381Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-16T06:05:16.381Z] ---> 99309aafc77e [2021-04-16T06:05:16.381Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-16T06:05:16.658Z] ---> Running in dccb89dacaa3 [2021-04-16T06:05:16.941Z] Removing intermediate container dccb89dacaa3 [2021-04-16T06:05:16.941Z] ---> 494dbb397fd1 [2021-04-16T06:05:16.941Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T06:05:17.224Z] ---> Running in 4c794a2957d5 [2021-04-16T06:05:17.842Z] Removing intermediate container 4c794a2957d5 [2021-04-16T06:05:17.842Z] ---> c12c79989fc6 [2021-04-16T06:05:17.842Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T06:05:17.842Z] ---> Running in 89e909903325 [2021-04-16T06:05:19.829Z] Removing intermediate container 89e909903325 [2021-04-16T06:05:19.829Z] ---> 939375a2724e [2021-04-16T06:05:19.829Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-16T06:05:20.099Z] ---> Running in 27901e1e50a4 [2021-04-16T06:05:21.084Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-16T06:05:21.685Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-16T06:05:22.683Z] OK: 144 MiB in 45 packages [2021-04-16T06:05:23.673Z] Removing intermediate container 27901e1e50a4 [2021-04-16T06:05:23.673Z] ---> 9c84e1268f84 [2021-04-16T06:05:23.673Z] Step 7/23 : COPY . . [2021-04-16T06:05:25.119Z] ---> 955f9c14a1dc [2021-04-16T06:05:25.119Z] Step 8/23 : RUN go mod download [2021-04-16T06:05:25.119Z] ---> Running in e744ed60058d [2021-04-16T06:05:27.753Z] Removing intermediate container e744ed60058d [2021-04-16T06:05:27.753Z] ---> d64f91e40daf [2021-04-16T06:05:27.753Z] Step 9/23 : RUN make build [2021-04-16T06:05:27.753Z] ---> Running in e6f25afd5923 [2021-04-16T06:05:28.743Z] 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-16T06:06:01.131Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-16T06:06:04.505Z] Removing intermediate container e6f25afd5923 [2021-04-16T06:06:04.505Z] ---> 978e327eca57 [2021-04-16T06:06:04.505Z] Step 10/23 : FROM alpine:3.12 [2021-04-16T06:06:04.505Z] 3.12: Pulling from library/alpine [2021-04-16T06:06:04.505Z] d2f70382dc9a: Pulling fs layer [2021-04-16T06:06:04.779Z] d2f70382dc9a: Verifying Checksum [2021-04-16T06:06:05.375Z] d2f70382dc9a: Pull complete [2021-04-16T06:06:05.376Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-16T06:06:05.376Z] Status: Downloaded newer image for alpine:3.12 [2021-04-16T06:06:05.376Z] ---> 9852663dfa18 [2021-04-16T06:06:05.376Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T06:06:05.648Z] ---> Running in 2cbafbbca8dc [2021-04-16T06:06:06.241Z] Removing intermediate container 2cbafbbca8dc [2021-04-16T06:06:06.241Z] ---> 3d3da706c032 [2021-04-16T06:06:06.241Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T06:06:06.241Z] ---> Running in d157c6fb4a39 [2021-04-16T06:06:08.898Z] Removing intermediate container d157c6fb4a39 [2021-04-16T06:06:08.898Z] ---> 9dd4e1ca13ef [2021-04-16T06:06:08.898Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-16T06:06:08.898Z] ---> Running in 7214ae1230dd [2021-04-16T06:06:09.872Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-16T06:06:10.469Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-16T06:06:11.071Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-16T06:06:11.344Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-16T06:06:11.344Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-16T06:06:11.620Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-16T06:06:11.892Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-16T06:06:11.892Z] Executing busybox-1.31.1-r20.trigger [2021-04-16T06:06:12.167Z] OK: 8 MiB in 19 packages [2021-04-16T06:06:13.612Z] Removing intermediate container 7214ae1230dd [2021-04-16T06:06:13.612Z] ---> dca16e1e968b [2021-04-16T06:06:13.612Z] Step 14/23 : WORKDIR / [2021-04-16T06:06:13.612Z] ---> Running in 30c36508ea94 [2021-04-16T06:06:13.885Z] Removing intermediate container 30c36508ea94 [2021-04-16T06:06:13.885Z] ---> 8ae2434b9600 [2021-04-16T06:06:13.885Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-16T06:06:14.876Z] ---> b5036577a2ff [2021-04-16T06:06:14.876Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-16T06:06:16.310Z] ---> 88c261015fac [2021-04-16T06:06:16.310Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-16T06:06:16.908Z] ---> e4f94d2e0196 [2021-04-16T06:06:16.908Z] Step 18/23 : EXPOSE 49990 [2021-04-16T06:06:16.908Z] ---> Running in c904dd682b19 [2021-04-16T06:06:17.181Z] Removing intermediate container c904dd682b19 [2021-04-16T06:06:17.181Z] ---> 00a01648f675 [2021-04-16T06:06:17.181Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-16T06:06:17.455Z] ---> Running in 28ff3753c88e [2021-04-16T06:06:18.055Z] Removing intermediate container 28ff3753c88e [2021-04-16T06:06:18.055Z] ---> ce9aa01a4fae [2021-04-16T06:06:18.055Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-16T06:06:18.055Z] ---> Running in 18ee597616c1 [2021-04-16T06:06:18.652Z] Removing intermediate container 18ee597616c1 [2021-04-16T06:06:18.652Z] ---> 14c77af2cdae [2021-04-16T06:06:18.652Z] Step 21/23 : LABEL arch=arm64 [2021-04-16T06:06:18.652Z] ---> Running in 0a034a65d604 [2021-04-16T06:06:19.248Z] Removing intermediate container 0a034a65d604 [2021-04-16T06:06:19.248Z] ---> 010cf1649e24 [2021-04-16T06:06:19.248Z] Step 22/23 : LABEL git_sha=937f7680f1554a72c84329a55ac11d6ee07f800f [2021-04-16T06:06:19.248Z] ---> Running in 73069bdcd02b [2021-04-16T06:06:20.236Z] Removing intermediate container 73069bdcd02b [2021-04-16T06:06:20.236Z] ---> 8dd153e361fa [2021-04-16T06:06:20.236Z] Step 23/23 : LABEL version=0.0.0 [2021-04-16T06:06:20.509Z] ---> Running in dd36b39de3d4 [2021-04-16T06:06:20.783Z] Removing intermediate container dd36b39de3d4 [2021-04-16T06:06:20.783Z] ---> a24b6da26a05 [2021-04-16T06:06:20.783Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-16T06:06:21.060Z] Successfully built a24b6da26a05 [2021-04-16T06:06:21.060Z] 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-16T06:06:21.810Z] ---> job-cost.sh [2021-04-16T06:06:21.810Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-XyfR [2021-04-16T06:07:08.762Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-16T06:09:00.636Z] lf-activate-venv(): INFO: Adding /tmp/venv-XyfR/bin to PATH [2021-04-16T06:09:00.636Z] INFO: No Stack... [2021-04-16T06:09:00.636Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-16T06:09:00.636Z] INFO: Archiving Costs [Pipeline] sh [2021-04-16T06:09:01.004Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-16T06:09:01.004Z] + cut -d, -f6 [Pipeline] lock [2021-04-16T06:09:01.168Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-883-1-stack-cost] [2021-04-16T06:09:01.174Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-883-1-stack-cost] did not exist. Created. [2021-04-16T06:09:01.174Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-883-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-16T06:09:01.639Z] /w/workspace/device-sdk-go/1@tmp/durable-42dd6c27/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-42dd6c27/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-16T06:09:02.033Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-16T06:09:02.089Z] Warning: overwriting stash ‘stack-cost’ [2021-04-16T06:09:02.269Z] Stashed 1 file(s) [Pipeline] } [2021-04-16T06:09:02.290Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-883-1-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-16T06:09:03.256Z] provisioning config files... [2021-04-16T06:09:03.268Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config2004473640290632222tmp [Pipeline] { [Pipeline] sh [2021-04-16T06:09:03.631Z] + set +x [2021-04-16T06:09:03.631Z] + curl -s https://codecov.io/bash [2021-04-16T06:09:03.631Z] + bash -s -- [2021-04-16T06:09:03.903Z] [2021-04-16T06:09:03.903Z] _____ _ [2021-04-16T06:09:03.903Z] / ____| | | [2021-04-16T06:09:03.903Z] | | ___ __| | ___ ___ _____ __ [2021-04-16T06:09:03.903Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-16T06:09:03.903Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-16T06:09:03.903Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-16T06:09:03.903Z] Bash-1.0.1 [2021-04-16T06:09:03.903Z] [2021-04-16T06:09:03.903Z] [2021-04-16T06:09:03.903Z] ==> git version 2.24.3 found [2021-04-16T06:09:03.903Z] ==> 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-16T06:09:03.903Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-16T06:09:03.903Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-16T06:09:03.903Z] ==> Jenkins CI detected. [2021-04-16T06:09:03.903Z] project root: . [2021-04-16T06:09:03.903Z] --> token set from env [2021-04-16T06:09:03.903Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-16T06:09:03.903Z] ==> Running gcov in . (disable via -X gcov) [2021-04-16T06:09:03.903Z] ==> Python coveragepy not found [2021-04-16T06:09:03.903Z] ==> Searching for coverage reports in: [2021-04-16T06:09:03.903Z] + . [2021-04-16T06:09:03.903Z] -> Found 1 reports [2021-04-16T06:09:03.903Z] ==> Detecting git/mercurial file structure [2021-04-16T06:09:03.903Z] ==> Reading reports [2021-04-16T06:09:03.903Z] + ./coverage.out bytes=99931 [2021-04-16T06:09:03.903Z] ==> Appending adjustments [2021-04-16T06:09:03.903Z] https://docs.codecov.io/docs/fixing-reports [2021-04-16T06:09:04.172Z] + Found adjustments [2021-04-16T06:09:04.172Z] ==> Gzipping contents [2021-04-16T06:09:04.172Z] 16K /tmp/codecov.PJ06dC.gz [2021-04-16T06:09:04.172Z] ==> Uploading reports [2021-04-16T06:09:04.172Z] url: https://codecov.io [2021-04-16T06:09:04.172Z] query: branch=PR-883&commit=937f7680f1554a72c84329a55ac11d6ee07f800f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-883%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=883&job=&cmd_args= [2021-04-16T06:09:04.172Z] -> Pinging Codecov [2021-04-16T06:09:04.172Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-883&commit=937f7680f1554a72c84329a55ac11d6ee07f800f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-883%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=883&job=&cmd_args= [2021-04-16T06:09:04.748Z] -> Uploading to [2021-04-16T06:09:04.748Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-16/7E55EF52A471D76F132DFD9A03CDDE97/937f7680f1554a72c84329a55ac11d6ee07f800f/efae01e7-d185-4b72-8ff6-e9570c480121.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210416%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210416T060904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=640c1e20d8796f86df64bcd59bbb41bd7479cc593ada6ac4579e9ee79e45a191 [2021-04-16T06:09:04.748Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-16T06:09:04.748Z] Dload Upload Total Spent Left Speed [2021-04-16T06:09:05.017Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13521 0 0 100 13521 0 34144 --:--:-- --:--:-- --:--:-- 34230 [2021-04-16T06:09:05.017Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/937f7680f1554a72c84329a55ac11d6ee07f800f [Pipeline] } [2021-04-16T06:09:05.044Z] 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-16T06:09:06.959Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T06:09:07.309Z] ---> package-listing.sh [2021-04-16T06:09:07.310Z] ++ facter osfamily [2021-04-16T06:09:07.310Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-16T06:09:07.310Z] + OS_FAMILY=redhat [2021-04-16T06:09:07.310Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-883 [2021-04-16T06:09:07.310Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-16T06:09:07.310Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-16T06:09:07.310Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-16T06:09:07.310Z] + PACKAGES=/tmp/packages_start.txt [2021-04-16T06:09:07.310Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-883 ']' [2021-04-16T06:09:07.310Z] + PACKAGES=/tmp/packages_end.txt [2021-04-16T06:09:07.310Z] + case "${OS_FAMILY}" in [2021-04-16T06:09:07.310Z] + rpm -qa [2021-04-16T06:09:07.310Z] + sort [2021-04-16T06:09:12.638Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-16T06:09:12.638Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-16T06:09:12.638Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-16T06:09:12.638Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-883 ']' [2021-04-16T06:09:12.638Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-883/archives/ [2021-04-16T06:09:12.638Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-883/archives/ [Pipeline] echo [2021-04-16T06:09:12.680Z] 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-883/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-16T06:09:12.990Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-16T06:09:13.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T06:09:13.348Z] [2021-04-16T06:09:13.348Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-16T06:09:13.696Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T06:09:13.696Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-16T06:09:13.697Z] df20fa9351a1: Pulling fs layer [2021-04-16T06:09:13.697Z] 36b3adc4ff6f: Pulling fs layer [2021-04-16T06:09:13.697Z] 8ad3a11d3b57: Pulling fs layer [2021-04-16T06:09:13.697Z] 46f8f816bc3b: Pulling fs layer [2021-04-16T06:09:13.697Z] 93b61091891f: Pulling fs layer [2021-04-16T06:09:13.697Z] 93b9cdb0e59b: Pulling fs layer [2021-04-16T06:09:13.697Z] 5e14af77c1be: Pulling fs layer [2021-04-16T06:09:13.697Z] 01666e4c0597: Pulling fs layer [2021-04-16T06:09:13.697Z] aa168da1d23b: Pulling fs layer [2021-04-16T06:09:13.697Z] 93b9cdb0e59b: Waiting [2021-04-16T06:09:13.697Z] 5e14af77c1be: Waiting [2021-04-16T06:09:13.697Z] 46f8f816bc3b: Waiting [2021-04-16T06:09:13.697Z] 01666e4c0597: Waiting [2021-04-16T06:09:13.697Z] aa168da1d23b: Waiting [2021-04-16T06:09:13.697Z] 36b3adc4ff6f: Verifying Checksum [2021-04-16T06:09:13.697Z] 36b3adc4ff6f: Download complete [2021-04-16T06:09:13.986Z] df20fa9351a1: Verifying Checksum [2021-04-16T06:09:13.986Z] 93b9cdb0e59b: Verifying Checksum [2021-04-16T06:09:13.986Z] 93b9cdb0e59b: Download complete [2021-04-16T06:09:13.986Z] 5e14af77c1be: Verifying Checksum [2021-04-16T06:09:13.986Z] 5e14af77c1be: Download complete [2021-04-16T06:09:13.986Z] 93b61091891f: Download complete [2021-04-16T06:09:13.986Z] 01666e4c0597: Verifying Checksum [2021-04-16T06:09:13.986Z] 01666e4c0597: Download complete [2021-04-16T06:09:14.255Z] 8ad3a11d3b57: Verifying Checksum [2021-04-16T06:09:14.255Z] 8ad3a11d3b57: Download complete [2021-04-16T06:09:14.255Z] df20fa9351a1: Pull complete [2021-04-16T06:09:14.534Z] 36b3adc4ff6f: Pull complete [2021-04-16T06:09:15.113Z] 8ad3a11d3b57: Pull complete [2021-04-16T06:09:15.380Z] 46f8f816bc3b: Pull complete [2021-04-16T06:09:16.798Z] 93b61091891f: Pull complete [2021-04-16T06:09:16.799Z] aa168da1d23b: Verifying Checksum [2021-04-16T06:09:16.799Z] aa168da1d23b: Download complete [2021-04-16T06:09:16.799Z] 93b9cdb0e59b: Pull complete [2021-04-16T06:09:17.062Z] 5e14af77c1be: Pull complete [2021-04-16T06:09:17.062Z] 01666e4c0597: Pull complete [2021-04-16T06:09:24.556Z] aa168da1d23b: Pull complete [2021-04-16T06:09:24.556Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-16T06:09:24.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T06:09:24.556Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-16T06:09:24.783Z] prd-centos7-docker-4c-2g-424 does not seem to be running inside a container [2021-04-16T06:09:24.830Z] $ 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-883/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-883 -v /w/workspace/dgexfoundry_device-sdk-go_PR-883:/w/workspace/dgexfoundry_device-sdk-go_PR-883:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-16T06:09:28.877Z] $ docker top 653649481d485cbd4aef43ecd9c5fdc297b0afb2466bcc61afe81a90369018bc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T06:09:29.339Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-16T06:09:29.660Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-16T06:09:29.974Z] + ls /var/log/sa-host [2021-04-16T06:09:29.974Z] + sadf -c /var/log/sa-host/sa16 [2021-04-16T06:09:29.974Z] file_magic: OK [2021-04-16T06:09:29.974Z] HZ: Using current value: 100 [2021-04-16T06:09:29.974Z] file_header: OK [2021-04-16T06:09:29.974Z] 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-16T06:09:29.974Z] Statistics: [2021-04-16T06:09:29.974Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-16T06:09:29.974Z] File successfully converted to sysstat format version 12.2.1 [2021-04-16T06:09:29.974Z] + sadf -c /var/log/sa-host/sa23 [2021-04-16T06:09:29.974Z] file_magic: OK [2021-04-16T06:09:29.974Z] HZ: Using current value: 100 [2021-04-16T06:09:29.974Z] file_header: OK [2021-04-16T06:09:29.974Z] 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-16T06:09:29.974Z] Statistics: [2021-04-16T06:09:29.974Z] Hnuu...uuuununununu... [2021-04-16T06:09:29.974Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-16T06:09:30.212Z] provisioning config files... [2021-04-16T06:09:30.229Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config9158324138539504449tmp [Pipeline] { [Pipeline] echo [2021-04-16T06:09:30.285Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T06:09:30.905Z] ---> create-netrc.sh [Pipeline] } [2021-04-16T06:09:30.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-16T06:09:31.003Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T06:09:31.330Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-16T06:09:31.358Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T06:09:31.724Z] ---> sudo-logs.sh [2021-04-16T06:09:31.724Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-16T06:09:31.815Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T06:09:32.152Z] ---> job-cost.sh [2021-04-16T06:09:32.152Z] lf-activate-venv: SKIPPING [2021-04-16T06:09:32.152Z] DEBUG: total: 0.20999999344348907 [2021-04-16T06:09:32.152Z] INFO: Retrieving Stack Cost... [2021-04-16T06:09:33.102Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-16T06:09:33.674Z] INFO: Archiving Costs [Pipeline] echo [2021-04-16T06:09:33.704Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T06:09:34.038Z] ---> logs-deploy.sh [2021-04-16T06:09:34.038Z] lf-activate-venv: SKIPPING [2021-04-16T06:09:34.038Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-883/1 [2021-04-16T06:09:34.038Z] INFO: archiving workspace using pattern(s): [2021-04-16T06:09:35.964Z] Archives upload complete. [2021-04-16T06:09:35.964Z] INFO: archiving logs to Nexus