Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cefba91cd2d774311e977f8787cb353ade1003ea+70dff52b8df9807f5114cad14836e8310fd11d9c (f7587256a409b04be06d77bfd43620f47e40f1a1) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3338’ is offline Running on prd-centos7-docker-4c-2g-3341 in /w/workspace/dgexfoundry_device-sdk-go_PR-904 [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-904 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit cefba91cd2d774311e977f8787cb353ade1003ea Merge succeeded, producing 9cb6d69aeabdd40b6f1ec657b6d3df8a2409998c Checking out Revision 9cb6d69aeabdd40b6f1ec657b6d3df8a2409998c (PR-904) > 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/904/head:refs/remotes/origin/PR-904 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cefba91cd2d774311e977f8787cb353ade1003ea # 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 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9cb6d69aeabdd40b6f1ec657b6d3df8a2409998c # timeout=10 Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" > git rev-list --no-walk cefba91cd2d774311e977f8787cb353ade1003ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-06T22:42:14.408Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T22:42:14.502Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T22:42:14.532Z] ========================================================= [2021-05-06T22:42:14.532Z] EdgeX Global Pipelines Version Info [2021-05-06T22:42:14.532Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:42:16.525Z] ------------------- [2021-05-06T22:42:16.525Z] stable info: [2021-05-06T22:42:16.525Z] ------------------- [2021-05-06T22:42:16.525Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T22:42:16.525Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:42:16.525Z] Message: update stable to v1.0.191 [2021-05-06T22:42:17.104Z] ------------------- [2021-05-06T22:42:17.105Z] experimental info: [2021-05-06T22:42:17.105Z] ------------------- [2021-05-06T22:42:17.105Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T22:42:17.105Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:42:17.105Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T22:42:17.313Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-06T22:42:17.372Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-06T22:42:17.418Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T22:42:17.469Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T22:42:17.516Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T22:42:17.563Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T22:42:17.609Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T22:42:17.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T22:42:17.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-06T22:42:17.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T22:42:17.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T22:42:17.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-06T22:42:17.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T22:42:17.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T22:42:17.905Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T22:42:17.933Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:42:17.956Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:42:17.979Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:42:18.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T22:42:18.026Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T22:42:18.050Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-06T22:42:18.073Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-06T22:42:18.097Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T22:42:18.120Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T22:42:18.144Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-06T22:42:18.167Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T22:42:18.192Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-904 [Pipeline] echo [2021-05-06T22:42:18.216Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-904 [Pipeline] echo [2021-05-06T22:42:18.240Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-904 [Pipeline] echo [2021-05-06T22:42:18.265Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9cb6d69aeabdd40b6f1ec657b6d3df8a2409998c [Pipeline] echo [2021-05-06T22:42:18.288Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9cb6d69 [Pipeline] echo [2021-05-06T22:42:18.312Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:42:18.390Z] provisioning config files... [2021-05-06T22:42:18.421Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/config5129811881101440325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:42:18.744Z] ---> docker-login.sh [2021-05-06T22:42:18.744Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:42:19.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:19.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:19.271Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:19.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:19.271Z] [2021-05-06T22:42:19.271Z] Login Succeeded [2021-05-06T22:42:19.271Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:42:19.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:19.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:19.535Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:19.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:19.535Z] [2021-05-06T22:42:19.535Z] Login Succeeded [2021-05-06T22:42:19.535Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:42:19.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:19.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:19.535Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:19.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:19.535Z] [2021-05-06T22:42:19.535Z] Login Succeeded [2021-05-06T22:42:19.535Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:42:19.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:19.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:19.798Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:19.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:19.798Z] [2021-05-06T22:42:19.798Z] Login Succeeded [2021-05-06T22:42:19.798Z] docker.io [2021-05-06T22:42:19.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:20.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:20.064Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:20.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:20.064Z] [2021-05-06T22:42:20.064Z] Login Succeeded [2021-05-06T22:42:20.064Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:42:20.075Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:42:20.560Z] + git log --format=format:%s -1 9cb6d69aeabdd40b6f1ec657b6d3df8a2409998c [Pipeline] echo [2021-05-06T22:42:20.657Z] GIT_COMMIT: 9cb6d69aeabdd40b6f1ec657b6d3df8a2409998c, Commit Message: Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD [Pipeline] echo [2021-05-06T22:42:20.671Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:42:21.395Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:42:21.396Z] [2021-05-06T22:42:21.396Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:42:21.713Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:42:21.713Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T22:42:21.713Z] 31603596830f: Pulling fs layer [2021-05-06T22:42:21.713Z] 54011a49482f: Pulling fs layer [2021-05-06T22:42:21.713Z] a6820b24f6d8: Pulling fs layer [2021-05-06T22:42:21.713Z] f581987b2513: Pulling fs layer [2021-05-06T22:42:21.713Z] f581987b2513: Waiting [2021-05-06T22:42:21.713Z] 54011a49482f: Verifying Checksum [2021-05-06T22:42:21.713Z] 54011a49482f: Download complete [2021-05-06T22:42:21.978Z] 31603596830f: Download complete [2021-05-06T22:42:21.978Z] f581987b2513: Verifying Checksum [2021-05-06T22:42:21.978Z] f581987b2513: Download complete [2021-05-06T22:42:21.978Z] a6820b24f6d8: Verifying Checksum [2021-05-06T22:42:21.978Z] a6820b24f6d8: Download complete [2021-05-06T22:42:22.240Z] 31603596830f: Pull complete [2021-05-06T22:42:22.503Z] 54011a49482f: Pull complete [2021-05-06T22:42:23.082Z] a6820b24f6d8: Pull complete [2021-05-06T22:42:23.347Z] f581987b2513: Pull complete [2021-05-06T22:42:23.347Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T22:42:23.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:42:23.347Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T22:42:23.718Z] prd-centos7-docker-4c-2g-3341 does not seem to be running inside a container [2021-05-06T22:42:23.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-904 -v /w/workspace/dgexfoundry_device-sdk-go_PR-904:/w/workspace/dgexfoundry_device-sdk-go_PR-904:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-904@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-06T22:42:25.647Z] $ docker top be8493cea1abd0876b55dabee2b8460b7e232b52be8c5ee4e3fed15a55966f5f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T22:42:25.811Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:42:25.811Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:42:26.034Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:42:26.038Z] $ docker exec be8493cea1abd0876b55dabee2b8460b7e232b52be8c5ee4e3fed15a55966f5f ssh-agent [2021-05-06T22:42:26.208Z] SSH_AUTH_SOCK=/tmp/ssh-fmnmNOUbJv3d/agent.11 [2021-05-06T22:42:26.208Z] SSH_AGENT_PID=17 [2021-05-06T22:42:26.218Z] Running ssh-add (command line suppressed) [2021-05-06T22:42:26.341Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/private_key_5007745766990672916.key (/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/private_key_5007745766990672916.key) [2021-05-06T22:42:26.392Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:42:26.698Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T22:42:26.720Z] $ docker exec --env ******** --env ******** be8493cea1abd0876b55dabee2b8460b7e232b52be8c5ee4e3fed15a55966f5f ssh-agent -k [2021-05-06T22:42:26.861Z] unset SSH_AUTH_SOCK; [2021-05-06T22:42:26.861Z] unset SSH_AGENT_PID; [2021-05-06T22:42:26.861Z] echo Agent pid 17 killed; [2021-05-06T22:42:26.910Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T22:42:26.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:42:26.946Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:42:27.108Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:42:27.113Z] $ docker exec be8493cea1abd0876b55dabee2b8460b7e232b52be8c5ee4e3fed15a55966f5f ssh-agent [2021-05-06T22:42:27.286Z] SSH_AUTH_SOCK=/tmp/ssh-RiiXq1R0S42P/agent.47 [2021-05-06T22:42:27.286Z] SSH_AGENT_PID=52 [2021-05-06T22:42:27.294Z] Running ssh-add (command line suppressed) [2021-05-06T22:42:27.422Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/private_key_8051861704902856565.key (/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/private_key_8051861704902856565.key) [2021-05-06T22:42:27.478Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:42:27.785Z] + git semver init [2021-05-06T22:42:27.785Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T22:42:27.785Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-904/.git [2021-05-06T22:42:27.785Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-904 [2021-05-06T22:42:27.785Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T22:42:27.785Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T22:42:27.785Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T22:42:27.785Z] # $SEMVER_BRANCH = PR-904 [2021-05-06T22:42:27.785Z] # $SEMVER_TEMP = /tmp/semver-085657923 [2021-05-06T22:42:27.785Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-06T22:42:28.734Z] # '/tmp/semver-085657923' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-904/.semver' [2021-05-06T22:42:28.734Z] # -> Force: false [2021-05-06T22:42:28.734Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-904/.semver [Pipeline] } [2021-05-06T22:42:28.749Z] $ docker exec --env ******** --env ******** be8493cea1abd0876b55dabee2b8460b7e232b52be8c5ee4e3fed15a55966f5f ssh-agent -k [2021-05-06T22:42:28.864Z] unset SSH_AUTH_SOCK; [2021-05-06T22:42:28.864Z] unset SSH_AGENT_PID; [2021-05-06T22:42:28.864Z] echo Agent pid 52 killed; [2021-05-06T22:42:28.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T22:42:29.262Z] + git semver [Pipeline] } [2021-05-06T22:42:29.280Z] $ docker stop --time=1 be8493cea1abd0876b55dabee2b8460b7e232b52be8c5ee4e3fed15a55966f5f [2021-05-06T22:42:30.814Z] $ docker rm -f be8493cea1abd0876b55dabee2b8460b7e232b52be8c5ee4e3fed15a55966f5f [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:42:31.205Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T22:42:31.510Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T22:42:31.514Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-06T22:42:46.692Z] Still waiting to schedule task [2021-05-06T22:42:46.693Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-06T22:42:46.702Z] Still waiting to schedule task [2021-05-06T22:42:46.702Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-06T22:43:26.384Z] Running on prd-centos7-docker-4c-2g-3345 in /w/workspace/dgexfoundry_device-sdk-go_PR-904 [Pipeline] { [Pipeline] ws [2021-05-06T22:43:26.403Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-06T22:43:29.084Z] using credential edgex-jenkins-ssh [2021-05-06T22:43:29.098Z] Cloning the remote Git repository [2021-05-06T22:43:29.126Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:43:29.196Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-06T22:43:29.263Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:43:29.263Z] > git --version # timeout=10 [2021-05-06T22:43:29.269Z] > git --version # 'git version 2.24.3' [2021-05-06T22:43:29.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:43:29.301Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:43:30.896Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit cefba91cd2d774311e977f8787cb353ade1003ea [2021-05-06T22:43:31.006Z] Merge succeeded, producing 3c513d27165c2423c902faa779b6eec65fa1bc34 [2021-05-06T22:43:31.007Z] Checking out Revision 3c513d27165c2423c902faa779b6eec65fa1bc34 (PR-904) [2021-05-06T22:43:30.467Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:43:30.476Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:43:30.493Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:43:30.506Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:43:30.507Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:43:30.511Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/904/head:refs/remotes/origin/PR-904 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:43:30.906Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:43:30.914Z] > git checkout -f cefba91cd2d774311e977f8787cb353ade1003ea # timeout=10 [2021-05-06T22:43:30.958Z] > git remote # timeout=10 [2021-05-06T22:43:30.964Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:43:30.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:43:30.974Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-06T22:43:31.001Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:43:31.012Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:43:31.016Z] > git checkout -f 3c513d27165c2423c902faa779b6eec65fa1bc34 # timeout=10 [2021-05-06T22:43:34.634Z] Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" [2021-05-06T22:43:34.640Z] > git rev-list --no-walk cefba91cd2d774311e977f8787cb353ade1003ea # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:43:35.886Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:43:36.221Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:43:36.525Z] + true [2021-05-06T22:43:36.525Z] + sudo service docker restart [2021-05-06T22:43:36.525Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:43:37.953Z] provisioning config files... [2021-05-06T22:43:37.984Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5619248312043755851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:43:38.316Z] ---> docker-login.sh [2021-05-06T22:43:38.317Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:43:38.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:43:38.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:43:38.582Z] Configure a credential helper to remove this warning. See [2021-05-06T22:43:38.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:43:38.582Z] [2021-05-06T22:43:38.582Z] Login Succeeded [2021-05-06T22:43:38.582Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:43:38.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:43:38.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:43:38.845Z] Configure a credential helper to remove this warning. See [2021-05-06T22:43:38.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:43:38.845Z] [2021-05-06T22:43:38.845Z] Login Succeeded [2021-05-06T22:43:38.845Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:43:38.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:43:39.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:43:39.109Z] Configure a credential helper to remove this warning. See [2021-05-06T22:43:39.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:43:39.109Z] [2021-05-06T22:43:39.109Z] Login Succeeded [2021-05-06T22:43:39.109Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:43:39.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:43:39.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:43:39.109Z] Configure a credential helper to remove this warning. See [2021-05-06T22:43:39.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:43:39.109Z] [2021-05-06T22:43:39.109Z] Login Succeeded [2021-05-06T22:43:39.109Z] docker.io [2021-05-06T22:43:39.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:43:39.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:43:39.640Z] Configure a credential helper to remove this warning. See [2021-05-06T22:43:39.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:43:39.640Z] [2021-05-06T22:43:39.640Z] Login Succeeded [2021-05-06T22:43:39.640Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:43:39.653Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:43:39.845Z] ========================================================= [2021-05-06T22:43:39.845Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T22:43:39.845Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:43:40.164Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-06T22:43:40.430Z] Sending build context to Docker daemon 2.482MB [2021-05-06T22:43:40.430Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:43:40.430Z] Step 2/8 : FROM ${BASE} [2021-05-06T22:43:40.430Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T22:43:40.430Z] 540db60ca938: Pulling fs layer [2021-05-06T22:43:40.430Z] adcc1eea9eea: Pulling fs layer [2021-05-06T22:43:40.430Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T22:43:40.430Z] 0510c868ecb4: Pulling fs layer [2021-05-06T22:43:40.430Z] afea3b2eda06: Pulling fs layer [2021-05-06T22:43:40.430Z] 7809a108b3ef: Pulling fs layer [2021-05-06T22:43:40.430Z] f706445af74f: Pulling fs layer [2021-05-06T22:43:40.430Z] afea3b2eda06: Waiting [2021-05-06T22:43:40.430Z] 7809a108b3ef: Waiting [2021-05-06T22:43:40.430Z] f706445af74f: Waiting [2021-05-06T22:43:40.430Z] 0510c868ecb4: Waiting [2021-05-06T22:43:40.430Z] 4c4ab2625f07: Verifying Checksum [2021-05-06T22:43:40.430Z] 4c4ab2625f07: Download complete [2021-05-06T22:43:40.430Z] adcc1eea9eea: Download complete [2021-05-06T22:43:40.430Z] afea3b2eda06: Verifying Checksum [2021-05-06T22:43:40.430Z] afea3b2eda06: Download complete [2021-05-06T22:43:40.430Z] 7809a108b3ef: Verifying Checksum [2021-05-06T22:43:40.430Z] 7809a108b3ef: Download complete [2021-05-06T22:43:40.430Z] 540db60ca938: Download complete [2021-05-06T22:43:40.696Z] 540db60ca938: Pull complete [2021-05-06T22:43:40.962Z] adcc1eea9eea: Pull complete [2021-05-06T22:43:41.224Z] 4c4ab2625f07: Pull complete [2021-05-06T22:43:42.621Z] f706445af74f: Verifying Checksum [2021-05-06T22:43:43.578Z] 0510c868ecb4: Download complete [2021-05-06T22:43:50.213Z] 0510c868ecb4: Pull complete [2021-05-06T22:43:50.213Z] afea3b2eda06: Pull complete [2021-05-06T22:43:50.213Z] 7809a108b3ef: Pull complete [2021-05-06T22:43:54.459Z] f706445af74f: Pull complete [2021-05-06T22:43:54.459Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T22:43:54.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T22:43:54.459Z] ---> b068be0155e3 [2021-05-06T22:43:54.459Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:43:54.459Z] ---> Running in d7602ec3c368 [2021-05-06T22:43:54.730Z] Removing intermediate container d7602ec3c368 [2021-05-06T22:43:54.730Z] ---> a7ce4f1f0f9d [2021-05-06T22:43:54.730Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:43:54.730Z] ---> Running in c9b739e09e87 [2021-05-06T22:43:55.696Z] Removing intermediate container c9b739e09e87 [2021-05-06T22:43:55.696Z] ---> 4e6f1b076217 [2021-05-06T22:43:55.696Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T22:43:55.959Z] ---> Running in 051b597f0855 [2021-05-06T22:43:56.222Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:43:57.626Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:43:58.201Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-06T22:43:58.201Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-06T22:43:58.201Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-06T22:43:58.464Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-06T22:43:58.464Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-06T22:43:58.726Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-06T22:43:58.726Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T22:43:58.992Z] OK: 150 MiB in 46 packages [2021-05-06T22:43:59.569Z] Removing intermediate container 051b597f0855 [2021-05-06T22:43:59.569Z] ---> 828bb151c3ba [2021-05-06T22:43:59.569Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-06T22:43:59.569Z] ---> Running in a7f16c4dce05 [2021-05-06T22:43:59.569Z] Removing intermediate container a7f16c4dce05 [2021-05-06T22:43:59.569Z] ---> ae6105c7c90b [2021-05-06T22:43:59.569Z] Step 7/8 : COPY . . [2021-05-06T22:44:00.964Z] ---> df9a344a7e5e [2021-05-06T22:44:00.964Z] Step 8/8 : RUN go mod download [2021-05-06T22:44:00.964Z] ---> Running in acde769b26b9 [2021-05-06T22:44:33.198Z] Removing intermediate container acde769b26b9 [2021-05-06T22:44:33.198Z] ---> de145f481cae [2021-05-06T22:44:33.198Z] Successfully built de145f481cae [2021-05-06T22:44:33.198Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:44:33.520Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:44:33.520Z] . [Pipeline] withDockerContainer [2021-05-06T22:44:33.644Z] prd-centos7-docker-4c-2g-3345 does not seem to be running inside a container [2021-05-06T22:44:33.707Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-06T22:44:34.515Z] $ docker top 366275c0d05a8a6695ff749b1bcfe9b2d758ab2dc4303530e02f245604f11380 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:44:34.946Z] + go version [2021-05-06T22:44:34.947Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T22:44:34.963Z] $ docker stop --time=1 366275c0d05a8a6695ff749b1bcfe9b2d758ab2dc4303530e02f245604f11380 [2021-05-06T22:44:36.331Z] $ docker rm -f 366275c0d05a8a6695ff749b1bcfe9b2d758ab2dc4303530e02f245604f11380 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:44:36.903Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:44:36.903Z] . [Pipeline] withDockerContainer [2021-05-06T22:44:37.017Z] prd-centos7-docker-4c-2g-3345 does not seem to be running inside a container [2021-05-06T22:44:37.091Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-06T22:44:37.768Z] $ docker top 16a8cc9ffc9462b9223d297b74cd3966e634a14f49f4142d51b39f72a4885c34 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:44:38.248Z] + go mod tidy [Pipeline] sh [2021-05-06T22:44:39.150Z] + make test [2021-05-06T22:44:39.150Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-06T22:44:39.770Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3346 in /w/workspace/dgexfoundry_device-sdk-go_PR-904 [Pipeline] { [Pipeline] ws [2021-05-06T22:44:39.790Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-06T22:44:45.691Z] using credential edgex-jenkins-ssh [2021-05-06T22:44:45.710Z] Cloning the remote Git repository [2021-05-06T22:44:45.773Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:44:45.950Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-06T22:44:46.141Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:44:46.142Z] > git --version # timeout=10 [2021-05-06T22:44:46.163Z] > git --version # 'git version 2.17.1' [2021-05-06T22:44:46.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:44:46.221Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:44:48.157Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit cefba91cd2d774311e977f8787cb353ade1003ea [2021-05-06T22:44:48.422Z] Merge succeeded, producing a17cc8d6238b66c7cc2d52c03d26da45d2e6f3df [2021-05-06T22:44:48.422Z] Checking out Revision a17cc8d6238b66c7cc2d52c03d26da45d2e6f3df (PR-904) [2021-05-06T22:44:47.505Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:44:47.526Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:44:47.552Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:44:47.593Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:44:47.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:44:47.606Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/904/head:refs/remotes/origin/PR-904 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:44:48.179Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:44:48.198Z] > git checkout -f cefba91cd2d774311e977f8787cb353ade1003ea # timeout=10 [2021-05-06T22:44:48.298Z] > git remote # timeout=10 [2021-05-06T22:44:48.315Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:44:48.327Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:44:48.338Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-06T22:44:48.408Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:44:48.429Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:44:48.449Z] > git checkout -f a17cc8d6238b66c7cc2d52c03d26da45d2e6f3df # timeout=10 [2021-05-06T22:44:49.523Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-06T22:44:52.724Z] Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" [2021-05-06T22:44:52.731Z] > git rev-list --no-walk cefba91cd2d774311e977f8787cb353ade1003ea # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:44:54.189Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:44:54.606Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:44:54.949Z] + true [2021-05-06T22:44:54.949Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:44:57.001Z] provisioning config files... [2021-05-06T22:44:57.046Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2099595264084346786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:44:57.449Z] ---> docker-login.sh [2021-05-06T22:44:57.450Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:44:58.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:44:58.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:44:58.710Z] Configure a credential helper to remove this warning. See [2021-05-06T22:44:58.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:44:58.710Z] [2021-05-06T22:44:58.710Z] Login Succeeded [2021-05-06T22:44:58.710Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:44:59.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:44:59.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:44:59.308Z] Configure a credential helper to remove this warning. See [2021-05-06T22:44:59.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:44:59.308Z] [2021-05-06T22:44:59.308Z] Login Succeeded [2021-05-06T22:44:59.308Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:44:59.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:44:59.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:44:59.908Z] Configure a credential helper to remove this warning. See [2021-05-06T22:44:59.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:44:59.908Z] [2021-05-06T22:44:59.908Z] Login Succeeded [2021-05-06T22:44:59.908Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:45:00.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:45:00.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:45:00.509Z] Configure a credential helper to remove this warning. See [2021-05-06T22:45:00.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:45:00.509Z] [2021-05-06T22:45:00.509Z] Login Succeeded [2021-05-06T22:45:00.509Z] docker.io [2021-05-06T22:45:01.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:45:01.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:45:01.385Z] Configure a credential helper to remove this warning. See [2021-05-06T22:45:01.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:45:01.385Z] [2021-05-06T22:45:01.385Z] Login Succeeded [2021-05-06T22:45:01.385Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:45:01.404Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:45:01.759Z] ========================================================= [2021-05-06T22:45:01.759Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T22:45:01.759Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:45:02.124Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-06T22:45:02.398Z] Sending build context to Docker daemon 2.473MB [2021-05-06T22:45:02.398Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:45:02.398Z] Step 2/8 : FROM ${BASE} [2021-05-06T22:45:02.676Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T22:45:02.676Z] 595b0fe564bb: Pulling fs layer [2021-05-06T22:45:02.676Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T22:45:02.676Z] 316046926c0a: Pulling fs layer [2021-05-06T22:45:02.676Z] 4ebd0625c992: Pulling fs layer [2021-05-06T22:45:02.676Z] 207e8628e3a3: Pulling fs layer [2021-05-06T22:45:02.676Z] c791037a9be2: Pulling fs layer [2021-05-06T22:45:02.676Z] ffd874e62e21: Pulling fs layer [2021-05-06T22:45:02.676Z] 207e8628e3a3: Waiting [2021-05-06T22:45:02.676Z] c791037a9be2: Waiting [2021-05-06T22:45:02.676Z] ffd874e62e21: Waiting [2021-05-06T22:45:02.676Z] 4ebd0625c992: Waiting [2021-05-06T22:45:02.676Z] 316046926c0a: Verifying Checksum [2021-05-06T22:45:02.676Z] 316046926c0a: Download complete [2021-05-06T22:45:02.676Z] 7186ed65a4f7: Download complete [2021-05-06T22:45:02.676Z] 207e8628e3a3: Download complete [2021-05-06T22:45:02.952Z] c791037a9be2: Verifying Checksum [2021-05-06T22:45:02.952Z] c791037a9be2: Download complete [2021-05-06T22:45:02.952Z] 595b0fe564bb: Verifying Checksum [2021-05-06T22:45:02.952Z] 595b0fe564bb: Download complete [2021-05-06T22:45:03.558Z] 595b0fe564bb: Pull complete [2021-05-06T22:45:04.165Z] 7186ed65a4f7: Pull complete [2021-05-06T22:45:04.441Z] 316046926c0a: Pull complete [2021-05-06T22:45:05.038Z] ffd874e62e21: Verifying Checksum [2021-05-06T22:45:05.038Z] ffd874e62e21: Download complete [2021-05-06T22:45:06.474Z] 4ebd0625c992: Verifying Checksum [2021-05-06T22:45:06.474Z] 4ebd0625c992: Download complete [2021-05-06T22:45:16.325Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-06T22:45:16.325Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-06T22:45:16.325Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-06T22:45:16.325Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-06T22:45:16.325Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-06T22:45:16.325Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.062s coverage: 28.1% of statements [2021-05-06T22:45:16.325Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.079s coverage: 78.9% of statements [2021-05-06T22:45:16.653Z] 4ebd0625c992: Pull complete [2021-05-06T22:45:16.931Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.072s coverage: 7.8% of statements [2021-05-06T22:45:16.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-06T22:45:16.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-06T22:45:16.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-06T22:45:16.931Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.117s coverage: 30.2% of statements [2021-05-06T22:45:16.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-06T22:45:16.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-06T22:45:16.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-06T22:45:17.251Z] 207e8628e3a3: Pull complete [2021-05-06T22:45:17.521Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.137s coverage: 57.2% of statements [2021-05-06T22:45:17.526Z] c791037a9be2: Pull complete [2021-05-06T22:45:18.494Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.214s coverage: 6.6% of statements [2021-05-06T22:45:18.494Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 5.0% of statements [2021-05-06T22:45:18.494Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-06T22:45:18.758Z] GO111MODULE=on go vet ./... [2021-05-06T22:45:20.924Z] ffd874e62e21: Pull complete [2021-05-06T22:45:21.199Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T22:45:21.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T22:45:21.199Z] ---> cfc18b08335c [2021-05-06T22:45:21.199Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:45:24.596Z] ---> Running in e745244f538b [2021-05-06T22:45:24.596Z] Removing intermediate container e745244f538b [2021-05-06T22:45:24.596Z] ---> 3141455e20f0 [2021-05-06T22:45:24.596Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:45:24.596Z] ---> Running in cd62f3850c9f [2021-05-06T22:45:26.576Z] Removing intermediate container cd62f3850c9f [2021-05-06T22:45:26.576Z] ---> d6bbffadca6c [2021-05-06T22:45:26.576Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T22:45:26.851Z] ---> Running in 07bd8e45747c [2021-05-06T22:45:27.835Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:45:29.275Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:45:29.868Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-06T22:45:29.868Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-06T22:45:29.868Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-06T22:45:30.140Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-06T22:45:30.140Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-06T22:45:30.140Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-06T22:45:30.414Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T22:45:30.414Z] OK: 139 MiB in 46 packages [2021-05-06T22:45:31.861Z] Removing intermediate container 07bd8e45747c [2021-05-06T22:45:31.861Z] ---> 572c3c6d1ff3 [2021-05-06T22:45:31.861Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-06T22:45:31.861Z] ---> Running in e723bb202fe4 [2021-05-06T22:45:32.462Z] Removing intermediate container e723bb202fe4 [2021-05-06T22:45:32.462Z] ---> a8fa8cd952a4 [2021-05-06T22:45:32.462Z] Step 7/8 : COPY . . [2021-05-06T22:45:33.906Z] ---> 1a88d11fcb52 [2021-05-06T22:45:33.906Z] Step 8/8 : RUN go mod download [2021-05-06T22:45:33.906Z] ---> Running in 7b1cc110b5dc [2021-05-06T22:45:40.965Z] gofmt -l . [2021-05-06T22:45:40.965Z] [ "`gofmt -l .`" = "" ] [2021-05-06T22:45:40.965Z] ./bin/test-attribution-txt.sh [2021-05-06T22:45:40.965Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T22:45:41.256Z] $ docker stop --time=1 16a8cc9ffc9462b9223d297b74cd3966e634a14f49f4142d51b39f72a4885c34 [2021-05-06T22:45:43.052Z] $ docker rm -f 16a8cc9ffc9462b9223d297b74cd3966e634a14f49f4142d51b39f72a4885c34 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:45:43.756Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T22:45:44.195Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-06T22:45:46.842Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T22:45:47.154Z] + ls -al . [2021-05-06T22:45:47.155Z] total 188 [2021-05-06T22:45:47.155Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 6 22:45 . [2021-05-06T22:45:47.155Z] drwxrwxr-x. 4 jenkins jenkins 28 May 6 22:43 .. [2021-05-06T22:45:47.155Z] drwxrwxr-x. 2 jenkins jenkins 64 May 6 22:43 bin [2021-05-06T22:45:47.155Z] -rw-r--r--. 1 jenkins jenkins 100320 May 6 22:45 coverage.out [2021-05-06T22:45:47.155Z] -rw-rw-r--. 1 jenkins jenkins 987 May 6 22:43 Dockerfile.build [2021-05-06T22:45:47.155Z] -rw-rw-r--. 1 jenkins jenkins 140 May 6 22:43 .dockerignore [2021-05-06T22:45:47.155Z] drwxrwxr-x. 5 jenkins jenkins 62 May 6 22:43 example [2021-05-06T22:45:47.155Z] drwxrwxr-x. 8 jenkins jenkins 179 May 6 22:43 .git [2021-05-06T22:45:47.155Z] drwxrwxr-x. 2 jenkins jenkins 103 May 6 22:43 .github [2021-05-06T22:45:47.155Z] -rw-rw-r--. 1 jenkins jenkins 138 May 6 22:43 .gitignore [2021-05-06T22:45:47.155Z] -rw-r--r--. 1 jenkins jenkins 575 May 6 22:45 go.mod [2021-05-06T22:45:47.155Z] -rw-r--r--. 1 jenkins jenkins 20957 May 6 22:44 go.sum [2021-05-06T22:45:47.155Z] drwxrwxr-x. 14 jenkins jenkins 207 May 6 22:43 internal [2021-05-06T22:45:47.155Z] -rw-rw-r--. 1 jenkins jenkins 901 May 6 22:43 Jenkinsfile [2021-05-06T22:45:47.155Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 6 22:43 LICENSE [2021-05-06T22:45:47.155Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 6 22:43 Makefile [2021-05-06T22:45:47.155Z] drwxrwxr-x. 4 jenkins jenkins 26 May 6 22:43 openapi [2021-05-06T22:45:47.155Z] drwxrwxr-x. 5 jenkins jenkins 50 May 6 22:43 pkg [2021-05-06T22:45:47.155Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 6 22:43 README.md [2021-05-06T22:45:47.155Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 6 22:43 RELEASE-NOTES.txt [2021-05-06T22:45:47.155Z] drwxrwxr-x. 4 jenkins jenkins 54 May 6 22:43 snap [2021-05-06T22:45:47.155Z] -rw-rw-r--. 1 jenkins jenkins 5 May 6 22:42 VERSION [2021-05-06T22:45:47.155Z] -rw-rw-r--. 1 jenkins jenkins 222 May 6 22:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:45:47.497Z] + 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=9cb6d69aeabdd40b6f1ec657b6d3df8a2409998c --label arch=amd64 --label version=0.0.0 . [2021-05-06T22:45:47.765Z] Sending build context to Docker daemon 2.583MB [2021-05-06T22:45:47.766Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:45:47.766Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-06T22:45:47.766Z] ---> de145f481cae [2021-05-06T22:45:47.766Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-06T22:45:48.033Z] ---> Running in dd51ceed7b9b [2021-05-06T22:45:48.301Z] Removing intermediate container dd51ceed7b9b [2021-05-06T22:45:48.301Z] ---> 90c87ded761d [2021-05-06T22:45:48.301Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:45:48.301Z] ---> Running in 7ae528f2e26c [2021-05-06T22:45:48.565Z] Removing intermediate container 7ae528f2e26c [2021-05-06T22:45:48.565Z] ---> 55acc562995d [2021-05-06T22:45:48.565Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:45:48.565Z] ---> Running in aa9ef9e16720 [2021-05-06T22:45:50.533Z] Removing intermediate container aa9ef9e16720 [2021-05-06T22:45:50.533Z] ---> 75bf834e7726 [2021-05-06T22:45:50.533Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-06T22:45:50.533Z] ---> Running in 53378100af8d [2021-05-06T22:45:50.797Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:45:51.754Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:45:52.330Z] OK: 150 MiB in 46 packages [2021-05-06T22:45:52.614Z] Removing intermediate container 53378100af8d [2021-05-06T22:45:52.614Z] ---> 0a1dc00aef2f [2021-05-06T22:45:52.614Z] Step 7/23 : COPY . . [2021-05-06T22:45:53.565Z] ---> 6379619b2ce8 [2021-05-06T22:45:53.565Z] Step 8/23 : RUN go mod download [2021-05-06T22:45:53.839Z] ---> Running in a2d80fb74533 [2021-05-06T22:45:54.802Z] Removing intermediate container a2d80fb74533 [2021-05-06T22:45:54.802Z] ---> b5fbdf1f390b [2021-05-06T22:45:54.802Z] Step 9/23 : RUN make build [2021-05-06T22:45:54.802Z] ---> Running in 8cc612c9860a [2021-05-06T22:45:55.075Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-06T22:46:01.598Z] Removing intermediate container 7b1cc110b5dc [2021-05-06T22:46:01.598Z] ---> bb48cc098d02 [2021-05-06T22:46:01.598Z] Successfully built bb48cc098d02 [2021-05-06T22:46:01.598Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:46:01.955Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T22:46:01.955Z] . [Pipeline] withDockerContainer [2021-05-06T22:46:02.200Z] prd-ubuntu18.04-docker-arm64-4c-16g-3346 does not seem to be running inside a container [2021-05-06T22:46:02.282Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-06T22:46:03.846Z] $ docker top 31c26d9871cecc00bef9b8995fbd0883ac654882cdc4c8ddd645503d56b21bda -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:46:04.819Z] + go version [2021-05-06T22:46:04.819Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T22:46:04.842Z] $ docker stop --time=1 31c26d9871cecc00bef9b8995fbd0883ac654882cdc4c8ddd645503d56b21bda [2021-05-06T22:46:06.808Z] $ docker rm -f 31c26d9871cecc00bef9b8995fbd0883ac654882cdc4c8ddd645503d56b21bda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:46:07.518Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T22:46:07.518Z] . [2021-05-06T22:46:07.539Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [Pipeline] withDockerContainer [2021-05-06T22:46:07.790Z] prd-ubuntu18.04-docker-arm64-4c-16g-3346 does not seem to be running inside a container [2021-05-06T22:46:07.868Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-06T22:46:09.347Z] $ docker top e8b3639a780c894be14962ed1987126e3746dc73966085da0b9565d507711008 -eo pid,comm [2021-05-06T22:46:09.467Z] Removing intermediate container 8cc612c9860a [2021-05-06T22:46:09.467Z] ---> c71444d208b6 [2021-05-06T22:46:09.467Z] Step 10/23 : FROM alpine:3.12 [Pipeline] { [Pipeline] sh [2021-05-06T22:46:09.730Z] 3.12: Pulling from library/alpine [2021-05-06T22:46:09.730Z] 339de151aab4: Pulling fs layer [2021-05-06T22:46:09.994Z] 339de151aab4: Verifying Checksum [2021-05-06T22:46:10.260Z] 339de151aab4: Pull complete [2021-05-06T22:46:10.260Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T22:46:10.260Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T22:46:10.260Z] ---> 13621d1b12d4 [2021-05-06T22:46:10.260Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:46:10.338Z] + go mod tidy [2021-05-06T22:46:10.524Z] ---> Running in db9e6a094eb7 [2021-05-06T22:46:10.787Z] Removing intermediate container db9e6a094eb7 [2021-05-06T22:46:10.787Z] ---> fe30652cb88e [2021-05-06T22:46:10.787Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:46:10.787Z] ---> Running in 44d5ca3a799b [Pipeline] sh [2021-05-06T22:46:11.741Z] Removing intermediate container 44d5ca3a799b [2021-05-06T22:46:11.741Z] ---> 95d135b83c32 [2021-05-06T22:46:11.741Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-06T22:46:11.741Z] ---> Running in 735ca3860165 [2021-05-06T22:46:11.982Z] + make test [2021-05-06T22:46:11.982Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-06T22:46:12.322Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:46:13.274Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:46:13.850Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-06T22:46:13.850Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-06T22:46:14.430Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-06T22:46:14.697Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-06T22:46:14.960Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-06T22:46:14.960Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T22:46:14.960Z] OK: 8 MiB in 19 packages [2021-05-06T22:46:15.542Z] Removing intermediate container 735ca3860165 [2021-05-06T22:46:15.542Z] ---> f17de924c7b6 [2021-05-06T22:46:15.542Z] Step 14/23 : WORKDIR / [2021-05-06T22:46:15.806Z] ---> Running in e7b31b46b8ee [2021-05-06T22:46:15.806Z] Removing intermediate container e7b31b46b8ee [2021-05-06T22:46:15.806Z] ---> 361d83063404 [2021-05-06T22:46:15.806Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-06T22:46:16.070Z] ---> d9eadc9f2154 [2021-05-06T22:46:16.070Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-06T22:46:16.643Z] ---> 1dfae572e8fc [2021-05-06T22:46:16.643Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-06T22:46:16.907Z] ---> 95d2756d993c [2021-05-06T22:46:16.907Z] Step 18/23 : EXPOSE 49990 [2021-05-06T22:46:16.907Z] ---> Running in ac72fd3ab72a [2021-05-06T22:46:17.172Z] Removing intermediate container ac72fd3ab72a [2021-05-06T22:46:17.172Z] ---> 2b86af31f16a [2021-05-06T22:46:17.172Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-06T22:46:17.172Z] ---> Running in b5dd8792f7fe [2021-05-06T22:46:17.434Z] Removing intermediate container b5dd8792f7fe [2021-05-06T22:46:17.434Z] ---> 53815c10e3ba [2021-05-06T22:46:17.434Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T22:46:17.434Z] ---> Running in 94627c80f78d [2021-05-06T22:46:17.695Z] Removing intermediate container 94627c80f78d [2021-05-06T22:46:17.695Z] ---> 8501597dcb2e [2021-05-06T22:46:17.695Z] Step 21/23 : LABEL arch=amd64 [2021-05-06T22:46:17.695Z] ---> Running in 86ac6de8813f [2021-05-06T22:46:17.958Z] Removing intermediate container 86ac6de8813f [2021-05-06T22:46:17.958Z] ---> 4e01a0744a10 [2021-05-06T22:46:17.958Z] Step 22/23 : LABEL git_sha=9cb6d69aeabdd40b6f1ec657b6d3df8a2409998c [2021-05-06T22:46:17.958Z] ---> Running in 52a36d0f1391 [2021-05-06T22:46:18.220Z] Removing intermediate container 52a36d0f1391 [2021-05-06T22:46:18.220Z] ---> d4dfb1fbed43 [2021-05-06T22:46:18.220Z] Step 23/23 : LABEL version=0.0.0 [2021-05-06T22:46:18.220Z] ---> Running in 775710f98b1b [2021-05-06T22:46:18.482Z] Removing intermediate container 775710f98b1b [2021-05-06T22:46:18.482Z] ---> 431267f9cbfe [2021-05-06T22:46:18.482Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-06T22:46:18.482Z] Successfully built 431267f9cbfe [2021-05-06T22:46:18.482Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:46:19.167Z] ---> job-cost.sh [2021-05-06T22:46:19.167Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5y6z [2021-05-06T22:46:34.178Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-06T22:46:37.355Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T22:47:04.015Z] lf-activate-venv(): INFO: Adding /tmp/venv-5y6z/bin to PATH [2021-05-06T22:47:04.015Z] INFO: No Stack... [2021-05-06T22:47:04.015Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T22:47:04.015Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T22:47:04.339Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-06T22:47:04.339Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T22:47:04.427Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-904-2-stack-cost] [2021-05-06T22:47:04.437Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-904-2-stack-cost] did not exist. Created. [2021-05-06T22:47:04.437Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-904-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T22:47:04.780Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-06T22:47:04.917Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T22:47:04.924Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-904-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T22:47:42.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-06T22:47:42.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-06T22:47:42.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-06T22:47:42.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-06T22:47:42.254Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-06T22:47:47.712Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.139s coverage: 28.1% of statements [2021-05-06T22:47:48.710Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.241s coverage: 78.9% of statements [2021-05-06T22:47:48.710Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.286s coverage: 7.8% of statements [2021-05-06T22:47:48.710Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-06T22:47:48.710Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-06T22:47:48.710Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-06T22:47:50.711Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.248s coverage: 30.2% of statements [2021-05-06T22:47:50.711Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-06T22:47:50.711Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-06T22:47:50.711Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-06T22:47:53.381Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.322s coverage: 57.2% of statements [2021-05-06T22:47:53.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.175s coverage: 6.6% of statements [2021-05-06T22:47:54.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.145s coverage: 5.0% of statements [2021-05-06T22:47:54.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-06T22:47:54.528Z] GO111MODULE=on go vet ./... [2021-05-06T22:48:51.145Z] gofmt -l . [2021-05-06T22:48:51.145Z] [ "`gofmt -l .`" = "" ] [2021-05-06T22:48:51.145Z] ./bin/test-attribution-txt.sh [2021-05-06T22:48:52.138Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T22:48:52.776Z] $ docker stop --time=1 e8b3639a780c894be14962ed1987126e3746dc73966085da0b9565d507711008 [2021-05-06T22:48:54.946Z] $ docker rm -f e8b3639a780c894be14962ed1987126e3746dc73966085da0b9565d507711008 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:48:56.101Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T22:48:56.135Z] Warning: overwriting stash ‘coverage-report’ [2021-05-06T22:48:57.258Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:48:57.836Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T22:48:58.219Z] + ls -al . [2021-05-06T22:48:58.219Z] total 224 [2021-05-06T22:48:58.219Z] drwxrwxr-x 10 jenkins jenkins 4096 May 6 22:48 . [2021-05-06T22:48:58.219Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:44 .. [2021-05-06T22:48:58.219Z] -rw-rw-r-- 1 jenkins jenkins 140 May 6 22:44 .dockerignore [2021-05-06T22:48:58.219Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 22:44 .git [2021-05-06T22:48:58.219Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:44 .github [2021-05-06T22:48:58.219Z] -rw-rw-r-- 1 jenkins jenkins 138 May 6 22:44 .gitignore [2021-05-06T22:48:58.219Z] -rw-rw-r-- 1 jenkins jenkins 987 May 6 22:44 Dockerfile.build [2021-05-06T22:48:58.219Z] -rw-rw-r-- 1 jenkins jenkins 901 May 6 22:44 Jenkinsfile [2021-05-06T22:48:58.219Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 6 22:44 LICENSE [2021-05-06T22:48:58.219Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 6 22:44 Makefile [2021-05-06T22:48:58.219Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 6 22:44 README.md [2021-05-06T22:48:58.219Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 6 22:44 RELEASE-NOTES.txt [2021-05-06T22:48:58.219Z] -rw-rw-r-- 1 jenkins jenkins 5 May 6 22:42 VERSION [2021-05-06T22:48:58.219Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:44 bin [2021-05-06T22:48:58.219Z] -rw-r--r-- 1 jenkins jenkins 100321 May 6 22:47 coverage.out [2021-05-06T22:48:58.219Z] drwxrwxr-x 5 jenkins jenkins 4096 May 6 22:44 example [2021-05-06T22:48:58.219Z] -rw-r--r-- 1 jenkins jenkins 575 May 6 22:48 go.mod [2021-05-06T22:48:58.219Z] -rw-r--r-- 1 jenkins jenkins 20957 May 6 22:46 go.sum [2021-05-06T22:48:58.219Z] drwxrwxr-x 14 jenkins jenkins 4096 May 6 22:44 internal [2021-05-06T22:48:58.219Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:44 openapi [2021-05-06T22:48:58.219Z] drwxrwxr-x 5 jenkins jenkins 4096 May 6 22:44 pkg [2021-05-06T22:48:58.219Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:44 snap [2021-05-06T22:48:58.219Z] -rw-rw-r-- 1 jenkins jenkins 222 May 6 22:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:48:58.632Z] + 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=9cb6d69aeabdd40b6f1ec657b6d3df8a2409998c --label arch=arm64 --label version=0.0.0 . [2021-05-06T22:48:58.956Z] Sending build context to Docker daemon 2.574MB [2021-05-06T22:48:59.278Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:48:59.278Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-06T22:48:59.278Z] ---> bb48cc098d02 [2021-05-06T22:48:59.278Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-06T22:48:59.589Z] ---> Running in cf0b6e7c4e4b [2021-05-06T22:48:59.865Z] Removing intermediate container cf0b6e7c4e4b [2021-05-06T22:48:59.865Z] ---> 56cd9a329553 [2021-05-06T22:48:59.865Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:49:00.146Z] ---> Running in 1a41a332013b [2021-05-06T22:49:00.743Z] Removing intermediate container 1a41a332013b [2021-05-06T22:49:00.743Z] ---> 98bea6a63039 [2021-05-06T22:49:00.743Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:49:00.743Z] ---> Running in 29bd1534d4d1 [2021-05-06T22:49:03.374Z] Removing intermediate container 29bd1534d4d1 [2021-05-06T22:49:03.374Z] ---> d643e422c84e [2021-05-06T22:49:03.374Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-06T22:49:03.374Z] ---> Running in 17cb2dde88fb [2021-05-06T22:49:04.356Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:49:05.343Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:49:06.793Z] OK: 139 MiB in 46 packages [2021-05-06T22:49:07.779Z] Removing intermediate container 17cb2dde88fb [2021-05-06T22:49:07.779Z] ---> 7eb409a6cf11 [2021-05-06T22:49:07.779Z] Step 7/23 : COPY . . [2021-05-06T22:49:09.216Z] ---> 0c625831cb76 [2021-05-06T22:49:09.216Z] Step 8/23 : RUN go mod download [2021-05-06T22:49:09.216Z] ---> Running in 979dce00eb97 [2021-05-06T22:49:11.845Z] Removing intermediate container 979dce00eb97 [2021-05-06T22:49:11.845Z] ---> f8fe460c6629 [2021-05-06T22:49:11.845Z] Step 9/23 : RUN make build [2021-05-06T22:49:11.845Z] ---> Running in 595ba53f6a7e [2021-05-06T22:49:13.308Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-06T22:49:52.359Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-06T22:49:52.359Z] Removing intermediate container 595ba53f6a7e [2021-05-06T22:49:52.359Z] ---> 86ade4c5f8e0 [2021-05-06T22:49:52.359Z] Step 10/23 : FROM alpine:3.12 [2021-05-06T22:49:52.359Z] 3.12: Pulling from library/alpine [2021-05-06T22:49:52.359Z] d2f70382dc9a: Pulling fs layer [2021-05-06T22:49:52.359Z] d2f70382dc9a: Verifying Checksum [2021-05-06T22:49:52.359Z] d2f70382dc9a: Download complete [2021-05-06T22:49:52.359Z] d2f70382dc9a: Pull complete [2021-05-06T22:49:52.359Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T22:49:52.359Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T22:49:52.359Z] ---> 9852663dfa18 [2021-05-06T22:49:52.359Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:49:52.359Z] ---> Running in ea4ca4925186 [2021-05-06T22:49:52.630Z] Removing intermediate container ea4ca4925186 [2021-05-06T22:49:52.630Z] ---> 0cb3f46e5cfb [2021-05-06T22:49:52.630Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:49:52.914Z] ---> Running in dcfbf22b769e [2021-05-06T22:49:54.892Z] Removing intermediate container dcfbf22b769e [2021-05-06T22:49:54.892Z] ---> 82ec2fecdc6b [2021-05-06T22:49:54.892Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-06T22:49:54.892Z] ---> Running in 5f2c9581ecec [2021-05-06T22:49:55.870Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:49:56.851Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:49:57.447Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-06T22:49:57.722Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-06T22:49:57.722Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-06T22:49:57.998Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-06T22:49:57.998Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-06T22:49:57.998Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T22:49:57.998Z] OK: 8 MiB in 19 packages [2021-05-06T22:49:59.438Z] Removing intermediate container 5f2c9581ecec [2021-05-06T22:49:59.438Z] ---> 6c1815fc7a4b [2021-05-06T22:49:59.438Z] Step 14/23 : WORKDIR / [2021-05-06T22:49:59.438Z] ---> Running in b5b5e30a3627 [2021-05-06T22:50:00.036Z] Removing intermediate container b5b5e30a3627 [2021-05-06T22:50:00.036Z] ---> 8dccb59527d2 [2021-05-06T22:50:00.036Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-06T22:50:01.018Z] ---> be058e42c2c9 [2021-05-06T22:50:01.018Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-06T22:50:01.997Z] ---> aac4795222e2 [2021-05-06T22:50:01.997Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-06T22:50:02.980Z] ---> 7ad070a83cd2 [2021-05-06T22:50:02.980Z] Step 18/23 : EXPOSE 49990 [2021-05-06T22:50:02.980Z] ---> Running in b17e4b45f1b5 [2021-05-06T22:50:03.579Z] Removing intermediate container b17e4b45f1b5 [2021-05-06T22:50:03.579Z] ---> 17e3f74fc2b5 [2021-05-06T22:50:03.579Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-06T22:50:03.853Z] ---> Running in e7f9634ab367 [2021-05-06T22:50:04.126Z] Removing intermediate container e7f9634ab367 [2021-05-06T22:50:04.126Z] ---> 490b4192be19 [2021-05-06T22:50:04.126Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T22:50:04.397Z] ---> Running in 7adcce5c61de [2021-05-06T22:50:04.994Z] Removing intermediate container 7adcce5c61de [2021-05-06T22:50:04.994Z] ---> 5b2ab04f4b99 [2021-05-06T22:50:04.994Z] Step 21/23 : LABEL arch=arm64 [2021-05-06T22:50:04.994Z] ---> Running in aa0d36dc3092 [2021-05-06T22:50:05.590Z] Removing intermediate container aa0d36dc3092 [2021-05-06T22:50:05.590Z] ---> 6af62df10633 [2021-05-06T22:50:05.590Z] Step 22/23 : LABEL git_sha=9cb6d69aeabdd40b6f1ec657b6d3df8a2409998c [2021-05-06T22:50:05.590Z] ---> Running in b45d419f8d90 [2021-05-06T22:50:05.911Z] Removing intermediate container b45d419f8d90 [2021-05-06T22:50:05.911Z] ---> 4c49f54422dd [2021-05-06T22:50:05.911Z] Step 23/23 : LABEL version=0.0.0 [2021-05-06T22:50:06.185Z] ---> Running in cbe348cc0a4f [2021-05-06T22:50:06.778Z] Removing intermediate container cbe348cc0a4f [2021-05-06T22:50:06.778Z] ---> 0c50c566de3c [2021-05-06T22:50:06.778Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-06T22:50:06.778Z] Successfully built 0c50c566de3c [2021-05-06T22:50:06.778Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:50:07.264Z] ---> job-cost.sh [2021-05-06T22:50:07.264Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YnRS [2021-05-06T22:50:54.603Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T22:52:31.430Z] lf-activate-venv(): INFO: Adding /tmp/venv-YnRS/bin to PATH [2021-05-06T22:52:31.430Z] INFO: No Stack... [2021-05-06T22:52:31.430Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T22:52:31.430Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T22:52:31.805Z] + + cutcat -d, /w/workspace/device-sdk-go/2/archives/cost.csv -f6 [2021-05-06T22:52:31.805Z] [Pipeline] lock [2021-05-06T22:52:31.917Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-904-2-stack-cost] [2021-05-06T22:52:31.927Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-904-2-stack-cost] did not exist. Created. [2021-05-06T22:52:31.927Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-904-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T22:52:32.301Z] /w/workspace/device-sdk-go/2@tmp/durable-45ef7853/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-45ef7853/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T22:52:32.651Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T22:52:32.684Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T22:52:32.842Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T22:52:32.860Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-904-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-05-06T22:52:33.462Z] provisioning config files... [2021-05-06T22:52:33.473Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/config888108634731465755tmp [Pipeline] { [Pipeline] sh [2021-05-06T22:52:33.804Z] + set +x [2021-05-06T22:52:33.804Z] + curl -s https://codecov.io/bash [2021-05-06T22:52:33.804Z] + bash -s -- [2021-05-06T22:52:34.068Z] [2021-05-06T22:52:34.068Z] _____ _ [2021-05-06T22:52:34.068Z] / ____| | | [2021-05-06T22:52:34.068Z] | | ___ __| | ___ ___ _____ __ [2021-05-06T22:52:34.068Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-06T22:52:34.068Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-06T22:52:34.068Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-06T22:52:34.068Z] Bash-1.0.2 [2021-05-06T22:52:34.068Z] [2021-05-06T22:52:34.068Z] [2021-05-06T22:52:34.068Z] ==> git version 2.24.3 found [2021-05-06T22:52:34.068Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-06T22:52:34.068Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-06T22:52:34.068Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-06T22:52:34.068Z] ==> Jenkins CI detected. [2021-05-06T22:52:34.068Z] project root: . [2021-05-06T22:52:34.068Z] --> token set from env [2021-05-06T22:52:34.068Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-06T22:52:34.068Z] ==> Running gcov in . (disable via -X gcov) [2021-05-06T22:52:34.068Z] ==> Python coveragepy not found [2021-05-06T22:52:34.068Z] ==> Searching for coverage reports in: [2021-05-06T22:52:34.068Z] + . [2021-05-06T22:52:34.068Z] -> Found 1 reports [2021-05-06T22:52:34.068Z] ==> Detecting git/mercurial file structure [2021-05-06T22:52:34.068Z] ==> Reading reports [2021-05-06T22:52:34.068Z] + ./coverage.out bytes=100321 [2021-05-06T22:52:34.068Z] ==> Appending adjustments [2021-05-06T22:52:34.068Z] https://docs.codecov.io/docs/fixing-reports [2021-05-06T22:52:34.646Z] + Found adjustments [2021-05-06T22:52:34.646Z] ==> Gzipping contents [2021-05-06T22:52:34.646Z] 16K /tmp/codecov.MHdkXI.gz [2021-05-06T22:52:34.646Z] ==> Uploading reports [2021-05-06T22:52:34.646Z] url: https://codecov.io [2021-05-06T22:52:34.646Z] query: branch=PR-904&commit=9cb6d69aeabdd40b6f1ec657b6d3df8a2409998c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-904%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=904&job=&cmd_args= [2021-05-06T22:52:34.646Z] -> Pinging Codecov [2021-05-06T22:52:34.646Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-904&commit=9cb6d69aeabdd40b6f1ec657b6d3df8a2409998c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-904%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=904&job=&cmd_args= [2021-05-06T22:52:35.231Z] -> Uploading to [2021-05-06T22:52:35.231Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-06/7E55EF52A471D76F132DFD9A03CDDE97/9cb6d69aeabdd40b6f1ec657b6d3df8a2409998c/49cdf1f2-0a18-4309-b244-5b6740b9fb46.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T225234Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6417ac7a00fd10014a22a0a6bfdb07e18831e48f2f078aa472bc67cac0a802a2 [2021-05-06T22:52:35.231Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-06T22:52:35.231Z] Dload Upload Total Spent Left Speed [2021-05-06T22:52:35.495Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13553 0 0 100 13553 0 27758 --:--:-- --:--:-- --:--:-- 27772 [2021-05-06T22:52:35.495Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9cb6d69aeabdd40b6f1ec657b6d3df8a2409998c [Pipeline] } [2021-05-06T22:52:35.516Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:52:36.643Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:52:37.213Z] ---> package-listing.sh [2021-05-06T22:52:37.213Z] ++ facter osfamily [2021-05-06T22:52:37.213Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T22:52:37.213Z] + OS_FAMILY=redhat [2021-05-06T22:52:37.213Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-904 [2021-05-06T22:52:37.213Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T22:52:37.213Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T22:52:37.213Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T22:52:37.213Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T22:52:37.213Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-904 ']' [2021-05-06T22:52:37.213Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T22:52:37.213Z] + case "${OS_FAMILY}" in [2021-05-06T22:52:37.213Z] + rpm -qa [2021-05-06T22:52:37.213Z] + sort [2021-05-06T22:52:42.551Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T22:52:42.551Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T22:52:42.551Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T22:52:42.551Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-904 ']' [2021-05-06T22:52:42.551Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-904/archives/ [2021-05-06T22:52:42.551Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-904/archives/ [Pipeline] echo [2021-05-06T22:52:42.567Z] 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-904/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-06T22:52:42.868Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:52:43.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:52:43.184Z] [2021-05-06T22:52:43.184Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:52:43.521Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:52:43.521Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T22:52:43.521Z] df20fa9351a1: Pulling fs layer [2021-05-06T22:52:43.521Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T22:52:43.521Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T22:52:43.521Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T22:52:43.521Z] 93b61091891f: Pulling fs layer [2021-05-06T22:52:43.521Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T22:52:43.521Z] 5e14af77c1be: Pulling fs layer [2021-05-06T22:52:43.521Z] 01666e4c0597: Pulling fs layer [2021-05-06T22:52:43.521Z] aa168da1d23b: Pulling fs layer [2021-05-06T22:52:43.521Z] 46f8f816bc3b: Waiting [2021-05-06T22:52:43.521Z] 93b61091891f: Waiting [2021-05-06T22:52:43.522Z] 93b9cdb0e59b: Waiting [2021-05-06T22:52:43.522Z] 5e14af77c1be: Waiting [2021-05-06T22:52:43.522Z] 01666e4c0597: Waiting [2021-05-06T22:52:43.522Z] aa168da1d23b: Waiting [2021-05-06T22:52:43.522Z] 36b3adc4ff6f: Verifying Checksum [2021-05-06T22:52:43.522Z] 36b3adc4ff6f: Download complete [2021-05-06T22:52:43.522Z] 46f8f816bc3b: Verifying Checksum [2021-05-06T22:52:43.522Z] 46f8f816bc3b: Download complete [2021-05-06T22:52:43.522Z] df20fa9351a1: Verifying Checksum [2021-05-06T22:52:43.522Z] df20fa9351a1: Download complete [2021-05-06T22:52:43.800Z] 93b9cdb0e59b: Verifying Checksum [2021-05-06T22:52:43.800Z] 93b9cdb0e59b: Download complete [2021-05-06T22:52:43.800Z] 93b61091891f: Verifying Checksum [2021-05-06T22:52:43.800Z] 93b61091891f: Download complete [2021-05-06T22:52:43.800Z] 5e14af77c1be: Verifying Checksum [2021-05-06T22:52:43.800Z] 5e14af77c1be: Download complete [2021-05-06T22:52:43.800Z] 01666e4c0597: Verifying Checksum [2021-05-06T22:52:43.800Z] 01666e4c0597: Download complete [2021-05-06T22:52:44.063Z] 8ad3a11d3b57: Verifying Checksum [2021-05-06T22:52:44.063Z] 8ad3a11d3b57: Download complete [2021-05-06T22:52:44.063Z] df20fa9351a1: Pull complete [2021-05-06T22:52:44.325Z] 36b3adc4ff6f: Pull complete [2021-05-06T22:52:45.748Z] 8ad3a11d3b57: Pull complete [2021-05-06T22:52:45.748Z] 46f8f816bc3b: Pull complete [2021-05-06T22:52:46.015Z] 93b61091891f: Pull complete [2021-05-06T22:52:46.015Z] aa168da1d23b: Download complete [2021-05-06T22:52:46.015Z] 93b9cdb0e59b: Pull complete [2021-05-06T22:52:46.279Z] 5e14af77c1be: Pull complete [2021-05-06T22:52:46.279Z] 01666e4c0597: Pull complete [2021-05-06T22:52:56.420Z] aa168da1d23b: Pull complete [2021-05-06T22:52:56.420Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T22:52:56.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:52:56.420Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T22:52:56.668Z] prd-centos7-docker-4c-2g-3341 does not seem to be running inside a container [2021-05-06T22:52:56.721Z] $ 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-904/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-904 -v /w/workspace/dgexfoundry_device-sdk-go_PR-904:/w/workspace/dgexfoundry_device-sdk-go_PR-904:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-904@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-06T22:53:02.406Z] $ docker top 2b5cbdda2f4c36bb281bf7523b9d9bdb0051ababac132d2cc7ae1a43fedf38c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:53:02.955Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T22:53:03.268Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T22:53:03.577Z] + ls /var/log/sa-host [2021-05-06T22:53:03.577Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T22:53:03.577Z] file_magic: OK [2021-05-06T22:53:03.577Z] HZ: Using current value: 100 [2021-05-06T22:53:03.577Z] file_header: OK [2021-05-06T22:53:03.577Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-06T22:53:03.577Z] Statistics: [2021-05-06T22:53:03.577Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T22:53:03.577Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T22:53:03.577Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T22:53:03.577Z] file_magic: OK [2021-05-06T22:53:03.577Z] HZ: Using current value: 100 [2021-05-06T22:53:03.577Z] file_header: OK [2021-05-06T22:53:03.577Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-06T22:53:03.577Z] Statistics: [2021-05-06T22:53:03.577Z] Hnuu...uuuununununu... [2021-05-06T22:53:03.577Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T22:53:04.172Z] provisioning config files... [2021-05-06T22:53:04.190Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-904@tmp/config1905189460433631198tmp [Pipeline] { [Pipeline] echo [2021-05-06T22:53:04.216Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:53:04.522Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T22:53:04.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T22:53:04.563Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:53:04.881Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T22:53:04.894Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:53:05.206Z] ---> sudo-logs.sh [2021-05-06T22:53:05.206Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T22:53:05.239Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:53:05.548Z] ---> job-cost.sh [2021-05-06T22:53:05.548Z] lf-activate-venv: SKIPPING [2021-05-06T22:53:05.548Z] DEBUG: total: 0.20999999344348907 [2021-05-06T22:53:05.548Z] INFO: Retrieving Stack Cost... [2021-05-06T22:53:08.111Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T22:53:08.111Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T22:53:08.127Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:53:08.447Z] ---> logs-deploy.sh [2021-05-06T22:53:08.447Z] lf-activate-venv: SKIPPING [2021-05-06T22:53:08.447Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-904/2 [2021-05-06T22:53:08.447Z] INFO: archiving workspace using pattern(s): [2021-05-06T22:53:10.375Z] Archives upload complete. [2021-05-06T22:53:10.375Z] INFO: archiving logs to Nexus