Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b548679428654ee0dca8f5b5dc3d7fcaeb119b73+10f5d80329275e8e77aa5b449b49b1589ab3bade (63a3b9bc0c45539d707dad160a290e0766204995) 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-5771 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [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-582 # 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 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 Merge succeeded, producing 031d93faa1cbad6f2448e7e21680733aa0ca7f78 Checking out Revision 031d93faa1cbad6f2448e7e21680733aa0ca7f78 (PR-582) > 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # 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 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 031d93faa1cbad6f2448e7e21680733aa0ca7f78 # timeout=10 Commit message: "Merge commit '10f5d80329275e8e77aa5b449b49b1589ab3bade' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-16T06:26:48.787Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-16T06:26:49.039Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-16T06:26:49.219Z] ========================================================= [2020-10-16T06:26:49.219Z] EdgeX Global Pipelines Version Info [2020-10-16T06:26:49.219Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:26:50.717Z] ------------------- [2020-10-16T06:26:50.717Z] stable info: [2020-10-16T06:26:50.717Z] ------------------- [2020-10-16T06:26:50.717Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T06:26:50.717Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T06:26:50.717Z] Message: update stable to v1.0.144 [2020-10-16T06:26:51.663Z] ------------------- [2020-10-16T06:26:51.663Z] experimental info: [2020-10-16T06:26:51.663Z] ------------------- [2020-10-16T06:26:51.663Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T06:26:51.663Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T06:26:51.663Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-16T06:26:52.172Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-16T06:26:52.267Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-16T06:26:52.352Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-16T06:26:52.489Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-16T06:26:52.641Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-16T06:26:52.729Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-16T06:26:52.821Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-16T06:26:52.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-16T06:26:53.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-16T06:26:53.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-16T06:26:53.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-16T06:26:53.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-16T06:26:53.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-16T06:26:53.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-16T06:26:53.622Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-16T06:26:53.708Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:26:53.798Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:26:53.893Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:26:54.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-16T06:26:54.125Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-16T06:26:54.237Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-16T06:26:54.358Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-16T06:26:54.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-16T06:26:54.540Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-16T06:26:54.652Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-16T06:26:54.743Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2020-10-16T06:26:54.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2020-10-16T06:26:54.935Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2020-10-16T06:26:55.028Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 031d93faa1cbad6f2448e7e21680733aa0ca7f78 [Pipeline] echo [2020-10-16T06:26:55.124Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 031d93f [Pipeline] echo [2020-10-16T06:26:55.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T06:26:55.835Z] + git log --format=format:%s -1 031d93faa1cbad6f2448e7e21680733aa0ca7f78 [Pipeline] echo [2020-10-16T06:26:55.896Z] GIT_COMMIT: 031d93faa1cbad6f2448e7e21680733aa0ca7f78, Commit Message: Merge commit '10f5d80329275e8e77aa5b449b49b1589ab3bade' into HEAD [Pipeline] echo [2020-10-16T06:26:55.945Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:26:56.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:26:56.518Z] [2020-10-16T06:26:56.518Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:26:56.874Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:26:56.874Z] latest: Pulling from edgex-devops/git-semver [2020-10-16T06:26:56.874Z] 31603596830f: Pulling fs layer [2020-10-16T06:26:56.874Z] 2a8b12db71e7: Pulling fs layer [2020-10-16T06:26:56.874Z] 6ca5941a6612: Pulling fs layer [2020-10-16T06:26:56.874Z] ecc8261a40a4: Pulling fs layer [2020-10-16T06:26:56.874Z] ecc8261a40a4: Waiting [2020-10-16T06:26:56.874Z] 2a8b12db71e7: Verifying Checksum [2020-10-16T06:26:56.874Z] 2a8b12db71e7: Download complete [2020-10-16T06:26:57.137Z] 31603596830f: Verifying Checksum [2020-10-16T06:26:57.137Z] 31603596830f: Download complete [2020-10-16T06:26:57.137Z] ecc8261a40a4: Verifying Checksum [2020-10-16T06:26:57.137Z] ecc8261a40a4: Download complete [2020-10-16T06:26:57.137Z] 6ca5941a6612: Verifying Checksum [2020-10-16T06:26:57.137Z] 6ca5941a6612: Download complete [2020-10-16T06:26:57.399Z] 31603596830f: Pull complete [2020-10-16T06:26:57.399Z] 2a8b12db71e7: Pull complete [2020-10-16T06:26:58.345Z] 6ca5941a6612: Pull complete [2020-10-16T06:26:58.345Z] ecc8261a40a4: Pull complete [2020-10-16T06:26:58.345Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-16T06:26:58.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:26:58.345Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-16T06:26:58.452Z] prd-centos7-docker-4c-2g-5771 does not seem to be running inside a container [2020-10-16T06:26:58.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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-16T06:27:00.282Z] $ docker top 4db1b27ebb7d3063e9ba25f2981a1c756aa9ff06acc045e2a036e562af0dff7a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-16T06:27:00.681Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T06:27:00.681Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T06:27:00.876Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T06:27:00.881Z] $ docker exec 4db1b27ebb7d3063e9ba25f2981a1c756aa9ff06acc045e2a036e562af0dff7a ssh-agent [2020-10-16T06:27:01.039Z] SSH_AUTH_SOCK=/tmp/ssh-XYqo7plsVzP4/agent.11 [2020-10-16T06:27:01.039Z] SSH_AGENT_PID=16 [2020-10-16T06:27:01.052Z] Running ssh-add (command line suppressed) [2020-10-16T06:27:01.169Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_411425536894371015.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_411425536894371015.key) [2020-10-16T06:27:01.222Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T06:27:01.574Z] + git tag --points-at HEAD [Pipeline] } [2020-10-16T06:27:01.594Z] $ docker exec --env ******** --env ******** 4db1b27ebb7d3063e9ba25f2981a1c756aa9ff06acc045e2a036e562af0dff7a ssh-agent -k [2020-10-16T06:27:01.700Z] unset SSH_AUTH_SOCK; [2020-10-16T06:27:01.701Z] unset SSH_AGENT_PID; [2020-10-16T06:27:01.701Z] echo Agent pid 16 killed; [2020-10-16T06:27:01.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-16T06:27:01.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T06:27:01.935Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T06:27:02.092Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T06:27:02.096Z] $ docker exec 4db1b27ebb7d3063e9ba25f2981a1c756aa9ff06acc045e2a036e562af0dff7a ssh-agent [2020-10-16T06:27:02.248Z] SSH_AUTH_SOCK=/tmp/ssh-6NopLZrtxitL/agent.44 [2020-10-16T06:27:02.248Z] SSH_AGENT_PID=49 [2020-10-16T06:27:02.256Z] Running ssh-add (command line suppressed) [2020-10-16T06:27:02.373Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1306567154091442679.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1306567154091442679.key) [2020-10-16T06:27:02.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T06:27:02.761Z] + git semver init [2020-10-16T06:27:02.761Z] # -> Open(): unable to determine branch for HEAD [2020-10-16T06:27:02.761Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git [2020-10-16T06:27:02.761Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-16T06:27:02.761Z] # $SEMVER_REMOTE_NAME = origin [2020-10-16T06:27:02.761Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-16T06:27:02.761Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-16T06:27:02.761Z] # $SEMVER_BRANCH = PR-582 [2020-10-16T06:27:02.761Z] # $SEMVER_TEMP = /tmp/semver-086420824 [2020-10-16T06:27:02.761Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-16T06:27:03.750Z] # '/tmp/semver-086420824' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' [2020-10-16T06:27:03.750Z] # -> Force: false [2020-10-16T06:27:03.750Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } [2020-10-16T06:27:03.827Z] $ docker exec --env ******** --env ******** 4db1b27ebb7d3063e9ba25f2981a1c756aa9ff06acc045e2a036e562af0dff7a ssh-agent -k [2020-10-16T06:27:03.933Z] unset SSH_AUTH_SOCK; [2020-10-16T06:27:03.933Z] unset SSH_AGENT_PID; [2020-10-16T06:27:03.933Z] echo Agent pid 49 killed; [2020-10-16T06:27:03.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-16T06:27:04.433Z] + git semver [Pipeline] } [2020-10-16T06:27:04.452Z] $ docker stop --time=1 4db1b27ebb7d3063e9ba25f2981a1c756aa9ff06acc045e2a036e562af0dff7a [2020-10-16T06:27:05.787Z] $ docker rm -f 4db1b27ebb7d3063e9ba25f2981a1c756aa9ff06acc045e2a036e562af0dff7a [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-16T06:27:06.269Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-16T06:27:06.682Z] Stashed 1 file(s) [Pipeline] echo [2020-10-16T06:27:06.684Z] [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-16T06:27:22.289Z] Still waiting to schedule task [2020-10-16T06:27:22.289Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-16T06:27:22.291Z] Still waiting to schedule task [2020-10-16T06:27:22.291Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-16T06:28:37.464Z] Running on prd-centos7-docker-4c-2g-5776 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-16T06:28:37.521Z] Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout [2020-10-16T06:28:40.497Z] using credential edgex-jenkins-ssh [2020-10-16T06:28:40.588Z] Cloning the remote Git repository [2020-10-16T06:28:40.638Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:28:40.721Z] > git init /w/workspace/device-sdk-go/22 # timeout=10 [2020-10-16T06:28:40.794Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:28:40.795Z] > git --version # timeout=10 [2020-10-16T06:28:40.810Z] > git --version # 'git version 2.16.5' [2020-10-16T06:28:40.811Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:28:40.852Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:28:42.172Z] Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [2020-10-16T06:28:41.669Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:28:41.679Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:28:41.692Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:28:41.711Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:28:41.711Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:28:41.716Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T06:28:42.184Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:28:42.189Z] > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [2020-10-16T06:28:42.241Z] > git remote # timeout=10 [2020-10-16T06:28:42.247Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T06:28:42.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:28:42.256Z] > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 [2020-10-16T06:28:42.297Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T06:28:42.301Z] Merge succeeded, producing 2caa782d79a44c4552b53b47bdce2bd9255e3d30 [2020-10-16T06:28:42.302Z] Checking out Revision 2caa782d79a44c4552b53b47bdce2bd9255e3d30 (PR-582) [2020-10-16T06:28:42.306Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:28:42.310Z] > git checkout -f 2caa782d79a44c4552b53b47bdce2bd9255e3d30 # timeout=10 [2020-10-16T06:28:45.892Z] Commit message: "Merge commit '10f5d80329275e8e77aa5b449b49b1589ab3bade' into HEAD" [2020-10-16T06:28:45.904Z] First time build. Skipping changelog. [2020-10-16T06:28:45.898Z] > git rev-list --no-walk 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T06:28:46.808Z] ========================================================= [2020-10-16T06:28:46.808Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-16T06:28:46.808Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:28:47.443Z] + 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-16T06:28:48.019Z] Sending build context to Docker daemon 2.318MB [2020-10-16T06:28:48.019Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T06:28:48.019Z] Step 2/8 : FROM ${BASE} [2020-10-16T06:28:48.019Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-16T06:28:48.019Z] df20fa9351a1: Pulling fs layer [2020-10-16T06:28:48.019Z] ed8968b2872e: Pulling fs layer [2020-10-16T06:28:48.019Z] a92cc7c5fd73: Pulling fs layer [2020-10-16T06:28:48.019Z] e871e8e8d7a9: Pulling fs layer [2020-10-16T06:28:48.019Z] e73272ec9a57: Pulling fs layer [2020-10-16T06:28:48.019Z] 1e910a182e73: Pulling fs layer [2020-10-16T06:28:48.019Z] 4e634b169226: Pulling fs layer [2020-10-16T06:28:48.019Z] e73272ec9a57: Waiting [2020-10-16T06:28:48.019Z] 1e910a182e73: Waiting [2020-10-16T06:28:48.019Z] 4e634b169226: Waiting [2020-10-16T06:28:48.019Z] e871e8e8d7a9: Waiting [2020-10-16T06:28:48.019Z] a92cc7c5fd73: Verifying Checksum [2020-10-16T06:28:48.019Z] a92cc7c5fd73: Download complete [2020-10-16T06:28:48.019Z] ed8968b2872e: Download complete [2020-10-16T06:28:48.019Z] e73272ec9a57: Verifying Checksum [2020-10-16T06:28:48.019Z] e73272ec9a57: Download complete [2020-10-16T06:28:48.019Z] 1e910a182e73: Verifying Checksum [2020-10-16T06:28:48.019Z] 1e910a182e73: Download complete [2020-10-16T06:28:48.280Z] df20fa9351a1: Verifying Checksum [2020-10-16T06:28:48.280Z] df20fa9351a1: Download complete [2020-10-16T06:28:48.541Z] df20fa9351a1: Pull complete [2020-10-16T06:28:48.541Z] ed8968b2872e: Pull complete [2020-10-16T06:28:48.803Z] a92cc7c5fd73: Pull complete [2020-10-16T06:28:50.740Z] e871e8e8d7a9: Verifying Checksum [2020-10-16T06:28:50.740Z] e871e8e8d7a9: Download complete [2020-10-16T06:28:50.740Z] 4e634b169226: Verifying Checksum [2020-10-16T06:28:50.740Z] 4e634b169226: Download complete [2020-10-16T06:28:56.196Z] e871e8e8d7a9: Pull complete [2020-10-16T06:28:56.196Z] e73272ec9a57: Pull complete [2020-10-16T06:28:56.460Z] 1e910a182e73: Pull complete [2020-10-16T06:29:04.717Z] 4e634b169226: Pull complete [2020-10-16T06:29:04.717Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-16T06:29:04.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-16T06:29:04.717Z] ---> f7629b54cfaa [2020-10-16T06:29:04.717Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:29:04.717Z] ---> Running in 0b5dc696b78d [2020-10-16T06:29:04.717Z] Removing intermediate container 0b5dc696b78d [2020-10-16T06:29:04.717Z] ---> 38b075cbb273 [2020-10-16T06:29:04.717Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:29:04.717Z] ---> Running in 238f67c76757 [2020-10-16T06:29:06.123Z] Removing intermediate container 238f67c76757 [2020-10-16T06:29:06.123Z] ---> 9dd19f53387c [2020-10-16T06:29:06.123Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T06:29:06.387Z] ---> Running in f1667b4b2c8b [2020-10-16T06:29:06.971Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T06:29:07.922Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T06:29:09.332Z] OK: 166 MiB in 39 packages [2020-10-16T06:29:09.597Z] Removing intermediate container f1667b4b2c8b [2020-10-16T06:29:09.597Z] ---> e9a40eb78112 [2020-10-16T06:29:09.597Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T06:29:09.597Z] ---> Running in 096f2594a3ad [2020-10-16T06:29:09.860Z] Removing intermediate container 096f2594a3ad [2020-10-16T06:29:09.860Z] ---> a492cdc0444c [2020-10-16T06:29:09.860Z] Step 7/8 : COPY . . [2020-10-16T06:29:11.262Z] ---> 72d1ae6d6af3 [2020-10-16T06:29:11.262Z] Step 8/8 : RUN go mod download [2020-10-16T06:29:11.262Z] ---> Running in d70ead6b551c [2020-10-16T06:29:29.500Z] Removing intermediate container d70ead6b551c [2020-10-16T06:29:29.500Z] ---> b59bc57c117a [2020-10-16T06:29:29.500Z] Successfully built b59bc57c117a [2020-10-16T06:29:29.500Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:29:29.909Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T06:29:29.909Z] . [Pipeline] withDockerContainer [2020-10-16T06:29:30.044Z] prd-centos7-docker-4c-2g-5776 does not seem to be running inside a container [2020-10-16T06:29:30.109Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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 ******** ci-base-image-x86_64 cat [2020-10-16T06:29:30.951Z] $ docker top 7a353d9d714c97d8fbbcc1a74399a5f1027d3e0d4df892bff1076685f6ddfc26 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:29:31.493Z] + go version [2020-10-16T06:29:31.493Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-16T06:29:31.514Z] $ docker stop --time=1 7a353d9d714c97d8fbbcc1a74399a5f1027d3e0d4df892bff1076685f6ddfc26 [2020-10-16T06:29:32.879Z] $ docker rm -f 7a353d9d714c97d8fbbcc1a74399a5f1027d3e0d4df892bff1076685f6ddfc26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:29:33.828Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T06:29:33.828Z] . [Pipeline] withDockerContainer [2020-10-16T06:29:33.949Z] prd-centos7-docker-4c-2g-5776 does not seem to be running inside a container [2020-10-16T06:29:34.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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 ******** ci-base-image-x86_64 cat [2020-10-16T06:29:34.840Z] $ docker top 43d9f1ed37e772ab170fba835319c1210038fe04bae147e0ac7929cb324c2dbc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:29:35.444Z] + make test [2020-10-16T06:29:35.444Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T06:29:39.122Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5778 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-16T06:29:39.192Z] Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout [2020-10-16T06:29:43.686Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T06:29:44.511Z] using credential edgex-jenkins-ssh [2020-10-16T06:29:44.569Z] Cloning the remote Git repository [2020-10-16T06:29:44.639Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:29:44.749Z] > git init /w/workspace/device-sdk-go/22 # timeout=10 [2020-10-16T06:29:44.815Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:29:44.816Z] > git --version # timeout=10 [2020-10-16T06:29:44.842Z] > git --version # 'git version 2.17.1' [2020-10-16T06:29:44.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:29:44.934Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:29:46.553Z] Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [2020-10-16T06:29:46.894Z] Merge succeeded, producing 46bdade5742595d23d67cae68c78c4ad3cc21d4c [2020-10-16T06:29:46.894Z] Checking out Revision 46bdade5742595d23d67cae68c78c4ad3cc21d4c (PR-582) [2020-10-16T06:29:45.973Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:29:45.989Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:29:46.017Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:29:46.060Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:29:46.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:29:46.075Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T06:29:46.588Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:29:46.608Z] > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [2020-10-16T06:29:46.723Z] > git remote # timeout=10 [2020-10-16T06:29:46.741Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T06:29:46.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:29:46.769Z] > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 [2020-10-16T06:29:46.880Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T06:29:46.902Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:29:46.921Z] > git checkout -f 46bdade5742595d23d67cae68c78c4ad3cc21d4c # timeout=10 [2020-10-16T06:29:51.453Z] Commit message: "Merge commit '10f5d80329275e8e77aa5b449b49b1589ab3bade' into HEAD" [2020-10-16T06:29:51.479Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T06:29:52.355Z] ========================================================= [2020-10-16T06:29:52.355Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-16T06:29:52.355Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:29:51.463Z] > git rev-list --no-walk 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 # timeout=10 [2020-10-16T06:29:53.430Z] + 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-16T06:29:54.417Z] Sending build context to Docker daemon 2.318MB [2020-10-16T06:29:54.418Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T06:29:54.418Z] Step 2/8 : FROM ${BASE} [2020-10-16T06:29:54.695Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-16T06:29:54.695Z] b538f80385f9: Pulling fs layer [2020-10-16T06:29:54.695Z] 74f711af9a0d: Pulling fs layer [2020-10-16T06:29:54.695Z] 99f96fe45779: Pulling fs layer [2020-10-16T06:29:54.695Z] 8529a6b9a6be: Pulling fs layer [2020-10-16T06:29:54.695Z] 45590311c82a: Pulling fs layer [2020-10-16T06:29:54.695Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-16T06:29:54.695Z] 209524e5b208: Pulling fs layer [2020-10-16T06:29:54.695Z] 45590311c82a: Waiting [2020-10-16T06:29:54.695Z] 8529a6b9a6be: Waiting [2020-10-16T06:29:54.695Z] 69ca0ff8b7b3: Waiting [2020-10-16T06:29:54.695Z] 209524e5b208: Waiting [2020-10-16T06:29:54.695Z] 99f96fe45779: Verifying Checksum [2020-10-16T06:29:54.695Z] 99f96fe45779: Download complete [2020-10-16T06:29:54.695Z] 74f711af9a0d: Download complete [2020-10-16T06:29:54.695Z] 45590311c82a: Verifying Checksum [2020-10-16T06:29:54.695Z] 45590311c82a: Download complete [2020-10-16T06:29:54.973Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-16T06:29:54.973Z] 69ca0ff8b7b3: Download complete [2020-10-16T06:29:54.973Z] b538f80385f9: Verifying Checksum [2020-10-16T06:29:54.973Z] b538f80385f9: Download complete [2020-10-16T06:29:55.577Z] b538f80385f9: Pull complete [2020-10-16T06:29:56.565Z] 74f711af9a0d: Pull complete [2020-10-16T06:29:56.846Z] 99f96fe45779: Pull complete [2020-10-16T06:29:57.120Z] 209524e5b208: Verifying Checksum [2020-10-16T06:29:57.120Z] 209524e5b208: Download complete [2020-10-16T06:29:58.578Z] 8529a6b9a6be: Verifying Checksum [2020-10-16T06:29:58.578Z] 8529a6b9a6be: Download complete [2020-10-16T06:30:01.989Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T06:30:01.990Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T06:30:01.990Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T06:30:01.990Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.074s coverage: 21.6% of statements [2020-10-16T06:30:01.990Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.481s coverage: 97.1% of statements [2020-10-16T06:30:08.755Z] 8529a6b9a6be: Pull complete [2020-10-16T06:30:08.755Z] 45590311c82a: Pull complete [2020-10-16T06:30:08.755Z] 69ca0ff8b7b3: Pull complete [2020-10-16T06:30:12.164Z] 209524e5b208: Pull complete [2020-10-16T06:30:12.164Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-16T06:30:12.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-16T06:30:12.164Z] ---> 5bddaf1c2fca [2020-10-16T06:30:12.164Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:30:15.567Z] ---> Running in 25f8651890cc [2020-10-16T06:30:15.567Z] Removing intermediate container 25f8651890cc [2020-10-16T06:30:15.567Z] ---> c7f99ce1b671 [2020-10-16T06:30:15.567Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:30:15.567Z] ---> Running in d9c7ac2ad54a [2020-10-16T06:30:18.203Z] Removing intermediate container d9c7ac2ad54a [2020-10-16T06:30:18.203Z] ---> 8378c7ce1c54 [2020-10-16T06:30:18.203Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T06:30:18.481Z] ---> Running in 9703425cb962 [2020-10-16T06:30:19.920Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T06:30:20.899Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T06:30:21.878Z] OK: 142 MiB in 39 packages [2020-10-16T06:30:23.313Z] Removing intermediate container 9703425cb962 [2020-10-16T06:30:23.313Z] ---> 7e0b11fcc054 [2020-10-16T06:30:23.313Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T06:30:23.313Z] ---> Running in 111c066b17ec [2020-10-16T06:30:23.912Z] Removing intermediate container 111c066b17ec [2020-10-16T06:30:23.912Z] ---> 034f478003e6 [2020-10-16T06:30:23.912Z] Step 7/8 : COPY . . [2020-10-16T06:30:25.395Z] ---> 1e35be0f7c96 [2020-10-16T06:30:25.395Z] Step 8/8 : RUN go mod download [2020-10-16T06:30:25.395Z] ---> Running in 5ff59d0009e3 [2020-10-16T06:30:34.184Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 9.4% of statements [2020-10-16T06:30:34.184Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.066s coverage: 21.9% of statements [2020-10-16T06:30:34.184Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T06:30:34.184Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.255s coverage: 42.6% of statements [2020-10-16T06:30:34.184Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T06:30:34.184Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.299s coverage: 68.9% of statements [2020-10-16T06:30:34.184Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T06:30:34.184Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T06:30:34.184Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T06:30:34.184Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T06:30:34.184Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.070s coverage: 52.6% of statements [2020-10-16T06:30:34.184Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T06:30:34.184Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T06:30:34.184Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T06:30:34.184Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.490s coverage: 68.9% of statements [2020-10-16T06:30:34.184Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T06:30:34.184Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T06:30:34.184Z] GO111MODULE=on go vet ./... [2020-10-16T06:30:42.443Z] gofmt -l . [2020-10-16T06:30:42.443Z] [ "`gofmt -l .`" = "" ] [2020-10-16T06:30:42.443Z] ./bin/test-attribution-txt.sh [2020-10-16T06:30:42.443Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T06:30:42.826Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T06:30:42.834Z] $ docker stop --time=1 43d9f1ed37e772ab170fba835319c1210038fe04bae147e0ac7929cb324c2dbc [2020-10-16T06:30:44.815Z] $ docker rm -f 43d9f1ed37e772ab170fba835319c1210038fe04bae147e0ac7929cb324c2dbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-16T06:30:46.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T06:30:46.767Z] + ls -al . [2020-10-16T06:30:46.768Z] total 188 [2020-10-16T06:30:46.768Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 06:30 . [2020-10-16T06:30:46.768Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 06:28 .. [2020-10-16T06:30:46.768Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 06:28 bin [2020-10-16T06:30:46.768Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 16 06:30 coverage.out [2020-10-16T06:30:46.768Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 06:28 Dockerfile.build [2020-10-16T06:30:46.768Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 06:28 .dockerignore [2020-10-16T06:30:46.768Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 06:28 example [2020-10-16T06:30:46.768Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 06:28 .git [2020-10-16T06:30:46.768Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 06:28 .github [2020-10-16T06:30:46.768Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 06:28 .gitignore [2020-10-16T06:30:46.768Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 16 06:30 go.mod [2020-10-16T06:30:46.768Z] -rw-r--r--. 1 jenkins jenkins 13731 Oct 16 06:30 go.sum [2020-10-16T06:30:46.768Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 06:28 internal [2020-10-16T06:30:46.768Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 06:28 Jenkinsfile [2020-10-16T06:30:46.768Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 06:28 LICENSE [2020-10-16T06:30:46.768Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 06:28 Makefile [2020-10-16T06:30:46.768Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 06:28 openapi [2020-10-16T06:30:46.768Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 06:28 pkg [2020-10-16T06:30:46.768Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 06:28 README.md [2020-10-16T06:30:46.768Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 06:28 RELEASE-NOTES.txt [2020-10-16T06:30:46.768Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 06:28 snap [2020-10-16T06:30:46.768Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 06:27 VERSION [2020-10-16T06:30:46.768Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 06:28 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:30:47.082Z] + 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=031d93faa1cbad6f2448e7e21680733aa0ca7f78 --label arch=amd64 --label version=0.0.0 . [2020-10-16T06:30:47.343Z] Sending build context to Docker daemon 2.429MB [2020-10-16T06:30:47.343Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T06:30:47.343Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T06:30:47.343Z] ---> b59bc57c117a [2020-10-16T06:30:47.343Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T06:30:47.917Z] ---> Running in 8e5d44ef8deb [2020-10-16T06:30:47.917Z] Removing intermediate container 8e5d44ef8deb [2020-10-16T06:30:47.917Z] ---> 811c31c66278 [2020-10-16T06:30:47.917Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T06:30:47.960Z] Removing intermediate container 5ff59d0009e3 [2020-10-16T06:30:47.960Z] ---> 531ac5acdbda [2020-10-16T06:30:47.960Z] Successfully built 531ac5acdbda [2020-10-16T06:30:47.960Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:30:48.180Z] ---> Running in 24719bdc42e9 [2020-10-16T06:30:48.180Z] Removing intermediate container 24719bdc42e9 [2020-10-16T06:30:48.180Z] ---> e013a3e2935e [2020-10-16T06:30:48.180Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:30:48.395Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T06:30:48.395Z] . [Pipeline] withDockerContainer [2020-10-16T06:30:48.443Z] ---> Running in 4bea221ceffa [2020-10-16T06:30:48.443Z] Removing intermediate container 4bea221ceffa [2020-10-16T06:30:48.443Z] ---> f26a56a3d37f [2020-10-16T06:30:48.443Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:30:48.709Z] ---> Running in b148cfc35e86 [2020-10-16T06:30:48.713Z] prd-ubuntu18.04-docker-arm64-4c-16g-5778 does not seem to be running inside a container [2020-10-16T06:30:48.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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-16T06:30:49.664Z] Removing intermediate container b148cfc35e86 [2020-10-16T06:30:49.664Z] ---> 146fbd7eecd5 [2020-10-16T06:30:49.664Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T06:30:49.664Z] ---> Running in 3c025baca016 [2020-10-16T06:30:50.245Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T06:30:51.011Z] $ docker top b589aca369947d63bf24512097eda5c8baa15894ba1b85f6425851c4f52cba2d -eo pid,comm [2020-10-16T06:30:51.193Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh [2020-10-16T06:30:51.770Z] OK: 166 MiB in 39 packages [2020-10-16T06:30:52.350Z] Removing intermediate container 3c025baca016 [2020-10-16T06:30:52.350Z] ---> ae9ad77ef88c [2020-10-16T06:30:52.350Z] Step 8/24 : COPY . . [2020-10-16T06:30:52.508Z] + go version [2020-10-16T06:30:52.508Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-16T06:30:52.538Z] $ docker stop --time=1 b589aca369947d63bf24512097eda5c8baa15894ba1b85f6425851c4f52cba2d [2020-10-16T06:30:53.301Z] ---> 1e35b38d7860 [2020-10-16T06:30:53.301Z] Step 9/24 : RUN ${MAKE} [2020-10-16T06:30:53.301Z] ---> Running in ffe04a852997 [2020-10-16T06:30:53.892Z] 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-16T06:30:54.581Z] $ docker rm -f b589aca369947d63bf24512097eda5c8baa15894ba1b85f6425851c4f52cba2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:30:55.711Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T06:30:55.711Z] . [Pipeline] withDockerContainer [2020-10-16T06:30:56.026Z] prd-ubuntu18.04-docker-arm64-4c-16g-5778 does not seem to be running inside a container [2020-10-16T06:30:56.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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-16T06:30:58.312Z] $ docker top dd3962e25f49d85543f4a61855f327e0f74c7643b19b3ac03994a915f39a4d06 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:30:59.823Z] + make test [2020-10-16T06:30:59.823Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T06:31:04.069Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T06:31:05.470Z] Removing intermediate container ffe04a852997 [2020-10-16T06:31:05.470Z] ---> 77154d7cdf88 [2020-10-16T06:31:05.470Z] Step 10/24 : FROM scratch [2020-10-16T06:31:05.470Z] ---> [2020-10-16T06:31:05.470Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:31:05.470Z] ---> Running in 8e204e3e75a4 [2020-10-16T06:31:05.470Z] Removing intermediate container 8e204e3e75a4 [2020-10-16T06:31:05.470Z] ---> bfa3141497ec [2020-10-16T06:31:05.470Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T06:31:05.470Z] ---> Running in a534083aa1f6 [2020-10-16T06:31:05.735Z] Removing intermediate container a534083aa1f6 [2020-10-16T06:31:05.735Z] ---> 33a6c0586d63 [2020-10-16T06:31:05.735Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T06:31:05.735Z] ---> Running in 7e693a2489f7 [2020-10-16T06:31:05.735Z] Removing intermediate container 7e693a2489f7 [2020-10-16T06:31:05.735Z] ---> 97ff678e68ce [2020-10-16T06:31:05.735Z] Step 14/24 : WORKDIR / [2020-10-16T06:31:06.001Z] ---> Running in 39cb2736ef46 [2020-10-16T06:31:06.001Z] Removing intermediate container 39cb2736ef46 [2020-10-16T06:31:06.001Z] ---> 4d8178efe00e [2020-10-16T06:31:06.001Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T06:31:06.575Z] ---> 0fea73879d56 [2020-10-16T06:31:06.575Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T06:31:06.837Z] ---> ec549bf39937 [2020-10-16T06:31:06.837Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T06:31:07.099Z] ---> 7bd972e5aca2 [2020-10-16T06:31:07.099Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T06:31:07.362Z] ---> a8a5cabe17d7 [2020-10-16T06:31:07.362Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T06:31:07.362Z] ---> 7a8ac0214225 [2020-10-16T06:31:07.362Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T06:31:07.625Z] ---> Running in 27c6ff6a0640 [2020-10-16T06:31:07.625Z] Removing intermediate container 27c6ff6a0640 [2020-10-16T06:31:07.625Z] ---> 450021dd4c2d [2020-10-16T06:31:07.625Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T06:31:07.913Z] ---> Running in 130f9e922112 [2020-10-16T06:31:07.913Z] Removing intermediate container 130f9e922112 [2020-10-16T06:31:07.913Z] ---> 10f61e7aff98 [2020-10-16T06:31:07.913Z] Step 22/24 : LABEL arch=amd64 [2020-10-16T06:31:07.913Z] ---> Running in 11e6c5e2b7a3 [2020-10-16T06:31:08.180Z] Removing intermediate container 11e6c5e2b7a3 [2020-10-16T06:31:08.180Z] ---> d0d2a614dd75 [2020-10-16T06:31:08.180Z] Step 23/24 : LABEL git_sha=031d93faa1cbad6f2448e7e21680733aa0ca7f78 [2020-10-16T06:31:08.180Z] ---> Running in 2d4f973764ce [2020-10-16T06:31:08.446Z] Removing intermediate container 2d4f973764ce [2020-10-16T06:31:08.446Z] ---> 0e2683d33c3e [2020-10-16T06:31:08.446Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T06:31:08.446Z] ---> Running in 2a7564e1680b [2020-10-16T06:31:08.717Z] Removing intermediate container 2a7564e1680b [2020-10-16T06:31:08.717Z] ---> 205d34150f19 [2020-10-16T06:31:08.717Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T06:31:08.717Z] Successfully built 205d34150f19 [2020-10-16T06:31:08.717Z] 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-16T06:31:26.757Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T06:32:13.967Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T06:32:13.967Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T06:32:13.967Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T06:32:13.967Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.128s coverage: 21.6% of statements [2020-10-16T06:32:14.247Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.247s coverage: 97.1% of statements [2020-10-16T06:32:46.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.136s coverage: 9.4% of statements [2020-10-16T06:32:46.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.124s coverage: 21.9% of statements [2020-10-16T06:32:46.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T06:32:46.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.613s coverage: 42.6% of statements [2020-10-16T06:32:46.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T06:32:46.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.900s coverage: 68.9% of statements [2020-10-16T06:32:46.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T06:32:46.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T06:32:46.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T06:32:46.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T06:32:46.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.185s coverage: 52.6% of statements [2020-10-16T06:32:46.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T06:32:46.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T06:32:46.633Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T06:32:46.633Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.890s coverage: 68.9% of statements [2020-10-16T06:32:46.633Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T06:32:46.633Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T06:32:46.633Z] GO111MODULE=on go vet ./... [2020-10-16T06:33:19.054Z] gofmt -l . [2020-10-16T06:33:19.054Z] [ "`gofmt -l .`" = "" ] [2020-10-16T06:33:19.054Z] ./bin/test-attribution-txt.sh [2020-10-16T06:33:19.054Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T06:33:19.075Z] Warning: overwriting stash ‘coverage-report’ [2020-10-16T06:33:20.054Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T06:33:20.071Z] $ docker stop --time=1 dd3962e25f49d85543f4a61855f327e0f74c7643b19b3ac03994a915f39a4d06 [2020-10-16T06:33:22.429Z] $ docker rm -f dd3962e25f49d85543f4a61855f327e0f74c7643b19b3ac03994a915f39a4d06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T06:33:24.244Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T06:33:24.660Z] + ls -al . [2020-10-16T06:33:24.660Z] total 224 [2020-10-16T06:33:24.660Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 06:33 . [2020-10-16T06:33:24.660Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:29 .. [2020-10-16T06:33:24.660Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 06:29 .dockerignore [2020-10-16T06:33:24.660Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 06:29 .git [2020-10-16T06:33:24.660Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:29 .github [2020-10-16T06:33:24.660Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 06:29 .gitignore [2020-10-16T06:33:24.660Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 06:29 Dockerfile.build [2020-10-16T06:33:24.660Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 06:29 Jenkinsfile [2020-10-16T06:33:24.660Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 06:29 LICENSE [2020-10-16T06:33:24.660Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 06:29 Makefile [2020-10-16T06:33:24.660Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 06:29 README.md [2020-10-16T06:33:24.660Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 06:29 RELEASE-NOTES.txt [2020-10-16T06:33:24.660Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 06:27 VERSION [2020-10-16T06:33:24.660Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:29 bin [2020-10-16T06:33:24.660Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 16 06:32 coverage.out [2020-10-16T06:33:24.660Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:29 example [2020-10-16T06:33:24.660Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 16 06:33 go.mod [2020-10-16T06:33:24.660Z] -rw-r--r-- 1 jenkins jenkins 13731 Oct 16 06:33 go.sum [2020-10-16T06:33:24.660Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 06:29 internal [2020-10-16T06:33:24.660Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:29 openapi [2020-10-16T06:33:24.660Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 06:29 pkg [2020-10-16T06:33:24.660Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:29 snap [2020-10-16T06:33:24.660Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 06:29 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:33:25.013Z] + 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=031d93faa1cbad6f2448e7e21680733aa0ca7f78 --label arch=arm64 --label version=0.0.0 . [2020-10-16T06:33:25.614Z] Sending build context to Docker daemon 2.429MB [2020-10-16T06:33:25.614Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T06:33:25.614Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T06:33:25.614Z] ---> 531ac5acdbda [2020-10-16T06:33:25.614Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T06:33:25.892Z] ---> Running in 47e4cd8deb0d [2020-10-16T06:33:26.498Z] Removing intermediate container 47e4cd8deb0d [2020-10-16T06:33:26.498Z] ---> 7b2049025901 [2020-10-16T06:33:26.498Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T06:33:26.498Z] ---> Running in f743dfbaf742 [2020-10-16T06:33:27.102Z] Removing intermediate container f743dfbaf742 [2020-10-16T06:33:27.102Z] ---> 897a1e489c59 [2020-10-16T06:33:27.102Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:33:27.102Z] ---> Running in 83baa0959893 [2020-10-16T06:33:27.709Z] Removing intermediate container 83baa0959893 [2020-10-16T06:33:27.709Z] ---> 7b5725f9d494 [2020-10-16T06:33:27.709Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:33:27.709Z] ---> Running in a8dca044642f [2020-10-16T06:33:30.348Z] Removing intermediate container a8dca044642f [2020-10-16T06:33:30.348Z] ---> 97dc00b230cf [2020-10-16T06:33:30.348Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T06:33:30.625Z] ---> Running in cc9441fc3e94 [2020-10-16T06:33:32.065Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T06:33:33.051Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T06:33:33.649Z] OK: 142 MiB in 39 packages [2020-10-16T06:33:35.089Z] Removing intermediate container cc9441fc3e94 [2020-10-16T06:33:35.089Z] ---> 87ec074187fd [2020-10-16T06:33:35.089Z] Step 8/24 : COPY . . [2020-10-16T06:33:36.075Z] ---> 4df887180608 [2020-10-16T06:33:36.075Z] Step 9/24 : RUN ${MAKE} [2020-10-16T06:33:36.350Z] ---> Running in 551b2f793c0d [2020-10-16T06:33:38.334Z] 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-16T06:34:10.776Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T06:34:10.776Z] Removing intermediate container 551b2f793c0d [2020-10-16T06:34:10.776Z] ---> 6643cd8ff78b [2020-10-16T06:34:10.776Z] Step 10/24 : FROM scratch [2020-10-16T06:34:10.776Z] ---> [2020-10-16T06:34:10.776Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:34:10.776Z] ---> Running in d014cc3653ea [2020-10-16T06:34:11.374Z] Removing intermediate container d014cc3653ea [2020-10-16T06:34:11.374Z] ---> 80dcfa09322b [2020-10-16T06:34:11.374Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T06:34:11.374Z] ---> Running in 1d02d7e9e2bb [2020-10-16T06:34:11.651Z] Removing intermediate container 1d02d7e9e2bb [2020-10-16T06:34:11.651Z] ---> dcb123135a25 [2020-10-16T06:34:11.651Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T06:34:11.932Z] ---> Running in 19629ec6d51f [2020-10-16T06:34:12.208Z] Removing intermediate container 19629ec6d51f [2020-10-16T06:34:12.208Z] ---> 5b106e4b39ac [2020-10-16T06:34:12.208Z] Step 14/24 : WORKDIR / [2020-10-16T06:34:12.496Z] ---> Running in 73e3b4b04804 [2020-10-16T06:34:12.771Z] Removing intermediate container 73e3b4b04804 [2020-10-16T06:34:12.771Z] ---> 1f0bb24ecb3f [2020-10-16T06:34:12.771Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T06:34:14.216Z] ---> 0615a160ea22 [2020-10-16T06:34:14.216Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T06:34:15.198Z] ---> 91f90e666be2 [2020-10-16T06:34:15.198Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T06:34:15.800Z] ---> c0d8b5a19dc3 [2020-10-16T06:34:15.800Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T06:34:16.781Z] ---> d07785e215fe [2020-10-16T06:34:16.781Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T06:34:17.773Z] ---> b306a2da5a78 [2020-10-16T06:34:17.773Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T06:34:17.773Z] ---> Running in 25197e44958b [2020-10-16T06:34:18.372Z] Removing intermediate container 25197e44958b [2020-10-16T06:34:18.372Z] ---> 94d7dcc21297 [2020-10-16T06:34:18.372Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T06:34:18.372Z] ---> Running in 8535f4736c27 [2020-10-16T06:34:18.977Z] Removing intermediate container 8535f4736c27 [2020-10-16T06:34:18.977Z] ---> 4ca427702983 [2020-10-16T06:34:18.977Z] Step 22/24 : LABEL arch=arm64 [2020-10-16T06:34:18.977Z] ---> Running in ece184acd12c [2020-10-16T06:34:19.573Z] Removing intermediate container ece184acd12c [2020-10-16T06:34:19.573Z] ---> be127549cdca [2020-10-16T06:34:19.574Z] Step 23/24 : LABEL git_sha=031d93faa1cbad6f2448e7e21680733aa0ca7f78 [2020-10-16T06:34:19.849Z] ---> Running in a543cc26d752 [2020-10-16T06:34:20.126Z] Removing intermediate container a543cc26d752 [2020-10-16T06:34:20.126Z] ---> 076e0eebb755 [2020-10-16T06:34:20.126Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T06:34:20.400Z] ---> Running in 415b8bdade8f [2020-10-16T06:34:20.998Z] Removing intermediate container 415b8bdade8f [2020-10-16T06:34:20.998Z] ---> 7d6eb40a487d [2020-10-16T06:34:20.998Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T06:34:20.998Z] Successfully built 7d6eb40a487d [2020-10-16T06:34:20.998Z] 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-16T06:34:23.082Z] provisioning config files... [2020-10-16T06:34:23.093Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config691713830070697366tmp [Pipeline] { [Pipeline] sh [2020-10-16T06:34:23.505Z] + set +x [2020-10-16T06:34:23.506Z] + curl -s https://codecov.io/bash [2020-10-16T06:34:23.506Z] + bash -s -- [2020-10-16T06:34:23.766Z] [2020-10-16T06:34:23.766Z] _____ _ [2020-10-16T06:34:23.766Z] / ____| | | [2020-10-16T06:34:23.766Z] | | ___ __| | ___ ___ _____ __ [2020-10-16T06:34:23.766Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-16T06:34:23.766Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-16T06:34:23.766Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-16T06:34:23.766Z] Bash-20201009-048fee3 [2020-10-16T06:34:23.766Z] [2020-10-16T06:34:23.766Z] [2020-10-16T06:34:23.766Z] ==> Jenkins CI detected. [2020-10-16T06:34:23.766Z] project root: . [2020-10-16T06:34:23.766Z] Fixing merge commit SHA [2020-10-16T06:34:23.766Z] --> token set from env [2020-10-16T06:34:23.766Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-16T06:34:23.766Z] ==> Running gcov in . (disable via -X gcov) [2020-10-16T06:34:23.766Z] ==> Python coveragepy not found [2020-10-16T06:34:23.766Z] ==> Searching for coverage reports in: [2020-10-16T06:34:23.766Z] + . [2020-10-16T06:34:23.766Z] -> Found 1 reports [2020-10-16T06:34:23.766Z] ==> Detecting git/mercurial file structure [2020-10-16T06:34:23.766Z] ==> Reading reports [2020-10-16T06:34:23.766Z] + ./coverage.out bytes=110398 [2020-10-16T06:34:23.766Z] ==> Appending adjustments [2020-10-16T06:34:23.766Z] https://docs.codecov.io/docs/fixing-reports [2020-10-16T06:34:24.027Z] + Found adjustments [2020-10-16T06:34:24.291Z] ==> Gzipping contents [2020-10-16T06:34:24.291Z] ==> Uploading reports [2020-10-16T06:34:24.291Z] url: https://codecov.io [2020-10-16T06:34:24.291Z] query: branch=PR-582&commit=10f5d80329275e8e77aa5b449b49b1589ab3bade&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-16T06:34:24.291Z] -> Pinging Codecov [2020-10-16T06:34:24.291Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-582&commit=10f5d80329275e8e77aa5b449b49b1589ab3bade&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-16T06:34:24.291Z] -> Uploading to [2020-10-16T06:34:24.291Z] [2020-10-16T06:34:24.291Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T06:34:24.291Z] Dload Upload Total Spent Left Speed [2020-10-16T06:34:24.291Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-16T06:34:24.291Z] X> Failed to upload [2020-10-16T06:34:24.291Z] ==> Uploading to Codecov [2020-10-16T06:34:24.291Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T06:34:24.291Z] Dload Upload Total Spent Left Speed [2020-10-16T06:34:24.863Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19132 100 110 100 19022 185 32092 --:--:-- --:--:-- --:--:-- 32131 [2020-10-16T06:34:24.863Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/10f5d80329275e8e77aa5b449b49b1589ab3bade [Pipeline] } [2020-10-16T06:34:24.876Z] 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-16T06:34:27.397Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:34:27.966Z] ---> package-listing.sh [2020-10-16T06:34:27.966Z] ++ facter osfamily [2020-10-16T06:34:27.966Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-16T06:34:27.966Z] + OS_FAMILY=redhat [2020-10-16T06:34:27.966Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-16T06:34:27.966Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-16T06:34:27.966Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-16T06:34:27.966Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-16T06:34:27.966Z] + PACKAGES=/tmp/packages_start.txt [2020-10-16T06:34:27.966Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-16T06:34:27.966Z] + PACKAGES=/tmp/packages_end.txt [2020-10-16T06:34:27.966Z] + case "${OS_FAMILY}" in [2020-10-16T06:34:27.966Z] + rpm -qa [2020-10-16T06:34:27.966Z] + sort [2020-10-16T06:34:32.176Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-16T06:34:32.176Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-16T06:34:32.176Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-16T06:34:32.176Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-16T06:34:32.176Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [2020-10-16T06:34:32.176Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] echo [2020-10-16T06:34:32.190Z] 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-582/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-16T06:34:32.475Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:34:32.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T06:34:32.774Z] [2020-10-16T06:34:32.774Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:34:33.116Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T06:34:33.116Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-16T06:34:33.116Z] df20fa9351a1: Pulling fs layer [2020-10-16T06:34:33.116Z] 36b3adc4ff6f: Pulling fs layer [2020-10-16T06:34:33.116Z] 8ad3a11d3b57: Pulling fs layer [2020-10-16T06:34:33.116Z] 46f8f816bc3b: Pulling fs layer [2020-10-16T06:34:33.116Z] 93b61091891f: Pulling fs layer [2020-10-16T06:34:33.116Z] 93b9cdb0e59b: Pulling fs layer [2020-10-16T06:34:33.116Z] 5e14af77c1be: Pulling fs layer [2020-10-16T06:34:33.116Z] 01666e4c0597: Pulling fs layer [2020-10-16T06:34:33.116Z] aa168da1d23b: Pulling fs layer [2020-10-16T06:34:33.116Z] 93b61091891f: Waiting [2020-10-16T06:34:33.116Z] 93b9cdb0e59b: Waiting [2020-10-16T06:34:33.116Z] 5e14af77c1be: Waiting [2020-10-16T06:34:33.116Z] 01666e4c0597: Waiting [2020-10-16T06:34:33.116Z] aa168da1d23b: Waiting [2020-10-16T06:34:33.116Z] 46f8f816bc3b: Waiting [2020-10-16T06:34:33.116Z] 36b3adc4ff6f: Download complete [2020-10-16T06:34:33.116Z] 46f8f816bc3b: Verifying Checksum [2020-10-16T06:34:33.116Z] 46f8f816bc3b: Download complete [2020-10-16T06:34:33.377Z] df20fa9351a1: Verifying Checksum [2020-10-16T06:34:33.377Z] 93b9cdb0e59b: Verifying Checksum [2020-10-16T06:34:33.377Z] 93b9cdb0e59b: Download complete [2020-10-16T06:34:33.377Z] 5e14af77c1be: Download complete [2020-10-16T06:34:33.377Z] 93b61091891f: Download complete [2020-10-16T06:34:33.377Z] 01666e4c0597: Verifying Checksum [2020-10-16T06:34:33.377Z] 01666e4c0597: Download complete [2020-10-16T06:34:33.377Z] 8ad3a11d3b57: Verifying Checksum [2020-10-16T06:34:33.377Z] 8ad3a11d3b57: Download complete [2020-10-16T06:34:33.642Z] df20fa9351a1: Pull complete [2020-10-16T06:34:33.642Z] 36b3adc4ff6f: Pull complete [2020-10-16T06:34:34.229Z] 8ad3a11d3b57: Pull complete [2020-10-16T06:34:34.499Z] 46f8f816bc3b: Pull complete [2020-10-16T06:34:35.081Z] 93b61091891f: Pull complete [2020-10-16T06:34:35.081Z] 93b9cdb0e59b: Pull complete [2020-10-16T06:34:35.345Z] 5e14af77c1be: Pull complete [2020-10-16T06:34:35.345Z] 01666e4c0597: Pull complete [2020-10-16T06:34:35.345Z] aa168da1d23b: Verifying Checksum [2020-10-16T06:34:35.345Z] aa168da1d23b: Download complete [2020-10-16T06:34:41.962Z] aa168da1d23b: Pull complete [2020-10-16T06:34:41.962Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-16T06:34:41.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T06:34:41.962Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-16T06:34:42.143Z] prd-centos7-docker-4c-2g-5771 does not seem to be running inside a container [2020-10-16T06:34:42.189Z] $ 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-582/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-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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-16T06:34:48.887Z] $ docker top 296469d255627af26cc1ea5768644936611bedfabbf161a207d012b97dee6012 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:34:49.409Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-16T06:34:49.713Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-16T06:34:50.011Z] + ls /var/log/sa-host [2020-10-16T06:34:50.011Z] + sadf -c /var/log/sa-host/sa05 [2020-10-16T06:34:50.011Z] file_magic: OK [2020-10-16T06:34:50.011Z] HZ: Using current value: 100 [2020-10-16T06:34:50.012Z] file_header: OK [2020-10-16T06:34:50.012Z] 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-16T06:34:50.012Z] Statistics: [2020-10-16T06:34:50.012Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T06:34:50.012Z] File successfully converted to sysstat format version 12.2.1 [2020-10-16T06:34:50.012Z] + sadf -c /var/log/sa-host/sa16 [2020-10-16T06:34:50.012Z] file_magic: OK [2020-10-16T06:34:50.012Z] HZ: Using current value: 100 [2020-10-16T06:34:50.012Z] file_header: OK [2020-10-16T06:34:50.012Z] 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-16T06:34:50.012Z] Statistics: [2020-10-16T06:34:50.012Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T06:34:50.012Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-16T06:34:50.735Z] provisioning config files... [2020-10-16T06:34:50.752Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config2962328249268647449tmp [Pipeline] { [Pipeline] echo [2020-10-16T06:34:50.878Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:34:51.180Z] ---> create-netrc.sh [Pipeline] } [2020-10-16T06:34:51.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-16T06:34:51.277Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:34:51.575Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-16T06:34:51.587Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:34:51.909Z] ---> sudo-logs.sh [2020-10-16T06:34:51.909Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-16T06:34:51.919Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:34:52.218Z] ---> job-cost.sh [2020-10-16T06:34:52.218Z] lf-activate-venv: SKIPPING [2020-10-16T06:34:52.218Z] INFO: No Stack... [2020-10-16T06:34:53.163Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-16T06:34:53.736Z] INFO: Archiving Costs [Pipeline] echo [2020-10-16T06:34:53.751Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:34:54.048Z] ---> logs-deploy.sh [2020-10-16T06:34:54.049Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/22 [2020-10-16T06:34:54.049Z] INFO: archiving workspace using pattern(s): [2020-10-16T06:34:56.005Z] Archives upload complete. [2020-10-16T06:34:56.005Z] INFO: archiving logs to Nexus