Pull request #553 updated 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 34586eebf1e8dc7164860841d693f6652cfed50d rather than 925ab5b9da818d45ca80fc76b648a7cd48e44316 Obtained Jenkinsfile from 34586eebf1e8dc7164860841d693f6652cfed50d 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 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 > 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 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 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-43314 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [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-553 # 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/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 34586eebf1e8dc7164860841d693f6652cfed50d into PR head commit 925ab5b9da818d45ca80fc76b648a7cd48e44316 Merge succeeded, producing 925ab5b9da818d45ca80fc76b648a7cd48e44316 Checking out Revision 925ab5b9da818d45ca80fc76b648a7cd48e44316 (PR-553) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # 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/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 925ab5b9da818d45ca80fc76b648a7cd48e44316 # 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 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 925ab5b9da818d45ca80fc76b648a7cd48e44316 # timeout=10 Commit message: "fix: Create a buffer to handle the AsyncValues" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 966a3ac5b3067e46b49cbd3d06faec0746e464c1 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:16:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:16:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:16:53 ========================================================= 15:16:53 EdgeX Global Pipelines Version Info 15:16:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:16:56 ------------------- 15:16:56 stable info: 15:16:56 ------------------- 15:16:56 Commited By: Emilio Reyes emilio.reyes@intel.com 15:16:56 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 15:16:56 Message: update stable to v1.0.119 15:16:57 ------------------- 15:16:57 experimental info: 15:16:57 ------------------- 15:16:57 Commited By: **** collab-it+edgex@linuxfoundation.org 15:16:57 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 15:16:57 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 15:16:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:16:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:16:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:16:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:16:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:16:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:16:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:16:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 15:16:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:16:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:16:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:16:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:16:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:16:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:16:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:16:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:17:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:17:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:17:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-553 [Pipeline] echo 15:17:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-553 [Pipeline] echo 15:17:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-553 [Pipeline] echo 15:17:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 925ab5b9da818d45ca80fc76b648a7cd48e44316 [Pipeline] echo 15:17:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 925ab5b [Pipeline] echo 15:17:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:17:02 + git log --format=format:%s -1 925ab5b9da818d45ca80fc76b648a7cd48e44316 [Pipeline] echo 15:17:02 GIT_COMMIT: 925ab5b9da818d45ca80fc76b648a7cd48e44316, Commit Message: fix: Create a buffer to handle the AsyncValues [Pipeline] echo 15:17:02 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:17:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:17:03 15:17:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:17:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:17:03 latest: Pulling from edgex-devops/git-semver 15:17:03 31603596830f: Pulling fs layer 15:17:03 2a8b12db71e7: Pulling fs layer 15:17:03 6ca5941a6612: Pulling fs layer 15:17:03 ecc8261a40a4: Pulling fs layer 15:17:03 ecc8261a40a4: Waiting 15:17:03 2a8b12db71e7: Verifying Checksum 15:17:03 2a8b12db71e7: Download complete 15:17:03 31603596830f: Verifying Checksum 15:17:03 31603596830f: Download complete 15:17:03 ecc8261a40a4: Verifying Checksum 15:17:03 ecc8261a40a4: Download complete 15:17:03 6ca5941a6612: Verifying Checksum 15:17:03 6ca5941a6612: Download complete 15:17:04 31603596830f: Pull complete 15:17:04 2a8b12db71e7: Pull complete 15:17:04 6ca5941a6612: Pull complete 15:17:05 ecc8261a40a4: Pull complete 15:17:05 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:17:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:17:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:17:05 prd-centos7-docker-4c-2g-43314 does not seem to be running inside a container 15:17:05 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:17:07 $ docker top 0ac3969c63a1a95c85341038c856cd07cdf1c5a61b744b168253e96f9f8394f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:17:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:17:07 [ssh-agent] Looking for ssh-agent implementation... 15:17:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:17:08 $ docker exec 0ac3969c63a1a95c85341038c856cd07cdf1c5a61b744b168253e96f9f8394f4 ssh-agent 15:17:08 SSH_AUTH_SOCK=/tmp/ssh-bG09x3nJUbxW/agent.11 15:17:08 SSH_AGENT_PID=16 15:17:08 Running ssh-add (command line suppressed) 15:17:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_7022085783381543473.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_7022085783381543473.key) 15:17:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:17:08 + git describe --exact-match --tags HEAD 15:17:08 fatal: No names found, cannot describe anything. [Pipeline] } 15:17:08 $ docker exec --env ******** --env ******** 0ac3969c63a1a95c85341038c856cd07cdf1c5a61b744b168253e96f9f8394f4 ssh-agent -k 15:17:08 unset SSH_AUTH_SOCK; 15:17:08 unset SSH_AGENT_PID; 15:17:08 echo Agent pid 16 killed; 15:17:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:17:09 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:17:09 This usually means this commit has not been tagged. [Pipeline] sshagent 15:17:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:17:09 [ssh-agent] Looking for ssh-agent implementation... 15:17:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:17:09 $ docker exec 0ac3969c63a1a95c85341038c856cd07cdf1c5a61b744b168253e96f9f8394f4 ssh-agent 15:17:09 SSH_AUTH_SOCK=/tmp/ssh-nBjQLoSeZiRa/agent.46 15:17:09 SSH_AGENT_PID=51 15:17:09 Running ssh-add (command line suppressed) 15:17:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_304564954251781549.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_304564954251781549.key) 15:17:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:17:10 + git semver init 15:17:10 # -> Open(): unable to determine branch for HEAD 15:17:10 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git 15:17:10 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 15:17:10 # $SEMVER_REMOTE_NAME = origin 15:17:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:17:10 # $SEMVER_USER_NAME = edgex-jenkins 15:17:10 # $SEMVER_BRANCH = PR-553 15:17:10 # $SEMVER_TEMP = /tmp/semver-491418988 15:17:10 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 15:17:10 # '/tmp/semver-491418988' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' 15:17:10 # -> Force: false 15:17:10 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } 15:17:10 $ docker exec --env ******** --env ******** 0ac3969c63a1a95c85341038c856cd07cdf1c5a61b744b168253e96f9f8394f4 ssh-agent -k 15:17:10 unset SSH_AUTH_SOCK; 15:17:10 unset SSH_AGENT_PID; 15:17:10 echo Agent pid 51 killed; 15:17:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:17:11 + git semver [Pipeline] } 15:17:11 $ docker stop --time=1 0ac3969c63a1a95c85341038c856cd07cdf1c5a61b744b168253e96f9f8394f4 15:17:12 $ docker rm -f 0ac3969c63a1a95c85341038c856cd07cdf1c5a61b744b168253e96f9f8394f4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:17:13 Stashed 35 file(s) [Pipeline] echo 15:17:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 15:17:14 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 15:17:29 Still waiting to schedule task 15:17:29 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:17:29 Still waiting to schedule task 15:17:29 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 15:20:49 Running on prd-centos7-docker-4c-2g-43316 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 15:20:49 Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout 15:20:56 using credential edgex-jenkins-ssh 15:20:56 Cloning the remote Git repository 15:20:56 Cloning with configured refspecs honoured and without tags 15:20:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:20:58 Fetching without tags 15:20:57 > git init /w/workspace/device-sdk-go/18 # timeout=10 15:20:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:20:57 > git --version # timeout=10 15:20:57 > git --version # 'git version 2.16.5' 15:20:57 using GIT_SSH to set credentials SSH Credentials for GitHub 15:20:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:20:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:20:57 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 15:20:58 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:20:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:20:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:20:58 using GIT_SSH to set credentials SSH Credentials for GitHub 15:20:58 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:20:58 Merging remotes/origin/master commit 34586eebf1e8dc7164860841d693f6652cfed50d into PR head commit 925ab5b9da818d45ca80fc76b648a7cd48e44316 15:20:58 Merge succeeded, producing 925ab5b9da818d45ca80fc76b648a7cd48e44316 15:20:58 Checking out Revision 925ab5b9da818d45ca80fc76b648a7cd48e44316 (PR-553) 15:20:58 > git config core.sparsecheckout # timeout=10 15:20:58 > git checkout -f 925ab5b9da818d45ca80fc76b648a7cd48e44316 # timeout=10 15:20:58 > git remote # timeout=10 15:20:58 > git config --get remote.origin.url # timeout=10 15:20:58 using GIT_SSH to set credentials SSH Credentials for GitHub 15:20:58 > git merge 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 15:20:58 > git rev-parse HEAD^{commit} # timeout=10 15:20:58 > git config core.sparsecheckout # timeout=10 15:20:58 > git checkout -f 925ab5b9da818d45ca80fc76b648a7cd48e44316 # timeout=10 15:21:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43315 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws 15:21:00 Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout 15:21:02 Commit message: "fix: Create a buffer to handle the AsyncValues" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:21:04 ========================================================= 15:21:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:21:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:21:05 + 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 . 15:21:05 using credential edgex-jenkins-ssh 15:21:05 Cloning the remote Git repository 15:21:05 Cloning with configured refspecs honoured and without tags 15:21:06 Sending build context to Docker daemon 3.156MB 15:21:06 Step 1/8 : ARG BASE=golang:1.15-alpine 15:21:06 Step 2/8 : FROM ${BASE} 15:21:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:21:06 df20fa9351a1: Pulling fs layer 15:21:06 ed8968b2872e: Pulling fs layer 15:21:06 a92cc7c5fd73: Pulling fs layer 15:21:06 e871e8e8d7a9: Pulling fs layer 15:21:06 e73272ec9a57: Pulling fs layer 15:21:06 1e910a182e73: Pulling fs layer 15:21:06 4e634b169226: Pulling fs layer 15:21:06 e73272ec9a57: Waiting 15:21:06 1e910a182e73: Waiting 15:21:06 4e634b169226: Waiting 15:21:06 e871e8e8d7a9: Waiting 15:21:06 a92cc7c5fd73: Verifying Checksum 15:21:06 a92cc7c5fd73: Download complete 15:21:06 ed8968b2872e: Download complete 15:21:06 e73272ec9a57: Verifying Checksum 15:21:06 e73272ec9a57: Download complete 15:21:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:21:05 > git init /w/workspace/device-sdk-go/18 # timeout=10 15:21:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:21:06 > git --version # timeout=10 15:21:06 > git --version # 'git version 2.17.1' 15:21:06 using GIT_SSH to set credentials SSH Credentials for GitHub 15:21:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:21:07 1e910a182e73: Verifying Checksum 15:21:07 1e910a182e73: Download complete 15:21:07 Fetching without tags 15:21:07 Merging remotes/origin/master commit 34586eebf1e8dc7164860841d693f6652cfed50d into PR head commit 925ab5b9da818d45ca80fc76b648a7cd48e44316 15:21:07 df20fa9351a1: Verifying Checksum 15:21:07 df20fa9351a1: Download complete 15:21:08 Merge succeeded, producing 925ab5b9da818d45ca80fc76b648a7cd48e44316 15:21:08 Checking out Revision 925ab5b9da818d45ca80fc76b648a7cd48e44316 (PR-553) 15:21:08 df20fa9351a1: Pull complete 15:21:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:21:07 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 15:21:07 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:21:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:21:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:21:07 using GIT_SSH to set credentials SSH Credentials for GitHub 15:21:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:21:07 > git config core.sparsecheckout # timeout=10 15:21:07 > git checkout -f 925ab5b9da818d45ca80fc76b648a7cd48e44316 # timeout=10 15:21:07 > git remote # timeout=10 15:21:08 > git config --get remote.origin.url # timeout=10 15:21:08 using GIT_SSH to set credentials SSH Credentials for GitHub 15:21:08 > git merge 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 15:21:08 > git rev-parse HEAD^{commit} # timeout=10 15:21:08 > git config core.sparsecheckout # timeout=10 15:21:08 > git checkout -f 925ab5b9da818d45ca80fc76b648a7cd48e44316 # timeout=10 15:21:08 ed8968b2872e: Pull complete 15:21:09 a92cc7c5fd73: Pull complete 15:21:12 Commit message: "fix: Create a buffer to handle the AsyncValues" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 15:21:13 4e634b169226: Verifying Checksum 15:21:13 4e634b169226: Download complete [Pipeline] echo 15:21:13 ========================================================= 15:21:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:21:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:21:14 e871e8e8d7a9: Verifying Checksum 15:21:14 e871e8e8d7a9: Download complete 15:21:15 + 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 . 15:21:16 Sending build context to Docker daemon 3.156MB 15:21:16 Step 1/8 : ARG BASE=golang:1.15-alpine 15:21:16 Step 2/8 : FROM ${BASE} 15:21:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:21:16 b538f80385f9: Pulling fs layer 15:21:16 74f711af9a0d: Pulling fs layer 15:21:16 99f96fe45779: Pulling fs layer 15:21:16 8529a6b9a6be: Pulling fs layer 15:21:16 45590311c82a: Pulling fs layer 15:21:16 69ca0ff8b7b3: Pulling fs layer 15:21:16 209524e5b208: Pulling fs layer 15:21:16 8529a6b9a6be: Waiting 15:21:16 69ca0ff8b7b3: Waiting 15:21:16 45590311c82a: Waiting 15:21:16 209524e5b208: Waiting 15:21:16 99f96fe45779: Verifying Checksum 15:21:16 99f96fe45779: Download complete 15:21:16 74f711af9a0d: Verifying Checksum 15:21:16 74f711af9a0d: Download complete 15:21:16 45590311c82a: Verifying Checksum 15:21:16 45590311c82a: Download complete 15:21:16 69ca0ff8b7b3: Verifying Checksum 15:21:16 69ca0ff8b7b3: Download complete 15:21:16 b538f80385f9: Verifying Checksum 15:21:16 b538f80385f9: Download complete 15:21:17 b538f80385f9: Pull complete 15:21:17 74f711af9a0d: Pull complete 15:21:18 99f96fe45779: Pull complete 15:21:18 209524e5b208: Verifying Checksum 15:21:18 209524e5b208: Download complete 15:21:21 8529a6b9a6be: Verifying Checksum 15:21:21 8529a6b9a6be: Download complete 15:21:23 e871e8e8d7a9: Pull complete 15:21:23 e73272ec9a57: Pull complete 15:21:23 1e910a182e73: Pull complete 15:21:28 4e634b169226: Pull complete 15:21:28 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 15:21:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:21:28 ---> f7629b54cfaa 15:21:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:21:28 ---> Running in 0a0becfa0fa8 15:21:28 Removing intermediate container 0a0becfa0fa8 15:21:28 ---> 54c3c4a970c0 15:21:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:21:28 ---> Running in 76eb52a500bc 15:21:30 Removing intermediate container 76eb52a500bc 15:21:30 ---> d9e3aec40ff5 15:21:30 Step 5/8 : RUN apk add --no-cache make git 15:21:30 ---> Running in 4194061dd28f 15:21:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:21:31 8529a6b9a6be: Pull complete 15:21:31 45590311c82a: Pull complete 15:21:31 69ca0ff8b7b3: Pull complete 15:21:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:21:33 OK: 166 MiB in 39 packages 15:21:33 Removing intermediate container 4194061dd28f 15:21:33 ---> ebe5431e14ce 15:21:33 Step 6/8 : WORKDIR /device-sdk-go 15:21:33 ---> Running in 8e5b3b553835 15:21:33 Removing intermediate container 8e5b3b553835 15:21:33 ---> 2c72a74054e8 15:21:33 Step 7/8 : COPY . . 15:21:34 ---> bdc1c0875b22 15:21:34 Step 8/8 : RUN go mod download 15:21:34 ---> Running in 54414c1aa3c3 15:21:35 209524e5b208: Pull complete 15:21:35 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 15:21:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:21:35 ---> 5bddaf1c2fca 15:21:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:21:37 ---> Running in 10af6a3d15cf 15:21:37 Removing intermediate container 10af6a3d15cf 15:21:37 ---> 217abe7874d4 15:21:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:21:37 ---> Running in 7b30acc5e84c 15:21:40 Removing intermediate container 7b30acc5e84c 15:21:40 ---> be4273dd88a2 15:21:40 Step 5/8 : RUN apk add --no-cache make git 15:21:40 ---> Running in c096a50227b3 15:21:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:21:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:21:43 OK: 142 MiB in 39 packages 15:21:44 Removing intermediate container c096a50227b3 15:21:44 ---> 402f42d17bee 15:21:44 Step 6/8 : WORKDIR /device-sdk-go 15:21:44 ---> Running in 9568d0644e45 15:21:45 Removing intermediate container 9568d0644e45 15:21:45 ---> 4c41dda9c5bc 15:21:45 Step 7/8 : COPY . . 15:21:46 ---> 66fb209c4156 15:21:46 Step 8/8 : RUN go mod download 15:21:46 ---> Running in a1b35d9e5021 15:21:47 Removing intermediate container 54414c1aa3c3 15:21:47 ---> d0e7be756bcf 15:21:47 Successfully built d0e7be756bcf 15:21:47 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 15:21:48 + docker inspect -f . ci-base-image-x86_64 15:21:48 . [Pipeline] withDockerContainer 15:21:48 prd-centos7-docker-4c-2g-43316 does not seem to be running inside a container 15:21:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@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-x86_64 cat 15:21:49 $ docker top 86ca1dd9c75fb4ae69ac6fa4f3b8c4589b087ec46116eda9c2f847e68d87c16c -eo pid,comm [Pipeline] { [Pipeline] sh 15:21:50 + go version 15:21:50 go version go1.15.2 linux/amd64 [Pipeline] sh 15:21:51 + make test 15:21:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:22:01 Removing intermediate container a1b35d9e5021 15:22:01 ---> ad89331926f0 15:22:01 Successfully built ad89331926f0 15:22:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:22:02 + docker inspect -f . ci-base-image-arm64 15:22:02 . [Pipeline] withDockerContainer 15:22:03 prd-ubuntu18.04-docker-arm64-4c-16g-43315 does not seem to be running inside a container 15:22:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:22:03 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:22:05 $ docker top 95e6746b1e3718ab1164e33ad6a85e6bae9a0706a178c5d95a0640393bfd1192 -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:06 + go version 15:22:06 go version go1.15.2 linux/arm64 [Pipeline] sh 15:22:07 + make test 15:22:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:22:26 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:22:26 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:22:26 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 15:22:26 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.074s coverage: 21.0% of statements 15:22:27 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.578s coverage: 95.7% of statements 15:22:29 ? github.com/edgexfoundry/device-sdk-go [no test files] 15:22:59 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.107s coverage: 8.6% of statements 15:22:59 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.044s coverage: 21.7% of statements 15:22:59 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 15:22:59 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.209s coverage: 37.0% of statements 15:22:59 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:22:59 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.458s coverage: 65.4% of statements 15:22:59 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:22:59 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:22:59 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:22:59 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.122s coverage: 52.6% of statements 15:22:59 ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.201s coverage: 68.9% of statements 15:22:59 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 15:22:59 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:22:59 GO111MODULE=on go vet ./... 15:23:08 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 15:23:08 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 15:23:08 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 15:23:08 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.076s coverage: 21.0% of statements 15:23:08 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.201s coverage: 95.7% of statements 15:23:12 gofmt -l . 15:23:12 [ "`gofmt -l .`" = "" ] 15:23:12 ./bin/test-attribution-txt.sh 15:23:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:23:14 Stashed 1 file(s) [Pipeline] } 15:23:14 $ docker stop --time=1 86ca1dd9c75fb4ae69ac6fa4f3b8c4589b087ec46116eda9c2f847e68d87c16c 15:23:16 $ docker rm -f 86ca1dd9c75fb4ae69ac6fa4f3b8c4589b087ec46116eda9c2f847e68d87c16c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:23:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:23:19 + ls -al . 15:23:19 total 188 15:23:19 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 15:23 . 15:23:19 drwxrwxr-x. 4 jenkins jenkins 30 Sep 15 15:20 .. 15:23:19 drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 15:20 bin 15:23:19 -rw-r--r--. 1 jenkins jenkins 111785 Sep 15 15:22 coverage.out 15:23:19 -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 15:20 Dockerfile.build 15:23:19 -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 15:20 .dockerignore 15:23:19 drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 15:20 example 15:23:19 drwxrwxr-x. 8 jenkins jenkins 179 Sep 15 15:21 .git 15:23:19 drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 15:20 .github 15:23:19 -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 15:20 .gitignore 15:23:19 -rw-r--r--. 1 jenkins jenkins 446 Sep 15 15:23 go.mod 15:23:19 -rw-r--r--. 1 jenkins jenkins 12179 Sep 15 15:23 go.sum 15:23:19 drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 15:20 internal 15:23:19 -rw-rw-r--. 1 jenkins jenkins 785 Sep 15 15:20 Jenkinsfile 15:23:19 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 15:20 LICENSE 15:23:19 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 15 15:20 Makefile 15:23:19 drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 15:20 openapi 15:23:19 drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 15:20 pkg 15:23:19 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 15:20 README.md 15:23:19 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 15:20 RELEASE-NOTES.txt 15:23:19 drwxrwxr-x. 3 jenkins jenkins 58 Sep 15 15:21 .semver 15:23:19 drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 15:20 snap 15:23:19 -rw-rw-r--. 1 jenkins jenkins 5 Sep 15 15:17 VERSION 15:23:19 -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 15:20 version.go [Pipeline] isUnix [Pipeline] sh 15:23:19 + 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=925ab5b9da818d45ca80fc76b648a7cd48e44316 --label arch=amd64 --label version=0.0.0 . 15:23:19 Sending build context to Docker daemon 3.27MB 15:23:20 Step 1/24 : ARG BASE=golang:1.15-alpine 15:23:20 Step 2/24 : FROM ${BASE} AS builder 15:23:20 ---> d0e7be756bcf 15:23:20 Step 3/24 : ARG MAKE='make build' 15:23:20 ---> Running in 07dacd16751b 15:23:20 Removing intermediate container 07dacd16751b 15:23:20 ---> cd653738ca2d 15:23:20 Step 4/24 : WORKDIR /device-sdk-go 15:23:20 ---> Running in 6271f3ae8825 15:23:21 Removing intermediate container 6271f3ae8825 15:23:21 ---> 570d696271f0 15:23:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:23:21 ---> Running in ff8e59e27e15 15:23:21 Removing intermediate container ff8e59e27e15 15:23:21 ---> b761eae4d613 15:23:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:23:21 ---> Running in bb120d46845a 15:23:23 Removing intermediate container bb120d46845a 15:23:23 ---> c4124adb9600 15:23:23 Step 7/24 : RUN apk add --update --no-cache make git 15:23:23 ---> Running in e7bc609e6da5 15:23:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:23:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:23:25 OK: 166 MiB in 39 packages 15:23:26 Removing intermediate container e7bc609e6da5 15:23:26 ---> 36051b56ea29 15:23:26 Step 8/24 : COPY . . 15:23:27 ---> 1dc7305084b4 15:23:27 Step 9/24 : RUN ${MAKE} 15:23:27 ---> Running in 9f96a0b079e3 15:23:28 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 15:23:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:23:41 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 8.6% of statements 15:23:41 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.073s coverage: 21.7% of statements 15:23:41 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 15:23:41 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.455s coverage: 37.0% of statements 15:23:41 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 15:23:41 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.692s coverage: 65.4% of statements 15:23:41 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 15:23:41 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 15:23:41 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 15:23:41 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.288s coverage: 52.6% of statements 15:23:41 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.633s coverage: 68.9% of statements 15:23:41 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 15:23:41 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 15:23:41 GO111MODULE=on go vet ./... 15:23:43 Removing intermediate container 9f96a0b079e3 15:23:43 ---> c5ed40b64332 15:23:43 Step 10/24 : FROM scratch 15:23:43 ---> 15:23:43 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:23:43 ---> Running in 96b6ee50213b 15:23:43 Removing intermediate container 96b6ee50213b 15:23:43 ---> 63bf4d19f3a9 15:23:43 Step 12/24 : ENV APP_PORT=49990 15:23:44 ---> Running in 8a3906e46dcf 15:23:44 Removing intermediate container 8a3906e46dcf 15:23:44 ---> 5202a5d0ddc2 15:23:44 Step 13/24 : EXPOSE $APP_PORT 15:23:44 ---> Running in 051fda9f0ebf 15:23:44 Removing intermediate container 051fda9f0ebf 15:23:44 ---> fba70da645cd 15:23:44 Step 14/24 : WORKDIR / 15:23:44 ---> Running in 7e01dcbcfd90 15:23:44 Removing intermediate container 7e01dcbcfd90 15:23:44 ---> 65ddec966f7d 15:23:44 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:23:45 ---> 74de9343c705 15:23:45 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:23:45 ---> bfc822ba3703 15:23:45 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:23:45 ---> b78e5c230a15 15:23:45 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:23:46 ---> a136a82b06f7 15:23:46 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:23:46 ---> 20a66cbe5686 15:23:46 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 15:23:46 ---> Running in 0a6925501cda 15:23:46 Removing intermediate container 0a6925501cda 15:23:46 ---> 83dd1e43a5ad 15:23:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:23:46 ---> Running in fd23acd0f605 15:23:47 Removing intermediate container fd23acd0f605 15:23:47 ---> 0a99f94b367c 15:23:47 Step 22/24 : LABEL arch=amd64 15:23:47 ---> Running in 39ceb36620ec 15:23:47 Removing intermediate container 39ceb36620ec 15:23:47 ---> ab5b91692b69 15:23:47 Step 23/24 : LABEL git_sha=925ab5b9da818d45ca80fc76b648a7cd48e44316 15:23:47 ---> Running in a3314c56accd 15:23:47 Removing intermediate container a3314c56accd 15:23:47 ---> 495b27e1a00e 15:23:47 Step 24/24 : LABEL version=0.0.0 15:23:47 ---> Running in 791ed8c183c5 15:23:47 Removing intermediate container 791ed8c183c5 15:23:47 ---> a006a3cc04a1 15:23:47 [Warning] One or more build-args [ARCH] were not consumed 15:23:47 Successfully built a006a3cc04a1 15:23:47 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] } 15:24:08 gofmt -l . 15:24:08 [ "`gofmt -l .`" = "" ] 15:24:08 ./bin/test-attribution-txt.sh 15:24:08 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:24:08 Warning: overwriting stash ‘coverage-report’ 15:24:09 Stashed 1 file(s) [Pipeline] } 15:24:09 $ docker stop --time=1 95e6746b1e3718ab1164e33ad6a85e6bae9a0706a178c5d95a0640393bfd1192 15:24:11 $ docker rm -f 95e6746b1e3718ab1164e33ad6a85e6bae9a0706a178c5d95a0640393bfd1192 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:24:14 + ls -al . 15:24:14 total 228 15:24:14 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 15:24 . 15:24:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 15:21 .. 15:24:14 -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 15:21 .dockerignore 15:24:14 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 15:21 .git 15:24:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 15:21 .github 15:24:14 -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 15:21 .gitignore 15:24:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 15:21 .semver 15:24:14 -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 15:21 Dockerfile.build 15:24:14 -rw-rw-r-- 1 jenkins jenkins 785 Sep 15 15:21 Jenkinsfile 15:24:14 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 15:21 LICENSE 15:24:14 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 15 15:21 Makefile 15:24:14 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 15:21 README.md 15:24:14 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 15:21 RELEASE-NOTES.txt 15:24:14 -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 15:17 VERSION 15:24:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 15:21 bin 15:24:14 -rw-r--r-- 1 jenkins jenkins 111785 Sep 15 15:23 coverage.out 15:24:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 15:21 example 15:24:14 -rw-r--r-- 1 jenkins jenkins 446 Sep 15 15:24 go.mod 15:24:14 -rw-r--r-- 1 jenkins jenkins 12179 Sep 15 15:24 go.sum 15:24:14 drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 15:21 internal 15:24:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 15:21 openapi 15:24:14 drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 15:21 pkg 15:24:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 15:21 snap 15:24:14 -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 15:21 version.go [Pipeline] isUnix [Pipeline] sh 15:24:15 + 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=925ab5b9da818d45ca80fc76b648a7cd48e44316 --label arch=arm64 --label version=0.0.0 . 15:24:15 Sending build context to Docker daemon 3.27MB 15:24:15 Step 1/24 : ARG BASE=golang:1.15-alpine 15:24:15 Step 2/24 : FROM ${BASE} AS builder 15:24:15 ---> ad89331926f0 15:24:15 Step 3/24 : ARG MAKE='make build' 15:24:15 ---> Running in b0a097a092d1 15:24:16 Removing intermediate container b0a097a092d1 15:24:16 ---> dbb484ce8527 15:24:16 Step 4/24 : WORKDIR /device-sdk-go 15:24:16 ---> Running in 23ad6391752d 15:24:16 Removing intermediate container 23ad6391752d 15:24:16 ---> aa9e48853445 15:24:16 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:24:17 ---> Running in 3549fc9a1516 15:24:17 Removing intermediate container 3549fc9a1516 15:24:17 ---> 2bcae27cf273 15:24:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:24:17 ---> Running in d0bc9edee06f 15:24:19 Removing intermediate container d0bc9edee06f 15:24:19 ---> 9ccc863988cc 15:24:19 Step 7/24 : RUN apk add --update --no-cache make git 15:24:19 ---> Running in a9be6386bd33 15:24:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:24:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:24:22 OK: 142 MiB in 39 packages 15:24:23 Removing intermediate container a9be6386bd33 15:24:23 ---> 65a29074f813 15:24:23 Step 8/24 : COPY . . 15:24:25 ---> 43cac415c2a2 15:24:25 Step 9/24 : RUN ${MAKE} 15:24:25 ---> Running in f7e4a4bec3d5 15:24:26 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 15:24:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:24:50 Removing intermediate container f7e4a4bec3d5 15:24:50 ---> ac4020fa3de7 15:24:50 Step 10/24 : FROM scratch 15:24:50 ---> 15:24:50 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:24:51 ---> Running in 5cd03d0aab61 15:24:51 Removing intermediate container 5cd03d0aab61 15:24:51 ---> 472fe42c430b 15:24:51 Step 12/24 : ENV APP_PORT=49990 15:24:51 ---> Running in c7708e0de05b 15:24:52 Removing intermediate container c7708e0de05b 15:24:52 ---> b2a35c76f664 15:24:52 Step 13/24 : EXPOSE $APP_PORT 15:24:52 ---> Running in da991596c711 15:24:52 Removing intermediate container da991596c711 15:24:52 ---> 298a5b838b35 15:24:52 Step 14/24 : WORKDIR / 15:24:52 ---> Running in f9e14d1693b8 15:24:53 Removing intermediate container f9e14d1693b8 15:24:53 ---> ad41fe03758f 15:24:53 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:24:54 ---> 55bd7f960ef0 15:24:54 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:24:55 ---> ebab833444f5 15:24:55 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:24:55 ---> d7cae2a89630 15:24:55 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:24:56 ---> 86d167ca92f0 15:24:56 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:24:57 ---> ab9531a3a0fe 15:24:57 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 15:24:57 ---> Running in 0a91e68597d9 15:24:57 Removing intermediate container 0a91e68597d9 15:24:57 ---> 4b80c67e3288 15:24:57 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:24:57 ---> Running in 6e303556d829 15:24:58 Removing intermediate container 6e303556d829 15:24:58 ---> 265928dc23ed 15:24:58 Step 22/24 : LABEL arch=arm64 15:24:58 ---> Running in 1827c9ab9872 15:24:58 Removing intermediate container 1827c9ab9872 15:24:58 ---> d40f5178fcbd 15:24:58 Step 23/24 : LABEL git_sha=925ab5b9da818d45ca80fc76b648a7cd48e44316 15:24:58 ---> Running in 00b5cbd36244 15:24:59 Removing intermediate container 00b5cbd36244 15:24:59 ---> ebc71626c019 15:24:59 Step 24/24 : LABEL version=0.0.0 15:24:59 ---> Running in 6084fa4b56b5 15:24:59 Removing intermediate container 6084fa4b56b5 15:24:59 ---> 8fb459471aa3 15:24:59 [Warning] One or more build-args [ARCH] were not consumed 15:24:59 Successfully built 8fb459471aa3 15:24:59 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 15:25:02 provisioning config files... 15:25:02 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config5579249917161975649tmp [Pipeline] { [Pipeline] sh 15:25:02 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config5579249917161975649tmp 15:25:02 + curl -s https://codecov.io/bash [Pipeline] } 15:25:03 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 15:25:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:25:06 ---> package-listing.sh 15:25:06 ++ facter osfamily 15:25:06 ++ tr '[:upper:]' '[:lower:]' 15:25:06 + OS_FAMILY=redhat 15:25:06 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 15:25:06 + START_PACKAGES=/tmp/packages_start.txt 15:25:06 + END_PACKAGES=/tmp/packages_end.txt 15:25:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:25:06 + PACKAGES=/tmp/packages_start.txt 15:25:06 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 15:25:06 + PACKAGES=/tmp/packages_end.txt 15:25:06 + case "${OS_FAMILY}" in 15:25:06 + rpm -qa 15:25:06 + sort 15:25:11 + '[' -f /tmp/packages_start.txt ']' 15:25:11 + '[' -f /tmp/packages_end.txt ']' 15:25:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:25:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' 15:25:11 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ 15:25:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [Pipeline] isUnix [Pipeline] sh 15:25:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:25:12 15:25:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:25:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:25:12 alpine: Pulling from edgex-lftools-log-publisher 15:25:12 df20fa9351a1: Pulling fs layer 15:25:12 36b3adc4ff6f: Pulling fs layer 15:25:12 8ad3a11d3b57: Pulling fs layer 15:25:12 46f8f816bc3b: Pulling fs layer 15:25:12 0dadc02b9964: Pulling fs layer 15:25:12 ce6a7cf60c04: Pulling fs layer 15:25:12 7a184a31f384: Pulling fs layer 15:25:12 0879bd2ef858: Pulling fs layer 15:25:12 0dadc02b9964: Waiting 15:25:12 ce6a7cf60c04: Waiting 15:25:12 7a184a31f384: Waiting 15:25:12 0879bd2ef858: Waiting 15:25:12 46f8f816bc3b: Waiting 15:25:12 36b3adc4ff6f: Verifying Checksum 15:25:12 36b3adc4ff6f: Download complete 15:25:12 46f8f816bc3b: Verifying Checksum 15:25:12 46f8f816bc3b: Download complete 15:25:12 df20fa9351a1: Verifying Checksum 15:25:12 df20fa9351a1: Download complete 15:25:12 ce6a7cf60c04: Verifying Checksum 15:25:12 ce6a7cf60c04: Download complete 15:25:12 0dadc02b9964: Verifying Checksum 15:25:12 0dadc02b9964: Download complete 15:25:12 8ad3a11d3b57: Verifying Checksum 15:25:12 8ad3a11d3b57: Download complete 15:25:12 df20fa9351a1: Pull complete 15:25:12 36b3adc4ff6f: Pull complete 15:25:13 0879bd2ef858: Verifying Checksum 15:25:13 0879bd2ef858: Download complete 15:25:13 7a184a31f384: Verifying Checksum 15:25:13 7a184a31f384: Download complete 15:25:13 8ad3a11d3b57: Pull complete 15:25:13 46f8f816bc3b: Pull complete 15:25:13 0dadc02b9964: Pull complete 15:25:14 ce6a7cf60c04: Pull complete 15:25:14 7a184a31f384: Pull complete 15:25:16 0879bd2ef858: Pull complete 15:25:16 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 15:25:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:25:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:25:16 prd-centos7-docker-4c-2g-43314 does not seem to be running inside a container 15:25:17 $ 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-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:25:21 $ docker top a837e08e7ea4f6105f9c0fdec8fab2891b294b7734fc6002791ba21004184998 -eo pid,comm [Pipeline] { [Pipeline] sh 15:25:22 + mkdir -p /var/log/sa [Pipeline] sh 15:25:22 + ls /var/log/sa-host 15:25:22 + sadf -c /var/log/sa-host/sa05 15:25:22 file_magic: OK 15:25:22 HZ: Using current value: 100 15:25:22 file_header: OK 15:25:22 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 15:25:22 Statistics: 15:25:22 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:25:22 File successfully converted to sysstat format version 12.2.1 15:25:22 + sadf -c /var/log/sa-host/sa15 15:25:22 file_magic: OK 15:25:22 HZ: Using current value: 100 15:25:22 file_header: OK 15:25:22 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 15:25:22 Statistics: 15:25:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:25:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:25:22 provisioning config files... 15:25:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config1152992702197760675tmp [Pipeline] { [Pipeline] echo 15:25:22 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:25:23 ---> create-netrc.sh [Pipeline] echo 15:25:23 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:25:23 ---> logs-deploy.sh 15:25:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/18 15:25:23 INFO: archiving workspace using pattern(s): 15:25:24 Archives upload complete. 15:25:24 INFO: archiving logs to Nexus 15:25:25 ---> uname -a: 15:25:25 Linux a837e08e7ea4 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 15:25:25 15:25:25 15:25:25 ---> lscpu: 15:25:25 Architecture: x86_64 15:25:25 CPU op-mode(s): 32-bit, 64-bit 15:25:25 Byte Order: Little Endian 15:25:25 Address sizes: 40 bits physical, 48 bits virtual 15:25:25 CPU(s): 4 15:25:25 On-line CPU(s) list: 0-3 15:25:25 Thread(s) per core: 1 15:25:25 Core(s) per socket: 1 15:25:25 Socket(s): 4 15:25:25 NUMA node(s): 1 15:25:25 Vendor ID: GenuineIntel 15:25:25 CPU family: 6 15:25:25 Model: 44 15:25:25 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 15:25:25 Stepping: 1 15:25:25 CPU MHz: 2933.438 15:25:25 BogoMIPS: 5866.87 15:25:25 Virtualization: VT-x 15:25:25 Hypervisor vendor: KVM 15:25:25 Virtualization type: full 15:25:25 L1d cache: 128 KiB 15:25:25 L1i cache: 128 KiB 15:25:25 L2 cache: 16 MiB 15:25:25 L3 cache: 64 MiB 15:25:25 NUMA node0 CPU(s): 0-3 15:25:25 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 15:25:25 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 15:25:25 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 15:25:25 Vulnerability Meltdown: Mitigation; PTI 15:25:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:25:25 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 15:25:25 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 15:25:25 Vulnerability Tsx async abort: Not affected 15:25:25 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 15:25:25 15:25:25 15:25:25 ---> nproc: 15:25:25 4 15:25:25 15:25:25 15:25:25 ---> df -h: 15:25:25 Filesystem Size Used Available Use% Mounted on 15:25:25 overlay 50.0G 7.0G 43.0G 14% / 15:25:25 tmpfs 64.0M 0 64.0M 0% /dev 15:25:25 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 15:25:25 shm 64.0M 0 64.0M 0% /dev/shm 15:25:25 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 15:25:25 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 15:25:25 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 15:25:25 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 15:25:25 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-553 15:25:25 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp 15:25:25 15:25:25 15:25:25 ---> free -m: 15:25:25 total used free shared buff/cache available 15:25:25 Mem: 1837 647 130 0 1059 1083 15:25:25 Swap: 1023 1 1022 15:25:25 15:25:25 15:25:25 ---> ip addr: 15:25:25 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 15:25:25 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 15:25:25 inet 127.0.0.1/8 scope host lo 15:25:25 valid_lft forever preferred_lft forever 15:25:25 6: eth0@if7: mtu 1458 qdisc noqueue state UP 15:25:25 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 15:25:25 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 15:25:25 valid_lft forever preferred_lft forever 15:25:25 15:25:25 15:25:25 ---> sar -b -r -n DEV: 15:25:25 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) 15:25:25 15:25:25 15:16:02 LINUX RESTART (4 CPU) 15:25:25 15:25:25 15:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 15:25:25 15:18:01 28.67 10.14 18.53 0.00 4369.63 2142.42 0.00 15:25:25 15:19:01 1.52 0.00 1.52 0.00 0.00 23.68 0.00 15:25:25 15:20:01 0.30 0.00 0.30 0.00 0.00 4.20 0.00 15:25:25 15:21:01 0.23 0.00 0.23 0.00 0.00 3.61 0.00 15:25:25 15:22:01 0.32 0.00 0.32 0.00 0.00 5.35 0.00 15:25:25 15:23:01 0.42 0.02 0.40 0.00 0.13 6.54 0.00 15:25:25 15:24:01 0.37 0.00 0.37 0.00 0.00 6.48 0.00 15:25:25 15:25:01 0.28 0.00 0.28 0.00 0.00 4.41 0.00 15:25:25 Average: 4.01 1.27 2.74 0.00 546.33 274.64 0.00 15:25:25 15:25:25 15:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:25:25 15:18:01 170260 0 559780 29.75 2620 1148896 1118872 38.19 402568 1149420 16 15:25:25 15:19:01 172100 0 557932 29.65 2620 1148904 1088896 37.16 403572 1146856 8 15:25:25 15:20:01 171676 0 558348 29.67 2620 1148912 1088896 37.16 403552 1146856 12 15:25:25 15:21:01 169620 0 560404 29.78 2620 1148912 1089052 37.17 406432 1146340 12 15:25:25 15:22:01 165788 0 564228 29.99 2620 1148920 1089076 37.17 417036 1139804 16 15:25:25 15:23:01 166148 0 563860 29.97 2620 1148928 1088896 37.16 416540 1139760 12 15:25:25 15:24:01 165732 0 564272 29.99 2620 1148932 1089068 37.17 416152 1140748 8 15:25:25 15:25:01 166048 0 563952 29.97 2620 1148936 1088960 37.16 415476 1140744 8 15:25:25 Average: 168422 0 561597 29.85 2620 1148918 1092714 37.29 410166 1143816 12 15:25:25 15:25:25 15:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:25:25 15:18:01 eth0 81.57 67.10 353.36 47.26 0.00 0.00 0.00 0.00 15:25:25 15:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 15:18:01 docker0 6.58 4.76 0.98 18.22 0.00 0.00 0.00 0.00 15:25:25 15:19:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 15:25:25 15:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 15:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 15:20:01 eth0 1.18 0.08 0.09 0.01 0.00 0.00 0.00 0.00 15:25:25 15:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 15:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 15:21:01 eth0 1.63 0.65 0.64 0.40 0.00 0.00 0.00 0.00 15:25:25 15:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 15:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 15:22:01 eth0 1.23 0.68 0.78 0.46 0.00 0.00 0.00 0.00 15:25:25 15:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 15:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 15:23:01 eth0 0.37 0.02 0.03 0.00 0.00 0.00 0.00 0.00 15:25:25 15:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 15:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 15:24:01 eth0 0.72 0.30 0.29 0.20 0.00 0.00 0.00 0.00 15:25:25 15:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 15:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 15:25:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 15:25:25 15:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 15:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 Average: eth0 10.86 8.63 44.41 6.04 0.00 0.00 0.00 0.00 15:25:25 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:25:25 Average: docker0 0.82 0.60 0.12 2.28 0.00 0.00 0.00 0.00 15:25:25 15:25:25 15:25:25 ---> sar -P ALL: 15:25:25 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) 15:25:25 15:25:25 15:16:02 LINUX RESTART (4 CPU) 15:25:25 15:25:25 15:17:01 CPU %user %nice %system %iowait %steal %idle 15:25:25 15:18:01 all 2.47 0.00 1.54 0.64 0.02 95.33 15:25:25 15:18:01 0 2.41 0.00 1.64 1.19 0.02 94.75 15:25:25 15:18:01 1 2.66 0.00 1.72 0.75 0.02 94.86 15:25:25 15:18:01 2 2.31 0.00 1.46 0.54 0.02 95.68 15:25:25 15:18:01 3 2.50 0.00 1.33 0.10 0.02 96.06 15:25:25 15:19:01 all 0.15 0.00 0.03 0.00 0.00 99.82 15:25:25 15:19:01 0 0.02 0.00 0.03 0.00 0.00 99.95 15:25:25 15:19:01 1 0.02 0.00 0.02 0.00 0.00 99.97 15:25:25 15:19:01 2 0.03 0.00 0.05 0.00 0.00 99.92 15:25:25 15:19:01 3 0.52 0.00 0.03 0.00 0.00 99.45 15:25:25 15:20:01 all 0.16 0.00 0.02 0.00 0.00 99.82 15:25:25 15:20:01 0 0.05 0.00 0.02 0.00 0.00 99.93 15:25:25 15:20:01 1 0.03 0.00 0.02 0.00 0.00 99.95 15:25:25 15:20:01 2 0.05 0.00 0.03 0.00 0.00 99.92 15:25:25 15:20:01 3 0.52 0.00 0.02 0.00 0.00 99.47 15:25:25 15:21:01 all 0.13 0.00 0.03 0.00 0.00 99.83 15:25:25 15:21:01 0 0.03 0.00 0.02 0.00 0.00 99.95 15:25:25 15:21:01 1 0.05 0.00 0.02 0.00 0.00 99.93 15:25:25 15:21:01 2 0.03 0.00 0.05 0.00 0.00 99.92 15:25:25 15:21:01 3 0.42 0.00 0.05 0.00 0.00 99.53 15:25:25 15:22:01 all 0.06 0.00 0.06 0.00 0.00 99.88 15:25:25 15:22:01 0 0.03 0.00 0.13 0.00 0.00 99.83 15:25:25 15:22:01 1 0.03 0.00 0.02 0.00 0.00 99.95 15:25:25 15:22:01 2 0.05 0.00 0.05 0.00 0.00 99.90 15:25:25 15:22:01 3 0.12 0.00 0.05 0.00 0.00 99.83 15:25:25 15:23:01 all 0.03 0.00 0.05 0.00 0.00 99.92 15:25:25 15:23:01 0 0.03 0.00 0.10 0.00 0.00 99.87 15:25:25 15:23:01 1 0.02 0.00 0.03 0.00 0.00 99.95 15:25:25 15:23:01 2 0.05 0.00 0.05 0.00 0.02 99.88 15:25:25 15:23:01 3 0.02 0.00 0.02 0.00 0.00 99.97 15:25:25 15:24:01 all 0.11 0.00 0.03 0.00 0.00 99.86 15:25:25 15:24:01 0 0.10 0.00 0.03 0.00 0.00 99.87 15:25:25 15:24:01 1 0.05 0.00 0.02 0.00 0.00 99.93 15:25:25 15:24:01 2 0.05 0.00 0.02 0.00 0.00 99.93 15:25:25 15:24:01 3 0.23 0.00 0.07 0.00 0.00 99.70 15:25:25 15:25:01 all 0.15 0.00 0.02 0.00 0.00 99.83 15:25:25 15:25:01 0 0.03 0.00 0.02 0.00 0.00 99.95 15:25:25 15:25:01 1 0.00 0.00 0.02 0.00 0.00 99.98 15:25:25 15:25:01 2 0.03 0.00 0.02 0.00 0.00 99.95 15:25:25 15:25:01 3 0.52 0.00 0.03 0.00 0.00 99.45 15:25:25 Average: all 0.41 0.00 0.22 0.08 0.00 99.29 15:25:25 Average: 0 0.34 0.00 0.25 0.15 0.00 99.26 15:25:25 Average: 1 0.36 0.00 0.23 0.09 0.00 99.32 15:25:25 Average: 2 0.33 0.00 0.21 0.07 0.00 99.39 15:25:25 Average: 3 0.60 0.00 0.20 0.01 0.00 99.18 15:25:25 15:25:25 15:25:25