Pull request #927 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef+8d3d36979320f9fc0ce2797f8744993b6dbca912 (ed0b15e752c31e636bb13b9c91543b5eea2610c0) 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-927/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-927/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5010 in /w/workspace/dgexfoundry_device-sdk-go_PR-927 [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-927 # 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/927/head:refs/remotes/origin/PR-927 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef Merge succeeded, producing 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef Checking out Revision 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef (PR-927) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-13T05:48:44.750Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-13T05:48:45.004Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-13T05:48:45.121Z] ========================================================= [2021-05-13T05:48:45.121Z] EdgeX Global Pipelines Version Info [2021-05-13T05:48:45.121Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:48:46.847Z] ------------------- [2021-05-13T05:48:46.847Z] stable info: [2021-05-13T05:48:46.847Z] ------------------- [2021-05-13T05:48:46.847Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-13T05:48:46.847Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-13T05:48:46.847Z] Message: update stable to v1.0.192 [2021-05-13T05:48:47.794Z] ------------------- [2021-05-13T05:48:47.794Z] experimental info: [2021-05-13T05:48:47.794Z] ------------------- [2021-05-13T05:48:47.794Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-13T05:48:47.794Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-13T05:48:47.794Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-13T05:48:48.044Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-13T05:48:48.102Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-13T05:48:48.161Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-13T05:48:48.227Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-13T05:48:48.293Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-13T05:48:48.349Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-13T05:48:48.408Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-13T05:48:48.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-13T05:48:48.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-13T05:48:48.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-13T05:48:48.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-13T05:48:48.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-13T05:48:48.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-13T05:48:48.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-13T05:48:48.916Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-13T05:48:48.982Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T05:48:49.069Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T05:48:49.146Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T05:48:49.205Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-13T05:48:49.261Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-13T05:48:49.318Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-13T05:48:49.375Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-13T05:48:49.437Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-13T05:48:49.496Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-13T05:48:49.552Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-13T05:48:49.620Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-13T05:48:49.701Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-927 [Pipeline] echo [2021-05-13T05:48:49.761Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-927 [Pipeline] echo [2021-05-13T05:48:49.818Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-927 [Pipeline] echo [2021-05-13T05:48:49.875Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef [Pipeline] echo [2021-05-13T05:48:49.939Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e18029 [Pipeline] echo [2021-05-13T05:48:50.000Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T05:48:50.165Z] provisioning config files... [2021-05-13T05:48:50.211Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/config606815326061548338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:48:50.619Z] ---> docker-login.sh [2021-05-13T05:48:50.619Z] nexus3.edgexfoundry.org:10001 [2021-05-13T05:48:50.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:48:51.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:48:51.150Z] Configure a credential helper to remove this warning. See [2021-05-13T05:48:51.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:48:51.150Z] [2021-05-13T05:48:51.150Z] Login Succeeded [2021-05-13T05:48:51.150Z] nexus3.edgexfoundry.org:10002 [2021-05-13T05:48:51.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:48:51.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:48:51.150Z] Configure a credential helper to remove this warning. See [2021-05-13T05:48:51.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:48:51.150Z] [2021-05-13T05:48:51.150Z] Login Succeeded [2021-05-13T05:48:51.150Z] nexus3.edgexfoundry.org:10003 [2021-05-13T05:48:51.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:48:51.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:48:51.416Z] Configure a credential helper to remove this warning. See [2021-05-13T05:48:51.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:48:51.416Z] [2021-05-13T05:48:51.416Z] Login Succeeded [2021-05-13T05:48:51.416Z] nexus3.edgexfoundry.org:10004 [2021-05-13T05:48:51.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:48:51.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:48:51.681Z] Configure a credential helper to remove this warning. See [2021-05-13T05:48:51.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:48:51.681Z] [2021-05-13T05:48:51.681Z] Login Succeeded [2021-05-13T05:48:51.681Z] docker.io [2021-05-13T05:48:51.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:48:51.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:48:51.946Z] Configure a credential helper to remove this warning. See [2021-05-13T05:48:51.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:48:51.946Z] [2021-05-13T05:48:51.946Z] Login Succeeded [2021-05-13T05:48:51.946Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T05:48:51.984Z] 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-13T05:48:52.755Z] + git log --format=format:%s -1 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef [Pipeline] echo [2021-05-13T05:48:52.868Z] GIT_COMMIT: 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-13T05:48:52.913Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:48:53.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T05:48:53.964Z] [2021-05-13T05:48:53.964Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:48:54.333Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T05:48:54.334Z] latest: Pulling from edgex-devops/git-semver [2021-05-13T05:48:54.334Z] 31603596830f: Pulling fs layer [2021-05-13T05:48:54.334Z] 54011a49482f: Pulling fs layer [2021-05-13T05:48:54.334Z] a6820b24f6d8: Pulling fs layer [2021-05-13T05:48:54.334Z] f581987b2513: Pulling fs layer [2021-05-13T05:48:54.334Z] f581987b2513: Waiting [2021-05-13T05:48:54.334Z] 54011a49482f: Verifying Checksum [2021-05-13T05:48:54.334Z] 54011a49482f: Download complete [2021-05-13T05:48:54.334Z] 31603596830f: Verifying Checksum [2021-05-13T05:48:54.334Z] 31603596830f: Download complete [2021-05-13T05:48:54.601Z] a6820b24f6d8: Verifying Checksum [2021-05-13T05:48:54.601Z] a6820b24f6d8: Download complete [2021-05-13T05:48:54.601Z] f581987b2513: Verifying Checksum [2021-05-13T05:48:54.601Z] f581987b2513: Download complete [2021-05-13T05:48:54.865Z] 31603596830f: Pull complete [2021-05-13T05:48:54.865Z] 54011a49482f: Pull complete [2021-05-13T05:48:55.822Z] a6820b24f6d8: Pull complete [2021-05-13T05:48:56.086Z] f581987b2513: Pull complete [2021-05-13T05:48:56.086Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-13T05:48:56.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T05:48:56.086Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-13T05:48:56.228Z] prd-centos7-docker-4c-2g-5010 does not seem to be running inside a container [2021-05-13T05:48:56.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-927 -v /w/workspace/dgexfoundry_device-sdk-go_PR-927:/w/workspace/dgexfoundry_device-sdk-go_PR-927:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-927@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-13T05:48:58.402Z] $ docker top 5948c674547fadacaac72169aa54434ff0a57019a0278001b143f6b4a9442163 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-13T05:48:58.675Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-13T05:48:58.675Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-13T05:48:58.897Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-13T05:48:58.905Z] $ docker exec 5948c674547fadacaac72169aa54434ff0a57019a0278001b143f6b4a9442163 ssh-agent [2021-05-13T05:48:59.084Z] SSH_AUTH_SOCK=/tmp/ssh-pVIlznG3EIcm/agent.12 [2021-05-13T05:48:59.084Z] SSH_AGENT_PID=17 [2021-05-13T05:48:59.099Z] Running ssh-add (command line suppressed) [2021-05-13T05:48:59.248Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/private_key_9067228061862653102.key (/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/private_key_9067228061862653102.key) [2021-05-13T05:48:59.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-13T05:48:59.679Z] + git tag --points-at HEAD [Pipeline] } [2021-05-13T05:48:59.719Z] $ docker exec --env ******** --env ******** 5948c674547fadacaac72169aa54434ff0a57019a0278001b143f6b4a9442163 ssh-agent -k [2021-05-13T05:48:59.852Z] unset SSH_AUTH_SOCK; [2021-05-13T05:48:59.852Z] unset SSH_AGENT_PID; [2021-05-13T05:48:59.852Z] echo Agent pid 17 killed; [2021-05-13T05:48:59.900Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-13T05:48:59.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-13T05:48:59.993Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-13T05:49:00.184Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-13T05:49:00.193Z] $ docker exec 5948c674547fadacaac72169aa54434ff0a57019a0278001b143f6b4a9442163 ssh-agent [2021-05-13T05:49:00.369Z] SSH_AUTH_SOCK=/tmp/ssh-aK14AZh0SJJl/agent.48 [2021-05-13T05:49:00.369Z] SSH_AGENT_PID=53 [2021-05-13T05:49:00.379Z] Running ssh-add (command line suppressed) [2021-05-13T05:49:00.514Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/private_key_4305644813404202434.key (/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/private_key_4305644813404202434.key) [2021-05-13T05:49:00.568Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-13T05:49:00.942Z] + git semver init [2021-05-13T05:49:00.942Z] # -> Open(): unable to determine branch for HEAD [2021-05-13T05:49:00.942Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-927/.git [2021-05-13T05:49:00.942Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-927 [2021-05-13T05:49:00.942Z] # $SEMVER_REMOTE_NAME = origin [2021-05-13T05:49:00.942Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-13T05:49:00.942Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-13T05:49:00.942Z] # $SEMVER_BRANCH = PR-927 [2021-05-13T05:49:00.942Z] # $SEMVER_TEMP = /tmp/semver-100788189 [2021-05-13T05:49:00.942Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-13T05:49:01.894Z] # '/tmp/semver-100788189' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-927/.semver' [2021-05-13T05:49:01.894Z] # -> Force: false [2021-05-13T05:49:01.894Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-927/.semver [Pipeline] } [2021-05-13T05:49:01.922Z] $ docker exec --env ******** --env ******** 5948c674547fadacaac72169aa54434ff0a57019a0278001b143f6b4a9442163 ssh-agent -k [2021-05-13T05:49:02.042Z] unset SSH_AUTH_SOCK; [2021-05-13T05:49:02.043Z] unset SSH_AGENT_PID; [2021-05-13T05:49:02.044Z] echo Agent pid 53 killed; [2021-05-13T05:49:02.097Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-13T05:49:02.557Z] + git semver [Pipeline] } [2021-05-13T05:49:02.599Z] $ docker stop --time=1 5948c674547fadacaac72169aa54434ff0a57019a0278001b143f6b4a9442163 [2021-05-13T05:49:04.387Z] $ docker rm -f 5948c674547fadacaac72169aa54434ff0a57019a0278001b143f6b4a9442163 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T05:49:04.864Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-13T05:49:05.274Z] Stashed 1 file(s) [Pipeline] echo [2021-05-13T05:49:05.296Z] [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-13T05:49:20.881Z] Still waiting to schedule task [2021-05-13T05:49:20.881Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-5010’ [2021-05-13T05:49:20.913Z] Still waiting to schedule task [2021-05-13T05:49:20.914Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-13T05:51:03.865Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5012 in /w/workspace/dgexfoundry_device-sdk-go_PR-927 [Pipeline] { [Pipeline] ws [2021-05-13T05:51:03.923Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-13T05:51:09.744Z] using credential edgex-jenkins-ssh [2021-05-13T05:51:09.761Z] Cloning the remote Git repository [2021-05-13T05:51:09.815Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T05:51:09.933Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-13T05:51:10.008Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T05:51:10.009Z] > git --version # timeout=10 [2021-05-13T05:51:10.028Z] > git --version # 'git version 2.17.1' [2021-05-13T05:51:10.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T05:51:10.099Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T05:51:11.328Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T05:51:11.346Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T05:51:11.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T05:51:11.397Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T05:51:11.398Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T05:51:11.414Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/927/head:refs/remotes/origin/PR-927 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-13T05:51:11.890Z] Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef [2021-05-13T05:51:12.087Z] Merge succeeded, producing 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef [2021-05-13T05:51:12.087Z] Checking out Revision 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef (PR-927) [2021-05-13T05:51:11.910Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T05:51:11.928Z] > git checkout -f 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef # timeout=10 [2021-05-13T05:51:12.020Z] > git remote # timeout=10 [2021-05-13T05:51:12.036Z] > git config --get remote.origin.url # timeout=10 [2021-05-13T05:51:12.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T05:51:12.057Z] > git merge 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 [2021-05-13T05:51:12.078Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-13T05:51:12.098Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T05:51:12.108Z] > git checkout -f 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef # timeout=10 [2021-05-13T05:51:16.260Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-13T05:51:16.320Z] > git --version # timeout=10 [2021-05-13T05:51:16.334Z] > git --version # 'git version 2.17.1' [2021-05-13T05:51:16.355Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T05:51:17.795Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-13T05:51:18.214Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-13T05:51:18.577Z] + sudo service docker restart [2021-05-13T05:51:18.577Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T05:51:21.320Z] provisioning config files... [2021-05-13T05:51:21.359Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5389848956960034702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:51:21.775Z] ---> docker-login.sh [2021-05-13T05:51:21.775Z] nexus3.edgexfoundry.org:10001 [2021-05-13T05:51:22.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:51:22.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:51:22.969Z] Configure a credential helper to remove this warning. See [2021-05-13T05:51:22.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:51:22.969Z] [2021-05-13T05:51:22.969Z] Login Succeeded [2021-05-13T05:51:22.969Z] nexus3.edgexfoundry.org:10002 [2021-05-13T05:51:23.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:51:23.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:51:23.243Z] Configure a credential helper to remove this warning. See [2021-05-13T05:51:23.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:51:23.243Z] [2021-05-13T05:51:23.243Z] Login Succeeded [2021-05-13T05:51:23.243Z] nexus3.edgexfoundry.org:10003 [2021-05-13T05:51:23.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:51:23.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:51:23.843Z] Configure a credential helper to remove this warning. See [2021-05-13T05:51:23.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:51:23.843Z] [2021-05-13T05:51:23.843Z] Login Succeeded [2021-05-13T05:51:23.843Z] nexus3.edgexfoundry.org:10004 [2021-05-13T05:51:24.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:51:24.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:51:24.389Z] Configure a credential helper to remove this warning. See [2021-05-13T05:51:24.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:51:24.389Z] [2021-05-13T05:51:24.389Z] Login Succeeded [2021-05-13T05:51:24.389Z] docker.io [2021-05-13T05:51:24.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:51:25.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:51:25.261Z] Configure a credential helper to remove this warning. See [2021-05-13T05:51:25.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:51:25.261Z] [2021-05-13T05:51:25.261Z] Login Succeeded [2021-05-13T05:51:25.261Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T05:51:25.300Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-13T05:51:25.753Z] ========================================================= [2021-05-13T05:51:25.753Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-13T05:51:25.753Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:51:26.137Z] + 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-13T05:51:26.396Z] Running on prd-centos7-docker-4c-2g-5013 in /w/workspace/dgexfoundry_device-sdk-go_PR-927 [Pipeline] { [2021-05-13T05:51:26.413Z] Sending build context to Docker daemon 2.562MB [Pipeline] ws [2021-05-13T05:51:26.484Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-13T05:51:26.692Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T05:51:26.692Z] Step 2/8 : FROM ${BASE} [2021-05-13T05:51:26.692Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-13T05:51:26.692Z] 595b0fe564bb: Pulling fs layer [2021-05-13T05:51:26.692Z] 7186ed65a4f7: Pulling fs layer [2021-05-13T05:51:26.692Z] 316046926c0a: Pulling fs layer [2021-05-13T05:51:26.692Z] 4ebd0625c992: Pulling fs layer [2021-05-13T05:51:26.692Z] 207e8628e3a3: Pulling fs layer [2021-05-13T05:51:26.692Z] c791037a9be2: Pulling fs layer [2021-05-13T05:51:26.692Z] ffd874e62e21: Pulling fs layer [2021-05-13T05:51:26.692Z] 4ebd0625c992: Waiting [2021-05-13T05:51:26.692Z] 207e8628e3a3: Waiting [2021-05-13T05:51:26.692Z] c791037a9be2: Waiting [2021-05-13T05:51:26.692Z] ffd874e62e21: Waiting [2021-05-13T05:51:26.692Z] 316046926c0a: Verifying Checksum [2021-05-13T05:51:26.692Z] 316046926c0a: Download complete [2021-05-13T05:51:26.692Z] 7186ed65a4f7: Verifying Checksum [2021-05-13T05:51:26.692Z] 7186ed65a4f7: Download complete [2021-05-13T05:51:26.692Z] 207e8628e3a3: Verifying Checksum [2021-05-13T05:51:26.692Z] 207e8628e3a3: Download complete [2021-05-13T05:51:26.692Z] c791037a9be2: Verifying Checksum [2021-05-13T05:51:26.692Z] c791037a9be2: Download complete [2021-05-13T05:51:26.692Z] 595b0fe564bb: Verifying Checksum [2021-05-13T05:51:26.692Z] 595b0fe564bb: Download complete [2021-05-13T05:51:27.299Z] 595b0fe564bb: Pull complete [2021-05-13T05:51:27.908Z] 7186ed65a4f7: Pull complete [2021-05-13T05:51:28.511Z] 316046926c0a: Pull complete [2021-05-13T05:51:29.973Z] ffd874e62e21: Verifying Checksum [2021-05-13T05:51:29.973Z] ffd874e62e21: Download complete [2021-05-13T05:51:30.960Z] 4ebd0625c992: Verifying Checksum [2021-05-13T05:51:30.960Z] 4ebd0625c992: Download complete [2021-05-13T05:51:36.707Z] using credential edgex-jenkins-ssh [2021-05-13T05:51:36.724Z] Cloning the remote Git repository [2021-05-13T05:51:36.758Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T05:51:36.870Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-13T05:51:37.017Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T05:51:37.018Z] > git --version # timeout=10 [2021-05-13T05:51:37.035Z] > git --version # 'git version 2.24.3' [2021-05-13T05:51:37.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T05:51:37.115Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T05:51:38.632Z] Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef [2021-05-13T05:51:38.870Z] Merge succeeded, producing 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef [2021-05-13T05:51:38.870Z] Checking out Revision 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef (PR-927) [2021-05-13T05:51:38.083Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T05:51:38.132Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T05:51:38.169Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T05:51:38.203Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T05:51:38.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T05:51:38.209Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/927/head:refs/remotes/origin/PR-927 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-13T05:51:38.647Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T05:51:38.659Z] > git checkout -f 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef # timeout=10 [2021-05-13T05:51:38.756Z] > git remote # timeout=10 [2021-05-13T05:51:38.780Z] > git config --get remote.origin.url # timeout=10 [2021-05-13T05:51:38.805Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T05:51:38.815Z] > git merge 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 [2021-05-13T05:51:38.862Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-13T05:51:38.878Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T05:51:38.889Z] > git checkout -f 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef # timeout=10 [2021-05-13T05:51:41.122Z] 4ebd0625c992: Pull complete [2021-05-13T05:51:41.122Z] 207e8628e3a3: Pull complete [2021-05-13T05:51:41.122Z] c791037a9be2: Pull complete [2021-05-13T05:51:43.218Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-13T05:51:43.372Z] > git --version # timeout=10 [2021-05-13T05:51:43.405Z] > git --version # 'git version 2.24.3' [2021-05-13T05:51:43.543Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T05:51:44.562Z] ffd874e62e21: Pull complete [2021-05-13T05:51:44.562Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-13T05:51:44.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-13T05:51:44.562Z] ---> cfc18b08335c [2021-05-13T05:51:44.562Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T05:51:45.721Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-13T05:51:46.488Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-13T05:51:46.873Z] + sudo service docker restart [2021-05-13T05:51:46.873Z] + true [2021-05-13T05:51:46.873Z] Redirecting to /bin/systemctl restart docker.service [2021-05-13T05:51:47.198Z] ---> Running in c6fe05d92ea0 [2021-05-13T05:51:47.471Z] Removing intermediate container c6fe05d92ea0 [2021-05-13T05:51:47.471Z] ---> 187b9a2ec59d [2021-05-13T05:51:47.471Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T05:51:47.752Z] ---> Running in 5f4b662143f3 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T05:51:50.075Z] provisioning config files... [2021-05-13T05:51:50.122Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7440768443405686102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:51:50.394Z] Removing intermediate container 5f4b662143f3 [2021-05-13T05:51:50.394Z] ---> bb51cce693ad [2021-05-13T05:51:50.394Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-13T05:51:50.394Z] ---> Running in 5a7d1ec6a3b1 [2021-05-13T05:51:50.607Z] ---> docker-login.sh [2021-05-13T05:51:50.607Z] nexus3.edgexfoundry.org:10001 [2021-05-13T05:51:51.401Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-13T05:51:51.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:51:51.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:51:51.925Z] Configure a credential helper to remove this warning. See [2021-05-13T05:51:51.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:51:51.925Z] [2021-05-13T05:51:51.925Z] Login Succeeded [2021-05-13T05:51:51.925Z] nexus3.edgexfoundry.org:10002 [2021-05-13T05:51:52.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:51:52.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:51:52.209Z] Configure a credential helper to remove this warning. See [2021-05-13T05:51:52.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:51:52.209Z] [2021-05-13T05:51:52.209Z] Login Succeeded [2021-05-13T05:51:52.209Z] nexus3.edgexfoundry.org:10003 [2021-05-13T05:51:52.376Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-13T05:51:52.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:51:52.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:51:52.860Z] Configure a credential helper to remove this warning. See [2021-05-13T05:51:52.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:51:52.860Z] [2021-05-13T05:51:52.860Z] Login Succeeded [2021-05-13T05:51:52.860Z] nexus3.edgexfoundry.org:10004 [2021-05-13T05:51:53.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:51:53.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:51:53.134Z] Configure a credential helper to remove this warning. See [2021-05-13T05:51:53.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:51:53.134Z] [2021-05-13T05:51:53.134Z] Login Succeeded [2021-05-13T05:51:53.134Z] docker.io [2021-05-13T05:51:53.353Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-13T05:51:53.354Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-13T05:51:53.354Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-13T05:51:53.354Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-13T05:51:53.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:51:53.629Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-13T05:51:53.629Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-13T05:51:53.629Z] Executing busybox-1.32.1-r6.trigger [2021-05-13T05:51:53.629Z] OK: 139 MiB in 46 packages [2021-05-13T05:51:53.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:51:53.697Z] Configure a credential helper to remove this warning. See [2021-05-13T05:51:53.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:51:53.697Z] [2021-05-13T05:51:53.697Z] Login Succeeded [2021-05-13T05:51:53.697Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T05:51:53.745Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-13T05:51:54.669Z] ========================================================= [2021-05-13T05:51:54.669Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-13T05:51:54.669Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:51:55.074Z] Removing intermediate container 5a7d1ec6a3b1 [2021-05-13T05:51:55.074Z] ---> f0e075fcd57a [2021-05-13T05:51:55.074Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-13T05:51:55.074Z] ---> Running in 0f53d6995ccf [2021-05-13T05:51:55.206Z] + 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-13T05:51:55.674Z] Removing intermediate container 0f53d6995ccf [2021-05-13T05:51:55.674Z] ---> 2ca3a3dfdd10 [2021-05-13T05:51:55.674Z] Step 7/8 : COPY . . [2021-05-13T05:51:55.913Z] Sending build context to Docker daemon 2.563MB [2021-05-13T05:51:55.913Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T05:51:55.913Z] Step 2/8 : FROM ${BASE} [2021-05-13T05:51:56.206Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-13T05:51:56.206Z] 540db60ca938: Pulling fs layer [2021-05-13T05:51:56.206Z] adcc1eea9eea: Pulling fs layer [2021-05-13T05:51:56.206Z] 4c4ab2625f07: Pulling fs layer [2021-05-13T05:51:56.206Z] 0510c868ecb4: Pulling fs layer [2021-05-13T05:51:56.206Z] afea3b2eda06: Pulling fs layer [2021-05-13T05:51:56.206Z] 7809a108b3ef: Pulling fs layer [2021-05-13T05:51:56.206Z] f706445af74f: Pulling fs layer [2021-05-13T05:51:56.206Z] 7809a108b3ef: Waiting [2021-05-13T05:51:56.206Z] afea3b2eda06: Waiting [2021-05-13T05:51:56.206Z] f706445af74f: Waiting [2021-05-13T05:51:56.206Z] 0510c868ecb4: Waiting [2021-05-13T05:51:56.206Z] 4c4ab2625f07: Verifying Checksum [2021-05-13T05:51:56.206Z] 4c4ab2625f07: Download complete [2021-05-13T05:51:56.206Z] adcc1eea9eea: Verifying Checksum [2021-05-13T05:51:56.206Z] adcc1eea9eea: Download complete [2021-05-13T05:51:56.206Z] afea3b2eda06: Verifying Checksum [2021-05-13T05:51:56.206Z] afea3b2eda06: Download complete [2021-05-13T05:51:56.206Z] 7809a108b3ef: Download complete [2021-05-13T05:51:56.661Z] ---> 1cb43d5b5112 [2021-05-13T05:51:56.661Z] Step 8/8 : RUN go mod download [2021-05-13T05:51:56.720Z] 540db60ca938: Verifying Checksum [2021-05-13T05:51:56.720Z] 540db60ca938: Download complete [2021-05-13T05:51:56.935Z] ---> Running in 4fc932eca72f [2021-05-13T05:51:58.305Z] 540db60ca938: Pull complete [2021-05-13T05:51:58.596Z] adcc1eea9eea: Pull complete [2021-05-13T05:51:59.871Z] 4c4ab2625f07: Pull complete [2021-05-13T05:52:01.494Z] f706445af74f: Verifying Checksum [2021-05-13T05:52:01.494Z] f706445af74f: Download complete [2021-05-13T05:52:05.097Z] 0510c868ecb4: Verifying Checksum [2021-05-13T05:52:05.097Z] 0510c868ecb4: Download complete [2021-05-13T05:52:20.615Z] 0510c868ecb4: Pull complete [2021-05-13T05:52:20.615Z] afea3b2eda06: Pull complete [2021-05-13T05:52:20.615Z] 7809a108b3ef: Pull complete [2021-05-13T05:52:24.478Z] Removing intermediate container 4fc932eca72f [2021-05-13T05:52:24.478Z] ---> 9ddd701f643e [2021-05-13T05:52:24.479Z] Successfully built 9ddd701f643e [2021-05-13T05:52:24.479Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:52:24.861Z] + docker inspect -f . ci-base-image-arm64 [2021-05-13T05:52:24.862Z] . [Pipeline] withDockerContainer [2021-05-13T05:52:25.100Z] f706445af74f: Pull complete [2021-05-13T05:52:25.100Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-13T05:52:25.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-13T05:52:25.100Z] ---> b068be0155e3 [2021-05-13T05:52:25.100Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T05:52:25.100Z] ---> Running in 4b2e5870b423 [2021-05-13T05:52:25.146Z] prd-ubuntu18.04-docker-arm64-4c-16g-5012 does not seem to be running inside a container [2021-05-13T05:52:25.237Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-13T05:52:25.370Z] Removing intermediate container 4b2e5870b423 [2021-05-13T05:52:25.370Z] ---> 2e1d70b9278a [2021-05-13T05:52:25.370Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T05:52:25.668Z] ---> Running in 7e3b19f027f6 [2021-05-13T05:52:26.814Z] $ docker top 9ec2ecd25aaa2d4670b84e81fca15965bfa0b2d9db91d6258392069714936456 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T05:52:27.667Z] Removing intermediate container 7e3b19f027f6 [2021-05-13T05:52:27.667Z] ---> 7ddc6da65c91 [2021-05-13T05:52:27.667Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-13T05:52:27.667Z] ---> Running in c6621bc055d2 [2021-05-13T05:52:27.851Z] + go version [2021-05-13T05:52:27.851Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-13T05:52:27.893Z] $ docker stop --time=1 9ec2ecd25aaa2d4670b84e81fca15965bfa0b2d9db91d6258392069714936456 [2021-05-13T05:52:28.271Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-13T05:52:29.236Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-13T05:52:29.830Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-13T05:52:29.829Z] $ docker rm -f 9ec2ecd25aaa2d4670b84e81fca15965bfa0b2d9db91d6258392069714936456 [2021-05-13T05:52:30.101Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-13T05:52:30.101Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-13T05:52:30.101Z] (4/6) Installing libsodium-dev (1.0.18-r0) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-05-13T05:52:30.368Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-13T05:52:30.368Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-13T05:52:30.368Z] Executing busybox-1.32.1-r6.trigger [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:52:30.640Z] OK: 150 MiB in 46 packages [2021-05-13T05:52:30.890Z] + docker inspect -f . ci-base-image-arm64 [2021-05-13T05:52:30.890Z] . [Pipeline] withDockerContainer [2021-05-13T05:52:31.199Z] prd-ubuntu18.04-docker-arm64-4c-16g-5012 does not seem to be running inside a container [2021-05-13T05:52:31.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-13T05:52:31.658Z] Removing intermediate container c6621bc055d2 [2021-05-13T05:52:31.658Z] ---> 866454b829d3 [2021-05-13T05:52:31.658Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-13T05:52:31.658Z] ---> Running in c16869c80159 [2021-05-13T05:52:31.962Z] Removing intermediate container c16869c80159 [2021-05-13T05:52:31.962Z] ---> 8fd5140d4358 [2021-05-13T05:52:31.962Z] Step 7/8 : COPY . . [2021-05-13T05:52:32.799Z] $ docker top 8df11f64b188ec9ee9b3b87ec447e9bd0ce51efba6a2e5a671f35d4a6fe34388 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T05:52:33.441Z] ---> 9103d78e88ed [2021-05-13T05:52:33.442Z] Step 8/8 : RUN go mod download [2021-05-13T05:52:33.718Z] ---> Running in e2839258dca0 [2021-05-13T05:52:33.833Z] + go mod tidy [Pipeline] sh [2021-05-13T05:52:35.128Z] + make test [2021-05-13T05:52:35.128Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-13T05:52:57.421Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-13T05:53:13.219Z] Removing intermediate container e2839258dca0 [2021-05-13T05:53:13.220Z] ---> c9563a1940a4 [2021-05-13T05:53:13.220Z] Successfully built c9563a1940a4 [2021-05-13T05:53:13.220Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:53:13.877Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-13T05:53:14.502Z] . [Pipeline] withDockerContainer [2021-05-13T05:53:14.701Z] prd-centos7-docker-4c-2g-5013 does not seem to be running inside a container [2021-05-13T05:53:14.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-13T05:53:18.097Z] $ docker top e9f3df3c18d79843f833728aa16fdb249afb2cdd6f4f0e5a4e9cc90d885faa48 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T05:53:19.376Z] + go version [2021-05-13T05:53:19.376Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-13T05:53:19.493Z] $ docker stop --time=1 e9f3df3c18d79843f833728aa16fdb249afb2cdd6f4f0e5a4e9cc90d885faa48 [2021-05-13T05:53:21.294Z] $ docker rm -f e9f3df3c18d79843f833728aa16fdb249afb2cdd6f4f0e5a4e9cc90d885faa48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:53:23.204Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-13T05:53:23.204Z] . [Pipeline] withDockerContainer [2021-05-13T05:53:23.457Z] prd-centos7-docker-4c-2g-5013 does not seem to be running inside a container [2021-05-13T05:53:23.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-13T05:53:24.900Z] $ docker top 9b7167679164041437b39ceff0a73eeb781e4cf05ffabbdc3476ddd7b908ae72 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T05:53:25.599Z] + go mod tidy [Pipeline] sh [2021-05-13T05:53:27.492Z] + make test [2021-05-13T05:53:27.492Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-13T05:53:50.016Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-13T05:54:05.527Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-13T05:54:05.527Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-13T05:54:05.527Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-13T05:54:12.284Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.245s coverage: 25.4% of statements [2021-05-13T05:54:12.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-13T05:54:12.284Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.204s coverage: 28.1% of statements [2021-05-13T05:54:12.284Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.308s coverage: 78.9% of statements [2021-05-13T05:54:12.284Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.320s coverage: 10.7% of statements [2021-05-13T05:54:12.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-13T05:54:12.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-13T05:54:12.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-13T05:54:14.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.313s coverage: 30.2% of statements [2021-05-13T05:54:14.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-13T05:54:16.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.265s coverage: 83.3% of statements [2021-05-13T05:54:16.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-13T05:54:16.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-13T05:54:16.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.391s coverage: 58.4% of statements [2021-05-13T05:54:19.793Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.065s coverage: 89.2% of statements [2021-05-13T05:54:19.793Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-13T05:54:19.794Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.177s coverage: 5.0% of statements [2021-05-13T05:54:19.794Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-13T05:54:20.074Z] GO111MODULE=on go vet ./... [2021-05-13T05:54:37.883Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-13T05:54:37.883Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-13T05:54:37.883Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-13T05:54:44.916Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.140s coverage: 25.4% of statements [2021-05-13T05:54:44.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-13T05:54:44.916Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.120s coverage: 28.1% of statements [2021-05-13T05:54:44.916Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.236s coverage: 78.9% of statements [2021-05-13T05:54:45.210Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.125s coverage: 10.7% of statements [2021-05-13T05:54:45.210Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-13T05:54:45.210Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-13T05:54:45.210Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-13T05:54:47.199Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.602s coverage: 30.2% of statements [2021-05-13T05:54:47.199Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-13T05:54:47.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.155s coverage: 83.3% of statements [2021-05-13T05:54:47.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-13T05:54:47.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-13T05:54:47.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.474s coverage: 58.4% of statements [2021-05-13T05:54:53.476Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.767s coverage: 89.2% of statements [2021-05-13T05:54:53.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-13T05:54:53.476Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.111s coverage: 5.0% of statements [2021-05-13T05:54:53.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-13T05:54:53.476Z] GO111MODULE=on go vet ./... [2021-05-13T05:55:16.660Z] gofmt -l . [2021-05-13T05:55:16.660Z] [ "`gofmt -l .`" = "" ] [2021-05-13T05:55:16.660Z] ./bin/test-attribution-txt.sh [2021-05-13T05:55:16.934Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-13T05:55:17.568Z] $ docker stop --time=1 8df11f64b188ec9ee9b3b87ec447e9bd0ce51efba6a2e5a671f35d4a6fe34388 [2021-05-13T05:55:19.625Z] $ docker rm -f 8df11f64b188ec9ee9b3b87ec447e9bd0ce51efba6a2e5a671f35d4a6fe34388 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T05:55:20.790Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-13T05:55:21.471Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T05:55:22.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-13T05:55:23.079Z] + ls -al . [2021-05-13T05:55:23.079Z] total 248 [2021-05-13T05:55:23.079Z] drwxrwxr-x 10 jenkins jenkins 4096 May 13 05:55 . [2021-05-13T05:55:23.079Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 05:51 .. [2021-05-13T05:55:23.079Z] -rw-rw-r-- 1 jenkins jenkins 140 May 13 05:51 .dockerignore [2021-05-13T05:55:23.079Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 05:51 .git [2021-05-13T05:55:23.079Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 05:51 .github [2021-05-13T05:55:23.079Z] -rw-rw-r-- 1 jenkins jenkins 138 May 13 05:51 .gitignore [2021-05-13T05:55:23.079Z] -rw-rw-r-- 1 jenkins jenkins 987 May 13 05:51 Dockerfile.build [2021-05-13T05:55:23.079Z] -rw-rw-r-- 1 jenkins jenkins 894 May 13 05:51 Jenkinsfile [2021-05-13T05:55:23.079Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 13 05:51 LICENSE [2021-05-13T05:55:23.079Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 13 05:51 Makefile [2021-05-13T05:55:23.079Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 13 05:51 README.md [2021-05-13T05:55:23.079Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 13 05:51 RELEASE-NOTES.txt [2021-05-13T05:55:23.079Z] -rw-rw-r-- 1 jenkins jenkins 5 May 13 05:49 VERSION [2021-05-13T05:55:23.079Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 05:51 bin [2021-05-13T05:55:23.079Z] -rw-r--r-- 1 jenkins jenkins 126002 May 13 05:54 coverage.out [2021-05-13T05:55:23.079Z] drwxrwxr-x 5 jenkins jenkins 4096 May 13 05:51 example [2021-05-13T05:55:23.079Z] -rw-r--r-- 1 jenkins jenkins 575 May 13 05:55 go.mod [2021-05-13T05:55:23.079Z] -rw-r--r-- 1 jenkins jenkins 20712 May 13 05:52 go.sum [2021-05-13T05:55:23.079Z] drwxrwxr-x 15 jenkins jenkins 4096 May 13 05:51 internal [2021-05-13T05:55:23.079Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 05:51 openapi [2021-05-13T05:55:23.079Z] drwxrwxr-x 5 jenkins jenkins 4096 May 13 05:51 pkg [2021-05-13T05:55:23.079Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 05:51 snap [2021-05-13T05:55:23.079Z] -rw-rw-r-- 1 jenkins jenkins 222 May 13 05:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:55:23.486Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6e18029c9a523fc55bb67dd0cb4dc6558a1210ef --label arch=arm64 --label version=0.0.0 . [2021-05-13T05:55:24.090Z] Sending build context to Docker daemon 2.689MB [2021-05-13T05:55:24.090Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T05:55:24.090Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-13T05:55:24.090Z] ---> 9ddd701f643e [2021-05-13T05:55:24.090Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-13T05:55:24.394Z] ---> Running in d1f77f89e22d [2021-05-13T05:55:24.989Z] Removing intermediate container d1f77f89e22d [2021-05-13T05:55:24.989Z] ---> 3876c22a1c0e [2021-05-13T05:55:24.989Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T05:55:24.989Z] ---> Running in b0669bbf2dcd [2021-05-13T05:55:25.588Z] Removing intermediate container b0669bbf2dcd [2021-05-13T05:55:25.588Z] ---> 70430023a76c [2021-05-13T05:55:25.588Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T05:55:25.588Z] ---> Running in b3cfd595ae49 [2021-05-13T05:55:28.214Z] Removing intermediate container b3cfd595ae49 [2021-05-13T05:55:28.214Z] ---> 157d1fd806d9 [2021-05-13T05:55:28.214Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-13T05:55:28.214Z] ---> Running in 20d17633bb36 [2021-05-13T05:55:29.193Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-13T05:55:30.168Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-13T05:55:30.762Z] OK: 139 MiB in 46 packages [2021-05-13T05:55:32.199Z] Removing intermediate container 20d17633bb36 [2021-05-13T05:55:32.199Z] ---> d50559e46991 [2021-05-13T05:55:32.199Z] Step 7/23 : COPY . . [2021-05-13T05:55:33.626Z] ---> 87871cbbffce [2021-05-13T05:55:33.626Z] Step 8/23 : RUN go mod download [2021-05-13T05:55:33.626Z] ---> Running in c0da04543f53 [2021-05-13T05:55:36.246Z] Removing intermediate container c0da04543f53 [2021-05-13T05:55:36.247Z] ---> 3c8d9e82b144 [2021-05-13T05:55:36.247Z] Step 9/23 : RUN make build [2021-05-13T05:55:36.247Z] ---> Running in f354269cd088 [2021-05-13T05:55:37.237Z] 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-13T05:55:41.642Z] gofmt -l . [2021-05-13T05:55:41.642Z] [ "`gofmt -l .`" = "" ] [2021-05-13T05:55:41.642Z] ./bin/test-attribution-txt.sh [2021-05-13T05:55:41.936Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-13T05:55:42.594Z] $ docker stop --time=1 9b7167679164041437b39ceff0a73eeb781e4cf05ffabbdc3476ddd7b908ae72 [2021-05-13T05:55:44.425Z] $ docker rm -f 9b7167679164041437b39ceff0a73eeb781e4cf05ffabbdc3476ddd7b908ae72 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T05:55:45.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-13T05:55:45.274Z] Warning: overwriting stash ‘coverage-report’ [2021-05-13T05:55:46.051Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-13T05:55:46.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-13T05:55:47.122Z] + ls -al . [2021-05-13T05:55:47.122Z] total 212 [2021-05-13T05:55:47.122Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 13 05:55 . [2021-05-13T05:55:47.122Z] drwxrwxr-x. 4 jenkins jenkins 28 May 13 05:51 .. [2021-05-13T05:55:47.122Z] drwxrwxr-x. 2 jenkins jenkins 64 May 13 05:51 bin [2021-05-13T05:55:47.122Z] -rw-r--r--. 1 jenkins jenkins 126002 May 13 05:54 coverage.out [2021-05-13T05:55:47.122Z] -rw-rw-r--. 1 jenkins jenkins 987 May 13 05:51 Dockerfile.build [2021-05-13T05:55:47.122Z] -rw-rw-r--. 1 jenkins jenkins 140 May 13 05:51 .dockerignore [2021-05-13T05:55:47.122Z] drwxrwxr-x. 5 jenkins jenkins 62 May 13 05:51 example [2021-05-13T05:55:47.122Z] drwxrwxr-x. 8 jenkins jenkins 179 May 13 05:51 .git [2021-05-13T05:55:47.122Z] drwxrwxr-x. 2 jenkins jenkins 103 May 13 05:51 .github [2021-05-13T05:55:47.122Z] -rw-rw-r--. 1 jenkins jenkins 138 May 13 05:51 .gitignore [2021-05-13T05:55:47.122Z] -rw-r--r--. 1 jenkins jenkins 575 May 13 05:55 go.mod [2021-05-13T05:55:47.122Z] -rw-r--r--. 1 jenkins jenkins 20712 May 13 05:53 go.sum [2021-05-13T05:55:47.122Z] drwxrwxr-x. 15 jenkins jenkins 224 May 13 05:51 internal [2021-05-13T05:55:47.122Z] -rw-rw-r--. 1 jenkins jenkins 894 May 13 05:51 Jenkinsfile [2021-05-13T05:55:47.122Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 13 05:51 LICENSE [2021-05-13T05:55:47.122Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 13 05:51 Makefile [2021-05-13T05:55:47.122Z] drwxrwxr-x. 4 jenkins jenkins 26 May 13 05:51 openapi [2021-05-13T05:55:47.122Z] drwxrwxr-x. 5 jenkins jenkins 50 May 13 05:51 pkg [2021-05-13T05:55:47.122Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 13 05:51 README.md [2021-05-13T05:55:47.122Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 13 05:51 RELEASE-NOTES.txt [2021-05-13T05:55:47.122Z] drwxrwxr-x. 4 jenkins jenkins 54 May 13 05:51 snap [2021-05-13T05:55:47.122Z] -rw-rw-r--. 1 jenkins jenkins 5 May 13 05:49 VERSION [2021-05-13T05:55:47.122Z] -rw-rw-r--. 1 jenkins jenkins 222 May 13 05:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:55:47.494Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=6e18029c9a523fc55bb67dd0cb4dc6558a1210ef --label arch=amd64 --label version=0.0.0 . [2021-05-13T05:55:47.772Z] Sending build context to Docker daemon 2.69MB [2021-05-13T05:55:47.772Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T05:55:47.772Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-13T05:55:47.772Z] ---> c9563a1940a4 [2021-05-13T05:55:47.772Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-13T05:55:48.359Z] ---> Running in c70856f9b669 [2021-05-13T05:55:48.627Z] Removing intermediate container c70856f9b669 [2021-05-13T05:55:48.627Z] ---> b01e735f1947 [2021-05-13T05:55:48.627Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T05:55:48.627Z] ---> Running in 4526a0e3671f [2021-05-13T05:55:48.894Z] Removing intermediate container 4526a0e3671f [2021-05-13T05:55:48.894Z] ---> 1cad2cb886ca [2021-05-13T05:55:48.894Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T05:55:49.158Z] ---> Running in 07004afce5a7 [2021-05-13T05:55:50.577Z] Removing intermediate container 07004afce5a7 [2021-05-13T05:55:50.577Z] ---> fe82261da8d5 [2021-05-13T05:55:50.577Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-13T05:55:50.577Z] ---> Running in 2ad660b4d5ac [2021-05-13T05:55:51.164Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-13T05:55:52.136Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-13T05:55:52.722Z] OK: 150 MiB in 46 packages [2021-05-13T05:55:53.305Z] Removing intermediate container 2ad660b4d5ac [2021-05-13T05:55:53.305Z] ---> 6b29c6a66d63 [2021-05-13T05:55:53.305Z] Step 7/23 : COPY . . [2021-05-13T05:55:54.289Z] ---> d6c36ca495d1 [2021-05-13T05:55:54.289Z] Step 8/23 : RUN go mod download [2021-05-13T05:55:54.289Z] ---> Running in fe8e4d029570 [2021-05-13T05:55:56.251Z] Removing intermediate container fe8e4d029570 [2021-05-13T05:55:56.251Z] ---> 3ac00d406572 [2021-05-13T05:55:56.251Z] Step 9/23 : RUN make build [2021-05-13T05:55:56.251Z] ---> Running in e55f17dc95fd [2021-05-13T05:55:56.881Z] 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-13T05:56:16.259Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-13T05:56:16.259Z] Removing intermediate container f354269cd088 [2021-05-13T05:56:16.259Z] ---> ca251a7390a8 [2021-05-13T05:56:16.259Z] Step 10/23 : FROM alpine:3.12 [2021-05-13T05:56:16.259Z] 3.12: Pulling from library/alpine [2021-05-13T05:56:16.259Z] d2f70382dc9a: Pulling fs layer [2021-05-13T05:56:16.859Z] d2f70382dc9a: Pull complete [2021-05-13T05:56:16.859Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-13T05:56:16.859Z] Status: Downloaded newer image for alpine:3.12 [2021-05-13T05:56:16.859Z] ---> 9852663dfa18 [2021-05-13T05:56:16.859Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T05:56:16.859Z] ---> Running in 1f70ad31b25d [2021-05-13T05:56:17.458Z] Removing intermediate container 1f70ad31b25d [2021-05-13T05:56:17.458Z] ---> 3c3be9df63c7 [2021-05-13T05:56:17.458Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T05:56:17.745Z] ---> Running in 5dd1c448e1bc [2021-05-13T05:56:19.737Z] Removing intermediate container 5dd1c448e1bc [2021-05-13T05:56:19.737Z] ---> 0bdda37022c8 [2021-05-13T05:56:19.737Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-13T05:56:20.011Z] ---> Running in e6b21a560c4e [2021-05-13T05:56:20.999Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-13T05:56:21.975Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-13T05:56:22.573Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-13T05:56:22.573Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-13T05:56:22.573Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-13T05:56:22.845Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-13T05:56:22.845Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-13T05:56:23.117Z] Executing busybox-1.31.1-r20.trigger [2021-05-13T05:56:23.117Z] OK: 8 MiB in 19 packages [2021-05-13T05:56:24.374Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-13T05:56:24.374Z] Removing intermediate container e55f17dc95fd [2021-05-13T05:56:24.374Z] ---> f5f91f3f42fe [2021-05-13T05:56:24.374Z] Step 10/23 : FROM alpine:3.12 [2021-05-13T05:56:24.558Z] Removing intermediate container e6b21a560c4e [2021-05-13T05:56:24.558Z] ---> b4cb4789d927 [2021-05-13T05:56:24.558Z] Step 14/23 : WORKDIR / [2021-05-13T05:56:24.558Z] ---> Running in 24b9aea30bc9 [2021-05-13T05:56:24.988Z] 3.12: Pulling from library/alpine [2021-05-13T05:56:24.988Z] 339de151aab4: Pulling fs layer [2021-05-13T05:56:25.152Z] Removing intermediate container 24b9aea30bc9 [2021-05-13T05:56:25.153Z] ---> 8f38d3eb2cdd [2021-05-13T05:56:25.153Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-13T05:56:25.294Z] 339de151aab4: Download complete [2021-05-13T05:56:25.754Z] ---> dba53e4940af [2021-05-13T05:56:25.754Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-13T05:56:25.920Z] 339de151aab4: Pull complete [2021-05-13T05:56:25.920Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-13T05:56:25.920Z] Status: Downloaded newer image for alpine:3.12 [2021-05-13T05:56:25.920Z] ---> 13621d1b12d4 [2021-05-13T05:56:25.920Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T05:56:26.203Z] ---> Running in 6d105c4030de [2021-05-13T05:56:26.508Z] Removing intermediate container 6d105c4030de [2021-05-13T05:56:26.508Z] ---> 7b8cc4bef1c7 [2021-05-13T05:56:26.508Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T05:56:26.508Z] ---> Running in 1d083cfb1cbb [2021-05-13T05:56:27.183Z] ---> f5e1339adc08 [2021-05-13T05:56:27.184Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-13T05:56:27.455Z] ---> 000ca3eeeb1c [2021-05-13T05:56:27.455Z] Step 18/23 : EXPOSE 49990 [2021-05-13T05:56:27.727Z] ---> Running in fe87e99869c7 [2021-05-13T05:56:28.323Z] Removing intermediate container fe87e99869c7 [2021-05-13T05:56:28.323Z] ---> 17cb148b0d30 [2021-05-13T05:56:28.323Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-13T05:56:28.323Z] ---> Running in cc5c3f569c2f [2021-05-13T05:56:28.597Z] Removing intermediate container cc5c3f569c2f [2021-05-13T05:56:28.597Z] ---> a1733e04ecb6 [2021-05-13T05:56:28.597Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-13T05:56:28.634Z] Removing intermediate container 1d083cfb1cbb [2021-05-13T05:56:28.634Z] ---> f03f73fc04d7 [2021-05-13T05:56:28.634Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-13T05:56:28.871Z] ---> Running in df673bf4f335 [2021-05-13T05:56:28.904Z] ---> Running in 6ae33390a131 [2021-05-13T05:56:29.468Z] Removing intermediate container df673bf4f335 [2021-05-13T05:56:29.468Z] ---> e1ee7265a714 [2021-05-13T05:56:29.468Z] Step 21/23 : LABEL arch=arm64 [2021-05-13T05:56:29.468Z] ---> Running in 2c93563ecc1e [2021-05-13T05:56:29.488Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-13T05:56:29.744Z] Removing intermediate container 2c93563ecc1e [2021-05-13T05:56:29.744Z] ---> feb8e937689e [2021-05-13T05:56:29.744Z] Step 22/23 : LABEL git_sha=6e18029c9a523fc55bb67dd0cb4dc6558a1210ef [2021-05-13T05:56:30.015Z] ---> Running in 29956700cb86 [2021-05-13T05:56:30.075Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-13T05:56:30.292Z] Removing intermediate container 29956700cb86 [2021-05-13T05:56:30.292Z] ---> 3d5d21991af4 [2021-05-13T05:56:30.292Z] Step 23/23 : LABEL version=0.0.0 [2021-05-13T05:56:30.576Z] ---> Running in 428a0f6000df [2021-05-13T05:56:30.840Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-13T05:56:30.840Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-13T05:56:30.840Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-13T05:56:31.175Z] Removing intermediate container 428a0f6000df [2021-05-13T05:56:31.175Z] ---> 874f618e9fb0 [2021-05-13T05:56:31.175Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-13T05:56:31.175Z] Successfully built 874f618e9fb0 [2021-05-13T05:56:31.175Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:56:31.887Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-13T05:56:31.887Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-13T05:56:31.887Z] Executing busybox-1.31.1-r20.trigger [2021-05-13T05:56:31.887Z] OK: 8 MiB in 19 packages [2021-05-13T05:56:31.958Z] ---> job-cost.sh [2021-05-13T05:56:31.958Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fEHz [2021-05-13T05:56:32.882Z] Removing intermediate container 6ae33390a131 [2021-05-13T05:56:32.882Z] ---> b531cb9c5df9 [2021-05-13T05:56:32.882Z] Step 14/23 : WORKDIR / [2021-05-13T05:56:32.882Z] ---> Running in d1c962260a61 [2021-05-13T05:56:33.155Z] Removing intermediate container d1c962260a61 [2021-05-13T05:56:33.155Z] ---> ec66052d5458 [2021-05-13T05:56:33.155Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-13T05:56:33.800Z] ---> eac7dd40d5aa [2021-05-13T05:56:33.800Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-13T05:56:34.398Z] ---> 19bdcbc22d44 [2021-05-13T05:56:34.398Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-13T05:56:34.995Z] ---> 1429f202521c [2021-05-13T05:56:34.995Z] Step 18/23 : EXPOSE 49990 [2021-05-13T05:56:34.995Z] ---> Running in 0de12c037128 [2021-05-13T05:56:35.289Z] Removing intermediate container 0de12c037128 [2021-05-13T05:56:35.289Z] ---> f39c2aa82b1b [2021-05-13T05:56:35.289Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-13T05:56:35.289Z] ---> Running in f99ce1d65e39 [2021-05-13T05:56:35.596Z] Removing intermediate container f99ce1d65e39 [2021-05-13T05:56:35.596Z] ---> 43f89a3236ab [2021-05-13T05:56:35.596Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-13T05:56:35.868Z] ---> Running in af605ce46bcd [2021-05-13T05:56:36.138Z] Removing intermediate container af605ce46bcd [2021-05-13T05:56:36.138Z] ---> 3224e93dd28f [2021-05-13T05:56:36.138Z] Step 21/23 : LABEL arch=amd64 [2021-05-13T05:56:36.408Z] ---> Running in 28b89cbb7d0f [2021-05-13T05:56:36.730Z] Removing intermediate container 28b89cbb7d0f [2021-05-13T05:56:36.730Z] ---> 9f31ea223b78 [2021-05-13T05:56:36.730Z] Step 22/23 : LABEL git_sha=6e18029c9a523fc55bb67dd0cb4dc6558a1210ef [2021-05-13T05:56:37.001Z] ---> Running in 319fae4a108b [2021-05-13T05:56:37.275Z] Removing intermediate container 319fae4a108b [2021-05-13T05:56:37.275Z] ---> 09f48ecb73ad [2021-05-13T05:56:37.275Z] Step 23/23 : LABEL version=0.0.0 [2021-05-13T05:56:37.275Z] ---> Running in c3fa988c76ab [2021-05-13T05:56:37.578Z] Removing intermediate container c3fa988c76ab [2021-05-13T05:56:37.578Z] ---> 7b1a1f67db33 [2021-05-13T05:56:37.578Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-13T05:56:37.578Z] Successfully built 7b1a1f67db33 [2021-05-13T05:56:37.578Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:56:38.410Z] ---> job-cost.sh [2021-05-13T05:56:38.410Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9evD [2021-05-13T05:57:05.829Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-13T05:57:18.921Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-13T05:57:45.083Z] lf-activate-venv(): INFO: Adding /tmp/venv-9evD/bin to PATH [2021-05-13T05:57:45.083Z] INFO: No Stack... [2021-05-13T05:57:45.083Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-13T05:57:45.668Z] INFO: Archiving Costs [Pipeline] sh [2021-05-13T05:57:46.014Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-13T05:57:46.014Z] + cut -d, -f6 [Pipeline] lock [2021-05-13T05:57:46.158Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-927-1-stack-cost] [2021-05-13T05:57:46.165Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-927-1-stack-cost] did not exist. Created. [2021-05-13T05:57:46.165Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-927-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-13T05:57:46.637Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-13T05:57:46.988Z] Stashed 1 file(s) [Pipeline] } [2021-05-13T05:57:47.007Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-927-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-13T05:59:25.809Z] lf-activate-venv(): INFO: Adding /tmp/venv-fEHz/bin to PATH [2021-05-13T05:59:25.809Z] INFO: No Stack... [2021-05-13T05:59:25.809Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-13T05:59:25.809Z] INFO: Archiving Costs [Pipeline] sh [2021-05-13T05:59:26.186Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-13T05:59:26.186Z] cut -d, -f6 [Pipeline] lock [2021-05-13T05:59:26.369Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-927-1-stack-cost] [2021-05-13T05:59:26.377Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-927-1-stack-cost] did not exist. Created. [2021-05-13T05:59:26.377Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-927-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-13T05:59:26.864Z] /w/workspace/device-sdk-go/1@tmp/durable-4da5aa40/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-4da5aa40/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-13T05:59:27.253Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-13T05:59:27.301Z] Warning: overwriting stash ‘stack-cost’ [2021-05-13T05:59:27.496Z] Stashed 1 file(s) [Pipeline] } [2021-05-13T05:59:27.517Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-927-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-13T05:59:28.576Z] provisioning config files... [2021-05-13T05:59:28.587Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/config5837038316765842715tmp [Pipeline] { [Pipeline] sh [2021-05-13T05:59:29.138Z] + set +x [2021-05-13T05:59:29.138Z] + curl -s https://codecov.io/bash [2021-05-13T05:59:29.138Z] + bash -s -- [2021-05-13T05:59:29.403Z] [2021-05-13T05:59:29.403Z] _____ _ [2021-05-13T05:59:29.403Z] / ____| | | [2021-05-13T05:59:29.403Z] | | ___ __| | ___ ___ _____ __ [2021-05-13T05:59:29.403Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-13T05:59:29.403Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-13T05:59:29.403Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-13T05:59:29.403Z] Bash-1.0.2 [2021-05-13T05:59:29.403Z] [2021-05-13T05:59:29.403Z] [2021-05-13T05:59:29.403Z] ==> git version 2.24.3 found [2021-05-13T05:59:29.403Z] ==> 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-13T05:59:29.403Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-13T05:59:29.403Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-13T05:59:29.403Z] ==> Jenkins CI detected. [2021-05-13T05:59:29.403Z] project root: . [2021-05-13T05:59:29.403Z] --> token set from env [2021-05-13T05:59:29.403Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-13T05:59:29.403Z] ==> Running gcov in . (disable via -X gcov) [2021-05-13T05:59:29.403Z] ==> Python coveragepy not found [2021-05-13T05:59:29.403Z] ==> Searching for coverage reports in: [2021-05-13T05:59:29.403Z] + . [2021-05-13T05:59:29.403Z] -> Found 1 reports [2021-05-13T05:59:29.403Z] ==> Detecting git/mercurial file structure [2021-05-13T05:59:29.403Z] ==> Reading reports [2021-05-13T05:59:29.403Z] + ./coverage.out bytes=126002 [2021-05-13T05:59:29.403Z] ==> Appending adjustments [2021-05-13T05:59:29.403Z] https://docs.codecov.io/docs/fixing-reports [2021-05-13T05:59:29.978Z] + Found adjustments [2021-05-13T05:59:29.978Z] ==> Gzipping contents [2021-05-13T05:59:29.978Z] 20K /tmp/codecov.79xNaF.gz [2021-05-13T05:59:29.978Z] ==> Uploading reports [2021-05-13T05:59:29.978Z] url: https://codecov.io [2021-05-13T05:59:29.978Z] query: branch=PR-927&commit=6e18029c9a523fc55bb67dd0cb4dc6558a1210ef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-927%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=927&job=&cmd_args= [2021-05-13T05:59:29.978Z] -> Pinging Codecov [2021-05-13T05:59:29.978Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-927&commit=6e18029c9a523fc55bb67dd0cb4dc6558a1210ef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-927%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=927&job=&cmd_args= [2021-05-13T05:59:30.244Z] -> Uploading to [2021-05-13T05:59:30.244Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-13/7E55EF52A471D76F132DFD9A03CDDE97/6e18029c9a523fc55bb67dd0cb4dc6558a1210ef/ea17d6e7-d743-43ec-9f74-f0c4f5ef77db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210513T055930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8f29094ff96906525f1594b048e673c5beb7f8899c2f6ad92c64ab4143fece3d [2021-05-13T05:59:30.507Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-13T05:59:30.507Z] Dload Upload Total Spent Left Speed [2021-05-13T05:59:31.088Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16441 0 0 100 16441 0 29740 --:--:-- --:--:-- --:--:-- 29730 100 16441 0 0 100 16441 0 29730 --:--:-- --:--:-- --:--:-- 29730 [2021-05-13T05:59:31.089Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6e18029c9a523fc55bb67dd0cb4dc6558a1210ef [Pipeline] } [2021-05-13T05:59:31.114Z] 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-13T05:59:33.239Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:59:33.866Z] ---> package-listing.sh [2021-05-13T05:59:33.866Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-13T05:59:33.866Z] ++ facter osfamily [2021-05-13T05:59:33.866Z] + OS_FAMILY=redhat [2021-05-13T05:59:33.866Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-927 [2021-05-13T05:59:33.866Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-13T05:59:33.866Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-13T05:59:33.866Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-13T05:59:33.866Z] + PACKAGES=/tmp/packages_start.txt [2021-05-13T05:59:33.866Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-927 ']' [2021-05-13T05:59:33.866Z] + PACKAGES=/tmp/packages_end.txt [2021-05-13T05:59:33.866Z] + case "${OS_FAMILY}" in [2021-05-13T05:59:33.866Z] + rpm -qa [2021-05-13T05:59:33.866Z] + sort [2021-05-13T05:59:39.189Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-13T05:59:39.189Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-13T05:59:39.189Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-13T05:59:39.189Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-927 ']' [2021-05-13T05:59:39.189Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-927/archives/ [2021-05-13T05:59:39.189Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-927/archives/ [Pipeline] echo [2021-05-13T05:59:39.224Z] 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-927/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-13T05:59:39.537Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:59:39.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T05:59:39.919Z] [2021-05-13T05:59:39.919Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:59:40.280Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T05:59:40.280Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-13T05:59:40.280Z] df20fa9351a1: Pulling fs layer [2021-05-13T05:59:40.280Z] 36b3adc4ff6f: Pulling fs layer [2021-05-13T05:59:40.280Z] 8ad3a11d3b57: Pulling fs layer [2021-05-13T05:59:40.280Z] 46f8f816bc3b: Pulling fs layer [2021-05-13T05:59:40.280Z] 93b61091891f: Pulling fs layer [2021-05-13T05:59:40.280Z] 93b9cdb0e59b: Pulling fs layer [2021-05-13T05:59:40.280Z] 5e14af77c1be: Pulling fs layer [2021-05-13T05:59:40.280Z] 01666e4c0597: Pulling fs layer [2021-05-13T05:59:40.280Z] aa168da1d23b: Pulling fs layer [2021-05-13T05:59:40.280Z] 93b9cdb0e59b: Waiting [2021-05-13T05:59:40.280Z] aa168da1d23b: Waiting [2021-05-13T05:59:40.280Z] 01666e4c0597: Waiting [2021-05-13T05:59:40.280Z] 46f8f816bc3b: Waiting [2021-05-13T05:59:40.280Z] 93b61091891f: Waiting [2021-05-13T05:59:40.280Z] 36b3adc4ff6f: Verifying Checksum [2021-05-13T05:59:40.280Z] 36b3adc4ff6f: Download complete [2021-05-13T05:59:40.280Z] 46f8f816bc3b: Verifying Checksum [2021-05-13T05:59:40.280Z] 46f8f816bc3b: Download complete [2021-05-13T05:59:40.543Z] df20fa9351a1: Download complete [2021-05-13T05:59:40.543Z] 93b9cdb0e59b: Verifying Checksum [2021-05-13T05:59:40.543Z] 93b9cdb0e59b: Download complete [2021-05-13T05:59:40.543Z] 5e14af77c1be: Verifying Checksum [2021-05-13T05:59:40.543Z] 5e14af77c1be: Download complete [2021-05-13T05:59:40.543Z] 93b61091891f: Verifying Checksum [2021-05-13T05:59:40.543Z] 93b61091891f: Download complete [2021-05-13T05:59:40.543Z] 01666e4c0597: Verifying Checksum [2021-05-13T05:59:40.543Z] 01666e4c0597: Download complete [2021-05-13T05:59:40.807Z] 8ad3a11d3b57: Verifying Checksum [2021-05-13T05:59:40.807Z] 8ad3a11d3b57: Download complete [2021-05-13T05:59:40.807Z] df20fa9351a1: Pull complete [2021-05-13T05:59:41.071Z] 36b3adc4ff6f: Pull complete [2021-05-13T05:59:42.035Z] 8ad3a11d3b57: Pull complete [2021-05-13T05:59:42.035Z] 46f8f816bc3b: Pull complete [2021-05-13T05:59:42.992Z] 93b61091891f: Pull complete [2021-05-13T05:59:42.992Z] 93b9cdb0e59b: Pull complete [2021-05-13T05:59:43.257Z] 5e14af77c1be: Pull complete [2021-05-13T05:59:43.257Z] 01666e4c0597: Pull complete [2021-05-13T05:59:43.257Z] aa168da1d23b: Verifying Checksum [2021-05-13T05:59:43.257Z] aa168da1d23b: Download complete [2021-05-13T05:59:51.492Z] aa168da1d23b: Pull complete [2021-05-13T05:59:51.492Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-13T05:59:51.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T05:59:51.492Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-13T05:59:51.725Z] prd-centos7-docker-4c-2g-5010 does not seem to be running inside a container [2021-05-13T05:59:51.777Z] $ 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-927/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-927 -v /w/workspace/dgexfoundry_device-sdk-go_PR-927:/w/workspace/dgexfoundry_device-sdk-go_PR-927:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-927@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-13T05:59:55.201Z] $ docker top c9888314addddf6d876889d698781d0a8946c4269d8335476b5ffcb2afee789f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T05:59:55.697Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-13T05:59:56.017Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-13T05:59:56.353Z] + ls /var/log/sa-host [2021-05-13T05:59:56.353Z] + sadf -c /var/log/sa-host/sa13 [2021-05-13T05:59:56.353Z] file_magic: OK [2021-05-13T05:59:56.353Z] HZ: Using current value: 100 [2021-05-13T05:59:56.353Z] file_header: OK [2021-05-13T05:59:56.353Z] 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-13T05:59:56.353Z] Statistics: [2021-05-13T05:59:56.353Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-13T05:59:56.353Z] File successfully converted to sysstat format version 12.2.1 [2021-05-13T05:59:56.353Z] + sadf -c /var/log/sa-host/sa23 [2021-05-13T05:59:56.353Z] file_magic: OK [2021-05-13T05:59:56.353Z] HZ: Using current value: 100 [2021-05-13T05:59:56.353Z] file_header: OK [2021-05-13T05:59:56.353Z] 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-13T05:59:56.353Z] Statistics: [2021-05-13T05:59:56.353Z] Hnuu...uuuununununu... [2021-05-13T05:59:56.353Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-13T05:59:56.988Z] provisioning config files... [2021-05-13T05:59:57.004Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/config5405587075912450079tmp [Pipeline] { [Pipeline] echo [2021-05-13T05:59:57.067Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:59:57.405Z] ---> create-netrc.sh [Pipeline] } [2021-05-13T05:59:57.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-13T05:59:57.518Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:59:57.851Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-13T05:59:57.883Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:59:58.223Z] ---> sudo-logs.sh [2021-05-13T05:59:58.223Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-13T05:59:58.315Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:59:58.655Z] ---> job-cost.sh [2021-05-13T05:59:58.655Z] lf-activate-venv: SKIPPING [2021-05-13T05:59:58.655Z] DEBUG: total: 0.20999999344348907 [2021-05-13T05:59:58.655Z] INFO: Retrieving Stack Cost... [2021-05-13T06:00:00.059Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-13T06:00:01.014Z] INFO: Archiving Costs [Pipeline] echo [2021-05-13T06:00:01.051Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T06:00:01.412Z] ---> logs-deploy.sh [2021-05-13T06:00:01.412Z] lf-activate-venv: SKIPPING [2021-05-13T06:00:01.412Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-927/1 [2021-05-13T06:00:01.412Z] INFO: archiving workspace using pattern(s): [2021-05-13T06:00:03.380Z] Archives upload complete. [2021-05-13T06:00:03.644Z] INFO: archiving logs to Nexus