Pull request #816 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 rather than afe37b68d0e09581a5b87c19efbb6e049d7ddff9 Obtained Jenkinsfile from 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-816/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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-816/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29616’ Running on prd-centos7-docker-4c-2g-29618 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [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-816 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit afe37b68d0e09581a5b87c19efbb6e049d7ddff9 Merge succeeded, producing afe37b68d0e09581a5b87c19efbb6e049d7ddff9 Checking out Revision afe37b68d0e09581a5b87c19efbb6e049d7ddff9 (PR-816) > git config core.sparsecheckout # timeout=10 > git checkout -f afe37b68d0e09581a5b87c19efbb6e049d7ddff9 # 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 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f afe37b68d0e09581a5b87c19efbb6e049d7ddff9 # timeout=10 Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-12T07:08:57.740Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-12T07:08:58.110Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-12T07:08:58.348Z] ========================================================= [2021-03-12T07:08:58.348Z] EdgeX Global Pipelines Version Info [2021-03-12T07:08:58.348Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:08:59.795Z] ------------------- [2021-03-12T07:08:59.795Z] stable info: [2021-03-12T07:08:59.795Z] ------------------- [2021-03-12T07:08:59.795Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-12T07:08:59.795Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-12T07:08:59.795Z] Message: update stable to v1.0.184 [2021-03-12T07:09:00.743Z] ------------------- [2021-03-12T07:09:00.743Z] experimental info: [2021-03-12T07:09:00.743Z] ------------------- [2021-03-12T07:09:00.743Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-12T07:09:00.743Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-12T07:09:00.743Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-12T07:09:01.208Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-12T07:09:01.335Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-12T07:09:01.522Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-12T07:09:01.659Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-12T07:09:01.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-12T07:09:01.925Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-12T07:09:02.058Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-12T07:09:02.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-12T07:09:02.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-12T07:09:02.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-12T07:09:02.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-12T07:09:02.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-12T07:09:03.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-12T07:09:03.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-12T07:09:03.359Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-12T07:09:03.496Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-12T07:09:03.642Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-12T07:09:03.771Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-12T07:09:03.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-12T07:09:04.038Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-12T07:09:04.171Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-12T07:09:04.313Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-12T07:09:04.488Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-12T07:09:04.616Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-12T07:09:04.753Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-12T07:09:04.943Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-12T07:09:05.074Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-816 [Pipeline] echo [2021-03-12T07:09:05.196Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-816 [Pipeline] echo [2021-03-12T07:09:05.322Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-816 [Pipeline] echo [2021-03-12T07:09:05.451Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = afe37b68d0e09581a5b87c19efbb6e049d7ddff9 [Pipeline] echo [2021-03-12T07:09:05.581Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = afe37b6 [Pipeline] echo [2021-03-12T07:09:05.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-12T07:09:05.990Z] provisioning config files... [2021-03-12T07:09:06.027Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config1181705821439875154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:09:06.458Z] ---> docker-login.sh [2021-03-12T07:09:06.458Z] nexus3.edgexfoundry.org:10001 [2021-03-12T07:09:06.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:09:06.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:09:06.992Z] Configure a credential helper to remove this warning. See [2021-03-12T07:09:06.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:09:06.992Z] [2021-03-12T07:09:06.992Z] Login Succeeded [2021-03-12T07:09:06.992Z] nexus3.edgexfoundry.org:10002 [2021-03-12T07:09:06.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:09:07.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:09:07.267Z] Configure a credential helper to remove this warning. See [2021-03-12T07:09:07.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:09:07.267Z] [2021-03-12T07:09:07.267Z] Login Succeeded [2021-03-12T07:09:07.267Z] nexus3.edgexfoundry.org:10003 [2021-03-12T07:09:07.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:09:07.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:09:07.534Z] Configure a credential helper to remove this warning. See [2021-03-12T07:09:07.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:09:07.534Z] [2021-03-12T07:09:07.534Z] Login Succeeded [2021-03-12T07:09:07.534Z] nexus3.edgexfoundry.org:10004 [2021-03-12T07:09:07.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:09:07.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:09:07.804Z] Configure a credential helper to remove this warning. See [2021-03-12T07:09:07.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:09:07.804Z] [2021-03-12T07:09:07.804Z] Login Succeeded [2021-03-12T07:09:07.804Z] docker.io [2021-03-12T07:09:07.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:09:08.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:09:08.072Z] Configure a credential helper to remove this warning. See [2021-03-12T07:09:08.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:09:08.072Z] [2021-03-12T07:09:08.072Z] Login Succeeded [2021-03-12T07:09:08.072Z] ---> docker-login.sh ends [Pipeline] } [2021-03-12T07:09:08.099Z] 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-12T07:09:09.216Z] + git log --format=format:%s -1 afe37b68d0e09581a5b87c19efbb6e049d7ddff9 [Pipeline] echo [2021-03-12T07:09:09.336Z] GIT_COMMIT: afe37b68d0e09581a5b87c19efbb6e049d7ddff9, Commit Message: feat: Upgrade core-contracts lib to use redesigned device profile [Pipeline] echo [2021-03-12T07:09:09.413Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:09:10.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-12T07:09:10.507Z] [2021-03-12T07:09:10.507Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:09:10.920Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-12T07:09:10.920Z] latest: Pulling from edgex-devops/git-semver [2021-03-12T07:09:10.920Z] 31603596830f: Pulling fs layer [2021-03-12T07:09:10.920Z] 2a8b12db71e7: Pulling fs layer [2021-03-12T07:09:10.920Z] 6ca5941a6612: Pulling fs layer [2021-03-12T07:09:10.920Z] ecc8261a40a4: Pulling fs layer [2021-03-12T07:09:10.920Z] ecc8261a40a4: Waiting [2021-03-12T07:09:10.920Z] 2a8b12db71e7: Verifying Checksum [2021-03-12T07:09:10.920Z] 2a8b12db71e7: Download complete [2021-03-12T07:09:11.194Z] 31603596830f: Verifying Checksum [2021-03-12T07:09:11.194Z] 31603596830f: Download complete [2021-03-12T07:09:11.194Z] ecc8261a40a4: Verifying Checksum [2021-03-12T07:09:11.194Z] ecc8261a40a4: Download complete [2021-03-12T07:09:11.468Z] 6ca5941a6612: Verifying Checksum [2021-03-12T07:09:11.468Z] 6ca5941a6612: Download complete [2021-03-12T07:09:11.468Z] 31603596830f: Pull complete [2021-03-12T07:09:11.746Z] 2a8b12db71e7: Pull complete [2021-03-12T07:09:12.717Z] 6ca5941a6612: Pull complete [2021-03-12T07:09:12.999Z] ecc8261a40a4: Pull complete [2021-03-12T07:09:12.999Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-12T07:09:12.999Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-12T07:09:12.999Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-12T07:09:13.220Z] prd-centos7-docker-4c-2g-29618 does not seem to be running inside a container [2021-03-12T07:09:13.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-816 -v /w/workspace/dgexfoundry_device-sdk-go_PR-816:/w/workspace/dgexfoundry_device-sdk-go_PR-816:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-816@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-12T07:09:15.751Z] $ docker top bba7fb54dc99524939e1b2c89edcb4685ed377e2ae2cec85eeb98382d459a74f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-12T07:09:16.267Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-12T07:09:16.267Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-12T07:09:16.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-12T07:09:16.534Z] $ docker exec bba7fb54dc99524939e1b2c89edcb4685ed377e2ae2cec85eeb98382d459a74f ssh-agent [2021-03-12T07:09:16.751Z] SSH_AUTH_SOCK=/tmp/ssh-arFzTBZBNFD3/agent.12 [2021-03-12T07:09:16.751Z] SSH_AGENT_PID=17 [2021-03-12T07:09:16.782Z] Running ssh-add (command line suppressed) [2021-03-12T07:09:16.916Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_548081834599637439.key (/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_548081834599637439.key) [2021-03-12T07:09:16.980Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-12T07:09:17.377Z] + git tag --points-at HEAD [Pipeline] } [2021-03-12T07:09:17.416Z] $ docker exec --env ******** --env ******** bba7fb54dc99524939e1b2c89edcb4685ed377e2ae2cec85eeb98382d459a74f ssh-agent -k [2021-03-12T07:09:17.538Z] unset SSH_AUTH_SOCK; [2021-03-12T07:09:17.539Z] unset SSH_AGENT_PID; [2021-03-12T07:09:17.539Z] echo Agent pid 17 killed; [2021-03-12T07:09:17.589Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-12T07:09:17.791Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-12T07:09:17.791Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-12T07:09:17.999Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-12T07:09:18.002Z] $ docker exec bba7fb54dc99524939e1b2c89edcb4685ed377e2ae2cec85eeb98382d459a74f ssh-agent [2021-03-12T07:09:18.202Z] SSH_AUTH_SOCK=/tmp/ssh-kzYo7bS8qbQQ/agent.46 [2021-03-12T07:09:18.203Z] SSH_AGENT_PID=51 [2021-03-12T07:09:18.210Z] Running ssh-add (command line suppressed) [2021-03-12T07:09:18.353Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_323716432185345221.key (/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_323716432185345221.key) [2021-03-12T07:09:18.411Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-12T07:09:18.802Z] + git semver init [2021-03-12T07:09:18.803Z] # -> Open(): unable to determine branch for HEAD [2021-03-12T07:09:18.803Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-816/.git [2021-03-12T07:09:18.803Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-816 [2021-03-12T07:09:18.803Z] # $SEMVER_REMOTE_NAME = origin [2021-03-12T07:09:18.803Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-12T07:09:18.803Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-12T07:09:18.803Z] # $SEMVER_BRANCH = PR-816 [2021-03-12T07:09:18.803Z] # $SEMVER_TEMP = /tmp/semver-165813025 [2021-03-12T07:09:18.803Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-12T07:09:19.756Z] # '/tmp/semver-165813025' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-816/.semver' [2021-03-12T07:09:19.756Z] # -> Force: false [2021-03-12T07:09:19.756Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-816/.semver [Pipeline] } [2021-03-12T07:09:19.777Z] $ docker exec --env ******** --env ******** bba7fb54dc99524939e1b2c89edcb4685ed377e2ae2cec85eeb98382d459a74f ssh-agent -k [2021-03-12T07:09:19.891Z] unset SSH_AUTH_SOCK; [2021-03-12T07:09:19.891Z] unset SSH_AGENT_PID; [2021-03-12T07:09:19.891Z] echo Agent pid 51 killed; [2021-03-12T07:09:19.945Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-12T07:09:20.582Z] + git semver [Pipeline] } [2021-03-12T07:09:20.613Z] $ docker stop --time=1 bba7fb54dc99524939e1b2c89edcb4685ed377e2ae2cec85eeb98382d459a74f [2021-03-12T07:09:22.000Z] $ docker rm -f bba7fb54dc99524939e1b2c89edcb4685ed377e2ae2cec85eeb98382d459a74f [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-12T07:09:22.557Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-12T07:09:23.024Z] Stashed 1 file(s) [Pipeline] echo [2021-03-12T07:09:23.046Z] [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-12T07:09:38.890Z] Still waiting to schedule task [2021-03-12T07:09:38.890Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-12T07:09:38.918Z] Still waiting to schedule task [2021-03-12T07:09:38.918Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-12T07:11:38.762Z] Running on prd-centos7-docker-4c-2g-29622 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] ws [2021-03-12T07:11:38.859Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-12T07:11:41.211Z] using credential edgex-jenkins-ssh [2021-03-12T07:11:41.268Z] Cloning the remote Git repository [2021-03-12T07:11:41.294Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T07:11:41.359Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-12T07:11:41.435Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T07:11:41.435Z] > git --version # timeout=10 [2021-03-12T07:11:41.442Z] > git --version # 'git version 2.24.3' [2021-03-12T07:11:41.442Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T07:11:41.476Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T07:11:42.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-12T07:11:42.195Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T07:11:42.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-12T07:11:42.221Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T07:11:42.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T07:11:42.226Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-12T07:11:42.726Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit afe37b68d0e09581a5b87c19efbb6e049d7ddff9 [2021-03-12T07:11:42.830Z] Merge succeeded, producing afe37b68d0e09581a5b87c19efbb6e049d7ddff9 [2021-03-12T07:11:42.830Z] Checking out Revision afe37b68d0e09581a5b87c19efbb6e049d7ddff9 (PR-816) [2021-03-12T07:11:42.734Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T07:11:42.743Z] > git checkout -f afe37b68d0e09581a5b87c19efbb6e049d7ddff9 # timeout=10 [2021-03-12T07:11:42.793Z] > git remote # timeout=10 [2021-03-12T07:11:42.802Z] > git config --get remote.origin.url # timeout=10 [2021-03-12T07:11:42.808Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T07:11:42.812Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-12T07:11:42.824Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-12T07:11:42.835Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T07:11:42.851Z] > git checkout -f afe37b68d0e09581a5b87c19efbb6e049d7ddff9 # timeout=10 [2021-03-12T07:11:46.515Z] Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile" [2021-03-12T07:11:46.540Z] > git --version # timeout=10 [2021-03-12T07:11:46.545Z] > git --version # 'git version 2.24.3' [2021-03-12T07:11:46.549Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-12T07:11:47.900Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-12T07:11:48.265Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-12T07:11:48.586Z] + sudo service docker restart [2021-03-12T07:11:48.586Z] + true [2021-03-12T07:11:48.586Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-12T07:11:49.664Z] provisioning config files... [2021-03-12T07:11:49.700Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5480671775081838028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:11:50.169Z] ---> docker-login.sh [2021-03-12T07:11:50.169Z] nexus3.edgexfoundry.org:10001 [2021-03-12T07:11:50.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:11:50.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:11:50.435Z] Configure a credential helper to remove this warning. See [2021-03-12T07:11:50.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:11:50.435Z] [2021-03-12T07:11:50.435Z] Login Succeeded [2021-03-12T07:11:50.435Z] nexus3.edgexfoundry.org:10002 [2021-03-12T07:11:50.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:11:50.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:11:50.707Z] Configure a credential helper to remove this warning. See [2021-03-12T07:11:50.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:11:50.707Z] [2021-03-12T07:11:50.707Z] Login Succeeded [2021-03-12T07:11:50.707Z] nexus3.edgexfoundry.org:10003 [2021-03-12T07:11:50.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:11:50.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:11:50.970Z] Configure a credential helper to remove this warning. See [2021-03-12T07:11:50.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:11:50.970Z] [2021-03-12T07:11:50.970Z] Login Succeeded [2021-03-12T07:11:50.970Z] nexus3.edgexfoundry.org:10004 [2021-03-12T07:11:50.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:11:51.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:11:51.236Z] Configure a credential helper to remove this warning. See [2021-03-12T07:11:51.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:11:51.236Z] [2021-03-12T07:11:51.236Z] Login Succeeded [2021-03-12T07:11:51.236Z] docker.io [2021-03-12T07:11:51.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:11:51.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:11:51.501Z] Configure a credential helper to remove this warning. See [2021-03-12T07:11:51.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:11:51.501Z] [2021-03-12T07:11:51.501Z] Login Succeeded [2021-03-12T07:11:51.501Z] ---> docker-login.sh ends [Pipeline] } [2021-03-12T07:11:51.526Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-12T07:11:52.064Z] ========================================================= [2021-03-12T07:11:52.064Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-12T07:11:52.064Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:11:52.487Z] + 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-12T07:11:52.758Z] Sending build context to Docker daemon 2.32MB [2021-03-12T07:11:52.758Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-12T07:11:52.758Z] Step 2/8 : FROM ${BASE} [2021-03-12T07:11:52.758Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-12T07:11:52.758Z] 188c0c94c7c5: Pulling fs layer [2021-03-12T07:11:52.758Z] 0ef7d3d256c8: Pulling fs layer [2021-03-12T07:11:52.759Z] de9db76c5a1d: Pulling fs layer [2021-03-12T07:11:52.759Z] bca2f99d35d6: Pulling fs layer [2021-03-12T07:11:52.759Z] 93359f2a8cfa: Pulling fs layer [2021-03-12T07:11:52.759Z] 7c6f9722023f: Pulling fs layer [2021-03-12T07:11:52.759Z] a35cf1a2eb13: Pulling fs layer [2021-03-12T07:11:52.759Z] 93359f2a8cfa: Waiting [2021-03-12T07:11:52.759Z] 7c6f9722023f: Waiting [2021-03-12T07:11:52.759Z] a35cf1a2eb13: Waiting [2021-03-12T07:11:52.759Z] bca2f99d35d6: Waiting [2021-03-12T07:11:52.759Z] de9db76c5a1d: Download complete [2021-03-12T07:11:52.759Z] 0ef7d3d256c8: Download complete [2021-03-12T07:11:52.759Z] 93359f2a8cfa: Download complete [2021-03-12T07:11:52.759Z] 7c6f9722023f: Verifying Checksum [2021-03-12T07:11:52.759Z] 7c6f9722023f: Download complete [2021-03-12T07:11:52.759Z] 188c0c94c7c5: Verifying Checksum [2021-03-12T07:11:52.759Z] 188c0c94c7c5: Download complete [2021-03-12T07:11:53.023Z] 188c0c94c7c5: Pull complete [2021-03-12T07:11:53.288Z] 0ef7d3d256c8: Pull complete [2021-03-12T07:11:53.558Z] de9db76c5a1d: Pull complete [2021-03-12T07:11:54.510Z] a35cf1a2eb13: Verifying Checksum [2021-03-12T07:11:54.510Z] a35cf1a2eb13: Download complete [2021-03-12T07:11:55.102Z] bca2f99d35d6: Verifying Checksum [2021-03-12T07:11:55.102Z] bca2f99d35d6: Download complete [2021-03-12T07:12:00.463Z] bca2f99d35d6: Pull complete [2021-03-12T07:12:00.463Z] 93359f2a8cfa: Pull complete [2021-03-12T07:12:00.463Z] 7c6f9722023f: Pull complete [2021-03-12T07:12:08.648Z] a35cf1a2eb13: Pull complete [2021-03-12T07:12:08.648Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-12T07:12:08.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-12T07:12:08.648Z] ---> a62c8e92a672 [2021-03-12T07:12:08.648Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T07:12:08.648Z] ---> Running in 8632d1add17f [2021-03-12T07:12:08.648Z] Removing intermediate container 8632d1add17f [2021-03-12T07:12:08.648Z] ---> 1a58b43b8317 [2021-03-12T07:12:08.648Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-12T07:12:08.648Z] ---> Running in 860cd77cdb4b [2021-03-12T07:12:08.922Z] Removing intermediate container 860cd77cdb4b [2021-03-12T07:12:08.922Z] ---> 939177035df1 [2021-03-12T07:12:08.922Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-12T07:12:08.922Z] ---> Running in efef254438f2 [2021-03-12T07:12:09.879Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-12T07:12:10.461Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-12T07:12:11.035Z] OK: 166 MiB in 39 packages [2021-03-12T07:12:11.615Z] Removing intermediate container efef254438f2 [2021-03-12T07:12:11.615Z] ---> cb61f2426cac [2021-03-12T07:12:11.615Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-12T07:12:11.615Z] ---> Running in 0cc8ec7caf6f [2021-03-12T07:12:11.878Z] Removing intermediate container 0cc8ec7caf6f [2021-03-12T07:12:11.878Z] ---> 819db17e1c78 [2021-03-12T07:12:11.878Z] Step 7/8 : COPY . . [2021-03-12T07:12:13.267Z] ---> 47f980b48f3b [2021-03-12T07:12:13.267Z] Step 8/8 : RUN go mod download [2021-03-12T07:12:13.267Z] ---> Running in 9c205857839b [2021-03-12T07:12:17.564Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29621 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] ws [2021-03-12T07:12:17.663Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-03-12T07:12:22.500Z] using credential edgex-jenkins-ssh [2021-03-12T07:12:22.570Z] Cloning the remote Git repository [2021-03-12T07:12:22.639Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T07:12:22.753Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-03-12T07:12:22.862Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T07:12:22.863Z] > git --version # timeout=10 [2021-03-12T07:12:22.883Z] > git --version # 'git version 2.17.1' [2021-03-12T07:12:22.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T07:12:22.947Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T07:12:24.884Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit afe37b68d0e09581a5b87c19efbb6e049d7ddff9 [2021-03-12T07:12:25.126Z] Merge succeeded, producing afe37b68d0e09581a5b87c19efbb6e049d7ddff9 [2021-03-12T07:12:25.127Z] Checking out Revision afe37b68d0e09581a5b87c19efbb6e049d7ddff9 (PR-816) [2021-03-12T07:12:24.130Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-12T07:12:24.158Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-12T07:12:24.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-12T07:12:24.242Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-12T07:12:24.243Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T07:12:24.254Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-12T07:12:24.907Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T07:12:24.927Z] > git checkout -f afe37b68d0e09581a5b87c19efbb6e049d7ddff9 # timeout=10 [2021-03-12T07:12:25.039Z] > git remote # timeout=10 [2021-03-12T07:12:25.063Z] > git config --get remote.origin.url # timeout=10 [2021-03-12T07:12:25.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-12T07:12:25.094Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-12T07:12:25.116Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-12T07:12:25.136Z] > git config core.sparsecheckout # timeout=10 [2021-03-12T07:12:25.151Z] > git checkout -f afe37b68d0e09581a5b87c19efbb6e049d7ddff9 # timeout=10 [2021-03-12T07:12:29.485Z] Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile" [2021-03-12T07:12:29.541Z] > git --version # timeout=10 [2021-03-12T07:12:29.550Z] > git --version # 'git version 2.17.1' [2021-03-12T07:12:29.560Z] fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-12T07:12:31.345Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-12T07:12:31.826Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-12T07:12:32.191Z] + sudo service docker restart [2021-03-12T07:12:32.191Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-12T07:12:34.963Z] provisioning config files... [2021-03-12T07:12:35.001Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1222769287961716635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:12:35.294Z] Removing intermediate container 9c205857839b [2021-03-12T07:12:35.294Z] ---> 1ad88f9af493 [2021-03-12T07:12:35.294Z] Successfully built 1ad88f9af493 [2021-03-12T07:12:35.294Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:12:35.626Z] ---> docker-login.sh [2021-03-12T07:12:35.627Z] nexus3.edgexfoundry.org:10001 [2021-03-12T07:12:35.773Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-12T07:12:36.036Z] . [Pipeline] withDockerContainer [2021-03-12T07:12:36.242Z] prd-centos7-docker-4c-2g-29622 does not seem to be running inside a container [2021-03-12T07:12:36.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-12T07:12:36.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:12:36.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:12:36.886Z] Configure a credential helper to remove this warning. See [2021-03-12T07:12:36.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:12:36.886Z] [2021-03-12T07:12:36.886Z] Login Succeeded [2021-03-12T07:12:36.886Z] nexus3.edgexfoundry.org:10002 [2021-03-12T07:12:37.165Z] $ docker top 864bc38de78efaf06a1176fe7f8b8d8807e343576dee7e5899978718c03cbd66 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T07:12:37.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:12:37.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:12:37.481Z] Configure a credential helper to remove this warning. See [2021-03-12T07:12:37.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:12:37.481Z] [2021-03-12T07:12:37.481Z] Login Succeeded [2021-03-12T07:12:37.481Z] nexus3.edgexfoundry.org:10003 [2021-03-12T07:12:37.754Z] + go version [2021-03-12T07:12:37.754Z] go version go1.15.5 linux/amd64 [2021-03-12T07:12:37.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [2021-03-12T07:12:37.795Z] $ docker stop --time=1 864bc38de78efaf06a1176fe7f8b8d8807e343576dee7e5899978718c03cbd66 [2021-03-12T07:12:38.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:12:38.047Z] Configure a credential helper to remove this warning. See [2021-03-12T07:12:38.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:12:38.047Z] [2021-03-12T07:12:38.047Z] Login Succeeded [2021-03-12T07:12:38.047Z] nexus3.edgexfoundry.org:10004 [2021-03-12T07:12:38.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:12:38.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:12:38.646Z] Configure a credential helper to remove this warning. See [2021-03-12T07:12:38.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:12:38.646Z] [2021-03-12T07:12:38.646Z] Login Succeeded [2021-03-12T07:12:38.646Z] docker.io [2021-03-12T07:12:38.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-12T07:12:39.168Z] $ docker rm -f 864bc38de78efaf06a1176fe7f8b8d8807e343576dee7e5899978718c03cbd66 [Pipeline] // withDockerContainer [Pipeline] } [2021-03-12T07:12:39.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-12T07:12:39.518Z] Configure a credential helper to remove this warning. See [2021-03-12T07:12:39.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-12T07:12:39.518Z] [2021-03-12T07:12:39.518Z] Login Succeeded [2021-03-12T07:12:39.518Z] ---> docker-login.sh ends [Pipeline] // script [Pipeline] } [Pipeline] } [2021-03-12T07:12:39.627Z] Deleting 1 temporary files [Pipeline] // stage [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] echo [2021-03-12T07:12:40.257Z] ========================================================= [2021-03-12T07:12:40.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-12T07:12:40.257Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:12:40.588Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-12T07:12:40.588Z] . [Pipeline] withDockerContainer [2021-03-12T07:12:40.746Z] prd-centos7-docker-4c-2g-29622 does not seem to be running inside a container [2021-03-12T07:12:40.777Z] + 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-12T07:12:40.801Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-12T07:12:41.052Z] Sending build context to Docker daemon 2.319MB [2021-03-12T07:12:41.329Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-12T07:12:41.329Z] Step 2/8 : FROM ${BASE} [2021-03-12T07:12:41.329Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-12T07:12:41.329Z] 5f621e34cdf4: Pulling fs layer [2021-03-12T07:12:41.329Z] a4357932f1b6: Pulling fs layer [2021-03-12T07:12:41.329Z] 18c013af1878: Pulling fs layer [2021-03-12T07:12:41.329Z] 00ac8860ef70: Pulling fs layer [2021-03-12T07:12:41.329Z] 63d7cb157983: Pulling fs layer [2021-03-12T07:12:41.329Z] b116817d02f9: Pulling fs layer [2021-03-12T07:12:41.329Z] 745a02a5169b: Pulling fs layer [2021-03-12T07:12:41.329Z] 00ac8860ef70: Waiting [2021-03-12T07:12:41.329Z] 63d7cb157983: Waiting [2021-03-12T07:12:41.329Z] b116817d02f9: Waiting [2021-03-12T07:12:41.329Z] 745a02a5169b: Waiting [2021-03-12T07:12:41.329Z] 18c013af1878: Verifying Checksum [2021-03-12T07:12:41.329Z] 18c013af1878: Download complete [2021-03-12T07:12:41.329Z] a4357932f1b6: Verifying Checksum [2021-03-12T07:12:41.329Z] a4357932f1b6: Download complete [2021-03-12T07:12:41.329Z] 63d7cb157983: Verifying Checksum [2021-03-12T07:12:41.329Z] 63d7cb157983: Download complete [2021-03-12T07:12:41.329Z] 5f621e34cdf4: Download complete [2021-03-12T07:12:41.329Z] b116817d02f9: Verifying Checksum [2021-03-12T07:12:41.329Z] b116817d02f9: Download complete [2021-03-12T07:12:41.422Z] $ docker top 770abd9f083353fd4320a07887b69a61c12061380e615832c03f517c565c1b05 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T07:12:42.039Z] + make test [2021-03-12T07:12:42.040Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-12T07:12:42.325Z] 5f621e34cdf4: Pull complete [2021-03-12T07:12:42.929Z] a4357932f1b6: Pull complete [2021-03-12T07:12:43.205Z] 18c013af1878: Pull complete [2021-03-12T07:12:43.484Z] 745a02a5169b: Verifying Checksum [2021-03-12T07:12:43.484Z] 745a02a5169b: Download complete [2021-03-12T07:12:44.924Z] 00ac8860ef70: Verifying Checksum [2021-03-12T07:12:44.924Z] 00ac8860ef70: Download complete [2021-03-12T07:12:50.244Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-12T07:12:55.114Z] 00ac8860ef70: Pull complete [2021-03-12T07:12:55.114Z] 63d7cb157983: Pull complete [2021-03-12T07:12:55.388Z] b116817d02f9: Pull complete [2021-03-12T07:12:59.711Z] 745a02a5169b: Pull complete [2021-03-12T07:12:59.711Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-12T07:12:59.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-12T07:12:59.711Z] ---> b7e6874047d6 [2021-03-12T07:12:59.711Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T07:13:02.350Z] ---> Running in 21ee82e23d98 [2021-03-12T07:13:02.625Z] Removing intermediate container 21ee82e23d98 [2021-03-12T07:13:02.625Z] ---> 2502700d5095 [2021-03-12T07:13:02.625Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-12T07:13:02.900Z] ---> Running in 4a0ac7a38077 [2021-03-12T07:13:05.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-12T07:13:05.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-12T07:13:05.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-12T07:13:05.543Z] Removing intermediate container 4a0ac7a38077 [2021-03-12T07:13:05.543Z] ---> dc8fbd870095 [2021-03-12T07:13:05.543Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-12T07:13:05.543Z] ---> Running in ccc6789bde19 [2021-03-12T07:13:05.880Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 25.5% of statements [2021-03-12T07:13:06.541Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-12T07:13:07.135Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-12T07:13:08.110Z] OK: 142 MiB in 39 packages [2021-03-12T07:13:09.088Z] Removing intermediate container ccc6789bde19 [2021-03-12T07:13:09.088Z] ---> f4ed9a926dd3 [2021-03-12T07:13:09.088Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-12T07:13:09.361Z] ---> Running in 5c4e5c04f106 [2021-03-12T07:13:09.964Z] Removing intermediate container 5c4e5c04f106 [2021-03-12T07:13:09.964Z] ---> 138ce0ea68b0 [2021-03-12T07:13:09.964Z] Step 7/8 : COPY . . [2021-03-12T07:13:11.406Z] ---> 0ecfafa6b706 [2021-03-12T07:13:11.406Z] Step 8/8 : RUN go mod download [2021-03-12T07:13:11.406Z] ---> Running in 1ec4c44819de [2021-03-12T07:13:38.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.061s coverage: 10.5% of statements [2021-03-12T07:13:38.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.049s coverage: 12.5% of statements [2021-03-12T07:13:38.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-12T07:13:38.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.063s coverage: 84.8% of statements [2021-03-12T07:13:38.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-12T07:13:38.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-12T07:13:38.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-12T07:13:38.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 47.6% of statements [2021-03-12T07:13:38.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-12T07:13:38.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.069s coverage: 81.2% of statements [2021-03-12T07:13:38.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.085s coverage: 24.8% of statements [2021-03-12T07:13:38.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.117s coverage: 6.4% of statements [2021-03-12T07:13:38.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.2% of statements [2021-03-12T07:13:38.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-12T07:13:38.063Z] GO111MODULE=on go vet ./... [2021-03-12T07:13:38.205Z] Removing intermediate container 1ec4c44819de [2021-03-12T07:13:38.205Z] ---> ece393d10859 [2021-03-12T07:13:38.205Z] Successfully built ece393d10859 [2021-03-12T07:13:38.205Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:13:38.584Z] + docker inspect -f . ci-base-image-arm64 [2021-03-12T07:13:38.584Z] . [Pipeline] withDockerContainer [2021-03-12T07:13:38.848Z] prd-ubuntu18.04-docker-arm64-4c-16g-29621 does not seem to be running inside a container [2021-03-12T07:13:38.941Z] $ 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-12T07:13:40.509Z] $ docker top 0b3d19f25892afca7dc7f0a0e5e710e7ae6f4bd547f765e81759aea95e18bcf9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T07:13:41.634Z] + go version [2021-03-12T07:13:41.634Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-12T07:13:41.673Z] $ docker stop --time=1 0b3d19f25892afca7dc7f0a0e5e710e7ae6f4bd547f765e81759aea95e18bcf9 [2021-03-12T07:13:43.599Z] $ docker rm -f 0b3d19f25892afca7dc7f0a0e5e710e7ae6f4bd547f765e81759aea95e18bcf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:13:44.866Z] + docker inspect -f . ci-base-image-arm64 [2021-03-12T07:13:44.866Z] . [Pipeline] withDockerContainer [2021-03-12T07:13:45.146Z] prd-ubuntu18.04-docker-arm64-4c-16g-29621 does not seem to be running inside a container [2021-03-12T07:13:45.229Z] $ 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-12T07:13:46.715Z] $ docker top 58e8e735aeabb23ba689c54597e8e1ea24b656e149ca22aace7e85394e5d20e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T07:13:47.808Z] + make test [2021-03-12T07:13:47.808Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-12T07:13:48.193Z] gofmt -l . [2021-03-12T07:13:48.193Z] [ "`gofmt -l .`" = "" ] [2021-03-12T07:13:48.193Z] ./bin/test-attribution-txt.sh [2021-03-12T07:13:48.193Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-12T07:13:48.491Z] $ docker stop --time=1 770abd9f083353fd4320a07887b69a61c12061380e615832c03f517c565c1b05 [2021-03-12T07:13:50.568Z] $ docker rm -f 770abd9f083353fd4320a07887b69a61c12061380e615832c03f517c565c1b05 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-12T07:13:51.293Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-12T07:13:51.708Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-12T07:13:55.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-12T07:13:56.266Z] + ls -al . [2021-03-12T07:13:56.266Z] total 184 [2021-03-12T07:13:56.266Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 12 07:13 . [2021-03-12T07:13:56.266Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 12 07:11 .. [2021-03-12T07:13:56.266Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 12 07:11 bin [2021-03-12T07:13:56.266Z] -rw-r--r--. 1 jenkins jenkins 102032 Mar 12 07:13 coverage.out [2021-03-12T07:13:56.266Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 12 07:11 Dockerfile.build [2021-03-12T07:13:56.266Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 12 07:11 .dockerignore [2021-03-12T07:13:56.266Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 12 07:11 example [2021-03-12T07:13:56.266Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 12 07:11 .git [2021-03-12T07:13:56.266Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 12 07:11 .github [2021-03-12T07:13:56.266Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 12 07:11 .gitignore [2021-03-12T07:13:56.266Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 12 07:13 go.mod [2021-03-12T07:13:56.266Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 12 07:13 go.sum [2021-03-12T07:13:56.266Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 12 07:11 internal [2021-03-12T07:13:56.266Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 12 07:11 Jenkinsfile [2021-03-12T07:13:56.266Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 12 07:11 LICENSE [2021-03-12T07:13:56.266Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 12 07:11 Makefile [2021-03-12T07:13:56.266Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 12 07:11 openapi [2021-03-12T07:13:56.266Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 12 07:11 pkg [2021-03-12T07:13:56.266Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 12 07:11 README.md [2021-03-12T07:13:56.266Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 12 07:11 RELEASE-NOTES.txt [2021-03-12T07:13:56.266Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 12 07:11 snap [2021-03-12T07:13:56.266Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 12 07:09 VERSION [2021-03-12T07:13:56.266Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 12 07:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:13:56.614Z] + 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=afe37b68d0e09581a5b87c19efbb6e049d7ddff9 --label arch=amd64 --label version=0.0.0 . [2021-03-12T07:13:56.880Z] Sending build context to Docker daemon 2.423MB [2021-03-12T07:13:56.880Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-12T07:13:56.880Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-12T07:13:56.880Z] ---> 1ad88f9af493 [2021-03-12T07:13:56.880Z] Step 3/24 : ARG MAKE='make build' [2021-03-12T07:13:57.461Z] ---> Running in 0e56c4cf7f33 [2021-03-12T07:13:57.723Z] Removing intermediate container 0e56c4cf7f33 [2021-03-12T07:13:57.723Z] ---> f9c044275c87 [2021-03-12T07:13:57.723Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-12T07:13:57.723Z] ---> Running in 27c792a57357 [2021-03-12T07:13:57.985Z] Removing intermediate container 27c792a57357 [2021-03-12T07:13:57.985Z] ---> 3f5111dd669b [2021-03-12T07:13:57.985Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T07:13:57.985Z] ---> Running in 863a625f3d09 [2021-03-12T07:13:57.985Z] Removing intermediate container 863a625f3d09 [2021-03-12T07:13:57.985Z] ---> 488723f2f685 [2021-03-12T07:13:57.985Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-12T07:13:58.248Z] ---> Running in 8ca8b88c16ac [2021-03-12T07:13:59.196Z] Removing intermediate container 8ca8b88c16ac [2021-03-12T07:13:59.196Z] ---> 0a443effe8b3 [2021-03-12T07:13:59.196Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-12T07:13:59.196Z] ---> Running in a932b624da8e [2021-03-12T07:13:59.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-12T07:14:00.349Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-12T07:14:00.927Z] OK: 166 MiB in 39 packages [2021-03-12T07:14:01.191Z] Removing intermediate container a932b624da8e [2021-03-12T07:14:01.191Z] ---> 6101ae9cd088 [2021-03-12T07:14:01.191Z] Step 8/24 : COPY . . [2021-03-12T07:14:02.149Z] ---> 33fb763a2ae8 [2021-03-12T07:14:02.149Z] Step 9/24 : RUN ${MAKE} [2021-03-12T07:14:02.416Z] ---> Running in b4c316d0aaa0 [2021-03-12T07:14:02.992Z] 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-12T07:14:10.486Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-12T07:14:13.108Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-12T07:14:13.685Z] Removing intermediate container b4c316d0aaa0 [2021-03-12T07:14:13.685Z] ---> c6572ccd6d3e [2021-03-12T07:14:13.685Z] Step 10/24 : FROM scratch [2021-03-12T07:14:13.685Z] ---> [2021-03-12T07:14:13.685Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T07:14:13.949Z] ---> Running in 4bf76c71556d [2021-03-12T07:14:13.949Z] Removing intermediate container 4bf76c71556d [2021-03-12T07:14:13.949Z] ---> 61d16e8ba4ad [2021-03-12T07:14:13.949Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-12T07:14:13.949Z] ---> Running in 83753525a418 [2021-03-12T07:14:14.213Z] Removing intermediate container 83753525a418 [2021-03-12T07:14:14.213Z] ---> e454e1cd5642 [2021-03-12T07:14:14.213Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-12T07:14:14.213Z] ---> Running in 65159f1bbf82 [2021-03-12T07:14:14.475Z] Removing intermediate container 65159f1bbf82 [2021-03-12T07:14:14.475Z] ---> c66b4038c380 [2021-03-12T07:14:14.475Z] Step 14/24 : WORKDIR / [2021-03-12T07:14:14.475Z] ---> Running in 4769b6f1608d [2021-03-12T07:14:14.737Z] Removing intermediate container 4769b6f1608d [2021-03-12T07:14:14.737Z] ---> ae88ba1eccfd [2021-03-12T07:14:14.737Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-12T07:14:14.998Z] ---> b176e21a9d29 [2021-03-12T07:14:14.998Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-12T07:14:15.265Z] ---> 522e5a0a2afe [2021-03-12T07:14:15.265Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-12T07:14:15.527Z] ---> ae03553680e5 [2021-03-12T07:14:15.527Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-12T07:14:15.797Z] ---> a751fa4b17ae [2021-03-12T07:14:15.797Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-12T07:14:16.059Z] ---> 02f179c427db [2021-03-12T07:14:16.059Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-12T07:14:16.059Z] ---> Running in bdab100faeee [2021-03-12T07:14:16.320Z] Removing intermediate container bdab100faeee [2021-03-12T07:14:16.320Z] ---> 38bab2097996 [2021-03-12T07:14:16.320Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-12T07:14:16.320Z] ---> Running in 6349dde2a7ae [2021-03-12T07:14:16.582Z] Removing intermediate container 6349dde2a7ae [2021-03-12T07:14:16.582Z] ---> 2b64ae6993f6 [2021-03-12T07:14:16.582Z] Step 22/24 : LABEL arch=amd64 [2021-03-12T07:14:16.582Z] ---> Running in 2c974efd5cc0 [2021-03-12T07:14:16.844Z] Removing intermediate container 2c974efd5cc0 [2021-03-12T07:14:16.844Z] ---> 2f622bb29494 [2021-03-12T07:14:16.844Z] Step 23/24 : LABEL git_sha=afe37b68d0e09581a5b87c19efbb6e049d7ddff9 [2021-03-12T07:14:16.844Z] ---> Running in 9b8cb60188c2 [2021-03-12T07:14:17.108Z] Removing intermediate container 9b8cb60188c2 [2021-03-12T07:14:17.108Z] ---> ef8d561a4887 [2021-03-12T07:14:17.108Z] Step 24/24 : LABEL version=0.0.0 [2021-03-12T07:14:17.108Z] ---> Running in 99bec3288420 [2021-03-12T07:14:17.108Z] Removing intermediate container 99bec3288420 [2021-03-12T07:14:17.108Z] ---> f955fc428d51 [2021-03-12T07:14:17.108Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-12T07:14:17.108Z] Successfully built f955fc428d51 [2021-03-12T07:14:17.372Z] 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-12T07:14:18.771Z] ---> job-cost.sh [2021-03-12T07:14:18.771Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-q2qH [2021-03-12T07:14:33.789Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-12T07:14:57.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-12T07:14:57.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-12T07:14:57.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-12T07:14:57.517Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.114s coverage: 25.5% of statements [2021-03-12T07:15:06.087Z] lf-activate-venv(): INFO: Adding /tmp/venv-q2qH/bin to PATH [2021-03-12T07:15:06.087Z] INFO: No Stack... [2021-03-12T07:15:06.087Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-12T07:15:06.087Z] INFO: Archiving Costs [Pipeline] sh [2021-03-12T07:15:06.422Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-12T07:15:06.422Z] + cut -d, -f6 [Pipeline] lock [2021-03-12T07:15:06.538Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-816-1-stack-cost] [2021-03-12T07:15:06.545Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-816-1-stack-cost] did not exist. Created. [2021-03-12T07:15:06.546Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-816-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-12T07:15:07.098Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-12T07:15:07.238Z] Stashed 1 file(s) [Pipeline] } [2021-03-12T07:15:07.259Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-816-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-12T07:15:24.372Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.134s coverage: 10.5% of statements [2021-03-12T07:15:24.372Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.103s coverage: 12.5% of statements [2021-03-12T07:15:24.372Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-12T07:15:24.372Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.142s coverage: 84.8% of statements [2021-03-12T07:15:24.372Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-12T07:15:24.372Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-12T07:15:24.372Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-12T07:15:24.372Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.178s coverage: 47.6% of statements [2021-03-12T07:15:24.372Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-12T07:15:24.372Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.166s coverage: 81.2% of statements [2021-03-12T07:15:24.372Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.165s coverage: 24.8% of statements [2021-03-12T07:15:24.372Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.804s coverage: 6.4% of statements [2021-03-12T07:15:24.372Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.132s coverage: 5.2% of statements [2021-03-12T07:15:24.372Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-12T07:15:24.372Z] GO111MODULE=on go vet ./... [2021-03-12T07:16:03.453Z] gofmt -l . [2021-03-12T07:16:03.453Z] [ "`gofmt -l .`" = "" ] [2021-03-12T07:16:03.453Z] ./bin/test-attribution-txt.sh [2021-03-12T07:16:03.453Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-12T07:16:03.493Z] $ docker stop --time=1 58e8e735aeabb23ba689c54597e8e1ea24b656e149ca22aace7e85394e5d20e8 [2021-03-12T07:16:05.753Z] $ docker rm -f 58e8e735aeabb23ba689c54597e8e1ea24b656e149ca22aace7e85394e5d20e8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-12T07:16:07.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-12T07:16:07.144Z] Warning: overwriting stash ‘coverage-report’ [2021-03-12T07:16:08.006Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-12T07:16:08.996Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-12T07:16:09.352Z] + ls -al . [2021-03-12T07:16:09.352Z] total 220 [2021-03-12T07:16:09.352Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:15 . [2021-03-12T07:16:09.352Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:12 .. [2021-03-12T07:16:09.352Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 07:12 .dockerignore [2021-03-12T07:16:09.352Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:12 .git [2021-03-12T07:16:09.352Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:12 .github [2021-03-12T07:16:09.352Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 12 07:12 .gitignore [2021-03-12T07:16:09.352Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 12 07:12 Dockerfile.build [2021-03-12T07:16:09.352Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 12 07:12 Jenkinsfile [2021-03-12T07:16:09.352Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 12 07:12 LICENSE [2021-03-12T07:16:09.352Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 12 07:12 Makefile [2021-03-12T07:16:09.352Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 12 07:12 README.md [2021-03-12T07:16:09.352Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 12 07:12 RELEASE-NOTES.txt [2021-03-12T07:16:09.352Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 07:09 VERSION [2021-03-12T07:16:09.352Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:12 bin [2021-03-12T07:16:09.352Z] -rw-r--r-- 1 jenkins jenkins 102032 Mar 12 07:15 coverage.out [2021-03-12T07:16:09.352Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:12 example [2021-03-12T07:16:09.352Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 12 07:15 go.mod [2021-03-12T07:16:09.352Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 12 07:15 go.sum [2021-03-12T07:16:09.352Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 12 07:12 internal [2021-03-12T07:16:09.352Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:12 openapi [2021-03-12T07:16:09.352Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 12 07:12 pkg [2021-03-12T07:16:09.352Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:12 snap [2021-03-12T07:16:09.352Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 12 07:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:16:09.742Z] + 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=afe37b68d0e09581a5b87c19efbb6e049d7ddff9 --label arch=arm64 --label version=0.0.0 . [2021-03-12T07:16:10.342Z] Sending build context to Docker daemon 2.422MB [2021-03-12T07:16:10.342Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-12T07:16:10.342Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-12T07:16:10.342Z] ---> ece393d10859 [2021-03-12T07:16:10.342Z] Step 3/24 : ARG MAKE='make build' [2021-03-12T07:16:10.618Z] ---> Running in 0e16c4c328f8 [2021-03-12T07:16:11.213Z] Removing intermediate container 0e16c4c328f8 [2021-03-12T07:16:11.213Z] ---> 409c1566aec1 [2021-03-12T07:16:11.213Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-12T07:16:11.213Z] ---> Running in 7ef00038038d [2021-03-12T07:16:11.809Z] Removing intermediate container 7ef00038038d [2021-03-12T07:16:11.809Z] ---> c6be15795fa0 [2021-03-12T07:16:11.809Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T07:16:11.809Z] ---> Running in eb9e3c836c91 [2021-03-12T07:16:12.404Z] Removing intermediate container eb9e3c836c91 [2021-03-12T07:16:12.404Z] ---> e848b51953ed [2021-03-12T07:16:12.404Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-12T07:16:12.404Z] ---> Running in 3ac3f3d29c60 [2021-03-12T07:16:15.021Z] Removing intermediate container 3ac3f3d29c60 [2021-03-12T07:16:15.021Z] ---> 61d402236d49 [2021-03-12T07:16:15.021Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-12T07:16:15.021Z] ---> Running in c36751a4c861 [2021-03-12T07:16:15.999Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-12T07:16:16.592Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-12T07:16:17.191Z] OK: 142 MiB in 39 packages [2021-03-12T07:16:18.626Z] Removing intermediate container c36751a4c861 [2021-03-12T07:16:18.626Z] ---> 73a20e5e6218 [2021-03-12T07:16:18.626Z] Step 8/24 : COPY . . [2021-03-12T07:16:20.068Z] ---> 68b8160f8c00 [2021-03-12T07:16:20.068Z] Step 9/24 : RUN ${MAKE} [2021-03-12T07:16:20.068Z] ---> Running in 080600772afd [2021-03-12T07:16:21.092Z] 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-12T07:16:47.946Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-12T07:16:49.376Z] Removing intermediate container 080600772afd [2021-03-12T07:16:49.376Z] ---> 31f659e84aca [2021-03-12T07:16:49.376Z] Step 10/24 : FROM scratch [2021-03-12T07:16:49.376Z] ---> [2021-03-12T07:16:49.376Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-12T07:16:49.376Z] ---> Running in 628fd5656a36 [2021-03-12T07:16:49.652Z] Removing intermediate container 628fd5656a36 [2021-03-12T07:16:49.652Z] ---> 3a49585bfeb1 [2021-03-12T07:16:49.652Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-12T07:16:49.652Z] ---> Running in 6ec6693d6742 [2021-03-12T07:16:50.256Z] Removing intermediate container 6ec6693d6742 [2021-03-12T07:16:50.256Z] ---> 2ff401dab94d [2021-03-12T07:16:50.256Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-12T07:16:50.256Z] ---> Running in 910b0b9f2857 [2021-03-12T07:16:50.853Z] Removing intermediate container 910b0b9f2857 [2021-03-12T07:16:50.853Z] ---> 9441b3c6e2a0 [2021-03-12T07:16:50.853Z] Step 14/24 : WORKDIR / [2021-03-12T07:16:50.853Z] ---> Running in 0582fc5898ab [2021-03-12T07:16:51.127Z] Removing intermediate container 0582fc5898ab [2021-03-12T07:16:51.127Z] ---> ca028d3d060f [2021-03-12T07:16:51.127Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-12T07:16:52.555Z] ---> 72f643806c34 [2021-03-12T07:16:52.555Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-12T07:16:53.147Z] ---> e544f0fbad4a [2021-03-12T07:16:53.147Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-12T07:16:53.743Z] ---> a90b4d6d59de [2021-03-12T07:16:53.743Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-12T07:16:54.346Z] ---> 6c647d7905b7 [2021-03-12T07:16:54.346Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-12T07:16:55.320Z] ---> b7a72780481d [2021-03-12T07:16:55.320Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-12T07:16:55.320Z] ---> Running in 265b8ee74221 [2021-03-12T07:16:55.919Z] Removing intermediate container 265b8ee74221 [2021-03-12T07:16:55.919Z] ---> 84949e05a58a [2021-03-12T07:16:55.919Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-12T07:16:55.919Z] ---> Running in 49c164dadea6 [2021-03-12T07:16:56.192Z] Removing intermediate container 49c164dadea6 [2021-03-12T07:16:56.192Z] ---> 590aef213683 [2021-03-12T07:16:56.192Z] Step 22/24 : LABEL arch=arm64 [2021-03-12T07:16:56.465Z] ---> Running in d7eb204e801a [2021-03-12T07:16:57.059Z] Removing intermediate container d7eb204e801a [2021-03-12T07:16:57.059Z] ---> 516e32e6e35e [2021-03-12T07:16:57.059Z] Step 23/24 : LABEL git_sha=afe37b68d0e09581a5b87c19efbb6e049d7ddff9 [2021-03-12T07:16:57.059Z] ---> Running in 2fb2d15c1c0c [2021-03-12T07:16:57.653Z] Removing intermediate container 2fb2d15c1c0c [2021-03-12T07:16:57.653Z] ---> 9c22b5757ae1 [2021-03-12T07:16:57.653Z] Step 24/24 : LABEL version=0.0.0 [2021-03-12T07:16:57.653Z] ---> Running in 2f3e3c5a30d1 [2021-03-12T07:16:58.247Z] Removing intermediate container 2f3e3c5a30d1 [2021-03-12T07:16:58.247Z] ---> e9dcd79040f8 [2021-03-12T07:16:58.247Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-12T07:16:58.247Z] Successfully built e9dcd79040f8 [2021-03-12T07:16:58.247Z] 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-12T07:16:59.400Z] ---> job-cost.sh [2021-03-12T07:16:59.400Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tLxB [2021-03-12T07:17:38.366Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-12T07:19:15.118Z] lf-activate-venv(): INFO: Adding /tmp/venv-tLxB/bin to PATH [2021-03-12T07:19:15.118Z] INFO: No Stack... [2021-03-12T07:19:15.118Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-12T07:19:15.118Z] INFO: Archiving Costs [Pipeline] sh [2021-03-12T07:19:15.486Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-03-12T07:19:15.486Z] + cut -d, -f6 [Pipeline] lock [2021-03-12T07:19:15.637Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-816-1-stack-cost] [2021-03-12T07:19:15.644Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-816-1-stack-cost] did not exist. Created. [2021-03-12T07:19:15.644Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-816-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-12T07:19:16.251Z] /w/workspace/device-sdk-go/1@tmp/durable-03b1840e/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-03b1840e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-12T07:19:16.624Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-12T07:19:16.665Z] Warning: overwriting stash ‘stack-cost’ [2021-03-12T07:19:16.820Z] Stashed 1 file(s) [Pipeline] } [2021-03-12T07:19:16.842Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-816-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-12T07:19:19.039Z] provisioning config files... [2021-03-12T07:19:19.052Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config5520575323794332216tmp [Pipeline] { [Pipeline] sh [2021-03-12T07:19:19.493Z] + set +x [2021-03-12T07:19:19.493Z] + curl -s https://codecov.io/bash [2021-03-12T07:19:19.493Z] + bash -s -- [2021-03-12T07:19:19.756Z] [2021-03-12T07:19:19.756Z] _____ _ [2021-03-12T07:19:19.756Z] / ____| | | [2021-03-12T07:19:19.756Z] | | ___ __| | ___ ___ _____ __ [2021-03-12T07:19:19.756Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-12T07:19:19.756Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-12T07:19:19.756Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-12T07:19:19.756Z] Bash-20210309-2b87ace [2021-03-12T07:19:19.756Z] [2021-03-12T07:19:19.756Z] [2021-03-12T07:19:19.756Z] ==> git version 2.24.3 found [2021-03-12T07:19:19.756Z] ==> 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-12T07:19:19.756Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-12T07:19:19.756Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-12T07:19:19.756Z] ==> Jenkins CI detected. [2021-03-12T07:19:19.756Z] project root: . [2021-03-12T07:19:19.756Z] --> token set from env [2021-03-12T07:19:19.756Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-12T07:19:19.756Z] ==> Running gcov in . (disable via -X gcov) [2021-03-12T07:19:19.756Z] ==> Python coveragepy not found [2021-03-12T07:19:19.756Z] ==> Searching for coverage reports in: [2021-03-12T07:19:19.756Z] + . [2021-03-12T07:19:19.756Z] -> Found 1 reports [2021-03-12T07:19:19.756Z] ==> Detecting git/mercurial file structure [2021-03-12T07:19:19.756Z] ==> Reading reports [2021-03-12T07:19:19.756Z] + ./coverage.out bytes=102032 [2021-03-12T07:19:19.756Z] ==> Appending adjustments [2021-03-12T07:19:19.756Z] https://docs.codecov.io/docs/fixing-reports [2021-03-12T07:19:20.334Z] + Found adjustments [2021-03-12T07:19:20.334Z] ==> Gzipping contents [2021-03-12T07:19:20.334Z] 16K /tmp/codecov.GloFeA.gz [2021-03-12T07:19:20.334Z] ==> Uploading reports [2021-03-12T07:19:20.334Z] url: https://codecov.io [2021-03-12T07:19:20.334Z] query: branch=PR-816&commit=afe37b68d0e09581a5b87c19efbb6e049d7ddff9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-816%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=816&job=&cmd_args= [2021-03-12T07:19:20.334Z] -> Pinging Codecov [2021-03-12T07:19:20.334Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-816&commit=afe37b68d0e09581a5b87c19efbb6e049d7ddff9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-816%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=816&job=&cmd_args= [2021-03-12T07:19:21.283Z] -> Uploading to [2021-03-12T07:19:21.283Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-12/7E55EF52A471D76F132DFD9A03CDDE97/afe37b68d0e09581a5b87c19efbb6e049d7ddff9/865638e7-a21d-42d6-acc4-e7d0bfcb088c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210312%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210312T071920Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d4b58b8b9fab3a6f62cc72d88e3f8410f2f0b4b47dc2fa41ced18cedc9fa1c14 [2021-03-12T07:19:21.283Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-12T07:19:21.283Z] Dload Upload Total Spent Left Speed [2021-03-12T07:19:21.546Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15136 0 0 100 15136 0 30208 --:--:-- --:--:-- --:--:-- 30272 [2021-03-12T07:19:21.546Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/afe37b68d0e09581a5b87c19efbb6e049d7ddff9 [Pipeline] } [2021-03-12T07:19:21.573Z] 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-12T07:19:25.145Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:19:25.488Z] ---> package-listing.sh [2021-03-12T07:19:25.488Z] ++ facter osfamily [2021-03-12T07:19:25.488Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-12T07:19:25.488Z] + OS_FAMILY=redhat [2021-03-12T07:19:25.488Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-816 [2021-03-12T07:19:25.488Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-12T07:19:25.488Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-12T07:19:25.488Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-12T07:19:25.488Z] + PACKAGES=/tmp/packages_start.txt [2021-03-12T07:19:25.488Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-816 ']' [2021-03-12T07:19:25.488Z] + PACKAGES=/tmp/packages_end.txt [2021-03-12T07:19:25.488Z] + case "${OS_FAMILY}" in [2021-03-12T07:19:25.488Z] + rpm -qa [2021-03-12T07:19:25.488Z] + sort [2021-03-12T07:19:30.813Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-12T07:19:30.813Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-12T07:19:30.813Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-12T07:19:30.813Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-816 ']' [2021-03-12T07:19:30.813Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-816/archives/ [2021-03-12T07:19:30.813Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-816/archives/ [Pipeline] echo [2021-03-12T07:19:30.852Z] 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-816/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-12T07:19:31.173Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:19:31.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-12T07:19:31.524Z] [2021-03-12T07:19:31.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-12T07:19:31.942Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-12T07:19:31.942Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-12T07:19:31.942Z] df20fa9351a1: Pulling fs layer [2021-03-12T07:19:31.942Z] 36b3adc4ff6f: Pulling fs layer [2021-03-12T07:19:31.942Z] 8ad3a11d3b57: Pulling fs layer [2021-03-12T07:19:31.942Z] 46f8f816bc3b: Pulling fs layer [2021-03-12T07:19:31.942Z] 93b61091891f: Pulling fs layer [2021-03-12T07:19:31.942Z] 93b9cdb0e59b: Pulling fs layer [2021-03-12T07:19:31.942Z] 5e14af77c1be: Pulling fs layer [2021-03-12T07:19:31.942Z] 01666e4c0597: Pulling fs layer [2021-03-12T07:19:31.942Z] aa168da1d23b: Pulling fs layer [2021-03-12T07:19:31.942Z] 46f8f816bc3b: Waiting [2021-03-12T07:19:31.942Z] 93b61091891f: Waiting [2021-03-12T07:19:31.942Z] 93b9cdb0e59b: Waiting [2021-03-12T07:19:31.942Z] 5e14af77c1be: Waiting [2021-03-12T07:19:31.942Z] 01666e4c0597: Waiting [2021-03-12T07:19:31.942Z] aa168da1d23b: Waiting [2021-03-12T07:19:31.942Z] 36b3adc4ff6f: Download complete [2021-03-12T07:19:31.942Z] 46f8f816bc3b: Verifying Checksum [2021-03-12T07:19:31.942Z] 46f8f816bc3b: Download complete [2021-03-12T07:19:31.942Z] df20fa9351a1: Verifying Checksum [2021-03-12T07:19:32.207Z] 93b9cdb0e59b: Verifying Checksum [2021-03-12T07:19:32.207Z] 93b9cdb0e59b: Download complete [2021-03-12T07:19:32.207Z] 5e14af77c1be: Verifying Checksum [2021-03-12T07:19:32.207Z] 5e14af77c1be: Download complete [2021-03-12T07:19:32.207Z] 01666e4c0597: Verifying Checksum [2021-03-12T07:19:32.207Z] 01666e4c0597: Download complete [2021-03-12T07:19:32.207Z] 93b61091891f: Verifying Checksum [2021-03-12T07:19:32.207Z] 93b61091891f: Download complete [2021-03-12T07:19:32.207Z] 8ad3a11d3b57: Verifying Checksum [2021-03-12T07:19:32.207Z] 8ad3a11d3b57: Download complete [2021-03-12T07:19:32.471Z] df20fa9351a1: Pull complete [2021-03-12T07:19:32.736Z] 36b3adc4ff6f: Pull complete [2021-03-12T07:19:33.688Z] 8ad3a11d3b57: Pull complete [2021-03-12T07:19:33.951Z] 46f8f816bc3b: Pull complete [2021-03-12T07:19:34.533Z] aa168da1d23b: Verifying Checksum [2021-03-12T07:19:34.533Z] aa168da1d23b: Download complete [2021-03-12T07:19:34.533Z] 93b61091891f: Pull complete [2021-03-12T07:19:34.799Z] 93b9cdb0e59b: Pull complete [2021-03-12T07:19:34.799Z] 5e14af77c1be: Pull complete [2021-03-12T07:19:34.799Z] 01666e4c0597: Pull complete [2021-03-12T07:19:41.434Z] aa168da1d23b: Pull complete [2021-03-12T07:19:41.434Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-12T07:19:41.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-12T07:19:41.434Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-12T07:19:41.647Z] prd-centos7-docker-4c-2g-29618 does not seem to be running inside a container [2021-03-12T07:19:41.701Z] $ 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-816/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-816 -v /w/workspace/dgexfoundry_device-sdk-go_PR-816:/w/workspace/dgexfoundry_device-sdk-go_PR-816:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-816@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-12T07:19:45.085Z] $ docker top 2d8172719cd51ed9204b386ccc9847e018aad7b49dce38752fc0e35fb4175c4a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-12T07:19:45.661Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-12T07:19:45.987Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-12T07:19:46.310Z] + ls /var/log/sa-host [2021-03-12T07:19:46.310Z] + sadf -c /var/log/sa-host/sa12 [2021-03-12T07:19:46.310Z] file_magic: OK [2021-03-12T07:19:46.310Z] HZ: Using current value: 100 [2021-03-12T07:19:46.310Z] file_header: OK [2021-03-12T07:19:46.310Z] 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-12T07:19:46.310Z] Statistics: [2021-03-12T07:19:46.310Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-12T07:19:46.310Z] File successfully converted to sysstat format version 12.2.1 [2021-03-12T07:19:46.310Z] + sadf -c /var/log/sa-host/sa23 [2021-03-12T07:19:46.310Z] file_magic: OK [2021-03-12T07:19:46.310Z] HZ: Using current value: 100 [2021-03-12T07:19:46.310Z] file_header: OK [2021-03-12T07:19:46.310Z] 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-12T07:19:46.310Z] Statistics: [2021-03-12T07:19:46.310Z] Hnuu...uuuununununu... [2021-03-12T07:19:46.310Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-12T07:19:47.070Z] provisioning config files... [2021-03-12T07:19:47.086Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config7812764051550321428tmp [Pipeline] { [Pipeline] echo [2021-03-12T07:19:47.216Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:19:47.560Z] ---> create-netrc.sh [Pipeline] } [2021-03-12T07:19:47.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-12T07:19:47.730Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:19:48.078Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-12T07:19:48.109Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:19:48.460Z] ---> sudo-logs.sh [2021-03-12T07:19:48.460Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-12T07:19:48.583Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:19:48.927Z] ---> job-cost.sh [2021-03-12T07:19:48.928Z] lf-activate-venv: SKIPPING [2021-03-12T07:19:48.928Z] DEBUG: total: 0.20999999344348907 [2021-03-12T07:19:48.928Z] INFO: Retrieving Stack Cost... [2021-03-12T07:19:49.502Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-12T07:19:50.075Z] INFO: Archiving Costs [Pipeline] echo [2021-03-12T07:19:50.117Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-12T07:19:50.464Z] ---> logs-deploy.sh [2021-03-12T07:19:50.465Z] lf-activate-venv: SKIPPING [2021-03-12T07:19:50.465Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-816/1 [2021-03-12T07:19:50.465Z] INFO: archiving workspace using pattern(s): [2021-03-12T07:19:52.394Z] Archives upload complete. [2021-03-12T07:19:52.394Z] INFO: archiving logs to Nexus