Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b2c68ec273215b3839fa79913927ed9c700821ef+0cafa7decaaa0dab3b86f836c2c615e8e839d11b (a0e2dda7a9f3459daccac7edb409f86513d06757) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7909e789ffc0fecf34d47f501ec8db0a80105338 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-904’ Running on prd-centos7-docker-4c-2g-909 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning 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-582 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit b2c68ec273215b3839fa79913927ed9c700821ef > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing f3ce4c967237eb22ffcb45cae18f55080ad66748 Checking out Revision f3ce4c967237eb22ffcb45cae18f55080ad66748 (PR-582) > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f3ce4c967237eb22ffcb45cae18f55080ad66748 # timeout=10 Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 17a85bb1df95a294e287fd46c68a8e3b1fa5e92e # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-22T18:45:50.538Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-22T18:45:50.947Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-22T18:45:51.061Z] ========================================================= [2020-09-22T18:45:51.061Z] EdgeX Global Pipelines Version Info [2020-09-22T18:45:51.061Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:45:54.306Z] ------------------- [2020-09-22T18:45:54.306Z] stable info: [2020-09-22T18:45:54.306Z] ------------------- [2020-09-22T18:45:54.306Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-22T18:45:54.306Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-22T18:45:54.306Z] Message: update stable to v1.0.122 [2020-09-22T18:45:56.023Z] ------------------- [2020-09-22T18:45:56.023Z] experimental info: [2020-09-22T18:45:56.023Z] ------------------- [2020-09-22T18:45:56.023Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-22T18:45:56.023Z] Commit SHA: 4cadb88800041bcc4665ba3be4ccb25d089af403 [2020-09-22T18:45:56.023Z] Message: update experimental to v1.0.126 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-22T18:45:56.448Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-22T18:45:56.534Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-22T18:45:56.626Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-22T18:45:56.779Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-22T18:45:56.866Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-22T18:45:56.957Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-22T18:45:57.053Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-22T18:45:57.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-22T18:45:57.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-22T18:45:57.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-22T18:45:57.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-22T18:45:57.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-22T18:45:57.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-22T18:45:57.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-22T18:45:57.789Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-22T18:45:57.873Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:45:57.962Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:45:58.067Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:45:58.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-22T18:45:58.245Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-22T18:45:58.415Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-22T18:45:58.520Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-22T18:45:58.611Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2020-09-22T18:45:58.700Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2020-09-22T18:45:58.789Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2020-09-22T18:45:58.903Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f3ce4c967237eb22ffcb45cae18f55080ad66748 [Pipeline] echo [2020-09-22T18:45:58.991Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f3ce4c9 [Pipeline] echo [2020-09-22T18:45:59.084Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T18:45:59.736Z] + git log --format=format:%s -1 f3ce4c967237eb22ffcb45cae18f55080ad66748 [Pipeline] echo [2020-09-22T18:45:59.854Z] GIT_COMMIT: f3ce4c967237eb22ffcb45cae18f55080ad66748, Commit Message: Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD [Pipeline] echo [2020-09-22T18:45:59.900Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:46:00.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:46:00.753Z] [2020-09-22T18:46:00.753Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:46:01.303Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:46:01.613Z] latest: Pulling from edgex-devops/git-semver [2020-09-22T18:46:01.613Z] 31603596830f: Pulling fs layer [2020-09-22T18:46:01.613Z] 2a8b12db71e7: Pulling fs layer [2020-09-22T18:46:01.613Z] 6ca5941a6612: Pulling fs layer [2020-09-22T18:46:01.613Z] ecc8261a40a4: Pulling fs layer [2020-09-22T18:46:01.613Z] ecc8261a40a4: Waiting [2020-09-22T18:46:01.613Z] 2a8b12db71e7: Verifying Checksum [2020-09-22T18:46:01.613Z] 2a8b12db71e7: Download complete [2020-09-22T18:46:01.613Z] 31603596830f: Verifying Checksum [2020-09-22T18:46:01.613Z] 31603596830f: Download complete [2020-09-22T18:46:01.903Z] ecc8261a40a4: Verifying Checksum [2020-09-22T18:46:01.903Z] ecc8261a40a4: Download complete [2020-09-22T18:46:02.193Z] 6ca5941a6612: Verifying Checksum [2020-09-22T18:46:02.193Z] 6ca5941a6612: Download complete [2020-09-22T18:46:02.193Z] 31603596830f: Pull complete [2020-09-22T18:46:02.459Z] 2a8b12db71e7: Pull complete [2020-09-22T18:46:03.599Z] 6ca5941a6612: Pull complete [2020-09-22T18:46:03.874Z] ecc8261a40a4: Pull complete [2020-09-22T18:46:03.874Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-22T18:46:03.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:46:03.874Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-22T18:46:04.067Z] prd-centos7-docker-4c-2g-909 does not seem to be running inside a container [2020-09-22T18:46:04.165Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-22T18:46:06.437Z] $ docker top dca27e5bfddbe6593e7c2b3f4b81ebec3b05278705d5aeb0ed2a9d580a7ee1f3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T18:46:06.813Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T18:46:06.813Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T18:46:07.126Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T18:46:07.133Z] $ docker exec dca27e5bfddbe6593e7c2b3f4b81ebec3b05278705d5aeb0ed2a9d580a7ee1f3 ssh-agent [2020-09-22T18:46:07.445Z] SSH_AUTH_SOCK=/tmp/ssh-m01LgMyV8M6a/agent.11 [2020-09-22T18:46:07.445Z] SSH_AGENT_PID=16 [2020-09-22T18:46:07.466Z] Running ssh-add (command line suppressed) [2020-09-22T18:46:07.632Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3049268675707731402.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3049268675707731402.key) [2020-09-22T18:46:07.707Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T18:46:08.079Z] + git describe --exact-match --tags HEAD [2020-09-22T18:46:08.079Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-22T18:46:08.117Z] $ docker exec --env ******** --env ******** dca27e5bfddbe6593e7c2b3f4b81ebec3b05278705d5aeb0ed2a9d580a7ee1f3 ssh-agent -k [2020-09-22T18:46:08.306Z] unset SSH_AUTH_SOCK; [2020-09-22T18:46:08.307Z] unset SSH_AGENT_PID; [2020-09-22T18:46:08.307Z] echo Agent pid 16 killed; [2020-09-22T18:46:08.426Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-22T18:46:08.533Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-22T18:46:08.533Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-22T18:46:08.634Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T18:46:08.634Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T18:46:08.912Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T18:46:08.932Z] $ docker exec dca27e5bfddbe6593e7c2b3f4b81ebec3b05278705d5aeb0ed2a9d580a7ee1f3 ssh-agent [2020-09-22T18:46:09.286Z] SSH_AUTH_SOCK=/tmp/ssh-ME5Z3MUl8UwB/agent.44 [2020-09-22T18:46:09.286Z] SSH_AGENT_PID=49 [2020-09-22T18:46:09.333Z] Running ssh-add (command line suppressed) [2020-09-22T18:46:09.539Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_4639057625480003315.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_4639057625480003315.key) [2020-09-22T18:46:09.660Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T18:46:10.082Z] + git semver init [2020-09-22T18:46:10.082Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T18:46:10.082Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git [2020-09-22T18:46:10.083Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-09-22T18:46:10.083Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T18:46:10.083Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T18:46:10.083Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T18:46:10.083Z] # $SEMVER_BRANCH = PR-582 [2020-09-22T18:46:10.083Z] # $SEMVER_TEMP = /tmp/semver-786770719 [2020-09-22T18:46:10.083Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-22T18:46:11.054Z] # '/tmp/semver-786770719' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' [2020-09-22T18:46:11.054Z] # -> Force: false [2020-09-22T18:46:11.054Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } [2020-09-22T18:46:11.082Z] $ docker exec --env ******** --env ******** dca27e5bfddbe6593e7c2b3f4b81ebec3b05278705d5aeb0ed2a9d580a7ee1f3 ssh-agent -k [2020-09-22T18:46:11.335Z] unset SSH_AUTH_SOCK; [2020-09-22T18:46:11.335Z] unset SSH_AGENT_PID; [2020-09-22T18:46:11.335Z] echo Agent pid 49 killed; [2020-09-22T18:46:11.427Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T18:46:11.951Z] + git semver [Pipeline] } [2020-09-22T18:46:12.076Z] $ docker stop --time=1 dca27e5bfddbe6593e7c2b3f4b81ebec3b05278705d5aeb0ed2a9d580a7ee1f3 [2020-09-22T18:46:13.795Z] $ docker rm -f dca27e5bfddbe6593e7c2b3f4b81ebec3b05278705d5aeb0ed2a9d580a7ee1f3 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-22T18:46:15.298Z] Stashed 39 file(s) [Pipeline] echo [2020-09-22T18:46:15.301Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-22T18:46:15.390Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-22T18:46:30.837Z] Still waiting to schedule task [2020-09-22T18:46:30.837Z] ‘prd-centos7-docker-4c-2g-912’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-906’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-09-22T18:46:30.839Z] Still waiting to schedule task [2020-09-22T18:46:30.839Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-906’ is offline [2020-09-22T18:47:49.590Z] Running on prd-centos7-docker-4c-2g-918 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-09-22T18:47:49.654Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-09-22T18:47:53.735Z] using credential edgex-jenkins-ssh [2020-09-22T18:47:53.787Z] Cloning the remote Git repository [2020-09-22T18:47:53.787Z] Cloning with configured refspecs honoured and without tags [2020-09-22T18:47:53.818Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:47:53.882Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-09-22T18:47:53.930Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:47:53.930Z] > git --version # timeout=10 [2020-09-22T18:47:53.942Z] > git --version # 'git version 2.16.5' [2020-09-22T18:47:53.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:47:53.973Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:47:54.695Z] Fetching without tags [2020-09-22T18:47:55.089Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit b2c68ec273215b3839fa79913927ed9c700821ef [2020-09-22T18:47:55.220Z] Merge succeeded, producing 821b96b09a72ffffb0d061b2fc272564d74f36ea [2020-09-22T18:47:55.220Z] Checking out Revision 821b96b09a72ffffb0d061b2fc272564d74f36ea (PR-582) [2020-09-22T18:47:54.656Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:47:54.664Z] > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 [2020-09-22T18:47:54.670Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:47:54.687Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:47:54.701Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:47:54.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:47:54.708Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:47:55.099Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:47:55.104Z] > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 [2020-09-22T18:47:55.154Z] > git remote # timeout=10 [2020-09-22T18:47:55.163Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T18:47:55.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:47:55.175Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-22T18:47:55.213Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T18:47:55.225Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:47:55.239Z] > git checkout -f 821b96b09a72ffffb0d061b2fc272564d74f36ea # timeout=10 [2020-09-22T18:47:58.929Z] Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" [2020-09-22T18:47:58.940Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-22T18:47:58.935Z] > git rev-list --no-walk 17a85bb1df95a294e287fd46c68a8e3b1fa5e92e # timeout=10 [Pipeline] echo [2020-09-22T18:47:59.853Z] ========================================================= [2020-09-22T18:47:59.853Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-22T18:47:59.853Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:48:00.572Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-22T18:48:00.841Z] Sending build context to Docker daemon 3.173MB [2020-09-22T18:48:00.841Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T18:48:00.841Z] Step 2/8 : FROM ${BASE} [2020-09-22T18:48:01.106Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-22T18:48:01.106Z] df20fa9351a1: Pulling fs layer [2020-09-22T18:48:01.106Z] ed8968b2872e: Pulling fs layer [2020-09-22T18:48:01.106Z] a92cc7c5fd73: Pulling fs layer [2020-09-22T18:48:01.106Z] e871e8e8d7a9: Pulling fs layer [2020-09-22T18:48:01.106Z] e73272ec9a57: Pulling fs layer [2020-09-22T18:48:01.106Z] 1e910a182e73: Pulling fs layer [2020-09-22T18:48:01.106Z] 4e634b169226: Pulling fs layer [2020-09-22T18:48:01.106Z] e871e8e8d7a9: Waiting [2020-09-22T18:48:01.106Z] e73272ec9a57: Waiting [2020-09-22T18:48:01.106Z] 1e910a182e73: Waiting [2020-09-22T18:48:01.106Z] a92cc7c5fd73: Verifying Checksum [2020-09-22T18:48:01.106Z] a92cc7c5fd73: Download complete [2020-09-22T18:48:01.106Z] ed8968b2872e: Download complete [2020-09-22T18:48:01.106Z] e73272ec9a57: Verifying Checksum [2020-09-22T18:48:01.106Z] e73272ec9a57: Download complete [2020-09-22T18:48:01.106Z] 1e910a182e73: Verifying Checksum [2020-09-22T18:48:01.106Z] df20fa9351a1: Verifying Checksum [2020-09-22T18:48:01.106Z] df20fa9351a1: Download complete [2020-09-22T18:48:01.383Z] df20fa9351a1: Pull complete [2020-09-22T18:48:01.963Z] ed8968b2872e: Pull complete [2020-09-22T18:48:01.963Z] a92cc7c5fd73: Pull complete [2020-09-22T18:48:02.918Z] 4e634b169226: Verifying Checksum [2020-09-22T18:48:02.918Z] 4e634b169226: Download complete [2020-09-22T18:48:03.496Z] e871e8e8d7a9: Verifying Checksum [2020-09-22T18:48:03.496Z] e871e8e8d7a9: Download complete [2020-09-22T18:48:10.166Z] e871e8e8d7a9: Pull complete [2020-09-22T18:48:10.166Z] e73272ec9a57: Pull complete [2020-09-22T18:48:10.166Z] 1e910a182e73: Pull complete [2020-09-22T18:48:14.412Z] 4e634b169226: Pull complete [2020-09-22T18:48:14.412Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-22T18:48:14.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-22T18:48:14.412Z] ---> f7629b54cfaa [2020-09-22T18:48:14.412Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:48:14.675Z] ---> Running in d799f34fa185 [2020-09-22T18:48:14.942Z] Removing intermediate container d799f34fa185 [2020-09-22T18:48:14.942Z] ---> bc288ed0a442 [2020-09-22T18:48:14.942Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:48:14.942Z] ---> Running in 2073ee28effc [2020-09-22T18:48:16.351Z] Removing intermediate container 2073ee28effc [2020-09-22T18:48:16.351Z] ---> 33522de606dc [2020-09-22T18:48:16.351Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-22T18:48:16.351Z] ---> Running in 642b6f34e56a [2020-09-22T18:48:16.927Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T18:48:17.873Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T18:48:18.820Z] OK: 166 MiB in 39 packages [2020-09-22T18:48:19.401Z] Removing intermediate container 642b6f34e56a [2020-09-22T18:48:19.401Z] ---> df301157e7c9 [2020-09-22T18:48:19.401Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-22T18:48:19.401Z] ---> Running in 43bb4b4d796d [2020-09-22T18:48:19.401Z] Removing intermediate container 43bb4b4d796d [2020-09-22T18:48:19.401Z] ---> b556885296de [2020-09-22T18:48:19.401Z] Step 7/8 : COPY . . [2020-09-22T18:48:20.793Z] ---> 0f32861294c9 [2020-09-22T18:48:20.793Z] Step 8/8 : RUN go mod download [2020-09-22T18:48:20.793Z] ---> Running in 53dcc82ba236 [2020-09-22T18:48:33.075Z] Removing intermediate container 53dcc82ba236 [2020-09-22T18:48:33.075Z] ---> 7e9d03a85027 [2020-09-22T18:48:33.075Z] Successfully built 7e9d03a85027 [2020-09-22T18:48:33.075Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:48:33.440Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T18:48:33.440Z] . [Pipeline] withDockerContainer [2020-09-22T18:48:33.543Z] prd-centos7-docker-4c-2g-918 does not seem to be running inside a container [2020-09-22T18:48:33.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-22T18:48:34.540Z] $ docker top c14a145b48dd70b643e341159eede77ba419d558c77c39ba355ca0484ee07414 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:48:35.112Z] + go version [2020-09-22T18:48:35.112Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-22T18:48:35.128Z] $ docker stop --time=1 c14a145b48dd70b643e341159eede77ba419d558c77c39ba355ca0484ee07414 [2020-09-22T18:48:36.476Z] $ docker rm -f c14a145b48dd70b643e341159eede77ba419d558c77c39ba355ca0484ee07414 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:48:37.352Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T18:48:37.352Z] . [Pipeline] withDockerContainer [2020-09-22T18:48:37.455Z] prd-centos7-docker-4c-2g-918 does not seem to be running inside a container [2020-09-22T18:48:37.573Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-22T18:48:38.192Z] $ docker top 5b709a481cf9aa1c094c405498b0766edae85262d421ab317b17bff8a923d31d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:48:38.672Z] + make test [2020-09-22T18:48:38.672Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-22T18:48:46.881Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-22T18:48:59.237Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-22T18:48:59.237Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-22T18:48:59.237Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-22T18:48:59.237Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.054s coverage: 21.9% of statements [2020-09-22T18:49:00.645Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.431s coverage: 95.7% of statements [2020-09-22T18:49:32.815Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.036s coverage: 8.6% of statements [2020-09-22T18:49:32.815Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.034s coverage: 21.7% of statements [2020-09-22T18:49:32.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-22T18:49:32.815Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.186s coverage: 37.0% of statements [2020-09-22T18:49:32.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-22T18:49:32.815Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.260s coverage: 65.4% of statements [2020-09-22T18:49:32.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-22T18:49:32.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-22T18:49:32.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-22T18:49:32.815Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.121s coverage: 52.6% of statements [2020-09-22T18:49:32.815Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.377s coverage: 68.9% of statements [2020-09-22T18:49:32.815Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-22T18:49:32.815Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-22T18:49:32.815Z] GO111MODULE=on go vet ./... [2020-09-22T18:49:38.164Z] gofmt -l . [2020-09-22T18:49:38.164Z] [ "`gofmt -l .`" = "" ] [2020-09-22T18:49:38.164Z] ./bin/test-attribution-txt.sh [2020-09-22T18:49:38.737Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-22T18:49:39.311Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T18:49:39.319Z] $ docker stop --time=1 5b709a481cf9aa1c094c405498b0766edae85262d421ab317b17bff8a923d31d [2020-09-22T18:49:41.133Z] $ docker rm -f 5b709a481cf9aa1c094c405498b0766edae85262d421ab317b17bff8a923d31d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T18:49:42.756Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T18:49:43.062Z] + ls -al . [2020-09-22T18:49:43.062Z] total 188 [2020-09-22T18:49:43.062Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 22 18:49 . [2020-09-22T18:49:43.062Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 22 18:47 .. [2020-09-22T18:49:43.062Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 18:47 bin [2020-09-22T18:49:43.062Z] -rw-r--r--. 1 jenkins jenkins 111696 Sep 22 18:49 coverage.out [2020-09-22T18:49:43.062Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 22 18:47 Dockerfile.build [2020-09-22T18:49:43.062Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 22 18:47 .dockerignore [2020-09-22T18:49:43.062Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 22 18:47 example [2020-09-22T18:49:43.062Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 22 18:47 .git [2020-09-22T18:49:43.062Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 22 18:47 .github [2020-09-22T18:49:43.062Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 22 18:47 .gitignore [2020-09-22T18:49:43.062Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 22 18:49 go.mod [2020-09-22T18:49:43.062Z] -rw-r--r--. 1 jenkins jenkins 12258 Sep 22 18:49 go.sum [2020-09-22T18:49:43.062Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 22 18:47 internal [2020-09-22T18:49:43.062Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 22 18:47 Jenkinsfile [2020-09-22T18:49:43.062Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 22 18:47 LICENSE [2020-09-22T18:49:43.062Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 22 18:47 Makefile [2020-09-22T18:49:43.062Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 22 18:47 openapi [2020-09-22T18:49:43.062Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 22 18:47 pkg [2020-09-22T18:49:43.063Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 22 18:47 README.md [2020-09-22T18:49:43.063Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 22 18:47 RELEASE-NOTES.txt [2020-09-22T18:49:43.063Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 22 18:47 .semver [2020-09-22T18:49:43.063Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 22 18:47 snap [2020-09-22T18:49:43.063Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 22 18:46 VERSION [2020-09-22T18:49:43.063Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 22 18:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:49:43.371Z] + 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=f3ce4c967237eb22ffcb45cae18f55080ad66748 --label arch=amd64 --label version=0.0.0 . [2020-09-22T18:49:43.634Z] Sending build context to Docker daemon 3.287MB [2020-09-22T18:49:43.634Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-22T18:49:43.634Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-22T18:49:43.634Z] ---> 7e9d03a85027 [2020-09-22T18:49:43.634Z] Step 3/24 : ARG MAKE='make build' [2020-09-22T18:49:44.211Z] ---> Running in bf2ffa185c41 [2020-09-22T18:49:44.211Z] Removing intermediate container bf2ffa185c41 [2020-09-22T18:49:44.211Z] ---> a740f40f6b88 [2020-09-22T18:49:44.211Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-22T18:49:44.211Z] ---> Running in c3389ea430d9 [2020-09-22T18:49:44.473Z] Removing intermediate container c3389ea430d9 [2020-09-22T18:49:44.473Z] ---> 498bfbcdf128 [2020-09-22T18:49:44.473Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:49:44.473Z] ---> Running in 49f9b3c4958e [2020-09-22T18:49:44.737Z] Removing intermediate container 49f9b3c4958e [2020-09-22T18:49:44.737Z] ---> 491d2fe5162c [2020-09-22T18:49:44.737Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:49:44.737Z] ---> Running in 71d0f8b905f2 [2020-09-22T18:49:45.694Z] Removing intermediate container 71d0f8b905f2 [2020-09-22T18:49:45.694Z] ---> 31b99c8e8353 [2020-09-22T18:49:45.694Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-22T18:49:45.694Z] ---> Running in 38c42199dfe5 [2020-09-22T18:49:46.281Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T18:49:46.856Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T18:49:47.803Z] OK: 166 MiB in 39 packages [2020-09-22T18:49:48.066Z] Removing intermediate container 38c42199dfe5 [2020-09-22T18:49:48.066Z] ---> db39c492f7d2 [2020-09-22T18:49:48.066Z] Step 8/24 : COPY . . [2020-09-22T18:49:49.032Z] ---> 614d1a2aa4ff [2020-09-22T18:49:49.032Z] Step 9/24 : RUN ${MAKE} [2020-09-22T18:49:49.032Z] ---> Running in b630def97e3d [2020-09-22T18:49:49.608Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-22T18:49:57.906Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-22T18:49:58.490Z] Removing intermediate container b630def97e3d [2020-09-22T18:49:58.490Z] ---> 2bd915246449 [2020-09-22T18:49:58.490Z] Step 10/24 : FROM scratch [2020-09-22T18:49:58.490Z] ---> [2020-09-22T18:49:58.490Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:49:58.490Z] ---> Running in 5658b1f567cc [2020-09-22T18:49:58.490Z] Removing intermediate container 5658b1f567cc [2020-09-22T18:49:58.490Z] ---> 16de7d260d6e [2020-09-22T18:49:58.490Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-22T18:49:58.754Z] ---> Running in 88378d2c535f [2020-09-22T18:49:58.754Z] Removing intermediate container 88378d2c535f [2020-09-22T18:49:58.754Z] ---> 06163026deab [2020-09-22T18:49:58.754Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-22T18:49:59.016Z] ---> Running in 4b5dab05d5b6 [2020-09-22T18:49:59.016Z] Removing intermediate container 4b5dab05d5b6 [2020-09-22T18:49:59.016Z] ---> 55d12fe1e073 [2020-09-22T18:49:59.016Z] Step 14/24 : WORKDIR / [2020-09-22T18:49:59.016Z] ---> Running in f8f68d7471ad [2020-09-22T18:49:59.282Z] Removing intermediate container f8f68d7471ad [2020-09-22T18:49:59.282Z] ---> e63ba2ed31b1 [2020-09-22T18:49:59.282Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-22T18:49:59.856Z] ---> 557d7173a384 [2020-09-22T18:49:59.856Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-22T18:49:59.856Z] ---> d550d0432832 [2020-09-22T18:49:59.856Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-22T18:50:00.118Z] ---> 1bc04936043d [2020-09-22T18:50:00.118Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-22T18:50:00.379Z] ---> d37d534abdd8 [2020-09-22T18:50:00.379Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-22T18:50:00.641Z] ---> a60ff871aae1 [2020-09-22T18:50:00.641Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-22T18:50:00.641Z] ---> Running in 154b5b4e8fc0 [2020-09-22T18:50:00.904Z] Removing intermediate container 154b5b4e8fc0 [2020-09-22T18:50:00.904Z] ---> c7e8b51d4998 [2020-09-22T18:50:00.904Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-22T18:50:00.904Z] ---> Running in b13eb05a06b3 [2020-09-22T18:50:01.166Z] Removing intermediate container b13eb05a06b3 [2020-09-22T18:50:01.166Z] ---> 260e3bf9caa6 [2020-09-22T18:50:01.166Z] Step 22/24 : LABEL arch=amd64 [2020-09-22T18:50:01.166Z] ---> Running in 577e15a461b0 [2020-09-22T18:50:01.430Z] Removing intermediate container 577e15a461b0 [2020-09-22T18:50:01.430Z] ---> 59bf73b361a6 [2020-09-22T18:50:01.430Z] Step 23/24 : LABEL git_sha=f3ce4c967237eb22ffcb45cae18f55080ad66748 [2020-09-22T18:50:01.430Z] ---> Running in 5afb80d993e4 [2020-09-22T18:50:01.700Z] Removing intermediate container 5afb80d993e4 [2020-09-22T18:50:01.700Z] ---> c1b9db189947 [2020-09-22T18:50:01.700Z] Step 24/24 : LABEL version=0.0.0 [2020-09-22T18:50:01.700Z] ---> Running in 1cf3b6c0f0a1 [2020-09-22T18:50:01.700Z] Removing intermediate container 1cf3b6c0f0a1 [2020-09-22T18:50:01.700Z] ---> 4d566037a2ed [2020-09-22T18:50:01.700Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T18:50:01.962Z] Successfully built 4d566037a2ed [2020-09-22T18:50:01.962Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-22T18:50:10.010Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-922 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-09-22T18:50:10.068Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-09-22T18:50:15.660Z] using credential edgex-jenkins-ssh [2020-09-22T18:50:15.720Z] Cloning the remote Git repository [2020-09-22T18:50:15.720Z] Cloning with configured refspecs honoured and without tags [2020-09-22T18:50:15.782Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:50:15.897Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-09-22T18:50:15.960Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:50:15.961Z] > git --version # timeout=10 [2020-09-22T18:50:15.980Z] > git --version # 'git version 2.17.1' [2020-09-22T18:50:15.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:50:16.034Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:50:17.204Z] Fetching without tags [2020-09-22T18:50:17.102Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:50:17.125Z] > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 [2020-09-22T18:50:17.146Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:50:17.183Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:50:17.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:50:17.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:50:17.231Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:50:17.731Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit b2c68ec273215b3839fa79913927ed9c700821ef [2020-09-22T18:50:18.045Z] Merge succeeded, producing 908db6483a0e9e73c7ba03f1dc24791ca79f766f [2020-09-22T18:50:18.046Z] Checking out Revision 908db6483a0e9e73c7ba03f1dc24791ca79f766f (PR-582) [2020-09-22T18:50:17.753Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:50:17.776Z] > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 [2020-09-22T18:50:17.888Z] > git remote # timeout=10 [2020-09-22T18:50:17.902Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T18:50:17.921Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:50:17.931Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-22T18:50:18.026Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T18:50:18.056Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:50:18.069Z] > git checkout -f 908db6483a0e9e73c7ba03f1dc24791ca79f766f # timeout=10 [2020-09-22T18:50:22.652Z] Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" [2020-09-22T18:50:22.683Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-22T18:50:22.664Z] > git rev-list --no-walk 17a85bb1df95a294e287fd46c68a8e3b1fa5e92e # timeout=10 [Pipeline] echo [2020-09-22T18:50:24.022Z] ========================================================= [2020-09-22T18:50:24.023Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-22T18:50:24.023Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:50:25.164Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-22T18:50:26.163Z] Sending build context to Docker daemon 3.171MB [2020-09-22T18:50:26.163Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T18:50:26.163Z] Step 2/8 : FROM ${BASE} [2020-09-22T18:50:26.441Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-22T18:50:26.441Z] b538f80385f9: Pulling fs layer [2020-09-22T18:50:26.441Z] 74f711af9a0d: Pulling fs layer [2020-09-22T18:50:26.441Z] 99f96fe45779: Pulling fs layer [2020-09-22T18:50:26.442Z] 8529a6b9a6be: Pulling fs layer [2020-09-22T18:50:26.442Z] 45590311c82a: Pulling fs layer [2020-09-22T18:50:26.442Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-22T18:50:26.442Z] 209524e5b208: Pulling fs layer [2020-09-22T18:50:26.442Z] 8529a6b9a6be: Waiting [2020-09-22T18:50:26.442Z] 45590311c82a: Waiting [2020-09-22T18:50:26.442Z] 69ca0ff8b7b3: Waiting [2020-09-22T18:50:26.442Z] 209524e5b208: Waiting [2020-09-22T18:50:26.442Z] 99f96fe45779: Verifying Checksum [2020-09-22T18:50:26.442Z] 99f96fe45779: Download complete [2020-09-22T18:50:26.442Z] 74f711af9a0d: Download complete [2020-09-22T18:50:26.442Z] 45590311c82a: Verifying Checksum [2020-09-22T18:50:26.442Z] 45590311c82a: Download complete [2020-09-22T18:50:26.730Z] b538f80385f9: Verifying Checksum [2020-09-22T18:50:26.730Z] b538f80385f9: Download complete [2020-09-22T18:50:27.014Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-22T18:50:27.293Z] b538f80385f9: Pull complete [2020-09-22T18:50:27.897Z] 74f711af9a0d: Pull complete [2020-09-22T18:50:28.521Z] 99f96fe45779: Pull complete [2020-09-22T18:50:28.797Z] 209524e5b208: Verifying Checksum [2020-09-22T18:50:28.797Z] 209524e5b208: Download complete [2020-09-22T18:50:30.235Z] 8529a6b9a6be: Verifying Checksum [2020-09-22T18:50:30.235Z] 8529a6b9a6be: Download complete [2020-09-22T18:50:40.416Z] 8529a6b9a6be: Pull complete [2020-09-22T18:50:40.416Z] 45590311c82a: Pull complete [2020-09-22T18:50:40.416Z] 69ca0ff8b7b3: Pull complete [2020-09-22T18:50:43.850Z] 209524e5b208: Pull complete [2020-09-22T18:50:43.850Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-22T18:50:43.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-22T18:50:43.850Z] ---> 5bddaf1c2fca [2020-09-22T18:50:43.850Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:50:46.474Z] ---> Running in 01aee6469de0 [2020-09-22T18:50:46.746Z] Removing intermediate container 01aee6469de0 [2020-09-22T18:50:46.746Z] ---> a92904004574 [2020-09-22T18:50:46.746Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:50:47.018Z] ---> Running in ebb2036cb668 [2020-09-22T18:50:49.655Z] Removing intermediate container ebb2036cb668 [2020-09-22T18:50:49.655Z] ---> c4fa9b99b882 [2020-09-22T18:50:49.655Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-22T18:50:49.932Z] ---> Running in eb486f71b7b6 [2020-09-22T18:50:51.376Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T18:50:52.360Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T18:50:53.346Z] OK: 142 MiB in 39 packages [2020-09-22T18:50:54.339Z] Removing intermediate container eb486f71b7b6 [2020-09-22T18:50:54.339Z] ---> 4042ee3520d0 [2020-09-22T18:50:54.339Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-22T18:50:54.614Z] ---> Running in 823f1a7debb9 [2020-09-22T18:50:55.217Z] Removing intermediate container 823f1a7debb9 [2020-09-22T18:50:55.217Z] ---> c77b1b70b2e7 [2020-09-22T18:50:55.217Z] Step 7/8 : COPY . . [2020-09-22T18:50:56.676Z] ---> 0da8bc610758 [2020-09-22T18:50:56.676Z] Step 8/8 : RUN go mod download [2020-09-22T18:50:56.676Z] ---> Running in 70b12a69b09f [2020-09-22T18:51:11.782Z] Removing intermediate container 70b12a69b09f [2020-09-22T18:51:11.782Z] ---> 5a12fa04ce69 [2020-09-22T18:51:11.782Z] Successfully built 5a12fa04ce69 [2020-09-22T18:51:11.782Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:51:12.191Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T18:51:12.191Z] . [Pipeline] withDockerContainer [2020-09-22T18:51:12.470Z] prd-ubuntu18.04-docker-arm64-4c-16g-922 does not seem to be running inside a container [2020-09-22T18:51:12.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-22T18:51:14.395Z] $ docker top f394a70035696389aaa784d0c6651d185c62fa5f404a3fec031edc630cf7b4ad -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:51:15.809Z] + go version [2020-09-22T18:51:15.809Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-22T18:51:15.834Z] $ docker stop --time=1 f394a70035696389aaa784d0c6651d185c62fa5f404a3fec031edc630cf7b4ad [2020-09-22T18:51:17.697Z] $ docker rm -f f394a70035696389aaa784d0c6651d185c62fa5f404a3fec031edc630cf7b4ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:51:18.757Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T18:51:18.757Z] . [Pipeline] withDockerContainer [2020-09-22T18:51:19.021Z] prd-ubuntu18.04-docker-arm64-4c-16g-922 does not seem to be running inside a container [2020-09-22T18:51:19.108Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-22T18:51:20.961Z] $ docker top ebb437660d4c30502d86a7fd686c76c648a64eabf159b7a2479fc71602f78d67 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:51:22.377Z] + make test [2020-09-22T18:51:22.377Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-22T18:51:44.584Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-22T18:52:31.614Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-22T18:52:31.614Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-22T18:52:31.614Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-22T18:52:31.614Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.056s coverage: 21.9% of statements [2020-09-22T18:52:31.614Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.263s coverage: 95.7% of statements [2020-09-22T18:52:58.429Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.090s coverage: 8.6% of statements [2020-09-22T18:52:58.429Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.044s coverage: 21.7% of statements [2020-09-22T18:52:58.429Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-22T18:52:58.429Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.483s coverage: 37.0% of statements [2020-09-22T18:52:58.429Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-22T18:52:58.429Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.650s coverage: 65.4% of statements [2020-09-22T18:52:58.429Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-22T18:52:58.429Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-22T18:52:58.429Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-22T18:52:58.429Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.142s coverage: 52.6% of statements [2020-09-22T18:52:58.429Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.688s coverage: 68.9% of statements [2020-09-22T18:52:58.429Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-22T18:52:58.429Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-22T18:52:58.429Z] GO111MODULE=on go vet ./... [2020-09-22T18:53:25.289Z] gofmt -l . [2020-09-22T18:53:25.289Z] [ "`gofmt -l .`" = "" ] [2020-09-22T18:53:25.289Z] ./bin/test-attribution-txt.sh [2020-09-22T18:53:25.289Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-22T18:53:25.372Z] Warning: overwriting stash ‘coverage-report’ [2020-09-22T18:53:26.533Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T18:53:26.540Z] $ docker stop --time=1 ebb437660d4c30502d86a7fd686c76c648a64eabf159b7a2479fc71602f78d67 [2020-09-22T18:53:28.698Z] $ docker rm -f ebb437660d4c30502d86a7fd686c76c648a64eabf159b7a2479fc71602f78d67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T18:53:30.137Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T18:53:30.522Z] + ls -al . [2020-09-22T18:53:30.522Z] total 228 [2020-09-22T18:53:30.522Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 18:53 . [2020-09-22T18:53:30.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:50 .. [2020-09-22T18:53:30.522Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 18:50 .dockerignore [2020-09-22T18:53:30.522Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 18:50 .git [2020-09-22T18:53:30.522Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 18:50 .github [2020-09-22T18:53:30.522Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 22 18:50 .gitignore [2020-09-22T18:53:30.522Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 18:50 .semver [2020-09-22T18:53:30.522Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 22 18:50 Dockerfile.build [2020-09-22T18:53:30.522Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 22 18:50 Jenkinsfile [2020-09-22T18:53:30.522Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 18:50 LICENSE [2020-09-22T18:53:30.522Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 22 18:50 Makefile [2020-09-22T18:53:30.522Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 22 18:50 README.md [2020-09-22T18:53:30.522Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 22 18:50 RELEASE-NOTES.txt [2020-09-22T18:53:30.522Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 18:46 VERSION [2020-09-22T18:53:30.522Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 18:50 bin [2020-09-22T18:53:30.522Z] -rw-r--r-- 1 jenkins jenkins 111696 Sep 22 18:52 coverage.out [2020-09-22T18:53:30.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:50 example [2020-09-22T18:53:30.522Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 22 18:53 go.mod [2020-09-22T18:53:30.522Z] -rw-r--r-- 1 jenkins jenkins 12258 Sep 22 18:53 go.sum [2020-09-22T18:53:30.522Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 22 18:50 internal [2020-09-22T18:53:30.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:50 openapi [2020-09-22T18:53:30.522Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 18:50 pkg [2020-09-22T18:53:30.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:50 snap [2020-09-22T18:53:30.522Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 18:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:53:30.879Z] + 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=f3ce4c967237eb22ffcb45cae18f55080ad66748 --label arch=arm64 --label version=0.0.0 . [2020-09-22T18:53:31.484Z] Sending build context to Docker daemon 3.284MB [2020-09-22T18:53:31.485Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-22T18:53:31.485Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-22T18:53:31.485Z] ---> 5a12fa04ce69 [2020-09-22T18:53:31.485Z] Step 3/24 : ARG MAKE='make build' [2020-09-22T18:53:31.485Z] ---> Running in 9ad6452a3365 [2020-09-22T18:53:32.097Z] Removing intermediate container 9ad6452a3365 [2020-09-22T18:53:32.097Z] ---> 983c38b7eb01 [2020-09-22T18:53:32.097Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-22T18:53:32.097Z] ---> Running in 42279fa79705 [2020-09-22T18:53:32.693Z] Removing intermediate container 42279fa79705 [2020-09-22T18:53:32.693Z] ---> 24edae2cb0a0 [2020-09-22T18:53:32.693Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:53:32.693Z] ---> Running in 9a7891f80da8 [2020-09-22T18:53:33.290Z] Removing intermediate container 9a7891f80da8 [2020-09-22T18:53:33.290Z] ---> 060ac0e6e94d [2020-09-22T18:53:33.290Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:53:33.290Z] ---> Running in 66088765eeb2 [2020-09-22T18:53:35.925Z] Removing intermediate container 66088765eeb2 [2020-09-22T18:53:35.925Z] ---> 07a77dfc3ab0 [2020-09-22T18:53:35.925Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-22T18:53:35.925Z] ---> Running in 125e9de9dcc9 [2020-09-22T18:53:37.364Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T18:53:37.964Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T18:53:38.944Z] OK: 142 MiB in 39 packages [2020-09-22T18:53:39.927Z] Removing intermediate container 125e9de9dcc9 [2020-09-22T18:53:39.927Z] ---> 9d55610290f0 [2020-09-22T18:53:39.927Z] Step 8/24 : COPY . . [2020-09-22T18:53:41.359Z] ---> d415551269e4 [2020-09-22T18:53:41.359Z] Step 9/24 : RUN ${MAKE} [2020-09-22T18:53:41.359Z] ---> Running in ea575f675f9c [2020-09-22T18:53:42.797Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-22T18:54:05.045Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-22T18:54:07.660Z] Removing intermediate container ea575f675f9c [2020-09-22T18:54:07.660Z] ---> 7586e943033d [2020-09-22T18:54:07.660Z] Step 10/24 : FROM scratch [2020-09-22T18:54:07.660Z] ---> [2020-09-22T18:54:07.660Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:54:07.660Z] ---> Running in d7f82c1e062a [2020-09-22T18:54:07.932Z] Removing intermediate container d7f82c1e062a [2020-09-22T18:54:07.932Z] ---> 5bf040706beb [2020-09-22T18:54:07.932Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-22T18:54:08.203Z] ---> Running in 9fe4c0ca8b03 [2020-09-22T18:54:08.478Z] Removing intermediate container 9fe4c0ca8b03 [2020-09-22T18:54:08.478Z] ---> 8d85ada1bde5 [2020-09-22T18:54:08.478Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-22T18:54:08.478Z] ---> Running in 391edecbe845 [2020-09-22T18:54:09.072Z] Removing intermediate container 391edecbe845 [2020-09-22T18:54:09.072Z] ---> 96cf7d8fcb11 [2020-09-22T18:54:09.072Z] Step 14/24 : WORKDIR / [2020-09-22T18:54:09.072Z] ---> Running in 5b50b0c30563 [2020-09-22T18:54:09.346Z] Removing intermediate container 5b50b0c30563 [2020-09-22T18:54:09.346Z] ---> d40d0c276fb9 [2020-09-22T18:54:09.346Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-22T18:54:10.778Z] ---> 3bc7da5f6381 [2020-09-22T18:54:10.778Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-22T18:54:11.369Z] ---> b337dab57af2 [2020-09-22T18:54:11.369Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-22T18:54:11.971Z] ---> 577718d64635 [2020-09-22T18:54:11.971Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-22T18:54:12.579Z] ---> cff3fe500059 [2020-09-22T18:54:12.579Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-22T18:54:13.557Z] ---> 2cbe2780ab30 [2020-09-22T18:54:13.557Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-22T18:54:13.557Z] ---> Running in c93ba3872acf [2020-09-22T18:54:13.830Z] Removing intermediate container c93ba3872acf [2020-09-22T18:54:13.830Z] ---> 5512b021940e [2020-09-22T18:54:13.830Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-22T18:54:14.105Z] ---> Running in 09b70b4ada90 [2020-09-22T18:54:14.376Z] Removing intermediate container 09b70b4ada90 [2020-09-22T18:54:14.377Z] ---> c332da89c35e [2020-09-22T18:54:14.377Z] Step 22/24 : LABEL arch=arm64 [2020-09-22T18:54:14.650Z] ---> Running in dc98b528590d [2020-09-22T18:54:14.922Z] Removing intermediate container dc98b528590d [2020-09-22T18:54:14.922Z] ---> 52420c5170ed [2020-09-22T18:54:14.922Z] Step 23/24 : LABEL git_sha=f3ce4c967237eb22ffcb45cae18f55080ad66748 [2020-09-22T18:54:15.197Z] ---> Running in bb77fe11980f [2020-09-22T18:54:15.470Z] Removing intermediate container bb77fe11980f [2020-09-22T18:54:15.470Z] ---> df9b7fc09a10 [2020-09-22T18:54:15.470Z] Step 24/24 : LABEL version=0.0.0 [2020-09-22T18:54:15.742Z] ---> Running in 1ffd04441c58 [2020-09-22T18:54:16.022Z] Removing intermediate container 1ffd04441c58 [2020-09-22T18:54:16.022Z] ---> 5fa177a24fdf [2020-09-22T18:54:16.022Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T18:54:16.022Z] Successfully built 5fa177a24fdf [2020-09-22T18:54:16.294Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-22T18:54:18.026Z] provisioning config files... [2020-09-22T18:54:18.046Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config6743406782252979842tmp [Pipeline] { [Pipeline] sh [2020-09-22T18:54:18.492Z] + curl -s https://codecov.io/bash [2020-09-22T18:54:18.492Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config6743406782252979842tmp [Pipeline] } [2020-09-22T18:54:18.790Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:54:21.597Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:54:22.551Z] ---> package-listing.sh [2020-09-22T18:54:22.551Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-22T18:54:22.551Z] ++ facter osfamily [2020-09-22T18:54:22.551Z] + OS_FAMILY=redhat [2020-09-22T18:54:22.551Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-09-22T18:54:22.551Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-22T18:54:22.551Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-22T18:54:22.551Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-22T18:54:22.551Z] + PACKAGES=/tmp/packages_start.txt [2020-09-22T18:54:22.551Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-09-22T18:54:22.551Z] + PACKAGES=/tmp/packages_end.txt [2020-09-22T18:54:22.551Z] + case "${OS_FAMILY}" in [2020-09-22T18:54:22.551Z] + rpm -qa [2020-09-22T18:54:22.551Z] + sort [2020-09-22T18:54:26.802Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-22T18:54:26.802Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-22T18:54:26.802Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-22T18:54:26.802Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-09-22T18:54:26.802Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [2020-09-22T18:54:26.802Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:54:27.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:54:27.350Z] [2020-09-22T18:54:27.350Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:54:27.745Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:54:27.745Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-22T18:54:27.745Z] df20fa9351a1: Pulling fs layer [2020-09-22T18:54:27.745Z] 36b3adc4ff6f: Pulling fs layer [2020-09-22T18:54:27.745Z] 8ad3a11d3b57: Pulling fs layer [2020-09-22T18:54:27.745Z] 46f8f816bc3b: Pulling fs layer [2020-09-22T18:54:27.745Z] 0dadc02b9964: Pulling fs layer [2020-09-22T18:54:27.745Z] ce6a7cf60c04: Pulling fs layer [2020-09-22T18:54:27.745Z] 7a184a31f384: Pulling fs layer [2020-09-22T18:54:27.745Z] 0879bd2ef858: Pulling fs layer [2020-09-22T18:54:27.745Z] 46f8f816bc3b: Waiting [2020-09-22T18:54:27.745Z] 0dadc02b9964: Waiting [2020-09-22T18:54:27.745Z] 7a184a31f384: Waiting [2020-09-22T18:54:27.745Z] 0879bd2ef858: Waiting [2020-09-22T18:54:28.043Z] 36b3adc4ff6f: Verifying Checksum [2020-09-22T18:54:28.043Z] 36b3adc4ff6f: Download complete [2020-09-22T18:54:28.043Z] 46f8f816bc3b: Verifying Checksum [2020-09-22T18:54:28.043Z] 46f8f816bc3b: Download complete [2020-09-22T18:54:28.043Z] df20fa9351a1: Download complete [2020-09-22T18:54:28.043Z] ce6a7cf60c04: Verifying Checksum [2020-09-22T18:54:28.043Z] ce6a7cf60c04: Download complete [2020-09-22T18:54:28.342Z] 0dadc02b9964: Verifying Checksum [2020-09-22T18:54:28.342Z] 0dadc02b9964: Download complete [2020-09-22T18:54:28.342Z] 7a184a31f384: Verifying Checksum [2020-09-22T18:54:28.342Z] 7a184a31f384: Download complete [2020-09-22T18:54:28.738Z] df20fa9351a1: Pull complete [2020-09-22T18:54:29.045Z] 36b3adc4ff6f: Pull complete [2020-09-22T18:54:29.045Z] 8ad3a11d3b57: Verifying Checksum [2020-09-22T18:54:29.045Z] 8ad3a11d3b57: Download complete [2020-09-22T18:54:30.634Z] 8ad3a11d3b57: Pull complete [2020-09-22T18:54:30.634Z] 46f8f816bc3b: Pull complete [2020-09-22T18:54:30.907Z] 0879bd2ef858: Verifying Checksum [2020-09-22T18:54:30.907Z] 0879bd2ef858: Download complete [2020-09-22T18:54:31.188Z] 0dadc02b9964: Pull complete [2020-09-22T18:54:31.473Z] ce6a7cf60c04: Pull complete [2020-09-22T18:54:31.473Z] 7a184a31f384: Pull complete [2020-09-22T18:54:37.023Z] 0879bd2ef858: Pull complete [2020-09-22T18:54:37.023Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-22T18:54:37.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:54:37.023Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-22T18:54:37.209Z] prd-centos7-docker-4c-2g-909 does not seem to be running inside a container [2020-09-22T18:54:37.262Z] $ 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-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-22T18:54:41.400Z] $ docker top 3da62c0c7ff584823220217ebf301bc823410160426e3968583dc94a405470f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:54:41.972Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-22T18:54:42.686Z] + ls /var/log/sa-host [2020-09-22T18:54:42.686Z] + sadf -c /var/log/sa-host/sa05 [2020-09-22T18:54:42.686Z] file_magic: OK [2020-09-22T18:54:42.686Z] HZ: Using current value: 100 [2020-09-22T18:54:42.686Z] file_header: OK [2020-09-22T18:54:42.686Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-22T18:54:42.686Z] Statistics: [2020-09-22T18:54:42.686Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T18:54:42.686Z] File successfully converted to sysstat format version 12.2.1 [2020-09-22T18:54:42.686Z] + sadf -c /var/log/sa-host/sa22 [2020-09-22T18:54:42.686Z] file_magic: OK [2020-09-22T18:54:42.686Z] HZ: Using current value: 100 [2020-09-22T18:54:42.686Z] file_header: OK [2020-09-22T18:54:42.686Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-22T18:54:42.686Z] Statistics: [2020-09-22T18:54:42.686Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T18:54:42.686Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-22T18:54:42.752Z] provisioning config files... [2020-09-22T18:54:42.773Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config5114505515108296708tmp [Pipeline] { [Pipeline] echo [2020-09-22T18:54:42.920Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:54:43.276Z] ---> create-netrc.sh [Pipeline] echo [2020-09-22T18:54:43.289Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:54:43.606Z] ---> logs-deploy.sh [2020-09-22T18:54:43.607Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/9 [2020-09-22T18:54:43.607Z] INFO: archiving workspace using pattern(s): [2020-09-22T18:54:45.683Z] Archives upload complete. [2020-09-22T18:54:45.980Z] INFO: archiving logs to Nexus [2020-09-22T18:54:47.440Z] ---> uname -a: [2020-09-22T18:54:47.440Z] Linux 3da62c0c7ff5 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-09-22T18:54:47.440Z] [2020-09-22T18:54:47.440Z]