Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4d3928a445fe6b0fab8e7cb8929633fe4725dd90+0916c9033c71b8931055140091788f6fe2f32c33 (9659b46e453f3aa25857819664285afe51e1fe6a) 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 Running on prd-centos7-docker-4c-2g-581 in /w/workspace/dgexfoundry_device-sdk-go_PR-593 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-593 # 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/593/head:refs/remotes/origin/PR-593 +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/593/head:refs/remotes/origin/PR-593 # 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/593/head:refs/remotes/origin/PR-593 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 4d3928a445fe6b0fab8e7cb8929633fe4725dd90 Merge succeeded, producing 816079c675ea94510a4ff91ae7f2c747d851f5ea Checking out Revision 816079c675ea94510a4ff91ae7f2c747d851f5ea (PR-593) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d3928a445fe6b0fab8e7cb8929633fe4725dd90 # 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 816079c675ea94510a4ff91ae7f2c747d851f5ea # timeout=10 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" > git rev-list --no-walk 4d3928a445fe6b0fab8e7cb8929633fe4725dd90 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-20T18:40:25.468Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-20T18:40:25.753Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-20T18:40:25.858Z] ========================================================= [2020-09-20T18:40:25.858Z] EdgeX Global Pipelines Version Info [2020-09-20T18:40:25.858Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:40:27.360Z] ------------------- [2020-09-20T18:40:27.360Z] stable info: [2020-09-20T18:40:27.360Z] ------------------- [2020-09-20T18:40:27.360Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-20T18:40:27.360Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-20T18:40:27.360Z] Message: update stable to v1.0.122 [2020-09-20T18:40:28.308Z] ------------------- [2020-09-20T18:40:28.308Z] experimental info: [2020-09-20T18:40:28.308Z] ------------------- [2020-09-20T18:40:28.308Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-20T18:40:28.308Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-20T18:40:28.308Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-20T18:40:28.767Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-20T18:40:28.901Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-20T18:40:29.021Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-20T18:40:29.157Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-20T18:40:29.246Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-20T18:40:29.331Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-20T18:40:29.418Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-20T18:40:29.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-20T18:40:29.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-20T18:40:29.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-20T18:40:29.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-20T18:40:29.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-20T18:40:29.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-20T18:40:30.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-20T18:40:30.192Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-20T18:40:30.294Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:40:30.395Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:40:30.525Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:40:30.632Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-20T18:40:30.734Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-20T18:40:30.857Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-20T18:40:31.036Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-20T18:40:31.128Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-593 [Pipeline] echo [2020-09-20T18:40:31.263Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-593 [Pipeline] echo [2020-09-20T18:40:31.349Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-593 [Pipeline] echo [2020-09-20T18:40:31.435Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 816079c675ea94510a4ff91ae7f2c747d851f5ea [Pipeline] echo [2020-09-20T18:40:31.530Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 816079c [Pipeline] echo [2020-09-20T18:40:31.624Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T18:40:32.256Z] + git log --format=format:%s -1 816079c675ea94510a4ff91ae7f2c747d851f5ea [Pipeline] echo [2020-09-20T18:40:32.320Z] GIT_COMMIT: 816079c675ea94510a4ff91ae7f2c747d851f5ea, Commit Message: Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD [Pipeline] echo [2020-09-20T18:40:32.365Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:40:33.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:40:33.562Z] [2020-09-20T18:40:33.562Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:40:33.905Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:40:33.905Z] latest: Pulling from edgex-devops/git-semver [2020-09-20T18:40:33.905Z] 31603596830f: Pulling fs layer [2020-09-20T18:40:33.905Z] 2a8b12db71e7: Pulling fs layer [2020-09-20T18:40:33.905Z] 6ca5941a6612: Pulling fs layer [2020-09-20T18:40:33.905Z] ecc8261a40a4: Pulling fs layer [2020-09-20T18:40:33.905Z] ecc8261a40a4: Waiting [2020-09-20T18:40:34.170Z] 2a8b12db71e7: Verifying Checksum [2020-09-20T18:40:34.170Z] 2a8b12db71e7: Download complete [2020-09-20T18:40:34.170Z] 31603596830f: Verifying Checksum [2020-09-20T18:40:34.170Z] 31603596830f: Download complete [2020-09-20T18:40:34.436Z] ecc8261a40a4: Verifying Checksum [2020-09-20T18:40:34.436Z] ecc8261a40a4: Download complete [2020-09-20T18:40:34.436Z] 6ca5941a6612: Verifying Checksum [2020-09-20T18:40:34.436Z] 6ca5941a6612: Download complete [2020-09-20T18:40:34.436Z] 31603596830f: Pull complete [2020-09-20T18:40:34.700Z] 2a8b12db71e7: Pull complete [2020-09-20T18:40:35.278Z] 6ca5941a6612: Pull complete [2020-09-20T18:40:35.540Z] ecc8261a40a4: Pull complete [2020-09-20T18:40:35.540Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-20T18:40:35.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:40:35.540Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-20T18:40:35.639Z] prd-centos7-docker-4c-2g-581 does not seem to be running inside a container [2020-09-20T18:40:35.691Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-593 -v /w/workspace/dgexfoundry_device-sdk-go_PR-593:/w/workspace/dgexfoundry_device-sdk-go_PR-593:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-593@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-593@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-20T18:40:37.664Z] $ docker top 41f876f49042698508c72fd95d7a235663ef4227267462520e2ef85cc14d97b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-20T18:40:38.045Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T18:40:38.046Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T18:40:38.273Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T18:40:38.276Z] $ docker exec 41f876f49042698508c72fd95d7a235663ef4227267462520e2ef85cc14d97b2 ssh-agent [2020-09-20T18:40:38.440Z] SSH_AUTH_SOCK=/tmp/ssh-XkXEdL8IPNDw/agent.11 [2020-09-20T18:40:38.440Z] SSH_AGENT_PID=16 [2020-09-20T18:40:38.455Z] Running ssh-add (command line suppressed) [2020-09-20T18:40:38.575Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-593@tmp/private_key_4836885525424063075.key (/w/workspace/dgexfoundry_device-sdk-go_PR-593@tmp/private_key_4836885525424063075.key) [2020-09-20T18:40:38.624Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T18:40:38.961Z] + git describe --exact-match --tags HEAD [2020-09-20T18:40:38.961Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-20T18:40:38.985Z] $ docker exec --env ******** --env ******** 41f876f49042698508c72fd95d7a235663ef4227267462520e2ef85cc14d97b2 ssh-agent -k [2020-09-20T18:40:39.096Z] unset SSH_AUTH_SOCK; [2020-09-20T18:40:39.096Z] unset SSH_AGENT_PID; [2020-09-20T18:40:39.096Z] echo Agent pid 16 killed; [2020-09-20T18:40:39.140Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-20T18:40:39.228Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-20T18:40:39.228Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-20T18:40:39.322Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T18:40:39.322Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T18:40:39.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T18:40:39.485Z] $ docker exec 41f876f49042698508c72fd95d7a235663ef4227267462520e2ef85cc14d97b2 ssh-agent [2020-09-20T18:40:39.644Z] SSH_AUTH_SOCK=/tmp/ssh-ckZPgI3ztIKN/agent.45 [2020-09-20T18:40:39.644Z] SSH_AGENT_PID=50 [2020-09-20T18:40:39.651Z] Running ssh-add (command line suppressed) [2020-09-20T18:40:39.778Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-593@tmp/private_key_7043041982849473396.key (/w/workspace/dgexfoundry_device-sdk-go_PR-593@tmp/private_key_7043041982849473396.key) [2020-09-20T18:40:39.826Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T18:40:40.170Z] + git semver init [2020-09-20T18:40:40.170Z] # -> Open(): unable to determine branch for HEAD [2020-09-20T18:40:40.170Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-593/.git [2020-09-20T18:40:40.170Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-593 [2020-09-20T18:40:40.170Z] # $SEMVER_REMOTE_NAME = origin [2020-09-20T18:40:40.170Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-20T18:40:40.170Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-20T18:40:40.170Z] # $SEMVER_BRANCH = PR-593 [2020-09-20T18:40:40.170Z] # $SEMVER_TEMP = /tmp/semver-003118900 [2020-09-20T18:40:40.170Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-20T18:40:40.817Z] # '/tmp/semver-003118900' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-593/.semver' [2020-09-20T18:40:40.817Z] # -> Force: false [2020-09-20T18:40:40.817Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-593/.semver [Pipeline] } [2020-09-20T18:40:40.858Z] $ docker exec --env ******** --env ******** 41f876f49042698508c72fd95d7a235663ef4227267462520e2ef85cc14d97b2 ssh-agent -k [2020-09-20T18:40:40.975Z] unset SSH_AUTH_SOCK; [2020-09-20T18:40:40.975Z] unset SSH_AGENT_PID; [2020-09-20T18:40:40.975Z] echo Agent pid 50 killed; [2020-09-20T18:40:41.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-20T18:40:41.483Z] + git semver [Pipeline] } [2020-09-20T18:40:41.501Z] $ docker stop --time=1 41f876f49042698508c72fd95d7a235663ef4227267462520e2ef85cc14d97b2 [2020-09-20T18:40:42.835Z] $ docker rm -f 41f876f49042698508c72fd95d7a235663ef4227267462520e2ef85cc14d97b2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-20T18:40:43.604Z] Stashed 38 file(s) [Pipeline] echo [2020-09-20T18:40:43.606Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-20T18:40:43.712Z] 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:40:59.192Z] Still waiting to schedule task [2020-09-20T18:40:59.192Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-581’ [2020-09-20T18:40:59.195Z] Still waiting to schedule task [2020-09-20T18:40:59.195Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-20T18:42:54.249Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-583 in /w/workspace/dgexfoundry_device-sdk-go_PR-593 [Pipeline] { [Pipeline] ws [2020-09-20T18:42:54.312Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-09-20T18:43:00.319Z] using credential edgex-jenkins-ssh [2020-09-20T18:43:00.424Z] Cloning the remote Git repository [2020-09-20T18:43:00.424Z] Cloning with configured refspecs honoured and without tags [2020-09-20T18:43:00.463Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:43:00.567Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-09-20T18:43:00.633Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:43:00.634Z] > git --version # timeout=10 [2020-09-20T18:43:00.661Z] > git --version # 'git version 2.17.1' [2020-09-20T18:43:00.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:43:00.717Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/593/head:refs/remotes/origin/PR-593 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:43:01.895Z] Fetching without tags [2020-09-20T18:43:01.797Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:43:01.825Z] > git config --add remote.origin.fetch +refs/pull/593/head:refs/remotes/origin/PR-593 # timeout=10 [2020-09-20T18:43:01.845Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:43:01.865Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:43:01.892Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:43:01.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:43:01.905Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/593/head:refs/remotes/origin/PR-593 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:43:02.469Z] Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 4d3928a445fe6b0fab8e7cb8929633fe4725dd90 [2020-09-20T18:43:02.786Z] Merge succeeded, producing 681a90e63a9450a4291f5e861119bc5662db3f6c [2020-09-20T18:43:02.786Z] Checking out Revision 681a90e63a9450a4291f5e861119bc5662db3f6c (PR-593) [2020-09-20T18:43:02.471Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:43:02.487Z] > git checkout -f 4d3928a445fe6b0fab8e7cb8929633fe4725dd90 # timeout=10 [2020-09-20T18:43:02.589Z] > git remote # timeout=10 [2020-09-20T18:43:02.605Z] > git config --get remote.origin.url # timeout=10 [2020-09-20T18:43:02.616Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:43:02.660Z] > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 [2020-09-20T18:43:02.744Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-20T18:43:02.778Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:43:02.803Z] > git checkout -f 681a90e63a9450a4291f5e861119bc5662db3f6c # timeout=10 [2020-09-20T18:43:07.025Z] Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" [2020-09-20T18:43:07.023Z] > git rev-list --no-walk 4d3928a445fe6b0fab8e7cb8929633fe4725dd90 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-20T18:43:08.618Z] ========================================================= [2020-09-20T18:43:08.618Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-20T18:43:08.618Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:43:09.782Z] + 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:43:10.774Z] Sending build context to Docker daemon 3.166MB [2020-09-20T18:43:10.774Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-20T18:43:10.774Z] Step 2/8 : FROM ${BASE} [2020-09-20T18:43:11.048Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-20T18:43:11.048Z] b538f80385f9: Pulling fs layer [2020-09-20T18:43:11.048Z] 74f711af9a0d: Pulling fs layer [2020-09-20T18:43:11.048Z] 99f96fe45779: Pulling fs layer [2020-09-20T18:43:11.048Z] 8529a6b9a6be: Pulling fs layer [2020-09-20T18:43:11.048Z] 45590311c82a: Pulling fs layer [2020-09-20T18:43:11.048Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-20T18:43:11.048Z] 209524e5b208: Pulling fs layer [2020-09-20T18:43:11.048Z] 8529a6b9a6be: Waiting [2020-09-20T18:43:11.048Z] 45590311c82a: Waiting [2020-09-20T18:43:11.048Z] 69ca0ff8b7b3: Waiting [2020-09-20T18:43:11.048Z] 209524e5b208: Waiting [2020-09-20T18:43:11.048Z] 99f96fe45779: Download complete [2020-09-20T18:43:11.048Z] 74f711af9a0d: Verifying Checksum [2020-09-20T18:43:11.048Z] 74f711af9a0d: Download complete [2020-09-20T18:43:11.048Z] 45590311c82a: Download complete [2020-09-20T18:43:11.325Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-20T18:43:11.326Z] 69ca0ff8b7b3: Download complete [2020-09-20T18:43:11.326Z] b538f80385f9: Download complete [2020-09-20T18:43:11.937Z] b538f80385f9: Pull complete [2020-09-20T18:43:12.556Z] 74f711af9a0d: Pull complete [2020-09-20T18:43:13.164Z] 99f96fe45779: Pull complete [2020-09-20T18:43:13.761Z] 209524e5b208: Verifying Checksum [2020-09-20T18:43:13.761Z] 209524e5b208: Download complete [2020-09-20T18:43:14.755Z] 8529a6b9a6be: Verifying Checksum [2020-09-20T18:43:14.755Z] 8529a6b9a6be: Download complete [2020-09-20T18:43:27.178Z] 8529a6b9a6be: Pull complete [2020-09-20T18:43:27.178Z] 45590311c82a: Pull complete [2020-09-20T18:43:27.178Z] 69ca0ff8b7b3: Pull complete [2020-09-20T18:43:29.829Z] 209524e5b208: Pull complete [2020-09-20T18:43:29.829Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-20T18:43:29.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-20T18:43:29.829Z] ---> 5bddaf1c2fca [2020-09-20T18:43:29.829Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:43:33.234Z] ---> Running in 9c16a7fe9283 [2020-09-20T18:43:33.234Z] Removing intermediate container 9c16a7fe9283 [2020-09-20T18:43:33.234Z] ---> 932d19038565 [2020-09-20T18:43:33.234Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:43:33.505Z] ---> Running in 993655657bdd [2020-09-20T18:43:36.133Z] Removing intermediate container 993655657bdd [2020-09-20T18:43:36.133Z] ---> 12d365a0d22c [2020-09-20T18:43:36.133Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-20T18:43:36.133Z] ---> Running in 74e8ba1ed0cb [2020-09-20T18:43:37.581Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-20T18:43:38.560Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-20T18:43:39.154Z] OK: 142 MiB in 39 packages [2020-09-20T18:43:40.133Z] Removing intermediate container 74e8ba1ed0cb [2020-09-20T18:43:40.133Z] ---> ef30280f5c67 [2020-09-20T18:43:40.133Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-20T18:43:40.133Z] ---> Running in b6dfeb68f855 [2020-09-20T18:43:40.730Z] Removing intermediate container b6dfeb68f855 [2020-09-20T18:43:40.730Z] ---> c371073e3f78 [2020-09-20T18:43:40.730Z] Step 7/8 : COPY . . [2020-09-20T18:43:42.180Z] ---> fc03848fdd44 [2020-09-20T18:43:42.180Z] Step 8/8 : RUN go mod download [2020-09-20T18:43:42.180Z] ---> Running in 030246356b38 [2020-09-20T18:43:57.294Z] Removing intermediate container 030246356b38 [2020-09-20T18:43:57.294Z] ---> 7e3ca5fcb660 [2020-09-20T18:43:57.294Z] Successfully built 7e3ca5fcb660 [2020-09-20T18:43:57.294Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:43:57.714Z] + docker inspect -f . ci-base-image-arm64 [2020-09-20T18:43:57.714Z] . [Pipeline] withDockerContainer [2020-09-20T18:43:58.047Z] prd-ubuntu18.04-docker-arm64-4c-16g-583 does not seem to be running inside a container [2020-09-20T18:43:58.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-20T18:44:00.030Z] $ docker top 87071d517356d860784fc5466d385c5c32d8d427d14ff18e72afb50809a98703 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:44:01.525Z] + go version [2020-09-20T18:44:01.525Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-20T18:44:01.557Z] $ docker stop --time=1 87071d517356d860784fc5466d385c5c32d8d427d14ff18e72afb50809a98703 [2020-09-20T18:44:03.499Z] $ docker rm -f 87071d517356d860784fc5466d385c5c32d8d427d14ff18e72afb50809a98703 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:44:04.625Z] + docker inspect -f . ci-base-image-arm64 [2020-09-20T18:44:04.626Z] . [Pipeline] withDockerContainer [2020-09-20T18:44:04.892Z] prd-ubuntu18.04-docker-arm64-4c-16g-583 does not seem to be running inside a container [2020-09-20T18:44:04.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-20T18:44:06.783Z] $ docker top d55f5abceb90329e0361deaef1485b11e0960ed02f34c0e695f03de9f9f97d49 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:44:08.228Z] + make test [2020-09-20T18:44:08.228Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-20T18:44:30.442Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-20T18:45:09.509Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-20T18:45:09.509Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-20T18:45:09.509Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-20T18:45:09.509Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.062s coverage: 21.9% of statements [2020-09-20T18:45:09.509Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.316s coverage: 95.7% of statements [2020-09-20T18:45:41.924Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.060s coverage: 8.6% of statements [2020-09-20T18:45:41.925Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.7% of statements [2020-09-20T18:45:41.925Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-20T18:45:41.925Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.484s coverage: 37.0% of statements [2020-09-20T18:45:41.925Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-20T18:45:41.925Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.726s coverage: 65.4% of statements [2020-09-20T18:45:41.925Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-20T18:45:41.925Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-20T18:45:41.925Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-20T18:45:41.925Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.256s coverage: 52.6% of statements [2020-09-20T18:45:41.925Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.849s coverage: 68.9% of statements [2020-09-20T18:45:41.925Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-20T18:45:41.925Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-20T18:45:41.925Z] GO111MODULE=on go vet ./... [2020-09-20T18:46:08.763Z] gofmt -l . [2020-09-20T18:46:08.763Z] [ "`gofmt -l .`" = "" ] [2020-09-20T18:46:08.763Z] ./bin/test-attribution-txt.sh [2020-09-20T18:46:08.763Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-20T18:46:09.626Z] Stashed 1 file(s) [Pipeline] } [2020-09-20T18:46:09.642Z] $ docker stop --time=1 d55f5abceb90329e0361deaef1485b11e0960ed02f34c0e695f03de9f9f97d49 [2020-09-20T18:46:11.611Z] $ docker rm -f d55f5abceb90329e0361deaef1485b11e0960ed02f34c0e695f03de9f9f97d49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-09-20T18:46:14.696Z] Running on prd-centos7-docker-4c-2g-591 in /w/workspace/dgexfoundry_device-sdk-go_PR-593 [Pipeline] { [Pipeline] sh [Pipeline] ws [2020-09-20T18:46:15.315Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-09-20T18:46:15.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-20T18:46:15.900Z] + ls -al . [2020-09-20T18:46:15.900Z] total 228 [2020-09-20T18:46:15.900Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 18:46 . [2020-09-20T18:46:15.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:43 .. [2020-09-20T18:46:15.900Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 18:43 .dockerignore [2020-09-20T18:46:15.900Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 18:43 .git [2020-09-20T18:46:15.900Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:43 .github [2020-09-20T18:46:15.900Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 20 18:43 .gitignore [2020-09-20T18:46:15.900Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 18:43 .semver [2020-09-20T18:46:15.900Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 20 18:43 Dockerfile.build [2020-09-20T18:46:15.900Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 20 18:43 Jenkinsfile [2020-09-20T18:46:15.900Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 18:43 LICENSE [2020-09-20T18:46:15.900Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 20 18:43 Makefile [2020-09-20T18:46:15.900Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 20 18:43 README.md [2020-09-20T18:46:15.900Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 20 18:43 RELEASE-NOTES.txt [2020-09-20T18:46:15.900Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 18:40 VERSION [2020-09-20T18:46:15.900Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:43 bin [2020-09-20T18:46:15.900Z] -rw-r--r-- 1 jenkins jenkins 111696 Sep 20 18:45 coverage.out [2020-09-20T18:46:15.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:43 example [2020-09-20T18:46:15.900Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 20 18:46 go.mod [2020-09-20T18:46:15.900Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 20 18:46 go.sum [2020-09-20T18:46:15.900Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 20 18:43 internal [2020-09-20T18:46:15.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:43 openapi [2020-09-20T18:46:15.900Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 18:43 pkg [2020-09-20T18:46:15.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:43 snap [2020-09-20T18:46:15.900Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 18:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:46:16.242Z] + 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=816079c675ea94510a4ff91ae7f2c747d851f5ea --label arch=arm64 --label version=0.0.0 . [2020-09-20T18:46:16.519Z] Sending build context to Docker daemon 3.28MB [2020-09-20T18:46:16.792Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-20T18:46:16.792Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-20T18:46:16.792Z] ---> 7e3ca5fcb660 [2020-09-20T18:46:16.792Z] Step 3/24 : ARG MAKE='make build' [2020-09-20T18:46:17.063Z] ---> Running in df6688c33b80 [2020-09-20T18:46:17.337Z] Removing intermediate container df6688c33b80 [2020-09-20T18:46:17.337Z] ---> c467bdd2c426 [2020-09-20T18:46:17.337Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-20T18:46:17.611Z] ---> Running in 0e806e9b9012 [2020-09-20T18:46:17.885Z] Removing intermediate container 0e806e9b9012 [2020-09-20T18:46:17.885Z] ---> 33d2564ea689 [2020-09-20T18:46:17.885Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:46:18.153Z] using credential edgex-jenkins-ssh [2020-09-20T18:46:18.161Z] ---> Running in cb50cf0d4378 [2020-09-20T18:46:18.228Z] Cloning the remote Git repository [2020-09-20T18:46:18.228Z] Cloning with configured refspecs honoured and without tags [2020-09-20T18:46:18.761Z] Removing intermediate container cb50cf0d4378 [2020-09-20T18:46:18.761Z] ---> b51ea4fde078 [2020-09-20T18:46:18.761Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:46:18.761Z] ---> Running in 377bd9d0fcc2 [2020-09-20T18:46:18.256Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:46:18.324Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-09-20T18:46:18.371Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:46:18.372Z] > git --version # timeout=10 [2020-09-20T18:46:18.379Z] > git --version # 'git version 2.16.5' [2020-09-20T18:46:18.380Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:46:18.403Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/593/head:refs/remotes/origin/PR-593 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:46:19.108Z] Fetching without tags [2020-09-20T18:46:19.476Z] Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 4d3928a445fe6b0fab8e7cb8929633fe4725dd90 [2020-09-20T18:46:19.593Z] Merge succeeded, producing 39a92620a59e369945089fe0e042c7dd9d3ca52f [2020-09-20T18:46:19.593Z] Checking out Revision 39a92620a59e369945089fe0e042c7dd9d3ca52f (PR-593) [2020-09-20T18:46:19.072Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:46:19.082Z] > git config --add remote.origin.fetch +refs/pull/593/head:refs/remotes/origin/PR-593 # timeout=10 [2020-09-20T18:46:19.087Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:46:19.097Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:46:19.114Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:46:19.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:46:19.119Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/593/head:refs/remotes/origin/PR-593 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:46:19.490Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:46:19.495Z] > git checkout -f 4d3928a445fe6b0fab8e7cb8929633fe4725dd90 # timeout=10 [2020-09-20T18:46:19.544Z] > git remote # timeout=10 [2020-09-20T18:46:19.549Z] > git config --get remote.origin.url # timeout=10 [2020-09-20T18:46:19.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:46:19.556Z] > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 [2020-09-20T18:46:19.587Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-20T18:46:19.596Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:46:19.600Z] > git checkout -f 39a92620a59e369945089fe0e042c7dd9d3ca52f # timeout=10 [2020-09-20T18:46:21.392Z] Removing intermediate container 377bd9d0fcc2 [2020-09-20T18:46:21.392Z] ---> 0fe74bd44c15 [2020-09-20T18:46:21.392Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-20T18:46:21.392Z] ---> Running in 2d1190e0bc8c [2020-09-20T18:46:22.827Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-20T18:46:23.297Z] Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" [2020-09-20T18:46:23.302Z] > git rev-list --no-walk 4d3928a445fe6b0fab8e7cb8929633fe4725dd90 # timeout=10 [2020-09-20T18:46:23.422Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-20T18:46:24.019Z] OK: 142 MiB in 39 packages [Pipeline] echo [2020-09-20T18:46:24.167Z] ========================================================= [2020-09-20T18:46:24.167Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-20T18:46:24.167Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:46:24.798Z] + 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:25.013Z] Removing intermediate container 2d1190e0bc8c [2020-09-20T18:46:25.014Z] ---> 99512646120d [2020-09-20T18:46:25.014Z] Step 8/24 : COPY . . [2020-09-20T18:46:25.388Z] Sending build context to Docker daemon 3.167MB [2020-09-20T18:46:25.388Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-20T18:46:25.388Z] Step 2/8 : FROM ${BASE} [2020-09-20T18:46:25.388Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-20T18:46:25.388Z] df20fa9351a1: Pulling fs layer [2020-09-20T18:46:25.388Z] ed8968b2872e: Pulling fs layer [2020-09-20T18:46:25.388Z] a92cc7c5fd73: Pulling fs layer [2020-09-20T18:46:25.388Z] e871e8e8d7a9: Pulling fs layer [2020-09-20T18:46:25.388Z] e73272ec9a57: Pulling fs layer [2020-09-20T18:46:25.388Z] 1e910a182e73: Pulling fs layer [2020-09-20T18:46:25.388Z] 4e634b169226: Pulling fs layer [2020-09-20T18:46:25.388Z] 1e910a182e73: Waiting [2020-09-20T18:46:25.388Z] e871e8e8d7a9: Waiting [2020-09-20T18:46:25.388Z] 4e634b169226: Waiting [2020-09-20T18:46:25.388Z] e73272ec9a57: Waiting [2020-09-20T18:46:25.388Z] a92cc7c5fd73: Verifying Checksum [2020-09-20T18:46:25.388Z] a92cc7c5fd73: Download complete [2020-09-20T18:46:25.388Z] ed8968b2872e: Verifying Checksum [2020-09-20T18:46:25.388Z] ed8968b2872e: Download complete [2020-09-20T18:46:25.388Z] e73272ec9a57: Verifying Checksum [2020-09-20T18:46:25.388Z] e73272ec9a57: Download complete [2020-09-20T18:46:25.388Z] 1e910a182e73: Verifying Checksum [2020-09-20T18:46:25.388Z] 1e910a182e73: Download complete [2020-09-20T18:46:25.388Z] df20fa9351a1: Verifying Checksum [2020-09-20T18:46:25.388Z] df20fa9351a1: Download complete [2020-09-20T18:46:25.655Z] df20fa9351a1: Pull complete [2020-09-20T18:46:25.921Z] ed8968b2872e: Pull complete [2020-09-20T18:46:25.921Z] a92cc7c5fd73: Pull complete [2020-09-20T18:46:26.465Z] ---> 052f428e39a5 [2020-09-20T18:46:26.465Z] Step 9/24 : RUN ${MAKE} [2020-09-20T18:46:26.465Z] ---> Running in ca1dc788e7b7 [2020-09-20T18:46:27.903Z] 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:46:28.481Z] 4e634b169226: Verifying Checksum [2020-09-20T18:46:28.481Z] 4e634b169226: Download complete [2020-09-20T18:46:30.409Z] e871e8e8d7a9: Download complete [2020-09-20T18:46:35.805Z] e871e8e8d7a9: Pull complete [2020-09-20T18:46:35.805Z] e73272ec9a57: Pull complete [2020-09-20T18:46:35.805Z] 1e910a182e73: Pull complete [2020-09-20T18:46:40.027Z] 4e634b169226: Pull complete [2020-09-20T18:46:40.027Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-20T18:46:40.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-20T18:46:40.027Z] ---> f7629b54cfaa [2020-09-20T18:46:40.027Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:46:40.027Z] ---> Running in 8acd102a1469 [2020-09-20T18:46:40.292Z] Removing intermediate container 8acd102a1469 [2020-09-20T18:46:40.292Z] ---> 67a0ead5a702 [2020-09-20T18:46:40.292Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:46:40.292Z] ---> Running in 1d8ee3ae3cf8 [2020-09-20T18:46:42.225Z] Removing intermediate container 1d8ee3ae3cf8 [2020-09-20T18:46:42.225Z] ---> f84ee792a4bf [2020-09-20T18:46:42.225Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-20T18:46:42.225Z] ---> Running in 1525d35cdb24 [2020-09-20T18:46:42.488Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-20T18:46:45.042Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-20T18:46:45.616Z] OK: 166 MiB in 39 packages [2020-09-20T18:46:45.876Z] Removing intermediate container 1525d35cdb24 [2020-09-20T18:46:45.876Z] ---> 3b46ba7dcb91 [2020-09-20T18:46:45.876Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-20T18:46:45.876Z] ---> Running in a13dde8e0de0 [2020-09-20T18:46:46.137Z] Removing intermediate container a13dde8e0de0 [2020-09-20T18:46:46.137Z] ---> 8ca17835a29e [2020-09-20T18:46:46.137Z] Step 7/8 : COPY . . [2020-09-20T18:46:47.528Z] ---> 4cb45e9b9a6c [2020-09-20T18:46:47.528Z] Step 8/8 : RUN go mod download [2020-09-20T18:46:47.528Z] ---> Running in 650c327e56ea [2020-09-20T18:46:50.085Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-20T18:46:52.703Z] Removing intermediate container ca1dc788e7b7 [2020-09-20T18:46:52.703Z] ---> 9a5a15944a63 [2020-09-20T18:46:52.703Z] Step 10/24 : FROM scratch [2020-09-20T18:46:52.703Z] ---> [2020-09-20T18:46:52.703Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:46:52.703Z] ---> Running in bfa0a3206c3a [2020-09-20T18:46:52.975Z] Removing intermediate container bfa0a3206c3a [2020-09-20T18:46:52.975Z] ---> 7f3f27b097c0 [2020-09-20T18:46:52.975Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-20T18:46:52.975Z] ---> Running in 6ba57d88782d [2020-09-20T18:46:53.589Z] Removing intermediate container 6ba57d88782d [2020-09-20T18:46:53.589Z] ---> 3382e5072a2b [2020-09-20T18:46:53.589Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-20T18:46:53.589Z] ---> Running in 25b2233a8371 [2020-09-20T18:46:53.867Z] Removing intermediate container 25b2233a8371 [2020-09-20T18:46:53.867Z] ---> 531c48464a36 [2020-09-20T18:46:53.867Z] Step 14/24 : WORKDIR / [2020-09-20T18:46:54.144Z] ---> Running in 217b042722a5 [2020-09-20T18:46:54.429Z] Removing intermediate container 217b042722a5 [2020-09-20T18:46:54.429Z] ---> 78bcd9952fcb [2020-09-20T18:46:54.429Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-20T18:46:55.871Z] ---> 45e193e22e89 [2020-09-20T18:46:55.871Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-20T18:46:56.490Z] ---> ebfb83b878f6 [2020-09-20T18:46:56.490Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-20T18:46:57.093Z] ---> 90fc16833382 [2020-09-20T18:46:57.093Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-20T18:46:58.072Z] ---> 76ae49963aff [2020-09-20T18:46:58.072Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-20T18:46:58.668Z] ---> 3da13a7520c4 [2020-09-20T18:46:58.668Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-20T18:46:58.668Z] ---> Running in 8cd6af72e7a1 [2020-09-20T18:46:59.258Z] Removing intermediate container 8cd6af72e7a1 [2020-09-20T18:46:59.258Z] ---> 761e77a9e600 [2020-09-20T18:46:59.258Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-20T18:46:59.258Z] ---> Running in c9158716a1b3 [2020-09-20T18:46:59.529Z] Removing intermediate container c9158716a1b3 [2020-09-20T18:46:59.529Z] ---> 87408bf865e1 [2020-09-20T18:46:59.529Z] Step 22/24 : LABEL arch=arm64 [2020-09-20T18:46:59.799Z] ---> Running in 994e9f9884e5 [2020-09-20T18:46:59.799Z] Removing intermediate container 650c327e56ea [2020-09-20T18:46:59.799Z] ---> 8e4d0a060c8c [2020-09-20T18:46:59.799Z] Successfully built 8e4d0a060c8c [2020-09-20T18:46:59.799Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:47:00.071Z] Removing intermediate container 994e9f9884e5 [2020-09-20T18:47:00.071Z] ---> dd9c6240e0e4 [2020-09-20T18:47:00.071Z] Step 23/24 : LABEL git_sha=816079c675ea94510a4ff91ae7f2c747d851f5ea [2020-09-20T18:47:00.151Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-20T18:47:00.151Z] . [Pipeline] withDockerContainer [2020-09-20T18:47:00.254Z] prd-centos7-docker-4c-2g-591 does not seem to be running inside a container [2020-09-20T18:47:00.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-20T18:47:00.344Z] ---> Running in f6cea67404ff [2020-09-20T18:47:00.615Z] Removing intermediate container f6cea67404ff [2020-09-20T18:47:00.615Z] ---> 883c7273936f [2020-09-20T18:47:00.615Z] Step 24/24 : LABEL version=0.0.0 [2020-09-20T18:47:00.887Z] ---> Running in c5b827c51160 [2020-09-20T18:47:01.160Z] Removing intermediate container c5b827c51160 [2020-09-20T18:47:01.160Z] ---> 495dc0f9f2c6 [2020-09-20T18:47:01.160Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-20T18:47:01.433Z] Successfully built 495dc0f9f2c6 [2020-09-20T18:47:01.433Z] Successfully tagged docker-device-sdk-simple-arm64:latest [2020-09-20T18:47:01.588Z] $ docker top 6385fe1372e71cf1b4aa0b0ea195df94a8c071d40d2f3ba898af0522e2cfab12 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-09-20T18:47:02.227Z] + go version [2020-09-20T18:47:02.227Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-20T18:47:02.262Z] $ docker stop --time=1 6385fe1372e71cf1b4aa0b0ea195df94a8c071d40d2f3ba898af0522e2cfab12 [2020-09-20T18:47:03.635Z] $ docker rm -f 6385fe1372e71cf1b4aa0b0ea195df94a8c071d40d2f3ba898af0522e2cfab12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] } [2020-09-20T18:47:04.722Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-20T18:47:04.722Z] . [Pipeline] withDockerContainer [2020-09-20T18:47:04.823Z] prd-centos7-docker-4c-2g-591 does not seem to be running inside a container [2020-09-20T18:47:04.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-20T18:47:05.498Z] $ docker top d87b3b5beb9decd81f2ad891aa42a08dcca29b064ce917d067e1d1b9fcfaa494 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:47:05.965Z] + make test [2020-09-20T18:47:05.965Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-20T18:47:12.624Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-20T18:47:24.959Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-20T18:47:24.959Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-20T18:47:24.959Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-20T18:47:24.959Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.030s coverage: 21.9% of statements [2020-09-20T18:47:26.911Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.408s coverage: 95.7% of statements [2020-09-20T18:47:59.057Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.041s coverage: 8.6% of statements [2020-09-20T18:47:59.057Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.043s coverage: 21.7% of statements [2020-09-20T18:47:59.057Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-20T18:47:59.057Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.176s coverage: 37.0% of statements [2020-09-20T18:47:59.057Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-20T18:47:59.057Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.240s coverage: 65.4% of statements [2020-09-20T18:47:59.057Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-20T18:47:59.057Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-20T18:47:59.057Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-20T18:47:59.057Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements [2020-09-20T18:47:59.057Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.278s coverage: 68.9% of statements [2020-09-20T18:47:59.057Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-20T18:47:59.057Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-20T18:47:59.057Z] GO111MODULE=on go vet ./... [2020-09-20T18:48:03.365Z] gofmt -l . [2020-09-20T18:48:03.365Z] [ "`gofmt -l .`" = "" ] [2020-09-20T18:48:03.628Z] ./bin/test-attribution-txt.sh [2020-09-20T18:48:04.204Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-20T18:48:04.217Z] Warning: overwriting stash ‘coverage-report’ [2020-09-20T18:48:04.503Z] Stashed 1 file(s) [Pipeline] } [2020-09-20T18:48:04.510Z] $ docker stop --time=1 d87b3b5beb9decd81f2ad891aa42a08dcca29b064ce917d067e1d1b9fcfaa494 [2020-09-20T18:48:06.360Z] $ docker rm -f d87b3b5beb9decd81f2ad891aa42a08dcca29b064ce917d067e1d1b9fcfaa494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T18:48:07.364Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-20T18:48:07.675Z] + ls -al . [2020-09-20T18:48:07.675Z] total 188 [2020-09-20T18:48:07.675Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 20 18:48 . [2020-09-20T18:48:07.675Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 20 18:46 .. [2020-09-20T18:48:07.675Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 20 18:46 bin [2020-09-20T18:48:07.675Z] -rw-r--r--. 1 jenkins jenkins 111696 Sep 20 18:47 coverage.out [2020-09-20T18:48:07.675Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 20 18:46 Dockerfile.build [2020-09-20T18:48:07.675Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 20 18:46 .dockerignore [2020-09-20T18:48:07.675Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 20 18:46 example [2020-09-20T18:48:07.675Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 20 18:46 .git [2020-09-20T18:48:07.675Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 20 18:46 .github [2020-09-20T18:48:07.675Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 20 18:46 .gitignore [2020-09-20T18:48:07.675Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 20 18:48 go.mod [2020-09-20T18:48:07.675Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 20 18:48 go.sum [2020-09-20T18:48:07.675Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 20 18:46 internal [2020-09-20T18:48:07.675Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 20 18:46 Jenkinsfile [2020-09-20T18:48:07.675Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 20 18:46 LICENSE [2020-09-20T18:48:07.675Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 20 18:46 Makefile [2020-09-20T18:48:07.675Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 20 18:46 openapi [2020-09-20T18:48:07.675Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 20 18:46 pkg [2020-09-20T18:48:07.675Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 20 18:46 README.md [2020-09-20T18:48:07.675Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 20 18:46 RELEASE-NOTES.txt [2020-09-20T18:48:07.675Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 20 18:46 .semver [2020-09-20T18:48:07.675Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 20 18:46 snap [2020-09-20T18:48:07.675Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 20 18:40 VERSION [2020-09-20T18:48:07.675Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 20 18:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:48:07.985Z] + 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=816079c675ea94510a4ff91ae7f2c747d851f5ea --label arch=amd64 --label version=0.0.0 . [2020-09-20T18:48:08.253Z] Sending build context to Docker daemon 3.28MB [2020-09-20T18:48:08.253Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-20T18:48:08.253Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-20T18:48:08.253Z] ---> 8e4d0a060c8c [2020-09-20T18:48:08.253Z] Step 3/24 : ARG MAKE='make build' [2020-09-20T18:48:08.827Z] ---> Running in f0b01f805fd1 [2020-09-20T18:48:08.827Z] Removing intermediate container f0b01f805fd1 [2020-09-20T18:48:08.827Z] ---> 499e01c2ed0e [2020-09-20T18:48:08.827Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-20T18:48:09.091Z] ---> Running in df77d812c8de [2020-09-20T18:48:09.091Z] Removing intermediate container df77d812c8de [2020-09-20T18:48:09.091Z] ---> 6db3f3794f05 [2020-09-20T18:48:09.091Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:48:09.091Z] ---> Running in 09d01c841161 [2020-09-20T18:48:09.353Z] Removing intermediate container 09d01c841161 [2020-09-20T18:48:09.353Z] ---> 9950e4789fc8 [2020-09-20T18:48:09.353Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:48:09.353Z] ---> Running in 3a4069ffd1dd [2020-09-20T18:48:10.304Z] Removing intermediate container 3a4069ffd1dd [2020-09-20T18:48:10.304Z] ---> 7dc752c747d8 [2020-09-20T18:48:10.304Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-20T18:48:10.304Z] ---> Running in 59fb37703540 [2020-09-20T18:48:10.881Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-20T18:48:11.455Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-20T18:48:12.030Z] OK: 166 MiB in 39 packages [2020-09-20T18:48:12.293Z] Removing intermediate container 59fb37703540 [2020-09-20T18:48:12.293Z] ---> cef90ddaaac6 [2020-09-20T18:48:12.293Z] Step 8/24 : COPY . . [2020-09-20T18:48:13.242Z] ---> 7c7ead911e9e [2020-09-20T18:48:13.242Z] Step 9/24 : RUN ${MAKE} [2020-09-20T18:48:13.508Z] ---> Running in 71ee8d351702 [2020-09-20T18:48:14.086Z] 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:20.789Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-20T18:48:22.724Z] Removing intermediate container 71ee8d351702 [2020-09-20T18:48:22.724Z] ---> 02ec45d82f98 [2020-09-20T18:48:22.724Z] Step 10/24 : FROM scratch [2020-09-20T18:48:22.724Z] ---> [2020-09-20T18:48:22.724Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:48:22.724Z] ---> Running in c0d9f1ab171b [2020-09-20T18:48:22.989Z] Removing intermediate container c0d9f1ab171b [2020-09-20T18:48:22.989Z] ---> cc73c26a59b9 [2020-09-20T18:48:22.989Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-20T18:48:22.989Z] ---> Running in 3cda2dc789f7 [2020-09-20T18:48:23.257Z] Removing intermediate container 3cda2dc789f7 [2020-09-20T18:48:23.257Z] ---> 84d261031909 [2020-09-20T18:48:23.257Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-20T18:48:23.257Z] ---> Running in a9d6e186ca15 [2020-09-20T18:48:23.257Z] Removing intermediate container a9d6e186ca15 [2020-09-20T18:48:23.257Z] ---> 91894a3707cc [2020-09-20T18:48:23.257Z] Step 14/24 : WORKDIR / [2020-09-20T18:48:23.535Z] ---> Running in fcff1fe2e7ca [2020-09-20T18:48:23.535Z] Removing intermediate container fcff1fe2e7ca [2020-09-20T18:48:23.535Z] ---> 9c63eb8747db [2020-09-20T18:48:23.535Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-20T18:48:24.112Z] ---> 886fad71cc8b [2020-09-20T18:48:24.112Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-20T18:48:24.112Z] ---> 2c104435f769 [2020-09-20T18:48:24.112Z] 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.372Z] ---> 0d6854ee3433 [2020-09-20T18:48:24.372Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-20T18:48:24.643Z] ---> e3280d4c2660 [2020-09-20T18:48:24.643Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-20T18:48:24.908Z] ---> 2334bd281a31 [2020-09-20T18:48:24.908Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-20T18:48:24.908Z] ---> Running in 92f3b54639df [2020-09-20T18:48:25.171Z] Removing intermediate container 92f3b54639df [2020-09-20T18:48:25.171Z] ---> 41fcb1061fff [2020-09-20T18:48:25.171Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-20T18:48:25.171Z] ---> Running in 4228dbd50621 [2020-09-20T18:48:25.434Z] Removing intermediate container 4228dbd50621 [2020-09-20T18:48:25.434Z] ---> 401000fcfebc [2020-09-20T18:48:25.434Z] Step 22/24 : LABEL arch=amd64 [2020-09-20T18:48:25.434Z] ---> Running in c90f3b2f2ce9 [2020-09-20T18:48:25.696Z] Removing intermediate container c90f3b2f2ce9 [2020-09-20T18:48:25.696Z] ---> 6ff588098a34 [2020-09-20T18:48:25.696Z] Step 23/24 : LABEL git_sha=816079c675ea94510a4ff91ae7f2c747d851f5ea [2020-09-20T18:48:25.696Z] ---> Running in 1580fb11cbb3 [2020-09-20T18:48:25.696Z] Removing intermediate container 1580fb11cbb3 [2020-09-20T18:48:25.696Z] ---> adb14cc71760 [2020-09-20T18:48:25.696Z] Step 24/24 : LABEL version=0.0.0 [2020-09-20T18:48:25.959Z] ---> Running in ec4029fc82a8 [2020-09-20T18:48:25.959Z] Removing intermediate container ec4029fc82a8 [2020-09-20T18:48:25.959Z] ---> 99ffba1dd0a6 [2020-09-20T18:48:25.959Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-20T18:48:25.959Z] Successfully built 99ffba1dd0a6 [2020-09-20T18:48:25.959Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-20T18:48:27.996Z] provisioning config files... [2020-09-20T18:48:28.009Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-593@tmp/config5812763438594899041tmp [Pipeline] { [Pipeline] sh [2020-09-20T18:48:28.377Z] + curl -s https://codecov.io/bash [2020-09-20T18:48:28.377Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-593@tmp/config5812763438594899041tmp [Pipeline] } [2020-09-20T18:48:28.655Z] 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:48:31.269Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:48:31.836Z] ---> package-listing.sh [2020-09-20T18:48:31.836Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-20T18:48:31.836Z] ++ facter osfamily [2020-09-20T18:48:31.836Z] + OS_FAMILY=redhat [2020-09-20T18:48:31.836Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-593 [2020-09-20T18:48:31.836Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-20T18:48:31.836Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-20T18:48:31.836Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-20T18:48:31.836Z] + PACKAGES=/tmp/packages_start.txt [2020-09-20T18:48:31.836Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-593 ']' [2020-09-20T18:48:31.836Z] + PACKAGES=/tmp/packages_end.txt [2020-09-20T18:48:31.836Z] + case "${OS_FAMILY}" in [2020-09-20T18:48:31.836Z] + rpm -qa [2020-09-20T18:48:31.836Z] + sort [2020-09-20T18:48:36.066Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-20T18:48:36.066Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-20T18:48:36.066Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-20T18:48:36.066Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-593 ']' [2020-09-20T18:48:36.066Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-593/archives/ [2020-09-20T18:48:36.066Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-593/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:48:37.156Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:48:37.156Z] [2020-09-20T18:48:37.156Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:48:37.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:48:37.519Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-20T18:48:37.519Z] df20fa9351a1: Pulling fs layer [2020-09-20T18:48:37.519Z] 36b3adc4ff6f: Pulling fs layer [2020-09-20T18:48:37.519Z] 8ad3a11d3b57: Pulling fs layer [2020-09-20T18:48:37.519Z] 46f8f816bc3b: Pulling fs layer [2020-09-20T18:48:37.519Z] 0dadc02b9964: Pulling fs layer [2020-09-20T18:48:37.519Z] ce6a7cf60c04: Pulling fs layer [2020-09-20T18:48:37.519Z] 7a184a31f384: Pulling fs layer [2020-09-20T18:48:37.519Z] 0879bd2ef858: Pulling fs layer [2020-09-20T18:48:37.519Z] 0dadc02b9964: Waiting [2020-09-20T18:48:37.519Z] 7a184a31f384: Waiting [2020-09-20T18:48:37.519Z] 0879bd2ef858: Waiting [2020-09-20T18:48:37.519Z] ce6a7cf60c04: Waiting [2020-09-20T18:48:37.519Z] 46f8f816bc3b: Waiting [2020-09-20T18:48:37.519Z] 36b3adc4ff6f: Download complete [2020-09-20T18:48:37.519Z] 46f8f816bc3b: Download complete [2020-09-20T18:48:37.519Z] df20fa9351a1: Download complete [2020-09-20T18:48:37.519Z] ce6a7cf60c04: Download complete [2020-09-20T18:48:37.519Z] 7a184a31f384: Verifying Checksum [2020-09-20T18:48:37.519Z] 7a184a31f384: Download complete [2020-09-20T18:48:37.785Z] 0dadc02b9964: Verifying Checksum [2020-09-20T18:48:37.785Z] 0dadc02b9964: Download complete [2020-09-20T18:48:37.785Z] 8ad3a11d3b57: Verifying Checksum [2020-09-20T18:48:37.785Z] 8ad3a11d3b57: Download complete [2020-09-20T18:48:38.047Z] df20fa9351a1: Pull complete [2020-09-20T18:48:38.047Z] 0879bd2ef858: Verifying Checksum [2020-09-20T18:48:38.047Z] 0879bd2ef858: Download complete [2020-09-20T18:48:38.313Z] 36b3adc4ff6f: Pull complete [2020-09-20T18:48:38.892Z] 8ad3a11d3b57: Pull complete [2020-09-20T18:48:38.892Z] 46f8f816bc3b: Pull complete [2020-09-20T18:48:39.155Z] 0dadc02b9964: Pull complete [2020-09-20T18:48:39.417Z] ce6a7cf60c04: Pull complete [2020-09-20T18:48:39.417Z] 7a184a31f384: Pull complete [2020-09-20T18:48:41.990Z] 0879bd2ef858: Pull complete [2020-09-20T18:48:41.990Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-20T18:48:41.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:48:41.990Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-20T18:48:42.131Z] prd-centos7-docker-4c-2g-581 does not seem to be running inside a container [2020-09-20T18:48:42.179Z] $ 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-593 -v /w/workspace/dgexfoundry_device-sdk-go_PR-593:/w/workspace/dgexfoundry_device-sdk-go_PR-593:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-593@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-593@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-20T18:48:47.082Z] $ docker top 6b8791dc236ef28d670e695dd6dc55f845ada1c13cb4c5aa811bf5734fa3265d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:48:47.604Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-20T18:48:47.903Z] + ls /var/log/sa-host [2020-09-20T18:48:47.903Z] + sadf -c /var/log/sa-host/sa05 [2020-09-20T18:48:47.903Z] file_magic: OK [2020-09-20T18:48:47.903Z] HZ: Using current value: 100 [2020-09-20T18:48:47.903Z] file_header: OK [2020-09-20T18:48:47.903Z] 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:48:47.903Z] Statistics: [2020-09-20T18:48:47.903Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-20T18:48:47.903Z] File successfully converted to sysstat format version 12.2.1 [2020-09-20T18:48:47.903Z] + sadf -c /var/log/sa-host/sa20 [2020-09-20T18:48:47.903Z] file_magic: OK [2020-09-20T18:48:47.903Z] HZ: Using current value: 100 [2020-09-20T18:48:47.903Z] file_header: OK [2020-09-20T18:48:47.903Z] 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:48:47.903Z] Statistics: [2020-09-20T18:48:47.903Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-20T18:48:47.903Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-20T18:48:47.965Z] provisioning config files... [2020-09-20T18:48:47.982Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-593@tmp/config9173930647958672536tmp [Pipeline] { [Pipeline] echo [2020-09-20T18:48:48.115Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:48:48.408Z] ---> create-netrc.sh [Pipeline] echo [2020-09-20T18:48:48.418Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:48:48.714Z] ---> logs-deploy.sh [2020-09-20T18:48:48.714Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-593/2 [2020-09-20T18:48:48.714Z] INFO: archiving workspace using pattern(s): [2020-09-20T18:48:50.103Z] Archives upload complete. [2020-09-20T18:48:50.103Z] INFO: archiving logs to Nexus