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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 0cafa7decaaa0dab3b86f836c2c615e8e839d11b rather than 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd Obtained Jenkinsfile from 0cafa7decaaa0dab3b86f836c2c615e8e839d11b 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-908 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [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-595 # 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/595/head:refs/remotes/origin/PR-595 +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/595/head:refs/remotes/origin/PR-595 # 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 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd Merge succeeded, producing 9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 Checking out Revision 9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 (PR-595) > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # 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 9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 # timeout=10 Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" > git rev-list --no-walk 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-22T18:45:29.076Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-22T18:45:29.326Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-22T18:45:29.474Z] ========================================================= [2020-09-22T18:45:29.474Z] EdgeX Global Pipelines Version Info [2020-09-22T18:45:29.474Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:45:31.013Z] ------------------- [2020-09-22T18:45:31.013Z] stable info: [2020-09-22T18:45:31.013Z] ------------------- [2020-09-22T18:45:31.013Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-22T18:45:31.013Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-22T18:45:31.013Z] Message: update stable to v1.0.122 [2020-09-22T18:45:31.989Z] ------------------- [2020-09-22T18:45:31.989Z] experimental info: [2020-09-22T18:45:31.989Z] ------------------- [2020-09-22T18:45:31.989Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-22T18:45:31.989Z] Commit SHA: 4cadb88800041bcc4665ba3be4ccb25d089af403 [2020-09-22T18:45:31.989Z] Message: update experimental to v1.0.126 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-22T18:45:32.406Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-22T18:45:32.508Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-22T18:45:32.632Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-22T18:45:32.784Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-22T18:45:32.900Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-22T18:45:32.998Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-22T18:45:33.092Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-22T18:45:33.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-22T18:45:33.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-22T18:45:33.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-22T18:45:33.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-22T18:45:33.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-22T18:45:33.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-22T18:45:33.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-22T18:45:33.969Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-22T18:45:34.061Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:45:34.150Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:45:34.263Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T18:45:34.445Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-22T18:45:34.537Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-22T18:45:34.632Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-22T18:45:34.748Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-22T18:45:34.884Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-595 [Pipeline] echo [2020-09-22T18:45:35.007Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-595 [Pipeline] echo [2020-09-22T18:45:35.110Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-595 [Pipeline] echo [2020-09-22T18:45:35.206Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 [Pipeline] echo [2020-09-22T18:45:35.307Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9eefc1e [Pipeline] echo [2020-09-22T18:45:35.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T18:45:36.013Z] + git log --format=format:%s -1 9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 [Pipeline] echo [2020-09-22T18:45:36.087Z] GIT_COMMIT: 9eefc1e64757420a7be2ee0dc1fb08f59c5366e2, Commit Message: Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD [Pipeline] echo [2020-09-22T18:45:36.141Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:45:36.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:45:38.064Z] [2020-09-22T18:45:38.064Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:45:38.435Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:45:38.435Z] latest: Pulling from edgex-devops/git-semver [2020-09-22T18:45:38.435Z] 31603596830f: Pulling fs layer [2020-09-22T18:45:38.435Z] 2a8b12db71e7: Pulling fs layer [2020-09-22T18:45:38.435Z] 6ca5941a6612: Pulling fs layer [2020-09-22T18:45:38.435Z] ecc8261a40a4: Pulling fs layer [2020-09-22T18:45:38.435Z] ecc8261a40a4: Waiting [2020-09-22T18:45:38.435Z] 2a8b12db71e7: Verifying Checksum [2020-09-22T18:45:38.435Z] 2a8b12db71e7: Download complete [2020-09-22T18:45:38.711Z] 31603596830f: Download complete [2020-09-22T18:45:38.711Z] ecc8261a40a4: Verifying Checksum [2020-09-22T18:45:38.711Z] ecc8261a40a4: Download complete [2020-09-22T18:45:38.978Z] 6ca5941a6612: Verifying Checksum [2020-09-22T18:45:38.978Z] 6ca5941a6612: Download complete [2020-09-22T18:45:39.240Z] 31603596830f: Pull complete [2020-09-22T18:45:39.241Z] 2a8b12db71e7: Pull complete [2020-09-22T18:45:40.211Z] 6ca5941a6612: Pull complete [2020-09-22T18:45:40.477Z] ecc8261a40a4: Pull complete [2020-09-22T18:45:40.477Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-22T18:45:40.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T18:45:40.477Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-22T18:45:40.584Z] prd-centos7-docker-4c-2g-908 does not seem to be running inside a container [2020-09-22T18:45:40.637Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-595 -v /w/workspace/dgexfoundry_device-sdk-go_PR-595:/w/workspace/dgexfoundry_device-sdk-go_PR-595:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-595@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-22T18:45:42.824Z] $ docker top 7c59493126bd7427559798a199ffed04c7d4362a9fc15c885ae000f3c1621d1a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T18:45:43.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T18:45:43.143Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T18:45:43.347Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T18:45:43.352Z] $ docker exec 7c59493126bd7427559798a199ffed04c7d4362a9fc15c885ae000f3c1621d1a ssh-agent [2020-09-22T18:45:43.517Z] SSH_AUTH_SOCK=/tmp/ssh-8ad7bb00CjD2/agent.11 [2020-09-22T18:45:43.517Z] SSH_AGENT_PID=16 [2020-09-22T18:45:43.529Z] Running ssh-add (command line suppressed) [2020-09-22T18:45:43.655Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_2426404882518202834.key (/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_2426404882518202834.key) [2020-09-22T18:45:43.703Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T18:45:44.146Z] + git describe --exact-match --tags HEAD [2020-09-22T18:45:44.146Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-22T18:45:44.177Z] $ docker exec --env ******** --env ******** 7c59493126bd7427559798a199ffed04c7d4362a9fc15c885ae000f3c1621d1a ssh-agent -k [2020-09-22T18:45:44.300Z] unset SSH_AUTH_SOCK; [2020-09-22T18:45:44.301Z] unset SSH_AGENT_PID; [2020-09-22T18:45:44.301Z] echo Agent pid 16 killed; [2020-09-22T18:45:44.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-22T18:45:44.446Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-22T18:45:44.446Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-22T18:45:44.554Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T18:45:44.554Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T18:45:44.745Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T18:45:44.750Z] $ docker exec 7c59493126bd7427559798a199ffed04c7d4362a9fc15c885ae000f3c1621d1a ssh-agent [2020-09-22T18:45:44.928Z] SSH_AUTH_SOCK=/tmp/ssh-63ZXpelAEXP7/agent.44 [2020-09-22T18:45:44.928Z] SSH_AGENT_PID=49 [2020-09-22T18:45:44.938Z] Running ssh-add (command line suppressed) [2020-09-22T18:45:45.076Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_6316090980617491377.key (/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/private_key_6316090980617491377.key) [2020-09-22T18:45:45.127Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T18:45:45.464Z] + git semver init [2020-09-22T18:45:45.464Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T18:45:45.464Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-595/.git [2020-09-22T18:45:45.464Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-595 [2020-09-22T18:45:45.464Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T18:45:45.464Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T18:45:45.464Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T18:45:45.464Z] # $SEMVER_BRANCH = PR-595 [2020-09-22T18:45:45.464Z] # $SEMVER_TEMP = /tmp/semver-163982833 [2020-09-22T18:45:45.464Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-22T18:45:46.046Z] # '/tmp/semver-163982833' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-595/.semver' [2020-09-22T18:45:46.046Z] # -> Force: false [2020-09-22T18:45:46.046Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-595/.semver [Pipeline] } [2020-09-22T18:45:46.062Z] $ docker exec --env ******** --env ******** 7c59493126bd7427559798a199ffed04c7d4362a9fc15c885ae000f3c1621d1a ssh-agent -k [2020-09-22T18:45:46.188Z] unset SSH_AUTH_SOCK; [2020-09-22T18:45:46.188Z] unset SSH_AGENT_PID; [2020-09-22T18:45:46.188Z] echo Agent pid 49 killed; [2020-09-22T18:45:46.239Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T18:45:46.691Z] + git semver [Pipeline] } [2020-09-22T18:45:46.710Z] $ docker stop --time=1 7c59493126bd7427559798a199ffed04c7d4362a9fc15c885ae000f3c1621d1a [2020-09-22T18:45:48.079Z] $ docker rm -f 7c59493126bd7427559798a199ffed04c7d4362a9fc15c885ae000f3c1621d1a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-22T18:45:48.852Z] Stashed 39 file(s) [Pipeline] echo [2020-09-22T18:45:48.855Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-22T18:45:48.953Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-22T18:46:04.412Z] Still waiting to schedule task [2020-09-22T18:46:04.412Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-22T18:46:04.416Z] Still waiting to schedule task [2020-09-22T18:46:04.416Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-906’ is offline [2020-09-22T18:46:54.861Z] Running on prd-centos7-docker-4c-2g-912 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [Pipeline] { [Pipeline] ws [2020-09-22T18:46:54.920Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-09-22T18:47:01.857Z] using credential edgex-jenkins-ssh [2020-09-22T18:47:01.946Z] Cloning the remote Git repository [2020-09-22T18:47:01.946Z] Cloning with configured refspecs honoured and without tags [2020-09-22T18:47:02.043Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:47:02.131Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-09-22T18:47:02.202Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:47:02.203Z] > git --version # timeout=10 [2020-09-22T18:47:02.210Z] > git --version # 'git version 2.16.5' [2020-09-22T18:47:02.211Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:47:02.246Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:47:03.243Z] Fetching without tags [2020-09-22T18:47:03.692Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd [2020-09-22T18:47:04.030Z] Merge succeeded, producing 519f3ba20da990493572c15d8cb5d42f8deb393e [2020-09-22T18:47:04.030Z] Checking out Revision 519f3ba20da990493572c15d8cb5d42f8deb393e (PR-595) [2020-09-22T18:47:03.176Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:47:03.200Z] > git config --add remote.origin.fetch +refs/pull/595/head:refs/remotes/origin/PR-595 # timeout=10 [2020-09-22T18:47:03.208Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:47:03.228Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:47:03.250Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:47:03.251Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:47:03.256Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:47:03.705Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:47:03.713Z] > git checkout -f 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 [2020-09-22T18:47:03.780Z] > git remote # timeout=10 [2020-09-22T18:47:03.826Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T18:47:03.891Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:47:03.900Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-22T18:47:04.012Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T18:47:04.038Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:47:04.116Z] > git checkout -f 519f3ba20da990493572c15d8cb5d42f8deb393e # timeout=10 [2020-09-22T18:47:08.749Z] Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" [2020-09-22T18:47:08.763Z] > git rev-list --no-walk 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T18:47:10.209Z] ========================================================= [2020-09-22T18:47:10.209Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-22T18:47:10.209Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:47:11.251Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-22T18:47:12.243Z] Sending build context to Docker daemon 3.182MB [2020-09-22T18:47:12.243Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T18:47:12.243Z] Step 2/8 : FROM ${BASE} [2020-09-22T18:47:12.243Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-22T18:47:12.243Z] df20fa9351a1: Pulling fs layer [2020-09-22T18:47:12.243Z] ed8968b2872e: Pulling fs layer [2020-09-22T18:47:12.243Z] a92cc7c5fd73: Pulling fs layer [2020-09-22T18:47:12.243Z] e871e8e8d7a9: Pulling fs layer [2020-09-22T18:47:12.243Z] e73272ec9a57: Pulling fs layer [2020-09-22T18:47:12.243Z] 1e910a182e73: Pulling fs layer [2020-09-22T18:47:12.243Z] 4e634b169226: Pulling fs layer [2020-09-22T18:47:12.243Z] e871e8e8d7a9: Waiting [2020-09-22T18:47:12.243Z] e73272ec9a57: Waiting [2020-09-22T18:47:12.243Z] 1e910a182e73: Waiting [2020-09-22T18:47:12.243Z] 4e634b169226: Waiting [2020-09-22T18:47:12.243Z] a92cc7c5fd73: Verifying Checksum [2020-09-22T18:47:12.243Z] a92cc7c5fd73: Download complete [2020-09-22T18:47:12.511Z] ed8968b2872e: Download complete [2020-09-22T18:47:12.511Z] e73272ec9a57: Download complete [2020-09-22T18:47:12.786Z] 1e910a182e73: Verifying Checksum [2020-09-22T18:47:12.786Z] 1e910a182e73: Download complete [2020-09-22T18:47:13.180Z] df20fa9351a1: Verifying Checksum [2020-09-22T18:47:13.180Z] df20fa9351a1: Download complete [2020-09-22T18:47:13.690Z] df20fa9351a1: Pull complete [2020-09-22T18:47:14.010Z] ed8968b2872e: Pull complete [2020-09-22T18:47:14.436Z] a92cc7c5fd73: Pull complete [2020-09-22T18:47:19.269Z] 4e634b169226: Verifying Checksum [2020-09-22T18:47:19.269Z] 4e634b169226: Download complete [2020-09-22T18:47:23.439Z] e871e8e8d7a9: Verifying Checksum [2020-09-22T18:47:23.439Z] e871e8e8d7a9: Download complete [2020-09-22T18:47:33.794Z] e871e8e8d7a9: Pull complete [2020-09-22T18:47:33.794Z] e73272ec9a57: Pull complete [2020-09-22T18:47:33.794Z] 1e910a182e73: Pull complete [2020-09-22T18:47:42.114Z] 4e634b169226: Pull complete [2020-09-22T18:47:42.114Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-22T18:47:42.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-22T18:47:42.114Z] ---> f7629b54cfaa [2020-09-22T18:47:42.114Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:47:42.114Z] ---> Running in e143f0ce14ff [2020-09-22T18:47:42.114Z] Removing intermediate container e143f0ce14ff [2020-09-22T18:47:42.114Z] ---> f8c3a77203a8 [2020-09-22T18:47:42.114Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:47:42.114Z] ---> Running in c9cca5e9bdaa [2020-09-22T18:47:43.147Z] Removing intermediate container c9cca5e9bdaa [2020-09-22T18:47:43.147Z] ---> a8af69f157a2 [2020-09-22T18:47:43.147Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-22T18:47:43.147Z] ---> Running in b15ffb841182 [2020-09-22T18:47:44.165Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T18:47:44.803Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T18:47:45.933Z] OK: 166 MiB in 39 packages [2020-09-22T18:47:46.546Z] Removing intermediate container b15ffb841182 [2020-09-22T18:47:46.546Z] ---> 99acf018ef52 [2020-09-22T18:47:46.546Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-22T18:47:46.546Z] ---> Running in f17dfc577264 [2020-09-22T18:47:46.824Z] Removing intermediate container f17dfc577264 [2020-09-22T18:47:46.824Z] ---> d781a5f819ac [2020-09-22T18:47:46.824Z] Step 7/8 : COPY . . [2020-09-22T18:47:47.849Z] ---> 8138876efa11 [2020-09-22T18:47:47.849Z] Step 8/8 : RUN go mod download [2020-09-22T18:47:48.132Z] ---> Running in 6799f5aa43af [2020-09-22T18:48:00.962Z] Removing intermediate container 6799f5aa43af [2020-09-22T18:48:00.962Z] ---> bbafac9ed052 [2020-09-22T18:48:00.962Z] Successfully built bbafac9ed052 [2020-09-22T18:48:00.962Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:48:01.973Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T18:48:01.973Z] . [Pipeline] withDockerContainer [2020-09-22T18:48:02.171Z] prd-centos7-docker-4c-2g-912 does not seem to be running inside a container [2020-09-22T18:48:02.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat [2020-09-22T18:48:03.986Z] $ docker top 6432490a55d88875bf46f74f96255d2762925c96696c16a3a127027d735e4e55 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:48:04.628Z] + go version [2020-09-22T18:48:04.628Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-22T18:48:04.673Z] $ docker stop --time=1 6432490a55d88875bf46f74f96255d2762925c96696c16a3a127027d735e4e55 [2020-09-22T18:48:06.129Z] $ docker rm -f 6432490a55d88875bf46f74f96255d2762925c96696c16a3a127027d735e4e55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:48:07.109Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T18:48:07.109Z] . [Pipeline] withDockerContainer [2020-09-22T18:48:07.296Z] prd-centos7-docker-4c-2g-912 does not seem to be running inside a container [2020-09-22T18:48:07.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat [2020-09-22T18:48:08.522Z] $ docker top e75a35ec70735c2a06d7a713b53e01d765e922ba0bd2d6ee29d7a03c90ed0161 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:48:09.158Z] + make test [2020-09-22T18:48:09.158Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-22T18:48:19.478Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-22T18:48:40.493Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-919 in /w/workspace/dgexfoundry_device-sdk-go_PR-595 [Pipeline] { [Pipeline] ws [2020-09-22T18:48:40.564Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-09-22T18:48:42.068Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-22T18:48:42.068Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-22T18:48:42.068Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-22T18:48:42.068Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 21.9% of statements [2020-09-22T18:48:44.134Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.559s coverage: 95.7% of statements [2020-09-22T18:48:45.740Z] using credential edgex-jenkins-ssh [2020-09-22T18:48:45.796Z] Cloning the remote Git repository [2020-09-22T18:48:45.796Z] Cloning with configured refspecs honoured and without tags [2020-09-22T18:48:45.863Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:48:45.968Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-09-22T18:48:46.027Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:48:46.028Z] > git --version # timeout=10 [2020-09-22T18:48:46.052Z] > git --version # 'git version 2.17.1' [2020-09-22T18:48:46.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:48:46.126Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:48:46.955Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:48:47.027Z] Fetching without tags [2020-09-22T18:48:47.547Z] Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd [2020-09-22T18:48:47.868Z] Merge succeeded, producing c3c40a12da6efe4c0f30c1aae06ebe12a7020c1d [2020-09-22T18:48:47.868Z] Checking out Revision c3c40a12da6efe4c0f30c1aae06ebe12a7020c1d (PR-595) [2020-09-22T18:48:46.975Z] > git config --add remote.origin.fetch +refs/pull/595/head:refs/remotes/origin/PR-595 # timeout=10 [2020-09-22T18:48:46.992Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:48:47.014Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-22T18:48:47.047Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-22T18:48:47.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:48:47.060Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T18:48:47.579Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:48:47.605Z] > git checkout -f 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 [2020-09-22T18:48:47.717Z] > git remote # timeout=10 [2020-09-22T18:48:47.737Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T18:48:47.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T18:48:47.767Z] > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 [2020-09-22T18:48:47.853Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T18:48:47.883Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T18:48:47.900Z] > git checkout -f c3c40a12da6efe4c0f30c1aae06ebe12a7020c1d # timeout=10 [2020-09-22T18:48:52.274Z] Commit message: "Merge commit '0cafa7decaaa0dab3b86f836c2c615e8e839d11b' into HEAD" [2020-09-22T18:48:52.290Z] > git rev-list --no-walk 93bc9a02b3e95fd7cf692fbe9ac3cce99e4a81fd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T18:48:53.622Z] ========================================================= [2020-09-22T18:48:53.623Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-22T18:48:53.623Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:48:54.839Z] + 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:48:55.840Z] Sending build context to Docker daemon 3.183MB [2020-09-22T18:48:55.840Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T18:48:55.840Z] Step 2/8 : FROM ${BASE} [2020-09-22T18:48:56.130Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-22T18:48:56.130Z] b538f80385f9: Pulling fs layer [2020-09-22T18:48:56.130Z] 74f711af9a0d: Pulling fs layer [2020-09-22T18:48:56.130Z] 99f96fe45779: Pulling fs layer [2020-09-22T18:48:56.130Z] 8529a6b9a6be: Pulling fs layer [2020-09-22T18:48:56.130Z] 45590311c82a: Pulling fs layer [2020-09-22T18:48:56.130Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-22T18:48:56.130Z] 209524e5b208: Pulling fs layer [2020-09-22T18:48:56.130Z] 8529a6b9a6be: Waiting [2020-09-22T18:48:56.130Z] 45590311c82a: Waiting [2020-09-22T18:48:56.130Z] 69ca0ff8b7b3: Waiting [2020-09-22T18:48:56.130Z] 209524e5b208: Waiting [2020-09-22T18:48:56.130Z] 99f96fe45779: Download complete [2020-09-22T18:48:56.130Z] 74f711af9a0d: Verifying Checksum [2020-09-22T18:48:56.130Z] 74f711af9a0d: Download complete [2020-09-22T18:48:56.130Z] 45590311c82a: Verifying Checksum [2020-09-22T18:48:56.130Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-22T18:48:56.130Z] 69ca0ff8b7b3: Download complete [2020-09-22T18:48:56.130Z] b538f80385f9: Verifying Checksum [2020-09-22T18:48:56.130Z] b538f80385f9: Download complete [2020-09-22T18:48:57.129Z] b538f80385f9: Pull complete [2020-09-22T18:48:57.735Z] 74f711af9a0d: Pull complete [2020-09-22T18:48:58.013Z] 99f96fe45779: Pull complete [2020-09-22T18:48:58.614Z] 209524e5b208: Verifying Checksum [2020-09-22T18:48:58.614Z] 209524e5b208: Download complete [2020-09-22T18:49:00.137Z] 8529a6b9a6be: Verifying Checksum [2020-09-22T18:49:00.137Z] 8529a6b9a6be: Download complete [2020-09-22T18:49:10.369Z] 8529a6b9a6be: Pull complete [2020-09-22T18:49:10.369Z] 45590311c82a: Pull complete [2020-09-22T18:49:10.643Z] 69ca0ff8b7b3: Pull complete [2020-09-22T18:49:14.964Z] 209524e5b208: Pull complete [2020-09-22T18:49:14.964Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-22T18:49:14.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-22T18:49:14.964Z] ---> 5bddaf1c2fca [2020-09-22T18:49:14.964Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:49:16.819Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.093s coverage: 8.6% of statements [2020-09-22T18:49:16.819Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.052s coverage: 21.7% of statements [2020-09-22T18:49:16.819Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-22T18:49:16.819Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.278s coverage: 37.0% of statements [2020-09-22T18:49:16.819Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-22T18:49:16.819Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.505s coverage: 65.4% of statements [2020-09-22T18:49:16.819Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-22T18:49:16.819Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-22T18:49:16.819Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-22T18:49:16.819Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.190s coverage: 52.6% of statements [2020-09-22T18:49:16.819Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.827s coverage: 68.9% of statements [2020-09-22T18:49:16.819Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-22T18:49:16.819Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-22T18:49:16.819Z] GO111MODULE=on go vet ./... [2020-09-22T18:49:16.960Z] ---> Running in 226644c968e5 [2020-09-22T18:49:17.448Z] Removing intermediate container 226644c968e5 [2020-09-22T18:49:17.448Z] ---> 4f805817b041 [2020-09-22T18:49:17.448Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:49:17.724Z] ---> Running in 253d7f3378f4 [2020-09-22T18:49:20.360Z] Removing intermediate container 253d7f3378f4 [2020-09-22T18:49:20.360Z] ---> 01b7993d27c7 [2020-09-22T18:49:20.360Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-22T18:49:20.636Z] ---> Running in 452e7ef77b57 [2020-09-22T18:49:22.080Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T18:49:23.514Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T18:49:24.948Z] OK: 142 MiB in 39 packages [2020-09-22T18:49:26.396Z] Removing intermediate container 452e7ef77b57 [2020-09-22T18:49:26.396Z] ---> a5a306791129 [2020-09-22T18:49:26.396Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-22T18:49:26.396Z] ---> Running in 96f15e137bc5 [2020-09-22T18:49:26.994Z] Removing intermediate container 96f15e137bc5 [2020-09-22T18:49:26.994Z] ---> 1cd398e46b31 [2020-09-22T18:49:26.994Z] Step 7/8 : COPY . . [2020-09-22T18:49:28.427Z] ---> 2f7b255dc997 [2020-09-22T18:49:28.427Z] Step 8/8 : RUN go mod download [2020-09-22T18:49:28.427Z] ---> Running in 2e074a6f97a7 [2020-09-22T18:49:29.553Z] gofmt -l . [2020-09-22T18:49:29.553Z] [ "`gofmt -l .`" = "" ] [2020-09-22T18:49:29.553Z] ./bin/test-attribution-txt.sh [2020-09-22T18:49:29.845Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-22T18:49:30.979Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T18:49:30.990Z] $ docker stop --time=1 e75a35ec70735c2a06d7a713b53e01d765e922ba0bd2d6ee29d7a03c90ed0161 [2020-09-22T18:49:33.089Z] $ docker rm -f e75a35ec70735c2a06d7a713b53e01d765e922ba0bd2d6ee29d7a03c90ed0161 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T18:49:34.869Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T18:49:35.268Z] + ls -al . [2020-09-22T18:49:35.268Z] total 188 [2020-09-22T18:49:35.268Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 22 18:49 . [2020-09-22T18:49:35.268Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 22 18:47 .. [2020-09-22T18:49:35.268Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 22 18:47 bin [2020-09-22T18:49:35.268Z] -rw-r--r--. 1 jenkins jenkins 111696 Sep 22 18:49 coverage.out [2020-09-22T18:49:35.268Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 22 18:47 Dockerfile.build [2020-09-22T18:49:35.268Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 22 18:47 .dockerignore [2020-09-22T18:49:35.268Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 22 18:47 example [2020-09-22T18:49:35.268Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 22 18:47 .git [2020-09-22T18:49:35.268Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 22 18:47 .github [2020-09-22T18:49:35.268Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 22 18:47 .gitignore [2020-09-22T18:49:35.268Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 22 18:49 go.mod [2020-09-22T18:49:35.268Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 22 18:49 go.sum [2020-09-22T18:49:35.268Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 22 18:47 internal [2020-09-22T18:49:35.268Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 22 18:47 Jenkinsfile [2020-09-22T18:49:35.268Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 22 18:47 LICENSE [2020-09-22T18:49:35.268Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 22 18:47 Makefile [2020-09-22T18:49:35.268Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 22 18:47 openapi [2020-09-22T18:49:35.268Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 22 18:47 pkg [2020-09-22T18:49:35.268Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 22 18:47 README.md [2020-09-22T18:49:35.268Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 22 18:47 RELEASE-NOTES.txt [2020-09-22T18:49:35.268Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 22 18:47 .semver [2020-09-22T18:49:35.268Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 22 18:47 snap [2020-09-22T18:49:35.268Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 22 18:45 VERSION [2020-09-22T18:49:35.268Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 22 18:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:49:35.593Z] + 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=9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 --label arch=amd64 --label version=0.0.0 . [2020-09-22T18:49:35.862Z] Sending build context to Docker daemon 3.295MB [2020-09-22T18:49:36.171Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-22T18:49:36.171Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-22T18:49:36.171Z] ---> bbafac9ed052 [2020-09-22T18:49:36.171Z] Step 3/24 : ARG MAKE='make build' [2020-09-22T18:49:36.171Z] ---> Running in 59dffed80d10 [2020-09-22T18:49:36.457Z] Removing intermediate container 59dffed80d10 [2020-09-22T18:49:36.457Z] ---> 6d9e44352f2f [2020-09-22T18:49:36.457Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-22T18:49:36.457Z] ---> Running in 288cecbaef66 [2020-09-22T18:49:36.728Z] Removing intermediate container 288cecbaef66 [2020-09-22T18:49:36.728Z] ---> 606fd045250c [2020-09-22T18:49:36.728Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:49:36.995Z] ---> Running in 254853bc3c90 [2020-09-22T18:49:36.995Z] Removing intermediate container 254853bc3c90 [2020-09-22T18:49:36.995Z] ---> 3d2699c232f1 [2020-09-22T18:49:36.995Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:49:37.262Z] ---> Running in 3ea6cfda6506 [2020-09-22T18:49:38.237Z] Removing intermediate container 3ea6cfda6506 [2020-09-22T18:49:38.237Z] ---> 3aca0fded453 [2020-09-22T18:49:38.237Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-22T18:49:38.237Z] ---> Running in 2a0424c8d056 [2020-09-22T18:49:38.813Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T18:49:39.803Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T18:49:41.366Z] OK: 166 MiB in 39 packages [2020-09-22T18:49:41.952Z] Removing intermediate container 2a0424c8d056 [2020-09-22T18:49:41.952Z] ---> f0dd930ed600 [2020-09-22T18:49:41.952Z] Step 8/24 : COPY . . [2020-09-22T18:49:42.692Z] ---> 022129abe5c1 [2020-09-22T18:49:42.692Z] Step 9/24 : RUN ${MAKE} [2020-09-22T18:49:42.692Z] ---> Running in 69e4dfbf1da7 [2020-09-22T18:49:43.582Z] Removing intermediate container 2e074a6f97a7 [2020-09-22T18:49:43.582Z] ---> b90d5d9325e4 [2020-09-22T18:49:43.582Z] Successfully built b90d5d9325e4 [2020-09-22T18:49:43.582Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:49:43.688Z] 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:44.009Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T18:49:44.009Z] . [Pipeline] withDockerContainer [2020-09-22T18:49:44.319Z] prd-ubuntu18.04-docker-arm64-4c-16g-919 does not seem to be running inside a container [2020-09-22T18:49:44.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-22T18:49:46.517Z] $ docker top 8282b738c66218f516034a1e8ed74766df2b776c91de9ab90700d22721f9f722 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:49:47.946Z] + go version [2020-09-22T18:49:47.946Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-22T18:49:47.972Z] $ docker stop --time=1 8282b738c66218f516034a1e8ed74766df2b776c91de9ab90700d22721f9f722 [2020-09-22T18:49:50.056Z] $ docker rm -f 8282b738c66218f516034a1e8ed74766df2b776c91de9ab90700d22721f9f722 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:49:51.347Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T18:49:51.347Z] . [Pipeline] withDockerContainer [2020-09-22T18:49:51.620Z] prd-ubuntu18.04-docker-arm64-4c-16g-919 does not seem to be running inside a container [2020-09-22T18:49:51.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-22T18:49:53.688Z] $ docker top f1efdfb4fb2ae3d6fc8820faf7723bedead3ae6465593f9880066e8b96c28485 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:49:55.142Z] + make test [2020-09-22T18:49:55.142Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-22T18:49:56.171Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-22T18:49:58.127Z] Removing intermediate container 69e4dfbf1da7 [2020-09-22T18:49:58.127Z] ---> 4d6db3106975 [2020-09-22T18:49:58.127Z] Step 10/24 : FROM scratch [2020-09-22T18:49:58.127Z] ---> [2020-09-22T18:49:58.127Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:49:58.127Z] ---> Running in 3cf96f19338b [2020-09-22T18:49:58.127Z] Removing intermediate container 3cf96f19338b [2020-09-22T18:49:58.127Z] ---> 08b2e47d1ca7 [2020-09-22T18:49:58.127Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-22T18:49:58.395Z] ---> Running in ffaa402be120 [2020-09-22T18:49:58.695Z] Removing intermediate container ffaa402be120 [2020-09-22T18:49:58.695Z] ---> 4ffe5d7cd19d [2020-09-22T18:49:58.695Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-22T18:49:58.695Z] ---> Running in 428283aad08b [2020-09-22T18:49:58.978Z] Removing intermediate container 428283aad08b [2020-09-22T18:49:58.978Z] ---> f015e46d0ecc [2020-09-22T18:49:58.978Z] Step 14/24 : WORKDIR / [2020-09-22T18:49:58.978Z] ---> Running in 50113d994d3a [2020-09-22T18:49:59.250Z] Removing intermediate container 50113d994d3a [2020-09-22T18:49:59.250Z] ---> d558f4d2518d [2020-09-22T18:49:59.250Z] 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.837Z] ---> 5437f2b83ecf [2020-09-22T18:49:59.837Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-22T18:49:59.837Z] ---> 8823dd0fa88b [2020-09-22T18:49:59.837Z] 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.423Z] ---> 7851a879caf9 [2020-09-22T18:50:00.423Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-22T18:50:00.746Z] ---> 1b8b8f15d960 [2020-09-22T18:50:00.746Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-22T18:50:01.014Z] ---> e54e43c72d2c [2020-09-22T18:50:01.014Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-22T18:50:01.014Z] ---> Running in 7314119ab173 [2020-09-22T18:50:01.280Z] Removing intermediate container 7314119ab173 [2020-09-22T18:50:01.280Z] ---> ab1a7d3e04af [2020-09-22T18:50:01.280Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-22T18:50:01.555Z] ---> Running in 55b9432318a0 [2020-09-22T18:50:01.828Z] Removing intermediate container 55b9432318a0 [2020-09-22T18:50:01.828Z] ---> 0d6544fd9127 [2020-09-22T18:50:01.828Z] Step 22/24 : LABEL arch=amd64 [2020-09-22T18:50:01.828Z] ---> Running in 18812ece1305 [2020-09-22T18:50:02.099Z] Removing intermediate container 18812ece1305 [2020-09-22T18:50:02.099Z] ---> 664bbea1fd96 [2020-09-22T18:50:02.099Z] Step 23/24 : LABEL git_sha=9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 [2020-09-22T18:50:02.099Z] ---> Running in 629e7a1c1d39 [2020-09-22T18:50:02.379Z] Removing intermediate container 629e7a1c1d39 [2020-09-22T18:50:02.379Z] ---> 53769cace594 [2020-09-22T18:50:02.379Z] Step 24/24 : LABEL version=0.0.0 [2020-09-22T18:50:02.379Z] ---> Running in f8f46dd37283 [2020-09-22T18:50:02.673Z] Removing intermediate container f8f46dd37283 [2020-09-22T18:50:02.673Z] ---> d805b4293490 [2020-09-22T18:50:02.673Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T18:50:02.673Z] Successfully built d805b4293490 [2020-09-22T18:50:02.673Z] 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:17.344Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-22T18:51:04.354Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-22T18:51:04.354Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-22T18:51:04.354Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-22T18:51:04.354Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.050s coverage: 21.9% of statements [2020-09-22T18:51:04.354Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.224s coverage: 95.7% of statements [2020-09-22T18:51:31.120Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 8.6% of statements [2020-09-22T18:51:31.120Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.060s coverage: 21.7% of statements [2020-09-22T18:51:31.120Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-22T18:51:31.120Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.491s coverage: 37.0% of statements [2020-09-22T18:51:31.120Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-22T18:51:31.120Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.673s coverage: 65.4% of statements [2020-09-22T18:51:31.120Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-22T18:51:31.120Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-22T18:51:31.120Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-22T18:51:31.120Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.153s coverage: 52.6% of statements [2020-09-22T18:51:31.120Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.745s coverage: 68.9% of statements [2020-09-22T18:51:31.120Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-22T18:51:31.120Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-22T18:51:31.120Z] GO111MODULE=on go vet ./... [2020-09-22T18:52:03.536Z] gofmt -l . [2020-09-22T18:52:03.536Z] [ "`gofmt -l .`" = "" ] [2020-09-22T18:52:03.536Z] ./bin/test-attribution-txt.sh [2020-09-22T18:52:03.536Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-22T18:52:03.558Z] Warning: overwriting stash ‘coverage-report’ [2020-09-22T18:52:04.508Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T18:52:04.516Z] $ docker stop --time=1 f1efdfb4fb2ae3d6fc8820faf7723bedead3ae6465593f9880066e8b96c28485 [2020-09-22T18:52:06.836Z] $ docker rm -f f1efdfb4fb2ae3d6fc8820faf7723bedead3ae6465593f9880066e8b96c28485 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T18:52:08.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-22T18:52:08.814Z] + ls -al . [2020-09-22T18:52:08.814Z] total 228 [2020-09-22T18:52:08.814Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 18:51 . [2020-09-22T18:52:08.814Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:48 .. [2020-09-22T18:52:08.814Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 18:48 .dockerignore [2020-09-22T18:52:08.814Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 18:48 .git [2020-09-22T18:52:08.814Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 18:48 .github [2020-09-22T18:52:08.814Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 22 18:48 .gitignore [2020-09-22T18:52:08.814Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 18:48 .semver [2020-09-22T18:52:08.814Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 22 18:48 Dockerfile.build [2020-09-22T18:52:08.814Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 22 18:48 Jenkinsfile [2020-09-22T18:52:08.814Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 18:48 LICENSE [2020-09-22T18:52:08.814Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 22 18:48 Makefile [2020-09-22T18:52:08.814Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 22 18:48 README.md [2020-09-22T18:52:08.814Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 22 18:48 RELEASE-NOTES.txt [2020-09-22T18:52:08.814Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 18:45 VERSION [2020-09-22T18:52:08.814Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 18:48 bin [2020-09-22T18:52:08.814Z] -rw-r--r-- 1 jenkins jenkins 111696 Sep 22 18:51 coverage.out [2020-09-22T18:52:08.814Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:48 example [2020-09-22T18:52:08.814Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 22 18:51 go.mod [2020-09-22T18:52:08.814Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 22 18:51 go.sum [2020-09-22T18:52:08.814Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 22 18:48 internal [2020-09-22T18:52:08.814Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:48 openapi [2020-09-22T18:52:08.814Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 18:48 pkg [2020-09-22T18:52:08.814Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 18:48 snap [2020-09-22T18:52:08.814Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 18:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:52:09.193Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 --label arch=arm64 --label version=0.0.0 . [2020-09-22T18:52:09.795Z] Sending build context to Docker daemon 3.297MB [2020-09-22T18:52:09.795Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-22T18:52:09.795Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-22T18:52:09.795Z] ---> b90d5d9325e4 [2020-09-22T18:52:09.795Z] Step 3/24 : ARG MAKE='make build' [2020-09-22T18:52:10.066Z] ---> Running in 5152c0775ad2 [2020-09-22T18:52:10.346Z] Removing intermediate container 5152c0775ad2 [2020-09-22T18:52:10.346Z] ---> 36ec8718d672 [2020-09-22T18:52:10.346Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-22T18:52:10.623Z] ---> Running in 5422cdb85650 [2020-09-22T18:52:11.230Z] Removing intermediate container 5422cdb85650 [2020-09-22T18:52:11.230Z] ---> bd2c3e4a2a5b [2020-09-22T18:52:11.230Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:52:11.230Z] ---> Running in 49e822d34718 [2020-09-22T18:52:11.828Z] Removing intermediate container 49e822d34718 [2020-09-22T18:52:11.828Z] ---> 845db198cb93 [2020-09-22T18:52:11.828Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-22T18:52:11.828Z] ---> Running in 42e36353b452 [2020-09-22T18:52:14.458Z] Removing intermediate container 42e36353b452 [2020-09-22T18:52:14.458Z] ---> d95d6729b355 [2020-09-22T18:52:14.458Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-22T18:52:14.458Z] ---> Running in 939a7127b6a0 [2020-09-22T18:52:15.892Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T18:52:16.871Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T18:52:17.468Z] OK: 142 MiB in 39 packages [2020-09-22T18:52:18.904Z] Removing intermediate container 939a7127b6a0 [2020-09-22T18:52:18.904Z] ---> 5c2bc3262aaf [2020-09-22T18:52:18.904Z] Step 8/24 : COPY . . [2020-09-22T18:52:20.354Z] ---> afd3caab0ecd [2020-09-22T18:52:20.354Z] Step 9/24 : RUN ${MAKE} [2020-09-22T18:52:20.354Z] ---> Running in 1bbfa33b5141 [2020-09-22T18:52:21.791Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-09-22T18:52:48.660Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-22T18:52:48.660Z] Removing intermediate container 1bbfa33b5141 [2020-09-22T18:52:48.660Z] ---> dea164d593d2 [2020-09-22T18:52:48.660Z] Step 10/24 : FROM scratch [2020-09-22T18:52:48.660Z] ---> [2020-09-22T18:52:48.660Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-22T18:52:48.660Z] ---> Running in 9afe8ee2fc71 [2020-09-22T18:52:48.660Z] Removing intermediate container 9afe8ee2fc71 [2020-09-22T18:52:48.660Z] ---> 33f95de18ead [2020-09-22T18:52:48.660Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-22T18:52:48.660Z] ---> Running in 662475ca91cd [2020-09-22T18:52:48.660Z] Removing intermediate container 662475ca91cd [2020-09-22T18:52:48.660Z] ---> a943fdc9797d [2020-09-22T18:52:48.660Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-22T18:52:48.934Z] ---> Running in 5e8357a23ce3 [2020-09-22T18:52:49.208Z] Removing intermediate container 5e8357a23ce3 [2020-09-22T18:52:49.208Z] ---> 55e4a4cbcb79 [2020-09-22T18:52:49.208Z] Step 14/24 : WORKDIR / [2020-09-22T18:52:49.491Z] ---> Running in a89bd793f2ac [2020-09-22T18:52:49.763Z] Removing intermediate container a89bd793f2ac [2020-09-22T18:52:49.763Z] ---> 1b088e5e4417 [2020-09-22T18:52:49.763Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-22T18:52:50.756Z] ---> e24ddd6889db [2020-09-22T18:52:50.756Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-22T18:52:51.739Z] ---> 0a8eb1ceb843 [2020-09-22T18:52:51.739Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-22T18:52:52.331Z] ---> 2541ea62a44d [2020-09-22T18:52:52.331Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-22T18:52:52.930Z] ---> 18cb240462b1 [2020-09-22T18:52:52.930Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-22T18:52:53.535Z] ---> dc1a7a175d50 [2020-09-22T18:52:53.535Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-22T18:52:53.817Z] ---> Running in 73d835101d4a [2020-09-22T18:52:54.091Z] Removing intermediate container 73d835101d4a [2020-09-22T18:52:54.091Z] ---> 9d04a075b9f2 [2020-09-22T18:52:54.091Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-22T18:52:54.365Z] ---> Running in c6d578ddce87 [2020-09-22T18:52:54.638Z] Removing intermediate container c6d578ddce87 [2020-09-22T18:52:54.638Z] ---> 590a32293f89 [2020-09-22T18:52:54.638Z] Step 22/24 : LABEL arch=arm64 [2020-09-22T18:52:54.913Z] ---> Running in 20dd20e47613 [2020-09-22T18:52:55.187Z] Removing intermediate container 20dd20e47613 [2020-09-22T18:52:55.187Z] ---> 09646bbf85d9 [2020-09-22T18:52:55.187Z] Step 23/24 : LABEL git_sha=9eefc1e64757420a7be2ee0dc1fb08f59c5366e2 [2020-09-22T18:52:55.457Z] ---> Running in 606476de8741 [2020-09-22T18:52:55.732Z] Removing intermediate container 606476de8741 [2020-09-22T18:52:55.732Z] ---> 650aca9e3ea5 [2020-09-22T18:52:55.732Z] Step 24/24 : LABEL version=0.0.0 [2020-09-22T18:52:56.004Z] ---> Running in 4555af493f07 [2020-09-22T18:52:56.274Z] Removing intermediate container 4555af493f07 [2020-09-22T18:52:56.274Z] ---> dc6505a65d2d [2020-09-22T18:52:56.274Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-22T18:52:56.274Z] Successfully built dc6505a65d2d [2020-09-22T18:52:56.546Z] 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:52:58.432Z] provisioning config files... [2020-09-22T18:52:58.450Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/config6334543233132350127tmp [Pipeline] { [Pipeline] sh [2020-09-22T18:52:58.838Z] + curl -s https://codecov.io/bash [2020-09-22T18:52:58.838Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/config6334543233132350127tmp [Pipeline] } [2020-09-22T18:52:59.116Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:53:01.801Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:53:02.382Z] ---> package-listing.sh [2020-09-22T18:53:02.382Z] ++ facter osfamily [2020-09-22T18:53:02.382Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-22T18:53:02.382Z] + OS_FAMILY=redhat [2020-09-22T18:53:02.382Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-595 [2020-09-22T18:53:02.382Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-22T18:53:02.382Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-22T18:53:02.382Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-22T18:53:02.382Z] + PACKAGES=/tmp/packages_start.txt [2020-09-22T18:53:02.382Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-595 ']' [2020-09-22T18:53:02.382Z] + PACKAGES=/tmp/packages_end.txt [2020-09-22T18:53:02.382Z] + case "${OS_FAMILY}" in [2020-09-22T18:53:02.382Z] + rpm -qa [2020-09-22T18:53:02.382Z] + sort [2020-09-22T18:53:06.608Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-22T18:53:06.608Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-22T18:53:06.608Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-22T18:53:06.608Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-595 ']' [2020-09-22T18:53:06.608Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-595/archives/ [2020-09-22T18:53:06.608Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-595/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:53:07.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:53:07.121Z] [2020-09-22T18:53:07.121Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-22T18:53:07.496Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:53:07.496Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-22T18:53:07.496Z] df20fa9351a1: Pulling fs layer [2020-09-22T18:53:07.496Z] 36b3adc4ff6f: Pulling fs layer [2020-09-22T18:53:07.496Z] 8ad3a11d3b57: Pulling fs layer [2020-09-22T18:53:07.496Z] 46f8f816bc3b: Pulling fs layer [2020-09-22T18:53:07.496Z] 0dadc02b9964: Pulling fs layer [2020-09-22T18:53:07.496Z] ce6a7cf60c04: Pulling fs layer [2020-09-22T18:53:07.496Z] 7a184a31f384: Pulling fs layer [2020-09-22T18:53:07.496Z] 0879bd2ef858: Pulling fs layer [2020-09-22T18:53:07.496Z] 46f8f816bc3b: Waiting [2020-09-22T18:53:07.496Z] 0dadc02b9964: Waiting [2020-09-22T18:53:07.496Z] ce6a7cf60c04: Waiting [2020-09-22T18:53:07.496Z] 7a184a31f384: Waiting [2020-09-22T18:53:07.496Z] 0879bd2ef858: Waiting [2020-09-22T18:53:07.496Z] 36b3adc4ff6f: Download complete [2020-09-22T18:53:07.496Z] 46f8f816bc3b: Verifying Checksum [2020-09-22T18:53:07.496Z] 46f8f816bc3b: Download complete [2020-09-22T18:53:07.496Z] df20fa9351a1: Verifying Checksum [2020-09-22T18:53:07.496Z] df20fa9351a1: Download complete [2020-09-22T18:53:07.779Z] ce6a7cf60c04: Verifying Checksum [2020-09-22T18:53:07.779Z] ce6a7cf60c04: Download complete [2020-09-22T18:53:07.779Z] 7a184a31f384: Download complete [2020-09-22T18:53:07.779Z] 0dadc02b9964: Verifying Checksum [2020-09-22T18:53:07.779Z] 0dadc02b9964: Download complete [2020-09-22T18:53:07.779Z] 8ad3a11d3b57: Verifying Checksum [2020-09-22T18:53:07.779Z] 8ad3a11d3b57: Download complete [2020-09-22T18:53:08.056Z] df20fa9351a1: Pull complete [2020-09-22T18:53:08.056Z] 36b3adc4ff6f: Pull complete [2020-09-22T18:53:08.321Z] 0879bd2ef858: Verifying Checksum [2020-09-22T18:53:08.321Z] 0879bd2ef858: Download complete [2020-09-22T18:53:08.913Z] 8ad3a11d3b57: Pull complete [2020-09-22T18:53:08.913Z] 46f8f816bc3b: Pull complete [2020-09-22T18:53:09.175Z] 0dadc02b9964: Pull complete [2020-09-22T18:53:09.175Z] ce6a7cf60c04: Pull complete [2020-09-22T18:53:09.439Z] 7a184a31f384: Pull complete [2020-09-22T18:53:12.020Z] 0879bd2ef858: Pull complete [2020-09-22T18:53:12.020Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-22T18:53:12.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T18:53:12.020Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-22T18:53:12.157Z] prd-centos7-docker-4c-2g-908 does not seem to be running inside a container [2020-09-22T18:53:12.225Z] $ 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-595 -v /w/workspace/dgexfoundry_device-sdk-go_PR-595:/w/workspace/dgexfoundry_device-sdk-go_PR-595:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-595@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-22T18:53:17.179Z] $ docker top 69b843032950103dfaf51d4966bb47d3c4dbd749b53f1d8231e014ca692e0fae -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T18:53:17.788Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-22T18:53:18.092Z] + ls /var/log/sa-host [2020-09-22T18:53:18.092Z] + sadf -c /var/log/sa-host/sa05 [2020-09-22T18:53:18.092Z] file_magic: OK [2020-09-22T18:53:18.092Z] HZ: Using current value: 100 [2020-09-22T18:53:18.092Z] file_header: OK [2020-09-22T18:53:18.092Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-22T18:53:18.092Z] Statistics: [2020-09-22T18:53:18.092Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T18:53:18.092Z] File successfully converted to sysstat format version 12.2.1 [2020-09-22T18:53:18.092Z] + sadf -c /var/log/sa-host/sa22 [2020-09-22T18:53:18.092Z] file_magic: OK [2020-09-22T18:53:18.092Z] HZ: Using current value: 100 [2020-09-22T18:53:18.092Z] file_header: OK [2020-09-22T18:53:18.092Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-22T18:53:18.092Z] Statistics: [2020-09-22T18:53:18.092Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T18:53:18.093Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-22T18:53:18.158Z] provisioning config files... [2020-09-22T18:53:18.176Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-595@tmp/config6973124911888236863tmp [Pipeline] { [Pipeline] echo [2020-09-22T18:53:18.257Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:53:18.555Z] ---> create-netrc.sh [Pipeline] echo [2020-09-22T18:53:18.567Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T18:53:18.861Z] ---> logs-deploy.sh [2020-09-22T18:53:18.861Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-595/3 [2020-09-22T18:53:18.861Z] INFO: archiving workspace using pattern(s): [2020-09-22T18:53:20.258Z] Archives upload complete. [2020-09-22T18:53:20.258Z] INFO: archiving logs to Nexus