Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 628559142d23fa9d6fe61ea3329529ff5e9788fb+0916c9033c71b8931055140091788f6fe2f32c33 (c5221c3ed5bef79face1f8f0f0a480664715439c) 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-581’ Running on prd-centos7-docker-4c-2g-586 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 > 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 Fetching without tags Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb Merge succeeded, producing b984de18a70b0e1eeec19856df0f8a760ba1e0e2 Checking out Revision b984de18a70b0e1eeec19856df0f8a760ba1e0e2 (PR-586) > 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 > 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 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b984de18a70b0e1eeec19856df0f8a760ba1e0e2 # timeout=10 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk c32e77c47295eebff2be14fc653f9bdef707d5d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-20T18:45:17.363Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-20T18:45:17.636Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-20T18:45:17.746Z] ========================================================= [2020-09-20T18:45:17.746Z] EdgeX Global Pipelines Version Info [2020-09-20T18:45:17.746Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:45:19.211Z] ------------------- [2020-09-20T18:45:19.211Z] stable info: [2020-09-20T18:45:19.211Z] ------------------- [2020-09-20T18:45:19.211Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-20T18:45:19.211Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-20T18:45:19.211Z] Message: update stable to v1.0.122 [2020-09-20T18:45:20.162Z] ------------------- [2020-09-20T18:45:20.162Z] experimental info: [2020-09-20T18:45:20.162Z] ------------------- [2020-09-20T18:45:20.162Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-20T18:45:20.162Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-20T18:45:20.162Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-20T18:45:20.768Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-20T18:45:20.906Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-20T18:45:21.004Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-20T18:45:21.118Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-20T18:45:21.273Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-20T18:45:21.374Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-20T18:45:21.474Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-20T18:45:21.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-20T18:45:21.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-20T18:45:21.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-20T18:45:21.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-20T18:45:22.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-20T18:45:22.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-20T18:45:22.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-20T18:45:22.330Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-20T18:45:22.430Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:45:22.526Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:45:22.626Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:45:22.731Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-20T18:45:22.836Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-20T18:45:22.962Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-20T18:45:23.065Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-20T18:45:23.188Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo [2020-09-20T18:45:23.300Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo [2020-09-20T18:45:23.447Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo [2020-09-20T18:45:23.556Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b984de18a70b0e1eeec19856df0f8a760ba1e0e2 [Pipeline] echo [2020-09-20T18:45:23.660Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b984de1 [Pipeline] echo [2020-09-20T18:45:23.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T18:45:24.403Z] + git log --format=format:%s -1 b984de18a70b0e1eeec19856df0f8a760ba1e0e2 [Pipeline] echo [2020-09-20T18:45:24.455Z] GIT_COMMIT: b984de18a70b0e1eeec19856df0f8a760ba1e0e2, Commit Message: Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD [Pipeline] echo [2020-09-20T18:45:24.506Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:45:25.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:45:25.693Z] [2020-09-20T18:45:25.693Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:45:26.050Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:45:26.050Z] latest: Pulling from edgex-devops/git-semver [2020-09-20T18:45:26.050Z] 31603596830f: Pulling fs layer [2020-09-20T18:45:26.050Z] 2a8b12db71e7: Pulling fs layer [2020-09-20T18:45:26.050Z] 6ca5941a6612: Pulling fs layer [2020-09-20T18:45:26.050Z] ecc8261a40a4: Pulling fs layer [2020-09-20T18:45:26.050Z] ecc8261a40a4: Waiting [2020-09-20T18:45:26.050Z] 2a8b12db71e7: Verifying Checksum [2020-09-20T18:45:26.050Z] 2a8b12db71e7: Download complete [2020-09-20T18:45:26.316Z] 31603596830f: Verifying Checksum [2020-09-20T18:45:26.316Z] 31603596830f: Download complete [2020-09-20T18:45:26.316Z] 6ca5941a6612: Verifying Checksum [2020-09-20T18:45:26.316Z] 6ca5941a6612: Download complete [2020-09-20T18:45:26.316Z] ecc8261a40a4: Verifying Checksum [2020-09-20T18:45:26.316Z] ecc8261a40a4: Download complete [2020-09-20T18:45:26.581Z] 31603596830f: Pull complete [2020-09-20T18:45:26.851Z] 2a8b12db71e7: Pull complete [2020-09-20T18:45:27.431Z] 6ca5941a6612: Pull complete [2020-09-20T18:45:27.692Z] ecc8261a40a4: Pull complete [2020-09-20T18:45:27.692Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-20T18:45:27.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:45:27.692Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-20T18:45:27.798Z] prd-centos7-docker-4c-2g-586 does not seem to be running inside a container [2020-09-20T18:45:27.845Z] $ 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-20T18:45:30.509Z] $ docker top f625576bc761a48d1d12f6e5ab2b456d6110d0e7b8a6465b429c7bb47f4c4f65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-20T18:45:30.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T18:45:30.872Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T18:45:31.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T18:45:31.092Z] $ docker exec f625576bc761a48d1d12f6e5ab2b456d6110d0e7b8a6465b429c7bb47f4c4f65 ssh-agent [2020-09-20T18:45:31.259Z] SSH_AUTH_SOCK=/tmp/ssh-cqd8Y27jgw7v/agent.13 [2020-09-20T18:45:31.259Z] SSH_AGENT_PID=18 [2020-09-20T18:45:31.274Z] Running ssh-add (command line suppressed) [2020-09-20T18:45:31.398Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_2823501905075608357.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_2823501905075608357.key) [2020-09-20T18:45:31.445Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T18:45:31.786Z] + git describe --exact-match --tags HEAD [2020-09-20T18:45:31.786Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-20T18:45:31.812Z] $ docker exec --env ******** --env ******** f625576bc761a48d1d12f6e5ab2b456d6110d0e7b8a6465b429c7bb47f4c4f65 ssh-agent -k [2020-09-20T18:45:31.925Z] unset SSH_AUTH_SOCK; [2020-09-20T18:45:31.925Z] unset SSH_AGENT_PID; [2020-09-20T18:45:31.926Z] echo Agent pid 18 killed; [2020-09-20T18:45:31.972Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-20T18:45:32.076Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-20T18:45:32.076Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-20T18:45:32.190Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T18:45:32.190Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T18:45:32.361Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T18:45:32.365Z] $ docker exec f625576bc761a48d1d12f6e5ab2b456d6110d0e7b8a6465b429c7bb47f4c4f65 ssh-agent [2020-09-20T18:45:32.531Z] SSH_AUTH_SOCK=/tmp/ssh-4mJcPVIAHmnB/agent.47 [2020-09-20T18:45:32.531Z] SSH_AGENT_PID=52 [2020-09-20T18:45:32.538Z] Running ssh-add (command line suppressed) [2020-09-20T18:45:32.664Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_2334629170249321097.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_2334629170249321097.key) [2020-09-20T18:45:32.712Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T18:45:33.047Z] + git semver init [2020-09-20T18:45:33.047Z] # -> Open(): unable to determine branch for HEAD [2020-09-20T18:45:33.047Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.git [2020-09-20T18:45:33.047Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-586 [2020-09-20T18:45:33.047Z] # $SEMVER_REMOTE_NAME = origin [2020-09-20T18:45:33.047Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-20T18:45:33.047Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-20T18:45:33.047Z] # $SEMVER_BRANCH = PR-586 [2020-09-20T18:45:33.047Z] # $SEMVER_TEMP = /tmp/semver-294346900 [2020-09-20T18:45:33.047Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-20T18:45:33.998Z] # '/tmp/semver-294346900' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver' [2020-09-20T18:45:33.998Z] # -> Force: false [2020-09-20T18:45:33.998Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver [Pipeline] } [2020-09-20T18:45:34.011Z] $ docker exec --env ******** --env ******** f625576bc761a48d1d12f6e5ab2b456d6110d0e7b8a6465b429c7bb47f4c4f65 ssh-agent -k [2020-09-20T18:45:34.124Z] unset SSH_AUTH_SOCK; [2020-09-20T18:45:34.124Z] unset SSH_AGENT_PID; [2020-09-20T18:45:34.124Z] echo Agent pid 52 killed; [2020-09-20T18:45:34.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-20T18:45:34.671Z] + git semver [Pipeline] } [2020-09-20T18:45:34.690Z] $ docker stop --time=1 f625576bc761a48d1d12f6e5ab2b456d6110d0e7b8a6465b429c7bb47f4c4f65 [2020-09-20T18:45:36.083Z] $ docker rm -f f625576bc761a48d1d12f6e5ab2b456d6110d0e7b8a6465b429c7bb47f4c4f65 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-20T18:45:37.007Z] Stashed 38 file(s) [Pipeline] echo [2020-09-20T18:45:37.012Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-20T18:45:37.102Z] 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-20T18:45:52.527Z] Still waiting to schedule task [2020-09-20T18:45:52.527Z] Executor slot already in use; ‘prd-centos7-docker-4c-2g-589’ is offline [2020-09-20T18:45:52.529Z] Still waiting to schedule task [2020-09-20T18:45:52.529Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-583’ [2020-09-20T18:46:17.373Z] Running on prd-centos7-docker-4c-2g-592 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws [2020-09-20T18:46:17.430Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-09-20T18:46:20.201Z] using credential edgex-jenkins-ssh [2020-09-20T18:46:20.302Z] Cloning the remote Git repository [2020-09-20T18:46:20.302Z] Cloning with configured refspecs honoured and without tags [2020-09-20T18:46:20.309Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:46:20.384Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-09-20T18:46:20.438Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:46:20.439Z] > git --version # timeout=10 [2020-09-20T18:46:20.450Z] > git --version # 'git version 2.16.5' [2020-09-20T18:46:20.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:46:20.486Z] > 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-20T18:46:21.079Z] Fetching without tags [2020-09-20T18:46:21.509Z] Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb [2020-09-20T18:46:21.619Z] Merge succeeded, producing d5e321e0373dac41fc89138b246bca0f8ec1d3a9 [2020-09-20T18:46:21.620Z] Checking out Revision d5e321e0373dac41fc89138b246bca0f8ec1d3a9 (PR-586) [2020-09-20T18:46:21.040Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:46:21.049Z] > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 [2020-09-20T18:46:21.058Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:46:21.071Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:46:21.085Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:46:21.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:46:21.091Z] > 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-20T18:46:21.518Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:46:21.525Z] > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 [2020-09-20T18:46:21.571Z] > git remote # timeout=10 [2020-09-20T18:46:21.576Z] > git config --get remote.origin.url # timeout=10 [2020-09-20T18:46:21.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:46:21.583Z] > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 [2020-09-20T18:46:21.614Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-20T18:46:21.623Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:46:21.627Z] > git checkout -f d5e321e0373dac41fc89138b246bca0f8ec1d3a9 # timeout=10 [2020-09-20T18:46:25.250Z] Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" [2020-09-20T18:46:25.262Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2020-09-20T18:46:25.255Z] > git rev-list --no-walk c32e77c47295eebff2be14fc653f9bdef707d5d3 # timeout=10 [Pipeline] unstash [Pipeline] echo [2020-09-20T18:46:26.164Z] ========================================================= [2020-09-20T18:46:26.164Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-20T18:46:26.164Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:46:26.827Z] + 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-20T18:46:27.098Z] Sending build context to Docker daemon 3.167MB [2020-09-20T18:46:27.098Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-20T18:46:27.098Z] Step 2/8 : FROM ${BASE} [2020-09-20T18:46:27.360Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-20T18:46:27.360Z] df20fa9351a1: Pulling fs layer [2020-09-20T18:46:27.360Z] ed8968b2872e: Pulling fs layer [2020-09-20T18:46:27.360Z] a92cc7c5fd73: Pulling fs layer [2020-09-20T18:46:27.360Z] e871e8e8d7a9: Pulling fs layer [2020-09-20T18:46:27.360Z] e73272ec9a57: Pulling fs layer [2020-09-20T18:46:27.360Z] 1e910a182e73: Pulling fs layer [2020-09-20T18:46:27.360Z] 4e634b169226: Pulling fs layer [2020-09-20T18:46:27.360Z] 1e910a182e73: Waiting [2020-09-20T18:46:27.360Z] 4e634b169226: Waiting [2020-09-20T18:46:27.360Z] e871e8e8d7a9: Waiting [2020-09-20T18:46:27.360Z] e73272ec9a57: Waiting [2020-09-20T18:46:27.360Z] a92cc7c5fd73: Download complete [2020-09-20T18:46:27.360Z] ed8968b2872e: Verifying Checksum [2020-09-20T18:46:27.360Z] ed8968b2872e: Download complete [2020-09-20T18:46:27.360Z] e73272ec9a57: Download complete [2020-09-20T18:46:27.360Z] 1e910a182e73: Download complete [2020-09-20T18:46:28.312Z] df20fa9351a1: Download complete [2020-09-20T18:46:28.906Z] df20fa9351a1: Pull complete [2020-09-20T18:46:28.906Z] ed8968b2872e: Pull complete [2020-09-20T18:46:29.170Z] a92cc7c5fd73: Pull complete [2020-09-20T18:46:30.565Z] 4e634b169226: Verifying Checksum [2020-09-20T18:46:30.565Z] 4e634b169226: Download complete [2020-09-20T18:46:31.148Z] e871e8e8d7a9: Verifying Checksum [2020-09-20T18:46:31.148Z] e871e8e8d7a9: Download complete [2020-09-20T18:46:36.474Z] e871e8e8d7a9: Pull complete [2020-09-20T18:46:36.474Z] e73272ec9a57: Pull complete [2020-09-20T18:46:36.474Z] 1e910a182e73: Pull complete [2020-09-20T18:46:41.797Z] 4e634b169226: Pull complete [2020-09-20T18:46:41.797Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-20T18:46:41.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-20T18:46:41.797Z] ---> f7629b54cfaa [2020-09-20T18:46:41.797Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:46:41.797Z] ---> Running in 78c2f76e787b [2020-09-20T18:46:42.076Z] Removing intermediate container 78c2f76e787b [2020-09-20T18:46:42.076Z] ---> 7a6eb88d8145 [2020-09-20T18:46:42.076Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:46:42.076Z] ---> Running in f420a64b387e [2020-09-20T18:46:43.473Z] Removing intermediate container f420a64b387e [2020-09-20T18:46:43.473Z] ---> 88a3c2f35e3c [2020-09-20T18:46:43.473Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-20T18:46:43.473Z] ---> Running in bb631abd2e61 [2020-09-20T18:46:44.428Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-20T18:46:45.007Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-20T18:46:45.272Z] OK: 166 MiB in 39 packages [2020-09-20T18:46:45.851Z] Removing intermediate container bb631abd2e61 [2020-09-20T18:46:45.851Z] ---> b33d24ef6f37 [2020-09-20T18:46:45.851Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-20T18:46:45.851Z] ---> Running in ee065f88c905 [2020-09-20T18:46:46.114Z] Removing intermediate container ee065f88c905 [2020-09-20T18:46:46.114Z] ---> 549ce686cd9f [2020-09-20T18:46:46.114Z] Step 7/8 : COPY . . [2020-09-20T18:46:47.066Z] ---> a71a773fdef5 [2020-09-20T18:46:47.066Z] Step 8/8 : RUN go mod download [2020-09-20T18:46:47.332Z] ---> Running in db84a4532a38 [2020-09-20T18:46:57.375Z] Removing intermediate container db84a4532a38 [2020-09-20T18:46:57.375Z] ---> dc366db6ade3 [2020-09-20T18:46:57.375Z] Successfully built dc366db6ade3 [2020-09-20T18:46:57.638Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:46:57.984Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-20T18:46:57.984Z] . [Pipeline] withDockerContainer [2020-09-20T18:46:58.153Z] prd-centos7-docker-4c-2g-592 does not seem to be running inside a container [2020-09-20T18:46:58.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-20T18:46:59.566Z] $ docker top 5545fa2d83e271efed1ac6962f9ee58bcf876246bfb951db08a91dd48d9f4f5c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:47:00.085Z] + go version [2020-09-20T18:47:00.085Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-20T18:47:00.103Z] $ docker stop --time=1 5545fa2d83e271efed1ac6962f9ee58bcf876246bfb951db08a91dd48d9f4f5c [2020-09-20T18:47:01.445Z] $ docker rm -f 5545fa2d83e271efed1ac6962f9ee58bcf876246bfb951db08a91dd48d9f4f5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:47:02.397Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-20T18:47:02.398Z] . [Pipeline] withDockerContainer [2020-09-20T18:47:02.535Z] prd-centos7-docker-4c-2g-592 does not seem to be running inside a container [2020-09-20T18:47:02.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-20T18:47:03.237Z] $ docker top a0cc0250ce02f0d175f8322e618be352ac0f78941356aa9ea3492f9fca22c92f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:47:03.706Z] + make test [2020-09-20T18:47:03.706Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-20T18:47:10.363Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-20T18:47:22.742Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-20T18:47:22.742Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-20T18:47:22.742Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-20T18:47:22.742Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.032s coverage: 21.0% of statements [2020-09-20T18:47:24.685Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.412s coverage: 95.7% of statements [2020-09-20T18:47:56.864Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.043s coverage: 8.6% of statements [2020-09-20T18:47:56.864Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.033s coverage: 21.7% of statements [2020-09-20T18:47:56.864Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-20T18:47:56.864Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.175s coverage: 37.0% of statements [2020-09-20T18:47:56.864Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-20T18:47:56.864Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.259s coverage: 65.4% of statements [2020-09-20T18:47:56.864Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-20T18:47:56.864Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-20T18:47:56.864Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-20T18:47:56.864Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.110s coverage: 52.6% of statements [2020-09-20T18:47:56.864Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.319s coverage: 68.9% of statements [2020-09-20T18:47:56.864Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-20T18:47:56.864Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-20T18:47:56.864Z] GO111MODULE=on go vet ./... [2020-09-20T18:48:02.244Z] gofmt -l . [2020-09-20T18:48:02.244Z] [ "`gofmt -l .`" = "" ] [2020-09-20T18:48:02.244Z] ./bin/test-attribution-txt.sh [2020-09-20T18:48:02.440Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-595 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [2020-09-20T18:48:02.511Z] ./bin/test-go-mod-tidy.sh [Pipeline] ws [2020-09-20T18:48:02.536Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [Pipeline] stash [2020-09-20T18:48:03.108Z] Stashed 1 file(s) [Pipeline] } [2020-09-20T18:48:03.116Z] $ docker stop --time=1 a0cc0250ce02f0d175f8322e618be352ac0f78941356aa9ea3492f9fca22c92f [2020-09-20T18:48:05.108Z] $ docker rm -f a0cc0250ce02f0d175f8322e618be352ac0f78941356aa9ea3492f9fca22c92f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T18:48:06.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-20T18:48:07.072Z] + ls -al . [2020-09-20T18:48:07.072Z] total 188 [2020-09-20T18:48:07.072Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 20 18:48 . [2020-09-20T18:48:07.072Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 20 18:46 .. [2020-09-20T18:48:07.072Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 20 18:46 bin [2020-09-20T18:48:07.072Z] -rw-r--r--. 1 jenkins jenkins 111785 Sep 20 18:47 coverage.out [2020-09-20T18:48:07.072Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 20 18:46 Dockerfile.build [2020-09-20T18:48:07.072Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 20 18:46 .dockerignore [2020-09-20T18:48:07.072Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 20 18:46 example [2020-09-20T18:48:07.072Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 20 18:46 .git [2020-09-20T18:48:07.072Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 20 18:46 .github [2020-09-20T18:48:07.072Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 20 18:46 .gitignore [2020-09-20T18:48:07.072Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 20 18:48 go.mod [2020-09-20T18:48:07.072Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 20 18:48 go.sum [2020-09-20T18:48:07.072Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 20 18:46 internal [2020-09-20T18:48:07.072Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 20 18:46 Jenkinsfile [2020-09-20T18:48:07.072Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 20 18:46 LICENSE [2020-09-20T18:48:07.072Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 20 18:46 Makefile [2020-09-20T18:48:07.072Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 20 18:46 openapi [2020-09-20T18:48:07.072Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 20 18:46 pkg [2020-09-20T18:48:07.072Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 20 18:46 README.md [2020-09-20T18:48:07.072Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 20 18:46 RELEASE-NOTES.txt [2020-09-20T18:48:07.072Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 20 18:46 .semver [2020-09-20T18:48:07.072Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 20 18:46 snap [2020-09-20T18:48:07.072Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 20 18:45 VERSION [2020-09-20T18:48:07.072Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 20 18:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:48:07.384Z] + 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=b984de18a70b0e1eeec19856df0f8a760ba1e0e2 --label arch=amd64 --label version=0.0.0 . [2020-09-20T18:48:07.650Z] Sending build context to Docker daemon 3.281MB [2020-09-20T18:48:07.650Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-20T18:48:07.650Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-20T18:48:07.650Z] ---> dc366db6ade3 [2020-09-20T18:48:07.650Z] Step 3/24 : ARG MAKE='make build' [2020-09-20T18:48:08.175Z] using credential edgex-jenkins-ssh [2020-09-20T18:48:08.224Z] ---> Running in 30a05a6b7e2a [2020-09-20T18:48:08.224Z] Removing intermediate container 30a05a6b7e2a [2020-09-20T18:48:08.224Z] ---> 2297a86dd689 [2020-09-20T18:48:08.224Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-20T18:48:08.224Z] ---> Running in 9b8cca271923 [2020-09-20T18:48:08.247Z] Cloning the remote Git repository [2020-09-20T18:48:08.248Z] Cloning with configured refspecs honoured and without tags [2020-09-20T18:48:08.487Z] Removing intermediate container 9b8cca271923 [2020-09-20T18:48:08.487Z] ---> d90f692dce6c [2020-09-20T18:48:08.487Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:48:08.487Z] ---> Running in 88bf39d69374 [2020-09-20T18:48:08.750Z] Removing intermediate container 88bf39d69374 [2020-09-20T18:48:08.750Z] ---> b87b5c00b49b [2020-09-20T18:48:08.750Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:48:08.750Z] ---> Running in abb863aff457 [2020-09-20T18:48:08.310Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:48:08.459Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-09-20T18:48:08.532Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:48:08.534Z] > git --version # timeout=10 [2020-09-20T18:48:08.552Z] > git --version # 'git version 2.17.1' [2020-09-20T18:48:08.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:48:08.651Z] > 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-20T18:48:09.610Z] Fetching without tags [2020-09-20T18:48:09.697Z] Removing intermediate container abb863aff457 [2020-09-20T18:48:09.697Z] ---> 5fe8fd33230d [2020-09-20T18:48:09.697Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-20T18:48:09.697Z] ---> Running in 7dbddd16b23a [2020-09-20T18:48:09.959Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-20T18:48:10.057Z] Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb [2020-09-20T18:48:09.522Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:48:09.547Z] > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 [2020-09-20T18:48:09.560Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:48:09.591Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:48:09.627Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:48:09.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:48:09.640Z] > 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-20T18:48:10.083Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:48:10.115Z] > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 [2020-09-20T18:48:10.229Z] > git remote # timeout=10 [2020-09-20T18:48:10.494Z] Merge succeeded, producing 0b571e384ea1909374a23e72224d81eeb1d51ab2 [2020-09-20T18:48:10.494Z] Checking out Revision 0b571e384ea1909374a23e72224d81eeb1d51ab2 (PR-586) [2020-09-20T18:48:10.904Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-20T18:48:11.478Z] OK: 166 MiB in 39 packages [2020-09-20T18:48:10.282Z] > git config --get remote.origin.url # timeout=10 [2020-09-20T18:48:10.320Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:48:10.353Z] > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 [2020-09-20T18:48:10.452Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-20T18:48:10.506Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:48:10.538Z] > git checkout -f 0b571e384ea1909374a23e72224d81eeb1d51ab2 # timeout=10 [2020-09-20T18:48:12.053Z] Removing intermediate container 7dbddd16b23a [2020-09-20T18:48:12.053Z] ---> 460c1f37fb6d [2020-09-20T18:48:12.053Z] Step 8/24 : COPY . . [2020-09-20T18:48:13.030Z] ---> 5bfa9382693a [2020-09-20T18:48:13.030Z] Step 9/24 : RUN ${MAKE} [2020-09-20T18:48:13.030Z] ---> Running in b0af6d510574 [2020-09-20T18:48:13.617Z] 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-20T18:48:14.961Z] Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" [2020-09-20T18:48:14.990Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-20T18:48:14.974Z] > git rev-list --no-walk c32e77c47295eebff2be14fc653f9bdef707d5d3 # timeout=10 [Pipeline] echo [2020-09-20T18:48:16.309Z] ========================================================= [2020-09-20T18:48:16.309Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-20T18:48:16.309Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:48:17.583Z] + 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-20T18:48:18.584Z] Sending build context to Docker daemon 3.165MB [2020-09-20T18:48:18.584Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-20T18:48:18.584Z] Step 2/8 : FROM ${BASE} [2020-09-20T18:48:18.859Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-20T18:48:18.859Z] b538f80385f9: Pulling fs layer [2020-09-20T18:48:18.859Z] 74f711af9a0d: Pulling fs layer [2020-09-20T18:48:18.859Z] 99f96fe45779: Pulling fs layer [2020-09-20T18:48:18.859Z] 8529a6b9a6be: Pulling fs layer [2020-09-20T18:48:18.859Z] 45590311c82a: Pulling fs layer [2020-09-20T18:48:18.859Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-20T18:48:18.859Z] 209524e5b208: Pulling fs layer [2020-09-20T18:48:18.859Z] 8529a6b9a6be: Waiting [2020-09-20T18:48:18.859Z] 45590311c82a: Waiting [2020-09-20T18:48:18.859Z] 69ca0ff8b7b3: Waiting [2020-09-20T18:48:18.859Z] 209524e5b208: Waiting [2020-09-20T18:48:18.859Z] 99f96fe45779: Verifying Checksum [2020-09-20T18:48:18.859Z] 99f96fe45779: Download complete [2020-09-20T18:48:18.859Z] 74f711af9a0d: Verifying Checksum [2020-09-20T18:48:18.859Z] 74f711af9a0d: Download complete [2020-09-20T18:48:19.136Z] 45590311c82a: Verifying Checksum [2020-09-20T18:48:19.136Z] 45590311c82a: Download complete [2020-09-20T18:48:19.136Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-20T18:48:19.136Z] 69ca0ff8b7b3: Download complete [2020-09-20T18:48:19.136Z] b538f80385f9: Verifying Checksum [2020-09-20T18:48:19.136Z] b538f80385f9: Download complete [2020-09-20T18:48:19.755Z] b538f80385f9: Pull complete [2020-09-20T18:48:20.362Z] 74f711af9a0d: Pull complete [2020-09-20T18:48:20.638Z] 209524e5b208: Download complete [2020-09-20T18:48:20.638Z] 99f96fe45779: Pull complete [2020-09-20T18:48:21.889Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-20T18:48:22.624Z] 8529a6b9a6be: Download complete [2020-09-20T18:48:22.838Z] Removing intermediate container b0af6d510574 [2020-09-20T18:48:22.838Z] ---> 25703b31179d [2020-09-20T18:48:22.838Z] Step 10/24 : FROM scratch [2020-09-20T18:48:22.838Z] ---> [2020-09-20T18:48:22.838Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:48:22.838Z] ---> Running in f300f9774d20 [2020-09-20T18:48:22.838Z] Removing intermediate container f300f9774d20 [2020-09-20T18:48:22.838Z] ---> 565bbf65e6d9 [2020-09-20T18:48:22.838Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-20T18:48:23.099Z] ---> Running in 8526a8655320 [2020-09-20T18:48:23.099Z] Removing intermediate container 8526a8655320 [2020-09-20T18:48:23.099Z] ---> 59e28c4c7d8e [2020-09-20T18:48:23.099Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-20T18:48:23.099Z] ---> Running in fcd6791bc58f [2020-09-20T18:48:23.361Z] Removing intermediate container fcd6791bc58f [2020-09-20T18:48:23.361Z] ---> 0deaea47432e [2020-09-20T18:48:23.361Z] Step 14/24 : WORKDIR / [2020-09-20T18:48:23.361Z] ---> Running in 2aff401951f5 [2020-09-20T18:48:23.622Z] Removing intermediate container 2aff401951f5 [2020-09-20T18:48:23.622Z] ---> d4d046aceca5 [2020-09-20T18:48:23.622Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-20T18:48:23.884Z] ---> 62c57bfb49ef [2020-09-20T18:48:23.884Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-20T18:48:24.146Z] ---> 4ef3587200a5 [2020-09-20T18:48:24.146Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-20T18:48:24.408Z] ---> eaeb1f0999e9 [2020-09-20T18:48:24.408Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-20T18:48:24.670Z] ---> eef4d8454b9b [2020-09-20T18:48:24.670Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-20T18:48:24.941Z] ---> e2d31b49a2f2 [2020-09-20T18:48:24.941Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-20T18:48:24.941Z] ---> Running in 93c1bfb47054 [2020-09-20T18:48:25.204Z] Removing intermediate container 93c1bfb47054 [2020-09-20T18:48:25.204Z] ---> 2760ed2e052b [2020-09-20T18:48:25.204Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-20T18:48:25.204Z] ---> Running in 8c3de9bdb26f [2020-09-20T18:48:25.465Z] Removing intermediate container 8c3de9bdb26f [2020-09-20T18:48:25.466Z] ---> f744b8d2a79c [2020-09-20T18:48:25.466Z] Step 22/24 : LABEL arch=amd64 [2020-09-20T18:48:25.466Z] ---> Running in f7b6d07568d3 [2020-09-20T18:48:25.739Z] Removing intermediate container f7b6d07568d3 [2020-09-20T18:48:25.739Z] ---> 3b2211856158 [2020-09-20T18:48:25.739Z] Step 23/24 : LABEL git_sha=b984de18a70b0e1eeec19856df0f8a760ba1e0e2 [2020-09-20T18:48:25.739Z] ---> Running in 41512c561fbc [2020-09-20T18:48:25.739Z] Removing intermediate container 41512c561fbc [2020-09-20T18:48:25.739Z] ---> 74b7936ed9a5 [2020-09-20T18:48:25.739Z] Step 24/24 : LABEL version=0.0.0 [2020-09-20T18:48:26.003Z] ---> Running in 233d82efe33f [2020-09-20T18:48:26.003Z] Removing intermediate container 233d82efe33f [2020-09-20T18:48:26.003Z] ---> d4fc1a5eb542 [2020-09-20T18:48:26.003Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-20T18:48:26.003Z] Successfully built d4fc1a5eb542 [2020-09-20T18:48:26.003Z] 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-20T18:48:32.830Z] 8529a6b9a6be: Pull complete [2020-09-20T18:48:32.830Z] 45590311c82a: Pull complete [2020-09-20T18:48:32.830Z] 69ca0ff8b7b3: Pull complete [2020-09-20T18:48:36.234Z] 209524e5b208: Pull complete [2020-09-20T18:48:36.234Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-20T18:48:36.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-20T18:48:36.234Z] ---> 5bddaf1c2fca [2020-09-20T18:48:36.234Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:48:39.652Z] ---> Running in 2ce2c33057b3 [2020-09-20T18:48:39.652Z] Removing intermediate container 2ce2c33057b3 [2020-09-20T18:48:39.652Z] ---> c44dec88030a [2020-09-20T18:48:39.652Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:48:39.652Z] ---> Running in 3204e439afbf [2020-09-20T18:48:42.269Z] Removing intermediate container 3204e439afbf [2020-09-20T18:48:42.269Z] ---> 2621e1635da5 [2020-09-20T18:48:42.269Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-20T18:48:42.550Z] ---> Running in 92ba4932f81d [2020-09-20T18:48:43.985Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-20T18:48:45.414Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-20T18:48:48.791Z] OK: 142 MiB in 39 packages [2020-09-20T18:48:49.776Z] Removing intermediate container 92ba4932f81d [2020-09-20T18:48:49.776Z] ---> d4832da2d836 [2020-09-20T18:48:49.776Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-20T18:48:49.776Z] ---> Running in a6a472cb6d35 [2020-09-20T18:48:50.756Z] Removing intermediate container a6a472cb6d35 [2020-09-20T18:48:50.756Z] ---> 40bc46b33c04 [2020-09-20T18:48:50.756Z] Step 7/8 : COPY . . [2020-09-20T18:48:52.210Z] ---> d20333c8e61f [2020-09-20T18:48:52.210Z] Step 8/8 : RUN go mod download [2020-09-20T18:48:52.210Z] ---> Running in 3625d2026b0a [2020-09-20T18:49:07.289Z] Removing intermediate container 3625d2026b0a [2020-09-20T18:49:07.289Z] ---> 36546c7987d8 [2020-09-20T18:49:07.289Z] Successfully built 36546c7987d8 [2020-09-20T18:49:07.289Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:49:07.696Z] + docker inspect -f . ci-base-image-arm64 [2020-09-20T18:49:07.696Z] . [Pipeline] withDockerContainer [2020-09-20T18:49:07.964Z] prd-ubuntu18.04-docker-arm64-4c-16g-595 does not seem to be running inside a container [2020-09-20T18:49:08.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-20T18:49:09.932Z] $ docker top 5c66c034270ccfd2b64bdd27e1a27fc757609812008728b49ff856a383d34c01 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:49:11.394Z] + go version [2020-09-20T18:49:11.394Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-20T18:49:11.422Z] $ docker stop --time=1 5c66c034270ccfd2b64bdd27e1a27fc757609812008728b49ff856a383d34c01 [2020-09-20T18:49:13.457Z] $ docker rm -f 5c66c034270ccfd2b64bdd27e1a27fc757609812008728b49ff856a383d34c01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:49:14.613Z] + docker inspect -f . ci-base-image-arm64 [2020-09-20T18:49:14.613Z] . [Pipeline] withDockerContainer [2020-09-20T18:49:14.904Z] prd-ubuntu18.04-docker-arm64-4c-16g-595 does not seem to be running inside a container [2020-09-20T18:49:14.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-20T18:49:16.950Z] $ docker top 9e868dff5a7c44d64f690198592a100f55a85f8688cd70a1b5dbb8a3fa10a8f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:49:18.374Z] + make test [2020-09-20T18:49:18.374Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-20T18:49:40.602Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-20T18:50:19.638Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-20T18:50:19.638Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-20T18:50:19.638Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-20T18:50:19.638Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 21.0% of statements [2020-09-20T18:50:20.240Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.324s coverage: 95.7% of statements [2020-09-20T18:50:52.610Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.062s coverage: 8.6% of statements [2020-09-20T18:50:52.610Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 21.7% of statements [2020-09-20T18:50:52.610Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-20T18:50:52.610Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.483s coverage: 37.0% of statements [2020-09-20T18:50:52.610Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-20T18:50:52.610Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.721s coverage: 65.4% of statements [2020-09-20T18:50:52.610Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-20T18:50:52.610Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-20T18:50:52.610Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-20T18:50:52.610Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.150s coverage: 52.6% of statements [2020-09-20T18:50:52.610Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.966s coverage: 68.9% of statements [2020-09-20T18:50:52.610Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-20T18:50:52.610Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-20T18:50:52.610Z] GO111MODULE=on go vet ./... [2020-09-20T18:51:25.163Z] gofmt -l . [2020-09-20T18:51:25.163Z] [ "`gofmt -l .`" = "" ] [2020-09-20T18:51:25.163Z] ./bin/test-attribution-txt.sh [2020-09-20T18:51:25.163Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-20T18:51:25.194Z] Warning: overwriting stash ‘coverage-report’ [2020-09-20T18:51:26.195Z] Stashed 1 file(s) [Pipeline] } [2020-09-20T18:51:26.205Z] $ docker stop --time=1 9e868dff5a7c44d64f690198592a100f55a85f8688cd70a1b5dbb8a3fa10a8f8 [2020-09-20T18:51:28.463Z] $ docker rm -f 9e868dff5a7c44d64f690198592a100f55a85f8688cd70a1b5dbb8a3fa10a8f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T18:51:29.944Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-20T18:51:30.283Z] + ls -al . [2020-09-20T18:51:30.283Z] total 228 [2020-09-20T18:51:30.283Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 18:51 . [2020-09-20T18:51:30.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:48 .. [2020-09-20T18:51:30.283Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 18:48 .dockerignore [2020-09-20T18:51:30.283Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 18:48 .git [2020-09-20T18:51:30.283Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:48 .github [2020-09-20T18:51:30.283Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 20 18:48 .gitignore [2020-09-20T18:51:30.283Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 18:48 .semver [2020-09-20T18:51:30.283Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 20 18:48 Dockerfile.build [2020-09-20T18:51:30.283Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 20 18:48 Jenkinsfile [2020-09-20T18:51:30.283Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 18:48 LICENSE [2020-09-20T18:51:30.283Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 20 18:48 Makefile [2020-09-20T18:51:30.283Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 20 18:48 README.md [2020-09-20T18:51:30.283Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 20 18:48 RELEASE-NOTES.txt [2020-09-20T18:51:30.283Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 18:45 VERSION [2020-09-20T18:51:30.283Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:48 bin [2020-09-20T18:51:30.283Z] -rw-r--r-- 1 jenkins jenkins 111785 Sep 20 18:50 coverage.out [2020-09-20T18:51:30.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:48 example [2020-09-20T18:51:30.283Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 20 18:51 go.mod [2020-09-20T18:51:30.283Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 20 18:51 go.sum [2020-09-20T18:51:30.283Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 20 18:48 internal [2020-09-20T18:51:30.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:48 openapi [2020-09-20T18:51:30.283Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 18:48 pkg [2020-09-20T18:51:30.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:48 snap [2020-09-20T18:51:30.283Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 18:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:51:30.631Z] + 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=b984de18a70b0e1eeec19856df0f8a760ba1e0e2 --label arch=arm64 --label version=0.0.0 . [2020-09-20T18:51:31.245Z] Sending build context to Docker daemon 3.279MB [2020-09-20T18:51:31.245Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-20T18:51:31.245Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-20T18:51:31.245Z] ---> 36546c7987d8 [2020-09-20T18:51:31.245Z] Step 3/24 : ARG MAKE='make build' [2020-09-20T18:51:31.519Z] ---> Running in 50654e3eebaa [2020-09-20T18:51:31.793Z] Removing intermediate container 50654e3eebaa [2020-09-20T18:51:31.793Z] ---> 71cde343867d [2020-09-20T18:51:31.793Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-20T18:51:32.068Z] ---> Running in c8ce34b59f69 [2020-09-20T18:51:32.662Z] Removing intermediate container c8ce34b59f69 [2020-09-20T18:51:32.662Z] ---> 106e1699ad9d [2020-09-20T18:51:32.662Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:51:32.662Z] ---> Running in f1e13c9ff66c [2020-09-20T18:51:33.260Z] Removing intermediate container f1e13c9ff66c [2020-09-20T18:51:33.260Z] ---> 3d0f9153f32f [2020-09-20T18:51:33.260Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:51:33.260Z] ---> Running in b4faf4ac722c [2020-09-20T18:51:35.884Z] Removing intermediate container b4faf4ac722c [2020-09-20T18:51:35.884Z] ---> 9f5c1035019e [2020-09-20T18:51:35.884Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-20T18:51:36.158Z] ---> Running in 0c621e2570a8 [2020-09-20T18:51:38.148Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-20T18:51:38.420Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-20T18:51:39.394Z] OK: 142 MiB in 39 packages [2020-09-20T18:51:40.379Z] Removing intermediate container 0c621e2570a8 [2020-09-20T18:51:40.379Z] ---> b096feacd1cc [2020-09-20T18:51:40.379Z] Step 8/24 : COPY . . [2020-09-20T18:51:41.819Z] ---> fb231070e402 [2020-09-20T18:51:41.819Z] Step 9/24 : RUN ${MAKE} [2020-09-20T18:51:41.819Z] ---> Running in 2f28fb5251aa [2020-09-20T18:51:43.257Z] 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-20T18:52:10.100Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-20T18:52:10.699Z] Removing intermediate container 2f28fb5251aa [2020-09-20T18:52:10.699Z] ---> 6c7bd91c8727 [2020-09-20T18:52:10.699Z] Step 10/24 : FROM scratch [2020-09-20T18:52:10.699Z] ---> [2020-09-20T18:52:10.699Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:52:10.973Z] ---> Running in e211303a03a5 [2020-09-20T18:52:11.568Z] Removing intermediate container e211303a03a5 [2020-09-20T18:52:11.568Z] ---> 9f03648c8901 [2020-09-20T18:52:11.568Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-20T18:52:11.568Z] ---> Running in e836b775a4bf [2020-09-20T18:52:11.853Z] Removing intermediate container e836b775a4bf [2020-09-20T18:52:11.853Z] ---> 9042b2e1056b [2020-09-20T18:52:11.853Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-20T18:52:12.133Z] ---> Running in 480c2c0d45e2 [2020-09-20T18:52:12.409Z] Removing intermediate container 480c2c0d45e2 [2020-09-20T18:52:12.409Z] ---> 56088d78d95e [2020-09-20T18:52:12.409Z] Step 14/24 : WORKDIR / [2020-09-20T18:52:12.681Z] ---> Running in 5055ae72756d [2020-09-20T18:52:13.279Z] Removing intermediate container 5055ae72756d [2020-09-20T18:52:13.279Z] ---> 9b9d919589f9 [2020-09-20T18:52:13.279Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-20T18:52:14.258Z] ---> 58435bcbdec9 [2020-09-20T18:52:14.258Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-20T18:52:14.854Z] ---> 8ef2b8870464 [2020-09-20T18:52:14.854Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-20T18:52:15.834Z] ---> b00faf05e462 [2020-09-20T18:52:15.834Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-20T18:52:16.430Z] ---> 557314718af3 [2020-09-20T18:52:16.430Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-20T18:52:17.409Z] ---> b2b4291aa603 [2020-09-20T18:52:17.409Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-20T18:52:17.409Z] ---> Running in 853fcab859eb [2020-09-20T18:52:17.682Z] Removing intermediate container 853fcab859eb [2020-09-20T18:52:17.682Z] ---> ce233270b2c1 [2020-09-20T18:52:17.682Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-20T18:52:17.955Z] ---> Running in b5689aae636c [2020-09-20T18:52:18.550Z] Removing intermediate container b5689aae636c [2020-09-20T18:52:18.550Z] ---> af3d8b0da1c7 [2020-09-20T18:52:18.550Z] Step 22/24 : LABEL arch=arm64 [2020-09-20T18:52:18.550Z] ---> Running in 63f22b786e02 [2020-09-20T18:52:18.824Z] Removing intermediate container 63f22b786e02 [2020-09-20T18:52:18.824Z] ---> d7319a30daca [2020-09-20T18:52:18.824Z] Step 23/24 : LABEL git_sha=b984de18a70b0e1eeec19856df0f8a760ba1e0e2 [2020-09-20T18:52:19.096Z] ---> Running in 0ac4ba2626cf [2020-09-20T18:52:19.695Z] Removing intermediate container 0ac4ba2626cf [2020-09-20T18:52:19.695Z] ---> 6042f33374a7 [2020-09-20T18:52:19.695Z] Step 24/24 : LABEL version=0.0.0 [2020-09-20T18:52:19.695Z] ---> Running in 0291a0c5193e [2020-09-20T18:52:20.291Z] Removing intermediate container 0291a0c5193e [2020-09-20T18:52:20.291Z] ---> ac6018656e59 [2020-09-20T18:52:20.291Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-20T18:52:20.291Z] Successfully built ac6018656e59 [2020-09-20T18:52:20.291Z] 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-20T18:52:22.139Z] provisioning config files... [2020-09-20T18:52:22.150Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config2937816192592005220tmp [Pipeline] { [Pipeline] sh [2020-09-20T18:52:22.545Z] + curl -s https://codecov.io/bash [2020-09-20T18:52:22.545Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config2937816192592005220tmp [Pipeline] } [2020-09-20T18:52:22.816Z] 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-20T18:52:25.168Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:52:25.742Z] ---> package-listing.sh [2020-09-20T18:52:25.742Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-20T18:52:25.742Z] ++ facter osfamily [2020-09-20T18:52:25.742Z] + OS_FAMILY=redhat [2020-09-20T18:52:25.742Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-586 [2020-09-20T18:52:25.742Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-20T18:52:25.742Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-20T18:52:25.742Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-20T18:52:25.742Z] + PACKAGES=/tmp/packages_start.txt [2020-09-20T18:52:25.742Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' [2020-09-20T18:52:25.742Z] + PACKAGES=/tmp/packages_end.txt [2020-09-20T18:52:25.742Z] + case "${OS_FAMILY}" in [2020-09-20T18:52:25.742Z] + rpm -qa [2020-09-20T18:52:25.742Z] + sort [2020-09-20T18:52:29.968Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-20T18:52:29.968Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-20T18:52:29.968Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-20T18:52:29.968Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' [2020-09-20T18:52:29.968Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ [2020-09-20T18:52:29.968Z] + 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-20T18:52:30.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:52:30.436Z] [2020-09-20T18:52:30.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:52:30.875Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:52:30.875Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-20T18:52:30.875Z] df20fa9351a1: Pulling fs layer [2020-09-20T18:52:30.875Z] 36b3adc4ff6f: Pulling fs layer [2020-09-20T18:52:30.875Z] 8ad3a11d3b57: Pulling fs layer [2020-09-20T18:52:30.875Z] 46f8f816bc3b: Pulling fs layer [2020-09-20T18:52:30.875Z] 0dadc02b9964: Pulling fs layer [2020-09-20T18:52:30.875Z] ce6a7cf60c04: Pulling fs layer [2020-09-20T18:52:30.875Z] 7a184a31f384: Pulling fs layer [2020-09-20T18:52:30.875Z] 0879bd2ef858: Pulling fs layer [2020-09-20T18:52:30.875Z] 0dadc02b9964: Waiting [2020-09-20T18:52:30.875Z] ce6a7cf60c04: Waiting [2020-09-20T18:52:30.875Z] 7a184a31f384: Waiting [2020-09-20T18:52:30.875Z] 0879bd2ef858: Waiting [2020-09-20T18:52:30.875Z] 46f8f816bc3b: Waiting [2020-09-20T18:52:30.875Z] 36b3adc4ff6f: Verifying Checksum [2020-09-20T18:52:30.875Z] 36b3adc4ff6f: Download complete [2020-09-20T18:52:30.875Z] 46f8f816bc3b: Verifying Checksum [2020-09-20T18:52:30.875Z] 46f8f816bc3b: Download complete [2020-09-20T18:52:30.875Z] df20fa9351a1: Verifying Checksum [2020-09-20T18:52:30.875Z] df20fa9351a1: Download complete [2020-09-20T18:52:30.875Z] ce6a7cf60c04: Verifying Checksum [2020-09-20T18:52:30.875Z] ce6a7cf60c04: Download complete [2020-09-20T18:52:30.875Z] 0dadc02b9964: Verifying Checksum [2020-09-20T18:52:30.875Z] 0dadc02b9964: Download complete [2020-09-20T18:52:30.875Z] 7a184a31f384: Verifying Checksum [2020-09-20T18:52:30.875Z] 7a184a31f384: Download complete [2020-09-20T18:52:31.141Z] 8ad3a11d3b57: Verifying Checksum [2020-09-20T18:52:31.142Z] 8ad3a11d3b57: Download complete [2020-09-20T18:52:31.404Z] df20fa9351a1: Pull complete [2020-09-20T18:52:31.404Z] 36b3adc4ff6f: Pull complete [2020-09-20T18:52:31.671Z] 0879bd2ef858: Verifying Checksum [2020-09-20T18:52:31.671Z] 0879bd2ef858: Download complete [2020-09-20T18:52:31.933Z] 8ad3a11d3b57: Pull complete [2020-09-20T18:52:32.200Z] 46f8f816bc3b: Pull complete [2020-09-20T18:52:32.463Z] 0dadc02b9964: Pull complete [2020-09-20T18:52:32.463Z] ce6a7cf60c04: Pull complete [2020-09-20T18:52:32.726Z] 7a184a31f384: Pull complete [2020-09-20T18:52:34.650Z] 0879bd2ef858: Pull complete [2020-09-20T18:52:34.912Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-20T18:52:34.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:52:34.912Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-20T18:52:35.102Z] prd-centos7-docker-4c-2g-586 does not seem to be running inside a container [2020-09-20T18:52:35.147Z] $ 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-20T18:52:41.166Z] $ docker top ff1d69d5ddb58fab37f943c41a513b9becc65559cb35459fa0c9fa84669c22a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:52:41.737Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-20T18:52:42.042Z] + ls /var/log/sa-host [2020-09-20T18:52:42.042Z] + sadf -c /var/log/sa-host/sa05 [2020-09-20T18:52:42.043Z] file_magic: OK [2020-09-20T18:52:42.043Z] HZ: Using current value: 100 [2020-09-20T18:52:42.043Z] file_header: OK [2020-09-20T18:52:42.043Z] 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-20T18:52:42.043Z] Statistics: [2020-09-20T18:52:42.043Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-20T18:52:42.043Z] File successfully converted to sysstat format version 12.2.1 [2020-09-20T18:52:42.043Z] + sadf -c /var/log/sa-host/sa20 [2020-09-20T18:52:42.043Z] file_magic: OK [2020-09-20T18:52:42.043Z] HZ: Using current value: 100 [2020-09-20T18:52:42.043Z] file_header: OK [2020-09-20T18:52:42.043Z] 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-20T18:52:42.043Z] Statistics: [2020-09-20T18:52:42.043Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-20T18:52:42.043Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-20T18:52:42.108Z] provisioning config files... [2020-09-20T18:52:42.126Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config8770723028744312441tmp [Pipeline] { [Pipeline] echo [2020-09-20T18:52:42.195Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:52:42.494Z] ---> create-netrc.sh [Pipeline] echo [2020-09-20T18:52:42.505Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:52:42.802Z] ---> logs-deploy.sh [2020-09-20T18:52:42.802Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-586/8 [2020-09-20T18:52:42.802Z] INFO: archiving workspace using pattern(s): [2020-09-20T18:52:44.200Z] Archives upload complete. [2020-09-20T18:52:44.200Z] INFO: archiving logs to Nexus