Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cf665ca7c464fb037769b6d006e61db58705184d+2d9730a214a0d2600c47b6e1f4d312ee14057382 (e660f09b1e52a81bb3167d73169aff0d1e05c15b) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6222 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [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-584 # 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/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit cf665ca7c464fb037769b6d006e61db58705184d Merge succeeded, producing cf665ca7c464fb037769b6d006e61db58705184d Checking out Revision cf665ca7c464fb037769b6d006e61db58705184d (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f cf665ca7c464fb037769b6d006e61db58705184d # 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 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf665ca7c464fb037769b6d006e61db58705184d # timeout=10 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-19T07:28:53.697Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk c21a409bbfced46ca16a85b0143ca024b218a3a5 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-19T07:28:53.924Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-19T07:28:54.034Z] ========================================================= [2020-10-19T07:28:54.034Z] EdgeX Global Pipelines Version Info [2020-10-19T07:28:54.034Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:28:55.533Z] ------------------- [2020-10-19T07:28:55.533Z] stable info: [2020-10-19T07:28:55.533Z] ------------------- [2020-10-19T07:28:55.533Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:28:55.533Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:28:55.533Z] Message: update stable to v1.0.144 [2020-10-19T07:28:56.478Z] ------------------- [2020-10-19T07:28:56.478Z] experimental info: [2020-10-19T07:28:56.478Z] ------------------- [2020-10-19T07:28:56.478Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:28:56.478Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:28:56.478Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-19T07:28:56.850Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-19T07:28:56.938Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-19T07:28:57.032Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-19T07:28:57.123Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-19T07:28:57.215Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-19T07:28:57.328Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-19T07:28:57.415Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-19T07:28:57.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-19T07:28:57.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-19T07:28:57.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-19T07:28:57.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-19T07:28:57.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-19T07:28:58.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-19T07:28:58.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-19T07:28:58.195Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-19T07:28:58.281Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:28:58.371Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:28:58.462Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:28:58.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-19T07:28:58.630Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-19T07:28:58.724Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-19T07:28:58.858Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-19T07:28:59.141Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-19T07:28:59.225Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-19T07:28:59.313Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-19T07:28:59.400Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-10-19T07:28:59.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-10-19T07:28:59.575Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-10-19T07:28:59.684Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf665ca7c464fb037769b6d006e61db58705184d [Pipeline] echo [2020-10-19T07:28:59.766Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf665ca [Pipeline] echo [2020-10-19T07:28:59.875Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:29:00.444Z] + git log --format=format:%s -1 cf665ca7c464fb037769b6d006e61db58705184d [Pipeline] echo [2020-10-19T07:29:00.509Z] GIT_COMMIT: cf665ca7c464fb037769b6d006e61db58705184d, Commit Message: build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0 [Pipeline] echo [2020-10-19T07:29:00.557Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:29:01.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:29:01.151Z] [2020-10-19T07:29:01.151Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:29:01.506Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:29:01.506Z] latest: Pulling from edgex-devops/git-semver [2020-10-19T07:29:01.506Z] 31603596830f: Pulling fs layer [2020-10-19T07:29:01.506Z] 2a8b12db71e7: Pulling fs layer [2020-10-19T07:29:01.506Z] 6ca5941a6612: Pulling fs layer [2020-10-19T07:29:01.506Z] ecc8261a40a4: Pulling fs layer [2020-10-19T07:29:01.506Z] ecc8261a40a4: Waiting [2020-10-19T07:29:01.506Z] 2a8b12db71e7: Verifying Checksum [2020-10-19T07:29:01.506Z] 2a8b12db71e7: Download complete [2020-10-19T07:29:01.774Z] 31603596830f: Verifying Checksum [2020-10-19T07:29:01.774Z] 31603596830f: Download complete [2020-10-19T07:29:01.774Z] 6ca5941a6612: Verifying Checksum [2020-10-19T07:29:01.774Z] 6ca5941a6612: Download complete [2020-10-19T07:29:01.774Z] ecc8261a40a4: Verifying Checksum [2020-10-19T07:29:01.774Z] ecc8261a40a4: Download complete [2020-10-19T07:29:02.040Z] 31603596830f: Pull complete [2020-10-19T07:29:02.040Z] 2a8b12db71e7: Pull complete [2020-10-19T07:29:02.989Z] 6ca5941a6612: Pull complete [2020-10-19T07:29:03.251Z] ecc8261a40a4: Pull complete [2020-10-19T07:29:03.251Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-19T07:29:03.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:29:03.251Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-19T07:29:03.392Z] prd-centos7-docker-4c-2g-6222 does not seem to be running inside a container [2020-10-19T07:29:03.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-19T07:29:05.524Z] $ docker top 66bdaba81e1fe013726a7d8e31d36cf8c084982008e89993b279e44cce5cff30 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-19T07:29:05.803Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:29:05.803Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:29:06.012Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:29:06.017Z] $ docker exec 66bdaba81e1fe013726a7d8e31d36cf8c084982008e89993b279e44cce5cff30 ssh-agent [2020-10-19T07:29:06.172Z] SSH_AUTH_SOCK=/tmp/ssh-2FIK13OPoZy1/agent.12 [2020-10-19T07:29:06.172Z] SSH_AGENT_PID=17 [2020-10-19T07:29:06.184Z] Running ssh-add (command line suppressed) [2020-10-19T07:29:06.305Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3678278384689793444.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3678278384689793444.key) [2020-10-19T07:29:06.355Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:29:06.692Z] + git tag --points-at HEAD [Pipeline] } [2020-10-19T07:29:06.714Z] $ docker exec --env ******** --env ******** 66bdaba81e1fe013726a7d8e31d36cf8c084982008e89993b279e44cce5cff30 ssh-agent -k [2020-10-19T07:29:06.830Z] unset SSH_AUTH_SOCK; [2020-10-19T07:29:06.830Z] unset SSH_AGENT_PID; [2020-10-19T07:29:06.830Z] echo Agent pid 17 killed; [2020-10-19T07:29:06.875Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-19T07:29:07.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:29:07.051Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:29:07.215Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:29:07.220Z] $ docker exec 66bdaba81e1fe013726a7d8e31d36cf8c084982008e89993b279e44cce5cff30 ssh-agent [2020-10-19T07:29:07.378Z] SSH_AUTH_SOCK=/tmp/ssh-4iFezmSuOmk3/agent.46 [2020-10-19T07:29:07.378Z] SSH_AGENT_PID=51 [2020-10-19T07:29:07.384Z] Running ssh-add (command line suppressed) [2020-10-19T07:29:07.508Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_7740407654335360463.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_7740407654335360463.key) [2020-10-19T07:29:07.554Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:29:07.892Z] + git semver init [2020-10-19T07:29:07.893Z] # -> Open(): unable to determine branch for HEAD [2020-10-19T07:29:07.893Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-10-19T07:29:07.893Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-19T07:29:07.893Z] # $SEMVER_REMOTE_NAME = origin [2020-10-19T07:29:07.893Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-19T07:29:07.893Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-19T07:29:07.893Z] # $SEMVER_BRANCH = PR-584 [2020-10-19T07:29:07.893Z] # $SEMVER_TEMP = /tmp/semver-365261037 [2020-10-19T07:29:07.893Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-19T07:29:08.466Z] # '/tmp/semver-365261037' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-10-19T07:29:08.466Z] # -> Force: false [2020-10-19T07:29:08.466Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-10-19T07:29:08.480Z] $ docker exec --env ******** --env ******** 66bdaba81e1fe013726a7d8e31d36cf8c084982008e89993b279e44cce5cff30 ssh-agent -k [2020-10-19T07:29:08.602Z] unset SSH_AUTH_SOCK; [2020-10-19T07:29:08.602Z] unset SSH_AGENT_PID; [2020-10-19T07:29:08.602Z] echo Agent pid 51 killed; [2020-10-19T07:29:08.643Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-19T07:29:09.131Z] + git semver [Pipeline] } [2020-10-19T07:29:09.152Z] $ docker stop --time=1 66bdaba81e1fe013726a7d8e31d36cf8c084982008e89993b279e44cce5cff30 [2020-10-19T07:29:10.480Z] $ docker rm -f 66bdaba81e1fe013726a7d8e31d36cf8c084982008e89993b279e44cce5cff30 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-19T07:29:10.966Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-19T07:29:11.418Z] Stashed 1 file(s) [Pipeline] echo [2020-10-19T07:29:11.420Z] [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-19T07:29:26.914Z] Still waiting to schedule task [2020-10-19T07:29:26.914Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-19T07:29:26.916Z] Still waiting to schedule task [2020-10-19T07:29:26.916Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-19T07:32:00.860Z] Running on prd-centos7-docker-4c-2g-6226 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-19T07:32:00.990Z] Running in /w/workspace/device-sdk-go/27 [Pipeline] { [Pipeline] checkout [2020-10-19T07:32:07.656Z] using credential edgex-jenkins-ssh [2020-10-19T07:32:07.719Z] Cloning the remote Git repository [2020-10-19T07:32:07.757Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:32:07.896Z] > git init /w/workspace/device-sdk-go/27 # timeout=10 [2020-10-19T07:32:07.984Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:32:07.985Z] > git --version # timeout=10 [2020-10-19T07:32:08.023Z] > git --version # 'git version 2.16.5' [2020-10-19T07:32:08.024Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:32:08.063Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:32:10.182Z] Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit cf665ca7c464fb037769b6d006e61db58705184d [2020-10-19T07:32:09.163Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:32:09.327Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:32:09.419Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:32:09.625Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:32:09.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:32:09.662Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T07:32:10.212Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:32:10.252Z] > git checkout -f cf665ca7c464fb037769b6d006e61db58705184d # timeout=10 [2020-10-19T07:32:10.379Z] > git remote # timeout=10 [2020-10-19T07:32:10.485Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:32:10.771Z] Merge succeeded, producing cf665ca7c464fb037769b6d006e61db58705184d [2020-10-19T07:32:10.772Z] Checking out Revision cf665ca7c464fb037769b6d006e61db58705184d (PR-584) [2020-10-19T07:32:10.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:32:10.577Z] > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 [2020-10-19T07:32:10.718Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:32:10.783Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:32:10.824Z] > git checkout -f cf665ca7c464fb037769b6d006e61db58705184d # timeout=10 [2020-10-19T07:32:15.532Z] Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:32:16.434Z] ========================================================= [2020-10-19T07:32:16.434Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-19T07:32:16.434Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:32:17.307Z] + 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-19T07:32:18.312Z] Sending build context to Docker daemon 2.318MB [2020-10-19T07:32:18.312Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:32:18.312Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:32:18.581Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-19T07:32:18.581Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:32:18.581Z] ed8968b2872e: Pulling fs layer [2020-10-19T07:32:18.581Z] a92cc7c5fd73: Pulling fs layer [2020-10-19T07:32:18.581Z] e871e8e8d7a9: Pulling fs layer [2020-10-19T07:32:18.581Z] e73272ec9a57: Pulling fs layer [2020-10-19T07:32:18.581Z] 1e910a182e73: Pulling fs layer [2020-10-19T07:32:18.581Z] 4e634b169226: Pulling fs layer [2020-10-19T07:32:18.581Z] e73272ec9a57: Waiting [2020-10-19T07:32:18.581Z] 1e910a182e73: Waiting [2020-10-19T07:32:18.581Z] 4e634b169226: Waiting [2020-10-19T07:32:18.581Z] e871e8e8d7a9: Waiting [2020-10-19T07:32:18.581Z] a92cc7c5fd73: Verifying Checksum [2020-10-19T07:32:18.581Z] a92cc7c5fd73: Download complete [2020-10-19T07:32:18.581Z] ed8968b2872e: Download complete [2020-10-19T07:32:18.581Z] e73272ec9a57: Verifying Checksum [2020-10-19T07:32:18.581Z] e73272ec9a57: Download complete [2020-10-19T07:32:19.184Z] 1e910a182e73: Verifying Checksum [2020-10-19T07:32:19.184Z] 1e910a182e73: Download complete [2020-10-19T07:32:19.184Z] df20fa9351a1: Download complete [2020-10-19T07:32:19.831Z] df20fa9351a1: Pull complete [2020-10-19T07:32:20.121Z] ed8968b2872e: Pull complete [2020-10-19T07:32:20.145Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6229 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-19T07:32:20.202Z] Running in /w/workspace/device-sdk-go/27 [Pipeline] { [Pipeline] checkout [2020-10-19T07:32:20.414Z] a92cc7c5fd73: Pull complete [2020-10-19T07:32:22.680Z] 4e634b169226: Verifying Checksum [2020-10-19T07:32:22.681Z] 4e634b169226: Download complete [2020-10-19T07:32:23.693Z] e871e8e8d7a9: Verifying Checksum [2020-10-19T07:32:23.693Z] e871e8e8d7a9: Download complete [2020-10-19T07:32:26.136Z] using credential edgex-jenkins-ssh [2020-10-19T07:32:26.196Z] Cloning the remote Git repository [2020-10-19T07:32:26.273Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:32:26.401Z] > git init /w/workspace/device-sdk-go/27 # timeout=10 [2020-10-19T07:32:26.486Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:32:26.487Z] > git --version # timeout=10 [2020-10-19T07:32:26.507Z] > git --version # 'git version 2.17.1' [2020-10-19T07:32:26.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:32:26.556Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:32:27.586Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:32:27.601Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:32:27.629Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:32:27.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:32:27.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:32:27.687Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T07:32:28.190Z] Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit cf665ca7c464fb037769b6d006e61db58705184d [2020-10-19T07:32:28.585Z] Merge succeeded, producing cf665ca7c464fb037769b6d006e61db58705184d [2020-10-19T07:32:28.585Z] Checking out Revision cf665ca7c464fb037769b6d006e61db58705184d (PR-584) [2020-10-19T07:32:28.214Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:32:28.232Z] > git checkout -f cf665ca7c464fb037769b6d006e61db58705184d # timeout=10 [2020-10-19T07:32:28.357Z] > git remote # timeout=10 [2020-10-19T07:32:28.426Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:32:28.457Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:32:28.479Z] > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 [2020-10-19T07:32:28.546Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:32:28.595Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:32:28.618Z] > git checkout -f cf665ca7c464fb037769b6d006e61db58705184d # timeout=10 [2020-10-19T07:32:32.008Z] e871e8e8d7a9: Pull complete [2020-10-19T07:32:32.008Z] e73272ec9a57: Pull complete [2020-10-19T07:32:32.008Z] 1e910a182e73: Pull complete [2020-10-19T07:32:33.007Z] Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:32:33.971Z] ========================================================= [2020-10-19T07:32:33.971Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-19T07:32:33.972Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:32:34.952Z] + 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-19T07:32:35.945Z] Sending build context to Docker daemon 2.318MB [2020-10-19T07:32:35.945Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:32:35.945Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:32:36.222Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-19T07:32:36.222Z] b538f80385f9: Pulling fs layer [2020-10-19T07:32:36.222Z] 74f711af9a0d: Pulling fs layer [2020-10-19T07:32:36.222Z] 99f96fe45779: Pulling fs layer [2020-10-19T07:32:36.222Z] 8529a6b9a6be: Pulling fs layer [2020-10-19T07:32:36.222Z] 45590311c82a: Pulling fs layer [2020-10-19T07:32:36.222Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-19T07:32:36.222Z] 209524e5b208: Pulling fs layer [2020-10-19T07:32:36.222Z] 8529a6b9a6be: Waiting [2020-10-19T07:32:36.222Z] 45590311c82a: Waiting [2020-10-19T07:32:36.222Z] 69ca0ff8b7b3: Waiting [2020-10-19T07:32:36.222Z] 209524e5b208: Waiting [2020-10-19T07:32:36.222Z] 99f96fe45779: Download complete [2020-10-19T07:32:36.222Z] 74f711af9a0d: Verifying Checksum [2020-10-19T07:32:36.222Z] 74f711af9a0d: Download complete [2020-10-19T07:32:36.222Z] 45590311c82a: Verifying Checksum [2020-10-19T07:32:36.222Z] 45590311c82a: Download complete [2020-10-19T07:32:36.222Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-19T07:32:36.222Z] 69ca0ff8b7b3: Download complete [2020-10-19T07:32:36.822Z] b538f80385f9: Verifying Checksum [2020-10-19T07:32:36.822Z] b538f80385f9: Download complete [2020-10-19T07:32:37.438Z] b538f80385f9: Pull complete [2020-10-19T07:32:37.487Z] 4e634b169226: Pull complete [2020-10-19T07:32:37.487Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-19T07:32:37.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-19T07:32:37.487Z] ---> f7629b54cfaa [2020-10-19T07:32:37.487Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:32:37.487Z] ---> Running in c8b824e033c1 [2020-10-19T07:32:37.488Z] Removing intermediate container c8b824e033c1 [2020-10-19T07:32:37.488Z] ---> e78fce767844 [2020-10-19T07:32:37.488Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:32:37.488Z] ---> Running in 3c6b835a6cb9 [2020-10-19T07:32:38.055Z] 74f711af9a0d: Pull complete [2020-10-19T07:32:38.667Z] 99f96fe45779: Pull complete [2020-10-19T07:32:39.558Z] Removing intermediate container 3c6b835a6cb9 [2020-10-19T07:32:39.558Z] ---> 5244cd44ce39 [2020-10-19T07:32:39.558Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:32:39.558Z] ---> Running in 8ace096f5dd0 [2020-10-19T07:32:39.657Z] 209524e5b208: Verifying Checksum [2020-10-19T07:32:39.657Z] 209524e5b208: Download complete [2020-10-19T07:32:40.270Z] 8529a6b9a6be: Verifying Checksum [2020-10-19T07:32:40.270Z] 8529a6b9a6be: Download complete [2020-10-19T07:32:40.531Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:32:41.132Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:32:42.164Z] OK: 166 MiB in 39 packages [2020-10-19T07:32:42.753Z] Removing intermediate container 8ace096f5dd0 [2020-10-19T07:32:42.753Z] ---> 30c4c1567638 [2020-10-19T07:32:42.753Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:32:42.753Z] ---> Running in 2f684956d1f0 [2020-10-19T07:32:43.032Z] Removing intermediate container 2f684956d1f0 [2020-10-19T07:32:43.032Z] ---> 342a9e430e99 [2020-10-19T07:32:43.032Z] Step 7/8 : COPY . . [2020-10-19T07:32:44.477Z] ---> ca80a9b7b026 [2020-10-19T07:32:44.477Z] Step 8/8 : RUN go mod download [2020-10-19T07:32:44.477Z] ---> Running in 3ecded0c536c [2020-10-19T07:32:50.457Z] 8529a6b9a6be: Pull complete [2020-10-19T07:32:50.737Z] 45590311c82a: Pull complete [2020-10-19T07:32:51.015Z] 69ca0ff8b7b3: Pull complete [2020-10-19T07:32:55.353Z] 209524e5b208: Pull complete [2020-10-19T07:32:55.353Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-19T07:32:55.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-19T07:32:55.353Z] ---> 5bddaf1c2fca [2020-10-19T07:32:55.353Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:32:57.985Z] ---> Running in d59e4577ed23 [2020-10-19T07:32:57.985Z] Removing intermediate container d59e4577ed23 [2020-10-19T07:32:57.985Z] ---> f6c864e4af61 [2020-10-19T07:32:57.985Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:32:58.258Z] ---> Running in 5495f5d5e4f4 [2020-10-19T07:33:00.882Z] Removing intermediate container 5495f5d5e4f4 [2020-10-19T07:33:00.882Z] ---> 8f0e847a8afb [2020-10-19T07:33:00.882Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:33:00.882Z] ---> Running in 7dccbcb90263 [2020-10-19T07:33:02.895Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:33:03.169Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:33:04.151Z] OK: 142 MiB in 39 packages [2020-10-19T07:33:05.593Z] Removing intermediate container 7dccbcb90263 [2020-10-19T07:33:05.593Z] ---> 59dcfb6acf3e [2020-10-19T07:33:05.593Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:33:05.593Z] ---> Running in 0abcdd2eb3a6 [2020-10-19T07:33:05.868Z] Removing intermediate container 0abcdd2eb3a6 [2020-10-19T07:33:05.868Z] ---> 1f802b477bb6 [2020-10-19T07:33:05.868Z] Step 7/8 : COPY . . [2020-10-19T07:33:06.897Z] Removing intermediate container 3ecded0c536c [2020-10-19T07:33:06.897Z] ---> afc5fc57395b [2020-10-19T07:33:06.897Z] Successfully built afc5fc57395b [2020-10-19T07:33:06.897Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:33:07.311Z] ---> fb57a1f111f4 [2020-10-19T07:33:07.311Z] Step 8/8 : RUN go mod download [2020-10-19T07:33:07.311Z] ---> Running in 310fd65ca52e [2020-10-19T07:33:07.373Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:33:07.653Z] . [Pipeline] withDockerContainer [2020-10-19T07:33:07.932Z] prd-centos7-docker-4c-2g-6226 does not seem to be running inside a container [2020-10-19T07:33:08.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 ******** ci-base-image-x86_64 cat [2020-10-19T07:33:09.684Z] $ docker top 18d67251bf24b06e8a3d8588650e00536710a0c68c389229d47b748c3e513f9c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:33:10.730Z] + go version [2020-10-19T07:33:10.730Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-19T07:33:10.745Z] $ docker stop --time=1 18d67251bf24b06e8a3d8588650e00536710a0c68c389229d47b748c3e513f9c [2020-10-19T07:33:12.393Z] $ docker rm -f 18d67251bf24b06e8a3d8588650e00536710a0c68c389229d47b748c3e513f9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:33:13.801Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:33:14.065Z] . [Pipeline] withDockerContainer [2020-10-19T07:33:14.285Z] prd-centos7-docker-4c-2g-6226 does not seem to be running inside a container [2020-10-19T07:33:14.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 ******** ci-base-image-x86_64 cat [2020-10-19T07:33:15.836Z] $ docker top ef6036d467487c24b8ea2e88bcd25e3b8cb584e8c46fa384c65be0f637c0192e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:33:16.462Z] + make test [2020-10-19T07:33:16.462Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T07:33:30.150Z] Removing intermediate container 310fd65ca52e [2020-10-19T07:33:30.150Z] ---> d58f36ea0a90 [2020-10-19T07:33:30.150Z] Successfully built d58f36ea0a90 [2020-10-19T07:33:30.150Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:33:30.569Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:33:30.569Z] . [Pipeline] withDockerContainer [2020-10-19T07:33:30.872Z] prd-ubuntu18.04-docker-arm64-4c-16g-6229 does not seem to be running inside a container [2020-10-19T07:33:30.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 ******** ci-base-image-arm64 cat [2020-10-19T07:33:32.877Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:33:32.912Z] $ docker top faa2422cd4cd80796243eff63d2081ac24c9756752ca6526e4f36680eaa10ba2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:33:34.362Z] + go version [2020-10-19T07:33:34.363Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-19T07:33:34.391Z] $ docker stop --time=1 faa2422cd4cd80796243eff63d2081ac24c9756752ca6526e4f36680eaa10ba2 [2020-10-19T07:33:36.410Z] $ docker rm -f faa2422cd4cd80796243eff63d2081ac24c9756752ca6526e4f36680eaa10ba2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:33:37.513Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:33:37.513Z] . [Pipeline] withDockerContainer [2020-10-19T07:33:37.806Z] prd-ubuntu18.04-docker-arm64-4c-16g-6229 does not seem to be running inside a container [2020-10-19T07:33:37.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 ******** ci-base-image-arm64 cat [2020-10-19T07:33:39.868Z] $ docker top 77655cfdffde4ddf655d23170aff34238ca53e2d8f60282d4e695e4b5c5ac9a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:33:41.347Z] + make test [2020-10-19T07:33:41.348Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T07:34:00.147Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:34:00.147Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:34:00.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:34:00.147Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.071s coverage: 21.6% of statements [2020-10-19T07:34:04.652Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.028s coverage: 97.1% of statements [2020-10-19T07:34:08.189Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:34:31.566Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.178s coverage: 9.4% of statements [2020-10-19T07:34:31.566Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.079s coverage: 21.9% of statements [2020-10-19T07:34:31.566Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:34:31.566Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.892s coverage: 42.6% of statements [2020-10-19T07:34:31.566Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:34:31.566Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.521s coverage: 68.9% of statements [2020-10-19T07:34:31.566Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:34:31.566Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:34:31.566Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:34:31.566Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:34:31.566Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.136s coverage: 52.6% of statements [2020-10-19T07:34:31.566Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:34:31.566Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:34:31.566Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:34:31.566Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.288s coverage: 68.9% of statements [2020-10-19T07:34:31.566Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:34:31.566Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:34:31.856Z] GO111MODULE=on go vet ./... [2020-10-19T07:34:47.226Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:34:47.226Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:34:47.226Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:34:47.226Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.147s coverage: 21.6% of statements [2020-10-19T07:34:51.552Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.233s coverage: 97.1% of statements [2020-10-19T07:34:54.266Z] gofmt -l . [2020-10-19T07:34:54.266Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:34:54.266Z] ./bin/test-attribution-txt.sh [2020-10-19T07:34:55.233Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T07:34:56.195Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:34:56.218Z] $ docker stop --time=1 ef6036d467487c24b8ea2e88bcd25e3b8cb584e8c46fa384c65be0f637c0192e [2020-10-19T07:34:58.389Z] $ docker rm -f ef6036d467487c24b8ea2e88bcd25e3b8cb584e8c46fa384c65be0f637c0192e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-19T07:35:00.285Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:35:00.653Z] + ls -al . [2020-10-19T07:35:00.653Z] total 188 [2020-10-19T07:35:00.653Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 07:34 . [2020-10-19T07:35:00.653Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 19 07:32 .. [2020-10-19T07:35:00.653Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 19 07:32 bin [2020-10-19T07:35:00.653Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 19 07:34 coverage.out [2020-10-19T07:35:00.653Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 19 07:32 Dockerfile.build [2020-10-19T07:35:00.653Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 07:32 .dockerignore [2020-10-19T07:35:00.653Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 19 07:32 example [2020-10-19T07:35:00.653Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 07:32 .git [2020-10-19T07:35:00.653Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 19 07:32 .github [2020-10-19T07:35:00.653Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 19 07:32 .gitignore [2020-10-19T07:35:00.653Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 19 07:34 go.mod [2020-10-19T07:35:00.653Z] -rw-r--r--. 1 jenkins jenkins 13743 Oct 19 07:34 go.sum [2020-10-19T07:35:00.653Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 19 07:32 internal [2020-10-19T07:35:00.653Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 19 07:32 Jenkinsfile [2020-10-19T07:35:00.653Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 07:32 LICENSE [2020-10-19T07:35:00.653Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 19 07:32 Makefile [2020-10-19T07:35:00.653Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 19 07:32 openapi [2020-10-19T07:35:00.653Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 07:32 pkg [2020-10-19T07:35:00.653Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 19 07:32 README.md [2020-10-19T07:35:00.653Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 19 07:32 RELEASE-NOTES.txt [2020-10-19T07:35:00.653Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 07:32 snap [2020-10-19T07:35:00.653Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 07:29 VERSION [2020-10-19T07:35:00.653Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 07:32 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:35:01.125Z] + 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=cf665ca7c464fb037769b6d006e61db58705184d --label arch=amd64 --label version=0.0.0 . [2020-10-19T07:35:01.414Z] Sending build context to Docker daemon 2.429MB [2020-10-19T07:35:01.754Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:35:01.754Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:35:01.754Z] ---> afc5fc57395b [2020-10-19T07:35:01.754Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:35:02.084Z] ---> Running in 4759567da3c3 [2020-10-19T07:35:02.702Z] Removing intermediate container 4759567da3c3 [2020-10-19T07:35:02.702Z] ---> cc28094ab97d [2020-10-19T07:35:02.702Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:35:02.702Z] ---> Running in 226f4a5f0067 [2020-10-19T07:35:02.985Z] Removing intermediate container 226f4a5f0067 [2020-10-19T07:35:02.985Z] ---> 746d3cf1b5a1 [2020-10-19T07:35:02.985Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:35:02.985Z] ---> Running in c72ca0638717 [2020-10-19T07:35:03.278Z] Removing intermediate container c72ca0638717 [2020-10-19T07:35:03.278Z] ---> 4fa283b77db8 [2020-10-19T07:35:03.278Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:35:03.278Z] ---> Running in a4e9429d1b06 [2020-10-19T07:35:04.757Z] Removing intermediate container a4e9429d1b06 [2020-10-19T07:35:04.757Z] ---> a0578d8d287d [2020-10-19T07:35:04.757Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:35:04.757Z] ---> Running in c2ea36245ec5 [2020-10-19T07:35:05.374Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:35:06.350Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:35:06.941Z] OK: 166 MiB in 39 packages [2020-10-19T07:35:07.953Z] Removing intermediate container c2ea36245ec5 [2020-10-19T07:35:07.953Z] ---> 1f5d2220387e [2020-10-19T07:35:07.953Z] Step 8/24 : COPY . . [2020-10-19T07:35:08.944Z] ---> 71a7a94c03be [2020-10-19T07:35:08.944Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:35:08.944Z] ---> Running in 5a7bfdf817ae [2020-10-19T07:35:09.947Z] 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-19T07:35:18.380Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.123s coverage: 9.4% of statements [2020-10-19T07:35:18.380Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.124s coverage: 21.9% of statements [2020-10-19T07:35:18.380Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:35:18.380Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.561s coverage: 42.6% of statements [2020-10-19T07:35:18.380Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:35:18.380Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.887s coverage: 68.9% of statements [2020-10-19T07:35:18.380Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:35:18.380Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:35:18.380Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:35:18.380Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:35:18.380Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.185s coverage: 52.6% of statements [2020-10-19T07:35:18.380Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:35:18.380Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:35:18.380Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:35:18.380Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.044s coverage: 68.9% of statements [2020-10-19T07:35:18.380Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:35:18.380Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:35:18.660Z] GO111MODULE=on go vet ./... [2020-10-19T07:35:22.653Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:35:26.965Z] Removing intermediate container 5a7bfdf817ae [2020-10-19T07:35:26.965Z] ---> 099646bc62aa [2020-10-19T07:35:26.965Z] Step 10/24 : FROM scratch [2020-10-19T07:35:26.965Z] ---> [2020-10-19T07:35:26.965Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:35:26.965Z] ---> Running in c4994e2ba2ac [2020-10-19T07:35:26.965Z] Removing intermediate container c4994e2ba2ac [2020-10-19T07:35:26.965Z] ---> 2ce513968701 [2020-10-19T07:35:26.965Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:35:26.965Z] ---> Running in 61c68086d522 [2020-10-19T07:35:26.965Z] Removing intermediate container 61c68086d522 [2020-10-19T07:35:26.965Z] ---> f99e7f0d1fbf [2020-10-19T07:35:26.965Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:35:26.965Z] ---> Running in 47fef57fecd3 [2020-10-19T07:35:27.232Z] Removing intermediate container 47fef57fecd3 [2020-10-19T07:35:27.232Z] ---> 8c34c820fd06 [2020-10-19T07:35:27.232Z] Step 14/24 : WORKDIR / [2020-10-19T07:35:27.232Z] ---> Running in ea7505aa304c [2020-10-19T07:35:27.498Z] Removing intermediate container ea7505aa304c [2020-10-19T07:35:27.498Z] ---> 5a7b0d089f3b [2020-10-19T07:35:27.498Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:35:28.088Z] ---> 0a94aecd2308 [2020-10-19T07:35:28.088Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:35:28.376Z] ---> dce4dd22e466 [2020-10-19T07:35:28.376Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:35:28.962Z] ---> c5dd67b2088e [2020-10-19T07:35:28.962Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:35:28.962Z] ---> accbffd864c6 [2020-10-19T07:35:28.962Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:35:29.542Z] ---> dbbabf5b78be [2020-10-19T07:35:29.542Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:35:29.542Z] ---> Running in d8468cdc9c8c [2020-10-19T07:35:29.823Z] Removing intermediate container d8468cdc9c8c [2020-10-19T07:35:29.823Z] ---> 6c36e014a92c [2020-10-19T07:35:29.823Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:35:29.823Z] ---> Running in 0eaf51fd2674 [2020-10-19T07:35:30.114Z] Removing intermediate container 0eaf51fd2674 [2020-10-19T07:35:30.114Z] ---> e4df7668f1bc [2020-10-19T07:35:30.114Z] Step 22/24 : LABEL arch=amd64 [2020-10-19T07:35:30.114Z] ---> Running in 4b341bc9dbc2 [2020-10-19T07:35:30.394Z] Removing intermediate container 4b341bc9dbc2 [2020-10-19T07:35:30.395Z] ---> 7a5ebfd1324f [2020-10-19T07:35:30.395Z] Step 23/24 : LABEL git_sha=cf665ca7c464fb037769b6d006e61db58705184d [2020-10-19T07:35:30.680Z] ---> Running in f6ba8427b2f7 [2020-10-19T07:35:31.018Z] Removing intermediate container f6ba8427b2f7 [2020-10-19T07:35:31.018Z] ---> 3c9918e7b08d [2020-10-19T07:35:31.018Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:35:31.018Z] ---> Running in dcab2aee784c [2020-10-19T07:35:31.305Z] Removing intermediate container dcab2aee784c [2020-10-19T07:35:31.305Z] ---> 4ebf21165f3c [2020-10-19T07:35:31.305Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:35:31.305Z] Successfully built 4ebf21165f3c [2020-10-19T07:35:31.305Z] 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-19T07:35:51.062Z] gofmt -l . [2020-10-19T07:35:51.062Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:35:51.062Z] ./bin/test-attribution-txt.sh [2020-10-19T07:35:51.338Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T07:35:51.955Z] Warning: overwriting stash ‘coverage-report’ [2020-10-19T07:35:52.789Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:35:52.794Z] $ docker stop --time=1 77655cfdffde4ddf655d23170aff34238ca53e2d8f60282d4e695e4b5c5ac9a3 [2020-10-19T07:35:55.141Z] $ docker rm -f 77655cfdffde4ddf655d23170aff34238ca53e2d8f60282d4e695e4b5c5ac9a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:35:56.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:35:57.059Z] + ls -al . [2020-10-19T07:35:57.059Z] total 224 [2020-10-19T07:35:57.059Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 07:35 . [2020-10-19T07:35:57.059Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:32 .. [2020-10-19T07:35:57.059Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 07:32 .dockerignore [2020-10-19T07:35:57.059Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 07:32 .git [2020-10-19T07:35:57.059Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:32 .github [2020-10-19T07:35:57.059Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 19 07:32 .gitignore [2020-10-19T07:35:57.059Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 19 07:32 Dockerfile.build [2020-10-19T07:35:57.059Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 19 07:32 Jenkinsfile [2020-10-19T07:35:57.059Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 07:32 LICENSE [2020-10-19T07:35:57.059Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 19 07:32 Makefile [2020-10-19T07:35:57.059Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 19 07:32 README.md [2020-10-19T07:35:57.059Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 19 07:32 RELEASE-NOTES.txt [2020-10-19T07:35:57.059Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 07:29 VERSION [2020-10-19T07:35:57.059Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:32 bin [2020-10-19T07:35:57.059Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 19 07:35 coverage.out [2020-10-19T07:35:57.059Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:32 example [2020-10-19T07:35:57.059Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 19 07:35 go.mod [2020-10-19T07:35:57.059Z] -rw-r--r-- 1 jenkins jenkins 13743 Oct 19 07:35 go.sum [2020-10-19T07:35:57.059Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 07:32 internal [2020-10-19T07:35:57.059Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:32 openapi [2020-10-19T07:35:57.059Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 07:32 pkg [2020-10-19T07:35:57.059Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:32 snap [2020-10-19T07:35:57.059Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 07:32 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:35:57.450Z] + 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=cf665ca7c464fb037769b6d006e61db58705184d --label arch=arm64 --label version=0.0.0 . [2020-10-19T07:35:58.061Z] Sending build context to Docker daemon 2.429MB [2020-10-19T07:35:58.062Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:35:58.062Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:35:58.062Z] ---> d58f36ea0a90 [2020-10-19T07:35:58.062Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:35:58.337Z] ---> Running in b986f38af436 [2020-10-19T07:35:58.608Z] Removing intermediate container b986f38af436 [2020-10-19T07:35:58.608Z] ---> aed398c84d54 [2020-10-19T07:35:58.608Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:35:58.881Z] ---> Running in 08cee8d79b96 [2020-10-19T07:35:59.476Z] Removing intermediate container 08cee8d79b96 [2020-10-19T07:35:59.476Z] ---> 2b3faeb45a80 [2020-10-19T07:35:59.476Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:35:59.476Z] ---> Running in 75d612485582 [2020-10-19T07:35:59.748Z] Removing intermediate container 75d612485582 [2020-10-19T07:35:59.748Z] ---> 9c4f2d826818 [2020-10-19T07:35:59.748Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:36:00.033Z] ---> Running in 99c54856673b [2020-10-19T07:36:02.671Z] Removing intermediate container 99c54856673b [2020-10-19T07:36:02.671Z] ---> 36ef3951c7ff [2020-10-19T07:36:02.671Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:36:02.671Z] ---> Running in 66c701abaac4 [2020-10-19T07:36:04.103Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:36:05.079Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:36:06.058Z] OK: 142 MiB in 39 packages [2020-10-19T07:36:07.497Z] Removing intermediate container 66c701abaac4 [2020-10-19T07:36:07.497Z] ---> 3285597830b6 [2020-10-19T07:36:07.497Z] Step 8/24 : COPY . . [2020-10-19T07:36:08.479Z] ---> 00ff6ac74e5e [2020-10-19T07:36:08.479Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:36:08.754Z] ---> Running in 18ef6384d471 [2020-10-19T07:36:10.190Z] 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-19T07:36:36.988Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:36:36.988Z] Removing intermediate container 18ef6384d471 [2020-10-19T07:36:36.988Z] ---> 415f44e1dcd7 [2020-10-19T07:36:36.988Z] Step 10/24 : FROM scratch [2020-10-19T07:36:36.988Z] ---> [2020-10-19T07:36:36.988Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:36:36.988Z] ---> Running in f9c75c91b966 [2020-10-19T07:36:37.262Z] Removing intermediate container f9c75c91b966 [2020-10-19T07:36:37.262Z] ---> d7402b467a9e [2020-10-19T07:36:37.262Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:36:37.534Z] ---> Running in 3f0c48e9bf50 [2020-10-19T07:36:37.808Z] Removing intermediate container 3f0c48e9bf50 [2020-10-19T07:36:37.808Z] ---> e10130889a5e [2020-10-19T07:36:37.808Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:36:37.808Z] ---> Running in 8633fe06fd95 [2020-10-19T07:36:38.404Z] Removing intermediate container 8633fe06fd95 [2020-10-19T07:36:38.404Z] ---> 992bc6f440c6 [2020-10-19T07:36:38.404Z] Step 14/24 : WORKDIR / [2020-10-19T07:36:38.404Z] ---> Running in 517989f38174 [2020-10-19T07:36:38.998Z] Removing intermediate container 517989f38174 [2020-10-19T07:36:38.998Z] ---> 3d031ee9464f [2020-10-19T07:36:38.998Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:36:39.973Z] ---> 9ed1706d7f87 [2020-10-19T07:36:39.973Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:36:40.570Z] ---> 5faf22d7700c [2020-10-19T07:36:40.570Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:36:41.172Z] ---> 8af675c85635 [2020-10-19T07:36:41.172Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:36:42.152Z] ---> aa15c39715ea [2020-10-19T07:36:42.152Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:36:42.749Z] ---> f83801a39da2 [2020-10-19T07:36:42.749Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:36:42.749Z] ---> Running in 0da56c5cc7fc [2020-10-19T07:36:43.347Z] Removing intermediate container 0da56c5cc7fc [2020-10-19T07:36:43.347Z] ---> d0dd1f934fec [2020-10-19T07:36:43.347Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:36:43.347Z] ---> Running in 297cf635d8ae [2020-10-19T07:36:43.942Z] Removing intermediate container 297cf635d8ae [2020-10-19T07:36:43.942Z] ---> 2e23646c132b [2020-10-19T07:36:43.942Z] Step 22/24 : LABEL arch=arm64 [2020-10-19T07:36:43.942Z] ---> Running in 8053cc1aa073 [2020-10-19T07:36:44.536Z] Removing intermediate container 8053cc1aa073 [2020-10-19T07:36:44.536Z] ---> cec412d14bfd [2020-10-19T07:36:44.536Z] Step 23/24 : LABEL git_sha=cf665ca7c464fb037769b6d006e61db58705184d [2020-10-19T07:36:44.536Z] ---> Running in 2e1b65bd3e13 [2020-10-19T07:36:45.133Z] Removing intermediate container 2e1b65bd3e13 [2020-10-19T07:36:45.133Z] ---> 70d689ef7e98 [2020-10-19T07:36:45.133Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:36:45.133Z] ---> Running in 165824523b1f [2020-10-19T07:36:45.728Z] Removing intermediate container 165824523b1f [2020-10-19T07:36:45.728Z] ---> 6c39fd987416 [2020-10-19T07:36:45.728Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:36:45.728Z] Successfully built 6c39fd987416 [2020-10-19T07:36:45.728Z] 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-19T07:36:47.473Z] provisioning config files... [2020-10-19T07:36:47.488Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config5285182756327336197tmp [Pipeline] { [Pipeline] sh [2020-10-19T07:36:47.859Z] + set +x [2020-10-19T07:36:47.859Z] + curl -s https://codecov.io/bash [2020-10-19T07:36:47.859Z] + bash -s -- [2020-10-19T07:36:48.121Z] [2020-10-19T07:36:48.121Z] _____ _ [2020-10-19T07:36:48.121Z] / ____| | | [2020-10-19T07:36:48.121Z] | | ___ __| | ___ ___ _____ __ [2020-10-19T07:36:48.121Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-19T07:36:48.121Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-19T07:36:48.121Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-19T07:36:48.121Z] Bash-20201009-048fee3 [2020-10-19T07:36:48.121Z] [2020-10-19T07:36:48.121Z] [2020-10-19T07:36:48.121Z] ==> Jenkins CI detected. [2020-10-19T07:36:48.121Z] project root: . [2020-10-19T07:36:48.121Z] --> token set from env [2020-10-19T07:36:48.121Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-19T07:36:48.121Z] ==> Running gcov in . (disable via -X gcov) [2020-10-19T07:36:48.121Z] ==> Python coveragepy not found [2020-10-19T07:36:48.121Z] ==> Searching for coverage reports in: [2020-10-19T07:36:48.121Z] + . [2020-10-19T07:36:48.121Z] -> Found 1 reports [2020-10-19T07:36:48.121Z] ==> Detecting git/mercurial file structure [2020-10-19T07:36:48.121Z] ==> Reading reports [2020-10-19T07:36:48.121Z] + ./coverage.out bytes=110398 [2020-10-19T07:36:48.121Z] ==> Appending adjustments [2020-10-19T07:36:48.121Z] https://docs.codecov.io/docs/fixing-reports [2020-10-19T07:36:48.706Z] + Found adjustments [2020-10-19T07:36:48.706Z] ==> Gzipping contents [2020-10-19T07:36:48.706Z] ==> Uploading reports [2020-10-19T07:36:48.706Z] url: https://codecov.io [2020-10-19T07:36:48.706Z] query: branch=PR-584&commit=cf665ca7c464fb037769b6d006e61db58705184d&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-19T07:36:48.706Z] -> Pinging Codecov [2020-10-19T07:36:48.706Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=cf665ca7c464fb037769b6d006e61db58705184d&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-19T07:36:48.706Z] -> Uploading to [2020-10-19T07:36:48.706Z] [2020-10-19T07:36:48.997Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:36:48.997Z] Dload Upload Total Spent Left Speed [2020-10-19T07:36:48.997Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-19T07:36:48.997Z] X> Failed to upload [2020-10-19T07:36:48.997Z] ==> Uploading to Codecov [2020-10-19T07:36:48.997Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:36:48.997Z] Dload Upload Total Spent Left Speed [2020-10-19T07:36:50.203Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19046 0 0 100 19046 0 16178 0:00:01 0:00:01 --:--:-- 16168 100 19156 100 110 100 19046 87 15186 0:00:01 0:00:01 --:--:-- 15176 [2020-10-19T07:36:50.203Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cf665ca7c464fb037769b6d006e61db58705184d [Pipeline] } [2020-10-19T07:36:50.212Z] 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-19T07:36:52.917Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:36:53.493Z] ---> package-listing.sh [2020-10-19T07:36:53.493Z] ++ facter osfamily [2020-10-19T07:36:53.493Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-19T07:36:53.493Z] + OS_FAMILY=redhat [2020-10-19T07:36:53.493Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-19T07:36:53.493Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-19T07:36:53.493Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-19T07:36:53.493Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-19T07:36:53.493Z] + PACKAGES=/tmp/packages_start.txt [2020-10-19T07:36:53.493Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-19T07:36:53.493Z] + PACKAGES=/tmp/packages_end.txt [2020-10-19T07:36:53.493Z] + case "${OS_FAMILY}" in [2020-10-19T07:36:53.493Z] + rpm -qa [2020-10-19T07:36:53.493Z] + sort [2020-10-19T07:36:57.716Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-19T07:36:57.716Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-19T07:36:57.716Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-19T07:36:57.716Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-19T07:36:57.716Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-10-19T07:36:57.716Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] echo [2020-10-19T07:36:57.730Z] 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-584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-19T07:36:58.023Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:36:58.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:36:58.325Z] [2020-10-19T07:36:58.325Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:36:58.669Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:36:58.669Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-19T07:36:58.669Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:36:58.669Z] 36b3adc4ff6f: Pulling fs layer [2020-10-19T07:36:58.669Z] 8ad3a11d3b57: Pulling fs layer [2020-10-19T07:36:58.669Z] 46f8f816bc3b: Pulling fs layer [2020-10-19T07:36:58.669Z] 93b61091891f: Pulling fs layer [2020-10-19T07:36:58.669Z] 93b9cdb0e59b: Pulling fs layer [2020-10-19T07:36:58.669Z] 5e14af77c1be: Pulling fs layer [2020-10-19T07:36:58.669Z] 01666e4c0597: Pulling fs layer [2020-10-19T07:36:58.669Z] aa168da1d23b: Pulling fs layer [2020-10-19T07:36:58.669Z] 93b9cdb0e59b: Waiting [2020-10-19T07:36:58.669Z] 5e14af77c1be: Waiting [2020-10-19T07:36:58.669Z] 01666e4c0597: Waiting [2020-10-19T07:36:58.669Z] aa168da1d23b: Waiting [2020-10-19T07:36:58.669Z] 46f8f816bc3b: Waiting [2020-10-19T07:36:58.669Z] 93b61091891f: Waiting [2020-10-19T07:36:58.669Z] 36b3adc4ff6f: Verifying Checksum [2020-10-19T07:36:58.669Z] 36b3adc4ff6f: Download complete [2020-10-19T07:36:58.669Z] 46f8f816bc3b: Verifying Checksum [2020-10-19T07:36:58.669Z] 46f8f816bc3b: Download complete [2020-10-19T07:36:58.934Z] df20fa9351a1: Download complete [2020-10-19T07:36:58.934Z] 93b9cdb0e59b: Verifying Checksum [2020-10-19T07:36:58.934Z] 93b9cdb0e59b: Download complete [2020-10-19T07:36:58.934Z] 93b61091891f: Verifying Checksum [2020-10-19T07:36:58.934Z] 93b61091891f: Download complete [2020-10-19T07:36:58.934Z] 5e14af77c1be: Download complete [2020-10-19T07:36:58.934Z] 01666e4c0597: Verifying Checksum [2020-10-19T07:36:58.934Z] 01666e4c0597: Download complete [2020-10-19T07:36:59.197Z] df20fa9351a1: Pull complete [2020-10-19T07:36:59.197Z] 36b3adc4ff6f: Pull complete [2020-10-19T07:36:59.469Z] 8ad3a11d3b57: Verifying Checksum [2020-10-19T07:36:59.469Z] 8ad3a11d3b57: Download complete [2020-10-19T07:37:00.049Z] 8ad3a11d3b57: Pull complete [2020-10-19T07:37:00.312Z] 46f8f816bc3b: Pull complete [2020-10-19T07:37:00.889Z] 93b61091891f: Pull complete [2020-10-19T07:37:01.150Z] 93b9cdb0e59b: Pull complete [2020-10-19T07:37:01.414Z] 5e14af77c1be: Pull complete [2020-10-19T07:37:01.414Z] aa168da1d23b: Verifying Checksum [2020-10-19T07:37:01.414Z] aa168da1d23b: Download complete [2020-10-19T07:37:01.414Z] 01666e4c0597: Pull complete [2020-10-19T07:37:09.643Z] aa168da1d23b: Pull complete [2020-10-19T07:37:09.643Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-19T07:37:09.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:37:09.643Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-19T07:37:09.820Z] prd-centos7-docker-4c-2g-6222 does not seem to be running inside a container [2020-10-19T07:37:09.868Z] $ 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-584/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-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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:10003/edgex-lftools-log-publisher:alpine cat [2020-10-19T07:37:13.635Z] $ docker top 7c9417a946632f30dbcc29e82eeea90fbfcac6102191212f5fd16497c2c1d9ac -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:37:14.164Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-19T07:37:14.468Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-19T07:37:14.772Z] + ls /var/log/sa-host [2020-10-19T07:37:14.772Z] + sadf -c /var/log/sa-host/sa05 [2020-10-19T07:37:14.772Z] file_magic: OK [2020-10-19T07:37:14.772Z] HZ: Using current value: 100 [2020-10-19T07:37:14.772Z] file_header: OK [2020-10-19T07:37:14.772Z] 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-19T07:37:14.772Z] Statistics: [2020-10-19T07:37:14.772Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:37:14.772Z] File successfully converted to sysstat format version 12.2.1 [2020-10-19T07:37:14.772Z] + sadf -c /var/log/sa-host/sa19 [2020-10-19T07:37:14.772Z] file_magic: OK [2020-10-19T07:37:14.772Z] HZ: Using current value: 100 [2020-10-19T07:37:14.772Z] file_header: OK [2020-10-19T07:37:14.772Z] 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-19T07:37:14.772Z] Statistics: [2020-10-19T07:37:14.772Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:37:14.772Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-19T07:37:15.001Z] provisioning config files... [2020-10-19T07:37:15.016Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3698772992469969925tmp [Pipeline] { [Pipeline] echo [2020-10-19T07:37:15.095Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:37:15.390Z] ---> create-netrc.sh [Pipeline] } [2020-10-19T07:37:15.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-19T07:37:15.488Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:37:15.782Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-19T07:37:15.792Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:37:16.086Z] ---> sudo-logs.sh [2020-10-19T07:37:16.086Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-19T07:37:16.096Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:37:16.390Z] ---> job-cost.sh [2020-10-19T07:37:16.390Z] lf-activate-venv: SKIPPING [2020-10-19T07:37:16.390Z] INFO: No Stack... [2020-10-19T07:37:17.781Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-19T07:37:18.356Z] INFO: Archiving Costs [Pipeline] echo [2020-10-19T07:37:18.371Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:37:18.665Z] ---> logs-deploy.sh [2020-10-19T07:37:18.665Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/27 [2020-10-19T07:37:18.665Z] INFO: archiving workspace using pattern(s): [2020-10-19T07:37:20.581Z] Archives upload complete. [2020-10-19T07:37:20.581Z] INFO: archiving logs to Nexus