Pull request #900 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 44e422c5aebbc746276f514c8f0709a2f5b68208+92affc97e25621ac5a3617c0e5e42feb55191c77 (d48d7e22cebea8aad5ff151e5789f2347b4e5c12) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-2171 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [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-900 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 44e422c5aebbc746276f514c8f0709a2f5b68208 Merge succeeded, producing 44e422c5aebbc746276f514c8f0709a2f5b68208 Checking out Revision 44e422c5aebbc746276f514c8f0709a2f5b68208 (PR-900) > git config core.sparsecheckout # timeout=10 > git checkout -f 44e422c5aebbc746276f514c8f0709a2f5b68208 # 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 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44e422c5aebbc746276f514c8f0709a2f5b68208 # timeout=10 Commit message: "test: complement unit tests for transformer package" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-28T07:00:42.695Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-28T07:00:42.794Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-28T07:00:42.825Z] ========================================================= [2021-04-28T07:00:42.825Z] EdgeX Global Pipelines Version Info [2021-04-28T07:00:42.825Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0df1feef5fd52680c0333778b4e71abc37891c1f # timeout=10 [2021-04-28T07:00:45.151Z] ------------------- [2021-04-28T07:00:45.151Z] stable info: [2021-04-28T07:00:45.151Z] ------------------- [2021-04-28T07:00:45.151Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-28T07:00:45.151Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-28T07:00:45.151Z] Message: update stable to v1.0.186 [2021-04-28T07:00:46.134Z] ------------------- [2021-04-28T07:00:46.134Z] experimental info: [2021-04-28T07:00:46.134Z] ------------------- [2021-04-28T07:00:46.134Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-28T07:00:46.134Z] Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f [2021-04-28T07:00:46.134Z] Message: update experimental to v1.0.190 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-28T07:00:46.346Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-28T07:00:46.371Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-28T07:00:46.395Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-28T07:00:46.419Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-28T07:00:46.442Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-28T07:00:46.468Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-28T07:00:46.493Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-28T07:00:46.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-28T07:00:46.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-28T07:00:46.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-28T07:00:46.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-28T07:00:46.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-28T07:00:46.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-28T07:00:46.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-28T07:00:46.704Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-28T07:00:46.727Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T07:00:46.750Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T07:00:46.774Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T07:00:46.798Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-28T07:00:46.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-28T07:00:46.844Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-28T07:00:46.868Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-28T07:00:46.891Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-28T07:00:46.914Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-28T07:00:46.938Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-28T07:00:46.963Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-28T07:00:47.005Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-900 [Pipeline] echo [2021-04-28T07:00:47.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-900 [Pipeline] echo [2021-04-28T07:00:47.053Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-900 [Pipeline] echo [2021-04-28T07:00:47.102Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44e422c5aebbc746276f514c8f0709a2f5b68208 [Pipeline] echo [2021-04-28T07:00:47.127Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44e422c [Pipeline] echo [2021-04-28T07:00:47.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-28T07:00:47.229Z] provisioning config files... [2021-04-28T07:00:47.263Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config7880643833664778233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-28T07:00:47.628Z] ---> docker-login.sh [2021-04-28T07:00:47.628Z] nexus3.edgexfoundry.org:10001 [2021-04-28T07:00:48.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:00:48.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:00:48.540Z] Configure a credential helper to remove this warning. See [2021-04-28T07:00:48.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:00:48.540Z] [2021-04-28T07:00:48.540Z] Login Succeeded [2021-04-28T07:00:48.540Z] nexus3.edgexfoundry.org:10002 [2021-04-28T07:00:48.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:00:49.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:00:49.087Z] Configure a credential helper to remove this warning. See [2021-04-28T07:00:49.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:00:49.087Z] [2021-04-28T07:00:49.087Z] Login Succeeded [2021-04-28T07:00:49.087Z] nexus3.edgexfoundry.org:10003 [2021-04-28T07:00:49.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:00:49.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:00:49.399Z] Configure a credential helper to remove this warning. See [2021-04-28T07:00:49.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:00:49.399Z] [2021-04-28T07:00:49.399Z] Login Succeeded [2021-04-28T07:00:49.399Z] nexus3.edgexfoundry.org:10004 [2021-04-28T07:00:49.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:00:49.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:00:49.687Z] Configure a credential helper to remove this warning. See [2021-04-28T07:00:49.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:00:49.687Z] [2021-04-28T07:00:49.687Z] Login Succeeded [2021-04-28T07:00:49.688Z] docker.io [2021-04-28T07:00:49.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:00:50.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:00:50.227Z] Configure a credential helper to remove this warning. See [2021-04-28T07:00:50.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:00:50.227Z] [2021-04-28T07:00:50.227Z] Login Succeeded [2021-04-28T07:00:50.227Z] ---> docker-login.sh ends [Pipeline] } [2021-04-28T07:00:50.240Z] 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-04-28T07:00:50.716Z] + git log --format=format:%s -1 44e422c5aebbc746276f514c8f0709a2f5b68208 [Pipeline] echo [2021-04-28T07:00:50.846Z] GIT_COMMIT: 44e422c5aebbc746276f514c8f0709a2f5b68208, Commit Message: test: complement unit tests for transformer package [Pipeline] echo [2021-04-28T07:00:50.861Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-28T07:00:51.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T07:00:51.876Z] [2021-04-28T07:00:51.876Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-28T07:00:52.214Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T07:00:52.214Z] latest: Pulling from edgex-devops/git-semver [2021-04-28T07:00:52.214Z] 31603596830f: Pulling fs layer [2021-04-28T07:00:52.214Z] 54011a49482f: Pulling fs layer [2021-04-28T07:00:52.214Z] a6820b24f6d8: Pulling fs layer [2021-04-28T07:00:52.214Z] f581987b2513: Pulling fs layer [2021-04-28T07:00:52.214Z] f581987b2513: Waiting [2021-04-28T07:00:52.214Z] 54011a49482f: Verifying Checksum [2021-04-28T07:00:52.214Z] 54011a49482f: Download complete [2021-04-28T07:00:52.493Z] 31603596830f: Verifying Checksum [2021-04-28T07:00:52.493Z] 31603596830f: Download complete [2021-04-28T07:00:52.493Z] f581987b2513: Verifying Checksum [2021-04-28T07:00:52.493Z] f581987b2513: Download complete [2021-04-28T07:00:52.493Z] a6820b24f6d8: Verifying Checksum [2021-04-28T07:00:52.493Z] a6820b24f6d8: Download complete [2021-04-28T07:00:53.086Z] 31603596830f: Pull complete [2021-04-28T07:00:53.365Z] 54011a49482f: Pull complete [2021-04-28T07:00:55.377Z] a6820b24f6d8: Pull complete [2021-04-28T07:00:56.400Z] f581987b2513: Pull complete [2021-04-28T07:00:56.400Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-04-28T07:00:56.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T07:00:56.400Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-28T07:00:56.622Z] prd-centos7-docker-4c-2g-2171 does not seem to be running inside a container [2021-04-28T07:00:56.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-900 -v /w/workspace/dgexfoundry_device-sdk-go_PR-900:/w/workspace/dgexfoundry_device-sdk-go_PR-900:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-900@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-04-28T07:01:00.277Z] $ docker top efda9cda00ccf90f5e948ada26043a5a6f8f2e6c41106cf439c0af607553cc2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-28T07:01:00.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T07:01:00.782Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T07:01:02.243Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T07:01:02.252Z] $ docker exec efda9cda00ccf90f5e948ada26043a5a6f8f2e6c41106cf439c0af607553cc2a ssh-agent [2021-04-28T07:01:02.651Z] SSH_AUTH_SOCK=/tmp/ssh-8mQEQc6BV009/agent.11 [2021-04-28T07:01:02.651Z] SSH_AGENT_PID=16 [2021-04-28T07:01:02.678Z] Running ssh-add (command line suppressed) [2021-04-28T07:01:02.909Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_2823916807662155155.key (/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_2823916807662155155.key) [2021-04-28T07:01:02.998Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T07:01:03.331Z] + git tag --points-at HEAD [Pipeline] } [2021-04-28T07:01:03.361Z] $ docker exec --env ******** --env ******** efda9cda00ccf90f5e948ada26043a5a6f8f2e6c41106cf439c0af607553cc2a ssh-agent -k [2021-04-28T07:01:03.518Z] unset SSH_AUTH_SOCK; [2021-04-28T07:01:03.519Z] unset SSH_AGENT_PID; [2021-04-28T07:01:03.519Z] echo Agent pid 16 killed; [2021-04-28T07:01:03.593Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-28T07:01:03.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T07:01:03.633Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T07:01:04.197Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T07:01:04.204Z] $ docker exec efda9cda00ccf90f5e948ada26043a5a6f8f2e6c41106cf439c0af607553cc2a ssh-agent [2021-04-28T07:01:04.441Z] SSH_AUTH_SOCK=/tmp/ssh-jxoqX4YOAl6d/agent.47 [2021-04-28T07:01:04.441Z] SSH_AGENT_PID=52 [2021-04-28T07:01:04.451Z] Running ssh-add (command line suppressed) [2021-04-28T07:01:04.633Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_8970324183458172174.key (/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_8970324183458172174.key) [2021-04-28T07:01:04.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T07:01:05.057Z] + git semver init [2021-04-28T07:01:05.057Z] # -> Open(): unable to determine branch for HEAD [2021-04-28T07:01:05.057Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-900/.git [2021-04-28T07:01:05.057Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-900 [2021-04-28T07:01:05.057Z] # $SEMVER_REMOTE_NAME = origin [2021-04-28T07:01:05.057Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-28T07:01:05.057Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-28T07:01:05.057Z] # $SEMVER_BRANCH = PR-900 [2021-04-28T07:01:05.057Z] # $SEMVER_TEMP = /tmp/semver-870879806 [2021-04-28T07:01:05.057Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-28T07:01:06.476Z] # '/tmp/semver-870879806' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-900/.semver' [2021-04-28T07:01:06.476Z] # -> Force: false [2021-04-28T07:01:06.476Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-900/.semver [Pipeline] } [2021-04-28T07:01:06.497Z] $ docker exec --env ******** --env ******** efda9cda00ccf90f5e948ada26043a5a6f8f2e6c41106cf439c0af607553cc2a ssh-agent -k [2021-04-28T07:01:06.696Z] unset SSH_AUTH_SOCK; [2021-04-28T07:01:06.698Z] unset SSH_AGENT_PID; [2021-04-28T07:01:06.698Z] echo Agent pid 52 killed; [2021-04-28T07:01:06.766Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-28T07:01:07.142Z] + git semver [Pipeline] } [2021-04-28T07:01:07.186Z] $ docker stop --time=1 efda9cda00ccf90f5e948ada26043a5a6f8f2e6c41106cf439c0af607553cc2a [2021-04-28T07:01:08.964Z] $ docker rm -f efda9cda00ccf90f5e948ada26043a5a6f8f2e6c41106cf439c0af607553cc2a [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T07:01:09.433Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-28T07:01:10.475Z] Stashed 1 file(s) [Pipeline] echo [2021-04-28T07:01:10.478Z] [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-04-28T07:01:25.675Z] Still waiting to schedule task [2021-04-28T07:01:25.676Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2171’ [2021-04-28T07:01:25.679Z] Still waiting to schedule task [2021-04-28T07:01:25.679Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-28T07:03:19.153Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2172 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [Pipeline] { [Pipeline] ws [2021-04-28T07:03:19.172Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-28T07:03:24.753Z] using credential edgex-jenkins-ssh [2021-04-28T07:03:24.775Z] Cloning the remote Git repository [2021-04-28T07:03:24.822Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T07:03:24.921Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-28T07:03:25.012Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T07:03:25.013Z] > git --version # timeout=10 [2021-04-28T07:03:25.028Z] > git --version # 'git version 2.17.1' [2021-04-28T07:03:25.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T07:03:25.081Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T07:03:26.311Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-28T07:03:26.326Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T07:03:26.347Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-28T07:03:26.385Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T07:03:26.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T07:03:26.397Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-28T07:03:27.060Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 44e422c5aebbc746276f514c8f0709a2f5b68208 [2021-04-28T07:03:27.269Z] Merge succeeded, producing 44e422c5aebbc746276f514c8f0709a2f5b68208 [2021-04-28T07:03:27.269Z] Checking out Revision 44e422c5aebbc746276f514c8f0709a2f5b68208 (PR-900) [2021-04-28T07:03:27.078Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T07:03:27.097Z] > git checkout -f 44e422c5aebbc746276f514c8f0709a2f5b68208 # timeout=10 [2021-04-28T07:03:27.187Z] > git remote # timeout=10 [2021-04-28T07:03:27.202Z] > git config --get remote.origin.url # timeout=10 [2021-04-28T07:03:27.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T07:03:27.236Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-04-28T07:03:27.257Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-28T07:03:27.279Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T07:03:27.292Z] > git checkout -f 44e422c5aebbc746276f514c8f0709a2f5b68208 # timeout=10 [2021-04-28T07:03:31.526Z] Commit message: "test: complement unit tests for transformer package" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-28T07:03:33.046Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-28T07:03:33.463Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-28T07:03:33.849Z] + true [2021-04-28T07:03:33.850Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-28T07:03:36.513Z] provisioning config files... [2021-04-28T07:03:36.568Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8265389329711101689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-28T07:03:36.948Z] ---> docker-login.sh [2021-04-28T07:03:36.948Z] nexus3.edgexfoundry.org:10001 [2021-04-28T07:03:37.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:03:38.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:03:38.203Z] Configure a credential helper to remove this warning. See [2021-04-28T07:03:38.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:03:38.203Z] [2021-04-28T07:03:38.203Z] Login Succeeded [2021-04-28T07:03:38.203Z] nexus3.edgexfoundry.org:10002 [2021-04-28T07:03:38.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:03:38.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:03:38.751Z] Configure a credential helper to remove this warning. See [2021-04-28T07:03:38.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:03:38.751Z] [2021-04-28T07:03:38.751Z] Login Succeeded [2021-04-28T07:03:38.751Z] nexus3.edgexfoundry.org:10003 [2021-04-28T07:03:39.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:03:39.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:03:39.308Z] Configure a credential helper to remove this warning. See [2021-04-28T07:03:39.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:03:39.308Z] [2021-04-28T07:03:39.308Z] Login Succeeded [2021-04-28T07:03:39.308Z] nexus3.edgexfoundry.org:10004 [2021-04-28T07:03:39.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:03:39.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:03:39.860Z] Configure a credential helper to remove this warning. See [2021-04-28T07:03:39.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:03:39.860Z] [2021-04-28T07:03:39.860Z] Login Succeeded [2021-04-28T07:03:39.860Z] docker.io [2021-04-28T07:03:40.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:03:40.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:03:40.402Z] Configure a credential helper to remove this warning. See [2021-04-28T07:03:40.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:03:40.402Z] [2021-04-28T07:03:40.402Z] Login Succeeded [2021-04-28T07:03:40.402Z] ---> docker-login.sh ends [Pipeline] } [2021-04-28T07:03:40.419Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-28T07:03:40.722Z] ========================================================= [2021-04-28T07:03:40.722Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-28T07:03:40.722Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-28T07:03:41.062Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-28T07:03:41.664Z] Sending build context to Docker daemon 2.554MB [2021-04-28T07:03:41.664Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T07:03:41.664Z] Step 2/8 : FROM ${BASE} [2021-04-28T07:03:41.664Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-28T07:03:41.664Z] 5f621e34cdf4: Pulling fs layer [2021-04-28T07:03:41.664Z] a4357932f1b6: Pulling fs layer [2021-04-28T07:03:41.664Z] 18c013af1878: Pulling fs layer [2021-04-28T07:03:41.664Z] 00ac8860ef70: Pulling fs layer [2021-04-28T07:03:41.664Z] 63d7cb157983: Pulling fs layer [2021-04-28T07:03:41.664Z] b116817d02f9: Pulling fs layer [2021-04-28T07:03:41.664Z] 745a02a5169b: Pulling fs layer [2021-04-28T07:03:41.664Z] b116817d02f9: Waiting [2021-04-28T07:03:41.664Z] 745a02a5169b: Waiting [2021-04-28T07:03:41.664Z] 63d7cb157983: Waiting [2021-04-28T07:03:41.664Z] 18c013af1878: Verifying Checksum [2021-04-28T07:03:41.664Z] 18c013af1878: Download complete [2021-04-28T07:03:41.664Z] a4357932f1b6: Verifying Checksum [2021-04-28T07:03:41.664Z] a4357932f1b6: Download complete [2021-04-28T07:03:41.664Z] 63d7cb157983: Verifying Checksum [2021-04-28T07:03:41.664Z] 63d7cb157983: Download complete [2021-04-28T07:03:41.664Z] b116817d02f9: Verifying Checksum [2021-04-28T07:03:41.664Z] b116817d02f9: Download complete [2021-04-28T07:03:41.664Z] 5f621e34cdf4: Download complete [2021-04-28T07:03:42.282Z] 5f621e34cdf4: Pull complete [2021-04-28T07:03:42.756Z] Running on prd-centos7-docker-4c-2g-2174 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [Pipeline] { [Pipeline] ws [2021-04-28T07:03:42.780Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-28T07:03:42.882Z] a4357932f1b6: Pull complete [2021-04-28T07:03:43.485Z] 18c013af1878: Pull complete [2021-04-28T07:03:44.925Z] 745a02a5169b: Verifying Checksum [2021-04-28T07:03:44.925Z] 745a02a5169b: Download complete [2021-04-28T07:03:45.703Z] using credential edgex-jenkins-ssh [2021-04-28T07:03:45.717Z] Cloning the remote Git repository [2021-04-28T07:03:45.907Z] 00ac8860ef70: Verifying Checksum [2021-04-28T07:03:45.907Z] 00ac8860ef70: Download complete [2021-04-28T07:03:45.740Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T07:03:45.816Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-28T07:03:45.885Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T07:03:45.885Z] > git --version # timeout=10 [2021-04-28T07:03:45.892Z] > git --version # 'git version 2.24.3' [2021-04-28T07:03:45.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T07:03:45.920Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T07:03:47.376Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 44e422c5aebbc746276f514c8f0709a2f5b68208 [2021-04-28T07:03:46.826Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-28T07:03:46.836Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T07:03:46.848Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-28T07:03:46.861Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-28T07:03:46.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T07:03:46.866Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-28T07:03:47.387Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T07:03:47.393Z] > git checkout -f 44e422c5aebbc746276f514c8f0709a2f5b68208 # timeout=10 [2021-04-28T07:03:47.443Z] > git remote # timeout=10 [2021-04-28T07:03:47.449Z] > git config --get remote.origin.url # timeout=10 [2021-04-28T07:03:47.462Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T07:03:47.467Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-04-28T07:03:47.479Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-28T07:03:47.497Z] Merge succeeded, producing 44e422c5aebbc746276f514c8f0709a2f5b68208 [2021-04-28T07:03:47.498Z] Checking out Revision 44e422c5aebbc746276f514c8f0709a2f5b68208 (PR-900) [2021-04-28T07:03:47.502Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T07:03:47.508Z] > git checkout -f 44e422c5aebbc746276f514c8f0709a2f5b68208 # timeout=10 [2021-04-28T07:03:51.163Z] Commit message: "test: complement unit tests for transformer package" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-28T07:03:52.393Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-28T07:03:52.735Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-28T07:03:53.039Z] + sudo service docker restart [2021-04-28T07:03:53.039Z] + true [2021-04-28T07:03:53.039Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-28T07:03:54.486Z] provisioning config files... [2021-04-28T07:03:54.521Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config9060193749279246429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-28T07:03:54.867Z] ---> docker-login.sh [2021-04-28T07:03:54.867Z] nexus3.edgexfoundry.org:10001 [2021-04-28T07:03:55.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:03:55.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:03:55.400Z] Configure a credential helper to remove this warning. See [2021-04-28T07:03:55.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:03:55.400Z] [2021-04-28T07:03:55.400Z] Login Succeeded [2021-04-28T07:03:55.400Z] nexus3.edgexfoundry.org:10002 [2021-04-28T07:03:55.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:03:55.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:03:55.684Z] Configure a credential helper to remove this warning. See [2021-04-28T07:03:55.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:03:55.684Z] [2021-04-28T07:03:55.684Z] Login Succeeded [2021-04-28T07:03:55.684Z] nexus3.edgexfoundry.org:10003 [2021-04-28T07:03:55.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:03:55.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:03:55.950Z] Configure a credential helper to remove this warning. See [2021-04-28T07:03:55.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:03:55.950Z] [2021-04-28T07:03:55.950Z] Login Succeeded [2021-04-28T07:03:55.950Z] nexus3.edgexfoundry.org:10004 [2021-04-28T07:03:55.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:03:56.093Z] 00ac8860ef70: Pull complete [2021-04-28T07:03:56.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:03:56.213Z] Configure a credential helper to remove this warning. See [2021-04-28T07:03:56.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:03:56.213Z] [2021-04-28T07:03:56.213Z] Login Succeeded [2021-04-28T07:03:56.213Z] docker.io [2021-04-28T07:03:56.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-28T07:03:56.367Z] 63d7cb157983: Pull complete [2021-04-28T07:03:56.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-28T07:03:56.476Z] Configure a credential helper to remove this warning. See [2021-04-28T07:03:56.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-28T07:03:56.476Z] [2021-04-28T07:03:56.476Z] Login Succeeded [2021-04-28T07:03:56.476Z] ---> docker-login.sh ends [Pipeline] } [2021-04-28T07:03:56.487Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-28T07:03:56.642Z] b116817d02f9: Pull complete [Pipeline] echo [2021-04-28T07:03:56.744Z] ========================================================= [2021-04-28T07:03:56.744Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-28T07:03:56.744Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-28T07:03:57.079Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-28T07:03:57.352Z] Sending build context to Docker daemon 2.555MB [2021-04-28T07:03:57.352Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T07:03:57.352Z] Step 2/8 : FROM ${BASE} [2021-04-28T07:03:57.352Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-28T07:03:57.352Z] 188c0c94c7c5: Pulling fs layer [2021-04-28T07:03:57.352Z] 0ef7d3d256c8: Pulling fs layer [2021-04-28T07:03:57.352Z] de9db76c5a1d: Pulling fs layer [2021-04-28T07:03:57.352Z] bca2f99d35d6: Pulling fs layer [2021-04-28T07:03:57.352Z] 93359f2a8cfa: Pulling fs layer [2021-04-28T07:03:57.352Z] 7c6f9722023f: Pulling fs layer [2021-04-28T07:03:57.352Z] a35cf1a2eb13: Pulling fs layer [2021-04-28T07:03:57.352Z] bca2f99d35d6: Waiting [2021-04-28T07:03:57.352Z] 93359f2a8cfa: Waiting [2021-04-28T07:03:57.352Z] 7c6f9722023f: Waiting [2021-04-28T07:03:57.352Z] a35cf1a2eb13: Waiting [2021-04-28T07:03:57.352Z] de9db76c5a1d: Verifying Checksum [2021-04-28T07:03:57.352Z] de9db76c5a1d: Download complete [2021-04-28T07:03:57.352Z] 0ef7d3d256c8: Verifying Checksum [2021-04-28T07:03:57.352Z] 0ef7d3d256c8: Download complete [2021-04-28T07:03:57.352Z] 93359f2a8cfa: Verifying Checksum [2021-04-28T07:03:57.352Z] 93359f2a8cfa: Download complete [2021-04-28T07:03:57.352Z] 188c0c94c7c5: Verifying Checksum [2021-04-28T07:03:57.352Z] 188c0c94c7c5: Download complete [2021-04-28T07:03:57.352Z] 7c6f9722023f: Download complete [2021-04-28T07:03:57.933Z] 188c0c94c7c5: Pull complete [2021-04-28T07:03:57.933Z] 0ef7d3d256c8: Pull complete [2021-04-28T07:03:58.199Z] de9db76c5a1d: Pull complete [2021-04-28T07:03:59.620Z] a35cf1a2eb13: Verifying Checksum [2021-04-28T07:03:59.620Z] a35cf1a2eb13: Download complete [2021-04-28T07:04:00.584Z] bca2f99d35d6: Verifying Checksum [2021-04-28T07:04:00.584Z] bca2f99d35d6: Download complete [2021-04-28T07:04:00.967Z] 745a02a5169b: Pull complete [2021-04-28T07:04:00.967Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-28T07:04:00.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-28T07:04:00.967Z] ---> b7e6874047d6 [2021-04-28T07:04:00.967Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T07:04:03.593Z] ---> Running in 488ed5ef6d08 [2021-04-28T07:04:03.867Z] Removing intermediate container 488ed5ef6d08 [2021-04-28T07:04:03.867Z] ---> 061d84a5bc7a [2021-04-28T07:04:03.867Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T07:04:04.139Z] ---> Running in f99ba2f65d92 [2021-04-28T07:04:06.764Z] Removing intermediate container f99ba2f65d92 [2021-04-28T07:04:06.764Z] ---> cae8e3c49261 [2021-04-28T07:04:06.764Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-28T07:04:06.764Z] ---> Running in 75ba5ff0d526 [2021-04-28T07:04:07.268Z] bca2f99d35d6: Pull complete [2021-04-28T07:04:07.268Z] 93359f2a8cfa: Pull complete [2021-04-28T07:04:07.268Z] 7c6f9722023f: Pull complete [2021-04-28T07:04:07.742Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-28T07:04:08.333Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-28T07:04:09.758Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-28T07:04:10.028Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-28T07:04:10.028Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-28T07:04:10.028Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-28T07:04:10.303Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-28T07:04:10.303Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-28T07:04:10.303Z] Executing busybox-1.31.1-r19.trigger [2021-04-28T07:04:10.303Z] OK: 144 MiB in 45 packages [2021-04-28T07:04:11.738Z] Removing intermediate container 75ba5ff0d526 [2021-04-28T07:04:11.738Z] ---> 165075d6522c [2021-04-28T07:04:11.738Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-28T07:04:11.738Z] ---> Running in c407512c60fd [2021-04-28T07:04:12.334Z] Removing intermediate container c407512c60fd [2021-04-28T07:04:12.334Z] ---> e37dab783615 [2021-04-28T07:04:12.334Z] Step 7/8 : COPY . . [2021-04-28T07:04:13.781Z] ---> f8369508f537 [2021-04-28T07:04:13.781Z] Step 8/8 : RUN go mod download [2021-04-28T07:04:13.781Z] ---> Running in f196579bfbc0 [2021-04-28T07:04:15.461Z] a35cf1a2eb13: Pull complete [2021-04-28T07:04:15.462Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-28T07:04:15.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-28T07:04:15.462Z] ---> a62c8e92a672 [2021-04-28T07:04:15.462Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T07:04:16.049Z] ---> Running in 20361f3d8d43 [2021-04-28T07:04:16.333Z] Removing intermediate container 20361f3d8d43 [2021-04-28T07:04:16.333Z] ---> 627637381426 [2021-04-28T07:04:16.333Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T07:04:16.333Z] ---> Running in d576c7ce94c6 [2021-04-28T07:04:17.746Z] Removing intermediate container d576c7ce94c6 [2021-04-28T07:04:17.747Z] ---> 6bb65a40d3cb [2021-04-28T07:04:17.747Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-28T07:04:17.747Z] ---> Running in 5e3a76fdd107 [2021-04-28T07:04:19.147Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-28T07:04:19.411Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-28T07:04:19.996Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-28T07:04:19.996Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-28T07:04:19.996Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-28T07:04:20.259Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-28T07:04:20.259Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-28T07:04:20.259Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-28T07:04:20.524Z] Executing busybox-1.31.1-r19.trigger [2021-04-28T07:04:20.524Z] OK: 167 MiB in 45 packages [2021-04-28T07:04:21.148Z] Removing intermediate container 5e3a76fdd107 [2021-04-28T07:04:21.148Z] ---> 13f272bf70b8 [2021-04-28T07:04:21.148Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-28T07:04:21.148Z] ---> Running in 551b11a51fd6 [2021-04-28T07:04:21.416Z] Removing intermediate container 551b11a51fd6 [2021-04-28T07:04:21.416Z] ---> 195708d8081d [2021-04-28T07:04:21.416Z] Step 7/8 : COPY . . [2021-04-28T07:04:22.382Z] ---> 0557ab6aa673 [2021-04-28T07:04:22.382Z] Step 8/8 : RUN go mod download [2021-04-28T07:04:22.655Z] ---> Running in 8ce9cade2916 [2021-04-28T07:04:46.153Z] Removing intermediate container f196579bfbc0 [2021-04-28T07:04:46.153Z] ---> 2d04b38f4383 [2021-04-28T07:04:46.153Z] Successfully built 2d04b38f4383 [2021-04-28T07:04:46.153Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-28T07:04:46.500Z] + docker inspect -f . ci-base-image-arm64 [2021-04-28T07:04:46.500Z] . [Pipeline] withDockerContainer [2021-04-28T07:04:46.771Z] prd-ubuntu18.04-docker-arm64-4c-16g-2172 does not seem to be running inside a container [2021-04-28T07:04:46.854Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-04-28T07:04:48.383Z] $ docker top 5a221cf3f0a21ad604a6728350a07a5d868b34c249f844e3a3a5efcbb7a5914a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T07:04:49.303Z] + go version [2021-04-28T07:04:49.303Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-28T07:04:49.330Z] $ docker stop --time=1 5a221cf3f0a21ad604a6728350a07a5d868b34c249f844e3a3a5efcbb7a5914a [2021-04-28T07:04:49.385Z] Removing intermediate container 8ce9cade2916 [2021-04-28T07:04:49.385Z] ---> 9c1d50ecf22d [2021-04-28T07:04:49.385Z] Successfully built 9c1d50ecf22d [2021-04-28T07:04:49.385Z] Successfully tagged ci-base-image-x86_64:latest [2021-04-28T07:04:51.299Z] $ docker rm -f 5a221cf3f0a21ad604a6728350a07a5d868b34c249f844e3a3a5efcbb7a5914a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-28T07:04:51.893Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-28T07:04:51.893Z] . [Pipeline] withDockerContainer [2021-04-28T07:04:51.999Z] + docker inspect -f . ci-base-image-arm64 [2021-04-28T07:04:51.999Z] . [2021-04-28T07:04:52.027Z] prd-centos7-docker-4c-2g-2174 does not seem to be running inside a container [2021-04-28T07:04:52.090Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-04-28T07:04:52.935Z] $ docker top 9ae411d3d47f8c4698a6d1ac74ba10cb295e7b6004eb60b1c1712e01102106fc -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-04-28T07:04:53.298Z] prd-ubuntu18.04-docker-arm64-4c-16g-2172 does not seem to be running inside a container [2021-04-28T07:04:53.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-04-28T07:04:54.882Z] $ docker top be630f2af0cd6f6eed483eaba4ebeac782bf5229785e940079a7297e1b1e4ee6 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-04-28T07:04:55.493Z] + go version [2021-04-28T07:04:55.493Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-28T07:04:55.510Z] $ docker stop --time=1 9ae411d3d47f8c4698a6d1ac74ba10cb295e7b6004eb60b1c1712e01102106fc [2021-04-28T07:04:55.874Z] + make test [2021-04-28T07:04:55.874Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-28T07:04:56.885Z] $ docker rm -f 9ae411d3d47f8c4698a6d1ac74ba10cb295e7b6004eb60b1c1712e01102106fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-28T07:04:57.420Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-28T07:04:57.420Z] . [Pipeline] withDockerContainer [2021-04-28T07:04:57.524Z] prd-centos7-docker-4c-2g-2174 does not seem to be running inside a container [2021-04-28T07:04:57.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-04-28T07:04:58.351Z] $ docker top 61c925e934e5360521ed7e60a840c13a82b4062d6e7e270c59b2dee035e943e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T07:04:58.857Z] + make test [2021-04-28T07:04:58.857Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-28T07:05:09.031Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-28T07:05:18.064Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-28T07:05:41.963Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-28T07:05:41.963Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-28T07:05:41.963Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-28T07:05:44.824Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.110s coverage: 25.4% of statements [2021-04-28T07:05:44.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-28T07:05:44.824Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.159s coverage: 28.1% of statements [2021-04-28T07:05:44.824Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 78.9% of statements [2021-04-28T07:05:44.824Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.102s coverage: 7.8% of statements [2021-04-28T07:05:44.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-28T07:05:44.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-28T07:05:44.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-28T07:05:46.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.090s coverage: 30.2% of statements [2021-04-28T07:05:46.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-28T07:05:46.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-28T07:05:46.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-28T07:05:46.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.134s coverage: 58.4% of statements [2021-04-28T07:05:48.074Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.291s coverage: 89.2% of statements [2021-04-28T07:05:48.074Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-04-28T07:05:48.074Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 5.0% of statements [2021-04-28T07:05:48.074Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-28T07:05:48.343Z] GO111MODULE=on go vet ./... [2021-04-28T07:06:10.580Z] gofmt -l . [2021-04-28T07:06:10.580Z] [ "`gofmt -l .`" = "" ] [2021-04-28T07:06:10.580Z] ./bin/test-attribution-txt.sh [2021-04-28T07:06:10.580Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-28T07:06:10.614Z] $ docker stop --time=1 61c925e934e5360521ed7e60a840c13a82b4062d6e7e270c59b2dee035e943e9 [2021-04-28T07:06:12.419Z] $ docker rm -f 61c925e934e5360521ed7e60a840c13a82b4062d6e7e270c59b2dee035e943e9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T07:06:13.111Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-28T07:06:13.657Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-04-28T07:06:14.696Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-28T07:06:14.696Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-28T07:06:14.696Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [Pipeline] sh [2021-04-28T07:06:16.123Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-28T07:06:16.435Z] + ls -al . [2021-04-28T07:06:16.435Z] total 212 [2021-04-28T07:06:16.435Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 28 07:06 . [2021-04-28T07:06:16.435Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 28 07:03 .. [2021-04-28T07:06:16.435Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 28 07:03 bin [2021-04-28T07:06:16.435Z] -rw-r--r--. 1 jenkins jenkins 125561 Apr 28 07:05 coverage.out [2021-04-28T07:06:16.435Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 28 07:03 Dockerfile.build [2021-04-28T07:06:16.435Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 28 07:03 .dockerignore [2021-04-28T07:06:16.435Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 28 07:03 example [2021-04-28T07:06:16.435Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 28 07:03 .git [2021-04-28T07:06:16.435Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 28 07:03 .github [2021-04-28T07:06:16.435Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 28 07:03 .gitignore [2021-04-28T07:06:16.435Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 28 07:06 go.mod [2021-04-28T07:06:16.435Z] -rw-r--r--. 1 jenkins jenkins 20957 Apr 28 07:06 go.sum [2021-04-28T07:06:16.435Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 28 07:03 internal [2021-04-28T07:06:16.435Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 28 07:03 Jenkinsfile [2021-04-28T07:06:16.435Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 28 07:03 LICENSE [2021-04-28T07:06:16.435Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 28 07:03 Makefile [2021-04-28T07:06:16.435Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 28 07:03 openapi [2021-04-28T07:06:16.435Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 28 07:03 pkg [2021-04-28T07:06:16.435Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 28 07:03 README.md [2021-04-28T07:06:16.435Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 28 07:03 RELEASE-NOTES.txt [2021-04-28T07:06:16.435Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 28 07:03 snap [2021-04-28T07:06:16.435Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 28 07:01 VERSION [2021-04-28T07:06:16.435Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 28 07:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-28T07:06:16.756Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=44e422c5aebbc746276f514c8f0709a2f5b68208 --label arch=amd64 --label version=0.0.0 . [2021-04-28T07:06:17.021Z] Sending build context to Docker daemon 2.681MB [2021-04-28T07:06:17.021Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T07:06:17.021Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-28T07:06:17.021Z] ---> 9c1d50ecf22d [2021-04-28T07:06:17.021Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-28T07:06:17.606Z] ---> Running in 58079634e634 [2021-04-28T07:06:17.872Z] Removing intermediate container 58079634e634 [2021-04-28T07:06:17.872Z] ---> fb2730feb555 [2021-04-28T07:06:17.872Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T07:06:17.872Z] ---> Running in cbed71470018 [2021-04-28T07:06:18.138Z] Removing intermediate container cbed71470018 [2021-04-28T07:06:18.138Z] ---> f5358a0a03a9 [2021-04-28T07:06:18.138Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T07:06:18.138Z] ---> Running in 244d555af900 [2021-04-28T07:06:19.553Z] Removing intermediate container 244d555af900 [2021-04-28T07:06:19.553Z] ---> 3a5c34e1b9ba [2021-04-28T07:06:19.553Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-28T07:06:19.553Z] ---> Running in 4e7ab2b68877 [2021-04-28T07:06:20.141Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-28T07:06:20.721Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-28T07:06:20.985Z] OK: 167 MiB in 45 packages [2021-04-28T07:06:21.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.220s coverage: 25.4% of statements [2021-04-28T07:06:21.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-28T07:06:21.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.154s coverage: 28.1% of statements [2021-04-28T07:06:21.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.160s coverage: 78.9% of statements [2021-04-28T07:06:21.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.139s coverage: 7.8% of statements [2021-04-28T07:06:21.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-28T07:06:21.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-28T07:06:21.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-28T07:06:21.949Z] Removing intermediate container 4e7ab2b68877 [2021-04-28T07:06:21.949Z] ---> 785003a5a79a [2021-04-28T07:06:21.949Z] Step 7/23 : COPY . . [2021-04-28T07:06:22.908Z] ---> a8939d62ea87 [2021-04-28T07:06:22.908Z] Step 8/23 : RUN go mod download [2021-04-28T07:06:23.176Z] ---> Running in 2b8a3b06b2b5 [2021-04-28T07:06:24.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.264s coverage: 30.2% of statements [2021-04-28T07:06:24.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-28T07:06:24.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-28T07:06:24.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-28T07:06:24.592Z] Removing intermediate container 2b8a3b06b2b5 [2021-04-28T07:06:24.592Z] ---> 2303c0270eb9 [2021-04-28T07:06:24.592Z] Step 9/23 : RUN make build [2021-04-28T07:06:24.592Z] ---> Running in 0c2db1801810 [2021-04-28T07:06:24.865Z] 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-04-28T07:06:25.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.282s coverage: 58.4% of statements [2021-04-28T07:06:26.989Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.170s coverage: 89.2% of statements [2021-04-28T07:06:26.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-04-28T07:06:26.989Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements [2021-04-28T07:06:26.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-28T07:06:27.586Z] GO111MODULE=on go vet ./... [2021-04-28T07:06:40.035Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-28T07:06:40.301Z] Removing intermediate container 0c2db1801810 [2021-04-28T07:06:40.301Z] ---> 8033a6e3778a [2021-04-28T07:06:40.301Z] Step 10/23 : FROM alpine:3.12 [2021-04-28T07:06:40.564Z] 3.12: Pulling from library/alpine [2021-04-28T07:06:40.564Z] 339de151aab4: Pulling fs layer [2021-04-28T07:06:40.827Z] 339de151aab4: Verifying Checksum [2021-04-28T07:06:40.827Z] 339de151aab4: Download complete [2021-04-28T07:06:41.092Z] 339de151aab4: Pull complete [2021-04-28T07:06:41.092Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-28T07:06:41.092Z] Status: Downloaded newer image for alpine:3.12 [2021-04-28T07:06:41.092Z] ---> 13621d1b12d4 [2021-04-28T07:06:41.092Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T07:06:41.356Z] ---> Running in 1795cde168e6 [2021-04-28T07:06:41.627Z] Removing intermediate container 1795cde168e6 [2021-04-28T07:06:41.627Z] ---> 90143568c3f5 [2021-04-28T07:06:41.627Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T07:06:41.627Z] ---> Running in 20e20ead64da [2021-04-28T07:06:42.575Z] Removing intermediate container 20e20ead64da [2021-04-28T07:06:42.575Z] ---> f2e125e3bf51 [2021-04-28T07:06:42.575Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-28T07:06:42.575Z] ---> Running in e6457ce9c278 [2021-04-28T07:06:42.838Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-28T07:06:44.241Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-28T07:06:46.193Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-28T07:06:46.193Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-28T07:06:46.465Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-28T07:06:47.425Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-28T07:06:47.691Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-28T07:06:47.691Z] Executing busybox-1.31.1-r20.trigger [2021-04-28T07:06:47.969Z] OK: 8 MiB in 19 packages [2021-04-28T07:06:48.545Z] Removing intermediate container e6457ce9c278 [2021-04-28T07:06:48.545Z] ---> f4c176a478b4 [2021-04-28T07:06:48.545Z] Step 14/23 : WORKDIR / [2021-04-28T07:06:48.545Z] ---> Running in 66a1fd072148 [2021-04-28T07:06:48.545Z] Removing intermediate container 66a1fd072148 [2021-04-28T07:06:48.545Z] ---> 8f2691bf1055 [2021-04-28T07:06:48.545Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-28T07:06:48.809Z] ---> 45fb99bf4dff [2021-04-28T07:06:48.809Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-28T07:06:49.760Z] ---> a38f4aa55ffe [2021-04-28T07:06:49.760Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-28T07:06:49.760Z] ---> a2f2f2b8cd4b [2021-04-28T07:06:49.760Z] Step 18/23 : EXPOSE 49990 [2021-04-28T07:06:50.024Z] ---> Running in 43a94ec3fa68 [2021-04-28T07:06:50.024Z] Removing intermediate container 43a94ec3fa68 [2021-04-28T07:06:50.024Z] ---> 89729b27996f [2021-04-28T07:06:50.024Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-28T07:06:50.289Z] ---> Running in d97ac03cbbf4 [2021-04-28T07:06:50.289Z] Removing intermediate container d97ac03cbbf4 [2021-04-28T07:06:50.289Z] ---> b59614f2ad24 [2021-04-28T07:06:50.289Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-28T07:06:50.290Z] ---> Running in 50da50ac0ad5 [2021-04-28T07:06:50.552Z] Removing intermediate container 50da50ac0ad5 [2021-04-28T07:06:50.552Z] ---> 2bebfc16ed24 [2021-04-28T07:06:50.552Z] Step 21/23 : LABEL arch=amd64 [2021-04-28T07:06:50.552Z] ---> Running in 9e8d302381c0 [2021-04-28T07:06:50.814Z] Removing intermediate container 9e8d302381c0 [2021-04-28T07:06:50.814Z] ---> 4cc3b9fea57f [2021-04-28T07:06:50.814Z] Step 22/23 : LABEL git_sha=44e422c5aebbc746276f514c8f0709a2f5b68208 [2021-04-28T07:06:50.814Z] ---> Running in 5f19ac657867 [2021-04-28T07:06:51.077Z] Removing intermediate container 5f19ac657867 [2021-04-28T07:06:51.077Z] ---> 4c2b0cc0d70a [2021-04-28T07:06:51.077Z] Step 23/23 : LABEL version=0.0.0 [2021-04-28T07:06:51.077Z] ---> Running in b6470f7e3bda [2021-04-28T07:06:51.339Z] Removing intermediate container b6470f7e3bda [2021-04-28T07:06:51.339Z] ---> 8b944cffdd66 [2021-04-28T07:06:51.339Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-28T07:06:51.339Z] Successfully built 8b944cffdd66 [2021-04-28T07:06:51.339Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-28T07:06:52.030Z] ---> job-cost.sh [2021-04-28T07:06:52.030Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-hzWr [2021-04-28T07:07:10.225Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-28T07:07:14.638Z] gofmt -l . [2021-04-28T07:07:14.638Z] [ "`gofmt -l .`" = "" ] [2021-04-28T07:07:14.638Z] ./bin/test-attribution-txt.sh [2021-04-28T07:07:16.567Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-28T07:07:16.600Z] $ docker stop --time=1 be630f2af0cd6f6eed483eaba4ebeac782bf5229785e940079a7297e1b1e4ee6 [2021-04-28T07:07:18.949Z] $ docker rm -f be630f2af0cd6f6eed483eaba4ebeac782bf5229785e940079a7297e1b1e4ee6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T07:07:20.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-28T07:07:20.082Z] Warning: overwriting stash ‘coverage-report’ [2021-04-28T07:07:21.098Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-28T07:07:21.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-28T07:07:21.981Z] + ls -al . [2021-04-28T07:07:21.981Z] total 248 [2021-04-28T07:07:21.981Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 07:07 . [2021-04-28T07:07:21.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 07:03 .. [2021-04-28T07:07:21.981Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 07:03 .dockerignore [2021-04-28T07:07:21.981Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 07:03 .git [2021-04-28T07:07:21.981Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 07:03 .github [2021-04-28T07:07:21.981Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 28 07:03 .gitignore [2021-04-28T07:07:21.981Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 28 07:03 Dockerfile.build [2021-04-28T07:07:21.981Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 28 07:03 Jenkinsfile [2021-04-28T07:07:21.981Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 07:03 LICENSE [2021-04-28T07:07:21.981Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 28 07:03 Makefile [2021-04-28T07:07:21.981Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 28 07:03 README.md [2021-04-28T07:07:21.981Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 28 07:03 RELEASE-NOTES.txt [2021-04-28T07:07:21.981Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 07:01 VERSION [2021-04-28T07:07:21.981Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 07:03 bin [2021-04-28T07:07:21.981Z] -rw-r--r-- 1 jenkins jenkins 125561 Apr 28 07:06 coverage.out [2021-04-28T07:07:21.981Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 07:03 example [2021-04-28T07:07:21.981Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 28 07:07 go.mod [2021-04-28T07:07:21.981Z] -rw-r--r-- 1 jenkins jenkins 20957 Apr 28 07:07 go.sum [2021-04-28T07:07:21.981Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 28 07:03 internal [2021-04-28T07:07:21.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 07:03 openapi [2021-04-28T07:07:21.981Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 07:03 pkg [2021-04-28T07:07:21.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 07:03 snap [2021-04-28T07:07:21.981Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 07:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-28T07:07:22.362Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=44e422c5aebbc746276f514c8f0709a2f5b68208 --label arch=arm64 --label version=0.0.0 . [2021-04-28T07:07:22.979Z] Sending build context to Docker daemon 2.68MB [2021-04-28T07:07:22.979Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T07:07:22.979Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-28T07:07:22.979Z] ---> 2d04b38f4383 [2021-04-28T07:07:22.979Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-28T07:07:23.264Z] ---> Running in 8e922b415975 [2021-04-28T07:07:23.896Z] Removing intermediate container 8e922b415975 [2021-04-28T07:07:23.896Z] ---> 5c8257e4962d [2021-04-28T07:07:23.896Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T07:07:23.896Z] ---> Running in f05cb27119c6 [2021-04-28T07:07:24.555Z] Removing intermediate container f05cb27119c6 [2021-04-28T07:07:24.555Z] ---> b5184eaf8bad [2021-04-28T07:07:24.555Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T07:07:24.555Z] ---> Running in 3cd45d31dcda [2021-04-28T07:07:27.177Z] Removing intermediate container 3cd45d31dcda [2021-04-28T07:07:27.177Z] ---> 43daad5ad01d [2021-04-28T07:07:27.177Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-28T07:07:27.177Z] ---> Running in e086ac402d99 [2021-04-28T07:07:28.155Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-28T07:07:28.747Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-28T07:07:29.338Z] OK: 144 MiB in 45 packages [2021-04-28T07:07:30.764Z] Removing intermediate container e086ac402d99 [2021-04-28T07:07:30.764Z] ---> 2962871f747b [2021-04-28T07:07:30.764Z] Step 7/23 : COPY . . [2021-04-28T07:07:32.203Z] ---> 650ae80642c9 [2021-04-28T07:07:32.203Z] Step 8/23 : RUN go mod download [2021-04-28T07:07:32.203Z] ---> Running in bc93996680a7 [2021-04-28T07:07:34.843Z] Removing intermediate container bc93996680a7 [2021-04-28T07:07:34.843Z] ---> 4b5591e0f0c3 [2021-04-28T07:07:34.843Z] Step 9/23 : RUN make build [2021-04-28T07:07:34.843Z] ---> Running in 16b542fc3ab6 [2021-04-28T07:07:35.822Z] 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-04-28T07:07:42.472Z] lf-activate-venv(): INFO: Adding /tmp/venv-hzWr/bin to PATH [2021-04-28T07:07:42.472Z] INFO: No Stack... [2021-04-28T07:07:43.053Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-28T07:07:43.641Z] INFO: Archiving Costs [Pipeline] sh [2021-04-28T07:07:43.974Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-28T07:07:43.974Z] + cut -d, -f6 [Pipeline] lock [2021-04-28T07:07:44.092Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-900-2-stack-cost] [2021-04-28T07:07:44.100Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-900-2-stack-cost] did not exist. Created. [2021-04-28T07:07:44.100Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-900-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-28T07:07:44.441Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-28T07:07:44.576Z] Stashed 1 file(s) [Pipeline] } [2021-04-28T07:07:44.583Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-900-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-28T07:08:08.216Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-28T07:08:11.597Z] Removing intermediate container 16b542fc3ab6 [2021-04-28T07:08:11.597Z] ---> 6fcc0b1f743f [2021-04-28T07:08:11.597Z] Step 10/23 : FROM alpine:3.12 [2021-04-28T07:08:11.597Z] 3.12: Pulling from library/alpine [2021-04-28T07:08:11.597Z] d2f70382dc9a: Pulling fs layer [2021-04-28T07:08:11.869Z] d2f70382dc9a: Verifying Checksum [2021-04-28T07:08:11.869Z] d2f70382dc9a: Download complete [2021-04-28T07:08:12.463Z] d2f70382dc9a: Pull complete [2021-04-28T07:08:12.463Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-28T07:08:12.463Z] Status: Downloaded newer image for alpine:3.12 [2021-04-28T07:08:12.463Z] ---> 9852663dfa18 [2021-04-28T07:08:12.463Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-28T07:08:12.745Z] ---> Running in c570283078db [2021-04-28T07:08:13.014Z] Removing intermediate container c570283078db [2021-04-28T07:08:13.014Z] ---> 82044b519199 [2021-04-28T07:08:13.014Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-28T07:08:13.288Z] ---> Running in f07f9c2c60f2 [2021-04-28T07:08:15.260Z] Removing intermediate container f07f9c2c60f2 [2021-04-28T07:08:15.260Z] ---> 9a60a883e697 [2021-04-28T07:08:15.260Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-28T07:08:15.534Z] ---> Running in 04d0d554ba30 [2021-04-28T07:08:16.510Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-28T07:08:17.105Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-28T07:08:18.079Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-28T07:08:18.079Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-28T07:08:18.079Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-28T07:08:18.349Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-28T07:08:18.349Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-28T07:08:18.620Z] Executing busybox-1.31.1-r20.trigger [2021-04-28T07:08:18.620Z] OK: 8 MiB in 19 packages [2021-04-28T07:08:19.595Z] Removing intermediate container 04d0d554ba30 [2021-04-28T07:08:19.595Z] ---> 34fcec0184e4 [2021-04-28T07:08:19.595Z] Step 14/23 : WORKDIR / [2021-04-28T07:08:19.868Z] ---> Running in cab83141db39 [2021-04-28T07:08:20.475Z] Removing intermediate container cab83141db39 [2021-04-28T07:08:20.475Z] ---> 6bbb6d914a88 [2021-04-28T07:08:20.475Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-28T07:08:21.071Z] ---> 4303f88c619c [2021-04-28T07:08:21.071Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-28T07:08:22.512Z] ---> 7037dcf12bb5 [2021-04-28T07:08:22.512Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-28T07:08:23.107Z] ---> 3527d555bda5 [2021-04-28T07:08:23.107Z] Step 18/23 : EXPOSE 49990 [2021-04-28T07:08:23.107Z] ---> Running in 7c56c99f3d32 [2021-04-28T07:08:23.713Z] Removing intermediate container 7c56c99f3d32 [2021-04-28T07:08:23.713Z] ---> 3291966da45e [2021-04-28T07:08:23.713Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-28T07:08:23.713Z] ---> Running in ddc364818e94 [2021-04-28T07:08:24.306Z] Removing intermediate container ddc364818e94 [2021-04-28T07:08:24.306Z] ---> e596185340b7 [2021-04-28T07:08:24.306Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-28T07:08:24.306Z] ---> Running in 17988723c4b6 [2021-04-28T07:08:24.579Z] Removing intermediate container 17988723c4b6 [2021-04-28T07:08:24.579Z] ---> 9ac31a514ecc [2021-04-28T07:08:24.579Z] Step 21/23 : LABEL arch=arm64 [2021-04-28T07:08:24.850Z] ---> Running in 45f3c38b9948 [2021-04-28T07:08:25.452Z] Removing intermediate container 45f3c38b9948 [2021-04-28T07:08:25.452Z] ---> f3c2cb4b5087 [2021-04-28T07:08:25.452Z] Step 22/23 : LABEL git_sha=44e422c5aebbc746276f514c8f0709a2f5b68208 [2021-04-28T07:08:25.452Z] ---> Running in 4b19059fd30b [2021-04-28T07:08:25.728Z] Removing intermediate container 4b19059fd30b [2021-04-28T07:08:25.728Z] ---> 2efbe5760c63 [2021-04-28T07:08:25.728Z] Step 23/23 : LABEL version=0.0.0 [2021-04-28T07:08:26.002Z] ---> Running in f5ca90e1744d [2021-04-28T07:08:26.594Z] Removing intermediate container f5ca90e1744d [2021-04-28T07:08:26.594Z] ---> cf5dd8f68bb1 [2021-04-28T07:08:26.594Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-28T07:08:26.594Z] Successfully built cf5dd8f68bb1 [2021-04-28T07:08:26.594Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-28T07:08:27.065Z] ---> job-cost.sh [2021-04-28T07:08:27.065Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-S8cU [2021-04-28T07:09:06.022Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-28T07:10:27.741Z] lf-activate-venv(): INFO: Adding /tmp/venv-S8cU/bin to PATH [2021-04-28T07:10:27.741Z] INFO: No Stack... [2021-04-28T07:10:27.741Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-28T07:10:28.013Z] INFO: Archiving Costs [Pipeline] sh [2021-04-28T07:10:28.346Z] + + cut -d,cat -f6 /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-28T07:10:28.347Z] [Pipeline] lock [2021-04-28T07:10:28.459Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-900-2-stack-cost] [2021-04-28T07:10:28.474Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-900-2-stack-cost] did not exist. Created. [2021-04-28T07:10:28.474Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-900-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-28T07:10:28.837Z] /w/workspace/device-sdk-go/2@tmp/durable-4cd2d2bc/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-4cd2d2bc/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-28T07:10:29.183Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-28T07:10:29.210Z] Warning: overwriting stash ‘stack-cost’ [2021-04-28T07:10:29.360Z] Stashed 1 file(s) [Pipeline] } [2021-04-28T07:10:29.371Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-900-2-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-04-28T07:10:30.073Z] provisioning config files... [2021-04-28T07:10:30.094Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config3300845795930242254tmp [Pipeline] { [Pipeline] sh [2021-04-28T07:10:30.498Z] + set +x [2021-04-28T07:10:30.498Z] + curl -s https://codecov.io/bash [2021-04-28T07:10:30.498Z] + bash -s -- [2021-04-28T07:10:30.808Z] [2021-04-28T07:10:30.808Z] _____ _ [2021-04-28T07:10:30.808Z] / ____| | | [2021-04-28T07:10:30.808Z] | | ___ __| | ___ ___ _____ __ [2021-04-28T07:10:30.808Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-28T07:10:30.808Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-28T07:10:30.808Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-28T07:10:30.808Z] Bash-1.0.2 [2021-04-28T07:10:30.808Z] [2021-04-28T07:10:30.808Z] [2021-04-28T07:10:30.808Z] ==> git version 2.24.3 found [2021-04-28T07:10:30.808Z] ==> 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-04-28T07:10:30.808Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-28T07:10:30.808Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-28T07:10:30.808Z] ==> Jenkins CI detected. [2021-04-28T07:10:30.808Z] project root: . [2021-04-28T07:10:30.808Z] --> token set from env [2021-04-28T07:10:31.091Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-28T07:10:31.091Z] ==> Running gcov in . (disable via -X gcov) [2021-04-28T07:10:31.384Z] ==> Python coveragepy not found [2021-04-28T07:10:31.384Z] ==> Searching for coverage reports in: [2021-04-28T07:10:31.384Z] + . [2021-04-28T07:10:31.384Z] -> Found 1 reports [2021-04-28T07:10:31.384Z] ==> Detecting git/mercurial file structure [2021-04-28T07:10:31.384Z] ==> Reading reports [2021-04-28T07:10:31.384Z] + ./coverage.out bytes=125561 [2021-04-28T07:10:31.384Z] ==> Appending adjustments [2021-04-28T07:10:31.384Z] https://docs.codecov.io/docs/fixing-reports [2021-04-28T07:10:32.349Z] + Found adjustments [2021-04-28T07:10:32.349Z] ==> Gzipping contents [2021-04-28T07:10:32.349Z] 16K /tmp/codecov.TNsOXF.gz [2021-04-28T07:10:32.349Z] ==> Uploading reports [2021-04-28T07:10:32.349Z] url: https://codecov.io [2021-04-28T07:10:32.349Z] query: branch=PR-900&commit=44e422c5aebbc746276f514c8f0709a2f5b68208&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-900%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=900&job=&cmd_args= [2021-04-28T07:10:32.349Z] -> Pinging Codecov [2021-04-28T07:10:32.349Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-900&commit=44e422c5aebbc746276f514c8f0709a2f5b68208&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-900%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=900&job=&cmd_args= [2021-04-28T07:10:32.624Z] -> Uploading to [2021-04-28T07:10:32.624Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-28/7E55EF52A471D76F132DFD9A03CDDE97/44e422c5aebbc746276f514c8f0709a2f5b68208/13da2062-1670-4feb-bfc3-93b873c594e3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210428T071032Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8efc42d6fecb5b921487bb073dfbaab3dee2cef5213c6b2740c57babec6ec09 [2021-04-28T07:10:32.624Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-28T07:10:32.624Z] Dload Upload Total Spent Left Speed [2021-04-28T07:10:33.207Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16344 0 0 100 16344 0 37762 --:--:-- --:--:-- --:--:-- 37833 [2021-04-28T07:10:33.207Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/44e422c5aebbc746276f514c8f0709a2f5b68208 [Pipeline] } [2021-04-28T07:10:33.218Z] 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-04-28T07:10:34.653Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T07:10:35.475Z] ---> package-listing.sh [2021-04-28T07:10:35.475Z] ++ facter osfamily [2021-04-28T07:10:35.475Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-28T07:10:35.752Z] + OS_FAMILY=redhat [2021-04-28T07:10:35.752Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-900 [2021-04-28T07:10:35.752Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-28T07:10:35.752Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-28T07:10:35.752Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-28T07:10:35.752Z] + PACKAGES=/tmp/packages_start.txt [2021-04-28T07:10:35.752Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-900 ']' [2021-04-28T07:10:35.752Z] + PACKAGES=/tmp/packages_end.txt [2021-04-28T07:10:35.752Z] + case "${OS_FAMILY}" in [2021-04-28T07:10:35.752Z] + rpm -qa [2021-04-28T07:10:35.752Z] + sort [2021-04-28T07:10:45.891Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-28T07:10:45.891Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-28T07:10:45.891Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-28T07:10:45.891Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-900 ']' [2021-04-28T07:10:45.891Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-900/archives/ [2021-04-28T07:10:45.891Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-900/archives/ [Pipeline] echo [2021-04-28T07:10:45.907Z] 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-900/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-28T07:10:46.218Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-28T07:10:46.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T07:10:47.131Z] [2021-04-28T07:10:47.131Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-28T07:10:47.486Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T07:10:47.486Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-28T07:10:47.486Z] df20fa9351a1: Pulling fs layer [2021-04-28T07:10:47.486Z] 36b3adc4ff6f: Pulling fs layer [2021-04-28T07:10:47.486Z] 8ad3a11d3b57: Pulling fs layer [2021-04-28T07:10:47.486Z] 46f8f816bc3b: Pulling fs layer [2021-04-28T07:10:47.486Z] 93b61091891f: Pulling fs layer [2021-04-28T07:10:47.486Z] 93b9cdb0e59b: Pulling fs layer [2021-04-28T07:10:47.486Z] 5e14af77c1be: Pulling fs layer [2021-04-28T07:10:47.486Z] 01666e4c0597: Pulling fs layer [2021-04-28T07:10:47.486Z] aa168da1d23b: Pulling fs layer [2021-04-28T07:10:47.486Z] 46f8f816bc3b: Waiting [2021-04-28T07:10:47.486Z] 93b61091891f: Waiting [2021-04-28T07:10:47.486Z] 93b9cdb0e59b: Waiting [2021-04-28T07:10:47.486Z] 5e14af77c1be: Waiting [2021-04-28T07:10:47.486Z] 01666e4c0597: Waiting [2021-04-28T07:10:47.486Z] aa168da1d23b: Waiting [2021-04-28T07:10:47.486Z] 36b3adc4ff6f: Verifying Checksum [2021-04-28T07:10:47.486Z] 36b3adc4ff6f: Download complete [2021-04-28T07:10:47.777Z] 46f8f816bc3b: Verifying Checksum [2021-04-28T07:10:47.777Z] 46f8f816bc3b: Download complete [2021-04-28T07:10:47.777Z] df20fa9351a1: Verifying Checksum [2021-04-28T07:10:47.777Z] df20fa9351a1: Download complete [2021-04-28T07:10:47.777Z] 93b9cdb0e59b: Verifying Checksum [2021-04-28T07:10:47.777Z] 93b9cdb0e59b: Download complete [2021-04-28T07:10:47.777Z] 5e14af77c1be: Verifying Checksum [2021-04-28T07:10:47.777Z] 5e14af77c1be: Download complete [2021-04-28T07:10:47.777Z] 01666e4c0597: Verifying Checksum [2021-04-28T07:10:47.777Z] 01666e4c0597: Download complete [2021-04-28T07:10:47.777Z] 93b61091891f: Verifying Checksum [2021-04-28T07:10:47.777Z] 93b61091891f: Download complete [2021-04-28T07:10:48.855Z] 8ad3a11d3b57: Verifying Checksum [2021-04-28T07:10:48.855Z] 8ad3a11d3b57: Download complete [2021-04-28T07:10:49.148Z] df20fa9351a1: Pull complete [2021-04-28T07:10:49.424Z] 36b3adc4ff6f: Pull complete [2021-04-28T07:10:51.581Z] 8ad3a11d3b57: Pull complete [2021-04-28T07:10:51.858Z] 46f8f816bc3b: Pull complete [2021-04-28T07:10:53.498Z] 93b61091891f: Pull complete [2021-04-28T07:10:53.815Z] 93b9cdb0e59b: Pull complete [2021-04-28T07:10:54.097Z] aa168da1d23b: Verifying Checksum [2021-04-28T07:10:54.097Z] aa168da1d23b: Download complete [2021-04-28T07:10:54.097Z] 5e14af77c1be: Pull complete [2021-04-28T07:10:54.692Z] 01666e4c0597: Pull complete [2021-04-28T07:11:09.959Z] aa168da1d23b: Pull complete [2021-04-28T07:11:09.959Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-28T07:11:09.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T07:11:09.959Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-28T07:11:11.274Z] prd-centos7-docker-4c-2g-2171 does not seem to be running inside a container [2021-04-28T07:11:11.360Z] $ 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-900/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-900 -v /w/workspace/dgexfoundry_device-sdk-go_PR-900:/w/workspace/dgexfoundry_device-sdk-go_PR-900:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-900@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-04-28T07:11:14.143Z] $ docker top dfba69168393ecd27d79cd29b8065095e57da31c2d30ee0ad522a493e50012e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T07:11:15.185Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-28T07:11:15.574Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-28T07:11:16.063Z] + ls /var/log/sa-host [2021-04-28T07:11:16.063Z] + sadf -c /var/log/sa-host/sa23 [2021-04-28T07:11:16.063Z] file_magic: OK [2021-04-28T07:11:16.063Z] HZ: Using current value: 100 [2021-04-28T07:11:16.063Z] file_header: OK [2021-04-28T07:11:16.063Z] 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-04-28T07:11:16.063Z] Statistics: [2021-04-28T07:11:16.063Z] Hnuu...uuuununununu... [2021-04-28T07:11:16.063Z] File successfully converted to sysstat format version 12.2.1 [2021-04-28T07:11:16.063Z] + sadf -c /var/log/sa-host/sa28 [2021-04-28T07:11:16.063Z] file_magic: OK [2021-04-28T07:11:16.063Z] HZ: Using current value: 100 [2021-04-28T07:11:16.063Z] file_header: OK [2021-04-28T07:11:16.063Z] 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-04-28T07:11:16.063Z] Statistics: [2021-04-28T07:11:16.063Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-28T07:11:16.063Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-28T07:11:16.680Z] provisioning config files... [2021-04-28T07:11:16.743Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config1720105840569753280tmp [Pipeline] { [Pipeline] echo [2021-04-28T07:11:16.803Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T07:11:17.485Z] ---> create-netrc.sh [Pipeline] } [2021-04-28T07:11:17.521Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-28T07:11:17.560Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T07:11:17.963Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-28T07:11:17.985Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T07:11:18.352Z] ---> sudo-logs.sh [2021-04-28T07:11:18.353Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-28T07:11:18.564Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T07:11:19.382Z] ---> job-cost.sh [2021-04-28T07:11:19.382Z] lf-activate-venv: SKIPPING [2021-04-28T07:11:19.382Z] DEBUG: total: 0.20999999344348907 [2021-04-28T07:11:19.382Z] INFO: Retrieving Stack Cost... [2021-04-28T07:11:20.486Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-28T07:11:21.727Z] INFO: Archiving Costs [Pipeline] echo [2021-04-28T07:11:21.749Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T07:11:22.526Z] ---> logs-deploy.sh [2021-04-28T07:11:22.526Z] lf-activate-venv: SKIPPING [2021-04-28T07:11:22.526Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-900/2 [2021-04-28T07:11:22.526Z] INFO: archiving workspace using pattern(s): [2021-04-28T07:11:25.240Z] Archives upload complete. [2021-04-28T07:11:25.524Z] INFO: archiving logs to Nexus