Pull request #627 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (e941db394d70d04f6b604807b2b33ef9ec68a96f) 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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-627/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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f fc09f7fe5f69055b0e322e50b0bb9debbc716db4 # timeout=10 Commit message: "Merge pull request #271 from ernestojeda/documentation-changes" > 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-627/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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-5545 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [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-627 # 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 > 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/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 Merge succeeded, producing 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 Checking out Revision 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 (PR-627) > git config core.sparsecheckout # timeout=10 > git checkout -f 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 # 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 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-15T06:27:15.631Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-15T06:27:15.989Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-15T06:27:16.215Z] ========================================================= [2020-10-15T06:27:16.215Z] EdgeX Global Pipelines Version Info [2020-10-15T06:27:16.215Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-15T06:27:18.972Z] ------------------- [2020-10-15T06:27:18.972Z] stable info: [2020-10-15T06:27:18.972Z] ------------------- [2020-10-15T06:27:18.972Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-15T06:27:18.972Z] Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [2020-10-15T06:27:18.972Z] Message: update stable to v1.0.142 [2020-10-15T06:27:19.985Z] ------------------- [2020-10-15T06:27:19.985Z] experimental info: [2020-10-15T06:27:19.985Z] ------------------- [2020-10-15T06:27:19.985Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-15T06:27:19.985Z] Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 [2020-10-15T06:27:19.985Z] Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-15T06:27:20.546Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-15T06:27:20.674Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-15T06:27:20.834Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-15T06:27:20.988Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-15T06:27:21.142Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-15T06:27:21.332Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-15T06:27:21.481Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-15T06:27:21.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-15T06:27:21.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-15T06:27:21.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-15T06:27:21.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-15T06:27:22.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-15T06:27:22.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-15T06:27:22.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-15T06:27:22.537Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-15T06:27:22.678Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T06:27:22.814Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T06:27:22.949Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T06:27:23.085Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-15T06:27:23.237Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-15T06:27:23.423Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-15T06:27:23.555Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-15T06:27:23.691Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-15T06:27:23.849Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-15T06:27:23.992Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-15T06:27:24.128Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-627 [Pipeline] echo [2020-10-15T06:27:24.246Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-627 [Pipeline] echo [2020-10-15T06:27:24.379Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-627 [Pipeline] echo [2020-10-15T06:27:24.501Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 [Pipeline] echo [2020-10-15T06:27:24.622Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b259b2 [Pipeline] echo [2020-10-15T06:27:24.758Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T06:27:25.590Z] + git log --format=format:%s -1 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 [Pipeline] echo [2020-10-15T06:27:25.721Z] GIT_COMMIT: 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo [2020-10-15T06:27:25.795Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-15T06:27:27.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T06:27:27.310Z] [2020-10-15T06:27:27.310Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T06:27:27.714Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T06:27:27.997Z] latest: Pulling from edgex-devops/git-semver [2020-10-15T06:27:27.997Z] 31603596830f: Pulling fs layer [2020-10-15T06:27:27.997Z] 2a8b12db71e7: Pulling fs layer [2020-10-15T06:27:27.997Z] 6ca5941a6612: Pulling fs layer [2020-10-15T06:27:27.997Z] ecc8261a40a4: Pulling fs layer [2020-10-15T06:27:27.997Z] ecc8261a40a4: Waiting [2020-10-15T06:27:27.997Z] 2a8b12db71e7: Verifying Checksum [2020-10-15T06:27:27.997Z] 2a8b12db71e7: Download complete [2020-10-15T06:27:28.319Z] 31603596830f: Verifying Checksum [2020-10-15T06:27:28.319Z] 31603596830f: Download complete [2020-10-15T06:27:28.319Z] ecc8261a40a4: Verifying Checksum [2020-10-15T06:27:28.319Z] ecc8261a40a4: Download complete [2020-10-15T06:27:28.593Z] 6ca5941a6612: Verifying Checksum [2020-10-15T06:27:28.593Z] 6ca5941a6612: Download complete [2020-10-15T06:27:28.856Z] 31603596830f: Pull complete [2020-10-15T06:27:28.856Z] 2a8b12db71e7: Pull complete [2020-10-15T06:27:29.814Z] 6ca5941a6612: Pull complete [2020-10-15T06:27:30.468Z] ecc8261a40a4: Pull complete [2020-10-15T06:27:30.468Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-15T06:27:30.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T06:27:30.468Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-15T06:27:30.820Z] prd-centos7-docker-4c-2g-5545 does not seem to be running inside a container [2020-10-15T06:27:30.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-627 -v /w/workspace/dgexfoundry_device-sdk-go_PR-627:/w/workspace/dgexfoundry_device-sdk-go_PR-627:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-627@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-15T06:27:32.907Z] $ docker top 029389335cb0ddb1c46e48c72d56fe21c0d014b2d0bfd2493680027dc8c1f26e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-15T06:27:33.422Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T06:27:33.422Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T06:27:33.795Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T06:27:33.818Z] $ docker exec 029389335cb0ddb1c46e48c72d56fe21c0d014b2d0bfd2493680027dc8c1f26e ssh-agent [2020-10-15T06:27:34.137Z] SSH_AUTH_SOCK=/tmp/ssh-RIPQpxG0QLEM/agent.12 [2020-10-15T06:27:34.137Z] SSH_AGENT_PID=18 [2020-10-15T06:27:34.217Z] Running ssh-add (command line suppressed) [2020-10-15T06:27:34.485Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_3290317847845073098.key (/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_3290317847845073098.key) [2020-10-15T06:27:34.637Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T06:27:35.129Z] + git tag --points-at HEAD [Pipeline] } [2020-10-15T06:27:35.307Z] $ docker exec --env ******** --env ******** 029389335cb0ddb1c46e48c72d56fe21c0d014b2d0bfd2493680027dc8c1f26e ssh-agent -k [2020-10-15T06:27:35.544Z] unset SSH_AUTH_SOCK; [2020-10-15T06:27:35.544Z] unset SSH_AGENT_PID; [2020-10-15T06:27:35.544Z] echo Agent pid 18 killed; [2020-10-15T06:27:35.627Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-15T06:27:35.839Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T06:27:35.839Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T06:27:36.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T06:27:36.179Z] $ docker exec 029389335cb0ddb1c46e48c72d56fe21c0d014b2d0bfd2493680027dc8c1f26e ssh-agent [2020-10-15T06:27:36.487Z] SSH_AUTH_SOCK=/tmp/ssh-LZz0XQgOzRCY/agent.46 [2020-10-15T06:27:36.487Z] SSH_AGENT_PID=51 [2020-10-15T06:27:36.505Z] Running ssh-add (command line suppressed) [2020-10-15T06:27:36.801Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_2455185664034632794.key (/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_2455185664034632794.key) [2020-10-15T06:27:36.901Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T06:27:37.679Z] + git semver init [2020-10-15T06:27:37.679Z] # -> Open(): unable to determine branch for HEAD [2020-10-15T06:27:37.679Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-627/.git [2020-10-15T06:27:37.679Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-627 [2020-10-15T06:27:37.679Z] # $SEMVER_REMOTE_NAME = origin [2020-10-15T06:27:37.679Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-15T06:27:37.679Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-15T06:27:37.679Z] # $SEMVER_BRANCH = PR-627 [2020-10-15T06:27:37.679Z] # $SEMVER_TEMP = /tmp/semver-039252937 [2020-10-15T06:27:37.679Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-15T06:27:38.654Z] # '/tmp/semver-039252937' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-627/.semver' [2020-10-15T06:27:38.654Z] # -> Force: false [2020-10-15T06:27:38.654Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-627/.semver [Pipeline] } [2020-10-15T06:27:38.681Z] $ docker exec --env ******** --env ******** 029389335cb0ddb1c46e48c72d56fe21c0d014b2d0bfd2493680027dc8c1f26e ssh-agent -k [2020-10-15T06:27:38.842Z] unset SSH_AUTH_SOCK; [2020-10-15T06:27:38.843Z] unset SSH_AGENT_PID; [2020-10-15T06:27:38.844Z] echo Agent pid 51 killed; [2020-10-15T06:27:38.908Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-15T06:27:39.518Z] + git semver [Pipeline] } [2020-10-15T06:27:39.570Z] $ docker stop --time=1 029389335cb0ddb1c46e48c72d56fe21c0d014b2d0bfd2493680027dc8c1f26e [2020-10-15T06:27:41.361Z] $ docker rm -f 029389335cb0ddb1c46e48c72d56fe21c0d014b2d0bfd2493680027dc8c1f26e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-15T06:27:42.534Z] Stashed 1 file(s) [Pipeline] echo [2020-10-15T06:27:42.555Z] [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-10-15T06:27:58.437Z] Still waiting to schedule task [2020-10-15T06:27:58.437Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-15T06:27:58.461Z] Still waiting to schedule task [2020-10-15T06:27:58.461Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-15T06:29:56.693Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5547 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [Pipeline] { [Pipeline] ws [2020-10-15T06:29:56.784Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-15T06:30:01.813Z] using credential edgex-jenkins-ssh [2020-10-15T06:30:01.901Z] Cloning the remote Git repository [2020-10-15T06:30:01.977Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T06:30:02.109Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-15T06:30:02.192Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T06:30:02.193Z] > git --version # timeout=10 [2020-10-15T06:30:02.211Z] > git --version # 'git version 2.17.1' [2020-10-15T06:30:02.213Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T06:30:02.265Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T06:30:06.179Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T06:30:06.198Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T06:30:06.231Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T06:30:06.267Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T06:30:06.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T06:30:06.282Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-15T06:30:07.487Z] Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 [2020-10-15T06:30:07.901Z] Merge succeeded, producing 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 [2020-10-15T06:30:07.902Z] Checking out Revision 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 (PR-627) [2020-10-15T06:30:07.523Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T06:30:07.545Z] > git checkout -f 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 # timeout=10 [2020-10-15T06:30:07.718Z] > git remote # timeout=10 [2020-10-15T06:30:07.785Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T06:30:07.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T06:30:07.843Z] > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 [2020-10-15T06:30:07.892Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T06:30:07.919Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T06:30:07.929Z] > git checkout -f 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 # timeout=10 [2020-10-15T06:30:08.949Z] Running on prd-centos7-docker-4c-2g-5548 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [Pipeline] { [Pipeline] ws [2020-10-15T06:30:09.053Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-15T06:30:12.158Z] using credential edgex-jenkins-ssh [2020-10-15T06:30:12.214Z] Cloning the remote Git repository [2020-10-15T06:30:12.267Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-10-15T06:30:12.329Z] > git --version # timeout=10 [2020-10-15T06:30:12.338Z] > git --version # 'git version 2.17.1' [2020-10-15T06:30:12.349Z] fatal: bad object fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [2020-10-15T06:30:12.240Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T06:30:12.311Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-15T06:30:12.364Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T06:30:12.365Z] > git --version # timeout=10 [2020-10-15T06:30:12.372Z] > git --version # 'git version 2.16.5' [2020-10-15T06:30:12.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T06:30:12.401Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-15T06:30:13.466Z] ========================================================= [2020-10-15T06:30:13.466Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-15T06:30:13.466Z] ========================================================= [Pipeline] isUnix [2020-10-15T06:30:13.614Z] Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 [Pipeline] sh [2020-10-15T06:30:13.160Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T06:30:13.165Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T06:30:13.175Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T06:30:13.191Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T06:30:13.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T06:30:13.196Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-15T06:30:13.624Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T06:30:13.629Z] > git checkout -f 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 # timeout=10 [2020-10-15T06:30:14.287Z] Merge succeeded, producing 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 [2020-10-15T06:30:14.288Z] Checking out Revision 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 (PR-627) [2020-10-15T06:30:14.530Z] + 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-10-15T06:30:14.235Z] > git remote # timeout=10 [2020-10-15T06:30:14.243Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T06:30:14.251Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T06:30:14.268Z] > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 [2020-10-15T06:30:14.281Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T06:30:14.293Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T06:30:14.299Z] > git checkout -f 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 # timeout=10 [2020-10-15T06:30:15.524Z] Sending build context to Docker daemon 2.246MB [2020-10-15T06:30:15.524Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T06:30:15.524Z] Step 2/8 : FROM ${BASE} [2020-10-15T06:30:15.808Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-15T06:30:15.808Z] b538f80385f9: Pulling fs layer [2020-10-15T06:30:15.808Z] 74f711af9a0d: Pulling fs layer [2020-10-15T06:30:15.808Z] 99f96fe45779: Pulling fs layer [2020-10-15T06:30:15.808Z] 8529a6b9a6be: Pulling fs layer [2020-10-15T06:30:15.808Z] 45590311c82a: Pulling fs layer [2020-10-15T06:30:15.808Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-15T06:30:15.808Z] 209524e5b208: Pulling fs layer [2020-10-15T06:30:15.808Z] 8529a6b9a6be: Waiting [2020-10-15T06:30:15.808Z] 45590311c82a: Waiting [2020-10-15T06:30:15.808Z] 69ca0ff8b7b3: Waiting [2020-10-15T06:30:15.808Z] 209524e5b208: Waiting [2020-10-15T06:30:15.808Z] 99f96fe45779: Verifying Checksum [2020-10-15T06:30:15.808Z] 99f96fe45779: Download complete [2020-10-15T06:30:15.808Z] 45590311c82a: Verifying Checksum [2020-10-15T06:30:15.808Z] 45590311c82a: Download complete [2020-10-15T06:30:16.088Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-15T06:30:16.088Z] 69ca0ff8b7b3: Download complete [2020-10-15T06:30:16.088Z] b538f80385f9: Verifying Checksum [2020-10-15T06:30:16.088Z] b538f80385f9: Download complete [2020-10-15T06:30:16.691Z] b538f80385f9: Pull complete [2020-10-15T06:30:17.294Z] 74f711af9a0d: Pull complete [2020-10-15T06:30:17.573Z] 99f96fe45779: Pull complete [2020-10-15T06:30:17.987Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-10-15T06:30:18.016Z] > git --version # timeout=10 [2020-10-15T06:30:18.023Z] > git --version # 'git version 2.16.5' [2020-10-15T06:30:18.029Z] fatal: bad object fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-15T06:30:18.950Z] ========================================================= [2020-10-15T06:30:18.951Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-15T06:30:18.951Z] ========================================================= [2020-10-15T06:30:19.017Z] 209524e5b208: Verifying Checksum [2020-10-15T06:30:19.018Z] 209524e5b208: Download complete [Pipeline] isUnix [Pipeline] sh [2020-10-15T06:30:19.687Z] + 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-10-15T06:30:19.951Z] Sending build context to Docker daemon 2.246MB [2020-10-15T06:30:19.951Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T06:30:19.951Z] Step 2/8 : FROM ${BASE} [2020-10-15T06:30:20.218Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-15T06:30:20.219Z] df20fa9351a1: Pulling fs layer [2020-10-15T06:30:20.219Z] ed8968b2872e: Pulling fs layer [2020-10-15T06:30:20.219Z] a92cc7c5fd73: Pulling fs layer [2020-10-15T06:30:20.219Z] e871e8e8d7a9: Pulling fs layer [2020-10-15T06:30:20.219Z] e73272ec9a57: Pulling fs layer [2020-10-15T06:30:20.219Z] 1e910a182e73: Pulling fs layer [2020-10-15T06:30:20.219Z] 4e634b169226: Pulling fs layer [2020-10-15T06:30:20.219Z] e73272ec9a57: Waiting [2020-10-15T06:30:20.219Z] 4e634b169226: Waiting [2020-10-15T06:30:20.219Z] 1e910a182e73: Waiting [2020-10-15T06:30:20.219Z] e871e8e8d7a9: Waiting [2020-10-15T06:30:20.219Z] a92cc7c5fd73: Verifying Checksum [2020-10-15T06:30:20.219Z] a92cc7c5fd73: Download complete [2020-10-15T06:30:20.219Z] ed8968b2872e: Verifying Checksum [2020-10-15T06:30:20.219Z] ed8968b2872e: Download complete [2020-10-15T06:30:20.219Z] e73272ec9a57: Verifying Checksum [2020-10-15T06:30:20.219Z] e73272ec9a57: Download complete [2020-10-15T06:30:20.219Z] 1e910a182e73: Download complete [2020-10-15T06:30:20.219Z] df20fa9351a1: Verifying Checksum [2020-10-15T06:30:20.219Z] df20fa9351a1: Download complete [2020-10-15T06:30:20.469Z] 8529a6b9a6be: Verifying Checksum [2020-10-15T06:30:20.469Z] 8529a6b9a6be: Download complete [2020-10-15T06:30:20.491Z] df20fa9351a1: Pull complete [2020-10-15T06:30:20.756Z] ed8968b2872e: Pull complete [2020-10-15T06:30:21.026Z] a92cc7c5fd73: Pull complete [2020-10-15T06:30:21.607Z] 4e634b169226: Verifying Checksum [2020-10-15T06:30:21.607Z] 4e634b169226: Download complete [2020-10-15T06:30:23.568Z] e871e8e8d7a9: Verifying Checksum [2020-10-15T06:30:23.568Z] e871e8e8d7a9: Download complete [2020-10-15T06:30:28.900Z] e871e8e8d7a9: Pull complete [2020-10-15T06:30:29.164Z] e73272ec9a57: Pull complete [2020-10-15T06:30:29.164Z] 1e910a182e73: Pull complete [2020-10-15T06:30:30.642Z] 8529a6b9a6be: Pull complete [2020-10-15T06:30:30.642Z] 45590311c82a: Pull complete [2020-10-15T06:30:30.642Z] 69ca0ff8b7b3: Pull complete [2020-10-15T06:30:34.485Z] 4e634b169226: Pull complete [2020-10-15T06:30:34.485Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-15T06:30:34.485Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-15T06:30:34.485Z] ---> f7629b54cfaa [2020-10-15T06:30:34.485Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T06:30:34.485Z] ---> Running in 7dd3b0a5337f [2020-10-15T06:30:34.485Z] Removing intermediate container 7dd3b0a5337f [2020-10-15T06:30:34.485Z] ---> 6f79b8b31a23 [2020-10-15T06:30:34.485Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T06:30:34.485Z] ---> Running in 05810a4a94ac [2020-10-15T06:30:34.982Z] 209524e5b208: Pull complete [2020-10-15T06:30:34.982Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-15T06:30:34.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-15T06:30:34.982Z] ---> 5bddaf1c2fca [2020-10-15T06:30:34.982Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T06:30:36.431Z] Removing intermediate container 05810a4a94ac [2020-10-15T06:30:36.431Z] ---> 2a113b51710a [2020-10-15T06:30:36.431Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T06:30:36.431Z] ---> Running in b3506b5c69ad [2020-10-15T06:30:36.696Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T06:30:37.603Z] ---> Running in 78005a3d2191 [2020-10-15T06:30:37.876Z] Removing intermediate container 78005a3d2191 [2020-10-15T06:30:37.876Z] ---> ab33ee7909a0 [2020-10-15T06:30:37.876Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T06:30:37.876Z] ---> Running in 178c97376dd6 [2020-10-15T06:30:38.627Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T06:30:40.525Z] Removing intermediate container 178c97376dd6 [2020-10-15T06:30:40.525Z] ---> 525d9fa19211 [2020-10-15T06:30:40.525Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T06:30:40.556Z] OK: 166 MiB in 39 packages [2020-10-15T06:30:40.800Z] ---> Running in 3f251a7c8cc9 [2020-10-15T06:30:40.818Z] Removing intermediate container b3506b5c69ad [2020-10-15T06:30:40.818Z] ---> 7efcbbcc6a72 [2020-10-15T06:30:40.818Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T06:30:40.818Z] ---> Running in 5b01b0b4aa15 [2020-10-15T06:30:41.082Z] Removing intermediate container 5b01b0b4aa15 [2020-10-15T06:30:41.082Z] ---> dad18239362b [2020-10-15T06:30:41.082Z] Step 7/8 : COPY . . [2020-10-15T06:30:42.237Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T06:30:42.483Z] ---> bf398e751e5e [2020-10-15T06:30:42.483Z] Step 8/8 : RUN go mod download [2020-10-15T06:30:42.483Z] ---> Running in 6dfba14c1d4e [2020-10-15T06:30:43.672Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T06:30:45.109Z] OK: 142 MiB in 39 packages [2020-10-15T06:30:46.108Z] Removing intermediate container 3f251a7c8cc9 [2020-10-15T06:30:46.108Z] ---> a6d6bcc2d3d0 [2020-10-15T06:30:46.108Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T06:30:46.387Z] ---> Running in af21d0a7b248 [2020-10-15T06:30:46.670Z] Removing intermediate container af21d0a7b248 [2020-10-15T06:30:46.670Z] ---> c6a739859966 [2020-10-15T06:30:46.670Z] Step 7/8 : COPY . . [2020-10-15T06:30:48.106Z] ---> 7b58a25a42d4 [2020-10-15T06:30:48.106Z] Step 8/8 : RUN go mod download [2020-10-15T06:30:48.383Z] ---> Running in c99b39ce6ab0 [2020-10-15T06:31:04.543Z] Removing intermediate container 6dfba14c1d4e [2020-10-15T06:31:04.543Z] ---> 6630647f34f4 [2020-10-15T06:31:04.543Z] Successfully built 6630647f34f4 [2020-10-15T06:31:04.543Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T06:31:05.152Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T06:31:05.153Z] . [Pipeline] withDockerContainer [2020-10-15T06:31:05.280Z] prd-centos7-docker-4c-2g-5548 does not seem to be running inside a container [2020-10-15T06:31:05.332Z] $ 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-10-15T06:31:06.120Z] $ docker top f9ec3deeb16cf1afe888170486db1c38707dac65ec4bf92885b35b037058380f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T06:31:06.700Z] + go version [2020-10-15T06:31:06.700Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-15T06:31:06.735Z] $ docker stop --time=1 f9ec3deeb16cf1afe888170486db1c38707dac65ec4bf92885b35b037058380f [2020-10-15T06:31:08.067Z] $ docker rm -f f9ec3deeb16cf1afe888170486db1c38707dac65ec4bf92885b35b037058380f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T06:31:09.393Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T06:31:09.393Z] . [Pipeline] withDockerContainer [2020-10-15T06:31:09.528Z] prd-centos7-docker-4c-2g-5548 does not seem to be running inside a container [2020-10-15T06:31:09.581Z] $ 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-10-15T06:31:10.210Z] $ docker top 7d37b1d087e0ac0a179e7485d39b13e9e8caf9fa29976626861937e2daacc169 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T06:31:10.578Z] Removing intermediate container c99b39ce6ab0 [2020-10-15T06:31:10.578Z] ---> 55a5ca2ae7b4 [2020-10-15T06:31:10.578Z] Successfully built 55a5ca2ae7b4 [2020-10-15T06:31:10.578Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T06:31:10.830Z] + make test [2020-10-15T06:31:10.830Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T06:31:11.110Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T06:31:11.110Z] . [Pipeline] withDockerContainer [2020-10-15T06:31:11.431Z] prd-ubuntu18.04-docker-arm64-4c-16g-5547 does not seem to be running inside a container [2020-10-15T06:31:11.534Z] $ 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 ******** ci-base-image-arm64 cat [2020-10-15T06:31:13.489Z] $ docker top 1f6f5ee9897a08c5f863ed97f83a0719afa33ac1312239a40d82fe86b4be6fb5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T06:31:15.009Z] + go version [2020-10-15T06:31:15.009Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-15T06:31:15.060Z] $ docker stop --time=1 1f6f5ee9897a08c5f863ed97f83a0719afa33ac1312239a40d82fe86b4be6fb5 [2020-10-15T06:31:17.021Z] $ docker rm -f 1f6f5ee9897a08c5f863ed97f83a0719afa33ac1312239a40d82fe86b4be6fb5 [Pipeline] // withDockerContainer [Pipeline] } [2020-10-15T06:31:17.498Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T06:31:18.386Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T06:31:18.386Z] . [Pipeline] withDockerContainer [2020-10-15T06:31:18.734Z] prd-ubuntu18.04-docker-arm64-4c-16g-5547 does not seem to be running inside a container [2020-10-15T06:31:18.940Z] $ 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 ******** ci-base-image-arm64 cat [2020-10-15T06:31:20.859Z] $ docker top 3105b9dfee410a7856eb23b9c56097bfb96effe80ddf44ee332df2e16df9279f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T06:31:22.359Z] + make test [2020-10-15T06:31:22.359Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T06:31:35.986Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T06:31:35.986Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T06:31:35.986Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T06:31:35.986Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.069s coverage: 21.6% of statements [2020-10-15T06:31:38.009Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.595s coverage: 97.1% of statements [2020-10-15T06:31:44.798Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T06:32:10.324Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.073s coverage: 9.4% of statements [2020-10-15T06:32:10.324Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.053s coverage: 21.9% of statements [2020-10-15T06:32:10.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T06:32:10.324Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.248s coverage: 40.0% of statements [2020-10-15T06:32:10.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T06:32:10.324Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.284s coverage: 68.9% of statements [2020-10-15T06:32:10.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T06:32:10.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T06:32:10.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T06:32:10.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T06:32:10.324Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements [2020-10-15T06:32:10.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T06:32:10.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T06:32:10.324Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.456s coverage: 68.9% of statements [2020-10-15T06:32:10.324Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T06:32:10.324Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T06:32:10.324Z] GO111MODULE=on go vet ./... [2020-10-15T06:32:17.088Z] gofmt -l . [2020-10-15T06:32:17.088Z] [ "`gofmt -l .`" = "" ] [2020-10-15T06:32:17.356Z] ./bin/test-attribution-txt.sh [2020-10-15T06:32:17.939Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T06:32:18.613Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T06:32:18.638Z] $ docker stop --time=1 7d37b1d087e0ac0a179e7485d39b13e9e8caf9fa29976626861937e2daacc169 [2020-10-15T06:32:20.568Z] $ docker rm -f 7d37b1d087e0ac0a179e7485d39b13e9e8caf9fa29976626861937e2daacc169 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-15T06:32:23.962Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T06:32:23.962Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T06:32:23.962Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T06:32:23.962Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.188s coverage: 21.6% of statements [2020-10-15T06:32:24.128Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T06:32:24.463Z] + ls -al . [2020-10-15T06:32:24.463Z] total 188 [2020-10-15T06:32:24.463Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 15 06:32 . [2020-10-15T06:32:24.463Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 15 06:30 .. [2020-10-15T06:32:24.463Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 15 06:30 bin [2020-10-15T06:32:24.463Z] -rw-r--r--. 1 jenkins jenkins 110392 Oct 15 06:32 coverage.out [2020-10-15T06:32:24.463Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 15 06:30 Dockerfile.build [2020-10-15T06:32:24.463Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 15 06:30 .dockerignore [2020-10-15T06:32:24.463Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 15 06:30 example [2020-10-15T06:32:24.463Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 15 06:30 .git [2020-10-15T06:32:24.463Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 15 06:30 .github [2020-10-15T06:32:24.463Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 15 06:30 .gitignore [2020-10-15T06:32:24.463Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 15 06:32 go.mod [2020-10-15T06:32:24.463Z] -rw-r--r--. 1 jenkins jenkins 13549 Oct 15 06:32 go.sum [2020-10-15T06:32:24.463Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 15 06:30 internal [2020-10-15T06:32:24.463Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 15 06:30 Jenkinsfile [2020-10-15T06:32:24.463Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 15 06:30 LICENSE [2020-10-15T06:32:24.463Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 15 06:30 Makefile [2020-10-15T06:32:24.463Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 15 06:30 openapi [2020-10-15T06:32:24.463Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 15 06:30 pkg [2020-10-15T06:32:24.463Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 15 06:30 README.md [2020-10-15T06:32:24.463Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 15 06:30 RELEASE-NOTES.txt [2020-10-15T06:32:24.463Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 15 06:30 snap [2020-10-15T06:32:24.463Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 15 06:27 VERSION [2020-10-15T06:32:24.463Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 15 06:30 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T06:32:24.815Z] + 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=1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 --label arch=amd64 --label version=0.0.0 . [2020-10-15T06:32:25.077Z] Sending build context to Docker daemon 2.357MB [2020-10-15T06:32:25.077Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T06:32:25.077Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T06:32:25.077Z] ---> 6630647f34f4 [2020-10-15T06:32:25.077Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T06:32:25.651Z] ---> Running in e6c549fb5821 [2020-10-15T06:32:25.651Z] Removing intermediate container e6c549fb5821 [2020-10-15T06:32:25.651Z] ---> bbb48038c20d [2020-10-15T06:32:25.651Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T06:32:25.651Z] ---> Running in 080bac85e7b4 [2020-10-15T06:32:25.919Z] Removing intermediate container 080bac85e7b4 [2020-10-15T06:32:25.919Z] ---> 4c5392348a4c [2020-10-15T06:32:25.919Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T06:32:25.919Z] ---> Running in d0c071654471 [2020-10-15T06:32:26.181Z] Removing intermediate container d0c071654471 [2020-10-15T06:32:26.181Z] ---> 306815be3575 [2020-10-15T06:32:26.181Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T06:32:26.181Z] ---> Running in 6625cd3f360c [2020-10-15T06:32:27.164Z] Removing intermediate container 6625cd3f360c [2020-10-15T06:32:27.164Z] ---> b440ee45e80f [2020-10-15T06:32:27.164Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T06:32:27.164Z] ---> Running in 671a101067dc [2020-10-15T06:32:27.374Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.152s coverage: 97.1% of statements [2020-10-15T06:32:27.741Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T06:32:28.687Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T06:32:29.636Z] OK: 166 MiB in 39 packages [2020-10-15T06:32:30.215Z] Removing intermediate container 671a101067dc [2020-10-15T06:32:30.215Z] ---> 8ebf631ccd32 [2020-10-15T06:32:30.215Z] Step 8/24 : COPY . . [2020-10-15T06:32:31.613Z] ---> 346e5de77cdb [2020-10-15T06:32:31.614Z] Step 9/24 : RUN ${MAKE} [2020-10-15T06:32:31.614Z] ---> Running in 96ef98a43c24 [2020-10-15T06:32:31.877Z] 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-10-15T06:32:40.130Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T06:32:41.082Z] Removing intermediate container 96ef98a43c24 [2020-10-15T06:32:41.082Z] ---> a18a3b870662 [2020-10-15T06:32:41.082Z] Step 10/24 : FROM scratch [2020-10-15T06:32:41.082Z] ---> [2020-10-15T06:32:41.082Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T06:32:41.345Z] ---> Running in 2c2bb9df0a08 [2020-10-15T06:32:41.345Z] Removing intermediate container 2c2bb9df0a08 [2020-10-15T06:32:41.345Z] ---> 715733f3928a [2020-10-15T06:32:41.345Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T06:32:41.345Z] ---> Running in 406f471e5c86 [2020-10-15T06:32:41.607Z] Removing intermediate container 406f471e5c86 [2020-10-15T06:32:41.607Z] ---> 9d60530f069a [2020-10-15T06:32:41.607Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T06:32:41.607Z] ---> Running in 64220e654941 [2020-10-15T06:32:41.873Z] Removing intermediate container 64220e654941 [2020-10-15T06:32:41.873Z] ---> 9f1dc264ae19 [2020-10-15T06:32:41.873Z] Step 14/24 : WORKDIR / [2020-10-15T06:32:41.873Z] ---> Running in 7f2accc37e67 [2020-10-15T06:32:41.873Z] Removing intermediate container 7f2accc37e67 [2020-10-15T06:32:41.873Z] ---> a571c982848b [2020-10-15T06:32:41.873Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T06:32:42.447Z] ---> 0b4d057a952b [2020-10-15T06:32:42.447Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T06:32:42.710Z] ---> 60e25c5b5cb4 [2020-10-15T06:32:42.710Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T06:32:42.973Z] ---> beb6deb705e4 [2020-10-15T06:32:42.973Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T06:32:42.973Z] ---> 44f157643524 [2020-10-15T06:32:42.973Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T06:32:43.237Z] ---> 059f23310ec1 [2020-10-15T06:32:43.237Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T06:32:43.501Z] ---> Running in 75149bd087b6 [2020-10-15T06:32:43.501Z] Removing intermediate container 75149bd087b6 [2020-10-15T06:32:43.501Z] ---> e107a4af05de [2020-10-15T06:32:43.501Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T06:32:43.501Z] ---> Running in 1167c476c66a [2020-10-15T06:32:43.764Z] Removing intermediate container 1167c476c66a [2020-10-15T06:32:43.764Z] ---> ba61c8a59a51 [2020-10-15T06:32:43.764Z] Step 22/24 : LABEL arch=amd64 [2020-10-15T06:32:43.764Z] ---> Running in 716954e4bc24 [2020-10-15T06:32:44.027Z] Removing intermediate container 716954e4bc24 [2020-10-15T06:32:44.027Z] ---> be961bc97137 [2020-10-15T06:32:44.027Z] Step 23/24 : LABEL git_sha=1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 [2020-10-15T06:32:44.027Z] ---> Running in b2b7e9e2dcf5 [2020-10-15T06:32:44.295Z] Removing intermediate container b2b7e9e2dcf5 [2020-10-15T06:32:44.295Z] ---> 2c29aaafe2da [2020-10-15T06:32:44.295Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T06:32:44.295Z] ---> Running in b8fcc81a3109 [2020-10-15T06:32:44.295Z] Removing intermediate container b8fcc81a3109 [2020-10-15T06:32:44.295Z] ---> d11aa661e186 [2020-10-15T06:32:44.295Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T06:32:44.295Z] Successfully built d11aa661e186 [2020-10-15T06:32:44.295Z] 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] } [2020-10-15T06:32:54.182Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.180s coverage: 9.4% of statements [2020-10-15T06:32:54.182Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.130s coverage: 21.9% of statements [2020-10-15T06:32:54.182Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T06:32:54.182Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.510s coverage: 40.0% of statements [2020-10-15T06:32:54.182Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T06:32:54.182Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.780s coverage: 68.9% of statements [2020-10-15T06:32:54.182Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T06:32:54.182Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T06:32:54.182Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T06:32:54.182Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T06:32:54.182Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.173s coverage: 52.6% of statements [2020-10-15T06:32:54.182Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T06:32:54.182Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T06:32:54.182Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.881s coverage: 68.9% of statements [2020-10-15T06:32:54.182Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T06:32:54.182Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T06:32:54.782Z] GO111MODULE=on go vet ./... [2020-10-15T06:33:27.164Z] gofmt -l . [2020-10-15T06:33:27.164Z] [ "`gofmt -l .`" = "" ] [2020-10-15T06:33:27.164Z] ./bin/test-attribution-txt.sh [2020-10-15T06:33:27.164Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T06:33:27.208Z] Warning: overwriting stash ‘coverage-report’ [2020-10-15T06:33:28.341Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T06:33:28.367Z] $ docker stop --time=1 3105b9dfee410a7856eb23b9c56097bfb96effe80ddf44ee332df2e16df9279f [2020-10-15T06:33:30.645Z] $ docker rm -f 3105b9dfee410a7856eb23b9c56097bfb96effe80ddf44ee332df2e16df9279f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T06:33:32.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T06:33:32.822Z] + ls -al . [2020-10-15T06:33:32.823Z] total 224 [2020-10-15T06:33:32.823Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 06:33 . [2020-10-15T06:33:32.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 06:30 .. [2020-10-15T06:33:32.823Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 06:30 .dockerignore [2020-10-15T06:33:32.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 06:30 .git [2020-10-15T06:33:32.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 06:30 .github [2020-10-15T06:33:32.823Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 15 06:30 .gitignore [2020-10-15T06:33:32.823Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 15 06:30 Dockerfile.build [2020-10-15T06:33:32.823Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 15 06:30 Jenkinsfile [2020-10-15T06:33:32.823Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 15 06:30 LICENSE [2020-10-15T06:33:32.823Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 15 06:30 Makefile [2020-10-15T06:33:32.823Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 15 06:30 README.md [2020-10-15T06:33:32.823Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 15 06:30 RELEASE-NOTES.txt [2020-10-15T06:33:32.823Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 06:27 VERSION [2020-10-15T06:33:32.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 06:30 bin [2020-10-15T06:33:32.823Z] -rw-r--r-- 1 jenkins jenkins 110392 Oct 15 06:32 coverage.out [2020-10-15T06:33:32.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 06:30 example [2020-10-15T06:33:32.823Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 15 06:33 go.mod [2020-10-15T06:33:32.823Z] -rw-r--r-- 1 jenkins jenkins 13549 Oct 15 06:33 go.sum [2020-10-15T06:33:32.823Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 15 06:30 internal [2020-10-15T06:33:32.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 06:30 openapi [2020-10-15T06:33:32.823Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 15 06:30 pkg [2020-10-15T06:33:32.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 06:30 snap [2020-10-15T06:33:32.823Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 15 06:30 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T06:33:33.205Z] + 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=1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 --label arch=arm64 --label version=0.0.0 . [2020-10-15T06:33:33.817Z] Sending build context to Docker daemon 2.357MB [2020-10-15T06:33:33.817Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T06:33:33.817Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T06:33:33.817Z] ---> 55a5ca2ae7b4 [2020-10-15T06:33:33.817Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T06:33:34.090Z] ---> Running in 808a9918f2fa [2020-10-15T06:33:34.686Z] Removing intermediate container 808a9918f2fa [2020-10-15T06:33:34.686Z] ---> fe12cb5ac1c4 [2020-10-15T06:33:34.686Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T06:33:34.686Z] ---> Running in de73a0787b68 [2020-10-15T06:33:35.297Z] Removing intermediate container de73a0787b68 [2020-10-15T06:33:35.297Z] ---> b5ecee47210d [2020-10-15T06:33:35.297Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T06:33:35.297Z] ---> Running in 880853e2bff2 [2020-10-15T06:33:35.891Z] Removing intermediate container 880853e2bff2 [2020-10-15T06:33:35.891Z] ---> b5a6aed457f3 [2020-10-15T06:33:35.891Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T06:33:35.891Z] ---> Running in 1e1c289b3845 [2020-10-15T06:33:38.503Z] Removing intermediate container 1e1c289b3845 [2020-10-15T06:33:38.503Z] ---> 70926a1b4f3e [2020-10-15T06:33:38.503Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T06:33:38.503Z] ---> Running in 12f0c9eb54e5 [2020-10-15T06:33:39.939Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T06:33:40.915Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T06:33:41.893Z] OK: 142 MiB in 39 packages [2020-10-15T06:33:42.880Z] Removing intermediate container 12f0c9eb54e5 [2020-10-15T06:33:42.880Z] ---> 3cd1b0d764b7 [2020-10-15T06:33:42.880Z] Step 8/24 : COPY . . [2020-10-15T06:33:44.315Z] ---> 9dbac2d3327c [2020-10-15T06:33:44.315Z] Step 9/24 : RUN ${MAKE} [2020-10-15T06:33:44.592Z] ---> Running in 940e95a0235b [2020-10-15T06:33:46.030Z] 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-10-15T06:34:12.910Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T06:34:12.910Z] Removing intermediate container 940e95a0235b [2020-10-15T06:34:12.910Z] ---> 9e6cd139bc18 [2020-10-15T06:34:12.910Z] Step 10/24 : FROM scratch [2020-10-15T06:34:12.910Z] ---> [2020-10-15T06:34:12.910Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T06:34:12.910Z] ---> Running in 6793775cd431 [2020-10-15T06:34:12.910Z] Removing intermediate container 6793775cd431 [2020-10-15T06:34:12.910Z] ---> d5d4fcfad249 [2020-10-15T06:34:12.910Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T06:34:12.910Z] ---> Running in 9cffd84db416 [2020-10-15T06:34:13.192Z] Removing intermediate container 9cffd84db416 [2020-10-15T06:34:13.192Z] ---> 51cbf5187eff [2020-10-15T06:34:13.192Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T06:34:13.468Z] ---> Running in e9c900c80a55 [2020-10-15T06:34:13.739Z] Removing intermediate container e9c900c80a55 [2020-10-15T06:34:13.739Z] ---> bbcc62241ef9 [2020-10-15T06:34:13.739Z] Step 14/24 : WORKDIR / [2020-10-15T06:34:14.014Z] ---> Running in b3748cc6904f [2020-10-15T06:34:14.291Z] Removing intermediate container b3748cc6904f [2020-10-15T06:34:14.291Z] ---> 6e5df0526ac1 [2020-10-15T06:34:14.291Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T06:34:15.724Z] ---> ef698f5851df [2020-10-15T06:34:15.724Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T06:34:16.333Z] ---> b65b6a185c98 [2020-10-15T06:34:16.333Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T06:34:17.326Z] ---> 788a3d691e2b [2020-10-15T06:34:17.326Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T06:34:17.924Z] ---> df30de93574a [2020-10-15T06:34:17.924Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T06:34:18.519Z] ---> 351e336ef715 [2020-10-15T06:34:18.519Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T06:34:18.791Z] ---> Running in 3efe987b21f5 [2020-10-15T06:34:19.064Z] Removing intermediate container 3efe987b21f5 [2020-10-15T06:34:19.064Z] ---> cc25310e0b4f [2020-10-15T06:34:19.064Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T06:34:19.341Z] ---> Running in b425e139a497 [2020-10-15T06:34:19.939Z] Removing intermediate container b425e139a497 [2020-10-15T06:34:19.939Z] ---> 005674f46ea4 [2020-10-15T06:34:19.939Z] Step 22/24 : LABEL arch=arm64 [2020-10-15T06:34:19.939Z] ---> Running in 02f255e3e0fd [2020-10-15T06:34:20.541Z] Removing intermediate container 02f255e3e0fd [2020-10-15T06:34:20.541Z] ---> af12f60ca11d [2020-10-15T06:34:20.541Z] Step 23/24 : LABEL git_sha=1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 [2020-10-15T06:34:20.541Z] ---> Running in 43f965773e14 [2020-10-15T06:34:21.136Z] Removing intermediate container 43f965773e14 [2020-10-15T06:34:21.136Z] ---> 3a71638465ab [2020-10-15T06:34:21.136Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T06:34:21.136Z] ---> Running in 77018d2d302f [2020-10-15T06:34:21.733Z] Removing intermediate container 77018d2d302f [2020-10-15T06:34:21.733Z] ---> 5b3ce59e3f16 [2020-10-15T06:34:21.733Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T06:34:21.733Z] Successfully built 5b3ce59e3f16 [2020-10-15T06:34:21.733Z] 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] 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-10-15T06:34:24.421Z] provisioning config files... [2020-10-15T06:34:24.447Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/config8590072744599085171tmp [Pipeline] { [Pipeline] sh [2020-10-15T06:34:24.908Z] + set +x [2020-10-15T06:34:24.908Z] + curl -s https://codecov.io/bash [2020-10-15T06:34:24.908Z] + bash -s -- [2020-10-15T06:34:26.880Z] [2020-10-15T06:34:26.880Z] _____ _ [2020-10-15T06:34:26.880Z] / ____| | | [2020-10-15T06:34:26.880Z] | | ___ __| | ___ ___ _____ __ [2020-10-15T06:34:26.880Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-15T06:34:26.880Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-15T06:34:26.880Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-15T06:34:26.880Z] Bash-20201009-048fee3 [2020-10-15T06:34:26.880Z] [2020-10-15T06:34:26.880Z] [2020-10-15T06:34:26.880Z] ==> Jenkins CI detected. [2020-10-15T06:34:26.880Z] project root: . [2020-10-15T06:34:26.880Z] --> token set from env [2020-10-15T06:34:26.880Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-15T06:34:26.880Z] ==> Running gcov in . (disable via -X gcov) [2020-10-15T06:34:26.880Z] find: ‘./.semver’: Permission denied [2020-10-15T06:34:26.880Z] ==> Python coveragepy not found [2020-10-15T06:34:26.880Z] ==> Searching for coverage reports in: [2020-10-15T06:34:26.880Z] + . [2020-10-15T06:34:26.880Z] -> Found 1 reports [2020-10-15T06:34:26.880Z] ==> Detecting git/mercurial file structure [2020-10-15T06:34:26.880Z] ==> Reading reports [2020-10-15T06:34:26.880Z] + ./coverage.out bytes=110392 [2020-10-15T06:34:26.880Z] ==> Appending adjustments [2020-10-15T06:34:26.880Z] https://docs.codecov.io/docs/fixing-reports [2020-10-15T06:34:27.480Z] find: ‘./.semver’: Permission denied [2020-10-15T06:34:27.480Z] find: ‘./.semver’: Permission denied [2020-10-15T06:34:27.480Z] find: ‘./.semver’: Permission denied [2020-10-15T06:34:27.480Z] [2020-10-15T06:34:27.480Z] + Found adjustments [2020-10-15T06:34:27.480Z] ==> Gzipping contents [2020-10-15T06:34:27.480Z] ==> Uploading reports [2020-10-15T06:34:27.480Z] url: https://codecov.io [2020-10-15T06:34:27.480Z] query: branch=PR-627&commit=1b259b2ae0fab00b0a658cf5b503f7f912b1ab75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-627%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=627&job=&cmd_args= [2020-10-15T06:34:27.480Z] -> Pinging Codecov [2020-10-15T06:34:27.480Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-627&commit=1b259b2ae0fab00b0a658cf5b503f7f912b1ab75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-627%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=627&job=&cmd_args= [2020-10-15T06:34:27.776Z] -> Uploading to [2020-10-15T06:34:27.776Z] [2020-10-15T06:34:27.776Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T06:34:27.776Z] Dload Upload Total Spent Left Speed [2020-10-15T06:34:27.776Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-15T06:34:27.776Z] X> Failed to upload [2020-10-15T06:34:27.776Z] ==> Uploading to Codecov [2020-10-15T06:34:27.776Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T06:34:27.776Z] Dload Upload Total Spent Left Speed [2020-10-15T06:34:28.366Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 18655 0 0 100 18545 0 33099 --:--:-- --:--:-- --:--:-- 33057 100 18655 100 110 100 18545 196 33079 --:--:-- --:--:-- --:--:-- 33057 [2020-10-15T06:34:28.366Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 [Pipeline] } [2020-10-15T06:34:28.411Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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-10-15T06:34:32.642Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T06:34:33.328Z] ---> package-listing.sh [2020-10-15T06:34:33.328Z] ++ facter osfamily [2020-10-15T06:34:33.328Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-15T06:34:33.328Z] + OS_FAMILY=redhat [2020-10-15T06:34:33.328Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-627 [2020-10-15T06:34:33.328Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-15T06:34:33.328Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-15T06:34:33.328Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-15T06:34:33.328Z] + PACKAGES=/tmp/packages_start.txt [2020-10-15T06:34:33.328Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-627 ']' [2020-10-15T06:34:33.328Z] + PACKAGES=/tmp/packages_end.txt [2020-10-15T06:34:33.328Z] + case "${OS_FAMILY}" in [2020-10-15T06:34:33.328Z] + rpm -qa [2020-10-15T06:34:33.328Z] + sort [2020-10-15T06:34:37.707Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-15T06:34:37.707Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-15T06:34:37.707Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-15T06:34:37.707Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-627 ']' [2020-10-15T06:34:37.707Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-627/archives/ [2020-10-15T06:34:37.707Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-627/archives/ [Pipeline] echo [2020-10-15T06:34:37.757Z] 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-627/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-15T06:34:38.161Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-15T06:34:38.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T06:34:39.079Z] [2020-10-15T06:34:39.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-15T06:34:39.670Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T06:34:39.670Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-15T06:34:39.670Z] df20fa9351a1: Pulling fs layer [2020-10-15T06:34:39.670Z] 36b3adc4ff6f: Pulling fs layer [2020-10-15T06:34:39.670Z] 8ad3a11d3b57: Pulling fs layer [2020-10-15T06:34:39.670Z] 46f8f816bc3b: Pulling fs layer [2020-10-15T06:34:39.670Z] 93b61091891f: Pulling fs layer [2020-10-15T06:34:39.670Z] 93b9cdb0e59b: Pulling fs layer [2020-10-15T06:34:39.670Z] 5e14af77c1be: Pulling fs layer [2020-10-15T06:34:39.670Z] 01666e4c0597: Pulling fs layer [2020-10-15T06:34:39.670Z] aa168da1d23b: Pulling fs layer [2020-10-15T06:34:39.670Z] 46f8f816bc3b: Waiting [2020-10-15T06:34:39.670Z] 93b61091891f: Waiting [2020-10-15T06:34:39.670Z] 93b9cdb0e59b: Waiting [2020-10-15T06:34:39.670Z] 5e14af77c1be: Waiting [2020-10-15T06:34:39.670Z] 01666e4c0597: Waiting [2020-10-15T06:34:39.670Z] aa168da1d23b: Waiting [2020-10-15T06:34:39.992Z] 36b3adc4ff6f: Verifying Checksum [2020-10-15T06:34:39.992Z] 36b3adc4ff6f: Download complete [2020-10-15T06:34:39.992Z] 46f8f816bc3b: Verifying Checksum [2020-10-15T06:34:39.992Z] 46f8f816bc3b: Download complete [2020-10-15T06:34:39.992Z] df20fa9351a1: Download complete [2020-10-15T06:34:40.355Z] 93b9cdb0e59b: Verifying Checksum [2020-10-15T06:34:40.355Z] 93b9cdb0e59b: Download complete [2020-10-15T06:34:40.355Z] 5e14af77c1be: Verifying Checksum [2020-10-15T06:34:40.355Z] 5e14af77c1be: Download complete [2020-10-15T06:34:40.355Z] 93b61091891f: Download complete [2020-10-15T06:34:40.355Z] 01666e4c0597: Verifying Checksum [2020-10-15T06:34:40.355Z] 01666e4c0597: Download complete [2020-10-15T06:34:40.951Z] df20fa9351a1: Pull complete [2020-10-15T06:34:41.239Z] 36b3adc4ff6f: Pull complete [2020-10-15T06:34:41.530Z] 8ad3a11d3b57: Verifying Checksum [2020-10-15T06:34:41.530Z] 8ad3a11d3b57: Download complete [2020-10-15T06:34:42.691Z] 8ad3a11d3b57: Pull complete [2020-10-15T06:34:42.983Z] 46f8f816bc3b: Pull complete [2020-10-15T06:34:43.606Z] 93b61091891f: Pull complete [2020-10-15T06:34:43.931Z] 93b9cdb0e59b: Pull complete [2020-10-15T06:34:43.931Z] 5e14af77c1be: Pull complete [2020-10-15T06:34:44.221Z] 01666e4c0597: Pull complete [2020-10-15T06:34:46.310Z] aa168da1d23b: Verifying Checksum [2020-10-15T06:34:46.310Z] aa168da1d23b: Download complete [2020-10-15T06:34:58.729Z] aa168da1d23b: Pull complete [2020-10-15T06:34:58.729Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-15T06:34:58.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T06:34:58.729Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-15T06:34:59.081Z] prd-centos7-docker-4c-2g-5545 does not seem to be running inside a container [2020-10-15T06:34:59.202Z] $ 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-627/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-627 -v /w/workspace/dgexfoundry_device-sdk-go_PR-627:/w/workspace/dgexfoundry_device-sdk-go_PR-627:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-627@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-15T06:35:03.702Z] $ docker top 5335666ff3d1556c8258d5a17f3fb83a21393888cee0927906c0409636c13df8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T06:35:04.528Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-15T06:35:04.885Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-15T06:35:05.854Z] + ls /var/log/sa-host [2020-10-15T06:35:05.854Z] + sadf -c /var/log/sa-host/sa05 [2020-10-15T06:35:05.854Z] file_magic: OK [2020-10-15T06:35:05.854Z] HZ: Using current value: 100 [2020-10-15T06:35:05.854Z] file_header: OK [2020-10-15T06:35:05.854Z] 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-10-15T06:35:05.854Z] Statistics: [2020-10-15T06:35:05.854Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T06:35:05.854Z] File successfully converted to sysstat format version 12.2.1 [2020-10-15T06:35:05.854Z] + sadf -c /var/log/sa-host/sa15 [2020-10-15T06:35:05.854Z] file_magic: OK [2020-10-15T06:35:05.854Z] HZ: Using current value: 100 [2020-10-15T06:35:05.854Z] file_header: OK [2020-10-15T06:35:05.854Z] 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-10-15T06:35:05.854Z] Statistics: [2020-10-15T06:35:05.854Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T06:35:05.854Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-15T06:35:06.656Z] provisioning config files... [2020-10-15T06:35:06.693Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/config1946332429756256967tmp [Pipeline] { [Pipeline] echo [2020-10-15T06:35:06.803Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T06:35:07.284Z] ---> create-netrc.sh [Pipeline] } [2020-10-15T06:35:07.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-15T06:35:07.469Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T06:35:07.837Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-15T06:35:07.918Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T06:35:08.329Z] ---> sudo-logs.sh [2020-10-15T06:35:08.329Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-15T06:35:08.636Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T06:35:09.411Z] ---> job-cost.sh [2020-10-15T06:35:09.411Z] lf-activate-venv: SKIPPING [2020-10-15T06:35:09.411Z] INFO: No Stack... [2020-10-15T06:35:10.863Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-15T06:35:11.492Z] INFO: Archiving Costs [Pipeline] echo [2020-10-15T06:35:11.535Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T06:35:11.964Z] ---> logs-deploy.sh [2020-10-15T06:35:11.964Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-627/1 [2020-10-15T06:35:11.964Z] INFO: archiving workspace using pattern(s): [2020-10-15T06:35:14.611Z] Archives upload complete. [2020-10-15T06:35:14.611Z] INFO: archiving logs to Nexus