Pull request #878 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 98f9d1e0beda86149d7788036cbe8474e673faff+94ba728ffe67abe485aa5fd1bea1962d855b8f3c (7f4218b96984fe613dfe2713fb44230a9eecf057) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-98 in /w/workspace/dgexfoundry_device-sdk-go_PR-878 [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-878 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/878/head:refs/remotes/origin/PR-878 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit 98f9d1e0beda86149d7788036cbe8474e673faff Merge succeeded, producing 98f9d1e0beda86149d7788036cbe8474e673faff Checking out Revision 98f9d1e0beda86149d7788036cbe8474e673faff (PR-878) > git config core.sparsecheckout # timeout=10 > git checkout -f 98f9d1e0beda86149d7788036cbe8474e673faff # 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 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98f9d1e0beda86149d7788036cbe8474e673faff # timeout=10 Commit message: "feat: add request size middleware for device command" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-14T09:59:16.534Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-14T09:59:16.637Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 570eb23ac147484c826148d39903d5c09a86bb01 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-14T09:59:16.666Z] ========================================================= [2021-04-14T09:59:16.666Z] EdgeX Global Pipelines Version Info [2021-04-14T09:59:16.666Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-14T09:59:20.061Z] ------------------- [2021-04-14T09:59:20.061Z] stable info: [2021-04-14T09:59:20.061Z] ------------------- [2021-04-14T09:59:20.061Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-14T09:59:20.061Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-14T09:59:20.061Z] Message: update stable to v1.0.186 [2021-04-14T09:59:21.223Z] ------------------- [2021-04-14T09:59:21.223Z] experimental info: [2021-04-14T09:59:21.223Z] ------------------- [2021-04-14T09:59:21.223Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-14T09:59:21.223Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-14T09:59:21.223Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-14T09:59:21.564Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-14T09:59:21.589Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-14T09:59:21.611Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-14T09:59:21.634Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-14T09:59:21.656Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-14T09:59:21.679Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-14T09:59:21.702Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-14T09:59:21.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-14T09:59:21.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-14T09:59:21.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-14T09:59:21.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-14T09:59:21.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-14T09:59:21.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-14T09:59:21.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-14T09:59:21.897Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-14T09:59:21.921Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T09:59:21.949Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T09:59:21.974Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T09:59:21.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-14T09:59:22.022Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-14T09:59:22.052Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-14T09:59:22.075Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-14T09:59:22.102Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-14T09:59:22.126Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-14T09:59:22.157Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-14T09:59:22.182Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-14T09:59:22.205Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-878 [Pipeline] echo [2021-04-14T09:59:22.229Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-878 [Pipeline] echo [2021-04-14T09:59:22.256Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-878 [Pipeline] echo [2021-04-14T09:59:22.289Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98f9d1e0beda86149d7788036cbe8474e673faff [Pipeline] echo [2021-04-14T09:59:22.312Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98f9d1e [Pipeline] echo [2021-04-14T09:59:22.335Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T09:59:22.413Z] provisioning config files... [2021-04-14T09:59:22.454Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config7948270987686830453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T09:59:22.861Z] ---> docker-login.sh [2021-04-14T09:59:22.861Z] nexus3.edgexfoundry.org:10001 [2021-04-14T09:59:23.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T09:59:24.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T09:59:24.338Z] Configure a credential helper to remove this warning. See [2021-04-14T09:59:24.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T09:59:24.338Z] [2021-04-14T09:59:24.338Z] Login Succeeded [2021-04-14T09:59:24.338Z] nexus3.edgexfoundry.org:10002 [2021-04-14T09:59:25.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T09:59:25.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T09:59:25.469Z] Configure a credential helper to remove this warning. See [2021-04-14T09:59:25.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T09:59:25.469Z] [2021-04-14T09:59:25.469Z] Login Succeeded [2021-04-14T09:59:25.469Z] nexus3.edgexfoundry.org:10003 [2021-04-14T09:59:26.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T09:59:26.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T09:59:26.205Z] Configure a credential helper to remove this warning. See [2021-04-14T09:59:26.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T09:59:26.205Z] [2021-04-14T09:59:26.205Z] Login Succeeded [2021-04-14T09:59:26.205Z] nexus3.edgexfoundry.org:10004 [2021-04-14T09:59:26.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T09:59:27.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T09:59:27.182Z] Configure a credential helper to remove this warning. See [2021-04-14T09:59:27.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T09:59:27.182Z] [2021-04-14T09:59:27.182Z] Login Succeeded [2021-04-14T09:59:27.572Z] docker.io [2021-04-14T09:59:27.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T09:59:28.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T09:59:28.534Z] Configure a credential helper to remove this warning. See [2021-04-14T09:59:28.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T09:59:28.534Z] [2021-04-14T09:59:28.534Z] Login Succeeded [2021-04-14T09:59:28.534Z] ---> docker-login.sh ends [Pipeline] } [2021-04-14T09:59:28.643Z] 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-14T09:59:29.169Z] + git log --format=format:%s -1 98f9d1e0beda86149d7788036cbe8474e673faff [Pipeline] echo [2021-04-14T09:59:29.520Z] GIT_COMMIT: 98f9d1e0beda86149d7788036cbe8474e673faff, Commit Message: feat: add request size middleware for device command [Pipeline] echo [2021-04-14T09:59:29.534Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-14T09:59:31.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T09:59:31.428Z] [2021-04-14T09:59:31.428Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-14T09:59:31.834Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T09:59:31.834Z] latest: Pulling from edgex-devops/git-semver [2021-04-14T09:59:31.834Z] 31603596830f: Pulling fs layer [2021-04-14T09:59:31.834Z] 2a8b12db71e7: Pulling fs layer [2021-04-14T09:59:31.834Z] 6ca5941a6612: Pulling fs layer [2021-04-14T09:59:31.834Z] ecc8261a40a4: Pulling fs layer [2021-04-14T09:59:31.834Z] ecc8261a40a4: Waiting [2021-04-14T09:59:32.142Z] 2a8b12db71e7: Verifying Checksum [2021-04-14T09:59:32.142Z] 2a8b12db71e7: Download complete [2021-04-14T09:59:32.142Z] 31603596830f: Verifying Checksum [2021-04-14T09:59:32.142Z] 31603596830f: Download complete [2021-04-14T09:59:32.683Z] ecc8261a40a4: Verifying Checksum [2021-04-14T09:59:32.683Z] ecc8261a40a4: Download complete [2021-04-14T09:59:33.473Z] 6ca5941a6612: Verifying Checksum [2021-04-14T09:59:33.473Z] 6ca5941a6612: Download complete [2021-04-14T09:59:33.783Z] 31603596830f: Pull complete [2021-04-14T09:59:34.591Z] 2a8b12db71e7: Pull complete [2021-04-14T09:59:35.666Z] 6ca5941a6612: Pull complete [2021-04-14T09:59:36.331Z] ecc8261a40a4: Pull complete [2021-04-14T09:59:36.331Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-14T09:59:36.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T09:59:36.331Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-14T09:59:37.003Z] prd-centos7-docker-4c-2g-98 does not seem to be running inside a container [2021-04-14T09:59:37.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-878 -v /w/workspace/dgexfoundry_device-sdk-go_PR-878:/w/workspace/dgexfoundry_device-sdk-go_PR-878:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-878@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-14T09:59:40.963Z] $ docker top 96cbbd60c94a1fb8722757b0db4e1e66f58f1b52b82606855df687175112fd34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-14T09:59:41.363Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-14T09:59:41.363Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-14T09:59:42.591Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-14T09:59:42.602Z] $ docker exec 96cbbd60c94a1fb8722757b0db4e1e66f58f1b52b82606855df687175112fd34 ssh-agent [2021-04-14T09:59:43.561Z] SSH_AUTH_SOCK=/tmp/ssh-eJHxYzNL3SFL/agent.11 [2021-04-14T09:59:43.561Z] SSH_AGENT_PID=16 [2021-04-14T09:59:43.602Z] Running ssh-add (command line suppressed) [2021-04-14T09:59:44.006Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_8401476551139617500.key (/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_8401476551139617500.key) [2021-04-14T09:59:44.423Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-14T09:59:44.956Z] + git tag --points-at HEAD [Pipeline] } [2021-04-14T09:59:45.146Z] $ docker exec --env ******** --env ******** 96cbbd60c94a1fb8722757b0db4e1e66f58f1b52b82606855df687175112fd34 ssh-agent -k [2021-04-14T09:59:45.693Z] unset SSH_AUTH_SOCK; [2021-04-14T09:59:45.694Z] unset SSH_AGENT_PID; [2021-04-14T09:59:45.694Z] echo Agent pid 16 killed; [2021-04-14T09:59:45.900Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-14T09:59:45.948Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-14T09:59:45.948Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-14T09:59:46.368Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-14T09:59:46.379Z] $ docker exec 96cbbd60c94a1fb8722757b0db4e1e66f58f1b52b82606855df687175112fd34 ssh-agent [2021-04-14T09:59:46.881Z] SSH_AUTH_SOCK=/tmp/ssh-M1XOnzN7osNX/agent.44 [2021-04-14T09:59:46.881Z] SSH_AGENT_PID=49 [2021-04-14T09:59:46.901Z] Running ssh-add (command line suppressed) [2021-04-14T09:59:47.993Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_5608472194759173510.key (/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_5608472194759173510.key) [2021-04-14T09:59:48.257Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-14T09:59:49.161Z] + git semver init [2021-04-14T09:59:49.161Z] # -> Open(): unable to determine branch for HEAD [2021-04-14T09:59:49.161Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-878/.git [2021-04-14T09:59:49.161Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-878 [2021-04-14T09:59:49.161Z] # $SEMVER_REMOTE_NAME = origin [2021-04-14T09:59:49.161Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-14T09:59:49.161Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-14T09:59:49.161Z] # $SEMVER_BRANCH = PR-878 [2021-04-14T09:59:49.161Z] # $SEMVER_TEMP = /tmp/semver-610039680 [2021-04-14T09:59:49.161Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-14T09:59:50.876Z] # '/tmp/semver-610039680' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-878/.semver' [2021-04-14T09:59:50.876Z] # -> Force: false [2021-04-14T09:59:50.876Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-878/.semver [Pipeline] } [2021-04-14T09:59:50.937Z] $ docker exec --env ******** --env ******** 96cbbd60c94a1fb8722757b0db4e1e66f58f1b52b82606855df687175112fd34 ssh-agent -k [2021-04-14T09:59:51.267Z] unset SSH_AUTH_SOCK; [2021-04-14T09:59:51.269Z] unset SSH_AGENT_PID; [2021-04-14T09:59:51.269Z] echo Agent pid 49 killed; [2021-04-14T09:59:51.494Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-14T09:59:52.425Z] + git semver [Pipeline] } [2021-04-14T09:59:52.470Z] $ docker stop --time=1 96cbbd60c94a1fb8722757b0db4e1e66f58f1b52b82606855df687175112fd34 [2021-04-14T09:59:54.312Z] $ docker rm -f 96cbbd60c94a1fb8722757b0db4e1e66f58f1b52b82606855df687175112fd34 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-14T09:59:54.899Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-14T09:59:56.041Z] Stashed 1 file(s) [Pipeline] echo [2021-04-14T09:59:56.044Z] [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-14T10:00:11.241Z] Still waiting to schedule task [2021-04-14T10:00:11.241Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-14T10:00:11.244Z] Still waiting to schedule task [2021-04-14T10:00:11.244Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-14T10:03:03.958Z] Running on prd-centos7-docker-4c-2g-99 in /w/workspace/dgexfoundry_device-sdk-go_PR-878 [Pipeline] { [Pipeline] ws [2021-04-14T10:03:03.976Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-14T10:03:06.631Z] using credential edgex-jenkins-ssh [2021-04-14T10:03:06.646Z] Cloning the remote Git repository [2021-04-14T10:03:06.361Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T10:03:06.434Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-14T10:03:06.511Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T10:03:06.511Z] > git --version # timeout=10 [2021-04-14T10:03:06.520Z] > git --version # 'git version 2.24.3' [2021-04-14T10:03:06.521Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T10:03:06.555Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T10:03:08.115Z] Merging remotes/origin/master commit 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit 98f9d1e0beda86149d7788036cbe8474e673faff [2021-04-14T10:03:08.243Z] Merge succeeded, producing 98f9d1e0beda86149d7788036cbe8474e673faff [2021-04-14T10:03:08.244Z] Checking out Revision 98f9d1e0beda86149d7788036cbe8474e673faff (PR-878) [2021-04-14T10:03:07.347Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T10:03:07.359Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T10:03:07.372Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T10:03:07.389Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T10:03:07.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T10:03:07.394Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/878/head:refs/remotes/origin/PR-878 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-14T10:03:07.940Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T10:03:07.968Z] > git checkout -f 98f9d1e0beda86149d7788036cbe8474e673faff # timeout=10 [2021-04-14T10:03:08.025Z] > git remote # timeout=10 [2021-04-14T10:03:08.035Z] > git config --get remote.origin.url # timeout=10 [2021-04-14T10:03:08.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T10:03:08.048Z] > git merge 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 [2021-04-14T10:03:08.059Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-14T10:03:08.071Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T10:03:08.079Z] > git checkout -f 98f9d1e0beda86149d7788036cbe8474e673faff # timeout=10 [2021-04-14T10:03:11.895Z] Commit message: "feat: add request size middleware for device command" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T10:03:12.980Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-14T10:03:13.321Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-14T10:03:13.724Z] + sudo service docker restart [2021-04-14T10:03:13.724Z] + true [2021-04-14T10:03:13.724Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T10:03:14.719Z] provisioning config files... [2021-04-14T10:03:14.755Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4722893969105096630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T10:03:15.096Z] ---> docker-login.sh [2021-04-14T10:03:15.096Z] nexus3.edgexfoundry.org:10001 [2021-04-14T10:03:15.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T10:03:15.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T10:03:15.626Z] Configure a credential helper to remove this warning. See [2021-04-14T10:03:15.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T10:03:15.626Z] [2021-04-14T10:03:15.626Z] Login Succeeded [2021-04-14T10:03:15.626Z] nexus3.edgexfoundry.org:10002 [2021-04-14T10:03:15.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T10:03:15.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T10:03:15.892Z] Configure a credential helper to remove this warning. See [2021-04-14T10:03:15.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T10:03:15.892Z] [2021-04-14T10:03:15.892Z] Login Succeeded [2021-04-14T10:03:15.892Z] nexus3.edgexfoundry.org:10003 [2021-04-14T10:03:15.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T10:03:16.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T10:03:16.155Z] Configure a credential helper to remove this warning. See [2021-04-14T10:03:16.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T10:03:16.155Z] [2021-04-14T10:03:16.155Z] Login Succeeded [2021-04-14T10:03:16.155Z] nexus3.edgexfoundry.org:10004 [2021-04-14T10:03:16.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T10:03:16.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T10:03:16.155Z] Configure a credential helper to remove this warning. See [2021-04-14T10:03:16.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T10:03:16.155Z] [2021-04-14T10:03:16.155Z] Login Succeeded [2021-04-14T10:03:16.155Z] docker.io [2021-04-14T10:03:16.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T10:03:16.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T10:03:16.685Z] Configure a credential helper to remove this warning. See [2021-04-14T10:03:16.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T10:03:16.685Z] [2021-04-14T10:03:16.685Z] Login Succeeded [2021-04-14T10:03:16.685Z] ---> docker-login.sh ends [Pipeline] } [2021-04-14T10:03:16.695Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-14T10:03:16.883Z] ========================================================= [2021-04-14T10:03:16.883Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-14T10:03:16.883Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-14T10:03:17.219Z] + 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-14T10:03:17.219Z] Sending build context to Docker daemon 2.469MB [2021-04-14T10:03:17.219Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T10:03:17.219Z] Step 2/8 : FROM ${BASE} [2021-04-14T10:03:17.486Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-14T10:03:17.486Z] 188c0c94c7c5: Pulling fs layer [2021-04-14T10:03:17.486Z] 0ef7d3d256c8: Pulling fs layer [2021-04-14T10:03:17.486Z] de9db76c5a1d: Pulling fs layer [2021-04-14T10:03:17.486Z] bca2f99d35d6: Pulling fs layer [2021-04-14T10:03:17.486Z] 93359f2a8cfa: Pulling fs layer [2021-04-14T10:03:17.486Z] 7c6f9722023f: Pulling fs layer [2021-04-14T10:03:17.486Z] a35cf1a2eb13: Pulling fs layer [2021-04-14T10:03:17.486Z] 93359f2a8cfa: Waiting [2021-04-14T10:03:17.486Z] 7c6f9722023f: Waiting [2021-04-14T10:03:17.486Z] a35cf1a2eb13: Waiting [2021-04-14T10:03:17.486Z] bca2f99d35d6: Waiting [2021-04-14T10:03:17.486Z] 0ef7d3d256c8: Verifying Checksum [2021-04-14T10:03:17.486Z] 0ef7d3d256c8: Download complete [2021-04-14T10:03:17.486Z] de9db76c5a1d: Verifying Checksum [2021-04-14T10:03:17.486Z] de9db76c5a1d: Download complete [2021-04-14T10:03:17.486Z] 93359f2a8cfa: Verifying Checksum [2021-04-14T10:03:17.486Z] 93359f2a8cfa: Download complete [2021-04-14T10:03:17.486Z] 188c0c94c7c5: Verifying Checksum [2021-04-14T10:03:17.486Z] 188c0c94c7c5: Download complete [2021-04-14T10:03:17.760Z] 7c6f9722023f: Verifying Checksum [2021-04-14T10:03:17.760Z] 7c6f9722023f: Download complete [2021-04-14T10:03:17.760Z] 188c0c94c7c5: Pull complete [2021-04-14T10:03:18.035Z] 0ef7d3d256c8: Pull complete [2021-04-14T10:03:18.303Z] de9db76c5a1d: Pull complete [2021-04-14T10:03:19.267Z] a35cf1a2eb13: Verifying Checksum [2021-04-14T10:03:19.846Z] bca2f99d35d6: Verifying Checksum [2021-04-14T10:03:19.846Z] bca2f99d35d6: Download complete [2021-04-14T10:03:25.197Z] bca2f99d35d6: Pull complete [2021-04-14T10:03:25.197Z] 93359f2a8cfa: Pull complete [2021-04-14T10:03:25.462Z] 7c6f9722023f: Pull complete [2021-04-14T10:03:33.685Z] a35cf1a2eb13: Pull complete [2021-04-14T10:03:33.685Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-14T10:03:33.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-14T10:03:33.685Z] ---> a62c8e92a672 [2021-04-14T10:03:33.685Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T10:03:33.685Z] ---> Running in 5f207ade8ba3 [2021-04-14T10:03:33.685Z] Removing intermediate container 5f207ade8ba3 [2021-04-14T10:03:33.685Z] ---> dfa5971303a2 [2021-04-14T10:03:33.685Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T10:03:33.685Z] ---> Running in 7a4a10432d44 [2021-04-14T10:03:34.275Z] Removing intermediate container 7a4a10432d44 [2021-04-14T10:03:34.275Z] ---> ccf81ca733b3 [2021-04-14T10:03:34.275Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-14T10:03:34.275Z] ---> Running in f67e56514ab8 [2021-04-14T10:03:35.227Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T10:03:35.804Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-14T10:03:36.384Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-14T10:03:36.384Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-14T10:03:36.384Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-14T10:03:36.647Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-14T10:03:36.647Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-14T10:03:36.647Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-14T10:03:36.910Z] Executing busybox-1.31.1-r19.trigger [2021-04-14T10:03:36.910Z] OK: 167 MiB in 45 packages [2021-04-14T10:03:37.491Z] Removing intermediate container f67e56514ab8 [2021-04-14T10:03:37.491Z] ---> dc78bf59a289 [2021-04-14T10:03:37.491Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-14T10:03:37.753Z] ---> Running in 00f1c75ae0a3 [2021-04-14T10:03:37.754Z] Removing intermediate container 00f1c75ae0a3 [2021-04-14T10:03:37.754Z] ---> a0ff2fa565a9 [2021-04-14T10:03:37.754Z] Step 7/8 : COPY . . [2021-04-14T10:03:39.147Z] ---> 9e9c5ebdfe7d [2021-04-14T10:03:39.147Z] Step 8/8 : RUN go mod download [2021-04-14T10:03:39.147Z] ---> Running in b7e8343c9d86 [2021-04-14T10:03:53.754Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-100 in /w/workspace/dgexfoundry_device-sdk-go_PR-878 [Pipeline] { [Pipeline] ws [2021-04-14T10:03:53.772Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-14T10:03:59.371Z] using credential edgex-jenkins-ssh [2021-04-14T10:03:59.393Z] Cloning the remote Git repository [2021-04-14T10:03:59.479Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T10:03:59.573Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-14T10:03:59.633Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T10:03:59.633Z] > git --version # timeout=10 [2021-04-14T10:03:59.654Z] > git --version # 'git version 2.17.1' [2021-04-14T10:03:59.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T10:03:59.742Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T10:04:01.062Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T10:04:01.087Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T10:04:01.114Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T10:04:01.146Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T10:04:01.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T10:04:01.159Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/878/head:refs/remotes/origin/PR-878 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-14T10:04:02.185Z] Merging remotes/origin/master commit 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit 98f9d1e0beda86149d7788036cbe8474e673faff [2021-04-14T10:04:02.386Z] Merge succeeded, producing 98f9d1e0beda86149d7788036cbe8474e673faff [2021-04-14T10:04:02.386Z] Checking out Revision 98f9d1e0beda86149d7788036cbe8474e673faff (PR-878) [2021-04-14T10:04:02.216Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T10:04:02.235Z] > git checkout -f 98f9d1e0beda86149d7788036cbe8474e673faff # timeout=10 [2021-04-14T10:04:02.329Z] > git remote # timeout=10 [2021-04-14T10:04:02.345Z] > git config --get remote.origin.url # timeout=10 [2021-04-14T10:04:02.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T10:04:02.368Z] > git merge 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 [2021-04-14T10:04:02.388Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-14T10:04:02.407Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T10:04:02.420Z] > git checkout -f 98f9d1e0beda86149d7788036cbe8474e673faff # timeout=10 [2021-04-14T10:04:05.825Z] Removing intermediate container b7e8343c9d86 [2021-04-14T10:04:05.825Z] ---> d5e416ec6949 [2021-04-14T10:04:05.825Z] Successfully built d5e416ec6949 [2021-04-14T10:04:05.825Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-14T10:04:06.142Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-14T10:04:06.142Z] . [Pipeline] withDockerContainer [2021-04-14T10:04:06.271Z] prd-centos7-docker-4c-2g-99 does not seem to be running inside a container [2021-04-14T10:04:06.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-14T10:04:06.567Z] Commit message: "feat: add request size middleware for device command" [2021-04-14T10:04:07.157Z] $ docker top cd6d6550f140fb76130af62306f529a37d820405137cbbb8284b0d333cd04b2e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T10:04:07.630Z] + go version [2021-04-14T10:04:07.631Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-14T10:04:08.174Z] $ docker stop --time=1 cd6d6550f140fb76130af62306f529a37d820405137cbbb8284b0d333cd04b2e [2021-04-14T10:04:08.464Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-04-14T10:04:09.560Z] $ docker rm -f cd6d6550f140fb76130af62306f529a37d820405137cbbb8284b0d333cd04b2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-14T10:04:10.053Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-14T10:04:10.180Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-14T10:04:10.180Z] . [Pipeline] withDockerContainer [2021-04-14T10:04:10.280Z] prd-centos7-docker-4c-2g-99 does not seem to be running inside a container [2021-04-14T10:04:10.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-14T10:04:10.400Z] + sudo service docker restart [2021-04-14T10:04:10.400Z] + true [2021-04-14T10:04:11.120Z] $ docker top 5168cd22a96f3efc922750cc499cb29ef29d47b1e2009690d39aa531bc10891f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T10:04:11.569Z] + make test [2021-04-14T10:04:11.569Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T10:04:13.062Z] provisioning config files... [2021-04-14T10:04:13.100Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config320314407719831105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T10:04:13.462Z] ---> docker-login.sh [2021-04-14T10:04:13.462Z] nexus3.edgexfoundry.org:10001 [2021-04-14T10:04:14.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T10:04:14.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T10:04:14.719Z] Configure a credential helper to remove this warning. See [2021-04-14T10:04:14.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T10:04:14.719Z] [2021-04-14T10:04:14.719Z] Login Succeeded [2021-04-14T10:04:14.719Z] nexus3.edgexfoundry.org:10002 [2021-04-14T10:04:14.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T10:04:15.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T10:04:15.267Z] Configure a credential helper to remove this warning. See [2021-04-14T10:04:15.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T10:04:15.267Z] [2021-04-14T10:04:15.267Z] Login Succeeded [2021-04-14T10:04:15.267Z] nexus3.edgexfoundry.org:10003 [2021-04-14T10:04:15.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T10:04:15.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T10:04:15.540Z] Configure a credential helper to remove this warning. See [2021-04-14T10:04:15.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T10:04:15.540Z] [2021-04-14T10:04:15.540Z] Login Succeeded [2021-04-14T10:04:15.813Z] nexus3.edgexfoundry.org:10004 [2021-04-14T10:04:16.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T10:04:16.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T10:04:16.088Z] Configure a credential helper to remove this warning. See [2021-04-14T10:04:16.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T10:04:16.088Z] [2021-04-14T10:04:16.088Z] Login Succeeded [2021-04-14T10:04:16.088Z] docker.io [2021-04-14T10:04:16.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T10:04:16.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T10:04:16.951Z] Configure a credential helper to remove this warning. See [2021-04-14T10:04:16.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T10:04:16.951Z] [2021-04-14T10:04:16.951Z] Login Succeeded [2021-04-14T10:04:16.951Z] ---> docker-login.sh ends [Pipeline] } [2021-04-14T10:04:16.971Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-14T10:04:17.277Z] ========================================================= [2021-04-14T10:04:17.277Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-14T10:04:17.277Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-14T10:04:17.630Z] + 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-14T10:04:17.906Z] Sending build context to Docker daemon 2.458MB [2021-04-14T10:04:18.184Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T10:04:18.184Z] Step 2/8 : FROM ${BASE} [2021-04-14T10:04:18.184Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-14T10:04:18.184Z] 5f621e34cdf4: Pulling fs layer [2021-04-14T10:04:18.184Z] a4357932f1b6: Pulling fs layer [2021-04-14T10:04:18.184Z] 18c013af1878: Pulling fs layer [2021-04-14T10:04:18.184Z] 00ac8860ef70: Pulling fs layer [2021-04-14T10:04:18.184Z] 63d7cb157983: Pulling fs layer [2021-04-14T10:04:18.184Z] b116817d02f9: Pulling fs layer [2021-04-14T10:04:18.184Z] 745a02a5169b: Pulling fs layer [2021-04-14T10:04:18.184Z] 00ac8860ef70: Waiting [2021-04-14T10:04:18.184Z] 63d7cb157983: Waiting [2021-04-14T10:04:18.184Z] b116817d02f9: Waiting [2021-04-14T10:04:18.184Z] 745a02a5169b: Waiting [2021-04-14T10:04:18.184Z] 18c013af1878: Download complete [2021-04-14T10:04:18.184Z] a4357932f1b6: Download complete [2021-04-14T10:04:18.184Z] 63d7cb157983: Verifying Checksum [2021-04-14T10:04:18.184Z] 63d7cb157983: Download complete [2021-04-14T10:04:18.184Z] b116817d02f9: Download complete [2021-04-14T10:04:18.184Z] 5f621e34cdf4: Verifying Checksum [2021-04-14T10:04:18.184Z] 5f621e34cdf4: Download complete [2021-04-14T10:04:18.791Z] 5f621e34cdf4: Pull complete [2021-04-14T10:04:19.389Z] a4357932f1b6: Pull complete [2021-04-14T10:04:19.794Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-14T10:04:19.988Z] 18c013af1878: Pull complete [2021-04-14T10:04:20.273Z] 745a02a5169b: Verifying Checksum [2021-04-14T10:04:20.273Z] 745a02a5169b: Download complete [2021-04-14T10:04:21.715Z] 00ac8860ef70: Download complete [2021-04-14T10:04:34.145Z] 00ac8860ef70: Pull complete [2021-04-14T10:04:34.145Z] 63d7cb157983: Pull complete [2021-04-14T10:04:34.145Z] b116817d02f9: Pull complete [2021-04-14T10:04:36.780Z] 745a02a5169b: Pull complete [2021-04-14T10:04:36.781Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-14T10:04:36.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-14T10:04:36.781Z] ---> b7e6874047d6 [2021-04-14T10:04:36.781Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T10:04:40.165Z] ---> Running in 9071db93e474 [2021-04-14T10:04:40.165Z] Removing intermediate container 9071db93e474 [2021-04-14T10:04:40.165Z] ---> dcbd6d657140 [2021-04-14T10:04:40.165Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T10:04:40.165Z] ---> Running in b601cb69ef05 [2021-04-14T10:04:42.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-14T10:04:42.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-14T10:04:42.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-14T10:04:42.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-14T10:04:42.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-14T10:04:42.796Z] Removing intermediate container b601cb69ef05 [2021-04-14T10:04:42.797Z] ---> e6460b15d620 [2021-04-14T10:04:42.797Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-14T10:04:42.797Z] ---> Running in 2b690e68bc27 [2021-04-14T10:04:43.777Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T10:04:44.368Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T10:04:45.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.100s coverage: 28.1% of statements [2021-04-14T10:04:45.070Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements [2021-04-14T10:04:45.341Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-14T10:04:45.341Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-14T10:04:45.341Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-14T10:04:45.341Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-14T10:04:45.620Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-14T10:04:45.620Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-14T10:04:45.620Z] Executing busybox-1.31.1-r19.trigger [2021-04-14T10:04:45.620Z] OK: 144 MiB in 45 packages [2021-04-14T10:04:46.052Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.084s coverage: 7.8% of statements [2021-04-14T10:04:46.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-14T10:04:46.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-14T10:04:46.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-14T10:04:46.052Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.097s coverage: 32.0% of statements [2021-04-14T10:04:46.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-14T10:04:46.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-14T10:04:46.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-14T10:04:46.634Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.113s coverage: 57.1% of statements [2021-04-14T10:04:47.054Z] Removing intermediate container 2b690e68bc27 [2021-04-14T10:04:47.054Z] ---> 72c59caa22b7 [2021-04-14T10:04:47.054Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-14T10:04:47.054Z] ---> Running in df2f96194d48 [2021-04-14T10:04:47.209Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.245s coverage: 6.6% of statements [2021-04-14T10:04:47.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-04-14T10:04:47.471Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-14T10:04:47.650Z] Removing intermediate container df2f96194d48 [2021-04-14T10:04:47.650Z] ---> 88c359b35e3a [2021-04-14T10:04:47.650Z] Step 7/8 : COPY . . [2021-04-14T10:04:47.739Z] GO111MODULE=on go vet ./... [2021-04-14T10:04:49.086Z] ---> 48a95c149ab7 [2021-04-14T10:04:49.086Z] Step 8/8 : RUN go mod download [2021-04-14T10:04:49.086Z] ---> Running in 6ce6f24f45dc [2021-04-14T10:05:06.035Z] gofmt -l . [2021-04-14T10:05:06.035Z] [ "`gofmt -l .`" = "" ] [2021-04-14T10:05:06.035Z] ./bin/test-attribution-txt.sh [2021-04-14T10:05:06.035Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-14T10:05:06.059Z] $ docker stop --time=1 5168cd22a96f3efc922750cc499cb29ef29d47b1e2009690d39aa531bc10891f [2021-04-14T10:05:07.718Z] $ docker rm -f 5168cd22a96f3efc922750cc499cb29ef29d47b1e2009690d39aa531bc10891f [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-14T10:05:08.511Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-14T10:05:08.909Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-14T10:05:12.487Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-14T10:05:12.792Z] + ls -al . [2021-04-14T10:05:12.792Z] total 188 [2021-04-14T10:05:12.792Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 14 10:05 . [2021-04-14T10:05:12.792Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 14 10:03 .. [2021-04-14T10:05:12.792Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 14 10:03 bin [2021-04-14T10:05:12.792Z] -rw-r--r--. 1 jenkins jenkins 99932 Apr 14 10:04 coverage.out [2021-04-14T10:05:12.792Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 14 10:03 Dockerfile.build [2021-04-14T10:05:12.792Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 14 10:03 .dockerignore [2021-04-14T10:05:12.792Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 14 10:03 example [2021-04-14T10:05:12.792Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 14 10:03 .git [2021-04-14T10:05:12.792Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 14 10:03 .github [2021-04-14T10:05:12.792Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 14 10:03 .gitignore [2021-04-14T10:05:12.792Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 14 10:05 go.mod [2021-04-14T10:05:12.792Z] -rw-r--r--. 1 jenkins jenkins 20735 Apr 14 10:05 go.sum [2021-04-14T10:05:12.792Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 14 10:03 internal [2021-04-14T10:05:12.792Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 14 10:03 Jenkinsfile [2021-04-14T10:05:12.792Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 14 10:03 LICENSE [2021-04-14T10:05:12.792Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 14 10:03 Makefile [2021-04-14T10:05:12.792Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 14 10:03 openapi [2021-04-14T10:05:12.792Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 14 10:03 pkg [2021-04-14T10:05:12.792Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 14 10:03 README.md [2021-04-14T10:05:12.792Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 14 10:03 RELEASE-NOTES.txt [2021-04-14T10:05:12.792Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 14 10:03 snap [2021-04-14T10:05:12.792Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 14 09:59 VERSION [2021-04-14T10:05:12.792Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 14 10:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-14T10:05:13.108Z] + 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=98f9d1e0beda86149d7788036cbe8474e673faff --label arch=amd64 --label version=0.0.0 . [2021-04-14T10:05:13.371Z] Sending build context to Docker daemon 2.57MB [2021-04-14T10:05:13.371Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T10:05:13.371Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-14T10:05:13.371Z] ---> d5e416ec6949 [2021-04-14T10:05:13.371Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-14T10:05:13.951Z] ---> Running in 8da038f468e6 [2021-04-14T10:05:14.216Z] Removing intermediate container 8da038f468e6 [2021-04-14T10:05:14.216Z] ---> 986ea4c35358 [2021-04-14T10:05:14.216Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T10:05:14.505Z] ---> Running in 30a30eb785d2 [2021-04-14T10:05:14.771Z] Removing intermediate container 30a30eb785d2 [2021-04-14T10:05:14.771Z] ---> 1a9b5b22165b [2021-04-14T10:05:14.771Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T10:05:14.771Z] ---> Running in b096707b9312 [2021-04-14T10:05:15.729Z] Removing intermediate container b096707b9312 [2021-04-14T10:05:15.729Z] ---> fcd23fbf5438 [2021-04-14T10:05:15.729Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-14T10:05:15.912Z] Removing intermediate container 6ce6f24f45dc [2021-04-14T10:05:15.912Z] ---> b0f7d6f24796 [2021-04-14T10:05:15.912Z] Successfully built b0f7d6f24796 [2021-04-14T10:05:15.912Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-14T10:05:15.996Z] ---> Running in 702ce91fad40 [2021-04-14T10:05:16.251Z] + docker inspect -f . ci-base-image-arm64 [2021-04-14T10:05:16.251Z] . [Pipeline] withDockerContainer [2021-04-14T10:05:16.523Z] prd-ubuntu18.04-docker-arm64-4c-16g-100 does not seem to be running inside a container [2021-04-14T10:05:16.580Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T10:05:16.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-14T10:05:17.158Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-14T10:05:17.423Z] OK: 167 MiB in 45 packages [2021-04-14T10:05:18.088Z] $ docker top 40494e2601398f58c487291909e8b4bd7bc0be9d19f4466d5a23c3fe94f379df -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T10:05:18.372Z] Removing intermediate container 702ce91fad40 [2021-04-14T10:05:18.372Z] ---> 4bd782704c1f [2021-04-14T10:05:18.372Z] Step 7/23 : COPY . . [2021-04-14T10:05:18.997Z] + go version [2021-04-14T10:05:18.997Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-14T10:05:19.025Z] $ docker stop --time=1 40494e2601398f58c487291909e8b4bd7bc0be9d19f4466d5a23c3fe94f379df [2021-04-14T10:05:19.324Z] ---> 4b8149cbbd54 [2021-04-14T10:05:19.324Z] Step 8/23 : RUN go mod download [2021-04-14T10:05:19.324Z] ---> Running in a9f1193fe131 [2021-04-14T10:05:20.740Z] Removing intermediate container a9f1193fe131 [2021-04-14T10:05:20.740Z] ---> d41b1721fc92 [2021-04-14T10:05:20.740Z] Step 9/23 : RUN make build [2021-04-14T10:05:20.740Z] ---> Running in b9a6aeb2b334 [2021-04-14T10:05:20.907Z] $ docker rm -f 40494e2601398f58c487291909e8b4bd7bc0be9d19f4466d5a23c3fe94f379df [2021-04-14T10:05:21.007Z] 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 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-14T10:05:21.609Z] + docker inspect -f . ci-base-image-arm64 [2021-04-14T10:05:21.609Z] . [Pipeline] withDockerContainer [2021-04-14T10:05:21.874Z] prd-ubuntu18.04-docker-arm64-4c-16g-100 does not seem to be running inside a container [2021-04-14T10:05:21.956Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-14T10:05:23.469Z] $ docker top 30f039b9f3d675a113a79d7db1699bc77b12ec8be157f502ad0b7b3b681038b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T10:05:24.420Z] + make test [2021-04-14T10:05:24.420Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-14T10:05:33.454Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-14T10:05:35.397Z] Removing intermediate container b9a6aeb2b334 [2021-04-14T10:05:35.397Z] ---> d0fea6a69087 [2021-04-14T10:05:35.397Z] Step 10/23 : FROM alpine:3.12 [2021-04-14T10:05:35.660Z] 3.12: Pulling from library/alpine [2021-04-14T10:05:35.925Z] 532819f3e44c: Pulling fs layer [2021-04-14T10:05:35.925Z] 532819f3e44c: Verifying Checksum [2021-04-14T10:05:35.925Z] 532819f3e44c: Download complete [2021-04-14T10:05:36.190Z] 532819f3e44c: Pull complete [2021-04-14T10:05:36.190Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-14T10:05:36.190Z] Status: Downloaded newer image for alpine:3.12 [2021-04-14T10:05:36.190Z] ---> 7230e588e954 [2021-04-14T10:05:36.190Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T10:05:36.454Z] ---> Running in bc0d9f2f2b74 [2021-04-14T10:05:36.454Z] Removing intermediate container bc0d9f2f2b74 [2021-04-14T10:05:36.454Z] ---> 4749c82460e0 [2021-04-14T10:05:36.454Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T10:05:36.718Z] ---> Running in 0deeea06f7aa [2021-04-14T10:05:37.669Z] Removing intermediate container 0deeea06f7aa [2021-04-14T10:05:37.669Z] ---> 8add423e8674 [2021-04-14T10:05:37.669Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-14T10:05:37.669Z] ---> Running in 9a3db98a49f4 [2021-04-14T10:05:38.255Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T10:05:38.829Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-14T10:05:39.406Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-14T10:05:39.406Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-14T10:05:39.406Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-14T10:05:40.352Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-14T10:05:40.615Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-14T10:05:40.615Z] Executing busybox-1.31.1-r20.trigger [2021-04-14T10:05:40.615Z] OK: 8 MiB in 19 packages [2021-04-14T10:05:41.194Z] Removing intermediate container 9a3db98a49f4 [2021-04-14T10:05:41.195Z] ---> a5971f410ec7 [2021-04-14T10:05:41.195Z] Step 14/23 : WORKDIR / [2021-04-14T10:05:41.195Z] ---> Running in a4e75224a2e3 [2021-04-14T10:05:41.461Z] Removing intermediate container a4e75224a2e3 [2021-04-14T10:05:41.461Z] ---> eb9637922d50 [2021-04-14T10:05:41.461Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-14T10:05:41.723Z] ---> f18f51244952 [2021-04-14T10:05:41.723Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-14T10:05:42.302Z] ---> 748aff55a9d4 [2021-04-14T10:05:42.302Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-14T10:05:42.564Z] ---> 73ddd641ae2f [2021-04-14T10:05:42.564Z] Step 18/23 : EXPOSE 49990 [2021-04-14T10:05:42.564Z] ---> Running in de3f51b31a44 [2021-04-14T10:05:42.826Z] Removing intermediate container de3f51b31a44 [2021-04-14T10:05:42.826Z] ---> b9ee5f5834d6 [2021-04-14T10:05:42.826Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-14T10:05:42.826Z] ---> Running in 33cd7f9c819f [2021-04-14T10:05:43.088Z] Removing intermediate container 33cd7f9c819f [2021-04-14T10:05:43.088Z] ---> 4d4f5d312bcc [2021-04-14T10:05:43.088Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-14T10:05:43.088Z] ---> Running in a3f7cc07b972 [2021-04-14T10:05:43.351Z] Removing intermediate container a3f7cc07b972 [2021-04-14T10:05:43.351Z] ---> d7b56a7d1823 [2021-04-14T10:05:43.351Z] Step 21/23 : LABEL arch=amd64 [2021-04-14T10:05:43.351Z] ---> Running in 25207609eb82 [2021-04-14T10:05:43.616Z] Removing intermediate container 25207609eb82 [2021-04-14T10:05:43.616Z] ---> 04d55c3607dd [2021-04-14T10:05:43.616Z] Step 22/23 : LABEL git_sha=98f9d1e0beda86149d7788036cbe8474e673faff [2021-04-14T10:05:43.616Z] ---> Running in 3f538f88730e [2021-04-14T10:05:43.616Z] Removing intermediate container 3f538f88730e [2021-04-14T10:05:43.616Z] ---> ae2934a2c213 [2021-04-14T10:05:43.616Z] Step 23/23 : LABEL version=0.0.0 [2021-04-14T10:05:43.881Z] ---> Running in d1ea5c174401 [2021-04-14T10:05:43.881Z] Removing intermediate container d1ea5c174401 [2021-04-14T10:05:43.881Z] ---> 534f95217948 [2021-04-14T10:05:43.881Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-14T10:05:43.881Z] Successfully built 534f95217948 [2021-04-14T10:05:44.143Z] 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-14T10:05:44.674Z] ---> job-cost.sh [2021-04-14T10:05:44.674Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-viGO [2021-04-14T10:05:46.620Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-14T10:05:59.621Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-14T10:06:31.822Z] lf-activate-venv(): INFO: Adding /tmp/venv-viGO/bin to PATH [2021-04-14T10:06:31.822Z] INFO: No Stack... [2021-04-14T10:06:31.822Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-14T10:06:31.822Z] INFO: Archiving Costs [Pipeline] sh [2021-04-14T10:06:32.132Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-14T10:06:32.132Z] + cut -d, -f6 [Pipeline] lock [2021-04-14T10:06:32.221Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-878-2-stack-cost] [2021-04-14T10:06:32.232Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-878-2-stack-cost] did not exist. Created. [2021-04-14T10:06:32.232Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-878-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-14T10:06:32.599Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-14T10:06:32.756Z] Stashed 1 file(s) [Pipeline] } [2021-04-14T10:06:32.770Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-878-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-14T10:06:43.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-14T10:06:43.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-14T10:06:43.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-14T10:06:43.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-14T10:06:43.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-14T10:06:45.840Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.147s coverage: 28.1% of statements [2021-04-14T10:06:47.303Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.175s coverage: 78.9% of statements [2021-04-14T10:06:47.303Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.147s coverage: 7.8% of statements [2021-04-14T10:06:47.303Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-14T10:06:47.303Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-14T10:06:47.303Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-14T10:06:48.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.288s coverage: 32.0% of statements [2021-04-14T10:06:48.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-14T10:06:48.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-14T10:06:48.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-14T10:06:51.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.288s coverage: 57.1% of statements [2021-04-14T10:06:51.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.191s coverage: 6.6% of statements [2021-04-14T10:06:51.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements [2021-04-14T10:06:51.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-14T10:06:52.333Z] GO111MODULE=on go vet ./... [2021-04-14T10:07:39.384Z] gofmt -l . [2021-04-14T10:07:39.384Z] [ "`gofmt -l .`" = "" ] [2021-04-14T10:07:39.384Z] ./bin/test-attribution-txt.sh [2021-04-14T10:07:39.384Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-14T10:07:39.411Z] $ docker stop --time=1 30f039b9f3d675a113a79d7db1699bc77b12ec8be157f502ad0b7b3b681038b6 [2021-04-14T10:07:41.603Z] $ docker rm -f 30f039b9f3d675a113a79d7db1699bc77b12ec8be157f502ad0b7b3b681038b6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-14T10:07:42.612Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-14T10:07:42.651Z] Warning: overwriting stash ‘coverage-report’ [2021-04-14T10:07:43.636Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T10:07:44.073Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-14T10:07:44.418Z] + ls -al . [2021-04-14T10:07:44.419Z] total 224 [2021-04-14T10:07:44.419Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 10:07 . [2021-04-14T10:07:44.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 10:03 .. [2021-04-14T10:07:44.419Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 10:04 .dockerignore [2021-04-14T10:07:44.419Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 10:04 .git [2021-04-14T10:07:44.419Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 10:04 .github [2021-04-14T10:07:44.419Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 14 10:04 .gitignore [2021-04-14T10:07:44.419Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 14 10:04 Dockerfile.build [2021-04-14T10:07:44.419Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 14 10:04 Jenkinsfile [2021-04-14T10:07:44.419Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 10:04 LICENSE [2021-04-14T10:07:44.419Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 14 10:04 Makefile [2021-04-14T10:07:44.419Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 14 10:04 README.md [2021-04-14T10:07:44.419Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 14 10:04 RELEASE-NOTES.txt [2021-04-14T10:07:44.419Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 09:59 VERSION [2021-04-14T10:07:44.419Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 10:04 bin [2021-04-14T10:07:44.419Z] -rw-r--r-- 1 jenkins jenkins 99931 Apr 14 10:06 coverage.out [2021-04-14T10:07:44.419Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 10:04 example [2021-04-14T10:07:44.419Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 14 10:07 go.mod [2021-04-14T10:07:44.419Z] -rw-r--r-- 1 jenkins jenkins 20735 Apr 14 10:07 go.sum [2021-04-14T10:07:44.419Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 14 10:04 internal [2021-04-14T10:07:44.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 10:04 openapi [2021-04-14T10:07:44.419Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 10:04 pkg [2021-04-14T10:07:44.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 10:04 snap [2021-04-14T10:07:44.419Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 10:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-14T10:07:44.803Z] + 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=98f9d1e0beda86149d7788036cbe8474e673faff --label arch=arm64 --label version=0.0.0 . [2021-04-14T10:07:45.437Z] Sending build context to Docker daemon 2.558MB [2021-04-14T10:07:45.437Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T10:07:45.437Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-14T10:07:45.437Z] ---> b0f7d6f24796 [2021-04-14T10:07:45.437Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-14T10:07:45.708Z] ---> Running in 5e92ae47e6fe [2021-04-14T10:07:46.310Z] Removing intermediate container 5e92ae47e6fe [2021-04-14T10:07:46.310Z] ---> 77c61e9e9d36 [2021-04-14T10:07:46.310Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T10:07:46.310Z] ---> Running in d46281e02a74 [2021-04-14T10:07:46.587Z] Removing intermediate container d46281e02a74 [2021-04-14T10:07:46.587Z] ---> e266f65f205e [2021-04-14T10:07:46.587Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T10:07:46.859Z] ---> Running in 238e0f4cb83b [2021-04-14T10:07:49.481Z] Removing intermediate container 238e0f4cb83b [2021-04-14T10:07:49.481Z] ---> 6f203ea0f7a9 [2021-04-14T10:07:49.481Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-14T10:07:49.481Z] ---> Running in f9869508d8a9 [2021-04-14T10:07:50.076Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T10:07:51.047Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T10:07:51.640Z] OK: 144 MiB in 45 packages [2021-04-14T10:07:52.616Z] Removing intermediate container f9869508d8a9 [2021-04-14T10:07:52.616Z] ---> 484ff7ca899c [2021-04-14T10:07:52.616Z] Step 7/23 : COPY . . [2021-04-14T10:07:54.062Z] ---> 59cef4902dff [2021-04-14T10:07:54.062Z] Step 8/23 : RUN go mod download [2021-04-14T10:07:54.062Z] ---> Running in 061f9458ef41 [2021-04-14T10:07:56.671Z] Removing intermediate container 061f9458ef41 [2021-04-14T10:07:56.671Z] ---> 91d2b7a23f1e [2021-04-14T10:07:56.671Z] Step 9/23 : RUN make build [2021-04-14T10:07:56.671Z] ---> Running in 90cc6e0fb36a [2021-04-14T10:07:57.647Z] 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-14T10:08:30.031Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-14T10:08:32.651Z] Removing intermediate container 90cc6e0fb36a [2021-04-14T10:08:32.651Z] ---> b8d139177f3c [2021-04-14T10:08:32.651Z] Step 10/23 : FROM alpine:3.12 [2021-04-14T10:08:32.651Z] 3.12: Pulling from library/alpine [2021-04-14T10:08:32.923Z] 9a219e8acc52: Pulling fs layer [2021-04-14T10:08:32.923Z] 9a219e8acc52: Verifying Checksum [2021-04-14T10:08:32.923Z] 9a219e8acc52: Download complete [2021-04-14T10:08:33.520Z] 9a219e8acc52: Pull complete [2021-04-14T10:08:33.796Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-14T10:08:33.796Z] Status: Downloaded newer image for alpine:3.12 [2021-04-14T10:08:33.796Z] ---> d75e27dfc0a0 [2021-04-14T10:08:33.796Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T10:08:33.796Z] ---> Running in 57387fede1ae [2021-04-14T10:08:34.391Z] Removing intermediate container 57387fede1ae [2021-04-14T10:08:34.391Z] ---> b38a4105efab [2021-04-14T10:08:34.391Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T10:08:34.391Z] ---> Running in 69eaef98116e [2021-04-14T10:08:37.010Z] Removing intermediate container 69eaef98116e [2021-04-14T10:08:37.010Z] ---> 45a7e768af48 [2021-04-14T10:08:37.010Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-14T10:08:37.010Z] ---> Running in cf3b1453e778 [2021-04-14T10:08:37.984Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T10:08:38.572Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T10:08:39.161Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-14T10:08:39.161Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-14T10:08:39.431Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-14T10:08:39.431Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-14T10:08:39.703Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-14T10:08:39.703Z] Executing busybox-1.31.1-r20.trigger [2021-04-14T10:08:39.703Z] OK: 8 MiB in 19 packages [2021-04-14T10:08:41.139Z] Removing intermediate container cf3b1453e778 [2021-04-14T10:08:41.139Z] ---> dec226b02b05 [2021-04-14T10:08:41.139Z] Step 14/23 : WORKDIR / [2021-04-14T10:08:41.139Z] ---> Running in d4f694701c67 [2021-04-14T10:08:41.729Z] Removing intermediate container d4f694701c67 [2021-04-14T10:08:41.729Z] ---> 561e9544e6af [2021-04-14T10:08:41.729Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-14T10:08:42.326Z] ---> 9d46909acae2 [2021-04-14T10:08:42.327Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-14T10:08:43.757Z] ---> 5733129def58 [2021-04-14T10:08:43.757Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-14T10:08:44.353Z] ---> e768474380c2 [2021-04-14T10:08:44.353Z] Step 18/23 : EXPOSE 49990 [2021-04-14T10:08:44.353Z] ---> Running in 33e69874392a [2021-04-14T10:08:44.947Z] Removing intermediate container 33e69874392a [2021-04-14T10:08:44.947Z] ---> 255fde07c742 [2021-04-14T10:08:44.947Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-14T10:08:44.947Z] ---> Running in d1ce6fb1ae0b [2021-04-14T10:08:45.543Z] Removing intermediate container d1ce6fb1ae0b [2021-04-14T10:08:45.543Z] ---> 5ad3e00aaa07 [2021-04-14T10:08:45.543Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-14T10:08:45.543Z] ---> Running in a721df694b3f [2021-04-14T10:08:46.138Z] Removing intermediate container a721df694b3f [2021-04-14T10:08:46.138Z] ---> 51f4221da810 [2021-04-14T10:08:46.138Z] Step 21/23 : LABEL arch=arm64 [2021-04-14T10:08:46.138Z] ---> Running in 888b7c181030 [2021-04-14T10:08:46.754Z] Removing intermediate container 888b7c181030 [2021-04-14T10:08:46.754Z] ---> ac50959de13c [2021-04-14T10:08:46.754Z] Step 22/23 : LABEL git_sha=98f9d1e0beda86149d7788036cbe8474e673faff [2021-04-14T10:08:46.754Z] ---> Running in 379e2273d447 [2021-04-14T10:08:47.349Z] Removing intermediate container 379e2273d447 [2021-04-14T10:08:47.349Z] ---> 775bbd5f2f83 [2021-04-14T10:08:47.349Z] Step 23/23 : LABEL version=0.0.0 [2021-04-14T10:08:47.349Z] ---> Running in 0ffc3f9c6e84 [2021-04-14T10:08:47.941Z] Removing intermediate container 0ffc3f9c6e84 [2021-04-14T10:08:47.941Z] ---> ddb599b4d868 [2021-04-14T10:08:47.941Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-14T10:08:47.941Z] Successfully built ddb599b4d868 [2021-04-14T10:08:47.941Z] 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-14T10:08:48.420Z] ---> job-cost.sh [2021-04-14T10:08:48.420Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zq4M [2021-04-14T10:09:27.361Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-14T10:11:04.097Z] lf-activate-venv(): INFO: Adding /tmp/venv-zq4M/bin to PATH [2021-04-14T10:11:04.097Z] INFO: No Stack... [2021-04-14T10:11:04.097Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-14T10:11:04.097Z] INFO: Archiving Costs [Pipeline] sh [2021-04-14T10:11:04.442Z] + + cutcat -d, /w/workspace/device-sdk-go/2/archives/cost.csv -f6 [2021-04-14T10:11:04.442Z] [Pipeline] lock [2021-04-14T10:11:04.571Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-878-2-stack-cost] [2021-04-14T10:11:04.588Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-878-2-stack-cost] did not exist. Created. [2021-04-14T10:11:04.588Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-878-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-14T10:11:04.967Z] /w/workspace/device-sdk-go/2@tmp/durable-7b2555bf/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-7b2555bf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-14T10:11:05.322Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-14T10:11:05.364Z] Warning: overwriting stash ‘stack-cost’ [2021-04-14T10:11:05.515Z] Stashed 1 file(s) [Pipeline] } [2021-04-14T10:11:05.621Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-878-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-14T10:11:06.265Z] provisioning config files... [2021-04-14T10:11:06.292Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config709577015018868493tmp [Pipeline] { [Pipeline] sh [2021-04-14T10:11:06.751Z] + set +x [2021-04-14T10:11:06.752Z] + curl -s https://codecov.io/bash [2021-04-14T10:11:06.752Z] + bash -s -- [2021-04-14T10:11:07.029Z] [2021-04-14T10:11:07.029Z] _____ _ [2021-04-14T10:11:07.029Z] / ____| | | [2021-04-14T10:11:07.029Z] | | ___ __| | ___ ___ _____ __ [2021-04-14T10:11:07.029Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-14T10:11:07.029Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-14T10:11:07.029Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-14T10:11:07.029Z] Bash-1.0.1 [2021-04-14T10:11:07.029Z] [2021-04-14T10:11:07.029Z] [2021-04-14T10:11:07.029Z] ==> git version 2.24.3 found [2021-04-14T10:11:07.029Z] ==> 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-14T10:11:07.029Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-14T10:11:07.029Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-14T10:11:07.029Z] ==> Jenkins CI detected. [2021-04-14T10:11:07.029Z] project root: . [2021-04-14T10:11:07.029Z] --> token set from env [2021-04-14T10:11:07.029Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-14T10:11:07.029Z] ==> Running gcov in . (disable via -X gcov) [2021-04-14T10:11:07.029Z] ==> Python coveragepy not found [2021-04-14T10:11:07.029Z] ==> Searching for coverage reports in: [2021-04-14T10:11:07.029Z] + . [2021-04-14T10:11:07.315Z] -> Found 1 reports [2021-04-14T10:11:07.315Z] ==> Detecting git/mercurial file structure [2021-04-14T10:11:07.315Z] ==> Reading reports [2021-04-14T10:11:07.315Z] + ./coverage.out bytes=99931 [2021-04-14T10:11:07.315Z] ==> Appending adjustments [2021-04-14T10:11:07.315Z] https://docs.codecov.io/docs/fixing-reports [2021-04-14T10:11:07.948Z] + Found adjustments [2021-04-14T10:11:07.948Z] ==> Gzipping contents [2021-04-14T10:11:07.948Z] 16K /tmp/codecov.uZJGSj.gz [2021-04-14T10:11:07.948Z] ==> Uploading reports [2021-04-14T10:11:07.948Z] url: https://codecov.io [2021-04-14T10:11:07.948Z] query: branch=PR-878&commit=98f9d1e0beda86149d7788036cbe8474e673faff&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-878%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=878&job=&cmd_args= [2021-04-14T10:11:07.948Z] -> Pinging Codecov [2021-04-14T10:11:07.948Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-878&commit=98f9d1e0beda86149d7788036cbe8474e673faff&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-878%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=878&job=&cmd_args= [2021-04-14T10:11:08.550Z] -> Uploading to [2021-04-14T10:11:08.550Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-14/7E55EF52A471D76F132DFD9A03CDDE97/98f9d1e0beda86149d7788036cbe8474e673faff/64f458db-f3e7-4450-84c3-8da177b1d838.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210414%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210414T101108Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d99f4426aa7ce1f71882df5f7e243cab0959bbf170d9f6217827f04357849fc0 [2021-04-14T10:11:08.550Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-14T10:11:08.550Z] Dload Upload Total Spent Left Speed [2021-04-14T10:11:09.151Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13519 0 0 100 13519 0 26726 --:--:-- --:--:-- --:--:-- 26770 [2021-04-14T10:11:09.151Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/98f9d1e0beda86149d7788036cbe8474e673faff [Pipeline] } [2021-04-14T10:11:09.174Z] 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-14T10:11:10.414Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T10:11:11.304Z] ---> package-listing.sh [2021-04-14T10:11:11.304Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-14T10:11:11.304Z] ++ facter osfamily [2021-04-14T10:11:12.192Z] + OS_FAMILY=redhat [2021-04-14T10:11:12.192Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-878 [2021-04-14T10:11:12.192Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-14T10:11:12.192Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-14T10:11:12.192Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-14T10:11:12.192Z] + PACKAGES=/tmp/packages_start.txt [2021-04-14T10:11:12.192Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-878 ']' [2021-04-14T10:11:12.192Z] + PACKAGES=/tmp/packages_end.txt [2021-04-14T10:11:12.192Z] + case "${OS_FAMILY}" in [2021-04-14T10:11:12.192Z] + sort [2021-04-14T10:11:12.192Z] + rpm -qa [2021-04-14T10:11:19.711Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-14T10:11:19.711Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-14T10:11:19.711Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-14T10:11:19.711Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-878 ']' [2021-04-14T10:11:19.711Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-878/archives/ [2021-04-14T10:11:19.711Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-878/archives/ [Pipeline] echo [2021-04-14T10:11:19.730Z] 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-878/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-14T10:11:20.122Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-14T10:11:20.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T10:11:21.158Z] [2021-04-14T10:11:21.158Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-14T10:11:21.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T10:11:21.916Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-14T10:11:21.916Z] df20fa9351a1: Pulling fs layer [2021-04-14T10:11:21.916Z] 36b3adc4ff6f: Pulling fs layer [2021-04-14T10:11:21.916Z] 8ad3a11d3b57: Pulling fs layer [2021-04-14T10:11:21.916Z] 46f8f816bc3b: Pulling fs layer [2021-04-14T10:11:21.916Z] 93b61091891f: Pulling fs layer [2021-04-14T10:11:21.916Z] 93b9cdb0e59b: Pulling fs layer [2021-04-14T10:11:21.916Z] 5e14af77c1be: Pulling fs layer [2021-04-14T10:11:21.916Z] 01666e4c0597: Pulling fs layer [2021-04-14T10:11:21.916Z] aa168da1d23b: Pulling fs layer [2021-04-14T10:11:21.916Z] 46f8f816bc3b: Waiting [2021-04-14T10:11:21.916Z] 93b61091891f: Waiting [2021-04-14T10:11:21.916Z] 93b9cdb0e59b: Waiting [2021-04-14T10:11:21.916Z] 5e14af77c1be: Waiting [2021-04-14T10:11:21.916Z] 01666e4c0597: Waiting [2021-04-14T10:11:21.916Z] aa168da1d23b: Waiting [2021-04-14T10:11:22.353Z] 36b3adc4ff6f: Verifying Checksum [2021-04-14T10:11:22.353Z] 36b3adc4ff6f: Download complete [2021-04-14T10:11:22.353Z] 46f8f816bc3b: Verifying Checksum [2021-04-14T10:11:22.353Z] 46f8f816bc3b: Download complete [2021-04-14T10:11:22.825Z] df20fa9351a1: Verifying Checksum [2021-04-14T10:11:22.825Z] df20fa9351a1: Download complete [2021-04-14T10:11:22.825Z] 93b61091891f: Verifying Checksum [2021-04-14T10:11:22.825Z] 93b61091891f: Download complete [2021-04-14T10:11:23.151Z] 93b9cdb0e59b: Verifying Checksum [2021-04-14T10:11:23.151Z] 93b9cdb0e59b: Download complete [2021-04-14T10:11:23.151Z] 5e14af77c1be: Verifying Checksum [2021-04-14T10:11:23.151Z] 5e14af77c1be: Download complete [2021-04-14T10:11:23.151Z] 01666e4c0597: Verifying Checksum [2021-04-14T10:11:23.151Z] 01666e4c0597: Download complete [2021-04-14T10:11:23.841Z] 8ad3a11d3b57: Download complete [2021-04-14T10:11:24.301Z] df20fa9351a1: Pull complete [2021-04-14T10:11:25.021Z] 36b3adc4ff6f: Pull complete [2021-04-14T10:11:28.217Z] 8ad3a11d3b57: Pull complete [2021-04-14T10:11:28.217Z] 46f8f816bc3b: Pull complete [2021-04-14T10:11:28.959Z] 93b61091891f: Pull complete [2021-04-14T10:11:29.710Z] 93b9cdb0e59b: Pull complete [2021-04-14T10:11:30.356Z] 5e14af77c1be: Pull complete [2021-04-14T10:11:31.351Z] 01666e4c0597: Pull complete [2021-04-14T10:11:31.965Z] aa168da1d23b: Verifying Checksum [2021-04-14T10:11:31.965Z] aa168da1d23b: Download complete [2021-04-14T10:11:50.846Z] aa168da1d23b: Pull complete [2021-04-14T10:11:50.846Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-14T10:11:50.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T10:11:50.846Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-14T10:11:51.533Z] prd-centos7-docker-4c-2g-98 does not seem to be running inside a container [2021-04-14T10:11:51.745Z] $ 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-878/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-878 -v /w/workspace/dgexfoundry_device-sdk-go_PR-878:/w/workspace/dgexfoundry_device-sdk-go_PR-878:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-14T10:11:55.013Z] $ docker top 20f060d742b886b486274abb0aeccee3b6ffebb2c625707435c544a3fc8ce2d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T10:11:56.384Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-14T10:11:56.755Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-14T10:11:57.529Z] + ls /var/log/sa-host [2021-04-14T10:11:57.529Z] + sadf -c /var/log/sa-host/sa14 [2021-04-14T10:11:57.529Z] file_magic: OK [2021-04-14T10:11:57.529Z] HZ: Using current value: 100 [2021-04-14T10:11:57.529Z] file_header: OK [2021-04-14T10:11:57.529Z] 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-14T10:11:57.529Z] Statistics: [2021-04-14T10:11:57.529Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-14T10:11:57.529Z] File successfully converted to sysstat format version 12.2.1 [2021-04-14T10:11:57.529Z] + sadf -c /var/log/sa-host/sa23 [2021-04-14T10:11:57.529Z] file_magic: OK [2021-04-14T10:11:57.529Z] HZ: Using current value: 100 [2021-04-14T10:11:57.529Z] file_header: OK [2021-04-14T10:11:57.529Z] 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-14T10:11:57.529Z] Statistics: [2021-04-14T10:11:57.529Z] Hnuu...uuuununununu... [2021-04-14T10:11:57.529Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-14T10:11:57.741Z] provisioning config files... [2021-04-14T10:11:57.781Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config8601660760160181702tmp [Pipeline] { [Pipeline] echo [2021-04-14T10:11:57.852Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T10:11:58.648Z] ---> create-netrc.sh [Pipeline] } [2021-04-14T10:11:58.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-14T10:11:58.715Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T10:11:59.446Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-14T10:11:59.483Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T10:12:00.148Z] ---> sudo-logs.sh [2021-04-14T10:12:00.148Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-14T10:12:00.200Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T10:12:00.983Z] ---> job-cost.sh [2021-04-14T10:12:00.983Z] lf-activate-venv: SKIPPING [2021-04-14T10:12:00.983Z] DEBUG: total: 0.20999999344348907 [2021-04-14T10:12:00.983Z] INFO: Retrieving Stack Cost... [2021-04-14T10:12:02.042Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-14T10:12:02.768Z] INFO: Archiving Costs [Pipeline] echo [2021-04-14T10:12:03.098Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T10:12:03.603Z] ---> logs-deploy.sh [2021-04-14T10:12:03.603Z] lf-activate-venv: SKIPPING [2021-04-14T10:12:03.902Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-878/2 [2021-04-14T10:12:03.902Z] INFO: archiving workspace using pattern(s): [2021-04-14T10:12:06.902Z] Archives upload complete. [2021-04-14T10:12:07.219Z] INFO: archiving logs to Nexus