Pull request #878 opened 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 570eb23ac147484c826148d39903d5c09a86bb01+c62645d0ab1012df8ad15b74000ef7e30c377aaa (53ab1ae5d0db4b4fb5f833d5cf5eaa3fe3e6dc87) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-878/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-878/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-75 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 Merging remotes/origin/master commit c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit 570eb23ac147484c826148d39903d5c09a86bb01 Merge succeeded, producing 570eb23ac147484c826148d39903d5c09a86bb01 Checking out Revision 570eb23ac147484c826148d39903d5c09a86bb01 (PR-878) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 570eb23ac147484c826148d39903d5c09a86bb01 # 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 c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 570eb23ac147484c826148d39903d5c09a86bb01 # timeout=10 Commit message: "feat: add request size middleware for device command" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-14T07:10:36.435Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-14T07:10:36.667Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-14T07:10:36.814Z] ========================================================= [2021-04-14T07:10:36.814Z] EdgeX Global Pipelines Version Info [2021-04-14T07:10:36.814Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-14T07:10:38.944Z] ------------------- [2021-04-14T07:10:38.944Z] stable info: [2021-04-14T07:10:38.944Z] ------------------- [2021-04-14T07:10:38.944Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-14T07:10:38.944Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-14T07:10:38.944Z] Message: update stable to v1.0.186 [2021-04-14T07:10:39.523Z] ------------------- [2021-04-14T07:10:39.523Z] experimental info: [2021-04-14T07:10:39.523Z] ------------------- [2021-04-14T07:10:39.523Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-14T07:10:39.523Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-14T07:10:39.523Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-14T07:10:39.781Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-14T07:10:39.839Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-14T07:10:39.907Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-14T07:10:39.972Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-14T07:10:40.031Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-14T07:10:40.088Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-14T07:10:40.145Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-14T07:10:40.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-14T07:10:40.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-14T07:10:40.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-14T07:10:40.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-14T07:10:40.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-14T07:10:40.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-14T07:10:40.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-14T07:10:40.660Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-14T07:10:40.733Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T07:10:40.799Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T07:10:40.907Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T07:10:40.969Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-14T07:10:41.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-14T07:10:41.095Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-14T07:10:41.153Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-14T07:10:41.211Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-14T07:10:41.269Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-14T07:10:41.326Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-14T07:10:41.382Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-14T07:10:41.439Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-878 [Pipeline] echo [2021-04-14T07:10:41.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-878 [Pipeline] echo [2021-04-14T07:10:41.558Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-878 [Pipeline] echo [2021-04-14T07:10:41.619Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 570eb23ac147484c826148d39903d5c09a86bb01 [Pipeline] echo [2021-04-14T07:10:41.682Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 570eb23 [Pipeline] echo [2021-04-14T07:10:41.750Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T07:10:41.957Z] provisioning config files... [2021-04-14T07:10:42.003Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config6237132081453974439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T07:10:42.391Z] ---> docker-login.sh [2021-04-14T07:10:42.392Z] nexus3.edgexfoundry.org:10001 [2021-04-14T07:10:42.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:10:42.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:10:42.923Z] Configure a credential helper to remove this warning. See [2021-04-14T07:10:42.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:10:42.923Z] [2021-04-14T07:10:42.923Z] Login Succeeded [2021-04-14T07:10:42.923Z] nexus3.edgexfoundry.org:10002 [2021-04-14T07:10:43.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:10:43.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:10:43.186Z] Configure a credential helper to remove this warning. See [2021-04-14T07:10:43.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:10:43.186Z] [2021-04-14T07:10:43.186Z] Login Succeeded [2021-04-14T07:10:43.186Z] nexus3.edgexfoundry.org:10003 [2021-04-14T07:10:43.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:10:43.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:10:43.449Z] Configure a credential helper to remove this warning. See [2021-04-14T07:10:43.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:10:43.449Z] [2021-04-14T07:10:43.450Z] Login Succeeded [2021-04-14T07:10:43.450Z] nexus3.edgexfoundry.org:10004 [2021-04-14T07:10:43.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:10:43.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:10:43.450Z] Configure a credential helper to remove this warning. See [2021-04-14T07:10:43.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:10:43.450Z] [2021-04-14T07:10:43.450Z] Login Succeeded [2021-04-14T07:10:43.450Z] docker.io [2021-04-14T07:10:43.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:10:43.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:10:43.974Z] Configure a credential helper to remove this warning. See [2021-04-14T07:10:43.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:10:43.974Z] [2021-04-14T07:10:43.974Z] Login Succeeded [2021-04-14T07:10:43.974Z] ---> docker-login.sh ends [Pipeline] } [2021-04-14T07:10:44.007Z] 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-14T07:10:44.779Z] + git log --format=format:%s -1 570eb23ac147484c826148d39903d5c09a86bb01 [Pipeline] echo [2021-04-14T07:10:44.890Z] GIT_COMMIT: 570eb23ac147484c826148d39903d5c09a86bb01, Commit Message: feat: add request size middleware for device command [Pipeline] echo [2021-04-14T07:10:44.933Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-14T07:10:45.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T07:10:45.993Z] [2021-04-14T07:10:45.993Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-14T07:10:46.360Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T07:10:46.360Z] latest: Pulling from edgex-devops/git-semver [2021-04-14T07:10:46.360Z] 31603596830f: Pulling fs layer [2021-04-14T07:10:46.360Z] 2a8b12db71e7: Pulling fs layer [2021-04-14T07:10:46.360Z] 6ca5941a6612: Pulling fs layer [2021-04-14T07:10:46.360Z] ecc8261a40a4: Pulling fs layer [2021-04-14T07:10:46.360Z] ecc8261a40a4: Waiting [2021-04-14T07:10:46.360Z] 2a8b12db71e7: Verifying Checksum [2021-04-14T07:10:46.360Z] 2a8b12db71e7: Download complete [2021-04-14T07:10:46.360Z] 31603596830f: Verifying Checksum [2021-04-14T07:10:46.360Z] 31603596830f: Download complete [2021-04-14T07:10:46.628Z] 6ca5941a6612: Verifying Checksum [2021-04-14T07:10:46.628Z] 6ca5941a6612: Download complete [2021-04-14T07:10:46.896Z] ecc8261a40a4: Verifying Checksum [2021-04-14T07:10:46.896Z] ecc8261a40a4: Download complete [2021-04-14T07:10:46.896Z] 31603596830f: Pull complete [2021-04-14T07:10:46.896Z] 2a8b12db71e7: Pull complete [2021-04-14T07:10:48.290Z] 6ca5941a6612: Pull complete [2021-04-14T07:10:48.290Z] ecc8261a40a4: Pull complete [2021-04-14T07:10:48.290Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-14T07:10:48.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T07:10:48.290Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-14T07:10:48.437Z] prd-centos7-docker-4c-2g-75 does not seem to be running inside a container [2021-04-14T07:10:48.491Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-14T07:10:50.551Z] $ docker top 244f0f9a5ec9d412ecfef197035f1a576df5b18168cff67a718c53257061b637 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-14T07:10:50.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-14T07:10:50.794Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-14T07:10:51.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-14T07:10:51.036Z] $ docker exec 244f0f9a5ec9d412ecfef197035f1a576df5b18168cff67a718c53257061b637 ssh-agent [2021-04-14T07:10:51.212Z] SSH_AUTH_SOCK=/tmp/ssh-YvC3D9AN8YEf/agent.12 [2021-04-14T07:10:51.212Z] SSH_AGENT_PID=18 [2021-04-14T07:10:51.223Z] Running ssh-add (command line suppressed) [2021-04-14T07:10:51.360Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_9013803880050942596.key (/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_9013803880050942596.key) [2021-04-14T07:10:51.426Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-14T07:10:51.769Z] + git tag --points-at HEAD [Pipeline] } [2021-04-14T07:10:51.797Z] $ docker exec --env ******** --env ******** 244f0f9a5ec9d412ecfef197035f1a576df5b18168cff67a718c53257061b637 ssh-agent -k [2021-04-14T07:10:51.919Z] unset SSH_AUTH_SOCK; [2021-04-14T07:10:51.920Z] unset SSH_AGENT_PID; [2021-04-14T07:10:51.920Z] echo Agent pid 18 killed; [2021-04-14T07:10:51.969Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-14T07:10:52.064Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-14T07:10:52.064Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-14T07:10:52.247Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-14T07:10:52.254Z] $ docker exec 244f0f9a5ec9d412ecfef197035f1a576df5b18168cff67a718c53257061b637 ssh-agent [2021-04-14T07:10:52.431Z] SSH_AUTH_SOCK=/tmp/ssh-GI69ONBnVUHv/agent.46 [2021-04-14T07:10:52.431Z] SSH_AGENT_PID=51 [2021-04-14T07:10:52.438Z] Running ssh-add (command line suppressed) [2021-04-14T07:10:52.574Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_5662679341261858826.key (/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_5662679341261858826.key) [2021-04-14T07:10:52.630Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-14T07:10:52.990Z] + git semver init [2021-04-14T07:10:52.991Z] # -> Open(): unable to determine branch for HEAD [2021-04-14T07:10:52.991Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-878/.git [2021-04-14T07:10:52.991Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-878 [2021-04-14T07:10:52.991Z] # $SEMVER_REMOTE_NAME = origin [2021-04-14T07:10:52.991Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-14T07:10:52.991Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-14T07:10:52.991Z] # $SEMVER_BRANCH = PR-878 [2021-04-14T07:10:52.991Z] # $SEMVER_TEMP = /tmp/semver-435750790 [2021-04-14T07:10:52.991Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-14T07:10:53.941Z] # '/tmp/semver-435750790' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-878/.semver' [2021-04-14T07:10:53.941Z] # -> Force: false [2021-04-14T07:10:53.941Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-878/.semver [Pipeline] } [2021-04-14T07:10:53.966Z] $ docker exec --env ******** --env ******** 244f0f9a5ec9d412ecfef197035f1a576df5b18168cff67a718c53257061b637 ssh-agent -k [2021-04-14T07:10:54.108Z] unset SSH_AUTH_SOCK; [2021-04-14T07:10:54.108Z] unset SSH_AGENT_PID; [2021-04-14T07:10:54.108Z] echo Agent pid 51 killed; [2021-04-14T07:10:54.159Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-14T07:10:54.609Z] + git semver [Pipeline] } [2021-04-14T07:10:54.643Z] $ docker stop --time=1 244f0f9a5ec9d412ecfef197035f1a576df5b18168cff67a718c53257061b637 [2021-04-14T07:10:56.313Z] $ docker rm -f 244f0f9a5ec9d412ecfef197035f1a576df5b18168cff67a718c53257061b637 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-14T07:10:56.795Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-14T07:10:57.182Z] Stashed 1 file(s) [Pipeline] echo [2021-04-14T07:10:57.206Z] [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-14T07:11:12.702Z] Still waiting to schedule task [2021-04-14T07:11:12.703Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-14T07:11:12.734Z] Still waiting to schedule task [2021-04-14T07:11:12.734Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-14T07:13:02.663Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-76 in /w/workspace/dgexfoundry_device-sdk-go_PR-878 [Pipeline] { [Pipeline] ws [2021-04-14T07:13:02.718Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-14T07:13:08.700Z] using credential edgex-jenkins-ssh [2021-04-14T07:13:08.719Z] Cloning the remote Git repository [2021-04-14T07:13:08.794Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T07:13:08.973Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-14T07:13:09.039Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T07:13:09.040Z] > git --version # timeout=10 [2021-04-14T07:13:09.056Z] > git --version # 'git version 2.17.1' [2021-04-14T07:13:09.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T07:13:09.120Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T07:13:10.419Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T07:13:10.439Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T07:13:10.467Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T07:13:11.189Z] Merging remotes/origin/master commit c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit 570eb23ac147484c826148d39903d5c09a86bb01 [2021-04-14T07:13:11.402Z] Merge succeeded, producing 570eb23ac147484c826148d39903d5c09a86bb01 [2021-04-14T07:13:11.403Z] Checking out Revision 570eb23ac147484c826148d39903d5c09a86bb01 (PR-878) [2021-04-14T07:13:10.505Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T07:13:10.506Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T07:13:10.522Z] > 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-14T07:13:11.190Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T07:13:11.204Z] > git checkout -f 570eb23ac147484c826148d39903d5c09a86bb01 # timeout=10 [2021-04-14T07:13:11.303Z] > git remote # timeout=10 [2021-04-14T07:13:11.320Z] > git config --get remote.origin.url # timeout=10 [2021-04-14T07:13:11.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T07:13:11.341Z] > git merge c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 [2021-04-14T07:13:11.364Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-14T07:13:11.395Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T07:13:11.410Z] > git checkout -f 570eb23ac147484c826148d39903d5c09a86bb01 # timeout=10 [2021-04-14T07:13:15.662Z] Commit message: "feat: add request size middleware for device command" [2021-04-14T07:13:15.709Z] > git --version # timeout=10 [2021-04-14T07:13:15.718Z] > git --version # 'git version 2.17.1' [2021-04-14T07:13:15.729Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T07:13:17.441Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-14T07:13:17.886Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-14T07:13:18.252Z] + true [2021-04-14T07:13:18.252Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T07:13:20.976Z] provisioning config files... [2021-04-14T07:13:21.019Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config650364403037092508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T07:13:21.432Z] ---> docker-login.sh [2021-04-14T07:13:21.432Z] nexus3.edgexfoundry.org:10001 [2021-04-14T07:13:22.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:13:23.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:13:23.011Z] Configure a credential helper to remove this warning. See [2021-04-14T07:13:23.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:13:23.011Z] [2021-04-14T07:13:23.011Z] Login Succeeded [2021-04-14T07:13:23.011Z] nexus3.edgexfoundry.org:10002 [2021-04-14T07:13:23.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:13:23.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:13:23.286Z] Configure a credential helper to remove this warning. See [2021-04-14T07:13:23.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:13:23.286Z] [2021-04-14T07:13:23.286Z] Login Succeeded [2021-04-14T07:13:23.286Z] nexus3.edgexfoundry.org:10003 [2021-04-14T07:13:23.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:13:23.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:13:23.887Z] Configure a credential helper to remove this warning. See [2021-04-14T07:13:23.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:13:23.887Z] [2021-04-14T07:13:23.887Z] Login Succeeded [2021-04-14T07:13:23.887Z] nexus3.edgexfoundry.org:10004 [2021-04-14T07:13:24.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:13:24.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:13:24.484Z] Configure a credential helper to remove this warning. See [2021-04-14T07:13:24.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:13:24.484Z] [2021-04-14T07:13:24.484Z] Login Succeeded [2021-04-14T07:13:24.484Z] docker.io [2021-04-14T07:13:24.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:13:25.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:13:25.353Z] Configure a credential helper to remove this warning. See [2021-04-14T07:13:25.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:13:25.353Z] [2021-04-14T07:13:25.353Z] Login Succeeded [2021-04-14T07:13:25.353Z] ---> docker-login.sh ends [Pipeline] } [2021-04-14T07:13:25.383Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-14T07:13:25.790Z] ========================================================= [2021-04-14T07:13:25.790Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-14T07:13:25.790Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-14T07:13:26.169Z] + 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-14T07:13:26.446Z] Sending build context to Docker daemon 2.468MB [2021-04-14T07:13:26.446Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T07:13:26.446Z] Step 2/8 : FROM ${BASE} [2021-04-14T07:13:26.723Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-14T07:13:26.723Z] 5f621e34cdf4: Pulling fs layer [2021-04-14T07:13:26.723Z] a4357932f1b6: Pulling fs layer [2021-04-14T07:13:26.723Z] 18c013af1878: Pulling fs layer [2021-04-14T07:13:26.723Z] 00ac8860ef70: Pulling fs layer [2021-04-14T07:13:26.723Z] 63d7cb157983: Pulling fs layer [2021-04-14T07:13:26.723Z] b116817d02f9: Pulling fs layer [2021-04-14T07:13:26.723Z] 745a02a5169b: Pulling fs layer [2021-04-14T07:13:26.723Z] 63d7cb157983: Waiting [2021-04-14T07:13:26.723Z] b116817d02f9: Waiting [2021-04-14T07:13:26.723Z] 745a02a5169b: Waiting [2021-04-14T07:13:26.723Z] 00ac8860ef70: Waiting [2021-04-14T07:13:26.723Z] 18c013af1878: Download complete [2021-04-14T07:13:26.723Z] a4357932f1b6: Verifying Checksum [2021-04-14T07:13:26.723Z] a4357932f1b6: Download complete [2021-04-14T07:13:26.723Z] 63d7cb157983: Verifying Checksum [2021-04-14T07:13:26.723Z] 63d7cb157983: Download complete [2021-04-14T07:13:26.723Z] b116817d02f9: Verifying Checksum [2021-04-14T07:13:26.723Z] b116817d02f9: Download complete [2021-04-14T07:13:26.723Z] 5f621e34cdf4: Verifying Checksum [2021-04-14T07:13:26.723Z] 5f621e34cdf4: Download complete [2021-04-14T07:13:27.324Z] 5f621e34cdf4: Pull complete [2021-04-14T07:13:27.932Z] a4357932f1b6: Pull complete [2021-04-14T07:13:28.529Z] 18c013af1878: Pull complete [2021-04-14T07:13:29.961Z] 745a02a5169b: Verifying Checksum [2021-04-14T07:13:29.961Z] 745a02a5169b: Download complete [2021-04-14T07:13:30.566Z] 00ac8860ef70: Verifying Checksum [2021-04-14T07:13:30.566Z] 00ac8860ef70: Download complete [2021-04-14T07:13:35.570Z] Running on prd-centos7-docker-4c-2g-77 in /w/workspace/dgexfoundry_device-sdk-go_PR-878 [Pipeline] { [Pipeline] ws [2021-04-14T07:13:35.631Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-14T07:13:38.265Z] using credential edgex-jenkins-ssh [2021-04-14T07:13:38.278Z] Cloning the remote Git repository [2021-04-14T07:13:38.355Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T07:13:38.412Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-14T07:13:38.466Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T07:13:38.467Z] > git --version # timeout=10 [2021-04-14T07:13:38.472Z] > git --version # 'git version 2.24.3' [2021-04-14T07:13:38.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T07:13:38.495Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T07:13:39.221Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T07:13:39.228Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T07:13:39.239Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T07:13:39.252Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T07:13:39.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T07:13:39.257Z] > 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-14T07:13:39.746Z] Merging remotes/origin/master commit c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit 570eb23ac147484c826148d39903d5c09a86bb01 [2021-04-14T07:13:39.866Z] Merge succeeded, producing 570eb23ac147484c826148d39903d5c09a86bb01 [2021-04-14T07:13:39.867Z] Checking out Revision 570eb23ac147484c826148d39903d5c09a86bb01 (PR-878) [2021-04-14T07:13:39.758Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T07:13:39.767Z] > git checkout -f 570eb23ac147484c826148d39903d5c09a86bb01 # timeout=10 [2021-04-14T07:13:39.821Z] > git remote # timeout=10 [2021-04-14T07:13:39.835Z] > git config --get remote.origin.url # timeout=10 [2021-04-14T07:13:39.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T07:13:39.851Z] > git merge c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 [2021-04-14T07:13:39.861Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-14T07:13:39.872Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T07:13:39.877Z] > git checkout -f 570eb23ac147484c826148d39903d5c09a86bb01 # timeout=10 [2021-04-14T07:13:43.005Z] 00ac8860ef70: Pull complete [2021-04-14T07:13:43.005Z] 63d7cb157983: Pull complete [2021-04-14T07:13:43.005Z] b116817d02f9: Pull complete [2021-04-14T07:13:43.526Z] Commit message: "feat: add request size middleware for device command" [2021-04-14T07:13:43.558Z] > git --version # timeout=10 [2021-04-14T07:13:43.568Z] > git --version # 'git version 2.24.3' [2021-04-14T07:13:43.586Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T07:13:44.751Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-14T07:13:45.094Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-14T07:13:45.416Z] + sudo service docker restart [2021-04-14T07:13:45.416Z] + true [2021-04-14T07:13:45.416Z] Redirecting to /bin/systemctl restart docker.service [2021-04-14T07:13:45.661Z] 745a02a5169b: Pull complete [2021-04-14T07:13:45.661Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-14T07:13:45.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-14T07:13:45.661Z] ---> b7e6874047d6 [2021-04-14T07:13:45.661Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T07:13:46.906Z] provisioning config files... [2021-04-14T07:13:46.936Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6047930634681900048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T07:13:47.313Z] ---> docker-login.sh [2021-04-14T07:13:47.313Z] nexus3.edgexfoundry.org:10001 [2021-04-14T07:13:47.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:13:47.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:13:47.577Z] Configure a credential helper to remove this warning. See [2021-04-14T07:13:47.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:13:47.577Z] [2021-04-14T07:13:47.577Z] Login Succeeded [2021-04-14T07:13:47.577Z] nexus3.edgexfoundry.org:10002 [2021-04-14T07:13:47.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:13:47.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:13:47.844Z] Configure a credential helper to remove this warning. See [2021-04-14T07:13:47.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:13:47.844Z] [2021-04-14T07:13:47.844Z] Login Succeeded [2021-04-14T07:13:47.844Z] nexus3.edgexfoundry.org:10003 [2021-04-14T07:13:48.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:13:48.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:13:48.109Z] Configure a credential helper to remove this warning. See [2021-04-14T07:13:48.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:13:48.109Z] [2021-04-14T07:13:48.109Z] Login Succeeded [2021-04-14T07:13:48.109Z] nexus3.edgexfoundry.org:10004 [2021-04-14T07:13:48.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:13:48.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:13:48.109Z] Configure a credential helper to remove this warning. See [2021-04-14T07:13:48.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:13:48.109Z] [2021-04-14T07:13:48.109Z] Login Succeeded [2021-04-14T07:13:48.109Z] docker.io [2021-04-14T07:13:48.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T07:13:48.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T07:13:48.633Z] Configure a credential helper to remove this warning. See [2021-04-14T07:13:48.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T07:13:48.633Z] [2021-04-14T07:13:48.633Z] Login Succeeded [2021-04-14T07:13:48.634Z] ---> docker-login.sh ends [Pipeline] } [2021-04-14T07:13:48.662Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-14T07:13:48.960Z] ========================================================= [2021-04-14T07:13:48.960Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-14T07:13:48.960Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-14T07:13:49.084Z] ---> Running in 444c5c2ff050 [2021-04-14T07:13:49.084Z] Removing intermediate container 444c5c2ff050 [2021-04-14T07:13:49.084Z] ---> ef11e4db6a03 [2021-04-14T07:13:49.084Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T07:13:49.084Z] ---> Running in 0b644de6d1a0 [2021-04-14T07:13:49.309Z] + 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-14T07:13:49.309Z] Sending build context to Docker daemon 2.456MB [2021-04-14T07:13:49.309Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T07:13:49.309Z] Step 2/8 : FROM ${BASE} [2021-04-14T07:13:49.582Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-14T07:13:49.582Z] 188c0c94c7c5: Pulling fs layer [2021-04-14T07:13:49.582Z] 0ef7d3d256c8: Pulling fs layer [2021-04-14T07:13:49.582Z] de9db76c5a1d: Pulling fs layer [2021-04-14T07:13:49.582Z] bca2f99d35d6: Pulling fs layer [2021-04-14T07:13:49.582Z] 93359f2a8cfa: Pulling fs layer [2021-04-14T07:13:49.582Z] 7c6f9722023f: Pulling fs layer [2021-04-14T07:13:49.582Z] a35cf1a2eb13: Pulling fs layer [2021-04-14T07:13:49.582Z] 93359f2a8cfa: Waiting [2021-04-14T07:13:49.582Z] 7c6f9722023f: Waiting [2021-04-14T07:13:49.582Z] a35cf1a2eb13: Waiting [2021-04-14T07:13:49.582Z] bca2f99d35d6: Waiting [2021-04-14T07:13:49.582Z] de9db76c5a1d: Verifying Checksum [2021-04-14T07:13:49.582Z] de9db76c5a1d: Download complete [2021-04-14T07:13:49.582Z] 0ef7d3d256c8: Verifying Checksum [2021-04-14T07:13:49.582Z] 0ef7d3d256c8: Download complete [2021-04-14T07:13:49.582Z] 93359f2a8cfa: Verifying Checksum [2021-04-14T07:13:49.582Z] 93359f2a8cfa: Download complete [2021-04-14T07:13:49.582Z] 7c6f9722023f: Verifying Checksum [2021-04-14T07:13:49.582Z] 7c6f9722023f: Download complete [2021-04-14T07:13:49.582Z] 188c0c94c7c5: Verifying Checksum [2021-04-14T07:13:49.582Z] 188c0c94c7c5: Download complete [2021-04-14T07:13:50.166Z] 188c0c94c7c5: Pull complete [2021-04-14T07:13:50.166Z] 0ef7d3d256c8: Pull complete [2021-04-14T07:13:50.430Z] de9db76c5a1d: Pull complete [2021-04-14T07:13:51.380Z] a35cf1a2eb13: Verifying Checksum [2021-04-14T07:13:51.380Z] a35cf1a2eb13: Download complete [2021-04-14T07:13:51.714Z] Removing intermediate container 0b644de6d1a0 [2021-04-14T07:13:51.714Z] ---> 44cda614edd2 [2021-04-14T07:13:51.714Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-14T07:13:51.714Z] ---> Running in 1f9f94865d88 [2021-04-14T07:13:51.957Z] bca2f99d35d6: Verifying Checksum [2021-04-14T07:13:51.958Z] bca2f99d35d6: Download complete [2021-04-14T07:13:52.702Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T07:13:53.676Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T07:13:54.654Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-14T07:13:54.654Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-14T07:13:54.654Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-14T07:13:54.654Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-14T07:13:54.927Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-14T07:13:54.927Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-14T07:13:54.927Z] Executing busybox-1.31.1-r19.trigger [2021-04-14T07:13:54.927Z] OK: 144 MiB in 45 packages [2021-04-14T07:13:56.360Z] Removing intermediate container 1f9f94865d88 [2021-04-14T07:13:56.360Z] ---> d4153252e907 [2021-04-14T07:13:56.360Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-14T07:13:56.360Z] ---> Running in 51caa714561f [2021-04-14T07:13:56.955Z] Removing intermediate container 51caa714561f [2021-04-14T07:13:56.955Z] ---> ab62ce61b483 [2021-04-14T07:13:56.955Z] Step 7/8 : COPY . . [2021-04-14T07:13:57.299Z] bca2f99d35d6: Pull complete [2021-04-14T07:13:57.563Z] 93359f2a8cfa: Pull complete [2021-04-14T07:13:57.830Z] 7c6f9722023f: Pull complete [2021-04-14T07:13:58.393Z] ---> a9cc60559c2d [2021-04-14T07:13:58.393Z] Step 8/8 : RUN go mod download [2021-04-14T07:13:58.393Z] ---> Running in c6cef1fa3f69 [2021-04-14T07:14:03.189Z] a35cf1a2eb13: Pull complete [2021-04-14T07:14:03.189Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-14T07:14:03.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-14T07:14:03.189Z] ---> a62c8e92a672 [2021-04-14T07:14:03.189Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T07:14:03.791Z] ---> Running in a2e6294c118e [2021-04-14T07:14:03.791Z] Removing intermediate container a2e6294c118e [2021-04-14T07:14:03.791Z] ---> 605e9523abee [2021-04-14T07:14:03.791Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T07:14:03.791Z] ---> Running in 47d5a7e97204 [2021-04-14T07:14:05.201Z] Removing intermediate container 47d5a7e97204 [2021-04-14T07:14:05.201Z] ---> f1ef68338346 [2021-04-14T07:14:05.201Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-14T07:14:05.201Z] ---> Running in 1a1211c28aca [2021-04-14T07:14:05.787Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T07:14:06.363Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-14T07:14:06.939Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-14T07:14:06.939Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-14T07:14:06.939Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-14T07:14:07.202Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-14T07:14:07.203Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-14T07:14:07.467Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-14T07:14:07.467Z] Executing busybox-1.31.1-r19.trigger [2021-04-14T07:14:07.467Z] OK: 167 MiB in 45 packages [2021-04-14T07:14:08.418Z] Removing intermediate container 1a1211c28aca [2021-04-14T07:14:08.418Z] ---> 7f36b6ce45ba [2021-04-14T07:14:08.418Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-14T07:14:08.418Z] ---> Running in 74cbcd7ca695 [2021-04-14T07:14:08.418Z] Removing intermediate container 74cbcd7ca695 [2021-04-14T07:14:08.418Z] ---> 72c2fbf9cf7e [2021-04-14T07:14:08.418Z] Step 7/8 : COPY . . [2021-04-14T07:14:09.810Z] ---> 7ceafaeba42f [2021-04-14T07:14:09.810Z] Step 8/8 : RUN go mod download [2021-04-14T07:14:09.810Z] ---> Running in 3789651d418f [2021-04-14T07:14:25.189Z] Removing intermediate container c6cef1fa3f69 [2021-04-14T07:14:25.189Z] ---> a9b9c8b78f47 [2021-04-14T07:14:25.189Z] Successfully built a9b9c8b78f47 [2021-04-14T07:14:25.189Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-14T07:14:25.566Z] + docker inspect -f . ci-base-image-arm64 [2021-04-14T07:14:25.566Z] . [Pipeline] withDockerContainer [2021-04-14T07:14:25.862Z] prd-ubuntu18.04-docker-arm64-4c-16g-76 does not seem to be running inside a container [2021-04-14T07:14:25.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-14T07:14:27.384Z] $ docker top 7151f9ec612acdf5efd9b2feb3fe0b9da89980f53cd607006a75f2624e5ecb2e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T07:14:28.362Z] + go version [2021-04-14T07:14:28.363Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-14T07:14:28.399Z] $ docker stop --time=1 7151f9ec612acdf5efd9b2feb3fe0b9da89980f53cd607006a75f2624e5ecb2e [2021-04-14T07:14:30.370Z] $ docker rm -f 7151f9ec612acdf5efd9b2feb3fe0b9da89980f53cd607006a75f2624e5ecb2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-14T07:14:31.339Z] + docker inspect -f . ci-base-image-arm64 [2021-04-14T07:14:31.339Z] . [Pipeline] withDockerContainer [2021-04-14T07:14:31.622Z] prd-ubuntu18.04-docker-arm64-4c-16g-76 does not seem to be running inside a container [2021-04-14T07:14:31.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-14T07:14:31.937Z] Removing intermediate container 3789651d418f [2021-04-14T07:14:31.937Z] ---> 341cfe0c8fb2 [2021-04-14T07:14:31.937Z] Successfully built 341cfe0c8fb2 [2021-04-14T07:14:31.937Z] Successfully tagged ci-base-image-x86_64:latest [2021-04-14T07:14:33.234Z] $ docker top b55029ee32a06d3ed4a02ccdd07bb7eabdf6766f97768b48e66c127941c12e5b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-04-14T07:14:34.147Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-14T07:14:34.147Z] . [Pipeline] withDockerContainer [2021-04-14T07:14:34.306Z] prd-centos7-docker-4c-2g-77 does not seem to be running inside a container [2021-04-14T07:14:34.309Z] + make test [2021-04-14T07:14:34.309Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-14T07:14:34.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-14T07:14:35.226Z] $ docker top 3ef2e87439b5b75c553267668c26c2e2a8b6ee537d3c27f905a2236af711d334 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T07:14:35.725Z] + go version [2021-04-14T07:14:35.725Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-14T07:14:35.767Z] $ docker stop --time=1 3ef2e87439b5b75c553267668c26c2e2a8b6ee537d3c27f905a2236af711d334 [2021-04-14T07:14:37.120Z] $ docker rm -f 3ef2e87439b5b75c553267668c26c2e2a8b6ee537d3c27f905a2236af711d334 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-14T07:14:37.918Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-14T07:14:37.918Z] . [Pipeline] withDockerContainer [2021-04-14T07:14:38.048Z] prd-centos7-docker-4c-2g-77 does not seem to be running inside a container [2021-04-14T07:14:38.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-14T07:14:38.762Z] $ docker top 0e4be475d1af9f113fe1b1fa82c748a19690a24f937148ea0501dfe29af9609f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T07:14:39.341Z] + make test [2021-04-14T07:14:39.341Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-14T07:14:47.547Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-14T07:14:56.504Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-14T07:15:09.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-14T07:15:09.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-14T07:15:09.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-14T07:15:09.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-14T07:15:09.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-14T07:15:09.921Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.092s coverage: 28.1% of statements [2021-04-14T07:15:09.921Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements [2021-04-14T07:15:10.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.068s coverage: 7.8% of statements [2021-04-14T07:15:10.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-14T07:15:10.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-14T07:15:10.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-14T07:15:10.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 32.0% of statements [2021-04-14T07:15:10.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-14T07:15:10.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-14T07:15:10.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-14T07:15:11.490Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.120s coverage: 57.1% of statements [2021-04-14T07:15:11.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.196s coverage: 6.6% of statements [2021-04-14T07:15:12.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-14T07:15:12.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-14T07:15:12.286Z] GO111MODULE=on go vet ./... [2021-04-14T07:15:30.567Z] gofmt -l . [2021-04-14T07:15:30.567Z] [ "`gofmt -l .`" = "" ] [2021-04-14T07:15:30.567Z] ./bin/test-attribution-txt.sh [2021-04-14T07:15:30.567Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-14T07:15:30.604Z] $ docker stop --time=1 0e4be475d1af9f113fe1b1fa82c748a19690a24f937148ea0501dfe29af9609f [2021-04-14T07:15:32.469Z] $ docker rm -f 0e4be475d1af9f113fe1b1fa82c748a19690a24f937148ea0501dfe29af9609f [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-14T07:15:34.030Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-14T07:15:34.447Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-14T07:15:37.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-14T07:15:37.482Z] + ls -al . [2021-04-14T07:15:37.482Z] total 188 [2021-04-14T07:15:37.482Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 14 07:15 . [2021-04-14T07:15:37.482Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 14 07:13 .. [2021-04-14T07:15:37.482Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 14 07:13 bin [2021-04-14T07:15:37.482Z] -rw-r--r--. 1 jenkins jenkins 99931 Apr 14 07:15 coverage.out [2021-04-14T07:15:37.482Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 14 07:13 Dockerfile.build [2021-04-14T07:15:37.482Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 14 07:13 .dockerignore [2021-04-14T07:15:37.482Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 14 07:13 example [2021-04-14T07:15:37.482Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 14 07:13 .git [2021-04-14T07:15:37.482Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 14 07:13 .github [2021-04-14T07:15:37.482Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 14 07:13 .gitignore [2021-04-14T07:15:37.482Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 14 07:15 go.mod [2021-04-14T07:15:37.482Z] -rw-r--r--. 1 jenkins jenkins 20726 Apr 14 07:15 go.sum [2021-04-14T07:15:37.482Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 14 07:13 internal [2021-04-14T07:15:37.482Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 14 07:13 Jenkinsfile [2021-04-14T07:15:37.482Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 14 07:13 LICENSE [2021-04-14T07:15:37.482Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 14 07:13 Makefile [2021-04-14T07:15:37.482Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 14 07:13 openapi [2021-04-14T07:15:37.482Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 14 07:13 pkg [2021-04-14T07:15:37.482Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 14 07:13 README.md [2021-04-14T07:15:37.482Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 14 07:13 RELEASE-NOTES.txt [2021-04-14T07:15:37.482Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 14 07:13 snap [2021-04-14T07:15:37.482Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 14 07:10 VERSION [2021-04-14T07:15:37.482Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 14 07:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-14T07:15:37.828Z] + 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=570eb23ac147484c826148d39903d5c09a86bb01 --label arch=amd64 --label version=0.0.0 . [2021-04-14T07:15:38.092Z] Sending build context to Docker daemon 2.556MB [2021-04-14T07:15:38.092Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T07:15:38.092Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-14T07:15:38.092Z] ---> 341cfe0c8fb2 [2021-04-14T07:15:38.092Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-14T07:15:38.667Z] ---> Running in 823ca1f76bf3 [2021-04-14T07:15:38.928Z] Removing intermediate container 823ca1f76bf3 [2021-04-14T07:15:38.928Z] ---> bf13c1b7bc78 [2021-04-14T07:15:38.928Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T07:15:38.928Z] ---> Running in 51101334ac08 [2021-04-14T07:15:39.190Z] Removing intermediate container 51101334ac08 [2021-04-14T07:15:39.190Z] ---> 5e872177193f [2021-04-14T07:15:39.190Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T07:15:39.190Z] ---> Running in 106f91071ce1 [2021-04-14T07:15:40.143Z] Removing intermediate container 106f91071ce1 [2021-04-14T07:15:40.143Z] ---> e6394a283c79 [2021-04-14T07:15:40.143Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-14T07:15:40.143Z] ---> Running in 242048d68821 [2021-04-14T07:15:40.726Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T07:15:41.674Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-14T07:15:42.256Z] OK: 167 MiB in 45 packages [2021-04-14T07:15:42.834Z] Removing intermediate container 242048d68821 [2021-04-14T07:15:42.834Z] ---> d50264dd80c4 [2021-04-14T07:15:42.834Z] Step 7/23 : COPY . . [2021-04-14T07:15:43.783Z] ---> 240146d2f259 [2021-04-14T07:15:43.783Z] Step 8/23 : RUN go mod download [2021-04-14T07:15:44.045Z] ---> Running in d171cf1ab057 [2021-04-14T07:15:44.998Z] Removing intermediate container d171cf1ab057 [2021-04-14T07:15:44.998Z] ---> 49787cf744de [2021-04-14T07:15:44.998Z] Step 9/23 : RUN make build [2021-04-14T07:15:44.998Z] ---> Running in 9408b550ea50 [2021-04-14T07:15:45.575Z] 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-14T07:15:53.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-14T07:15:53.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-14T07:15:53.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-14T07:15:53.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-14T07:15:53.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-14T07:15:56.625Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.144s coverage: 28.1% of statements [2021-04-14T07:15:56.625Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.149s coverage: 78.9% of statements [2021-04-14T07:15:56.903Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.154s coverage: 7.8% of statements [2021-04-14T07:15:56.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-14T07:15:56.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-14T07:15:56.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-14T07:15:57.945Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-14T07:15:58.207Z] Removing intermediate container 9408b550ea50 [2021-04-14T07:15:58.207Z] ---> b3f78d422690 [2021-04-14T07:15:58.207Z] Step 10/23 : FROM alpine:3.12 [2021-04-14T07:15:58.781Z] 3.12: Pulling from library/alpine [2021-04-14T07:15:58.781Z] 532819f3e44c: Pulling fs layer [2021-04-14T07:15:58.914Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.239s coverage: 32.0% of statements [2021-04-14T07:15:58.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-14T07:15:58.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-14T07:15:58.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-14T07:15:59.044Z] 532819f3e44c: Verifying Checksum [2021-04-14T07:15:59.044Z] 532819f3e44c: Download complete [2021-04-14T07:15:59.310Z] 532819f3e44c: Pull complete [2021-04-14T07:15:59.310Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-14T07:15:59.310Z] Status: Downloaded newer image for alpine:3.12 [2021-04-14T07:15:59.310Z] ---> 7230e588e954 [2021-04-14T07:15:59.310Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T07:15:59.573Z] ---> Running in 1e32955589af [2021-04-14T07:15:59.573Z] Removing intermediate container 1e32955589af [2021-04-14T07:15:59.573Z] ---> 65be4ee3d22a [2021-04-14T07:15:59.573Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T07:15:59.840Z] ---> Running in 94f420c1e4f1 [2021-04-14T07:16:00.793Z] Removing intermediate container 94f420c1e4f1 [2021-04-14T07:16:00.793Z] ---> 9dd106c7d716 [2021-04-14T07:16:00.793Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-14T07:16:00.793Z] ---> Running in 0d6d7b769799 [2021-04-14T07:16:01.372Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T07:16:01.946Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-14T07:16:02.520Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-14T07:16:02.520Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-14T07:16:02.520Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-14T07:16:03.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.312s coverage: 57.1% of statements [2021-04-14T07:16:03.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.242s coverage: 6.6% of statements [2021-04-14T07:16:03.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.146s coverage: 5.0% of statements [2021-04-14T07:16:03.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-14T07:16:03.252Z] GO111MODULE=on go vet ./... [2021-04-14T07:16:03.470Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-14T07:16:03.733Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-14T07:16:03.734Z] Executing busybox-1.31.1-r20.trigger [2021-04-14T07:16:03.734Z] OK: 8 MiB in 19 packages [2021-04-14T07:16:04.313Z] Removing intermediate container 0d6d7b769799 [2021-04-14T07:16:04.313Z] ---> 9d4069ed385c [2021-04-14T07:16:04.313Z] Step 14/23 : WORKDIR / [2021-04-14T07:16:04.313Z] ---> Running in 8ec0b72ac255 [2021-04-14T07:16:04.575Z] Removing intermediate container 8ec0b72ac255 [2021-04-14T07:16:04.575Z] ---> 1417bfe8af5a [2021-04-14T07:16:04.575Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-14T07:16:04.839Z] ---> e17bed2759de [2021-04-14T07:16:04.839Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-14T07:16:05.414Z] ---> f0d3106e398c [2021-04-14T07:16:05.414Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-14T07:16:05.676Z] ---> ad9824037dd3 [2021-04-14T07:16:05.676Z] Step 18/23 : EXPOSE 49990 [2021-04-14T07:16:05.938Z] ---> Running in adefaa0ed6fd [2021-04-14T07:16:05.938Z] Removing intermediate container adefaa0ed6fd [2021-04-14T07:16:05.938Z] ---> 734cabd5fb92 [2021-04-14T07:16:05.938Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-14T07:16:05.938Z] ---> Running in 61f6ec2fc83e [2021-04-14T07:16:06.201Z] Removing intermediate container 61f6ec2fc83e [2021-04-14T07:16:06.201Z] ---> 88ceaa77463f [2021-04-14T07:16:06.201Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-14T07:16:06.201Z] ---> Running in f672c7f2de28 [2021-04-14T07:16:06.463Z] Removing intermediate container f672c7f2de28 [2021-04-14T07:16:06.463Z] ---> 35685facb749 [2021-04-14T07:16:06.463Z] Step 21/23 : LABEL arch=amd64 [2021-04-14T07:16:06.463Z] ---> Running in 8340403199c9 [2021-04-14T07:16:06.732Z] Removing intermediate container 8340403199c9 [2021-04-14T07:16:06.732Z] ---> 4ca943d1f9ce [2021-04-14T07:16:06.732Z] Step 22/23 : LABEL git_sha=570eb23ac147484c826148d39903d5c09a86bb01 [2021-04-14T07:16:06.732Z] ---> Running in 4a0388953c5b [2021-04-14T07:16:06.994Z] Removing intermediate container 4a0388953c5b [2021-04-14T07:16:06.994Z] ---> c6214b55e1b7 [2021-04-14T07:16:06.994Z] Step 23/23 : LABEL version=0.0.0 [2021-04-14T07:16:06.994Z] ---> Running in f2e8f2bc1948 [2021-04-14T07:16:07.256Z] Removing intermediate container f2e8f2bc1948 [2021-04-14T07:16:07.256Z] ---> 945d07a6edf1 [2021-04-14T07:16:07.256Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-14T07:16:07.256Z] Successfully built 945d07a6edf1 [2021-04-14T07:16:07.256Z] 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-14T07:16:08.213Z] ---> job-cost.sh [2021-04-14T07:16:08.213Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Jnzu [2021-04-14T07:16:23.150Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-14T07:16:49.759Z] lf-activate-venv(): INFO: Adding /tmp/venv-Jnzu/bin to PATH [2021-04-14T07:16:49.759Z] INFO: No Stack... [2021-04-14T07:16:50.238Z] gofmt -l . [2021-04-14T07:16:50.238Z] [ "`gofmt -l .`" = "" ] [2021-04-14T07:16:50.238Z] ./bin/test-attribution-txt.sh [2021-04-14T07:16:50.238Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-14T07:16:50.278Z] $ docker stop --time=1 b55029ee32a06d3ed4a02ccdd07bb7eabdf6766f97768b48e66c127941c12e5b [2021-04-14T07:16:51.147Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-14T07:16:52.093Z] INFO: Archiving Costs [2021-04-14T07:16:52.611Z] $ docker rm -f b55029ee32a06d3ed4a02ccdd07bb7eabdf6766f97768b48e66c127941c12e5b [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-04-14T07:16:53.711Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-14T07:16:53.711Z] + cut -d, -f6 [2021-04-14T07:16:53.803Z] + sudo chown -R jenkins:jenkins . [Pipeline] lock [2021-04-14T07:16:53.821Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-878-1-stack-cost] [2021-04-14T07:16:53.827Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-878-1-stack-cost] did not exist. Created. [2021-04-14T07:16:53.827Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-878-1-stack-cost] [Pipeline] { [Pipeline] stash [2021-04-14T07:16:53.903Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] unstash [Pipeline] sh [2021-04-14T07:16:54.274Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-14T07:16:54.427Z] Stashed 1 file(s) [Pipeline] } [2021-04-14T07:16:54.452Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-878-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2021-04-14T07:16:54.885Z] Stashed 1 file(s) [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T07:16:55.720Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-14T07:16:56.083Z] + ls -al . [2021-04-14T07:16:56.083Z] total 224 [2021-04-14T07:16:56.083Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 07:16 . [2021-04-14T07:16:56.083Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 07:13 .. [2021-04-14T07:16:56.083Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 07:13 .dockerignore [2021-04-14T07:16:56.083Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 07:13 .git [2021-04-14T07:16:56.083Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 07:13 .github [2021-04-14T07:16:56.083Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 14 07:13 .gitignore [2021-04-14T07:16:56.083Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 14 07:13 Dockerfile.build [2021-04-14T07:16:56.083Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 14 07:13 Jenkinsfile [2021-04-14T07:16:56.083Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 07:13 LICENSE [2021-04-14T07:16:56.083Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 14 07:13 Makefile [2021-04-14T07:16:56.083Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 14 07:13 README.md [2021-04-14T07:16:56.083Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 14 07:13 RELEASE-NOTES.txt [2021-04-14T07:16:56.083Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 07:10 VERSION [2021-04-14T07:16:56.083Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 07:13 bin [2021-04-14T07:16:56.083Z] -rw-r--r-- 1 jenkins jenkins 99931 Apr 14 07:16 coverage.out [2021-04-14T07:16:56.083Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 07:13 example [2021-04-14T07:16:56.084Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 14 07:16 go.mod [2021-04-14T07:16:56.084Z] -rw-r--r-- 1 jenkins jenkins 20726 Apr 14 07:16 go.sum [2021-04-14T07:16:56.084Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 14 07:13 internal [2021-04-14T07:16:56.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 07:13 openapi [2021-04-14T07:16:56.084Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 07:13 pkg [2021-04-14T07:16:56.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 07:13 snap [2021-04-14T07:16:56.084Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 07:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-14T07:16:56.471Z] + 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=570eb23ac147484c826148d39903d5c09a86bb01 --label arch=arm64 --label version=0.0.0 . [2021-04-14T07:16:57.074Z] Sending build context to Docker daemon 2.569MB [2021-04-14T07:16:57.074Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T07:16:57.074Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-14T07:16:57.074Z] ---> a9b9c8b78f47 [2021-04-14T07:16:57.074Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-14T07:16:57.346Z] ---> Running in 89aadeeabb2c [2021-04-14T07:16:57.620Z] Removing intermediate container 89aadeeabb2c [2021-04-14T07:16:57.620Z] ---> 235385140e5a [2021-04-14T07:16:57.620Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T07:16:57.892Z] ---> Running in 7e34a011d373 [2021-04-14T07:16:58.489Z] Removing intermediate container 7e34a011d373 [2021-04-14T07:16:58.490Z] ---> e079c13863e0 [2021-04-14T07:16:58.490Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T07:16:58.490Z] ---> Running in 9db06185a922 [2021-04-14T07:17:00.461Z] Removing intermediate container 9db06185a922 [2021-04-14T07:17:00.461Z] ---> b3454a530b0b [2021-04-14T07:17:00.461Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-14T07:17:00.734Z] ---> Running in d31af5d1359b [2021-04-14T07:17:01.719Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T07:17:02.693Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T07:17:03.287Z] OK: 144 MiB in 45 packages [2021-04-14T07:17:04.719Z] Removing intermediate container d31af5d1359b [2021-04-14T07:17:04.719Z] ---> 8edbbc049215 [2021-04-14T07:17:04.719Z] Step 7/23 : COPY . . [2021-04-14T07:17:06.154Z] ---> 9e16407fdfa0 [2021-04-14T07:17:06.154Z] Step 8/23 : RUN go mod download [2021-04-14T07:17:06.154Z] ---> Running in 54422f9204dd [2021-04-14T07:17:08.778Z] Removing intermediate container 54422f9204dd [2021-04-14T07:17:08.778Z] ---> aa2e48662090 [2021-04-14T07:17:08.778Z] Step 9/23 : RUN make build [2021-04-14T07:17:08.778Z] ---> Running in 5b742956bef0 [2021-04-14T07:17:09.774Z] 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-14T07:17:42.137Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-14T07:17:43.581Z] Removing intermediate container 5b742956bef0 [2021-04-14T07:17:43.582Z] ---> 473ecd4ae2f7 [2021-04-14T07:17:43.582Z] Step 10/23 : FROM alpine:3.12 [2021-04-14T07:17:44.176Z] 3.12: Pulling from library/alpine [2021-04-14T07:17:44.448Z] 9a219e8acc52: Pulling fs layer [2021-04-14T07:17:44.720Z] 9a219e8acc52: Verifying Checksum [2021-04-14T07:17:44.720Z] 9a219e8acc52: Download complete [2021-04-14T07:17:45.322Z] 9a219e8acc52: Pull complete [2021-04-14T07:17:45.322Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-14T07:17:45.322Z] Status: Downloaded newer image for alpine:3.12 [2021-04-14T07:17:45.322Z] ---> d75e27dfc0a0 [2021-04-14T07:17:45.322Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T07:17:45.595Z] ---> Running in 273973ffddf6 [2021-04-14T07:17:45.869Z] Removing intermediate container 273973ffddf6 [2021-04-14T07:17:45.869Z] ---> 60eae006cec6 [2021-04-14T07:17:45.869Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T07:17:46.147Z] ---> Running in 0f03728a8270 [2021-04-14T07:17:48.141Z] Removing intermediate container 0f03728a8270 [2021-04-14T07:17:48.141Z] ---> 8c6c6a9f5a42 [2021-04-14T07:17:48.142Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-14T07:17:48.142Z] ---> Running in f99a814a6d01 [2021-04-14T07:17:49.578Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T07:17:50.171Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T07:17:50.763Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-14T07:17:50.763Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-14T07:17:51.037Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-14T07:17:51.037Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-14T07:17:51.316Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-14T07:17:51.316Z] Executing busybox-1.31.1-r20.trigger [2021-04-14T07:17:51.316Z] OK: 8 MiB in 19 packages [2021-04-14T07:17:52.754Z] Removing intermediate container f99a814a6d01 [2021-04-14T07:17:52.754Z] ---> 5d3f7e5d0990 [2021-04-14T07:17:52.754Z] Step 14/23 : WORKDIR / [2021-04-14T07:17:52.754Z] ---> Running in 928e5ea7154f [2021-04-14T07:17:53.027Z] Removing intermediate container 928e5ea7154f [2021-04-14T07:17:53.027Z] ---> dbb8f94b197a [2021-04-14T07:17:53.027Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-14T07:17:54.015Z] ---> 9538a5c1306f [2021-04-14T07:17:54.015Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-14T07:17:55.000Z] ---> 23387d870400 [2021-04-14T07:17:55.000Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-14T07:17:55.598Z] ---> d2e3ec4d4f38 [2021-04-14T07:17:55.598Z] Step 18/23 : EXPOSE 49990 [2021-04-14T07:17:55.882Z] ---> Running in aae9057ef0d3 [2021-04-14T07:17:56.481Z] Removing intermediate container aae9057ef0d3 [2021-04-14T07:17:56.481Z] ---> 688a9537c0dd [2021-04-14T07:17:56.481Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-14T07:17:56.481Z] ---> Running in bd83703fa335 [2021-04-14T07:17:56.759Z] Removing intermediate container bd83703fa335 [2021-04-14T07:17:56.759Z] ---> cfbdfbb35c55 [2021-04-14T07:17:56.759Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-14T07:17:57.034Z] ---> Running in 3fdf51248b3e [2021-04-14T07:17:57.632Z] Removing intermediate container 3fdf51248b3e [2021-04-14T07:17:57.632Z] ---> 1d75fe20a7db [2021-04-14T07:17:57.632Z] Step 21/23 : LABEL arch=arm64 [2021-04-14T07:17:57.632Z] ---> Running in 353c30ca971e [2021-04-14T07:17:58.228Z] Removing intermediate container 353c30ca971e [2021-04-14T07:17:58.228Z] ---> 482a4bb8b972 [2021-04-14T07:17:58.228Z] Step 22/23 : LABEL git_sha=570eb23ac147484c826148d39903d5c09a86bb01 [2021-04-14T07:17:58.228Z] ---> Running in f4c45a652742 [2021-04-14T07:17:58.500Z] Removing intermediate container f4c45a652742 [2021-04-14T07:17:58.500Z] ---> 145f04fd530f [2021-04-14T07:17:58.500Z] Step 23/23 : LABEL version=0.0.0 [2021-04-14T07:17:58.778Z] ---> Running in a3b77f06cfd2 [2021-04-14T07:17:59.050Z] Removing intermediate container a3b77f06cfd2 [2021-04-14T07:17:59.050Z] ---> 655d620624b7 [2021-04-14T07:17:59.050Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-14T07:17:59.325Z] Successfully built 655d620624b7 [2021-04-14T07:17:59.325Z] 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-14T07:18:00.077Z] ---> job-cost.sh [2021-04-14T07:18:00.077Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pXS9 [2021-04-14T07:18:39.041Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-14T07:20:15.805Z] lf-activate-venv(): INFO: Adding /tmp/venv-pXS9/bin to PATH [2021-04-14T07:20:15.805Z] INFO: No Stack... [2021-04-14T07:20:15.805Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-14T07:20:15.805Z] INFO: Archiving Costs [Pipeline] sh [2021-04-14T07:20:16.176Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-14T07:20:16.176Z] + cut -d, -f6 [Pipeline] lock [2021-04-14T07:20:16.336Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-878-1-stack-cost] [2021-04-14T07:20:16.343Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-878-1-stack-cost] did not exist. Created. [2021-04-14T07:20:16.343Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-878-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-14T07:20:16.831Z] /w/workspace/device-sdk-go/1@tmp/durable-55c2ac7a/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-55c2ac7a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-14T07:20:17.203Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-14T07:20:17.254Z] Warning: overwriting stash ‘stack-cost’ [2021-04-14T07:20:17.407Z] Stashed 1 file(s) [Pipeline] } [2021-04-14T07:20:17.425Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-878-1-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-14T07:20:18.486Z] provisioning config files... [2021-04-14T07:20:18.499Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config9137641408141072991tmp [Pipeline] { [Pipeline] sh [2021-04-14T07:20:18.875Z] + set +x [2021-04-14T07:20:18.875Z] + curl -s https://codecov.io/bash [2021-04-14T07:20:18.875Z] + bash -s -- [2021-04-14T07:20:19.141Z] [2021-04-14T07:20:19.141Z] _____ _ [2021-04-14T07:20:19.141Z] / ____| | | [2021-04-14T07:20:19.141Z] | | ___ __| | ___ ___ _____ __ [2021-04-14T07:20:19.141Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-14T07:20:19.141Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-14T07:20:19.141Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-14T07:20:19.141Z] Bash-1.0.1 [2021-04-14T07:20:19.141Z] [2021-04-14T07:20:19.141Z] [2021-04-14T07:20:19.141Z] ==> git version 2.24.3 found [2021-04-14T07:20:19.141Z] ==> 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-14T07:20:19.141Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-14T07:20:19.141Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-14T07:20:19.141Z] ==> Jenkins CI detected. [2021-04-14T07:20:19.141Z] project root: . [2021-04-14T07:20:19.141Z] --> token set from env [2021-04-14T07:20:19.141Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-14T07:20:19.141Z] ==> Running gcov in . (disable via -X gcov) [2021-04-14T07:20:19.141Z] ==> Python coveragepy not found [2021-04-14T07:20:19.141Z] ==> Searching for coverage reports in: [2021-04-14T07:20:19.141Z] + . [2021-04-14T07:20:19.141Z] -> Found 1 reports [2021-04-14T07:20:19.141Z] ==> Detecting git/mercurial file structure [2021-04-14T07:20:19.405Z] ==> Reading reports [2021-04-14T07:20:19.405Z] + ./coverage.out bytes=99931 [2021-04-14T07:20:19.405Z] ==> Appending adjustments [2021-04-14T07:20:19.405Z] https://docs.codecov.io/docs/fixing-reports [2021-04-14T07:20:19.669Z] + Found adjustments [2021-04-14T07:20:19.669Z] ==> Gzipping contents [2021-04-14T07:20:19.669Z] 16K /tmp/codecov.iyaeYD.gz [2021-04-14T07:20:19.669Z] ==> Uploading reports [2021-04-14T07:20:19.669Z] url: https://codecov.io [2021-04-14T07:20:19.669Z] query: branch=PR-878&commit=570eb23ac147484c826148d39903d5c09a86bb01&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-878%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=878&job=&cmd_args= [2021-04-14T07:20:19.669Z] -> Pinging Codecov [2021-04-14T07:20:19.669Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-878&commit=570eb23ac147484c826148d39903d5c09a86bb01&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-878%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=878&job=&cmd_args= [2021-04-14T07:20:20.245Z] -> Uploading to [2021-04-14T07:20:20.246Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-14/7E55EF52A471D76F132DFD9A03CDDE97/570eb23ac147484c826148d39903d5c09a86bb01/f7f9c1e9-0edc-4cd4-b16a-5ab5e3e73de7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210414%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210414T072020Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=27906ad60b257a489c250de22b537ba0c2813fe883b1afe73b788f6b0cc014d8 [2021-04-14T07:20:20.246Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-14T07:20:20.246Z] Dload Upload Total Spent Left Speed [2021-04-14T07:20:20.509Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13540 0 0 100 13540 0 32736 --:--:-- --:--:-- --:--:-- 32784 [2021-04-14T07:20:20.509Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/570eb23ac147484c826148d39903d5c09a86bb01 [Pipeline] } [2021-04-14T07:20:20.534Z] 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-14T07:20:22.983Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T07:20:23.611Z] ---> package-listing.sh [2021-04-14T07:20:23.611Z] ++ facter osfamily [2021-04-14T07:20:23.611Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-14T07:20:23.611Z] + OS_FAMILY=redhat [2021-04-14T07:20:23.611Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-878 [2021-04-14T07:20:23.611Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-14T07:20:23.611Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-14T07:20:23.611Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-14T07:20:23.611Z] + PACKAGES=/tmp/packages_start.txt [2021-04-14T07:20:23.611Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-878 ']' [2021-04-14T07:20:23.611Z] + PACKAGES=/tmp/packages_end.txt [2021-04-14T07:20:23.611Z] + case "${OS_FAMILY}" in [2021-04-14T07:20:23.611Z] + rpm -qa [2021-04-14T07:20:23.611Z] + sort [2021-04-14T07:20:28.928Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-14T07:20:28.928Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-14T07:20:28.928Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-14T07:20:28.928Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-878 ']' [2021-04-14T07:20:28.928Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-878/archives/ [2021-04-14T07:20:28.928Z] + 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-14T07:20:28.973Z] 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-14T07:20:29.289Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-14T07:20:29.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T07:20:29.640Z] [2021-04-14T07:20:29.640Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-14T07:20:30.020Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T07:20:30.021Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-14T07:20:30.021Z] df20fa9351a1: Pulling fs layer [2021-04-14T07:20:30.021Z] 36b3adc4ff6f: Pulling fs layer [2021-04-14T07:20:30.021Z] 8ad3a11d3b57: Pulling fs layer [2021-04-14T07:20:30.021Z] 46f8f816bc3b: Pulling fs layer [2021-04-14T07:20:30.021Z] 93b61091891f: Pulling fs layer [2021-04-14T07:20:30.021Z] 93b9cdb0e59b: Pulling fs layer [2021-04-14T07:20:30.021Z] 5e14af77c1be: Pulling fs layer [2021-04-14T07:20:30.021Z] 01666e4c0597: Pulling fs layer [2021-04-14T07:20:30.021Z] aa168da1d23b: Pulling fs layer [2021-04-14T07:20:30.021Z] 93b9cdb0e59b: Waiting [2021-04-14T07:20:30.021Z] 5e14af77c1be: Waiting [2021-04-14T07:20:30.021Z] aa168da1d23b: Waiting [2021-04-14T07:20:30.021Z] 01666e4c0597: Waiting [2021-04-14T07:20:30.021Z] 46f8f816bc3b: Waiting [2021-04-14T07:20:30.021Z] 93b61091891f: Waiting [2021-04-14T07:20:30.021Z] 36b3adc4ff6f: Verifying Checksum [2021-04-14T07:20:30.021Z] 36b3adc4ff6f: Download complete [2021-04-14T07:20:30.021Z] 46f8f816bc3b: Verifying Checksum [2021-04-14T07:20:30.021Z] 46f8f816bc3b: Download complete [2021-04-14T07:20:30.293Z] df20fa9351a1: Verifying Checksum [2021-04-14T07:20:30.293Z] df20fa9351a1: Download complete [2021-04-14T07:20:30.293Z] 93b9cdb0e59b: Verifying Checksum [2021-04-14T07:20:30.293Z] 93b9cdb0e59b: Download complete [2021-04-14T07:20:30.293Z] 93b61091891f: Verifying Checksum [2021-04-14T07:20:30.293Z] 93b61091891f: Download complete [2021-04-14T07:20:30.293Z] 5e14af77c1be: Verifying Checksum [2021-04-14T07:20:30.293Z] 5e14af77c1be: Download complete [2021-04-14T07:20:30.293Z] 01666e4c0597: Verifying Checksum [2021-04-14T07:20:30.293Z] 01666e4c0597: Download complete [2021-04-14T07:20:30.293Z] 8ad3a11d3b57: Verifying Checksum [2021-04-14T07:20:30.293Z] 8ad3a11d3b57: Download complete [2021-04-14T07:20:30.559Z] df20fa9351a1: Pull complete [2021-04-14T07:20:30.829Z] 36b3adc4ff6f: Pull complete [2021-04-14T07:20:31.824Z] 8ad3a11d3b57: Pull complete [2021-04-14T07:20:32.088Z] 46f8f816bc3b: Pull complete [2021-04-14T07:20:32.676Z] 93b61091891f: Pull complete [2021-04-14T07:20:32.941Z] aa168da1d23b: Verifying Checksum [2021-04-14T07:20:32.941Z] aa168da1d23b: Download complete [2021-04-14T07:20:32.941Z] 93b9cdb0e59b: Pull complete [2021-04-14T07:20:32.941Z] 5e14af77c1be: Pull complete [2021-04-14T07:20:33.210Z] 01666e4c0597: Pull complete [2021-04-14T07:20:41.425Z] aa168da1d23b: Pull complete [2021-04-14T07:20:41.425Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-14T07:20:41.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T07:20:41.425Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-14T07:20:41.666Z] prd-centos7-docker-4c-2g-75 does not seem to be running inside a container [2021-04-14T07:20:41.719Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-14T07:20:45.353Z] $ docker top 2f4ca55cc43ceaa669e066b119e02546af01ddbf8c11298b140e2908a30b9cde -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T07:20:45.970Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-14T07:20:46.305Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-14T07:20:46.650Z] + ls /var/log/sa-host [2021-04-14T07:20:46.650Z] + sadf -c /var/log/sa-host/sa14 [2021-04-14T07:20:46.650Z] file_magic: OK [2021-04-14T07:20:46.650Z] HZ: Using current value: 100 [2021-04-14T07:20:46.650Z] file_header: OK [2021-04-14T07:20:46.650Z] 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-14T07:20:46.650Z] Statistics: [2021-04-14T07:20:46.650Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-14T07:20:46.650Z] File successfully converted to sysstat format version 12.2.1 [2021-04-14T07:20:46.650Z] + sadf -c /var/log/sa-host/sa23 [2021-04-14T07:20:46.650Z] file_magic: OK [2021-04-14T07:20:46.650Z] HZ: Using current value: 100 [2021-04-14T07:20:46.650Z] file_header: OK [2021-04-14T07:20:46.650Z] 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-14T07:20:46.650Z] Statistics: [2021-04-14T07:20:46.650Z] Hnuu...uuuununununu... [2021-04-14T07:20:46.650Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-14T07:20:47.444Z] provisioning config files... [2021-04-14T07:20:47.467Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config5631931072137992435tmp [Pipeline] { [Pipeline] echo [2021-04-14T07:20:47.527Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T07:20:47.869Z] ---> create-netrc.sh [Pipeline] } [2021-04-14T07:20:47.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-14T07:20:47.980Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T07:20:48.318Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-14T07:20:48.356Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T07:20:48.695Z] ---> sudo-logs.sh [2021-04-14T07:20:48.695Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-14T07:20:48.793Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T07:20:49.146Z] ---> job-cost.sh [2021-04-14T07:20:49.146Z] lf-activate-venv: SKIPPING [2021-04-14T07:20:49.146Z] DEBUG: total: 0.20999999344348907 [2021-04-14T07:20:49.146Z] INFO: Retrieving Stack Cost... [2021-04-14T07:20:51.070Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-14T07:20:52.018Z] INFO: Archiving Costs [Pipeline] echo [2021-04-14T07:20:52.054Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T07:20:52.403Z] ---> logs-deploy.sh [2021-04-14T07:20:52.403Z] lf-activate-venv: SKIPPING [2021-04-14T07:20:52.403Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-878/1 [2021-04-14T07:20:52.403Z] INFO: archiving workspace using pattern(s): [2021-04-14T07:20:54.328Z] Archives upload complete. [2021-04-14T07:20:54.328Z] INFO: archiving logs to Nexus