Pull request #656 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ddd40b9f98c115ab6261d98e9aa02185be072950+34e320ac99befae92f8b4aae2047dc1351ba020b (14f6691c8179dfec84fe92936464c72a68c82a84) 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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-656/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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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-656/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-13250 in /w/workspace/dgexfoundry_device-sdk-go_PR-656 [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-656 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit ddd40b9f98c115ab6261d98e9aa02185be072950 > 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 --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/656/head:refs/remotes/origin/PR-656 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing ddd40b9f98c115ab6261d98e9aa02185be072950 Checking out Revision ddd40b9f98c115ab6261d98e9aa02185be072950 (PR-656) > git config core.sparsecheckout # timeout=10 > git checkout -f ddd40b9f98c115ab6261d98e9aa02185be072950 # 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 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ddd40b9f98c115ab6261d98e9aa02185be072950 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-23T07:19:13.957Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-23T07:19:14.381Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-23T07:19:14.580Z] ========================================================= [2020-11-23T07:19:14.580Z] EdgeX Global Pipelines Version Info [2020-11-23T07:19:14.580Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-23T07:19:16.189Z] ------------------- [2020-11-23T07:19:16.189Z] stable info: [2020-11-23T07:19:16.189Z] ------------------- [2020-11-23T07:19:16.189Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-23T07:19:16.189Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-23T07:19:16.189Z] Message: update stable to v1.0.167 [2020-11-23T07:19:17.138Z] ------------------- [2020-11-23T07:19:17.138Z] experimental info: [2020-11-23T07:19:17.138Z] ------------------- [2020-11-23T07:19:17.138Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-23T07:19:17.138Z] Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a [2020-11-23T07:19:17.138Z] Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-23T07:19:17.752Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-11-23T07:19:17.906Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-11-23T07:19:18.046Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-23T07:19:18.184Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-23T07:19:18.358Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-23T07:19:18.507Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-23T07:19:18.645Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-23T07:19:18.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-23T07:19:18.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-11-23T07:19:19.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-23T07:19:19.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-23T07:19:19.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-11-23T07:19:19.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-23T07:19:19.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-23T07:19:19.843Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-23T07:19:19.972Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-11-23T07:19:20.118Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-23T07:19:20.341Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-23T07:19:20.500Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-23T07:19:20.669Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-23T07:19:20.796Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-11-23T07:19:20.921Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-11-23T07:19:21.049Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-23T07:19:21.178Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-23T07:19:21.330Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-23T07:19:21.460Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-23T07:19:21.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-656 [Pipeline] echo [2020-11-23T07:19:21.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-656 [Pipeline] echo [2020-11-23T07:19:21.884Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-656 [Pipeline] echo [2020-11-23T07:19:22.011Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ddd40b9f98c115ab6261d98e9aa02185be072950 [Pipeline] echo [2020-11-23T07:19:22.176Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ddd40b9 [Pipeline] echo [2020-11-23T07:19:22.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-23T07:19:22.587Z] provisioning config files... [2020-11-23T07:19:22.624Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp/config659747816366028019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-23T07:19:23.095Z] ---> docker-login.sh [2020-11-23T07:19:23.095Z] nexus3.edgexfoundry.org:10001 [2020-11-23T07:19:23.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:19:23.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:19:23.622Z] Configure a credential helper to remove this warning. See [2020-11-23T07:19:23.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:19:23.622Z] [2020-11-23T07:19:23.622Z] Login Succeeded [2020-11-23T07:19:23.622Z] nexus3.edgexfoundry.org:10002 [2020-11-23T07:19:23.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:19:23.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:19:23.622Z] Configure a credential helper to remove this warning. See [2020-11-23T07:19:23.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:19:23.622Z] [2020-11-23T07:19:23.622Z] Login Succeeded [2020-11-23T07:19:23.622Z] nexus3.edgexfoundry.org:10003 [2020-11-23T07:19:23.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:19:23.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:19:23.886Z] Configure a credential helper to remove this warning. See [2020-11-23T07:19:23.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:19:23.886Z] [2020-11-23T07:19:23.886Z] Login Succeeded [2020-11-23T07:19:23.886Z] nexus3.edgexfoundry.org:10004 [2020-11-23T07:19:24.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:19:24.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:19:24.150Z] Configure a credential helper to remove this warning. See [2020-11-23T07:19:24.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:19:24.150Z] [2020-11-23T07:19:24.150Z] Login Succeeded [2020-11-23T07:19:24.150Z] docker.io [2020-11-23T07:19:24.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:19:24.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:19:24.412Z] Configure a credential helper to remove this warning. See [2020-11-23T07:19:24.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:19:24.412Z] [2020-11-23T07:19:24.412Z] Login Succeeded [2020-11-23T07:19:24.412Z] ---> docker-login.sh ends [Pipeline] } [2020-11-23T07:19:24.438Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-23T07:19:25.418Z] + git log --format=format:%s -1 ddd40b9f98c115ab6261d98e9aa02185be072950 [Pipeline] echo [2020-11-23T07:19:25.513Z] GIT_COMMIT: ddd40b9f98c115ab6261d98e9aa02185be072950, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-11-23T07:19:25.587Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-23T07:19:26.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-23T07:19:26.759Z] [2020-11-23T07:19:26.759Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-23T07:19:27.159Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-23T07:19:27.159Z] latest: Pulling from edgex-devops/git-semver [2020-11-23T07:19:27.159Z] 31603596830f: Pulling fs layer [2020-11-23T07:19:27.159Z] 2a8b12db71e7: Pulling fs layer [2020-11-23T07:19:27.159Z] 6ca5941a6612: Pulling fs layer [2020-11-23T07:19:27.159Z] ecc8261a40a4: Pulling fs layer [2020-11-23T07:19:27.159Z] ecc8261a40a4: Waiting [2020-11-23T07:19:27.159Z] 2a8b12db71e7: Verifying Checksum [2020-11-23T07:19:27.159Z] 2a8b12db71e7: Download complete [2020-11-23T07:19:27.159Z] 31603596830f: Verifying Checksum [2020-11-23T07:19:27.159Z] 31603596830f: Download complete [2020-11-23T07:19:27.428Z] ecc8261a40a4: Verifying Checksum [2020-11-23T07:19:27.428Z] ecc8261a40a4: Download complete [2020-11-23T07:19:27.428Z] 6ca5941a6612: Verifying Checksum [2020-11-23T07:19:27.428Z] 6ca5941a6612: Download complete [2020-11-23T07:19:27.695Z] 31603596830f: Pull complete [2020-11-23T07:19:27.695Z] 2a8b12db71e7: Pull complete [2020-11-23T07:19:28.652Z] 6ca5941a6612: Pull complete [2020-11-23T07:19:28.915Z] ecc8261a40a4: Pull complete [2020-11-23T07:19:28.915Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-23T07:19:28.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-23T07:19:28.915Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-23T07:19:29.053Z] prd-centos7-docker-4c-2g-13250 does not seem to be running inside a container [2020-11-23T07:19:29.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-656 -v /w/workspace/dgexfoundry_device-sdk-go_PR-656:/w/workspace/dgexfoundry_device-sdk-go_PR-656:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-656@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-23T07:19:31.641Z] $ docker top fc58de8f384d9d2c94aaa3ab8312450369f1f4285d63ec115ab1c5f0929ebb72 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-23T07:19:32.079Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-23T07:19:32.079Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-23T07:19:32.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-23T07:19:32.325Z] $ docker exec fc58de8f384d9d2c94aaa3ab8312450369f1f4285d63ec115ab1c5f0929ebb72 ssh-agent [2020-11-23T07:19:32.483Z] SSH_AUTH_SOCK=/tmp/ssh-9ZtPPtLy0FqC/agent.11 [2020-11-23T07:19:32.483Z] SSH_AGENT_PID=16 [2020-11-23T07:19:32.495Z] Running ssh-add (command line suppressed) [2020-11-23T07:19:32.625Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp/private_key_53127408401850455.key (/w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp/private_key_53127408401850455.key) [2020-11-23T07:19:32.671Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-23T07:19:33.062Z] + git tag --points-at HEAD [Pipeline] } [2020-11-23T07:19:33.093Z] $ docker exec --env ******** --env ******** fc58de8f384d9d2c94aaa3ab8312450369f1f4285d63ec115ab1c5f0929ebb72 ssh-agent -k [2020-11-23T07:19:33.201Z] unset SSH_AUTH_SOCK; [2020-11-23T07:19:33.201Z] unset SSH_AGENT_PID; [2020-11-23T07:19:33.201Z] echo Agent pid 16 killed; [2020-11-23T07:19:33.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-23T07:19:33.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-23T07:19:33.444Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-23T07:19:33.599Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-23T07:19:33.606Z] $ docker exec fc58de8f384d9d2c94aaa3ab8312450369f1f4285d63ec115ab1c5f0929ebb72 ssh-agent [2020-11-23T07:19:33.759Z] SSH_AUTH_SOCK=/tmp/ssh-jpHXPSEUtFzF/agent.45 [2020-11-23T07:19:33.759Z] SSH_AGENT_PID=50 [2020-11-23T07:19:33.766Z] Running ssh-add (command line suppressed) [2020-11-23T07:19:33.886Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp/private_key_4158992478491326462.key (/w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp/private_key_4158992478491326462.key) [2020-11-23T07:19:33.939Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-23T07:19:34.331Z] + git semver init [2020-11-23T07:19:34.331Z] # -> Open(): unable to determine branch for HEAD [2020-11-23T07:19:34.331Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-656/.git [2020-11-23T07:19:34.331Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-656 [2020-11-23T07:19:34.331Z] # $SEMVER_REMOTE_NAME = origin [2020-11-23T07:19:34.331Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-23T07:19:34.331Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-23T07:19:34.331Z] # $SEMVER_BRANCH = PR-656 [2020-11-23T07:19:34.331Z] # $SEMVER_TEMP = /tmp/semver-010426536 [2020-11-23T07:19:34.331Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-11-23T07:19:34.910Z] # '/tmp/semver-010426536' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-656/.semver' [2020-11-23T07:19:34.910Z] # -> Force: false [2020-11-23T07:19:34.910Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-656/.semver [Pipeline] } [2020-11-23T07:19:34.934Z] $ docker exec --env ******** --env ******** fc58de8f384d9d2c94aaa3ab8312450369f1f4285d63ec115ab1c5f0929ebb72 ssh-agent -k [2020-11-23T07:19:35.041Z] unset SSH_AUTH_SOCK; [2020-11-23T07:19:35.041Z] unset SSH_AGENT_PID; [2020-11-23T07:19:35.041Z] echo Agent pid 50 killed; [2020-11-23T07:19:35.086Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-23T07:19:35.651Z] + git semver [Pipeline] } [2020-11-23T07:19:35.685Z] $ docker stop --time=1 fc58de8f384d9d2c94aaa3ab8312450369f1f4285d63ec115ab1c5f0929ebb72 [2020-11-23T07:19:37.155Z] $ docker rm -f fc58de8f384d9d2c94aaa3ab8312450369f1f4285d63ec115ab1c5f0929ebb72 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-23T07:19:37.680Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-23T07:19:38.173Z] Stashed 1 file(s) [Pipeline] echo [2020-11-23T07:19:38.196Z] [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 [2020-11-23T07:19:50.754Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13251 in /w/workspace/dgexfoundry_device-sdk-go_PR-656 [Pipeline] { [Pipeline] ws [2020-11-23T07:19:50.856Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-11-23T07:19:54.103Z] Still waiting to schedule task [2020-11-23T07:19:54.103Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13250’ [2020-11-23T07:19:56.240Z] using credential edgex-jenkins-ssh [2020-11-23T07:19:56.423Z] Cloning the remote Git repository [2020-11-23T07:19:56.480Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-11-23T07:19:56.505Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-11-23T07:19:56.631Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-23T07:19:56.632Z] > git --version # timeout=10 [2020-11-23T07:19:56.692Z] > git --version # 'git version 2.17.1' [2020-11-23T07:19:56.694Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T07:19:56.850Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T07:19:58.176Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-23T07:19:58.213Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T07:19:58.254Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-23T07:19:58.318Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-23T07:19:58.320Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T07:19:58.330Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/656/head:refs/remotes/origin/PR-656 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-23T07:19:58.878Z] Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit ddd40b9f98c115ab6261d98e9aa02185be072950 [2020-11-23T07:19:59.150Z] Merge succeeded, producing ddd40b9f98c115ab6261d98e9aa02185be072950 [2020-11-23T07:19:59.150Z] Checking out Revision ddd40b9f98c115ab6261d98e9aa02185be072950 (PR-656) [2020-11-23T07:19:58.919Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T07:19:58.938Z] > git checkout -f ddd40b9f98c115ab6261d98e9aa02185be072950 # timeout=10 [2020-11-23T07:19:59.051Z] > git remote # timeout=10 [2020-11-23T07:19:59.073Z] > git config --get remote.origin.url # timeout=10 [2020-11-23T07:19:59.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T07:19:59.120Z] > git merge 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 [2020-11-23T07:19:59.156Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-23T07:19:59.177Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T07:19:59.199Z] > git checkout -f ddd40b9f98c115ab6261d98e9aa02185be072950 # timeout=10 [2020-11-23T07:20:03.126Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-11-23T07:20:03.193Z] > git --version # timeout=10 [2020-11-23T07:20:03.200Z] > git --version # 'git version 2.17.1' [2020-11-23T07:20:03.213Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-23T07:20:04.921Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-11-23T07:20:05.381Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-23T07:20:05.766Z] + + sudotrue service [2020-11-23T07:20:05.766Z] docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-23T07:20:08.685Z] provisioning config files... [2020-11-23T07:20:08.722Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3756281640324183753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-23T07:20:09.170Z] ---> docker-login.sh [2020-11-23T07:20:09.170Z] nexus3.edgexfoundry.org:10001 [2020-11-23T07:20:10.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:20:10.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:20:10.421Z] Configure a credential helper to remove this warning. See [2020-11-23T07:20:10.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:20:10.421Z] [2020-11-23T07:20:10.421Z] Login Succeeded [2020-11-23T07:20:10.421Z] nexus3.edgexfoundry.org:10002 [2020-11-23T07:20:10.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:20:10.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:20:10.692Z] Configure a credential helper to remove this warning. See [2020-11-23T07:20:10.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:20:10.692Z] [2020-11-23T07:20:10.692Z] Login Succeeded [2020-11-23T07:20:10.965Z] nexus3.edgexfoundry.org:10003 [2020-11-23T07:20:11.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:20:11.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:20:11.238Z] Configure a credential helper to remove this warning. See [2020-11-23T07:20:11.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:20:11.238Z] [2020-11-23T07:20:11.238Z] Login Succeeded [2020-11-23T07:20:11.238Z] nexus3.edgexfoundry.org:10004 [2020-11-23T07:20:11.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:20:11.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:20:11.834Z] Configure a credential helper to remove this warning. See [2020-11-23T07:20:11.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:20:11.834Z] [2020-11-23T07:20:11.834Z] Login Succeeded [2020-11-23T07:20:11.834Z] docker.io [2020-11-23T07:20:12.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:20:12.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:20:12.711Z] Configure a credential helper to remove this warning. See [2020-11-23T07:20:12.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:20:12.711Z] [2020-11-23T07:20:12.711Z] Login Succeeded [2020-11-23T07:20:12.711Z] ---> docker-login.sh ends [Pipeline] } [2020-11-23T07:20:12.746Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-23T07:20:13.381Z] ========================================================= [2020-11-23T07:20:13.381Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-23T07:20:13.381Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-23T07:20:13.791Z] + 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 . [2020-11-23T07:20:14.409Z] Sending build context to Docker daemon 2.356MB [2020-11-23T07:20:14.409Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-23T07:20:14.409Z] Step 2/8 : FROM ${BASE} [2020-11-23T07:20:14.409Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-23T07:20:14.409Z] b538f80385f9: Pulling fs layer [2020-11-23T07:20:14.409Z] 74f711af9a0d: Pulling fs layer [2020-11-23T07:20:14.409Z] 99f96fe45779: Pulling fs layer [2020-11-23T07:20:14.409Z] 8529a6b9a6be: Pulling fs layer [2020-11-23T07:20:14.409Z] 45590311c82a: Pulling fs layer [2020-11-23T07:20:14.409Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-23T07:20:14.409Z] 209524e5b208: Pulling fs layer [2020-11-23T07:20:14.409Z] 8529a6b9a6be: Waiting [2020-11-23T07:20:14.409Z] 45590311c82a: Waiting [2020-11-23T07:20:14.409Z] 69ca0ff8b7b3: Waiting [2020-11-23T07:20:14.409Z] 209524e5b208: Waiting [2020-11-23T07:20:14.409Z] 99f96fe45779: Verifying Checksum [2020-11-23T07:20:14.409Z] 99f96fe45779: Download complete [2020-11-23T07:20:14.409Z] 74f711af9a0d: Verifying Checksum [2020-11-23T07:20:14.409Z] 74f711af9a0d: Download complete [2020-11-23T07:20:14.409Z] 45590311c82a: Verifying Checksum [2020-11-23T07:20:14.409Z] 45590311c82a: Download complete [2020-11-23T07:20:14.409Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-23T07:20:14.409Z] 69ca0ff8b7b3: Download complete [2020-11-23T07:20:14.409Z] b538f80385f9: Verifying Checksum [2020-11-23T07:20:14.409Z] b538f80385f9: Download complete [2020-11-23T07:20:15.399Z] b538f80385f9: Pull complete [2020-11-23T07:20:16.009Z] 74f711af9a0d: Pull complete [2020-11-23T07:20:16.284Z] 99f96fe45779: Pull complete [2020-11-23T07:20:16.879Z] 209524e5b208: Verifying Checksum [2020-11-23T07:20:16.879Z] 209524e5b208: Download complete [2020-11-23T07:20:18.320Z] 8529a6b9a6be: Verifying Checksum [2020-11-23T07:20:18.320Z] 8529a6b9a6be: Download complete [2020-11-23T07:20:30.733Z] 8529a6b9a6be: Pull complete [2020-11-23T07:20:30.733Z] 45590311c82a: Pull complete [2020-11-23T07:20:30.733Z] 69ca0ff8b7b3: Pull complete [2020-11-23T07:20:33.364Z] 209524e5b208: Pull complete [2020-11-23T07:20:33.364Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-23T07:20:33.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-23T07:20:33.364Z] ---> 5bddaf1c2fca [2020-11-23T07:20:33.364Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-23T07:20:35.999Z] ---> Running in e24c62722b1b [2020-11-23T07:20:36.273Z] Removing intermediate container e24c62722b1b [2020-11-23T07:20:36.273Z] ---> e788cb9f0428 [2020-11-23T07:20:36.273Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-23T07:20:36.548Z] ---> Running in 15f1eb11c9a5 [2020-11-23T07:20:39.197Z] Removing intermediate container 15f1eb11c9a5 [2020-11-23T07:20:39.197Z] ---> 10b9a2bf0bfb [2020-11-23T07:20:39.197Z] Step 5/8 : RUN apk add --no-cache make git [2020-11-23T07:20:39.197Z] ---> Running in 666a57b7da4e [2020-11-23T07:20:40.637Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-23T07:20:41.617Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-23T07:20:42.207Z] OK: 142 MiB in 39 packages [2020-11-23T07:20:43.184Z] Removing intermediate container 666a57b7da4e [2020-11-23T07:20:43.184Z] ---> 807de67272ad [2020-11-23T07:20:43.184Z] Step 6/8 : WORKDIR /device-sdk-go [2020-11-23T07:20:43.457Z] ---> Running in 0ab78c8a075d [2020-11-23T07:20:43.728Z] Removing intermediate container 0ab78c8a075d [2020-11-23T07:20:43.728Z] ---> 6e4ef2c3684b [2020-11-23T07:20:43.728Z] Step 7/8 : COPY . . [2020-11-23T07:20:45.158Z] ---> 6619405866df [2020-11-23T07:20:45.158Z] Step 8/8 : RUN go mod download [2020-11-23T07:20:45.431Z] ---> Running in bc457eb0dd6e [2020-11-23T07:21:07.652Z] Removing intermediate container bc457eb0dd6e [2020-11-23T07:21:07.652Z] ---> f17fa8dea06d [2020-11-23T07:21:07.652Z] Successfully built f17fa8dea06d [2020-11-23T07:21:07.925Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-23T07:21:08.306Z] + docker inspect -f . ci-base-image-arm64 [2020-11-23T07:21:08.306Z] . [Pipeline] withDockerContainer [2020-11-23T07:21:08.565Z] prd-ubuntu18.04-docker-arm64-4c-16g-13251 does not seem to be running inside a container [2020-11-23T07:21:08.654Z] $ 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 ******** ci-base-image-arm64 cat [2020-11-23T07:21:10.573Z] $ docker top a80673558b43fe667b0697d0f387dfa899b20f78d07fdbf51a4f742f75505d68 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-23T07:21:12.066Z] + go version [2020-11-23T07:21:12.066Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-23T07:21:12.104Z] $ docker stop --time=1 a80673558b43fe667b0697d0f387dfa899b20f78d07fdbf51a4f742f75505d68 [2020-11-23T07:21:14.135Z] $ docker rm -f a80673558b43fe667b0697d0f387dfa899b20f78d07fdbf51a4f742f75505d68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-23T07:21:15.491Z] + docker inspect -f . ci-base-image-arm64 [2020-11-23T07:21:15.491Z] . [Pipeline] withDockerContainer [2020-11-23T07:21:15.782Z] prd-ubuntu18.04-docker-arm64-4c-16g-13251 does not seem to be running inside a container [2020-11-23T07:21:15.870Z] $ 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 ******** ci-base-image-arm64 cat [2020-11-23T07:21:17.812Z] $ docker top f7ae402c4724f7b71592f62d2b0d4118488c87048566415fa22e3bd22a0ff173 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-23T07:21:19.277Z] + make test [2020-11-23T07:21:19.277Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-11-23T07:21:41.462Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-11-23T07:22:20.554Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-11-23T07:22:20.554Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-11-23T07:22:20.554Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-11-23T07:22:20.554Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.145s coverage: 20.6% of statements [2020-11-23T07:22:23.992Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.158s coverage: 97.1% of statements [2020-11-23T07:22:29.106Z] Running on prd-centos7-docker-4c-2g-13255 in /w/workspace/dgexfoundry_device-sdk-go_PR-656 [Pipeline] { [Pipeline] ws [2020-11-23T07:22:29.205Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-11-23T07:22:32.199Z] using credential edgex-jenkins-ssh [2020-11-23T07:22:32.265Z] Cloning the remote Git repository [2020-11-23T07:22:32.300Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-11-23T07:22:32.395Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-11-23T07:22:32.451Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-23T07:22:32.451Z] > git --version # timeout=10 [2020-11-23T07:22:32.457Z] > git --version # 'git version 2.16.5' [2020-11-23T07:22:32.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T07:22:32.488Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T07:22:33.840Z] Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit ddd40b9f98c115ab6261d98e9aa02185be072950 [2020-11-23T07:22:33.940Z] Merge succeeded, producing ddd40b9f98c115ab6261d98e9aa02185be072950 [2020-11-23T07:22:33.941Z] Checking out Revision ddd40b9f98c115ab6261d98e9aa02185be072950 (PR-656) [2020-11-23T07:22:33.331Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-23T07:22:33.340Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-23T07:22:33.351Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-23T07:22:33.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-23T07:22:33.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T07:22:33.370Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/656/head:refs/remotes/origin/PR-656 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-23T07:22:33.852Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T07:22:33.856Z] > git checkout -f ddd40b9f98c115ab6261d98e9aa02185be072950 # timeout=10 [2020-11-23T07:22:33.911Z] > git remote # timeout=10 [2020-11-23T07:22:33.917Z] > git config --get remote.origin.url # timeout=10 [2020-11-23T07:22:33.922Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-23T07:22:33.926Z] > git merge 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 [2020-11-23T07:22:33.935Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-23T07:22:33.946Z] > git config core.sparsecheckout # timeout=10 [2020-11-23T07:22:33.951Z] > git checkout -f ddd40b9f98c115ab6261d98e9aa02185be072950 # timeout=10 [2020-11-23T07:22:37.589Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-11-23T07:22:37.616Z] > git --version # timeout=10 [2020-11-23T07:22:37.624Z] > git --version # 'git version 2.16.5' [2020-11-23T07:22:37.630Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-23T07:22:39.143Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-11-23T07:22:39.485Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-23T07:22:39.801Z] + sudo service docker restart [2020-11-23T07:22:39.801Z] + true [2020-11-23T07:22:39.801Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-23T07:22:41.342Z] provisioning config files... [2020-11-23T07:22:41.369Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2318900133295599645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-23T07:22:41.901Z] ---> docker-login.sh [2020-11-23T07:22:41.901Z] nexus3.edgexfoundry.org:10001 [2020-11-23T07:22:42.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:22:42.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:22:42.431Z] Configure a credential helper to remove this warning. See [2020-11-23T07:22:42.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:22:42.431Z] [2020-11-23T07:22:42.431Z] Login Succeeded [2020-11-23T07:22:42.431Z] nexus3.edgexfoundry.org:10002 [2020-11-23T07:22:42.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:22:42.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:22:42.698Z] Configure a credential helper to remove this warning. See [2020-11-23T07:22:42.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:22:42.698Z] [2020-11-23T07:22:42.698Z] Login Succeeded [2020-11-23T07:22:42.698Z] nexus3.edgexfoundry.org:10003 [2020-11-23T07:22:42.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:22:42.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:22:42.698Z] Configure a credential helper to remove this warning. See [2020-11-23T07:22:42.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:22:42.698Z] [2020-11-23T07:22:42.698Z] Login Succeeded [2020-11-23T07:22:42.698Z] nexus3.edgexfoundry.org:10004 [2020-11-23T07:22:42.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:22:42.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:22:42.962Z] Configure a credential helper to remove this warning. See [2020-11-23T07:22:42.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:22:42.962Z] [2020-11-23T07:22:42.962Z] Login Succeeded [2020-11-23T07:22:42.962Z] docker.io [2020-11-23T07:22:42.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-23T07:22:43.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-23T07:22:43.225Z] Configure a credential helper to remove this warning. See [2020-11-23T07:22:43.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-23T07:22:43.225Z] [2020-11-23T07:22:43.225Z] Login Succeeded [2020-11-23T07:22:43.225Z] ---> docker-login.sh ends [Pipeline] } [2020-11-23T07:22:43.251Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-23T07:22:43.930Z] ========================================================= [2020-11-23T07:22:43.931Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-23T07:22:43.931Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-23T07:22:44.343Z] + 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 . [2020-11-23T07:22:44.614Z] Sending build context to Docker daemon 2.354MB [2020-11-23T07:22:44.614Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-23T07:22:44.614Z] Step 2/8 : FROM ${BASE} [2020-11-23T07:22:44.614Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-23T07:22:44.614Z] df20fa9351a1: Pulling fs layer [2020-11-23T07:22:44.614Z] ed8968b2872e: Pulling fs layer [2020-11-23T07:22:44.614Z] a92cc7c5fd73: Pulling fs layer [2020-11-23T07:22:44.614Z] e871e8e8d7a9: Pulling fs layer [2020-11-23T07:22:44.614Z] e73272ec9a57: Pulling fs layer [2020-11-23T07:22:44.614Z] 1e910a182e73: Pulling fs layer [2020-11-23T07:22:44.614Z] 4e634b169226: Pulling fs layer [2020-11-23T07:22:44.614Z] e73272ec9a57: Waiting [2020-11-23T07:22:44.614Z] 1e910a182e73: Waiting [2020-11-23T07:22:44.614Z] 4e634b169226: Waiting [2020-11-23T07:22:44.614Z] e871e8e8d7a9: Waiting [2020-11-23T07:22:44.614Z] a92cc7c5fd73: Verifying Checksum [2020-11-23T07:22:44.614Z] a92cc7c5fd73: Download complete [2020-11-23T07:22:44.614Z] ed8968b2872e: Download complete [2020-11-23T07:22:44.614Z] e73272ec9a57: Verifying Checksum [2020-11-23T07:22:44.614Z] e73272ec9a57: Download complete [2020-11-23T07:22:44.614Z] 1e910a182e73: Verifying Checksum [2020-11-23T07:22:44.614Z] 1e910a182e73: Download complete [2020-11-23T07:22:44.614Z] df20fa9351a1: Verifying Checksum [2020-11-23T07:22:44.614Z] df20fa9351a1: Download complete [2020-11-23T07:22:44.877Z] df20fa9351a1: Pull complete [2020-11-23T07:22:45.148Z] ed8968b2872e: Pull complete [2020-11-23T07:22:45.148Z] a92cc7c5fd73: Pull complete [2020-11-23T07:22:47.087Z] 4e634b169226: Verifying Checksum [2020-11-23T07:22:47.087Z] 4e634b169226: Download complete [2020-11-23T07:22:48.038Z] e871e8e8d7a9: Verifying Checksum [2020-11-23T07:22:48.038Z] e871e8e8d7a9: Download complete [2020-11-23T07:22:53.363Z] e871e8e8d7a9: Pull complete [2020-11-23T07:22:53.363Z] e73272ec9a57: Pull complete [2020-11-23T07:22:53.363Z] 1e910a182e73: Pull complete [2020-11-23T07:22:56.418Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.153s coverage: 9.4% of statements [2020-11-23T07:22:56.419Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.130s coverage: 21.9% of statements [2020-11-23T07:22:56.419Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-11-23T07:22:56.419Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.581s coverage: 42.5% of statements [2020-11-23T07:22:56.419Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-11-23T07:22:56.419Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.774s coverage: 68.9% of statements [2020-11-23T07:22:56.419Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-11-23T07:22:56.419Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-11-23T07:22:56.419Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-11-23T07:22:56.419Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-11-23T07:22:56.419Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.197s coverage: 52.6% of statements [2020-11-23T07:22:56.419Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-11-23T07:22:56.419Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-11-23T07:22:56.419Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-11-23T07:22:56.419Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.705s coverage: 68.9% of statements [2020-11-23T07:22:56.419Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.7% of statements [2020-11-23T07:22:56.419Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-11-23T07:22:56.419Z] GO111MODULE=on go vet ./... [2020-11-23T07:22:58.688Z] 4e634b169226: Pull complete [2020-11-23T07:22:58.688Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-23T07:22:58.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-23T07:22:58.688Z] ---> f7629b54cfaa [2020-11-23T07:22:58.688Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-23T07:22:58.688Z] ---> Running in 68af084ca8e3 [2020-11-23T07:22:58.955Z] Removing intermediate container 68af084ca8e3 [2020-11-23T07:22:58.955Z] ---> 927dc9716638 [2020-11-23T07:22:58.955Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-23T07:22:58.955Z] ---> Running in d4860711672a [2020-11-23T07:23:00.369Z] Removing intermediate container d4860711672a [2020-11-23T07:23:00.369Z] ---> 64c450c1f714 [2020-11-23T07:23:00.369Z] Step 5/8 : RUN apk add --no-cache make git [2020-11-23T07:23:00.369Z] ---> Running in 6a6129fc4299 [2020-11-23T07:23:00.947Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-23T07:23:01.524Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-23T07:23:02.110Z] OK: 166 MiB in 39 packages [2020-11-23T07:23:02.693Z] Removing intermediate container 6a6129fc4299 [2020-11-23T07:23:02.693Z] ---> f9655e3fc2c3 [2020-11-23T07:23:02.693Z] Step 6/8 : WORKDIR /device-sdk-go [2020-11-23T07:23:02.693Z] ---> Running in 7933d84639bd [2020-11-23T07:23:02.693Z] Removing intermediate container 7933d84639bd [2020-11-23T07:23:02.693Z] ---> 35af3c8559db [2020-11-23T07:23:02.693Z] Step 7/8 : COPY . . [2020-11-23T07:23:04.092Z] ---> cb8e32a6c02a [2020-11-23T07:23:04.092Z] Step 8/8 : RUN go mod download [2020-11-23T07:23:04.092Z] ---> Running in fc617637c558 [2020-11-23T07:23:22.316Z] Removing intermediate container fc617637c558 [2020-11-23T07:23:22.316Z] ---> f6adbcd603d2 [2020-11-23T07:23:22.316Z] Successfully built f6adbcd603d2 [2020-11-23T07:23:22.316Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-23T07:23:22.668Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-23T07:23:22.668Z] . [Pipeline] withDockerContainer [2020-11-23T07:23:22.814Z] prd-centos7-docker-4c-2g-13255 does not seem to be running inside a container [2020-11-23T07:23:22.867Z] $ 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 ******** ci-base-image-x86_64 cat [2020-11-23T07:23:23.295Z] gofmt -l . [2020-11-23T07:23:23.295Z] [ "`gofmt -l .`" = "" ] [2020-11-23T07:23:23.295Z] ./bin/test-attribution-txt.sh [2020-11-23T07:23:23.295Z] ./bin/test-go-mod-tidy.sh [2020-11-23T07:23:23.632Z] $ docker top d155f7470cedf64b1a8bbf967fbdf749b69d795e303fa680a32702f86db37f4e -eo pid,comm [Pipeline] { [Pipeline] } [2020-11-23T07:23:23.918Z] $ docker stop --time=1 f7ae402c4724f7b71592f62d2b0d4118488c87048566415fa22e3bd22a0ff173 [2020-11-23T07:23:26.172Z] $ docker rm -f f7ae402c4724f7b71592f62d2b0d4118488c87048566415fa22e3bd22a0ff173 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2020-11-23T07:23:27.225Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-23T07:23:27.276Z] + go version [2020-11-23T07:23:27.276Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-23T07:23:27.369Z] $ docker stop --time=1 d155f7470cedf64b1a8bbf967fbdf749b69d795e303fa680a32702f86db37f4e [2020-11-23T07:23:28.193Z] Stashed 1 file(s) [2020-11-23T07:23:28.722Z] $ docker rm -f d155f7470cedf64b1a8bbf967fbdf749b69d795e303fa680a32702f86db37f4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-11-23T07:23:32.181Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-23T07:23:32.256Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-23T07:23:32.256Z] . [Pipeline] withDockerContainer [2020-11-23T07:23:32.517Z] prd-centos7-docker-4c-2g-13255 does not seem to be running inside a container [2020-11-23T07:23:32.571Z] $ 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 ******** ci-base-image-x86_64 cat [2020-11-23T07:23:32.631Z] + ls -al . [2020-11-23T07:23:32.631Z] total 244 [2020-11-23T07:23:32.631Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 23 07:23 . [2020-11-23T07:23:32.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 23 07:19 .. [2020-11-23T07:23:32.631Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 23 07:19 .dockerignore [2020-11-23T07:23:32.631Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 23 07:20 .git [2020-11-23T07:23:32.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 23 07:19 .github [2020-11-23T07:23:32.631Z] -rw-rw-r-- 1 jenkins jenkins 138 Nov 23 07:19 .gitignore [2020-11-23T07:23:32.631Z] -rw-rw-r-- 1 jenkins jenkins 936 Nov 23 07:19 Dockerfile.build [2020-11-23T07:23:32.631Z] -rw-rw-r-- 1 jenkins jenkins 901 Nov 23 07:19 Jenkinsfile [2020-11-23T07:23:32.631Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 23 07:19 LICENSE [2020-11-23T07:23:32.631Z] -rw-rw-r-- 1 jenkins jenkins 1013 Nov 23 07:19 Makefile [2020-11-23T07:23:32.631Z] -rw-rw-r-- 1 jenkins jenkins 5897 Nov 23 07:19 README.md [2020-11-23T07:23:32.631Z] -rw-rw-r-- 1 jenkins jenkins 4291 Nov 23 07:19 RELEASE-NOTES.txt [2020-11-23T07:23:32.631Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 23 07:19 VERSION [2020-11-23T07:23:32.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 23 07:19 bin [2020-11-23T07:23:32.631Z] -rw-r--r-- 1 jenkins jenkins 127610 Nov 23 07:22 coverage.out [2020-11-23T07:23:32.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 23 07:19 example [2020-11-23T07:23:32.631Z] -rw-r--r-- 1 jenkins jenkins 518 Nov 23 07:23 go.mod [2020-11-23T07:23:32.631Z] -rw-r--r-- 1 jenkins jenkins 13546 Nov 23 07:23 go.sum [2020-11-23T07:23:32.631Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 23 07:19 internal [2020-11-23T07:23:32.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 23 07:19 openapi [2020-11-23T07:23:32.631Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 23 07:19 pkg [2020-11-23T07:23:32.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 23 07:19 snap [2020-11-23T07:23:32.631Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 23 07:19 version.go [2020-11-23T07:23:33.231Z] $ docker top 1a86d70524c8cb7d765ef1460f5e7a565f9aa65728dcd2717a673eccbf847bb8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-11-23T07:23:33.821Z] + make test [2020-11-23T07:23:33.821Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-11-23T07:23:33.983Z] + 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=ddd40b9f98c115ab6261d98e9aa02185be072950 --label arch=arm64 --label version=0.0.0 . [2020-11-23T07:23:34.282Z] Sending build context to Docker daemon 2.485MB [2020-11-23T07:23:34.566Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-11-23T07:23:34.566Z] Step 2/24 : FROM ${BASE} AS builder [2020-11-23T07:23:34.566Z] ---> f17fa8dea06d [2020-11-23T07:23:34.566Z] Step 3/24 : ARG MAKE='make build' [2020-11-23T07:23:34.836Z] ---> Running in e06363598b67 [2020-11-23T07:23:35.106Z] Removing intermediate container e06363598b67 [2020-11-23T07:23:35.106Z] ---> ca0ae42770aa [2020-11-23T07:23:35.106Z] Step 4/24 : WORKDIR /device-sdk-go [2020-11-23T07:23:35.376Z] ---> Running in bd1ea311ce1a [2020-11-23T07:23:35.647Z] Removing intermediate container bd1ea311ce1a [2020-11-23T07:23:35.647Z] ---> 3ec1d70f26da [2020-11-23T07:23:35.647Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-23T07:23:35.920Z] ---> Running in 59b210f18a2a [2020-11-23T07:23:36.518Z] Removing intermediate container 59b210f18a2a [2020-11-23T07:23:36.518Z] ---> efd957813ebb [2020-11-23T07:23:36.518Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-23T07:23:36.518Z] ---> Running in 766106ff89ed [2020-11-23T07:23:39.135Z] Removing intermediate container 766106ff89ed [2020-11-23T07:23:39.135Z] ---> 50e0495a254b [2020-11-23T07:23:39.135Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-11-23T07:23:39.135Z] ---> Running in 23cd52df8ceb [2020-11-23T07:23:40.565Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-23T07:23:41.542Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-23T07:23:42.056Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-11-23T07:23:42.145Z] OK: 142 MiB in 39 packages [2020-11-23T07:23:43.132Z] Removing intermediate container 23cd52df8ceb [2020-11-23T07:23:43.132Z] ---> d625d50d5c8d [2020-11-23T07:23:43.132Z] Step 8/24 : COPY . . [2020-11-23T07:23:44.566Z] ---> 517165177e7a [2020-11-23T07:23:44.566Z] Step 9/24 : RUN ${MAKE} [2020-11-23T07:23:44.566Z] ---> Running in ac1d05697830 [2020-11-23T07:23:46.546Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-11-23T07:23:54.386Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-11-23T07:23:54.386Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-11-23T07:23:54.386Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-11-23T07:23:54.657Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 20.6% of statements [2020-11-23T07:23:56.614Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.470s coverage: 97.1% of statements [2020-11-23T07:24:13.361Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-11-23T07:24:13.361Z] Removing intermediate container ac1d05697830 [2020-11-23T07:24:13.361Z] ---> 69125c60450d [2020-11-23T07:24:13.361Z] Step 10/24 : FROM scratch [2020-11-23T07:24:13.361Z] ---> [2020-11-23T07:24:13.361Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-23T07:24:13.361Z] ---> Running in 6c79d7d4fe71 [2020-11-23T07:24:13.361Z] Removing intermediate container 6c79d7d4fe71 [2020-11-23T07:24:13.361Z] ---> 1027c859f670 [2020-11-23T07:24:13.361Z] Step 12/24 : ENV APP_PORT=49990 [2020-11-23T07:24:13.361Z] ---> Running in da78a998e147 [2020-11-23T07:24:13.361Z] Removing intermediate container da78a998e147 [2020-11-23T07:24:13.361Z] ---> 2b68957dde0e [2020-11-23T07:24:13.361Z] Step 13/24 : EXPOSE $APP_PORT [2020-11-23T07:24:13.635Z] ---> Running in b6b668ed7337 [2020-11-23T07:24:13.909Z] Removing intermediate container b6b668ed7337 [2020-11-23T07:24:13.909Z] ---> 8eed5f8c314c [2020-11-23T07:24:13.909Z] Step 14/24 : WORKDIR / [2020-11-23T07:24:14.190Z] ---> Running in 81de63207fe8 [2020-11-23T07:24:14.462Z] Removing intermediate container 81de63207fe8 [2020-11-23T07:24:14.462Z] ---> 6ec74a5363f7 [2020-11-23T07:24:14.462Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-11-23T07:24:15.899Z] ---> 02475a74c05d [2020-11-23T07:24:15.899Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-11-23T07:24:16.494Z] ---> cef892ccb951 [2020-11-23T07:24:16.494Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-11-23T07:24:17.093Z] ---> 21c150752ec4 [2020-11-23T07:24:17.093Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-11-23T07:24:18.095Z] ---> 15d7c1b5b3ea [2020-11-23T07:24:18.095Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-11-23T07:24:18.694Z] ---> 1e00010e766e [2020-11-23T07:24:18.694Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-11-23T07:24:18.694Z] ---> Running in c78673d3f1d8 [2020-11-23T07:24:19.291Z] Removing intermediate container c78673d3f1d8 [2020-11-23T07:24:19.291Z] ---> 34104c0db4ba [2020-11-23T07:24:19.291Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-23T07:24:19.291Z] ---> Running in b1e178f91b17 [2020-11-23T07:24:19.887Z] Removing intermediate container b1e178f91b17 [2020-11-23T07:24:19.887Z] ---> 6c85b0322e15 [2020-11-23T07:24:19.887Z] Step 22/24 : LABEL arch=arm64 [2020-11-23T07:24:19.887Z] ---> Running in aa78bc080ed4 [2020-11-23T07:24:20.482Z] Removing intermediate container aa78bc080ed4 [2020-11-23T07:24:20.482Z] ---> 2bd93d203667 [2020-11-23T07:24:20.482Z] Step 23/24 : LABEL git_sha=ddd40b9f98c115ab6261d98e9aa02185be072950 [2020-11-23T07:24:20.482Z] ---> Running in 7f692ebcb14d [2020-11-23T07:24:21.076Z] Removing intermediate container 7f692ebcb14d [2020-11-23T07:24:21.076Z] ---> 527250e47737 [2020-11-23T07:24:21.076Z] Step 24/24 : LABEL version=0.0.0 [2020-11-23T07:24:21.076Z] ---> Running in b24c71f92d27 [2020-11-23T07:24:21.348Z] Removing intermediate container b24c71f92d27 [2020-11-23T07:24:21.348Z] ---> a7bf0f9a53e9 [2020-11-23T07:24:21.348Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-23T07:24:21.620Z] Successfully built a7bf0f9a53e9 [2020-11-23T07:24:21.620Z] 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-23T07:24:28.821Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.061s coverage: 9.4% of statements [2020-11-23T07:24:28.821Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.9% of statements [2020-11-23T07:24:28.821Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-11-23T07:24:28.821Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.255s coverage: 42.5% of statements [2020-11-23T07:24:28.821Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-11-23T07:24:28.821Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.284s coverage: 68.9% of statements [2020-11-23T07:24:28.821Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-11-23T07:24:28.821Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-11-23T07:24:28.821Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-11-23T07:24:28.821Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-11-23T07:24:28.821Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.076s coverage: 52.6% of statements [2020-11-23T07:24:28.821Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-11-23T07:24:28.821Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-11-23T07:24:28.821Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-11-23T07:24:28.821Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.329s coverage: 68.9% of statements [2020-11-23T07:24:28.821Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.056s coverage: 4.7% of statements [2020-11-23T07:24:28.821Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-11-23T07:24:28.821Z] GO111MODULE=on go vet ./... [2020-11-23T07:24:35.538Z] gofmt -l . [2020-11-23T07:24:35.538Z] [ "`gofmt -l .`" = "" ] [2020-11-23T07:24:35.538Z] ./bin/test-attribution-txt.sh [2020-11-23T07:24:36.117Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-23T07:24:36.414Z] $ docker stop --time=1 1a86d70524c8cb7d765ef1460f5e7a565f9aa65728dcd2717a673eccbf847bb8 [2020-11-23T07:24:38.325Z] $ docker rm -f 1a86d70524c8cb7d765ef1460f5e7a565f9aa65728dcd2717a673eccbf847bb8 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-23T07:24:39.109Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-23T07:24:39.147Z] Warning: overwriting stash ‘coverage-report’ [2020-11-23T07:24:39.479Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-23T07:24:40.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-23T07:24:40.601Z] + ls -al . [2020-11-23T07:24:40.601Z] total 208 [2020-11-23T07:24:40.601Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 23 07:24 . [2020-11-23T07:24:40.601Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 23 07:22 .. [2020-11-23T07:24:40.601Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 23 07:22 bin [2020-11-23T07:24:40.601Z] -rw-r--r--. 1 jenkins jenkins 127611 Nov 23 07:24 coverage.out [2020-11-23T07:24:40.601Z] -rw-rw-r--. 1 jenkins jenkins 936 Nov 23 07:22 Dockerfile.build [2020-11-23T07:24:40.601Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 23 07:22 .dockerignore [2020-11-23T07:24:40.601Z] drwxrwxr-x. 4 jenkins jenkins 48 Nov 23 07:22 example [2020-11-23T07:24:40.601Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 23 07:22 .git [2020-11-23T07:24:40.601Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 23 07:22 .github [2020-11-23T07:24:40.601Z] -rw-rw-r--. 1 jenkins jenkins 138 Nov 23 07:22 .gitignore [2020-11-23T07:24:40.601Z] -rw-r--r--. 1 jenkins jenkins 518 Nov 23 07:24 go.mod [2020-11-23T07:24:40.601Z] -rw-r--r--. 1 jenkins jenkins 13546 Nov 23 07:24 go.sum [2020-11-23T07:24:40.601Z] drwxrwxr-x. 15 jenkins jenkins 211 Nov 23 07:22 internal [2020-11-23T07:24:40.601Z] -rw-rw-r--. 1 jenkins jenkins 901 Nov 23 07:22 Jenkinsfile [2020-11-23T07:24:40.601Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 23 07:22 LICENSE [2020-11-23T07:24:40.601Z] -rw-rw-r--. 1 jenkins jenkins 1013 Nov 23 07:22 Makefile [2020-11-23T07:24:40.601Z] drwxrwxr-x. 4 jenkins jenkins 26 Nov 23 07:22 openapi [2020-11-23T07:24:40.601Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 23 07:22 pkg [2020-11-23T07:24:40.601Z] -rw-rw-r--. 1 jenkins jenkins 5897 Nov 23 07:22 README.md [2020-11-23T07:24:40.601Z] -rw-rw-r--. 1 jenkins jenkins 4291 Nov 23 07:22 RELEASE-NOTES.txt [2020-11-23T07:24:40.601Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 23 07:22 snap [2020-11-23T07:24:40.601Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 23 07:19 VERSION [2020-11-23T07:24:40.601Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 23 07:22 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-23T07:24:40.946Z] + 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=ddd40b9f98c115ab6261d98e9aa02185be072950 --label arch=amd64 --label version=0.0.0 . [2020-11-23T07:24:41.210Z] Sending build context to Docker daemon 2.482MB [2020-11-23T07:24:41.210Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-11-23T07:24:41.210Z] Step 2/24 : FROM ${BASE} AS builder [2020-11-23T07:24:41.210Z] ---> f6adbcd603d2 [2020-11-23T07:24:41.210Z] Step 3/24 : ARG MAKE='make build' [2020-11-23T07:24:41.785Z] ---> Running in 3ff78f8f406a [2020-11-23T07:24:42.048Z] Removing intermediate container 3ff78f8f406a [2020-11-23T07:24:42.048Z] ---> 1821f1aa1b63 [2020-11-23T07:24:42.048Z] Step 4/24 : WORKDIR /device-sdk-go [2020-11-23T07:24:42.048Z] ---> Running in 96501964fc19 [2020-11-23T07:24:42.311Z] Removing intermediate container 96501964fc19 [2020-11-23T07:24:42.311Z] ---> 2fb8030e89ab [2020-11-23T07:24:42.311Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-23T07:24:42.311Z] ---> Running in b681558a1799 [2020-11-23T07:24:42.577Z] Removing intermediate container b681558a1799 [2020-11-23T07:24:42.577Z] ---> cfb301946eef [2020-11-23T07:24:42.577Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-23T07:24:42.577Z] ---> Running in 2dfd37b1de21 [2020-11-23T07:24:43.534Z] Removing intermediate container 2dfd37b1de21 [2020-11-23T07:24:43.534Z] ---> d67c1e0744d2 [2020-11-23T07:24:43.534Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-11-23T07:24:43.799Z] ---> Running in 5770d7d0485f [2020-11-23T07:24:44.063Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-23T07:24:45.011Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-23T07:24:45.275Z] OK: 166 MiB in 39 packages [2020-11-23T07:24:45.853Z] Removing intermediate container 5770d7d0485f [2020-11-23T07:24:45.853Z] ---> f03da5d11874 [2020-11-23T07:24:45.853Z] Step 8/24 : COPY . . [2020-11-23T07:24:46.806Z] ---> 6e7d6ff2c80d [2020-11-23T07:24:46.806Z] Step 9/24 : RUN ${MAKE} [2020-11-23T07:24:46.806Z] ---> Running in 861e5a381905 [2020-11-23T07:24:47.383Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-11-23T07:24:55.618Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-11-23T07:24:58.186Z] Removing intermediate container 861e5a381905 [2020-11-23T07:24:58.186Z] ---> 9fedf42db0e1 [2020-11-23T07:24:58.186Z] Step 10/24 : FROM scratch [2020-11-23T07:24:58.186Z] ---> [2020-11-23T07:24:58.186Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-23T07:24:58.186Z] ---> Running in 09aedd9b3983 [2020-11-23T07:24:58.186Z] Removing intermediate container 09aedd9b3983 [2020-11-23T07:24:58.186Z] ---> 19202e4da182 [2020-11-23T07:24:58.186Z] Step 12/24 : ENV APP_PORT=49990 [2020-11-23T07:24:58.186Z] ---> Running in c9bfc6c95c81 [2020-11-23T07:24:58.450Z] Removing intermediate container c9bfc6c95c81 [2020-11-23T07:24:58.450Z] ---> ae1c16c23368 [2020-11-23T07:24:58.450Z] Step 13/24 : EXPOSE $APP_PORT [2020-11-23T07:24:58.450Z] ---> Running in c90413d3982e [2020-11-23T07:24:58.715Z] Removing intermediate container c90413d3982e [2020-11-23T07:24:58.716Z] ---> 2a620ec350c2 [2020-11-23T07:24:58.716Z] Step 14/24 : WORKDIR / [2020-11-23T07:24:58.716Z] ---> Running in 8c8e47f8dd8b [2020-11-23T07:24:58.981Z] Removing intermediate container 8c8e47f8dd8b [2020-11-23T07:24:58.981Z] ---> 7f373921763f [2020-11-23T07:24:58.981Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-11-23T07:24:59.246Z] ---> fb4fec1a1981 [2020-11-23T07:24:59.246Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-11-23T07:24:59.510Z] ---> 6cda88d0d224 [2020-11-23T07:24:59.510Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-11-23T07:24:59.776Z] ---> 5cae5adf6edd [2020-11-23T07:24:59.776Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-11-23T07:25:00.043Z] ---> 631c868bce3a [2020-11-23T07:25:00.043Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-11-23T07:25:00.306Z] ---> d449596a0916 [2020-11-23T07:25:00.306Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-11-23T07:25:00.306Z] ---> Running in 13b12249fa79 [2020-11-23T07:25:00.306Z] Removing intermediate container 13b12249fa79 [2020-11-23T07:25:00.306Z] ---> ed8ce8facda2 [2020-11-23T07:25:00.306Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-23T07:25:00.568Z] ---> Running in 4960bf8ba84d [2020-11-23T07:25:00.569Z] Removing intermediate container 4960bf8ba84d [2020-11-23T07:25:00.569Z] ---> bf793b3abe8e [2020-11-23T07:25:00.569Z] Step 22/24 : LABEL arch=amd64 [2020-11-23T07:25:00.832Z] ---> Running in c06b33e8180d [2020-11-23T07:25:00.832Z] Removing intermediate container c06b33e8180d [2020-11-23T07:25:00.832Z] ---> 390313f9d897 [2020-11-23T07:25:00.832Z] Step 23/24 : LABEL git_sha=ddd40b9f98c115ab6261d98e9aa02185be072950 [2020-11-23T07:25:00.832Z] ---> Running in cb9bca416b78 [2020-11-23T07:25:01.094Z] Removing intermediate container cb9bca416b78 [2020-11-23T07:25:01.094Z] ---> a45b6dcb08e7 [2020-11-23T07:25:01.094Z] Step 24/24 : LABEL version=0.0.0 [2020-11-23T07:25:01.094Z] ---> Running in 2c1b9cb7b00a [2020-11-23T07:25:01.358Z] Removing intermediate container 2c1b9cb7b00a [2020-11-23T07:25:01.358Z] ---> 47b9e705e6a0 [2020-11-23T07:25:01.358Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-23T07:25:01.358Z] Successfully built 47b9e705e6a0 [2020-11-23T07:25:01.358Z] 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 [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 [2020-11-23T07:25:04.151Z] provisioning config files... [2020-11-23T07:25:04.163Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp/config1159801713410259515tmp [Pipeline] { [Pipeline] sh [2020-11-23T07:25:04.602Z] + set +x [2020-11-23T07:25:04.602Z] + curl -s https://codecov.io/bash [2020-11-23T07:25:04.602Z] + bash -s -- [2020-11-23T07:25:04.866Z] [2020-11-23T07:25:04.866Z] _____ _ [2020-11-23T07:25:04.866Z] / ____| | | [2020-11-23T07:25:04.866Z] | | ___ __| | ___ ___ _____ __ [2020-11-23T07:25:04.866Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-23T07:25:04.866Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-23T07:25:04.866Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-23T07:25:04.866Z] Bash-20201123-d0fed5f [2020-11-23T07:25:04.866Z] [2020-11-23T07:25:04.866Z] [2020-11-23T07:25:04.866Z] ==> Jenkins CI detected. [2020-11-23T07:25:04.866Z] project root: . [2020-11-23T07:25:04.866Z] --> token set from env [2020-11-23T07:25:04.866Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-23T07:25:04.866Z] ==> Running gcov in . (disable via -X gcov) [2020-11-23T07:25:04.866Z] ==> Python coveragepy not found [2020-11-23T07:25:04.866Z] ==> Searching for coverage reports in: [2020-11-23T07:25:04.866Z] + . [2020-11-23T07:25:04.866Z] -> Found 1 reports [2020-11-23T07:25:04.866Z] ==> Detecting git/mercurial file structure [2020-11-23T07:25:04.866Z] ==> Reading reports [2020-11-23T07:25:04.866Z] + ./coverage.out bytes=127611 [2020-11-23T07:25:04.866Z] ==> Appending adjustments [2020-11-23T07:25:04.866Z] https://docs.codecov.io/docs/fixing-reports [2020-11-23T07:25:05.441Z] + Found adjustments [2020-11-23T07:25:05.441Z] ==> Gzipping contents [2020-11-23T07:25:05.441Z] ==> Uploading reports [2020-11-23T07:25:05.441Z] url: https://codecov.io [2020-11-23T07:25:05.441Z] query: branch=PR-656&commit=ddd40b9f98c115ab6261d98e9aa02185be072950&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-656%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=656&job=&cmd_args= [2020-11-23T07:25:05.441Z] -> Pinging Codecov [2020-11-23T07:25:05.441Z] https://codecov.io/upload/v4?package=bash-20201123-d0fed5f&token=secret&branch=PR-656&commit=ddd40b9f98c115ab6261d98e9aa02185be072950&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-656%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=656&job=&cmd_args= [2020-11-23T07:25:06.020Z] -> Uploading to [2020-11-23T07:25:06.020Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-23/7E55EF52A471D76F132DFD9A03CDDE97/ddd40b9f98c115ab6261d98e9aa02185be072950/e733c471-d65d-4fec-b2e1-35acc618df2f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201123%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201123T072505Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5651338a55260093c24c85e8f6056e167632fe3b3351a6807cc7f5773c41d5b6 [2020-11-23T07:25:06.020Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-23T07:25:06.020Z] Dload Upload Total Spent Left Speed [2020-11-23T07:25:06.284Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20885 0 0 100 20885 0 48267 --:--:-- --:--:-- --:--:-- 48233 [2020-11-23T07:25:06.284Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ddd40b9f98c115ab6261d98e9aa02185be072950 [Pipeline] } [2020-11-23T07:25:06.310Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 [2020-11-23T07:25:10.263Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T07:25:10.877Z] ---> package-listing.sh [2020-11-23T07:25:10.877Z] ++ facter osfamily [2020-11-23T07:25:10.877Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-23T07:25:10.877Z] + OS_FAMILY=redhat [2020-11-23T07:25:10.877Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-656 [2020-11-23T07:25:10.877Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-23T07:25:10.877Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-23T07:25:10.877Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-23T07:25:10.877Z] + PACKAGES=/tmp/packages_start.txt [2020-11-23T07:25:10.877Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-656 ']' [2020-11-23T07:25:10.877Z] + PACKAGES=/tmp/packages_end.txt [2020-11-23T07:25:10.877Z] + case "${OS_FAMILY}" in [2020-11-23T07:25:10.877Z] + rpm -qa [2020-11-23T07:25:10.877Z] + sort [2020-11-23T07:25:15.139Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-23T07:25:15.139Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-23T07:25:15.139Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-23T07:25:15.139Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-656 ']' [2020-11-23T07:25:15.139Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-656/archives/ [2020-11-23T07:25:15.139Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-656/archives/ [Pipeline] echo [2020-11-23T07:25:15.177Z] 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-656/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-23T07:25:15.489Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-23T07:25:15.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-23T07:25:15.835Z] [2020-11-23T07:25:15.835Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-23T07:25:16.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-23T07:25:16.294Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-23T07:25:16.294Z] df20fa9351a1: Pulling fs layer [2020-11-23T07:25:16.294Z] 36b3adc4ff6f: Pulling fs layer [2020-11-23T07:25:16.294Z] 8ad3a11d3b57: Pulling fs layer [2020-11-23T07:25:16.294Z] 46f8f816bc3b: Pulling fs layer [2020-11-23T07:25:16.294Z] 93b61091891f: Pulling fs layer [2020-11-23T07:25:16.294Z] 93b9cdb0e59b: Pulling fs layer [2020-11-23T07:25:16.294Z] 5e14af77c1be: Pulling fs layer [2020-11-23T07:25:16.294Z] 01666e4c0597: Pulling fs layer [2020-11-23T07:25:16.294Z] aa168da1d23b: Pulling fs layer [2020-11-23T07:25:16.294Z] 93b9cdb0e59b: Waiting [2020-11-23T07:25:16.294Z] 5e14af77c1be: Waiting [2020-11-23T07:25:16.294Z] 01666e4c0597: Waiting [2020-11-23T07:25:16.294Z] aa168da1d23b: Waiting [2020-11-23T07:25:16.294Z] 46f8f816bc3b: Waiting [2020-11-23T07:25:16.294Z] 93b61091891f: Waiting [2020-11-23T07:25:16.294Z] 36b3adc4ff6f: Verifying Checksum [2020-11-23T07:25:16.294Z] 36b3adc4ff6f: Download complete [2020-11-23T07:25:16.294Z] 46f8f816bc3b: Verifying Checksum [2020-11-23T07:25:16.294Z] 46f8f816bc3b: Download complete [2020-11-23T07:25:16.557Z] df20fa9351a1: Verifying Checksum [2020-11-23T07:25:16.557Z] df20fa9351a1: Download complete [2020-11-23T07:25:16.557Z] 93b9cdb0e59b: Verifying Checksum [2020-11-23T07:25:16.557Z] 93b9cdb0e59b: Download complete [2020-11-23T07:25:16.557Z] 5e14af77c1be: Verifying Checksum [2020-11-23T07:25:16.557Z] 5e14af77c1be: Download complete [2020-11-23T07:25:16.557Z] 01666e4c0597: Verifying Checksum [2020-11-23T07:25:16.557Z] 01666e4c0597: Download complete [2020-11-23T07:25:16.557Z] 93b61091891f: Verifying Checksum [2020-11-23T07:25:16.557Z] 93b61091891f: Download complete [2020-11-23T07:25:16.557Z] 8ad3a11d3b57: Verifying Checksum [2020-11-23T07:25:16.557Z] 8ad3a11d3b57: Download complete [2020-11-23T07:25:16.831Z] df20fa9351a1: Pull complete [2020-11-23T07:25:17.098Z] 36b3adc4ff6f: Pull complete [2020-11-23T07:25:17.680Z] 8ad3a11d3b57: Pull complete [2020-11-23T07:25:17.946Z] 46f8f816bc3b: Pull complete [2020-11-23T07:25:18.537Z] 93b61091891f: Pull complete [2020-11-23T07:25:18.537Z] aa168da1d23b: Download complete [2020-11-23T07:25:18.537Z] 93b9cdb0e59b: Pull complete [2020-11-23T07:25:18.805Z] 5e14af77c1be: Pull complete [2020-11-23T07:25:18.805Z] 01666e4c0597: Pull complete [2020-11-23T07:25:27.013Z] aa168da1d23b: Pull complete [2020-11-23T07:25:27.013Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-23T07:25:27.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-23T07:25:27.013Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-23T07:25:27.188Z] prd-centos7-docker-4c-2g-13250 does not seem to be running inside a container [2020-11-23T07:25:27.243Z] $ 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-656/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-656 -v /w/workspace/dgexfoundry_device-sdk-go_PR-656:/w/workspace/dgexfoundry_device-sdk-go_PR-656:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-656@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-23T07:25:30.682Z] $ docker top fa6ed89ca4fb5359760ade9428a8832c34eb9be1382dce84b3422a509c2b0784 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-23T07:25:31.288Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-23T07:25:31.610Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-23T07:25:31.928Z] + ls /var/log/sa-host [2020-11-23T07:25:31.928Z] + sadf -c /var/log/sa-host/sa05 [2020-11-23T07:25:31.928Z] file_magic: OK [2020-11-23T07:25:31.928Z] HZ: Using current value: 100 [2020-11-23T07:25:31.928Z] file_header: OK [2020-11-23T07:25:31.928Z] 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 [2020-11-23T07:25:31.928Z] Statistics: [2020-11-23T07:25:31.928Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-23T07:25:31.928Z] File successfully converted to sysstat format version 12.2.1 [2020-11-23T07:25:31.928Z] + sadf -c /var/log/sa-host/sa23 [2020-11-23T07:25:31.928Z] file_magic: OK [2020-11-23T07:25:31.928Z] HZ: Using current value: 100 [2020-11-23T07:25:31.928Z] file_header: OK [2020-11-23T07:25:31.928Z] 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 [2020-11-23T07:25:31.928Z] Statistics: [2020-11-23T07:25:31.928Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-23T07:25:31.928Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-23T07:25:32.624Z] provisioning config files... [2020-11-23T07:25:32.639Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-656@tmp/config7124815886017496761tmp [Pipeline] { [Pipeline] echo [2020-11-23T07:25:32.774Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T07:25:33.115Z] ---> create-netrc.sh [Pipeline] } [2020-11-23T07:25:33.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-23T07:25:33.303Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T07:25:33.648Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-23T07:25:33.684Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T07:25:34.027Z] ---> sudo-logs.sh [2020-11-23T07:25:34.028Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-23T07:25:34.061Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T07:25:34.398Z] ---> job-cost.sh [2020-11-23T07:25:34.398Z] lf-activate-venv: SKIPPING [2020-11-23T07:25:34.398Z] INFO: No Stack... [2020-11-23T07:25:35.346Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-23T07:25:35.921Z] INFO: Archiving Costs [Pipeline] echo [2020-11-23T07:25:35.966Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-23T07:25:36.306Z] ---> logs-deploy.sh [2020-11-23T07:25:36.307Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-656/1 [2020-11-23T07:25:36.307Z] INFO: archiving workspace using pattern(s): [2020-11-23T07:25:38.234Z] Archives upload complete. [2020-11-23T07:25:38.234Z] INFO: archiving logs to Nexus