Pull request #928 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a6d76f833a211dae2edea3de70904d4d0250d9d5+8d3d36979320f9fc0ce2797f8744993b6dbca912 (ebf5dc5abf1f4168926e7fe95315826682a07665) 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-928/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-928/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-5011 in /w/workspace/dgexfoundry_device-sdk-go_PR-928 [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-928 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit a6d76f833a211dae2edea3de70904d4d0250d9d5 Merge succeeded, producing a6d76f833a211dae2edea3de70904d4d0250d9d5 Checking out Revision a6d76f833a211dae2edea3de70904d4d0250d9d5 (PR-928) > 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/928/head:refs/remotes/origin/PR-928 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6d76f833a211dae2edea3de70904d4d0250d9d5 # 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 a6d76f833a211dae2edea3de70904d4d0250d9d5 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-13T05:49:56.427Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-13T05:49:56.627Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-13T05:49:56.738Z] ========================================================= [2021-05-13T05:49:56.738Z] EdgeX Global Pipelines Version Info [2021-05-13T05:49:56.738Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:49:58.300Z] ------------------- [2021-05-13T05:49:58.301Z] stable info: [2021-05-13T05:49:58.301Z] ------------------- [2021-05-13T05:49:58.301Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-13T05:49:58.301Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-13T05:49:58.301Z] Message: update stable to v1.0.192 [2021-05-13T05:49:59.248Z] ------------------- [2021-05-13T05:49:59.248Z] experimental info: [2021-05-13T05:49:59.248Z] ------------------- [2021-05-13T05:49:59.248Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-13T05:49:59.248Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-13T05:49:59.248Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-13T05:49:59.501Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-13T05:49:59.562Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-13T05:49:59.620Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-13T05:49:59.683Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-13T05:49:59.746Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-13T05:49:59.803Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-13T05:49:59.857Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-13T05:49:59.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-13T05:49:59.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-13T05:50:00.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-13T05:50:00.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-13T05:50:00.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-13T05:50:00.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-13T05:50:00.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-13T05:50:00.406Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-13T05:50:00.467Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T05:50:00.524Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T05:50:00.583Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T05:50:00.641Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-13T05:50:00.697Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-13T05:50:00.756Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-13T05:50:00.813Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-13T05:50:00.889Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-13T05:50:00.958Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-13T05:50:01.017Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-13T05:50:01.088Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-13T05:50:01.145Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-928 [Pipeline] echo [2021-05-13T05:50:01.214Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-928 [Pipeline] echo [2021-05-13T05:50:01.272Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-928 [Pipeline] echo [2021-05-13T05:50:01.336Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6d76f833a211dae2edea3de70904d4d0250d9d5 [Pipeline] echo [2021-05-13T05:50:01.423Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6d76f8 [Pipeline] echo [2021-05-13T05:50:01.495Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T05:50:01.690Z] provisioning config files... [2021-05-13T05:50:01.740Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp/config1027279675971635686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:50:02.140Z] ---> docker-login.sh [2021-05-13T05:50:02.140Z] nexus3.edgexfoundry.org:10001 [2021-05-13T05:50:02.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:50:02.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:50:02.665Z] Configure a credential helper to remove this warning. See [2021-05-13T05:50:02.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:50:02.665Z] [2021-05-13T05:50:02.665Z] Login Succeeded [2021-05-13T05:50:02.665Z] nexus3.edgexfoundry.org:10002 [2021-05-13T05:50:02.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:50:02.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:50:02.665Z] Configure a credential helper to remove this warning. See [2021-05-13T05:50:02.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:50:02.665Z] [2021-05-13T05:50:02.665Z] Login Succeeded [2021-05-13T05:50:02.665Z] nexus3.edgexfoundry.org:10003 [2021-05-13T05:50:02.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:50:02.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:50:02.927Z] Configure a credential helper to remove this warning. See [2021-05-13T05:50:02.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:50:02.927Z] [2021-05-13T05:50:02.927Z] Login Succeeded [2021-05-13T05:50:02.927Z] nexus3.edgexfoundry.org:10004 [2021-05-13T05:50:02.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:50:03.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:50:03.193Z] Configure a credential helper to remove this warning. See [2021-05-13T05:50:03.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:50:03.193Z] [2021-05-13T05:50:03.193Z] Login Succeeded [2021-05-13T05:50:03.193Z] docker.io [2021-05-13T05:50:03.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:50:03.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:50:03.463Z] Configure a credential helper to remove this warning. See [2021-05-13T05:50:03.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:50:03.463Z] [2021-05-13T05:50:03.463Z] Login Succeeded [2021-05-13T05:50:03.463Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T05:50:03.497Z] 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:50:04.231Z] + git log --format=format:%s -1 a6d76f833a211dae2edea3de70904d4d0250d9d5 [Pipeline] echo [2021-05-13T05:50:04.325Z] GIT_COMMIT: a6d76f833a211dae2edea3de70904d4d0250d9d5, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2021-05-13T05:50:04.360Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:50:04.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T05:50:04.963Z] [2021-05-13T05:50:04.963Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:50:05.322Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T05:50:05.322Z] latest: Pulling from edgex-devops/git-semver [2021-05-13T05:50:05.322Z] 31603596830f: Pulling fs layer [2021-05-13T05:50:05.322Z] 54011a49482f: Pulling fs layer [2021-05-13T05:50:05.322Z] a6820b24f6d8: Pulling fs layer [2021-05-13T05:50:05.322Z] f581987b2513: Pulling fs layer [2021-05-13T05:50:05.322Z] f581987b2513: Waiting [2021-05-13T05:50:05.322Z] 54011a49482f: Download complete [2021-05-13T05:50:05.322Z] 31603596830f: Verifying Checksum [2021-05-13T05:50:05.322Z] 31603596830f: Download complete [2021-05-13T05:50:05.585Z] f581987b2513: Verifying Checksum [2021-05-13T05:50:05.585Z] f581987b2513: Download complete [2021-05-13T05:50:05.585Z] a6820b24f6d8: Verifying Checksum [2021-05-13T05:50:05.585Z] a6820b24f6d8: Download complete [2021-05-13T05:50:05.851Z] 31603596830f: Pull complete [2021-05-13T05:50:05.851Z] 54011a49482f: Pull complete [2021-05-13T05:50:06.811Z] a6820b24f6d8: Pull complete [2021-05-13T05:50:07.074Z] f581987b2513: Pull complete [2021-05-13T05:50:07.074Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-13T05:50:07.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T05:50:07.074Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-13T05:50:07.206Z] prd-centos7-docker-4c-2g-5011 does not seem to be running inside a container [2021-05-13T05:50:07.258Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-928 -v /w/workspace/dgexfoundry_device-sdk-go_PR-928:/w/workspace/dgexfoundry_device-sdk-go_PR-928:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-928@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:50:09.147Z] $ docker top dbf1139ee1722c2197def8af9e8709d6cd2ae2db8d854291f52e86a76b09821a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-13T05:50:09.434Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-13T05:50:09.434Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-13T05:50:09.666Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-13T05:50:09.673Z] $ docker exec dbf1139ee1722c2197def8af9e8709d6cd2ae2db8d854291f52e86a76b09821a ssh-agent [2021-05-13T05:50:09.845Z] SSH_AUTH_SOCK=/tmp/ssh-wU0rTz4uEE18/agent.11 [2021-05-13T05:50:09.845Z] SSH_AGENT_PID=17 [2021-05-13T05:50:09.855Z] Running ssh-add (command line suppressed) [2021-05-13T05:50:09.987Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp/private_key_3289287874805967623.key (/w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp/private_key_3289287874805967623.key) [2021-05-13T05:50:10.038Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-13T05:50:10.397Z] + git tag --points-at HEAD [Pipeline] } [2021-05-13T05:50:10.431Z] $ docker exec --env ******** --env ******** dbf1139ee1722c2197def8af9e8709d6cd2ae2db8d854291f52e86a76b09821a ssh-agent -k [2021-05-13T05:50:10.559Z] unset SSH_AUTH_SOCK; [2021-05-13T05:50:10.559Z] unset SSH_AGENT_PID; [2021-05-13T05:50:10.559Z] echo Agent pid 17 killed; [2021-05-13T05:50:10.609Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-13T05:50:10.712Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-13T05:50:10.712Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-13T05:50:10.891Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-13T05:50:10.897Z] $ docker exec dbf1139ee1722c2197def8af9e8709d6cd2ae2db8d854291f52e86a76b09821a ssh-agent [2021-05-13T05:50:11.075Z] SSH_AUTH_SOCK=/tmp/ssh-y3dwvOmzjpzE/agent.46 [2021-05-13T05:50:11.075Z] SSH_AGENT_PID=51 [2021-05-13T05:50:11.084Z] Running ssh-add (command line suppressed) [2021-05-13T05:50:11.214Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp/private_key_6621804176273777732.key (/w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp/private_key_6621804176273777732.key) [2021-05-13T05:50:11.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-13T05:50:11.625Z] + git semver init [2021-05-13T05:50:11.626Z] # -> Open(): unable to determine branch for HEAD [2021-05-13T05:50:11.626Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-928/.git [2021-05-13T05:50:11.626Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-928 [2021-05-13T05:50:11.626Z] # $SEMVER_REMOTE_NAME = origin [2021-05-13T05:50:11.626Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-13T05:50:11.626Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-13T05:50:11.626Z] # $SEMVER_BRANCH = PR-928 [2021-05-13T05:50:11.626Z] # $SEMVER_TEMP = /tmp/semver-076758492 [2021-05-13T05:50:11.626Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-13T05:50:12.577Z] # '/tmp/semver-076758492' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-928/.semver' [2021-05-13T05:50:12.577Z] # -> Force: false [2021-05-13T05:50:12.577Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-928/.semver [Pipeline] } [2021-05-13T05:50:12.600Z] $ docker exec --env ******** --env ******** dbf1139ee1722c2197def8af9e8709d6cd2ae2db8d854291f52e86a76b09821a ssh-agent -k [2021-05-13T05:50:12.718Z] unset SSH_AUTH_SOCK; [2021-05-13T05:50:12.719Z] unset SSH_AGENT_PID; [2021-05-13T05:50:12.719Z] echo Agent pid 51 killed; [2021-05-13T05:50:12.764Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-13T05:50:13.207Z] + git semver [Pipeline] } [2021-05-13T05:50:13.245Z] $ docker stop --time=1 dbf1139ee1722c2197def8af9e8709d6cd2ae2db8d854291f52e86a76b09821a [2021-05-13T05:50:14.682Z] $ docker rm -f dbf1139ee1722c2197def8af9e8709d6cd2ae2db8d854291f52e86a76b09821a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T05:50:15.153Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-13T05:50:15.523Z] Stashed 1 file(s) [Pipeline] echo [2021-05-13T05:50:15.565Z] [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:50:31.136Z] Still waiting to schedule task [2021-05-13T05:50:31.136Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-13T05:50:31.168Z] Still waiting to schedule task [2021-05-13T05:50:31.168Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-13T05:52:40.116Z] Running on prd-centos7-docker-4c-2g-5018 in /w/workspace/dgexfoundry_device-sdk-go_PR-928 [Pipeline] { [Pipeline] ws [2021-05-13T05:52:40.217Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-13T05:52:43.291Z] using credential edgex-jenkins-ssh [2021-05-13T05:52:43.304Z] Cloning the remote Git repository [2021-05-13T05:52:43.338Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T05:52:43.410Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-13T05:52:43.476Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T05:52:43.477Z] > git --version # timeout=10 [2021-05-13T05:52:43.484Z] > git --version # 'git version 2.24.3' [2021-05-13T05:52:43.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T05:52:43.555Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T05:52:44.743Z] Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit a6d76f833a211dae2edea3de70904d4d0250d9d5 [2021-05-13T05:52:44.836Z] Merge succeeded, producing a6d76f833a211dae2edea3de70904d4d0250d9d5 [2021-05-13T05:52:44.836Z] Checking out Revision a6d76f833a211dae2edea3de70904d4d0250d9d5 (PR-928) [2021-05-13T05:52:44.294Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T05:52:44.303Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T05:52:44.316Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T05:52:44.333Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T05:52:44.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T05:52:44.339Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/928/head:refs/remotes/origin/PR-928 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-13T05:52:44.752Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T05:52:44.757Z] > git checkout -f a6d76f833a211dae2edea3de70904d4d0250d9d5 # timeout=10 [2021-05-13T05:52:44.806Z] > git remote # timeout=10 [2021-05-13T05:52:44.811Z] > git config --get remote.origin.url # timeout=10 [2021-05-13T05:52:44.816Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T05:52:44.820Z] > git merge 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 [2021-05-13T05:52:44.830Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-13T05:52:44.840Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T05:52:44.847Z] > git checkout -f a6d76f833a211dae2edea3de70904d4d0250d9d5 # timeout=10 [2021-05-13T05:52:48.655Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-05-13T05:52:48.686Z] > git --version # timeout=10 [2021-05-13T05:52:48.691Z] > git --version # 'git version 2.24.3' [2021-05-13T05:52:48.703Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T05:52:49.925Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-13T05:52:50.283Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-13T05:52:50.607Z] + sudo service docker restart [2021-05-13T05:52:50.607Z] + true [2021-05-13T05:52:50.608Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T05:52:52.155Z] provisioning config files... [2021-05-13T05:52:52.185Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8179742112969336382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:52:52.563Z] ---> docker-login.sh [2021-05-13T05:52:52.563Z] nexus3.edgexfoundry.org:10001 [2021-05-13T05:52:52.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:52:53.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:52:53.093Z] Configure a credential helper to remove this warning. See [2021-05-13T05:52:53.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:52:53.093Z] [2021-05-13T05:52:53.093Z] Login Succeeded [2021-05-13T05:52:53.093Z] nexus3.edgexfoundry.org:10002 [2021-05-13T05:52:53.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:52:53.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:52:53.093Z] Configure a credential helper to remove this warning. See [2021-05-13T05:52:53.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:52:53.093Z] [2021-05-13T05:52:53.093Z] Login Succeeded [2021-05-13T05:52:53.093Z] nexus3.edgexfoundry.org:10003 [2021-05-13T05:52:53.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:52:53.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:52:53.359Z] Configure a credential helper to remove this warning. See [2021-05-13T05:52:53.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:52:53.359Z] [2021-05-13T05:52:53.359Z] Login Succeeded [2021-05-13T05:52:53.359Z] nexus3.edgexfoundry.org:10004 [2021-05-13T05:52:53.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:52:53.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:52:53.622Z] Configure a credential helper to remove this warning. See [2021-05-13T05:52:53.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:52:53.622Z] [2021-05-13T05:52:53.622Z] Login Succeeded [2021-05-13T05:52:53.622Z] docker.io [2021-05-13T05:52:53.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:52:53.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:52:53.885Z] Configure a credential helper to remove this warning. See [2021-05-13T05:52:53.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:52:53.885Z] [2021-05-13T05:52:53.885Z] Login Succeeded [2021-05-13T05:52:53.885Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T05:52:53.911Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-13T05:52:54.212Z] ========================================================= [2021-05-13T05:52:54.212Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-13T05:52:54.212Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:52:54.566Z] + 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:52:54.566Z] Sending build context to Docker daemon 2.566MB [2021-05-13T05:52:54.833Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T05:52:54.833Z] Step 2/8 : FROM ${BASE} [2021-05-13T05:52:54.833Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-13T05:52:54.833Z] 540db60ca938: Pulling fs layer [2021-05-13T05:52:54.833Z] adcc1eea9eea: Pulling fs layer [2021-05-13T05:52:54.833Z] 4c4ab2625f07: Pulling fs layer [2021-05-13T05:52:54.833Z] 0510c868ecb4: Pulling fs layer [2021-05-13T05:52:54.833Z] afea3b2eda06: Pulling fs layer [2021-05-13T05:52:54.833Z] 7809a108b3ef: Pulling fs layer [2021-05-13T05:52:54.833Z] f706445af74f: Pulling fs layer [2021-05-13T05:52:54.833Z] afea3b2eda06: Waiting [2021-05-13T05:52:54.833Z] 7809a108b3ef: Waiting [2021-05-13T05:52:54.833Z] f706445af74f: Waiting [2021-05-13T05:52:54.833Z] 0510c868ecb4: Waiting [2021-05-13T05:52:54.833Z] 4c4ab2625f07: Verifying Checksum [2021-05-13T05:52:54.833Z] 4c4ab2625f07: Download complete [2021-05-13T05:52:54.833Z] adcc1eea9eea: Download complete [2021-05-13T05:52:54.833Z] afea3b2eda06: Verifying Checksum [2021-05-13T05:52:54.833Z] afea3b2eda06: Download complete [2021-05-13T05:52:54.833Z] 7809a108b3ef: Verifying Checksum [2021-05-13T05:52:54.833Z] 7809a108b3ef: Download complete [2021-05-13T05:52:54.833Z] 540db60ca938: Verifying Checksum [2021-05-13T05:52:54.833Z] 540db60ca938: Download complete [2021-05-13T05:52:55.097Z] 540db60ca938: Pull complete [2021-05-13T05:52:55.361Z] adcc1eea9eea: Pull complete [2021-05-13T05:52:55.361Z] 4c4ab2625f07: Pull complete [2021-05-13T05:52:56.779Z] f706445af74f: Verifying Checksum [2021-05-13T05:52:56.779Z] f706445af74f: Download complete [2021-05-13T05:52:57.364Z] 0510c868ecb4: Verifying Checksum [2021-05-13T05:52:57.364Z] 0510c868ecb4: Download complete [2021-05-13T05:53:04.034Z] 0510c868ecb4: Pull complete [2021-05-13T05:53:04.034Z] afea3b2eda06: Pull complete [2021-05-13T05:53:04.034Z] 7809a108b3ef: Pull complete [2021-05-13T05:53:08.332Z] f706445af74f: Pull complete [2021-05-13T05:53:08.332Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-13T05:53:08.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-13T05:53:08.332Z] ---> b068be0155e3 [2021-05-13T05:53:08.332Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T05:53:08.332Z] ---> Running in 569f745abb15 [2021-05-13T05:53:08.597Z] Removing intermediate container 569f745abb15 [2021-05-13T05:53:08.597Z] ---> 256e86644b46 [2021-05-13T05:53:08.598Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T05:53:08.864Z] ---> Running in 44e59cb3cd78 [2021-05-13T05:53:09.828Z] Removing intermediate container 44e59cb3cd78 [2021-05-13T05:53:09.828Z] ---> b4b73d32ff42 [2021-05-13T05:53:09.828Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-13T05:53:09.828Z] ---> Running in 22c89bc52c5c [2021-05-13T05:53:11.232Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-13T05:53:11.813Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-13T05:53:12.766Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-13T05:53:12.766Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-13T05:53:12.766Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-13T05:53:13.035Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-13T05:53:13.035Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-13T05:53:13.035Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-13T05:53:13.298Z] Executing busybox-1.32.1-r6.trigger [2021-05-13T05:53:13.298Z] OK: 150 MiB in 46 packages [2021-05-13T05:53:13.883Z] Removing intermediate container 22c89bc52c5c [2021-05-13T05:53:13.883Z] ---> 10d9ce553644 [2021-05-13T05:53:13.883Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-13T05:53:13.883Z] ---> Running in 4223c1e269d5 [2021-05-13T05:53:14.149Z] Removing intermediate container 4223c1e269d5 [2021-05-13T05:53:14.149Z] ---> a3371c01454b [2021-05-13T05:53:14.149Z] Step 7/8 : COPY . . [2021-05-13T05:53:15.558Z] ---> fbfd552bd7c4 [2021-05-13T05:53:15.558Z] Step 8/8 : RUN go mod download [2021-05-13T05:53:15.558Z] ---> Running in f0a039d8975b [2021-05-13T05:53:23.506Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5017 in /w/workspace/dgexfoundry_device-sdk-go_PR-928 [Pipeline] { [Pipeline] ws [2021-05-13T05:53:23.564Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-13T05:53:29.278Z] using credential edgex-jenkins-ssh [2021-05-13T05:53:29.300Z] Cloning the remote Git repository [2021-05-13T05:53:29.376Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T05:53:29.492Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-13T05:53:29.563Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T05:53:29.564Z] > git --version # timeout=10 [2021-05-13T05:53:29.580Z] > git --version # 'git version 2.17.1' [2021-05-13T05:53:29.581Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T05:53:29.639Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T05:53:31.015Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T05:53:31.048Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T05:53:31.072Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T05:53:31.116Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T05:53:31.116Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T05:53:31.128Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/928/head:refs/remotes/origin/PR-928 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-13T05:53:31.677Z] Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit a6d76f833a211dae2edea3de70904d4d0250d9d5 [2021-05-13T05:53:31.903Z] Merge succeeded, producing a6d76f833a211dae2edea3de70904d4d0250d9d5 [2021-05-13T05:53:31.903Z] Checking out Revision a6d76f833a211dae2edea3de70904d4d0250d9d5 (PR-928) [2021-05-13T05:53:31.701Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T05:53:31.716Z] > git checkout -f a6d76f833a211dae2edea3de70904d4d0250d9d5 # timeout=10 [2021-05-13T05:53:31.827Z] > git remote # timeout=10 [2021-05-13T05:53:31.846Z] > git config --get remote.origin.url # timeout=10 [2021-05-13T05:53:31.860Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T05:53:31.871Z] > git merge 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 [2021-05-13T05:53:31.895Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-13T05:53:31.918Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T05:53:31.932Z] > git checkout -f a6d76f833a211dae2edea3de70904d4d0250d9d5 # timeout=10 [2021-05-13T05:53:36.149Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-05-13T05:53:36.218Z] > git --version # timeout=10 [2021-05-13T05:53:36.230Z] > git --version # 'git version 2.17.1' [2021-05-13T05:53:36.241Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T05:53:37.650Z] Removing intermediate container f0a039d8975b [2021-05-13T05:53:37.650Z] ---> ed0c225def6f [2021-05-13T05:53:37.916Z] Successfully built ed0c225def6f [2021-05-13T05:53:37.917Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:53:38.027Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-13T05:53:38.274Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-13T05:53:38.274Z] . [Pipeline] withDockerContainer [2021-05-13T05:53:38.424Z] prd-centos7-docker-4c-2g-5018 does not seem to be running inside a container [2021-05-13T05:53:38.475Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [2021-05-13T05:53:38.476Z] $ 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-x86_64 cat [2021-05-13T05:53:39.377Z] $ docker top 9eb66957856d17cdfa88ed6cd08078df43269236d4d7303ee9b86d39f646a1c0 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-13T05:53:40.007Z] + true [2021-05-13T05:53:40.007Z] + sudo service docker restart [2021-05-13T05:53:40.101Z] + go version [2021-05-13T05:53:40.102Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-13T05:53:40.137Z] $ docker stop --time=1 9eb66957856d17cdfa88ed6cd08078df43269236d4d7303ee9b86d39f646a1c0 [2021-05-13T05:53:41.545Z] $ docker rm -f 9eb66957856d17cdfa88ed6cd08078df43269236d4d7303ee9b86d39f646a1c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:53:42.345Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-13T05:53:42.346Z] . [Pipeline] withDockerContainer [2021-05-13T05:53:42.482Z] prd-centos7-docker-4c-2g-5018 does not seem to be running inside a container [2021-05-13T05:53:42.535Z] $ 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-x86_64 cat [2021-05-13T05:53:43.236Z] $ docker top 9c303dc57afe30cc46bf6e6c37374c1e7cd9acbe825ec9bf58c603ff825047e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap [2021-05-13T05:53:43.529Z] provisioning config files... [2021-05-13T05:53:43.572Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6607388704614663448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T05:53:43.743Z] + go mod tidy [2021-05-13T05:53:43.997Z] ---> docker-login.sh [2021-05-13T05:53:43.997Z] nexus3.edgexfoundry.org:10001 [Pipeline] sh [2021-05-13T05:53:44.681Z] + make test [2021-05-13T05:53:44.681Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-13T05:53:44.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:53:45.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:53:45.263Z] Configure a credential helper to remove this warning. See [2021-05-13T05:53:45.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:53:45.263Z] [2021-05-13T05:53:45.263Z] Login Succeeded [2021-05-13T05:53:45.263Z] nexus3.edgexfoundry.org:10002 [2021-05-13T05:53:45.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:53:45.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:53:45.814Z] Configure a credential helper to remove this warning. See [2021-05-13T05:53:45.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:53:45.814Z] [2021-05-13T05:53:45.814Z] Login Succeeded [2021-05-13T05:53:45.814Z] nexus3.edgexfoundry.org:10003 [2021-05-13T05:53:46.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:53:46.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:53:46.364Z] Configure a credential helper to remove this warning. See [2021-05-13T05:53:46.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:53:46.364Z] [2021-05-13T05:53:46.364Z] Login Succeeded [2021-05-13T05:53:46.364Z] nexus3.edgexfoundry.org:10004 [2021-05-13T05:53:46.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:53:46.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:53:46.913Z] Configure a credential helper to remove this warning. See [2021-05-13T05:53:46.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:53:46.913Z] [2021-05-13T05:53:46.913Z] Login Succeeded [2021-05-13T05:53:46.913Z] docker.io [2021-05-13T05:53:47.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T05:53:47.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T05:53:47.791Z] Configure a credential helper to remove this warning. See [2021-05-13T05:53:47.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T05:53:47.791Z] [2021-05-13T05:53:47.791Z] Login Succeeded [2021-05-13T05:53:47.791Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T05:53:47.829Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-13T05:53:48.280Z] ========================================================= [2021-05-13T05:53:48.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-13T05:53:48.280Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:53:48.670Z] + 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:53:49.265Z] Sending build context to Docker daemon 2.569MB [2021-05-13T05:53:49.265Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T05:53:49.265Z] Step 2/8 : FROM ${BASE} [2021-05-13T05:53:49.265Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-13T05:53:49.265Z] 595b0fe564bb: Pulling fs layer [2021-05-13T05:53:49.265Z] 7186ed65a4f7: Pulling fs layer [2021-05-13T05:53:49.265Z] 316046926c0a: Pulling fs layer [2021-05-13T05:53:49.265Z] 4ebd0625c992: Pulling fs layer [2021-05-13T05:53:49.265Z] 207e8628e3a3: Pulling fs layer [2021-05-13T05:53:49.265Z] c791037a9be2: Pulling fs layer [2021-05-13T05:53:49.265Z] ffd874e62e21: Pulling fs layer [2021-05-13T05:53:49.265Z] 4ebd0625c992: Waiting [2021-05-13T05:53:49.265Z] 207e8628e3a3: Waiting [2021-05-13T05:53:49.265Z] c791037a9be2: Waiting [2021-05-13T05:53:49.265Z] ffd874e62e21: Waiting [2021-05-13T05:53:49.265Z] 316046926c0a: Verifying Checksum [2021-05-13T05:53:49.265Z] 7186ed65a4f7: Verifying Checksum [2021-05-13T05:53:49.265Z] 7186ed65a4f7: Download complete [2021-05-13T05:53:49.265Z] 207e8628e3a3: Verifying Checksum [2021-05-13T05:53:49.265Z] 207e8628e3a3: Download complete [2021-05-13T05:53:49.265Z] c791037a9be2: Verifying Checksum [2021-05-13T05:53:49.265Z] c791037a9be2: Download complete [2021-05-13T05:53:49.265Z] 595b0fe564bb: Verifying Checksum [2021-05-13T05:53:49.265Z] 595b0fe564bb: Download complete [2021-05-13T05:53:49.874Z] 595b0fe564bb: Pull complete [2021-05-13T05:53:50.479Z] 7186ed65a4f7: Pull complete [2021-05-13T05:53:51.082Z] 316046926c0a: Pull complete [2021-05-13T05:53:51.679Z] ffd874e62e21: Verifying Checksum [2021-05-13T05:53:51.679Z] ffd874e62e21: Download complete [2021-05-13T05:53:52.662Z] 4ebd0625c992: Download complete [2021-05-13T05:53:55.141Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-13T05:54:02.825Z] 4ebd0625c992: Pull complete [2021-05-13T05:54:02.825Z] 207e8628e3a3: Pull complete [2021-05-13T05:54:02.825Z] c791037a9be2: Pull complete [2021-05-13T05:54:06.245Z] ffd874e62e21: Pull complete [2021-05-13T05:54:06.245Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-13T05:54:06.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-13T05:54:06.245Z] ---> cfc18b08335c [2021-05-13T05:54:06.245Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T05:54:08.881Z] ---> Running in 3e6f2b1a677f [2021-05-13T05:54:09.157Z] Removing intermediate container 3e6f2b1a677f [2021-05-13T05:54:09.157Z] ---> 212fefba0ed7 [2021-05-13T05:54:09.157Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T05:54:09.431Z] ---> Running in 989aa045a3b9 [2021-05-13T05:54:11.647Z] Removing intermediate container 989aa045a3b9 [2021-05-13T05:54:11.647Z] ---> 8a7ebf46798f [2021-05-13T05:54:11.647Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-13T05:54:11.926Z] ---> Running in 794e3723ae79 [2021-05-13T05:54:13.390Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-13T05:54:13.986Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-13T05:54:14.966Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-13T05:54:14.966Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-13T05:54:15.240Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-13T05:54:15.240Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-13T05:54:15.240Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-13T05:54:15.520Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-13T05:54:15.520Z] Executing busybox-1.32.1-r6.trigger [2021-05-13T05:54:15.520Z] OK: 139 MiB in 46 packages [2021-05-13T05:54:16.950Z] Removing intermediate container 794e3723ae79 [2021-05-13T05:54:16.950Z] ---> a220e8e17a8d [2021-05-13T05:54:16.950Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-13T05:54:16.950Z] ---> Running in 01ef7cc32680 [2021-05-13T05:54:17.546Z] Removing intermediate container 01ef7cc32680 [2021-05-13T05:54:17.546Z] ---> 60a578be16c4 [2021-05-13T05:54:17.546Z] Step 7/8 : COPY . . [2021-05-13T05:54:18.976Z] ---> d2329db77872 [2021-05-13T05:54:18.976Z] Step 8/8 : RUN go mod download [2021-05-13T05:54:18.976Z] ---> Running in c59d177cc4b5 [2021-05-13T05:54:22.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-13T05:54:22.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-13T05:54:22.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-13T05:54:24.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.090s coverage: 25.4% of statements [2021-05-13T05:54:24.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-13T05:54:24.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.113s coverage: 28.1% of statements [2021-05-13T05:54:24.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.416s coverage: 78.9% of statements [2021-05-13T05:54:24.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.063s coverage: 10.7% of statements [2021-05-13T05:54:24.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-13T05:54:24.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-13T05:54:24.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-13T05:54:24.702Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.086s coverage: 30.2% of statements [2021-05-13T05:54:24.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-13T05:54:26.117Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.094s coverage: 83.3% of statements [2021-05-13T05:54:26.117Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-13T05:54:26.117Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-13T05:54:26.117Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 58.4% of statements [2021-05-13T05:54:26.698Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.272s coverage: 89.2% of statements [2021-05-13T05:54:26.698Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-13T05:54:26.698Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-05-13T05:54:26.698Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-13T05:54:26.698Z] GO111MODULE=on go vet ./... [2021-05-13T05:54:45.750Z] Removing intermediate container c59d177cc4b5 [2021-05-13T05:54:45.750Z] ---> b34316488e3a [2021-05-13T05:54:45.750Z] Successfully built b34316488e3a [2021-05-13T05:54:45.750Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:54:46.124Z] + docker inspect -f . ci-base-image-arm64 [2021-05-13T05:54:46.125Z] . [Pipeline] withDockerContainer [2021-05-13T05:54:46.419Z] prd-ubuntu18.04-docker-arm64-4c-16g-5017 does not seem to be running inside a container [2021-05-13T05:54:46.503Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-13T05:54:47.990Z] $ docker top ce56649b9ed11b1e2c1e9d89b990a4478525f159bea96284f1f9a4af01f2c770 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T05:54:48.825Z] gofmt -l . [2021-05-13T05:54:48.825Z] [ "`gofmt -l .`" = "" ] [2021-05-13T05:54:48.825Z] ./bin/test-attribution-txt.sh [2021-05-13T05:54:49.010Z] + go version [2021-05-13T05:54:49.010Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-13T05:54:49.048Z] $ docker stop --time=1 ce56649b9ed11b1e2c1e9d89b990a4478525f159bea96284f1f9a4af01f2c770 [2021-05-13T05:54:49.406Z] ./bin/test-go-mod-tidy.sh [2021-05-13T05:54:50.934Z] $ docker rm -f ce56649b9ed11b1e2c1e9d89b990a4478525f159bea96284f1f9a4af01f2c770 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-05-13T05:54:51.283Z] $ docker stop --time=1 9c303dc57afe30cc46bf6e6c37374c1e7cd9acbe825ec9bf58c603ff825047e3 [2021-05-13T05:54:53.078Z] $ docker rm -f 9c303dc57afe30cc46bf6e6c37374c1e7cd9acbe825ec9bf58c603ff825047e3 [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:54:53.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-13T05:54:54.175Z] + docker inspect -f . ci-base-image-arm64 [2021-05-13T05:54:54.175Z] . [Pipeline] withDockerContainer [2021-05-13T05:54:54.369Z] Stashed 1 file(s) [2021-05-13T05:54:54.458Z] prd-ubuntu18.04-docker-arm64-4c-16g-5017 does not seem to be running inside a container [2021-05-13T05:54:54.549Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-13T05:54:56.083Z] $ docker top 81440d76a4d2eb7488784e5e33ec92be17db64c6f7ff4af37f176b6e8280e840 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-13T05:54:57.150Z] + go mod tidy [Pipeline] sh [Pipeline] sh [2021-05-13T05:54:59.205Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-13T05:54:59.459Z] + make test [2021-05-13T05:54:59.459Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-13T05:54:59.566Z] + ls -al . [2021-05-13T05:54:59.566Z] total 208 [2021-05-13T05:54:59.566Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 13 05:54 . [2021-05-13T05:54:59.566Z] drwxrwxr-x. 4 jenkins jenkins 28 May 13 05:52 .. [2021-05-13T05:54:59.566Z] drwxrwxr-x. 2 jenkins jenkins 64 May 13 05:52 bin [2021-05-13T05:54:59.566Z] -rw-r--r--. 1 jenkins jenkins 126001 May 13 05:54 coverage.out [2021-05-13T05:54:59.566Z] -rw-rw-r--. 1 jenkins jenkins 987 May 13 05:52 Dockerfile.build [2021-05-13T05:54:59.566Z] -rw-rw-r--. 1 jenkins jenkins 140 May 13 05:52 .dockerignore [2021-05-13T05:54:59.566Z] drwxrwxr-x. 5 jenkins jenkins 62 May 13 05:52 example [2021-05-13T05:54:59.566Z] drwxrwxr-x. 8 jenkins jenkins 179 May 13 05:52 .git [2021-05-13T05:54:59.566Z] drwxrwxr-x. 2 jenkins jenkins 103 May 13 05:52 .github [2021-05-13T05:54:59.566Z] -rw-rw-r--. 1 jenkins jenkins 138 May 13 05:52 .gitignore [2021-05-13T05:54:59.566Z] -rw-r--r--. 1 jenkins jenkins 575 May 13 05:54 go.mod [2021-05-13T05:54:59.566Z] -rw-r--r--. 1 jenkins jenkins 20408 May 13 05:53 go.sum [2021-05-13T05:54:59.566Z] drwxrwxr-x. 15 jenkins jenkins 224 May 13 05:52 internal [2021-05-13T05:54:59.566Z] -rw-rw-r--. 1 jenkins jenkins 894 May 13 05:52 Jenkinsfile [2021-05-13T05:54:59.566Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 13 05:52 LICENSE [2021-05-13T05:54:59.566Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 13 05:52 Makefile [2021-05-13T05:54:59.566Z] drwxrwxr-x. 4 jenkins jenkins 26 May 13 05:52 openapi [2021-05-13T05:54:59.566Z] drwxrwxr-x. 5 jenkins jenkins 50 May 13 05:52 pkg [2021-05-13T05:54:59.566Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 13 05:52 README.md [2021-05-13T05:54:59.566Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 13 05:52 RELEASE-NOTES.txt [2021-05-13T05:54:59.566Z] drwxrwxr-x. 4 jenkins jenkins 54 May 13 05:52 snap [2021-05-13T05:54:59.566Z] -rw-rw-r--. 1 jenkins jenkins 5 May 13 05:50 VERSION [2021-05-13T05:54:59.566Z] -rw-rw-r--. 1 jenkins jenkins 222 May 13 05:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:54:59.957Z] + 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=a6d76f833a211dae2edea3de70904d4d0250d9d5 --label arch=amd64 --label version=0.0.0 . [2021-05-13T05:55:00.220Z] Sending build context to Docker daemon 2.693MB [2021-05-13T05:55:00.220Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T05:55:00.220Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-13T05:55:00.220Z] ---> ed0c225def6f [2021-05-13T05:55:00.220Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-13T05:55:00.795Z] ---> Running in 09773e743ee3 [2021-05-13T05:55:01.068Z] Removing intermediate container 09773e743ee3 [2021-05-13T05:55:01.068Z] ---> 7aafc7db7988 [2021-05-13T05:55:01.068Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T05:55:01.068Z] ---> Running in 157a4cea26a5 [2021-05-13T05:55:01.332Z] Removing intermediate container 157a4cea26a5 [2021-05-13T05:55:01.332Z] ---> 299f6ddbe932 [2021-05-13T05:55:01.332Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T05:55:01.332Z] ---> Running in 929c4962302c [2021-05-13T05:55:03.272Z] Removing intermediate container 929c4962302c [2021-05-13T05:55:03.272Z] ---> 20ad531cc5d6 [2021-05-13T05:55:03.272Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-13T05:55:03.272Z] ---> Running in 9070ddc65f9c [2021-05-13T05:55:03.537Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-13T05:55:04.488Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-13T05:55:05.070Z] OK: 150 MiB in 46 packages [2021-05-13T05:55:05.647Z] Removing intermediate container 9070ddc65f9c [2021-05-13T05:55:05.647Z] ---> 0a33f820fcfa [2021-05-13T05:55:05.647Z] Step 7/23 : COPY . . [2021-05-13T05:55:06.598Z] ---> 42655db6c119 [2021-05-13T05:55:06.598Z] Step 8/23 : RUN go mod download [2021-05-13T05:55:06.598Z] ---> Running in 7895e86314b2 [2021-05-13T05:55:08.005Z] Removing intermediate container 7895e86314b2 [2021-05-13T05:55:08.005Z] ---> 558fb25b8b9c [2021-05-13T05:55:08.005Z] Step 9/23 : RUN make build [2021-05-13T05:55:08.005Z] ---> Running in b88a9fa0fc45 [2021-05-13T05:55:08.588Z] 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:20.963Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-13T05:55:23.553Z] Removing intermediate container b88a9fa0fc45 [2021-05-13T05:55:23.553Z] ---> ff24085be89b [2021-05-13T05:55:23.553Z] Step 10/23 : FROM alpine:3.12 [2021-05-13T05:55:23.819Z] 3.12: Pulling from library/alpine [2021-05-13T05:55:23.819Z] 339de151aab4: Pulling fs layer [2021-05-13T05:55:24.097Z] 339de151aab4: Verifying Checksum [2021-05-13T05:55:24.097Z] 339de151aab4: Download complete [2021-05-13T05:55:24.715Z] 339de151aab4: Pull complete [2021-05-13T05:55:24.715Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-13T05:55:24.715Z] Status: Downloaded newer image for alpine:3.12 [2021-05-13T05:55:24.715Z] ---> 13621d1b12d4 [2021-05-13T05:55:24.715Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T05:55:24.980Z] ---> Running in 4f6e3f2f7ae8 [2021-05-13T05:55:24.980Z] Removing intermediate container 4f6e3f2f7ae8 [2021-05-13T05:55:24.980Z] ---> 2cae63942329 [2021-05-13T05:55:24.980Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T05:55:25.251Z] ---> Running in 0f851215d0a8 [2021-05-13T05:55:26.204Z] Removing intermediate container 0f851215d0a8 [2021-05-13T05:55:26.204Z] ---> 1cb9d74a0d9f [2021-05-13T05:55:26.204Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-13T05:55:26.204Z] ---> Running in 856a722f0b45 [2021-05-13T05:55:26.270Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-13T05:55:26.780Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-13T05:55:27.360Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-13T05:55:27.626Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-13T05:55:27.899Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-13T05:55:27.899Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-13T05:55:28.848Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-13T05:55:28.848Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-13T05:55:28.848Z] Executing busybox-1.31.1-r20.trigger [2021-05-13T05:55:28.849Z] OK: 8 MiB in 19 packages [2021-05-13T05:55:29.424Z] Removing intermediate container 856a722f0b45 [2021-05-13T05:55:29.424Z] ---> 997dc2e57735 [2021-05-13T05:55:29.424Z] Step 14/23 : WORKDIR / [2021-05-13T05:55:29.424Z] ---> Running in f55f61b09fd3 [2021-05-13T05:55:29.687Z] Removing intermediate container f55f61b09fd3 [2021-05-13T05:55:29.687Z] ---> 82b5fdf9ddb5 [2021-05-13T05:55:29.687Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-13T05:55:29.950Z] ---> 1f64b3bc90be [2021-05-13T05:55:29.950Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-13T05:55:30.902Z] ---> 2faff5fc80dc [2021-05-13T05:55:30.903Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-13T05:55:30.903Z] ---> f31dc0b1164c [2021-05-13T05:55:30.903Z] Step 18/23 : EXPOSE 49990 [2021-05-13T05:55:30.903Z] ---> Running in 5e8dd1b4ac70 [2021-05-13T05:55:31.165Z] Removing intermediate container 5e8dd1b4ac70 [2021-05-13T05:55:31.165Z] ---> 8b186c83a0db [2021-05-13T05:55:31.165Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-13T05:55:31.165Z] ---> Running in ce3ad42ded32 [2021-05-13T05:55:31.428Z] Removing intermediate container ce3ad42ded32 [2021-05-13T05:55:31.429Z] ---> 510e56992e85 [2021-05-13T05:55:31.429Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-13T05:55:31.429Z] ---> Running in a08ffa89e6b5 [2021-05-13T05:55:31.697Z] Removing intermediate container a08ffa89e6b5 [2021-05-13T05:55:31.697Z] ---> 5e6fc8d786fb [2021-05-13T05:55:31.697Z] Step 21/23 : LABEL arch=amd64 [2021-05-13T05:55:31.697Z] ---> Running in b87bb075c97c [2021-05-13T05:55:32.647Z] Removing intermediate container b87bb075c97c [2021-05-13T05:55:32.647Z] ---> 5a0999b50012 [2021-05-13T05:55:32.647Z] Step 22/23 : LABEL git_sha=a6d76f833a211dae2edea3de70904d4d0250d9d5 [2021-05-13T05:55:32.647Z] ---> Running in 45fd041ab572 [2021-05-13T05:55:32.647Z] Removing intermediate container 45fd041ab572 [2021-05-13T05:55:32.647Z] ---> 64436a859021 [2021-05-13T05:55:32.647Z] Step 23/23 : LABEL version=0.0.0 [2021-05-13T05:55:32.911Z] ---> Running in e564bde9cb3e [2021-05-13T05:55:32.911Z] Removing intermediate container e564bde9cb3e [2021-05-13T05:55:32.911Z] ---> 0bef75e638fb [2021-05-13T05:55:32.911Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-13T05:55:32.911Z] Successfully built 0bef75e638fb [2021-05-13T05:55:32.911Z] 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:55:34.188Z] ---> job-cost.sh [2021-05-13T05:55:34.188Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-U3Dt [2021-05-13T05:55:49.155Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-13T05:56:21.372Z] lf-activate-venv(): INFO: Adding /tmp/venv-U3Dt/bin to PATH [2021-05-13T05:56:21.372Z] INFO: No Stack... [2021-05-13T05:56:21.372Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-13T05:56:21.372Z] INFO: Archiving Costs [Pipeline] sh [2021-05-13T05:56:21.717Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-13T05:56:21.717Z] + cut -d, -f6 [Pipeline] lock [2021-05-13T05:56:21.840Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-928-1-stack-cost] [2021-05-13T05:56:21.846Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-928-1-stack-cost] did not exist. Created. [2021-05-13T05:56:21.846Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-928-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-13T05:56:22.287Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-13T05:56:22.433Z] Stashed 1 file(s) [Pipeline] } [2021-05-13T05:56:22.455Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-928-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-13T05:56:34.376Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-13T05:56:34.377Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-13T05:56:34.377Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-13T05:56:37.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.221s coverage: 25.4% of statements [2021-05-13T05:56:37.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-13T05:56:37.005Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.212s coverage: 28.1% of statements [2021-05-13T05:56:37.005Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.194s coverage: 78.9% of statements [2021-05-13T05:56:37.005Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.146s coverage: 10.7% of statements [2021-05-13T05:56:37.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-13T05:56:37.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-13T05:56:37.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-13T05:56:40.414Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.254s coverage: 30.2% of statements [2021-05-13T05:56:40.414Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-13T05:56:41.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.213s coverage: 83.3% of statements [2021-05-13T05:56:41.012Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-13T05:56:41.012Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-13T05:56:41.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.336s coverage: 58.4% of statements [2021-05-13T05:56:44.418Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.028s coverage: 89.2% of statements [2021-05-13T05:56:44.418Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-13T05:56:44.418Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 5.0% of statements [2021-05-13T05:56:44.418Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-13T05:56:45.012Z] GO111MODULE=on go vet ./... [2021-05-13T05:57:41.588Z] gofmt -l . [2021-05-13T05:57:41.588Z] [ "`gofmt -l .`" = "" ] [2021-05-13T05:57:41.588Z] ./bin/test-attribution-txt.sh [2021-05-13T05:57:41.588Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-13T05:57:41.622Z] $ docker stop --time=1 81440d76a4d2eb7488784e5e33ec92be17db64c6f7ff4af37f176b6e8280e840 [2021-05-13T05:57:43.906Z] $ docker rm -f 81440d76a4d2eb7488784e5e33ec92be17db64c6f7ff4af37f176b6e8280e840 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T05:57:45.160Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-13T05:57:45.201Z] Warning: overwriting stash ‘coverage-report’ [2021-05-13T05:57:45.787Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T05:57:46.443Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-13T05:57:46.807Z] + ls -al . [2021-05-13T05:57:46.807Z] total 244 [2021-05-13T05:57:46.807Z] drwxrwxr-x 10 jenkins jenkins 4096 May 13 05:57 . [2021-05-13T05:57:46.807Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 05:53 .. [2021-05-13T05:57:46.807Z] -rw-rw-r-- 1 jenkins jenkins 140 May 13 05:53 .dockerignore [2021-05-13T05:57:46.807Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 05:53 .git [2021-05-13T05:57:46.807Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 05:53 .github [2021-05-13T05:57:46.807Z] -rw-rw-r-- 1 jenkins jenkins 138 May 13 05:53 .gitignore [2021-05-13T05:57:46.807Z] -rw-rw-r-- 1 jenkins jenkins 987 May 13 05:53 Dockerfile.build [2021-05-13T05:57:46.807Z] -rw-rw-r-- 1 jenkins jenkins 894 May 13 05:53 Jenkinsfile [2021-05-13T05:57:46.807Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 13 05:53 LICENSE [2021-05-13T05:57:46.807Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 13 05:53 Makefile [2021-05-13T05:57:46.807Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 13 05:53 README.md [2021-05-13T05:57:46.807Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 13 05:53 RELEASE-NOTES.txt [2021-05-13T05:57:46.807Z] -rw-rw-r-- 1 jenkins jenkins 5 May 13 05:50 VERSION [2021-05-13T05:57:46.807Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 05:53 bin [2021-05-13T05:57:46.807Z] -rw-r--r-- 1 jenkins jenkins 126002 May 13 05:56 coverage.out [2021-05-13T05:57:46.807Z] drwxrwxr-x 5 jenkins jenkins 4096 May 13 05:53 example [2021-05-13T05:57:46.807Z] -rw-r--r-- 1 jenkins jenkins 575 May 13 05:57 go.mod [2021-05-13T05:57:46.807Z] -rw-r--r-- 1 jenkins jenkins 20408 May 13 05:54 go.sum [2021-05-13T05:57:46.807Z] drwxrwxr-x 15 jenkins jenkins 4096 May 13 05:53 internal [2021-05-13T05:57:46.808Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 05:53 openapi [2021-05-13T05:57:46.808Z] drwxrwxr-x 5 jenkins jenkins 4096 May 13 05:53 pkg [2021-05-13T05:57:46.808Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 05:53 snap [2021-05-13T05:57:46.808Z] -rw-rw-r-- 1 jenkins jenkins 222 May 13 05:53 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-13T05:57:47.194Z] + 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=a6d76f833a211dae2edea3de70904d4d0250d9d5 --label arch=arm64 --label version=0.0.0 . [2021-05-13T05:57:47.795Z] Sending build context to Docker daemon 2.696MB [2021-05-13T05:57:47.795Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T05:57:47.795Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-13T05:57:47.795Z] ---> b34316488e3a [2021-05-13T05:57:47.795Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-13T05:57:48.072Z] ---> Running in bd0a8e2890df [2021-05-13T05:57:48.344Z] Removing intermediate container bd0a8e2890df [2021-05-13T05:57:48.344Z] ---> 617ff1714504 [2021-05-13T05:57:48.344Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T05:57:48.617Z] ---> Running in c226d15e298c [2021-05-13T05:57:49.216Z] Removing intermediate container c226d15e298c [2021-05-13T05:57:49.216Z] ---> 088c8d1b6fea [2021-05-13T05:57:49.216Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T05:57:49.216Z] ---> Running in 8dba46bfd05f [2021-05-13T05:57:51.187Z] Removing intermediate container 8dba46bfd05f [2021-05-13T05:57:51.187Z] ---> bb518866a7a4 [2021-05-13T05:57:51.187Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-13T05:57:51.187Z] ---> Running in 91b0b58141d6 [2021-05-13T05:57:52.174Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-13T05:57:53.152Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-13T05:57:54.131Z] OK: 139 MiB in 46 packages [2021-05-13T05:57:55.568Z] Removing intermediate container 91b0b58141d6 [2021-05-13T05:57:55.568Z] ---> 6d7d4981d7a2 [2021-05-13T05:57:55.568Z] Step 7/23 : COPY . . [2021-05-13T05:57:56.551Z] ---> f0bd17155454 [2021-05-13T05:57:56.551Z] Step 8/23 : RUN go mod download [2021-05-13T05:57:56.551Z] ---> Running in db9e9d2d265a [2021-05-13T05:57:59.174Z] Removing intermediate container db9e9d2d265a [2021-05-13T05:57:59.174Z] ---> 31d7cd4a8981 [2021-05-13T05:57:59.174Z] Step 9/23 : RUN make build [2021-05-13T05:57:59.174Z] ---> Running in 79700048e289 [2021-05-13T05:57:59.774Z] 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:58:32.212Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-13T05:58:35.603Z] Removing intermediate container 79700048e289 [2021-05-13T05:58:35.603Z] ---> e2c9ba99a7eb [2021-05-13T05:58:35.603Z] Step 10/23 : FROM alpine:3.12 [2021-05-13T05:58:35.603Z] 3.12: Pulling from library/alpine [2021-05-13T05:58:35.603Z] d2f70382dc9a: Pulling fs layer [2021-05-13T05:58:35.878Z] d2f70382dc9a: Verifying Checksum [2021-05-13T05:58:35.878Z] d2f70382dc9a: Download complete [2021-05-13T05:58:36.473Z] d2f70382dc9a: Pull complete [2021-05-13T05:58:36.473Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-13T05:58:36.473Z] Status: Downloaded newer image for alpine:3.12 [2021-05-13T05:58:36.473Z] ---> 9852663dfa18 [2021-05-13T05:58:36.473Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T05:58:36.747Z] ---> Running in 01c5bac58c39 [2021-05-13T05:58:37.023Z] Removing intermediate container 01c5bac58c39 [2021-05-13T05:58:37.023Z] ---> 718d21b74481 [2021-05-13T05:58:37.023Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T05:58:37.298Z] ---> Running in 9952ca4436ca [2021-05-13T05:58:39.275Z] Removing intermediate container 9952ca4436ca [2021-05-13T05:58:39.275Z] ---> b1059a2ce2be [2021-05-13T05:58:39.275Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-13T05:58:39.275Z] ---> Running in bea684f44720 [2021-05-13T05:58:40.714Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-13T05:58:41.312Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-13T05:58:41.909Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-13T05:58:41.909Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-13T05:58:41.909Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-13T05:58:42.184Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-13T05:58:42.459Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-13T05:58:42.459Z] Executing busybox-1.31.1-r20.trigger [2021-05-13T05:58:42.459Z] OK: 8 MiB in 19 packages [2021-05-13T05:58:43.894Z] Removing intermediate container bea684f44720 [2021-05-13T05:58:43.894Z] ---> 9c8b38a07440 [2021-05-13T05:58:43.894Z] Step 14/23 : WORKDIR / [2021-05-13T05:58:43.894Z] ---> Running in 8034b5c5f8ab [2021-05-13T05:58:44.493Z] Removing intermediate container 8034b5c5f8ab [2021-05-13T05:58:44.493Z] ---> 5f59a1851969 [2021-05-13T05:58:44.493Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-13T05:58:45.092Z] ---> f620a83e1cbe [2021-05-13T05:58:45.092Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-13T05:58:46.531Z] ---> adc5c9c3df08 [2021-05-13T05:58:46.532Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-13T05:58:47.127Z] ---> 7a8e31dc9e12 [2021-05-13T05:58:47.127Z] Step 18/23 : EXPOSE 49990 [2021-05-13T05:58:47.127Z] ---> Running in 4881d0d98531 [2021-05-13T05:58:47.722Z] Removing intermediate container 4881d0d98531 [2021-05-13T05:58:47.722Z] ---> 00944d14a063 [2021-05-13T05:58:47.722Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-13T05:58:47.722Z] ---> Running in b424d1f8734b [2021-05-13T05:58:48.318Z] Removing intermediate container b424d1f8734b [2021-05-13T05:58:48.318Z] ---> 6fcadfc8b59c [2021-05-13T05:58:48.318Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-13T05:58:48.318Z] ---> Running in 127d5b5ea268 [2021-05-13T05:58:48.590Z] Removing intermediate container 127d5b5ea268 [2021-05-13T05:58:48.590Z] ---> d583593ea085 [2021-05-13T05:58:48.590Z] Step 21/23 : LABEL arch=arm64 [2021-05-13T05:58:48.864Z] ---> Running in aa0798f3f68a [2021-05-13T05:58:49.139Z] Removing intermediate container aa0798f3f68a [2021-05-13T05:58:49.139Z] ---> 2f4adba7f5cd [2021-05-13T05:58:49.139Z] Step 22/23 : LABEL git_sha=a6d76f833a211dae2edea3de70904d4d0250d9d5 [2021-05-13T05:58:49.411Z] ---> Running in c5dfdedcb4d8 [2021-05-13T05:58:50.005Z] Removing intermediate container c5dfdedcb4d8 [2021-05-13T05:58:50.005Z] ---> 4185d59580cb [2021-05-13T05:58:50.005Z] Step 23/23 : LABEL version=0.0.0 [2021-05-13T05:58:50.005Z] ---> Running in 9e944fb4d585 [2021-05-13T05:58:50.597Z] Removing intermediate container 9e944fb4d585 [2021-05-13T05:58:50.597Z] ---> 096cc557fb06 [2021-05-13T05:58:50.597Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-13T05:58:50.597Z] Successfully built 096cc557fb06 [2021-05-13T05:58:50.597Z] 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:58:51.280Z] ---> job-cost.sh [2021-05-13T05:58:51.280Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eEE7 [2021-05-13T05:59:30.245Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-13T06:00:52.002Z] lf-activate-venv(): INFO: Adding /tmp/venv-eEE7/bin to PATH [2021-05-13T06:00:52.002Z] INFO: No Stack... [2021-05-13T06:00:52.002Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-13T06:00:52.002Z] INFO: Archiving Costs [Pipeline] sh [2021-05-13T06:00:52.376Z] + + cutcat -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 [2021-05-13T06:00:52.376Z] [Pipeline] lock [2021-05-13T06:00:52.522Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-928-1-stack-cost] [2021-05-13T06:00:52.528Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-928-1-stack-cost] did not exist. Created. [2021-05-13T06:00:52.528Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-928-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-13T06:00:52.977Z] /w/workspace/device-sdk-go/1@tmp/durable-65240cdf/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-65240cdf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-13T06:00:53.362Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-13T06:00:53.438Z] Warning: overwriting stash ‘stack-cost’ [2021-05-13T06:00:53.599Z] Stashed 1 file(s) [Pipeline] } [2021-05-13T06:00:53.620Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-928-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-13T06:00:54.549Z] provisioning config files... [2021-05-13T06:00:54.560Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp/config8615045904747368990tmp [Pipeline] { [Pipeline] sh [2021-05-13T06:00:54.981Z] + set +x [2021-05-13T06:00:54.981Z] + curl -s https://codecov.io/bash [2021-05-13T06:00:54.981Z] + bash -s -- [2021-05-13T06:00:55.244Z] [2021-05-13T06:00:55.244Z] _____ _ [2021-05-13T06:00:55.244Z] / ____| | | [2021-05-13T06:00:55.244Z] | | ___ __| | ___ ___ _____ __ [2021-05-13T06:00:55.244Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-13T06:00:55.244Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-13T06:00:55.244Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-13T06:00:55.244Z] Bash-1.0.2 [2021-05-13T06:00:55.244Z] [2021-05-13T06:00:55.244Z] [2021-05-13T06:00:55.244Z] ==> git version 2.24.3 found [2021-05-13T06:00:55.244Z] ==> 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-13T06:00:55.244Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-13T06:00:55.244Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-13T06:00:55.244Z] ==> Jenkins CI detected. [2021-05-13T06:00:55.244Z] project root: . [2021-05-13T06:00:55.244Z] --> token set from env [2021-05-13T06:00:55.244Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-13T06:00:55.244Z] ==> Running gcov in . (disable via -X gcov) [2021-05-13T06:00:55.244Z] ==> Python coveragepy not found [2021-05-13T06:00:55.244Z] ==> Searching for coverage reports in: [2021-05-13T06:00:55.244Z] + . [2021-05-13T06:00:55.244Z] -> Found 1 reports [2021-05-13T06:00:55.244Z] ==> Detecting git/mercurial file structure [2021-05-13T06:00:55.244Z] ==> Reading reports [2021-05-13T06:00:55.244Z] + ./coverage.out bytes=126002 [2021-05-13T06:00:55.244Z] ==> Appending adjustments [2021-05-13T06:00:55.244Z] https://docs.codecov.io/docs/fixing-reports [2021-05-13T06:00:55.507Z] + Found adjustments [2021-05-13T06:00:55.507Z] ==> Gzipping contents [2021-05-13T06:00:55.507Z] 20K /tmp/codecov.Bo9lp0.gz [2021-05-13T06:00:55.507Z] ==> Uploading reports [2021-05-13T06:00:55.507Z] url: https://codecov.io [2021-05-13T06:00:55.507Z] query: branch=PR-928&commit=a6d76f833a211dae2edea3de70904d4d0250d9d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-928%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=928&job=&cmd_args= [2021-05-13T06:00:55.507Z] -> Pinging Codecov [2021-05-13T06:00:55.507Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-928&commit=a6d76f833a211dae2edea3de70904d4d0250d9d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-928%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=928&job=&cmd_args= [2021-05-13T06:00:56.090Z] -> Uploading to [2021-05-13T06:00:56.091Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-13/7E55EF52A471D76F132DFD9A03CDDE97/a6d76f833a211dae2edea3de70904d4d0250d9d5/2dee54b5-3d50-4e39-8988-173cdcf075a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210513T060055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e3a5a42cde1e015769b5a98d1f590b9a60cc0ff1ce7e6e4e11cd9837894acd94 [2021-05-13T06:00:56.091Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-13T06:00:56.091Z] Dload Upload Total Spent Left Speed [2021-05-13T06:00:56.669Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16454 0 0 100 16454 0 34308 --:--:-- --:--:-- --:--:-- 34350 [2021-05-13T06:00:56.669Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a6d76f833a211dae2edea3de70904d4d0250d9d5 [Pipeline] } [2021-05-13T06:00:56.692Z] 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-13T06:00:58.690Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T06:00:59.313Z] ---> package-listing.sh [2021-05-13T06:00:59.313Z] ++ facter osfamily [2021-05-13T06:00:59.313Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-13T06:00:59.313Z] + OS_FAMILY=redhat [2021-05-13T06:00:59.313Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-928 [2021-05-13T06:00:59.313Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-13T06:00:59.313Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-13T06:00:59.313Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-13T06:00:59.313Z] + PACKAGES=/tmp/packages_start.txt [2021-05-13T06:00:59.313Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-928 ']' [2021-05-13T06:00:59.313Z] + PACKAGES=/tmp/packages_end.txt [2021-05-13T06:00:59.313Z] + case "${OS_FAMILY}" in [2021-05-13T06:00:59.313Z] + rpm -qa [2021-05-13T06:00:59.313Z] + sort [2021-05-13T06:01:04.650Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-13T06:01:04.650Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-13T06:01:04.650Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-13T06:01:04.650Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-928 ']' [2021-05-13T06:01:04.650Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-928/archives/ [2021-05-13T06:01:04.650Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-928/archives/ [Pipeline] echo [2021-05-13T06:01:04.683Z] 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-928/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-13T06:01:05.007Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-13T06:01:05.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T06:01:05.351Z] [2021-05-13T06:01:05.351Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-13T06:01:05.711Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T06:01:05.711Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-13T06:01:05.711Z] df20fa9351a1: Pulling fs layer [2021-05-13T06:01:05.711Z] 36b3adc4ff6f: Pulling fs layer [2021-05-13T06:01:05.711Z] 8ad3a11d3b57: Pulling fs layer [2021-05-13T06:01:05.711Z] 46f8f816bc3b: Pulling fs layer [2021-05-13T06:01:05.711Z] 93b61091891f: Pulling fs layer [2021-05-13T06:01:05.711Z] 93b9cdb0e59b: Pulling fs layer [2021-05-13T06:01:05.711Z] 5e14af77c1be: Pulling fs layer [2021-05-13T06:01:05.711Z] 01666e4c0597: Pulling fs layer [2021-05-13T06:01:05.711Z] aa168da1d23b: Pulling fs layer [2021-05-13T06:01:05.711Z] 46f8f816bc3b: Waiting [2021-05-13T06:01:05.711Z] 5e14af77c1be: Waiting [2021-05-13T06:01:05.711Z] 93b61091891f: Waiting [2021-05-13T06:01:05.711Z] 01666e4c0597: Waiting [2021-05-13T06:01:05.711Z] aa168da1d23b: Waiting [2021-05-13T06:01:05.711Z] 93b9cdb0e59b: Waiting [2021-05-13T06:01:05.711Z] 36b3adc4ff6f: Download complete [2021-05-13T06:01:05.711Z] 46f8f816bc3b: Verifying Checksum [2021-05-13T06:01:05.711Z] 46f8f816bc3b: Download complete [2021-05-13T06:01:05.711Z] df20fa9351a1: Verifying Checksum [2021-05-13T06:01:05.983Z] 93b9cdb0e59b: Verifying Checksum [2021-05-13T06:01:05.983Z] 93b9cdb0e59b: Download complete [2021-05-13T06:01:05.983Z] 5e14af77c1be: Verifying Checksum [2021-05-13T06:01:05.983Z] 5e14af77c1be: Download complete [2021-05-13T06:01:05.983Z] 01666e4c0597: Verifying Checksum [2021-05-13T06:01:05.983Z] 01666e4c0597: Download complete [2021-05-13T06:01:05.983Z] 93b61091891f: Download complete [2021-05-13T06:01:06.246Z] 8ad3a11d3b57: Verifying Checksum [2021-05-13T06:01:06.246Z] 8ad3a11d3b57: Download complete [2021-05-13T06:01:06.246Z] df20fa9351a1: Pull complete [2021-05-13T06:01:06.512Z] 36b3adc4ff6f: Pull complete [2021-05-13T06:01:07.512Z] 8ad3a11d3b57: Pull complete [2021-05-13T06:01:07.512Z] 46f8f816bc3b: Pull complete [2021-05-13T06:01:08.096Z] 93b61091891f: Pull complete [2021-05-13T06:01:08.370Z] aa168da1d23b: Verifying Checksum [2021-05-13T06:01:08.370Z] aa168da1d23b: Download complete [2021-05-13T06:01:08.370Z] 93b9cdb0e59b: Pull complete [2021-05-13T06:01:08.634Z] 5e14af77c1be: Pull complete [2021-05-13T06:01:08.635Z] 01666e4c0597: Pull complete [2021-05-13T06:01:16.855Z] aa168da1d23b: Pull complete [2021-05-13T06:01:16.855Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-13T06:01:16.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T06:01:16.855Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-13T06:01:17.106Z] prd-centos7-docker-4c-2g-5011 does not seem to be running inside a container [2021-05-13T06:01:17.177Z] $ 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-928/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-928 -v /w/workspace/dgexfoundry_device-sdk-go_PR-928:/w/workspace/dgexfoundry_device-sdk-go_PR-928:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-928@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-13T06:01:20.880Z] $ docker top ef10ee0af54e0ac50afdef5e0af78c5530904f5f0a11f8a2660e7cca2c6bfdc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T06:01:21.364Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-13T06:01:21.749Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-13T06:01:22.111Z] + ls /var/log/sa-host [2021-05-13T06:01:22.111Z] + sadf -c /var/log/sa-host/sa13 [2021-05-13T06:01:22.111Z] file_magic: OK [2021-05-13T06:01:22.111Z] HZ: Using current value: 100 [2021-05-13T06:01:22.111Z] file_header: OK [2021-05-13T06:01:22.111Z] 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-13T06:01:22.111Z] Statistics: [2021-05-13T06:01:22.111Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-13T06:01:22.111Z] File successfully converted to sysstat format version 12.2.1 [2021-05-13T06:01:22.111Z] + sadf -c /var/log/sa-host/sa23 [2021-05-13T06:01:22.111Z] file_magic: OK [2021-05-13T06:01:22.111Z] HZ: Using current value: 100 [2021-05-13T06:01:22.111Z] file_header: OK [2021-05-13T06:01:22.111Z] 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-13T06:01:22.111Z] Statistics: [2021-05-13T06:01:22.111Z] Hnuu...uuuununununu... [2021-05-13T06:01:22.111Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-13T06:01:22.356Z] provisioning config files... [2021-05-13T06:01:22.373Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp/config2691178035375863821tmp [Pipeline] { [Pipeline] echo [2021-05-13T06:01:22.447Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T06:01:22.798Z] ---> create-netrc.sh [Pipeline] } [2021-05-13T06:01:22.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-13T06:01:22.928Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T06:01:23.323Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-13T06:01:23.369Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T06:01:23.714Z] ---> sudo-logs.sh [2021-05-13T06:01:23.714Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-13T06:01:23.799Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T06:01:24.144Z] ---> job-cost.sh [2021-05-13T06:01:24.144Z] lf-activate-venv: SKIPPING [2021-05-13T06:01:24.144Z] DEBUG: total: 0.20999999344348907 [2021-05-13T06:01:24.144Z] INFO: Retrieving Stack Cost... [2021-05-13T06:01:25.094Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-13T06:01:25.671Z] INFO: Archiving Costs [Pipeline] echo [2021-05-13T06:01:25.703Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T06:01:26.041Z] ---> logs-deploy.sh [2021-05-13T06:01:26.041Z] lf-activate-venv: SKIPPING [2021-05-13T06:01:26.041Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-928/1 [2021-05-13T06:01:26.041Z] INFO: archiving workspace using pattern(s): [2021-05-13T06:01:27.983Z] Archives upload complete. [2021-05-13T06:01:27.983Z] INFO: archiving logs to Nexus