Pull request #588 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 9448c71d6b1cc28db2ca483ba4cc03739b377aa2+4000e27a9f725d20d01bd2b86b2182ef891199d8 (8b44b4e15c23adc194432d54949eb1ed11ab9663) Running in Durability level: MAX_SURVIVABILITY 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-588/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-43216 in /w/workspace/dgexfoundry_device-sdk-go_PR-588 [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-588 # 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/588/head:refs/remotes/origin/PR-588 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/588/head:refs/remotes/origin/PR-588 # 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/588/head:refs/remotes/origin/PR-588 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 # timeout=10 Merge succeeded, producing 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 Checking out Revision 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 (PR-588) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 # timeout=10 Commit message: "build: upgrade to use Go 1.15" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:36:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:36:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:36:36 ========================================================= 04:36:36 EdgeX Global Pipelines Version Info 04:36:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:36:38 ------------------- 04:36:38 stable info: 04:36:38 ------------------- 04:36:38 Commited By: Emilio Reyes emilio.reyes@intel.com 04:36:38 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 04:36:38 Message: update stable to v1.0.119 04:36:39 ------------------- 04:36:39 experimental info: 04:36:39 ------------------- 04:36:39 Commited By: **** collab-it+edgex@linuxfoundation.org 04:36:39 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 04:36:39 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 04:36:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 04:36:40 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:36:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:36:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:36:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:36:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:36:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:36:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:36:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:36:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:36:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:36:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-588 [Pipeline] echo 04:36:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-588 [Pipeline] echo 04:36:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-588 [Pipeline] echo 04:36:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 [Pipeline] echo 04:36:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9448c71 [Pipeline] echo 04:36:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:36:44 + git log --format=format:%s -1 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 [Pipeline] echo 04:36:44 GIT_COMMIT: 9448c71d6b1cc28db2ca483ba4cc03739b377aa2, Commit Message: build: upgrade to use Go 1.15 [Pipeline] echo 04:36:45 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:36:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:36:46 04:36:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:36:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:36:46 latest: Pulling from edgex-devops/git-semver 04:36:46 31603596830f: Pulling fs layer 04:36:46 2a8b12db71e7: Pulling fs layer 04:36:46 6ca5941a6612: Pulling fs layer 04:36:46 ecc8261a40a4: Pulling fs layer 04:36:46 ecc8261a40a4: Waiting 04:36:46 2a8b12db71e7: Verifying Checksum 04:36:46 2a8b12db71e7: Download complete 04:36:47 31603596830f: Verifying Checksum 04:36:47 31603596830f: Download complete 04:36:47 ecc8261a40a4: Verifying Checksum 04:36:47 ecc8261a40a4: Download complete 04:36:47 6ca5941a6612: Verifying Checksum 04:36:47 6ca5941a6612: Download complete 04:36:47 31603596830f: Pull complete 04:36:47 2a8b12db71e7: Pull complete 04:36:48 6ca5941a6612: Pull complete 04:36:48 ecc8261a40a4: Pull complete 04:36:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:36:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:36:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:36:48 prd-centos7-docker-4c-2g-43216 does not seem to be running inside a container 04:36:48 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-588 -v /w/workspace/dgexfoundry_device-sdk-go_PR-588:/w/workspace/dgexfoundry_device-sdk-go_PR-588:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-588@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-588@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:36:50 $ docker top 3d84229f0a1e3c9d2c93fa9eaa3c74e6389569af0493c4aa23381dd7244862a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:36:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:36:51 [ssh-agent] Looking for ssh-agent implementation... 04:36:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:36:51 $ docker exec 3d84229f0a1e3c9d2c93fa9eaa3c74e6389569af0493c4aa23381dd7244862a1 ssh-agent 04:36:51 SSH_AUTH_SOCK=/tmp/ssh-pDqrMqESxe0G/agent.13 04:36:51 SSH_AGENT_PID=18 04:36:51 Running ssh-add (command line suppressed) 04:36:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-588@tmp/private_key_2809483894544887543.key (/w/workspace/dgexfoundry_device-sdk-go_PR-588@tmp/private_key_2809483894544887543.key) 04:36:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:36:51 + git describe --exact-match --tags HEAD 04:36:51 fatal: No names found, cannot describe anything. [Pipeline] } 04:36:52 $ docker exec --env ******** --env ******** 3d84229f0a1e3c9d2c93fa9eaa3c74e6389569af0493c4aa23381dd7244862a1 ssh-agent -k 04:36:52 unset SSH_AUTH_SOCK; 04:36:52 unset SSH_AGENT_PID; 04:36:52 echo Agent pid 18 killed; 04:36:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 04:36:52 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 04:36:52 This usually means this commit has not been tagged. [Pipeline] sshagent 04:36:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:36:52 [ssh-agent] Looking for ssh-agent implementation... 04:36:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:36:52 $ docker exec 3d84229f0a1e3c9d2c93fa9eaa3c74e6389569af0493c4aa23381dd7244862a1 ssh-agent 04:36:52 SSH_AUTH_SOCK=/tmp/ssh-CA79PtxR2CMD/agent.47 04:36:52 SSH_AGENT_PID=52 04:36:52 Running ssh-add (command line suppressed) 04:36:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-588@tmp/private_key_8337235786252345528.key (/w/workspace/dgexfoundry_device-sdk-go_PR-588@tmp/private_key_8337235786252345528.key) 04:36:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:36:53 + git semver init 04:36:53 # -> Open(): unable to determine branch for HEAD 04:36:53 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-588/.git 04:36:53 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-588 04:36:53 # $SEMVER_REMOTE_NAME = origin 04:36:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:36:53 # $SEMVER_USER_NAME = edgex-jenkins 04:36:53 # $SEMVER_BRANCH = PR-588 04:36:53 # $SEMVER_TEMP = /tmp/semver-844397295 04:36:53 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:36:54 # '/tmp/semver-844397295' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-588/.semver' 04:36:54 # -> Force: false 04:36:54 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-588/.semver [Pipeline] } 04:36:54 $ docker exec --env ******** --env ******** 3d84229f0a1e3c9d2c93fa9eaa3c74e6389569af0493c4aa23381dd7244862a1 ssh-agent -k 04:36:54 unset SSH_AUTH_SOCK; 04:36:54 unset SSH_AGENT_PID; 04:36:54 echo Agent pid 52 killed; 04:36:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:36:54 + git semver [Pipeline] } 04:36:54 $ docker stop --time=1 3d84229f0a1e3c9d2c93fa9eaa3c74e6389569af0493c4aa23381dd7244862a1 04:36:56 $ docker rm -f 3d84229f0a1e3c9d2c93fa9eaa3c74e6389569af0493c4aa23381dd7244862a1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 04:36:57 Stashed 33 file(s) [Pipeline] echo 04:36:57 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 04:36:57 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 04:37:13 Still waiting to schedule task 04:37:13 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:37:13 Still waiting to schedule task 04:37:13 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:39:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43217 in /w/workspace/dgexfoundry_device-sdk-go_PR-588 [Pipeline] { [Pipeline] ws 04:39:12 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:39:17 using credential edgex-jenkins-ssh 04:39:17 Cloning the remote Git repository 04:39:17 Cloning with configured refspecs honoured and without tags 04:39:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:39:18 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:39:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:39:18 > git --version # timeout=10 04:39:18 > git --version # 'git version 2.17.1' 04:39:18 using GIT_SSH to set credentials SSH Credentials for GitHub 04:39:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/588/head:refs/remotes/origin/PR-588 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:39:19 Fetching without tags 04:39:19 Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 04:39:19 Merge succeeded, producing 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 04:39:19 Checking out Revision 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 (PR-588) 04:39:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:39:19 > git config --add remote.origin.fetch +refs/pull/588/head:refs/remotes/origin/PR-588 # timeout=10 04:39:19 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:39:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:39:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:39:19 using GIT_SSH to set credentials SSH Credentials for GitHub 04:39:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/588/head:refs/remotes/origin/PR-588 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:39:19 > git config core.sparsecheckout # timeout=10 04:39:19 > git checkout -f 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 # timeout=10 04:39:19 > git remote # timeout=10 04:39:19 > git config --get remote.origin.url # timeout=10 04:39:19 using GIT_SSH to set credentials SSH Credentials for GitHub 04:39:19 > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 04:39:19 > git rev-parse HEAD^{commit} # timeout=10 04:39:19 > git config core.sparsecheckout # timeout=10 04:39:20 > git checkout -f 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 # timeout=10 04:39:24 Commit message: "build: upgrade to use Go 1.15" 04:39:24 > git --version # timeout=10 04:39:24 > git --version # 'git version 2.17.1' 04:39:24 fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:39:26 ========================================================= 04:39:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:39:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:39:27 + 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 . 04:39:28 Sending build context to Docker daemon 3.139MB 04:39:28 Step 1/8 : ARG BASE=golang:1.15-alpine 04:39:28 Step 2/8 : FROM ${BASE} 04:39:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:39:28 b538f80385f9: Pulling fs layer 04:39:28 74f711af9a0d: Pulling fs layer 04:39:28 99f96fe45779: Pulling fs layer 04:39:28 8529a6b9a6be: Pulling fs layer 04:39:28 45590311c82a: Pulling fs layer 04:39:28 69ca0ff8b7b3: Pulling fs layer 04:39:28 209524e5b208: Pulling fs layer 04:39:28 8529a6b9a6be: Waiting 04:39:28 45590311c82a: Waiting 04:39:28 69ca0ff8b7b3: Waiting 04:39:28 209524e5b208: Waiting 04:39:28 99f96fe45779: Verifying Checksum 04:39:28 99f96fe45779: Download complete 04:39:28 74f711af9a0d: Verifying Checksum 04:39:28 74f711af9a0d: Download complete 04:39:28 45590311c82a: Verifying Checksum 04:39:28 45590311c82a: Download complete 04:39:28 b538f80385f9: Verifying Checksum 04:39:28 b538f80385f9: Download complete 04:39:28 69ca0ff8b7b3: Verifying Checksum 04:39:28 69ca0ff8b7b3: Download complete 04:39:29 b538f80385f9: Pull complete 04:39:30 74f711af9a0d: Pull complete 04:39:30 99f96fe45779: Pull complete 04:39:30 209524e5b208: Download complete 04:39:32 8529a6b9a6be: Verifying Checksum 04:39:32 8529a6b9a6be: Download complete 04:39:42 8529a6b9a6be: Pull complete 04:39:42 45590311c82a: Pull complete 04:39:43 69ca0ff8b7b3: Pull complete 04:39:47 209524e5b208: Pull complete 04:39:47 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 04:39:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:39:47 ---> 5bddaf1c2fca 04:39:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:39:49 ---> Running in 232ddcaee30d 04:39:50 Removing intermediate container 232ddcaee30d 04:39:50 ---> 702fd2c4bbe8 04:39:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:39:50 ---> Running in 0dadd582e1a7 04:39:53 Removing intermediate container 0dadd582e1a7 04:39:53 ---> 237a8c3cae33 04:39:53 Step 5/8 : RUN apk add --no-cache make git 04:39:53 ---> Running in 95aa3a4f0521 04:39:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:39:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:39:56 OK: 142 MiB in 39 packages 04:39:57 Removing intermediate container 95aa3a4f0521 04:39:57 ---> 72399ef022f6 04:39:57 Step 6/8 : WORKDIR /device-sdk-go 04:39:57 ---> Running in dd64bf1465e4 04:39:57 Removing intermediate container dd64bf1465e4 04:39:57 ---> ad07dcf0505a 04:39:57 Step 7/8 : COPY . . 04:39:59 ---> ec6cd68e9ad7 04:39:59 Step 8/8 : RUN go mod download 04:39:59 ---> Running in 97c711786725 04:40:14 Removing intermediate container 97c711786725 04:40:14 ---> 937bd59ed12b 04:40:14 Successfully built 937bd59ed12b 04:40:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:40:15 + docker inspect -f . ci-base-image-arm64 04:40:15 . [Pipeline] withDockerContainer 04:40:15 Running on prd-centos7-docker-4c-2g-43218 in /w/workspace/dgexfoundry_device-sdk-go_PR-588 04:40:15 prd-ubuntu18.04-docker-arm64-4c-16g-43217 does not seem to be running inside a container 04:40:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-arm64 cat 04:40:17 $ docker top aa49f89a2244ea7f64b035ce4b9030f974bbbf82ab3df4b0c07e58dc3a614b90 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 04:40:18 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:40:19 + go version 04:40:19 go version go1.15.2 linux/arm64 [Pipeline] sh 04:40:20 + make test 04:40:20 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:40:21 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:40:24 using credential edgex-jenkins-ssh 04:40:24 Cloning the remote Git repository 04:40:24 Cloning with configured refspecs honoured and without tags 04:40:25 Fetching without tags 04:40:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:40:24 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:40:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:40:24 > git --version # timeout=10 04:40:24 > git --version # 'git version 2.16.5' 04:40:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/588/head:refs/remotes/origin/PR-588 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:40:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:40:25 > git config --add remote.origin.fetch +refs/pull/588/head:refs/remotes/origin/PR-588 # timeout=10 04:40:25 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:40:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:40:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:40:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/588/head:refs/remotes/origin/PR-588 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:40:25 Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 04:40:25 Merge succeeded, producing 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 04:40:25 Checking out Revision 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 (PR-588) 04:40:25 > git config core.sparsecheckout # timeout=10 04:40:25 > git checkout -f 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 # timeout=10 04:40:25 > git remote # timeout=10 04:40:25 > git config --get remote.origin.url # timeout=10 04:40:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:25 > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 04:40:25 > git rev-parse HEAD^{commit} # timeout=10 04:40:25 > git config core.sparsecheckout # timeout=10 04:40:25 > git checkout -f 9448c71d6b1cc28db2ca483ba4cc03739b377aa2 # timeout=10 04:40:29 Commit message: "build: upgrade to use Go 1.15" 04:40:29 > git --version # timeout=10 04:40:29 > git --version # 'git version 2.16.5' 04:40:29 fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:40:31 ========================================================= 04:40:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:40:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:40:32 + 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 . 04:40:33 Sending build context to Docker daemon 3.139MB 04:40:33 Step 1/8 : ARG BASE=golang:1.15-alpine 04:40:33 Step 2/8 : FROM ${BASE} 04:40:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:40:33 df20fa9351a1: Pulling fs layer 04:40:33 ed8968b2872e: Pulling fs layer 04:40:33 a92cc7c5fd73: Pulling fs layer 04:40:33 e871e8e8d7a9: Pulling fs layer 04:40:33 e73272ec9a57: Pulling fs layer 04:40:33 1e910a182e73: Pulling fs layer 04:40:33 4e634b169226: Pulling fs layer 04:40:33 e73272ec9a57: Waiting 04:40:33 e871e8e8d7a9: Waiting 04:40:33 1e910a182e73: Waiting 04:40:33 4e634b169226: Waiting 04:40:33 a92cc7c5fd73: Download complete 04:40:33 ed8968b2872e: Verifying Checksum 04:40:33 ed8968b2872e: Download complete 04:40:33 e73272ec9a57: Verifying Checksum 04:40:33 e73272ec9a57: Download complete 04:40:33 1e910a182e73: Verifying Checksum 04:40:33 1e910a182e73: Download complete 04:40:33 df20fa9351a1: Verifying Checksum 04:40:33 df20fa9351a1: Download complete 04:40:33 df20fa9351a1: Pull complete 04:40:34 ed8968b2872e: Pull complete 04:40:34 a92cc7c5fd73: Pull complete 04:40:38 4e634b169226: Verifying Checksum 04:40:38 4e634b169226: Download complete 04:40:39 e871e8e8d7a9: Verifying Checksum 04:40:39 e871e8e8d7a9: Download complete 04:40:47 e871e8e8d7a9: Pull complete 04:40:47 e73272ec9a57: Pull complete 04:40:47 1e910a182e73: Pull complete 04:40:53 4e634b169226: Pull complete 04:40:53 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 04:40:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:40:53 ---> f7629b54cfaa 04:40:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:40:53 ---> Running in 994bbd043d1f 04:40:53 Removing intermediate container 994bbd043d1f 04:40:53 ---> ebf8c953db7e 04:40:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:40:53 ---> Running in 93994fed12d6 04:40:53 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:40:53 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:40:53 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:40:53 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.018s coverage: 21.0% of statements 04:40:53 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.162s coverage: 95.7% of statements 04:40:54 Removing intermediate container 93994fed12d6 04:40:54 ---> ba0b07e98ace 04:40:54 Step 5/8 : RUN apk add --no-cache make git 04:40:54 ---> Running in 6223f45cda49 04:40:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:40:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:40:56 OK: 166 MiB in 39 packages 04:40:57 Removing intermediate container 6223f45cda49 04:40:57 ---> 048cddf051e8 04:40:57 Step 6/8 : WORKDIR /device-sdk-go 04:40:57 ---> Running in 17e6b279de6c 04:40:57 Removing intermediate container 17e6b279de6c 04:40:57 ---> 298987d98556 04:40:57 Step 7/8 : COPY . . 04:40:58 ---> 0a430e805677 04:40:58 Step 8/8 : RUN go mod download 04:40:58 ---> Running in 884c896fc435 04:41:10 Removing intermediate container 884c896fc435 04:41:10 ---> b814ca3d0375 04:41:10 Successfully built b814ca3d0375 04:41:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:41:11 + docker inspect -f . ci-base-image-x86_64 04:41:11 . [Pipeline] withDockerContainer 04:41:12 prd-centos7-docker-4c-2g-43218 does not seem to be running inside a container 04:41:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-x86_64 cat 04:41:13 $ docker top e3745c7b40f5971eff269f4c5e15f77dfc9ceadf4cba985c878e51b7457556c9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:13 + go version 04:41:13 go version go1.15.2 linux/amd64 [Pipeline] sh 04:41:14 + make test 04:41:14 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:41:15 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:41:26 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.030s coverage: 8.6% of statements 04:41:26 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 21.7% of statements 04:41:26 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:41:26 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.071s coverage: 37.0% of statements 04:41:26 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:41:26 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.139s coverage: 65.4% of statements 04:41:26 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:41:26 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:41:26 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:41:26 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.063s coverage: 52.6% of statements 04:41:26 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.273s coverage: 68.9% of statements 04:41:26 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 04:41:26 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:41:26 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:41:30 gofmt -l . 04:41:30 [ "`gofmt -l .`" = "" ] 04:41:30 ./bin/test-attribution-txt.sh 04:41:31 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:41:31 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:41:31 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:41:31 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.021s coverage: 21.0% of statements 04:41:31 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.116s coverage: 95.7% of statements 04:41:31 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:41:32 Stashed 1 file(s) [Pipeline] } 04:41:32 $ docker stop --time=1 aa49f89a2244ea7f64b035ce4b9030f974bbbf82ab3df4b0c07e58dc3a614b90 04:41:34 $ docker rm -f aa49f89a2244ea7f64b035ce4b9030f974bbbf82ab3df4b0c07e58dc3a614b90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:41:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:41:38 + ls -al . 04:41:38 total 228 04:41:38 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 04:41 . 04:41:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 04:39 .. 04:41:38 -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 04:39 .dockerignore 04:41:38 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 04:39 .git 04:41:38 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 04:39 .github 04:41:38 -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 04:39 .gitignore 04:41:38 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 04:39 .semver 04:41:38 -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 04:39 Dockerfile.build 04:41:38 -rw-rw-r-- 1 jenkins jenkins 785 Sep 15 04:39 Jenkinsfile 04:41:38 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 04:39 LICENSE 04:41:38 -rw-rw-r-- 1 jenkins jenkins 892 Sep 15 04:39 Makefile 04:41:38 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 04:39 README.md 04:41:38 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 04:39 RELEASE-NOTES.txt 04:41:38 -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 04:36 VERSION 04:41:38 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 04:39 bin 04:41:38 -rw-r--r-- 1 jenkins jenkins 111650 Sep 15 04:41 coverage.out 04:41:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 04:39 example 04:41:38 -rw-r--r-- 1 jenkins jenkins 446 Sep 15 04:41 go.mod 04:41:38 -rw-r--r-- 1 jenkins jenkins 12179 Sep 15 04:41 go.sum 04:41:38 drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 04:39 internal 04:41:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 04:39 openapi 04:41:38 drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 04:39 pkg 04:41:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 04:39 snap 04:41:38 -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 04:39 version.go [Pipeline] isUnix [Pipeline] sh 04:41:39 + 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=9448c71d6b1cc28db2ca483ba4cc03739b377aa2 --label arch=arm64 --label version=0.0.0 . 04:41:39 Sending build context to Docker daemon 3.253MB 04:41:39 Step 1/24 : ARG BASE=golang:1.15-alpine 04:41:39 Step 2/24 : FROM ${BASE} AS builder 04:41:39 ---> 937bd59ed12b 04:41:39 Step 3/24 : ARG MAKE='make build' 04:41:39 ---> Running in 623b21330489 04:41:40 Removing intermediate container 623b21330489 04:41:40 ---> 3f98b461ab7c 04:41:40 Step 4/24 : WORKDIR /device-sdk-go 04:41:40 ---> Running in ff78d5c17096 04:41:40 Removing intermediate container ff78d5c17096 04:41:40 ---> 0255825d4d2f 04:41:40 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:41:40 ---> Running in 808f51f831cb 04:41:41 Removing intermediate container 808f51f831cb 04:41:41 ---> d29bfde52e99 04:41:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:41:41 ---> Running in ae1d8d712b68 04:41:44 Removing intermediate container ae1d8d712b68 04:41:44 ---> c6220abd5cc4 04:41:44 Step 7/24 : RUN apk add --update --no-cache make git 04:41:44 ---> Running in e3c0f8cd3830 04:41:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:41:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:41:47 OK: 142 MiB in 39 packages 04:41:48 Removing intermediate container e3c0f8cd3830 04:41:48 ---> be82f926e10a 04:41:48 Step 8/24 : COPY . . 04:41:49 ---> 7c69b3db39ac 04:41:49 Step 9/24 : RUN ${MAKE} 04:41:49 ---> Running in d0cf4d5a0853 04:41:50 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 04:42:03 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.016s coverage: 8.6% of statements 04:42:03 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.012s coverage: 21.7% of statements 04:42:03 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:42:03 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.045s coverage: 37.0% of statements 04:42:03 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:42:03 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.056s coverage: 65.4% of statements 04:42:03 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:42:03 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:42:03 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:42:03 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.119s coverage: 52.6% of statements 04:42:03 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.080s coverage: 68.9% of statements 04:42:03 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 04:42:03 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:42:03 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:42:04 gofmt -l . 04:42:05 [ "`gofmt -l .`" = "" ] 04:42:05 ./bin/test-attribution-txt.sh 04:42:05 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:42:06 Warning: overwriting stash ‘coverage-report’ 04:42:07 Stashed 1 file(s) [Pipeline] } 04:42:07 $ docker stop --time=1 e3745c7b40f5971eff269f4c5e15f77dfc9ceadf4cba985c878e51b7457556c9 04:42:08 $ docker rm -f e3745c7b40f5971eff269f4c5e15f77dfc9ceadf4cba985c878e51b7457556c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:42:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:42:10 + ls -al . 04:42:10 total 188 04:42:10 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 04:42 . 04:42:10 drwxrwxr-x. 4 jenkins jenkins 28 Sep 15 04:40 .. 04:42:10 drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 04:40 bin 04:42:10 -rw-r--r--. 1 jenkins jenkins 111650 Sep 15 04:42 coverage.out 04:42:10 -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 04:40 Dockerfile.build 04:42:10 -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 04:40 .dockerignore 04:42:10 drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 04:40 example 04:42:10 drwxrwxr-x. 8 jenkins jenkins 179 Sep 15 04:40 .git 04:42:10 drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 04:40 .github 04:42:10 -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 04:40 .gitignore 04:42:10 -rw-r--r--. 1 jenkins jenkins 446 Sep 15 04:42 go.mod 04:42:10 -rw-r--r--. 1 jenkins jenkins 12179 Sep 15 04:42 go.sum 04:42:10 drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 04:40 internal 04:42:10 -rw-rw-r--. 1 jenkins jenkins 785 Sep 15 04:40 Jenkinsfile 04:42:10 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 04:40 LICENSE 04:42:10 -rw-rw-r--. 1 jenkins jenkins 892 Sep 15 04:40 Makefile 04:42:10 drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 04:40 openapi 04:42:10 drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 04:40 pkg 04:42:10 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 04:40 README.md 04:42:10 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 04:40 RELEASE-NOTES.txt 04:42:10 drwxrwxr-x. 3 jenkins jenkins 58 Sep 15 04:40 .semver 04:42:10 drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 04:40 snap 04:42:10 -rw-rw-r--. 1 jenkins jenkins 5 Sep 15 04:36 VERSION 04:42:10 -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 04:40 version.go [Pipeline] isUnix [Pipeline] sh 04:42:11 + 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=9448c71d6b1cc28db2ca483ba4cc03739b377aa2 --label arch=amd64 --label version=0.0.0 . 04:42:11 Sending build context to Docker daemon 3.253MB 04:42:11 Step 1/24 : ARG BASE=golang:1.15-alpine 04:42:11 Step 2/24 : FROM ${BASE} AS builder 04:42:11 ---> b814ca3d0375 04:42:11 Step 3/24 : ARG MAKE='make build' 04:42:11 ---> Running in 0adc60e16b22 04:42:11 Removing intermediate container 0adc60e16b22 04:42:11 ---> c2d92e6cbd6c 04:42:11 Step 4/24 : WORKDIR /device-sdk-go 04:42:11 ---> Running in 2d99b3f686c0 04:42:12 Removing intermediate container 2d99b3f686c0 04:42:12 ---> ee7ac3e24829 04:42:12 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:42:12 ---> Running in d6b21736ac5c 04:42:12 Removing intermediate container d6b21736ac5c 04:42:12 ---> 87dd0d3bf729 04:42:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:42:12 ---> Running in 56c613a30a24 04:42:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:42:13 Removing intermediate container 56c613a30a24 04:42:13 ---> 8aed68a97fa1 04:42:13 Step 7/24 : RUN apk add --update --no-cache make git 04:42:13 ---> Running in 3da3df41d59a 04:42:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:42:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:42:15 OK: 166 MiB in 39 packages 04:42:15 Removing intermediate container d0cf4d5a0853 04:42:15 ---> f7dc47dd975c 04:42:15 Step 10/24 : FROM scratch 04:42:15 ---> 04:42:15 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:42:15 ---> Running in a47b8942670b 04:42:15 Removing intermediate container a47b8942670b 04:42:15 ---> 495790e6b1c2 04:42:15 Step 12/24 : ENV APP_PORT=49990 04:42:15 ---> Running in 6f30ba1d67ef 04:42:16 Removing intermediate container 3da3df41d59a 04:42:16 ---> 8b621b93a771 04:42:16 Step 8/24 : COPY . . 04:42:16 Removing intermediate container 6f30ba1d67ef 04:42:16 ---> c7e5be42cd06 04:42:16 Step 13/24 : EXPOSE $APP_PORT 04:42:16 ---> Running in c9e040bd7ab9 04:42:16 Removing intermediate container c9e040bd7ab9 04:42:16 ---> 20ffd06b030a 04:42:16 Step 14/24 : WORKDIR / 04:42:16 ---> Running in 6a42daf2d11b 04:42:17 ---> 55a6983fcc3f 04:42:17 Step 9/24 : RUN ${MAKE} 04:42:17 ---> Running in 33b3f1203904 04:42:17 Removing intermediate container 6a42daf2d11b 04:42:17 ---> 5b29ec7e713c 04:42:17 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:42:18 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 04:42:18 ---> 1b106c6fc0cc 04:42:18 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:42:19 ---> 8c8a16878b1b 04:42:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:42:19 ---> b55fe9937cf0 04:42:19 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:42:20 ---> 47f378c60884 04:42:20 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:42:21 ---> fae5e414ae24 04:42:21 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:42:21 ---> Running in 33a9a95893d0 04:42:22 Removing intermediate container 33a9a95893d0 04:42:22 ---> 85896627029a 04:42:22 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:42:22 ---> Running in 5fa4a512c20f 04:42:22 Removing intermediate container 5fa4a512c20f 04:42:22 ---> d7e335f978f1 04:42:22 Step 22/24 : LABEL arch=arm64 04:42:22 ---> Running in 23e5118096e2 04:42:23 Removing intermediate container 23e5118096e2 04:42:23 ---> 9fb5c9f180db 04:42:23 Step 23/24 : LABEL git_sha=9448c71d6b1cc28db2ca483ba4cc03739b377aa2 04:42:23 ---> Running in e51a98c3fa87 04:42:23 Removing intermediate container e51a98c3fa87 04:42:23 ---> c47201e89e28 04:42:23 Step 24/24 : LABEL version=0.0.0 04:42:23 ---> Running in aa2ef4743c24 04:42:24 Removing intermediate container aa2ef4743c24 04:42:24 ---> 466503177ba2 04:42:24 [Warning] One or more build-args [ARCH] were not consumed 04:42:24 Successfully built 466503177ba2 04:42:24 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] } 04:42:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:42:33 Removing intermediate container 33b3f1203904 04:42:33 ---> 2c1e4221a4c9 04:42:33 Step 10/24 : FROM scratch 04:42:33 ---> 04:42:33 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:42:33 ---> Running in 385bc026ae8b 04:42:33 Removing intermediate container 385bc026ae8b 04:42:33 ---> 0ae562302838 04:42:33 Step 12/24 : ENV APP_PORT=49990 04:42:33 ---> Running in 0a59116eb269 04:42:33 Removing intermediate container 0a59116eb269 04:42:33 ---> a63a6b7e3738 04:42:33 Step 13/24 : EXPOSE $APP_PORT 04:42:33 ---> Running in 234e8c9c9926 04:42:34 Removing intermediate container 234e8c9c9926 04:42:34 ---> 1506a302b539 04:42:34 Step 14/24 : WORKDIR / 04:42:34 ---> Running in 17816cbfa36e 04:42:34 Removing intermediate container 17816cbfa36e 04:42:34 ---> 8c14fb8773fc 04:42:34 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:42:35 ---> c6aac2e8d068 04:42:35 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:42:35 ---> e4990525bfd4 04:42:35 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:42:35 ---> b45b4566b702 04:42:35 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:42:35 ---> 8ff47aa50c14 04:42:35 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:42:36 ---> a485ded3e1a3 04:42:36 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:42:36 ---> Running in 37ba77dec3dc 04:42:36 Removing intermediate container 37ba77dec3dc 04:42:36 ---> 991760a42752 04:42:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:42:36 ---> Running in 69dde04d620d 04:42:37 Removing intermediate container 69dde04d620d 04:42:37 ---> 75c23e234c52 04:42:37 Step 22/24 : LABEL arch=amd64 04:42:37 ---> Running in 775f44964688 04:42:37 Removing intermediate container 775f44964688 04:42:37 ---> 52d1ff750924 04:42:37 Step 23/24 : LABEL git_sha=9448c71d6b1cc28db2ca483ba4cc03739b377aa2 04:42:37 ---> Running in c1b5d658bdd4 04:42:37 Removing intermediate container c1b5d658bdd4 04:42:37 ---> 8f24d133959e 04:42:37 Step 24/24 : LABEL version=0.0.0 04:42:37 ---> Running in ef81a9d40562 04:42:37 Removing intermediate container ef81a9d40562 04:42:37 ---> ec275d33b1b5 04:42:37 [Warning] One or more build-args [ARCH] were not consumed 04:42:37 Successfully built ec275d33b1b5 04:42:37 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 04:42:41 provisioning config files... 04:42:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-588@tmp/config4972434040770934382tmp [Pipeline] { [Pipeline] sh 04:42:41 + curl -s https://codecov.io/bash 04:42:41 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-588@tmp/config4972434040770934382tmp [Pipeline] } 04:42:41 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 04:42:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:42:45 ---> package-listing.sh 04:42:45 ++ facter osfamily 04:42:45 ++ tr '[:upper:]' '[:lower:]' 04:42:45 + OS_FAMILY=redhat 04:42:45 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-588 04:42:45 + START_PACKAGES=/tmp/packages_start.txt 04:42:45 + END_PACKAGES=/tmp/packages_end.txt 04:42:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:42:45 + PACKAGES=/tmp/packages_start.txt 04:42:45 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-588 ']' 04:42:45 + PACKAGES=/tmp/packages_end.txt 04:42:45 + case "${OS_FAMILY}" in 04:42:45 + rpm -qa 04:42:45 + sort 04:42:50 + '[' -f /tmp/packages_start.txt ']' 04:42:50 + '[' -f /tmp/packages_end.txt ']' 04:42:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:42:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-588 ']' 04:42:50 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-588/archives/ 04:42:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-588/archives/ [Pipeline] isUnix [Pipeline] sh 04:42:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:42:51 04:42:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:42:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:42:51 alpine: Pulling from edgex-lftools-log-publisher 04:42:51 df20fa9351a1: Pulling fs layer 04:42:51 36b3adc4ff6f: Pulling fs layer 04:42:51 8ad3a11d3b57: Pulling fs layer 04:42:51 46f8f816bc3b: Pulling fs layer 04:42:51 0dadc02b9964: Pulling fs layer 04:42:51 ce6a7cf60c04: Pulling fs layer 04:42:51 7a184a31f384: Pulling fs layer 04:42:51 0879bd2ef858: Pulling fs layer 04:42:51 0dadc02b9964: Waiting 04:42:51 ce6a7cf60c04: Waiting 04:42:51 7a184a31f384: Waiting 04:42:51 0879bd2ef858: Waiting 04:42:51 46f8f816bc3b: Waiting 04:42:51 36b3adc4ff6f: Download complete 04:42:51 46f8f816bc3b: Verifying Checksum 04:42:51 46f8f816bc3b: Download complete 04:42:51 df20fa9351a1: Verifying Checksum 04:42:51 df20fa9351a1: Download complete 04:42:51 0dadc02b9964: Verifying Checksum 04:42:51 0dadc02b9964: Download complete 04:42:51 ce6a7cf60c04: Verifying Checksum 04:42:51 ce6a7cf60c04: Download complete 04:42:51 7a184a31f384: Download complete 04:42:52 8ad3a11d3b57: Verifying Checksum 04:42:52 8ad3a11d3b57: Download complete 04:42:52 df20fa9351a1: Pull complete 04:42:52 36b3adc4ff6f: Pull complete 04:42:52 0879bd2ef858: Verifying Checksum 04:42:52 0879bd2ef858: Download complete 04:42:53 8ad3a11d3b57: Pull complete 04:42:53 46f8f816bc3b: Pull complete 04:42:53 0dadc02b9964: Pull complete 04:42:53 ce6a7cf60c04: Pull complete 04:42:53 7a184a31f384: Pull complete 04:42:56 0879bd2ef858: Pull complete 04:42:56 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 04:42:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:42:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:42:56 prd-centos7-docker-4c-2g-43216 does not seem to be running inside a container 04:42:56 $ 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-588 -v /w/workspace/dgexfoundry_device-sdk-go_PR-588:/w/workspace/dgexfoundry_device-sdk-go_PR-588:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-588@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-588@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:10003/edgex-lftools-log-publisher:alpine cat 04:43:02 $ docker top 95cc417a7521c548f6d58bfada9db966abf7ed237d38ea81c4c861f12da1763a -eo pid,comm [Pipeline] { [Pipeline] sh 04:43:02 + mkdir -p /var/log/sa [Pipeline] sh 04:43:03 + ls /var/log/sa-host 04:43:03 + sadf -c /var/log/sa-host/sa05 04:43:03 file_magic: OK 04:43:03 HZ: Using current value: 100 04:43:03 file_header: OK 04:43:03 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 04:43:03 Statistics: 04:43:03 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:43:03 File successfully converted to sysstat format version 12.2.1 04:43:03 + sadf -c /var/log/sa-host/sa15 04:43:03 file_magic: OK 04:43:03 HZ: Using current value: 100 04:43:03 file_header: OK 04:43:03 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 04:43:03 Statistics: 04:43:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:43:03 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:43:03 provisioning config files... 04:43:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-588@tmp/config7161832446183362190tmp [Pipeline] { [Pipeline] echo 04:43:03 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:43:03 ---> create-netrc.sh [Pipeline] echo 04:43:03 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:43:04 ---> logs-deploy.sh 04:43:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-588/1 04:43:04 INFO: archiving workspace using pattern(s): 04:43:05 Archives upload complete. 04:43:05 INFO: archiving logs to Nexus 04:43:06 ---> uname -a: 04:43:06 Linux 95cc417a7521 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 04:43:06 04:43:06 04:43:06 ---> lscpu: 04:43:06 Architecture: x86_64 04:43:06 CPU op-mode(s): 32-bit, 64-bit 04:43:06 Byte Order: Little Endian 04:43:06 Address sizes: 40 bits physical, 48 bits virtual 04:43:06 CPU(s): 4 04:43:06 On-line CPU(s) list: 0-3 04:43:06 Thread(s) per core: 1 04:43:06 Core(s) per socket: 1 04:43:06 Socket(s): 4 04:43:06 NUMA node(s): 1 04:43:06 Vendor ID: GenuineIntel 04:43:06 CPU family: 6 04:43:06 Model: 44 04:43:06 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 04:43:06 Stepping: 1 04:43:06 CPU MHz: 2933.396 04:43:06 BogoMIPS: 5866.79 04:43:06 Virtualization: VT-x 04:43:06 Hypervisor vendor: KVM 04:43:06 Virtualization type: full 04:43:06 L1d cache: 128 KiB 04:43:06 L1i cache: 128 KiB 04:43:06 L2 cache: 16 MiB 04:43:06 L3 cache: 64 MiB 04:43:06 NUMA node0 CPU(s): 0-3 04:43:06 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 04:43:06 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 04:43:06 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 04:43:06 Vulnerability Meltdown: Mitigation; PTI 04:43:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:43:06 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 04:43:06 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 04:43:06 Vulnerability Tsx async abort: Not affected 04:43:06 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 04:43:06 04:43:06 04:43:06 ---> nproc: 04:43:06 4 04:43:06 04:43:06 04:43:06 ---> df -h: 04:43:06 Filesystem Size Used Available Use% Mounted on 04:43:06 overlay 50.0G 7.0G 43.0G 14% / 04:43:06 tmpfs 64.0M 0 64.0M 0% /dev 04:43:06 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 04:43:06 shm 64.0M 0 64.0M 0% /dev/shm 04:43:06 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 04:43:06 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 04:43:06 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 04:43:06 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-588 04:43:06 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-588@tmp 04:43:06 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 04:43:06 04:43:06 04:43:06 ---> free -m: 04:43:06 total used free shared buff/cache available 04:43:06 Mem: 1837 673 133 0 1029 1057 04:43:06 Swap: 1023 1 1022 04:43:06 04:43:06 04:43:06 ---> ip addr: 04:43:06 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 04:43:06 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 04:43:06 inet 127.0.0.1/8 scope host lo 04:43:06 valid_lft forever preferred_lft forever 04:43:06 6: eth0@if7: mtu 1458 qdisc noqueue state UP 04:43:06 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 04:43:06 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 04:43:06 valid_lft forever preferred_lft forever 04:43:06 04:43:06 04:43:06 ---> sar -b -r -n DEV: 04:43:06 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/15/20 _x86_64_ (4 CPU) 04:43:06 04:43:06 04:35:44 LINUX RESTART (4 CPU) 04:43:06 04:43:06 04:37:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:43:06 04:38:01 3.21 0.00 3.21 0.00 0.00 100.62 0.00 04:43:06 04:39:01 0.35 0.00 0.35 0.00 0.00 4.48 0.00 04:43:06 04:40:01 0.28 0.00 0.28 0.00 0.00 3.61 0.00 04:43:06 04:41:01 0.23 0.00 0.23 0.00 0.00 2.83 0.00 04:43:06 04:42:01 0.35 0.00 0.35 0.00 0.00 4.81 0.00 04:43:06 04:43:02 94.69 54.40 40.29 0.00 6196.24 6283.45 0.00 04:43:06 Average: 16.53 9.07 7.46 0.00 1033.11 1067.05 0.00 04:43:06 04:43:06 04:37:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:43:06 04:38:01 166036 0 586920 31.19 2620 1125980 1080948 36.89 414032 1142928 16 04:43:06 04:39:01 166140 0 586812 31.19 2620 1125984 1081020 36.89 416840 1140600 8 04:43:06 04:40:01 163220 0 589720 31.34 2620 1125996 1081140 36.90 419696 1140524 8 04:43:06 04:41:01 162076 0 590864 31.40 2620 1125996 1081192 36.90 429400 1131756 8 04:43:06 04:42:01 160264 0 592672 31.50 2620 1126000 1081108 36.90 433256 1130264 8 04:43:06 04:43:02 71800 0 748000 39.75 2620 1059136 2026664 69.17 540504 1071456 8 04:43:06 Average: 148256 0 615831 32.73 2620 1114849 1238679 42.27 442288 1126255 9 04:43:06 04:43:06 04:37:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:43:06 04:38:01 eth0 0.37 0.08 0.02 0.01 0.00 0.00 0.00 0.00 04:43:06 04:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 04:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 04:39:01 eth0 0.87 0.42 2.76 0.03 0.00 0.00 0.00 0.00 04:43:06 04:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 04:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 04:40:01 eth0 1.02 0.43 0.33 0.21 0.00 0.00 0.00 0.00 04:43:06 04:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 04:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 04:41:01 eth0 0.48 0.42 0.27 0.21 0.00 0.00 0.00 0.00 04:43:06 04:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 04:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 04:42:01 eth0 0.72 0.25 0.18 0.07 0.00 0.00 0.00 0.00 04:43:06 04:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 04:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 04:43:02 veth75cfd9d 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 04:43:02 eth0 83.74 69.57 740.98 10.52 0.00 0.00 0.00 0.00 04:43:06 04:43:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 04:43:02 vethf38910f 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 Average: veth75cfd9d 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 Average: eth0 14.54 11.87 124.14 1.84 0.00 0.00 0.00 0.00 04:43:06 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 Average: vethf38910f 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:43:06 04:43:06 04:43:06 ---> sar -P ALL: 04:43:06 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/15/20 _x86_64_ (4 CPU) 04:43:06 04:43:06 04:35:44 LINUX RESTART (4 CPU) 04:43:06 04:43:06 04:37:01 CPU %user %nice %system %iowait %steal %idle 04:43:06 04:38:01 all 0.18 0.00 0.06 0.00 0.00 99.76 04:43:06 04:38:01 0 0.10 0.00 0.05 0.00 0.00 99.85 04:43:06 04:38:01 1 0.35 0.00 0.03 0.00 0.00 99.62 04:43:06 04:38:01 2 0.08 0.00 0.07 0.00 0.00 99.85 04:43:06 04:38:01 3 0.18 0.00 0.08 0.00 0.00 99.73 04:43:06 04:39:01 all 0.17 0.00 0.03 0.00 0.00 99.80 04:43:06 04:39:01 0 0.02 0.00 0.02 0.00 0.00 99.97 04:43:06 04:39:01 1 0.50 0.00 0.03 0.00 0.00 99.47 04:43:06 04:39:01 2 0.10 0.00 0.07 0.00 0.00 99.83 04:43:06 04:39:01 3 0.05 0.00 0.02 0.00 0.00 99.93 04:43:06 04:40:01 all 0.15 0.00 0.03 0.00 0.00 99.83 04:43:06 04:40:01 0 0.03 0.00 0.05 0.00 0.00 99.92 04:43:06 04:40:01 1 0.50 0.00 0.02 0.00 0.00 99.48 04:43:06 04:40:01 2 0.03 0.00 0.03 0.00 0.00 99.93 04:43:06 04:40:01 3 0.02 0.00 0.02 0.00 0.00 99.97 04:43:06 04:41:01 all 0.14 0.00 0.05 0.00 0.00 99.82 04:43:06 04:41:01 0 0.03 0.00 0.02 0.00 0.00 99.95 04:43:06 04:41:01 1 0.45 0.00 0.05 0.00 0.00 99.50 04:43:06 04:41:01 2 0.05 0.00 0.10 0.00 0.00 99.85 04:43:06 04:41:01 3 0.02 0.00 0.02 0.00 0.00 99.97 04:43:06 04:42:01 all 0.04 0.00 0.05 0.00 0.00 99.91 04:43:06 04:42:01 0 0.00 0.00 0.00 0.00 0.00 100.00 04:43:06 04:42:01 1 0.10 0.00 0.07 0.00 0.00 99.83 04:43:06 04:42:01 2 0.03 0.00 0.12 0.00 0.00 99.85 04:43:06 04:42:01 3 0.03 0.00 0.02 0.00 0.00 99.95 04:43:06 04:43:02 all 2.92 0.00 2.17 1.34 0.01 93.56 04:43:06 04:43:02 0 3.00 0.00 2.56 1.24 0.00 93.21 04:43:06 04:43:02 1 2.62 0.00 1.68 0.18 0.02 95.50 04:43:06 04:43:02 2 3.16 0.00 2.17 1.30 0.02 93.34 04:43:06 04:43:02 3 2.90 0.00 2.28 2.61 0.02 92.19 04:43:06 Average: all 0.60 0.00 0.40 0.22 0.00 98.78 04:43:06 Average: 0 0.53 0.00 0.45 0.21 0.00 98.82 04:43:06 Average: 1 0.75 0.00 0.31 0.03 0.00 98.90 04:43:06 Average: 2 0.58 0.00 0.43 0.22 0.00 98.78 04:43:06 Average: 3 0.53 0.00 0.40 0.43 0.00 98.63 04:43:06 04:43:06 04:43:06