Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3+0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 (c18c25607c3dc29a78ce33ac8d3e6f11dbdaca9a) 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-5848 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 Merging remotes/origin/master commit 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 into PR head commit 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 Merge succeeded, producing 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 Checking out Revision 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 (PR-584) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # 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 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # 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-16T09:29:12.942Z] Timeout set to expire in 6 hr 0 min > git rev-list --no-walk 940b933be179ab78106c9e5d9c9093d66dfec8ca # timeout=10 [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-16T09:29:13.249Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-16T09:29:13.347Z] ========================================================= [2020-10-16T09:29:13.347Z] EdgeX Global Pipelines Version Info [2020-10-16T09:29:13.347Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:29:15.199Z] ------------------- [2020-10-16T09:29:15.199Z] stable info: [2020-10-16T09:29:15.199Z] ------------------- [2020-10-16T09:29:15.199Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T09:29:15.199Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T09:29:15.199Z] Message: update stable to v1.0.144 [2020-10-16T09:29:16.144Z] ------------------- [2020-10-16T09:29:16.144Z] experimental info: [2020-10-16T09:29:16.144Z] ------------------- [2020-10-16T09:29:16.144Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T09:29:16.144Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T09:29:16.144Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-16T09:29:16.540Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-16T09:29:16.647Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-16T09:29:16.733Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-16T09:29:16.841Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-16T09:29:16.930Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-16T09:29:17.011Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-16T09:29:17.096Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-16T09:29:17.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-16T09:29:17.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-16T09:29:17.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-16T09:29:17.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-16T09:29:17.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-16T09:29:17.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-16T09:29:17.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-16T09:29:17.923Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-16T09:29:18.012Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T09:29:18.094Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T09:29:18.220Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T09:29:18.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-16T09:29:18.410Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-16T09:29:18.504Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-16T09:29:18.593Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-16T09:29:18.677Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-16T09:29:18.772Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-16T09:29:18.855Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-16T09:29:18.947Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-10-16T09:29:19.054Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-10-16T09:29:19.144Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-10-16T09:29:19.272Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 [Pipeline] echo [2020-10-16T09:29:19.367Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c8cc0e [Pipeline] echo [2020-10-16T09:29:19.457Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T09:29:20.055Z] + git log --format=format:%s -1 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 [Pipeline] echo [2020-10-16T09:29:20.118Z] GIT_COMMIT: 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3, Commit Message: build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0 [Pipeline] echo [2020-10-16T09:29:20.184Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:29:20.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T09:29:21.109Z] [2020-10-16T09:29:21.109Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:29:21.455Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T09:29:21.455Z] latest: Pulling from edgex-devops/git-semver [2020-10-16T09:29:21.455Z] 31603596830f: Pulling fs layer [2020-10-16T09:29:21.455Z] 2a8b12db71e7: Pulling fs layer [2020-10-16T09:29:21.455Z] 6ca5941a6612: Pulling fs layer [2020-10-16T09:29:21.455Z] ecc8261a40a4: Pulling fs layer [2020-10-16T09:29:21.455Z] ecc8261a40a4: Waiting [2020-10-16T09:29:21.455Z] 2a8b12db71e7: Verifying Checksum [2020-10-16T09:29:21.455Z] 2a8b12db71e7: Download complete [2020-10-16T09:29:21.717Z] 31603596830f: Download complete [2020-10-16T09:29:21.717Z] ecc8261a40a4: Verifying Checksum [2020-10-16T09:29:21.717Z] ecc8261a40a4: Download complete [2020-10-16T09:29:21.717Z] 6ca5941a6612: Verifying Checksum [2020-10-16T09:29:21.983Z] 31603596830f: Pull complete [2020-10-16T09:29:21.983Z] 2a8b12db71e7: Pull complete [2020-10-16T09:29:22.931Z] 6ca5941a6612: Pull complete [2020-10-16T09:29:22.931Z] ecc8261a40a4: Pull complete [2020-10-16T09:29:23.192Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-16T09:29:23.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T09:29:23.193Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-16T09:29:23.295Z] prd-centos7-docker-4c-2g-5848 does not seem to be running inside a container [2020-10-16T09:29:23.348Z] $ 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-16T09:29:25.598Z] $ docker top ee2ddd044fd58fe57cef490203282c07839d74cd10c0395a308c67b346ccc6c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-16T09:29:25.981Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T09:29:25.981Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T09:29:26.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T09:29:26.184Z] $ docker exec ee2ddd044fd58fe57cef490203282c07839d74cd10c0395a308c67b346ccc6c2 ssh-agent [2020-10-16T09:29:26.330Z] SSH_AUTH_SOCK=/tmp/ssh-fE0ZLnbDoJ3z/agent.12 [2020-10-16T09:29:26.330Z] SSH_AGENT_PID=17 [2020-10-16T09:29:26.342Z] Running ssh-add (command line suppressed) [2020-10-16T09:29:26.465Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1914916416895207038.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1914916416895207038.key) [2020-10-16T09:29:26.509Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T09:29:26.847Z] + git tag --points-at HEAD [Pipeline] } [2020-10-16T09:29:26.874Z] $ docker exec --env ******** --env ******** ee2ddd044fd58fe57cef490203282c07839d74cd10c0395a308c67b346ccc6c2 ssh-agent -k [2020-10-16T09:29:26.980Z] unset SSH_AUTH_SOCK; [2020-10-16T09:29:26.981Z] unset SSH_AGENT_PID; [2020-10-16T09:29:26.981Z] echo Agent pid 17 killed; [2020-10-16T09:29:27.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-16T09:29:27.170Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T09:29:27.170Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T09:29:27.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T09:29:27.342Z] $ docker exec ee2ddd044fd58fe57cef490203282c07839d74cd10c0395a308c67b346ccc6c2 ssh-agent [2020-10-16T09:29:27.494Z] SSH_AUTH_SOCK=/tmp/ssh-Qj6UyiIqnJgx/agent.46 [2020-10-16T09:29:27.494Z] SSH_AGENT_PID=52 [2020-10-16T09:29:27.502Z] Running ssh-add (command line suppressed) [2020-10-16T09:29:27.624Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_6356322049913687364.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_6356322049913687364.key) [2020-10-16T09:29:27.668Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T09:29:28.039Z] + git semver init [2020-10-16T09:29:28.039Z] # -> Open(): unable to determine branch for HEAD [2020-10-16T09:29:28.039Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-10-16T09:29:28.039Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-16T09:29:28.039Z] # $SEMVER_REMOTE_NAME = origin [2020-10-16T09:29:28.039Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-16T09:29:28.039Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-16T09:29:28.039Z] # $SEMVER_BRANCH = PR-584 [2020-10-16T09:29:28.039Z] # $SEMVER_TEMP = /tmp/semver-695768460 [2020-10-16T09:29:28.039Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-16T09:29:28.713Z] # '/tmp/semver-695768460' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-10-16T09:29:28.713Z] # -> Force: false [2020-10-16T09:29:28.713Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-10-16T09:29:28.732Z] $ docker exec --env ******** --env ******** ee2ddd044fd58fe57cef490203282c07839d74cd10c0395a308c67b346ccc6c2 ssh-agent -k [2020-10-16T09:29:28.845Z] unset SSH_AUTH_SOCK; [2020-10-16T09:29:28.846Z] unset SSH_AGENT_PID; [2020-10-16T09:29:28.846Z] echo Agent pid 52 killed; [2020-10-16T09:29:28.888Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-16T09:29:29.382Z] + git semver [Pipeline] } [2020-10-16T09:29:29.410Z] $ docker stop --time=1 ee2ddd044fd58fe57cef490203282c07839d74cd10c0395a308c67b346ccc6c2 [2020-10-16T09:29:30.874Z] $ docker rm -f ee2ddd044fd58fe57cef490203282c07839d74cd10c0395a308c67b346ccc6c2 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-16T09:29:31.395Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-16T09:29:31.894Z] Stashed 1 file(s) [Pipeline] echo [2020-10-16T09:29:31.897Z] [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-16T09:29:47.612Z] Still waiting to schedule task [2020-10-16T09:29:47.612Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-16T09:29:47.614Z] Still waiting to schedule task [2020-10-16T09:29:47.614Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-16T09:30:34.332Z] Running on prd-centos7-docker-4c-2g-5853 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-16T09:30:34.386Z] Running in /w/workspace/device-sdk-go/25 [Pipeline] { [Pipeline] checkout [2020-10-16T09:30:40.503Z] using credential edgex-jenkins-ssh [2020-10-16T09:30:40.567Z] Cloning the remote Git repository [2020-10-16T09:30:40.617Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:30:40.700Z] > git init /w/workspace/device-sdk-go/25 # timeout=10 [2020-10-16T09:30:40.794Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:30:40.794Z] > git --version # timeout=10 [2020-10-16T09:30:40.840Z] > git --version # 'git version 2.16.5' [2020-10-16T09:30:40.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:30:40.883Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:30:42.221Z] Merging remotes/origin/master commit 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 into PR head commit 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 [2020-10-16T09:30:42.448Z] Merge succeeded, producing 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 [2020-10-16T09:30:42.449Z] Checking out Revision 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 (PR-584) [2020-10-16T09:30:41.741Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T09:30:41.749Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:30:41.762Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T09:30:41.803Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:30:41.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:30:41.811Z] > 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-16T09:30:42.240Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:30:42.255Z] > git checkout -f 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # timeout=10 [2020-10-16T09:30:42.367Z] > git remote # timeout=10 [2020-10-16T09:30:42.395Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T09:30:42.405Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:30:42.410Z] > git merge 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 [2020-10-16T09:30:42.431Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T09:30:42.454Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:30:42.463Z] > git checkout -f 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # timeout=10 [2020-10-16T09:30:46.911Z] 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-16T09:30:47.796Z] ========================================================= [2020-10-16T09:30:47.796Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-16T09:30:47.796Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:30:48.964Z] + 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-16T09:30:49.566Z] Sending build context to Docker daemon 2.316MB [2020-10-16T09:30:49.566Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T09:30:49.566Z] Step 2/8 : FROM ${BASE} [2020-10-16T09:30:49.863Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-16T09:30:49.863Z] df20fa9351a1: Pulling fs layer [2020-10-16T09:30:49.863Z] ed8968b2872e: Pulling fs layer [2020-10-16T09:30:49.863Z] a92cc7c5fd73: Pulling fs layer [2020-10-16T09:30:49.863Z] e871e8e8d7a9: Pulling fs layer [2020-10-16T09:30:49.863Z] e73272ec9a57: Pulling fs layer [2020-10-16T09:30:49.863Z] 1e910a182e73: Pulling fs layer [2020-10-16T09:30:49.863Z] 4e634b169226: Pulling fs layer [2020-10-16T09:30:49.863Z] e871e8e8d7a9: Waiting [2020-10-16T09:30:49.863Z] e73272ec9a57: Waiting [2020-10-16T09:30:49.863Z] 1e910a182e73: Waiting [2020-10-16T09:30:49.863Z] 4e634b169226: Waiting [2020-10-16T09:30:49.863Z] a92cc7c5fd73: Verifying Checksum [2020-10-16T09:30:49.863Z] a92cc7c5fd73: Download complete [2020-10-16T09:30:49.863Z] ed8968b2872e: Verifying Checksum [2020-10-16T09:30:49.863Z] ed8968b2872e: Download complete [2020-10-16T09:30:49.863Z] df20fa9351a1: Verifying Checksum [2020-10-16T09:30:49.863Z] df20fa9351a1: Download complete [2020-10-16T09:30:50.144Z] e73272ec9a57: Verifying Checksum [2020-10-16T09:30:50.144Z] e73272ec9a57: Download complete [2020-10-16T09:30:50.144Z] 1e910a182e73: Verifying Checksum [2020-10-16T09:30:50.144Z] 1e910a182e73: Download complete [2020-10-16T09:30:50.450Z] df20fa9351a1: Pull complete [2020-10-16T09:30:50.743Z] ed8968b2872e: Pull complete [2020-10-16T09:30:50.743Z] a92cc7c5fd73: Pull complete [2020-10-16T09:30:55.399Z] 4e634b169226: Verifying Checksum [2020-10-16T09:30:55.399Z] 4e634b169226: Download complete [2020-10-16T09:30:56.419Z] e871e8e8d7a9: Verifying Checksum [2020-10-16T09:30:56.419Z] e871e8e8d7a9: Download complete [2020-10-16T09:31:04.957Z] e871e8e8d7a9: Pull complete [2020-10-16T09:31:04.957Z] e73272ec9a57: Pull complete [2020-10-16T09:31:04.957Z] 1e910a182e73: Pull complete [2020-10-16T09:31:10.461Z] 4e634b169226: Pull complete [2020-10-16T09:31:10.461Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-16T09:31:10.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-16T09:31:10.461Z] ---> f7629b54cfaa [2020-10-16T09:31:10.461Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:31:10.461Z] ---> Running in 5cb3bef6b3d9 [2020-10-16T09:31:10.461Z] Removing intermediate container 5cb3bef6b3d9 [2020-10-16T09:31:10.461Z] ---> d9feefc22d54 [2020-10-16T09:31:10.461Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:31:10.461Z] ---> Running in 45cbefc1a111 [2020-10-16T09:31:11.907Z] Removing intermediate container 45cbefc1a111 [2020-10-16T09:31:11.907Z] ---> fd3889ddc7e3 [2020-10-16T09:31:11.907Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T09:31:11.907Z] ---> Running in 2b19ead56d62 [2020-10-16T09:31:12.504Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T09:31:13.118Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T09:31:14.222Z] OK: 166 MiB in 39 packages [2020-10-16T09:31:14.869Z] Removing intermediate container 2b19ead56d62 [2020-10-16T09:31:14.869Z] ---> 679b08b3b005 [2020-10-16T09:31:14.869Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T09:31:14.869Z] ---> Running in 3effc18503d9 [2020-10-16T09:31:15.174Z] Removing intermediate container 3effc18503d9 [2020-10-16T09:31:15.174Z] ---> 0344ef794653 [2020-10-16T09:31:15.174Z] Step 7/8 : COPY . . [2020-10-16T09:31:16.666Z] ---> 171ed28dfcb9 [2020-10-16T09:31:16.666Z] Step 8/8 : RUN go mod download [2020-10-16T09:31:16.666Z] ---> Running in ace5636cdc16 [2020-10-16T09:31:58.166Z] Removing intermediate container ace5636cdc16 [2020-10-16T09:31:58.166Z] ---> 8c98c78b4fb0 [2020-10-16T09:31:58.166Z] Successfully built 8c98c78b4fb0 [2020-10-16T09:31:58.166Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:31:58.894Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T09:31:59.163Z] . [Pipeline] withDockerContainer [2020-10-16T09:31:59.509Z] prd-centos7-docker-4c-2g-5853 does not seem to be running inside a container [2020-10-16T09:31:59.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@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-16T09:32:00.733Z] $ docker top 830b8272ce244bfbe401e9447ca8bfed9ca5a40ef18c30547adb95d0f203c95a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:32:01.378Z] + go version [2020-10-16T09:32:01.721Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-16T09:32:01.780Z] $ docker stop --time=1 830b8272ce244bfbe401e9447ca8bfed9ca5a40ef18c30547adb95d0f203c95a [2020-10-16T09:32:03.477Z] $ docker rm -f 830b8272ce244bfbe401e9447ca8bfed9ca5a40ef18c30547adb95d0f203c95a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:32:04.473Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T09:32:04.473Z] . [Pipeline] withDockerContainer [2020-10-16T09:32:04.719Z] prd-centos7-docker-4c-2g-5853 does not seem to be running inside a container [2020-10-16T09:32:04.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@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-16T09:32:06.195Z] $ docker top 58687808c3ecdacbdfdfface707cff3d857c3835b862681272f5c49c2e9d3117 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:32:06.783Z] + make test [2020-10-16T09:32:06.783Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T09:32:19.471Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T09:32:24.375Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5855 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-16T09:32:24.436Z] Running in /w/workspace/device-sdk-go/25 [Pipeline] { [Pipeline] checkout [2020-10-16T09:32:29.021Z] using credential edgex-jenkins-ssh [2020-10-16T09:32:29.083Z] Cloning the remote Git repository [2020-10-16T09:32:29.146Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:32:29.251Z] > git init /w/workspace/device-sdk-go/25 # timeout=10 [2020-10-16T09:32:29.341Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:32:29.342Z] > git --version # timeout=10 [2020-10-16T09:32:29.357Z] > git --version # 'git version 2.17.1' [2020-10-16T09:32:29.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:32:29.417Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:32:30.585Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T09:32:30.602Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:32:30.630Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T09:32:30.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:32:30.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:32:30.678Z] > 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-16T09:32:31.201Z] Merging remotes/origin/master commit 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 into PR head commit 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 [2020-10-16T09:32:31.430Z] Merge succeeded, producing 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 [2020-10-16T09:32:31.430Z] Checking out Revision 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 (PR-584) [2020-10-16T09:32:31.226Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:32:31.241Z] > git checkout -f 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # timeout=10 [2020-10-16T09:32:31.354Z] > git remote # timeout=10 [2020-10-16T09:32:31.371Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T09:32:31.388Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:32:31.398Z] > git merge 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 [2020-10-16T09:32:31.421Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T09:32:31.442Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:32:31.451Z] > git checkout -f 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # timeout=10 [2020-10-16T09:32:35.775Z] 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-16T09:32:36.618Z] ========================================================= [2020-10-16T09:32:36.618Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-16T09:32:36.618Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:32:37.601Z] + 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-16T09:32:38.588Z] Sending build context to Docker daemon 2.316MB [2020-10-16T09:32:38.588Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T09:32:38.588Z] Step 2/8 : FROM ${BASE} [2020-10-16T09:32:38.862Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-16T09:32:38.862Z] b538f80385f9: Pulling fs layer [2020-10-16T09:32:38.862Z] 74f711af9a0d: Pulling fs layer [2020-10-16T09:32:38.862Z] 99f96fe45779: Pulling fs layer [2020-10-16T09:32:38.862Z] 8529a6b9a6be: Pulling fs layer [2020-10-16T09:32:38.862Z] 45590311c82a: Pulling fs layer [2020-10-16T09:32:38.862Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-16T09:32:38.862Z] 209524e5b208: Pulling fs layer [2020-10-16T09:32:38.862Z] 8529a6b9a6be: Waiting [2020-10-16T09:32:38.862Z] 45590311c82a: Waiting [2020-10-16T09:32:38.862Z] 69ca0ff8b7b3: Waiting [2020-10-16T09:32:38.862Z] 209524e5b208: Waiting [2020-10-16T09:32:38.862Z] 99f96fe45779: Verifying Checksum [2020-10-16T09:32:38.862Z] 99f96fe45779: Download complete [2020-10-16T09:32:38.862Z] 74f711af9a0d: Verifying Checksum [2020-10-16T09:32:38.862Z] 74f711af9a0d: Download complete [2020-10-16T09:32:38.862Z] 45590311c82a: Verifying Checksum [2020-10-16T09:32:38.862Z] 45590311c82a: Download complete [2020-10-16T09:32:38.862Z] 69ca0ff8b7b3: Download complete [2020-10-16T09:32:39.141Z] b538f80385f9: Verifying Checksum [2020-10-16T09:32:39.141Z] b538f80385f9: Download complete [2020-10-16T09:32:40.146Z] b538f80385f9: Pull complete [2020-10-16T09:32:40.423Z] 74f711af9a0d: Pull complete [2020-10-16T09:32:41.021Z] 99f96fe45779: Pull complete [2020-10-16T09:32:42.464Z] 209524e5b208: Verifying Checksum [2020-10-16T09:32:42.464Z] 209524e5b208: Download complete [2020-10-16T09:32:43.067Z] 8529a6b9a6be: Verifying Checksum [2020-10-16T09:32:43.067Z] 8529a6b9a6be: Download complete [2020-10-16T09:32:46.723Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T09:32:46.723Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T09:32:46.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T09:32:46.723Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.310s coverage: 21.6% of statements [2020-10-16T09:32:51.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.438s coverage: 97.1% of statements [2020-10-16T09:32:53.249Z] 8529a6b9a6be: Pull complete [2020-10-16T09:32:53.249Z] 45590311c82a: Pull complete [2020-10-16T09:32:53.522Z] 69ca0ff8b7b3: Pull complete [2020-10-16T09:32:56.923Z] 209524e5b208: Pull complete [2020-10-16T09:32:56.923Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-16T09:32:56.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-16T09:32:56.923Z] ---> 5bddaf1c2fca [2020-10-16T09:32:56.923Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:33:00.329Z] ---> Running in 7ecbaeaa3011 [2020-10-16T09:33:00.329Z] Removing intermediate container 7ecbaeaa3011 [2020-10-16T09:33:00.329Z] ---> 4f1685515ca9 [2020-10-16T09:33:00.329Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:33:00.329Z] ---> Running in f5bb4a5266f4 [2020-10-16T09:33:02.965Z] Removing intermediate container f5bb4a5266f4 [2020-10-16T09:33:02.965Z] ---> 1842009a40bb [2020-10-16T09:33:02.965Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T09:33:03.243Z] ---> Running in 2c61b3b79889 [2020-10-16T09:33:04.679Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T09:33:05.668Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T09:33:06.266Z] OK: 142 MiB in 39 packages [2020-10-16T09:33:07.703Z] Removing intermediate container 2c61b3b79889 [2020-10-16T09:33:07.703Z] ---> 82d0f69e3ab7 [2020-10-16T09:33:07.703Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T09:33:07.703Z] ---> Running in ba78e63a827b [2020-10-16T09:33:07.977Z] Removing intermediate container ba78e63a827b [2020-10-16T09:33:07.977Z] ---> 44a2d4395be8 [2020-10-16T09:33:07.977Z] Step 7/8 : COPY . . [2020-10-16T09:33:09.425Z] ---> 765c11369d44 [2020-10-16T09:33:09.425Z] Step 8/8 : RUN go mod download [2020-10-16T09:33:09.702Z] ---> Running in ea7e0428031a [2020-10-16T09:33:19.428Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.122s coverage: 9.4% of statements [2020-10-16T09:33:19.428Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.163s coverage: 21.9% of statements [2020-10-16T09:33:19.428Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T09:33:19.428Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.448s coverage: 42.6% of statements [2020-10-16T09:33:19.428Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T09:33:19.428Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.528s coverage: 68.9% of statements [2020-10-16T09:33:19.428Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T09:33:19.428Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T09:33:19.428Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T09:33:19.428Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T09:33:19.428Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.320s coverage: 52.6% of statements [2020-10-16T09:33:19.428Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T09:33:19.428Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T09:33:19.428Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T09:33:19.428Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.546s coverage: 68.9% of statements [2020-10-16T09:33:19.428Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T09:33:19.428Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T09:33:19.428Z] GO111MODULE=on go vet ./... [2020-10-16T09:33:32.160Z] Removing intermediate container ea7e0428031a [2020-10-16T09:33:32.160Z] ---> 00d92e67e7a8 [2020-10-16T09:33:32.160Z] Successfully built 00d92e67e7a8 [2020-10-16T09:33:32.160Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:33:32.574Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T09:33:32.574Z] . [Pipeline] withDockerContainer [2020-10-16T09:33:32.854Z] prd-ubuntu18.04-docker-arm64-4c-16g-5855 does not seem to be running inside a container [2020-10-16T09:33:32.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@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-16T09:33:34.838Z] $ docker top 2f46d9fce4399b9a0d9b5f524c737688054c68687e69f0d3975e27a8a3707b0b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:33:36.286Z] + go version [2020-10-16T09:33:36.286Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-16T09:33:36.317Z] $ docker stop --time=1 2f46d9fce4399b9a0d9b5f524c737688054c68687e69f0d3975e27a8a3707b0b [2020-10-16T09:33:38.354Z] $ docker rm -f 2f46d9fce4399b9a0d9b5f524c737688054c68687e69f0d3975e27a8a3707b0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-10-16T09:33:38.783Z] gofmt -l . [2020-10-16T09:33:38.783Z] [ "`gofmt -l .`" = "" ] [2020-10-16T09:33:38.783Z] ./bin/test-attribution-txt.sh [2020-10-16T09:33:38.783Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] stash [2020-10-16T09:33:39.412Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T09:33:39.412Z] . [Pipeline] withDockerContainer [2020-10-16T09:33:39.702Z] prd-ubuntu18.04-docker-arm64-4c-16g-5855 does not seem to be running inside a container [2020-10-16T09:33:39.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@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-16T09:33:40.630Z] Stashed 1 file(s) [2020-10-16T09:33:41.910Z] $ docker top 60f41e3081499e6f3991dfa2496b7a13397f9c57581d73e6cb1f50ed7fd70149 -eo pid,comm [Pipeline] { [Pipeline] } [2020-10-16T09:33:42.343Z] $ docker stop --time=1 58687808c3ecdacbdfdfface707cff3d857c3835b862681272f5c49c2e9d3117 [2020-10-16T09:33:44.687Z] $ docker rm -f 58687808c3ecdacbdfdfface707cff3d857c3835b862681272f5c49c2e9d3117 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-16T09:33:46.394Z] + make test [2020-10-16T09:33:46.394Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T09:33:46.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T09:33:47.156Z] + ls -al . [2020-10-16T09:33:47.156Z] total 188 [2020-10-16T09:33:47.156Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 09:33 . [2020-10-16T09:33:47.156Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 09:30 .. [2020-10-16T09:33:47.156Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 09:30 bin [2020-10-16T09:33:47.156Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 16 09:33 coverage.out [2020-10-16T09:33:47.156Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 09:30 Dockerfile.build [2020-10-16T09:33:47.156Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 09:30 .dockerignore [2020-10-16T09:33:47.156Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 09:30 example [2020-10-16T09:33:47.156Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 09:30 .git [2020-10-16T09:33:47.156Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 09:30 .github [2020-10-16T09:33:47.156Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 09:30 .gitignore [2020-10-16T09:33:47.156Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 16 09:33 go.mod [2020-10-16T09:33:47.156Z] -rw-r--r--. 1 jenkins jenkins 13743 Oct 16 09:33 go.sum [2020-10-16T09:33:47.156Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 09:30 internal [2020-10-16T09:33:47.156Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 09:30 Jenkinsfile [2020-10-16T09:33:47.156Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 09:30 LICENSE [2020-10-16T09:33:47.156Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 09:30 Makefile [2020-10-16T09:33:47.156Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 09:30 openapi [2020-10-16T09:33:47.156Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 09:30 pkg [2020-10-16T09:33:47.156Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 09:30 README.md [2020-10-16T09:33:47.156Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 09:30 RELEASE-NOTES.txt [2020-10-16T09:33:47.156Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 09:30 snap [2020-10-16T09:33:47.156Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 09:29 VERSION [2020-10-16T09:33:47.156Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 09:30 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:33:47.597Z] + 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=0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 --label arch=amd64 --label version=0.0.0 . [2020-10-16T09:33:48.204Z] Sending build context to Docker daemon 2.427MB [2020-10-16T09:33:48.204Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T09:33:48.204Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T09:33:48.204Z] ---> 8c98c78b4fb0 [2020-10-16T09:33:48.204Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T09:33:48.558Z] ---> Running in 46a795a5575b [2020-10-16T09:33:48.869Z] Removing intermediate container 46a795a5575b [2020-10-16T09:33:48.869Z] ---> 3612e4ba13e9 [2020-10-16T09:33:48.869Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T09:33:49.210Z] ---> Running in 200e8602dae4 [2020-10-16T09:33:49.210Z] Removing intermediate container 200e8602dae4 [2020-10-16T09:33:49.210Z] ---> ab233bf2aeb8 [2020-10-16T09:33:49.210Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:33:49.569Z] ---> Running in 970e05719c68 [2020-10-16T09:33:49.569Z] Removing intermediate container 970e05719c68 [2020-10-16T09:33:49.569Z] ---> d820f890d119 [2020-10-16T09:33:49.569Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:33:49.872Z] ---> Running in 52c15d260692 [2020-10-16T09:33:51.480Z] Removing intermediate container 52c15d260692 [2020-10-16T09:33:51.480Z] ---> 349dd1ca5ab0 [2020-10-16T09:33:51.480Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T09:33:51.864Z] ---> Running in 43b3ce1d2ac1 [2020-10-16T09:33:52.608Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T09:33:53.191Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T09:33:53.831Z] OK: 166 MiB in 39 packages [2020-10-16T09:33:54.538Z] Removing intermediate container 43b3ce1d2ac1 [2020-10-16T09:33:54.538Z] ---> b86d651f2afa [2020-10-16T09:33:54.538Z] Step 8/24 : COPY . . [2020-10-16T09:33:56.221Z] ---> 757c7231fda9 [2020-10-16T09:33:56.221Z] Step 9/24 : RUN ${MAKE} [2020-10-16T09:33:56.221Z] ---> Running in 5b31b43606a1 [2020-10-16T09:33:56.846Z] 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-16T09:34:08.621Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T09:34:09.837Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T09:34:13.267Z] Removing intermediate container 5b31b43606a1 [2020-10-16T09:34:13.267Z] ---> 667aedae8590 [2020-10-16T09:34:13.267Z] Step 10/24 : FROM scratch [2020-10-16T09:34:13.267Z] ---> [2020-10-16T09:34:13.267Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:34:13.267Z] ---> Running in 487adab6fcfe [2020-10-16T09:34:13.536Z] Removing intermediate container 487adab6fcfe [2020-10-16T09:34:13.536Z] ---> 2a094eebcb2d [2020-10-16T09:34:13.536Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T09:34:13.536Z] ---> Running in 0a2495366804 [2020-10-16T09:34:13.806Z] Removing intermediate container 0a2495366804 [2020-10-16T09:34:13.806Z] ---> f0761ba03126 [2020-10-16T09:34:13.806Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T09:34:13.806Z] ---> Running in e8ae496483fd [2020-10-16T09:34:14.092Z] Removing intermediate container e8ae496483fd [2020-10-16T09:34:14.092Z] ---> 355694a1c030 [2020-10-16T09:34:14.092Z] Step 14/24 : WORKDIR / [2020-10-16T09:34:14.092Z] ---> Running in b32859a8b609 [2020-10-16T09:34:14.368Z] Removing intermediate container b32859a8b609 [2020-10-16T09:34:14.368Z] ---> d4fa074b7c65 [2020-10-16T09:34:14.368Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T09:34:15.383Z] ---> 07def2fd5f2f [2020-10-16T09:34:15.383Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T09:34:16.021Z] ---> 0a56b92e890c [2020-10-16T09:34:16.021Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T09:34:16.291Z] ---> 6be0abe4e665 [2020-10-16T09:34:16.291Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T09:34:16.914Z] ---> 9f8913a4fa2d [2020-10-16T09:34:16.914Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T09:34:17.205Z] ---> f8cdaa4f1869 [2020-10-16T09:34:17.205Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T09:34:17.504Z] ---> Running in 0350be40d6d4 [2020-10-16T09:34:17.504Z] Removing intermediate container 0350be40d6d4 [2020-10-16T09:34:17.504Z] ---> ac21e8939c26 [2020-10-16T09:34:17.504Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T09:34:17.795Z] ---> Running in fcea31bb1146 [2020-10-16T09:34:17.795Z] Removing intermediate container fcea31bb1146 [2020-10-16T09:34:17.795Z] ---> eebcf7ebc71f [2020-10-16T09:34:17.795Z] Step 22/24 : LABEL arch=amd64 [2020-10-16T09:34:18.083Z] ---> Running in a34554dd8077 [2020-10-16T09:34:18.407Z] Removing intermediate container a34554dd8077 [2020-10-16T09:34:18.407Z] ---> 374fde9d276a [2020-10-16T09:34:18.407Z] Step 23/24 : LABEL git_sha=0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 [2020-10-16T09:34:18.407Z] ---> Running in da9dc0e9138b [2020-10-16T09:34:18.685Z] Removing intermediate container da9dc0e9138b [2020-10-16T09:34:18.686Z] ---> f4d14b3690c2 [2020-10-16T09:34:18.686Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T09:34:18.686Z] ---> Running in 8f8bd7cb827a [2020-10-16T09:34:18.969Z] Removing intermediate container 8f8bd7cb827a [2020-10-16T09:34:18.969Z] ---> c1db7f257766 [2020-10-16T09:34:18.969Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T09:34:18.969Z] Successfully built c1db7f257766 [2020-10-16T09:34:19.247Z] 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-16T09:34:47.750Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T09:34:47.750Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T09:34:47.750Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T09:34:47.750Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.150s coverage: 21.6% of statements [2020-10-16T09:34:53.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.293s coverage: 97.1% of statements [2020-10-16T09:35:19.963Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.154s coverage: 9.4% of statements [2020-10-16T09:35:19.963Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements [2020-10-16T09:35:19.963Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T09:35:19.963Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.618s coverage: 42.6% of statements [2020-10-16T09:35:19.963Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T09:35:19.963Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.861s coverage: 68.9% of statements [2020-10-16T09:35:19.963Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T09:35:19.963Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T09:35:19.963Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T09:35:19.963Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T09:35:19.963Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.182s coverage: 52.6% of statements [2020-10-16T09:35:19.963Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T09:35:19.963Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T09:35:19.963Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T09:35:19.963Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.050s coverage: 68.9% of statements [2020-10-16T09:35:19.963Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T09:35:19.963Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T09:35:20.239Z] GO111MODULE=on go vet ./... [2020-10-16T09:35:52.635Z] gofmt -l . [2020-10-16T09:35:52.635Z] [ "`gofmt -l .`" = "" ] [2020-10-16T09:35:52.635Z] ./bin/test-attribution-txt.sh [2020-10-16T09:35:52.635Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T09:35:52.936Z] Warning: overwriting stash ‘coverage-report’ [2020-10-16T09:35:53.847Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T09:35:53.862Z] $ docker stop --time=1 60f41e3081499e6f3991dfa2496b7a13397f9c57581d73e6cb1f50ed7fd70149 [2020-10-16T09:35:56.167Z] $ docker rm -f 60f41e3081499e6f3991dfa2496b7a13397f9c57581d73e6cb1f50ed7fd70149 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T09:35:57.697Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T09:35:58.067Z] + ls -al . [2020-10-16T09:35:58.067Z] total 224 [2020-10-16T09:35:58.067Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 09:35 . [2020-10-16T09:35:58.067Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:32 .. [2020-10-16T09:35:58.067Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 09:32 .dockerignore [2020-10-16T09:35:58.067Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 09:32 .git [2020-10-16T09:35:58.067Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:32 .github [2020-10-16T09:35:58.067Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 09:32 .gitignore [2020-10-16T09:35:58.067Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 09:32 Dockerfile.build [2020-10-16T09:35:58.067Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 09:32 Jenkinsfile [2020-10-16T09:35:58.067Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 09:32 LICENSE [2020-10-16T09:35:58.067Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 09:32 Makefile [2020-10-16T09:35:58.067Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 09:32 README.md [2020-10-16T09:35:58.067Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 09:32 RELEASE-NOTES.txt [2020-10-16T09:35:58.067Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 09:29 VERSION [2020-10-16T09:35:58.067Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:32 bin [2020-10-16T09:35:58.067Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 16 09:35 coverage.out [2020-10-16T09:35:58.067Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:32 example [2020-10-16T09:35:58.067Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 16 09:35 go.mod [2020-10-16T09:35:58.067Z] -rw-r--r-- 1 jenkins jenkins 13743 Oct 16 09:35 go.sum [2020-10-16T09:35:58.067Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 09:32 internal [2020-10-16T09:35:58.068Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:32 openapi [2020-10-16T09:35:58.068Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 09:32 pkg [2020-10-16T09:35:58.068Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:32 snap [2020-10-16T09:35:58.068Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 09:32 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:35:58.484Z] + 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=0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 --label arch=arm64 --label version=0.0.0 . [2020-10-16T09:35:59.102Z] Sending build context to Docker daemon 2.427MB [2020-10-16T09:35:59.102Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T09:35:59.102Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T09:35:59.102Z] ---> 00d92e67e7a8 [2020-10-16T09:35:59.102Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T09:35:59.375Z] ---> Running in f51d6a64976e [2020-10-16T09:35:59.972Z] Removing intermediate container f51d6a64976e [2020-10-16T09:35:59.972Z] ---> 7042a9ece3c7 [2020-10-16T09:35:59.972Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T09:35:59.972Z] ---> Running in a0653a3a3c2d [2020-10-16T09:36:00.570Z] Removing intermediate container a0653a3a3c2d [2020-10-16T09:36:00.570Z] ---> d8f049b890f6 [2020-10-16T09:36:00.570Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:36:00.570Z] ---> Running in 00c9d5edeebf [2020-10-16T09:36:01.168Z] Removing intermediate container 00c9d5edeebf [2020-10-16T09:36:01.168Z] ---> bbc95e4d8a87 [2020-10-16T09:36:01.168Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:36:01.168Z] ---> Running in 4f6fb0aca75a [2020-10-16T09:36:04.579Z] Removing intermediate container 4f6fb0aca75a [2020-10-16T09:36:04.579Z] ---> 2c2050c6b82e [2020-10-16T09:36:04.579Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T09:36:04.579Z] ---> Running in e451084beb3a [2020-10-16T09:36:06.046Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T09:36:06.647Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T09:36:07.242Z] OK: 142 MiB in 39 packages [2020-10-16T09:36:08.702Z] Removing intermediate container e451084beb3a [2020-10-16T09:36:08.703Z] ---> 2bb72a2bda07 [2020-10-16T09:36:08.703Z] Step 8/24 : COPY . . [2020-10-16T09:36:10.136Z] ---> 5bfb5493d59f [2020-10-16T09:36:10.136Z] Step 9/24 : RUN ${MAKE} [2020-10-16T09:36:10.136Z] ---> Running in 90f1f2dc4eaf [2020-10-16T09:36:11.580Z] 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-16T09:36:38.412Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T09:36:41.036Z] Removing intermediate container 90f1f2dc4eaf [2020-10-16T09:36:41.036Z] ---> b79952caf9cd [2020-10-16T09:36:41.036Z] Step 10/24 : FROM scratch [2020-10-16T09:36:41.036Z] ---> [2020-10-16T09:36:41.036Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:36:41.036Z] ---> Running in aca608875c4d [2020-10-16T09:36:41.634Z] Removing intermediate container aca608875c4d [2020-10-16T09:36:41.634Z] ---> d3b56f57a4ba [2020-10-16T09:36:41.634Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T09:36:41.634Z] ---> Running in 696e5775fd8f [2020-10-16T09:36:42.227Z] Removing intermediate container 696e5775fd8f [2020-10-16T09:36:42.227Z] ---> f73b42bbca3b [2020-10-16T09:36:42.227Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T09:36:42.227Z] ---> Running in 4754c2a69849 [2020-10-16T09:36:42.502Z] Removing intermediate container 4754c2a69849 [2020-10-16T09:36:42.502Z] ---> 97a1e72c8ee2 [2020-10-16T09:36:42.502Z] Step 14/24 : WORKDIR / [2020-10-16T09:36:42.773Z] ---> Running in 4e1be019a477 [2020-10-16T09:36:43.051Z] Removing intermediate container 4e1be019a477 [2020-10-16T09:36:43.051Z] ---> 17c29c61aaf9 [2020-10-16T09:36:43.051Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T09:36:44.478Z] ---> 7aab9b6fb88b [2020-10-16T09:36:44.478Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T09:36:44.751Z] ---> b0c8fdf3d317 [2020-10-16T09:36:44.751Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T09:36:45.732Z] ---> 9d85e8f04054 [2020-10-16T09:36:45.732Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T09:36:46.333Z] ---> c3869c0df2d3 [2020-10-16T09:36:46.333Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T09:36:46.925Z] ---> 78cd07db3813 [2020-10-16T09:36:46.925Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T09:36:47.198Z] ---> Running in d6c39c9f1d5d [2020-10-16T09:36:47.469Z] Removing intermediate container d6c39c9f1d5d [2020-10-16T09:36:47.469Z] ---> cb70c5fc3e08 [2020-10-16T09:36:47.469Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T09:36:47.741Z] ---> Running in aeceb95dd066 [2020-10-16T09:36:48.012Z] Removing intermediate container aeceb95dd066 [2020-10-16T09:36:48.012Z] ---> a1a6d9bd84fc [2020-10-16T09:36:48.012Z] Step 22/24 : LABEL arch=arm64 [2020-10-16T09:36:48.285Z] ---> Running in 1b97da97caff [2020-10-16T09:36:48.561Z] Removing intermediate container 1b97da97caff [2020-10-16T09:36:48.561Z] ---> 20237a26851c [2020-10-16T09:36:48.561Z] Step 23/24 : LABEL git_sha=0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 [2020-10-16T09:36:48.834Z] ---> Running in e44aa5fd7c85 [2020-10-16T09:36:49.433Z] Removing intermediate container e44aa5fd7c85 [2020-10-16T09:36:49.433Z] ---> e6202f1439a0 [2020-10-16T09:36:49.433Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T09:36:49.433Z] ---> Running in 37effd6278e8 [2020-10-16T09:36:50.033Z] Removing intermediate container 37effd6278e8 [2020-10-16T09:36:50.033Z] ---> f5a6f0eca4fe [2020-10-16T09:36:50.033Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T09:36:50.033Z] Successfully built f5a6f0eca4fe [2020-10-16T09:36:50.033Z] 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-16T09:36:52.267Z] provisioning config files... [2020-10-16T09:36:52.279Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config8446706366785128990tmp [Pipeline] { [Pipeline] sh [2020-10-16T09:36:52.657Z] + set +x [2020-10-16T09:36:52.658Z] + curl -s https://codecov.io/bash [2020-10-16T09:36:52.658Z] + bash -s -- [2020-10-16T09:36:52.922Z] [2020-10-16T09:36:52.922Z] _____ _ [2020-10-16T09:36:52.922Z] / ____| | | [2020-10-16T09:36:52.922Z] | | ___ __| | ___ ___ _____ __ [2020-10-16T09:36:52.922Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-16T09:36:52.922Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-16T09:36:52.922Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-16T09:36:52.922Z] Bash-20201009-048fee3 [2020-10-16T09:36:52.922Z] [2020-10-16T09:36:52.922Z] [2020-10-16T09:36:52.922Z] ==> Jenkins CI detected. [2020-10-16T09:36:52.922Z] project root: . [2020-10-16T09:36:52.922Z] --> token set from env [2020-10-16T09:36:52.922Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-16T09:36:52.922Z] ==> Running gcov in . (disable via -X gcov) [2020-10-16T09:36:52.922Z] ==> Python coveragepy not found [2020-10-16T09:36:52.922Z] ==> Searching for coverage reports in: [2020-10-16T09:36:52.922Z] + . [2020-10-16T09:36:52.922Z] -> Found 1 reports [2020-10-16T09:36:52.922Z] ==> Detecting git/mercurial file structure [2020-10-16T09:36:52.922Z] ==> Reading reports [2020-10-16T09:36:52.922Z] + ./coverage.out bytes=110398 [2020-10-16T09:36:52.922Z] ==> Appending adjustments [2020-10-16T09:36:52.922Z] https://docs.codecov.io/docs/fixing-reports [2020-10-16T09:36:53.495Z] + Found adjustments [2020-10-16T09:36:53.495Z] ==> Gzipping contents [2020-10-16T09:36:53.495Z] ==> Uploading reports [2020-10-16T09:36:53.495Z] url: https://codecov.io [2020-10-16T09:36:53.495Z] query: branch=PR-584&commit=0c8cc0e2f4734dd7566114bf76689f33fe6a87f3&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-16T09:36:53.495Z] -> Pinging Codecov [2020-10-16T09:36:53.495Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=0c8cc0e2f4734dd7566114bf76689f33fe6a87f3&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-16T09:36:53.495Z] -> Uploading to [2020-10-16T09:36:53.495Z] [2020-10-16T09:36:53.495Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T09:36:53.495Z] Dload Upload Total Spent Left Speed [2020-10-16T09:36:53.495Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-16T09:36:53.495Z] X> Failed to upload [2020-10-16T09:36:53.495Z] ==> Uploading to Codecov [2020-10-16T09:36:53.758Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T09:36:53.758Z] Dload Upload Total Spent Left Speed [2020-10-16T09:36:54.331Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19197 0 0 100 19087 0 30805 --:--:-- --:--:-- --:--:-- 30785 100 19197 100 110 100 19087 177 30794 --:--:-- --:--:-- --:--:-- 30785 [2020-10-16T09:36:54.331Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 [Pipeline] } [2020-10-16T09:36:54.341Z] 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-16T09:36:57.664Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:36:57.981Z] ---> package-listing.sh [2020-10-16T09:36:57.981Z] ++ facter osfamily [2020-10-16T09:36:57.981Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-16T09:36:57.981Z] + OS_FAMILY=redhat [2020-10-16T09:36:57.981Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-16T09:36:57.981Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-16T09:36:57.981Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-16T09:36:57.981Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-16T09:36:57.981Z] + PACKAGES=/tmp/packages_start.txt [2020-10-16T09:36:57.981Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-16T09:36:57.981Z] + PACKAGES=/tmp/packages_end.txt [2020-10-16T09:36:57.981Z] + case "${OS_FAMILY}" in [2020-10-16T09:36:57.981Z] + rpm -qa [2020-10-16T09:36:57.981Z] + sort [2020-10-16T09:37:02.217Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-16T09:37:02.217Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-16T09:37:02.217Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-16T09:37:02.217Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-16T09:37:02.217Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-10-16T09:37:02.217Z] + 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-16T09:37:02.233Z] 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-16T09:37:02.525Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:37:02.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T09:37:02.830Z] [2020-10-16T09:37:02.830Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:37:03.207Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T09:37:03.207Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-16T09:37:03.207Z] df20fa9351a1: Pulling fs layer [2020-10-16T09:37:03.207Z] 36b3adc4ff6f: Pulling fs layer [2020-10-16T09:37:03.207Z] 8ad3a11d3b57: Pulling fs layer [2020-10-16T09:37:03.207Z] 46f8f816bc3b: Pulling fs layer [2020-10-16T09:37:03.207Z] 93b61091891f: Pulling fs layer [2020-10-16T09:37:03.207Z] 93b9cdb0e59b: Pulling fs layer [2020-10-16T09:37:03.207Z] 5e14af77c1be: Pulling fs layer [2020-10-16T09:37:03.207Z] 01666e4c0597: Pulling fs layer [2020-10-16T09:37:03.207Z] aa168da1d23b: Pulling fs layer [2020-10-16T09:37:03.207Z] 93b9cdb0e59b: Waiting [2020-10-16T09:37:03.207Z] 5e14af77c1be: Waiting [2020-10-16T09:37:03.207Z] 46f8f816bc3b: Waiting [2020-10-16T09:37:03.207Z] 01666e4c0597: Waiting [2020-10-16T09:37:03.207Z] 93b61091891f: Waiting [2020-10-16T09:37:03.207Z] aa168da1d23b: Waiting [2020-10-16T09:37:03.207Z] 36b3adc4ff6f: Verifying Checksum [2020-10-16T09:37:03.207Z] 36b3adc4ff6f: Download complete [2020-10-16T09:37:03.207Z] 46f8f816bc3b: Download complete [2020-10-16T09:37:03.489Z] 93b61091891f: Verifying Checksum [2020-10-16T09:37:03.489Z] 93b61091891f: Download complete [2020-10-16T09:37:03.489Z] 93b9cdb0e59b: Verifying Checksum [2020-10-16T09:37:03.489Z] 93b9cdb0e59b: Download complete [2020-10-16T09:37:03.489Z] 5e14af77c1be: Download complete [2020-10-16T09:37:03.489Z] df20fa9351a1: Verifying Checksum [2020-10-16T09:37:03.489Z] df20fa9351a1: Download complete [2020-10-16T09:37:03.489Z] 01666e4c0597: Verifying Checksum [2020-10-16T09:37:03.489Z] 01666e4c0597: Download complete [2020-10-16T09:37:03.753Z] df20fa9351a1: Pull complete [2020-10-16T09:37:04.026Z] 36b3adc4ff6f: Pull complete [2020-10-16T09:37:04.291Z] 8ad3a11d3b57: Verifying Checksum [2020-10-16T09:37:04.291Z] 8ad3a11d3b57: Download complete [2020-10-16T09:37:04.874Z] 8ad3a11d3b57: Pull complete [2020-10-16T09:37:05.140Z] 46f8f816bc3b: Pull complete [2020-10-16T09:37:05.404Z] 93b61091891f: Pull complete [2020-10-16T09:37:05.404Z] 93b9cdb0e59b: Pull complete [2020-10-16T09:37:05.666Z] 5e14af77c1be: Pull complete [2020-10-16T09:37:05.666Z] 01666e4c0597: Pull complete [2020-10-16T09:37:07.069Z] aa168da1d23b: Verifying Checksum [2020-10-16T09:37:07.069Z] aa168da1d23b: Download complete [2020-10-16T09:37:13.684Z] aa168da1d23b: Pull complete [2020-10-16T09:37:13.684Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-16T09:37:13.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T09:37:13.684Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-16T09:37:13.876Z] prd-centos7-docker-4c-2g-5848 does not seem to be running inside a container [2020-10-16T09:37:13.980Z] $ 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-16T09:37:19.838Z] $ docker top 87afc0f6870a8c28e5341bb7e730d7a07fdf381a5d19efc071fa60a2aef00a3e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:37:20.334Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-16T09:37:20.628Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-16T09:37:20.929Z] + ls /var/log/sa-host [2020-10-16T09:37:20.929Z] + sadf -c /var/log/sa-host/sa05 [2020-10-16T09:37:20.929Z] file_magic: OK [2020-10-16T09:37:20.929Z] HZ: Using current value: 100 [2020-10-16T09:37:20.929Z] file_header: OK [2020-10-16T09:37:20.929Z] 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-16T09:37:20.929Z] Statistics: [2020-10-16T09:37:20.929Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T09:37:20.929Z] File successfully converted to sysstat format version 12.2.1 [2020-10-16T09:37:20.929Z] + sadf -c /var/log/sa-host/sa16 [2020-10-16T09:37:20.929Z] file_magic: OK [2020-10-16T09:37:20.929Z] HZ: Using current value: 100 [2020-10-16T09:37:20.929Z] file_header: OK [2020-10-16T09:37:20.929Z] 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-16T09:37:20.929Z] Statistics: [2020-10-16T09:37:20.929Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T09:37:20.929Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-16T09:37:21.151Z] provisioning config files... [2020-10-16T09:37:21.175Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config2573421463097674016tmp [Pipeline] { [Pipeline] echo [2020-10-16T09:37:21.247Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:37:21.544Z] ---> create-netrc.sh [Pipeline] } [2020-10-16T09:37:21.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-16T09:37:21.661Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:37:21.957Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-16T09:37:21.968Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:37:22.265Z] ---> sudo-logs.sh [2020-10-16T09:37:22.265Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-16T09:37:22.276Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:37:22.575Z] ---> job-cost.sh [2020-10-16T09:37:22.575Z] lf-activate-venv: SKIPPING [2020-10-16T09:37:22.575Z] INFO: No Stack... [2020-10-16T09:37:23.964Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-16T09:37:24.227Z] INFO: Archiving Costs [Pipeline] echo [2020-10-16T09:37:24.247Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:37:24.543Z] ---> logs-deploy.sh [2020-10-16T09:37:24.543Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/25 [2020-10-16T09:37:24.543Z] INFO: archiving workspace using pattern(s): [2020-10-16T09:37:26.485Z] Archives upload complete. [2020-10-16T09:37:26.485Z] INFO: archiving logs to Nexus