Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cc046fc61b77b3872e1e4d069c09d9b904ba72b4+43893dea7cdf8ffe29fac0bba279684163774e51 (6358c1a5cc75b1d487aae462695e37c34b5c9176) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-9662 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 43893dea7cdf8ffe29fac0bba279684163774e51 into PR head commit cc046fc61b77b3872e1e4d069c09d9b904ba72b4 Merge succeeded, producing cc046fc61b77b3872e1e4d069c09d9b904ba72b4 Checking out Revision cc046fc61b77b3872e1e4d069c09d9b904ba72b4 (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f cc046fc61b77b3872e1e4d069c09d9b904ba72b4 # 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 43893dea7cdf8ffe29fac0bba279684163774e51 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc046fc61b77b3872e1e4d069c09d9b904ba72b4 # 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-29T07:03:06.751Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-29T07:03:06.986Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-29T07:03:07.082Z] ========================================================= [2020-10-29T07:03:07.082Z] EdgeX Global Pipelines Version Info [2020-10-29T07:03:07.082Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk be8b30892ce9b491d8687bb34e9f5f22f494c4eb # timeout=10 [2020-10-29T07:03:08.602Z] ------------------- [2020-10-29T07:03:08.602Z] stable info: [2020-10-29T07:03:08.602Z] ------------------- [2020-10-29T07:03:08.602Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-29T07:03:08.602Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-29T07:03:08.602Z] Message: update stable to v1.0.148 [2020-10-29T07:03:09.549Z] ------------------- [2020-10-29T07:03:09.549Z] experimental info: [2020-10-29T07:03:09.549Z] ------------------- [2020-10-29T07:03:09.549Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-29T07:03:09.549Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-10-29T07:03:09.549Z] Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-29T07:03:09.887Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-29T07:03:10.032Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-29T07:03:10.131Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-29T07:03:10.220Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-29T07:03:10.314Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-29T07:03:10.404Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-29T07:03:10.518Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-29T07:03:10.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-29T07:03:10.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-29T07:03:10.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-29T07:03:10.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-29T07:03:10.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-29T07:03:11.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-29T07:03:11.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-29T07:03:11.306Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-29T07:03:11.439Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-29T07:03:11.536Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-29T07:03:11.646Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-29T07:03:11.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-29T07:03:11.873Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-29T07:03:11.969Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-29T07:03:12.070Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-29T07:03:12.178Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-29T07:03:12.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-29T07:03:12.360Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-29T07:03:12.448Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-10-29T07:03:12.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-10-29T07:03:12.659Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-10-29T07:03:12.749Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc046fc61b77b3872e1e4d069c09d9b904ba72b4 [Pipeline] echo [2020-10-29T07:03:12.846Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc046fc [Pipeline] echo [2020-10-29T07:03:12.962Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-29T07:03:13.556Z] + git log --format=format:%s -1 cc046fc61b77b3872e1e4d069c09d9b904ba72b4 [Pipeline] echo [2020-10-29T07:03:13.626Z] GIT_COMMIT: cc046fc61b77b3872e1e4d069c09d9b904ba72b4, Commit Message: build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0 [Pipeline] echo [2020-10-29T07:03:13.672Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:03:14.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-29T07:03:14.563Z] [2020-10-29T07:03:14.563Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:03:14.921Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-29T07:03:14.921Z] latest: Pulling from edgex-devops/git-semver [2020-10-29T07:03:14.921Z] 31603596830f: Pulling fs layer [2020-10-29T07:03:14.921Z] 2a8b12db71e7: Pulling fs layer [2020-10-29T07:03:14.921Z] 6ca5941a6612: Pulling fs layer [2020-10-29T07:03:14.921Z] ecc8261a40a4: Pulling fs layer [2020-10-29T07:03:14.921Z] ecc8261a40a4: Waiting [2020-10-29T07:03:14.921Z] 2a8b12db71e7: Verifying Checksum [2020-10-29T07:03:14.921Z] 2a8b12db71e7: Download complete [2020-10-29T07:03:15.184Z] 31603596830f: Download complete [2020-10-29T07:03:15.184Z] ecc8261a40a4: Verifying Checksum [2020-10-29T07:03:15.184Z] ecc8261a40a4: Download complete [2020-10-29T07:03:15.184Z] 6ca5941a6612: Verifying Checksum [2020-10-29T07:03:15.184Z] 6ca5941a6612: Download complete [2020-10-29T07:03:15.448Z] 31603596830f: Pull complete [2020-10-29T07:03:15.712Z] 2a8b12db71e7: Pull complete [2020-10-29T07:03:16.661Z] 6ca5941a6612: Pull complete [2020-10-29T07:03:16.661Z] ecc8261a40a4: Pull complete [2020-10-29T07:03:16.661Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-29T07:03:16.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-29T07:03:16.661Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-29T07:03:16.770Z] prd-centos7-docker-4c-2g-9662 does not seem to be running inside a container [2020-10-29T07:03:16.826Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-29T07:03:19.194Z] $ docker top 6fdacea3802090b339c7c61ad2a90ff0a89dea1dde380ff671a1f56e32a634d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-29T07:03:19.496Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-29T07:03:19.496Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-29T07:03:19.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-29T07:03:19.743Z] $ docker exec 6fdacea3802090b339c7c61ad2a90ff0a89dea1dde380ff671a1f56e32a634d1 ssh-agent [2020-10-29T07:03:19.919Z] SSH_AUTH_SOCK=/tmp/ssh-IUVCmRcuvXsP/agent.11 [2020-10-29T07:03:19.919Z] SSH_AGENT_PID=17 [2020-10-29T07:03:19.930Z] Running ssh-add (command line suppressed) [2020-10-29T07:03:20.064Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_8594733399411260268.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_8594733399411260268.key) [2020-10-29T07:03:20.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-29T07:03:20.562Z] + git tag --points-at HEAD [Pipeline] } [2020-10-29T07:03:20.583Z] $ docker exec --env ******** --env ******** 6fdacea3802090b339c7c61ad2a90ff0a89dea1dde380ff671a1f56e32a634d1 ssh-agent -k [2020-10-29T07:03:20.718Z] unset SSH_AUTH_SOCK; [2020-10-29T07:03:20.718Z] unset SSH_AGENT_PID; [2020-10-29T07:03:20.718Z] echo Agent pid 17 killed; [2020-10-29T07:03:20.770Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-29T07:03:20.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-29T07:03:20.935Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-29T07:03:21.109Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-29T07:03:21.115Z] $ docker exec 6fdacea3802090b339c7c61ad2a90ff0a89dea1dde380ff671a1f56e32a634d1 ssh-agent [2020-10-29T07:03:21.279Z] SSH_AUTH_SOCK=/tmp/ssh-xdfGUSKwC6iZ/agent.47 [2020-10-29T07:03:21.279Z] SSH_AGENT_PID=53 [2020-10-29T07:03:21.288Z] Running ssh-add (command line suppressed) [2020-10-29T07:03:21.414Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_7110268333092062386.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_7110268333092062386.key) [2020-10-29T07:03:21.466Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-29T07:03:21.805Z] + git semver init [2020-10-29T07:03:21.806Z] # -> Open(): unable to determine branch for HEAD [2020-10-29T07:03:21.806Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-10-29T07:03:21.806Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-29T07:03:21.806Z] # $SEMVER_REMOTE_NAME = origin [2020-10-29T07:03:21.806Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-29T07:03:21.806Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-29T07:03:21.806Z] # $SEMVER_BRANCH = PR-584 [2020-10-29T07:03:21.806Z] # $SEMVER_TEMP = /tmp/semver-130859408 [2020-10-29T07:03:21.806Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-29T07:03:22.752Z] # '/tmp/semver-130859408' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-10-29T07:03:22.752Z] # -> Force: false [2020-10-29T07:03:22.752Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-10-29T07:03:22.767Z] $ docker exec --env ******** --env ******** 6fdacea3802090b339c7c61ad2a90ff0a89dea1dde380ff671a1f56e32a634d1 ssh-agent -k [2020-10-29T07:03:22.890Z] unset SSH_AUTH_SOCK; [2020-10-29T07:03:22.890Z] unset SSH_AGENT_PID; [2020-10-29T07:03:22.890Z] echo Agent pid 53 killed; [2020-10-29T07:03:22.939Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-29T07:03:23.526Z] + git semver [Pipeline] } [2020-10-29T07:03:23.562Z] $ docker stop --time=1 6fdacea3802090b339c7c61ad2a90ff0a89dea1dde380ff671a1f56e32a634d1 [2020-10-29T07:03:24.950Z] $ docker rm -f 6fdacea3802090b339c7c61ad2a90ff0a89dea1dde380ff671a1f56e32a634d1 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-29T07:03:25.436Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-29T07:03:25.957Z] Stashed 1 file(s) [Pipeline] echo [2020-10-29T07:03:25.960Z] [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-29T07:03:41.553Z] Still waiting to schedule task [2020-10-29T07:03:41.553Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-29T07:03:41.556Z] Still waiting to schedule task [2020-10-29T07:03:41.556Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-29T07:06:03.003Z] Running on prd-centos7-docker-4c-2g-9667 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-29T07:06:03.110Z] Running in /w/workspace/device-sdk-go/33 [Pipeline] { [Pipeline] checkout [2020-10-29T07:06:10.328Z] using credential edgex-jenkins-ssh [2020-10-29T07:06:10.454Z] Cloning the remote Git repository [2020-10-29T07:06:10.616Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T07:06:10.696Z] > git init /w/workspace/device-sdk-go/33 # timeout=10 [2020-10-29T07:06:10.765Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T07:06:10.766Z] > git --version # timeout=10 [2020-10-29T07:06:10.790Z] > git --version # 'git version 2.16.5' [2020-10-29T07:06:10.792Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T07:06:10.875Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-29T07:06:12.535Z] Merging remotes/origin/master commit 43893dea7cdf8ffe29fac0bba279684163774e51 into PR head commit cc046fc61b77b3872e1e4d069c09d9b904ba72b4 [2020-10-29T07:06:12.711Z] Merge succeeded, producing cc046fc61b77b3872e1e4d069c09d9b904ba72b4 [2020-10-29T07:06:12.712Z] Checking out Revision cc046fc61b77b3872e1e4d069c09d9b904ba72b4 (PR-584) [2020-10-29T07:06:12.059Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-29T07:06:12.073Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-29T07:06:12.110Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-29T07:06:12.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T07:06:12.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T07:06:12.169Z] > 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-29T07:06:12.546Z] > git config core.sparsecheckout # timeout=10 [2020-10-29T07:06:12.560Z] > git checkout -f cc046fc61b77b3872e1e4d069c09d9b904ba72b4 # timeout=10 [2020-10-29T07:06:12.661Z] > git remote # timeout=10 [2020-10-29T07:06:12.671Z] > git config --get remote.origin.url # timeout=10 [2020-10-29T07:06:12.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T07:06:12.682Z] > git merge 43893dea7cdf8ffe29fac0bba279684163774e51 # timeout=10 [2020-10-29T07:06:12.693Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-29T07:06:12.717Z] > git config core.sparsecheckout # timeout=10 [2020-10-29T07:06:12.723Z] > git checkout -f cc046fc61b77b3872e1e4d069c09d9b904ba72b4 # timeout=10 [2020-10-29T07:06:13.932Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9666 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-29T07:06:14.026Z] Running in /w/workspace/device-sdk-go/33 [Pipeline] { [Pipeline] checkout [2020-10-29T07:06:17.027Z] 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-29T07:06:17.863Z] ========================================================= [2020-10-29T07:06:17.864Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-29T07:06:17.864Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:06:18.737Z] + 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-29T07:06:19.343Z] Sending build context to Docker daemon 2.343MB [2020-10-29T07:06:19.343Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-29T07:06:19.343Z] Step 2/8 : FROM ${BASE} [2020-10-29T07:06:19.406Z] using credential edgex-jenkins-ssh [2020-10-29T07:06:19.460Z] Cloning the remote Git repository [2020-10-29T07:06:19.633Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-29T07:06:19.633Z] df20fa9351a1: Pulling fs layer [2020-10-29T07:06:19.633Z] ed8968b2872e: Pulling fs layer [2020-10-29T07:06:19.633Z] a92cc7c5fd73: Pulling fs layer [2020-10-29T07:06:19.633Z] e871e8e8d7a9: Pulling fs layer [2020-10-29T07:06:19.633Z] e73272ec9a57: Pulling fs layer [2020-10-29T07:06:19.633Z] 1e910a182e73: Pulling fs layer [2020-10-29T07:06:19.633Z] 4e634b169226: Pulling fs layer [2020-10-29T07:06:19.633Z] e73272ec9a57: Waiting [2020-10-29T07:06:19.633Z] 1e910a182e73: Waiting [2020-10-29T07:06:19.633Z] 4e634b169226: Waiting [2020-10-29T07:06:19.633Z] e871e8e8d7a9: Waiting [2020-10-29T07:06:19.633Z] a92cc7c5fd73: Verifying Checksum [2020-10-29T07:06:19.633Z] a92cc7c5fd73: Download complete [2020-10-29T07:06:19.633Z] ed8968b2872e: Verifying Checksum [2020-10-29T07:06:19.633Z] ed8968b2872e: Download complete [2020-10-29T07:06:19.633Z] e73272ec9a57: Verifying Checksum [2020-10-29T07:06:19.633Z] e73272ec9a57: Download complete [2020-10-29T07:06:19.633Z] 1e910a182e73: Verifying Checksum [2020-10-29T07:06:19.633Z] 1e910a182e73: Download complete [2020-10-29T07:06:19.972Z] df20fa9351a1: Verifying Checksum [2020-10-29T07:06:19.972Z] df20fa9351a1: Download complete [2020-10-29T07:06:19.523Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T07:06:19.641Z] > git init /w/workspace/device-sdk-go/33 # timeout=10 [2020-10-29T07:06:19.724Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T07:06:19.725Z] > git --version # timeout=10 [2020-10-29T07:06:19.743Z] > git --version # 'git version 2.17.1' [2020-10-29T07:06:19.745Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T07:06:19.809Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-29T07:06:20.595Z] df20fa9351a1: Pull complete [2020-10-29T07:06:20.906Z] ed8968b2872e: Pull complete [2020-10-29T07:06:21.181Z] a92cc7c5fd73: Pull complete [2020-10-29T07:06:21.674Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-29T07:06:21.689Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-29T07:06:22.287Z] Merging remotes/origin/master commit 43893dea7cdf8ffe29fac0bba279684163774e51 into PR head commit cc046fc61b77b3872e1e4d069c09d9b904ba72b4 [2020-10-29T07:06:22.534Z] Merge succeeded, producing cc046fc61b77b3872e1e4d069c09d9b904ba72b4 [2020-10-29T07:06:22.534Z] Checking out Revision cc046fc61b77b3872e1e4d069c09d9b904ba72b4 (PR-584) [2020-10-29T07:06:21.720Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-29T07:06:21.756Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T07:06:21.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T07:06:21.768Z] > 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-29T07:06:22.314Z] > git config core.sparsecheckout # timeout=10 [2020-10-29T07:06:22.329Z] > git checkout -f cc046fc61b77b3872e1e4d069c09d9b904ba72b4 # timeout=10 [2020-10-29T07:06:22.443Z] > git remote # timeout=10 [2020-10-29T07:06:22.460Z] > git config --get remote.origin.url # timeout=10 [2020-10-29T07:06:22.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T07:06:22.491Z] > git merge 43893dea7cdf8ffe29fac0bba279684163774e51 # timeout=10 [2020-10-29T07:06:22.513Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-29T07:06:22.544Z] > git config core.sparsecheckout # timeout=10 [2020-10-29T07:06:22.572Z] > git checkout -f cc046fc61b77b3872e1e4d069c09d9b904ba72b4 # timeout=10 [2020-10-29T07:06:23.402Z] 4e634b169226: Verifying Checksum [2020-10-29T07:06:23.402Z] 4e634b169226: Download complete [2020-10-29T07:06:25.638Z] e871e8e8d7a9: Verifying Checksum [2020-10-29T07:06:25.638Z] e871e8e8d7a9: Download complete [2020-10-29T07:06:27.042Z] 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-29T07:06:27.875Z] ========================================================= [2020-10-29T07:06:27.876Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-29T07:06:27.876Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:06:28.933Z] + 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-29T07:06:29.922Z] Sending build context to Docker daemon 2.343MB [2020-10-29T07:06:29.922Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-29T07:06:29.922Z] Step 2/8 : FROM ${BASE} [2020-10-29T07:06:30.199Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-29T07:06:30.199Z] b538f80385f9: Pulling fs layer [2020-10-29T07:06:30.199Z] 74f711af9a0d: Pulling fs layer [2020-10-29T07:06:30.199Z] 99f96fe45779: Pulling fs layer [2020-10-29T07:06:30.199Z] 8529a6b9a6be: Pulling fs layer [2020-10-29T07:06:30.199Z] 45590311c82a: Pulling fs layer [2020-10-29T07:06:30.199Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-29T07:06:30.199Z] 209524e5b208: Pulling fs layer [2020-10-29T07:06:30.199Z] 8529a6b9a6be: Waiting [2020-10-29T07:06:30.199Z] 45590311c82a: Waiting [2020-10-29T07:06:30.199Z] 69ca0ff8b7b3: Waiting [2020-10-29T07:06:30.199Z] 209524e5b208: Waiting [2020-10-29T07:06:30.199Z] 99f96fe45779: Verifying Checksum [2020-10-29T07:06:30.199Z] 99f96fe45779: Download complete [2020-10-29T07:06:30.199Z] 74f711af9a0d: Verifying Checksum [2020-10-29T07:06:30.199Z] 74f711af9a0d: Download complete [2020-10-29T07:06:30.199Z] 45590311c82a: Verifying Checksum [2020-10-29T07:06:30.199Z] 45590311c82a: Download complete [2020-10-29T07:06:30.199Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-29T07:06:30.199Z] 69ca0ff8b7b3: Download complete [2020-10-29T07:06:30.477Z] b538f80385f9: Verifying Checksum [2020-10-29T07:06:30.477Z] b538f80385f9: Download complete [2020-10-29T07:06:31.081Z] b538f80385f9: Pull complete [2020-10-29T07:06:31.687Z] 74f711af9a0d: Pull complete [2020-10-29T07:06:31.964Z] 99f96fe45779: Pull complete [2020-10-29T07:06:32.568Z] 209524e5b208: Verifying Checksum [2020-10-29T07:06:32.568Z] 209524e5b208: Download complete [2020-10-29T07:06:34.567Z] 8529a6b9a6be: Verifying Checksum [2020-10-29T07:06:34.567Z] 8529a6b9a6be: Download complete [2020-10-29T07:06:35.853Z] e871e8e8d7a9: Pull complete [2020-10-29T07:06:35.853Z] e73272ec9a57: Pull complete [2020-10-29T07:06:35.853Z] 1e910a182e73: Pull complete [2020-10-29T07:06:41.349Z] 4e634b169226: Pull complete [2020-10-29T07:06:41.349Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-29T07:06:41.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-29T07:06:41.349Z] ---> f7629b54cfaa [2020-10-29T07:06:41.349Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T07:06:41.349Z] ---> Running in 1630dc9a2c66 [2020-10-29T07:06:41.349Z] Removing intermediate container 1630dc9a2c66 [2020-10-29T07:06:41.349Z] ---> 20aeb6327b50 [2020-10-29T07:06:41.349Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-29T07:06:41.349Z] ---> Running in c448b41657e0 [2020-10-29T07:06:42.781Z] Removing intermediate container c448b41657e0 [2020-10-29T07:06:42.781Z] ---> 5ebaa89fc674 [2020-10-29T07:06:42.781Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-29T07:06:42.781Z] ---> Running in 7086b329eda7 [2020-10-29T07:06:43.753Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-29T07:06:44.772Z] 8529a6b9a6be: Pull complete [2020-10-29T07:06:44.772Z] 45590311c82a: Pull complete [2020-10-29T07:06:44.772Z] 69ca0ff8b7b3: Pull complete [2020-10-29T07:06:44.781Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-29T07:06:45.986Z] OK: 166 MiB in 39 packages [2020-10-29T07:06:46.614Z] Removing intermediate container 7086b329eda7 [2020-10-29T07:06:46.614Z] ---> 8122c755d7c8 [2020-10-29T07:06:46.614Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-29T07:06:46.614Z] ---> Running in 6ea0c8721a86 [2020-10-29T07:06:46.890Z] Removing intermediate container 6ea0c8721a86 [2020-10-29T07:06:46.890Z] ---> cf97c35f98b0 [2020-10-29T07:06:46.890Z] Step 7/8 : COPY . . [2020-10-29T07:06:48.188Z] 209524e5b208: Pull complete [2020-10-29T07:06:48.188Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-29T07:06:48.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-29T07:06:48.188Z] ---> 5bddaf1c2fca [2020-10-29T07:06:48.188Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T07:06:48.412Z] ---> 8d28c22baf39 [2020-10-29T07:06:48.412Z] Step 8/8 : RUN go mod download [2020-10-29T07:06:48.412Z] ---> Running in 9c0b55e7d738 [2020-10-29T07:06:51.592Z] ---> Running in e27143f38489 [2020-10-29T07:06:51.592Z] Removing intermediate container e27143f38489 [2020-10-29T07:06:51.592Z] ---> 8c80454c4138 [2020-10-29T07:06:51.592Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-29T07:06:51.592Z] ---> Running in bf7dc939d0bb [2020-10-29T07:06:54.215Z] Removing intermediate container bf7dc939d0bb [2020-10-29T07:06:54.215Z] ---> 20fba2169d24 [2020-10-29T07:06:54.215Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-29T07:06:54.215Z] ---> Running in b694a9c13880 [2020-10-29T07:06:55.661Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-29T07:06:56.640Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-29T07:06:57.619Z] OK: 142 MiB in 39 packages [2020-10-29T07:06:58.603Z] Removing intermediate container b694a9c13880 [2020-10-29T07:06:58.603Z] ---> 410ee6e59cf0 [2020-10-29T07:06:58.603Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-29T07:06:58.878Z] ---> Running in a8d80f3500fe [2020-10-29T07:06:59.152Z] Removing intermediate container a8d80f3500fe [2020-10-29T07:06:59.152Z] ---> d17f97e90398 [2020-10-29T07:06:59.152Z] Step 7/8 : COPY . . [2020-10-29T07:07:00.601Z] ---> e9642949babd [2020-10-29T07:07:00.601Z] Step 8/8 : RUN go mod download [2020-10-29T07:07:00.601Z] ---> Running in c0cb6217bfd5 [2020-10-29T07:07:10.923Z] Removing intermediate container 9c0b55e7d738 [2020-10-29T07:07:10.924Z] ---> 3bfe02fc7ec9 [2020-10-29T07:07:10.924Z] Successfully built 3bfe02fc7ec9 [2020-10-29T07:07:10.924Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:07:11.404Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-29T07:07:11.450Z] . [Pipeline] withDockerContainer [2020-10-29T07:07:12.064Z] prd-centos7-docker-4c-2g-9667 does not seem to be running inside a container [2020-10-29T07:07:12.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/33 -v /w/workspace/device-sdk-go/33:/w/workspace/device-sdk-go/33:rw,z -v /w/workspace/device-sdk-go/33@tmp:/w/workspace/device-sdk-go/33@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-29T07:07:13.283Z] $ docker top 00de676797ca9cb8ffe7203b96e64f78563be97411c9e61a398307fc4b970514 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-29T07:07:13.949Z] + go version [2020-10-29T07:07:13.949Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-29T07:07:13.994Z] $ docker stop --time=1 00de676797ca9cb8ffe7203b96e64f78563be97411c9e61a398307fc4b970514 [2020-10-29T07:07:15.514Z] $ docker rm -f 00de676797ca9cb8ffe7203b96e64f78563be97411c9e61a398307fc4b970514 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:07:16.536Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-29T07:07:16.536Z] . [Pipeline] withDockerContainer [2020-10-29T07:07:16.739Z] prd-centos7-docker-4c-2g-9667 does not seem to be running inside a container [2020-10-29T07:07:16.859Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/33 -v /w/workspace/device-sdk-go/33:/w/workspace/device-sdk-go/33:rw,z -v /w/workspace/device-sdk-go/33@tmp:/w/workspace/device-sdk-go/33@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-29T07:07:17.973Z] $ docker top 1d4ba5218486de942acb66ac44dc5ee7d935d0aae15081f0f68294f77d699446 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-29T07:07:18.679Z] + make test [2020-10-29T07:07:18.680Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-29T07:07:23.573Z] Removing intermediate container c0cb6217bfd5 [2020-10-29T07:07:23.573Z] ---> e6f83c7655c4 [2020-10-29T07:07:23.573Z] Successfully built e6f83c7655c4 [2020-10-29T07:07:23.573Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:07:24.001Z] + docker inspect -f . ci-base-image-arm64 [2020-10-29T07:07:24.001Z] . [Pipeline] withDockerContainer [2020-10-29T07:07:24.285Z] prd-ubuntu18.04-docker-arm64-4c-16g-9666 does not seem to be running inside a container [2020-10-29T07:07:24.377Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/33 -v /w/workspace/device-sdk-go/33:/w/workspace/device-sdk-go/33:rw,z -v /w/workspace/device-sdk-go/33@tmp:/w/workspace/device-sdk-go/33@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-29T07:07:26.259Z] $ docker top ae0abe777d3b134b0651d45ea1ad4a4453b2018728f3e5c31deeeabcf01da4dd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-29T07:07:27.689Z] + go version [2020-10-29T07:07:27.689Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-29T07:07:27.716Z] $ docker stop --time=1 ae0abe777d3b134b0651d45ea1ad4a4453b2018728f3e5c31deeeabcf01da4dd [2020-10-29T07:07:29.587Z] $ docker rm -f ae0abe777d3b134b0651d45ea1ad4a4453b2018728f3e5c31deeeabcf01da4dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:07:30.763Z] + docker inspect -f . ci-base-image-arm64 [2020-10-29T07:07:30.763Z] . [Pipeline] withDockerContainer [2020-10-29T07:07:30.993Z] prd-ubuntu18.04-docker-arm64-4c-16g-9666 does not seem to be running inside a container [2020-10-29T07:07:31.090Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/33 -v /w/workspace/device-sdk-go/33:/w/workspace/device-sdk-go/33:rw,z -v /w/workspace/device-sdk-go/33@tmp:/w/workspace/device-sdk-go/33@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-29T07:07:31.550Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-29T07:07:32.775Z] $ docker top 44d776fac926ca650e69960f8c7e036c855164c2affbafc3817c064f107f6b8b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-29T07:07:34.121Z] + make test [2020-10-29T07:07:34.121Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-29T07:07:56.338Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-29T07:07:59.124Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-29T07:07:59.124Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-29T07:07:59.124Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-29T07:07:59.124Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.090s coverage: 21.4% of statements [2020-10-29T07:07:59.124Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.133s coverage: 97.1% of statements [2020-10-29T07:08:32.075Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.069s coverage: 9.4% of statements [2020-10-29T07:08:32.075Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.067s coverage: 21.9% of statements [2020-10-29T07:08:32.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-29T07:08:32.075Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.491s coverage: 42.6% of statements [2020-10-29T07:08:32.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-29T07:08:32.075Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.713s coverage: 68.9% of statements [2020-10-29T07:08:32.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-29T07:08:32.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-29T07:08:32.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-29T07:08:32.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-29T07:08:32.075Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.082s coverage: 52.6% of statements [2020-10-29T07:08:32.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-29T07:08:32.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-29T07:08:32.075Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-29T07:08:32.075Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.379s coverage: 68.9% of statements [2020-10-29T07:08:32.075Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.308s coverage: 4.7% of statements [2020-10-29T07:08:32.075Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-29T07:08:32.075Z] GO111MODULE=on go vet ./... [2020-10-29T07:08:35.398Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-29T07:08:35.398Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-29T07:08:35.398Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-29T07:08:35.398Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.148s coverage: 21.4% of statements [2020-10-29T07:08:38.040Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.242s coverage: 97.1% of statements [2020-10-29T07:08:42.583Z] gofmt -l . [2020-10-29T07:08:42.583Z] [ "`gofmt -l .`" = "" ] [2020-10-29T07:08:42.583Z] ./bin/test-attribution-txt.sh [2020-10-29T07:08:43.589Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-29T07:08:45.292Z] Stashed 1 file(s) [Pipeline] } [2020-10-29T07:08:45.304Z] $ docker stop --time=1 1d4ba5218486de942acb66ac44dc5ee7d935d0aae15081f0f68294f77d699446 [2020-10-29T07:08:47.466Z] $ docker rm -f 1d4ba5218486de942acb66ac44dc5ee7d935d0aae15081f0f68294f77d699446 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-29T07:08:49.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-29T07:08:49.605Z] + ls -al . [2020-10-29T07:08:49.605Z] total 208 [2020-10-29T07:08:49.605Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 29 07:08 . [2020-10-29T07:08:49.605Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 29 07:06 .. [2020-10-29T07:08:49.605Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 29 07:06 bin [2020-10-29T07:08:49.605Z] -rw-r--r--. 1 jenkins jenkins 127611 Oct 29 07:08 coverage.out [2020-10-29T07:08:49.605Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 29 07:06 Dockerfile.build [2020-10-29T07:08:49.605Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 29 07:06 .dockerignore [2020-10-29T07:08:49.605Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 29 07:06 example [2020-10-29T07:08:49.605Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 29 07:06 .git [2020-10-29T07:08:49.605Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 29 07:06 .github [2020-10-29T07:08:49.605Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 29 07:06 .gitignore [2020-10-29T07:08:49.605Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 29 07:08 go.mod [2020-10-29T07:08:49.605Z] -rw-r--r--. 1 jenkins jenkins 13521 Oct 29 07:08 go.sum [2020-10-29T07:08:49.605Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 29 07:06 internal [2020-10-29T07:08:49.605Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 29 07:06 Jenkinsfile [2020-10-29T07:08:49.605Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 29 07:06 LICENSE [2020-10-29T07:08:49.605Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 29 07:06 Makefile [2020-10-29T07:08:49.605Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 29 07:06 openapi [2020-10-29T07:08:49.605Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 29 07:06 pkg [2020-10-29T07:08:49.605Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 29 07:06 README.md [2020-10-29T07:08:49.605Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 29 07:06 RELEASE-NOTES.txt [2020-10-29T07:08:49.605Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 29 07:06 snap [2020-10-29T07:08:49.605Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 29 07:03 VERSION [2020-10-29T07:08:49.605Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 29 07:06 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:08:49.959Z] + 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=cc046fc61b77b3872e1e4d069c09d9b904ba72b4 --label arch=amd64 --label version=0.0.0 . [2020-10-29T07:08:50.234Z] Sending build context to Docker daemon 2.471MB [2020-10-29T07:08:50.234Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-29T07:08:50.234Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-29T07:08:50.234Z] ---> 3bfe02fc7ec9 [2020-10-29T07:08:50.234Z] Step 3/24 : ARG MAKE='make build' [2020-10-29T07:08:50.830Z] ---> Running in 085ddb309597 [2020-10-29T07:08:50.830Z] Removing intermediate container 085ddb309597 [2020-10-29T07:08:50.830Z] ---> 105aa75bf7b7 [2020-10-29T07:08:50.830Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-29T07:08:51.097Z] ---> Running in 962629cb98e0 [2020-10-29T07:08:51.406Z] Removing intermediate container 962629cb98e0 [2020-10-29T07:08:51.406Z] ---> e907085d495a [2020-10-29T07:08:51.406Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T07:08:51.406Z] ---> Running in 659ebb05dfec [2020-10-29T07:08:51.705Z] Removing intermediate container 659ebb05dfec [2020-10-29T07:08:51.705Z] ---> ecfc29f4359b [2020-10-29T07:08:51.705Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-29T07:08:51.705Z] ---> Running in 520d7a76a626 [2020-10-29T07:08:53.231Z] Removing intermediate container 520d7a76a626 [2020-10-29T07:08:53.231Z] ---> 759707ce36a8 [2020-10-29T07:08:53.231Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-29T07:08:53.231Z] ---> Running in 272ba2d8e4b6 [2020-10-29T07:08:53.816Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-29T07:08:55.232Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-29T07:08:56.226Z] OK: 166 MiB in 39 packages [2020-10-29T07:08:56.831Z] Removing intermediate container 272ba2d8e4b6 [2020-10-29T07:08:56.831Z] ---> 3cbe31431260 [2020-10-29T07:08:56.831Z] Step 8/24 : COPY . . [2020-10-29T07:08:57.910Z] ---> 8470490c3e8e [2020-10-29T07:08:57.910Z] Step 9/24 : RUN ${MAKE} [2020-10-29T07:08:57.910Z] ---> Running in 56d563198c8b [2020-10-29T07:08:58.647Z] 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-29T07:09:10.415Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.120s coverage: 9.4% of statements [2020-10-29T07:09:10.415Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.110s coverage: 21.9% of statements [2020-10-29T07:09:10.415Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-29T07:09:10.415Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.626s coverage: 42.6% of statements [2020-10-29T07:09:10.415Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-29T07:09:10.415Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.764s coverage: 68.9% of statements [2020-10-29T07:09:10.415Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-29T07:09:10.415Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-29T07:09:10.415Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-29T07:09:10.415Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-29T07:09:10.415Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.177s coverage: 52.6% of statements [2020-10-29T07:09:10.415Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-29T07:09:10.415Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-29T07:09:10.415Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-29T07:09:10.415Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.925s coverage: 68.9% of statements [2020-10-29T07:09:10.415Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.142s coverage: 4.7% of statements [2020-10-29T07:09:10.415Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-29T07:09:10.415Z] GO111MODULE=on go vet ./... [2020-10-29T07:09:14.372Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-29T07:09:17.908Z] Removing intermediate container 56d563198c8b [2020-10-29T07:09:17.908Z] ---> 2dfa95885b2c [2020-10-29T07:09:17.908Z] Step 10/24 : FROM scratch [2020-10-29T07:09:17.908Z] ---> [2020-10-29T07:09:17.908Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T07:09:17.908Z] ---> Running in a6126dcc5f11 [2020-10-29T07:09:17.908Z] Removing intermediate container a6126dcc5f11 [2020-10-29T07:09:17.908Z] ---> 545e47bcbd31 [2020-10-29T07:09:17.908Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-29T07:09:17.908Z] ---> Running in a9101b47ec53 [2020-10-29T07:09:18.194Z] Removing intermediate container a9101b47ec53 [2020-10-29T07:09:18.194Z] ---> 02aa8e0f95dd [2020-10-29T07:09:18.194Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-29T07:09:18.194Z] ---> Running in ec60dfce9c1f [2020-10-29T07:09:18.464Z] Removing intermediate container ec60dfce9c1f [2020-10-29T07:09:18.464Z] ---> 318f8b4f8faf [2020-10-29T07:09:18.464Z] Step 14/24 : WORKDIR / [2020-10-29T07:09:18.464Z] ---> Running in daa46004c13f [2020-10-29T07:09:18.741Z] Removing intermediate container daa46004c13f [2020-10-29T07:09:18.741Z] ---> d24beb664945 [2020-10-29T07:09:18.741Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-29T07:09:19.374Z] ---> ea59d64e9d6e [2020-10-29T07:09:19.374Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-29T07:09:19.646Z] ---> 2dce238eef0c [2020-10-29T07:09:19.646Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-29T07:09:19.929Z] ---> 59512a6be1c7 [2020-10-29T07:09:19.929Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-29T07:09:20.257Z] ---> b7b4e09c85ae [2020-10-29T07:09:20.257Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-29T07:09:20.853Z] ---> ea842c4a6a40 [2020-10-29T07:09:20.853Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-29T07:09:20.853Z] ---> Running in e26221ba19f2 [2020-10-29T07:09:20.853Z] Removing intermediate container e26221ba19f2 [2020-10-29T07:09:20.853Z] ---> c425db7c93ec [2020-10-29T07:09:20.853Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-29T07:09:21.123Z] ---> Running in 3ee73b9b9033 [2020-10-29T07:09:21.391Z] Removing intermediate container 3ee73b9b9033 [2020-10-29T07:09:21.391Z] ---> 774f6561e506 [2020-10-29T07:09:21.391Z] Step 22/24 : LABEL arch=amd64 [2020-10-29T07:09:21.391Z] ---> Running in 839efad432d8 [2020-10-29T07:09:21.662Z] Removing intermediate container 839efad432d8 [2020-10-29T07:09:21.662Z] ---> 36db0125dce9 [2020-10-29T07:09:21.662Z] Step 23/24 : LABEL git_sha=cc046fc61b77b3872e1e4d069c09d9b904ba72b4 [2020-10-29T07:09:21.662Z] ---> Running in 2a6944139ac0 [2020-10-29T07:09:21.927Z] Removing intermediate container 2a6944139ac0 [2020-10-29T07:09:21.927Z] ---> 695d04319885 [2020-10-29T07:09:21.927Z] Step 24/24 : LABEL version=0.0.0 [2020-10-29T07:09:21.927Z] ---> Running in be88b7efcfdf [2020-10-29T07:09:22.191Z] Removing intermediate container be88b7efcfdf [2020-10-29T07:09:22.191Z] ---> 40bc2b41e78d [2020-10-29T07:09:22.191Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-29T07:09:22.191Z] Successfully built 40bc2b41e78d [2020-10-29T07:09:22.191Z] 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-29T07:09:37.290Z] gofmt -l . [2020-10-29T07:09:37.290Z] [ "`gofmt -l .`" = "" ] [2020-10-29T07:09:37.576Z] ./bin/test-attribution-txt.sh [2020-10-29T07:09:38.173Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-29T07:09:38.792Z] Warning: overwriting stash ‘coverage-report’ [2020-10-29T07:09:39.677Z] Stashed 1 file(s) [Pipeline] } [2020-10-29T07:09:39.684Z] $ docker stop --time=1 44d776fac926ca650e69960f8c7e036c855164c2affbafc3817c064f107f6b8b [2020-10-29T07:09:41.916Z] $ docker rm -f 44d776fac926ca650e69960f8c7e036c855164c2affbafc3817c064f107f6b8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-29T07:09:43.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-29T07:09:43.894Z] + ls -al . [2020-10-29T07:09:43.894Z] total 244 [2020-10-29T07:09:43.894Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 29 07:09 . [2020-10-29T07:09:43.894Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 29 07:06 .. [2020-10-29T07:09:43.894Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 29 07:06 .dockerignore [2020-10-29T07:09:43.894Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 29 07:06 .git [2020-10-29T07:09:43.894Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 29 07:06 .github [2020-10-29T07:09:43.894Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 29 07:06 .gitignore [2020-10-29T07:09:43.894Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 29 07:06 Dockerfile.build [2020-10-29T07:09:43.894Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 29 07:06 Jenkinsfile [2020-10-29T07:09:43.894Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 29 07:06 LICENSE [2020-10-29T07:09:43.894Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 29 07:06 Makefile [2020-10-29T07:09:43.894Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 29 07:06 README.md [2020-10-29T07:09:43.894Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 29 07:06 RELEASE-NOTES.txt [2020-10-29T07:09:43.894Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 29 07:03 VERSION [2020-10-29T07:09:43.894Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 29 07:06 bin [2020-10-29T07:09:43.894Z] -rw-r--r-- 1 jenkins jenkins 127611 Oct 29 07:09 coverage.out [2020-10-29T07:09:43.894Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 29 07:06 example [2020-10-29T07:09:43.894Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 29 07:09 go.mod [2020-10-29T07:09:43.894Z] -rw-r--r-- 1 jenkins jenkins 13521 Oct 29 07:09 go.sum [2020-10-29T07:09:43.894Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 29 07:06 internal [2020-10-29T07:09:43.894Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 29 07:06 openapi [2020-10-29T07:09:43.894Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 29 07:06 pkg [2020-10-29T07:09:43.894Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 29 07:06 snap [2020-10-29T07:09:43.894Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 29 07:06 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:09:44.304Z] + 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=cc046fc61b77b3872e1e4d069c09d9b904ba72b4 --label arch=arm64 --label version=0.0.0 . [2020-10-29T07:09:44.911Z] Sending build context to Docker daemon 2.471MB [2020-10-29T07:09:44.911Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-29T07:09:44.911Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-29T07:09:44.911Z] ---> e6f83c7655c4 [2020-10-29T07:09:44.911Z] Step 3/24 : ARG MAKE='make build' [2020-10-29T07:09:45.182Z] ---> Running in b13ddaa09727 [2020-10-29T07:09:45.452Z] Removing intermediate container b13ddaa09727 [2020-10-29T07:09:45.452Z] ---> 1cdc03bc2388 [2020-10-29T07:09:45.452Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-29T07:09:45.727Z] ---> Running in 7e5fb511a4d9 [2020-10-29T07:09:46.323Z] Removing intermediate container 7e5fb511a4d9 [2020-10-29T07:09:46.323Z] ---> 123b2a0b1405 [2020-10-29T07:09:46.323Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T07:09:46.323Z] ---> Running in db14ee34400e [2020-10-29T07:09:46.595Z] Removing intermediate container db14ee34400e [2020-10-29T07:09:46.595Z] ---> 7cfd4442866a [2020-10-29T07:09:46.595Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-29T07:09:46.865Z] ---> Running in a370142e8eec [2020-10-29T07:09:49.490Z] Removing intermediate container a370142e8eec [2020-10-29T07:09:49.490Z] ---> 2afbaa1b361a [2020-10-29T07:09:49.490Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-29T07:09:49.490Z] ---> Running in 6c7514bfe14d [2020-10-29T07:09:50.919Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-29T07:09:51.509Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-29T07:09:52.488Z] OK: 142 MiB in 39 packages [2020-10-29T07:09:53.476Z] Removing intermediate container 6c7514bfe14d [2020-10-29T07:09:53.476Z] ---> 26e7facd165d [2020-10-29T07:09:53.476Z] Step 8/24 : COPY . . [2020-10-29T07:09:54.921Z] ---> 24d9cb4f42b8 [2020-10-29T07:09:54.921Z] Step 9/24 : RUN ${MAKE} [2020-10-29T07:09:54.921Z] ---> Running in 1999f84d9d5d [2020-10-29T07:09:56.357Z] 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-29T07:10:23.192Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-29T07:10:23.193Z] Removing intermediate container 1999f84d9d5d [2020-10-29T07:10:23.193Z] ---> 001481de6f60 [2020-10-29T07:10:23.193Z] Step 10/24 : FROM scratch [2020-10-29T07:10:23.193Z] ---> [2020-10-29T07:10:23.193Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T07:10:23.193Z] ---> Running in d8f1f9312a08 [2020-10-29T07:10:23.193Z] Removing intermediate container d8f1f9312a08 [2020-10-29T07:10:23.193Z] ---> 7239889b9ecf [2020-10-29T07:10:23.193Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-29T07:10:23.467Z] ---> Running in fdcf100baf40 [2020-10-29T07:10:23.739Z] Removing intermediate container fdcf100baf40 [2020-10-29T07:10:23.739Z] ---> 74a51dbf8208 [2020-10-29T07:10:23.739Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-29T07:10:23.739Z] ---> Running in 1dc10df08c6a [2020-10-29T07:10:24.338Z] Removing intermediate container 1dc10df08c6a [2020-10-29T07:10:24.338Z] ---> c9ca88cb410e [2020-10-29T07:10:24.338Z] Step 14/24 : WORKDIR / [2020-10-29T07:10:24.338Z] ---> Running in b2354db79136 [2020-10-29T07:10:24.937Z] Removing intermediate container b2354db79136 [2020-10-29T07:10:24.938Z] ---> be3858a64171 [2020-10-29T07:10:24.938Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-29T07:10:25.918Z] ---> ef5c083d8346 [2020-10-29T07:10:25.918Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-29T07:10:26.898Z] ---> e3db65b79134 [2020-10-29T07:10:26.898Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-29T07:10:27.493Z] ---> 2d2d68fede9a [2020-10-29T07:10:27.493Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-29T07:10:28.087Z] ---> 8c311765ec6f [2020-10-29T07:10:28.087Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-29T07:10:29.064Z] ---> d7def459e62c [2020-10-29T07:10:29.064Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-29T07:10:29.064Z] ---> Running in 3cfd41eb06a3 [2020-10-29T07:10:29.346Z] Removing intermediate container 3cfd41eb06a3 [2020-10-29T07:10:29.346Z] ---> f68fa9721b33 [2020-10-29T07:10:29.346Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-29T07:10:29.620Z] ---> Running in bb743923fc0c [2020-10-29T07:10:30.219Z] Removing intermediate container bb743923fc0c [2020-10-29T07:10:30.219Z] ---> ebc69dd7047a [2020-10-29T07:10:30.219Z] Step 22/24 : LABEL arch=arm64 [2020-10-29T07:10:30.219Z] ---> Running in a418a4e544d7 [2020-10-29T07:10:30.820Z] Removing intermediate container a418a4e544d7 [2020-10-29T07:10:30.820Z] ---> bb64676c5bf4 [2020-10-29T07:10:30.820Z] Step 23/24 : LABEL git_sha=cc046fc61b77b3872e1e4d069c09d9b904ba72b4 [2020-10-29T07:10:30.820Z] ---> Running in 9c142f0d880a [2020-10-29T07:10:31.093Z] Removing intermediate container 9c142f0d880a [2020-10-29T07:10:31.093Z] ---> 40a0e5007135 [2020-10-29T07:10:31.093Z] Step 24/24 : LABEL version=0.0.0 [2020-10-29T07:10:31.367Z] ---> Running in 59669eb37f4a [2020-10-29T07:10:31.961Z] Removing intermediate container 59669eb37f4a [2020-10-29T07:10:31.961Z] ---> b63cfb4af86e [2020-10-29T07:10:31.961Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-29T07:10:31.961Z] Successfully built b63cfb4af86e [2020-10-29T07:10:31.961Z] 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-29T07:10:33.602Z] provisioning config files... [2020-10-29T07:10:33.615Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3456393778039184332tmp [Pipeline] { [Pipeline] sh [2020-10-29T07:10:34.003Z] + set +x [2020-10-29T07:10:34.004Z] + curl -s https://codecov.io/bash [2020-10-29T07:10:34.004Z] + bash -s -- [2020-10-29T07:10:34.269Z] [2020-10-29T07:10:34.269Z] _____ _ [2020-10-29T07:10:34.269Z] / ____| | | [2020-10-29T07:10:34.269Z] | | ___ __| | ___ ___ _____ __ [2020-10-29T07:10:34.269Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-29T07:10:34.269Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-29T07:10:34.269Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-29T07:10:34.269Z] Bash-20201009-048fee3 [2020-10-29T07:10:34.269Z] [2020-10-29T07:10:34.269Z] [2020-10-29T07:10:34.269Z] ==> Jenkins CI detected. [2020-10-29T07:10:34.269Z] project root: . [2020-10-29T07:10:34.269Z] --> token set from env [2020-10-29T07:10:34.269Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-29T07:10:34.269Z] ==> Running gcov in . (disable via -X gcov) [2020-10-29T07:10:34.269Z] ==> Python coveragepy not found [2020-10-29T07:10:34.269Z] ==> Searching for coverage reports in: [2020-10-29T07:10:34.269Z] + . [2020-10-29T07:10:34.269Z] -> Found 1 reports [2020-10-29T07:10:34.269Z] ==> Detecting git/mercurial file structure [2020-10-29T07:10:34.269Z] ==> Reading reports [2020-10-29T07:10:34.269Z] + ./coverage.out bytes=127611 [2020-10-29T07:10:34.269Z] ==> Appending adjustments [2020-10-29T07:10:34.269Z] https://docs.codecov.io/docs/fixing-reports [2020-10-29T07:10:34.845Z] + Found adjustments [2020-10-29T07:10:34.845Z] ==> Gzipping contents [2020-10-29T07:10:34.845Z] ==> Uploading reports [2020-10-29T07:10:34.845Z] url: https://codecov.io [2020-10-29T07:10:34.845Z] query: branch=PR-584&commit=cc046fc61b77b3872e1e4d069c09d9b904ba72b4&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-29T07:10:34.845Z] -> Pinging Codecov [2020-10-29T07:10:34.845Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=cc046fc61b77b3872e1e4d069c09d9b904ba72b4&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-29T07:10:34.845Z] -> Uploading to [2020-10-29T07:10:34.845Z] [2020-10-29T07:10:34.845Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-29T07:10:34.845Z] Dload Upload Total Spent Left Speed [2020-10-29T07:10:34.845Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-29T07:10:34.845Z] X> Failed to upload [2020-10-29T07:10:34.845Z] ==> Uploading to Codecov [2020-10-29T07:10:34.845Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-29T07:10:34.845Z] Dload Upload Total Spent Left Speed [2020-10-29T07:10:35.422Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20958 100 110 100 20848 230 43702 --:--:-- --:--:-- --:--:-- 43798 [2020-10-29T07:10:35.422Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cc046fc61b77b3872e1e4d069c09d9b904ba72b4 [Pipeline] } [2020-10-29T07:10:35.433Z] 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-29T07:10:37.904Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T07:10:38.495Z] ---> package-listing.sh [2020-10-29T07:10:38.495Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-29T07:10:38.495Z] ++ facter osfamily [2020-10-29T07:10:38.495Z] + OS_FAMILY=redhat [2020-10-29T07:10:38.495Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-29T07:10:38.495Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-29T07:10:38.495Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-29T07:10:38.495Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-29T07:10:38.495Z] + PACKAGES=/tmp/packages_start.txt [2020-10-29T07:10:38.495Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-29T07:10:38.495Z] + PACKAGES=/tmp/packages_end.txt [2020-10-29T07:10:38.495Z] + case "${OS_FAMILY}" in [2020-10-29T07:10:38.495Z] + rpm -qa [2020-10-29T07:10:38.495Z] + sort [2020-10-29T07:10:42.725Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-29T07:10:42.726Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-29T07:10:42.726Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-29T07:10:42.726Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-29T07:10:42.726Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-10-29T07:10:42.726Z] + 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-29T07:10:42.739Z] 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-29T07:10:43.030Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:10:43.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-29T07:10:43.335Z] [2020-10-29T07:10:43.335Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:10:43.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-29T07:10:43.689Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-29T07:10:43.689Z] df20fa9351a1: Pulling fs layer [2020-10-29T07:10:43.689Z] 36b3adc4ff6f: Pulling fs layer [2020-10-29T07:10:43.689Z] 8ad3a11d3b57: Pulling fs layer [2020-10-29T07:10:43.689Z] 46f8f816bc3b: Pulling fs layer [2020-10-29T07:10:43.689Z] 93b61091891f: Pulling fs layer [2020-10-29T07:10:43.689Z] 93b9cdb0e59b: Pulling fs layer [2020-10-29T07:10:43.689Z] 5e14af77c1be: Pulling fs layer [2020-10-29T07:10:43.689Z] 01666e4c0597: Pulling fs layer [2020-10-29T07:10:43.689Z] aa168da1d23b: Pulling fs layer [2020-10-29T07:10:43.689Z] 93b9cdb0e59b: Waiting [2020-10-29T07:10:43.689Z] 01666e4c0597: Waiting [2020-10-29T07:10:43.689Z] aa168da1d23b: Waiting [2020-10-29T07:10:43.689Z] 5e14af77c1be: Waiting [2020-10-29T07:10:43.689Z] 46f8f816bc3b: Waiting [2020-10-29T07:10:43.689Z] 93b61091891f: Waiting [2020-10-29T07:10:43.689Z] 36b3adc4ff6f: Download complete [2020-10-29T07:10:43.689Z] 46f8f816bc3b: Download complete [2020-10-29T07:10:43.952Z] df20fa9351a1: Verifying Checksum [2020-10-29T07:10:43.952Z] df20fa9351a1: Download complete [2020-10-29T07:10:43.952Z] 93b61091891f: Verifying Checksum [2020-10-29T07:10:43.952Z] 93b61091891f: Download complete [2020-10-29T07:10:43.952Z] 93b9cdb0e59b: Verifying Checksum [2020-10-29T07:10:43.952Z] 93b9cdb0e59b: Download complete [2020-10-29T07:10:43.952Z] 5e14af77c1be: Verifying Checksum [2020-10-29T07:10:43.952Z] 5e14af77c1be: Download complete [2020-10-29T07:10:43.952Z] 01666e4c0597: Verifying Checksum [2020-10-29T07:10:43.952Z] 01666e4c0597: Download complete [2020-10-29T07:10:43.952Z] 8ad3a11d3b57: Verifying Checksum [2020-10-29T07:10:43.952Z] 8ad3a11d3b57: Download complete [2020-10-29T07:10:44.223Z] df20fa9351a1: Pull complete [2020-10-29T07:10:44.489Z] 36b3adc4ff6f: Pull complete [2020-10-29T07:10:45.447Z] 8ad3a11d3b57: Pull complete [2020-10-29T07:10:45.710Z] 46f8f816bc3b: Pull complete [2020-10-29T07:10:45.972Z] aa168da1d23b: Verifying Checksum [2020-10-29T07:10:45.972Z] aa168da1d23b: Download complete [2020-10-29T07:10:45.972Z] 93b61091891f: Pull complete [2020-10-29T07:10:46.235Z] 93b9cdb0e59b: Pull complete [2020-10-29T07:10:46.235Z] 5e14af77c1be: Pull complete [2020-10-29T07:10:46.813Z] 01666e4c0597: Pull complete [2020-10-29T07:10:55.047Z] aa168da1d23b: Pull complete [2020-10-29T07:10:55.047Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-29T07:10:55.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-29T07:10:55.047Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-29T07:10:55.226Z] prd-centos7-docker-4c-2g-9662 does not seem to be running inside a container [2020-10-29T07:10:55.287Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-29T07:10:59.006Z] $ docker top 171eadc103c339c037158c58fae2347c9be444503d11315e0843bc07de6245b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-29T07:10:59.592Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-29T07:10:59.905Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-29T07:11:00.211Z] + ls /var/log/sa-host [2020-10-29T07:11:00.211Z] + sadf -c /var/log/sa-host/sa05 [2020-10-29T07:11:00.211Z] file_magic: OK [2020-10-29T07:11:00.211Z] HZ: Using current value: 100 [2020-10-29T07:11:00.211Z] file_header: OK [2020-10-29T07:11:00.211Z] 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-29T07:11:00.211Z] Statistics: [2020-10-29T07:11:00.211Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-29T07:11:00.211Z] File successfully converted to sysstat format version 12.2.1 [2020-10-29T07:11:00.211Z] + sadf -c /var/log/sa-host/sa29 [2020-10-29T07:11:00.211Z] file_magic: OK [2020-10-29T07:11:00.211Z] HZ: Using current value: 100 [2020-10-29T07:11:00.211Z] file_header: OK [2020-10-29T07:11:00.211Z] 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-29T07:11:00.211Z] Statistics: [2020-10-29T07:11:00.211Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-29T07:11:00.211Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-29T07:11:00.433Z] provisioning config files... [2020-10-29T07:11:00.453Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config8147198794325573672tmp [Pipeline] { [Pipeline] echo [2020-10-29T07:11:00.552Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T07:11:00.850Z] ---> create-netrc.sh [Pipeline] } [2020-10-29T07:11:00.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-29T07:11:00.948Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T07:11:01.253Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-29T07:11:01.264Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T07:11:01.594Z] ---> sudo-logs.sh [2020-10-29T07:11:01.594Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-29T07:11:01.605Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T07:11:01.906Z] ---> job-cost.sh [2020-10-29T07:11:01.906Z] lf-activate-venv: SKIPPING [2020-10-29T07:11:01.906Z] INFO: No Stack... [2020-10-29T07:11:03.833Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-29T07:11:04.096Z] INFO: Archiving Costs [Pipeline] echo [2020-10-29T07:11:04.109Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T07:11:04.415Z] ---> logs-deploy.sh [2020-10-29T07:11:04.415Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/33 [2020-10-29T07:11:04.415Z] INFO: archiving workspace using pattern(s): [2020-10-29T07:11:06.337Z] Archives upload complete. [2020-10-29T07:11:06.337Z] INFO: archiving logs to Nexus