Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b2c68ec273215b3839fa79913927ed9c700821ef+34586eebf1e8dc7164860841d693f6652cfed50d (a1b10a94248ade175ce59147df6ac87123f1863b) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-43282 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-582 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 34586eebf1e8dc7164860841d693f6652cfed50d into PR head commit b2c68ec273215b3839fa79913927ed9c700821ef Merge succeeded, producing b2c68ec273215b3839fa79913927ed9c700821ef Checking out Revision b2c68ec273215b3839fa79913927ed9c700821ef (PR-582) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:27:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:27:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 1d2c81029f0f7629bd95555b5541e500469cf9cd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:27:35 ========================================================= 10:27:35 EdgeX Global Pipelines Version Info 10:27:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:27:38 ------------------- 10:27:38 stable info: 10:27:38 ------------------- 10:27:38 Commited By: Emilio Reyes emilio.reyes@intel.com 10:27:38 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 10:27:38 Message: update stable to v1.0.119 10:27:38 ------------------- 10:27:38 experimental info: 10:27:38 ------------------- 10:27:38 Commited By: **** collab-it+edgex@linuxfoundation.org 10:27:38 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 10:27:38 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 10:27:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:27:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:27:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:27:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:27:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:27:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:27:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:27:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:27:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:27:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:27:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:27:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:27:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:27:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:27:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:27:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:27:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:27:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:27:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:27:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:27:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:27:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:27:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo 10:27:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo 10:27:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo 10:27:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2c68ec273215b3839fa79913927ed9c700821ef [Pipeline] echo 10:27:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2c68ec [Pipeline] echo 10:27:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:27:42 + git log --format=format:%s -1 b2c68ec273215b3839fa79913927ed9c700821ef [Pipeline] echo 10:27:42 GIT_COMMIT: b2c68ec273215b3839fa79913927ed9c700821ef, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 [Pipeline] echo 10:27:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:27:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:27:43 10:27:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:27:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:27:44 latest: Pulling from edgex-devops/git-semver 10:27:44 31603596830f: Pulling fs layer 10:27:44 2a8b12db71e7: Pulling fs layer 10:27:44 6ca5941a6612: Pulling fs layer 10:27:44 ecc8261a40a4: Pulling fs layer 10:27:44 ecc8261a40a4: Waiting 10:27:44 2a8b12db71e7: Verifying Checksum 10:27:44 2a8b12db71e7: Download complete 10:27:44 31603596830f: Verifying Checksum 10:27:44 31603596830f: Download complete 10:27:44 ecc8261a40a4: Verifying Checksum 10:27:44 ecc8261a40a4: Download complete 10:27:44 6ca5941a6612: Verifying Checksum 10:27:44 6ca5941a6612: Download complete 10:27:45 31603596830f: Pull complete 10:27:45 2a8b12db71e7: Pull complete 10:27:45 6ca5941a6612: Pull complete 10:27:46 ecc8261a40a4: Pull complete 10:27:46 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:27:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:27:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:27:46 prd-centos7-docker-4c-2g-43282 does not seem to be running inside a container 10:27:46 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:27:48 $ docker top 522819a27a61aa1f870f366a168377748ac660eb5fd2f68b365b1b8680463e46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:27:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:27:49 [ssh-agent] Looking for ssh-agent implementation... 10:27:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:49 $ docker exec 522819a27a61aa1f870f366a168377748ac660eb5fd2f68b365b1b8680463e46 ssh-agent 10:27:49 SSH_AUTH_SOCK=/tmp/ssh-jVz7qjd5HSJx/agent.12 10:27:49 SSH_AGENT_PID=18 10:27:49 Running ssh-add (command line suppressed) 10:27:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5725575595396273377.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5725575595396273377.key) 10:27:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:50 + git describe --exact-match --tags HEAD 10:27:50 fatal: No names found, cannot describe anything. [Pipeline] } 10:27:50 $ docker exec --env ******** --env ******** 522819a27a61aa1f870f366a168377748ac660eb5fd2f68b365b1b8680463e46 ssh-agent -k 10:27:50 unset SSH_AUTH_SOCK; 10:27:50 unset SSH_AGENT_PID; 10:27:50 echo Agent pid 18 killed; 10:27:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 10:27:50 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 10:27:50 This usually means this commit has not been tagged. [Pipeline] sshagent 10:27:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:27:50 [ssh-agent] Looking for ssh-agent implementation... 10:27:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:50 $ docker exec 522819a27a61aa1f870f366a168377748ac660eb5fd2f68b365b1b8680463e46 ssh-agent 10:27:50 SSH_AUTH_SOCK=/tmp/ssh-OpZkilTvgnlj/agent.48 10:27:50 SSH_AGENT_PID=54 10:27:50 Running ssh-add (command line suppressed) 10:27:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_4281171971036416735.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_4281171971036416735.key) 10:27:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:51 + git semver init 10:27:51 # -> Open(): unable to determine branch for HEAD 10:27:51 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git 10:27:51 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 10:27:51 # $SEMVER_REMOTE_NAME = origin 10:27:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:27:51 # $SEMVER_USER_NAME = edgex-jenkins 10:27:51 # $SEMVER_BRANCH = PR-582 10:27:51 # $SEMVER_TEMP = /tmp/semver-793050413 10:27:51 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:27:52 # '/tmp/semver-793050413' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' 10:27:52 # -> Force: false 10:27:52 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } 10:27:52 $ docker exec --env ******** --env ******** 522819a27a61aa1f870f366a168377748ac660eb5fd2f68b365b1b8680463e46 ssh-agent -k 10:27:52 unset SSH_AUTH_SOCK; 10:27:52 unset SSH_AGENT_PID; 10:27:52 echo Agent pid 54 killed; 10:27:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:27:53 + git semver [Pipeline] } 10:27:53 $ docker stop --time=1 522819a27a61aa1f870f366a168377748ac660eb5fd2f68b365b1b8680463e46 10:27:54 $ docker rm -f 522819a27a61aa1f870f366a168377748ac660eb5fd2f68b365b1b8680463e46 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 10:27:56 Stashed 34 file(s) [Pipeline] echo 10:27:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 10:27:56 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 10:28:11 Still waiting to schedule task 10:28:11 ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-43285’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-43265’ doesn’t have label ‘centos7-docker-4c-2g’ 10:28:11 Still waiting to schedule task 10:28:11 ‘prd-ubuntu18.04-docker-arm64-4c-16g-43265’ is offline 10:29:45 Running on prd-centos7-docker-4c-2g-43288 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 10:29:45 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 10:29:48 using credential edgex-jenkins-ssh 10:29:48 Cloning the remote Git repository 10:29:48 Cloning with configured refspecs honoured and without tags 10:29:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:29:49 > git init /w/workspace/device-sdk-go/5 # timeout=10 10:29:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:29:49 > git --version # timeout=10 10:29:49 > git --version # 'git version 2.16.5' 10:29:49 using GIT_SSH to set credentials SSH Credentials for GitHub 10:29:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:29:50 Fetching without tags 10:29:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:29:50 > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 10:29:50 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:29:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:29:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:29:50 using GIT_SSH to set credentials SSH Credentials for GitHub 10:29:50 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:29:51 Merging remotes/origin/master commit 34586eebf1e8dc7164860841d693f6652cfed50d into PR head commit b2c68ec273215b3839fa79913927ed9c700821ef 10:29:51 Merge succeeded, producing b2c68ec273215b3839fa79913927ed9c700821ef 10:29:51 Checking out Revision b2c68ec273215b3839fa79913927ed9c700821ef (PR-582) 10:29:51 > git config core.sparsecheckout # timeout=10 10:29:51 > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 10:29:51 > git remote # timeout=10 10:29:51 > git config --get remote.origin.url # timeout=10 10:29:51 using GIT_SSH to set credentials SSH Credentials for GitHub 10:29:51 > git merge 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 10:29:51 > git rev-parse HEAD^{commit} # timeout=10 10:29:51 > git config core.sparsecheckout # timeout=10 10:29:51 > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 10:29:55 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:29:56 ========================================================= 10:29:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:29:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:29:56 + 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 . 10:29:57 Sending build context to Docker daemon 3.151MB 10:29:57 Step 1/8 : ARG BASE=golang:1.15-alpine 10:29:57 Step 2/8 : FROM ${BASE} 10:29:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:29:57 df20fa9351a1: Pulling fs layer 10:29:57 ed8968b2872e: Pulling fs layer 10:29:57 a92cc7c5fd73: Pulling fs layer 10:29:57 e871e8e8d7a9: Pulling fs layer 10:29:57 e73272ec9a57: Pulling fs layer 10:29:57 1e910a182e73: Pulling fs layer 10:29:57 4e634b169226: Pulling fs layer 10:29:57 e871e8e8d7a9: Waiting 10:29:57 e73272ec9a57: Waiting 10:29:57 1e910a182e73: Waiting 10:29:57 4e634b169226: Waiting 10:29:57 a92cc7c5fd73: Verifying Checksum 10:29:57 a92cc7c5fd73: Download complete 10:29:57 ed8968b2872e: Verifying Checksum 10:29:57 ed8968b2872e: Download complete 10:29:58 e73272ec9a57: Verifying Checksum 10:29:58 e73272ec9a57: Download complete 10:29:58 1e910a182e73: Verifying Checksum 10:29:58 1e910a182e73: Download complete 10:29:58 df20fa9351a1: Verifying Checksum 10:29:58 df20fa9351a1: Pull complete 10:29:58 ed8968b2872e: Pull complete 10:29:58 a92cc7c5fd73: Pull complete 10:30:01 4e634b169226: Verifying Checksum 10:30:01 4e634b169226: Download complete 10:30:02 e871e8e8d7a9: Verifying Checksum 10:30:02 e871e8e8d7a9: Download complete 10:30:08 e871e8e8d7a9: Pull complete 10:30:08 e73272ec9a57: Pull complete 10:30:08 1e910a182e73: Pull complete 10:30:13 4e634b169226: Pull complete 10:30:13 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 10:30:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:30:13 ---> f7629b54cfaa 10:30:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:30:14 ---> Running in 53c3307b0737 10:30:14 Removing intermediate container 53c3307b0737 10:30:14 ---> 1950c8c3f28b 10:30:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:30:14 ---> Running in be26cb2cd86b 10:30:15 Removing intermediate container be26cb2cd86b 10:30:15 ---> 1e65eca76a16 10:30:15 Step 5/8 : RUN apk add --no-cache make git 10:30:15 ---> Running in 66660641bc5f 10:30:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:30:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:30:22 OK: 166 MiB in 39 packages 10:30:23 Removing intermediate container 66660641bc5f 10:30:23 ---> dd562491164e 10:30:23 Step 6/8 : WORKDIR /device-sdk-go 10:30:23 ---> Running in 30ad30fa1ca4 10:30:23 Removing intermediate container 30ad30fa1ca4 10:30:23 ---> fac62a30d67c 10:30:23 Step 7/8 : COPY . . 10:30:24 ---> 2ad68023baa7 10:30:24 Step 8/8 : RUN go mod download 10:30:24 ---> Running in c9ed3ed64213 10:30:36 Removing intermediate container c9ed3ed64213 10:30:36 ---> 2d4c529c00de 10:30:36 Successfully built 2d4c529c00de 10:30:36 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 10:30:37 + docker inspect -f . ci-base-image-x86_64 10:30:37 . [Pipeline] withDockerContainer 10:30:37 prd-centos7-docker-4c-2g-43288 does not seem to be running inside a container 10:30:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:30:38 $ docker top 9eb71ca90265db197070e5322f67b5553d45f6e2d67e424bd80f19cd25c9e8b7 -eo pid,comm [Pipeline] { [Pipeline] sh 10:30:39 + go version 10:30:39 go version go1.15.2 linux/amd64 [Pipeline] sh 10:30:39 + make test 10:30:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:30:46 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:31:01 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:31:01 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:31:01 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:31:01 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.031s coverage: 21.0% of statements 10:31:01 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.461s coverage: 95.7% of statements 10:31:33 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.030s coverage: 8.6% of statements 10:31:33 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.041s coverage: 21.7% of statements 10:31:33 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:31:33 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.194s coverage: 37.0% of statements 10:31:33 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:31:33 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.283s coverage: 65.4% of statements 10:31:33 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:31:33 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:31:33 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:31:33 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.150s coverage: 52.6% of statements 10:31:33 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.396s coverage: 68.9% of statements 10:31:33 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 10:31:33 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:31:33 GO111MODULE=on go vet ./... 10:31:40 gofmt -l . 10:31:40 [ "`gofmt -l .`" = "" ] 10:31:40 ./bin/test-attribution-txt.sh 10:31:40 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:31:40 Stashed 1 file(s) [Pipeline] } 10:31:40 $ docker stop --time=1 9eb71ca90265db197070e5322f67b5553d45f6e2d67e424bd80f19cd25c9e8b7 10:31:42 $ docker rm -f 9eb71ca90265db197070e5322f67b5553d45f6e2d67e424bd80f19cd25c9e8b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:31:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:31:44 + ls -al . 10:31:44 total 188 10:31:44 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 10:31 . 10:31:44 drwxrwxr-x. 4 jenkins jenkins 28 Sep 15 10:29 .. 10:31:44 drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 10:29 bin 10:31:44 -rw-r--r--. 1 jenkins jenkins 111785 Sep 15 10:31 coverage.out 10:31:44 -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 10:29 Dockerfile.build 10:31:44 -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 10:29 .dockerignore 10:31:44 drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 10:29 example 10:31:44 drwxrwxr-x. 8 jenkins jenkins 179 Sep 15 10:29 .git 10:31:44 drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 10:29 .github 10:31:44 -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 10:29 .gitignore 10:31:44 -rw-r--r--. 1 jenkins jenkins 446 Sep 15 10:31 go.mod 10:31:44 -rw-r--r--. 1 jenkins jenkins 12258 Sep 15 10:31 go.sum 10:31:44 drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 10:29 internal 10:31:44 -rw-rw-r--. 1 jenkins jenkins 785 Sep 15 10:29 Jenkinsfile 10:31:44 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 10:29 LICENSE 10:31:44 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 15 10:29 Makefile 10:31:44 drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 10:29 openapi 10:31:44 drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 10:29 pkg 10:31:44 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 10:29 README.md 10:31:44 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 10:29 RELEASE-NOTES.txt 10:31:44 drwxrwxr-x. 3 jenkins jenkins 58 Sep 15 10:29 .semver 10:31:44 drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 10:29 snap 10:31:44 -rw-rw-r--. 1 jenkins jenkins 5 Sep 15 10:27 VERSION 10:31:44 -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 10:29 version.go [Pipeline] isUnix [Pipeline] sh 10:31:45 + 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=b2c68ec273215b3839fa79913927ed9c700821ef --label arch=amd64 --label version=0.0.0 . 10:31:45 Sending build context to Docker daemon 3.265MB 10:31:45 Step 1/24 : ARG BASE=golang:1.15-alpine 10:31:45 Step 2/24 : FROM ${BASE} AS builder 10:31:45 ---> 2d4c529c00de 10:31:45 Step 3/24 : ARG MAKE='make build' 10:31:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43292 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 10:31:45 Running in /w/workspace/device-sdk-go/5 [Pipeline] { 10:31:45 ---> Running in 23b7da1866eb [Pipeline] checkout 10:31:45 Removing intermediate container 23b7da1866eb 10:31:45 ---> fcca7a34c43e 10:31:45 Step 4/24 : WORKDIR /device-sdk-go 10:31:45 ---> Running in 1d6f949a2613 10:31:45 Removing intermediate container 1d6f949a2613 10:31:45 ---> dd71c32503a6 10:31:45 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:31:46 ---> Running in 2cbb9df371e9 10:31:46 Removing intermediate container 2cbb9df371e9 10:31:46 ---> c97c0be0283d 10:31:46 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:31:46 ---> Running in 82ad8aa3a772 10:31:47 Removing intermediate container 82ad8aa3a772 10:31:47 ---> 709d0ae05d7c 10:31:47 Step 7/24 : RUN apk add --update --no-cache make git 10:31:47 ---> Running in 8b7ba66f7512 10:31:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:31:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:31:49 OK: 166 MiB in 39 packages 10:31:50 Removing intermediate container 8b7ba66f7512 10:31:50 ---> 60c0c536e2e9 10:31:50 Step 8/24 : COPY . . 10:31:51 ---> dd36da64cd89 10:31:51 Step 9/24 : RUN ${MAKE} 10:31:51 ---> Running in c11d3e1d1aae 10:31:51 using credential edgex-jenkins-ssh 10:31:51 Cloning the remote Git repository 10:31:51 Cloning with configured refspecs honoured and without tags 10:31:52 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 10:31:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:31:52 > git init /w/workspace/device-sdk-go/5 # timeout=10 10:31:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:31:52 > git --version # timeout=10 10:31:52 > git --version # 'git version 2.17.1' 10:31:52 using GIT_SSH to set credentials SSH Credentials for GitHub 10:31:52 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:31:53 Fetching without tags 10:31:54 Merging remotes/origin/master commit 34586eebf1e8dc7164860841d693f6652cfed50d into PR head commit b2c68ec273215b3839fa79913927ed9c700821ef 10:31:54 Merge succeeded, producing b2c68ec273215b3839fa79913927ed9c700821ef 10:31:54 Checking out Revision b2c68ec273215b3839fa79913927ed9c700821ef (PR-582) 10:31:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:31:53 > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 10:31:53 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:31:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:31:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:31:53 using GIT_SSH to set credentials SSH Credentials for GitHub 10:31:53 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:31:54 > git config core.sparsecheckout # timeout=10 10:31:54 > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 10:31:54 > git remote # timeout=10 10:31:54 > git config --get remote.origin.url # timeout=10 10:31:54 using GIT_SSH to set credentials SSH Credentials for GitHub 10:31:54 > git merge 34586eebf1e8dc7164860841d693f6652cfed50d # timeout=10 10:31:54 > git rev-parse HEAD^{commit} # timeout=10 10:31:54 > git config core.sparsecheckout # timeout=10 10:31:54 > git checkout -f b2c68ec273215b3839fa79913927ed9c700821ef # timeout=10 10:31:58 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 10:32:00 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] echo 10:32:00 ========================================================= 10:32:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:32:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:32:00 Removing intermediate container c11d3e1d1aae 10:32:00 ---> 760b17caf328 10:32:00 Step 10/24 : FROM scratch 10:32:00 ---> 10:32:00 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:32:00 ---> Running in 7cbf89e7fa5c 10:32:01 Removing intermediate container 7cbf89e7fa5c 10:32:01 ---> c7503604f276 10:32:01 Step 12/24 : ENV APP_PORT=49990 10:32:01 ---> Running in 771c780844c2 10:32:01 Removing intermediate container 771c780844c2 10:32:01 ---> 137de490a5f5 10:32:01 Step 13/24 : EXPOSE $APP_PORT 10:32:01 ---> Running in 98ae196552bc 10:32:01 Removing intermediate container 98ae196552bc 10:32:01 ---> bce6aa085dc9 10:32:01 Step 14/24 : WORKDIR / 10:32:01 + 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 . 10:32:01 ---> Running in 7eb307c65b60 10:32:01 Removing intermediate container 7eb307c65b60 10:32:01 ---> 3d8e004a8b40 10:32:01 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:32:02 ---> 89680ad17cdc 10:32:02 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:32:02 ---> 89749c46b1c3 10:32:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:32:02 Sending build context to Docker daemon 3.151MB 10:32:02 Step 1/8 : ARG BASE=golang:1.15-alpine 10:32:02 Step 2/8 : FROM ${BASE} 10:32:02 ---> e0c709f56864 10:32:02 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:32:02 ---> ea04e9577747 10:32:02 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:32:03 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:32:03 b538f80385f9: Pulling fs layer 10:32:03 74f711af9a0d: Pulling fs layer 10:32:03 99f96fe45779: Pulling fs layer 10:32:03 8529a6b9a6be: Pulling fs layer 10:32:03 45590311c82a: Pulling fs layer 10:32:03 69ca0ff8b7b3: Pulling fs layer 10:32:03 209524e5b208: Pulling fs layer 10:32:03 8529a6b9a6be: Waiting 10:32:03 45590311c82a: Waiting 10:32:03 69ca0ff8b7b3: Waiting 10:32:03 209524e5b208: Waiting 10:32:03 99f96fe45779: Download complete 10:32:03 74f711af9a0d: Download complete 10:32:03 45590311c82a: Download complete 10:32:03 69ca0ff8b7b3: Download complete 10:32:03 ---> 0d3e6515e7ac 10:32:03 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:32:03 ---> Running in e2d5063917fb 10:32:03 Removing intermediate container e2d5063917fb 10:32:03 ---> 68dddee1da2a 10:32:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:32:03 b538f80385f9: Verifying Checksum 10:32:03 b538f80385f9: Download complete 10:32:04 ---> Running in c396480713e1 10:32:04 Removing intermediate container c396480713e1 10:32:04 ---> 1fee10989d7c 10:32:04 Step 22/24 : LABEL arch=amd64 10:32:04 ---> Running in 66b33213941c 10:32:04 Removing intermediate container 66b33213941c 10:32:04 ---> fdc6ff0a0d70 10:32:04 Step 23/24 : LABEL git_sha=b2c68ec273215b3839fa79913927ed9c700821ef 10:32:04 ---> Running in f6080124f330 10:32:04 b538f80385f9: Pull complete 10:32:04 Removing intermediate container f6080124f330 10:32:04 ---> 4ec0d40df2f4 10:32:04 Step 24/24 : LABEL version=0.0.0 10:32:04 ---> Running in 1fb1408ebb97 10:32:04 Removing intermediate container 1fb1408ebb97 10:32:04 ---> a3f7832ceab5 10:32:04 [Warning] One or more build-args [ARCH] were not consumed 10:32:04 Successfully built a3f7832ceab5 10:32:04 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 10:32:05 74f711af9a0d: Pull complete 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 10:32:05 99f96fe45779: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:32:07 209524e5b208: Verifying Checksum 10:32:07 209524e5b208: Download complete 10:32:09 8529a6b9a6be: Verifying Checksum 10:32:09 8529a6b9a6be: Download complete 10:32:20 8529a6b9a6be: Pull complete 10:32:20 45590311c82a: Pull complete 10:32:20 69ca0ff8b7b3: Pull complete 10:32:22 209524e5b208: Pull complete 10:32:22 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 10:32:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:32:22 ---> 5bddaf1c2fca 10:32:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:32:26 ---> Running in 40b462ddbd5a 10:32:26 Removing intermediate container 40b462ddbd5a 10:32:26 ---> cfb038cb48af 10:32:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:32:26 ---> Running in 86f651bf006b 10:32:29 Removing intermediate container 86f651bf006b 10:32:29 ---> 173bb500b852 10:32:29 Step 5/8 : RUN apk add --no-cache make git 10:32:29 ---> Running in 10271d38dab7 10:32:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:32:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:32:33 OK: 142 MiB in 39 packages 10:32:34 Removing intermediate container 10271d38dab7 10:32:34 ---> 1821daa77be5 10:32:34 Step 6/8 : WORKDIR /device-sdk-go 10:32:34 ---> Running in a0863c77ba09 10:32:35 Removing intermediate container a0863c77ba09 10:32:35 ---> 91972536c016 10:32:35 Step 7/8 : COPY . . 10:32:36 ---> 2c4c2e527179 10:32:36 Step 8/8 : RUN go mod download 10:32:36 ---> Running in bf17e8bdc533 10:32:51 Removing intermediate container bf17e8bdc533 10:32:51 ---> 93e6a7adc826 10:32:51 Successfully built 93e6a7adc826 10:32:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:32:52 + docker inspect -f . ci-base-image-arm64 10:32:52 . [Pipeline] withDockerContainer 10:32:52 prd-ubuntu18.04-docker-arm64-4c-16g-43292 does not seem to be running inside a container 10:32:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:32:54 $ docker top ea5e1e7e3a59ba8df96e65458acc234c132295203dec5528ee4b02ee67099aa5 -eo pid,comm [Pipeline] { [Pipeline] sh 10:32:56 + go version 10:32:56 go version go1.15.2 linux/arm64 [Pipeline] sh 10:32:57 + make test 10:32:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:33:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:34:06 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:34:06 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:34:06 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:34:06 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.057s coverage: 21.0% of statements 10:34:06 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.496s coverage: 95.7% of statements 10:34:39 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.070s coverage: 8.6% of statements 10:34:39 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.080s coverage: 21.7% of statements 10:34:39 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:34:39 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.490s coverage: 37.0% of statements 10:34:39 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:34:39 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.750s coverage: 65.4% of statements 10:34:39 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:34:39 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:34:39 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:34:39 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.270s coverage: 52.6% of statements 10:34:39 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.144s coverage: 68.9% of statements 10:34:39 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 10:34:39 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:34:39 GO111MODULE=on go vet ./... 10:35:11 gofmt -l . 10:35:11 [ "`gofmt -l .`" = "" ] 10:35:11 ./bin/test-attribution-txt.sh 10:35:11 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:35:11 Warning: overwriting stash ‘coverage-report’ 10:35:12 Stashed 1 file(s) [Pipeline] } 10:35:12 $ docker stop --time=1 ea5e1e7e3a59ba8df96e65458acc234c132295203dec5528ee4b02ee67099aa5 10:35:14 $ docker rm -f ea5e1e7e3a59ba8df96e65458acc234c132295203dec5528ee4b02ee67099aa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:35:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:35:16 + ls -al . 10:35:16 total 228 10:35:16 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 10:35 . 10:35:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 10:31 .. 10:35:16 -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 10:31 .dockerignore 10:35:16 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 10:31 .git 10:35:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 10:31 .github 10:35:16 -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 10:31 .gitignore 10:35:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 10:32 .semver 10:35:16 -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 10:31 Dockerfile.build 10:35:16 -rw-rw-r-- 1 jenkins jenkins 785 Sep 15 10:31 Jenkinsfile 10:35:16 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 10:31 LICENSE 10:35:16 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 15 10:31 Makefile 10:35:16 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 10:31 README.md 10:35:16 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 10:31 RELEASE-NOTES.txt 10:35:16 -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 10:27 VERSION 10:35:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 10:31 bin 10:35:16 -rw-r--r-- 1 jenkins jenkins 111785 Sep 15 10:34 coverage.out 10:35:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 10:31 example 10:35:16 -rw-r--r-- 1 jenkins jenkins 446 Sep 15 10:35 go.mod 10:35:16 -rw-r--r-- 1 jenkins jenkins 12258 Sep 15 10:35 go.sum 10:35:16 drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 10:31 internal 10:35:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 10:31 openapi 10:35:16 drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 10:31 pkg 10:35:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 10:31 snap 10:35:16 -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 10:31 version.go [Pipeline] isUnix [Pipeline] sh 10:35:16 + 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=b2c68ec273215b3839fa79913927ed9c700821ef --label arch=arm64 --label version=0.0.0 . 10:35:17 Sending build context to Docker daemon 3.265MB 10:35:17 Step 1/24 : ARG BASE=golang:1.15-alpine 10:35:17 Step 2/24 : FROM ${BASE} AS builder 10:35:17 ---> 93e6a7adc826 10:35:17 Step 3/24 : ARG MAKE='make build' 10:35:17 ---> Running in b657b0202ec0 10:35:17 Removing intermediate container b657b0202ec0 10:35:17 ---> b77860e46a3b 10:35:17 Step 4/24 : WORKDIR /device-sdk-go 10:35:18 ---> Running in fc8dd017b84d 10:35:18 Removing intermediate container fc8dd017b84d 10:35:18 ---> a7d30c687c5d 10:35:18 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:35:18 ---> Running in ef27c4e91fba 10:35:19 Removing intermediate container ef27c4e91fba 10:35:19 ---> 170d4b01ecca 10:35:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:35:19 ---> Running in 5ed39eb0bc89 10:35:21 Removing intermediate container 5ed39eb0bc89 10:35:21 ---> 627af95c725d 10:35:21 Step 7/24 : RUN apk add --update --no-cache make git 10:35:21 ---> Running in c60753b99583 10:35:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:35:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:35:26 OK: 142 MiB in 39 packages 10:35:27 Removing intermediate container c60753b99583 10:35:27 ---> a250ae3be8b6 10:35:27 Step 8/24 : COPY . . 10:35:29 ---> 6aaab24490d1 10:35:29 Step 9/24 : RUN ${MAKE} 10:35:29 ---> Running in d39dd6e02106 10:35:30 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 10:35:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:35:54 Removing intermediate container d39dd6e02106 10:35:54 ---> b8da78687570 10:35:54 Step 10/24 : FROM scratch 10:35:54 ---> 10:35:54 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:35:54 ---> Running in 6b6c2c8480e1 10:35:55 Removing intermediate container 6b6c2c8480e1 10:35:55 ---> 62e3bd78273a 10:35:55 Step 12/24 : ENV APP_PORT=49990 10:35:55 ---> Running in c76baafeeed7 10:35:55 Removing intermediate container c76baafeeed7 10:35:55 ---> 00be9dffbaf1 10:35:55 Step 13/24 : EXPOSE $APP_PORT 10:35:55 ---> Running in f64e06fa6a62 10:35:56 Removing intermediate container f64e06fa6a62 10:35:56 ---> d38298683a3c 10:35:56 Step 14/24 : WORKDIR / 10:35:56 ---> Running in 0bbdeaa662bc 10:35:56 Removing intermediate container 0bbdeaa662bc 10:35:56 ---> 0d7418fe95e0 10:35:56 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:35:57 ---> 721e3e2083b6 10:35:57 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:35:58 ---> 27d0f22ae8ea 10:35:58 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:35:59 ---> 2e5392fbc123 10:35:59 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:35:59 ---> c458f881dee3 10:35:59 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:36:00 ---> e078761e9046 10:36:00 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:36:00 ---> Running in b81cf0729866 10:36:01 Removing intermediate container b81cf0729866 10:36:01 ---> feeaa2bb30bc 10:36:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:36:01 ---> Running in 0d1a55636693 10:36:01 Removing intermediate container 0d1a55636693 10:36:01 ---> cab9c592408a 10:36:01 Step 22/24 : LABEL arch=arm64 10:36:01 ---> Running in 7dd685e3fb83 10:36:02 Removing intermediate container 7dd685e3fb83 10:36:02 ---> 388570dbb518 10:36:02 Step 23/24 : LABEL git_sha=b2c68ec273215b3839fa79913927ed9c700821ef 10:36:02 ---> Running in d40d803e0cda 10:36:03 Removing intermediate container d40d803e0cda 10:36:03 ---> b1f0d23745df 10:36:03 Step 24/24 : LABEL version=0.0.0 10:36:03 ---> Running in 00122baf690e 10:36:03 Removing intermediate container 00122baf690e 10:36:03 ---> e559bab66eae 10:36:03 [Warning] One or more build-args [ARCH] were not consumed 10:36:03 Successfully built e559bab66eae 10:36:03 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 10:36:05 provisioning config files... 10:36:05 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config646241694088763113tmp [Pipeline] { [Pipeline] sh 10:36:06 + curl -s https://codecov.io/bash 10:36:06 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config646241694088763113tmp [Pipeline] } 10:36:06 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 10:36:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:36:09 ---> package-listing.sh 10:36:09 ++ facter osfamily 10:36:09 ++ tr '[:upper:]' '[:lower:]' 10:36:09 + OS_FAMILY=redhat 10:36:09 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 10:36:09 + START_PACKAGES=/tmp/packages_start.txt 10:36:09 + END_PACKAGES=/tmp/packages_end.txt 10:36:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:36:09 + PACKAGES=/tmp/packages_start.txt 10:36:09 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 10:36:09 + PACKAGES=/tmp/packages_end.txt 10:36:09 + case "${OS_FAMILY}" in 10:36:09 + rpm -qa 10:36:09 + sort 10:36:13 + '[' -f /tmp/packages_start.txt ']' 10:36:13 + '[' -f /tmp/packages_end.txt ']' 10:36:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:36:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 10:36:13 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ 10:36:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] isUnix [Pipeline] sh 10:36:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:36:14 10:36:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:36:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:36:14 alpine: Pulling from edgex-lftools-log-publisher 10:36:14 df20fa9351a1: Pulling fs layer 10:36:14 36b3adc4ff6f: Pulling fs layer 10:36:14 8ad3a11d3b57: Pulling fs layer 10:36:14 46f8f816bc3b: Pulling fs layer 10:36:14 0dadc02b9964: Pulling fs layer 10:36:14 ce6a7cf60c04: Pulling fs layer 10:36:14 7a184a31f384: Pulling fs layer 10:36:14 0879bd2ef858: Pulling fs layer 10:36:14 0dadc02b9964: Waiting 10:36:14 ce6a7cf60c04: Waiting 10:36:14 7a184a31f384: Waiting 10:36:14 0879bd2ef858: Waiting 10:36:14 46f8f816bc3b: Waiting 10:36:14 36b3adc4ff6f: Verifying Checksum 10:36:14 36b3adc4ff6f: Download complete 10:36:14 46f8f816bc3b: Verifying Checksum 10:36:14 46f8f816bc3b: Download complete 10:36:14 df20fa9351a1: Verifying Checksum 10:36:14 df20fa9351a1: Download complete 10:36:14 ce6a7cf60c04: Verifying Checksum 10:36:14 ce6a7cf60c04: Download complete 10:36:14 7a184a31f384: Verifying Checksum 10:36:14 7a184a31f384: Download complete 10:36:14 0dadc02b9964: Verifying Checksum 10:36:14 0dadc02b9964: Download complete 10:36:14 8ad3a11d3b57: Verifying Checksum 10:36:14 8ad3a11d3b57: Download complete 10:36:14 df20fa9351a1: Pull complete 10:36:14 36b3adc4ff6f: Pull complete 10:36:15 0879bd2ef858: Verifying Checksum 10:36:15 0879bd2ef858: Download complete 10:36:15 8ad3a11d3b57: Pull complete 10:36:15 46f8f816bc3b: Pull complete 10:36:16 0dadc02b9964: Pull complete 10:36:16 ce6a7cf60c04: Pull complete 10:36:16 7a184a31f384: Pull complete 10:36:19 0879bd2ef858: Pull complete 10:36:19 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 10:36:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:36:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:36:19 prd-centos7-docker-4c-2g-43282 does not seem to be running inside a container 10:36:19 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:36:24 $ docker top c362934744a8e1a6fdc55026d2906f4b3489f432a2efe285a5141734fc9be241 -eo pid,comm [Pipeline] { [Pipeline] sh 10:36:24 + mkdir -p /var/log/sa [Pipeline] sh 10:36:25 + ls /var/log/sa-host 10:36:25 + sadf -c /var/log/sa-host/sa05 10:36:25 file_magic: OK 10:36:25 HZ: Using current value: 100 10:36:25 file_header: OK 10:36:25 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 10:36:25 Statistics: 10:36:25 Hnuu...uuuununununu...Hnuu...uuuununununu... 10:36:25 File successfully converted to sysstat format version 12.2.1 10:36:25 + sadf -c /var/log/sa-host/sa15 10:36:25 file_magic: OK 10:36:25 HZ: Using current value: 100 10:36:25 file_header: OK 10:36:25 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 10:36:25 Statistics: 10:36:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:36:25 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:36:25 provisioning config files... 10:36:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config7728299923269977214tmp [Pipeline] { [Pipeline] echo 10:36:25 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:36:25 ---> create-netrc.sh [Pipeline] echo 10:36:25 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:36:25 ---> logs-deploy.sh 10:36:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/5 10:36:25 INFO: archiving workspace using pattern(s): 10:36:27 Archives upload complete. 10:36:27 INFO: archiving logs to Nexus 10:36:28 ---> uname -a: 10:36:28 Linux c362934744a8 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 10:36:28 10:36:28 10:36:28 ---> lscpu: 10:36:28 Architecture: x86_64 10:36:28 CPU op-mode(s): 32-bit, 64-bit 10:36:28 Byte Order: Little Endian 10:36:28 Address sizes: 40 bits physical, 48 bits virtual 10:36:28 CPU(s): 4 10:36:28 On-line CPU(s) list: 0-3 10:36:28 Thread(s) per core: 1 10:36:28 Core(s) per socket: 1 10:36:28 Socket(s): 4 10:36:28 NUMA node(s): 1 10:36:28 Vendor ID: GenuineIntel 10:36:28 CPU family: 6 10:36:28 Model: 44 10:36:28 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 10:36:28 Stepping: 1 10:36:28 CPU MHz: 2933.436 10:36:28 BogoMIPS: 5866.87 10:36:28 Virtualization: VT-x 10:36:28 Hypervisor vendor: KVM 10:36:28 Virtualization type: full 10:36:28 L1d cache: 128 KiB 10:36:28 L1i cache: 128 KiB 10:36:28 L2 cache: 16 MiB 10:36:28 L3 cache: 64 MiB 10:36:28 NUMA node0 CPU(s): 0-3 10:36:28 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 10:36:28 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 10:36:28 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 10:36:28 Vulnerability Meltdown: Mitigation; PTI 10:36:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:36:28 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 10:36:28 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 10:36:28 Vulnerability Tsx async abort: Not affected 10:36:28 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 10:36:28 10:36:28 10:36:28 ---> nproc: 10:36:28 4 10:36:28 10:36:28 10:36:28 ---> df -h: 10:36:28 Filesystem Size Used Available Use% Mounted on 10:36:28 overlay 50.0G 7.0G 43.0G 14% / 10:36:28 tmpfs 64.0M 0 64.0M 0% /dev 10:36:28 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 10:36:28 shm 64.0M 0 64.0M 0% /dev/shm 10:36:28 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 10:36:28 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 10:36:28 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 10:36:28 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 10:36:28 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-582 10:36:28 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp 10:36:28 10:36:28 10:36:28 ---> free -m: 10:36:28 total used free shared buff/cache available 10:36:28 Mem: 1837 626 130 0 1080 1104 10:36:28 Swap: 1023 0 1023 10:36:28 10:36:28 10:36:28 ---> ip addr: 10:36:28 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 10:36:28 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 10:36:28 inet 127.0.0.1/8 scope host lo 10:36:28 valid_lft forever preferred_lft forever 10:36:28 6: eth0@if7: mtu 1458 qdisc noqueue state UP 10:36:28 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 10:36:28 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 10:36:28 valid_lft forever preferred_lft forever 10:36:28 10:36:28 10:36:28 ---> sar -b -r -n DEV: 10:36:28 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) 10:36:28 10:36:28 10:26:36 LINUX RESTART (4 CPU) 10:36:28 10:36:28 10:27:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:36:28 10:28:01 193.00 106.22 86.78 0.00 12610.71 40236.95 0.00 10:36:28 10:29:01 2.51 0.00 2.51 0.00 0.00 92.04 0.00 10:36:28 10:30:01 0.35 0.00 0.35 0.00 0.00 5.17 0.00 10:36:28 10:31:01 0.30 0.00 0.30 0.00 0.00 3.61 0.00 10:36:28 10:32:01 0.20 0.00 0.20 0.00 0.00 2.83 0.00 10:36:28 10:33:01 0.27 0.00 0.27 0.00 0.00 3.51 0.00 10:36:28 10:34:01 0.33 0.02 0.32 0.00 0.13 3.75 0.00 10:36:28 10:35:01 0.33 0.00 0.33 0.00 0.00 3.41 0.00 10:36:28 10:36:01 0.30 0.00 0.30 0.00 0.00 3.75 0.00 10:36:28 Average: 21.98 11.82 10.16 0.00 1402.76 4488.85 0.00 10:36:28 10:36:28 10:27:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:36:28 10:28:01 173984 0 541516 28.78 2620 1163436 1128408 38.51 412516 1134080 120 10:36:28 10:29:01 180260 0 535336 28.45 2620 1163340 1083520 36.98 410292 1131260 20 10:36:28 10:30:01 178656 0 536928 28.54 2620 1163352 1069424 36.50 412560 1130888 8 10:36:28 10:31:01 175832 0 539752 28.69 2620 1163352 1069316 36.49 415716 1130200 16 10:36:28 10:32:01 176116 0 539464 28.67 2620 1163356 1069380 36.50 416844 1129192 8 10:36:28 10:33:01 175840 0 539732 28.69 2620 1163364 1069456 36.50 417052 1129172 8 10:36:28 10:34:01 174748 0 540820 28.74 2620 1163368 1069592 36.50 435388 1112400 12 10:36:28 10:35:01 175476 0 540084 28.70 2620 1163376 1069388 36.50 427764 1118928 12 10:36:28 10:36:01 175584 0 539972 28.70 2620 1163380 1069388 36.50 427520 1118928 8 10:36:28 Average: 176277 0 539289 28.66 2620 1163369 1077541 36.77 419517 1126116 24 10:36:28 10:36:28 10:27:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:36:28 10:28:01 eth0 467.17 292.33 1078.87 114.08 0.00 0.00 0.00 0.00 10:36:28 10:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:28:01 docker0 9.50 7.62 1.14 18.26 0.00 0.00 0.00 0.00 10:36:28 10:29:01 eth0 1.37 0.30 0.34 0.17 0.00 0.00 0.00 0.00 10:36:28 10:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:30:01 eth0 3.18 0.93 1.02 0.60 0.00 0.00 0.00 0.00 10:36:28 10:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:31:01 eth0 2.81 0.32 0.45 0.23 0.00 0.00 0.00 0.00 10:36:28 10:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:32:01 eth0 1.32 0.38 0.34 0.20 0.00 0.00 0.00 0.00 10:36:28 10:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:33:01 eth0 2.86 0.47 0.74 0.27 0.00 0.00 0.00 0.00 10:36:28 10:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:34:01 eth0 1.13 0.68 0.55 0.40 0.00 0.00 0.00 0.00 10:36:28 10:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:35:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 10:36:28 10:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:36:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 10:36:28 10:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 10:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 Average: eth0 53.40 32.88 120.39 12.90 0.00 0.00 0.00 0.00 10:36:28 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:36:28 Average: docker0 1.06 0.85 0.13 2.03 0.00 0.00 0.00 0.00 10:36:28 10:36:28 10:36:28 ---> sar -P ALL: 10:36:28 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) 10:36:28 10:36:28 10:26:36 LINUX RESTART (4 CPU) 10:36:28 10:36:28 10:27:01 CPU %user %nice %system %iowait %steal %idle 10:36:28 10:28:01 all 19.86 0.00 11.37 6.64 4.23 57.90 10:36:28 10:28:01 0 20.01 0.00 10.39 6.94 4.50 58.17 10:36:28 10:28:01 1 19.41 0.00 14.82 7.22 3.81 54.74 10:36:28 10:28:01 2 19.95 0.00 9.99 5.64 4.65 59.76 10:36:28 10:28:01 3 20.09 0.00 10.29 6.76 3.96 58.91 10:36:28 10:29:01 all 0.17 0.00 0.05 0.00 0.02 99.76 10:36:28 10:29:01 0 0.03 0.00 0.05 0.00 0.02 99.90 10:36:28 10:29:01 1 0.08 0.00 0.05 0.00 0.03 99.83 10:36:28 10:29:01 2 0.03 0.00 0.05 0.00 0.02 99.90 10:36:28 10:29:01 3 0.52 0.00 0.05 0.00 0.02 99.42 10:36:28 10:30:01 all 0.17 0.00 0.05 0.00 0.10 99.67 10:36:28 10:30:01 0 0.03 0.00 0.02 0.00 0.07 99.88 10:36:28 10:30:01 1 0.07 0.00 0.03 0.00 0.07 99.83 10:36:28 10:30:01 2 0.15 0.00 0.10 0.00 0.22 99.53 10:36:28 10:30:01 3 0.45 0.00 0.07 0.00 0.07 99.42 10:36:28 10:31:01 all 0.13 0.00 0.03 0.00 0.05 99.79 10:36:28 10:31:01 0 0.02 0.00 0.03 0.00 0.02 99.93 10:36:28 10:31:01 1 0.05 0.00 0.03 0.00 0.08 99.83 10:36:28 10:31:01 2 0.05 0.00 0.05 0.00 0.08 99.82 10:36:28 10:31:01 3 0.40 0.00 0.02 0.00 0.02 99.57 10:36:28 10:32:01 all 0.16 0.00 0.05 0.00 0.02 99.77 10:36:28 10:32:01 0 0.05 0.00 0.05 0.00 0.00 99.90 10:36:28 10:32:01 1 0.07 0.00 0.05 0.00 0.03 99.85 10:36:28 10:32:01 2 0.12 0.00 0.03 0.00 0.02 99.83 10:36:28 10:32:01 3 0.42 0.00 0.07 0.00 0.02 99.50 10:36:28 10:33:01 all 0.16 0.00 0.04 0.00 0.01 99.79 10:36:28 10:33:01 0 0.05 0.00 0.02 0.00 0.00 99.93 10:36:28 10:33:01 1 0.03 0.00 0.03 0.00 0.02 99.92 10:36:28 10:33:01 2 0.53 0.00 0.05 0.00 0.02 99.40 10:36:28 10:33:01 3 0.02 0.00 0.07 0.00 0.00 99.92 10:36:28 10:34:01 all 0.17 0.00 0.05 0.00 0.00 99.78 10:36:28 10:34:01 0 0.05 0.00 0.03 0.00 0.00 99.92 10:36:28 10:34:01 1 0.07 0.00 0.03 0.00 0.00 99.90 10:36:28 10:34:01 2 0.53 0.00 0.02 0.00 0.00 99.45 10:36:28 10:34:01 3 0.02 0.00 0.13 0.00 0.00 99.85 10:36:28 10:35:01 all 0.14 0.00 0.03 0.00 0.01 99.82 10:36:28 10:35:01 0 0.02 0.00 0.03 0.00 0.02 99.93 10:36:28 10:35:01 1 0.03 0.00 0.05 0.00 0.00 99.92 10:36:28 10:35:01 2 0.50 0.00 0.02 0.00 0.00 99.48 10:36:28 10:35:01 3 0.02 0.00 0.02 0.00 0.02 99.95 10:36:28 10:36:01 all 0.16 0.00 0.02 0.00 0.00 99.81 10:36:28 10:36:01 0 0.03 0.00 0.02 0.00 0.00 99.95 10:36:28 10:36:01 1 0.03 0.00 0.03 0.00 0.00 99.93 10:36:28 10:36:01 2 0.52 0.00 0.02 0.00 0.02 99.45 10:36:28 10:36:01 3 0.05 0.00 0.03 0.00 0.00 99.92 10:36:28 Average: all 2.31 0.00 1.28 0.73 0.49 95.19 10:36:28 Average: 0 2.22 0.00 1.17 0.76 0.51 95.34 10:36:28 Average: 1 2.17 0.00 1.66 0.79 0.44 94.94 10:36:28 Average: 2 2.47 0.00 1.14 0.62 0.55 95.23 10:36:28 Average: 3 2.39 0.00 1.17 0.73 0.45 95.26 10:36:28 10:36:28 10:36:28