Pull request #924 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 68926e767bd64a1471202d9e3e2c12ae240c4665+8d3d36979320f9fc0ce2797f8744993b6dbca912 (c0397d83560d0d587cf66052906627242b3ed094) 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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-924/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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-924/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 9d0281235b943b7ad605f650702698f9078b2862 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: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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4709 in /w/workspace/dgexfoundry_device-sdk-go_PR-924 [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-924 # 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 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit 68926e767bd64a1471202d9e3e2c12ae240c4665 Merge succeeded, producing 68926e767bd64a1471202d9e3e2c12ae240c4665 Checking out Revision 68926e767bd64a1471202d9e3e2c12ae240c4665 (PR-924) > 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/924/head:refs/remotes/origin/PR-924 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68926e767bd64a1471202d9e3e2c12ae240c4665 # 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 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68926e767bd64a1471202d9e3e2c12ae240c4665 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T15:48:19.826Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T15:48:20.032Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T15:48:20.149Z] ========================================================= [2021-05-12T15:48:20.149Z] EdgeX Global Pipelines Version Info [2021-05-12T15:48:20.149Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:48:22.405Z] ------------------- [2021-05-12T15:48:22.405Z] stable info: [2021-05-12T15:48:22.405Z] ------------------- [2021-05-12T15:48:22.405Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T15:48:22.405Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T15:48:22.405Z] Message: update stable to v1.0.192 [2021-05-12T15:48:23.355Z] ------------------- [2021-05-12T15:48:23.355Z] experimental info: [2021-05-12T15:48:23.355Z] ------------------- [2021-05-12T15:48:23.355Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T15:48:23.355Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T15:48:23.355Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T15:48:23.596Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-12T15:48:23.651Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-12T15:48:23.709Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T15:48:23.764Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T15:48:23.819Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T15:48:23.875Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T15:48:23.932Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T15:48:24.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T15:48:24.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-12T15:48:24.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T15:48:24.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T15:48:24.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-12T15:48:24.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T15:48:24.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T15:48:24.417Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T15:48:24.489Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T15:48:24.544Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T15:48:24.599Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T15:48:24.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T15:48:24.711Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T15:48:24.810Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-12T15:48:24.880Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-12T15:48:24.934Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T15:48:24.988Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T15:48:25.043Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T15:48:25.101Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T15:48:25.186Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-924 [Pipeline] echo [2021-05-12T15:48:25.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-924 [Pipeline] echo [2021-05-12T15:48:25.288Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-924 [Pipeline] echo [2021-05-12T15:48:25.338Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68926e767bd64a1471202d9e3e2c12ae240c4665 [Pipeline] echo [2021-05-12T15:48:25.389Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 68926e7 [Pipeline] echo [2021-05-12T15:48:25.437Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T15:48:25.574Z] provisioning config files... [2021-05-12T15:48:25.617Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-924@tmp/config1409900800799525876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:48:26.011Z] ---> docker-login.sh [2021-05-12T15:48:26.011Z] nexus3.edgexfoundry.org:10001 [2021-05-12T15:48:26.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:48:26.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:48:26.549Z] Configure a credential helper to remove this warning. See [2021-05-12T15:48:26.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:48:26.549Z] [2021-05-12T15:48:26.549Z] Login Succeeded [2021-05-12T15:48:26.549Z] nexus3.edgexfoundry.org:10002 [2021-05-12T15:48:26.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:48:26.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:48:26.549Z] Configure a credential helper to remove this warning. See [2021-05-12T15:48:26.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:48:26.549Z] [2021-05-12T15:48:26.549Z] Login Succeeded [2021-05-12T15:48:26.549Z] nexus3.edgexfoundry.org:10003 [2021-05-12T15:48:26.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:48:26.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:48:26.817Z] Configure a credential helper to remove this warning. See [2021-05-12T15:48:26.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:48:26.817Z] [2021-05-12T15:48:26.817Z] Login Succeeded [2021-05-12T15:48:26.817Z] nexus3.edgexfoundry.org:10004 [2021-05-12T15:48:27.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:48:27.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:48:27.083Z] Configure a credential helper to remove this warning. See [2021-05-12T15:48:27.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:48:27.083Z] [2021-05-12T15:48:27.083Z] Login Succeeded [2021-05-12T15:48:27.083Z] docker.io [2021-05-12T15:48:27.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:48:27.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:48:27.614Z] Configure a credential helper to remove this warning. See [2021-05-12T15:48:27.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:48:27.614Z] [2021-05-12T15:48:27.614Z] Login Succeeded [2021-05-12T15:48:27.614Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T15:48:27.641Z] 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-05-12T15:48:28.329Z] + git log --format=format:%s -1 68926e767bd64a1471202d9e3e2c12ae240c4665 [Pipeline] echo [2021-05-12T15:48:28.480Z] GIT_COMMIT: 68926e767bd64a1471202d9e3e2c12ae240c4665, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-12T15:48:28.519Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:48:29.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T15:48:29.140Z] [2021-05-12T15:48:29.140Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:48:29.509Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T15:48:29.510Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T15:48:29.510Z] 31603596830f: Pulling fs layer [2021-05-12T15:48:29.510Z] 54011a49482f: Pulling fs layer [2021-05-12T15:48:29.510Z] a6820b24f6d8: Pulling fs layer [2021-05-12T15:48:29.510Z] f581987b2513: Pulling fs layer [2021-05-12T15:48:29.510Z] f581987b2513: Waiting [2021-05-12T15:48:29.510Z] 54011a49482f: Verifying Checksum [2021-05-12T15:48:29.510Z] 54011a49482f: Download complete [2021-05-12T15:48:29.784Z] 31603596830f: Verifying Checksum [2021-05-12T15:48:29.785Z] 31603596830f: Download complete [2021-05-12T15:48:29.785Z] f581987b2513: Verifying Checksum [2021-05-12T15:48:29.785Z] f581987b2513: Download complete [2021-05-12T15:48:30.059Z] a6820b24f6d8: Verifying Checksum [2021-05-12T15:48:30.059Z] a6820b24f6d8: Download complete [2021-05-12T15:48:30.326Z] 31603596830f: Pull complete [2021-05-12T15:48:30.326Z] 54011a49482f: Pull complete [2021-05-12T15:48:31.739Z] a6820b24f6d8: Pull complete [2021-05-12T15:48:31.739Z] f581987b2513: Pull complete [2021-05-12T15:48:31.739Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T15:48:32.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T15:48:32.004Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T15:48:32.172Z] prd-centos7-docker-4c-2g-4709 does not seem to be running inside a container [2021-05-12T15:48:32.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-924 -v /w/workspace/dgexfoundry_device-sdk-go_PR-924:/w/workspace/dgexfoundry_device-sdk-go_PR-924:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-924@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-924@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-05-12T15:48:34.361Z] $ docker top bc5becbf41d721d8695989282ed6b8b78db7707de690683ea5533034578b6540 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T15:48:34.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T15:48:34.633Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T15:48:34.882Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T15:48:34.887Z] $ docker exec bc5becbf41d721d8695989282ed6b8b78db7707de690683ea5533034578b6540 ssh-agent [2021-05-12T15:48:35.158Z] SSH_AUTH_SOCK=/tmp/ssh-rJBfTd6iYx7U/agent.11 [2021-05-12T15:48:35.158Z] SSH_AGENT_PID=16 [2021-05-12T15:48:35.171Z] Running ssh-add (command line suppressed) [2021-05-12T15:48:35.357Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-924@tmp/private_key_5499559567694580699.key (/w/workspace/dgexfoundry_device-sdk-go_PR-924@tmp/private_key_5499559567694580699.key) [2021-05-12T15:48:35.444Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T15:48:35.814Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T15:48:35.852Z] $ docker exec --env ******** --env ******** bc5becbf41d721d8695989282ed6b8b78db7707de690683ea5533034578b6540 ssh-agent -k [2021-05-12T15:48:36.046Z] unset SSH_AUTH_SOCK; [2021-05-12T15:48:36.046Z] unset SSH_AGENT_PID; [2021-05-12T15:48:36.046Z] echo Agent pid 16 killed; [2021-05-12T15:48:36.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T15:48:36.212Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T15:48:36.212Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T15:48:36.453Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T15:48:36.457Z] $ docker exec bc5becbf41d721d8695989282ed6b8b78db7707de690683ea5533034578b6540 ssh-agent [2021-05-12T15:48:36.719Z] SSH_AUTH_SOCK=/tmp/ssh-LDMpL3gRMwv5/agent.45 [2021-05-12T15:48:36.719Z] SSH_AGENT_PID=50 [2021-05-12T15:48:36.727Z] Running ssh-add (command line suppressed) [2021-05-12T15:48:36.902Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-924@tmp/private_key_3695491841582898694.key (/w/workspace/dgexfoundry_device-sdk-go_PR-924@tmp/private_key_3695491841582898694.key) [2021-05-12T15:48:36.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T15:48:37.676Z] + git semver init [2021-05-12T15:48:37.676Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T15:48:37.676Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-924/.git [2021-05-12T15:48:37.676Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-924 [2021-05-12T15:48:37.676Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T15:48:37.676Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T15:48:37.676Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T15:48:37.676Z] # $SEMVER_BRANCH = PR-924 [2021-05-12T15:48:37.676Z] # $SEMVER_TEMP = /tmp/semver-121668257 [2021-05-12T15:48:37.676Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-12T15:48:38.663Z] # '/tmp/semver-121668257' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-924/.semver' [2021-05-12T15:48:38.663Z] # -> Force: false [2021-05-12T15:48:38.663Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-924/.semver [Pipeline] } [2021-05-12T15:48:38.688Z] $ docker exec --env ******** --env ******** bc5becbf41d721d8695989282ed6b8b78db7707de690683ea5533034578b6540 ssh-agent -k [2021-05-12T15:48:38.842Z] unset SSH_AUTH_SOCK; [2021-05-12T15:48:38.843Z] unset SSH_AGENT_PID; [2021-05-12T15:48:38.844Z] echo Agent pid 50 killed; [2021-05-12T15:48:38.916Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T15:48:39.356Z] + git semver [Pipeline] } [2021-05-12T15:48:39.388Z] $ docker stop --time=1 bc5becbf41d721d8695989282ed6b8b78db7707de690683ea5533034578b6540 [2021-05-12T15:48:41.138Z] $ docker rm -f bc5becbf41d721d8695989282ed6b8b78db7707de690683ea5533034578b6540 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T15:48:41.653Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T15:48:42.158Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T15:48:42.186Z] [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-05-12T15:48:57.690Z] Still waiting to schedule task [2021-05-12T15:48:57.690Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-12T15:48:57.720Z] Still waiting to schedule task [2021-05-12T15:48:57.720Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-12T15:50:00.768Z] Running on prd-centos7-docker-4c-2g-4713 in /w/workspace/dgexfoundry_device-sdk-go_PR-924 [Pipeline] { [Pipeline] ws [2021-05-12T15:50:00.824Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-12T15:50:03.729Z] using credential edgex-jenkins-ssh [2021-05-12T15:50:03.749Z] Cloning the remote Git repository [2021-05-12T15:50:03.684Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-12T15:50:03.762Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-12T15:50:03.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-12T15:50:03.834Z] > git --version # timeout=10 [2021-05-12T15:50:03.842Z] > git --version # 'git version 2.24.3' [2021-05-12T15:50:03.842Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:50:03.878Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T15:50:11.237Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-12T15:50:11.247Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T15:50:11.282Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-12T15:50:11.347Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-12T15:50:11.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:50:11.366Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/924/head:refs/remotes/origin/PR-924 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T15:50:15.306Z] Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit 68926e767bd64a1471202d9e3e2c12ae240c4665 [2021-05-12T15:50:15.404Z] Merge succeeded, producing 68926e767bd64a1471202d9e3e2c12ae240c4665 [2021-05-12T15:50:15.404Z] Checking out Revision 68926e767bd64a1471202d9e3e2c12ae240c4665 (PR-924) [2021-05-12T15:50:15.315Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T15:50:15.322Z] > git checkout -f 68926e767bd64a1471202d9e3e2c12ae240c4665 # timeout=10 [2021-05-12T15:50:15.372Z] > git remote # timeout=10 [2021-05-12T15:50:15.378Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T15:50:15.384Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:50:15.388Z] > git merge 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 [2021-05-12T15:50:15.398Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T15:50:15.408Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T15:50:15.416Z] > git checkout -f 68926e767bd64a1471202d9e3e2c12ae240c4665 # timeout=10 [2021-05-12T15:50:19.052Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-12T15:50:19.079Z] > git --version # timeout=10 [2021-05-12T15:50:19.085Z] > git --version # 'git version 2.24.3' [2021-05-12T15:50:19.092Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T15:50:20.390Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T15:50:20.745Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T15:50:21.069Z] + true [2021-05-12T15:50:21.069Z] + sudo service docker restart [2021-05-12T15:50:21.069Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T15:50:22.568Z] provisioning config files... [2021-05-12T15:50:22.598Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4856209807874279793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:50:23.029Z] ---> docker-login.sh [2021-05-12T15:50:23.029Z] nexus3.edgexfoundry.org:10001 [2021-05-12T15:50:23.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:50:23.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:50:23.291Z] Configure a credential helper to remove this warning. See [2021-05-12T15:50:23.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:50:23.291Z] [2021-05-12T15:50:23.291Z] Login Succeeded [2021-05-12T15:50:23.291Z] nexus3.edgexfoundry.org:10002 [2021-05-12T15:50:23.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:50:23.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:50:23.557Z] Configure a credential helper to remove this warning. See [2021-05-12T15:50:23.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:50:23.557Z] [2021-05-12T15:50:23.557Z] Login Succeeded [2021-05-12T15:50:23.557Z] nexus3.edgexfoundry.org:10003 [2021-05-12T15:50:23.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:50:23.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:50:23.832Z] Configure a credential helper to remove this warning. See [2021-05-12T15:50:23.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:50:23.832Z] [2021-05-12T15:50:23.832Z] Login Succeeded [2021-05-12T15:50:23.832Z] nexus3.edgexfoundry.org:10004 [2021-05-12T15:50:23.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:50:23.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:50:23.832Z] Configure a credential helper to remove this warning. See [2021-05-12T15:50:23.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:50:23.832Z] [2021-05-12T15:50:23.832Z] Login Succeeded [2021-05-12T15:50:23.832Z] docker.io [2021-05-12T15:50:24.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:50:24.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:50:24.360Z] Configure a credential helper to remove this warning. See [2021-05-12T15:50:24.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:50:24.360Z] [2021-05-12T15:50:24.360Z] Login Succeeded [2021-05-12T15:50:24.360Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T15:50:24.387Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T15:50:24.689Z] ========================================================= [2021-05-12T15:50:24.689Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T15:50:24.689Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:50:25.037Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-12T15:50:25.299Z] Sending build context to Docker daemon 2.559MB [2021-05-12T15:50:25.299Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T15:50:25.299Z] Step 2/8 : FROM ${BASE} [2021-05-12T15:50:25.299Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T15:50:25.299Z] 540db60ca938: Pulling fs layer [2021-05-12T15:50:25.299Z] adcc1eea9eea: Pulling fs layer [2021-05-12T15:50:25.299Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T15:50:25.299Z] 0510c868ecb4: Pulling fs layer [2021-05-12T15:50:25.299Z] afea3b2eda06: Pulling fs layer [2021-05-12T15:50:25.299Z] 7809a108b3ef: Pulling fs layer [2021-05-12T15:50:25.299Z] f706445af74f: Pulling fs layer [2021-05-12T15:50:25.299Z] 0510c868ecb4: Waiting [2021-05-12T15:50:25.299Z] afea3b2eda06: Waiting [2021-05-12T15:50:25.299Z] f706445af74f: Waiting [2021-05-12T15:50:25.299Z] 7809a108b3ef: Waiting [2021-05-12T15:50:25.299Z] 4c4ab2625f07: Verifying Checksum [2021-05-12T15:50:25.299Z] 4c4ab2625f07: Download complete [2021-05-12T15:50:25.299Z] adcc1eea9eea: Verifying Checksum [2021-05-12T15:50:25.299Z] adcc1eea9eea: Download complete [2021-05-12T15:50:25.299Z] afea3b2eda06: Verifying Checksum [2021-05-12T15:50:25.299Z] afea3b2eda06: Download complete [2021-05-12T15:50:25.299Z] 540db60ca938: Verifying Checksum [2021-05-12T15:50:25.299Z] 540db60ca938: Download complete [2021-05-12T15:50:25.299Z] 7809a108b3ef: Verifying Checksum [2021-05-12T15:50:25.299Z] 7809a108b3ef: Download complete [2021-05-12T15:50:25.873Z] 540db60ca938: Pull complete [2021-05-12T15:50:25.873Z] adcc1eea9eea: Pull complete [2021-05-12T15:50:26.136Z] 4c4ab2625f07: Pull complete [2021-05-12T15:50:26.714Z] f706445af74f: Verifying Checksum [2021-05-12T15:50:26.714Z] f706445af74f: Download complete [2021-05-12T15:50:27.671Z] 0510c868ecb4: Verifying Checksum [2021-05-12T15:50:27.671Z] 0510c868ecb4: Download complete [2021-05-12T15:50:33.018Z] 0510c868ecb4: Pull complete [2021-05-12T15:50:33.018Z] afea3b2eda06: Pull complete [2021-05-12T15:50:33.285Z] 7809a108b3ef: Pull complete [2021-05-12T15:50:41.474Z] f706445af74f: Pull complete [2021-05-12T15:50:41.474Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T15:50:41.474Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T15:50:41.474Z] ---> b068be0155e3 [2021-05-12T15:50:41.474Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-12T15:50:41.474Z] ---> Running in 3db310a9ed25 [2021-05-12T15:50:41.474Z] Removing intermediate container 3db310a9ed25 [2021-05-12T15:50:41.474Z] ---> bf79710213b7 [2021-05-12T15:50:41.474Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:50:41.474Z] ---> Running in deab340e8b25 [2021-05-12T15:50:42.436Z] Removing intermediate container deab340e8b25 [2021-05-12T15:50:42.436Z] ---> cee19a3bdd0e [2021-05-12T15:50:42.436Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-12T15:50:42.436Z] ---> Running in 89e936544415 [2021-05-12T15:50:43.845Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T15:50:44.812Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T15:50:45.763Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-12T15:50:45.763Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-12T15:50:46.041Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-12T15:50:46.041Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-12T15:50:46.041Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-12T15:50:46.305Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-12T15:50:46.305Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T15:50:46.305Z] OK: 150 MiB in 46 packages [2021-05-12T15:50:47.262Z] Removing intermediate container 89e936544415 [2021-05-12T15:50:47.262Z] ---> 29647502d9d2 [2021-05-12T15:50:47.262Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-12T15:50:47.262Z] ---> Running in 18986fa9119a [2021-05-12T15:50:47.262Z] Removing intermediate container 18986fa9119a [2021-05-12T15:50:47.262Z] ---> 4a968c5519b2 [2021-05-12T15:50:47.262Z] Step 7/8 : COPY . . [2021-05-12T15:50:48.660Z] ---> 24e3e667e433 [2021-05-12T15:50:48.660Z] Step 8/8 : RUN go mod download [2021-05-12T15:50:48.660Z] ---> Running in a9e0071e977b [2021-05-12T15:51:10.708Z] Removing intermediate container a9e0071e977b [2021-05-12T15:51:10.708Z] ---> 77d1f7daeb01 [2021-05-12T15:51:10.708Z] Successfully built 77d1f7daeb01 [2021-05-12T15:51:10.708Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:51:11.100Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T15:51:11.100Z] . [Pipeline] withDockerContainer [2021-05-12T15:51:11.266Z] prd-centos7-docker-4c-2g-4713 does not seem to be running inside a container [2021-05-12T15:51:11.319Z] $ 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-05-12T15:51:12.172Z] $ docker top c404286bcfbb96f854c3a0a8a77ddbebe91c34e3dcfcde524e0768c46c86985e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T15:51:12.669Z] + go version [2021-05-12T15:51:12.669Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T15:51:12.714Z] $ docker stop --time=1 c404286bcfbb96f854c3a0a8a77ddbebe91c34e3dcfcde524e0768c46c86985e [2021-05-12T15:51:14.078Z] $ docker rm -f c404286bcfbb96f854c3a0a8a77ddbebe91c34e3dcfcde524e0768c46c86985e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:51:14.846Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T15:51:14.846Z] . [Pipeline] withDockerContainer [2021-05-12T15:51:14.981Z] prd-centos7-docker-4c-2g-4713 does not seem to be running inside a container [2021-05-12T15:51:15.034Z] $ 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-05-12T15:51:15.746Z] $ docker top 78037ea73e35b3e15a4fe06e59476276935817bc05aebef9dc44eb13c156b551 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T15:51:16.251Z] + go mod tidy [Pipeline] sh [2021-05-12T15:51:17.162Z] + make test [2021-05-12T15:51:17.162Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-12T15:51:27.542Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-12T15:51:45.320Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4715 in /w/workspace/dgexfoundry_device-sdk-go_PR-924 [Pipeline] { [Pipeline] ws [2021-05-12T15:51:45.380Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-12T15:51:51.543Z] using credential edgex-jenkins-ssh [2021-05-12T15:51:51.568Z] Cloning the remote Git repository [2021-05-12T15:51:51.677Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-12T15:51:51.970Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-12T15:51:52.041Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-12T15:51:52.042Z] > git --version # timeout=10 [2021-05-12T15:51:52.069Z] > git --version # 'git version 2.17.1' [2021-05-12T15:51:52.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:51:52.141Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T15:51:54.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-12T15:51:54.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-12T15:51:54.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-12T15:51:53.542Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-12T15:51:53.561Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T15:51:53.599Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-12T15:51:53.648Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-12T15:51:53.649Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:51:53.663Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/924/head:refs/remotes/origin/PR-924 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T15:51:54.873Z] Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit 68926e767bd64a1471202d9e3e2c12ae240c4665 [2021-05-12T15:51:54.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.095s coverage: 25.4% of statements [2021-05-12T15:51:54.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-12T15:51:54.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.090s coverage: 28.1% of statements [2021-05-12T15:51:54.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2021-05-12T15:51:55.127Z] Merge succeeded, producing 68926e767bd64a1471202d9e3e2c12ae240c4665 [2021-05-12T15:51:55.128Z] Checking out Revision 68926e767bd64a1471202d9e3e2c12ae240c4665 (PR-924) [2021-05-12T15:51:55.491Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.113s coverage: 10.7% of statements [2021-05-12T15:51:55.491Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-12T15:51:55.491Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-12T15:51:55.491Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-12T15:51:54.893Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T15:51:54.916Z] > git checkout -f 68926e767bd64a1471202d9e3e2c12ae240c4665 # timeout=10 [2021-05-12T15:51:55.030Z] > git remote # timeout=10 [2021-05-12T15:51:55.048Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T15:51:55.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T15:51:55.081Z] > git merge 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 [2021-05-12T15:51:55.103Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T15:51:55.136Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T15:51:55.148Z] > git checkout -f 68926e767bd64a1471202d9e3e2c12ae240c4665 # timeout=10 [2021-05-12T15:51:56.100Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.124s coverage: 30.2% of statements [2021-05-12T15:51:56.100Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-12T15:51:57.519Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.105s coverage: 83.3% of statements [2021-05-12T15:51:57.519Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-12T15:51:57.519Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-12T15:51:57.519Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.121s coverage: 58.4% of statements [2021-05-12T15:51:58.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.351s coverage: 89.2% of statements [2021-05-12T15:51:58.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-12T15:51:58.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.073s coverage: 5.0% of statements [2021-05-12T15:51:58.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-12T15:51:58.366Z] GO111MODULE=on go vet ./... [2021-05-12T15:51:59.426Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-12T15:51:59.497Z] > git --version # timeout=10 [2021-05-12T15:51:59.510Z] > git --version # 'git version 2.17.1' [2021-05-12T15:51:59.531Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T15:52:01.376Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-12T15:52:01.831Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T15:52:02.231Z] + sudo service docker restart [2021-05-12T15:52:02.231Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T15:52:05.757Z] provisioning config files... [2021-05-12T15:52:05.804Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8950775779349970247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:52:06.238Z] ---> docker-login.sh [2021-05-12T15:52:06.238Z] nexus3.edgexfoundry.org:10001 [2021-05-12T15:52:07.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:52:07.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:52:07.497Z] Configure a credential helper to remove this warning. See [2021-05-12T15:52:07.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:52:07.497Z] [2021-05-12T15:52:07.497Z] Login Succeeded [2021-05-12T15:52:07.497Z] nexus3.edgexfoundry.org:10002 [2021-05-12T15:52:07.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:52:08.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:52:08.046Z] Configure a credential helper to remove this warning. See [2021-05-12T15:52:08.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:52:08.046Z] [2021-05-12T15:52:08.046Z] Login Succeeded [2021-05-12T15:52:08.046Z] nexus3.edgexfoundry.org:10003 [2021-05-12T15:52:08.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:52:08.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:52:08.320Z] Configure a credential helper to remove this warning. See [2021-05-12T15:52:08.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:52:08.320Z] [2021-05-12T15:52:08.320Z] Login Succeeded [2021-05-12T15:52:08.595Z] nexus3.edgexfoundry.org:10004 [2021-05-12T15:52:08.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:52:09.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:52:09.143Z] Configure a credential helper to remove this warning. See [2021-05-12T15:52:09.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:52:09.143Z] [2021-05-12T15:52:09.143Z] Login Succeeded [2021-05-12T15:52:09.143Z] docker.io [2021-05-12T15:52:09.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T15:52:09.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T15:52:09.703Z] Configure a credential helper to remove this warning. See [2021-05-12T15:52:09.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T15:52:09.703Z] [2021-05-12T15:52:09.703Z] Login Succeeded [2021-05-12T15:52:09.703Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T15:52:09.734Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T15:52:10.193Z] ========================================================= [2021-05-12T15:52:10.193Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T15:52:10.193Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:52:10.595Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-12T15:52:11.213Z] Sending build context to Docker daemon 2.558MB [2021-05-12T15:52:11.213Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T15:52:11.213Z] Step 2/8 : FROM ${BASE} [2021-05-12T15:52:11.213Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T15:52:11.213Z] 595b0fe564bb: Pulling fs layer [2021-05-12T15:52:11.213Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T15:52:11.213Z] 316046926c0a: Pulling fs layer [2021-05-12T15:52:11.213Z] 4ebd0625c992: Pulling fs layer [2021-05-12T15:52:11.213Z] 207e8628e3a3: Pulling fs layer [2021-05-12T15:52:11.213Z] c791037a9be2: Pulling fs layer [2021-05-12T15:52:11.213Z] ffd874e62e21: Pulling fs layer [2021-05-12T15:52:11.213Z] 4ebd0625c992: Waiting [2021-05-12T15:52:11.213Z] 207e8628e3a3: Waiting [2021-05-12T15:52:11.213Z] ffd874e62e21: Waiting [2021-05-12T15:52:11.213Z] c791037a9be2: Waiting [2021-05-12T15:52:11.213Z] 316046926c0a: Verifying Checksum [2021-05-12T15:52:11.213Z] 316046926c0a: Download complete [2021-05-12T15:52:11.213Z] 7186ed65a4f7: Verifying Checksum [2021-05-12T15:52:11.213Z] 595b0fe564bb: Verifying Checksum [2021-05-12T15:52:11.213Z] 595b0fe564bb: Download complete [2021-05-12T15:52:11.487Z] 207e8628e3a3: Verifying Checksum [2021-05-12T15:52:11.487Z] 207e8628e3a3: Download complete [2021-05-12T15:52:11.487Z] c791037a9be2: Verifying Checksum [2021-05-12T15:52:11.487Z] c791037a9be2: Download complete [2021-05-12T15:52:12.095Z] 595b0fe564bb: Pull complete [2021-05-12T15:52:12.700Z] 7186ed65a4f7: Pull complete [2021-05-12T15:52:12.973Z] 316046926c0a: Pull complete [2021-05-12T15:52:13.571Z] ffd874e62e21: Verifying Checksum [2021-05-12T15:52:13.571Z] ffd874e62e21: Download complete [2021-05-12T15:52:14.558Z] 4ebd0625c992: Verifying Checksum [2021-05-12T15:52:14.558Z] 4ebd0625c992: Download complete [2021-05-12T15:52:20.460Z] gofmt -l . [2021-05-12T15:52:20.460Z] [ "`gofmt -l .`" = "" ] [2021-05-12T15:52:20.460Z] ./bin/test-attribution-txt.sh [2021-05-12T15:52:20.460Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T15:52:20.506Z] $ docker stop --time=1 78037ea73e35b3e15a4fe06e59476276935817bc05aebef9dc44eb13c156b551 [2021-05-12T15:52:23.267Z] $ docker rm -f 78037ea73e35b3e15a4fe06e59476276935817bc05aebef9dc44eb13c156b551 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T15:52:23.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T15:52:24.395Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-12T15:52:25.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T15:52:25.978Z] + ls -al . [2021-05-12T15:52:25.978Z] total 212 [2021-05-12T15:52:25.978Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 12 15:52 . [2021-05-12T15:52:25.978Z] drwxrwxr-x. 4 jenkins jenkins 28 May 12 15:50 .. [2021-05-12T15:52:25.978Z] drwxrwxr-x. 2 jenkins jenkins 64 May 12 15:50 bin [2021-05-12T15:52:25.978Z] -rw-r--r--. 1 jenkins jenkins 126002 May 12 15:51 coverage.out [2021-05-12T15:52:25.978Z] -rw-rw-r--. 1 jenkins jenkins 987 May 12 15:50 Dockerfile.build [2021-05-12T15:52:25.978Z] -rw-rw-r--. 1 jenkins jenkins 140 May 12 15:50 .dockerignore [2021-05-12T15:52:25.978Z] drwxrwxr-x. 5 jenkins jenkins 62 May 12 15:50 example [2021-05-12T15:52:25.978Z] drwxrwxr-x. 8 jenkins jenkins 179 May 12 15:50 .git [2021-05-12T15:52:25.978Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 15:50 .github [2021-05-12T15:52:25.978Z] -rw-rw-r--. 1 jenkins jenkins 138 May 12 15:50 .gitignore [2021-05-12T15:52:25.978Z] -rw-r--r--. 1 jenkins jenkins 575 May 12 15:52 go.mod [2021-05-12T15:52:25.978Z] -rw-r--r--. 1 jenkins jenkins 20526 May 12 15:51 go.sum [2021-05-12T15:52:25.978Z] drwxrwxr-x. 15 jenkins jenkins 224 May 12 15:50 internal [2021-05-12T15:52:25.978Z] -rw-rw-r--. 1 jenkins jenkins 894 May 12 15:50 Jenkinsfile [2021-05-12T15:52:25.978Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 12 15:50 LICENSE [2021-05-12T15:52:25.978Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 12 15:50 Makefile [2021-05-12T15:52:25.978Z] drwxrwxr-x. 4 jenkins jenkins 26 May 12 15:50 openapi [2021-05-12T15:52:25.978Z] drwxrwxr-x. 5 jenkins jenkins 50 May 12 15:50 pkg [2021-05-12T15:52:25.978Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 12 15:50 README.md [2021-05-12T15:52:25.978Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 12 15:50 RELEASE-NOTES.txt [2021-05-12T15:52:25.978Z] drwxrwxr-x. 4 jenkins jenkins 54 May 12 15:50 snap [2021-05-12T15:52:25.978Z] -rw-rw-r--. 1 jenkins jenkins 5 May 12 15:48 VERSION [2021-05-12T15:52:25.978Z] -rw-rw-r--. 1 jenkins jenkins 222 May 12 15:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:52:26.333Z] + docker build -t 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=68926e767bd64a1471202d9e3e2c12ae240c4665 --label arch=amd64 --label version=0.0.0 . [2021-05-12T15:52:26.595Z] Sending build context to Docker daemon 2.686MB [2021-05-12T15:52:26.595Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T15:52:26.595Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-12T15:52:26.595Z] ---> 77d1f7daeb01 [2021-05-12T15:52:26.595Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-12T15:52:27.047Z] 4ebd0625c992: Pull complete [2021-05-12T15:52:27.047Z] 207e8628e3a3: Pull complete [2021-05-12T15:52:27.047Z] c791037a9be2: Pull complete [2021-05-12T15:52:27.171Z] ---> Running in 98fcc6d4f96f [2021-05-12T15:52:27.434Z] Removing intermediate container 98fcc6d4f96f [2021-05-12T15:52:27.434Z] ---> ad03cca7d9db [2021-05-12T15:52:27.434Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-12T15:52:27.434Z] ---> Running in 8f645aa072f5 [2021-05-12T15:52:27.699Z] Removing intermediate container 8f645aa072f5 [2021-05-12T15:52:27.699Z] ---> 124c769c6292 [2021-05-12T15:52:27.699Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:52:27.699Z] ---> Running in 9cfd04c59162 [2021-05-12T15:52:28.655Z] Removing intermediate container 9cfd04c59162 [2021-05-12T15:52:28.655Z] ---> 6c81002126e4 [2021-05-12T15:52:28.655Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-12T15:52:28.655Z] ---> Running in fe81bb2fbcd2 [2021-05-12T15:52:29.253Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T15:52:29.683Z] ffd874e62e21: Pull complete [2021-05-12T15:52:29.683Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T15:52:29.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T15:52:29.683Z] ---> cfc18b08335c [2021-05-12T15:52:29.683Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-12T15:52:29.831Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T15:52:30.407Z] OK: 150 MiB in 46 packages [2021-05-12T15:52:30.986Z] Removing intermediate container fe81bb2fbcd2 [2021-05-12T15:52:30.986Z] ---> 3838b76b2679 [2021-05-12T15:52:30.986Z] Step 7/23 : COPY . . [2021-05-12T15:52:31.933Z] ---> b80d5ac3ddfa [2021-05-12T15:52:31.933Z] Step 8/23 : RUN go mod download [2021-05-12T15:52:32.202Z] ---> Running in 0d4b4d795710 [2021-05-12T15:52:33.107Z] ---> Running in bf8791ee730e [2021-05-12T15:52:33.154Z] Removing intermediate container 0d4b4d795710 [2021-05-12T15:52:33.154Z] ---> 73b0b9a51dd9 [2021-05-12T15:52:33.154Z] Step 9/23 : RUN make build [2021-05-12T15:52:33.385Z] Removing intermediate container bf8791ee730e [2021-05-12T15:52:33.385Z] ---> aa696c3751dd [2021-05-12T15:52:33.385Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:52:33.418Z] ---> Running in 34753250c866 [2021-05-12T15:52:33.662Z] ---> Running in a4ca672c2edc [2021-05-12T15:52:33.701Z] 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-05-12T15:52:36.567Z] Removing intermediate container a4ca672c2edc [2021-05-12T15:52:36.567Z] ---> 7a3c31c0c4eb [2021-05-12T15:52:36.567Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-12T15:52:36.567Z] ---> Running in b82537cf7116 [2021-05-12T15:52:37.572Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T15:52:38.552Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T15:52:39.533Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-12T15:52:39.805Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-12T15:52:39.805Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-12T15:52:39.805Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-12T15:52:40.077Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-12T15:52:40.077Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-12T15:52:40.077Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T15:52:40.353Z] OK: 139 MiB in 46 packages [2021-05-12T15:52:41.787Z] Removing intermediate container b82537cf7116 [2021-05-12T15:52:41.787Z] ---> b6185f3b6a11 [2021-05-12T15:52:41.787Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-12T15:52:41.787Z] ---> Running in 84437c1bc1d2 [2021-05-12T15:52:42.393Z] Removing intermediate container 84437c1bc1d2 [2021-05-12T15:52:42.393Z] ---> ff57d7c66792 [2021-05-12T15:52:42.393Z] Step 7/8 : COPY . . [2021-05-12T15:52:43.847Z] ---> 606822d269a7 [2021-05-12T15:52:43.847Z] Step 8/8 : RUN go mod download [2021-05-12T15:52:43.847Z] ---> Running in 8acf2dea83bd [2021-05-12T15:52:46.063Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-12T15:52:47.023Z] Removing intermediate container 34753250c866 [2021-05-12T15:52:47.023Z] ---> 6cfcaa932fd3 [2021-05-12T15:52:47.023Z] Step 10/23 : FROM alpine:3.12 [2021-05-12T15:52:47.285Z] 3.12: Pulling from library/alpine [2021-05-12T15:52:47.549Z] 339de151aab4: Pulling fs layer [2021-05-12T15:52:47.549Z] 339de151aab4: Verifying Checksum [2021-05-12T15:52:47.549Z] 339de151aab4: Download complete [2021-05-12T15:52:47.814Z] 339de151aab4: Pull complete [2021-05-12T15:52:48.076Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T15:52:48.076Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T15:52:48.076Z] ---> 13621d1b12d4 [2021-05-12T15:52:48.076Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-12T15:52:48.076Z] ---> Running in 0a50a7be02f6 [2021-05-12T15:52:48.344Z] Removing intermediate container 0a50a7be02f6 [2021-05-12T15:52:48.344Z] ---> eb0b17514fca [2021-05-12T15:52:48.344Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:52:48.344Z] ---> Running in 24aa9f4e762e [2021-05-12T15:52:49.300Z] Removing intermediate container 24aa9f4e762e [2021-05-12T15:52:49.300Z] ---> a94de3a3e25e [2021-05-12T15:52:49.300Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-12T15:52:49.566Z] ---> Running in 5d2a34e0e9fc [2021-05-12T15:52:50.142Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-12T15:52:50.718Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-12T15:52:51.293Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-12T15:52:51.293Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-12T15:52:51.293Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-12T15:52:51.869Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-12T15:52:51.869Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-12T15:52:51.869Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T15:52:52.134Z] OK: 8 MiB in 19 packages [2021-05-12T15:52:53.526Z] Removing intermediate container 5d2a34e0e9fc [2021-05-12T15:52:53.526Z] ---> 2e9d096d6ad7 [2021-05-12T15:52:53.526Z] Step 14/23 : WORKDIR / [2021-05-12T15:52:53.526Z] ---> Running in dddde0f8f886 [2021-05-12T15:52:53.526Z] Removing intermediate container dddde0f8f886 [2021-05-12T15:52:53.526Z] ---> 62c79c0e4afd [2021-05-12T15:52:53.526Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-12T15:52:53.790Z] ---> 6aa1ae2db7d9 [2021-05-12T15:52:53.790Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-12T15:52:54.370Z] ---> 01b0fcca20b2 [2021-05-12T15:52:54.371Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-12T15:52:54.633Z] ---> 0a886503ecb5 [2021-05-12T15:52:54.633Z] Step 18/23 : EXPOSE 49990 [2021-05-12T15:52:54.633Z] ---> Running in e5c026b090a6 [2021-05-12T15:52:54.895Z] Removing intermediate container e5c026b090a6 [2021-05-12T15:52:54.895Z] ---> cc738a78a306 [2021-05-12T15:52:54.895Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-12T15:52:54.895Z] ---> Running in 508983b98b77 [2021-05-12T15:52:55.159Z] Removing intermediate container 508983b98b77 [2021-05-12T15:52:55.159Z] ---> ac84814fe406 [2021-05-12T15:52:55.159Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T15:52:55.159Z] ---> Running in 9b846078df71 [2021-05-12T15:52:55.421Z] Removing intermediate container 9b846078df71 [2021-05-12T15:52:55.421Z] ---> 8b0cb2b0050e [2021-05-12T15:52:55.421Z] Step 21/23 : LABEL arch=amd64 [2021-05-12T15:52:55.421Z] ---> Running in 694f4b270367 [2021-05-12T15:52:55.421Z] Removing intermediate container 694f4b270367 [2021-05-12T15:52:55.421Z] ---> 33c7c65b58bb [2021-05-12T15:52:55.421Z] Step 22/23 : LABEL git_sha=68926e767bd64a1471202d9e3e2c12ae240c4665 [2021-05-12T15:52:55.683Z] ---> Running in a17409b43e26 [2021-05-12T15:52:55.683Z] Removing intermediate container a17409b43e26 [2021-05-12T15:52:55.683Z] ---> 757d2435b495 [2021-05-12T15:52:55.684Z] Step 23/23 : LABEL version=0.0.0 [2021-05-12T15:52:55.947Z] ---> Running in 63b1d6afdcab [2021-05-12T15:52:55.947Z] Removing intermediate container 63b1d6afdcab [2021-05-12T15:52:55.947Z] ---> edfca6f14787 [2021-05-12T15:52:55.947Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-12T15:52:55.947Z] Successfully built edfca6f14787 [2021-05-12T15:52:55.947Z] Successfully tagged 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-05-12T15:52:56.749Z] ---> job-cost.sh [2021-05-12T15:52:56.749Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sgrf [2021-05-12T15:53:10.660Z] Removing intermediate container 8acf2dea83bd [2021-05-12T15:53:10.660Z] ---> fde4e18f6f9f [2021-05-12T15:53:10.660Z] Successfully built fde4e18f6f9f [2021-05-12T15:53:10.660Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:53:11.051Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T15:53:11.051Z] . [Pipeline] withDockerContainer [2021-05-12T15:53:11.356Z] prd-ubuntu18.04-docker-arm64-4c-16g-4715 does not seem to be running inside a container [2021-05-12T15:53:11.451Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-05-12T15:53:11.704Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T15:53:13.127Z] $ docker top 8c3f3ef7772f04e43f2dcc548815b5220a78f479e1b657b86ed093e9955a1ddf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T15:53:14.187Z] + go version [2021-05-12T15:53:14.187Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T15:53:14.234Z] $ docker stop --time=1 8c3f3ef7772f04e43f2dcc548815b5220a78f479e1b657b86ed093e9955a1ddf [2021-05-12T15:53:16.287Z] $ docker rm -f 8c3f3ef7772f04e43f2dcc548815b5220a78f479e1b657b86ed093e9955a1ddf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:53:17.319Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T15:53:17.319Z] . [Pipeline] withDockerContainer [2021-05-12T15:53:17.617Z] prd-ubuntu18.04-docker-arm64-4c-16g-4715 does not seem to be running inside a container [2021-05-12T15:53:17.714Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-05-12T15:53:19.383Z] $ docker top 3328f86240125f4cdc2ef1edd809c8b94a00cc2367f649a1f807ead51c70795a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T15:53:20.412Z] + go mod tidy [Pipeline] sh [2021-05-12T15:53:21.710Z] + make test [2021-05-12T15:53:21.710Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-12T15:53:38.340Z] lf-activate-venv(): INFO: Adding /tmp/venv-sgrf/bin to PATH [2021-05-12T15:53:38.340Z] INFO: No Stack... [2021-05-12T15:53:38.340Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T15:53:38.915Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T15:53:39.255Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-12T15:53:39.255Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T15:53:39.378Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-924-1-stack-cost] [2021-05-12T15:53:39.384Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-924-1-stack-cost] did not exist. Created. [2021-05-12T15:53:39.384Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-924-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T15:53:39.813Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T15:53:39.956Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T15:53:39.976Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-924-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T15:53:48.538Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-12T15:54:56.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-12T15:54:56.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-12T15:54:56.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-12T15:55:06.995Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.219s coverage: 25.4% of statements [2021-05-12T15:55:06.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-12T15:55:06.995Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.185s coverage: 28.1% of statements [2021-05-12T15:55:06.995Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.167s coverage: 78.9% of statements [2021-05-12T15:55:06.995Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.179s coverage: 10.7% of statements [2021-05-12T15:55:06.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-12T15:55:06.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-12T15:55:06.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-12T15:55:10.411Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.204s coverage: 30.2% of statements [2021-05-12T15:55:10.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-12T15:55:11.025Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.171s coverage: 83.3% of statements [2021-05-12T15:55:11.025Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-12T15:55:11.025Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-12T15:55:11.025Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.334s coverage: 58.4% of statements [2021-05-12T15:55:14.449Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.047s coverage: 89.2% of statements [2021-05-12T15:55:14.449Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-12T15:55:14.449Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.156s coverage: 5.0% of statements [2021-05-12T15:55:14.449Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-12T15:55:15.044Z] GO111MODULE=on go vet ./... [2021-05-12T15:56:11.652Z] gofmt -l . [2021-05-12T15:56:11.652Z] [ "`gofmt -l .`" = "" ] [2021-05-12T15:56:11.652Z] ./bin/test-attribution-txt.sh [2021-05-12T15:56:11.652Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T15:56:11.711Z] $ docker stop --time=1 3328f86240125f4cdc2ef1edd809c8b94a00cc2367f649a1f807ead51c70795a [2021-05-12T15:56:13.969Z] $ docker rm -f 3328f86240125f4cdc2ef1edd809c8b94a00cc2367f649a1f807ead51c70795a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T15:56:15.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T15:56:15.108Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T15:56:15.678Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T15:56:16.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T15:56:16.714Z] + ls -al . [2021-05-12T15:56:16.714Z] total 248 [2021-05-12T15:56:16.714Z] drwxrwxr-x 10 jenkins jenkins 4096 May 12 15:56 . [2021-05-12T15:56:16.714Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:51 .. [2021-05-12T15:56:16.714Z] -rw-rw-r-- 1 jenkins jenkins 140 May 12 15:51 .dockerignore [2021-05-12T15:56:16.714Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:51 .git [2021-05-12T15:56:16.714Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:51 .github [2021-05-12T15:56:16.714Z] -rw-rw-r-- 1 jenkins jenkins 138 May 12 15:51 .gitignore [2021-05-12T15:56:16.714Z] -rw-rw-r-- 1 jenkins jenkins 987 May 12 15:51 Dockerfile.build [2021-05-12T15:56:16.714Z] -rw-rw-r-- 1 jenkins jenkins 894 May 12 15:51 Jenkinsfile [2021-05-12T15:56:16.714Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 12 15:51 LICENSE [2021-05-12T15:56:16.714Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 12 15:51 Makefile [2021-05-12T15:56:16.714Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 12 15:51 README.md [2021-05-12T15:56:16.714Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 12 15:51 RELEASE-NOTES.txt [2021-05-12T15:56:16.714Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:48 VERSION [2021-05-12T15:56:16.714Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:51 bin [2021-05-12T15:56:16.714Z] -rw-r--r-- 1 jenkins jenkins 126003 May 12 15:55 coverage.out [2021-05-12T15:56:16.714Z] drwxrwxr-x 5 jenkins jenkins 4096 May 12 15:51 example [2021-05-12T15:56:16.714Z] -rw-r--r-- 1 jenkins jenkins 575 May 12 15:56 go.mod [2021-05-12T15:56:16.714Z] -rw-r--r-- 1 jenkins jenkins 20526 May 12 15:53 go.sum [2021-05-12T15:56:16.714Z] drwxrwxr-x 15 jenkins jenkins 4096 May 12 15:51 internal [2021-05-12T15:56:16.714Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:51 openapi [2021-05-12T15:56:16.714Z] drwxrwxr-x 5 jenkins jenkins 4096 May 12 15:51 pkg [2021-05-12T15:56:16.714Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:51 snap [2021-05-12T15:56:16.714Z] -rw-rw-r-- 1 jenkins jenkins 222 May 12 15:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:56:17.178Z] + docker build -t 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=68926e767bd64a1471202d9e3e2c12ae240c4665 --label arch=arm64 --label version=0.0.0 . [2021-05-12T15:56:17.461Z] Sending build context to Docker daemon 2.685MB [2021-05-12T15:56:17.737Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T15:56:17.737Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-12T15:56:17.737Z] ---> fde4e18f6f9f [2021-05-12T15:56:17.737Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-12T15:56:18.032Z] ---> Running in da12608b5943 [2021-05-12T15:56:18.643Z] Removing intermediate container da12608b5943 [2021-05-12T15:56:18.643Z] ---> 9eedaed67413 [2021-05-12T15:56:18.643Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-12T15:56:18.643Z] ---> Running in a036bacaa720 [2021-05-12T15:56:19.243Z] Removing intermediate container a036bacaa720 [2021-05-12T15:56:19.243Z] ---> c57326bdb8a6 [2021-05-12T15:56:19.243Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:56:19.243Z] ---> Running in 728f12082093 [2021-05-12T15:56:21.878Z] Removing intermediate container 728f12082093 [2021-05-12T15:56:21.878Z] ---> 1c2e60eab7d3 [2021-05-12T15:56:21.878Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-12T15:56:21.878Z] ---> Running in 493c48b07b4e [2021-05-12T15:56:22.857Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T15:56:23.831Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T15:56:25.253Z] OK: 139 MiB in 46 packages [2021-05-12T15:56:26.679Z] Removing intermediate container 493c48b07b4e [2021-05-12T15:56:26.679Z] ---> 55753d111ae4 [2021-05-12T15:56:26.679Z] Step 7/23 : COPY . . [2021-05-12T15:56:27.664Z] ---> 94e782eaa4df [2021-05-12T15:56:27.664Z] Step 8/23 : RUN go mod download [2021-05-12T15:56:27.936Z] ---> Running in a68de654db6f [2021-05-12T15:56:30.555Z] Removing intermediate container a68de654db6f [2021-05-12T15:56:30.555Z] ---> 27a9878fa524 [2021-05-12T15:56:30.555Z] Step 9/23 : RUN make build [2021-05-12T15:56:30.555Z] ---> Running in d39265b709ee [2021-05-12T15:56:31.535Z] 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-05-12T15:57:03.920Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-12T15:57:07.304Z] Removing intermediate container d39265b709ee [2021-05-12T15:57:07.305Z] ---> 2e0442035235 [2021-05-12T15:57:07.305Z] Step 10/23 : FROM alpine:3.12 [2021-05-12T15:57:08.279Z] 3.12: Pulling from library/alpine [2021-05-12T15:57:08.279Z] d2f70382dc9a: Pulling fs layer [2021-05-12T15:57:08.551Z] d2f70382dc9a: Verifying Checksum [2021-05-12T15:57:08.551Z] d2f70382dc9a: Download complete [2021-05-12T15:57:10.346Z] d2f70382dc9a: Pull complete [2021-05-12T15:57:10.346Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T15:57:10.346Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T15:57:10.346Z] ---> 9852663dfa18 [2021-05-12T15:57:10.346Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-12T15:57:10.619Z] ---> Running in c0d0af067327 [2021-05-12T15:57:10.896Z] Removing intermediate container c0d0af067327 [2021-05-12T15:57:10.896Z] ---> 32a356c9e5b7 [2021-05-12T15:57:10.896Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T15:57:11.169Z] ---> Running in 6bdb629b8f98 [2021-05-12T15:57:13.137Z] Removing intermediate container 6bdb629b8f98 [2021-05-12T15:57:13.137Z] ---> ac513b08a5d3 [2021-05-12T15:57:13.137Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-12T15:57:13.410Z] ---> Running in 286d2295009d [2021-05-12T15:57:14.843Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-12T15:57:15.437Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-12T15:57:16.031Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-12T15:57:16.031Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-12T15:57:16.306Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-12T15:57:16.306Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-12T15:57:16.607Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-12T15:57:16.607Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T15:57:16.607Z] OK: 8 MiB in 19 packages [2021-05-12T15:57:18.047Z] Removing intermediate container 286d2295009d [2021-05-12T15:57:18.047Z] ---> 51182e75760f [2021-05-12T15:57:18.047Z] Step 14/23 : WORKDIR / [2021-05-12T15:57:18.047Z] ---> Running in ae8eb1ce5995 [2021-05-12T15:57:18.643Z] Removing intermediate container ae8eb1ce5995 [2021-05-12T15:57:18.643Z] ---> 10ab9a01058c [2021-05-12T15:57:18.643Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-12T15:57:19.239Z] ---> 4b951948cc94 [2021-05-12T15:57:19.239Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-12T15:57:20.670Z] ---> 5e5de598814f [2021-05-12T15:57:20.670Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-12T15:57:21.646Z] ---> e116275c36b7 [2021-05-12T15:57:21.646Z] Step 18/23 : EXPOSE 49990 [2021-05-12T15:57:21.646Z] ---> Running in e7d93eedf189 [2021-05-12T15:57:23.324Z] Removing intermediate container e7d93eedf189 [2021-05-12T15:57:23.324Z] ---> 6dfe97865be8 [2021-05-12T15:57:23.324Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-12T15:57:23.324Z] ---> Running in 59490f408e71 [2021-05-12T15:57:23.595Z] Removing intermediate container 59490f408e71 [2021-05-12T15:57:23.595Z] ---> 191da2c5bf5d [2021-05-12T15:57:23.595Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T15:57:23.867Z] ---> Running in f29ed3a4a4f5 [2021-05-12T15:57:24.143Z] Removing intermediate container f29ed3a4a4f5 [2021-05-12T15:57:24.143Z] ---> 363ce581fb67 [2021-05-12T15:57:24.143Z] Step 21/23 : LABEL arch=arm64 [2021-05-12T15:57:24.419Z] ---> Running in a459fe1091e2 [2021-05-12T15:57:24.694Z] Removing intermediate container a459fe1091e2 [2021-05-12T15:57:24.694Z] ---> a77a053c2241 [2021-05-12T15:57:24.694Z] Step 22/23 : LABEL git_sha=68926e767bd64a1471202d9e3e2c12ae240c4665 [2021-05-12T15:57:24.970Z] ---> Running in 0855158100ce [2021-05-12T15:57:25.565Z] Removing intermediate container 0855158100ce [2021-05-12T15:57:25.565Z] ---> 1ce889826434 [2021-05-12T15:57:25.565Z] Step 23/23 : LABEL version=0.0.0 [2021-05-12T15:57:25.565Z] ---> Running in 13dcfe2265d7 [2021-05-12T15:57:26.160Z] Removing intermediate container 13dcfe2265d7 [2021-05-12T15:57:26.160Z] ---> 19136e503352 [2021-05-12T15:57:26.160Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-12T15:57:26.160Z] Successfully built 19136e503352 [2021-05-12T15:57:26.160Z] Successfully tagged 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-05-12T15:57:27.030Z] ---> job-cost.sh [2021-05-12T15:57:27.030Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bEQK [2021-05-12T15:58:06.003Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T15:59:27.733Z] lf-activate-venv(): INFO: Adding /tmp/venv-bEQK/bin to PATH [2021-05-12T15:59:27.733Z] INFO: No Stack... [2021-05-12T15:59:28.322Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T15:59:28.912Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T15:59:29.274Z] + + cut -d, -f6 [2021-05-12T15:59:29.274Z] cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-05-12T15:59:29.416Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-924-1-stack-cost] [2021-05-12T15:59:29.422Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-924-1-stack-cost] did not exist. Created. [2021-05-12T15:59:29.422Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-924-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T15:59:29.851Z] /w/workspace/device-sdk-go/1@tmp/durable-60addfdd/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-60addfdd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T15:59:30.234Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T15:59:30.270Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T15:59:30.472Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T15:59:30.494Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-924-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-05-12T15:59:31.504Z] provisioning config files... [2021-05-12T15:59:31.524Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-924@tmp/config6860222298995069535tmp [Pipeline] { [Pipeline] sh [2021-05-12T15:59:31.986Z] + set +x [2021-05-12T15:59:31.986Z] + curl -s https://codecov.io/bash [2021-05-12T15:59:31.986Z] + bash -s -- [2021-05-12T15:59:32.265Z] [2021-05-12T15:59:32.265Z] _____ _ [2021-05-12T15:59:32.265Z] / ____| | | [2021-05-12T15:59:32.265Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T15:59:32.265Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T15:59:32.265Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T15:59:32.265Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T15:59:32.265Z] Bash-1.0.2 [2021-05-12T15:59:32.265Z] [2021-05-12T15:59:32.265Z] [2021-05-12T15:59:32.265Z] ==> git version 2.24.3 found [2021-05-12T15:59:32.265Z] ==> 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-05-12T15:59:32.265Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T15:59:32.265Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T15:59:32.265Z] ==> Jenkins CI detected. [2021-05-12T15:59:32.265Z] project root: . [2021-05-12T15:59:32.265Z] --> token set from env [2021-05-12T15:59:32.265Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T15:59:32.265Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T15:59:32.265Z] ==> Python coveragepy not found [2021-05-12T15:59:32.265Z] ==> Searching for coverage reports in: [2021-05-12T15:59:32.265Z] + . [2021-05-12T15:59:32.265Z] -> Found 1 reports [2021-05-12T15:59:32.265Z] ==> Detecting git/mercurial file structure [2021-05-12T15:59:32.561Z] ==> Reading reports [2021-05-12T15:59:32.561Z] + ./coverage.out bytes=126003 [2021-05-12T15:59:32.561Z] ==> Appending adjustments [2021-05-12T15:59:32.561Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T15:59:33.167Z] + Found adjustments [2021-05-12T15:59:33.167Z] ==> Gzipping contents [2021-05-12T15:59:33.167Z] 20K /tmp/codecov.jqbuXy.gz [2021-05-12T15:59:33.167Z] ==> Uploading reports [2021-05-12T15:59:33.167Z] url: https://codecov.io [2021-05-12T15:59:33.167Z] query: branch=PR-924&commit=68926e767bd64a1471202d9e3e2c12ae240c4665&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-924%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=924&job=&cmd_args= [2021-05-12T15:59:33.167Z] -> Pinging Codecov [2021-05-12T15:59:33.167Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-924&commit=68926e767bd64a1471202d9e3e2c12ae240c4665&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-924%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=924&job=&cmd_args= [2021-05-12T15:59:33.998Z] -> Uploading to [2021-05-12T15:59:33.998Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/7E55EF52A471D76F132DFD9A03CDDE97/68926e767bd64a1471202d9e3e2c12ae240c4665/1a071d77-0d69-4079-9c47-256baecde1f3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T155933Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2cc09fba3630433ad34c7edc4dd627755f72ec190f6a8e4a878e08eb6abdf73b [2021-05-12T15:59:33.998Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T15:59:33.998Z] Dload Upload Total Spent Left Speed [2021-05-12T15:59:34.582Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16477 0 0 100 16477 0 26704 --:--:-- --:--:-- --:--:-- 26748 [2021-05-12T15:59:34.582Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/68926e767bd64a1471202d9e3e2c12ae240c4665 [Pipeline] } [2021-05-12T15:59:34.707Z] 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-05-12T15:59:36.855Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T15:59:37.597Z] ---> package-listing.sh [2021-05-12T15:59:37.597Z] ++ facter osfamily [2021-05-12T15:59:37.597Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T15:59:37.924Z] + OS_FAMILY=redhat [2021-05-12T15:59:37.924Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-924 [2021-05-12T15:59:37.924Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T15:59:37.924Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T15:59:37.924Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T15:59:37.924Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T15:59:37.924Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-924 ']' [2021-05-12T15:59:37.924Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T15:59:37.924Z] + case "${OS_FAMILY}" in [2021-05-12T15:59:37.924Z] + sort [2021-05-12T15:59:37.924Z] + rpm -qa [2021-05-12T15:59:44.702Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T15:59:44.702Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T15:59:44.702Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T15:59:44.702Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-924 ']' [2021-05-12T15:59:44.702Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-924/archives/ [2021-05-12T15:59:44.702Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-924/archives/ [Pipeline] echo [2021-05-12T15:59:44.743Z] 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-924/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-12T15:59:45.100Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:59:45.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T15:59:46.091Z] [2021-05-12T15:59:46.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T15:59:46.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T15:59:46.474Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T15:59:46.474Z] df20fa9351a1: Pulling fs layer [2021-05-12T15:59:46.474Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T15:59:46.474Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T15:59:46.474Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T15:59:46.474Z] 93b61091891f: Pulling fs layer [2021-05-12T15:59:46.474Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T15:59:46.474Z] 5e14af77c1be: Pulling fs layer [2021-05-12T15:59:46.474Z] 01666e4c0597: Pulling fs layer [2021-05-12T15:59:46.474Z] aa168da1d23b: Pulling fs layer [2021-05-12T15:59:46.474Z] 46f8f816bc3b: Waiting [2021-05-12T15:59:46.474Z] 93b61091891f: Waiting [2021-05-12T15:59:46.474Z] 93b9cdb0e59b: Waiting [2021-05-12T15:59:46.474Z] 5e14af77c1be: Waiting [2021-05-12T15:59:46.474Z] 01666e4c0597: Waiting [2021-05-12T15:59:46.474Z] aa168da1d23b: Waiting [2021-05-12T15:59:46.793Z] 36b3adc4ff6f: Verifying Checksum [2021-05-12T15:59:46.793Z] 36b3adc4ff6f: Download complete [2021-05-12T15:59:46.793Z] 46f8f816bc3b: Verifying Checksum [2021-05-12T15:59:46.793Z] 46f8f816bc3b: Download complete [2021-05-12T15:59:47.142Z] df20fa9351a1: Verifying Checksum [2021-05-12T15:59:47.142Z] df20fa9351a1: Download complete [2021-05-12T15:59:47.142Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T15:59:47.142Z] 93b9cdb0e59b: Download complete [2021-05-12T15:59:47.142Z] 5e14af77c1be: Verifying Checksum [2021-05-12T15:59:47.142Z] 5e14af77c1be: Download complete [2021-05-12T15:59:47.142Z] 93b61091891f: Download complete [2021-05-12T15:59:47.142Z] 01666e4c0597: Verifying Checksum [2021-05-12T15:59:47.142Z] 01666e4c0597: Download complete [2021-05-12T15:59:48.300Z] df20fa9351a1: Pull complete [2021-05-12T15:59:48.301Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T15:59:48.301Z] 8ad3a11d3b57: Download complete [2021-05-12T15:59:48.621Z] 36b3adc4ff6f: Pull complete [2021-05-12T15:59:50.205Z] 8ad3a11d3b57: Pull complete [2021-05-12T15:59:50.205Z] 46f8f816bc3b: Pull complete [2021-05-12T15:59:51.346Z] 93b61091891f: Pull complete [2021-05-12T15:59:51.639Z] 93b9cdb0e59b: Pull complete [2021-05-12T15:59:52.269Z] 5e14af77c1be: Pull complete [2021-05-12T15:59:52.893Z] 01666e4c0597: Pull complete [2021-05-12T15:59:53.515Z] aa168da1d23b: Verifying Checksum [2021-05-12T15:59:53.515Z] aa168da1d23b: Download complete [2021-05-12T16:00:08.955Z] aa168da1d23b: Pull complete [2021-05-12T16:00:08.955Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T16:00:08.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T16:00:08.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T16:00:09.866Z] prd-centos7-docker-4c-2g-4709 does not seem to be running inside a container [2021-05-12T16:00:09.949Z] $ 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-924/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-924 -v /w/workspace/dgexfoundry_device-sdk-go_PR-924:/w/workspace/dgexfoundry_device-sdk-go_PR-924:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-924@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-924@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-05-12T16:00:12.278Z] $ docker top 0aa9c3512336617d3b27a74f84b35456564a6c1608a62f3b617cf135134fbf3f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T16:00:12.949Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T16:00:13.417Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T16:00:13.834Z] + ls /var/log/sa-host [2021-05-12T16:00:13.834Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T16:00:13.834Z] file_magic: OK [2021-05-12T16:00:13.834Z] HZ: Using current value: 100 [2021-05-12T16:00:13.834Z] file_header: OK [2021-05-12T16:00:13.834Z] 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-05-12T16:00:13.834Z] Statistics: [2021-05-12T16:00:13.834Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-12T16:00:13.834Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T16:00:13.834Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T16:00:13.834Z] file_magic: OK [2021-05-12T16:00:13.834Z] HZ: Using current value: 100 [2021-05-12T16:00:13.834Z] file_header: OK [2021-05-12T16:00:13.834Z] 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-05-12T16:00:13.834Z] Statistics: [2021-05-12T16:00:13.834Z] Hnuu...uuuununununu... [2021-05-12T16:00:13.834Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T16:00:14.097Z] provisioning config files... [2021-05-12T16:00:14.129Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-924@tmp/config5190758967517526937tmp [Pipeline] { [Pipeline] echo [2021-05-12T16:00:14.192Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T16:00:14.997Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T16:00:15.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T16:00:15.114Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T16:00:15.549Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T16:00:15.604Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T16:00:16.007Z] ---> sudo-logs.sh [2021-05-12T16:00:16.007Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T16:00:16.101Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T16:00:16.471Z] ---> job-cost.sh [2021-05-12T16:00:16.790Z] lf-activate-venv: SKIPPING [2021-05-12T16:00:16.790Z] DEBUG: total: 0.20999999344348907 [2021-05-12T16:00:16.790Z] INFO: Retrieving Stack Cost... [2021-05-12T16:00:17.793Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T16:00:18.402Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T16:00:18.450Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T16:00:18.882Z] ---> logs-deploy.sh [2021-05-12T16:00:18.882Z] lf-activate-venv: SKIPPING [2021-05-12T16:00:19.174Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-924/1 [2021-05-12T16:00:19.174Z] INFO: archiving workspace using pattern(s): [2021-05-12T16:00:21.846Z] Archives upload complete. [2021-05-12T16:00:22.122Z] INFO: archiving logs to Nexus