Pull request #628 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 2af4a04b4090d051d9ed256987a2fd6586d5f1ba+abee7d5846637e135dd277469e99a0143c7ff265 (1032894adf01952f16ea1a2631302aeec6671449) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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-5621 in /w/workspace/dgexfoundry_device-sdk-go_PR-628 [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-628 # 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/628/head:refs/remotes/origin/PR-628 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit 2af4a04b4090d051d9ed256987a2fd6586d5f1ba Merge succeeded, producing 2af4a04b4090d051d9ed256987a2fd6586d5f1ba Checking out Revision 2af4a04b4090d051d9ed256987a2fd6586d5f1ba (PR-628) > git config core.sparsecheckout # timeout=10 > git checkout -f 2af4a04b4090d051d9ed256987a2fd6586d5f1ba # 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 abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2af4a04b4090d051d9ed256987a2fd6586d5f1ba # timeout=10 Commit message: "feat(sdk): start auto-discovery upon service startup" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-15T17:24:52.880Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk e2910eae30c90f31d7fa9147c6880f90b3bc1d16 # timeout=10 [Pipeline] withCredentials [2020-10-15T17:24:53.171Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-15T17:24:53.282Z] ========================================================= [2020-10-15T17:24:53.282Z] EdgeX Global Pipelines Version Info [2020-10-15T17:24:53.282Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-15T17:24:54.670Z] ------------------- [2020-10-15T17:24:54.670Z] stable info: [2020-10-15T17:24:54.670Z] ------------------- [2020-10-15T17:24:54.670Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-15T17:24:54.670Z] Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [2020-10-15T17:24:54.670Z] Message: update stable to v1.0.142 [2020-10-15T17:24:55.616Z] ------------------- [2020-10-15T17:24:55.616Z] experimental info: [2020-10-15T17:24:55.616Z] ------------------- [2020-10-15T17:24:55.616Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-15T17:24:55.616Z] Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 [2020-10-15T17:24:55.616Z] Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-15T17:24:55.985Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-15T17:24:56.086Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-15T17:24:56.184Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-15T17:24:56.277Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-15T17:24:56.442Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-15T17:24:56.529Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-15T17:24:56.624Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-15T17:24:56.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-15T17:24:56.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-15T17:24:56.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-15T17:24:57.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-15T17:24:57.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-15T17:24:57.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-15T17:24:57.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-15T17:24:57.509Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-15T17:24:57.595Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T17:24:57.681Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T17:24:57.768Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T17:24:57.865Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-15T17:24:57.948Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-15T17:24:58.034Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-15T17:24:58.124Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-15T17:24:58.255Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-15T17:24:58.354Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-15T17:24:58.444Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-15T17:24:58.544Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-628 [Pipeline] echo [2020-10-15T17:24:58.647Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-628 [Pipeline] echo [2020-10-15T17:24:58.744Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-628 [Pipeline] echo [2020-10-15T17:24:58.836Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2af4a04b4090d051d9ed256987a2fd6586d5f1ba [Pipeline] echo [2020-10-15T17:24:58.948Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2af4a04 [Pipeline] echo [2020-10-15T17:24:59.034Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T17:24:59.648Z] + git log --format=format:%s -1 2af4a04b4090d051d9ed256987a2fd6586d5f1ba [Pipeline] echo [2020-10-15T17:24:59.709Z] GIT_COMMIT: 2af4a04b4090d051d9ed256987a2fd6586d5f1ba, Commit Message: feat(sdk): start auto-discovery upon service startup [Pipeline] echo [2020-10-15T17:24:59.756Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-15T17:25:00.363Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T17:25:00.624Z] [2020-10-15T17:25:00.624Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T17:25:00.972Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T17:25:00.972Z] latest: Pulling from edgex-devops/git-semver [2020-10-15T17:25:00.972Z] 31603596830f: Pulling fs layer [2020-10-15T17:25:00.972Z] 2a8b12db71e7: Pulling fs layer [2020-10-15T17:25:00.972Z] 6ca5941a6612: Pulling fs layer [2020-10-15T17:25:00.972Z] ecc8261a40a4: Pulling fs layer [2020-10-15T17:25:00.972Z] ecc8261a40a4: Waiting [2020-10-15T17:25:00.972Z] 2a8b12db71e7: Verifying Checksum [2020-10-15T17:25:00.972Z] 2a8b12db71e7: Download complete [2020-10-15T17:25:01.235Z] 31603596830f: Download complete [2020-10-15T17:25:01.504Z] 6ca5941a6612: Verifying Checksum [2020-10-15T17:25:01.504Z] 6ca5941a6612: Download complete [2020-10-15T17:25:01.504Z] ecc8261a40a4: Verifying Checksum [2020-10-15T17:25:01.504Z] ecc8261a40a4: Download complete [2020-10-15T17:25:01.504Z] 31603596830f: Pull complete [2020-10-15T17:25:01.774Z] 2a8b12db71e7: Pull complete [2020-10-15T17:25:02.361Z] 6ca5941a6612: Pull complete [2020-10-15T17:25:02.624Z] ecc8261a40a4: Pull complete [2020-10-15T17:25:02.624Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-15T17:25:02.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T17:25:02.885Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-15T17:25:02.988Z] prd-centos7-docker-4c-2g-5621 does not seem to be running inside a container [2020-10-15T17:25:03.042Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-628 -v /w/workspace/dgexfoundry_device-sdk-go_PR-628:/w/workspace/dgexfoundry_device-sdk-go_PR-628:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-15T17:25:05.557Z] $ docker top 60ecd9764ba5fdae010658c79496870685b3572cc11756d730f84a3b231bf08b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-15T17:25:05.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T17:25:05.837Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T17:25:06.020Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T17:25:06.025Z] $ docker exec 60ecd9764ba5fdae010658c79496870685b3572cc11756d730f84a3b231bf08b ssh-agent [2020-10-15T17:25:06.176Z] SSH_AUTH_SOCK=/tmp/ssh-1PJodoNGPVIi/agent.11 [2020-10-15T17:25:06.176Z] SSH_AGENT_PID=16 [2020-10-15T17:25:06.188Z] Running ssh-add (command line suppressed) [2020-10-15T17:25:06.301Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_9176743876127002306.key (/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_9176743876127002306.key) [2020-10-15T17:25:06.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T17:25:06.685Z] + git tag --points-at HEAD [Pipeline] } [2020-10-15T17:25:06.708Z] $ docker exec --env ******** --env ******** 60ecd9764ba5fdae010658c79496870685b3572cc11756d730f84a3b231bf08b ssh-agent -k [2020-10-15T17:25:06.811Z] unset SSH_AUTH_SOCK; [2020-10-15T17:25:06.811Z] unset SSH_AGENT_PID; [2020-10-15T17:25:06.811Z] echo Agent pid 16 killed; [2020-10-15T17:25:06.852Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-15T17:25:07.080Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T17:25:07.080Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T17:25:07.234Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T17:25:07.239Z] $ docker exec 60ecd9764ba5fdae010658c79496870685b3572cc11756d730f84a3b231bf08b ssh-agent [2020-10-15T17:25:07.393Z] SSH_AUTH_SOCK=/tmp/ssh-QN1VYNyTxpKL/agent.45 [2020-10-15T17:25:07.393Z] SSH_AGENT_PID=50 [2020-10-15T17:25:07.400Z] Running ssh-add (command line suppressed) [2020-10-15T17:25:07.511Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_7078004261668853898.key (/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_7078004261668853898.key) [2020-10-15T17:25:07.557Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T17:25:07.890Z] + git semver init [2020-10-15T17:25:07.890Z] # -> Open(): unable to determine branch for HEAD [2020-10-15T17:25:07.890Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-628/.git [2020-10-15T17:25:07.890Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-628 [2020-10-15T17:25:07.890Z] # $SEMVER_REMOTE_NAME = origin [2020-10-15T17:25:07.890Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-15T17:25:07.890Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-15T17:25:07.890Z] # $SEMVER_BRANCH = PR-628 [2020-10-15T17:25:07.890Z] # $SEMVER_TEMP = /tmp/semver-674397704 [2020-10-15T17:25:07.890Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-15T17:25:08.469Z] # '/tmp/semver-674397704' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-628/.semver' [2020-10-15T17:25:08.469Z] # -> Force: false [2020-10-15T17:25:08.469Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-628/.semver [Pipeline] } [2020-10-15T17:25:08.483Z] $ docker exec --env ******** --env ******** 60ecd9764ba5fdae010658c79496870685b3572cc11756d730f84a3b231bf08b ssh-agent -k [2020-10-15T17:25:08.586Z] unset SSH_AUTH_SOCK; [2020-10-15T17:25:08.587Z] unset SSH_AGENT_PID; [2020-10-15T17:25:08.587Z] echo Agent pid 50 killed; [2020-10-15T17:25:08.626Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-15T17:25:09.186Z] + git semver [Pipeline] } [2020-10-15T17:25:09.224Z] $ docker stop --time=1 60ecd9764ba5fdae010658c79496870685b3572cc11756d730f84a3b231bf08b [2020-10-15T17:25:10.569Z] $ docker rm -f 60ecd9764ba5fdae010658c79496870685b3572cc11756d730f84a3b231bf08b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-15T17:25:11.203Z] Stashed 1 file(s) [Pipeline] echo [2020-10-15T17:25:11.205Z] [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-15T17:25:26.708Z] Still waiting to schedule task [2020-10-15T17:25:26.708Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-15T17:25:26.710Z] Still waiting to schedule task [2020-10-15T17:25:26.710Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-15T17:27:20.565Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5622 in /w/workspace/dgexfoundry_device-sdk-go_PR-628 [Pipeline] { [Pipeline] ws [2020-10-15T17:27:20.626Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-15T17:27:25.820Z] using credential edgex-jenkins-ssh [2020-10-15T17:27:25.938Z] Cloning the remote Git repository [2020-10-15T17:27:25.989Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T17:27:26.117Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-15T17:27:26.199Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T17:27:26.200Z] > git --version # timeout=10 [2020-10-15T17:27:26.222Z] > git --version # 'git version 2.17.1' [2020-10-15T17:27:26.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T17:27:26.307Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T17:27:28.169Z] Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit 2af4a04b4090d051d9ed256987a2fd6586d5f1ba [2020-10-15T17:27:27.397Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T17:27:27.419Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T17:27:27.461Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T17:27:27.502Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T17:27:27.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T17:27:27.513Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/628/head:refs/remotes/origin/PR-628 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-15T17:27:28.177Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T17:27:28.480Z] Merge succeeded, producing 2af4a04b4090d051d9ed256987a2fd6586d5f1ba [2020-10-15T17:27:28.481Z] Checking out Revision 2af4a04b4090d051d9ed256987a2fd6586d5f1ba (PR-628) [2020-10-15T17:27:28.204Z] > git checkout -f 2af4a04b4090d051d9ed256987a2fd6586d5f1ba # timeout=10 [2020-10-15T17:27:28.313Z] > git remote # timeout=10 [2020-10-15T17:27:28.329Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T17:27:28.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T17:27:28.353Z] > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 [2020-10-15T17:27:28.419Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T17:27:28.477Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T17:27:28.515Z] > git checkout -f 2af4a04b4090d051d9ed256987a2fd6586d5f1ba # timeout=10 [2020-10-15T17:27:32.881Z] Commit message: "feat(sdk): start auto-discovery upon service startup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-15T17:27:33.917Z] ========================================================= [2020-10-15T17:27:33.918Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-15T17:27:33.918Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-15T17:27:34.866Z] + 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-15T17:27:35.850Z] Sending build context to Docker daemon 2.311MB [2020-10-15T17:27:35.850Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T17:27:35.850Z] Step 2/8 : FROM ${BASE} [2020-10-15T17:27:36.124Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-15T17:27:36.124Z] b538f80385f9: Pulling fs layer [2020-10-15T17:27:36.124Z] 74f711af9a0d: Pulling fs layer [2020-10-15T17:27:36.124Z] 99f96fe45779: Pulling fs layer [2020-10-15T17:27:36.124Z] 8529a6b9a6be: Pulling fs layer [2020-10-15T17:27:36.124Z] 45590311c82a: Pulling fs layer [2020-10-15T17:27:36.124Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-15T17:27:36.124Z] 209524e5b208: Pulling fs layer [2020-10-15T17:27:36.124Z] 8529a6b9a6be: Waiting [2020-10-15T17:27:36.124Z] 45590311c82a: Waiting [2020-10-15T17:27:36.124Z] 69ca0ff8b7b3: Waiting [2020-10-15T17:27:36.124Z] 209524e5b208: Waiting [2020-10-15T17:27:36.124Z] 99f96fe45779: Verifying Checksum [2020-10-15T17:27:36.124Z] 99f96fe45779: Download complete [2020-10-15T17:27:36.124Z] 74f711af9a0d: Download complete [2020-10-15T17:27:36.124Z] 45590311c82a: Download complete [2020-10-15T17:27:37.099Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-15T17:27:37.099Z] 69ca0ff8b7b3: Download complete [2020-10-15T17:27:37.378Z] b538f80385f9: Verifying Checksum [2020-10-15T17:27:37.378Z] b538f80385f9: Download complete [2020-10-15T17:27:37.985Z] b538f80385f9: Pull complete [2020-10-15T17:27:38.594Z] 74f711af9a0d: Pull complete [2020-10-15T17:27:38.869Z] 99f96fe45779: Pull complete [2020-10-15T17:27:39.477Z] 209524e5b208: Verifying Checksum [2020-10-15T17:27:39.477Z] 209524e5b208: Download complete [2020-10-15T17:27:40.936Z] 8529a6b9a6be: Download complete [2020-10-15T17:27:51.111Z] 8529a6b9a6be: Pull complete [2020-10-15T17:27:51.385Z] 45590311c82a: Pull complete [2020-10-15T17:27:51.660Z] 69ca0ff8b7b3: Pull complete [2020-10-15T17:27:55.983Z] 209524e5b208: Pull complete [2020-10-15T17:27:55.983Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-15T17:27:55.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-15T17:27:55.983Z] ---> 5bddaf1c2fca [2020-10-15T17:27:55.983Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T17:27:58.611Z] ---> Running in de3113e6e8a5 [2020-10-15T17:27:58.884Z] Removing intermediate container de3113e6e8a5 [2020-10-15T17:27:58.884Z] ---> ddc50f35b3c7 [2020-10-15T17:27:58.884Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T17:27:59.159Z] ---> Running in 961b811889ce [2020-10-15T17:28:02.572Z] Removing intermediate container 961b811889ce [2020-10-15T17:28:02.572Z] ---> a78b8fc142ca [2020-10-15T17:28:02.572Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T17:28:02.572Z] ---> Running in dfdd7f341b30 [2020-10-15T17:28:04.004Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T17:28:04.990Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T17:28:05.590Z] OK: 142 MiB in 39 packages [2020-10-15T17:28:07.573Z] Removing intermediate container dfdd7f341b30 [2020-10-15T17:28:07.573Z] ---> 255aff65dbfd [2020-10-15T17:28:07.573Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T17:28:07.573Z] ---> Running in d8e43d3a0c9b [2020-10-15T17:28:08.121Z] Running on prd-centos7-docker-4c-2g-5623 in /w/workspace/dgexfoundry_device-sdk-go_PR-628 [Pipeline] { [2020-10-15T17:28:08.174Z] Removing intermediate container d8e43d3a0c9b [2020-10-15T17:28:08.174Z] ---> d0767ef2a156 [2020-10-15T17:28:08.174Z] Step 7/8 : COPY . . [Pipeline] ws [2020-10-15T17:28:08.191Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-15T17:28:09.632Z] ---> ff735d72774e [2020-10-15T17:28:09.632Z] Step 8/8 : RUN go mod download [2020-10-15T17:28:09.632Z] ---> Running in cc8cad24eb23 [2020-10-15T17:28:11.004Z] using credential edgex-jenkins-ssh [2020-10-15T17:28:11.060Z] Cloning the remote Git repository [2020-10-15T17:28:11.086Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T17:28:11.160Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-15T17:28:11.222Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T17:28:11.222Z] > git --version # timeout=10 [2020-10-15T17:28:11.229Z] > git --version # 'git version 2.16.5' [2020-10-15T17:28:11.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T17:28:11.252Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T17:28:12.457Z] Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit 2af4a04b4090d051d9ed256987a2fd6586d5f1ba [2020-10-15T17:28:12.553Z] Merge succeeded, producing 2af4a04b4090d051d9ed256987a2fd6586d5f1ba [2020-10-15T17:28:12.553Z] Checking out Revision 2af4a04b4090d051d9ed256987a2fd6586d5f1ba (PR-628) [2020-10-15T17:28:11.973Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T17:28:11.980Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T17:28:11.992Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T17:28:12.005Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T17:28:12.005Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T17:28:12.011Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/628/head:refs/remotes/origin/PR-628 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-15T17:28:12.464Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T17:28:12.469Z] > git checkout -f 2af4a04b4090d051d9ed256987a2fd6586d5f1ba # timeout=10 [2020-10-15T17:28:12.521Z] > git remote # timeout=10 [2020-10-15T17:28:12.527Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T17:28:12.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T17:28:12.537Z] > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 [2020-10-15T17:28:12.546Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T17:28:12.555Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T17:28:12.560Z] > git checkout -f 2af4a04b4090d051d9ed256987a2fd6586d5f1ba # timeout=10 [2020-10-15T17:28:16.207Z] Commit message: "feat(sdk): start auto-discovery upon service startup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-15T17:28:16.950Z] ========================================================= [2020-10-15T17:28:16.950Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-15T17:28:16.950Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-15T17:28:17.621Z] + 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-15T17:28:17.884Z] Sending build context to Docker daemon 2.312MB [2020-10-15T17:28:17.884Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T17:28:17.884Z] Step 2/8 : FROM ${BASE} [2020-10-15T17:28:17.884Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-15T17:28:17.884Z] df20fa9351a1: Pulling fs layer [2020-10-15T17:28:17.884Z] ed8968b2872e: Pulling fs layer [2020-10-15T17:28:17.884Z] a92cc7c5fd73: Pulling fs layer [2020-10-15T17:28:17.884Z] e871e8e8d7a9: Pulling fs layer [2020-10-15T17:28:17.884Z] e73272ec9a57: Pulling fs layer [2020-10-15T17:28:17.884Z] 1e910a182e73: Pulling fs layer [2020-10-15T17:28:17.884Z] 4e634b169226: Pulling fs layer [2020-10-15T17:28:17.884Z] e73272ec9a57: Waiting [2020-10-15T17:28:17.884Z] 1e910a182e73: Waiting [2020-10-15T17:28:17.884Z] 4e634b169226: Waiting [2020-10-15T17:28:17.884Z] e871e8e8d7a9: Waiting [2020-10-15T17:28:18.146Z] a92cc7c5fd73: Verifying Checksum [2020-10-15T17:28:18.146Z] a92cc7c5fd73: Download complete [2020-10-15T17:28:18.146Z] ed8968b2872e: Download complete [2020-10-15T17:28:18.146Z] e73272ec9a57: Verifying Checksum [2020-10-15T17:28:18.146Z] e73272ec9a57: Download complete [2020-10-15T17:28:18.146Z] df20fa9351a1: Verifying Checksum [2020-10-15T17:28:18.146Z] 1e910a182e73: Verifying Checksum [2020-10-15T17:28:18.146Z] 1e910a182e73: Download complete [2020-10-15T17:28:18.409Z] df20fa9351a1: Pull complete [2020-10-15T17:28:18.409Z] ed8968b2872e: Pull complete [2020-10-15T17:28:18.671Z] a92cc7c5fd73: Pull complete [2020-10-15T17:28:20.593Z] 4e634b169226: Download complete [2020-10-15T17:28:21.170Z] e871e8e8d7a9: Verifying Checksum [2020-10-15T17:28:21.170Z] e871e8e8d7a9: Download complete [2020-10-15T17:28:26.504Z] e871e8e8d7a9: Pull complete [2020-10-15T17:28:26.504Z] e73272ec9a57: Pull complete [2020-10-15T17:28:26.504Z] 1e910a182e73: Pull complete [2020-10-15T17:28:31.816Z] Removing intermediate container cc8cad24eb23 [2020-10-15T17:28:31.816Z] ---> 5924b0e0aaf0 [2020-10-15T17:28:31.816Z] Successfully built 5924b0e0aaf0 [2020-10-15T17:28:31.816Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T17:28:32.210Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T17:28:32.210Z] . [Pipeline] withDockerContainer [2020-10-15T17:28:32.451Z] prd-ubuntu18.04-docker-arm64-4c-16g-5622 does not seem to be running inside a container [2020-10-15T17:28:32.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-15T17:28:34.390Z] $ docker top 8bd676138d4abad8764abc747c70e9acd9f6741632bd5f357aa545643f93ee9b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T17:28:35.824Z] + go version [2020-10-15T17:28:35.824Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-15T17:28:35.850Z] $ docker stop --time=1 8bd676138d4abad8764abc747c70e9acd9f6741632bd5f357aa545643f93ee9b [2020-10-15T17:28:36.544Z] 4e634b169226: Pull complete [2020-10-15T17:28:36.544Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-15T17:28:36.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-15T17:28:36.544Z] ---> f7629b54cfaa [2020-10-15T17:28:36.544Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T17:28:36.544Z] ---> Running in a48bb20f22fe [2020-10-15T17:28:36.544Z] Removing intermediate container a48bb20f22fe [2020-10-15T17:28:36.544Z] ---> 6810bade97ce [2020-10-15T17:28:36.544Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T17:28:36.544Z] ---> Running in 7bf98319da81 [2020-10-15T17:28:37.950Z] Removing intermediate container 7bf98319da81 [2020-10-15T17:28:37.950Z] ---> c3b36d357f3b [2020-10-15T17:28:37.950Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T17:28:37.950Z] ---> Running in 177c11ed0e61 [2020-10-15T17:28:37.998Z] $ docker rm -f 8bd676138d4abad8764abc747c70e9acd9f6741632bd5f357aa545643f93ee9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-10-15T17:28:38.530Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T17:28:39.109Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T17:28:39.155Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T17:28:39.155Z] . [Pipeline] withDockerContainer [2020-10-15T17:28:39.394Z] prd-ubuntu18.04-docker-arm64-4c-16g-5622 does not seem to be running inside a container [2020-10-15T17:28:39.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-15T17:28:39.682Z] OK: 166 MiB in 39 packages [2020-10-15T17:28:39.944Z] Removing intermediate container 177c11ed0e61 [2020-10-15T17:28:39.944Z] ---> ee3ceff8ba2b [2020-10-15T17:28:39.944Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T17:28:40.208Z] ---> Running in f354672017c9 [2020-10-15T17:28:40.208Z] Removing intermediate container f354672017c9 [2020-10-15T17:28:40.208Z] ---> a1581b6be5fc [2020-10-15T17:28:40.208Z] Step 7/8 : COPY . . [2020-10-15T17:28:41.342Z] $ docker top 8f6a637b86975bdf5b194fc09f534b5de6f3f1bad471a3ab7d5d5a0a98c20b39 -eo pid,comm [2020-10-15T17:28:41.603Z] ---> 18bcd2fa044c [2020-10-15T17:28:41.603Z] Step 8/8 : RUN go mod download [2020-10-15T17:28:41.603Z] ---> Running in 49b4861fcac3 [Pipeline] { [Pipeline] sh [2020-10-15T17:28:42.719Z] + make test [2020-10-15T17:28:42.719Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T17:29:03.636Z] Removing intermediate container 49b4861fcac3 [2020-10-15T17:29:03.636Z] ---> 24b862b7ed3e [2020-10-15T17:29:03.636Z] Successfully built 24b862b7ed3e [2020-10-15T17:29:03.636Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T17:29:03.993Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T17:29:03.993Z] . [Pipeline] withDockerContainer [2020-10-15T17:29:04.116Z] prd-centos7-docker-4c-2g-5623 does not seem to be running inside a container [2020-10-15T17:29:04.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-15T17:29:04.923Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T17:29:05.007Z] $ docker top 877b917a7df3d9d60b50f91cbb97a53fe03ee9bd5ad8f8780dad589aa4a66a02 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T17:29:05.615Z] + go version [2020-10-15T17:29:05.615Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-15T17:29:05.628Z] $ docker stop --time=1 877b917a7df3d9d60b50f91cbb97a53fe03ee9bd5ad8f8780dad589aa4a66a02 [2020-10-15T17:29:06.972Z] $ docker rm -f 877b917a7df3d9d60b50f91cbb97a53fe03ee9bd5ad8f8780dad589aa4a66a02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T17:29:07.940Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T17:29:07.941Z] . [Pipeline] withDockerContainer [2020-10-15T17:29:08.130Z] prd-centos7-docker-4c-2g-5623 does not seem to be running inside a container [2020-10-15T17:29:08.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-15T17:29:08.835Z] $ docker top 0a193db4cecc3654cf44dfd9bf96ba12fe950e5e275f261299c85dc28c2e6c81 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T17:29:09.330Z] + make test [2020-10-15T17:29:09.330Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T17:29:15.990Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T17:29:31.028Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T17:29:31.028Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T17:29:31.028Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T17:29:31.028Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.046s coverage: 21.6% of statements [2020-10-15T17:29:31.986Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.443s coverage: 97.1% of statements [2020-10-15T17:29:43.944Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T17:29:43.944Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T17:29:43.944Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T17:29:43.944Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.134s coverage: 21.6% of statements [2020-10-15T17:29:48.291Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.156s coverage: 97.1% of statements [2020-10-15T17:30:04.150Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.050s coverage: 9.4% of statements [2020-10-15T17:30:04.150Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements [2020-10-15T17:30:04.150Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T17:30:04.150Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.216s coverage: 40.8% of statements [2020-10-15T17:30:04.150Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T17:30:04.150Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.274s coverage: 68.9% of statements [2020-10-15T17:30:04.150Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T17:30:04.150Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T17:30:04.150Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T17:30:04.150Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T17:30:04.150Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements [2020-10-15T17:30:04.150Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-15T17:30:04.150Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T17:30:04.150Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T17:30:04.150Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.255s coverage: 68.9% of statements [2020-10-15T17:30:04.150Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T17:30:04.150Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T17:30:04.150Z] GO111MODULE=on go vet ./... [2020-10-15T17:30:10.812Z] gofmt -l . [2020-10-15T17:30:10.812Z] [ "`gofmt -l .`" = "" ] [2020-10-15T17:30:10.812Z] ./bin/test-attribution-txt.sh [2020-10-15T17:30:10.812Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T17:30:11.153Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T17:30:11.159Z] $ docker stop --time=1 0a193db4cecc3654cf44dfd9bf96ba12fe950e5e275f261299c85dc28c2e6c81 [2020-10-15T17:30:13.122Z] $ docker rm -f 0a193db4cecc3654cf44dfd9bf96ba12fe950e5e275f261299c85dc28c2e6c81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-15T17:30:15.050Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T17:30:15.097Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.149s coverage: 9.4% of statements [2020-10-15T17:30:15.097Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.125s coverage: 21.9% of statements [2020-10-15T17:30:15.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T17:30:15.097Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.570s coverage: 40.8% of statements [2020-10-15T17:30:15.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T17:30:15.097Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.873s coverage: 68.9% of statements [2020-10-15T17:30:15.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T17:30:15.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T17:30:15.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T17:30:15.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T17:30:15.097Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.175s coverage: 52.6% of statements [2020-10-15T17:30:15.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-15T17:30:15.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T17:30:15.097Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T17:30:15.097Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.867s coverage: 68.9% of statements [2020-10-15T17:30:15.097Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T17:30:15.097Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T17:30:15.354Z] + ls -al . [2020-10-15T17:30:15.354Z] total 188 [2020-10-15T17:30:15.354Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 15 17:30 . [2020-10-15T17:30:15.354Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 15 17:28 .. [2020-10-15T17:30:15.354Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 15 17:28 bin [2020-10-15T17:30:15.354Z] -rw-r--r--. 1 jenkins jenkins 110396 Oct 15 17:30 coverage.out [2020-10-15T17:30:15.354Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 15 17:28 Dockerfile.build [2020-10-15T17:30:15.354Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 15 17:28 .dockerignore [2020-10-15T17:30:15.354Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 15 17:28 example [2020-10-15T17:30:15.354Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 15 17:28 .git [2020-10-15T17:30:15.354Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 15 17:28 .github [2020-10-15T17:30:15.354Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 15 17:28 .gitignore [2020-10-15T17:30:15.354Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 15 17:30 go.mod [2020-10-15T17:30:15.354Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 15 17:30 go.sum [2020-10-15T17:30:15.354Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 15 17:28 internal [2020-10-15T17:30:15.354Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 15 17:28 Jenkinsfile [2020-10-15T17:30:15.354Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 15 17:28 LICENSE [2020-10-15T17:30:15.354Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 15 17:28 Makefile [2020-10-15T17:30:15.354Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 15 17:28 openapi [2020-10-15T17:30:15.354Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 15 17:28 pkg [2020-10-15T17:30:15.354Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 15 17:28 README.md [2020-10-15T17:30:15.354Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 15 17:28 RELEASE-NOTES.txt [2020-10-15T17:30:15.354Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 15 17:28 snap [2020-10-15T17:30:15.354Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 15 17:25 VERSION [2020-10-15T17:30:15.354Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 15 17:28 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T17:30:15.667Z] + 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=2af4a04b4090d051d9ed256987a2fd6586d5f1ba --label arch=amd64 --label version=0.0.0 . [2020-10-15T17:30:15.695Z] GO111MODULE=on go vet ./... [2020-10-15T17:30:15.929Z] Sending build context to Docker daemon 2.423MB [2020-10-15T17:30:15.929Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T17:30:15.929Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T17:30:15.929Z] ---> 24b862b7ed3e [2020-10-15T17:30:15.929Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T17:30:16.507Z] ---> Running in a951018fd4b7 [2020-10-15T17:30:16.507Z] Removing intermediate container a951018fd4b7 [2020-10-15T17:30:16.507Z] ---> bcf191925900 [2020-10-15T17:30:16.507Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T17:30:16.507Z] ---> Running in f018639269b9 [2020-10-15T17:30:16.770Z] Removing intermediate container f018639269b9 [2020-10-15T17:30:16.770Z] ---> 15211be2c52b [2020-10-15T17:30:16.770Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T17:30:16.770Z] ---> Running in 009b25425452 [2020-10-15T17:30:17.032Z] Removing intermediate container 009b25425452 [2020-10-15T17:30:17.032Z] ---> 3e98324b703c [2020-10-15T17:30:17.032Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T17:30:17.032Z] ---> Running in 93331ec0100e [2020-10-15T17:30:17.984Z] Removing intermediate container 93331ec0100e [2020-10-15T17:30:17.984Z] ---> 95b8145b1ce4 [2020-10-15T17:30:17.984Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T17:30:17.984Z] ---> Running in b23f234f92a9 [2020-10-15T17:30:18.561Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T17:30:19.135Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T17:30:20.083Z] OK: 166 MiB in 39 packages [2020-10-15T17:30:20.346Z] Removing intermediate container b23f234f92a9 [2020-10-15T17:30:20.346Z] ---> 0b3a0ee07dcc [2020-10-15T17:30:20.346Z] Step 8/24 : COPY . . [2020-10-15T17:30:21.292Z] ---> 39314e7879e7 [2020-10-15T17:30:21.292Z] Step 9/24 : RUN ${MAKE} [2020-10-15T17:30:21.558Z] ---> Running in 4f0e053f059e [2020-10-15T17:30:21.822Z] 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-15T17:30:30.073Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T17:30:31.997Z] Removing intermediate container 4f0e053f059e [2020-10-15T17:30:31.997Z] ---> 0a91780abe30 [2020-10-15T17:30:31.997Z] Step 10/24 : FROM scratch [2020-10-15T17:30:31.997Z] ---> [2020-10-15T17:30:31.997Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T17:30:32.260Z] ---> Running in 64d44d8f8e7b [2020-10-15T17:30:32.260Z] Removing intermediate container 64d44d8f8e7b [2020-10-15T17:30:32.260Z] ---> dab028205d4d [2020-10-15T17:30:32.260Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T17:30:32.522Z] ---> Running in 8be35f34ff9b [2020-10-15T17:30:32.522Z] Removing intermediate container 8be35f34ff9b [2020-10-15T17:30:32.522Z] ---> 54e2b8fc3aa5 [2020-10-15T17:30:32.522Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T17:30:32.522Z] ---> Running in 4a0297966eea [2020-10-15T17:30:32.784Z] Removing intermediate container 4a0297966eea [2020-10-15T17:30:32.784Z] ---> 30d20309b56e [2020-10-15T17:30:32.784Z] Step 14/24 : WORKDIR / [2020-10-15T17:30:32.784Z] ---> Running in ff6eb721b0bb [2020-10-15T17:30:33.047Z] Removing intermediate container ff6eb721b0bb [2020-10-15T17:30:33.047Z] ---> be146be83498 [2020-10-15T17:30:33.047Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T17:30:33.625Z] ---> fccaf8022b80 [2020-10-15T17:30:33.625Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T17:30:33.625Z] ---> 98f82e6e48f8 [2020-10-15T17:30:33.625Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T17:30:33.886Z] ---> 925d13605766 [2020-10-15T17:30:33.886Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T17:30:34.150Z] ---> c0ec15d85f8d [2020-10-15T17:30:34.150Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T17:30:34.411Z] ---> 93a86f03b56d [2020-10-15T17:30:34.411Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T17:30:34.411Z] ---> Running in 8338bcbea423 [2020-10-15T17:30:34.673Z] Removing intermediate container 8338bcbea423 [2020-10-15T17:30:34.673Z] ---> 86ac35eb406a [2020-10-15T17:30:34.673Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T17:30:34.673Z] ---> Running in 70d25b39ca31 [2020-10-15T17:30:34.936Z] Removing intermediate container 70d25b39ca31 [2020-10-15T17:30:34.936Z] ---> cc01e151090d [2020-10-15T17:30:34.936Z] Step 22/24 : LABEL arch=amd64 [2020-10-15T17:30:34.936Z] ---> Running in a4879259c7a1 [2020-10-15T17:30:34.936Z] Removing intermediate container a4879259c7a1 [2020-10-15T17:30:34.936Z] ---> 34db8a43b720 [2020-10-15T17:30:34.936Z] Step 23/24 : LABEL git_sha=2af4a04b4090d051d9ed256987a2fd6586d5f1ba [2020-10-15T17:30:35.198Z] ---> Running in dbc1a53685b9 [2020-10-15T17:30:35.198Z] Removing intermediate container dbc1a53685b9 [2020-10-15T17:30:35.198Z] ---> 3d32a61425fe [2020-10-15T17:30:35.198Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T17:30:35.198Z] ---> Running in f2d757534e48 [2020-10-15T17:30:35.461Z] Removing intermediate container f2d757534e48 [2020-10-15T17:30:35.461Z] ---> 804c310c336a [2020-10-15T17:30:35.461Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T17:30:35.461Z] Successfully built 804c310c336a [2020-10-15T17:30:35.461Z] 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-15T17:30:48.074Z] gofmt -l . [2020-10-15T17:30:48.074Z] [ "`gofmt -l .`" = "" ] [2020-10-15T17:30:48.074Z] ./bin/test-attribution-txt.sh [2020-10-15T17:30:48.074Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T17:30:48.095Z] Warning: overwriting stash ‘coverage-report’ [2020-10-15T17:30:48.943Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T17:30:48.956Z] $ docker stop --time=1 8f6a637b86975bdf5b194fc09f534b5de6f3f1bad471a3ab7d5d5a0a98c20b39 [2020-10-15T17:30:51.303Z] $ docker rm -f 8f6a637b86975bdf5b194fc09f534b5de6f3f1bad471a3ab7d5d5a0a98c20b39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T17:30:52.922Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T17:30:53.280Z] + ls -al . [2020-10-15T17:30:53.280Z] total 224 [2020-10-15T17:30:53.280Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 17:30 . [2020-10-15T17:30:53.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 17:27 .. [2020-10-15T17:30:53.280Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 17:27 .dockerignore [2020-10-15T17:30:53.280Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 17:27 .git [2020-10-15T17:30:53.280Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 17:27 .github [2020-10-15T17:30:53.280Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 15 17:27 .gitignore [2020-10-15T17:30:53.280Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 15 17:27 Dockerfile.build [2020-10-15T17:30:53.280Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 15 17:27 Jenkinsfile [2020-10-15T17:30:53.280Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 15 17:27 LICENSE [2020-10-15T17:30:53.280Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 15 17:27 Makefile [2020-10-15T17:30:53.280Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 15 17:27 README.md [2020-10-15T17:30:53.280Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 15 17:27 RELEASE-NOTES.txt [2020-10-15T17:30:53.280Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 17:25 VERSION [2020-10-15T17:30:53.280Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 17:27 bin [2020-10-15T17:30:53.280Z] -rw-r--r-- 1 jenkins jenkins 110396 Oct 15 17:30 coverage.out [2020-10-15T17:30:53.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 17:27 example [2020-10-15T17:30:53.280Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 15 17:30 go.mod [2020-10-15T17:30:53.280Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 15 17:30 go.sum [2020-10-15T17:30:53.280Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 15 17:27 internal [2020-10-15T17:30:53.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 17:27 openapi [2020-10-15T17:30:53.280Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 15 17:27 pkg [2020-10-15T17:30:53.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 17:27 snap [2020-10-15T17:30:53.280Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 15 17:27 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T17:30:53.637Z] + 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=2af4a04b4090d051d9ed256987a2fd6586d5f1ba --label arch=arm64 --label version=0.0.0 . [2020-10-15T17:30:53.931Z] Sending build context to Docker daemon 2.422MB [2020-10-15T17:30:54.209Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T17:30:54.209Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T17:30:54.209Z] ---> 5924b0e0aaf0 [2020-10-15T17:30:54.209Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T17:30:54.482Z] ---> Running in bddb96ba67db [2020-10-15T17:30:54.755Z] Removing intermediate container bddb96ba67db [2020-10-15T17:30:54.755Z] ---> 4c149dec1f6f [2020-10-15T17:30:54.755Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T17:30:55.029Z] ---> Running in 2548aae8e328 [2020-10-15T17:30:55.312Z] Removing intermediate container 2548aae8e328 [2020-10-15T17:30:55.312Z] ---> 475f71edb465 [2020-10-15T17:30:55.312Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T17:30:55.587Z] ---> Running in 9e2953339446 [2020-10-15T17:30:56.184Z] Removing intermediate container 9e2953339446 [2020-10-15T17:30:56.184Z] ---> 0d254d3b5316 [2020-10-15T17:30:56.184Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T17:30:56.184Z] ---> Running in 5d74bec0a44d [2020-10-15T17:30:58.806Z] Removing intermediate container 5d74bec0a44d [2020-10-15T17:30:58.806Z] ---> d79492dbf8e1 [2020-10-15T17:30:58.806Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T17:30:58.806Z] ---> Running in 8192bb5365d7 [2020-10-15T17:31:00.241Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T17:31:00.836Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T17:31:01.429Z] OK: 142 MiB in 39 packages [2020-10-15T17:31:02.867Z] Removing intermediate container 8192bb5365d7 [2020-10-15T17:31:02.867Z] ---> bdc77b0eec21 [2020-10-15T17:31:02.867Z] Step 8/24 : COPY . . [2020-10-15T17:31:03.850Z] ---> 4c1ce7343030 [2020-10-15T17:31:03.851Z] Step 9/24 : RUN ${MAKE} [2020-10-15T17:31:04.127Z] ---> Running in 8eb62fed250a [2020-10-15T17:31:05.560Z] 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-15T17:31:32.735Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T17:31:32.735Z] Removing intermediate container 8eb62fed250a [2020-10-15T17:31:32.735Z] ---> 987fb5bfa7a9 [2020-10-15T17:31:32.735Z] Step 10/24 : FROM scratch [2020-10-15T17:31:32.735Z] ---> [2020-10-15T17:31:32.735Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T17:31:32.735Z] ---> Running in d7fa66079b07 [2020-10-15T17:31:32.735Z] Removing intermediate container d7fa66079b07 [2020-10-15T17:31:32.735Z] ---> f95c9ba74ac2 [2020-10-15T17:31:32.735Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T17:31:32.735Z] ---> Running in 8579f9f538d2 [2020-10-15T17:31:33.024Z] Removing intermediate container 8579f9f538d2 [2020-10-15T17:31:33.024Z] ---> 227da20456bf [2020-10-15T17:31:33.024Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T17:31:33.024Z] ---> Running in 91c1f0759f73 [2020-10-15T17:31:33.310Z] Removing intermediate container 91c1f0759f73 [2020-10-15T17:31:33.310Z] ---> 4a7335631d30 [2020-10-15T17:31:33.310Z] Step 14/24 : WORKDIR / [2020-10-15T17:31:33.604Z] ---> Running in 5b6016463a0b [2020-10-15T17:31:33.894Z] Removing intermediate container 5b6016463a0b [2020-10-15T17:31:33.894Z] ---> 6324e1d3beed [2020-10-15T17:31:33.894Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T17:31:35.403Z] ---> bffc59e5ddda [2020-10-15T17:31:35.403Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T17:31:36.033Z] ---> 399f931c7cc1 [2020-10-15T17:31:36.033Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T17:31:36.667Z] ---> 4ffbdfa120c2 [2020-10-15T17:31:36.667Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T17:31:37.697Z] ---> f618256c78a4 [2020-10-15T17:31:37.697Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T17:31:38.299Z] ---> 659c7e339692 [2020-10-15T17:31:38.299Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T17:31:38.299Z] ---> Running in f92f645cf38f [2020-10-15T17:31:38.895Z] Removing intermediate container f92f645cf38f [2020-10-15T17:31:38.895Z] ---> 42f01e563fec [2020-10-15T17:31:38.895Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T17:31:38.895Z] ---> Running in b2073a96c1d8 [2020-10-15T17:31:39.168Z] Removing intermediate container b2073a96c1d8 [2020-10-15T17:31:39.168Z] ---> fcc444a5db73 [2020-10-15T17:31:39.168Z] Step 22/24 : LABEL arch=arm64 [2020-10-15T17:31:39.443Z] ---> Running in fcd17354bae5 [2020-10-15T17:31:39.713Z] Removing intermediate container fcd17354bae5 [2020-10-15T17:31:39.713Z] ---> 0a3fc7068a8c [2020-10-15T17:31:39.713Z] Step 23/24 : LABEL git_sha=2af4a04b4090d051d9ed256987a2fd6586d5f1ba [2020-10-15T17:31:39.987Z] ---> Running in c2b9aa097893 [2020-10-15T17:31:40.260Z] Removing intermediate container c2b9aa097893 [2020-10-15T17:31:40.260Z] ---> d3e69f8f33e9 [2020-10-15T17:31:40.260Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T17:31:40.533Z] ---> Running in dce7f1e2cf3e [2020-10-15T17:31:41.131Z] Removing intermediate container dce7f1e2cf3e [2020-10-15T17:31:41.131Z] ---> cbc7046999b0 [2020-10-15T17:31:41.131Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T17:31:41.131Z] Successfully built cbc7046999b0 [2020-10-15T17:31:41.131Z] 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-15T17:31:43.346Z] provisioning config files... [2020-10-15T17:31:43.361Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/config3469636218853883975tmp [Pipeline] { [Pipeline] sh [2020-10-15T17:31:43.740Z] + set +x [2020-10-15T17:31:43.740Z] + curl -s https://codecov.io/bash [2020-10-15T17:31:43.740Z] + bash -s -- [2020-10-15T17:31:44.002Z] [2020-10-15T17:31:44.002Z] _____ _ [2020-10-15T17:31:44.002Z] / ____| | | [2020-10-15T17:31:44.002Z] | | ___ __| | ___ ___ _____ __ [2020-10-15T17:31:44.002Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-15T17:31:44.002Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-15T17:31:44.002Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-15T17:31:44.002Z] Bash-20201009-048fee3 [2020-10-15T17:31:44.002Z] [2020-10-15T17:31:44.002Z] [2020-10-15T17:31:44.002Z] ==> Jenkins CI detected. [2020-10-15T17:31:44.002Z] project root: . [2020-10-15T17:31:44.002Z] --> token set from env [2020-10-15T17:31:44.002Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-15T17:31:44.002Z] ==> Running gcov in . (disable via -X gcov) [2020-10-15T17:31:44.002Z] find: ‘./.semver’: Permission denied [2020-10-15T17:31:44.002Z] ==> Python coveragepy not found [2020-10-15T17:31:44.002Z] ==> Searching for coverage reports in: [2020-10-15T17:31:44.002Z] + . [2020-10-15T17:31:44.002Z] -> Found 1 reports [2020-10-15T17:31:44.002Z] ==> Detecting git/mercurial file structure [2020-10-15T17:31:44.002Z] ==> Reading reports [2020-10-15T17:31:44.002Z] + ./coverage.out bytes=110396 [2020-10-15T17:31:44.002Z] ==> Appending adjustments [2020-10-15T17:31:44.002Z] https://docs.codecov.io/docs/fixing-reports [2020-10-15T17:31:44.266Z] find: ‘./.semver’: Permission denied [2020-10-15T17:31:44.266Z] find: ‘./.semver’: Permission denied [2020-10-15T17:31:44.528Z] find: ‘./.semver’: Permission denied [2020-10-15T17:31:44.528Z] [2020-10-15T17:31:44.528Z] + Found adjustments [2020-10-15T17:31:44.528Z] ==> Gzipping contents [2020-10-15T17:31:44.528Z] ==> Uploading reports [2020-10-15T17:31:44.528Z] url: https://codecov.io [2020-10-15T17:31:44.528Z] query: branch=PR-628&commit=2af4a04b4090d051d9ed256987a2fd6586d5f1ba&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-628%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=628&job=&cmd_args= [2020-10-15T17:31:44.528Z] -> Pinging Codecov [2020-10-15T17:31:44.528Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-628&commit=2af4a04b4090d051d9ed256987a2fd6586d5f1ba&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-628%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=628&job=&cmd_args= [2020-10-15T17:31:44.528Z] -> Uploading to [2020-10-15T17:31:44.528Z] [2020-10-15T17:31:44.528Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T17:31:44.528Z] Dload Upload Total Spent Left Speed [2020-10-15T17:31:44.528Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-15T17:31:44.528Z] X> Failed to upload [2020-10-15T17:31:44.528Z] ==> Uploading to Codecov [2020-10-15T17:31:44.528Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T17:31:44.528Z] Dload Upload Total Spent Left Speed [2020-10-15T17:31:45.103Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19007 0 0 100 18897 0 31097 --:--:-- --:--:-- --:--:-- 31080 100 19007 100 110 100 18897 180 31088 --:--:-- --:--:-- --:--:-- 31080 [2020-10-15T17:31:45.103Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2af4a04b4090d051d9ed256987a2fd6586d5f1ba [Pipeline] } [2020-10-15T17:31:45.114Z] 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-15T17:31:47.930Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T17:31:48.498Z] ---> package-listing.sh [2020-10-15T17:31:48.498Z] ++ facter osfamily [2020-10-15T17:31:48.498Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-15T17:31:48.498Z] + OS_FAMILY=redhat [2020-10-15T17:31:48.498Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-628 [2020-10-15T17:31:48.498Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-15T17:31:48.498Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-15T17:31:48.498Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-15T17:31:48.498Z] + PACKAGES=/tmp/packages_start.txt [2020-10-15T17:31:48.498Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-628 ']' [2020-10-15T17:31:48.498Z] + PACKAGES=/tmp/packages_end.txt [2020-10-15T17:31:48.498Z] + case "${OS_FAMILY}" in [2020-10-15T17:31:48.498Z] + rpm -qa [2020-10-15T17:31:48.498Z] + sort [2020-10-15T17:31:52.725Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-15T17:31:52.725Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-15T17:31:52.725Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-15T17:31:52.725Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-628 ']' [2020-10-15T17:31:52.725Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-628/archives/ [2020-10-15T17:31:52.725Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-628/archives/ [Pipeline] echo [2020-10-15T17:31:52.746Z] 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-628/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-15T17:31:53.035Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-15T17:31:53.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T17:31:53.343Z] [2020-10-15T17:31:53.343Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-15T17:31:53.701Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T17:31:53.701Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-15T17:31:53.701Z] df20fa9351a1: Pulling fs layer [2020-10-15T17:31:53.701Z] 36b3adc4ff6f: Pulling fs layer [2020-10-15T17:31:53.701Z] 8ad3a11d3b57: Pulling fs layer [2020-10-15T17:31:53.701Z] 46f8f816bc3b: Pulling fs layer [2020-10-15T17:31:53.701Z] 93b61091891f: Pulling fs layer [2020-10-15T17:31:53.701Z] 93b9cdb0e59b: Pulling fs layer [2020-10-15T17:31:53.701Z] 5e14af77c1be: Pulling fs layer [2020-10-15T17:31:53.701Z] 01666e4c0597: Pulling fs layer [2020-10-15T17:31:53.701Z] aa168da1d23b: Pulling fs layer [2020-10-15T17:31:53.701Z] 46f8f816bc3b: Waiting [2020-10-15T17:31:53.701Z] 93b61091891f: Waiting [2020-10-15T17:31:53.701Z] 93b9cdb0e59b: Waiting [2020-10-15T17:31:53.701Z] 5e14af77c1be: Waiting [2020-10-15T17:31:53.701Z] 01666e4c0597: Waiting [2020-10-15T17:31:53.701Z] aa168da1d23b: Waiting [2020-10-15T17:31:53.701Z] 36b3adc4ff6f: Verifying Checksum [2020-10-15T17:31:53.701Z] 36b3adc4ff6f: Download complete [2020-10-15T17:31:53.701Z] 46f8f816bc3b: Verifying Checksum [2020-10-15T17:31:53.701Z] 46f8f816bc3b: Download complete [2020-10-15T17:31:53.963Z] df20fa9351a1: Download complete [2020-10-15T17:31:53.963Z] 93b9cdb0e59b: Verifying Checksum [2020-10-15T17:31:53.963Z] 93b9cdb0e59b: Download complete [2020-10-15T17:31:53.963Z] 5e14af77c1be: Verifying Checksum [2020-10-15T17:31:53.963Z] 5e14af77c1be: Download complete [2020-10-15T17:31:53.963Z] 93b61091891f: Download complete [2020-10-15T17:31:53.963Z] 8ad3a11d3b57: Verifying Checksum [2020-10-15T17:31:54.226Z] df20fa9351a1: Pull complete [2020-10-15T17:31:54.226Z] 36b3adc4ff6f: Pull complete [2020-10-15T17:31:54.802Z] 01666e4c0597: Verifying Checksum [2020-10-15T17:31:54.802Z] 01666e4c0597: Download complete [2020-10-15T17:31:54.802Z] 8ad3a11d3b57: Pull complete [2020-10-15T17:31:55.071Z] 46f8f816bc3b: Pull complete [2020-10-15T17:31:55.334Z] 93b61091891f: Pull complete [2020-10-15T17:31:55.599Z] 93b9cdb0e59b: Pull complete [2020-10-15T17:31:55.599Z] 5e14af77c1be: Pull complete [2020-10-15T17:31:56.173Z] 01666e4c0597: Pull complete [2020-10-15T17:31:56.435Z] aa168da1d23b: Verifying Checksum [2020-10-15T17:31:56.435Z] aa168da1d23b: Download complete [2020-10-15T17:32:03.055Z] aa168da1d23b: Pull complete [2020-10-15T17:32:03.055Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-15T17:32:03.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T17:32:03.055Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-15T17:32:03.204Z] prd-centos7-docker-4c-2g-5621 does not seem to be running inside a container [2020-10-15T17:32:03.251Z] $ 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-628/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-628 -v /w/workspace/dgexfoundry_device-sdk-go_PR-628:/w/workspace/dgexfoundry_device-sdk-go_PR-628:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-15T17:32:07.376Z] $ docker top 168fa44e2b84d93dccabedfd03e33058416d1e064f2f2897e3509863e2d5bdac -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T17:32:07.930Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-15T17:32:08.227Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-15T17:32:08.524Z] + ls /var/log/sa-host [2020-10-15T17:32:08.525Z] + sadf -c /var/log/sa-host/sa05 [2020-10-15T17:32:08.525Z] file_magic: OK [2020-10-15T17:32:08.525Z] HZ: Using current value: 100 [2020-10-15T17:32:08.525Z] file_header: OK [2020-10-15T17:32:08.525Z] 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-15T17:32:08.525Z] Statistics: [2020-10-15T17:32:08.525Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T17:32:08.525Z] File successfully converted to sysstat format version 12.2.1 [2020-10-15T17:32:08.525Z] + sadf -c /var/log/sa-host/sa15 [2020-10-15T17:32:08.525Z] file_magic: OK [2020-10-15T17:32:08.525Z] HZ: Using current value: 100 [2020-10-15T17:32:08.525Z] file_header: OK [2020-10-15T17:32:08.525Z] 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-15T17:32:08.525Z] Statistics: [2020-10-15T17:32:08.525Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T17:32:08.525Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-15T17:32:08.754Z] provisioning config files... [2020-10-15T17:32:08.776Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/config5811069386615949222tmp [Pipeline] { [Pipeline] echo [2020-10-15T17:32:08.848Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T17:32:09.143Z] ---> create-netrc.sh [Pipeline] } [2020-10-15T17:32:09.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-15T17:32:09.242Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T17:32:09.542Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-15T17:32:09.552Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T17:32:09.848Z] ---> sudo-logs.sh [2020-10-15T17:32:09.848Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-15T17:32:09.858Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T17:32:10.194Z] ---> job-cost.sh [2020-10-15T17:32:10.194Z] lf-activate-venv: SKIPPING [2020-10-15T17:32:10.194Z] INFO: No Stack... [2020-10-15T17:32:11.139Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-15T17:32:11.710Z] INFO: Archiving Costs [Pipeline] echo [2020-10-15T17:32:11.721Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T17:32:12.022Z] ---> logs-deploy.sh [2020-10-15T17:32:12.022Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-628/2 [2020-10-15T17:32:12.022Z] INFO: archiving workspace using pattern(s): [2020-10-15T17:32:13.408Z] Archives upload complete. [2020-10-15T17:32:13.671Z] INFO: archiving logs to Nexus