Pull request #922 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f52e96a17fa5a253b9a972e3b71ea00fc70316a5+e437657d2d11e173c1ba87cc59d8d85c228ee6bb (ab9e89d03ba39ada9f7c56aeb0d45dd179741d38) 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-922/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-922/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:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4511 in /w/workspace/dgexfoundry_device-sdk-go_PR-922 [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-922 # 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 > 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/922/head:refs/remotes/origin/PR-922 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e437657d2d11e173c1ba87cc59d8d85c228ee6bb into PR head commit f52e96a17fa5a253b9a972e3b71ea00fc70316a5 Merge succeeded, producing f52e96a17fa5a253b9a972e3b71ea00fc70316a5 Checking out Revision f52e96a17fa5a253b9a972e3b71ea00fc70316a5 (PR-922) > git config core.sparsecheckout # timeout=10 > git checkout -f f52e96a17fa5a253b9a972e3b71ea00fc70316a5 # 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 e437657d2d11e173c1ba87cc59d8d85c228ee6bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f52e96a17fa5a253b9a972e3b71ea00fc70316a5 # timeout=10 Commit message: "refactor: Rework Messaging bootstrap handler for removal of shared handler" 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-11T17:09:16.618Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T17:09:16.815Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T17:09:16.926Z] ========================================================= [2021-05-11T17:09:16.927Z] EdgeX Global Pipelines Version Info [2021-05-11T17:09:16.927Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:09:20.025Z] ------------------- [2021-05-11T17:09:20.025Z] stable info: [2021-05-11T17:09:20.025Z] ------------------- [2021-05-11T17:09:20.025Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T17:09:20.025Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T17:09:20.025Z] Message: update stable to v1.0.192 [2021-05-11T17:09:21.026Z] ------------------- [2021-05-11T17:09:21.026Z] experimental info: [2021-05-11T17:09:21.026Z] ------------------- [2021-05-11T17:09:21.026Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T17:09:21.026Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T17:09:21.026Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T17:09:21.313Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-11T17:09:21.364Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-11T17:09:21.416Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T17:09:21.469Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T17:09:21.522Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T17:09:21.577Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T17:09:21.646Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T17:09:21.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T17:09:21.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-11T17:09:21.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T17:09:21.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T17:09:22.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-11T17:09:22.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T17:09:22.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T17:09:22.189Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T17:09:22.241Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T17:09:22.290Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T17:09:22.352Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T17:09:22.408Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T17:09:22.476Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-11T17:09:22.562Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-11T17:09:22.616Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-11T17:09:22.671Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T17:09:22.731Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T17:09:22.806Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T17:09:22.863Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T17:09:22.920Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-922 [Pipeline] echo [2021-05-11T17:09:22.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-922 [Pipeline] echo [2021-05-11T17:09:23.037Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-922 [Pipeline] echo [2021-05-11T17:09:23.093Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f52e96a17fa5a253b9a972e3b71ea00fc70316a5 [Pipeline] echo [2021-05-11T17:09:23.151Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f52e96a [Pipeline] echo [2021-05-11T17:09:23.215Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T17:09:23.361Z] provisioning config files... [2021-05-11T17:09:23.413Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config2159053862036831130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:09:23.864Z] ---> docker-login.sh [2021-05-11T17:09:23.864Z] nexus3.edgexfoundry.org:10001 [2021-05-11T17:09:24.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:09:25.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:09:25.265Z] Configure a credential helper to remove this warning. See [2021-05-11T17:09:25.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:09:25.265Z] [2021-05-11T17:09:25.265Z] Login Succeeded [2021-05-11T17:09:25.265Z] nexus3.edgexfoundry.org:10002 [2021-05-11T17:09:25.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:09:26.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:09:26.289Z] Configure a credential helper to remove this warning. See [2021-05-11T17:09:26.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:09:26.289Z] [2021-05-11T17:09:26.289Z] Login Succeeded [2021-05-11T17:09:26.289Z] nexus3.edgexfoundry.org:10003 [2021-05-11T17:09:26.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:09:26.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:09:26.879Z] Configure a credential helper to remove this warning. See [2021-05-11T17:09:26.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:09:26.879Z] [2021-05-11T17:09:26.879Z] Login Succeeded [2021-05-11T17:09:26.879Z] nexus3.edgexfoundry.org:10004 [2021-05-11T17:09:27.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:09:27.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:09:27.220Z] Configure a credential helper to remove this warning. See [2021-05-11T17:09:27.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:09:27.220Z] [2021-05-11T17:09:27.220Z] Login Succeeded [2021-05-11T17:09:27.220Z] docker.io [2021-05-11T17:09:27.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:09:27.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:09:27.767Z] Configure a credential helper to remove this warning. See [2021-05-11T17:09:27.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:09:27.767Z] [2021-05-11T17:09:27.767Z] Login Succeeded [2021-05-11T17:09:27.767Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T17:09:27.797Z] 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-11T17:09:28.682Z] + git log --format=format:%s -1 f52e96a17fa5a253b9a972e3b71ea00fc70316a5 [Pipeline] echo [2021-05-11T17:09:28.892Z] GIT_COMMIT: f52e96a17fa5a253b9a972e3b71ea00fc70316a5, Commit Message: refactor: Rework Messaging bootstrap handler for removal of shared handler [Pipeline] echo [2021-05-11T17:09:28.935Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:09:29.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:09:29.591Z] [2021-05-11T17:09:29.591Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:09:30.039Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:09:30.324Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T17:09:30.324Z] 31603596830f: Pulling fs layer [2021-05-11T17:09:30.324Z] 54011a49482f: Pulling fs layer [2021-05-11T17:09:30.324Z] a6820b24f6d8: Pulling fs layer [2021-05-11T17:09:30.324Z] f581987b2513: Pulling fs layer [2021-05-11T17:09:30.324Z] f581987b2513: Waiting [2021-05-11T17:09:30.324Z] 54011a49482f: Verifying Checksum [2021-05-11T17:09:30.324Z] 54011a49482f: Download complete [2021-05-11T17:09:30.655Z] 31603596830f: Verifying Checksum [2021-05-11T17:09:30.655Z] 31603596830f: Download complete [2021-05-11T17:09:30.948Z] f581987b2513: Verifying Checksum [2021-05-11T17:09:30.948Z] f581987b2513: Download complete [2021-05-11T17:09:31.252Z] a6820b24f6d8: Verifying Checksum [2021-05-11T17:09:31.252Z] a6820b24f6d8: Download complete [2021-05-11T17:09:31.559Z] 31603596830f: Pull complete [2021-05-11T17:09:31.842Z] 54011a49482f: Pull complete [2021-05-11T17:09:33.388Z] a6820b24f6d8: Pull complete [2021-05-11T17:09:34.020Z] f581987b2513: Pull complete [2021-05-11T17:09:34.020Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T17:09:34.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:09:34.294Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T17:09:34.582Z] prd-centos7-docker-4c-2g-4511 does not seem to be running inside a container [2021-05-11T17:09:34.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-922 -v /w/workspace/dgexfoundry_device-sdk-go_PR-922:/w/workspace/dgexfoundry_device-sdk-go_PR-922:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T17:09:38.029Z] $ docker top c3197617076ea801f13f7425003a374af1d3232440d70de6df04716fdd6ab0ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T17:09:38.559Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T17:09:38.559Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T17:09:39.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T17:09:39.069Z] $ docker exec c3197617076ea801f13f7425003a374af1d3232440d70de6df04716fdd6ab0ee ssh-agent [2021-05-11T17:09:39.581Z] SSH_AUTH_SOCK=/tmp/ssh-ILooclDCjrA2/agent.11 [2021-05-11T17:09:39.581Z] SSH_AGENT_PID=16 [2021-05-11T17:09:39.618Z] Running ssh-add (command line suppressed) [2021-05-11T17:09:39.917Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_3912454476675457922.key (/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_3912454476675457922.key) [2021-05-11T17:09:40.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T17:09:40.810Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T17:09:40.885Z] $ docker exec --env ******** --env ******** c3197617076ea801f13f7425003a374af1d3232440d70de6df04716fdd6ab0ee ssh-agent -k [2021-05-11T17:09:41.221Z] unset SSH_AUTH_SOCK; [2021-05-11T17:09:41.222Z] unset SSH_AGENT_PID; [2021-05-11T17:09:41.222Z] echo Agent pid 16 killed; [2021-05-11T17:09:41.312Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T17:09:41.438Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T17:09:41.438Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T17:09:41.800Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T17:09:41.819Z] $ docker exec c3197617076ea801f13f7425003a374af1d3232440d70de6df04716fdd6ab0ee ssh-agent [2021-05-11T17:09:42.096Z] SSH_AUTH_SOCK=/tmp/ssh-uZtJGMJl3GRJ/agent.44 [2021-05-11T17:09:42.096Z] SSH_AGENT_PID=49 [2021-05-11T17:09:42.106Z] Running ssh-add (command line suppressed) [2021-05-11T17:09:42.352Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_3181709711825251406.key (/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_3181709711825251406.key) [2021-05-11T17:09:42.473Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T17:09:43.180Z] + git semver init [2021-05-11T17:09:43.180Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T17:09:43.180Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-922/.git [2021-05-11T17:09:43.180Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-922 [2021-05-11T17:09:43.181Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T17:09:43.181Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T17:09:43.181Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T17:09:43.181Z] # $SEMVER_BRANCH = PR-922 [2021-05-11T17:09:43.181Z] # $SEMVER_TEMP = /tmp/semver-970357787 [2021-05-11T17:09:43.181Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-11T17:09:44.259Z] # '/tmp/semver-970357787' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-922/.semver' [2021-05-11T17:09:44.572Z] # -> Force: false [2021-05-11T17:09:44.572Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-922/.semver [Pipeline] } [2021-05-11T17:09:44.654Z] $ docker exec --env ******** --env ******** c3197617076ea801f13f7425003a374af1d3232440d70de6df04716fdd6ab0ee ssh-agent -k [2021-05-11T17:09:45.031Z] unset SSH_AUTH_SOCK; [2021-05-11T17:09:45.031Z] unset SSH_AGENT_PID; [2021-05-11T17:09:45.031Z] echo Agent pid 49 killed; [2021-05-11T17:09:45.128Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T17:09:45.970Z] + git semver [Pipeline] } [2021-05-11T17:09:46.024Z] $ docker stop --time=1 c3197617076ea801f13f7425003a374af1d3232440d70de6df04716fdd6ab0ee [2021-05-11T17:09:47.740Z] $ docker rm -f c3197617076ea801f13f7425003a374af1d3232440d70de6df04716fdd6ab0ee [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T17:09:48.682Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T17:09:49.373Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T17:09:49.398Z] [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-11T17:10:04.898Z] Still waiting to schedule task [2021-05-11T17:10:04.899Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-4506’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4514’ is offline; ‘prd-centos7-docker-4c-2g-4515’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4504’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-11T17:10:04.925Z] Still waiting to schedule task [2021-05-11T17:10:04.925Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-11T17:10:41.194Z] Running on prd-centos7-docker-4c-2g-4515 in /w/workspace/dgexfoundry_device-sdk-go_PR-922 [Pipeline] { [Pipeline] ws [2021-05-11T17:10:41.259Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-11T17:10:51.886Z] using credential edgex-jenkins-ssh [2021-05-11T17:10:51.916Z] Cloning the remote Git repository [2021-05-11T17:10:51.981Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:10:52.089Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-11T17:10:52.743Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:10:52.745Z] > git --version # timeout=10 [2021-05-11T17:10:52.765Z] > git --version # 'git version 2.24.3' [2021-05-11T17:10:52.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:10:52.817Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:10:54.762Z] Merging remotes/origin/master commit e437657d2d11e173c1ba87cc59d8d85c228ee6bb into PR head commit f52e96a17fa5a253b9a972e3b71ea00fc70316a5 [2021-05-11T17:10:55.226Z] Merge succeeded, producing f52e96a17fa5a253b9a972e3b71ea00fc70316a5 [2021-05-11T17:10:55.226Z] Checking out Revision f52e96a17fa5a253b9a972e3b71ea00fc70316a5 (PR-922) [2021-05-11T17:10:53.978Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:10:54.000Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:10:54.056Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:10:54.088Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:10:54.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:10:54.101Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/922/head:refs/remotes/origin/PR-922 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T17:10:54.820Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:10:54.878Z] > git checkout -f f52e96a17fa5a253b9a972e3b71ea00fc70316a5 # timeout=10 [2021-05-11T17:10:55.044Z] > git remote # timeout=10 [2021-05-11T17:10:55.138Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T17:10:55.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:10:55.176Z] > git merge e437657d2d11e173c1ba87cc59d8d85c228ee6bb # timeout=10 [2021-05-11T17:10:55.206Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T17:10:55.233Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:10:55.333Z] > git checkout -f f52e96a17fa5a253b9a972e3b71ea00fc70316a5 # timeout=10 [2021-05-11T17:10:59.973Z] Commit message: "refactor: Rework Messaging bootstrap handler for removal of shared handler" [2021-05-11T17:11:00.035Z] > git --version # timeout=10 [2021-05-11T17:11:00.076Z] > git --version # 'git version 2.24.3' [2021-05-11T17:11:00.148Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:11:03.013Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:11:04.022Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:11:04.410Z] + sudo service docker restart [2021-05-11T17:11:04.411Z] + true [2021-05-11T17:11:04.411Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T17:11:06.822Z] provisioning config files... [2021-05-11T17:11:06.856Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6762237709267649441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:11:07.306Z] ---> docker-login.sh [2021-05-11T17:11:07.306Z] nexus3.edgexfoundry.org:10001 [2021-05-11T17:11:07.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:11:08.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:11:08.201Z] Configure a credential helper to remove this warning. See [2021-05-11T17:11:08.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:11:08.201Z] [2021-05-11T17:11:08.201Z] Login Succeeded [2021-05-11T17:11:08.201Z] nexus3.edgexfoundry.org:10002 [2021-05-11T17:11:08.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:11:08.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:11:08.822Z] Configure a credential helper to remove this warning. See [2021-05-11T17:11:08.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:11:08.822Z] [2021-05-11T17:11:08.822Z] Login Succeeded [2021-05-11T17:11:08.822Z] nexus3.edgexfoundry.org:10003 [2021-05-11T17:11:09.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:11:09.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:11:09.125Z] Configure a credential helper to remove this warning. See [2021-05-11T17:11:09.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:11:09.125Z] [2021-05-11T17:11:09.125Z] Login Succeeded [2021-05-11T17:11:09.125Z] nexus3.edgexfoundry.org:10004 [2021-05-11T17:11:09.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:11:09.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:11:09.806Z] Configure a credential helper to remove this warning. See [2021-05-11T17:11:09.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:11:09.806Z] [2021-05-11T17:11:09.806Z] Login Succeeded [2021-05-11T17:11:09.806Z] docker.io [2021-05-11T17:11:10.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:11:10.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:11:10.747Z] Configure a credential helper to remove this warning. See [2021-05-11T17:11:10.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:11:10.747Z] [2021-05-11T17:11:10.747Z] Login Succeeded [2021-05-11T17:11:10.747Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T17:11:10.790Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T17:11:11.430Z] ========================================================= [2021-05-11T17:11:11.430Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T17:11:11.430Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:11:11.845Z] + 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-11T17:11:12.142Z] Sending build context to Docker daemon 2.577MB [2021-05-11T17:11:12.142Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:11:12.142Z] Step 2/8 : FROM ${BASE} [2021-05-11T17:11:12.142Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T17:11:12.142Z] 540db60ca938: Pulling fs layer [2021-05-11T17:11:12.142Z] adcc1eea9eea: Pulling fs layer [2021-05-11T17:11:12.142Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T17:11:12.142Z] 0510c868ecb4: Pulling fs layer [2021-05-11T17:11:12.142Z] afea3b2eda06: Pulling fs layer [2021-05-11T17:11:12.142Z] 7809a108b3ef: Pulling fs layer [2021-05-11T17:11:12.142Z] f706445af74f: Pulling fs layer [2021-05-11T17:11:12.142Z] afea3b2eda06: Waiting [2021-05-11T17:11:12.142Z] 0510c868ecb4: Waiting [2021-05-11T17:11:12.142Z] 7809a108b3ef: Waiting [2021-05-11T17:11:12.142Z] f706445af74f: Waiting [2021-05-11T17:11:12.465Z] 4c4ab2625f07: Verifying Checksum [2021-05-11T17:11:12.465Z] 4c4ab2625f07: Download complete [2021-05-11T17:11:12.465Z] adcc1eea9eea: Verifying Checksum [2021-05-11T17:11:12.465Z] adcc1eea9eea: Download complete [2021-05-11T17:11:12.465Z] afea3b2eda06: Verifying Checksum [2021-05-11T17:11:12.465Z] afea3b2eda06: Download complete [2021-05-11T17:11:12.465Z] 7809a108b3ef: Download complete [2021-05-11T17:11:12.465Z] 540db60ca938: Verifying Checksum [2021-05-11T17:11:12.465Z] 540db60ca938: Download complete [2021-05-11T17:11:13.069Z] 540db60ca938: Pull complete [2021-05-11T17:11:13.351Z] adcc1eea9eea: Pull complete [2021-05-11T17:11:13.649Z] 4c4ab2625f07: Pull complete [2021-05-11T17:11:15.840Z] f706445af74f: Verifying Checksum [2021-05-11T17:11:15.840Z] f706445af74f: Download complete [2021-05-11T17:11:17.882Z] 0510c868ecb4: Verifying Checksum [2021-05-11T17:11:17.882Z] 0510c868ecb4: Download complete [2021-05-11T17:11:33.269Z] 0510c868ecb4: Pull complete [2021-05-11T17:11:33.269Z] afea3b2eda06: Pull complete [2021-05-11T17:11:33.269Z] 7809a108b3ef: Pull complete [2021-05-11T17:11:40.181Z] f706445af74f: Pull complete [2021-05-11T17:11:40.181Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T17:11:40.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T17:11:40.181Z] ---> b068be0155e3 [2021-05-11T17:11:40.181Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:11:40.181Z] ---> Running in b874d5b77405 [2021-05-11T17:11:40.868Z] Removing intermediate container b874d5b77405 [2021-05-11T17:11:40.868Z] ---> bcd3070edd12 [2021-05-11T17:11:40.868Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:11:40.868Z] ---> Running in ba538494f689 [2021-05-11T17:11:43.529Z] Removing intermediate container ba538494f689 [2021-05-11T17:11:43.529Z] ---> 66148689ea05 [2021-05-11T17:11:43.529Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-11T17:11:43.529Z] ---> Running in aba1b7a8c9e8 [2021-05-11T17:11:44.529Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T17:11:45.128Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:11:45.742Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-11T17:11:45.742Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-11T17:11:46.011Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-11T17:11:46.011Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-11T17:11:46.276Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-11T17:11:46.276Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-11T17:11:46.276Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T17:11:46.276Z] OK: 150 MiB in 46 packages [2021-05-11T17:11:47.305Z] Removing intermediate container aba1b7a8c9e8 [2021-05-11T17:11:47.305Z] ---> fd10a7fc7cbc [2021-05-11T17:11:47.305Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-11T17:11:47.581Z] ---> Running in 904a7d7852a6 [2021-05-11T17:11:47.581Z] Removing intermediate container 904a7d7852a6 [2021-05-11T17:11:47.581Z] ---> 7e5954efaeed [2021-05-11T17:11:47.581Z] Step 7/8 : COPY . . [2021-05-11T17:11:49.058Z] ---> 61fe45bf996d [2021-05-11T17:11:49.058Z] Step 8/8 : RUN go mod download [2021-05-11T17:11:49.361Z] ---> Running in 8f0d9c1e8cbd [2021-05-11T17:12:08.397Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4517 in /w/workspace/dgexfoundry_device-sdk-go_PR-922 [Pipeline] { [Pipeline] ws [2021-05-11T17:12:08.457Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-11T17:12:14.365Z] using credential edgex-jenkins-ssh [2021-05-11T17:12:14.382Z] Cloning the remote Git repository [2021-05-11T17:12:14.515Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:12:14.695Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-11T17:12:14.775Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:12:14.776Z] > git --version # timeout=10 [2021-05-11T17:12:14.797Z] > git --version # 'git version 2.17.1' [2021-05-11T17:12:14.799Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:12:14.852Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:12:16.135Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:12:16.866Z] Merging remotes/origin/master commit e437657d2d11e173c1ba87cc59d8d85c228ee6bb into PR head commit f52e96a17fa5a253b9a972e3b71ea00fc70316a5 [2021-05-11T17:12:17.060Z] Merge succeeded, producing f52e96a17fa5a253b9a972e3b71ea00fc70316a5 [2021-05-11T17:12:17.061Z] Checking out Revision f52e96a17fa5a253b9a972e3b71ea00fc70316a5 (PR-922) [2021-05-11T17:12:16.163Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:12:16.189Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:12:16.221Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:12:16.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:12:16.231Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/922/head:refs/remotes/origin/PR-922 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T17:12:16.886Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:12:16.898Z] > git checkout -f f52e96a17fa5a253b9a972e3b71ea00fc70316a5 # timeout=10 [2021-05-11T17:12:16.991Z] > git remote # timeout=10 [2021-05-11T17:12:17.007Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T17:12:17.019Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:12:17.029Z] > git merge e437657d2d11e173c1ba87cc59d8d85c228ee6bb # timeout=10 [2021-05-11T17:12:17.049Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T17:12:17.070Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:12:17.089Z] > git checkout -f f52e96a17fa5a253b9a972e3b71ea00fc70316a5 # timeout=10 [2021-05-11T17:12:21.311Z] Commit message: "refactor: Rework Messaging bootstrap handler for removal of shared handler" [2021-05-11T17:12:21.383Z] > git --version # timeout=10 [2021-05-11T17:12:21.396Z] > git --version # 'git version 2.17.1' [2021-05-11T17:12:21.417Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:12:22.128Z] Removing intermediate container 8f0d9c1e8cbd [2021-05-11T17:12:22.128Z] ---> ea77981c90d7 [2021-05-11T17:12:22.128Z] Successfully built ea77981c90d7 [2021-05-11T17:12:22.128Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:12:23.092Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:12:23.244Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T17:12:23.515Z] . [2021-05-11T17:12:23.537Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] withDockerContainer [2021-05-11T17:12:23.727Z] prd-centos7-docker-4c-2g-4515 does not seem to be running inside a container [2021-05-11T17:12:23.840Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T17:12:25.905Z] $ docker top 08f66cc0c72673ffcaa40e1d31f2116cabd67d7fb56aefd06fb4a4c273bf37d2 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-11T17:12:26.529Z] + + sudo service docker restart [2021-05-11T17:12:26.529Z] true [2021-05-11T17:12:26.631Z] + go version [2021-05-11T17:12:26.631Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T17:12:26.675Z] $ docker stop --time=1 08f66cc0c72673ffcaa40e1d31f2116cabd67d7fb56aefd06fb4a4c273bf37d2 [2021-05-11T17:12:28.237Z] $ docker rm -f 08f66cc0c72673ffcaa40e1d31f2116cabd67d7fb56aefd06fb4a4c273bf37d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] wrap [2021-05-11T17:12:28.692Z] provisioning config files... [Pipeline] stage [Pipeline] { (Test) [2021-05-11T17:12:28.744Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6474525076326733221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:12:29.157Z] ---> docker-login.sh [2021-05-11T17:12:29.157Z] nexus3.edgexfoundry.org:10001 [2021-05-11T17:12:29.329Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T17:12:29.329Z] . [Pipeline] withDockerContainer [2021-05-11T17:12:29.545Z] prd-centos7-docker-4c-2g-4515 does not seem to be running inside a container [2021-05-11T17:12:29.644Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T17:12:30.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:12:30.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:12:30.413Z] Configure a credential helper to remove this warning. See [2021-05-11T17:12:30.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:12:30.413Z] [2021-05-11T17:12:30.413Z] Login Succeeded [2021-05-11T17:12:30.414Z] nexus3.edgexfoundry.org:10002 [2021-05-11T17:12:30.811Z] $ docker top e73c7cb3346d4f64251908bd614b5d170b961541fb3fca450587430bb23fdb16 -eo pid,comm [2021-05-11T17:12:31.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:12:31.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:12:31.011Z] Configure a credential helper to remove this warning. See [2021-05-11T17:12:31.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:12:31.011Z] [2021-05-11T17:12:31.011Z] Login Succeeded [2021-05-11T17:12:31.011Z] nexus3.edgexfoundry.org:10003 [Pipeline] { [Pipeline] sh [2021-05-11T17:12:31.559Z] + go mod tidy [2021-05-11T17:12:31.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:12:31.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:12:31.609Z] Configure a credential helper to remove this warning. See [2021-05-11T17:12:31.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:12:31.609Z] [2021-05-11T17:12:31.609Z] Login Succeeded [2021-05-11T17:12:31.609Z] nexus3.edgexfoundry.org:10004 [2021-05-11T17:12:32.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:12:32.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:12:32.206Z] Configure a credential helper to remove this warning. See [2021-05-11T17:12:32.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:12:32.206Z] [2021-05-11T17:12:32.206Z] Login Succeeded [2021-05-11T17:12:32.206Z] docker.io [2021-05-11T17:12:32.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2021-05-11T17:12:32.912Z] + make test [2021-05-11T17:12:32.912Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-11T17:12:33.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:12:33.078Z] Configure a credential helper to remove this warning. See [2021-05-11T17:12:33.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:12:33.078Z] [2021-05-11T17:12:33.078Z] Login Succeeded [2021-05-11T17:12:33.078Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T17:12:33.108Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T17:12:33.528Z] ========================================================= [2021-05-11T17:12:33.528Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T17:12:33.528Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:12:33.937Z] + 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-11T17:12:34.550Z] Sending build context to Docker daemon 2.576MB [2021-05-11T17:12:34.550Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:12:34.550Z] Step 2/8 : FROM ${BASE} [2021-05-11T17:12:34.550Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T17:12:34.550Z] 595b0fe564bb: Pulling fs layer [2021-05-11T17:12:34.550Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T17:12:34.550Z] 316046926c0a: Pulling fs layer [2021-05-11T17:12:34.550Z] 4ebd0625c992: Pulling fs layer [2021-05-11T17:12:34.550Z] 207e8628e3a3: Pulling fs layer [2021-05-11T17:12:34.550Z] c791037a9be2: Pulling fs layer [2021-05-11T17:12:34.550Z] ffd874e62e21: Pulling fs layer [2021-05-11T17:12:34.550Z] 4ebd0625c992: Waiting [2021-05-11T17:12:34.550Z] 207e8628e3a3: Waiting [2021-05-11T17:12:34.550Z] ffd874e62e21: Waiting [2021-05-11T17:12:34.550Z] c791037a9be2: Waiting [2021-05-11T17:12:34.550Z] 316046926c0a: Download complete [2021-05-11T17:12:34.550Z] 7186ed65a4f7: Verifying Checksum [2021-05-11T17:12:34.550Z] 7186ed65a4f7: Download complete [2021-05-11T17:12:34.550Z] 207e8628e3a3: Verifying Checksum [2021-05-11T17:12:34.550Z] 207e8628e3a3: Download complete [2021-05-11T17:12:34.550Z] c791037a9be2: Verifying Checksum [2021-05-11T17:12:34.550Z] c791037a9be2: Download complete [2021-05-11T17:12:34.550Z] 595b0fe564bb: Verifying Checksum [2021-05-11T17:12:34.550Z] 595b0fe564bb: Download complete [2021-05-11T17:12:35.155Z] 595b0fe564bb: Pull complete [2021-05-11T17:12:36.151Z] 7186ed65a4f7: Pull complete [2021-05-11T17:12:36.427Z] 316046926c0a: Pull complete [2021-05-11T17:12:37.026Z] ffd874e62e21: Verifying Checksum [2021-05-11T17:12:37.026Z] ffd874e62e21: Download complete [2021-05-11T17:12:38.012Z] 4ebd0625c992: Verifying Checksum [2021-05-11T17:12:38.012Z] 4ebd0625c992: Download complete [2021-05-11T17:12:48.190Z] 4ebd0625c992: Pull complete [2021-05-11T17:12:48.190Z] 207e8628e3a3: Pull complete [2021-05-11T17:12:48.190Z] c791037a9be2: Pull complete [2021-05-11T17:12:48.340Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-11T17:12:51.591Z] ffd874e62e21: Pull complete [2021-05-11T17:12:51.591Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T17:12:51.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T17:12:51.591Z] ---> cfc18b08335c [2021-05-11T17:12:51.591Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:12:54.997Z] ---> Running in f110749349cf [2021-05-11T17:12:54.997Z] Removing intermediate container f110749349cf [2021-05-11T17:12:54.997Z] ---> e71f59771f1a [2021-05-11T17:12:54.997Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:12:55.269Z] ---> Running in 1b3e85bb4e26 [2021-05-11T17:12:57.913Z] Removing intermediate container 1b3e85bb4e26 [2021-05-11T17:12:57.913Z] ---> da15ab825a3c [2021-05-11T17:12:57.913Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-11T17:12:57.913Z] ---> Running in 7917b692f183 [2021-05-11T17:12:58.911Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T17:12:59.902Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T17:13:00.883Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-11T17:13:00.883Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-11T17:13:01.155Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-11T17:13:01.155Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-11T17:13:01.155Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-11T17:13:01.430Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-11T17:13:01.430Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T17:13:01.430Z] OK: 139 MiB in 46 packages [2021-05-11T17:13:02.866Z] Removing intermediate container 7917b692f183 [2021-05-11T17:13:02.866Z] ---> 3f9893f5da3e [2021-05-11T17:13:02.866Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-11T17:13:03.141Z] ---> Running in f20d83fda9eb [2021-05-11T17:13:03.736Z] Removing intermediate container f20d83fda9eb [2021-05-11T17:13:03.736Z] ---> 49fd3118d857 [2021-05-11T17:13:03.736Z] Step 7/8 : COPY . . [2021-05-11T17:13:05.168Z] ---> da8c73e040b3 [2021-05-11T17:13:05.168Z] Step 8/8 : RUN go mod download [2021-05-11T17:13:05.168Z] ---> Running in f11fc45a36e4 [2021-05-11T17:13:32.829Z] Removing intermediate container f11fc45a36e4 [2021-05-11T17:13:32.829Z] ---> bb0258cdd11f [2021-05-11T17:13:32.829Z] Successfully built bb0258cdd11f [2021-05-11T17:13:32.829Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:13:33.215Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T17:13:33.215Z] . [Pipeline] withDockerContainer [2021-05-11T17:13:33.516Z] prd-ubuntu18.04-docker-arm64-4c-16g-4517 does not seem to be running inside a container [2021-05-11T17:13:33.605Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T17:13:35.150Z] $ docker top a62dafde0f4a5c91ea58c2cdf2192793bfa575f7fc67ebc66a8a22ff0055d494 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:13:36.182Z] + go version [2021-05-11T17:13:36.182Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T17:13:36.234Z] $ docker stop --time=1 a62dafde0f4a5c91ea58c2cdf2192793bfa575f7fc67ebc66a8a22ff0055d494 [2021-05-11T17:13:38.212Z] $ docker rm -f a62dafde0f4a5c91ea58c2cdf2192793bfa575f7fc67ebc66a8a22ff0055d494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:13:39.167Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T17:13:39.167Z] . [Pipeline] withDockerContainer [2021-05-11T17:13:39.462Z] prd-ubuntu18.04-docker-arm64-4c-16g-4517 does not seem to be running inside a container [2021-05-11T17:13:39.556Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T17:13:41.100Z] $ docker top 00fd5e95c9cc21993d4cc6041dbcfadb03442c9086e376203bff773038e6b38c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:13:42.137Z] + go mod tidy [Pipeline] sh [2021-05-11T17:13:43.437Z] + make test [2021-05-11T17:13:43.437Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-11T17:13:46.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-11T17:13:46.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-11T17:13:46.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-11T17:13:46.870Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.178s coverage: 25.4% of statements [2021-05-11T17:13:46.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-11T17:13:46.870Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.264s coverage: 28.1% of statements [2021-05-11T17:13:46.870Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.166s coverage: 78.9% of statements [2021-05-11T17:13:46.870Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.179s coverage: 10.7% of statements [2021-05-11T17:13:46.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-11T17:13:46.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-11T17:13:46.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-11T17:13:46.870Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.252s coverage: 30.2% of statements [2021-05-11T17:13:46.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-11T17:13:47.171Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.531s coverage: 83.3% of statements [2021-05-11T17:13:47.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-11T17:13:47.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-11T17:13:48.377Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.434s coverage: 58.4% of statements [2021-05-11T17:13:52.874Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.301s coverage: 89.2% of statements [2021-05-11T17:13:52.874Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-11T17:13:52.874Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.098s coverage: 5.0% of statements [2021-05-11T17:13:52.874Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-11T17:13:53.515Z] GO111MODULE=on go vet ./... [2021-05-11T17:14:10.464Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-11T17:14:41.384Z] gofmt -l . [2021-05-11T17:14:41.384Z] [ "`gofmt -l .`" = "" ] [2021-05-11T17:14:41.384Z] ./bin/test-attribution-txt.sh [2021-05-11T17:14:42.394Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T17:14:43.055Z] $ docker stop --time=1 e73c7cb3346d4f64251908bd614b5d170b961541fb3fca450587430bb23fdb16 [2021-05-11T17:14:45.802Z] $ docker rm -f e73c7cb3346d4f64251908bd614b5d170b961541fb3fca450587430bb23fdb16 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T17:14:46.800Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T17:14:47.692Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-11T17:14:49.305Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T17:14:49.649Z] + ls -al . [2021-05-11T17:14:49.650Z] total 208 [2021-05-11T17:14:49.650Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 11 17:14 . [2021-05-11T17:14:49.650Z] drwxrwxr-x. 4 jenkins jenkins 28 May 11 17:10 .. [2021-05-11T17:14:49.650Z] drwxrwxr-x. 2 jenkins jenkins 64 May 11 17:10 bin [2021-05-11T17:14:49.650Z] -rw-r--r--. 1 jenkins jenkins 126002 May 11 17:13 coverage.out [2021-05-11T17:14:49.650Z] -rw-rw-r--. 1 jenkins jenkins 987 May 11 17:10 Dockerfile.build [2021-05-11T17:14:49.650Z] -rw-rw-r--. 1 jenkins jenkins 140 May 11 17:10 .dockerignore [2021-05-11T17:14:49.650Z] drwxrwxr-x. 5 jenkins jenkins 62 May 11 17:10 example [2021-05-11T17:14:49.650Z] drwxrwxr-x. 8 jenkins jenkins 179 May 11 17:10 .git [2021-05-11T17:14:49.650Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 17:10 .github [2021-05-11T17:14:49.650Z] -rw-rw-r--. 1 jenkins jenkins 138 May 11 17:10 .gitignore [2021-05-11T17:14:49.650Z] -rw-r--r--. 1 jenkins jenkins 575 May 11 17:14 go.mod [2021-05-11T17:14:49.650Z] -rw-r--r--. 1 jenkins jenkins 20408 May 11 17:12 go.sum [2021-05-11T17:14:49.650Z] drwxrwxr-x. 15 jenkins jenkins 224 May 11 17:10 internal [2021-05-11T17:14:49.650Z] -rw-rw-r--. 1 jenkins jenkins 901 May 11 17:10 Jenkinsfile [2021-05-11T17:14:49.650Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 11 17:10 LICENSE [2021-05-11T17:14:49.650Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 11 17:10 Makefile [2021-05-11T17:14:49.650Z] drwxrwxr-x. 4 jenkins jenkins 26 May 11 17:10 openapi [2021-05-11T17:14:49.650Z] drwxrwxr-x. 5 jenkins jenkins 50 May 11 17:10 pkg [2021-05-11T17:14:49.650Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 11 17:10 README.md [2021-05-11T17:14:49.650Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 11 17:10 RELEASE-NOTES.txt [2021-05-11T17:14:49.650Z] drwxrwxr-x. 4 jenkins jenkins 54 May 11 17:10 snap [2021-05-11T17:14:49.650Z] -rw-rw-r--. 1 jenkins jenkins 5 May 11 17:09 VERSION [2021-05-11T17:14:49.650Z] -rw-rw-r--. 1 jenkins jenkins 222 May 11 17:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:14:50.019Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f52e96a17fa5a253b9a972e3b71ea00fc70316a5 --label arch=amd64 --label version=0.0.0 . [2021-05-11T17:14:50.614Z] Sending build context to Docker daemon 2.704MB [2021-05-11T17:14:50.614Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:14:50.614Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-11T17:14:50.614Z] ---> ea77981c90d7 [2021-05-11T17:14:50.614Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-11T17:14:50.880Z] ---> Running in 5f6881506a16 [2021-05-11T17:14:51.148Z] Removing intermediate container 5f6881506a16 [2021-05-11T17:14:51.148Z] ---> 80e60931ee1e [2021-05-11T17:14:51.148Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:14:51.429Z] ---> Running in 717062c8c668 [2021-05-11T17:14:51.698Z] Removing intermediate container 717062c8c668 [2021-05-11T17:14:51.698Z] ---> d4006be4a472 [2021-05-11T17:14:51.698Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:14:51.969Z] ---> Running in 52cb51e94ef6 [2021-05-11T17:14:53.475Z] Removing intermediate container 52cb51e94ef6 [2021-05-11T17:14:53.475Z] ---> e1a60e445ed1 [2021-05-11T17:14:53.475Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T17:14:53.475Z] ---> Running in a8d3da9b7aec [2021-05-11T17:14:54.511Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T17:14:55.580Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:14:56.220Z] OK: 150 MiB in 46 packages [2021-05-11T17:14:57.195Z] Removing intermediate container a8d3da9b7aec [2021-05-11T17:14:57.195Z] ---> 60619acfdd3c [2021-05-11T17:14:57.195Z] Step 7/23 : COPY . . [2021-05-11T17:14:58.644Z] ---> b6709687d69e [2021-05-11T17:14:58.644Z] Step 8/23 : RUN go mod download [2021-05-11T17:14:58.644Z] ---> Running in 02c5de89b122 [2021-05-11T17:15:00.634Z] Removing intermediate container 02c5de89b122 [2021-05-11T17:15:00.634Z] ---> f94334d2da43 [2021-05-11T17:15:00.634Z] Step 9/23 : RUN make build [2021-05-11T17:15:00.634Z] ---> Running in 139525d07599 [2021-05-11T17:15:01.270Z] 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-11T17:15:18.579Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-11T17:15:18.579Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-11T17:15:18.579Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-11T17:15:24.033Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-11T17:15:24.033Z] Removing intermediate container 139525d07599 [2021-05-11T17:15:24.033Z] ---> 2a2e030ce786 [2021-05-11T17:15:24.033Z] Step 10/23 : FROM alpine:3.12 [2021-05-11T17:15:24.312Z] 3.12: Pulling from library/alpine [2021-05-11T17:15:24.312Z] 339de151aab4: Pulling fs layer [2021-05-11T17:15:24.588Z] 339de151aab4: Verifying Checksum [2021-05-11T17:15:24.588Z] 339de151aab4: Download complete [2021-05-11T17:15:25.213Z] 339de151aab4: Pull complete [2021-05-11T17:15:25.213Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T17:15:25.213Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T17:15:25.213Z] ---> 13621d1b12d4 [2021-05-11T17:15:25.213Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:15:25.213Z] ---> Running in 87197243b567 [2021-05-11T17:15:25.367Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.250s coverage: 25.4% of statements [2021-05-11T17:15:25.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-11T17:15:25.367Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.221s coverage: 28.1% of statements [2021-05-11T17:15:25.367Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.209s coverage: 78.9% of statements [2021-05-11T17:15:25.367Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.148s coverage: 10.7% of statements [2021-05-11T17:15:25.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-11T17:15:25.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-11T17:15:25.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-11T17:15:25.486Z] Removing intermediate container 87197243b567 [2021-05-11T17:15:25.487Z] ---> cd1b476096cf [2021-05-11T17:15:25.487Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:15:25.487Z] ---> Running in a81860eab5da [2021-05-11T17:15:27.379Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.230s coverage: 30.2% of statements [2021-05-11T17:15:27.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-11T17:15:28.114Z] Removing intermediate container a81860eab5da [2021-05-11T17:15:28.114Z] ---> f1a02a788e08 [2021-05-11T17:15:28.114Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-11T17:15:28.114Z] ---> Running in 0473f4159e1f [2021-05-11T17:15:28.365Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.165s coverage: 83.3% of statements [2021-05-11T17:15:28.365Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-11T17:15:28.365Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-11T17:15:28.365Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.321s coverage: 58.4% of statements [2021-05-11T17:15:28.386Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-11T17:15:28.993Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:15:29.626Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-11T17:15:29.626Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-11T17:15:29.626Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-11T17:15:30.616Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-11T17:15:30.616Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-11T17:15:30.616Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T17:15:30.616Z] OK: 8 MiB in 19 packages [2021-05-11T17:15:31.597Z] Removing intermediate container 0473f4159e1f [2021-05-11T17:15:31.597Z] ---> e7b34311452f [2021-05-11T17:15:31.597Z] Step 14/23 : WORKDIR / [2021-05-11T17:15:31.597Z] ---> Running in 4e46458054ac [2021-05-11T17:15:31.868Z] Removing intermediate container 4e46458054ac [2021-05-11T17:15:31.868Z] ---> 3de7731702dd [2021-05-11T17:15:31.868Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-11T17:15:32.496Z] ---> 0eeddd196239 [2021-05-11T17:15:32.496Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-11T17:15:32.732Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.044s coverage: 89.2% of statements [2021-05-11T17:15:32.732Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-11T17:15:32.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.145s coverage: 5.0% of statements [2021-05-11T17:15:32.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-11T17:15:32.733Z] GO111MODULE=on go vet ./... [2021-05-11T17:15:33.119Z] ---> e563e1ead5a9 [2021-05-11T17:15:33.119Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-11T17:15:33.740Z] ---> 11c75a71eb2a [2021-05-11T17:15:33.740Z] Step 18/23 : EXPOSE 49990 [2021-05-11T17:15:33.740Z] ---> Running in 36df6dfd696d [2021-05-11T17:15:34.013Z] Removing intermediate container 36df6dfd696d [2021-05-11T17:15:34.013Z] ---> 43ae6d272fd4 [2021-05-11T17:15:34.013Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-11T17:15:34.013Z] ---> Running in 2150e5cc992a [2021-05-11T17:15:34.291Z] Removing intermediate container 2150e5cc992a [2021-05-11T17:15:34.291Z] ---> 5c6c7ae1c379 [2021-05-11T17:15:34.291Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T17:15:34.291Z] ---> Running in 97d62b138145 [2021-05-11T17:15:34.894Z] Removing intermediate container 97d62b138145 [2021-05-11T17:15:34.894Z] ---> e545ab7b58e9 [2021-05-11T17:15:34.894Z] Step 21/23 : LABEL arch=amd64 [2021-05-11T17:15:34.894Z] ---> Running in fdf283ee1ed0 [2021-05-11T17:15:35.168Z] Removing intermediate container fdf283ee1ed0 [2021-05-11T17:15:35.169Z] ---> fb41dac7fb07 [2021-05-11T17:15:35.169Z] Step 22/23 : LABEL git_sha=f52e96a17fa5a253b9a972e3b71ea00fc70316a5 [2021-05-11T17:15:35.446Z] ---> Running in b88e43a177e4 [2021-05-11T17:15:35.725Z] Removing intermediate container b88e43a177e4 [2021-05-11T17:15:35.725Z] ---> b2e16caf85d8 [2021-05-11T17:15:35.725Z] Step 23/23 : LABEL version=0.0.0 [2021-05-11T17:15:35.725Z] ---> Running in b4e536f81968 [2021-05-11T17:15:36.002Z] Removing intermediate container b4e536f81968 [2021-05-11T17:15:36.002Z] ---> d2cc375af199 [2021-05-11T17:15:36.002Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-11T17:15:36.002Z] Successfully built d2cc375af199 [2021-05-11T17:15:36.002Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:15:37.063Z] ---> job-cost.sh [2021-05-11T17:15:37.063Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yqh6 [2021-05-11T17:16:04.015Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T17:16:29.278Z] gofmt -l . [2021-05-11T17:16:29.278Z] [ "`gofmt -l .`" = "" ] [2021-05-11T17:16:29.278Z] ./bin/test-attribution-txt.sh [2021-05-11T17:16:29.278Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T17:16:29.323Z] $ docker stop --time=1 00fd5e95c9cc21993d4cc6041dbcfadb03442c9086e376203bff773038e6b38c [2021-05-11T17:16:31.864Z] $ docker rm -f 00fd5e95c9cc21993d4cc6041dbcfadb03442c9086e376203bff773038e6b38c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T17:16:32.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T17:16:33.032Z] Warning: overwriting stash ‘coverage-report’ [2021-05-11T17:16:33.921Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:16:34.545Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T17:16:34.895Z] + ls -al . [2021-05-11T17:16:34.895Z] total 244 [2021-05-11T17:16:34.895Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 17:16 . [2021-05-11T17:16:34.895Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:12 .. [2021-05-11T17:16:34.895Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 17:12 .dockerignore [2021-05-11T17:16:34.895Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 17:12 .git [2021-05-11T17:16:34.895Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:12 .github [2021-05-11T17:16:34.895Z] -rw-rw-r-- 1 jenkins jenkins 138 May 11 17:12 .gitignore [2021-05-11T17:16:34.895Z] -rw-rw-r-- 1 jenkins jenkins 987 May 11 17:12 Dockerfile.build [2021-05-11T17:16:34.895Z] -rw-rw-r-- 1 jenkins jenkins 901 May 11 17:12 Jenkinsfile [2021-05-11T17:16:34.895Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 11 17:12 LICENSE [2021-05-11T17:16:34.895Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 11 17:12 Makefile [2021-05-11T17:16:34.895Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 11 17:12 README.md [2021-05-11T17:16:34.895Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 11 17:12 RELEASE-NOTES.txt [2021-05-11T17:16:34.895Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 17:09 VERSION [2021-05-11T17:16:34.895Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:12 bin [2021-05-11T17:16:34.895Z] -rw-r--r-- 1 jenkins jenkins 126002 May 11 17:15 coverage.out [2021-05-11T17:16:34.895Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 17:12 example [2021-05-11T17:16:34.895Z] -rw-r--r-- 1 jenkins jenkins 575 May 11 17:16 go.mod [2021-05-11T17:16:34.895Z] -rw-r--r-- 1 jenkins jenkins 20408 May 11 17:13 go.sum [2021-05-11T17:16:34.895Z] drwxrwxr-x 15 jenkins jenkins 4096 May 11 17:12 internal [2021-05-11T17:16:34.895Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:12 openapi [2021-05-11T17:16:34.895Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 17:12 pkg [2021-05-11T17:16:34.895Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:12 snap [2021-05-11T17:16:34.895Z] -rw-rw-r-- 1 jenkins jenkins 222 May 11 17:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:16:35.265Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f52e96a17fa5a253b9a972e3b71ea00fc70316a5 --label arch=arm64 --label version=0.0.0 . [2021-05-11T17:16:35.861Z] Sending build context to Docker daemon 2.703MB [2021-05-11T17:16:35.861Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:16:35.861Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-11T17:16:35.861Z] ---> bb0258cdd11f [2021-05-11T17:16:35.861Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-11T17:16:37.289Z] ---> Running in 7c09543aeb00 [2021-05-11T17:16:37.587Z] Removing intermediate container 7c09543aeb00 [2021-05-11T17:16:37.587Z] ---> 2c57b4332c3f [2021-05-11T17:16:37.587Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:16:37.873Z] ---> Running in e6552dd5562b [2021-05-11T17:16:38.148Z] Removing intermediate container e6552dd5562b [2021-05-11T17:16:38.148Z] ---> 6dc4ee387a2f [2021-05-11T17:16:38.148Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:16:38.422Z] ---> Running in 7b6e5c8c229c [2021-05-11T17:16:41.048Z] Removing intermediate container 7b6e5c8c229c [2021-05-11T17:16:41.048Z] ---> 970f3d5d12b8 [2021-05-11T17:16:41.048Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T17:16:41.048Z] ---> Running in c7abc1e432ad [2021-05-11T17:16:42.027Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T17:16:42.618Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T17:16:43.598Z] OK: 139 MiB in 46 packages [2021-05-11T17:16:44.577Z] Removing intermediate container c7abc1e432ad [2021-05-11T17:16:44.577Z] ---> bf56d49b45c8 [2021-05-11T17:16:44.577Z] Step 7/23 : COPY . . [2021-05-11T17:16:46.006Z] ---> 7e36ae38935a [2021-05-11T17:16:46.006Z] Step 8/23 : RUN go mod download [2021-05-11T17:16:46.006Z] ---> Running in 111528d5a052 [2021-05-11T17:16:48.633Z] Removing intermediate container 111528d5a052 [2021-05-11T17:16:48.633Z] ---> a50775894837 [2021-05-11T17:16:48.633Z] Step 9/23 : RUN make build [2021-05-11T17:16:48.633Z] ---> Running in 445f858ac08b [2021-05-11T17:16:49.619Z] 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-11T17:16:51.190Z] lf-activate-venv(): INFO: Adding /tmp/venv-yqh6/bin to PATH [2021-05-11T17:16:51.190Z] INFO: No Stack... [2021-05-11T17:16:51.190Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T17:16:51.190Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T17:16:51.584Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-11T17:16:51.584Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T17:16:51.830Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-922-1-stack-cost] [2021-05-11T17:16:51.836Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-922-1-stack-cost] did not exist. Created. [2021-05-11T17:16:51.837Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-922-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T17:16:52.377Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T17:16:52.717Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T17:16:52.741Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-922-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T17:17:21.968Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-11T17:17:24.581Z] Removing intermediate container 445f858ac08b [2021-05-11T17:17:24.581Z] ---> efd58ab0b2e3 [2021-05-11T17:17:24.581Z] Step 10/23 : FROM alpine:3.12 [2021-05-11T17:17:25.172Z] 3.12: Pulling from library/alpine [2021-05-11T17:17:25.172Z] d2f70382dc9a: Pulling fs layer [2021-05-11T17:17:25.447Z] d2f70382dc9a: Verifying Checksum [2021-05-11T17:17:25.447Z] d2f70382dc9a: Download complete [2021-05-11T17:17:26.044Z] d2f70382dc9a: Pull complete [2021-05-11T17:17:26.044Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T17:17:26.044Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T17:17:26.044Z] ---> 9852663dfa18 [2021-05-11T17:17:26.044Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:17:26.316Z] ---> Running in 684f9e22fdca [2021-05-11T17:17:26.592Z] Removing intermediate container 684f9e22fdca [2021-05-11T17:17:26.592Z] ---> 12c746fa2fec [2021-05-11T17:17:26.592Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:17:26.864Z] ---> Running in 3011f0b0f8e1 [2021-05-11T17:17:28.833Z] Removing intermediate container 3011f0b0f8e1 [2021-05-11T17:17:28.833Z] ---> 6416de4aaa31 [2021-05-11T17:17:28.833Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-11T17:17:29.107Z] ---> Running in c9f9eeba51f4 [2021-05-11T17:17:30.082Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-11T17:17:31.055Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-11T17:17:31.649Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-11T17:17:31.649Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-11T17:17:31.649Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-11T17:17:31.921Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-11T17:17:32.197Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-11T17:17:32.197Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T17:17:32.197Z] OK: 8 MiB in 19 packages [2021-05-11T17:17:33.635Z] Removing intermediate container c9f9eeba51f4 [2021-05-11T17:17:33.635Z] ---> 5470826bea37 [2021-05-11T17:17:33.635Z] Step 14/23 : WORKDIR / [2021-05-11T17:17:33.635Z] ---> Running in b90445896510 [2021-05-11T17:17:34.232Z] Removing intermediate container b90445896510 [2021-05-11T17:17:34.232Z] ---> 935aa2a296e9 [2021-05-11T17:17:34.232Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-11T17:17:34.830Z] ---> f546bb549690 [2021-05-11T17:17:34.830Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-11T17:17:36.266Z] ---> 1996aff1748a [2021-05-11T17:17:36.266Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-11T17:17:36.861Z] ---> bf0438018634 [2021-05-11T17:17:36.861Z] Step 18/23 : EXPOSE 49990 [2021-05-11T17:17:37.138Z] ---> Running in 9efe14b2be93 [2021-05-11T17:17:37.417Z] Removing intermediate container 9efe14b2be93 [2021-05-11T17:17:37.417Z] ---> f93785d0a219 [2021-05-11T17:17:37.417Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-11T17:17:37.692Z] ---> Running in 6c17a5f1b2ce [2021-05-11T17:17:38.293Z] Removing intermediate container 6c17a5f1b2ce [2021-05-11T17:17:38.293Z] ---> b6d3e61056b5 [2021-05-11T17:17:38.293Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T17:17:38.293Z] ---> Running in ade160790580 [2021-05-11T17:17:38.890Z] Removing intermediate container ade160790580 [2021-05-11T17:17:38.890Z] ---> 960323562d6a [2021-05-11T17:17:38.890Z] Step 21/23 : LABEL arch=arm64 [2021-05-11T17:17:38.890Z] ---> Running in 21588d04388c [2021-05-11T17:17:39.484Z] Removing intermediate container 21588d04388c [2021-05-11T17:17:39.484Z] ---> feabc5451d3a [2021-05-11T17:17:39.484Z] Step 22/23 : LABEL git_sha=f52e96a17fa5a253b9a972e3b71ea00fc70316a5 [2021-05-11T17:17:39.484Z] ---> Running in 6405d454694b [2021-05-11T17:17:40.076Z] Removing intermediate container 6405d454694b [2021-05-11T17:17:40.076Z] ---> dddfa6fa63a5 [2021-05-11T17:17:40.076Z] Step 23/23 : LABEL version=0.0.0 [2021-05-11T17:17:40.351Z] ---> Running in 84e5dcbf6f98 [2021-05-11T17:17:40.942Z] Removing intermediate container 84e5dcbf6f98 [2021-05-11T17:17:40.942Z] ---> e4863b7ce669 [2021-05-11T17:17:40.942Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-11T17:17:40.942Z] Successfully built e4863b7ce669 [2021-05-11T17:17:40.942Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:17:41.633Z] ---> job-cost.sh [2021-05-11T17:17:41.633Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xxOs [2021-05-11T17:18:20.571Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T17:19:43.416Z] lf-activate-venv(): INFO: Adding /tmp/venv-xxOs/bin to PATH [2021-05-11T17:19:43.416Z] INFO: No Stack... [2021-05-11T17:19:43.416Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T17:19:43.416Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T17:19:43.780Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csvcut [2021-05-11T17:19:43.780Z] -d, -f6 [Pipeline] lock [2021-05-11T17:19:43.927Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-922-1-stack-cost] [2021-05-11T17:19:43.931Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-922-1-stack-cost] did not exist. Created. [2021-05-11T17:19:43.932Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-922-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T17:19:44.380Z] /w/workspace/device-sdk-go/1@tmp/durable-b8d29df5/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-b8d29df5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T17:19:44.752Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T17:19:44.793Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T17:19:44.947Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T17:19:44.966Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-922-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-11T17:19:46.218Z] provisioning config files... [2021-05-11T17:19:46.235Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config8519027312986064243tmp [Pipeline] { [Pipeline] sh [2021-05-11T17:19:46.636Z] + set +x [2021-05-11T17:19:46.636Z] + bash -s -- [2021-05-11T17:19:46.636Z] + curl -s https://codecov.io/bash [2021-05-11T17:19:46.913Z] [2021-05-11T17:19:46.913Z] _____ _ [2021-05-11T17:19:46.913Z] / ____| | | [2021-05-11T17:19:46.913Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T17:19:46.913Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T17:19:46.913Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T17:19:46.913Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T17:19:46.913Z] Bash-1.0.2 [2021-05-11T17:19:46.913Z] [2021-05-11T17:19:46.913Z] [2021-05-11T17:19:46.913Z] ==> git version 2.24.3 found [2021-05-11T17:19:46.913Z] ==> 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-11T17:19:46.913Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T17:19:46.913Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T17:19:46.913Z] ==> Jenkins CI detected. [2021-05-11T17:19:46.913Z] project root: . [2021-05-11T17:19:46.913Z] --> token set from env [2021-05-11T17:19:46.913Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T17:19:46.913Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T17:19:46.913Z] ==> Python coveragepy not found [2021-05-11T17:19:46.913Z] ==> Searching for coverage reports in: [2021-05-11T17:19:46.913Z] + . [2021-05-11T17:19:47.192Z] -> Found 1 reports [2021-05-11T17:19:47.192Z] ==> Detecting git/mercurial file structure [2021-05-11T17:19:47.192Z] ==> Reading reports [2021-05-11T17:19:47.192Z] + ./coverage.out bytes=126002 [2021-05-11T17:19:47.192Z] ==> Appending adjustments [2021-05-11T17:19:47.192Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T17:19:47.774Z] + Found adjustments [2021-05-11T17:19:47.774Z] ==> Gzipping contents [2021-05-11T17:19:47.774Z] 20K /tmp/codecov.P3aIXg.gz [2021-05-11T17:19:47.774Z] ==> Uploading reports [2021-05-11T17:19:47.774Z] url: https://codecov.io [2021-05-11T17:19:47.774Z] query: branch=PR-922&commit=f52e96a17fa5a253b9a972e3b71ea00fc70316a5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-922%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=922&job=&cmd_args= [2021-05-11T17:19:47.774Z] -> Pinging Codecov [2021-05-11T17:19:47.774Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-922&commit=f52e96a17fa5a253b9a972e3b71ea00fc70316a5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-922%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=922&job=&cmd_args= [2021-05-11T17:19:48.770Z] -> Uploading to [2021-05-11T17:19:48.770Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/7E55EF52A471D76F132DFD9A03CDDE97/f52e96a17fa5a253b9a972e3b71ea00fc70316a5/72977fc4-2a74-44b9-9ffa-653c980f3a90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T171948Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6627fb804be301078df949c9ba662639daeb81fcf0d0fb3020f81e7a93ae0979 [2021-05-11T17:19:49.061Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T17:19:49.061Z] Dload Upload Total Spent Left Speed [2021-05-11T17:19:49.329Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16446 0 0 100 16446 0 32508 --:--:-- --:--:-- --:--:-- 32501 100 16446 0 0 100 16446 0 32483 --:--:-- --:--:-- --:--:-- 32437 [2021-05-11T17:19:49.329Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f52e96a17fa5a253b9a972e3b71ea00fc70316a5 [Pipeline] } [2021-05-11T17:19:49.368Z] 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-11T17:19:51.420Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:19:52.312Z] ---> package-listing.sh [2021-05-11T17:19:52.312Z] ++ facter osfamily [2021-05-11T17:19:52.312Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T17:19:52.312Z] + OS_FAMILY=redhat [2021-05-11T17:19:52.312Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-922 [2021-05-11T17:19:52.312Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T17:19:52.312Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T17:19:52.312Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T17:19:52.312Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T17:19:52.312Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-922 ']' [2021-05-11T17:19:52.312Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T17:19:52.312Z] + case "${OS_FAMILY}" in [2021-05-11T17:19:52.312Z] + rpm -qa [2021-05-11T17:19:52.312Z] + sort [2021-05-11T17:19:57.697Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T17:19:57.697Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T17:19:57.697Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T17:19:57.697Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-922 ']' [2021-05-11T17:19:57.697Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-922/archives/ [2021-05-11T17:19:57.697Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-922/archives/ [Pipeline] echo [2021-05-11T17:19:57.756Z] 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-922/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-11T17:19:58.102Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:19:58.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:19:59.052Z] [2021-05-11T17:19:59.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:19:59.426Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:19:59.426Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T17:19:59.426Z] df20fa9351a1: Pulling fs layer [2021-05-11T17:19:59.426Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T17:19:59.426Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T17:19:59.426Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T17:19:59.426Z] 93b61091891f: Pulling fs layer [2021-05-11T17:19:59.426Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T17:19:59.426Z] 5e14af77c1be: Pulling fs layer [2021-05-11T17:19:59.426Z] 01666e4c0597: Pulling fs layer [2021-05-11T17:19:59.426Z] aa168da1d23b: Pulling fs layer [2021-05-11T17:19:59.426Z] 93b61091891f: Waiting [2021-05-11T17:19:59.426Z] 93b9cdb0e59b: Waiting [2021-05-11T17:19:59.426Z] 5e14af77c1be: Waiting [2021-05-11T17:19:59.426Z] 01666e4c0597: Waiting [2021-05-11T17:19:59.426Z] aa168da1d23b: Waiting [2021-05-11T17:19:59.426Z] 46f8f816bc3b: Waiting [2021-05-11T17:19:59.426Z] 36b3adc4ff6f: Download complete [2021-05-11T17:19:59.426Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T17:19:59.426Z] 46f8f816bc3b: Download complete [2021-05-11T17:19:59.693Z] 93b61091891f: Verifying Checksum [2021-05-11T17:19:59.693Z] 93b61091891f: Download complete [2021-05-11T17:19:59.693Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T17:19:59.693Z] 93b9cdb0e59b: Download complete [2021-05-11T17:19:59.693Z] 5e14af77c1be: Verifying Checksum [2021-05-11T17:19:59.693Z] 5e14af77c1be: Download complete [2021-05-11T17:19:59.693Z] 01666e4c0597: Verifying Checksum [2021-05-11T17:19:59.693Z] 01666e4c0597: Download complete [2021-05-11T17:19:59.969Z] df20fa9351a1: Verifying Checksum [2021-05-11T17:19:59.969Z] df20fa9351a1: Download complete [2021-05-11T17:20:00.574Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T17:20:00.574Z] 8ad3a11d3b57: Download complete [2021-05-11T17:20:00.574Z] df20fa9351a1: Pull complete [2021-05-11T17:20:01.194Z] 36b3adc4ff6f: Pull complete [2021-05-11T17:20:03.385Z] 8ad3a11d3b57: Pull complete [2021-05-11T17:20:03.385Z] 46f8f816bc3b: Pull complete [2021-05-11T17:20:04.027Z] 93b61091891f: Pull complete [2021-05-11T17:20:04.309Z] 93b9cdb0e59b: Pull complete [2021-05-11T17:20:04.590Z] 5e14af77c1be: Pull complete [2021-05-11T17:20:05.217Z] 01666e4c0597: Pull complete [2021-05-11T17:20:06.633Z] aa168da1d23b: Download complete [2021-05-11T17:20:16.779Z] aa168da1d23b: Pull complete [2021-05-11T17:20:16.779Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T17:20:16.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:20:16.779Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T17:20:17.097Z] prd-centos7-docker-4c-2g-4511 does not seem to be running inside a container [2021-05-11T17:20:17.183Z] $ 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-922/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-922 -v /w/workspace/dgexfoundry_device-sdk-go_PR-922:/w/workspace/dgexfoundry_device-sdk-go_PR-922:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-11T17:20:20.841Z] $ docker top 60cf14af12381d406931f27c4166bf9726c1a3c70604c534a85491cf29b3284b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:20:21.417Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T17:20:21.759Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T17:20:22.110Z] + ls /var/log/sa-host [2021-05-11T17:20:22.110Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T17:20:22.110Z] file_magic: OK [2021-05-11T17:20:22.110Z] HZ: Using current value: 100 [2021-05-11T17:20:22.110Z] file_header: OK [2021-05-11T17:20:22.110Z] 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-11T17:20:22.110Z] Statistics: [2021-05-11T17:20:22.110Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-11T17:20:22.110Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T17:20:22.110Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T17:20:22.110Z] file_magic: OK [2021-05-11T17:20:22.110Z] HZ: Using current value: 100 [2021-05-11T17:20:22.110Z] file_header: OK [2021-05-11T17:20:22.110Z] 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-11T17:20:22.110Z] Statistics: [2021-05-11T17:20:22.110Z] Hnuu...uuuununununu... [2021-05-11T17:20:22.110Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T17:20:22.338Z] provisioning config files... [2021-05-11T17:20:22.361Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config1972134160025291272tmp [Pipeline] { [Pipeline] echo [2021-05-11T17:20:22.421Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:20:22.790Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T17:20:23.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T17:20:23.187Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:20:23.579Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T17:20:23.627Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:20:24.314Z] ---> sudo-logs.sh [2021-05-11T17:20:24.314Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T17:20:24.424Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:20:24.798Z] ---> job-cost.sh [2021-05-11T17:20:24.798Z] lf-activate-venv: SKIPPING [2021-05-11T17:20:24.798Z] DEBUG: total: 0.20999999344348907 [2021-05-11T17:20:24.798Z] INFO: Retrieving Stack Cost... [2021-05-11T17:20:26.780Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T17:20:27.044Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T17:20:27.095Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:20:27.471Z] ---> logs-deploy.sh [2021-05-11T17:20:27.471Z] lf-activate-venv: SKIPPING [2021-05-11T17:20:27.471Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-922/1 [2021-05-11T17:20:27.471Z] INFO: archiving workspace using pattern(s): [2021-05-11T17:20:30.053Z] Archives upload complete. [2021-05-11T17:20:30.053Z] INFO: archiving logs to Nexus