Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2c092d27ef67f5e9fc8f25b80adb42344aab04ec+0bbcb663a9153978e7e9ef8c297d5988e58906d0 (d69f005204d3d8bab8eb634f7b25b43a682caf53) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3f382fce060f16c10d6f597981912fab355381a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f3f382fce060f16c10d6f597981912fab355381a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-8581 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 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 2c092d27ef67f5e9fc8f25b80adb42344aab04ec Merge succeeded, producing be8b30892ce9b491d8687bb34e9f5f22f494c4eb Checking out Revision be8b30892ce9b491d8687bb34e9f5f22f494c4eb (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 2c092d27ef67f5e9fc8f25b80adb42344aab04ec # 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 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be8b30892ce9b491d8687bb34e9f5f22f494c4eb # timeout=10 Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 003c9554a851d4fb3476f59109515bcba3ccc0cb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-24T02:41:38.382Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-24T02:41:38.696Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-24T02:41:38.807Z] ========================================================= [2020-10-24T02:41:38.808Z] EdgeX Global Pipelines Version Info [2020-10-24T02:41:38.808Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:41:40.772Z] ------------------- [2020-10-24T02:41:40.772Z] stable info: [2020-10-24T02:41:40.772Z] ------------------- [2020-10-24T02:41:40.772Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-24T02:41:40.772Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-24T02:41:40.772Z] Message: update stable to v1.0.148 [2020-10-24T02:41:41.345Z] ------------------- [2020-10-24T02:41:41.345Z] experimental info: [2020-10-24T02:41:41.345Z] ------------------- [2020-10-24T02:41:41.345Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-24T02:41:41.345Z] Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc [2020-10-24T02:41:41.345Z] Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-24T02:41:41.756Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-24T02:41:41.854Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-24T02:41:41.949Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-24T02:41:42.087Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-24T02:41:42.197Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-24T02:41:42.292Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-24T02:41:42.392Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-24T02:41:42.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-24T02:41:42.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-24T02:41:42.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-24T02:41:42.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-24T02:41:42.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-24T02:41:42.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-24T02:41:43.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-24T02:41:43.186Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-24T02:41:43.282Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:41:43.396Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:41:43.491Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:41:43.597Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-24T02:41:43.703Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-24T02:41:43.817Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-24T02:41:43.917Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-24T02:41:44.018Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-24T02:41:44.133Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-24T02:41:44.257Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-24T02:41:44.360Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-10-24T02:41:44.461Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-10-24T02:41:44.561Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-10-24T02:41:44.671Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be8b30892ce9b491d8687bb34e9f5f22f494c4eb [Pipeline] echo [2020-10-24T02:41:44.769Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be8b308 [Pipeline] echo [2020-10-24T02:41:45.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-24T02:41:45.681Z] + git log --format=format:%s -1 be8b30892ce9b491d8687bb34e9f5f22f494c4eb [Pipeline] echo [2020-10-24T02:41:45.752Z] GIT_COMMIT: be8b30892ce9b491d8687bb34e9f5f22f494c4eb, Commit Message: Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD [Pipeline] echo [2020-10-24T02:41:45.804Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:41:46.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:41:47.411Z] [2020-10-24T02:41:47.411Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:41:47.769Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:41:47.769Z] latest: Pulling from edgex-devops/git-semver [2020-10-24T02:41:47.769Z] 31603596830f: Pulling fs layer [2020-10-24T02:41:47.769Z] 2a8b12db71e7: Pulling fs layer [2020-10-24T02:41:47.769Z] 6ca5941a6612: Pulling fs layer [2020-10-24T02:41:47.769Z] ecc8261a40a4: Pulling fs layer [2020-10-24T02:41:47.769Z] ecc8261a40a4: Waiting [2020-10-24T02:41:47.769Z] 2a8b12db71e7: Verifying Checksum [2020-10-24T02:41:47.769Z] 2a8b12db71e7: Download complete [2020-10-24T02:41:48.037Z] 31603596830f: Download complete [2020-10-24T02:41:48.037Z] ecc8261a40a4: Verifying Checksum [2020-10-24T02:41:48.037Z] ecc8261a40a4: Download complete [2020-10-24T02:41:48.300Z] 6ca5941a6612: Verifying Checksum [2020-10-24T02:41:48.300Z] 6ca5941a6612: Download complete [2020-10-24T02:41:48.300Z] 31603596830f: Pull complete [2020-10-24T02:41:48.562Z] 2a8b12db71e7: Pull complete [2020-10-24T02:41:49.139Z] 6ca5941a6612: Pull complete [2020-10-24T02:41:49.401Z] ecc8261a40a4: Pull complete [2020-10-24T02:41:49.401Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-24T02:41:49.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:41:49.401Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-24T02:41:49.512Z] prd-centos7-docker-4c-2g-8581 does not seem to be running inside a container [2020-10-24T02:41:49.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-24T02:41:52.317Z] $ docker top 02d8ca7544f74ea815de5bac0b5dd01a25f0a93beb658c2670c57d53517cf9a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-24T02:41:52.616Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-24T02:41:52.616Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-24T02:41:52.842Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-24T02:41:52.847Z] $ docker exec 02d8ca7544f74ea815de5bac0b5dd01a25f0a93beb658c2670c57d53517cf9a0 ssh-agent [2020-10-24T02:41:53.014Z] SSH_AUTH_SOCK=/tmp/ssh-twxM85FTnpvz/agent.12 [2020-10-24T02:41:53.014Z] SSH_AGENT_PID=18 [2020-10-24T02:41:53.026Z] Running ssh-add (command line suppressed) [2020-10-24T02:41:53.154Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_5274212606894174570.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_5274212606894174570.key) [2020-10-24T02:41:53.203Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-24T02:41:53.543Z] + git tag --points-at HEAD [Pipeline] } [2020-10-24T02:41:53.565Z] $ docker exec --env ******** --env ******** 02d8ca7544f74ea815de5bac0b5dd01a25f0a93beb658c2670c57d53517cf9a0 ssh-agent -k [2020-10-24T02:41:53.682Z] unset SSH_AUTH_SOCK; [2020-10-24T02:41:53.682Z] unset SSH_AGENT_PID; [2020-10-24T02:41:53.683Z] echo Agent pid 18 killed; [2020-10-24T02:41:53.727Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-24T02:41:53.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-24T02:41:53.872Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-24T02:41:54.037Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-24T02:41:54.042Z] $ docker exec 02d8ca7544f74ea815de5bac0b5dd01a25f0a93beb658c2670c57d53517cf9a0 ssh-agent [2020-10-24T02:41:54.204Z] SSH_AUTH_SOCK=/tmp/ssh-tbgWe9XrdHph/agent.47 [2020-10-24T02:41:54.204Z] SSH_AGENT_PID=52 [2020-10-24T02:41:54.210Z] Running ssh-add (command line suppressed) [2020-10-24T02:41:54.327Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_799359864826889131.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_799359864826889131.key) [2020-10-24T02:41:54.374Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-24T02:41:54.730Z] + git semver init [2020-10-24T02:41:54.730Z] # -> Open(): unable to determine branch for HEAD [2020-10-24T02:41:54.730Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-10-24T02:41:54.730Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-24T02:41:54.730Z] # $SEMVER_REMOTE_NAME = origin [2020-10-24T02:41:54.730Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-24T02:41:54.730Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-24T02:41:54.730Z] # $SEMVER_BRANCH = PR-584 [2020-10-24T02:41:54.730Z] # $SEMVER_TEMP = /tmp/semver-031747861 [2020-10-24T02:41:54.730Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-24T02:41:55.307Z] # '/tmp/semver-031747861' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-10-24T02:41:55.307Z] # -> Force: false [2020-10-24T02:41:55.307Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-10-24T02:41:55.321Z] $ docker exec --env ******** --env ******** 02d8ca7544f74ea815de5bac0b5dd01a25f0a93beb658c2670c57d53517cf9a0 ssh-agent -k [2020-10-24T02:41:55.435Z] unset SSH_AUTH_SOCK; [2020-10-24T02:41:55.435Z] unset SSH_AGENT_PID; [2020-10-24T02:41:55.435Z] echo Agent pid 52 killed; [2020-10-24T02:41:55.482Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-24T02:41:55.963Z] + git semver [Pipeline] } [2020-10-24T02:41:55.982Z] $ docker stop --time=1 02d8ca7544f74ea815de5bac0b5dd01a25f0a93beb658c2670c57d53517cf9a0 [2020-10-24T02:41:57.402Z] $ docker rm -f 02d8ca7544f74ea815de5bac0b5dd01a25f0a93beb658c2670c57d53517cf9a0 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-24T02:41:57.881Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-24T02:41:58.456Z] Stashed 1 file(s) [Pipeline] echo [2020-10-24T02:41:58.459Z] [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-24T02:42:14.020Z] Still waiting to schedule task [2020-10-24T02:42:14.020Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-8582’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8508’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-24T02:42:14.022Z] Still waiting to schedule task [2020-10-24T02:42:14.023Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-24T02:43:43.280Z] Running on prd-centos7-docker-4c-2g-8587 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-24T02:43:43.376Z] Running in /w/workspace/device-sdk-go/31 [Pipeline] { [Pipeline] checkout [2020-10-24T02:43:46.435Z] using credential edgex-jenkins-ssh [2020-10-24T02:43:46.488Z] Cloning the remote Git repository [2020-10-24T02:43:46.521Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:43:46.600Z] > git init /w/workspace/device-sdk-go/31 # timeout=10 [2020-10-24T02:43:46.652Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:43:46.653Z] > git --version # timeout=10 [2020-10-24T02:43:46.663Z] > git --version # 'git version 2.16.5' [2020-10-24T02:43:46.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:43:46.693Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:43:47.903Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 2c092d27ef67f5e9fc8f25b80adb42344aab04ec [2020-10-24T02:43:48.016Z] Merge succeeded, producing a49dcf5d53637cc6c95c8801ed23a40857156fde [2020-10-24T02:43:48.016Z] Checking out Revision a49dcf5d53637cc6c95c8801ed23a40857156fde (PR-584) [2020-10-24T02:43:47.461Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:43:47.479Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:43:47.494Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:43:47.518Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:43:47.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:43:47.523Z] > 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-24T02:43:47.913Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:43:47.920Z] > git checkout -f 2c092d27ef67f5e9fc8f25b80adb42344aab04ec # timeout=10 [2020-10-24T02:43:47.970Z] > git remote # timeout=10 [2020-10-24T02:43:47.976Z] > git config --get remote.origin.url # timeout=10 [2020-10-24T02:43:47.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:43:47.985Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-24T02:43:48.012Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-24T02:43:48.021Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:43:48.025Z] > git checkout -f a49dcf5d53637cc6c95c8801ed23a40857156fde # timeout=10 [2020-10-24T02:43:51.662Z] Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" [2020-10-24T02:43:51.674Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-10-24T02:43:51.667Z] > git rev-list --no-walk 003c9554a851d4fb3476f59109515bcba3ccc0cb # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-24T02:43:52.483Z] ========================================================= [2020-10-24T02:43:52.483Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-24T02:43:52.483Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:43:53.163Z] + 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-24T02:43:53.434Z] Sending build context to Docker daemon 2.351MB [2020-10-24T02:43:53.434Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-24T02:43:53.434Z] Step 2/8 : FROM ${BASE} [2020-10-24T02:43:53.696Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-24T02:43:53.696Z] df20fa9351a1: Pulling fs layer [2020-10-24T02:43:53.696Z] ed8968b2872e: Pulling fs layer [2020-10-24T02:43:53.696Z] a92cc7c5fd73: Pulling fs layer [2020-10-24T02:43:53.696Z] e871e8e8d7a9: Pulling fs layer [2020-10-24T02:43:53.696Z] e73272ec9a57: Pulling fs layer [2020-10-24T02:43:53.696Z] 1e910a182e73: Pulling fs layer [2020-10-24T02:43:53.696Z] 4e634b169226: Pulling fs layer [2020-10-24T02:43:53.696Z] e73272ec9a57: Waiting [2020-10-24T02:43:53.696Z] 1e910a182e73: Waiting [2020-10-24T02:43:53.696Z] 4e634b169226: Waiting [2020-10-24T02:43:53.696Z] e871e8e8d7a9: Waiting [2020-10-24T02:43:53.696Z] a92cc7c5fd73: Verifying Checksum [2020-10-24T02:43:53.696Z] a92cc7c5fd73: Download complete [2020-10-24T02:43:53.696Z] ed8968b2872e: Download complete [2020-10-24T02:43:53.696Z] e73272ec9a57: Verifying Checksum [2020-10-24T02:43:53.696Z] e73272ec9a57: Download complete [2020-10-24T02:43:53.696Z] 1e910a182e73: Verifying Checksum [2020-10-24T02:43:53.696Z] 1e910a182e73: Download complete [2020-10-24T02:43:53.696Z] df20fa9351a1: Verifying Checksum [2020-10-24T02:43:53.696Z] df20fa9351a1: Download complete [2020-10-24T02:43:53.960Z] df20fa9351a1: Pull complete [2020-10-24T02:43:54.221Z] ed8968b2872e: Pull complete [2020-10-24T02:43:54.221Z] a92cc7c5fd73: Pull complete [2020-10-24T02:43:56.795Z] 4e634b169226: Verifying Checksum [2020-10-24T02:43:56.795Z] 4e634b169226: Download complete [2020-10-24T02:43:57.063Z] e871e8e8d7a9: Verifying Checksum [2020-10-24T02:43:57.063Z] e871e8e8d7a9: Download complete [2020-10-24T02:44:02.406Z] e871e8e8d7a9: Pull complete [2020-10-24T02:44:02.406Z] e73272ec9a57: Pull complete [2020-10-24T02:44:02.675Z] 1e910a182e73: Pull complete [2020-10-24T02:44:07.291Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8586 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-24T02:44:07.380Z] Running in /w/workspace/device-sdk-go/31 [Pipeline] { [Pipeline] checkout [2020-10-24T02:44:08.042Z] 4e634b169226: Pull complete [2020-10-24T02:44:08.042Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-24T02:44:08.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-24T02:44:08.042Z] ---> f7629b54cfaa [2020-10-24T02:44:08.042Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:44:08.042Z] ---> Running in 13c19ad4533a [2020-10-24T02:44:08.042Z] Removing intermediate container 13c19ad4533a [2020-10-24T02:44:08.042Z] ---> 2311d3aaf2cf [2020-10-24T02:44:08.042Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:44:08.042Z] ---> Running in e9e429e66441 [2020-10-24T02:44:08.997Z] Removing intermediate container e9e429e66441 [2020-10-24T02:44:08.997Z] ---> af0976b7dd74 [2020-10-24T02:44:08.997Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-24T02:44:08.997Z] ---> Running in f5758761bf38 [2020-10-24T02:44:09.950Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-24T02:44:10.531Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-24T02:44:11.109Z] OK: 166 MiB in 39 packages [2020-10-24T02:44:11.687Z] Removing intermediate container f5758761bf38 [2020-10-24T02:44:11.687Z] ---> e3e5438f0689 [2020-10-24T02:44:11.687Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-24T02:44:11.687Z] ---> Running in b6bf9f76f484 [2020-10-24T02:44:11.687Z] Removing intermediate container b6bf9f76f484 [2020-10-24T02:44:11.687Z] ---> 8ba142127177 [2020-10-24T02:44:11.687Z] Step 7/8 : COPY . . [2020-10-24T02:44:12.648Z] using credential edgex-jenkins-ssh [2020-10-24T02:44:12.710Z] Cloning the remote Git repository [2020-10-24T02:44:13.090Z] ---> 879942183641 [2020-10-24T02:44:13.091Z] Step 8/8 : RUN go mod download [2020-10-24T02:44:13.091Z] ---> Running in 5a0fb323d2d7 [2020-10-24T02:44:12.798Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:44:12.919Z] > git init /w/workspace/device-sdk-go/31 # timeout=10 [2020-10-24T02:44:13.023Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:44:13.024Z] > git --version # timeout=10 [2020-10-24T02:44:13.045Z] > git --version # 'git version 2.17.1' [2020-10-24T02:44:13.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:44:13.121Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:44:14.863Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 2c092d27ef67f5e9fc8f25b80adb42344aab04ec [2020-10-24T02:44:14.223Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:44:14.255Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:44:14.287Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:44:14.329Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:44:14.330Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:44:14.344Z] > 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-24T02:44:14.890Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:44:14.907Z] > git checkout -f 2c092d27ef67f5e9fc8f25b80adb42344aab04ec # timeout=10 [2020-10-24T02:44:15.031Z] > git remote # timeout=10 [2020-10-24T02:44:15.049Z] > git config --get remote.origin.url # timeout=10 [2020-10-24T02:44:15.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:44:15.078Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-24T02:44:15.170Z] Merge succeeded, producing f38a4af70f7f568ceb1eea8c3b1104091bad5275 [2020-10-24T02:44:15.170Z] Checking out Revision f38a4af70f7f568ceb1eea8c3b1104091bad5275 (PR-584) [2020-10-24T02:44:15.158Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-24T02:44:15.181Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:44:15.195Z] > git checkout -f f38a4af70f7f568ceb1eea8c3b1104091bad5275 # timeout=10 [2020-10-24T02:44:19.654Z] Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" [2020-10-24T02:44:19.680Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-24T02:44:20.773Z] ========================================================= [2020-10-24T02:44:20.774Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-24T02:44:20.774Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:44:19.666Z] > git rev-list --no-walk 003c9554a851d4fb3476f59109515bcba3ccc0cb # timeout=10 [2020-10-24T02:44:21.729Z] + 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-24T02:44:22.742Z] Sending build context to Docker daemon 2.351MB [2020-10-24T02:44:22.742Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-24T02:44:22.742Z] Step 2/8 : FROM ${BASE} [2020-10-24T02:44:23.021Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-24T02:44:23.021Z] b538f80385f9: Pulling fs layer [2020-10-24T02:44:23.021Z] 74f711af9a0d: Pulling fs layer [2020-10-24T02:44:23.021Z] 99f96fe45779: Pulling fs layer [2020-10-24T02:44:23.021Z] 8529a6b9a6be: Pulling fs layer [2020-10-24T02:44:23.021Z] 45590311c82a: Pulling fs layer [2020-10-24T02:44:23.021Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-24T02:44:23.021Z] 209524e5b208: Pulling fs layer [2020-10-24T02:44:23.021Z] 8529a6b9a6be: Waiting [2020-10-24T02:44:23.021Z] 45590311c82a: Waiting [2020-10-24T02:44:23.021Z] 69ca0ff8b7b3: Waiting [2020-10-24T02:44:23.021Z] 209524e5b208: Waiting [2020-10-24T02:44:23.021Z] 99f96fe45779: Verifying Checksum [2020-10-24T02:44:23.021Z] 99f96fe45779: Download complete [2020-10-24T02:44:23.021Z] 74f711af9a0d: Verifying Checksum [2020-10-24T02:44:23.021Z] 74f711af9a0d: Download complete [2020-10-24T02:44:23.021Z] 45590311c82a: Download complete [2020-10-24T02:44:23.021Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-24T02:44:23.021Z] 69ca0ff8b7b3: Download complete [2020-10-24T02:44:23.626Z] b538f80385f9: Verifying Checksum [2020-10-24T02:44:23.626Z] b538f80385f9: Download complete [2020-10-24T02:44:24.285Z] b538f80385f9: Pull complete [2020-10-24T02:44:24.914Z] 74f711af9a0d: Pull complete [2020-10-24T02:44:25.190Z] 99f96fe45779: Pull complete [2020-10-24T02:44:25.463Z] 209524e5b208: Verifying Checksum [2020-10-24T02:44:25.463Z] 209524e5b208: Download complete [2020-10-24T02:44:26.921Z] 8529a6b9a6be: Verifying Checksum [2020-10-24T02:44:26.921Z] 8529a6b9a6be: Download complete [2020-10-24T02:44:35.214Z] Removing intermediate container 5a0fb323d2d7 [2020-10-24T02:44:35.214Z] ---> 9855798856f8 [2020-10-24T02:44:35.214Z] Successfully built 9855798856f8 [2020-10-24T02:44:35.214Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:44:35.594Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-24T02:44:35.594Z] . [Pipeline] withDockerContainer [2020-10-24T02:44:35.733Z] prd-centos7-docker-4c-2g-8587 does not seem to be running inside a container [2020-10-24T02:44:35.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/31 -v /w/workspace/device-sdk-go/31:/w/workspace/device-sdk-go/31:rw,z -v /w/workspace/device-sdk-go/31@tmp:/w/workspace/device-sdk-go/31@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-24T02:44:36.586Z] $ docker top 16351a706e4566e4daf247b1db700326ec8c1a5b9f4ad441123f95f73b343947 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:44:37.150Z] + go version [2020-10-24T02:44:37.150Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-24T02:44:37.169Z] $ docker stop --time=1 16351a706e4566e4daf247b1db700326ec8c1a5b9f4ad441123f95f73b343947 [2020-10-24T02:44:38.522Z] $ docker rm -f 16351a706e4566e4daf247b1db700326ec8c1a5b9f4ad441123f95f73b343947 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:44:39.492Z] 8529a6b9a6be: Pull complete [2020-10-24T02:44:39.492Z] 45590311c82a: Pull complete [2020-10-24T02:44:39.492Z] 69ca0ff8b7b3: Pull complete [2020-10-24T02:44:39.557Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-24T02:44:39.557Z] . [Pipeline] withDockerContainer [2020-10-24T02:44:39.668Z] prd-centos7-docker-4c-2g-8587 does not seem to be running inside a container [2020-10-24T02:44:39.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/31 -v /w/workspace/device-sdk-go/31:/w/workspace/device-sdk-go/31:rw,z -v /w/workspace/device-sdk-go/31@tmp:/w/workspace/device-sdk-go/31@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-24T02:44:40.478Z] $ docker top ace9ec028e156f0840e08e41228516eed3639181c4552ebd552b370f0c635feb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:44:41.032Z] + make test [2020-10-24T02:44:41.032Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-24T02:44:42.126Z] 209524e5b208: Pull complete [2020-10-24T02:44:42.126Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-24T02:44:42.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-24T02:44:42.126Z] ---> 5bddaf1c2fca [2020-10-24T02:44:42.126Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:44:44.747Z] ---> Running in 0df68f79e00b [2020-10-24T02:44:45.021Z] Removing intermediate container 0df68f79e00b [2020-10-24T02:44:45.021Z] ---> 83362bf6c94c [2020-10-24T02:44:45.021Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:44:45.296Z] ---> Running in 95df1ba40e54 [2020-10-24T02:44:47.947Z] Removing intermediate container 95df1ba40e54 [2020-10-24T02:44:47.947Z] ---> 7009f13b5c12 [2020-10-24T02:44:47.947Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-24T02:44:47.947Z] ---> Running in 2dcdec697a80 [2020-10-24T02:44:49.250Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-24T02:44:49.388Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-24T02:44:50.370Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-24T02:44:50.970Z] OK: 142 MiB in 39 packages [2020-10-24T02:44:51.965Z] Removing intermediate container 2dcdec697a80 [2020-10-24T02:44:51.966Z] ---> 71f620a8fd4a [2020-10-24T02:44:51.966Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-24T02:44:51.966Z] ---> Running in e2337ae2e2ee [2020-10-24T02:44:52.579Z] Removing intermediate container e2337ae2e2ee [2020-10-24T02:44:52.579Z] ---> e379759be032 [2020-10-24T02:44:52.579Z] Step 7/8 : COPY . . [2020-10-24T02:44:54.022Z] ---> 9ea8ce4f6cae [2020-10-24T02:44:54.022Z] Step 8/8 : RUN go mod download [2020-10-24T02:44:54.022Z] ---> Running in d631b47a5d58 [2020-10-24T02:45:04.328Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-24T02:45:04.328Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-24T02:45:04.328Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-24T02:45:04.328Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.053s coverage: 21.4% of statements [2020-10-24T02:45:05.296Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.464s coverage: 97.1% of statements [2020-10-24T02:45:16.261Z] Removing intermediate container d631b47a5d58 [2020-10-24T02:45:16.262Z] ---> 06c19927e842 [2020-10-24T02:45:16.262Z] Successfully built 06c19927e842 [2020-10-24T02:45:16.262Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:45:16.692Z] + docker inspect -f . ci-base-image-arm64 [2020-10-24T02:45:16.692Z] . [Pipeline] withDockerContainer [2020-10-24T02:45:16.953Z] prd-ubuntu18.04-docker-arm64-4c-16g-8586 does not seem to be running inside a container [2020-10-24T02:45:17.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/31 -v /w/workspace/device-sdk-go/31:/w/workspace/device-sdk-go/31:rw,z -v /w/workspace/device-sdk-go/31@tmp:/w/workspace/device-sdk-go/31@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-24T02:45:18.792Z] $ docker top d36ce3b1dbfff8e5a945fdc0946f80912729868d264af1eb0ad789b2b7d60ab4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:45:20.222Z] + go version [2020-10-24T02:45:20.222Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-24T02:45:20.252Z] $ docker stop --time=1 d36ce3b1dbfff8e5a945fdc0946f80912729868d264af1eb0ad789b2b7d60ab4 [2020-10-24T02:45:22.122Z] $ docker rm -f d36ce3b1dbfff8e5a945fdc0946f80912729868d264af1eb0ad789b2b7d60ab4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:45:23.139Z] + docker inspect -f . ci-base-image-arm64 [2020-10-24T02:45:23.139Z] . [Pipeline] withDockerContainer [2020-10-24T02:45:23.366Z] prd-ubuntu18.04-docker-arm64-4c-16g-8586 does not seem to be running inside a container [2020-10-24T02:45:23.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/31 -v /w/workspace/device-sdk-go/31:/w/workspace/device-sdk-go/31:rw,z -v /w/workspace/device-sdk-go/31@tmp:/w/workspace/device-sdk-go/31@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-24T02:45:25.218Z] $ docker top 6ce956d5a6fe45fbbfb8b3b9cb7ef639726043108c522fc62636df32041f5956 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:45:26.626Z] + make test [2020-10-24T02:45:26.626Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-24T02:45:37.481Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.077s coverage: 9.4% of statements [2020-10-24T02:45:37.481Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.061s coverage: 21.9% of statements [2020-10-24T02:45:37.481Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-24T02:45:37.481Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.250s coverage: 42.6% of statements [2020-10-24T02:45:37.481Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-24T02:45:37.481Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.302s coverage: 68.9% of statements [2020-10-24T02:45:37.481Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-24T02:45:37.481Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-24T02:45:37.481Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-24T02:45:37.481Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-24T02:45:37.481Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-10-24T02:45:37.481Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-24T02:45:37.481Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-24T02:45:37.481Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-24T02:45:37.481Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.406s coverage: 68.9% of statements [2020-10-24T02:45:37.481Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.7% of statements [2020-10-24T02:45:37.481Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-24T02:45:37.481Z] GO111MODULE=on go vet ./... [2020-10-24T02:45:45.798Z] gofmt -l . [2020-10-24T02:45:45.798Z] [ "`gofmt -l .`" = "" ] [2020-10-24T02:45:45.798Z] ./bin/test-attribution-txt.sh [2020-10-24T02:45:46.379Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-24T02:45:46.969Z] Stashed 1 file(s) [Pipeline] } [2020-10-24T02:45:46.977Z] $ docker stop --time=1 ace9ec028e156f0840e08e41228516eed3639181c4552ebd552b370f0c635feb [2020-10-24T02:45:48.821Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-24T02:45:48.933Z] $ docker rm -f ace9ec028e156f0840e08e41228516eed3639181c4552ebd552b370f0c635feb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-24T02:45:52.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-24T02:45:52.805Z] + ls -al . [2020-10-24T02:45:52.805Z] total 208 [2020-10-24T02:45:52.805Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 24 02:45 . [2020-10-24T02:45:52.805Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 24 02:43 .. [2020-10-24T02:45:52.805Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 24 02:43 bin [2020-10-24T02:45:52.805Z] -rw-r--r--. 1 jenkins jenkins 127612 Oct 24 02:45 coverage.out [2020-10-24T02:45:52.805Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 24 02:43 Dockerfile.build [2020-10-24T02:45:52.805Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 24 02:43 .dockerignore [2020-10-24T02:45:52.805Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 24 02:43 example [2020-10-24T02:45:52.805Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 24 02:43 .git [2020-10-24T02:45:52.805Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 24 02:43 .github [2020-10-24T02:45:52.805Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 24 02:43 .gitignore [2020-10-24T02:45:52.805Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 24 02:45 go.mod [2020-10-24T02:45:52.805Z] -rw-r--r--. 1 jenkins jenkins 13822 Oct 24 02:45 go.sum [2020-10-24T02:45:52.805Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 24 02:43 internal [2020-10-24T02:45:52.805Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 24 02:43 Jenkinsfile [2020-10-24T02:45:52.805Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 24 02:43 LICENSE [2020-10-24T02:45:52.805Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 24 02:43 Makefile [2020-10-24T02:45:52.805Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 24 02:43 openapi [2020-10-24T02:45:52.805Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 24 02:43 pkg [2020-10-24T02:45:52.805Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 24 02:43 README.md [2020-10-24T02:45:52.805Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 24 02:43 RELEASE-NOTES.txt [2020-10-24T02:45:52.805Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 24 02:43 snap [2020-10-24T02:45:52.805Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 24 02:41 VERSION [2020-10-24T02:45:52.805Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 24 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:45:53.124Z] + 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=be8b30892ce9b491d8687bb34e9f5f22f494c4eb --label arch=amd64 --label version=0.0.0 . [2020-10-24T02:45:53.389Z] Sending build context to Docker daemon 2.48MB [2020-10-24T02:45:53.389Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-24T02:45:53.389Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-24T02:45:53.389Z] ---> 9855798856f8 [2020-10-24T02:45:53.389Z] Step 3/24 : ARG MAKE='make build' [2020-10-24T02:45:53.963Z] ---> Running in 07dbd79e3d37 [2020-10-24T02:45:54.226Z] Removing intermediate container 07dbd79e3d37 [2020-10-24T02:45:54.226Z] ---> 844d73cc07a8 [2020-10-24T02:45:54.226Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-24T02:45:54.226Z] ---> Running in 985d19bfa48b [2020-10-24T02:45:54.490Z] Removing intermediate container 985d19bfa48b [2020-10-24T02:45:54.490Z] ---> 7f58c5bb5f0d [2020-10-24T02:45:54.490Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:45:54.490Z] ---> Running in bbdb24f2c46a [2020-10-24T02:45:54.490Z] Removing intermediate container bbdb24f2c46a [2020-10-24T02:45:54.490Z] ---> 0ead1886417f [2020-10-24T02:45:54.490Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:45:54.755Z] ---> Running in 8f3173f0bec5 [2020-10-24T02:45:55.718Z] Removing intermediate container 8f3173f0bec5 [2020-10-24T02:45:55.718Z] ---> ab573a3d11b6 [2020-10-24T02:45:55.718Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-24T02:45:55.718Z] ---> Running in b9eb76395a9f [2020-10-24T02:45:56.302Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-24T02:45:56.879Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-24T02:45:57.459Z] OK: 166 MiB in 39 packages [2020-10-24T02:45:57.721Z] Removing intermediate container b9eb76395a9f [2020-10-24T02:45:57.721Z] ---> ab0c4ef73f3f [2020-10-24T02:45:57.721Z] Step 8/24 : COPY . . [2020-10-24T02:45:58.670Z] ---> 35251eee11a2 [2020-10-24T02:45:58.670Z] Step 9/24 : RUN ${MAKE} [2020-10-24T02:45:58.934Z] ---> Running in 43f4d2804fd2 [2020-10-24T02:45:59.199Z] 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-24T02:46:07.487Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-24T02:46:10.045Z] Removing intermediate container 43f4d2804fd2 [2020-10-24T02:46:10.045Z] ---> 53a9fa9d04f6 [2020-10-24T02:46:10.045Z] Step 10/24 : FROM scratch [2020-10-24T02:46:10.045Z] ---> [2020-10-24T02:46:10.045Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:46:10.045Z] ---> Running in a01fb23ada05 [2020-10-24T02:46:10.045Z] Removing intermediate container a01fb23ada05 [2020-10-24T02:46:10.045Z] ---> cad0ee0532ac [2020-10-24T02:46:10.045Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-24T02:46:10.045Z] ---> Running in 90ca74be2ede [2020-10-24T02:46:10.307Z] Removing intermediate container 90ca74be2ede [2020-10-24T02:46:10.307Z] ---> bcc0808971ce [2020-10-24T02:46:10.307Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-24T02:46:10.307Z] ---> Running in 38e4a87d665f [2020-10-24T02:46:10.307Z] Removing intermediate container 38e4a87d665f [2020-10-24T02:46:10.307Z] ---> 578caebc9ccd [2020-10-24T02:46:10.307Z] Step 14/24 : WORKDIR / [2020-10-24T02:46:10.571Z] ---> Running in 3dfc9ad054d1 [2020-10-24T02:46:10.571Z] Removing intermediate container 3dfc9ad054d1 [2020-10-24T02:46:10.571Z] ---> b3e8d1e8c58d [2020-10-24T02:46:10.571Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-24T02:46:11.149Z] ---> c3e215ebc9fa [2020-10-24T02:46:11.149Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-24T02:46:11.413Z] ---> be31a12c5f13 [2020-10-24T02:46:11.413Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-24T02:46:11.676Z] ---> 9f7a874e81a4 [2020-10-24T02:46:11.676Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-24T02:46:11.676Z] ---> 11ee031ec418 [2020-10-24T02:46:11.676Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-24T02:46:11.938Z] ---> 8833be109b86 [2020-10-24T02:46:11.938Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-24T02:46:12.201Z] ---> Running in 262d5d0f3352 [2020-10-24T02:46:12.201Z] Removing intermediate container 262d5d0f3352 [2020-10-24T02:46:12.201Z] ---> e6320ebd4624 [2020-10-24T02:46:12.201Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-24T02:46:12.201Z] ---> Running in 67e6f0149529 [2020-10-24T02:46:12.464Z] Removing intermediate container 67e6f0149529 [2020-10-24T02:46:12.464Z] ---> b948bb41030d [2020-10-24T02:46:12.464Z] Step 22/24 : LABEL arch=amd64 [2020-10-24T02:46:12.464Z] ---> Running in 4e09231ddbbd [2020-10-24T02:46:12.727Z] Removing intermediate container 4e09231ddbbd [2020-10-24T02:46:12.727Z] ---> 37d508244f11 [2020-10-24T02:46:12.727Z] Step 23/24 : LABEL git_sha=be8b30892ce9b491d8687bb34e9f5f22f494c4eb [2020-10-24T02:46:12.727Z] ---> Running in 65a4853ea24d [2020-10-24T02:46:12.990Z] Removing intermediate container 65a4853ea24d [2020-10-24T02:46:12.990Z] ---> 0c350dbfd7af [2020-10-24T02:46:12.990Z] Step 24/24 : LABEL version=0.0.0 [2020-10-24T02:46:12.990Z] ---> Running in 7855b71ea685 [2020-10-24T02:46:13.253Z] Removing intermediate container 7855b71ea685 [2020-10-24T02:46:13.253Z] ---> c40477dd18ed [2020-10-24T02:46:13.253Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-24T02:46:13.253Z] Successfully built c40477dd18ed [2020-10-24T02:46:13.253Z] 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-24T02:46:27.960Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-24T02:46:27.960Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-24T02:46:27.960Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-24T02:46:27.960Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.193s coverage: 21.4% of statements [2020-10-24T02:46:33.409Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.135s coverage: 97.1% of statements [2020-10-24T02:47:00.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.112s coverage: 9.4% of statements [2020-10-24T02:47:00.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.120s coverage: 21.9% of statements [2020-10-24T02:47:00.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-24T02:47:00.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.589s coverage: 42.6% of statements [2020-10-24T02:47:00.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-24T02:47:00.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.811s coverage: 68.9% of statements [2020-10-24T02:47:00.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-24T02:47:00.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-24T02:47:00.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-24T02:47:00.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-24T02:47:00.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.173s coverage: 52.6% of statements [2020-10-24T02:47:00.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-24T02:47:00.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-24T02:47:00.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-24T02:47:00.219Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.909s coverage: 68.9% of statements [2020-10-24T02:47:00.219Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.7% of statements [2020-10-24T02:47:00.219Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-24T02:47:00.219Z] GO111MODULE=on go vet ./... [2020-10-24T02:47:32.629Z] gofmt -l . [2020-10-24T02:47:32.629Z] [ "`gofmt -l .`" = "" ] [2020-10-24T02:47:32.629Z] ./bin/test-attribution-txt.sh [2020-10-24T02:47:32.629Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-24T02:47:32.648Z] Warning: overwriting stash ‘coverage-report’ [2020-10-24T02:47:33.629Z] Stashed 1 file(s) [Pipeline] } [2020-10-24T02:47:33.646Z] $ docker stop --time=1 6ce956d5a6fe45fbbfb8b3b9cb7ef639726043108c522fc62636df32041f5956 [2020-10-24T02:47:35.953Z] $ docker rm -f 6ce956d5a6fe45fbbfb8b3b9cb7ef639726043108c522fc62636df32041f5956 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-24T02:47:37.476Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-24T02:47:37.831Z] + ls -al . [2020-10-24T02:47:37.831Z] total 244 [2020-10-24T02:47:37.831Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 02:47 . [2020-10-24T02:47:37.831Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:44 .. [2020-10-24T02:47:37.831Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 02:44 .dockerignore [2020-10-24T02:47:37.831Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 02:44 .git [2020-10-24T02:47:37.831Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 02:44 .github [2020-10-24T02:47:37.831Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 24 02:44 .gitignore [2020-10-24T02:47:37.831Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 24 02:44 Dockerfile.build [2020-10-24T02:47:37.831Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 24 02:44 Jenkinsfile [2020-10-24T02:47:37.831Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 02:44 LICENSE [2020-10-24T02:47:37.831Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 24 02:44 Makefile [2020-10-24T02:47:37.831Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 24 02:44 README.md [2020-10-24T02:47:37.831Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 24 02:44 RELEASE-NOTES.txt [2020-10-24T02:47:37.831Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 02:41 VERSION [2020-10-24T02:47:37.831Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 02:44 bin [2020-10-24T02:47:37.831Z] -rw-r--r-- 1 jenkins jenkins 127611 Oct 24 02:46 coverage.out [2020-10-24T02:47:37.831Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:44 example [2020-10-24T02:47:37.831Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 24 02:47 go.mod [2020-10-24T02:47:37.831Z] -rw-r--r-- 1 jenkins jenkins 13822 Oct 24 02:47 go.sum [2020-10-24T02:47:37.831Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 24 02:44 internal [2020-10-24T02:47:37.831Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:44 openapi [2020-10-24T02:47:37.831Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 02:44 pkg [2020-10-24T02:47:37.831Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:44 snap [2020-10-24T02:47:37.831Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:47:38.193Z] + 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=be8b30892ce9b491d8687bb34e9f5f22f494c4eb --label arch=arm64 --label version=0.0.0 . [2020-10-24T02:47:38.866Z] Sending build context to Docker daemon 2.48MB [2020-10-24T02:47:38.866Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-24T02:47:38.866Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-24T02:47:38.866Z] ---> 06c19927e842 [2020-10-24T02:47:38.866Z] Step 3/24 : ARG MAKE='make build' [2020-10-24T02:47:38.866Z] ---> Running in 46f9f819e861 [2020-10-24T02:47:39.461Z] Removing intermediate container 46f9f819e861 [2020-10-24T02:47:39.461Z] ---> 1fcb8c070b30 [2020-10-24T02:47:39.461Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-24T02:47:39.461Z] ---> Running in 3a9cabdf6c98 [2020-10-24T02:47:40.057Z] Removing intermediate container 3a9cabdf6c98 [2020-10-24T02:47:40.057Z] ---> 62b89e8c1a0b [2020-10-24T02:47:40.057Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:47:40.057Z] ---> Running in 6dbc1d17a8bb [2020-10-24T02:47:40.651Z] Removing intermediate container 6dbc1d17a8bb [2020-10-24T02:47:40.651Z] ---> 68bf861dfcc2 [2020-10-24T02:47:40.651Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:47:40.651Z] ---> Running in 77dbcb78520a [2020-10-24T02:47:43.280Z] Removing intermediate container 77dbcb78520a [2020-10-24T02:47:43.280Z] ---> 2a6c360d3f60 [2020-10-24T02:47:43.280Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-24T02:47:43.280Z] ---> Running in 242cecc0b0a6 [2020-10-24T02:47:44.718Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-24T02:47:45.696Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-24T02:47:46.290Z] OK: 142 MiB in 39 packages [2020-10-24T02:47:47.274Z] Removing intermediate container 242cecc0b0a6 [2020-10-24T02:47:47.274Z] ---> 84740eac57a7 [2020-10-24T02:47:47.274Z] Step 8/24 : COPY . . [2020-10-24T02:47:48.730Z] ---> b5040a5688c3 [2020-10-24T02:47:48.730Z] Step 9/24 : RUN ${MAKE} [2020-10-24T02:47:48.730Z] ---> Running in ef39081cf70a [2020-10-24T02:47:50.166Z] 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-24T02:48:17.020Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-24T02:48:17.020Z] Removing intermediate container ef39081cf70a [2020-10-24T02:48:17.020Z] ---> 4587aafe6ce3 [2020-10-24T02:48:17.020Z] Step 10/24 : FROM scratch [2020-10-24T02:48:17.020Z] ---> [2020-10-24T02:48:17.020Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:48:17.020Z] ---> Running in ee9dc64891f8 [2020-10-24T02:48:17.294Z] Removing intermediate container ee9dc64891f8 [2020-10-24T02:48:17.294Z] ---> 8371454eeb64 [2020-10-24T02:48:17.294Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-24T02:48:17.568Z] ---> Running in 917b1812b9ea [2020-10-24T02:48:17.842Z] Removing intermediate container 917b1812b9ea [2020-10-24T02:48:17.842Z] ---> 59cd8f2cfc57 [2020-10-24T02:48:17.842Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-24T02:48:18.117Z] ---> Running in 2278c9c8262b [2020-10-24T02:48:18.406Z] Removing intermediate container 2278c9c8262b [2020-10-24T02:48:18.406Z] ---> fffda7e9b4bd [2020-10-24T02:48:18.406Z] Step 14/24 : WORKDIR / [2020-10-24T02:48:18.685Z] ---> Running in f5c396854ab4 [2020-10-24T02:48:19.280Z] Removing intermediate container f5c396854ab4 [2020-10-24T02:48:19.280Z] ---> b2d461c7be3e [2020-10-24T02:48:19.280Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-24T02:48:20.260Z] ---> f252d134ea34 [2020-10-24T02:48:20.260Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-24T02:48:21.241Z] ---> 86898fa6ffb2 [2020-10-24T02:48:21.241Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-24T02:48:21.833Z] ---> 63000fc097be [2020-10-24T02:48:21.833Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-24T02:48:22.426Z] ---> fcd9fbd11aa0 [2020-10-24T02:48:22.426Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-24T02:48:23.020Z] ---> d334e920a8e9 [2020-10-24T02:48:23.020Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-24T02:48:23.293Z] ---> Running in c8606dde0fff [2020-10-24T02:48:23.565Z] Removing intermediate container c8606dde0fff [2020-10-24T02:48:23.565Z] ---> 5ddc0c4599e9 [2020-10-24T02:48:23.565Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-24T02:48:23.836Z] ---> Running in e8429d8997bb [2020-10-24T02:48:24.110Z] Removing intermediate container e8429d8997bb [2020-10-24T02:48:24.110Z] ---> 836df72a1568 [2020-10-24T02:48:24.111Z] Step 22/24 : LABEL arch=arm64 [2020-10-24T02:48:24.387Z] ---> Running in 289e8aa9e247 [2020-10-24T02:48:24.658Z] Removing intermediate container 289e8aa9e247 [2020-10-24T02:48:24.658Z] ---> 5b6457b271ec [2020-10-24T02:48:24.658Z] Step 23/24 : LABEL git_sha=be8b30892ce9b491d8687bb34e9f5f22f494c4eb [2020-10-24T02:48:24.931Z] ---> Running in 315b0dec45e2 [2020-10-24T02:48:25.208Z] Removing intermediate container 315b0dec45e2 [2020-10-24T02:48:25.208Z] ---> 3e1bf696a789 [2020-10-24T02:48:25.208Z] Step 24/24 : LABEL version=0.0.0 [2020-10-24T02:48:25.483Z] ---> Running in e51bbf635c74 [2020-10-24T02:48:25.755Z] Removing intermediate container e51bbf635c74 [2020-10-24T02:48:25.755Z] ---> b07dfaa63477 [2020-10-24T02:48:25.755Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-24T02:48:26.027Z] Successfully built b07dfaa63477 [2020-10-24T02:48:26.027Z] 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-24T02:48:28.097Z] provisioning config files... [2020-10-24T02:48:28.109Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config2057680778473795208tmp [Pipeline] { [Pipeline] sh [2020-10-24T02:48:28.486Z] + set +x [2020-10-24T02:48:28.486Z] + curl -s https://codecov.io/bash [2020-10-24T02:48:28.486Z] + bash -s -- [2020-10-24T02:48:28.747Z] [2020-10-24T02:48:28.747Z] _____ _ [2020-10-24T02:48:28.747Z] / ____| | | [2020-10-24T02:48:28.747Z] | | ___ __| | ___ ___ _____ __ [2020-10-24T02:48:28.747Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-24T02:48:28.747Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-24T02:48:28.747Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-24T02:48:28.747Z] Bash-20201009-048fee3 [2020-10-24T02:48:28.747Z] [2020-10-24T02:48:28.747Z] [2020-10-24T02:48:28.747Z] ==> Jenkins CI detected. [2020-10-24T02:48:28.747Z] project root: . [2020-10-24T02:48:28.747Z] Fixing merge commit SHA [2020-10-24T02:48:28.747Z] --> token set from env [2020-10-24T02:48:28.747Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-24T02:48:28.747Z] ==> Running gcov in . (disable via -X gcov) [2020-10-24T02:48:28.747Z] ==> Python coveragepy not found [2020-10-24T02:48:28.747Z] ==> Searching for coverage reports in: [2020-10-24T02:48:28.747Z] + . [2020-10-24T02:48:28.747Z] -> Found 1 reports [2020-10-24T02:48:28.747Z] ==> Detecting git/mercurial file structure [2020-10-24T02:48:28.747Z] ==> Reading reports [2020-10-24T02:48:28.747Z] + ./coverage.out bytes=127611 [2020-10-24T02:48:29.010Z] ==> Appending adjustments [2020-10-24T02:48:29.010Z] https://docs.codecov.io/docs/fixing-reports [2020-10-24T02:48:29.272Z] + Found adjustments [2020-10-24T02:48:29.272Z] ==> Gzipping contents [2020-10-24T02:48:29.272Z] ==> Uploading reports [2020-10-24T02:48:29.272Z] url: https://codecov.io [2020-10-24T02:48:29.272Z] query: branch=PR-584&commit=0bbcb663a9153978e7e9ef8c297d5988e58906d0&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-24T02:48:29.272Z] -> Pinging Codecov [2020-10-24T02:48:29.272Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=0bbcb663a9153978e7e9ef8c297d5988e58906d0&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-24T02:48:29.535Z] -> Uploading to [2020-10-24T02:48:29.535Z] [2020-10-24T02:48:29.535Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-24T02:48:29.535Z] Dload Upload Total Spent Left Speed [2020-10-24T02:48:29.535Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-24T02:48:29.535Z] X> Failed to upload [2020-10-24T02:48:29.535Z] ==> Uploading to Codecov [2020-10-24T02:48:29.535Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-24T02:48:29.535Z] Dload Upload Total Spent Left Speed [2020-10-24T02:48:30.111Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 20983 0 0 100 20873 0 38488 --:--:-- --:--:-- --:--:-- 38440 100 20983 100 110 100 20873 202 38475 --:--:-- --:--:-- --:--:-- 38440 [2020-10-24T02:48:30.111Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0bbcb663a9153978e7e9ef8c297d5988e58906d0 [Pipeline] } [2020-10-24T02:48:30.122Z] 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-24T02:48:32.949Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:48:33.518Z] ---> package-listing.sh [2020-10-24T02:48:33.518Z] ++ facter osfamily [2020-10-24T02:48:33.518Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-24T02:48:33.518Z] + OS_FAMILY=redhat [2020-10-24T02:48:33.518Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-24T02:48:33.518Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-24T02:48:33.518Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-24T02:48:33.518Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-24T02:48:33.518Z] + PACKAGES=/tmp/packages_start.txt [2020-10-24T02:48:33.518Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-24T02:48:33.518Z] + PACKAGES=/tmp/packages_end.txt [2020-10-24T02:48:33.518Z] + case "${OS_FAMILY}" in [2020-10-24T02:48:33.518Z] + rpm -qa [2020-10-24T02:48:33.518Z] + sort [2020-10-24T02:48:37.743Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-24T02:48:37.744Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-24T02:48:37.744Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-24T02:48:37.744Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-24T02:48:37.744Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-10-24T02:48:37.744Z] + 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-24T02:48:37.759Z] 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-24T02:48:38.050Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:48:38.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:48:38.355Z] [2020-10-24T02:48:38.355Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:48:38.704Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:48:38.704Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-24T02:48:38.704Z] df20fa9351a1: Pulling fs layer [2020-10-24T02:48:38.704Z] 36b3adc4ff6f: Pulling fs layer [2020-10-24T02:48:38.704Z] 8ad3a11d3b57: Pulling fs layer [2020-10-24T02:48:38.704Z] 46f8f816bc3b: Pulling fs layer [2020-10-24T02:48:38.704Z] 93b61091891f: Pulling fs layer [2020-10-24T02:48:38.704Z] 93b9cdb0e59b: Pulling fs layer [2020-10-24T02:48:38.704Z] 5e14af77c1be: Pulling fs layer [2020-10-24T02:48:38.704Z] 01666e4c0597: Pulling fs layer [2020-10-24T02:48:38.704Z] aa168da1d23b: Pulling fs layer [2020-10-24T02:48:38.704Z] 46f8f816bc3b: Waiting [2020-10-24T02:48:38.704Z] 93b9cdb0e59b: Waiting [2020-10-24T02:48:38.704Z] 01666e4c0597: Waiting [2020-10-24T02:48:38.704Z] 5e14af77c1be: Waiting [2020-10-24T02:48:38.704Z] aa168da1d23b: Waiting [2020-10-24T02:48:38.704Z] 36b3adc4ff6f: Verifying Checksum [2020-10-24T02:48:38.704Z] 36b3adc4ff6f: Download complete [2020-10-24T02:48:38.704Z] 46f8f816bc3b: Verifying Checksum [2020-10-24T02:48:38.704Z] 46f8f816bc3b: Download complete [2020-10-24T02:48:38.704Z] df20fa9351a1: Verifying Checksum [2020-10-24T02:48:38.704Z] df20fa9351a1: Download complete [2020-10-24T02:48:38.704Z] 93b9cdb0e59b: Verifying Checksum [2020-10-24T02:48:38.704Z] 93b9cdb0e59b: Download complete [2020-10-24T02:48:38.977Z] 5e14af77c1be: Download complete [2020-10-24T02:48:38.977Z] 01666e4c0597: Verifying Checksum [2020-10-24T02:48:38.977Z] 01666e4c0597: Download complete [2020-10-24T02:48:38.977Z] 93b61091891f: Verifying Checksum [2020-10-24T02:48:38.977Z] 93b61091891f: Download complete [2020-10-24T02:48:38.977Z] 8ad3a11d3b57: Verifying Checksum [2020-10-24T02:48:38.977Z] 8ad3a11d3b57: Download complete [2020-10-24T02:48:39.242Z] df20fa9351a1: Pull complete [2020-10-24T02:48:39.242Z] 36b3adc4ff6f: Pull complete [2020-10-24T02:48:39.821Z] 8ad3a11d3b57: Pull complete [2020-10-24T02:48:40.087Z] 46f8f816bc3b: Pull complete [2020-10-24T02:48:40.673Z] 93b61091891f: Pull complete [2020-10-24T02:48:40.935Z] 93b9cdb0e59b: Pull complete [2020-10-24T02:48:40.935Z] aa168da1d23b: Verifying Checksum [2020-10-24T02:48:40.935Z] aa168da1d23b: Download complete [2020-10-24T02:48:40.935Z] 5e14af77c1be: Pull complete [2020-10-24T02:48:41.198Z] 01666e4c0597: Pull complete [2020-10-24T02:48:47.840Z] aa168da1d23b: Pull complete [2020-10-24T02:48:47.840Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-24T02:48:47.840Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:48:47.840Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-24T02:48:48.074Z] prd-centos7-docker-4c-2g-8581 does not seem to be running inside a container [2020-10-24T02:48:48.125Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-24T02:48:55.769Z] $ docker top 7379a20e72fef4ca84c2949b93031c616fd7f0f049fa9e281c3e3c199289ea09 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:48:56.355Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-24T02:48:56.657Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-24T02:48:56.968Z] + ls /var/log/sa-host [2020-10-24T02:48:56.968Z] + sadf -c /var/log/sa-host/sa05 [2020-10-24T02:48:56.968Z] file_magic: OK [2020-10-24T02:48:56.968Z] HZ: Using current value: 100 [2020-10-24T02:48:56.968Z] file_header: OK [2020-10-24T02:48:56.968Z] 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-24T02:48:56.968Z] Statistics: [2020-10-24T02:48:56.968Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-24T02:48:56.968Z] File successfully converted to sysstat format version 12.2.1 [2020-10-24T02:48:56.968Z] + sadf -c /var/log/sa-host/sa24 [2020-10-24T02:48:56.968Z] file_magic: OK [2020-10-24T02:48:56.968Z] HZ: Using current value: 100 [2020-10-24T02:48:56.968Z] file_header: OK [2020-10-24T02:48:56.968Z] 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-24T02:48:56.968Z] Statistics: [2020-10-24T02:48:56.968Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-24T02:48:56.968Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-24T02:48:57.701Z] provisioning config files... [2020-10-24T02:48:57.717Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config5010144898652717870tmp [Pipeline] { [Pipeline] echo [2020-10-24T02:48:57.805Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:48:58.099Z] ---> create-netrc.sh [Pipeline] } [2020-10-24T02:48:58.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-24T02:48:58.212Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:48:58.511Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-24T02:48:58.521Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:48:58.817Z] ---> sudo-logs.sh [2020-10-24T02:48:58.817Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-24T02:48:58.829Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:48:59.126Z] ---> job-cost.sh [2020-10-24T02:48:59.126Z] lf-activate-venv: SKIPPING [2020-10-24T02:48:59.126Z] INFO: No Stack... [2020-10-24T02:49:00.068Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-24T02:49:00.641Z] INFO: Archiving Costs [Pipeline] echo [2020-10-24T02:49:00.653Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:49:00.946Z] ---> logs-deploy.sh [2020-10-24T02:49:00.946Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/31 [2020-10-24T02:49:00.946Z] INFO: archiving workspace using pattern(s): [2020-10-24T02:49:02.876Z] Archives upload complete. [2020-10-24T02:49:02.876Z] INFO: archiving logs to Nexus