Pull request #922 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a2450f29224d09b4bc13a7c374e9a6562345f657+889e38f586d888c0021f1798e3d6b8462ec57b6f (bb1eb1c10ae459badfee41aae8e21008564832f5) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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-4550 in /w/workspace/dgexfoundry_device-sdk-go_PR-922 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-922 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 889e38f586d888c0021f1798e3d6b8462ec57b6f into PR head commit a2450f29224d09b4bc13a7c374e9a6562345f657 Merge succeeded, producing a2450f29224d09b4bc13a7c374e9a6562345f657 Checking out Revision a2450f29224d09b4bc13a7c374e9a6562345f657 (PR-922) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/922/head:refs/remotes/origin/PR-922 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2450f29224d09b4bc13a7c374e9a6562345f657 # 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 889e38f586d888c0021f1798e3d6b8462ec57b6f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2450f29224d09b4bc13a7c374e9a6562345f657 # timeout=10 Commit message: "refactor: Rework Messaging bootstrap handler for removal of shared handler" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-11T17:49:22.483Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T17:49:22.581Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T17:49:22.634Z] ========================================================= [2021-05-11T17:49:22.634Z] EdgeX Global Pipelines Version Info [2021-05-11T17:49:22.634Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0734cdd67020a84f1ea440a79efb13ec8583638f # timeout=10 [2021-05-11T17:49:26.274Z] ------------------- [2021-05-11T17:49:26.275Z] stable info: [2021-05-11T17:49:26.275Z] ------------------- [2021-05-11T17:49:26.275Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T17:49:26.275Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T17:49:26.275Z] Message: update stable to v1.0.192 [2021-05-11T17:49:26.885Z] ------------------- [2021-05-11T17:49:26.885Z] experimental info: [2021-05-11T17:49:26.885Z] ------------------- [2021-05-11T17:49:26.885Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T17:49:26.885Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T17:49:26.885Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T17:49:27.174Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-11T17:49:27.201Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-11T17:49:27.225Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T17:49:27.248Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T17:49:27.272Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T17:49:27.304Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T17:49:27.328Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T17:49:27.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T17:49:27.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-11T17:49:27.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T17:49:27.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T17:49:27.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-11T17:49:27.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T17:49:27.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T17:49:27.537Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T17:49:27.563Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T17:49:27.586Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T17:49:27.609Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T17:49:27.632Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T17:49:27.656Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-11T17:49:27.680Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-11T17:49:27.704Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-11T17:49:27.728Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T17:49:27.751Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T17:49:27.776Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T17:49:27.800Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T17:49:27.824Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-922 [Pipeline] echo [2021-05-11T17:49:27.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-922 [Pipeline] echo [2021-05-11T17:49:27.889Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-922 [Pipeline] echo [2021-05-11T17:49:27.912Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2450f29224d09b4bc13a7c374e9a6562345f657 [Pipeline] echo [2021-05-11T17:49:27.936Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2450f2 [Pipeline] echo [2021-05-11T17:49:27.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T17:49:28.046Z] provisioning config files... [2021-05-11T17:49:28.087Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config1704621345734905830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:49:28.474Z] ---> docker-login.sh [2021-05-11T17:49:28.474Z] nexus3.edgexfoundry.org:10001 [2021-05-11T17:49:29.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:49:29.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:49:29.471Z] Configure a credential helper to remove this warning. See [2021-05-11T17:49:29.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:49:29.471Z] [2021-05-11T17:49:29.471Z] Login Succeeded [2021-05-11T17:49:29.471Z] nexus3.edgexfoundry.org:10002 [2021-05-11T17:49:29.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:49:30.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:49:30.053Z] Configure a credential helper to remove this warning. See [2021-05-11T17:49:30.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:49:30.053Z] [2021-05-11T17:49:30.053Z] Login Succeeded [2021-05-11T17:49:30.053Z] nexus3.edgexfoundry.org:10003 [2021-05-11T17:49:30.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:49:30.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:49:30.319Z] Configure a credential helper to remove this warning. See [2021-05-11T17:49:30.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:49:30.319Z] [2021-05-11T17:49:30.319Z] Login Succeeded [2021-05-11T17:49:30.319Z] nexus3.edgexfoundry.org:10004 [2021-05-11T17:49:30.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:49:30.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:49:30.319Z] Configure a credential helper to remove this warning. See [2021-05-11T17:49:30.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:49:30.319Z] [2021-05-11T17:49:30.319Z] Login Succeeded [2021-05-11T17:49:30.320Z] docker.io [2021-05-11T17:49:30.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:49:31.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:49:31.300Z] Configure a credential helper to remove this warning. See [2021-05-11T17:49:31.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:49:31.300Z] [2021-05-11T17:49:31.300Z] Login Succeeded [2021-05-11T17:49:31.300Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T17:49:31.326Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:49:31.870Z] + git log --format=format:%s -1 a2450f29224d09b4bc13a7c374e9a6562345f657 [Pipeline] echo [2021-05-11T17:49:32.069Z] GIT_COMMIT: a2450f29224d09b4bc13a7c374e9a6562345f657, Commit Message: refactor: Rework Messaging bootstrap handler for removal of shared handler [Pipeline] echo [2021-05-11T17:49:32.097Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:49:33.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:49:33.180Z] [2021-05-11T17:49:33.180Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:49:33.571Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:49:33.571Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T17:49:33.571Z] 31603596830f: Pulling fs layer [2021-05-11T17:49:33.571Z] 54011a49482f: Pulling fs layer [2021-05-11T17:49:33.571Z] a6820b24f6d8: Pulling fs layer [2021-05-11T17:49:33.571Z] f581987b2513: Pulling fs layer [2021-05-11T17:49:33.571Z] f581987b2513: Waiting [2021-05-11T17:49:33.571Z] 54011a49482f: Verifying Checksum [2021-05-11T17:49:33.571Z] 54011a49482f: Download complete [2021-05-11T17:49:33.849Z] 31603596830f: Verifying Checksum [2021-05-11T17:49:33.849Z] 31603596830f: Download complete [2021-05-11T17:49:34.126Z] a6820b24f6d8: Verifying Checksum [2021-05-11T17:49:34.126Z] a6820b24f6d8: Download complete [2021-05-11T17:49:34.126Z] f581987b2513: Verifying Checksum [2021-05-11T17:49:34.126Z] f581987b2513: Download complete [2021-05-11T17:49:34.408Z] 31603596830f: Pull complete [2021-05-11T17:49:34.408Z] 54011a49482f: Pull complete [2021-05-11T17:49:35.371Z] a6820b24f6d8: Pull complete [2021-05-11T17:49:35.640Z] f581987b2513: Pull complete [2021-05-11T17:49:35.640Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T17:49:35.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:49:35.640Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T17:49:35.978Z] prd-centos7-docker-4c-2g-4550 does not seem to be running inside a container [2021-05-11T17:49:36.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-922 -v /w/workspace/dgexfoundry_device-sdk-go_PR-922:/w/workspace/dgexfoundry_device-sdk-go_PR-922:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T17:49:38.382Z] $ docker top 1db08173b2ff4d24737c3b5e8728402b1b4c701a58be3780ae1ceb0ad96c3045 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T17:49:38.987Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T17:49:38.987Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T17:49:39.490Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T17:49:39.492Z] $ docker exec 1db08173b2ff4d24737c3b5e8728402b1b4c701a58be3780ae1ceb0ad96c3045 ssh-agent [2021-05-11T17:49:39.716Z] SSH_AUTH_SOCK=/tmp/ssh-7OvBEi6Njvxm/agent.12 [2021-05-11T17:49:39.716Z] SSH_AGENT_PID=18 [2021-05-11T17:49:39.728Z] Running ssh-add (command line suppressed) [2021-05-11T17:49:39.894Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_1201508147228756293.key (/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_1201508147228756293.key) [2021-05-11T17:49:39.971Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T17:49:40.285Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T17:49:40.305Z] $ docker exec --env ******** --env ******** 1db08173b2ff4d24737c3b5e8728402b1b4c701a58be3780ae1ceb0ad96c3045 ssh-agent -k [2021-05-11T17:49:40.466Z] unset SSH_AUTH_SOCK; [2021-05-11T17:49:40.469Z] unset SSH_AGENT_PID; [2021-05-11T17:49:40.469Z] echo Agent pid 18 killed; [2021-05-11T17:49:40.534Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T17:49:40.577Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T17:49:40.577Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T17:49:40.764Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T17:49:40.766Z] $ docker exec 1db08173b2ff4d24737c3b5e8728402b1b4c701a58be3780ae1ceb0ad96c3045 ssh-agent [2021-05-11T17:49:40.954Z] SSH_AUTH_SOCK=/tmp/ssh-cm2Ovzg0cfF6/agent.48 [2021-05-11T17:49:40.954Z] SSH_AGENT_PID=54 [2021-05-11T17:49:40.962Z] Running ssh-add (command line suppressed) [2021-05-11T17:49:41.086Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_7369093290374221595.key (/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/private_key_7369093290374221595.key) [2021-05-11T17:49:41.161Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T17:49:41.472Z] + git semver init [2021-05-11T17:49:41.473Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T17:49:41.473Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-922/.git [2021-05-11T17:49:41.473Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-922 [2021-05-11T17:49:41.473Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T17:49:41.473Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T17:49:41.473Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T17:49:41.473Z] # $SEMVER_BRANCH = PR-922 [2021-05-11T17:49:41.473Z] # $SEMVER_TEMP = /tmp/semver-149225864 [2021-05-11T17:49:41.473Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-11T17:49:42.447Z] # '/tmp/semver-149225864' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-922/.semver' [2021-05-11T17:49:42.447Z] # -> Force: false [2021-05-11T17:49:42.447Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-922/.semver [Pipeline] } [2021-05-11T17:49:42.477Z] $ docker exec --env ******** --env ******** 1db08173b2ff4d24737c3b5e8728402b1b4c701a58be3780ae1ceb0ad96c3045 ssh-agent -k [2021-05-11T17:49:42.954Z] unset SSH_AUTH_SOCK; [2021-05-11T17:49:42.957Z] unset SSH_AGENT_PID; [2021-05-11T17:49:42.957Z] echo Agent pid 54 killed; [2021-05-11T17:49:43.161Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T17:49:43.519Z] + git semver [Pipeline] } [2021-05-11T17:49:43.538Z] $ docker stop --time=1 1db08173b2ff4d24737c3b5e8728402b1b4c701a58be3780ae1ceb0ad96c3045 [2021-05-11T17:49:45.532Z] $ docker rm -f 1db08173b2ff4d24737c3b5e8728402b1b4c701a58be3780ae1ceb0ad96c3045 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T17:49:46.109Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T17:49:46.705Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T17:49:46.708Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-11T17:50:01.895Z] Still waiting to schedule task [2021-05-11T17:50:01.895Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4550’ [2021-05-11T17:50:01.898Z] Still waiting to schedule task [2021-05-11T17:50:01.898Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-11T17:51:51.237Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4551 in /w/workspace/dgexfoundry_device-sdk-go_PR-922 [Pipeline] { [Pipeline] ws [2021-05-11T17:51:51.266Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-05-11T17:51:57.003Z] using credential edgex-jenkins-ssh [2021-05-11T17:51:57.024Z] Cloning the remote Git repository [2021-05-11T17:51:57.119Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:51:57.252Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-05-11T17:51:57.348Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:51:57.349Z] > git --version # timeout=10 [2021-05-11T17:51:57.402Z] > git --version # 'git version 2.17.1' [2021-05-11T17:51:57.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:51:57.457Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:51:58.681Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:51:58.700Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:51:58.728Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:51:58.772Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:51:58.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:51:58.784Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/922/head:refs/remotes/origin/PR-922 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T17:51:59.414Z] Merging remotes/origin/master commit 889e38f586d888c0021f1798e3d6b8462ec57b6f into PR head commit a2450f29224d09b4bc13a7c374e9a6562345f657 [2021-05-11T17:51:59.638Z] Merge succeeded, producing a2450f29224d09b4bc13a7c374e9a6562345f657 [2021-05-11T17:51:59.638Z] Checking out Revision a2450f29224d09b4bc13a7c374e9a6562345f657 (PR-922) [2021-05-11T17:51:59.445Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:51:59.460Z] > git checkout -f a2450f29224d09b4bc13a7c374e9a6562345f657 # timeout=10 [2021-05-11T17:51:59.560Z] > git remote # timeout=10 [2021-05-11T17:51:59.579Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T17:51:59.591Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:51:59.601Z] > git merge 889e38f586d888c0021f1798e3d6b8462ec57b6f # timeout=10 [2021-05-11T17:51:59.625Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T17:51:59.657Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:51:59.681Z] > git checkout -f a2450f29224d09b4bc13a7c374e9a6562345f657 # timeout=10 [2021-05-11T17:52:04.011Z] Commit message: "refactor: Rework Messaging bootstrap handler for removal of shared handler" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:52:05.735Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:52:06.142Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:52:06.488Z] + + sudo servicetrue docker [2021-05-11T17:52:06.488Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T17:52:09.158Z] provisioning config files... [2021-05-11T17:52:09.204Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3352069363070674254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:52:09.590Z] ---> docker-login.sh [2021-05-11T17:52:09.590Z] nexus3.edgexfoundry.org:10001 [2021-05-11T17:52:10.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:52:10.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:52:10.852Z] Configure a credential helper to remove this warning. See [2021-05-11T17:52:10.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:52:10.852Z] [2021-05-11T17:52:10.852Z] Login Succeeded [2021-05-11T17:52:10.852Z] nexus3.edgexfoundry.org:10002 [2021-05-11T17:52:11.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:52:11.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:52:11.402Z] Configure a credential helper to remove this warning. See [2021-05-11T17:52:11.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:52:11.402Z] [2021-05-11T17:52:11.402Z] Login Succeeded [2021-05-11T17:52:11.402Z] nexus3.edgexfoundry.org:10003 [2021-05-11T17:52:11.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:52:11.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:52:11.962Z] Configure a credential helper to remove this warning. See [2021-05-11T17:52:11.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:52:11.962Z] [2021-05-11T17:52:11.962Z] Login Succeeded [2021-05-11T17:52:11.962Z] nexus3.edgexfoundry.org:10004 [2021-05-11T17:52:12.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:52:12.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:52:12.530Z] Configure a credential helper to remove this warning. See [2021-05-11T17:52:12.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:52:12.530Z] [2021-05-11T17:52:12.530Z] Login Succeeded [2021-05-11T17:52:12.530Z] docker.io [2021-05-11T17:52:12.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:52:13.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:52:13.402Z] Configure a credential helper to remove this warning. See [2021-05-11T17:52:13.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:52:13.403Z] [2021-05-11T17:52:13.403Z] Login Succeeded [2021-05-11T17:52:13.403Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T17:52:13.427Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T17:52:13.743Z] ========================================================= [2021-05-11T17:52:13.743Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T17:52:13.743Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:52:14.108Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-11T17:52:14.380Z] Sending build context to Docker daemon 2.582MB [2021-05-11T17:52:14.380Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:52:14.380Z] Step 2/8 : FROM ${BASE} [2021-05-11T17:52:14.654Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T17:52:14.654Z] 595b0fe564bb: Pulling fs layer [2021-05-11T17:52:14.654Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T17:52:14.654Z] 316046926c0a: Pulling fs layer [2021-05-11T17:52:14.654Z] 4ebd0625c992: Pulling fs layer [2021-05-11T17:52:14.654Z] 207e8628e3a3: Pulling fs layer [2021-05-11T17:52:14.654Z] c791037a9be2: Pulling fs layer [2021-05-11T17:52:14.654Z] ffd874e62e21: Pulling fs layer [2021-05-11T17:52:14.654Z] 4ebd0625c992: Waiting [2021-05-11T17:52:14.654Z] 207e8628e3a3: Waiting [2021-05-11T17:52:14.654Z] c791037a9be2: Waiting [2021-05-11T17:52:14.654Z] 316046926c0a: Download complete [2021-05-11T17:52:14.654Z] 7186ed65a4f7: Download complete [2021-05-11T17:52:14.654Z] 207e8628e3a3: Verifying Checksum [2021-05-11T17:52:14.654Z] 207e8628e3a3: Download complete [2021-05-11T17:52:14.654Z] c791037a9be2: Download complete [2021-05-11T17:52:14.654Z] 595b0fe564bb: Verifying Checksum [2021-05-11T17:52:14.654Z] 595b0fe564bb: Download complete [2021-05-11T17:52:15.642Z] 595b0fe564bb: Pull complete [2021-05-11T17:52:15.923Z] 7186ed65a4f7: Pull complete [2021-05-11T17:52:16.529Z] 316046926c0a: Pull complete [2021-05-11T17:52:17.511Z] ffd874e62e21: Verifying Checksum [2021-05-11T17:52:17.511Z] ffd874e62e21: Download complete [2021-05-11T17:52:18.112Z] 4ebd0625c992: Verifying Checksum [2021-05-11T17:52:18.112Z] 4ebd0625c992: Download complete [2021-05-11T17:52:30.520Z] 4ebd0625c992: Pull complete [2021-05-11T17:52:30.520Z] 207e8628e3a3: Pull complete [2021-05-11T17:52:30.520Z] c791037a9be2: Pull complete [2021-05-11T17:52:33.170Z] ffd874e62e21: Pull complete [2021-05-11T17:52:33.170Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T17:52:33.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T17:52:33.170Z] ---> cfc18b08335c [2021-05-11T17:52:33.170Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:52:35.807Z] ---> Running in 718230f8874d [2021-05-11T17:52:36.405Z] Removing intermediate container 718230f8874d [2021-05-11T17:52:36.406Z] ---> bc24f7aade92 [2021-05-11T17:52:36.406Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:52:36.406Z] ---> Running in b925f69e7f2e [2021-05-11T17:52:39.045Z] Removing intermediate container b925f69e7f2e [2021-05-11T17:52:39.045Z] ---> f49e7ed10da6 [2021-05-11T17:52:39.045Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-11T17:52:39.045Z] ---> Running in d4313c30cbf8 [2021-05-11T17:52:40.037Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T17:52:41.023Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T17:52:42.002Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-11T17:52:42.002Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-11T17:52:42.002Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-11T17:52:42.277Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-11T17:52:42.277Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-11T17:52:42.277Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-11T17:52:42.549Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T17:52:42.549Z] OK: 139 MiB in 46 packages [2021-05-11T17:52:44.009Z] Removing intermediate container d4313c30cbf8 [2021-05-11T17:52:44.009Z] ---> a4488b526103 [2021-05-11T17:52:44.009Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-11T17:52:44.009Z] ---> Running in bc854026af04 [2021-05-11T17:52:44.606Z] Removing intermediate container bc854026af04 [2021-05-11T17:52:44.606Z] ---> 5a2f9c4002ba [2021-05-11T17:52:44.606Z] Step 7/8 : COPY . . [2021-05-11T17:52:46.057Z] ---> 8793be71c575 [2021-05-11T17:52:46.057Z] Step 8/8 : RUN go mod download [2021-05-11T17:52:46.057Z] ---> Running in 83aee151ff88 [2021-05-11T17:52:56.100Z] Running on prd-centos7-docker-4c-2g-4552 in /w/workspace/dgexfoundry_device-sdk-go_PR-922 [Pipeline] { [Pipeline] ws [2021-05-11T17:52:56.122Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-05-11T17:53:00.019Z] using credential edgex-jenkins-ssh [2021-05-11T17:53:00.033Z] Cloning the remote Git repository [2021-05-11T17:53:00.101Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:53:00.211Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-05-11T17:53:00.324Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:53:00.324Z] > git --version # timeout=10 [2021-05-11T17:53:00.460Z] > git --version # 'git version 2.24.3' [2021-05-11T17:53:00.463Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:53:00.615Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:53:01.657Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:53:01.726Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:53:01.769Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:53:01.840Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:53:01.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:53:01.864Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/922/head:refs/remotes/origin/PR-922 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T17:53:03.237Z] Merging remotes/origin/master commit 889e38f586d888c0021f1798e3d6b8462ec57b6f into PR head commit a2450f29224d09b4bc13a7c374e9a6562345f657 [2021-05-11T17:53:03.348Z] Merge succeeded, producing a2450f29224d09b4bc13a7c374e9a6562345f657 [2021-05-11T17:53:03.348Z] Checking out Revision a2450f29224d09b4bc13a7c374e9a6562345f657 (PR-922) [2021-05-11T17:53:03.243Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:53:03.250Z] > git checkout -f a2450f29224d09b4bc13a7c374e9a6562345f657 # timeout=10 [2021-05-11T17:53:03.306Z] > git remote # timeout=10 [2021-05-11T17:53:03.312Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T17:53:03.325Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:53:03.329Z] > git merge 889e38f586d888c0021f1798e3d6b8462ec57b6f # timeout=10 [2021-05-11T17:53:03.340Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T17:53:03.349Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:53:03.355Z] > git checkout -f a2450f29224d09b4bc13a7c374e9a6562345f657 # timeout=10 [2021-05-11T17:53:07.134Z] Commit message: "refactor: Rework Messaging bootstrap handler for removal of shared handler" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:53:08.340Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:53:08.736Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:53:09.100Z] + sudo service docker restart [2021-05-11T17:53:09.100Z] + true [2021-05-11T17:53:09.100Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T17:53:10.533Z] provisioning config files... [2021-05-11T17:53:10.573Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3559125330158750838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:53:10.945Z] ---> docker-login.sh [2021-05-11T17:53:10.945Z] nexus3.edgexfoundry.org:10001 [2021-05-11T17:53:11.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:53:11.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:53:11.488Z] Configure a credential helper to remove this warning. See [2021-05-11T17:53:11.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:53:11.488Z] [2021-05-11T17:53:11.488Z] Login Succeeded [2021-05-11T17:53:11.488Z] nexus3.edgexfoundry.org:10002 [2021-05-11T17:53:11.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:53:11.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:53:11.757Z] Configure a credential helper to remove this warning. See [2021-05-11T17:53:11.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:53:11.757Z] [2021-05-11T17:53:11.757Z] Login Succeeded [2021-05-11T17:53:11.757Z] nexus3.edgexfoundry.org:10003 [2021-05-11T17:53:12.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:53:12.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:53:12.409Z] Configure a credential helper to remove this warning. See [2021-05-11T17:53:12.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:53:12.409Z] [2021-05-11T17:53:12.409Z] Login Succeeded [2021-05-11T17:53:12.409Z] nexus3.edgexfoundry.org:10004 [2021-05-11T17:53:12.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:53:12.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:53:12.719Z] Configure a credential helper to remove this warning. See [2021-05-11T17:53:12.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:53:12.719Z] [2021-05-11T17:53:12.719Z] Login Succeeded [2021-05-11T17:53:12.719Z] docker.io [2021-05-11T17:53:13.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:53:13.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:53:13.631Z] Configure a credential helper to remove this warning. See [2021-05-11T17:53:13.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:53:13.631Z] [2021-05-11T17:53:13.631Z] Login Succeeded [2021-05-11T17:53:13.631Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T17:53:13.659Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T17:53:13.898Z] ========================================================= [2021-05-11T17:53:13.898Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T17:53:13.898Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:53:14.220Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-11T17:53:14.220Z] Sending build context to Docker daemon 2.583MB [2021-05-11T17:53:14.509Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:53:14.509Z] Step 2/8 : FROM ${BASE} [2021-05-11T17:53:14.509Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T17:53:14.509Z] 540db60ca938: Pulling fs layer [2021-05-11T17:53:14.509Z] adcc1eea9eea: Pulling fs layer [2021-05-11T17:53:14.509Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T17:53:14.509Z] 0510c868ecb4: Pulling fs layer [2021-05-11T17:53:14.509Z] afea3b2eda06: Pulling fs layer [2021-05-11T17:53:14.509Z] 7809a108b3ef: Pulling fs layer [2021-05-11T17:53:14.509Z] f706445af74f: Pulling fs layer [2021-05-11T17:53:14.509Z] 0510c868ecb4: Waiting [2021-05-11T17:53:14.509Z] afea3b2eda06: Waiting [2021-05-11T17:53:14.509Z] 7809a108b3ef: Waiting [2021-05-11T17:53:14.509Z] f706445af74f: Waiting [2021-05-11T17:53:14.509Z] 4c4ab2625f07: Verifying Checksum [2021-05-11T17:53:14.509Z] 4c4ab2625f07: Download complete [2021-05-11T17:53:14.509Z] adcc1eea9eea: Verifying Checksum [2021-05-11T17:53:14.509Z] adcc1eea9eea: Download complete [2021-05-11T17:53:14.509Z] afea3b2eda06: Verifying Checksum [2021-05-11T17:53:14.509Z] afea3b2eda06: Download complete [2021-05-11T17:53:14.509Z] 7809a108b3ef: Verifying Checksum [2021-05-11T17:53:14.509Z] 7809a108b3ef: Download complete [2021-05-11T17:53:14.509Z] 540db60ca938: Verifying Checksum [2021-05-11T17:53:14.509Z] 540db60ca938: Download complete [2021-05-11T17:53:15.131Z] 540db60ca938: Pull complete [2021-05-11T17:53:15.419Z] adcc1eea9eea: Pull complete [2021-05-11T17:53:15.697Z] 4c4ab2625f07: Pull complete [2021-05-11T17:53:16.679Z] f706445af74f: Verifying Checksum [2021-05-11T17:53:16.679Z] f706445af74f: Download complete [2021-05-11T17:53:18.097Z] 0510c868ecb4: Verifying Checksum [2021-05-11T17:53:18.097Z] 0510c868ecb4: Download complete [2021-05-11T17:53:18.448Z] Removing intermediate container 83aee151ff88 [2021-05-11T17:53:18.448Z] ---> 95c9cf30c562 [2021-05-11T17:53:18.448Z] Successfully built 95c9cf30c562 [2021-05-11T17:53:18.448Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:53:18.789Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T17:53:18.789Z] . [Pipeline] withDockerContainer [2021-05-11T17:53:19.061Z] prd-ubuntu18.04-docker-arm64-4c-16g-4551 does not seem to be running inside a container [2021-05-11T17:53:19.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T17:53:20.702Z] $ docker top 96f84e54bac47147d7a9ae01a9e1402372a3b3b3c4b45672a0b51b631e7c486b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:53:21.655Z] + go version [2021-05-11T17:53:21.655Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T17:53:21.678Z] $ docker stop --time=1 96f84e54bac47147d7a9ae01a9e1402372a3b3b3c4b45672a0b51b631e7c486b [2021-05-11T17:53:23.627Z] $ docker rm -f 96f84e54bac47147d7a9ae01a9e1402372a3b3b3c4b45672a0b51b631e7c486b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:53:24.340Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T17:53:24.341Z] . [Pipeline] withDockerContainer [2021-05-11T17:53:24.602Z] prd-ubuntu18.04-docker-arm64-4c-16g-4551 does not seem to be running inside a container [2021-05-11T17:53:24.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T17:53:24.838Z] 0510c868ecb4: Pull complete [2021-05-11T17:53:25.107Z] afea3b2eda06: Pull complete [2021-05-11T17:53:25.385Z] 7809a108b3ef: Pull complete [2021-05-11T17:53:26.168Z] $ docker top 711bc783830faac61b0ede5f480f6e01711a515265e30f4c1787a3b7b0c50392 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:53:27.110Z] + go mod tidy [Pipeline] sh [2021-05-11T17:53:28.364Z] + make test [2021-05-11T17:53:28.364Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-11T17:53:30.740Z] f706445af74f: Pull complete [2021-05-11T17:53:30.740Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T17:53:30.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T17:53:30.741Z] ---> b068be0155e3 [2021-05-11T17:53:30.741Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:53:30.741Z] ---> Running in c88c7eeca69a [2021-05-11T17:53:30.741Z] Removing intermediate container c88c7eeca69a [2021-05-11T17:53:30.741Z] ---> 629133dadf35 [2021-05-11T17:53:30.741Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:53:30.741Z] ---> Running in 08768815a386 [2021-05-11T17:53:32.154Z] Removing intermediate container 08768815a386 [2021-05-11T17:53:32.154Z] ---> 86e738644b06 [2021-05-11T17:53:32.154Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-11T17:53:32.154Z] ---> Running in aa0586d676ac [2021-05-11T17:53:33.114Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T17:53:34.071Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:53:34.336Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-11T17:53:34.601Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-11T17:53:34.601Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-11T17:53:34.601Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-11T17:53:34.868Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-11T17:53:34.868Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-11T17:53:35.137Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T17:53:35.137Z] OK: 150 MiB in 46 packages [2021-05-11T17:53:35.718Z] Removing intermediate container aa0586d676ac [2021-05-11T17:53:35.718Z] ---> b0774b2d9006 [2021-05-11T17:53:35.718Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-11T17:53:35.718Z] ---> Running in a22226b4f6c1 [2021-05-11T17:53:35.984Z] Removing intermediate container a22226b4f6c1 [2021-05-11T17:53:35.984Z] ---> 89f05dd18443 [2021-05-11T17:53:35.984Z] Step 7/8 : COPY . . [2021-05-11T17:53:36.942Z] ---> e4b3f888a277 [2021-05-11T17:53:36.942Z] Step 8/8 : RUN go mod download [2021-05-11T17:53:37.214Z] ---> Running in 3231d42ccbb9 [2021-05-11T17:53:55.166Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-11T17:54:04.047Z] Removing intermediate container 3231d42ccbb9 [2021-05-11T17:54:04.047Z] ---> e3de64b3986a [2021-05-11T17:54:04.047Z] Successfully built e3de64b3986a [2021-05-11T17:54:04.047Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:54:04.550Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T17:54:04.856Z] . [Pipeline] withDockerContainer [2021-05-11T17:54:05.399Z] prd-centos7-docker-4c-2g-4552 does not seem to be running inside a container [2021-05-11T17:54:05.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T17:54:07.228Z] $ docker top 1a9e2cded48a5014aff7a06e0d2ff12f066b3474b58cd8ba8a83eaea95a2d4c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:54:08.426Z] + go version [2021-05-11T17:54:08.426Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T17:54:08.483Z] $ docker stop --time=1 1a9e2cded48a5014aff7a06e0d2ff12f066b3474b58cd8ba8a83eaea95a2d4c2 [2021-05-11T17:54:10.101Z] $ docker rm -f 1a9e2cded48a5014aff7a06e0d2ff12f066b3474b58cd8ba8a83eaea95a2d4c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:54:10.777Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T17:54:10.777Z] . [Pipeline] withDockerContainer [2021-05-11T17:54:11.076Z] prd-centos7-docker-4c-2g-4552 does not seem to be running inside a container [2021-05-11T17:54:11.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T17:54:12.776Z] $ docker top c9001438794db3c64151ad230cd199c48ae9bd23a6cef1d5516525754a0987cf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:54:13.479Z] + go mod tidy [Pipeline] sh [2021-05-11T17:54:14.539Z] + make test [2021-05-11T17:54:14.540Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-11T17:54:27.251Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-11T17:54:51.776Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-11T17:54:51.776Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-11T17:54:51.776Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-11T17:55:00.606Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-11T17:55:00.606Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-11T17:55:00.606Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-11T17:55:02.381Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.107s coverage: 25.4% of statements [2021-05-11T17:55:02.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-11T17:55:02.381Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.113s coverage: 28.1% of statements [2021-05-11T17:55:02.381Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.093s coverage: 78.9% of statements [2021-05-11T17:55:02.381Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.120s coverage: 10.7% of statements [2021-05-11T17:55:02.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-11T17:55:02.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-11T17:55:02.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-11T17:55:04.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 30.2% of statements [2021-05-11T17:55:04.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-11T17:55:06.319Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.113s coverage: 83.3% of statements [2021-05-11T17:55:06.319Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-11T17:55:06.319Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-11T17:55:06.319Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.142s coverage: 58.4% of statements [2021-05-11T17:55:06.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.180s coverage: 25.4% of statements [2021-05-11T17:55:06.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-11T17:55:06.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 28.1% of statements [2021-05-11T17:55:06.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.177s coverage: 78.9% of statements [2021-05-11T17:55:06.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.220s coverage: 10.7% of statements [2021-05-11T17:55:06.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-11T17:55:06.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-11T17:55:06.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-11T17:55:07.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.295s coverage: 89.2% of statements [2021-05-11T17:55:07.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-11T17:55:07.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 5.0% of statements [2021-05-11T17:55:07.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-11T17:55:07.877Z] GO111MODULE=on go vet ./... [2021-05-11T17:55:08.322Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.262s coverage: 30.2% of statements [2021-05-11T17:55:08.322Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-11T17:55:09.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.188s coverage: 83.3% of statements [2021-05-11T17:55:09.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-11T17:55:09.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-11T17:55:09.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.285s coverage: 58.4% of statements [2021-05-11T17:55:12.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.034s coverage: 89.2% of statements [2021-05-11T17:55:12.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-11T17:55:12.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 5.0% of statements [2021-05-11T17:55:12.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-11T17:55:12.983Z] GO111MODULE=on go vet ./... [2021-05-11T17:55:34.771Z] gofmt -l . [2021-05-11T17:55:34.771Z] [ "`gofmt -l .`" = "" ] [2021-05-11T17:55:34.771Z] ./bin/test-attribution-txt.sh [2021-05-11T17:55:34.771Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T17:55:34.796Z] $ docker stop --time=1 c9001438794db3c64151ad230cd199c48ae9bd23a6cef1d5516525754a0987cf [2021-05-11T17:55:36.686Z] $ docker rm -f c9001438794db3c64151ad230cd199c48ae9bd23a6cef1d5516525754a0987cf [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T17:55:37.818Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T17:55:38.373Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-11T17:55:41.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T17:55:41.773Z] + ls -al . [2021-05-11T17:55:41.773Z] total 208 [2021-05-11T17:55:41.773Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 11 17:55 . [2021-05-11T17:55:41.773Z] drwxrwxr-x. 4 jenkins jenkins 28 May 11 17:53 .. [2021-05-11T17:55:41.773Z] drwxrwxr-x. 2 jenkins jenkins 64 May 11 17:53 bin [2021-05-11T17:55:41.773Z] -rw-r--r--. 1 jenkins jenkins 126002 May 11 17:55 coverage.out [2021-05-11T17:55:41.773Z] -rw-rw-r--. 1 jenkins jenkins 987 May 11 17:53 Dockerfile.build [2021-05-11T17:55:41.773Z] -rw-rw-r--. 1 jenkins jenkins 140 May 11 17:53 .dockerignore [2021-05-11T17:55:41.773Z] drwxrwxr-x. 5 jenkins jenkins 62 May 11 17:53 example [2021-05-11T17:55:41.773Z] drwxrwxr-x. 8 jenkins jenkins 179 May 11 17:53 .git [2021-05-11T17:55:41.773Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 17:53 .github [2021-05-11T17:55:41.773Z] -rw-rw-r--. 1 jenkins jenkins 138 May 11 17:53 .gitignore [2021-05-11T17:55:41.773Z] -rw-r--r--. 1 jenkins jenkins 575 May 11 17:55 go.mod [2021-05-11T17:55:41.773Z] -rw-r--r--. 1 jenkins jenkins 20408 May 11 17:54 go.sum [2021-05-11T17:55:41.773Z] drwxrwxr-x. 15 jenkins jenkins 224 May 11 17:53 internal [2021-05-11T17:55:41.773Z] -rw-rw-r--. 1 jenkins jenkins 894 May 11 17:53 Jenkinsfile [2021-05-11T17:55:41.773Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 11 17:53 LICENSE [2021-05-11T17:55:41.773Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 11 17:53 Makefile [2021-05-11T17:55:41.773Z] drwxrwxr-x. 4 jenkins jenkins 26 May 11 17:53 openapi [2021-05-11T17:55:41.773Z] drwxrwxr-x. 5 jenkins jenkins 50 May 11 17:53 pkg [2021-05-11T17:55:41.774Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 11 17:53 README.md [2021-05-11T17:55:41.774Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 11 17:53 RELEASE-NOTES.txt [2021-05-11T17:55:41.774Z] drwxrwxr-x. 4 jenkins jenkins 54 May 11 17:53 snap [2021-05-11T17:55:41.774Z] -rw-rw-r--. 1 jenkins jenkins 5 May 11 17:49 VERSION [2021-05-11T17:55:41.774Z] -rw-rw-r--. 1 jenkins jenkins 222 May 11 17:53 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:55:42.161Z] + 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=a2450f29224d09b4bc13a7c374e9a6562345f657 --label arch=amd64 --label version=0.0.0 . [2021-05-11T17:55:42.775Z] Sending build context to Docker daemon 2.71MB [2021-05-11T17:55:42.775Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:55:42.775Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-11T17:55:42.775Z] ---> e3de64b3986a [2021-05-11T17:55:42.775Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-11T17:55:43.354Z] ---> Running in a47ee8b1fd20 [2021-05-11T17:55:43.632Z] Removing intermediate container a47ee8b1fd20 [2021-05-11T17:55:43.632Z] ---> ae5e420b06bd [2021-05-11T17:55:43.632Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:55:43.632Z] ---> Running in 151bbd1a6080 [2021-05-11T17:55:43.901Z] Removing intermediate container 151bbd1a6080 [2021-05-11T17:55:43.901Z] ---> 03ed5db41623 [2021-05-11T17:55:43.901Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:55:43.901Z] ---> Running in 71d4f5f97350 [2021-05-11T17:55:45.862Z] Removing intermediate container 71d4f5f97350 [2021-05-11T17:55:45.862Z] ---> dae9f16b7e4f [2021-05-11T17:55:45.862Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T17:55:45.862Z] ---> Running in 4de5bb884e2f [2021-05-11T17:55:46.457Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T17:55:47.406Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:55:47.996Z] OK: 150 MiB in 46 packages [2021-05-11T17:55:48.971Z] Removing intermediate container 4de5bb884e2f [2021-05-11T17:55:48.971Z] ---> eeba76f8e859 [2021-05-11T17:55:48.971Z] Step 7/23 : COPY . . [2021-05-11T17:55:49.941Z] ---> 3221e5ec587a [2021-05-11T17:55:49.941Z] Step 8/23 : RUN go mod download [2021-05-11T17:55:49.941Z] ---> Running in 25968d44a817 [2021-05-11T17:55:51.367Z] Removing intermediate container 25968d44a817 [2021-05-11T17:55:51.367Z] ---> adbb951d01e6 [2021-05-11T17:55:51.367Z] Step 9/23 : RUN make build [2021-05-11T17:55:51.367Z] ---> Running in c375cc5fdd42 [2021-05-11T17:55:51.963Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-11T17:56:09.577Z] gofmt -l . [2021-05-11T17:56:09.577Z] [ "`gofmt -l .`" = "" ] [2021-05-11T17:56:09.577Z] ./bin/test-attribution-txt.sh [2021-05-11T17:56:09.577Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T17:56:09.600Z] $ docker stop --time=1 711bc783830faac61b0ede5f480f6e01711a515265e30f4c1787a3b7b0c50392 [2021-05-11T17:56:10.558Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-11T17:56:10.558Z] Removing intermediate container c375cc5fdd42 [2021-05-11T17:56:10.558Z] ---> b175406d3fec [2021-05-11T17:56:10.558Z] Step 10/23 : FROM alpine:3.12 [2021-05-11T17:56:10.834Z] 3.12: Pulling from library/alpine [2021-05-11T17:56:10.834Z] 339de151aab4: Pulling fs layer [2021-05-11T17:56:11.111Z] 339de151aab4: Verifying Checksum [2021-05-11T17:56:11.111Z] 339de151aab4: Download complete [2021-05-11T17:56:11.377Z] 339de151aab4: Pull complete [2021-05-11T17:56:11.377Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T17:56:11.377Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T17:56:11.377Z] ---> 13621d1b12d4 [2021-05-11T17:56:11.377Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:56:11.644Z] ---> Running in 26e2efc296d5 [2021-05-11T17:56:11.764Z] $ docker rm -f 711bc783830faac61b0ede5f480f6e01711a515265e30f4c1787a3b7b0c50392 [2021-05-11T17:56:11.915Z] Removing intermediate container 26e2efc296d5 [2021-05-11T17:56:11.915Z] ---> e7b546650439 [2021-05-11T17:56:11.915Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:56:11.915Z] ---> Running in 7c0ad2a97ac3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T17:56:12.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T17:56:12.876Z] Warning: overwriting stash ‘coverage-report’ [2021-05-11T17:56:13.352Z] Removing intermediate container 7c0ad2a97ac3 [2021-05-11T17:56:13.352Z] ---> 15b92ec6851b [2021-05-11T17:56:13.352Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-11T17:56:13.352Z] ---> Running in 91d8d921dd68 [2021-05-11T17:56:13.850Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:56:14.310Z] + sudo chown -R jenkins:jenkins . [2021-05-11T17:56:14.325Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] sh [2021-05-11T17:56:14.697Z] + ls -al . [2021-05-11T17:56:14.697Z] total 244 [2021-05-11T17:56:14.697Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 17:56 . [2021-05-11T17:56:14.697Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:51 .. [2021-05-11T17:56:14.697Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 17:51 .dockerignore [2021-05-11T17:56:14.697Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 17:52 .git [2021-05-11T17:56:14.697Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:51 .github [2021-05-11T17:56:14.697Z] -rw-rw-r-- 1 jenkins jenkins 138 May 11 17:51 .gitignore [2021-05-11T17:56:14.697Z] -rw-rw-r-- 1 jenkins jenkins 987 May 11 17:51 Dockerfile.build [2021-05-11T17:56:14.697Z] -rw-rw-r-- 1 jenkins jenkins 894 May 11 17:51 Jenkinsfile [2021-05-11T17:56:14.697Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 11 17:51 LICENSE [2021-05-11T17:56:14.697Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 11 17:51 Makefile [2021-05-11T17:56:14.697Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 11 17:51 README.md [2021-05-11T17:56:14.697Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 11 17:51 RELEASE-NOTES.txt [2021-05-11T17:56:14.697Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 17:49 VERSION [2021-05-11T17:56:14.697Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:51 bin [2021-05-11T17:56:14.697Z] -rw-r--r-- 1 jenkins jenkins 126002 May 11 17:55 coverage.out [2021-05-11T17:56:14.697Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 17:51 example [2021-05-11T17:56:14.697Z] -rw-r--r-- 1 jenkins jenkins 575 May 11 17:56 go.mod [2021-05-11T17:56:14.697Z] -rw-r--r-- 1 jenkins jenkins 20408 May 11 17:53 go.sum [2021-05-11T17:56:14.697Z] drwxrwxr-x 15 jenkins jenkins 4096 May 11 17:51 internal [2021-05-11T17:56:14.697Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:51 openapi [2021-05-11T17:56:14.697Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 17:51 pkg [2021-05-11T17:56:14.697Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:51 snap [2021-05-11T17:56:14.697Z] -rw-rw-r-- 1 jenkins jenkins 222 May 11 17:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:56:14.909Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:56:15.083Z] + 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=a2450f29224d09b4bc13a7c374e9a6562345f657 --label arch=arm64 --label version=0.0.0 . [2021-05-11T17:56:15.172Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-11T17:56:15.434Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-11T17:56:15.435Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-11T17:56:15.716Z] Sending build context to Docker daemon 2.709MB [2021-05-11T17:56:15.716Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:56:15.716Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-11T17:56:15.716Z] ---> 95c9cf30c562 [2021-05-11T17:56:15.716Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-11T17:56:16.038Z] ---> Running in 4d68e09fc7ee [2021-05-11T17:56:16.370Z] Removing intermediate container 4d68e09fc7ee [2021-05-11T17:56:16.370Z] ---> 40d9a91e261c [2021-05-11T17:56:16.370Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:56:16.409Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-11T17:56:16.409Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-11T17:56:16.409Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T17:56:16.409Z] OK: 8 MiB in 19 packages [2021-05-11T17:56:16.692Z] ---> Running in eb55ebc08e43 [2021-05-11T17:56:16.980Z] Removing intermediate container eb55ebc08e43 [2021-05-11T17:56:16.980Z] ---> 6ee06ad0aa26 [2021-05-11T17:56:16.980Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:56:16.989Z] Removing intermediate container 91d8d921dd68 [2021-05-11T17:56:16.989Z] ---> df022b999697 [2021-05-11T17:56:16.989Z] Step 14/23 : WORKDIR / [2021-05-11T17:56:17.253Z] ---> Running in dff42357aabf [2021-05-11T17:56:17.256Z] ---> Running in 21bea064fd84 [2021-05-11T17:56:17.256Z] Removing intermediate container 21bea064fd84 [2021-05-11T17:56:17.256Z] ---> 96a701b5dfd5 [2021-05-11T17:56:17.256Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-11T17:56:17.837Z] ---> ac819f460a48 [2021-05-11T17:56:17.837Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-11T17:56:18.417Z] ---> 3ec390e0e54e [2021-05-11T17:56:18.418Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-11T17:56:18.683Z] ---> 6feb3fb477f3 [2021-05-11T17:56:18.683Z] Step 18/23 : EXPOSE 49990 [2021-05-11T17:56:18.683Z] ---> Running in 2932c0397811 [2021-05-11T17:56:18.950Z] Removing intermediate container 2932c0397811 [2021-05-11T17:56:18.950Z] ---> 99d6b8ef8017 [2021-05-11T17:56:18.950Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-11T17:56:18.950Z] ---> Running in e2f9a618660d [2021-05-11T17:56:19.215Z] Removing intermediate container dff42357aabf [2021-05-11T17:56:19.215Z] ---> b8cf7bd33dd2 [2021-05-11T17:56:19.215Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T17:56:19.215Z] ---> Running in 2bc19ba9e88f [2021-05-11T17:56:19.228Z] Removing intermediate container e2f9a618660d [2021-05-11T17:56:19.228Z] ---> d1ff55a9bfba [2021-05-11T17:56:19.228Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T17:56:19.228Z] ---> Running in 072825731ccb [2021-05-11T17:56:19.501Z] Removing intermediate container 072825731ccb [2021-05-11T17:56:19.502Z] ---> 41c31a34e97c [2021-05-11T17:56:19.502Z] Step 21/23 : LABEL arch=amd64 [2021-05-11T17:56:19.502Z] ---> Running in 627ea1fd2c34 [2021-05-11T17:56:19.769Z] Removing intermediate container 627ea1fd2c34 [2021-05-11T17:56:19.769Z] ---> 3d62de890d70 [2021-05-11T17:56:19.769Z] Step 22/23 : LABEL git_sha=a2450f29224d09b4bc13a7c374e9a6562345f657 [2021-05-11T17:56:19.769Z] ---> Running in 136ed8fc8b48 [2021-05-11T17:56:20.032Z] Removing intermediate container 136ed8fc8b48 [2021-05-11T17:56:20.032Z] ---> 589d8e68cbdd [2021-05-11T17:56:20.032Z] Step 23/23 : LABEL version=0.0.0 [2021-05-11T17:56:20.032Z] ---> Running in 76aea54fee14 [2021-05-11T17:56:20.205Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T17:56:20.301Z] Removing intermediate container 76aea54fee14 [2021-05-11T17:56:20.301Z] ---> 7e1d2c5c8647 [2021-05-11T17:56:20.301Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-11T17:56:20.301Z] Successfully built 7e1d2c5c8647 [2021-05-11T17:56:20.301Z] 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-11T17:56:21.060Z] ---> job-cost.sh [2021-05-11T17:56:21.060Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZV4e [2021-05-11T17:56:21.194Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T17:56:21.787Z] OK: 139 MiB in 46 packages [2021-05-11T17:56:23.242Z] Removing intermediate container 2bc19ba9e88f [2021-05-11T17:56:23.242Z] ---> c1cdd3acdc15 [2021-05-11T17:56:23.242Z] Step 7/23 : COPY . . [2021-05-11T17:56:24.215Z] ---> a2751e6f8a56 [2021-05-11T17:56:24.215Z] Step 8/23 : RUN go mod download [2021-05-11T17:56:24.485Z] ---> Running in bc82f5d391d9 [2021-05-11T17:56:27.100Z] Removing intermediate container bc82f5d391d9 [2021-05-11T17:56:27.100Z] ---> 094d91f36097 [2021-05-11T17:56:27.100Z] Step 9/23 : RUN make build [2021-05-11T17:56:27.100Z] ---> Running in 0f6f4272e0ab [2021-05-11T17:56:27.698Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-11T17:56:39.261Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T17:57:00.066Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-11T17:57:02.679Z] Removing intermediate container 0f6f4272e0ab [2021-05-11T17:57:02.679Z] ---> 0ad3594f0b4d [2021-05-11T17:57:02.679Z] Step 10/23 : FROM alpine:3.12 [2021-05-11T17:57:03.272Z] 3.12: Pulling from library/alpine [2021-05-11T17:57:03.542Z] d2f70382dc9a: Pulling fs layer [2021-05-11T17:57:03.814Z] d2f70382dc9a: Verifying Checksum [2021-05-11T17:57:03.814Z] d2f70382dc9a: Download complete [2021-05-11T17:57:04.410Z] d2f70382dc9a: Pull complete [2021-05-11T17:57:04.410Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T17:57:04.410Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T17:57:04.410Z] ---> 9852663dfa18 [2021-05-11T17:57:04.411Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:57:04.682Z] ---> Running in 00e3bbd2bd58 [2021-05-11T17:57:04.953Z] Removing intermediate container 00e3bbd2bd58 [2021-05-11T17:57:04.953Z] ---> 4f400bd64a22 [2021-05-11T17:57:04.953Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:57:05.225Z] ---> Running in a842db67f0ff [2021-05-11T17:57:07.201Z] Removing intermediate container a842db67f0ff [2021-05-11T17:57:07.201Z] ---> fe36669ff1c2 [2021-05-11T17:57:07.201Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-11T17:57:07.472Z] ---> Running in d1984128a98a [2021-05-11T17:57:08.448Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-11T17:57:09.421Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-11T17:57:10.013Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-11T17:57:10.013Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-11T17:57:10.285Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-11T17:57:10.285Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-11T17:57:10.558Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-11T17:57:10.558Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T17:57:10.558Z] OK: 8 MiB in 19 packages [2021-05-11T17:57:11.541Z] lf-activate-venv(): INFO: Adding /tmp/venv-ZV4e/bin to PATH [2021-05-11T17:57:11.541Z] INFO: No Stack... [2021-05-11T17:57:11.541Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T17:57:11.541Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T17:57:11.902Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-05-11T17:57:11.902Z] + cut -d, -f6 [2021-05-11T17:57:11.992Z] Removing intermediate container d1984128a98a [2021-05-11T17:57:11.992Z] ---> beeeb6df28e4 [2021-05-11T17:57:11.992Z] Step 14/23 : WORKDIR / [2021-05-11T17:57:11.992Z] ---> Running in 9f7817d59d89 [Pipeline] lock [2021-05-11T17:57:12.048Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] [2021-05-11T17:57:12.065Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] did not exist. Created. [2021-05-11T17:57:12.065Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T17:57:12.443Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T17:57:12.590Z] Removing intermediate container 9f7817d59d89 [2021-05-11T17:57:12.590Z] ---> 388fe27d9c6b [2021-05-11T17:57:12.590Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-11T17:57:12.763Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T17:57:12.776Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T17:57:13.190Z] ---> 7b54a4219c43 [2021-05-11T17:57:13.190Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-11T17:57:14.625Z] ---> f52f565676a4 [2021-05-11T17:57:14.625Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-11T17:57:15.221Z] ---> 56a392ce24e9 [2021-05-11T17:57:15.221Z] Step 18/23 : EXPOSE 49990 [2021-05-11T17:57:15.492Z] ---> Running in fcaa6d3430a4 [2021-05-11T17:57:16.087Z] Removing intermediate container fcaa6d3430a4 [2021-05-11T17:57:16.087Z] ---> e5a06f6461ea [2021-05-11T17:57:16.087Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-11T17:57:16.087Z] ---> Running in e1a8d7ce8bcc [2021-05-11T17:57:16.682Z] Removing intermediate container e1a8d7ce8bcc [2021-05-11T17:57:16.682Z] ---> bcbf104fa247 [2021-05-11T17:57:16.682Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T17:57:16.682Z] ---> Running in a4be72c2627b [2021-05-11T17:57:17.276Z] Removing intermediate container a4be72c2627b [2021-05-11T17:57:17.276Z] ---> 28fca62cbf1f [2021-05-11T17:57:17.276Z] Step 21/23 : LABEL arch=arm64 [2021-05-11T17:57:17.276Z] ---> Running in 15184d2ab786 [2021-05-11T17:57:17.871Z] Removing intermediate container 15184d2ab786 [2021-05-11T17:57:17.871Z] ---> c7f8e0092d8d [2021-05-11T17:57:17.871Z] Step 22/23 : LABEL git_sha=a2450f29224d09b4bc13a7c374e9a6562345f657 [2021-05-11T17:57:17.871Z] ---> Running in da0a617431d5 [2021-05-11T17:57:18.465Z] Removing intermediate container da0a617431d5 [2021-05-11T17:57:18.465Z] ---> 9b6a6e0f8241 [2021-05-11T17:57:18.465Z] Step 23/23 : LABEL version=0.0.0 [2021-05-11T17:57:18.465Z] ---> Running in 957489b9e90b [2021-05-11T17:57:19.057Z] Removing intermediate container 957489b9e90b [2021-05-11T17:57:19.057Z] ---> e51293e56016 [2021-05-11T17:57:19.057Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-11T17:57:19.057Z] Successfully built e51293e56016 [2021-05-11T17:57:19.057Z] 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-11T17:57:19.517Z] ---> job-cost.sh [2021-05-11T17:57:19.517Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-XUJ0 [2021-05-11T17:57:58.473Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T17:59:20.180Z] lf-activate-venv(): INFO: Adding /tmp/venv-XUJ0/bin to PATH [2021-05-11T17:59:20.180Z] INFO: No Stack... [2021-05-11T17:59:21.147Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T17:59:21.417Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T17:59:21.752Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-05-11T17:59:21.752Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T17:59:21.860Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] [2021-05-11T17:59:21.870Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] did not exist. Created. [2021-05-11T17:59:21.870Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T17:59:22.240Z] /w/workspace/device-sdk-go/3@tmp/durable-06e2dac0/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-06e2dac0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T17:59:22.585Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T17:59:22.604Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T17:59:22.753Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T17:59:22.768Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-922-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-11T17:59:23.371Z] provisioning config files... [2021-05-11T17:59:23.384Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config3130744616794091670tmp [Pipeline] { [Pipeline] sh [2021-05-11T17:59:23.754Z] + set +x [2021-05-11T17:59:23.754Z] + bash -s -- [2021-05-11T17:59:23.754Z] + curl -s https://codecov.io/bash [2021-05-11T17:59:25.746Z] [2021-05-11T17:59:25.746Z] _____ _ [2021-05-11T17:59:25.746Z] / ____| | | [2021-05-11T17:59:25.746Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T17:59:25.746Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T17:59:25.746Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T17:59:25.746Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T17:59:25.746Z] Bash-1.0.2 [2021-05-11T17:59:25.746Z] [2021-05-11T17:59:25.746Z] [2021-05-11T17:59:25.746Z] ==> git version 2.24.3 found [2021-05-11T17:59:25.746Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-11T17:59:25.746Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T17:59:25.746Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T17:59:25.746Z] ==> Jenkins CI detected. [2021-05-11T17:59:25.746Z] project root: . [2021-05-11T17:59:25.746Z] --> token set from env [2021-05-11T17:59:25.746Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T17:59:25.746Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T17:59:25.746Z] ==> Python coveragepy not found [2021-05-11T17:59:25.746Z] ==> Searching for coverage reports in: [2021-05-11T17:59:25.746Z] + . [2021-05-11T17:59:25.746Z] -> Found 1 reports [2021-05-11T17:59:25.746Z] ==> Detecting git/mercurial file structure [2021-05-11T17:59:25.746Z] ==> Reading reports [2021-05-11T17:59:25.746Z] + ./coverage.out bytes=126002 [2021-05-11T17:59:25.746Z] ==> Appending adjustments [2021-05-11T17:59:25.746Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T17:59:26.013Z] + Found adjustments [2021-05-11T17:59:26.013Z] ==> Gzipping contents [2021-05-11T17:59:26.013Z] 20K /tmp/codecov.zOgYcU.gz [2021-05-11T17:59:26.013Z] ==> Uploading reports [2021-05-11T17:59:26.013Z] url: https://codecov.io [2021-05-11T17:59:26.013Z] query: branch=PR-922&commit=a2450f29224d09b4bc13a7c374e9a6562345f657&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-922%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=922&job=&cmd_args= [2021-05-11T17:59:26.013Z] -> Pinging Codecov [2021-05-11T17:59:26.013Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-922&commit=a2450f29224d09b4bc13a7c374e9a6562345f657&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-922%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=922&job=&cmd_args= [2021-05-11T17:59:26.985Z] -> Uploading to [2021-05-11T17:59:26.985Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/7E55EF52A471D76F132DFD9A03CDDE97/a2450f29224d09b4bc13a7c374e9a6562345f657/fd344613-5e0b-44f0-aa81-f9b6b981c718.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T175926Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=41e384e0136e5d3ce68a7524cfb731eb2faa77d000fbfced89c24b557a516d04 [2021-05-11T17:59:26.985Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T17:59:26.985Z] Dload Upload Total Spent Left Speed [2021-05-11T17:59:27.250Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16450 0 0 100 16450 0 38809 --:--:-- --:--:-- --:--:-- 38797 [2021-05-11T17:59:27.250Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a2450f29224d09b4bc13a7c374e9a6562345f657 [Pipeline] } [2021-05-11T17:59:27.262Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:59:28.337Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:59:28.937Z] ---> package-listing.sh [2021-05-11T17:59:28.937Z] ++ facter osfamily [2021-05-11T17:59:28.937Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T17:59:29.200Z] + OS_FAMILY=redhat [2021-05-11T17:59:29.200Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-922 [2021-05-11T17:59:29.200Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T17:59:29.200Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T17:59:29.200Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T17:59:29.200Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T17:59:29.200Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-922 ']' [2021-05-11T17:59:29.200Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T17:59:29.200Z] + case "${OS_FAMILY}" in [2021-05-11T17:59:29.200Z] + rpm -qa [2021-05-11T17:59:29.200Z] + sort [2021-05-11T17:59:34.572Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T17:59:34.572Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T17:59:34.572Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T17:59:34.855Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-922 ']' [2021-05-11T17:59:34.855Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-922/archives/ [2021-05-11T17:59:34.855Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-922/archives/ [Pipeline] echo [2021-05-11T17:59:34.880Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-922/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-11T17:59:35.213Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:59:35.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:59:35.836Z] [2021-05-11T17:59:35.836Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:59:36.199Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:59:36.199Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T17:59:36.199Z] df20fa9351a1: Pulling fs layer [2021-05-11T17:59:36.199Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T17:59:36.199Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T17:59:36.199Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T17:59:36.199Z] 93b61091891f: Pulling fs layer [2021-05-11T17:59:36.199Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T17:59:36.199Z] 5e14af77c1be: Pulling fs layer [2021-05-11T17:59:36.199Z] 01666e4c0597: Pulling fs layer [2021-05-11T17:59:36.199Z] aa168da1d23b: Pulling fs layer [2021-05-11T17:59:36.199Z] 93b9cdb0e59b: Waiting [2021-05-11T17:59:36.199Z] 5e14af77c1be: Waiting [2021-05-11T17:59:36.199Z] 01666e4c0597: Waiting [2021-05-11T17:59:36.199Z] aa168da1d23b: Waiting [2021-05-11T17:59:36.199Z] 93b61091891f: Waiting [2021-05-11T17:59:36.199Z] 46f8f816bc3b: Waiting [2021-05-11T17:59:36.473Z] 36b3adc4ff6f: Verifying Checksum [2021-05-11T17:59:36.473Z] 36b3adc4ff6f: Download complete [2021-05-11T17:59:36.473Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T17:59:36.473Z] 46f8f816bc3b: Download complete [2021-05-11T17:59:36.473Z] df20fa9351a1: Verifying Checksum [2021-05-11T17:59:36.473Z] df20fa9351a1: Download complete [2021-05-11T17:59:36.473Z] 93b61091891f: Verifying Checksum [2021-05-11T17:59:36.473Z] 93b61091891f: Download complete [2021-05-11T17:59:36.473Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T17:59:36.473Z] 93b9cdb0e59b: Download complete [2021-05-11T17:59:36.739Z] 5e14af77c1be: Verifying Checksum [2021-05-11T17:59:36.739Z] 5e14af77c1be: Download complete [2021-05-11T17:59:36.739Z] 01666e4c0597: Download complete [2021-05-11T17:59:37.331Z] df20fa9351a1: Pull complete [2021-05-11T17:59:37.331Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T17:59:37.331Z] 8ad3a11d3b57: Download complete [2021-05-11T17:59:37.331Z] 36b3adc4ff6f: Pull complete [2021-05-11T17:59:38.833Z] 8ad3a11d3b57: Pull complete [2021-05-11T17:59:38.833Z] 46f8f816bc3b: Pull complete [2021-05-11T17:59:40.256Z] aa168da1d23b: Verifying Checksum [2021-05-11T17:59:40.256Z] aa168da1d23b: Download complete [2021-05-11T17:59:40.521Z] 93b61091891f: Pull complete [2021-05-11T17:59:40.789Z] 93b9cdb0e59b: Pull complete [2021-05-11T17:59:41.054Z] 5e14af77c1be: Pull complete [2021-05-11T17:59:41.320Z] 01666e4c0597: Pull complete [2021-05-11T17:59:49.550Z] aa168da1d23b: Pull complete [2021-05-11T17:59:49.550Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T17:59:49.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:59:49.550Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T17:59:49.802Z] prd-centos7-docker-4c-2g-4550 does not seem to be running inside a container [2021-05-11T17:59:49.857Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-922/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-922 -v /w/workspace/dgexfoundry_device-sdk-go_PR-922:/w/workspace/dgexfoundry_device-sdk-go_PR-922:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-11T17:59:53.641Z] $ docker top f257842eb2eaf3c3f6d44f8273b5794a26eb8f40b7849a19a78f40ede306dc18 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:59:54.195Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T17:59:54.520Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T17:59:54.837Z] + ls /var/log/sa-host [2021-05-11T17:59:54.837Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T17:59:54.837Z] file_magic: OK [2021-05-11T17:59:54.837Z] HZ: Using current value: 100 [2021-05-11T17:59:54.837Z] file_header: OK [2021-05-11T17:59:54.837Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-11T17:59:54.837Z] Statistics: [2021-05-11T17:59:54.837Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-11T17:59:54.837Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T17:59:54.837Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T17:59:54.837Z] file_magic: OK [2021-05-11T17:59:54.837Z] HZ: Using current value: 100 [2021-05-11T17:59:54.837Z] file_header: OK [2021-05-11T17:59:54.837Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-11T17:59:54.837Z] Statistics: [2021-05-11T17:59:54.837Z] Hnuu...uuuununununu... [2021-05-11T17:59:54.837Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T17:59:55.433Z] provisioning config files... [2021-05-11T17:59:55.453Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-922@tmp/config451009749234541071tmp [Pipeline] { [Pipeline] echo [2021-05-11T17:59:55.477Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:59:55.794Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T17:59:55.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T17:59:55.835Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:59:56.152Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T17:59:56.167Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:59:56.478Z] ---> sudo-logs.sh [2021-05-11T17:59:56.478Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T17:59:56.510Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:59:56.843Z] ---> job-cost.sh [2021-05-11T17:59:56.843Z] lf-activate-venv: SKIPPING [2021-05-11T17:59:56.843Z] DEBUG: total: 0.20999999344348907 [2021-05-11T17:59:56.843Z] INFO: Retrieving Stack Cost... [2021-05-11T17:59:58.244Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T17:59:58.506Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T17:59:58.522Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:59:58.827Z] ---> logs-deploy.sh [2021-05-11T17:59:58.827Z] lf-activate-venv: SKIPPING [2021-05-11T17:59:58.827Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-922/3 [2021-05-11T17:59:58.827Z] INFO: archiving workspace using pattern(s): [2021-05-11T18:00:00.765Z] Archives upload complete. [2021-05-11T18:00:00.765Z] INFO: archiving logs to Nexus