Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 628559142d23fa9d6fe61ea3329529ff5e9788fb+0cafa7decaaa0dab3b86f836c2c615e8e839d11b (9454ef39d094bc8b54b1d9f6f3568397b429bb7d) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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. [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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-904’ Running on prd-centos7-docker-4c-2g-911 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-586 # 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 Fetching without tags > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb Merge succeeded, producing 650fd38f9bdac668c980b4b4172ffcace48dc8ad Checking out Revision 650fd38f9bdac668c980b4b4172ffcace48dc8ad (PR-586) > git config core.sparsecheckout # timeout=10 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # 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 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 650fd38f9bdac668c980b4b4172ffcace48dc8ad # timeout=10 Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-22T18:45:30.562Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk b984de18a70b0e1eeec19856df0f8a760ba1e0e2 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-22T18:45:30.804Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-22T18:45:31.213Z] ========================================================= [2020-09-22T18:45:31.214Z] EdgeX Global Pipelines Version Info [2020-09-22T18:45:31.214Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:45:33.181Z] ------------------- [2020-09-22T18:45:33.181Z] stable info: [2020-09-22T18:45:33.181Z] ------------------- [2020-09-22T18:45:33.181Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-22T18:45:33.181Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-22T18:45:33.181Z] Message: update stable to v1.0.122 [2020-09-22T18:45:33.758Z] ------------------- [2020-09-22T18:45:33.758Z] experimental info: [2020-09-22T18:45:33.758Z] ------------------- [2020-09-22T18:45:33.758Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-22T18:45:33.758Z] Commit SHA: 4cadb88800041bcc4665ba3be4ccb25d089af403 [2020-09-22T18:45:33.758Z] Message: update experimental to v1.0.126 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-22T18:45:34.118Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-22T18:45:34.208Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-22T18:45:34.368Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-22T18:45:34.492Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-22T18:45:34.586Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-22T18:45:34.676Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-22T18:45:34.767Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-22T18:45:34.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-22T18:45:34.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-22T18:45:35.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-22T18:45:35.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-22T18:45:35.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-22T18:45:35.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-22T18:45:35.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-22T18:45:35.652Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-22T18:45:35.764Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:45:35.852Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:45:35.955Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:45:36.045Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-22T18:45:36.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-22T18:45:36.230Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-22T18:45:36.372Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-22T18:45:36.467Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo [2020-09-22T18:45:36.591Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo [2020-09-22T18:45:36.694Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo [2020-09-22T18:45:36.791Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 650fd38f9bdac668c980b4b4172ffcace48dc8ad [Pipeline] echo [2020-09-22T18:45:36.895Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 650fd38 [Pipeline] echo [2020-09-22T18:45:36.985Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T18:45:37.622Z] + git log --format=format:%s -1 650fd38f9bdac668c980b4b4172ffcace48dc8ad [Pipeline] echo [2020-09-22T18:45:37.692Z] GIT_COMMIT: 650fd38f9bdac668c980b4b4172ffcace48dc8ad, Commit Message: Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD [Pipeline] echo [2020-09-22T18:45:37.796Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:45:38.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:45:38.669Z] [2020-09-22T18:45:38.669Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:45:39.025Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:45:39.025Z] latest: Pulling from edgex-devops/git-semver [2020-09-22T18:45:39.025Z] 31603596830f: Pulling fs layer [2020-09-22T18:45:39.025Z] 2a8b12db71e7: Pulling fs layer [2020-09-22T18:45:39.025Z] 6ca5941a6612: Pulling fs layer [2020-09-22T18:45:39.025Z] ecc8261a40a4: Pulling fs layer [2020-09-22T18:45:39.025Z] ecc8261a40a4: Waiting [2020-09-22T18:45:39.025Z] 2a8b12db71e7: Download complete [2020-09-22T18:45:39.293Z] 31603596830f: Verifying Checksum [2020-09-22T18:45:39.293Z] 31603596830f: Download complete [2020-09-22T18:45:39.293Z] ecc8261a40a4: Verifying Checksum [2020-09-22T18:45:39.293Z] ecc8261a40a4: Download complete [2020-09-22T18:45:39.293Z] 6ca5941a6612: Verifying Checksum [2020-09-22T18:45:39.293Z] 6ca5941a6612: Download complete [2020-09-22T18:45:39.557Z] 31603596830f: Pull complete [2020-09-22T18:45:39.822Z] 2a8b12db71e7: Pull complete [2020-09-22T18:45:40.772Z] 6ca5941a6612: Pull complete [2020-09-22T18:45:40.772Z] ecc8261a40a4: Pull complete [2020-09-22T18:45:41.035Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-22T18:45:41.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:45:41.035Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-22T18:45:41.142Z] prd-centos7-docker-4c-2g-911 does not seem to be running inside a container [2020-09-22T18:45:41.190Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-586 -v /w/workspace/dgexfoundry_device-sdk-go_PR-586:/w/workspace/dgexfoundry_device-sdk-go_PR-586:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-586@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-22T18:45:43.030Z] $ docker top 775f7d266f9fa2d8b7594221105a458186cfdf3e56efd3fac6d28737a974e0f9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T18:45:43.322Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T18:45:43.322Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T18:45:43.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T18:45:43.572Z] $ docker exec 775f7d266f9fa2d8b7594221105a458186cfdf3e56efd3fac6d28737a974e0f9 ssh-agent [2020-09-22T18:45:43.823Z] SSH_AUTH_SOCK=/tmp/ssh-Hgmc8JLifLVx/agent.13 [2020-09-22T18:45:43.823Z] SSH_AGENT_PID=19 [2020-09-22T18:45:43.836Z] Running ssh-add (command line suppressed) [2020-09-22T18:45:43.975Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_3114875132058912659.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_3114875132058912659.key) [2020-09-22T18:45:44.035Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T18:45:44.375Z] + git describe --exact-match --tags HEAD [2020-09-22T18:45:44.375Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-22T18:45:44.398Z] $ docker exec --env ******** --env ******** 775f7d266f9fa2d8b7594221105a458186cfdf3e56efd3fac6d28737a974e0f9 ssh-agent -k [2020-09-22T18:45:44.522Z] unset SSH_AUTH_SOCK; [2020-09-22T18:45:44.523Z] unset SSH_AGENT_PID; [2020-09-22T18:45:44.523Z] echo Agent pid 19 killed; [2020-09-22T18:45:44.575Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-22T18:45:44.665Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-22T18:45:44.665Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-22T18:45:44.753Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T18:45:44.753Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T18:45:44.957Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T18:45:44.962Z] $ docker exec 775f7d266f9fa2d8b7594221105a458186cfdf3e56efd3fac6d28737a974e0f9 ssh-agent [2020-09-22T18:45:45.141Z] SSH_AUTH_SOCK=/tmp/ssh-Jlef9nyLJFQn/agent.49 [2020-09-22T18:45:45.141Z] SSH_AGENT_PID=54 [2020-09-22T18:45:45.149Z] Running ssh-add (command line suppressed) [2020-09-22T18:45:45.275Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_4899534875435019644.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_4899534875435019644.key) [2020-09-22T18:45:45.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T18:45:45.682Z] + git semver init [2020-09-22T18:45:45.682Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T18:45:45.682Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.git [2020-09-22T18:45:45.682Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-586 [2020-09-22T18:45:45.682Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T18:45:45.682Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T18:45:45.682Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T18:45:45.682Z] # $SEMVER_BRANCH = PR-586 [2020-09-22T18:45:45.682Z] # $SEMVER_TEMP = /tmp/semver-076282369 [2020-09-22T18:45:45.682Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-22T18:45:46.274Z] # '/tmp/semver-076282369' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver' [2020-09-22T18:45:46.274Z] # -> Force: false [2020-09-22T18:45:46.274Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver [Pipeline] } [2020-09-22T18:45:46.289Z] $ docker exec --env ******** --env ******** 775f7d266f9fa2d8b7594221105a458186cfdf3e56efd3fac6d28737a974e0f9 ssh-agent -k [2020-09-22T18:45:46.446Z] unset SSH_AUTH_SOCK; [2020-09-22T18:45:46.447Z] unset SSH_AGENT_PID; [2020-09-22T18:45:46.447Z] echo Agent pid 54 killed; [2020-09-22T18:45:46.504Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T18:45:46.977Z] + git semver [Pipeline] } [2020-09-22T18:45:46.998Z] $ docker stop --time=1 775f7d266f9fa2d8b7594221105a458186cfdf3e56efd3fac6d28737a974e0f9 [2020-09-22T18:45:48.437Z] $ docker rm -f 775f7d266f9fa2d8b7594221105a458186cfdf3e56efd3fac6d28737a974e0f9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-22T18:45:49.412Z] Stashed 39 file(s) [Pipeline] echo [2020-09-22T18:45:49.414Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-22T18:45:49.508Z] Archived original 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-09-22T18:46:04.917Z] Still waiting to schedule task [2020-09-22T18:46:04.917Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-22T18:46:04.919Z] Still waiting to schedule task [2020-09-22T18:46:04.919Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-906’ is offline [2020-09-22T18:47:34.616Z] Running on prd-centos7-docker-4c-2g-915 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws [2020-09-22T18:47:34.672Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-09-22T18:47:37.697Z] using credential edgex-jenkins-ssh [2020-09-22T18:47:37.756Z] Cloning the remote Git repository [2020-09-22T18:47:37.756Z] Cloning with configured refspecs honoured and without tags [2020-09-22T18:47:37.794Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:47:37.860Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-09-22T18:47:37.902Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:47:37.902Z] > git --version # timeout=10 [2020-09-22T18:47:37.911Z] > git --version # 'git version 2.16.5' [2020-09-22T18:47:37.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:47:37.940Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:47:39.140Z] Fetching without tags [2020-09-22T18:47:39.105Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:47:39.115Z] > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 [2020-09-22T18:47:39.121Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:47:39.136Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:47:39.147Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:47:39.148Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:47:39.154Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:47:39.659Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb [2020-09-22T18:47:39.794Z] Merge succeeded, producing 7623f80c7cfb24e8193e8c8ddc2b8413dfd5d8d6 [2020-09-22T18:47:39.795Z] Checking out Revision 7623f80c7cfb24e8193e8c8ddc2b8413dfd5d8d6 (PR-586) [2020-09-22T18:47:39.670Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:47:39.683Z] > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 [2020-09-22T18:47:39.737Z] > git remote # timeout=10 [2020-09-22T18:47:39.744Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T18:47:39.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:47:39.755Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-22T18:47:39.789Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T18:47:39.800Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:47:39.805Z] > git checkout -f 7623f80c7cfb24e8193e8c8ddc2b8413dfd5d8d6 # timeout=10 [2020-09-22T18:47:43.533Z] Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" [2020-09-22T18:47:43.545Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T18:47:44.551Z] ========================================================= [2020-09-22T18:47:44.551Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-22T18:47:44.551Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:47:43.539Z] > git rev-list --no-walk b984de18a70b0e1eeec19856df0f8a760ba1e0e2 # timeout=10 [2020-09-22T18:47:45.287Z] + 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-09-22T18:47:45.554Z] Sending build context to Docker daemon 3.175MB [2020-09-22T18:47:45.554Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T18:47:45.554Z] Step 2/8 : FROM ${BASE} [2020-09-22T18:47:45.823Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-22T18:47:45.823Z] df20fa9351a1: Pulling fs layer [2020-09-22T18:47:45.824Z] ed8968b2872e: Pulling fs layer [2020-09-22T18:47:45.824Z] a92cc7c5fd73: Pulling fs layer [2020-09-22T18:47:45.824Z] e871e8e8d7a9: Pulling fs layer [2020-09-22T18:47:45.824Z] e73272ec9a57: Pulling fs layer [2020-09-22T18:47:45.824Z] 1e910a182e73: Pulling fs layer [2020-09-22T18:47:45.824Z] 4e634b169226: Pulling fs layer [2020-09-22T18:47:45.824Z] e73272ec9a57: Waiting [2020-09-22T18:47:45.824Z] 4e634b169226: Waiting [2020-09-22T18:47:45.824Z] 1e910a182e73: Waiting [2020-09-22T18:47:45.824Z] e871e8e8d7a9: Waiting [2020-09-22T18:47:45.824Z] a92cc7c5fd73: Verifying Checksum [2020-09-22T18:47:45.824Z] a92cc7c5fd73: Download complete [2020-09-22T18:47:45.824Z] ed8968b2872e: Verifying Checksum [2020-09-22T18:47:45.824Z] ed8968b2872e: Download complete [2020-09-22T18:47:45.824Z] e73272ec9a57: Verifying Checksum [2020-09-22T18:47:45.824Z] e73272ec9a57: Download complete [2020-09-22T18:47:45.824Z] 1e910a182e73: Verifying Checksum [2020-09-22T18:47:45.824Z] 1e910a182e73: Download complete [2020-09-22T18:47:45.824Z] df20fa9351a1: Verifying Checksum [2020-09-22T18:47:45.824Z] df20fa9351a1: Download complete [2020-09-22T18:47:46.091Z] df20fa9351a1: Pull complete [2020-09-22T18:47:46.362Z] ed8968b2872e: Pull complete [2020-09-22T18:47:46.362Z] a92cc7c5fd73: Pull complete [2020-09-22T18:47:47.774Z] 4e634b169226: Verifying Checksum [2020-09-22T18:47:47.774Z] 4e634b169226: Download complete [2020-09-22T18:47:48.356Z] e871e8e8d7a9: Download complete [2020-09-22T18:47:53.772Z] e871e8e8d7a9: Pull complete [2020-09-22T18:47:53.773Z] e73272ec9a57: Pull complete [2020-09-22T18:47:53.773Z] 1e910a182e73: Pull complete [2020-09-22T18:48:01.951Z] 4e634b169226: Pull complete [2020-09-22T18:48:01.951Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-22T18:48:01.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-22T18:48:01.951Z] ---> f7629b54cfaa [2020-09-22T18:48:01.951Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:48:01.951Z] ---> Running in c1ede6105fda [2020-09-22T18:48:02.216Z] Removing intermediate container c1ede6105fda [2020-09-22T18:48:02.216Z] ---> 67e06833ce20 [2020-09-22T18:48:02.216Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:48:02.216Z] ---> Running in ad07844ca965 [2020-09-22T18:48:03.628Z] Removing intermediate container ad07844ca965 [2020-09-22T18:48:03.628Z] ---> 8ef85fe16472 [2020-09-22T18:48:03.628Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-22T18:48:03.628Z] ---> Running in a33a083f41b0 [2020-09-22T18:48:04.587Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T18:48:05.165Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T18:48:06.115Z] OK: 166 MiB in 39 packages [2020-09-22T18:48:06.379Z] Removing intermediate container a33a083f41b0 [2020-09-22T18:48:06.379Z] ---> c4933e9cb422 [2020-09-22T18:48:06.379Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-22T18:48:06.379Z] ---> Running in 04f8f44ca902 [2020-09-22T18:48:06.646Z] Removing intermediate container 04f8f44ca902 [2020-09-22T18:48:06.646Z] ---> 16e114c6cdd6 [2020-09-22T18:48:06.646Z] Step 7/8 : COPY . . [2020-09-22T18:48:07.598Z] ---> 651cb9ac879e [2020-09-22T18:48:07.598Z] Step 8/8 : RUN go mod download [2020-09-22T18:48:07.598Z] ---> Running in 4954aa428810 [2020-09-22T18:48:19.898Z] Removing intermediate container 4954aa428810 [2020-09-22T18:48:19.898Z] ---> 5bdf93b2381a [2020-09-22T18:48:19.898Z] Successfully built 5bdf93b2381a [2020-09-22T18:48:19.898Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:48:20.261Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T18:48:20.261Z] . [Pipeline] withDockerContainer [2020-09-22T18:48:20.388Z] prd-centos7-docker-4c-2g-915 does not seem to be running inside a container [2020-09-22T18:48:20.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** ci-base-image-x86_64 cat [2020-09-22T18:48:21.617Z] $ docker top b27fdbeef16ae294525ff7a51484eebbf7804c24fc9574423c4d17d65d88ff54 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:48:22.179Z] + go version [2020-09-22T18:48:22.179Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-22T18:48:22.195Z] $ docker stop --time=1 b27fdbeef16ae294525ff7a51484eebbf7804c24fc9574423c4d17d65d88ff54 [2020-09-22T18:48:23.566Z] $ docker rm -f b27fdbeef16ae294525ff7a51484eebbf7804c24fc9574423c4d17d65d88ff54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:48:24.546Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T18:48:24.546Z] . [Pipeline] withDockerContainer [2020-09-22T18:48:24.805Z] prd-centos7-docker-4c-2g-915 does not seem to be running inside a container [2020-09-22T18:48:24.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** ci-base-image-x86_64 cat [2020-09-22T18:48:25.623Z] $ docker top 14cf7dcd88cbb06d1a0cd1155cef51f77d64ca76adc4dbe8fad734aef2ebcba6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:48:26.185Z] + make test [2020-09-22T18:48:26.185Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-22T18:48:34.446Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-22T18:48:46.792Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-22T18:48:46.792Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-22T18:48:46.792Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-22T18:48:48.227Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.040s coverage: 21.9% of statements [2020-09-22T18:48:49.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.424s coverage: 95.7% of statements [2020-09-22T18:49:04.951Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-920 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws [2020-09-22T18:49:05.005Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-09-22T18:49:09.513Z] using credential edgex-jenkins-ssh [2020-09-22T18:49:09.582Z] Cloning the remote Git repository [2020-09-22T18:49:09.582Z] Cloning with configured refspecs honoured and without tags [2020-09-22T18:49:09.633Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:49:09.770Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-09-22T18:49:09.829Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:49:09.830Z] > git --version # timeout=10 [2020-09-22T18:49:09.847Z] > git --version # 'git version 2.17.1' [2020-09-22T18:49:09.848Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:49:09.918Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:49:10.925Z] Fetching without tags [2020-09-22T18:49:10.851Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:49:10.865Z] > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 [2020-09-22T18:49:10.884Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:49:10.905Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:49:10.934Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:49:10.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:49:10.946Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:49:11.359Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb [2020-09-22T18:49:11.643Z] Merge succeeded, producing d498366ef79500beeda7e9eed6c72d9675b018bc [2020-09-22T18:49:11.643Z] Checking out Revision d498366ef79500beeda7e9eed6c72d9675b018bc (PR-586) [2020-09-22T18:49:11.378Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:49:11.392Z] > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 [2020-09-22T18:49:11.498Z] > git remote # timeout=10 [2020-09-22T18:49:11.514Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T18:49:11.526Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:49:11.539Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-22T18:49:11.629Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T18:49:11.648Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:49:11.665Z] > git checkout -f d498366ef79500beeda7e9eed6c72d9675b018bc # timeout=10 [2020-09-22T18:49:15.952Z] Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" [2020-09-22T18:49:15.988Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-22T18:49:15.962Z] > git rev-list --no-walk b984de18a70b0e1eeec19856df0f8a760ba1e0e2 # timeout=10 [Pipeline] echo [2020-09-22T18:49:17.115Z] ========================================================= [2020-09-22T18:49:17.115Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-22T18:49:17.115Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:49:18.204Z] + 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-09-22T18:49:19.215Z] Sending build context to Docker daemon 3.175MB [2020-09-22T18:49:19.215Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T18:49:19.215Z] Step 2/8 : FROM ${BASE} [2020-09-22T18:49:19.215Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-22T18:49:19.215Z] b538f80385f9: Pulling fs layer [2020-09-22T18:49:19.215Z] 74f711af9a0d: Pulling fs layer [2020-09-22T18:49:19.215Z] 99f96fe45779: Pulling fs layer [2020-09-22T18:49:19.215Z] 8529a6b9a6be: Pulling fs layer [2020-09-22T18:49:19.215Z] 45590311c82a: Pulling fs layer [2020-09-22T18:49:19.215Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-22T18:49:19.215Z] 209524e5b208: Pulling fs layer [2020-09-22T18:49:19.215Z] 45590311c82a: Waiting [2020-09-22T18:49:19.215Z] 69ca0ff8b7b3: Waiting [2020-09-22T18:49:19.215Z] 209524e5b208: Waiting [2020-09-22T18:49:19.215Z] 8529a6b9a6be: Waiting [2020-09-22T18:49:19.492Z] 99f96fe45779: Verifying Checksum [2020-09-22T18:49:19.492Z] 99f96fe45779: Download complete [2020-09-22T18:49:19.492Z] 74f711af9a0d: Verifying Checksum [2020-09-22T18:49:19.492Z] 74f711af9a0d: Download complete [2020-09-22T18:49:19.492Z] 45590311c82a: Verifying Checksum [2020-09-22T18:49:19.492Z] 45590311c82a: Download complete [2020-09-22T18:49:19.492Z] 69ca0ff8b7b3: Download complete [2020-09-22T18:49:19.492Z] b538f80385f9: Verifying Checksum [2020-09-22T18:49:19.492Z] b538f80385f9: Download complete [2020-09-22T18:49:20.089Z] b538f80385f9: Pull complete [2020-09-22T18:49:21.069Z] 74f711af9a0d: Pull complete [2020-09-22T18:49:21.069Z] 99f96fe45779: Pull complete [2020-09-22T18:49:21.836Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.033s coverage: 8.6% of statements [2020-09-22T18:49:21.836Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.035s coverage: 21.7% of statements [2020-09-22T18:49:21.836Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-22T18:49:21.836Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.177s coverage: 37.0% of statements [2020-09-22T18:49:21.836Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-22T18:49:21.836Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.289s coverage: 65.4% of statements [2020-09-22T18:49:21.836Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-22T18:49:21.836Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-22T18:49:21.836Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-22T18:49:21.836Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 52.6% of statements [2020-09-22T18:49:21.836Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.371s coverage: 68.9% of statements [2020-09-22T18:49:21.836Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-22T18:49:21.836Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-22T18:49:21.836Z] GO111MODULE=on go vet ./... [2020-09-22T18:49:22.049Z] 209524e5b208: Verifying Checksum [2020-09-22T18:49:22.049Z] 209524e5b208: Download complete [2020-09-22T18:49:23.026Z] 8529a6b9a6be: Verifying Checksum [2020-09-22T18:49:23.026Z] 8529a6b9a6be: Download complete [2020-09-22T18:49:28.554Z] gofmt -l . [2020-09-22T18:49:28.554Z] [ "`gofmt -l .`" = "" ] [2020-09-22T18:49:28.554Z] ./bin/test-attribution-txt.sh [2020-09-22T18:49:29.133Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-22T18:49:29.796Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T18:49:29.807Z] $ docker stop --time=1 14cf7dcd88cbb06d1a0cd1155cef51f77d64ca76adc4dbe8fad734aef2ebcba6 [2020-09-22T18:49:31.717Z] $ docker rm -f 14cf7dcd88cbb06d1a0cd1155cef51f77d64ca76adc4dbe8fad734aef2ebcba6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T18:49:33.186Z] 8529a6b9a6be: Pull complete [2020-09-22T18:49:33.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T18:49:33.460Z] 45590311c82a: Pull complete [2020-09-22T18:49:33.666Z] + ls -al . [2020-09-22T18:49:33.666Z] total 188 [2020-09-22T18:49:33.666Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 22 18:49 . [2020-09-22T18:49:33.666Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 22 18:47 .. [2020-09-22T18:49:33.666Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 18:47 bin [2020-09-22T18:49:33.666Z] -rw-r--r--. 1 jenkins jenkins 111696 Sep 22 18:49 coverage.out [2020-09-22T18:49:33.666Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 22 18:47 Dockerfile.build [2020-09-22T18:49:33.666Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 22 18:47 .dockerignore [2020-09-22T18:49:33.666Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 22 18:47 example [2020-09-22T18:49:33.666Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 22 18:47 .git [2020-09-22T18:49:33.666Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 22 18:47 .github [2020-09-22T18:49:33.666Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 22 18:47 .gitignore [2020-09-22T18:49:33.666Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 22 18:49 go.mod [2020-09-22T18:49:33.666Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 22 18:49 go.sum [2020-09-22T18:49:33.666Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 22 18:47 internal [2020-09-22T18:49:33.666Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 22 18:47 Jenkinsfile [2020-09-22T18:49:33.666Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 22 18:47 LICENSE [2020-09-22T18:49:33.666Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 22 18:47 Makefile [2020-09-22T18:49:33.666Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 22 18:47 openapi [2020-09-22T18:49:33.666Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 22 18:47 pkg [2020-09-22T18:49:33.666Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 22 18:47 README.md [2020-09-22T18:49:33.666Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 22 18:47 RELEASE-NOTES.txt [2020-09-22T18:49:33.666Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 22 18:47 .semver [2020-09-22T18:49:33.666Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 22 18:47 snap [2020-09-22T18:49:33.666Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 22 18:45 VERSION [2020-09-22T18:49:33.666Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 22 18:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:49:33.737Z] 69ca0ff8b7b3: Pull complete [2020-09-22T18:49:33.990Z] + 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=650fd38f9bdac668c980b4b4172ffcace48dc8ad --label arch=amd64 --label version=0.0.0 . [2020-09-22T18:49:34.260Z] Sending build context to Docker daemon 3.289MB [2020-09-22T18:49:34.260Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-22T18:49:34.260Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-22T18:49:34.260Z] ---> 5bdf93b2381a [2020-09-22T18:49:34.260Z] Step 3/24 : ARG MAKE='make build' [2020-09-22T18:49:34.523Z] ---> Running in a2910b3bfc18 [2020-09-22T18:49:34.791Z] Removing intermediate container a2910b3bfc18 [2020-09-22T18:49:34.791Z] ---> 32b9b46db1db [2020-09-22T18:49:34.791Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-22T18:49:34.791Z] ---> Running in b97f61139cf9 [2020-09-22T18:49:35.056Z] Removing intermediate container b97f61139cf9 [2020-09-22T18:49:35.056Z] ---> f12b3da6d835 [2020-09-22T18:49:35.056Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:49:35.056Z] ---> Running in aab5052f8fb2 [2020-09-22T18:49:35.325Z] Removing intermediate container aab5052f8fb2 [2020-09-22T18:49:35.325Z] ---> 4b14b2092544 [2020-09-22T18:49:35.325Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:49:35.325Z] ---> Running in 0602a5e575a4 [2020-09-22T18:49:36.286Z] Removing intermediate container 0602a5e575a4 [2020-09-22T18:49:36.286Z] ---> e31e588eaed7 [2020-09-22T18:49:36.286Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-22T18:49:36.553Z] ---> Running in 8e2d57566eb5 [2020-09-22T18:49:37.140Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T18:49:38.095Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T18:49:38.188Z] 209524e5b208: Pull complete [2020-09-22T18:49:38.188Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-22T18:49:38.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-22T18:49:38.188Z] ---> 5bddaf1c2fca [2020-09-22T18:49:38.188Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:49:39.052Z] OK: 166 MiB in 39 packages [2020-09-22T18:49:39.315Z] Removing intermediate container 8e2d57566eb5 [2020-09-22T18:49:39.315Z] ---> 23b9024b7916 [2020-09-22T18:49:39.315Z] Step 8/24 : COPY . . [2020-09-22T18:49:40.168Z] ---> Running in 8199bd69cf63 [2020-09-22T18:49:40.267Z] ---> b909ce74dbe5 [2020-09-22T18:49:40.267Z] Step 9/24 : RUN ${MAKE} [2020-09-22T18:49:40.267Z] ---> Running in deaacb8de91b [2020-09-22T18:49:40.769Z] Removing intermediate container 8199bd69cf63 [2020-09-22T18:49:40.769Z] ---> 33d07c19812a [2020-09-22T18:49:40.769Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:49:40.769Z] ---> Running in 9b845c1f11d4 [2020-09-22T18:49:40.867Z] 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-09-22T18:49:43.407Z] Removing intermediate container 9b845c1f11d4 [2020-09-22T18:49:43.407Z] ---> 07336d873ff6 [2020-09-22T18:49:43.407Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-22T18:49:43.689Z] ---> Running in 233570d49c58 [2020-09-22T18:49:45.125Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T18:49:45.719Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T18:49:46.703Z] OK: 142 MiB in 39 packages [2020-09-22T18:49:48.139Z] Removing intermediate container 233570d49c58 [2020-09-22T18:49:48.139Z] ---> 9746ad2e6db5 [2020-09-22T18:49:48.139Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-22T18:49:48.139Z] ---> Running in a67687283d79 [2020-09-22T18:49:48.416Z] Removing intermediate container a67687283d79 [2020-09-22T18:49:48.416Z] ---> 7a896f131bb7 [2020-09-22T18:49:48.416Z] Step 7/8 : COPY . . [2020-09-22T18:49:49.858Z] ---> d4732149a246 [2020-09-22T18:49:49.858Z] Step 8/8 : RUN go mod download [2020-09-22T18:49:49.858Z] ---> Running in 02176a26853c [2020-09-22T18:49:51.066Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-22T18:49:52.018Z] Removing intermediate container deaacb8de91b [2020-09-22T18:49:52.018Z] ---> 7442c6aa26c5 [2020-09-22T18:49:52.018Z] Step 10/24 : FROM scratch [2020-09-22T18:49:52.018Z] ---> [2020-09-22T18:49:52.018Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:49:52.018Z] ---> Running in 2360cfda7d40 [2020-09-22T18:49:52.018Z] Removing intermediate container 2360cfda7d40 [2020-09-22T18:49:52.018Z] ---> 9de81b1c3195 [2020-09-22T18:49:52.018Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-22T18:49:52.281Z] ---> Running in 86c22b89749e [2020-09-22T18:49:52.281Z] Removing intermediate container 86c22b89749e [2020-09-22T18:49:52.281Z] ---> e9cf153f9093 [2020-09-22T18:49:52.281Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-22T18:49:52.281Z] ---> Running in f38e45e39ccb [2020-09-22T18:49:52.546Z] Removing intermediate container f38e45e39ccb [2020-09-22T18:49:52.546Z] ---> 567e962fd58d [2020-09-22T18:49:52.546Z] Step 14/24 : WORKDIR / [2020-09-22T18:49:52.546Z] ---> Running in 12c3aad63932 [2020-09-22T18:49:52.813Z] Removing intermediate container 12c3aad63932 [2020-09-22T18:49:52.813Z] ---> 37c9a31c1e30 [2020-09-22T18:49:52.813Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-22T18:49:53.407Z] ---> f6744ccbee44 [2020-09-22T18:49:53.407Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-22T18:49:53.407Z] ---> aabbdf0258f0 [2020-09-22T18:49:53.407Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-22T18:49:53.673Z] ---> cff8c5fb4459 [2020-09-22T18:49:53.673Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-22T18:49:54.250Z] ---> a467a12b1084 [2020-09-22T18:49:54.250Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-22T18:49:54.250Z] ---> 2d851dc7a86e [2020-09-22T18:49:54.250Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-22T18:49:54.512Z] ---> Running in 108de93d4309 [2020-09-22T18:49:54.512Z] Removing intermediate container 108de93d4309 [2020-09-22T18:49:54.512Z] ---> 13196d5c92a0 [2020-09-22T18:49:54.512Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-22T18:49:54.512Z] ---> Running in e6b503c4ad2c [2020-09-22T18:49:54.777Z] Removing intermediate container e6b503c4ad2c [2020-09-22T18:49:54.777Z] ---> e51659c39484 [2020-09-22T18:49:54.777Z] Step 22/24 : LABEL arch=amd64 [2020-09-22T18:49:54.777Z] ---> Running in 789ed211cb70 [2020-09-22T18:49:55.040Z] Removing intermediate container 789ed211cb70 [2020-09-22T18:49:55.040Z] ---> f96cd0880757 [2020-09-22T18:49:55.040Z] Step 23/24 : LABEL git_sha=650fd38f9bdac668c980b4b4172ffcace48dc8ad [2020-09-22T18:49:55.040Z] ---> Running in dbf52c1ccb49 [2020-09-22T18:49:55.302Z] Removing intermediate container dbf52c1ccb49 [2020-09-22T18:49:55.302Z] ---> 07ca25da243a [2020-09-22T18:49:55.302Z] Step 24/24 : LABEL version=0.0.0 [2020-09-22T18:49:55.302Z] ---> Running in 1a8fc04b94b6 [2020-09-22T18:49:55.302Z] Removing intermediate container 1a8fc04b94b6 [2020-09-22T18:49:55.302Z] ---> 31afb2ab2a23 [2020-09-22T18:49:55.302Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T18:49:55.567Z] Successfully built 31afb2ab2a23 [2020-09-22T18:49:55.567Z] Successfully tagged docker-device-sdk-simple: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] } [2020-09-22T18:50:05.006Z] Removing intermediate container 02176a26853c [2020-09-22T18:50:05.006Z] ---> 9fa0fb8059b0 [2020-09-22T18:50:05.006Z] Successfully built 9fa0fb8059b0 [2020-09-22T18:50:05.006Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:50:05.420Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T18:50:05.420Z] . [Pipeline] withDockerContainer [2020-09-22T18:50:05.678Z] prd-ubuntu18.04-docker-arm64-4c-16g-920 does not seem to be running inside a container [2020-09-22T18:50:05.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** ci-base-image-arm64 cat [2020-09-22T18:50:07.620Z] $ docker top 0ffbe04888b4ebe9009b3b3f651ebf6d63befd87a2be86154ff4a097f70ca208 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:50:09.037Z] + go version [2020-09-22T18:50:09.037Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-22T18:50:09.070Z] $ docker stop --time=1 0ffbe04888b4ebe9009b3b3f651ebf6d63befd87a2be86154ff4a097f70ca208 [2020-09-22T18:50:11.325Z] $ docker rm -f 0ffbe04888b4ebe9009b3b3f651ebf6d63befd87a2be86154ff4a097f70ca208 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:50:12.447Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T18:50:12.447Z] . [Pipeline] withDockerContainer [2020-09-22T18:50:12.707Z] prd-ubuntu18.04-docker-arm64-4c-16g-920 does not seem to be running inside a container [2020-09-22T18:50:12.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** ci-base-image-arm64 cat [2020-09-22T18:50:14.758Z] $ docker top c1c31545d42f6d519a5c6dafd8c166ee2f3bd16e318a1457335cfef8b4ad83be -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:50:16.196Z] + make test [2020-09-22T18:50:16.196Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-22T18:50:38.389Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-22T18:51:17.439Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-22T18:51:17.439Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-22T18:51:17.439Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-22T18:51:17.439Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.075s coverage: 21.9% of statements [2020-09-22T18:51:17.439Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.233s coverage: 95.7% of statements [2020-09-22T18:51:49.775Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 8.6% of statements [2020-09-22T18:51:49.775Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.043s coverage: 21.7% of statements [2020-09-22T18:51:49.775Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-22T18:51:49.775Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.471s coverage: 37.0% of statements [2020-09-22T18:51:49.775Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-22T18:51:49.775Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.684s coverage: 65.4% of statements [2020-09-22T18:51:49.775Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-22T18:51:49.775Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-22T18:51:49.775Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-22T18:51:49.775Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.141s coverage: 52.6% of statements [2020-09-22T18:51:49.775Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.621s coverage: 68.9% of statements [2020-09-22T18:51:49.775Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-22T18:51:49.775Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-22T18:51:49.775Z] GO111MODULE=on go vet ./... [2020-09-22T18:52:16.720Z] gofmt -l . [2020-09-22T18:52:16.720Z] [ "`gofmt -l .`" = "" ] [2020-09-22T18:52:16.720Z] ./bin/test-attribution-txt.sh [2020-09-22T18:52:16.720Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-22T18:52:16.743Z] Warning: overwriting stash ‘coverage-report’ [2020-09-22T18:52:17.471Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T18:52:17.496Z] $ docker stop --time=1 c1c31545d42f6d519a5c6dafd8c166ee2f3bd16e318a1457335cfef8b4ad83be [2020-09-22T18:52:19.503Z] $ docker rm -f c1c31545d42f6d519a5c6dafd8c166ee2f3bd16e318a1457335cfef8b4ad83be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T18:52:21.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T18:52:21.414Z] + ls -al . [2020-09-22T18:52:21.414Z] total 228 [2020-09-22T18:52:21.414Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 18:52 . [2020-09-22T18:52:21.414Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:49 .. [2020-09-22T18:52:21.414Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 18:49 .dockerignore [2020-09-22T18:52:21.414Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 18:49 .git [2020-09-22T18:52:21.414Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 18:49 .github [2020-09-22T18:52:21.414Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 22 18:49 .gitignore [2020-09-22T18:52:21.414Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 18:49 .semver [2020-09-22T18:52:21.414Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 22 18:49 Dockerfile.build [2020-09-22T18:52:21.414Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 22 18:49 Jenkinsfile [2020-09-22T18:52:21.414Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 18:49 LICENSE [2020-09-22T18:52:21.414Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 22 18:49 Makefile [2020-09-22T18:52:21.414Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 22 18:49 README.md [2020-09-22T18:52:21.414Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 22 18:49 RELEASE-NOTES.txt [2020-09-22T18:52:21.414Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 18:45 VERSION [2020-09-22T18:52:21.414Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 18:49 bin [2020-09-22T18:52:21.414Z] -rw-r--r-- 1 jenkins jenkins 111696 Sep 22 18:51 coverage.out [2020-09-22T18:52:21.414Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:49 example [2020-09-22T18:52:21.414Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 22 18:52 go.mod [2020-09-22T18:52:21.414Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 22 18:52 go.sum [2020-09-22T18:52:21.414Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 22 18:49 internal [2020-09-22T18:52:21.414Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:49 openapi [2020-09-22T18:52:21.414Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 18:49 pkg [2020-09-22T18:52:21.414Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:49 snap [2020-09-22T18:52:21.414Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 18:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:52:21.785Z] + 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=650fd38f9bdac668c980b4b4172ffcace48dc8ad --label arch=arm64 --label version=0.0.0 . [2020-09-22T18:52:22.381Z] Sending build context to Docker daemon 3.289MB [2020-09-22T18:52:22.381Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-22T18:52:22.381Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-22T18:52:22.381Z] ---> 9fa0fb8059b0 [2020-09-22T18:52:22.381Z] Step 3/24 : ARG MAKE='make build' [2020-09-22T18:52:22.653Z] ---> Running in 7a20f01b26f2 [2020-09-22T18:52:22.925Z] Removing intermediate container 7a20f01b26f2 [2020-09-22T18:52:22.925Z] ---> db42a01ade32 [2020-09-22T18:52:22.925Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-22T18:52:23.198Z] ---> Running in 0eb595010ca7 [2020-09-22T18:52:23.794Z] Removing intermediate container 0eb595010ca7 [2020-09-22T18:52:23.794Z] ---> 3babfc802845 [2020-09-22T18:52:23.794Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:52:23.794Z] ---> Running in 66c30cca7ea2 [2020-09-22T18:52:24.067Z] Removing intermediate container 66c30cca7ea2 [2020-09-22T18:52:24.067Z] ---> c0ab57c9f9a4 [2020-09-22T18:52:24.067Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:52:24.339Z] ---> Running in 128a3a9cc037 [2020-09-22T18:52:26.975Z] Removing intermediate container 128a3a9cc037 [2020-09-22T18:52:26.975Z] ---> 29666a24932e [2020-09-22T18:52:26.975Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-22T18:52:26.975Z] ---> Running in 3c1f894a52d1 [2020-09-22T18:52:28.416Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T18:52:29.012Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T18:52:29.997Z] OK: 142 MiB in 39 packages [2020-09-22T18:52:30.978Z] Removing intermediate container 3c1f894a52d1 [2020-09-22T18:52:30.978Z] ---> eea2f66ac370 [2020-09-22T18:52:30.978Z] Step 8/24 : COPY . . [2020-09-22T18:52:31.960Z] ---> 2ba79c56976d [2020-09-22T18:52:31.960Z] Step 9/24 : RUN ${MAKE} [2020-09-22T18:52:32.233Z] ---> Running in d1d3b483a41d [2020-09-22T18:52:33.675Z] 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-09-22T18:52:55.859Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-22T18:52:57.854Z] Removing intermediate container d1d3b483a41d [2020-09-22T18:52:57.854Z] ---> c44dc0719603 [2020-09-22T18:52:57.854Z] Step 10/24 : FROM scratch [2020-09-22T18:52:57.854Z] ---> [2020-09-22T18:52:57.854Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:52:57.854Z] ---> Running in 6a6c153b975a [2020-09-22T18:52:58.451Z] Removing intermediate container 6a6c153b975a [2020-09-22T18:52:58.451Z] ---> 08e345706b7c [2020-09-22T18:52:58.451Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-22T18:52:58.451Z] ---> Running in 6dca6ed363e4 [2020-09-22T18:52:58.721Z] Removing intermediate container 6dca6ed363e4 [2020-09-22T18:52:58.722Z] ---> 799e6af3554b [2020-09-22T18:52:58.722Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-22T18:52:58.996Z] ---> Running in f1d6f7d1902b [2020-09-22T18:52:59.274Z] Removing intermediate container f1d6f7d1902b [2020-09-22T18:52:59.274Z] ---> 2aafb0d7cc29 [2020-09-22T18:52:59.274Z] Step 14/24 : WORKDIR / [2020-09-22T18:52:59.551Z] ---> Running in b2a613725cdb [2020-09-22T18:53:00.149Z] Removing intermediate container b2a613725cdb [2020-09-22T18:53:00.149Z] ---> f4aa75a8e079 [2020-09-22T18:53:00.149Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-22T18:53:01.134Z] ---> 27bdcf3898ee [2020-09-22T18:53:01.134Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-22T18:53:01.755Z] ---> 0d365bfba43c [2020-09-22T18:53:01.755Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-22T18:53:02.730Z] ---> fac27a589e52 [2020-09-22T18:53:02.730Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-22T18:53:03.322Z] ---> b0602b6ce4b9 [2020-09-22T18:53:03.322Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-22T18:53:03.916Z] ---> 82bf413bc49e [2020-09-22T18:53:03.916Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-22T18:53:04.191Z] ---> Running in c907e354826e [2020-09-22T18:53:04.460Z] Removing intermediate container c907e354826e [2020-09-22T18:53:04.460Z] ---> fd0d6662ae75 [2020-09-22T18:53:04.460Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-22T18:53:04.730Z] ---> Running in 200fb41ed233 [2020-09-22T18:53:05.002Z] Removing intermediate container 200fb41ed233 [2020-09-22T18:53:05.002Z] ---> e3b6d7991830 [2020-09-22T18:53:05.002Z] Step 22/24 : LABEL arch=arm64 [2020-09-22T18:53:05.275Z] ---> Running in b0b5a874f5f5 [2020-09-22T18:53:05.547Z] Removing intermediate container b0b5a874f5f5 [2020-09-22T18:53:05.547Z] ---> 4baaaeca7f53 [2020-09-22T18:53:05.547Z] Step 23/24 : LABEL git_sha=650fd38f9bdac668c980b4b4172ffcace48dc8ad [2020-09-22T18:53:05.820Z] ---> Running in f36a56537929 [2020-09-22T18:53:06.093Z] Removing intermediate container f36a56537929 [2020-09-22T18:53:06.093Z] ---> 33b4e2e65b86 [2020-09-22T18:53:06.093Z] Step 24/24 : LABEL version=0.0.0 [2020-09-22T18:53:06.368Z] ---> Running in d340c9975a18 [2020-09-22T18:53:06.642Z] Removing intermediate container d340c9975a18 [2020-09-22T18:53:06.642Z] ---> 65ad0ceb1db3 [2020-09-22T18:53:06.642Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T18:53:06.642Z] Successfully built 65ad0ceb1db3 [2020-09-22T18:53:06.912Z] 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-09-22T18:53:08.706Z] provisioning config files... [2020-09-22T18:53:08.719Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config657130696628577897tmp [Pipeline] { [Pipeline] sh [2020-09-22T18:53:09.093Z] + curl -s https://codecov.io/bash [2020-09-22T18:53:09.093Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config657130696628577897tmp [Pipeline] } [2020-09-22T18:53:09.371Z] 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] { (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-09-22T18:53:11.847Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:53:12.440Z] ---> package-listing.sh [2020-09-22T18:53:12.441Z] ++ facter osfamily [2020-09-22T18:53:12.441Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-22T18:53:12.441Z] + OS_FAMILY=redhat [2020-09-22T18:53:12.441Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-586 [2020-09-22T18:53:12.441Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-22T18:53:12.441Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-22T18:53:12.441Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-22T18:53:12.441Z] + PACKAGES=/tmp/packages_start.txt [2020-09-22T18:53:12.441Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' [2020-09-22T18:53:12.441Z] + PACKAGES=/tmp/packages_end.txt [2020-09-22T18:53:12.441Z] + case "${OS_FAMILY}" in [2020-09-22T18:53:12.441Z] + rpm -qa [2020-09-22T18:53:12.441Z] + sort [2020-09-22T18:53:16.675Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-22T18:53:16.675Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-22T18:53:16.675Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-22T18:53:16.675Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' [2020-09-22T18:53:16.675Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ [2020-09-22T18:53:16.675Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:53:17.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:53:17.174Z] [2020-09-22T18:53:17.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:53:17.538Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:53:17.538Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-22T18:53:17.538Z] df20fa9351a1: Pulling fs layer [2020-09-22T18:53:17.538Z] 36b3adc4ff6f: Pulling fs layer [2020-09-22T18:53:17.538Z] 8ad3a11d3b57: Pulling fs layer [2020-09-22T18:53:17.538Z] 46f8f816bc3b: Pulling fs layer [2020-09-22T18:53:17.538Z] 0dadc02b9964: Pulling fs layer [2020-09-22T18:53:17.538Z] ce6a7cf60c04: Pulling fs layer [2020-09-22T18:53:17.538Z] 7a184a31f384: Pulling fs layer [2020-09-22T18:53:17.538Z] 0879bd2ef858: Pulling fs layer [2020-09-22T18:53:17.538Z] 46f8f816bc3b: Waiting [2020-09-22T18:53:17.538Z] 0dadc02b9964: Waiting [2020-09-22T18:53:17.538Z] ce6a7cf60c04: Waiting [2020-09-22T18:53:17.538Z] 7a184a31f384: Waiting [2020-09-22T18:53:17.538Z] 0879bd2ef858: Waiting [2020-09-22T18:53:17.538Z] 36b3adc4ff6f: Verifying Checksum [2020-09-22T18:53:17.538Z] 36b3adc4ff6f: Download complete [2020-09-22T18:53:17.538Z] 46f8f816bc3b: Download complete [2020-09-22T18:53:17.806Z] 0dadc02b9964: Verifying Checksum [2020-09-22T18:53:17.806Z] 0dadc02b9964: Download complete [2020-09-22T18:53:17.806Z] df20fa9351a1: Download complete [2020-09-22T18:53:17.806Z] ce6a7cf60c04: Verifying Checksum [2020-09-22T18:53:17.806Z] ce6a7cf60c04: Download complete [2020-09-22T18:53:17.806Z] 7a184a31f384: Verifying Checksum [2020-09-22T18:53:17.806Z] 7a184a31f384: Download complete [2020-09-22T18:53:17.806Z] 8ad3a11d3b57: Verifying Checksum [2020-09-22T18:53:17.806Z] 8ad3a11d3b57: Download complete [2020-09-22T18:53:18.093Z] df20fa9351a1: Pull complete [2020-09-22T18:53:18.367Z] 0879bd2ef858: Verifying Checksum [2020-09-22T18:53:18.367Z] 0879bd2ef858: Download complete [2020-09-22T18:53:18.367Z] 36b3adc4ff6f: Pull complete [2020-09-22T18:53:18.948Z] 8ad3a11d3b57: Pull complete [2020-09-22T18:53:18.948Z] 46f8f816bc3b: Pull complete [2020-09-22T18:53:19.210Z] 0dadc02b9964: Pull complete [2020-09-22T18:53:19.476Z] ce6a7cf60c04: Pull complete [2020-09-22T18:53:19.476Z] 7a184a31f384: Pull complete [2020-09-22T18:53:22.055Z] 0879bd2ef858: Pull complete [2020-09-22T18:53:22.055Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-22T18:53:22.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:53:22.055Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-22T18:53:22.229Z] prd-centos7-docker-4c-2g-911 does not seem to be running inside a container [2020-09-22T18:53:22.295Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-586 -v /w/workspace/dgexfoundry_device-sdk-go_PR-586:/w/workspace/dgexfoundry_device-sdk-go_PR-586:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-586@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-22T18:53:27.990Z] $ docker top f8880bb8d69982f31bf89967c2a4b1ccaf2b60560d9b18ad4dced07c645899bc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:53:28.546Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-22T18:53:28.848Z] + ls /var/log/sa-host [2020-09-22T18:53:28.848Z] + sadf -c /var/log/sa-host/sa05 [2020-09-22T18:53:28.848Z] file_magic: OK [2020-09-22T18:53:28.848Z] HZ: Using current value: 100 [2020-09-22T18:53:28.848Z] file_header: OK [2020-09-22T18:53:28.848Z] 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-09-22T18:53:28.848Z] Statistics: [2020-09-22T18:53:28.848Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T18:53:28.848Z] File successfully converted to sysstat format version 12.2.1 [2020-09-22T18:53:28.848Z] + sadf -c /var/log/sa-host/sa22 [2020-09-22T18:53:28.848Z] file_magic: OK [2020-09-22T18:53:28.848Z] HZ: Using current value: 100 [2020-09-22T18:53:28.848Z] file_header: OK [2020-09-22T18:53:28.848Z] 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-09-22T18:53:28.848Z] Statistics: [2020-09-22T18:53:28.848Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T18:53:28.848Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-22T18:53:28.912Z] provisioning config files... [2020-09-22T18:53:28.929Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config6364739090837959660tmp [Pipeline] { [Pipeline] echo [2020-09-22T18:53:29.021Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:53:29.319Z] ---> create-netrc.sh [Pipeline] echo [2020-09-22T18:53:29.330Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:53:29.633Z] ---> logs-deploy.sh [2020-09-22T18:53:29.633Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-586/9 [2020-09-22T18:53:29.633Z] INFO: archiving workspace using pattern(s): [2020-09-22T18:53:31.028Z] Archives upload complete. [2020-09-22T18:53:31.028Z] INFO: archiving logs to Nexus