Pull request #824 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 f2441cf37640eb727d641ecd71424c5462bf906c+e34679e4f02bbc164353b5eb88e70f6c516b0d21 (002dec72c1687a0756bef73b6ba0d397c63a853d) 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-824/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-824/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-30285 in /w/workspace/dgexfoundry_device-sdk-go_PR-824 [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-824 # 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 e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit f2441cf37640eb727d641ecd71424c5462bf906c Merge succeeded, producing f2441cf37640eb727d641ecd71424c5462bf906c Checking out Revision f2441cf37640eb727d641ecd71424c5462bf906c (PR-824) > 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/824/head:refs/remotes/origin/PR-824 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2441cf37640eb727d641ecd71424c5462bf906c # 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 e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2441cf37640eb727d641ecd71424c5462bf906c # timeout=10 Commit message: "fix: remove hard-coded Content-Type in SDK" 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-03-18T09:06:10.768Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-18T09:06:11.216Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-18T09:06:11.433Z] ========================================================= [2021-03-18T09:06:11.433Z] EdgeX Global Pipelines Version Info [2021-03-18T09:06:11.433Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-18T09:06:13.125Z] ------------------- [2021-03-18T09:06:13.125Z] stable info: [2021-03-18T09:06:13.125Z] ------------------- [2021-03-18T09:06:13.125Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-18T09:06:13.125Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-18T09:06:13.125Z] Message: update stable to v1.0.186 [2021-03-18T09:06:14.070Z] ------------------- [2021-03-18T09:06:14.070Z] experimental info: [2021-03-18T09:06:14.070Z] ------------------- [2021-03-18T09:06:14.070Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-18T09:06:14.070Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-18T09:06:14.070Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-18T09:06:14.488Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-18T09:06:14.620Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-18T09:06:14.751Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-18T09:06:14.888Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-18T09:06:15.031Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-18T09:06:15.175Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-18T09:06:15.308Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-18T09:06:15.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-18T09:06:15.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-18T09:06:15.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-18T09:06:15.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-18T09:06:15.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-18T09:06:16.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-18T09:06:16.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-18T09:06:16.366Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-18T09:06:16.503Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T09:06:16.692Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T09:06:16.827Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T09:06:17.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-18T09:06:17.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-18T09:06:17.359Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-18T09:06:17.493Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-18T09:06:17.624Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-18T09:06:17.757Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-18T09:06:17.883Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-18T09:06:18.064Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-18T09:06:18.198Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-824 [Pipeline] echo [2021-03-18T09:06:18.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-824 [Pipeline] echo [2021-03-18T09:06:18.465Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-824 [Pipeline] echo [2021-03-18T09:06:18.601Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2441cf37640eb727d641ecd71424c5462bf906c [Pipeline] echo [2021-03-18T09:06:18.785Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2441cf [Pipeline] echo [2021-03-18T09:06:18.915Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-18T09:06:19.191Z] provisioning config files... [2021-03-18T09:06:19.223Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp/config330311129406815367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T09:06:19.703Z] ---> docker-login.sh [2021-03-18T09:06:19.703Z] nexus3.edgexfoundry.org:10001 [2021-03-18T09:06:19.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:06:20.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:06:20.229Z] Configure a credential helper to remove this warning. See [2021-03-18T09:06:20.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:06:20.229Z] [2021-03-18T09:06:20.229Z] Login Succeeded [2021-03-18T09:06:20.229Z] nexus3.edgexfoundry.org:10002 [2021-03-18T09:06:20.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:06:20.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:06:20.493Z] Configure a credential helper to remove this warning. See [2021-03-18T09:06:20.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:06:20.493Z] [2021-03-18T09:06:20.493Z] Login Succeeded [2021-03-18T09:06:20.493Z] nexus3.edgexfoundry.org:10003 [2021-03-18T09:06:20.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:06:20.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:06:20.493Z] Configure a credential helper to remove this warning. See [2021-03-18T09:06:20.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:06:20.493Z] [2021-03-18T09:06:20.493Z] Login Succeeded [2021-03-18T09:06:20.493Z] nexus3.edgexfoundry.org:10004 [2021-03-18T09:06:20.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:06:20.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:06:20.754Z] Configure a credential helper to remove this warning. See [2021-03-18T09:06:20.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:06:20.754Z] [2021-03-18T09:06:20.754Z] Login Succeeded [2021-03-18T09:06:20.754Z] docker.io [2021-03-18T09:06:20.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:06:21.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:06:21.331Z] Configure a credential helper to remove this warning. See [2021-03-18T09:06:21.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:06:21.331Z] [2021-03-18T09:06:21.331Z] Login Succeeded [2021-03-18T09:06:21.331Z] ---> docker-login.sh ends [Pipeline] } [2021-03-18T09:06:21.356Z] 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-03-18T09:06:22.516Z] + git log --format=format:%s -1 f2441cf37640eb727d641ecd71424c5462bf906c [Pipeline] echo [2021-03-18T09:06:22.607Z] GIT_COMMIT: f2441cf37640eb727d641ecd71424c5462bf906c, Commit Message: fix: remove hard-coded Content-Type in SDK [Pipeline] echo [2021-03-18T09:06:22.681Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-18T09:06:23.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T09:06:23.782Z] [2021-03-18T09:06:23.782Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T09:06:24.185Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T09:06:24.185Z] latest: Pulling from edgex-devops/git-semver [2021-03-18T09:06:24.185Z] 31603596830f: Pulling fs layer [2021-03-18T09:06:24.185Z] 2a8b12db71e7: Pulling fs layer [2021-03-18T09:06:24.185Z] 6ca5941a6612: Pulling fs layer [2021-03-18T09:06:24.185Z] ecc8261a40a4: Pulling fs layer [2021-03-18T09:06:24.185Z] ecc8261a40a4: Waiting [2021-03-18T09:06:24.185Z] 2a8b12db71e7: Verifying Checksum [2021-03-18T09:06:24.185Z] 2a8b12db71e7: Download complete [2021-03-18T09:06:24.452Z] 31603596830f: Verifying Checksum [2021-03-18T09:06:24.452Z] 31603596830f: Download complete [2021-03-18T09:06:24.452Z] 6ca5941a6612: Verifying Checksum [2021-03-18T09:06:24.452Z] 6ca5941a6612: Download complete [2021-03-18T09:06:24.452Z] ecc8261a40a4: Verifying Checksum [2021-03-18T09:06:24.452Z] ecc8261a40a4: Download complete [2021-03-18T09:06:24.717Z] 31603596830f: Pull complete [2021-03-18T09:06:24.717Z] 2a8b12db71e7: Pull complete [2021-03-18T09:06:25.687Z] 6ca5941a6612: Pull complete [2021-03-18T09:06:25.951Z] ecc8261a40a4: Pull complete [2021-03-18T09:06:25.951Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-18T09:06:25.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T09:06:25.951Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-18T09:06:26.070Z] prd-centos7-docker-4c-2g-30285 does not seem to be running inside a container [2021-03-18T09:06:26.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-824 -v /w/workspace/dgexfoundry_device-sdk-go_PR-824:/w/workspace/dgexfoundry_device-sdk-go_PR-824:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-824@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-18T09:06:28.388Z] $ docker top 293e11fca78ef92628786c08fe33c62335f4de1b9db12a5a5ca13a193c13781e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T09:06:28.760Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T09:06:28.760Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T09:06:28.995Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T09:06:29.002Z] $ docker exec 293e11fca78ef92628786c08fe33c62335f4de1b9db12a5a5ca13a193c13781e ssh-agent [2021-03-18T09:06:29.177Z] SSH_AUTH_SOCK=/tmp/ssh-mZTjKdUzQ96U/agent.12 [2021-03-18T09:06:29.177Z] SSH_AGENT_PID=17 [2021-03-18T09:06:29.188Z] Running ssh-add (command line suppressed) [2021-03-18T09:06:29.328Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp/private_key_9023445144012193912.key (/w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp/private_key_9023445144012193912.key) [2021-03-18T09:06:29.384Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T09:06:29.771Z] + git tag --points-at HEAD [Pipeline] } [2021-03-18T09:06:29.801Z] $ docker exec --env ******** --env ******** 293e11fca78ef92628786c08fe33c62335f4de1b9db12a5a5ca13a193c13781e ssh-agent -k [2021-03-18T09:06:29.922Z] unset SSH_AUTH_SOCK; [2021-03-18T09:06:29.922Z] unset SSH_AGENT_PID; [2021-03-18T09:06:29.922Z] echo Agent pid 17 killed; [2021-03-18T09:06:29.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-18T09:06:30.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T09:06:30.189Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T09:06:30.353Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T09:06:30.362Z] $ docker exec 293e11fca78ef92628786c08fe33c62335f4de1b9db12a5a5ca13a193c13781e ssh-agent [2021-03-18T09:06:30.524Z] SSH_AUTH_SOCK=/tmp/ssh-LrmfeD8dBrkG/agent.45 [2021-03-18T09:06:30.524Z] SSH_AGENT_PID=51 [2021-03-18T09:06:30.531Z] Running ssh-add (command line suppressed) [2021-03-18T09:06:30.650Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp/private_key_4758047211616060586.key (/w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp/private_key_4758047211616060586.key) [2021-03-18T09:06:30.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T09:06:31.094Z] + git semver init [2021-03-18T09:06:31.094Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T09:06:31.094Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-824/.git [2021-03-18T09:06:31.094Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-824 [2021-03-18T09:06:31.094Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T09:06:31.094Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T09:06:31.094Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T09:06:31.094Z] # $SEMVER_BRANCH = PR-824 [2021-03-18T09:06:31.094Z] # $SEMVER_TEMP = /tmp/semver-792008028 [2021-03-18T09:06:31.094Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-18T09:06:31.673Z] # '/tmp/semver-792008028' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-824/.semver' [2021-03-18T09:06:31.673Z] # -> Force: false [2021-03-18T09:06:31.673Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-824/.semver [Pipeline] } [2021-03-18T09:06:31.696Z] $ docker exec --env ******** --env ******** 293e11fca78ef92628786c08fe33c62335f4de1b9db12a5a5ca13a193c13781e ssh-agent -k [2021-03-18T09:06:31.811Z] unset SSH_AUTH_SOCK; [2021-03-18T09:06:31.812Z] unset SSH_AGENT_PID; [2021-03-18T09:06:31.812Z] echo Agent pid 51 killed; [2021-03-18T09:06:31.856Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T09:06:32.435Z] + git semver [Pipeline] } [2021-03-18T09:06:32.470Z] $ docker stop --time=1 293e11fca78ef92628786c08fe33c62335f4de1b9db12a5a5ca13a193c13781e [2021-03-18T09:06:33.950Z] $ docker rm -f 293e11fca78ef92628786c08fe33c62335f4de1b9db12a5a5ca13a193c13781e [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T09:06:34.503Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-18T09:06:34.957Z] Stashed 1 file(s) [Pipeline] echo [2021-03-18T09:06:34.982Z] [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-03-18T09:06:50.927Z] Still waiting to schedule task [2021-03-18T09:06:50.927Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30285’ [2021-03-18T09:06:50.958Z] Still waiting to schedule task [2021-03-18T09:06:50.958Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-18T09:08:27.205Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30286 in /w/workspace/dgexfoundry_device-sdk-go_PR-824 [Pipeline] { [Pipeline] ws [2021-03-18T09:08:27.313Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-18T09:08:33.543Z] using credential edgex-jenkins-ssh [2021-03-18T09:08:33.622Z] Cloning the remote Git repository [2021-03-18T09:08:33.693Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-18T09:08:33.816Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-18T09:08:33.912Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-18T09:08:33.912Z] > git --version # timeout=10 [2021-03-18T09:08:33.930Z] > git --version # 'git version 2.17.1' [2021-03-18T09:08:33.932Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T09:08:33.989Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T09:08:35.963Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-18T09:08:35.981Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T09:08:36.009Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-18T09:08:36.042Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-18T09:08:36.043Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T09:08:36.056Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/824/head:refs/remotes/origin/PR-824 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-18T09:08:36.643Z] Merging remotes/origin/master commit e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit f2441cf37640eb727d641ecd71424c5462bf906c [2021-03-18T09:08:36.880Z] Merge succeeded, producing f2441cf37640eb727d641ecd71424c5462bf906c [2021-03-18T09:08:36.881Z] Checking out Revision f2441cf37640eb727d641ecd71424c5462bf906c (PR-824) [2021-03-18T09:08:36.668Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T09:08:36.688Z] > git checkout -f f2441cf37640eb727d641ecd71424c5462bf906c # timeout=10 [2021-03-18T09:08:36.806Z] > git remote # timeout=10 [2021-03-18T09:08:36.821Z] > git config --get remote.origin.url # timeout=10 [2021-03-18T09:08:36.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T09:08:36.843Z] > git merge e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 [2021-03-18T09:08:36.867Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-18T09:08:36.890Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T09:08:36.902Z] > git checkout -f f2441cf37640eb727d641ecd71424c5462bf906c # timeout=10 [2021-03-18T09:08:41.400Z] Commit message: "fix: remove hard-coded Content-Type in SDK" [2021-03-18T09:08:41.473Z] > git --version # timeout=10 [2021-03-18T09:08:41.481Z] > git --version # 'git version 2.17.1' [2021-03-18T09:08:41.491Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T09:08:43.460Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-18T09:08:43.946Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-18T09:08:44.338Z] + sudo service docker restart [2021-03-18T09:08:44.339Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-18T09:08:47.203Z] provisioning config files... [2021-03-18T09:08:47.269Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3995457527842440189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T09:08:47.762Z] ---> docker-login.sh [2021-03-18T09:08:47.762Z] nexus3.edgexfoundry.org:10001 [2021-03-18T09:08:48.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:08:49.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:08:49.014Z] Configure a credential helper to remove this warning. See [2021-03-18T09:08:49.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:08:49.014Z] [2021-03-18T09:08:49.014Z] Login Succeeded [2021-03-18T09:08:49.014Z] nexus3.edgexfoundry.org:10002 [2021-03-18T09:08:49.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:08:49.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:08:49.302Z] Configure a credential helper to remove this warning. See [2021-03-18T09:08:49.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:08:49.302Z] [2021-03-18T09:08:49.302Z] Login Succeeded [2021-03-18T09:08:49.302Z] nexus3.edgexfoundry.org:10003 [2021-03-18T09:08:49.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:08:49.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:08:49.934Z] Configure a credential helper to remove this warning. See [2021-03-18T09:08:49.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:08:49.934Z] [2021-03-18T09:08:49.934Z] Login Succeeded [2021-03-18T09:08:49.934Z] nexus3.edgexfoundry.org:10004 [2021-03-18T09:08:50.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:08:50.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:08:50.516Z] Configure a credential helper to remove this warning. See [2021-03-18T09:08:50.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:08:50.516Z] [2021-03-18T09:08:50.516Z] Login Succeeded [2021-03-18T09:08:50.516Z] docker.io [2021-03-18T09:08:50.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:08:51.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:08:51.398Z] Configure a credential helper to remove this warning. See [2021-03-18T09:08:51.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:08:51.398Z] [2021-03-18T09:08:51.398Z] Login Succeeded [2021-03-18T09:08:51.398Z] ---> docker-login.sh ends [Pipeline] } [2021-03-18T09:08:51.445Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-18T09:08:52.033Z] ========================================================= [2021-03-18T09:08:52.033Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-18T09:08:52.033Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-18T09:08:52.458Z] + 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-03-18T09:08:52.745Z] Sending build context to Docker daemon 2.279MB [2021-03-18T09:08:52.745Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T09:08:52.745Z] Step 2/8 : FROM ${BASE} [2021-03-18T09:08:53.029Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-18T09:08:53.029Z] 5f621e34cdf4: Pulling fs layer [2021-03-18T09:08:53.029Z] a4357932f1b6: Pulling fs layer [2021-03-18T09:08:53.029Z] 18c013af1878: Pulling fs layer [2021-03-18T09:08:53.029Z] 00ac8860ef70: Pulling fs layer [2021-03-18T09:08:53.029Z] 63d7cb157983: Pulling fs layer [2021-03-18T09:08:53.029Z] b116817d02f9: Pulling fs layer [2021-03-18T09:08:53.029Z] 745a02a5169b: Pulling fs layer [2021-03-18T09:08:53.029Z] 63d7cb157983: Waiting [2021-03-18T09:08:53.029Z] 00ac8860ef70: Waiting [2021-03-18T09:08:53.029Z] b116817d02f9: Waiting [2021-03-18T09:08:53.029Z] 745a02a5169b: Waiting [2021-03-18T09:08:53.029Z] 18c013af1878: Download complete [2021-03-18T09:08:53.029Z] a4357932f1b6: Verifying Checksum [2021-03-18T09:08:53.029Z] a4357932f1b6: Download complete [2021-03-18T09:08:53.029Z] 63d7cb157983: Verifying Checksum [2021-03-18T09:08:53.029Z] 63d7cb157983: Download complete [2021-03-18T09:08:53.029Z] b116817d02f9: Download complete [2021-03-18T09:08:53.029Z] 5f621e34cdf4: Verifying Checksum [2021-03-18T09:08:53.029Z] 5f621e34cdf4: Download complete [2021-03-18T09:08:53.630Z] 5f621e34cdf4: Pull complete [2021-03-18T09:08:54.252Z] a4357932f1b6: Pull complete [2021-03-18T09:08:54.532Z] 18c013af1878: Pull complete [2021-03-18T09:08:55.537Z] 745a02a5169b: Verifying Checksum [2021-03-18T09:08:55.537Z] 745a02a5169b: Download complete [2021-03-18T09:08:58.262Z] 00ac8860ef70: Verifying Checksum [2021-03-18T09:08:58.262Z] 00ac8860ef70: Download complete [2021-03-18T09:09:08.590Z] 00ac8860ef70: Pull complete [2021-03-18T09:09:08.590Z] 63d7cb157983: Pull complete [2021-03-18T09:09:08.878Z] b116817d02f9: Pull complete [2021-03-18T09:09:13.297Z] 745a02a5169b: Pull complete [2021-03-18T09:09:13.297Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-18T09:09:13.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-18T09:09:13.297Z] ---> b7e6874047d6 [2021-03-18T09:09:13.297Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-18T09:09:15.998Z] ---> Running in 42a154bf7ff4 [2021-03-18T09:09:16.289Z] Removing intermediate container 42a154bf7ff4 [2021-03-18T09:09:16.289Z] ---> e7d06eb6d10d [2021-03-18T09:09:16.289Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T09:09:16.289Z] ---> Running in b3d63b46e38f [2021-03-18T09:09:19.004Z] Removing intermediate container b3d63b46e38f [2021-03-18T09:09:19.004Z] ---> 9ac34beb75da [2021-03-18T09:09:19.004Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-18T09:09:19.004Z] ---> Running in 4b839854674f [2021-03-18T09:09:20.013Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-18T09:09:20.631Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-18T09:09:21.669Z] OK: 142 MiB in 39 packages [2021-03-18T09:09:22.681Z] Removing intermediate container 4b839854674f [2021-03-18T09:09:22.681Z] ---> 2fa2526af9b1 [2021-03-18T09:09:22.681Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-18T09:09:22.958Z] ---> Running in 95a350679c5c [2021-03-18T09:09:23.571Z] Removing intermediate container 95a350679c5c [2021-03-18T09:09:23.571Z] ---> de30e228761d [2021-03-18T09:09:23.571Z] Step 7/8 : COPY . . [2021-03-18T09:09:24.600Z] ---> 907934457fc7 [2021-03-18T09:09:24.600Z] Step 8/8 : RUN go mod download [2021-03-18T09:09:24.888Z] ---> Running in 1084686208d3 [2021-03-18T09:09:52.008Z] Removing intermediate container 1084686208d3 [2021-03-18T09:09:52.008Z] ---> 16a5544d8a43 [2021-03-18T09:09:52.008Z] Successfully built 16a5544d8a43 [2021-03-18T09:09:52.008Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T09:09:52.428Z] + docker inspect -f . ci-base-image-arm64 [2021-03-18T09:09:52.428Z] . [Pipeline] withDockerContainer [2021-03-18T09:09:52.758Z] prd-ubuntu18.04-docker-arm64-4c-16g-30286 does not seem to be running inside a container [2021-03-18T09:09:52.914Z] $ 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-arm64 cat [2021-03-18T09:09:54.393Z] $ docker top a1541f092ba66aa5c28dc17e73d65a92ceb618deb2b32ed16cccdb110cf3d1cc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T09:09:55.535Z] + go version [2021-03-18T09:09:55.535Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-18T09:09:55.577Z] $ docker stop --time=1 a1541f092ba66aa5c28dc17e73d65a92ceb618deb2b32ed16cccdb110cf3d1cc [2021-03-18T09:09:57.509Z] $ docker rm -f a1541f092ba66aa5c28dc17e73d65a92ceb618deb2b32ed16cccdb110cf3d1cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-18T09:09:58.896Z] + docker inspect -f . ci-base-image-arm64 [2021-03-18T09:09:58.896Z] . [Pipeline] withDockerContainer [2021-03-18T09:09:59.286Z] prd-ubuntu18.04-docker-arm64-4c-16g-30286 does not seem to be running inside a container [2021-03-18T09:09:59.438Z] $ 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-arm64 cat [2021-03-18T09:10:00.947Z] $ docker top 41ffdcf768f4af5642cac6734637d5cfbe04495f64c06c3d19f86548bdcd3e14 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T09:10:02.129Z] + make test [2021-03-18T09:10:02.129Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-18T09:10:24.571Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-18T09:10:35.460Z] Running on prd-centos7-docker-4c-2g-30287 in /w/workspace/dgexfoundry_device-sdk-go_PR-824 [Pipeline] { [Pipeline] ws [2021-03-18T09:10:35.596Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-18T09:10:45.740Z] using credential edgex-jenkins-ssh [2021-03-18T09:10:45.794Z] Cloning the remote Git repository [2021-03-18T09:10:45.835Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-18T09:10:45.929Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-18T09:10:46.027Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-18T09:10:46.028Z] > git --version # timeout=10 [2021-03-18T09:10:46.040Z] > git --version # 'git version 2.24.3' [2021-03-18T09:10:46.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T09:10:46.090Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T09:10:46.937Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-18T09:10:46.946Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T09:10:46.964Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-18T09:10:47.535Z] Merging remotes/origin/master commit e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit f2441cf37640eb727d641ecd71424c5462bf906c [2021-03-18T09:10:48.162Z] Merge succeeded, producing f2441cf37640eb727d641ecd71424c5462bf906c [2021-03-18T09:10:48.162Z] Checking out Revision f2441cf37640eb727d641ecd71424c5462bf906c (PR-824) [2021-03-18T09:10:46.989Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-18T09:10:46.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T09:10:47.008Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/824/head:refs/remotes/origin/PR-824 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-18T09:10:47.561Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T09:10:47.602Z] > git checkout -f f2441cf37640eb727d641ecd71424c5462bf906c # timeout=10 [2021-03-18T09:10:47.768Z] > git remote # timeout=10 [2021-03-18T09:10:47.889Z] > git config --get remote.origin.url # timeout=10 [2021-03-18T09:10:47.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T09:10:47.952Z] > git merge e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 [2021-03-18T09:10:48.048Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-18T09:10:48.169Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T09:10:48.221Z] > git checkout -f f2441cf37640eb727d641ecd71424c5462bf906c # timeout=10 [2021-03-18T09:10:53.349Z] Commit message: "fix: remove hard-coded Content-Type in SDK" [2021-03-18T09:10:53.394Z] > git --version # timeout=10 [2021-03-18T09:10:53.417Z] > git --version # 'git version 2.24.3' [2021-03-18T09:10:53.445Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T09:10:55.236Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-18T09:10:55.913Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-18T09:10:56.295Z] + sudo service docker restart [2021-03-18T09:10:56.295Z] + true [2021-03-18T09:10:56.295Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-18T09:10:59.206Z] provisioning config files... [2021-03-18T09:10:59.245Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2946658468606127737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T09:11:00.179Z] ---> docker-login.sh [2021-03-18T09:11:00.180Z] nexus3.edgexfoundry.org:10001 [2021-03-18T09:11:01.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:11:01.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:11:01.963Z] Configure a credential helper to remove this warning. See [2021-03-18T09:11:01.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:11:01.963Z] [2021-03-18T09:11:01.963Z] Login Succeeded [2021-03-18T09:11:01.963Z] nexus3.edgexfoundry.org:10002 [2021-03-18T09:11:02.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:11:02.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:11:02.555Z] Configure a credential helper to remove this warning. See [2021-03-18T09:11:02.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:11:02.555Z] [2021-03-18T09:11:02.555Z] Login Succeeded [2021-03-18T09:11:02.555Z] nexus3.edgexfoundry.org:10003 [2021-03-18T09:11:02.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:11:02.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:11:02.825Z] Configure a credential helper to remove this warning. See [2021-03-18T09:11:02.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:11:02.825Z] [2021-03-18T09:11:02.825Z] Login Succeeded [2021-03-18T09:11:02.825Z] nexus3.edgexfoundry.org:10004 [2021-03-18T09:11:03.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:11:03.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:11:03.103Z] Configure a credential helper to remove this warning. See [2021-03-18T09:11:03.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:11:03.103Z] [2021-03-18T09:11:03.103Z] Login Succeeded [2021-03-18T09:11:03.103Z] docker.io [2021-03-18T09:11:03.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T09:11:03.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T09:11:03.667Z] Configure a credential helper to remove this warning. See [2021-03-18T09:11:03.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T09:11:03.667Z] [2021-03-18T09:11:03.667Z] Login Succeeded [2021-03-18T09:11:03.667Z] ---> docker-login.sh ends [Pipeline] } [2021-03-18T09:11:03.706Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [2021-03-18T09:11:03.950Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-18T09:11:03.950Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-18T09:11:03.950Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-18T09:11:03.951Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [Pipeline] unstash [Pipeline] echo [2021-03-18T09:11:04.409Z] ========================================================= [2021-03-18T09:11:04.409Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-18T09:11:04.409Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-18T09:11:04.861Z] + 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-03-18T09:11:05.141Z] Sending build context to Docker daemon 2.277MB [2021-03-18T09:11:05.141Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T09:11:05.141Z] Step 2/8 : FROM ${BASE} [2021-03-18T09:11:05.141Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-18T09:11:05.141Z] 188c0c94c7c5: Pulling fs layer [2021-03-18T09:11:05.141Z] 0ef7d3d256c8: Pulling fs layer [2021-03-18T09:11:05.141Z] de9db76c5a1d: Pulling fs layer [2021-03-18T09:11:05.141Z] bca2f99d35d6: Pulling fs layer [2021-03-18T09:11:05.141Z] 93359f2a8cfa: Pulling fs layer [2021-03-18T09:11:05.141Z] 7c6f9722023f: Pulling fs layer [2021-03-18T09:11:05.141Z] a35cf1a2eb13: Pulling fs layer [2021-03-18T09:11:05.141Z] bca2f99d35d6: Waiting [2021-03-18T09:11:05.141Z] 93359f2a8cfa: Waiting [2021-03-18T09:11:05.141Z] 7c6f9722023f: Waiting [2021-03-18T09:11:05.141Z] a35cf1a2eb13: Waiting [2021-03-18T09:11:05.411Z] de9db76c5a1d: Verifying Checksum [2021-03-18T09:11:05.411Z] de9db76c5a1d: Download complete [2021-03-18T09:11:05.411Z] 0ef7d3d256c8: Verifying Checksum [2021-03-18T09:11:05.411Z] 0ef7d3d256c8: Download complete [2021-03-18T09:11:05.411Z] 93359f2a8cfa: Verifying Checksum [2021-03-18T09:11:05.411Z] 93359f2a8cfa: Download complete [2021-03-18T09:11:05.411Z] 7c6f9722023f: Verifying Checksum [2021-03-18T09:11:05.411Z] 7c6f9722023f: Download complete [2021-03-18T09:11:05.411Z] 188c0c94c7c5: Verifying Checksum [2021-03-18T09:11:05.411Z] 188c0c94c7c5: Download complete [2021-03-18T09:11:05.683Z] 188c0c94c7c5: Pull complete [2021-03-18T09:11:05.970Z] 0ef7d3d256c8: Pull complete [2021-03-18T09:11:06.238Z] de9db76c5a1d: Pull complete [2021-03-18T09:11:08.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.121s coverage: 25.5% of statements [2021-03-18T09:11:08.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.153s coverage: 81.2% of statements [2021-03-18T09:11:08.893Z] a35cf1a2eb13: Verifying Checksum [2021-03-18T09:11:09.879Z] bca2f99d35d6: Verifying Checksum [2021-03-18T09:11:09.879Z] bca2f99d35d6: Download complete [2021-03-18T09:11:28.585Z] bca2f99d35d6: Pull complete [2021-03-18T09:11:28.585Z] 93359f2a8cfa: Pull complete [2021-03-18T09:11:28.585Z] 7c6f9722023f: Pull complete [2021-03-18T09:11:35.486Z] a35cf1a2eb13: Pull complete [2021-03-18T09:11:35.486Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-18T09:11:35.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-18T09:11:35.486Z] ---> a62c8e92a672 [2021-03-18T09:11:35.486Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-18T09:11:35.486Z] ---> Running in 877283215d0d [2021-03-18T09:11:36.092Z] Removing intermediate container 877283215d0d [2021-03-18T09:11:36.092Z] ---> d9f49b8e71d1 [2021-03-18T09:11:36.092Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T09:11:36.523Z] ---> Running in f25500e8a995 [2021-03-18T09:11:40.003Z] Removing intermediate container f25500e8a995 [2021-03-18T09:11:40.003Z] ---> 1fe4fdffa657 [2021-03-18T09:11:40.003Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-18T09:11:40.003Z] ---> Running in f4fc2a301262 [2021-03-18T09:11:40.661Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-18T09:11:40.701Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.129s coverage: 10.5% of statements [2021-03-18T09:11:40.701Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-18T09:11:40.701Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-18T09:11:40.701Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.214s coverage: 32.5% of statements [2021-03-18T09:11:40.701Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-18T09:11:40.701Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-18T09:11:40.701Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-18T09:11:40.701Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.272s coverage: 57.3% of statements [2021-03-18T09:11:40.701Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.901s coverage: 6.6% of statements [2021-03-18T09:11:40.701Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 5.1% of statements [2021-03-18T09:11:40.701Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-18T09:11:40.701Z] GO111MODULE=on go vet ./... [2021-03-18T09:11:41.252Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-18T09:11:41.853Z] OK: 166 MiB in 39 packages [2021-03-18T09:11:42.506Z] Removing intermediate container f4fc2a301262 [2021-03-18T09:11:42.506Z] ---> 90a3183a6405 [2021-03-18T09:11:42.506Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-18T09:11:42.868Z] ---> Running in a75496dabe77 [2021-03-18T09:11:43.152Z] Removing intermediate container a75496dabe77 [2021-03-18T09:11:43.152Z] ---> 279693caefbb [2021-03-18T09:11:43.152Z] Step 7/8 : COPY . . [2021-03-18T09:11:44.691Z] ---> 86846f96d04a [2021-03-18T09:11:44.691Z] Step 8/8 : RUN go mod download [2021-03-18T09:11:45.029Z] ---> Running in b80236ec5a0c [2021-03-18T09:12:13.485Z] gofmt -l . [2021-03-18T09:12:13.485Z] [ "`gofmt -l .`" = "" ] [2021-03-18T09:12:13.485Z] ./bin/test-attribution-txt.sh [2021-03-18T09:12:13.485Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-18T09:12:13.523Z] $ docker stop --time=1 41ffdcf768f4af5642cac6734637d5cfbe04495f64c06c3d19f86548bdcd3e14 [2021-03-18T09:12:15.756Z] $ docker rm -f 41ffdcf768f4af5642cac6734637d5cfbe04495f64c06c3d19f86548bdcd3e14 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T09:12:16.973Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-18T09:12:17.685Z] Removing intermediate container b80236ec5a0c [2021-03-18T09:12:17.685Z] ---> 278180490e6b [2021-03-18T09:12:17.686Z] Successfully built 278180490e6b [2021-03-18T09:12:17.686Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T09:12:17.799Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [2021-03-18T09:12:18.100Z] + docker inspect -f . ci-base-image-x86_64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-03-18T09:12:18.702Z] . [Pipeline] withDockerContainer [2021-03-18T09:12:20.937Z] prd-centos7-docker-4c-2g-30287 does not seem to be running inside a container [2021-03-18T09:12:21.118Z] $ 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-03-18T09:12:23.651Z] $ docker top 172b216f1b3b2a0198a2b6f725e370c964bb0d00323d0358a83f2e3dc0c5e9b2 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-03-18T09:12:24.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-18T09:12:24.778Z] + go version [2021-03-18T09:12:24.779Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-18T09:12:24.829Z] $ docker stop --time=1 172b216f1b3b2a0198a2b6f725e370c964bb0d00323d0358a83f2e3dc0c5e9b2 [2021-03-18T09:12:24.993Z] + ls -al . [2021-03-18T09:12:24.993Z] total 220 [2021-03-18T09:12:24.993Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 09:12 . [2021-03-18T09:12:24.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 09:08 .. [2021-03-18T09:12:24.993Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 18 09:08 .dockerignore [2021-03-18T09:12:24.993Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 09:08 .git [2021-03-18T09:12:24.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 09:08 .github [2021-03-18T09:12:24.993Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 18 09:08 .gitignore [2021-03-18T09:12:24.993Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 18 09:08 Dockerfile.build [2021-03-18T09:12:24.993Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 18 09:08 Jenkinsfile [2021-03-18T09:12:24.993Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 18 09:08 LICENSE [2021-03-18T09:12:24.993Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 18 09:08 Makefile [2021-03-18T09:12:24.993Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 18 09:08 README.md [2021-03-18T09:12:24.993Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 18 09:08 RELEASE-NOTES.txt [2021-03-18T09:12:24.993Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 09:06 VERSION [2021-03-18T09:12:24.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 09:08 bin [2021-03-18T09:12:24.993Z] -rw-r--r-- 1 jenkins jenkins 100015 Mar 18 09:11 coverage.out [2021-03-18T09:12:24.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 09:08 example [2021-03-18T09:12:24.993Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 18 09:12 go.mod [2021-03-18T09:12:24.993Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 18 09:12 go.sum [2021-03-18T09:12:24.993Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 18 09:08 internal [2021-03-18T09:12:24.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 09:08 openapi [2021-03-18T09:12:24.993Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 18 09:08 pkg [2021-03-18T09:12:24.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 09:08 snap [2021-03-18T09:12:24.993Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 18 09:08 version.go [2021-03-18T09:12:26.349Z] $ docker rm -f 172b216f1b3b2a0198a2b6f725e370c964bb0d00323d0358a83f2e3dc0c5e9b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-03-18T09:12:27.137Z] + 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=f2441cf37640eb727d641ecd71424c5462bf906c --label arch=arm64 --label version=0.0.0 . [Pipeline] isUnix [Pipeline] sh [2021-03-18T09:12:27.411Z] Sending build context to Docker daemon 2.38MB [2021-03-18T09:12:27.468Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-18T09:12:27.468Z] . [Pipeline] withDockerContainer [2021-03-18T09:12:27.641Z] prd-centos7-docker-4c-2g-30287 does not seem to be running inside a container [2021-03-18T09:12:27.684Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T09:12:27.684Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-18T09:12:27.684Z] ---> 16a5544d8a43 [2021-03-18T09:12:27.684Z] Step 3/24 : ARG MAKE='make build' [2021-03-18T09:12:27.684Z] ---> Running in ab0acc438106 [2021-03-18T09:12:27.736Z] $ 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-03-18T09:12:28.285Z] Removing intermediate container ab0acc438106 [2021-03-18T09:12:28.285Z] ---> 1fa3168cfe08 [2021-03-18T09:12:28.285Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-18T09:12:28.285Z] ---> Running in 1775decbad18 [2021-03-18T09:12:28.883Z] Removing intermediate container 1775decbad18 [2021-03-18T09:12:28.883Z] ---> 5ab72e611b24 [2021-03-18T09:12:28.883Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-18T09:12:28.883Z] ---> Running in 68443d9de1a8 [2021-03-18T09:12:29.051Z] $ docker top 9e8a696e65e14eaafe12254c993369c92f4d33247b231e05fad61ed2799cb494 -eo pid,comm [2021-03-18T09:12:29.478Z] Removing intermediate container 68443d9de1a8 [2021-03-18T09:12:29.478Z] ---> 8c3363414f58 [2021-03-18T09:12:29.478Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T09:12:29.478Z] ---> Running in bfd53e7854e4 [Pipeline] { [Pipeline] sh [2021-03-18T09:12:30.291Z] + make test [2021-03-18T09:12:30.291Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-18T09:12:31.467Z] Removing intermediate container bfd53e7854e4 [2021-03-18T09:12:31.468Z] ---> 99b7a4f5037f [2021-03-18T09:12:31.468Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-18T09:12:31.746Z] ---> Running in 5efee25dde9c [2021-03-18T09:12:32.729Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-18T09:12:33.706Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-18T09:12:34.298Z] OK: 142 MiB in 39 packages [2021-03-18T09:12:35.279Z] Removing intermediate container 5efee25dde9c [2021-03-18T09:12:35.279Z] ---> 7d978b5c7efc [2021-03-18T09:12:35.279Z] Step 8/24 : COPY . . [2021-03-18T09:12:36.709Z] ---> adb5ce4eff31 [2021-03-18T09:12:36.709Z] Step 9/24 : RUN ${MAKE} [2021-03-18T09:12:36.709Z] ---> Running in cc54a709af21 [2021-03-18T09:12:37.689Z] CGO_ENABLED=0 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-03-18T09:12:45.664Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-18T09:13:04.520Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-18T09:13:05.497Z] Removing intermediate container cc54a709af21 [2021-03-18T09:13:05.497Z] ---> 4052576a131c [2021-03-18T09:13:05.497Z] Step 10/24 : FROM scratch [2021-03-18T09:13:05.497Z] ---> [2021-03-18T09:13:05.497Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-18T09:13:05.497Z] ---> Running in ce9e2b06a19e [2021-03-18T09:13:06.092Z] Removing intermediate container ce9e2b06a19e [2021-03-18T09:13:06.092Z] ---> e36614a53c9a [2021-03-18T09:13:06.092Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-18T09:13:06.092Z] ---> Running in 02a732f65759 [2021-03-18T09:13:06.686Z] Removing intermediate container 02a732f65759 [2021-03-18T09:13:06.686Z] ---> 4256b60fc7c2 [2021-03-18T09:13:06.686Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-18T09:13:06.686Z] ---> Running in a46a77543451 [2021-03-18T09:13:07.279Z] Removing intermediate container a46a77543451 [2021-03-18T09:13:07.280Z] ---> 156338865ea0 [2021-03-18T09:13:07.280Z] Step 14/24 : WORKDIR / [2021-03-18T09:13:07.280Z] ---> Running in 778d66e38570 [2021-03-18T09:13:07.872Z] Removing intermediate container 778d66e38570 [2021-03-18T09:13:07.872Z] ---> 9ee8d1eac85e [2021-03-18T09:13:07.872Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-18T09:13:08.850Z] ---> eaeee1c814d3 [2021-03-18T09:13:08.850Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-18T09:13:09.447Z] ---> c061aa0cedf3 [2021-03-18T09:13:09.448Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-18T09:13:10.426Z] ---> 4c92da79bb0f [2021-03-18T09:13:10.426Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-18T09:13:11.021Z] ---> 997493735b7e [2021-03-18T09:13:11.021Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-18T09:13:11.613Z] ---> d33d09acd107 [2021-03-18T09:13:11.613Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-18T09:13:11.890Z] ---> Running in 9c8afc22b307 [2021-03-18T09:13:12.162Z] Removing intermediate container 9c8afc22b307 [2021-03-18T09:13:12.162Z] ---> 011eb61e1722 [2021-03-18T09:13:12.162Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-18T09:13:12.437Z] ---> Running in 6d1061ffe9c7 [2021-03-18T09:13:12.713Z] Removing intermediate container 6d1061ffe9c7 [2021-03-18T09:13:12.713Z] ---> d310f356f70f [2021-03-18T09:13:12.713Z] Step 22/24 : LABEL arch=arm64 [2021-03-18T09:13:12.985Z] ---> Running in 7651f8179611 [2021-03-18T09:13:13.258Z] Removing intermediate container 7651f8179611 [2021-03-18T09:13:13.258Z] ---> 58a02ea46555 [2021-03-18T09:13:13.258Z] Step 23/24 : LABEL git_sha=f2441cf37640eb727d641ecd71424c5462bf906c [2021-03-18T09:13:13.535Z] ---> Running in 0b79a7d3ad86 [2021-03-18T09:13:13.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-18T09:13:13.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-18T09:13:13.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-18T09:13:13.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-18T09:13:14.130Z] Removing intermediate container 0b79a7d3ad86 [2021-03-18T09:13:14.131Z] ---> e177fe4701ef [2021-03-18T09:13:14.131Z] Step 24/24 : LABEL version=0.0.0 [2021-03-18T09:13:14.131Z] ---> Running in f87aa225e29c [2021-03-18T09:13:14.724Z] Removing intermediate container f87aa225e29c [2021-03-18T09:13:14.724Z] ---> 5775b39709b5 [2021-03-18T09:13:14.724Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-18T09:13:14.724Z] Successfully built 5775b39709b5 [2021-03-18T09:13:14.724Z] 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-03-18T09:13:15.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.079s coverage: 25.5% of statements [2021-03-18T09:13:15.753Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.099s coverage: 81.2% of statements [2021-03-18T09:13:15.979Z] ---> job-cost.sh [2021-03-18T09:13:15.979Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gJLC [2021-03-18T09:13:42.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.064s coverage: 10.5% of statements [2021-03-18T09:13:42.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-18T09:13:42.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-18T09:13:42.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.218s coverage: 32.5% of statements [2021-03-18T09:13:42.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-18T09:13:42.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-18T09:13:42.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-18T09:13:42.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.402s coverage: 57.3% of statements [2021-03-18T09:13:42.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.082s coverage: 6.6% of statements [2021-03-18T09:13:42.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.176s coverage: 5.1% of statements [2021-03-18T09:13:42.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-18T09:13:43.084Z] GO111MODULE=on go vet ./... [2021-03-18T09:13:54.924Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-18T09:14:05.815Z] gofmt -l . [2021-03-18T09:14:05.815Z] [ "`gofmt -l .`" = "" ] [2021-03-18T09:14:06.126Z] ./bin/test-attribution-txt.sh [2021-03-18T09:14:08.246Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-18T09:14:09.408Z] $ docker stop --time=1 9e8a696e65e14eaafe12254c993369c92f4d33247b231e05fad61ed2799cb494 [2021-03-18T09:14:13.343Z] $ docker rm -f 9e8a696e65e14eaafe12254c993369c92f4d33247b231e05fad61ed2799cb494 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T09:14:14.615Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-18T09:14:14.665Z] Warning: overwriting stash ‘coverage-report’ [2021-03-18T09:14:15.457Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-18T09:14:16.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-18T09:14:16.802Z] + ls -al . [2021-03-18T09:14:16.802Z] total 184 [2021-03-18T09:14:16.802Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 18 09:14 . [2021-03-18T09:14:16.802Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 18 09:10 .. [2021-03-18T09:14:16.802Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 18 09:10 bin [2021-03-18T09:14:16.802Z] -rw-r--r--. 1 jenkins jenkins 100014 Mar 18 09:13 coverage.out [2021-03-18T09:14:16.802Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 18 09:10 Dockerfile.build [2021-03-18T09:14:16.802Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 18 09:10 .dockerignore [2021-03-18T09:14:16.802Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 18 09:10 example [2021-03-18T09:14:16.802Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 18 09:10 .git [2021-03-18T09:14:16.802Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 18 09:10 .github [2021-03-18T09:14:16.802Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 18 09:10 .gitignore [2021-03-18T09:14:16.802Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 18 09:14 go.mod [2021-03-18T09:14:16.802Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 18 09:14 go.sum [2021-03-18T09:14:16.802Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 18 09:10 internal [2021-03-18T09:14:16.802Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 18 09:10 Jenkinsfile [2021-03-18T09:14:16.802Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 18 09:10 LICENSE [2021-03-18T09:14:16.802Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 18 09:10 Makefile [2021-03-18T09:14:16.802Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 18 09:10 openapi [2021-03-18T09:14:16.802Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 18 09:10 pkg [2021-03-18T09:14:16.802Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 18 09:10 README.md [2021-03-18T09:14:16.802Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 18 09:10 RELEASE-NOTES.txt [2021-03-18T09:14:16.803Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 18 09:10 snap [2021-03-18T09:14:16.803Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 18 09:06 VERSION [2021-03-18T09:14:16.803Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 18 09:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-18T09:14:17.268Z] + 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=f2441cf37640eb727d641ecd71424c5462bf906c --label arch=amd64 --label version=0.0.0 . [2021-03-18T09:14:18.370Z] Sending build context to Docker daemon 2.378MB [2021-03-18T09:14:18.370Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T09:14:18.370Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-18T09:14:18.370Z] ---> 278180490e6b [2021-03-18T09:14:18.370Z] Step 3/24 : ARG MAKE='make build' [2021-03-18T09:14:18.702Z] ---> Running in 9639fda62016 [2021-03-18T09:14:19.316Z] Removing intermediate container 9639fda62016 [2021-03-18T09:14:19.316Z] ---> 474883526c4e [2021-03-18T09:14:19.316Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-18T09:14:19.316Z] ---> Running in 4d64070e12f7 [2021-03-18T09:14:19.626Z] Removing intermediate container 4d64070e12f7 [2021-03-18T09:14:19.626Z] ---> 12a9688c042b [2021-03-18T09:14:19.626Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-18T09:14:19.626Z] ---> Running in 654d4f1fc6d9 [2021-03-18T09:14:20.224Z] Removing intermediate container 654d4f1fc6d9 [2021-03-18T09:14:20.224Z] ---> 9cb220218998 [2021-03-18T09:14:20.224Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T09:14:20.224Z] ---> Running in 09a295810204 [2021-03-18T09:14:22.364Z] Removing intermediate container 09a295810204 [2021-03-18T09:14:22.364Z] ---> cf614846586c [2021-03-18T09:14:22.364Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-18T09:14:22.364Z] ---> Running in a6b5c7c3044f [2021-03-18T09:14:23.895Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-18T09:14:24.492Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-18T09:14:24.783Z] OK: 166 MiB in 39 packages [2021-03-18T09:14:25.372Z] Removing intermediate container a6b5c7c3044f [2021-03-18T09:14:25.372Z] ---> 494eb84d089e [2021-03-18T09:14:25.372Z] Step 8/24 : COPY . . [2021-03-18T09:14:26.834Z] ---> 5d780973a8d1 [2021-03-18T09:14:26.834Z] Step 9/24 : RUN ${MAKE} [2021-03-18T09:14:27.106Z] ---> Running in e2d838599314 [2021-03-18T09:14:28.660Z] CGO_ENABLED=0 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-03-18T09:14:44.060Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-18T09:14:47.485Z] Removing intermediate container e2d838599314 [2021-03-18T09:14:47.485Z] ---> c53f923ba154 [2021-03-18T09:14:47.485Z] Step 10/24 : FROM scratch [2021-03-18T09:14:47.485Z] ---> [2021-03-18T09:14:47.485Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-18T09:14:47.485Z] ---> Running in 29c488554137 [2021-03-18T09:14:47.485Z] Removing intermediate container 29c488554137 [2021-03-18T09:14:47.485Z] ---> a83afe04187b [2021-03-18T09:14:47.485Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-18T09:14:47.486Z] ---> Running in ffabff6e58df [2021-03-18T09:14:47.773Z] Removing intermediate container ffabff6e58df [2021-03-18T09:14:47.773Z] ---> b5ca7b205651 [2021-03-18T09:14:47.773Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-18T09:14:47.773Z] ---> Running in b43e605d5eae [2021-03-18T09:14:48.048Z] Removing intermediate container b43e605d5eae [2021-03-18T09:14:48.048Z] ---> 2a58689b557b [2021-03-18T09:14:48.048Z] Step 14/24 : WORKDIR / [2021-03-18T09:14:48.321Z] ---> Running in 62b081409ce9 [2021-03-18T09:14:48.587Z] Removing intermediate container 62b081409ce9 [2021-03-18T09:14:48.587Z] ---> 781a705acade [2021-03-18T09:14:48.587Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-18T09:14:49.578Z] ---> 6b22977807c7 [2021-03-18T09:14:49.578Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-18T09:14:50.164Z] ---> 4c367cc2c807 [2021-03-18T09:14:50.164Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-18T09:14:50.434Z] ---> 4e366bac729d [2021-03-18T09:14:50.434Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-18T09:14:50.701Z] ---> 1ccbf34ea6fb [2021-03-18T09:14:50.701Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-18T09:14:50.970Z] ---> b391568192a0 [2021-03-18T09:14:50.970Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-18T09:14:51.240Z] ---> Running in 730112d4519f [2021-03-18T09:14:51.515Z] Removing intermediate container 730112d4519f [2021-03-18T09:14:51.515Z] ---> bb459f0bb89a [2021-03-18T09:14:51.515Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-18T09:14:51.515Z] ---> Running in d95428a3ce38 [2021-03-18T09:14:51.790Z] Removing intermediate container d95428a3ce38 [2021-03-18T09:14:51.790Z] ---> 3c3d78a7cfe5 [2021-03-18T09:14:51.791Z] Step 22/24 : LABEL arch=amd64 [2021-03-18T09:14:52.075Z] ---> Running in 4d6a423f42c1 [2021-03-18T09:14:52.345Z] Removing intermediate container 4d6a423f42c1 [2021-03-18T09:14:52.345Z] ---> 738ac0a2499e [2021-03-18T09:14:52.345Z] Step 23/24 : LABEL git_sha=f2441cf37640eb727d641ecd71424c5462bf906c [2021-03-18T09:14:52.716Z] ---> Running in 9c067011dc97 [2021-03-18T09:14:53.383Z] Removing intermediate container 9c067011dc97 [2021-03-18T09:14:53.383Z] ---> 308a48842d3e [2021-03-18T09:14:53.383Z] Step 24/24 : LABEL version=0.0.0 [2021-03-18T09:14:53.787Z] ---> Running in 042d31917286 [2021-03-18T09:14:54.053Z] Removing intermediate container 042d31917286 [2021-03-18T09:14:54.053Z] ---> 6409132f708a [2021-03-18T09:14:54.053Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-18T09:14:54.053Z] Successfully built 6409132f708a [2021-03-18T09:14:54.320Z] 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-03-18T09:14:55.564Z] ---> job-cost.sh [2021-03-18T09:14:55.564Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qFmN [2021-03-18T09:15:16.635Z] lf-activate-venv(): INFO: Adding /tmp/venv-gJLC/bin to PATH [2021-03-18T09:15:16.635Z] INFO: No Stack... [2021-03-18T09:15:17.606Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-18T09:15:17.878Z] INFO: Archiving Costs [Pipeline] sh [2021-03-18T09:15:18.256Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-18T09:15:18.256Z] + cut -d, -f6 [Pipeline] lock [2021-03-18T09:15:18.412Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-824-1-stack-cost] [2021-03-18T09:15:18.419Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-824-1-stack-cost] did not exist. Created. [2021-03-18T09:15:18.419Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-824-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-18T09:15:19.015Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-18T09:15:19.210Z] Stashed 1 file(s) [Pipeline] } [2021-03-18T09:15:19.231Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-824-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-18T09:15:22.497Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-18T09:16:01.944Z] lf-activate-venv(): INFO: Adding /tmp/venv-qFmN/bin to PATH [2021-03-18T09:16:01.944Z] INFO: No Stack... [2021-03-18T09:16:02.547Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-18T09:16:03.515Z] INFO: Archiving Costs [Pipeline] sh [2021-03-18T09:16:03.867Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-18T09:16:03.867Z] + cut -d, -f6 [Pipeline] lock [2021-03-18T09:16:04.027Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-824-1-stack-cost] [2021-03-18T09:16:04.033Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-824-1-stack-cost] did not exist. Created. [2021-03-18T09:16:04.034Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-824-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-18T09:16:04.872Z] /w/workspace/device-sdk-go/1@tmp/durable-163ac98b/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-03-18T09:16:05.322Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-18T09:16:05.359Z] Warning: overwriting stash ‘stack-cost’ [2021-03-18T09:16:05.544Z] Stashed 1 file(s) [Pipeline] } [2021-03-18T09:16:05.576Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-824-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-03-18T09:16:07.515Z] provisioning config files... [2021-03-18T09:16:07.529Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp/config7669292835257725241tmp [Pipeline] { [Pipeline] sh [2021-03-18T09:16:07.966Z] + set +x [2021-03-18T09:16:07.966Z] + curl -s https://codecov.io/bash [2021-03-18T09:16:07.966Z] + bash -s -- [2021-03-18T09:16:08.229Z] [2021-03-18T09:16:08.229Z] _____ _ [2021-03-18T09:16:08.229Z] / ____| | | [2021-03-18T09:16:08.229Z] | | ___ __| | ___ ___ _____ __ [2021-03-18T09:16:08.229Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-18T09:16:08.229Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-18T09:16:08.229Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-18T09:16:08.229Z] Bash-20210309-2b87ace [2021-03-18T09:16:08.229Z] [2021-03-18T09:16:08.229Z] [2021-03-18T09:16:08.229Z] ==> git version 2.24.3 found [2021-03-18T09:16:08.229Z] ==> 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-03-18T09:16:08.229Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-18T09:16:08.229Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-18T09:16:08.229Z] ==> Jenkins CI detected. [2021-03-18T09:16:08.229Z] project root: . [2021-03-18T09:16:08.229Z] --> token set from env [2021-03-18T09:16:08.229Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-18T09:16:08.229Z] ==> Running gcov in . (disable via -X gcov) [2021-03-18T09:16:08.229Z] ==> Python coveragepy not found [2021-03-18T09:16:08.229Z] ==> Searching for coverage reports in: [2021-03-18T09:16:08.229Z] + . [2021-03-18T09:16:08.229Z] -> Found 1 reports [2021-03-18T09:16:08.229Z] ==> Detecting git/mercurial file structure [2021-03-18T09:16:08.229Z] ==> Reading reports [2021-03-18T09:16:08.229Z] + ./coverage.out bytes=100014 [2021-03-18T09:16:08.229Z] ==> Appending adjustments [2021-03-18T09:16:08.229Z] https://docs.codecov.io/docs/fixing-reports [2021-03-18T09:16:08.491Z] + Found adjustments [2021-03-18T09:16:08.491Z] ==> Gzipping contents [2021-03-18T09:16:08.491Z] 16K /tmp/codecov.Lyi0iB.gz [2021-03-18T09:16:08.491Z] ==> Uploading reports [2021-03-18T09:16:08.491Z] url: https://codecov.io [2021-03-18T09:16:08.491Z] query: branch=PR-824&commit=f2441cf37640eb727d641ecd71424c5462bf906c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-824%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=824&job=&cmd_args= [2021-03-18T09:16:08.491Z] -> Pinging Codecov [2021-03-18T09:16:08.491Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-824&commit=f2441cf37640eb727d641ecd71424c5462bf906c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-824%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=824&job=&cmd_args= [2021-03-18T09:16:09.068Z] -> Uploading to [2021-03-18T09:16:09.068Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-18/7E55EF52A471D76F132DFD9A03CDDE97/f2441cf37640eb727d641ecd71424c5462bf906c/d008bc2d-a973-49e3-9533-431e7ae0f538.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210318T091608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c73b0ebaddcce9fc013a4079510a2787c60a54006b23587cfed3968b0eed863 [2021-03-18T09:16:09.068Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-18T09:16:09.068Z] Dload Upload Total Spent Left Speed [2021-03-18T09:16:09.642Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13510 0 0 100 13510 0 32313 --:--:-- --:--:-- --:--:-- 32398 [2021-03-18T09:16:09.642Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f2441cf37640eb727d641ecd71424c5462bf906c [Pipeline] } [2021-03-18T09:16:09.676Z] 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-03-18T09:16:13.061Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T09:16:13.420Z] ---> package-listing.sh [2021-03-18T09:16:13.421Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-18T09:16:13.421Z] ++ facter osfamily [2021-03-18T09:16:13.421Z] + OS_FAMILY=redhat [2021-03-18T09:16:13.421Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-824 [2021-03-18T09:16:13.421Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-18T09:16:13.421Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-18T09:16:13.421Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-18T09:16:13.421Z] + PACKAGES=/tmp/packages_start.txt [2021-03-18T09:16:13.421Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-824 ']' [2021-03-18T09:16:13.421Z] + PACKAGES=/tmp/packages_end.txt [2021-03-18T09:16:13.421Z] + case "${OS_FAMILY}" in [2021-03-18T09:16:13.421Z] + rpm -qa [2021-03-18T09:16:13.421Z] + sort [2021-03-18T09:16:18.738Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-18T09:16:18.738Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-18T09:16:18.738Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-18T09:16:18.738Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-824 ']' [2021-03-18T09:16:18.738Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-824/archives/ [2021-03-18T09:16:18.738Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-824/archives/ [Pipeline] echo [2021-03-18T09:16:18.785Z] 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-824/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-18T09:16:20.559Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-18T09:16:20.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T09:16:20.907Z] [2021-03-18T09:16:20.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-18T09:16:21.305Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T09:16:21.305Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-18T09:16:21.305Z] df20fa9351a1: Pulling fs layer [2021-03-18T09:16:21.305Z] 36b3adc4ff6f: Pulling fs layer [2021-03-18T09:16:21.305Z] 8ad3a11d3b57: Pulling fs layer [2021-03-18T09:16:21.305Z] 46f8f816bc3b: Pulling fs layer [2021-03-18T09:16:21.305Z] 93b61091891f: Pulling fs layer [2021-03-18T09:16:21.305Z] 93b9cdb0e59b: Pulling fs layer [2021-03-18T09:16:21.305Z] 5e14af77c1be: Pulling fs layer [2021-03-18T09:16:21.305Z] 01666e4c0597: Pulling fs layer [2021-03-18T09:16:21.305Z] aa168da1d23b: Pulling fs layer [2021-03-18T09:16:21.305Z] 93b9cdb0e59b: Waiting [2021-03-18T09:16:21.305Z] 5e14af77c1be: Waiting [2021-03-18T09:16:21.305Z] 01666e4c0597: Waiting [2021-03-18T09:16:21.305Z] aa168da1d23b: Waiting [2021-03-18T09:16:21.305Z] 46f8f816bc3b: Waiting [2021-03-18T09:16:21.305Z] 93b61091891f: Waiting [2021-03-18T09:16:21.305Z] 36b3adc4ff6f: Download complete [2021-03-18T09:16:21.305Z] 46f8f816bc3b: Verifying Checksum [2021-03-18T09:16:21.305Z] 46f8f816bc3b: Download complete [2021-03-18T09:16:21.567Z] df20fa9351a1: Verifying Checksum [2021-03-18T09:16:21.567Z] df20fa9351a1: Download complete [2021-03-18T09:16:21.567Z] 93b9cdb0e59b: Verifying Checksum [2021-03-18T09:16:21.568Z] 93b9cdb0e59b: Download complete [2021-03-18T09:16:21.568Z] 93b61091891f: Download complete [2021-03-18T09:16:21.568Z] 5e14af77c1be: Verifying Checksum [2021-03-18T09:16:21.568Z] 5e14af77c1be: Download complete [2021-03-18T09:16:21.568Z] 01666e4c0597: Verifying Checksum [2021-03-18T09:16:21.568Z] 01666e4c0597: Download complete [2021-03-18T09:16:21.568Z] 8ad3a11d3b57: Verifying Checksum [2021-03-18T09:16:21.568Z] 8ad3a11d3b57: Download complete [2021-03-18T09:16:21.831Z] df20fa9351a1: Pull complete [2021-03-18T09:16:22.097Z] 36b3adc4ff6f: Pull complete [2021-03-18T09:16:22.675Z] 8ad3a11d3b57: Pull complete [2021-03-18T09:16:22.936Z] 46f8f816bc3b: Pull complete [2021-03-18T09:16:23.897Z] aa168da1d23b: Verifying Checksum [2021-03-18T09:16:23.897Z] aa168da1d23b: Download complete [2021-03-18T09:16:24.471Z] 93b61091891f: Pull complete [2021-03-18T09:16:24.731Z] 93b9cdb0e59b: Pull complete [2021-03-18T09:16:24.992Z] 5e14af77c1be: Pull complete [2021-03-18T09:16:24.993Z] 01666e4c0597: Pull complete [2021-03-18T09:16:33.151Z] aa168da1d23b: Pull complete [2021-03-18T09:16:33.151Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-18T09:16:33.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T09:16:33.151Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-18T09:16:33.330Z] prd-centos7-docker-4c-2g-30285 does not seem to be running inside a container [2021-03-18T09:16:33.372Z] $ 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-824/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-824 -v /w/workspace/dgexfoundry_device-sdk-go_PR-824:/w/workspace/dgexfoundry_device-sdk-go_PR-824:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-18T09:16:37.425Z] $ docker top ef401234871967b4b202d755308b516879e01b39b7fbf0cffcb9d2fab202b651 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T09:16:38.023Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-18T09:16:38.349Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-18T09:16:38.666Z] + ls /var/log/sa-host [2021-03-18T09:16:38.666Z] + sadf -c /var/log/sa-host/sa18 [2021-03-18T09:16:38.666Z] file_magic: OK [2021-03-18T09:16:38.666Z] HZ: Using current value: 100 [2021-03-18T09:16:38.666Z] file_header: OK [2021-03-18T09:16:38.666Z] 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-03-18T09:16:38.666Z] Statistics: [2021-03-18T09:16:38.666Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-18T09:16:38.666Z] File successfully converted to sysstat format version 12.2.1 [2021-03-18T09:16:38.666Z] + sadf -c /var/log/sa-host/sa23 [2021-03-18T09:16:38.666Z] file_magic: OK [2021-03-18T09:16:38.666Z] HZ: Using current value: 100 [2021-03-18T09:16:38.666Z] file_header: OK [2021-03-18T09:16:38.666Z] 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-03-18T09:16:38.666Z] Statistics: [2021-03-18T09:16:38.666Z] Hnuu...uuuununununu... [2021-03-18T09:16:38.666Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-18T09:16:39.357Z] provisioning config files... [2021-03-18T09:16:39.375Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp/config405297622716760677tmp [Pipeline] { [Pipeline] echo [2021-03-18T09:16:39.506Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T09:16:39.843Z] ---> create-netrc.sh [Pipeline] } [2021-03-18T09:16:39.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-18T09:16:40.063Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T09:16:40.396Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-18T09:16:40.433Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T09:16:40.758Z] ---> sudo-logs.sh [2021-03-18T09:16:40.759Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-18T09:16:40.879Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T09:16:41.209Z] ---> job-cost.sh [2021-03-18T09:16:41.209Z] lf-activate-venv: SKIPPING [2021-03-18T09:16:41.209Z] DEBUG: total: 0.029999999329447746 [2021-03-18T09:16:41.209Z] INFO: Retrieving Stack Cost... [2021-03-18T09:16:42.152Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-18T09:16:42.414Z] INFO: Archiving Costs [Pipeline] echo [2021-03-18T09:16:42.452Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T09:16:42.789Z] ---> logs-deploy.sh [2021-03-18T09:16:42.789Z] lf-activate-venv: SKIPPING [2021-03-18T09:16:42.789Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-824/1 [2021-03-18T09:16:42.789Z] INFO: archiving workspace using pattern(s): [2021-03-18T09:16:44.707Z] Archives upload complete. [2021-03-18T09:16:44.707Z] INFO: archiving logs to Nexus