Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 937f7680f1554a72c84329a55ac11d6ee07f800f+8659f99871c0873da8324f2f6a625b509cb242d1 (122a786aaf2750d7d84dad5092d28d7db12d013c) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-584 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [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-883 # 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 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit 937f7680f1554a72c84329a55ac11d6ee07f800f Merge succeeded, producing e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 Checking out Revision e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 (PR-883) > 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/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 937f7680f1554a72c84329a55ac11d6ee07f800f # 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 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 # timeout=10 Commit message: "Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD" > git rev-list --no-walk 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-17T22:42:31.174Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-17T22:42:31.250Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-17T22:42:31.274Z] ========================================================= [2021-04-17T22:42:31.274Z] EdgeX Global Pipelines Version Info [2021-04-17T22:42:31.274Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:42:32.801Z] ------------------- [2021-04-17T22:42:32.801Z] stable info: [2021-04-17T22:42:32.801Z] ------------------- [2021-04-17T22:42:32.801Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-17T22:42:32.801Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-17T22:42:32.801Z] Message: update stable to v1.0.186 [2021-04-17T22:42:33.750Z] ------------------- [2021-04-17T22:42:33.750Z] experimental info: [2021-04-17T22:42:33.750Z] ------------------- [2021-04-17T22:42:33.750Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-17T22:42:33.750Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-17T22:42:33.750Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-17T22:42:33.871Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-17T22:42:33.895Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-17T22:42:33.919Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-17T22:42:33.941Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-17T22:42:33.965Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-17T22:42:33.989Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-17T22:42:34.015Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-17T22:42:34.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-17T22:42:34.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-17T22:42:34.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-17T22:42:34.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-17T22:42:34.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-17T22:42:34.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-17T22:42:34.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-17T22:42:34.204Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-17T22:42:34.229Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-17T22:42:34.253Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-17T22:42:34.277Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-17T22:42:34.301Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-17T22:42:34.324Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-17T22:42:34.348Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-17T22:42:34.372Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-17T22:42:34.396Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-17T22:42:34.419Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-17T22:42:34.442Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-17T22:42:34.465Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-17T22:42:34.488Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-883 [Pipeline] echo [2021-04-17T22:42:34.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-883 [Pipeline] echo [2021-04-17T22:42:34.534Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-883 [Pipeline] echo [2021-04-17T22:42:34.558Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 [Pipeline] echo [2021-04-17T22:42:34.600Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8cca5a [Pipeline] echo [2021-04-17T22:42:34.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-17T22:42:34.698Z] provisioning config files... [2021-04-17T22:42:34.727Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config7386762577268126859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:42:35.056Z] ---> docker-login.sh [2021-04-17T22:42:35.056Z] nexus3.edgexfoundry.org:10001 [2021-04-17T22:42:35.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:42:35.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:42:35.584Z] Configure a credential helper to remove this warning. See [2021-04-17T22:42:35.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:42:35.584Z] [2021-04-17T22:42:35.584Z] Login Succeeded [2021-04-17T22:42:35.584Z] nexus3.edgexfoundry.org:10002 [2021-04-17T22:42:35.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:42:35.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:42:35.584Z] Configure a credential helper to remove this warning. See [2021-04-17T22:42:35.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:42:35.584Z] [2021-04-17T22:42:35.584Z] Login Succeeded [2021-04-17T22:42:35.584Z] nexus3.edgexfoundry.org:10003 [2021-04-17T22:42:35.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:42:35.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:42:35.848Z] Configure a credential helper to remove this warning. See [2021-04-17T22:42:35.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:42:35.848Z] [2021-04-17T22:42:35.848Z] Login Succeeded [2021-04-17T22:42:35.848Z] nexus3.edgexfoundry.org:10004 [2021-04-17T22:42:36.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:42:36.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:42:36.113Z] Configure a credential helper to remove this warning. See [2021-04-17T22:42:36.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:42:36.113Z] [2021-04-17T22:42:36.113Z] Login Succeeded [2021-04-17T22:42:36.113Z] docker.io [2021-04-17T22:42:36.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:42:36.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:42:36.375Z] Configure a credential helper to remove this warning. See [2021-04-17T22:42:36.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:42:36.375Z] [2021-04-17T22:42:36.375Z] Login Succeeded [2021-04-17T22:42:36.375Z] ---> docker-login.sh ends [Pipeline] } [2021-04-17T22:42:36.386Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-17T22:42:36.835Z] + git log --format=format:%s -1 e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 [Pipeline] echo [2021-04-17T22:42:36.933Z] GIT_COMMIT: e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18, Commit Message: Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD [Pipeline] echo [2021-04-17T22:42:36.948Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:42:37.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-17T22:42:37.500Z] [2021-04-17T22:42:37.500Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:42:37.814Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-17T22:42:37.814Z] latest: Pulling from edgex-devops/git-semver [2021-04-17T22:42:37.814Z] 31603596830f: Pulling fs layer [2021-04-17T22:42:37.814Z] 2a8b12db71e7: Pulling fs layer [2021-04-17T22:42:37.814Z] 6ca5941a6612: Pulling fs layer [2021-04-17T22:42:37.814Z] ecc8261a40a4: Pulling fs layer [2021-04-17T22:42:37.814Z] ecc8261a40a4: Waiting [2021-04-17T22:42:37.814Z] 2a8b12db71e7: Verifying Checksum [2021-04-17T22:42:37.814Z] 2a8b12db71e7: Download complete [2021-04-17T22:42:37.814Z] 31603596830f: Verifying Checksum [2021-04-17T22:42:37.814Z] 31603596830f: Download complete [2021-04-17T22:42:38.085Z] ecc8261a40a4: Verifying Checksum [2021-04-17T22:42:38.085Z] ecc8261a40a4: Download complete [2021-04-17T22:42:38.085Z] 6ca5941a6612: Download complete [2021-04-17T22:42:38.352Z] 31603596830f: Pull complete [2021-04-17T22:42:38.352Z] 2a8b12db71e7: Pull complete [2021-04-17T22:42:39.312Z] 6ca5941a6612: Pull complete [2021-04-17T22:42:39.583Z] ecc8261a40a4: Pull complete [2021-04-17T22:42:39.583Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-17T22:42:39.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-17T22:42:39.583Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-17T22:42:39.684Z] prd-centos7-docker-4c-2g-584 does not seem to be running inside a container [2021-04-17T22:42:39.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-883 -v /w/workspace/dgexfoundry_device-sdk-go_PR-883:/w/workspace/dgexfoundry_device-sdk-go_PR-883:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-883@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-04-17T22:42:41.792Z] $ docker top fdc3f2ef23c4a1619f498c6e480108eb36d3ff26da2cd487659b73ad207216a3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-17T22:42:42.075Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-17T22:42:42.075Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-17T22:42:42.317Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-17T22:42:42.322Z] $ docker exec fdc3f2ef23c4a1619f498c6e480108eb36d3ff26da2cd487659b73ad207216a3 ssh-agent [2021-04-17T22:42:42.495Z] SSH_AUTH_SOCK=/tmp/ssh-pj6Lnj9ZV1Pa/agent.12 [2021-04-17T22:42:42.495Z] SSH_AGENT_PID=18 [2021-04-17T22:42:42.507Z] Running ssh-add (command line suppressed) [2021-04-17T22:42:42.628Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_7492145814485322395.key (/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_7492145814485322395.key) [2021-04-17T22:42:42.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-17T22:42:42.992Z] + git tag --points-at HEAD [Pipeline] } [2021-04-17T22:42:43.014Z] $ docker exec --env ******** --env ******** fdc3f2ef23c4a1619f498c6e480108eb36d3ff26da2cd487659b73ad207216a3 ssh-agent -k [2021-04-17T22:42:43.134Z] unset SSH_AUTH_SOCK; [2021-04-17T22:42:43.134Z] unset SSH_AGENT_PID; [2021-04-17T22:42:43.134Z] echo Agent pid 18 killed; [2021-04-17T22:42:43.192Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-17T22:42:43.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-17T22:42:43.229Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-17T22:42:43.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-17T22:42:43.407Z] $ docker exec fdc3f2ef23c4a1619f498c6e480108eb36d3ff26da2cd487659b73ad207216a3 ssh-agent [2021-04-17T22:42:43.569Z] SSH_AUTH_SOCK=/tmp/ssh-peypzzgujtzZ/agent.49 [2021-04-17T22:42:43.569Z] SSH_AGENT_PID=54 [2021-04-17T22:42:43.575Z] Running ssh-add (command line suppressed) [2021-04-17T22:42:43.694Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_4416370010406782583.key (/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_4416370010406782583.key) [2021-04-17T22:42:43.746Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-17T22:42:44.051Z] + git semver init [2021-04-17T22:42:44.051Z] # -> Open(): unable to determine branch for HEAD [2021-04-17T22:42:44.051Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-883/.git [2021-04-17T22:42:44.051Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-883 [2021-04-17T22:42:44.051Z] # $SEMVER_REMOTE_NAME = origin [2021-04-17T22:42:44.051Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-17T22:42:44.051Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-17T22:42:44.051Z] # $SEMVER_BRANCH = PR-883 [2021-04-17T22:42:44.051Z] # $SEMVER_TEMP = /tmp/semver-938629700 [2021-04-17T22:42:44.051Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-17T22:42:45.001Z] # '/tmp/semver-938629700' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-883/.semver' [2021-04-17T22:42:45.001Z] # -> Force: false [2021-04-17T22:42:45.001Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-883/.semver [Pipeline] } [2021-04-17T22:42:45.016Z] $ docker exec --env ******** --env ******** fdc3f2ef23c4a1619f498c6e480108eb36d3ff26da2cd487659b73ad207216a3 ssh-agent -k [2021-04-17T22:42:45.135Z] unset SSH_AUTH_SOCK; [2021-04-17T22:42:45.135Z] unset SSH_AGENT_PID; [2021-04-17T22:42:45.135Z] echo Agent pid 54 killed; [2021-04-17T22:42:45.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-17T22:42:45.523Z] + git semver [Pipeline] } [2021-04-17T22:42:45.542Z] $ docker stop --time=1 fdc3f2ef23c4a1619f498c6e480108eb36d3ff26da2cd487659b73ad207216a3 [2021-04-17T22:42:47.233Z] $ docker rm -f fdc3f2ef23c4a1619f498c6e480108eb36d3ff26da2cd487659b73ad207216a3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-17T22:42:47.670Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-17T22:42:48.233Z] Stashed 1 file(s) [Pipeline] echo [2021-04-17T22:42:48.237Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-17T22:43:03.434Z] Still waiting to schedule task [2021-04-17T22:43:03.434Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-585’ is offline [2021-04-17T22:43:03.437Z] Still waiting to schedule task [2021-04-17T22:43:03.437Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-17T22:44:46.420Z] Running on prd-centos7-docker-4c-2g-591 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [Pipeline] { [Pipeline] ws [2021-04-17T22:44:46.438Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-17T22:44:49.033Z] using credential edgex-jenkins-ssh [2021-04-17T22:44:49.048Z] Cloning the remote Git repository [2021-04-17T22:44:49.078Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:44:49.148Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-17T22:44:49.216Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:44:49.216Z] > git --version # timeout=10 [2021-04-17T22:44:49.222Z] > git --version # 'git version 2.24.3' [2021-04-17T22:44:49.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:44:49.251Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-17T22:44:49.993Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-17T22:44:50.003Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-17T22:44:50.016Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-17T22:44:50.417Z] Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit 937f7680f1554a72c84329a55ac11d6ee07f800f [2021-04-17T22:44:50.589Z] Merge succeeded, producing 5f9eecc86969829f92b3751fdfc0cad141c1ac88 [2021-04-17T22:44:50.590Z] Checking out Revision 5f9eecc86969829f92b3751fdfc0cad141c1ac88 (PR-883) [2021-04-17T22:44:50.033Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:44:50.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:44:50.039Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-17T22:44:50.448Z] > git config core.sparsecheckout # timeout=10 [2021-04-17T22:44:50.466Z] > git checkout -f 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 [2021-04-17T22:44:50.527Z] > git remote # timeout=10 [2021-04-17T22:44:50.532Z] > git config --get remote.origin.url # timeout=10 [2021-04-17T22:44:50.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:44:50.543Z] > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 [2021-04-17T22:44:50.580Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-17T22:44:50.593Z] > git config core.sparsecheckout # timeout=10 [2021-04-17T22:44:50.599Z] > git checkout -f 5f9eecc86969829f92b3751fdfc0cad141c1ac88 # timeout=10 [2021-04-17T22:44:54.237Z] Commit message: "Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD" [2021-04-17T22:44:54.242Z] > git rev-list --no-walk 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-17T22:44:55.370Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-17T22:44:55.699Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-17T22:44:56.003Z] + sudo service docker restart [2021-04-17T22:44:56.004Z] + true [2021-04-17T22:44:56.004Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-17T22:44:57.435Z] provisioning config files... [2021-04-17T22:44:57.467Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2713534378812816006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:44:57.801Z] ---> docker-login.sh [2021-04-17T22:44:57.801Z] nexus3.edgexfoundry.org:10001 [2021-04-17T22:44:58.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:58.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:58.066Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:58.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:58.066Z] [2021-04-17T22:44:58.066Z] Login Succeeded [2021-04-17T22:44:58.066Z] nexus3.edgexfoundry.org:10002 [2021-04-17T22:44:58.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:58.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:58.330Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:58.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:58.330Z] [2021-04-17T22:44:58.330Z] Login Succeeded [2021-04-17T22:44:58.330Z] nexus3.edgexfoundry.org:10003 [2021-04-17T22:44:58.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:58.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:58.594Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:58.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:58.594Z] [2021-04-17T22:44:58.594Z] Login Succeeded [2021-04-17T22:44:58.594Z] nexus3.edgexfoundry.org:10004 [2021-04-17T22:44:58.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:58.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:58.860Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:58.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:58.860Z] [2021-04-17T22:44:58.860Z] Login Succeeded [2021-04-17T22:44:58.860Z] docker.io [2021-04-17T22:44:58.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:59.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:59.125Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:59.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:59.125Z] [2021-04-17T22:44:59.125Z] Login Succeeded [2021-04-17T22:44:59.125Z] ---> docker-login.sh ends [Pipeline] } [2021-04-17T22:44:59.137Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-17T22:44:59.349Z] ========================================================= [2021-04-17T22:44:59.349Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-17T22:44:59.349Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:44:59.662Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-17T22:44:59.928Z] Sending build context to Docker daemon 2.445MB [2021-04-17T22:44:59.928Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-17T22:44:59.928Z] Step 2/8 : FROM ${BASE} [2021-04-17T22:44:59.928Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-17T22:44:59.928Z] 188c0c94c7c5: Pulling fs layer [2021-04-17T22:44:59.928Z] 0ef7d3d256c8: Pulling fs layer [2021-04-17T22:44:59.928Z] de9db76c5a1d: Pulling fs layer [2021-04-17T22:44:59.928Z] bca2f99d35d6: Pulling fs layer [2021-04-17T22:44:59.928Z] 93359f2a8cfa: Pulling fs layer [2021-04-17T22:44:59.928Z] 7c6f9722023f: Pulling fs layer [2021-04-17T22:44:59.928Z] a35cf1a2eb13: Pulling fs layer [2021-04-17T22:44:59.928Z] bca2f99d35d6: Waiting [2021-04-17T22:44:59.928Z] 93359f2a8cfa: Waiting [2021-04-17T22:44:59.928Z] 7c6f9722023f: Waiting [2021-04-17T22:44:59.928Z] a35cf1a2eb13: Waiting [2021-04-17T22:44:59.928Z] de9db76c5a1d: Download complete [2021-04-17T22:44:59.928Z] 0ef7d3d256c8: Verifying Checksum [2021-04-17T22:44:59.928Z] 0ef7d3d256c8: Download complete [2021-04-17T22:44:59.928Z] 93359f2a8cfa: Download complete [2021-04-17T22:44:59.928Z] 7c6f9722023f: Verifying Checksum [2021-04-17T22:44:59.928Z] 7c6f9722023f: Download complete [2021-04-17T22:44:59.928Z] 188c0c94c7c5: Verifying Checksum [2021-04-17T22:44:59.928Z] 188c0c94c7c5: Download complete [2021-04-17T22:45:00.194Z] 188c0c94c7c5: Pull complete [2021-04-17T22:45:00.470Z] 0ef7d3d256c8: Pull complete [2021-04-17T22:45:00.736Z] de9db76c5a1d: Pull complete [2021-04-17T22:45:01.696Z] a35cf1a2eb13: Verifying Checksum [2021-04-17T22:45:01.696Z] a35cf1a2eb13: Download complete [2021-04-17T22:45:02.277Z] bca2f99d35d6: Verifying Checksum [2021-04-17T22:45:02.277Z] bca2f99d35d6: Download complete [2021-04-17T22:45:07.626Z] bca2f99d35d6: Pull complete [2021-04-17T22:45:07.626Z] 93359f2a8cfa: Pull complete [2021-04-17T22:45:07.626Z] 7c6f9722023f: Pull complete [2021-04-17T22:45:17.698Z] a35cf1a2eb13: Pull complete [2021-04-17T22:45:17.698Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-17T22:45:17.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-17T22:45:17.698Z] ---> a62c8e92a672 [2021-04-17T22:45:17.698Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:45:17.698Z] ---> Running in e499907e0e89 [2021-04-17T22:45:17.698Z] Removing intermediate container e499907e0e89 [2021-04-17T22:45:17.698Z] ---> 9ba17e3d00a2 [2021-04-17T22:45:17.698Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:45:17.698Z] ---> Running in e19da7dedbb8 [2021-04-17T22:45:17.967Z] Removing intermediate container e19da7dedbb8 [2021-04-17T22:45:17.967Z] ---> 9ca99be14b95 [2021-04-17T22:45:17.967Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-17T22:45:17.967Z] ---> Running in 821f9a586dca [2021-04-17T22:45:18.544Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-17T22:45:19.121Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-17T22:45:19.700Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-17T22:45:19.700Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-17T22:45:19.700Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-17T22:45:19.700Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-17T22:45:19.963Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-17T22:45:19.963Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-17T22:45:20.227Z] Executing busybox-1.31.1-r19.trigger [2021-04-17T22:45:20.227Z] OK: 167 MiB in 45 packages [2021-04-17T22:45:20.804Z] Removing intermediate container 821f9a586dca [2021-04-17T22:45:20.804Z] ---> 2036666e05cc [2021-04-17T22:45:20.804Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-17T22:45:20.804Z] ---> Running in 3deea9bc529c [2021-04-17T22:45:21.068Z] Removing intermediate container 3deea9bc529c [2021-04-17T22:45:21.068Z] ---> a68378ca959b [2021-04-17T22:45:21.068Z] Step 7/8 : COPY . . [2021-04-17T22:45:22.470Z] ---> 918a90f67656 [2021-04-17T22:45:22.470Z] Step 8/8 : RUN go mod download [2021-04-17T22:45:22.470Z] ---> Running in f1effedf2e6e [2021-04-17T22:45:40.524Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-592 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [Pipeline] { [Pipeline] ws [2021-04-17T22:45:40.540Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-17T22:45:45.378Z] Removing intermediate container f1effedf2e6e [2021-04-17T22:45:45.378Z] ---> 7946fb5c44fe [2021-04-17T22:45:45.378Z] Successfully built 7946fb5c44fe [2021-04-17T22:45:45.378Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:45:45.712Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-17T22:45:45.712Z] . [Pipeline] withDockerContainer [2021-04-17T22:45:45.843Z] prd-centos7-docker-4c-2g-591 does not seem to be running inside a container [2021-04-17T22:45:45.899Z] $ 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-x86_64 cat [2021-04-17T22:45:46.174Z] using credential edgex-jenkins-ssh [2021-04-17T22:45:46.190Z] Cloning the remote Git repository [2021-04-17T22:45:46.797Z] $ docker top 5c955009483b8335ad9e5b4d51eefc4f085f9f40535bafec1d4eb891b63b62fd -eo pid,comm [2021-04-17T22:45:46.242Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:45:46.370Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-17T22:45:46.468Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:45:46.469Z] > git --version # timeout=10 [2021-04-17T22:45:46.484Z] > git --version # 'git version 2.17.1' [2021-04-17T22:45:46.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:45:46.540Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] sh [2021-04-17T22:45:47.263Z] + go version [2021-04-17T22:45:47.263Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-17T22:45:47.281Z] $ docker stop --time=1 5c955009483b8335ad9e5b4d51eefc4f085f9f40535bafec1d4eb891b63b62fd [2021-04-17T22:45:47.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-17T22:45:47.782Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-17T22:45:47.814Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-17T22:45:47.850Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:45:47.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:45:47.862Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-17T22:45:48.336Z] Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit 937f7680f1554a72c84329a55ac11d6ee07f800f [2021-04-17T22:45:48.634Z] Merge succeeded, producing ccf77303847489fc11cf567f046e27b0179a3f34 [2021-04-17T22:45:48.634Z] Checking out Revision ccf77303847489fc11cf567f046e27b0179a3f34 (PR-883) [2021-04-17T22:45:48.726Z] $ docker rm -f 5c955009483b8335ad9e5b4d51eefc4f085f9f40535bafec1d4eb891b63b62fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:45:49.270Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-17T22:45:49.270Z] . [Pipeline] withDockerContainer [2021-04-17T22:45:49.404Z] prd-centos7-docker-4c-2g-591 does not seem to be running inside a container [2021-04-17T22:45:49.459Z] $ 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-x86_64 cat [2021-04-17T22:45:48.349Z] > git config core.sparsecheckout # timeout=10 [2021-04-17T22:45:48.364Z] > git checkout -f 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 [2021-04-17T22:45:48.490Z] > git remote # timeout=10 [2021-04-17T22:45:48.507Z] > git config --get remote.origin.url # timeout=10 [2021-04-17T22:45:48.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:45:48.540Z] > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 [2021-04-17T22:45:48.617Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-17T22:45:48.637Z] > git config core.sparsecheckout # timeout=10 [2021-04-17T22:45:48.649Z] > git checkout -f ccf77303847489fc11cf567f046e27b0179a3f34 # timeout=10 [2021-04-17T22:45:50.249Z] $ docker top 54f3a092f551ac21b2acbf01b56a6aed8cc48eb74b338eb733c3d5c503a42d9a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-17T22:45:50.699Z] + make test [2021-04-17T22:45:50.699Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-17T22:45:52.895Z] Commit message: "Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD" [2021-04-17T22:45:52.901Z] > git rev-list --no-walk 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-17T22:45:54.302Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-17T22:45:54.715Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-17T22:45:55.053Z] + sudo service docker restart [2021-04-17T22:45:55.053Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-17T22:45:57.714Z] provisioning config files... [2021-04-17T22:45:57.752Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7061210409879181943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:45:58.129Z] ---> docker-login.sh [2021-04-17T22:45:58.129Z] nexus3.edgexfoundry.org:10001 [2021-04-17T22:45:58.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:45:58.888Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-17T22:45:59.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:45:59.334Z] Configure a credential helper to remove this warning. See [2021-04-17T22:45:59.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:45:59.334Z] [2021-04-17T22:45:59.334Z] Login Succeeded [2021-04-17T22:45:59.334Z] nexus3.edgexfoundry.org:10002 [2021-04-17T22:45:59.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:45:59.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:45:59.880Z] Configure a credential helper to remove this warning. See [2021-04-17T22:45:59.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:45:59.880Z] [2021-04-17T22:45:59.880Z] Login Succeeded [2021-04-17T22:45:59.880Z] nexus3.edgexfoundry.org:10003 [2021-04-17T22:46:00.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:46:00.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:46:00.167Z] Configure a credential helper to remove this warning. See [2021-04-17T22:46:00.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:46:00.167Z] [2021-04-17T22:46:00.167Z] Login Succeeded [2021-04-17T22:46:00.167Z] nexus3.edgexfoundry.org:10004 [2021-04-17T22:46:00.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:46:00.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:46:00.764Z] Configure a credential helper to remove this warning. See [2021-04-17T22:46:00.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:46:00.764Z] [2021-04-17T22:46:00.764Z] Login Succeeded [2021-04-17T22:46:00.764Z] docker.io [2021-04-17T22:46:01.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:46:01.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:46:01.310Z] Configure a credential helper to remove this warning. See [2021-04-17T22:46:01.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:46:01.310Z] [2021-04-17T22:46:01.310Z] Login Succeeded [2021-04-17T22:46:01.310Z] ---> docker-login.sh ends [Pipeline] } [2021-04-17T22:46:01.328Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-17T22:46:01.633Z] ========================================================= [2021-04-17T22:46:01.633Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-17T22:46:01.633Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:46:01.975Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-17T22:46:02.577Z] Sending build context to Docker daemon 2.452MB [2021-04-17T22:46:02.577Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-17T22:46:02.577Z] Step 2/8 : FROM ${BASE} [2021-04-17T22:46:02.577Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-17T22:46:02.577Z] 5f621e34cdf4: Pulling fs layer [2021-04-17T22:46:02.577Z] a4357932f1b6: Pulling fs layer [2021-04-17T22:46:02.577Z] 18c013af1878: Pulling fs layer [2021-04-17T22:46:02.577Z] 00ac8860ef70: Pulling fs layer [2021-04-17T22:46:02.577Z] 63d7cb157983: Pulling fs layer [2021-04-17T22:46:02.577Z] b116817d02f9: Pulling fs layer [2021-04-17T22:46:02.577Z] 745a02a5169b: Pulling fs layer [2021-04-17T22:46:02.577Z] 63d7cb157983: Waiting [2021-04-17T22:46:02.577Z] b116817d02f9: Waiting [2021-04-17T22:46:02.577Z] 745a02a5169b: Waiting [2021-04-17T22:46:02.577Z] 00ac8860ef70: Waiting [2021-04-17T22:46:02.577Z] 18c013af1878: Verifying Checksum [2021-04-17T22:46:02.577Z] 18c013af1878: Download complete [2021-04-17T22:46:02.577Z] a4357932f1b6: Download complete [2021-04-17T22:46:02.577Z] 63d7cb157983: Verifying Checksum [2021-04-17T22:46:02.577Z] 63d7cb157983: Download complete [2021-04-17T22:46:02.577Z] b116817d02f9: Verifying Checksum [2021-04-17T22:46:02.577Z] b116817d02f9: Download complete [2021-04-17T22:46:02.577Z] 5f621e34cdf4: Download complete [2021-04-17T22:46:03.579Z] 5f621e34cdf4: Pull complete [2021-04-17T22:46:03.879Z] a4357932f1b6: Pull complete [2021-04-17T22:46:04.481Z] 18c013af1878: Pull complete [2021-04-17T22:46:04.752Z] 745a02a5169b: Verifying Checksum [2021-04-17T22:46:04.752Z] 745a02a5169b: Download complete [2021-04-17T22:46:06.178Z] 00ac8860ef70: Verifying Checksum [2021-04-17T22:46:06.178Z] 00ac8860ef70: Download complete [2021-04-17T22:46:16.353Z] 00ac8860ef70: Pull complete [2021-04-17T22:46:16.353Z] 63d7cb157983: Pull complete [2021-04-17T22:46:16.353Z] b116817d02f9: Pull complete [2021-04-17T22:46:20.658Z] 745a02a5169b: Pull complete [2021-04-17T22:46:20.658Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-17T22:46:20.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-17T22:46:20.658Z] ---> b7e6874047d6 [2021-04-17T22:46:20.658Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:46:21.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-17T22:46:21.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-17T22:46:21.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-17T22:46:21.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-17T22:46:21.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-17T22:46:21.269Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.185s coverage: 28.1% of statements [2021-04-17T22:46:21.962Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.113s coverage: 78.9% of statements [2021-04-17T22:46:23.115Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.091s coverage: 7.8% of statements [2021-04-17T22:46:23.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-17T22:46:23.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-17T22:46:23.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-17T22:46:23.115Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 32.0% of statements [2021-04-17T22:46:23.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-17T22:46:23.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-17T22:46:23.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-17T22:46:23.278Z] ---> Running in 670ea586a1b3 [2021-04-17T22:46:23.555Z] Removing intermediate container 670ea586a1b3 [2021-04-17T22:46:23.555Z] ---> de352f23c6ad [2021-04-17T22:46:23.555Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:46:23.555Z] ---> Running in 383558eed8a1 [2021-04-17T22:46:23.691Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.110s coverage: 57.1% of statements [2021-04-17T22:46:23.955Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.238s coverage: 6.6% of statements [2021-04-17T22:46:23.955Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 5.0% of statements [2021-04-17T22:46:23.955Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-17T22:46:24.217Z] GO111MODULE=on go vet ./... [2021-04-17T22:46:26.180Z] Removing intermediate container 383558eed8a1 [2021-04-17T22:46:26.181Z] ---> ff0dfa795774 [2021-04-17T22:46:26.181Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-17T22:46:26.181Z] ---> Running in b9ff26ad9493 [2021-04-17T22:46:27.168Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-17T22:46:28.143Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-17T22:46:28.736Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-17T22:46:28.736Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-17T22:46:29.326Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-17T22:46:29.326Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-17T22:46:29.326Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-17T22:46:29.605Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-17T22:46:29.605Z] Executing busybox-1.31.1-r19.trigger [2021-04-17T22:46:29.605Z] OK: 144 MiB in 45 packages [2021-04-17T22:46:31.036Z] Removing intermediate container b9ff26ad9493 [2021-04-17T22:46:31.036Z] ---> 979e23803a13 [2021-04-17T22:46:31.036Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-17T22:46:31.309Z] ---> Running in b607e1e5ecb5 [2021-04-17T22:46:31.908Z] Removing intermediate container b607e1e5ecb5 [2021-04-17T22:46:31.908Z] ---> 23bb6ff36c6f [2021-04-17T22:46:31.908Z] Step 7/8 : COPY . . [2021-04-17T22:46:32.888Z] ---> c47c8b32dcf7 [2021-04-17T22:46:32.888Z] Step 8/8 : RUN go mod download [2021-04-17T22:46:33.160Z] ---> Running in a98a629145cd [2021-04-17T22:46:39.267Z] gofmt -l . [2021-04-17T22:46:39.267Z] [ "`gofmt -l .`" = "" ] [2021-04-17T22:46:39.267Z] ./bin/test-attribution-txt.sh [2021-04-17T22:46:40.219Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-17T22:46:40.500Z] $ docker stop --time=1 54f3a092f551ac21b2acbf01b56a6aed8cc48eb74b338eb733c3d5c503a42d9a [2021-04-17T22:46:42.838Z] $ docker rm -f 54f3a092f551ac21b2acbf01b56a6aed8cc48eb74b338eb733c3d5c503a42d9a [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-17T22:46:43.499Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-17T22:46:43.887Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-17T22:46:44.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-17T22:46:45.143Z] + ls -al . [2021-04-17T22:46:45.143Z] total 188 [2021-04-17T22:46:45.143Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 17 22:46 . [2021-04-17T22:46:45.143Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 17 22:44 .. [2021-04-17T22:46:45.143Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 17 22:44 bin [2021-04-17T22:46:45.143Z] -rw-r--r--. 1 jenkins jenkins 100116 Apr 17 22:46 coverage.out [2021-04-17T22:46:45.143Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 17 22:44 Dockerfile.build [2021-04-17T22:46:45.143Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 17 22:44 .dockerignore [2021-04-17T22:46:45.143Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 17 22:44 example [2021-04-17T22:46:45.143Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 17 22:44 .git [2021-04-17T22:46:45.143Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 17 22:44 .github [2021-04-17T22:46:45.143Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 17 22:44 .gitignore [2021-04-17T22:46:45.143Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 17 22:46 go.mod [2021-04-17T22:46:45.143Z] -rw-r--r--. 1 jenkins jenkins 20735 Apr 17 22:46 go.sum [2021-04-17T22:46:45.143Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 17 22:44 internal [2021-04-17T22:46:45.143Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 17 22:44 Jenkinsfile [2021-04-17T22:46:45.143Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 17 22:44 LICENSE [2021-04-17T22:46:45.143Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 17 22:44 Makefile [2021-04-17T22:46:45.143Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 17 22:44 openapi [2021-04-17T22:46:45.143Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 17 22:44 pkg [2021-04-17T22:46:45.143Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 17 22:44 README.md [2021-04-17T22:46:45.143Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 17 22:44 RELEASE-NOTES.txt [2021-04-17T22:46:45.143Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 17 22:44 snap [2021-04-17T22:46:45.143Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 17 22:42 VERSION [2021-04-17T22:46:45.143Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 17 22:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:46:45.452Z] + 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=e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 --label arch=amd64 --label version=0.0.0 . [2021-04-17T22:46:45.724Z] Sending build context to Docker daemon 2.546MB [2021-04-17T22:46:45.724Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-17T22:46:45.724Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-17T22:46:45.724Z] ---> 7946fb5c44fe [2021-04-17T22:46:45.724Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-17T22:46:46.299Z] ---> Running in dceaabdf26e6 [2021-04-17T22:46:46.299Z] Removing intermediate container dceaabdf26e6 [2021-04-17T22:46:46.299Z] ---> 3beab9996f18 [2021-04-17T22:46:46.299Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:46:46.583Z] ---> Running in 3aaedbbfb98d [2021-04-17T22:46:46.583Z] Removing intermediate container 3aaedbbfb98d [2021-04-17T22:46:46.583Z] ---> 6e69d71106e2 [2021-04-17T22:46:46.583Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:46:46.583Z] ---> Running in edece2f92f2e [2021-04-17T22:46:47.532Z] Removing intermediate container edece2f92f2e [2021-04-17T22:46:47.532Z] ---> f576612a0154 [2021-04-17T22:46:47.532Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-17T22:46:47.801Z] ---> Running in 16a2ba359a56 [2021-04-17T22:46:48.385Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-17T22:46:48.961Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-17T22:46:49.224Z] OK: 167 MiB in 45 packages [2021-04-17T22:46:49.804Z] Removing intermediate container 16a2ba359a56 [2021-04-17T22:46:49.804Z] ---> c2ec1c3a89a1 [2021-04-17T22:46:49.804Z] Step 7/23 : COPY . . [2021-04-17T22:46:51.197Z] ---> 4037f9e1a61f [2021-04-17T22:46:51.197Z] Step 8/23 : RUN go mod download [2021-04-17T22:46:51.197Z] ---> Running in 73ca4e1f26be [2021-04-17T22:46:52.158Z] Removing intermediate container 73ca4e1f26be [2021-04-17T22:46:52.158Z] ---> 23aa645b0243 [2021-04-17T22:46:52.158Z] Step 9/23 : RUN make build [2021-04-17T22:46:52.158Z] ---> Running in 334282a352c9 [2021-04-17T22:46:52.750Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-17T22:46:59.955Z] Removing intermediate container a98a629145cd [2021-04-17T22:46:59.956Z] ---> 6954ffbee442 [2021-04-17T22:46:59.956Z] Successfully built 6954ffbee442 [2021-04-17T22:46:59.956Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:47:00.297Z] + docker inspect -f . ci-base-image-arm64 [2021-04-17T22:47:00.297Z] . [Pipeline] withDockerContainer [2021-04-17T22:47:00.571Z] prd-ubuntu18.04-docker-arm64-4c-16g-592 does not seem to be running inside a container [2021-04-17T22:47:00.657Z] $ 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-arm64 cat [2021-04-17T22:47:02.156Z] $ docker top 627077d39dd12144e221b2b2c134df35228b9e3f59db6dd9bcb898ff17423fb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-17T22:47:03.104Z] + go version [2021-04-17T22:47:03.104Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-17T22:47:03.139Z] $ docker stop --time=1 627077d39dd12144e221b2b2c134df35228b9e3f59db6dd9bcb898ff17423fb9 [2021-04-17T22:47:05.097Z] $ docker rm -f 627077d39dd12144e221b2b2c134df35228b9e3f59db6dd9bcb898ff17423fb9 [2021-04-17T22:47:05.116Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:47:05.694Z] Removing intermediate container 334282a352c9 [2021-04-17T22:47:05.694Z] ---> f732f2573cea [2021-04-17T22:47:05.694Z] Step 10/23 : FROM alpine:3.12 [2021-04-17T22:47:05.774Z] + docker inspect -f . ci-base-image-arm64 [2021-04-17T22:47:05.775Z] . [Pipeline] withDockerContainer [2021-04-17T22:47:05.956Z] 3.12: Pulling from library/alpine [2021-04-17T22:47:05.957Z] 339de151aab4: Pulling fs layer [2021-04-17T22:47:06.051Z] prd-ubuntu18.04-docker-arm64-4c-16g-592 does not seem to be running inside a container [2021-04-17T22:47:06.133Z] $ 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-arm64 cat [2021-04-17T22:47:06.227Z] 339de151aab4: Verifying Checksum [2021-04-17T22:47:06.227Z] 339de151aab4: Download complete [2021-04-17T22:47:06.491Z] 339de151aab4: Pull complete [2021-04-17T22:47:06.491Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-17T22:47:06.491Z] Status: Downloaded newer image for alpine:3.12 [2021-04-17T22:47:06.491Z] ---> 13621d1b12d4 [2021-04-17T22:47:06.491Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:47:06.491Z] ---> Running in 1666ce288cb8 [2021-04-17T22:47:06.756Z] Removing intermediate container 1666ce288cb8 [2021-04-17T22:47:06.756Z] ---> 9259ac2f2aad [2021-04-17T22:47:06.756Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:47:06.756Z] ---> Running in 5ee67ead5623 [2021-04-17T22:47:07.606Z] $ docker top 24af756bad3469b6eeae5b6669cb5f0445d84ec070cdce749fc778ad501ba878 -eo pid,comm [2021-04-17T22:47:07.705Z] Removing intermediate container 5ee67ead5623 [2021-04-17T22:47:07.705Z] ---> fb293a997558 [2021-04-17T22:47:07.705Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-17T22:47:07.705Z] ---> Running in 50a429e7c0dc [Pipeline] { [Pipeline] sh [2021-04-17T22:47:08.284Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-17T22:47:08.559Z] + make test [2021-04-17T22:47:08.560Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-17T22:47:08.862Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-17T22:47:09.440Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-17T22:47:09.440Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-17T22:47:09.703Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-17T22:47:10.651Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-17T22:47:10.651Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-17T22:47:10.651Z] Executing busybox-1.31.1-r20.trigger [2021-04-17T22:47:10.651Z] OK: 8 MiB in 19 packages [2021-04-17T22:47:11.228Z] Removing intermediate container 50a429e7c0dc [2021-04-17T22:47:11.228Z] ---> a027663b9048 [2021-04-17T22:47:11.228Z] Step 14/23 : WORKDIR / [2021-04-17T22:47:11.490Z] ---> Running in 3b0f4d2ca27e [2021-04-17T22:47:11.490Z] Removing intermediate container 3b0f4d2ca27e [2021-04-17T22:47:11.490Z] ---> 1e9c91407409 [2021-04-17T22:47:11.490Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-17T22:47:11.755Z] ---> 2c04763b3399 [2021-04-17T22:47:11.755Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-17T22:47:12.703Z] ---> 5ac84e2e3afe [2021-04-17T22:47:12.703Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-17T22:47:12.703Z] ---> f9e3ddeea6b3 [2021-04-17T22:47:12.703Z] Step 18/23 : EXPOSE 49990 [2021-04-17T22:47:12.966Z] ---> Running in 66325b2c70e5 [2021-04-17T22:47:12.966Z] Removing intermediate container 66325b2c70e5 [2021-04-17T22:47:12.966Z] ---> 1569a0321cea [2021-04-17T22:47:12.966Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-17T22:47:12.966Z] ---> Running in d098be646d10 [2021-04-17T22:47:13.230Z] Removing intermediate container d098be646d10 [2021-04-17T22:47:13.230Z] ---> f876dac591e0 [2021-04-17T22:47:13.230Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-17T22:47:13.230Z] ---> Running in ec53d8a9995f [2021-04-17T22:47:13.496Z] Removing intermediate container ec53d8a9995f [2021-04-17T22:47:13.496Z] ---> bb42afd1d3e7 [2021-04-17T22:47:13.496Z] Step 21/23 : LABEL arch=amd64 [2021-04-17T22:47:13.496Z] ---> Running in ea77b0539def [2021-04-17T22:47:13.759Z] Removing intermediate container ea77b0539def [2021-04-17T22:47:13.759Z] ---> 552fd6fbfb04 [2021-04-17T22:47:13.759Z] Step 22/23 : LABEL git_sha=e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 [2021-04-17T22:47:14.022Z] ---> Running in 582deb5940de [2021-04-17T22:47:14.285Z] Removing intermediate container 582deb5940de [2021-04-17T22:47:14.285Z] ---> 20ec1d89a630 [2021-04-17T22:47:14.285Z] Step 23/23 : LABEL version=0.0.0 [2021-04-17T22:47:14.285Z] ---> Running in 6e3f58a6f45c [2021-04-17T22:47:14.548Z] Removing intermediate container 6e3f58a6f45c [2021-04-17T22:47:14.548Z] ---> d0239627b688 [2021-04-17T22:47:14.548Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-17T22:47:14.548Z] Successfully built d0239627b688 [2021-04-17T22:47:14.548Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:47:15.067Z] ---> job-cost.sh [2021-04-17T22:47:15.067Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2igK [2021-04-17T22:47:30.006Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-17T22:47:30.752Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-17T22:48:02.195Z] lf-activate-venv(): INFO: Adding /tmp/venv-2igK/bin to PATH [2021-04-17T22:48:02.195Z] INFO: No Stack... [2021-04-17T22:48:02.195Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-17T22:48:02.195Z] INFO: Archiving Costs [Pipeline] sh [2021-04-17T22:48:02.507Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-17T22:48:02.507Z] + cut -d, -f6 [Pipeline] lock [2021-04-17T22:48:02.599Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] [2021-04-17T22:48:02.606Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] did not exist. Created. [2021-04-17T22:48:02.607Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-17T22:48:02.939Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-17T22:48:03.072Z] Stashed 1 file(s) [Pipeline] } [2021-04-17T22:48:03.083Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-17T22:48:27.350Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-17T22:48:27.350Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-17T22:48:27.350Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-17T22:48:27.350Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-17T22:48:27.350Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-17T22:48:29.359Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.185s coverage: 28.1% of statements [2021-04-17T22:48:30.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.255s coverage: 78.9% of statements [2021-04-17T22:48:30.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.139s coverage: 7.8% of statements [2021-04-17T22:48:30.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-17T22:48:30.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-17T22:48:30.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-17T22:48:31.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.266s coverage: 32.0% of statements [2021-04-17T22:48:31.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-17T22:48:31.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-17T22:48:31.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-17T22:48:36.143Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.298s coverage: 57.1% of statements [2021-04-17T22:48:36.143Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.108s coverage: 6.6% of statements [2021-04-17T22:48:36.143Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.152s coverage: 5.0% of statements [2021-04-17T22:48:36.143Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-17T22:48:36.143Z] GO111MODULE=on go vet ./... [2021-04-17T22:49:23.188Z] gofmt -l . [2021-04-17T22:49:23.188Z] [ "`gofmt -l .`" = "" ] [2021-04-17T22:49:23.188Z] ./bin/test-attribution-txt.sh [2021-04-17T22:49:23.188Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-17T22:49:23.222Z] $ docker stop --time=1 24af756bad3469b6eeae5b6669cb5f0445d84ec070cdce749fc778ad501ba878 [2021-04-17T22:49:25.513Z] $ docker rm -f 24af756bad3469b6eeae5b6669cb5f0445d84ec070cdce749fc778ad501ba878 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-17T22:49:26.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-17T22:49:26.616Z] Warning: overwriting stash ‘coverage-report’ [2021-04-17T22:49:27.533Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-17T22:49:27.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-17T22:49:28.354Z] + ls -al . [2021-04-17T22:49:28.354Z] total 224 [2021-04-17T22:49:28.354Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 22:49 . [2021-04-17T22:49:28.354Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:45 .. [2021-04-17T22:49:28.354Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 22:45 .dockerignore [2021-04-17T22:49:28.354Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 22:45 .git [2021-04-17T22:49:28.354Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 22:45 .github [2021-04-17T22:49:28.354Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 17 22:45 .gitignore [2021-04-17T22:49:28.354Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 17 22:45 Dockerfile.build [2021-04-17T22:49:28.354Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 17 22:45 Jenkinsfile [2021-04-17T22:49:28.354Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 22:45 LICENSE [2021-04-17T22:49:28.354Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 17 22:45 Makefile [2021-04-17T22:49:28.354Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 17 22:45 README.md [2021-04-17T22:49:28.354Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 17 22:45 RELEASE-NOTES.txt [2021-04-17T22:49:28.354Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 22:42 VERSION [2021-04-17T22:49:28.355Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 22:45 bin [2021-04-17T22:49:28.355Z] -rw-r--r-- 1 jenkins jenkins 100116 Apr 17 22:48 coverage.out [2021-04-17T22:49:28.355Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 22:45 example [2021-04-17T22:49:28.355Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 17 22:49 go.mod [2021-04-17T22:49:28.355Z] -rw-r--r-- 1 jenkins jenkins 20735 Apr 17 22:49 go.sum [2021-04-17T22:49:28.355Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 17 22:45 internal [2021-04-17T22:49:28.355Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:45 openapi [2021-04-17T22:49:28.355Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 22:45 pkg [2021-04-17T22:49:28.355Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:45 snap [2021-04-17T22:49:28.355Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 22:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:49:28.830Z] + 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=e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 --label arch=arm64 --label version=0.0.0 . [2021-04-17T22:49:29.441Z] Sending build context to Docker daemon 2.553MB [2021-04-17T22:49:29.441Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-17T22:49:29.441Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-17T22:49:29.441Z] ---> 6954ffbee442 [2021-04-17T22:49:29.441Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-17T22:49:29.722Z] ---> Running in 0000651d1692 [2021-04-17T22:49:30.328Z] Removing intermediate container 0000651d1692 [2021-04-17T22:49:30.328Z] ---> 912acb8af76b [2021-04-17T22:49:30.328Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:49:30.328Z] ---> Running in 606a67d99ac8 [2021-04-17T22:49:30.922Z] Removing intermediate container 606a67d99ac8 [2021-04-17T22:49:30.922Z] ---> 354b447d7192 [2021-04-17T22:49:30.922Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:49:30.922Z] ---> Running in 6fc0f29b1a63 [2021-04-17T22:49:32.903Z] Removing intermediate container 6fc0f29b1a63 [2021-04-17T22:49:32.903Z] ---> 6a58d6f1e8b6 [2021-04-17T22:49:32.903Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-17T22:49:32.903Z] ---> Running in d4aed34c23b9 [2021-04-17T22:49:34.339Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-17T22:49:34.932Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-17T22:49:35.526Z] OK: 144 MiB in 45 packages [2021-04-17T22:49:36.535Z] Removing intermediate container d4aed34c23b9 [2021-04-17T22:49:36.535Z] ---> e05f0a48a3c0 [2021-04-17T22:49:36.535Z] Step 7/23 : COPY . . [2021-04-17T22:49:37.963Z] ---> 307239fab44d [2021-04-17T22:49:37.963Z] Step 8/23 : RUN go mod download [2021-04-17T22:49:37.963Z] ---> Running in e0c02aa34ab1 [2021-04-17T22:49:39.929Z] Removing intermediate container e0c02aa34ab1 [2021-04-17T22:49:39.929Z] ---> baff6fc84db0 [2021-04-17T22:49:39.929Z] Step 9/23 : RUN make build [2021-04-17T22:49:40.204Z] ---> Running in 35ec5976c7d1 [2021-04-17T22:49:41.176Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-17T22:50:13.536Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-17T22:50:15.512Z] Removing intermediate container 35ec5976c7d1 [2021-04-17T22:50:15.512Z] ---> 26d4c75a8bd5 [2021-04-17T22:50:15.512Z] Step 10/23 : FROM alpine:3.12 [2021-04-17T22:50:15.787Z] 3.12: Pulling from library/alpine [2021-04-17T22:50:15.787Z] d2f70382dc9a: Pulling fs layer [2021-04-17T22:50:16.058Z] d2f70382dc9a: Verifying Checksum [2021-04-17T22:50:16.058Z] d2f70382dc9a: Download complete [2021-04-17T22:50:16.653Z] d2f70382dc9a: Pull complete [2021-04-17T22:50:16.653Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-17T22:50:16.653Z] Status: Downloaded newer image for alpine:3.12 [2021-04-17T22:50:16.653Z] ---> 9852663dfa18 [2021-04-17T22:50:16.653Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:50:16.925Z] ---> Running in a373271d4a4e [2021-04-17T22:50:17.519Z] Removing intermediate container a373271d4a4e [2021-04-17T22:50:17.519Z] ---> 67ce8ed977ea [2021-04-17T22:50:17.519Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:50:17.519Z] ---> Running in c7c1e146c01c [2021-04-17T22:50:19.487Z] Removing intermediate container c7c1e146c01c [2021-04-17T22:50:19.487Z] ---> 318d7dd615fa [2021-04-17T22:50:19.487Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-17T22:50:19.759Z] ---> Running in f4bc944ad64d [2021-04-17T22:50:20.733Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-17T22:50:22.159Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-17T22:50:24.759Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-17T22:50:24.759Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-17T22:50:24.759Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-17T22:50:25.346Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-17T22:50:25.615Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-17T22:50:25.885Z] Executing busybox-1.31.1-r20.trigger [2021-04-17T22:50:25.885Z] OK: 8 MiB in 19 packages [2021-04-17T22:50:27.333Z] Removing intermediate container f4bc944ad64d [2021-04-17T22:50:27.333Z] ---> 3e9ed0c43dac [2021-04-17T22:50:27.333Z] Step 14/23 : WORKDIR / [2021-04-17T22:50:27.333Z] ---> Running in 4301f7ec0784 [2021-04-17T22:50:27.605Z] Removing intermediate container 4301f7ec0784 [2021-04-17T22:50:27.605Z] ---> e6293cb2d427 [2021-04-17T22:50:27.605Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-17T22:50:28.579Z] ---> 20acde61f5ac [2021-04-17T22:50:28.579Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-17T22:50:29.554Z] ---> 0458f6fa4398 [2021-04-17T22:50:29.554Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-17T22:50:30.526Z] ---> 015dc17a35ff [2021-04-17T22:50:30.527Z] Step 18/23 : EXPOSE 49990 [2021-04-17T22:50:30.527Z] ---> Running in a39202779730 [2021-04-17T22:50:30.797Z] Removing intermediate container a39202779730 [2021-04-17T22:50:30.797Z] ---> 303cced0d209 [2021-04-17T22:50:30.797Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-17T22:50:31.070Z] ---> Running in aa0817048285 [2021-04-17T22:50:31.342Z] Removing intermediate container aa0817048285 [2021-04-17T22:50:31.342Z] ---> d53d87e82dab [2021-04-17T22:50:31.342Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-17T22:50:31.616Z] ---> Running in 90dbb5fd0f64 [2021-04-17T22:50:31.886Z] Removing intermediate container 90dbb5fd0f64 [2021-04-17T22:50:31.886Z] ---> c8870abf7b06 [2021-04-17T22:50:31.886Z] Step 21/23 : LABEL arch=arm64 [2021-04-17T22:50:32.157Z] ---> Running in 91336c85f505 [2021-04-17T22:50:32.426Z] Removing intermediate container 91336c85f505 [2021-04-17T22:50:32.426Z] ---> 7602351ad67e [2021-04-17T22:50:32.426Z] Step 22/23 : LABEL git_sha=e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 [2021-04-17T22:50:32.696Z] ---> Running in 351e2647fa56 [2021-04-17T22:50:32.966Z] Removing intermediate container 351e2647fa56 [2021-04-17T22:50:32.966Z] ---> 29eeee2d73f2 [2021-04-17T22:50:32.966Z] Step 23/23 : LABEL version=0.0.0 [2021-04-17T22:50:33.235Z] ---> Running in 5b9491a4f624 [2021-04-17T22:50:33.504Z] Removing intermediate container 5b9491a4f624 [2021-04-17T22:50:33.504Z] ---> c1b8ded77b9c [2021-04-17T22:50:33.504Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-17T22:50:33.504Z] Successfully built c1b8ded77b9c [2021-04-17T22:50:33.504Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:50:33.959Z] ---> job-cost.sh [2021-04-17T22:50:33.960Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8JJb [2021-04-17T22:51:12.884Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-17T22:52:34.594Z] lf-activate-venv(): INFO: Adding /tmp/venv-8JJb/bin to PATH [2021-04-17T22:52:34.594Z] INFO: No Stack... [2021-04-17T22:52:35.563Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-17T22:52:36.155Z] INFO: Archiving Costs [Pipeline] sh [2021-04-17T22:52:36.503Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-17T22:52:36.503Z] + cut -d, -f6 [Pipeline] lock [2021-04-17T22:52:36.616Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] [2021-04-17T22:52:36.626Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] did not exist. Created. [2021-04-17T22:52:36.626Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-17T22:52:36.991Z] /w/workspace/device-sdk-go/2@tmp/durable-c9d94dba/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-c9d94dba/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-17T22:52:37.331Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-17T22:52:37.362Z] Warning: overwriting stash ‘stack-cost’ [2021-04-17T22:52:37.513Z] Stashed 1 file(s) [Pipeline] } [2021-04-17T22:52:37.527Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-17T22:52:37.912Z] provisioning config files... [2021-04-17T22:52:37.923Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config7709486388282425812tmp [Pipeline] { [Pipeline] sh [2021-04-17T22:52:38.259Z] + set +x [2021-04-17T22:52:38.259Z] + curl -s https://codecov.io/bash [2021-04-17T22:52:38.259Z] + bash -s -- [2021-04-17T22:52:38.524Z] [2021-04-17T22:52:38.524Z] _____ _ [2021-04-17T22:52:38.524Z] / ____| | | [2021-04-17T22:52:38.524Z] | | ___ __| | ___ ___ _____ __ [2021-04-17T22:52:38.524Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-17T22:52:38.524Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-17T22:52:38.524Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-17T22:52:38.524Z] Bash-1.0.1 [2021-04-17T22:52:38.524Z] [2021-04-17T22:52:38.524Z] [2021-04-17T22:52:38.524Z] ==> git version 2.24.3 found [2021-04-17T22:52:38.524Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-17T22:52:38.524Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-17T22:52:38.524Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-17T22:52:38.524Z] ==> Jenkins CI detected. [2021-04-17T22:52:38.524Z] project root: . [2021-04-17T22:52:38.524Z] --> token set from env [2021-04-17T22:52:38.524Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-17T22:52:38.524Z] ==> Running gcov in . (disable via -X gcov) [2021-04-17T22:52:38.524Z] ==> Python coveragepy not found [2021-04-17T22:52:38.524Z] ==> Searching for coverage reports in: [2021-04-17T22:52:38.524Z] + . [2021-04-17T22:52:38.524Z] -> Found 1 reports [2021-04-17T22:52:38.524Z] ==> Detecting git/mercurial file structure [2021-04-17T22:52:38.524Z] ==> Reading reports [2021-04-17T22:52:38.524Z] + ./coverage.out bytes=100116 [2021-04-17T22:52:38.524Z] ==> Appending adjustments [2021-04-17T22:52:38.524Z] https://docs.codecov.io/docs/fixing-reports [2021-04-17T22:52:38.788Z] + Found adjustments [2021-04-17T22:52:38.788Z] ==> Gzipping contents [2021-04-17T22:52:38.788Z] 16K /tmp/codecov.EVB3BP.gz [2021-04-17T22:52:38.788Z] ==> Uploading reports [2021-04-17T22:52:38.788Z] url: https://codecov.io [2021-04-17T22:52:38.788Z] query: branch=PR-883&commit=e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-883%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=883&job=&cmd_args= [2021-04-17T22:52:38.788Z] -> Pinging Codecov [2021-04-17T22:52:38.788Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-883&commit=e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-883%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=883&job=&cmd_args= [2021-04-17T22:52:39.373Z] -> Uploading to [2021-04-17T22:52:39.373Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-17/7E55EF52A471D76F132DFD9A03CDDE97/e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18/fbeea09b-f462-4d98-8b7a-001742225e88.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQTQ3YJIJLIJGVGTVHAPGJID7VJUNCGTQF3BY2BVBYAXUZ3IB42ZKRMI%2F20210417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210417T225239Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f36a961c12014168d8e359f80f224d640ac466bd2e6d6703c17ae842588ff5e [2021-04-17T22:52:39.373Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-17T22:52:39.373Z] Dload Upload Total Spent Left Speed [2021-04-17T22:52:39.897Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 13530 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13530 0 0 100 13530 0 29229 --:--:-- --:--:-- --:--:-- 29222 [2021-04-17T22:52:39.897Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 [Pipeline] } [2021-04-17T22:52:39.907Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:52:40.852Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:52:41.540Z] ---> package-listing.sh [2021-04-17T22:52:41.540Z] ++ facter osfamily [2021-04-17T22:52:41.540Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-17T22:52:41.540Z] + OS_FAMILY=redhat [2021-04-17T22:52:41.540Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-883 [2021-04-17T22:52:41.540Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-17T22:52:41.540Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-17T22:52:41.540Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-17T22:52:41.540Z] + PACKAGES=/tmp/packages_start.txt [2021-04-17T22:52:41.540Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-883 ']' [2021-04-17T22:52:41.540Z] + PACKAGES=/tmp/packages_end.txt [2021-04-17T22:52:41.540Z] + case "${OS_FAMILY}" in [2021-04-17T22:52:41.540Z] + rpm -qa [2021-04-17T22:52:41.540Z] + sort [2021-04-17T22:52:46.870Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-17T22:52:46.870Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-17T22:52:46.870Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-17T22:52:46.870Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-883 ']' [2021-04-17T22:52:46.870Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-883/archives/ [2021-04-17T22:52:46.870Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-883/archives/ [Pipeline] echo [2021-04-17T22:52:46.884Z] 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-883/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-17T22:52:47.176Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:52:47.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-17T22:52:47.485Z] [2021-04-17T22:52:47.485Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:52:47.806Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-17T22:52:47.806Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-17T22:52:47.806Z] df20fa9351a1: Pulling fs layer [2021-04-17T22:52:47.806Z] 36b3adc4ff6f: Pulling fs layer [2021-04-17T22:52:47.806Z] 8ad3a11d3b57: Pulling fs layer [2021-04-17T22:52:47.806Z] 46f8f816bc3b: Pulling fs layer [2021-04-17T22:52:47.806Z] 93b61091891f: Pulling fs layer [2021-04-17T22:52:47.806Z] 93b9cdb0e59b: Pulling fs layer [2021-04-17T22:52:47.806Z] 5e14af77c1be: Pulling fs layer [2021-04-17T22:52:47.806Z] 01666e4c0597: Pulling fs layer [2021-04-17T22:52:47.806Z] aa168da1d23b: Pulling fs layer [2021-04-17T22:52:47.806Z] 93b9cdb0e59b: Waiting [2021-04-17T22:52:47.806Z] 46f8f816bc3b: Waiting [2021-04-17T22:52:47.806Z] 5e14af77c1be: Waiting [2021-04-17T22:52:47.806Z] 93b61091891f: Waiting [2021-04-17T22:52:47.806Z] aa168da1d23b: Waiting [2021-04-17T22:52:47.806Z] 36b3adc4ff6f: Verifying Checksum [2021-04-17T22:52:47.806Z] 36b3adc4ff6f: Download complete [2021-04-17T22:52:47.806Z] 46f8f816bc3b: Verifying Checksum [2021-04-17T22:52:47.806Z] 46f8f816bc3b: Download complete [2021-04-17T22:52:48.073Z] df20fa9351a1: Verifying Checksum [2021-04-17T22:52:48.073Z] df20fa9351a1: Download complete [2021-04-17T22:52:48.073Z] 93b9cdb0e59b: Verifying Checksum [2021-04-17T22:52:48.073Z] 93b9cdb0e59b: Download complete [2021-04-17T22:52:48.073Z] 5e14af77c1be: Download complete [2021-04-17T22:52:48.073Z] 93b61091891f: Download complete [2021-04-17T22:52:48.073Z] 01666e4c0597: Verifying Checksum [2021-04-17T22:52:48.073Z] 01666e4c0597: Download complete [2021-04-17T22:52:48.073Z] 8ad3a11d3b57: Verifying Checksum [2021-04-17T22:52:48.073Z] 8ad3a11d3b57: Download complete [2021-04-17T22:52:48.655Z] df20fa9351a1: Pull complete [2021-04-17T22:52:48.655Z] 36b3adc4ff6f: Pull complete [2021-04-17T22:52:50.080Z] 8ad3a11d3b57: Pull complete [2021-04-17T22:52:50.080Z] aa168da1d23b: Verifying Checksum [2021-04-17T22:52:50.080Z] aa168da1d23b: Download complete [2021-04-17T22:52:50.352Z] 46f8f816bc3b: Pull complete [2021-04-17T22:52:50.615Z] 93b61091891f: Pull complete [2021-04-17T22:52:50.615Z] 93b9cdb0e59b: Pull complete [2021-04-17T22:52:50.879Z] 5e14af77c1be: Pull complete [2021-04-17T22:52:50.879Z] 01666e4c0597: Pull complete [2021-04-17T22:52:59.087Z] aa168da1d23b: Pull complete [2021-04-17T22:52:59.087Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-17T22:52:59.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-17T22:52:59.088Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-17T22:52:59.299Z] prd-centos7-docker-4c-2g-584 does not seem to be running inside a container [2021-04-17T22:52:59.352Z] $ 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-883/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-883 -v /w/workspace/dgexfoundry_device-sdk-go_PR-883:/w/workspace/dgexfoundry_device-sdk-go_PR-883:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-883@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-04-17T22:53:02.728Z] $ docker top 655fd2d0b8f4b906fb4dca3587a9addc06db7e5a29726a1800417cbdcbfd3fce -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-17T22:53:03.255Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-17T22:53:03.562Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-17T22:53:03.868Z] + ls /var/log/sa-host [2021-04-17T22:53:03.868Z] + sadf -c /var/log/sa-host/sa17 [2021-04-17T22:53:03.868Z] file_magic: OK [2021-04-17T22:53:03.868Z] HZ: Using current value: 100 [2021-04-17T22:53:03.868Z] file_header: OK [2021-04-17T22:53:03.868Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-17T22:53:03.868Z] Statistics: [2021-04-17T22:53:03.868Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-17T22:53:03.868Z] File successfully converted to sysstat format version 12.2.1 [2021-04-17T22:53:03.868Z] + sadf -c /var/log/sa-host/sa23 [2021-04-17T22:53:03.868Z] file_magic: OK [2021-04-17T22:53:03.868Z] HZ: Using current value: 100 [2021-04-17T22:53:03.868Z] file_header: OK [2021-04-17T22:53:03.868Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-17T22:53:03.868Z] Statistics: [2021-04-17T22:53:03.868Z] Hnuu...uuuununununu... [2021-04-17T22:53:03.868Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-17T22:53:04.050Z] provisioning config files... [2021-04-17T22:53:04.067Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config1282758716865045008tmp [Pipeline] { [Pipeline] echo [2021-04-17T22:53:04.097Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:53:04.396Z] ---> create-netrc.sh [Pipeline] } [2021-04-17T22:53:04.406Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-17T22:53:04.441Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:53:04.740Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-17T22:53:04.754Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:53:05.053Z] ---> sudo-logs.sh [2021-04-17T22:53:05.053Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-17T22:53:05.096Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:53:05.400Z] ---> job-cost.sh [2021-04-17T22:53:05.400Z] lf-activate-venv: SKIPPING [2021-04-17T22:53:05.400Z] DEBUG: total: 0.20999999344348907 [2021-04-17T22:53:05.400Z] INFO: Retrieving Stack Cost... [2021-04-17T22:53:06.351Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-17T22:53:06.926Z] INFO: Archiving Costs [Pipeline] echo [2021-04-17T22:53:06.944Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:53:07.243Z] ---> logs-deploy.sh [2021-04-17T22:53:07.243Z] lf-activate-venv: SKIPPING [2021-04-17T22:53:07.243Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-883/2 [2021-04-17T22:53:07.243Z] INFO: archiving workspace using pattern(s): [2021-04-17T22:53:09.171Z] Archives upload complete. [2021-04-17T22:53:09.171Z] INFO: archiving logs to Nexus