Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 628559142d23fa9d6fe61ea3329529ff5e9788fb+acdd4826cae80a3b8a1f7d698808ff3080e1060b (e9db19b282abe82bd93794a5d6dbcf911fadbb9f) 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-43361 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [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 Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-586 # 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/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # 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/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb Merge succeeded, producing 008e04b076563efc6f8683aeda7071f1facd26eb Checking out Revision 008e04b076563efc6f8683aeda7071f1facd26eb (PR-586) > git config core.sparsecheckout # timeout=10 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # 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 acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 008e04b076563efc6f8683aeda7071f1facd26eb # timeout=10 Commit message: "Merge commit 'acdd4826cae80a3b8a1f7d698808ff3080e1060b' into HEAD" > git rev-list --no-walk 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:30 ========================================================= 18:42:30 EdgeX Global Pipelines Version Info 18:42:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:31 ------------------- 18:42:31 stable info: 18:42:31 ------------------- 18:42:31 Commited By: Emilio Reyes emilio.reyes@intel.com 18:42:31 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 18:42:31 Message: update stable to v1.0.119 18:42:32 ------------------- 18:42:32 experimental info: 18:42:32 ------------------- 18:42:32 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:32 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 18:42:32 Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:42:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:42:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:42:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:42:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:42:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:42:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:42:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:42:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:42:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:42:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo 18:42:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo 18:42:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo 18:42:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 008e04b076563efc6f8683aeda7071f1facd26eb [Pipeline] echo 18:42:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 008e04b [Pipeline] echo 18:42:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:36 + git log --format=format:%s -1 008e04b076563efc6f8683aeda7071f1facd26eb [Pipeline] echo 18:42:36 GIT_COMMIT: 008e04b076563efc6f8683aeda7071f1facd26eb, Commit Message: Merge commit 'acdd4826cae80a3b8a1f7d698808ff3080e1060b' into HEAD [Pipeline] echo 18:42:36 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:42:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:37 18:42:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:42:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:37 latest: Pulling from edgex-devops/git-semver 18:42:37 31603596830f: Pulling fs layer 18:42:37 2a8b12db71e7: Pulling fs layer 18:42:37 6ca5941a6612: Pulling fs layer 18:42:37 ecc8261a40a4: Pulling fs layer 18:42:37 ecc8261a40a4: Waiting 18:42:37 2a8b12db71e7: Verifying Checksum 18:42:37 2a8b12db71e7: Download complete 18:42:37 6ca5941a6612: Verifying Checksum 18:42:37 ecc8261a40a4: Verifying Checksum 18:42:37 ecc8261a40a4: Download complete 18:42:37 6ca5941a6612: Download complete 18:42:37 31603596830f: Verifying Checksum 18:42:37 31603596830f: Download complete 18:42:38 31603596830f: Pull complete 18:42:38 2a8b12db71e7: Pull complete 18:42:39 6ca5941a6612: Pull complete 18:42:39 ecc8261a40a4: Pull complete 18:42:39 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:42:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:42:40 prd-centos7-docker-4c-2g-43361 does not seem to be running inside a container 18:42:40 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-586 -v /w/workspace/dgexfoundry_device-sdk-go_PR-586:/w/workspace/dgexfoundry_device-sdk-go_PR-586:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:42:42 $ docker top 150a59193762f178be9d082ee28a23cca562091a2722deaf1652c7dbd4991528 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:42 [ssh-agent] Looking for ssh-agent implementation... 18:42:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:42 $ docker exec 150a59193762f178be9d082ee28a23cca562091a2722deaf1652c7dbd4991528 ssh-agent 18:42:42 SSH_AUTH_SOCK=/tmp/ssh-054KFImC8l4Q/agent.12 18:42:42 SSH_AGENT_PID=18 18:42:42 Running ssh-add (command line suppressed) 18:42:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_8029625300984935656.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_8029625300984935656.key) 18:42:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:43 + git describe --exact-match --tags HEAD 18:42:43 fatal: No names found, cannot describe anything. [Pipeline] } 18:42:43 $ docker exec --env ******** --env ******** 150a59193762f178be9d082ee28a23cca562091a2722deaf1652c7dbd4991528 ssh-agent -k 18:42:43 unset SSH_AUTH_SOCK; 18:42:43 unset SSH_AGENT_PID; 18:42:43 echo Agent pid 18 killed; 18:42:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:42:43 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:42:43 This usually means this commit has not been tagged. [Pipeline] sshagent 18:42:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:43 [ssh-agent] Looking for ssh-agent implementation... 18:42:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:44 $ docker exec 150a59193762f178be9d082ee28a23cca562091a2722deaf1652c7dbd4991528 ssh-agent 18:42:44 SSH_AUTH_SOCK=/tmp/ssh-1QtW5jgw4bwE/agent.47 18:42:44 SSH_AGENT_PID=53 18:42:44 Running ssh-add (command line suppressed) 18:42:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_6461531743692457244.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_6461531743692457244.key) 18:42:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:44 + git semver init 18:42:44 # -> Open(): unable to determine branch for HEAD 18:42:44 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.git 18:42:44 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-586 18:42:44 # $SEMVER_REMOTE_NAME = origin 18:42:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:42:44 # $SEMVER_USER_NAME = edgex-jenkins 18:42:44 # $SEMVER_BRANCH = PR-586 18:42:44 # $SEMVER_TEMP = /tmp/semver-707687014 18:42:44 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:42:45 # '/tmp/semver-707687014' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver' 18:42:45 # -> Force: false 18:42:45 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver [Pipeline] } 18:42:45 $ docker exec --env ******** --env ******** 150a59193762f178be9d082ee28a23cca562091a2722deaf1652c7dbd4991528 ssh-agent -k 18:42:45 unset SSH_AUTH_SOCK; 18:42:45 unset SSH_AGENT_PID; 18:42:45 echo Agent pid 53 killed; 18:42:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:46 + git semver [Pipeline] } 18:42:46 $ docker stop --time=1 150a59193762f178be9d082ee28a23cca562091a2722deaf1652c7dbd4991528 18:42:47 $ docker rm -f 150a59193762f178be9d082ee28a23cca562091a2722deaf1652c7dbd4991528 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:42:48 Stashed 36 file(s) [Pipeline] echo 18:42:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:42:48 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 18:43:03 Still waiting to schedule task 18:43:03 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:43:03 Still waiting to schedule task 18:43:03 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:44:06 Running on prd-centos7-docker-4c-2g-43367 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws 18:44:06 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 18:44:09 using credential edgex-jenkins-ssh 18:44:09 Cloning the remote Git repository 18:44:09 Cloning with configured refspecs honoured and without tags 18:44:10 Fetching without tags 18:44:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:09 > git init /w/workspace/device-sdk-go/6 # timeout=10 18:44:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:09 > git --version # timeout=10 18:44:09 > git --version # 'git version 2.16.5' 18:44:09 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:10 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 18:44:10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:10 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:10 Merging remotes/origin/master commit acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb 18:44:10 Merge succeeded, producing 7cfa3d6502927f16cd5c79dcbd77c147cebe71a3 18:44:10 Checking out Revision 7cfa3d6502927f16cd5c79dcbd77c147cebe71a3 (PR-586) 18:44:10 > git config core.sparsecheckout # timeout=10 18:44:10 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 18:44:10 > git remote # timeout=10 18:44:10 > git config --get remote.origin.url # timeout=10 18:44:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:10 > git merge acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 18:44:10 > git rev-parse HEAD^{commit} # timeout=10 18:44:10 > git config core.sparsecheckout # timeout=10 18:44:10 > git checkout -f 7cfa3d6502927f16cd5c79dcbd77c147cebe71a3 # timeout=10 18:44:14 Commit message: "Merge commit 'acdd4826cae80a3b8a1f7d698808ff3080e1060b' into HEAD" 18:44:14 > git rev-list --no-walk 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:44:15 ========================================================= 18:44:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:44:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:44:16 + 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 . 18:44:17 Sending build context to Docker daemon 3.168MB 18:44:17 Step 1/8 : ARG BASE=golang:1.15-alpine 18:44:17 Step 2/8 : FROM ${BASE} 18:44:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:44:17 df20fa9351a1: Pulling fs layer 18:44:17 ed8968b2872e: Pulling fs layer 18:44:17 a92cc7c5fd73: Pulling fs layer 18:44:17 e871e8e8d7a9: Pulling fs layer 18:44:17 e73272ec9a57: Pulling fs layer 18:44:17 1e910a182e73: Pulling fs layer 18:44:17 4e634b169226: Pulling fs layer 18:44:17 e73272ec9a57: Waiting 18:44:17 1e910a182e73: Waiting 18:44:17 e871e8e8d7a9: Waiting 18:44:17 4e634b169226: Waiting 18:44:17 a92cc7c5fd73: Verifying Checksum 18:44:17 a92cc7c5fd73: Download complete 18:44:17 ed8968b2872e: Download complete 18:44:17 e73272ec9a57: Verifying Checksum 18:44:17 e73272ec9a57: Download complete 18:44:17 1e910a182e73: Verifying Checksum 18:44:17 1e910a182e73: Download complete 18:44:17 df20fa9351a1: Verifying Checksum 18:44:17 df20fa9351a1: Download complete 18:44:17 df20fa9351a1: Pull complete 18:44:18 ed8968b2872e: Pull complete 18:44:18 a92cc7c5fd73: Pull complete 18:44:18 4e634b169226: Verifying Checksum 18:44:18 4e634b169226: Download complete 18:44:19 e871e8e8d7a9: Verifying Checksum 18:44:19 e871e8e8d7a9: Download complete 18:44:25 e871e8e8d7a9: Pull complete 18:44:25 e73272ec9a57: Pull complete 18:44:25 1e910a182e73: Pull complete 18:44:30 4e634b169226: Pull complete 18:44:30 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:44:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:44:30 ---> f7629b54cfaa 18:44:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:44:30 ---> Running in 110d9043fc2f 18:44:30 Removing intermediate container 110d9043fc2f 18:44:30 ---> 1fc058e502d1 18:44:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:44:30 ---> Running in d6919e01594a 18:44:31 Removing intermediate container d6919e01594a 18:44:31 ---> 0e1c7034dc55 18:44:31 Step 5/8 : RUN apk add --no-cache make git 18:44:31 ---> Running in 94b1df0e8649 18:44:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:44:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:44:33 OK: 166 MiB in 39 packages 18:44:33 Removing intermediate container 94b1df0e8649 18:44:33 ---> 67a0f7d2e916 18:44:33 Step 6/8 : WORKDIR /device-sdk-go 18:44:33 ---> Running in cb78a4a396a5 18:44:33 Removing intermediate container cb78a4a396a5 18:44:33 ---> 02bcf3672b74 18:44:33 Step 7/8 : COPY . . 18:44:35 ---> 146ebd6921c5 18:44:35 Step 8/8 : RUN go mod download 18:44:35 ---> Running in 9d29648ad8d8 18:44:47 Removing intermediate container 9d29648ad8d8 18:44:47 ---> 57e824204aac 18:44:47 Successfully built 57e824204aac 18:44: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 18:44:48 + docker inspect -f . ci-base-image-x86_64 18:44:48 . [Pipeline] withDockerContainer 18:44:48 prd-centos7-docker-4c-2g-43367 does not seem to be running inside a container 18:44:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 18:44:49 $ docker top 4d54d2b29ae3ba0dfcc838ba085081e6509ae1b2c921c8e4737353d12e970a45 -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:49 + go version 18:44:49 go version go1.15.2 linux/amd64 [Pipeline] sh 18:44:50 + make test 18:44:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:44:56 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:45:09 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:45:09 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:45:09 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:45:09 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.033s coverage: 21.0% of statements 18:45:10 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.408s coverage: 95.7% of statements 18:45:42 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.035s coverage: 8.6% of statements 18:45:42 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.030s coverage: 21.7% of statements 18:45:42 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:45:42 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.174s coverage: 37.0% of statements 18:45:42 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:45:42 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.283s coverage: 65.4% of statements 18:45:42 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:45:42 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:45:42 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:45:42 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.062s coverage: 52.6% of statements 18:45:42 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.211s coverage: 68.9% of statements 18:45:42 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:45:42 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:45:42 GO111MODULE=on go vet ./... 18:45:48 gofmt -l . 18:45:48 [ "`gofmt -l .`" = "" ] 18:45:48 ./bin/test-attribution-txt.sh 18:45:48 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:45:49 Stashed 1 file(s) [Pipeline] } 18:45:49 $ docker stop --time=1 4d54d2b29ae3ba0dfcc838ba085081e6509ae1b2c921c8e4737353d12e970a45 18:45:51 $ docker rm -f 4d54d2b29ae3ba0dfcc838ba085081e6509ae1b2c921c8e4737353d12e970a45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:45:54 + ls -al . 18:45:54 total 188 18:45:54 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 18:45 . 18:45:54 drwxrwxr-x. 4 jenkins jenkins 28 Sep 15 18:44 .. 18:45:54 drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 18:44 bin 18:45:54 -rw-r--r--. 1 jenkins jenkins 111785 Sep 15 18:45 coverage.out 18:45:54 -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 18:44 Dockerfile.build 18:45:54 -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 18:44 .dockerignore 18:45:54 drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 18:44 example 18:45:54 drwxrwxr-x. 8 jenkins jenkins 179 Sep 15 18:44 .git 18:45:54 drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 18:44 .github 18:45:54 -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 18:44 .gitignore 18:45:54 -rw-r--r--. 1 jenkins jenkins 446 Sep 15 18:45 go.mod 18:45:54 -rw-r--r--. 1 jenkins jenkins 12179 Sep 15 18:45 go.sum 18:45:54 drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 18:44 internal 18:45:54 -rw-rw-r--. 1 jenkins jenkins 785 Sep 15 18:44 Jenkinsfile 18:45:54 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 18:44 LICENSE 18:45:54 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 15 18:44 Makefile 18:45:54 drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 18:44 openapi 18:45:54 drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 18:44 pkg 18:45:54 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 18:44 README.md 18:45:54 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 18:44 RELEASE-NOTES.txt 18:45:54 drwxrwxr-x. 3 jenkins jenkins 58 Sep 15 18:44 .semver 18:45:54 drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 18:44 snap 18:45:54 -rw-rw-r--. 1 jenkins jenkins 5 Sep 15 18:42 VERSION 18:45:54 -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 18:44 version.go [Pipeline] isUnix [Pipeline] sh 18:45:54 + 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=008e04b076563efc6f8683aeda7071f1facd26eb --label arch=amd64 --label version=0.0.0 . 18:45:54 Sending build context to Docker daemon 3.282MB 18:45:54 Step 1/24 : ARG BASE=golang:1.15-alpine 18:45:54 Step 2/24 : FROM ${BASE} AS builder 18:45:54 ---> 57e824204aac 18:45:54 Step 3/24 : ARG MAKE='make build' 18:45:55 ---> Running in b73858c02011 18:45:55 Removing intermediate container b73858c02011 18:45:55 ---> 5f2d0b93dd26 18:45:55 Step 4/24 : WORKDIR /device-sdk-go 18:45:55 ---> Running in bd122e324142 18:45:55 Removing intermediate container bd122e324142 18:45:55 ---> 12437d9dd4c0 18:45:55 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:45:55 ---> Running in f32bf5f41618 18:45:55 Removing intermediate container f32bf5f41618 18:45:55 ---> 2ae0f1fd0a1d 18:45:55 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:45:55 ---> Running in 00f2b4b4917c 18:45:56 Removing intermediate container 00f2b4b4917c 18:45:56 ---> d4ccdac50ec4 18:45:56 Step 7/24 : RUN apk add --update --no-cache make git 18:45:56 ---> Running in 9ca45a2c166e 18:45:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:45:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:45:58 OK: 166 MiB in 39 packages 18:45:58 Removing intermediate container 9ca45a2c166e 18:45:58 ---> 0669784b86de 18:45:58 Step 8/24 : COPY . . 18:45:59 ---> 82a76f10ec19 18:45:59 Step 9/24 : RUN ${MAKE} 18:45:59 ---> Running in c96de9147fe4 18:46:00 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 18:46:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43370 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws 18:46:04 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 18:46:06 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:46:09 Removing intermediate container c96de9147fe4 18:46:09 ---> 2d6125ff6eeb 18:46:09 Step 10/24 : FROM scratch 18:46:09 ---> 18:46:09 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:46:09 ---> Running in ab484daf3b52 18:46:09 Removing intermediate container ab484daf3b52 18:46:09 ---> 1cdda54c3d35 18:46:09 Step 12/24 : ENV APP_PORT=49990 18:46:09 ---> Running in b8421717c9f6 18:46:09 Removing intermediate container b8421717c9f6 18:46:09 ---> fd780a50d27a 18:46:09 Step 13/24 : EXPOSE $APP_PORT 18:46:09 ---> Running in 192b04959f0e 18:46:09 Removing intermediate container 192b04959f0e 18:46:09 ---> bca819ab337e 18:46:09 Step 14/24 : WORKDIR / 18:46:09 ---> Running in e07ea835167b 18:46:10 using credential edgex-jenkins-ssh 18:46:10 Removing intermediate container e07ea835167b 18:46:10 ---> d91a586e5e8d 18:46:10 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:46:10 Cloning the remote Git repository 18:46:10 Cloning with configured refspecs honoured and without tags 18:46:10 ---> c1a10e910fa1 18:46:10 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:46:10 ---> 9413b762e7ae 18:46:10 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:46:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:46:10 > git init /w/workspace/device-sdk-go/6 # timeout=10 18:46:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:46:10 > git --version # timeout=10 18:46:10 > git --version # 'git version 2.17.1' 18:46:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:10 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:46:10 ---> e2246efccf5f 18:46:10 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:46:11 ---> d0d84941939f 18:46:11 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:46:11 ---> db371f017a11 18:46:11 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:46:11 ---> Running in 234484a23afe 18:46:11 Removing intermediate container 234484a23afe 18:46:11 ---> 6e7554b072f4 18:46:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:46:11 Fetching without tags 18:46:11 ---> Running in 970daebb2568 18:46:11 Removing intermediate container 970daebb2568 18:46:11 ---> 70414d839969 18:46:11 Step 22/24 : LABEL arch=amd64 18:46:11 ---> Running in dbc20caab919 18:46:11 Removing intermediate container dbc20caab919 18:46:11 ---> 5f8bcaf1d881 18:46:11 Step 23/24 : LABEL git_sha=008e04b076563efc6f8683aeda7071f1facd26eb 18:46:11 ---> Running in 74c2fea04e54 18:46:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:46:11 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 18:46:11 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:46:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:46:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:46:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:11 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:46:12 Removing intermediate container 74c2fea04e54 18:46:12 ---> 2c51cebbf603 18:46:12 Step 24/24 : LABEL version=0.0.0 18:46:12 ---> Running in f592999e279b 18:46:12 Merging remotes/origin/master commit acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb 18:46:12 Removing intermediate container f592999e279b 18:46:12 ---> df6bf7f8692a 18:46:12 [Warning] One or more build-args [ARCH] were not consumed 18:46:12 Successfully built df6bf7f8692a 18:46:12 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 18:46:12 Merge succeeded, producing 0752ed88b901f1a1e7ddc6bed6aaadeeefcd9ce0 18:46:12 Checking out Revision 0752ed88b901f1a1e7ddc6bed6aaadeeefcd9ce0 (PR-586) 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] } 18:46:12 > git config core.sparsecheckout # timeout=10 18:46:12 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 18:46:12 > git remote # timeout=10 18:46:12 > git config --get remote.origin.url # timeout=10 18:46:12 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:12 > git merge acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 18:46:12 > git rev-parse HEAD^{commit} # timeout=10 18:46:12 > git config core.sparsecheckout # timeout=10 18:46:12 > git checkout -f 0752ed88b901f1a1e7ddc6bed6aaadeeefcd9ce0 # timeout=10 [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:46:17 Commit message: "Merge commit 'acdd4826cae80a3b8a1f7d698808ff3080e1060b' into HEAD" 18:46:17 > git rev-list --no-walk 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:46:18 ========================================================= 18:46:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:46:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:46:20 + 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 . 18:46:21 Sending build context to Docker daemon 3.167MB 18:46:21 Step 1/8 : ARG BASE=golang:1.15-alpine 18:46:21 Step 2/8 : FROM ${BASE} 18:46:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:46:21 b538f80385f9: Pulling fs layer 18:46:21 74f711af9a0d: Pulling fs layer 18:46:21 99f96fe45779: Pulling fs layer 18:46:21 8529a6b9a6be: Pulling fs layer 18:46:21 45590311c82a: Pulling fs layer 18:46:21 69ca0ff8b7b3: Pulling fs layer 18:46:21 209524e5b208: Pulling fs layer 18:46:21 8529a6b9a6be: Waiting 18:46:21 45590311c82a: Waiting 18:46:21 69ca0ff8b7b3: Waiting 18:46:21 209524e5b208: Waiting 18:46:21 99f96fe45779: Verifying Checksum 18:46:21 99f96fe45779: Download complete 18:46:21 74f711af9a0d: Verifying Checksum 18:46:21 74f711af9a0d: Download complete 18:46:21 45590311c82a: Download complete 18:46:21 69ca0ff8b7b3: Verifying Checksum 18:46:21 69ca0ff8b7b3: Download complete 18:46:21 b538f80385f9: Verifying Checksum 18:46:21 b538f80385f9: Download complete 18:46:22 b538f80385f9: Pull complete 18:46:23 74f711af9a0d: Pull complete 18:46:23 99f96fe45779: Pull complete 18:46:23 209524e5b208: Download complete 18:46:26 8529a6b9a6be: Verifying Checksum 18:46:26 8529a6b9a6be: Download complete 18:46:36 8529a6b9a6be: Pull complete 18:46:36 45590311c82a: Pull complete 18:46:36 69ca0ff8b7b3: Pull complete 18:46:40 209524e5b208: Pull complete 18:46:40 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:46:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:46:40 ---> 5bddaf1c2fca 18:46:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:46:43 ---> Running in e9c1344f7d34 18:46:43 Removing intermediate container e9c1344f7d34 18:46:43 ---> 4c423f250294 18:46:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:46:43 ---> Running in f45090111f02 18:46:46 Removing intermediate container f45090111f02 18:46:46 ---> 125d1be3df16 18:46:46 Step 5/8 : RUN apk add --no-cache make git 18:46:46 ---> Running in 99fff5f98827 18:46:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:46:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:46:50 OK: 142 MiB in 39 packages 18:46:51 Removing intermediate container 99fff5f98827 18:46:51 ---> 3da52389d08a 18:46:51 Step 6/8 : WORKDIR /device-sdk-go 18:46:51 ---> Running in 9e7f8199380b 18:46:52 Removing intermediate container 9e7f8199380b 18:46:52 ---> 04853bef0254 18:46:52 Step 7/8 : COPY . . 18:46:53 ---> 5cbb1012d55a 18:46:53 Step 8/8 : RUN go mod download 18:46:53 ---> Running in 5ca5c4afb5f9 18:47:08 Removing intermediate container 5ca5c4afb5f9 18:47:08 ---> c0a8462f4259 18:47:08 Successfully built c0a8462f4259 18:47:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:47:09 + docker inspect -f . ci-base-image-arm64 18:47:09 . [Pipeline] withDockerContainer 18:47:09 prd-ubuntu18.04-docker-arm64-4c-16g-43370 does not seem to be running inside a container 18:47:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 18:47:11 $ docker top 7a1fdd138fd0c3a4c31c7f37fe938a98664aeb7e2839479600baee85112f92ab -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:13 + go version 18:47:13 go version go1.15.2 linux/arm64 [Pipeline] sh 18:47:14 + make test 18:47:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:47:36 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:48:23 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:48:23 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:48:23 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:48:23 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.086s coverage: 21.0% of statements 18:48:23 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.280s coverage: 95.7% of statements 18:48:50 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.064s coverage: 8.6% of statements 18:48:50 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.077s coverage: 21.7% of statements 18:48:50 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:48:50 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.461s coverage: 37.0% of statements 18:48:50 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:48:50 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.660s coverage: 65.4% of statements 18:48:50 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:48:50 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:48:50 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:48:50 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.144s coverage: 52.6% of statements 18:48:50 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.739s coverage: 68.9% of statements 18:48:50 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:48:50 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:48:50 GO111MODULE=on go vet ./... 18:49:22 gofmt -l . 18:49:22 [ "`gofmt -l .`" = "" ] 18:49:22 ./bin/test-attribution-txt.sh 18:49:22 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:49:22 Warning: overwriting stash ‘coverage-report’ 18:49:23 Stashed 1 file(s) [Pipeline] } 18:49:23 $ docker stop --time=1 7a1fdd138fd0c3a4c31c7f37fe938a98664aeb7e2839479600baee85112f92ab 18:49:26 $ docker rm -f 7a1fdd138fd0c3a4c31c7f37fe938a98664aeb7e2839479600baee85112f92ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:49:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:49:27 + ls -al . 18:49:27 total 228 18:49:27 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 18:49 . 18:49:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 18:46 .. 18:49:27 -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 18:46 .dockerignore 18:49:27 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 18:46 .git 18:49:27 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 18:46 .github 18:49:27 -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 18:46 .gitignore 18:49:27 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 18:46 .semver 18:49:27 -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 18:46 Dockerfile.build 18:49:27 -rw-rw-r-- 1 jenkins jenkins 785 Sep 15 18:46 Jenkinsfile 18:49:27 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 18:46 LICENSE 18:49:27 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 15 18:46 Makefile 18:49:27 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 18:46 README.md 18:49:27 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 18:46 RELEASE-NOTES.txt 18:49:27 -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 18:42 VERSION 18:49:27 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 18:46 bin 18:49:27 -rw-r--r-- 1 jenkins jenkins 111785 Sep 15 18:48 coverage.out 18:49:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 18:46 example 18:49:27 -rw-r--r-- 1 jenkins jenkins 446 Sep 15 18:49 go.mod 18:49:27 -rw-r--r-- 1 jenkins jenkins 12179 Sep 15 18:49 go.sum 18:49:27 drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 18:46 internal 18:49:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 18:46 openapi 18:49:27 drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 18:46 pkg 18:49:27 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 18:46 snap 18:49:27 -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 18:46 version.go [Pipeline] isUnix [Pipeline] sh 18:49:28 + 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=008e04b076563efc6f8683aeda7071f1facd26eb --label arch=arm64 --label version=0.0.0 . 18:49:28 Sending build context to Docker daemon 3.28MB 18:49:28 Step 1/24 : ARG BASE=golang:1.15-alpine 18:49:28 Step 2/24 : FROM ${BASE} AS builder 18:49:28 ---> c0a8462f4259 18:49:28 Step 3/24 : ARG MAKE='make build' 18:49:29 ---> Running in 352df2084496 18:49:29 Removing intermediate container 352df2084496 18:49:29 ---> da1c02255a6c 18:49:29 Step 4/24 : WORKDIR /device-sdk-go 18:49:29 ---> Running in dea4692574ee 18:49:30 Removing intermediate container dea4692574ee 18:49:30 ---> 39197032d6a0 18:49:30 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:49:30 ---> Running in c628589d51c4 18:49:30 Removing intermediate container c628589d51c4 18:49:30 ---> b9351befed9f 18:49:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:49:30 ---> Running in 22c5d43c6f73 18:49:33 Removing intermediate container 22c5d43c6f73 18:49:33 ---> 1028c35ca910 18:49:33 Step 7/24 : RUN apk add --update --no-cache make git 18:49:33 ---> Running in 0121f1307590 18:49:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:49:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:49:36 OK: 142 MiB in 39 packages 18:49:37 Removing intermediate container 0121f1307590 18:49:37 ---> 88f2133dd0c4 18:49:37 Step 8/24 : COPY . . 18:49:39 ---> aef547d2e9e7 18:49:39 Step 9/24 : RUN ${MAKE} 18:49:39 ---> Running in 1fce95b5d4ad 18:49:41 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 18:50:08 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:50:08 Removing intermediate container 1fce95b5d4ad 18:50:08 ---> f1602036bce2 18:50:08 Step 10/24 : FROM scratch 18:50:08 ---> 18:50:08 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:50:08 ---> Running in 14cdce743945 18:50:08 Removing intermediate container 14cdce743945 18:50:08 ---> f13e8eb1cd43 18:50:08 Step 12/24 : ENV APP_PORT=49990 18:50:08 ---> Running in 0a0d7444bf04 18:50:09 Removing intermediate container 0a0d7444bf04 18:50:09 ---> 1d615bbf9ba1 18:50:09 Step 13/24 : EXPOSE $APP_PORT 18:50:09 ---> Running in 58b581798c6a 18:50:09 Removing intermediate container 58b581798c6a 18:50:09 ---> db97b91b7554 18:50:09 Step 14/24 : WORKDIR / 18:50:09 ---> Running in d468c1c682d1 18:50:10 Removing intermediate container d468c1c682d1 18:50:10 ---> 38bae6bf349b 18:50:10 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:50:11 ---> c3a80d068a29 18:50:11 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:50:12 ---> 89df953b4862 18:50:12 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:50:12 ---> ccd537e53782 18:50:12 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:50:13 ---> 11ac46799195 18:50:13 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:50:14 ---> 279c79bd2cff 18:50:14 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:50:14 ---> Running in 24b76f9becff 18:50:14 Removing intermediate container 24b76f9becff 18:50:14 ---> fb348061df04 18:50:14 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:50:14 ---> Running in d66f9820248d 18:50:15 Removing intermediate container d66f9820248d 18:50:15 ---> f808f426a16d 18:50:15 Step 22/24 : LABEL arch=arm64 18:50:15 ---> Running in 6949ae35fad8 18:50:15 Removing intermediate container 6949ae35fad8 18:50:15 ---> 20964483c14c 18:50:15 Step 23/24 : LABEL git_sha=008e04b076563efc6f8683aeda7071f1facd26eb 18:50:15 ---> Running in b49e219649dc 18:50:16 Removing intermediate container b49e219649dc 18:50:16 ---> cabe7ac79c4e 18:50:16 Step 24/24 : LABEL version=0.0.0 18:50:16 ---> Running in facd0631bc79 18:50:17 Removing intermediate container facd0631bc79 18:50:17 ---> 7f14bf5d47dd 18:50:17 [Warning] One or more build-args [ARCH] were not consumed 18:50:17 Successfully built 7f14bf5d47dd 18:50:17 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 18:50:19 provisioning config files... 18:50:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config7157617228934330795tmp [Pipeline] { [Pipeline] sh 18:50:20 + curl -s https://codecov.io/bash 18:50:20 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config7157617228934330795tmp [Pipeline] } 18:50:20 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 18:50:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:50:23 ---> package-listing.sh 18:50:23 ++ facter osfamily 18:50:23 ++ tr '[:upper:]' '[:lower:]' 18:50:23 + OS_FAMILY=redhat 18:50:23 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-586 18:50:23 + START_PACKAGES=/tmp/packages_start.txt 18:50:23 + END_PACKAGES=/tmp/packages_end.txt 18:50:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:50:23 + PACKAGES=/tmp/packages_start.txt 18:50:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' 18:50:23 + PACKAGES=/tmp/packages_end.txt 18:50:23 + case "${OS_FAMILY}" in 18:50:23 + rpm -qa 18:50:23 + sort 18:50:28 + '[' -f /tmp/packages_start.txt ']' 18:50:28 + '[' -f /tmp/packages_end.txt ']' 18:50:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:50:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' 18:50:28 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ 18:50:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ [Pipeline] isUnix [Pipeline] sh 18:50:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:50:28 18:50:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:50:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:50:28 alpine: Pulling from edgex-lftools-log-publisher 18:50:28 df20fa9351a1: Pulling fs layer 18:50:28 36b3adc4ff6f: Pulling fs layer 18:50:28 8ad3a11d3b57: Pulling fs layer 18:50:28 46f8f816bc3b: Pulling fs layer 18:50:28 0dadc02b9964: Pulling fs layer 18:50:28 ce6a7cf60c04: Pulling fs layer 18:50:28 7a184a31f384: Pulling fs layer 18:50:28 0879bd2ef858: Pulling fs layer 18:50:28 46f8f816bc3b: Waiting 18:50:28 0dadc02b9964: Waiting 18:50:28 ce6a7cf60c04: Waiting 18:50:28 7a184a31f384: Waiting 18:50:28 0879bd2ef858: Waiting 18:50:28 36b3adc4ff6f: Download complete 18:50:28 46f8f816bc3b: Verifying Checksum 18:50:28 46f8f816bc3b: Download complete 18:50:28 df20fa9351a1: Verifying Checksum 18:50:28 df20fa9351a1: Download complete 18:50:28 ce6a7cf60c04: Verifying Checksum 18:50:28 ce6a7cf60c04: Download complete 18:50:28 7a184a31f384: Verifying Checksum 18:50:28 7a184a31f384: Download complete 18:50:29 0dadc02b9964: Verifying Checksum 18:50:29 0dadc02b9964: Download complete 18:50:29 df20fa9351a1: Pull complete 18:50:29 0879bd2ef858: Verifying Checksum 18:50:29 0879bd2ef858: Download complete 18:50:29 8ad3a11d3b57: Verifying Checksum 18:50:29 8ad3a11d3b57: Download complete 18:50:29 36b3adc4ff6f: Pull complete 18:50:30 8ad3a11d3b57: Pull complete 18:50:30 46f8f816bc3b: Pull complete 18:50:30 0dadc02b9964: Pull complete 18:50:30 ce6a7cf60c04: Pull complete 18:50:30 7a184a31f384: Pull complete 18:50:33 0879bd2ef858: Pull complete 18:50:33 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 18:50:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:50:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:50:33 prd-centos7-docker-4c-2g-43361 does not seem to be running inside a container 18:50:33 $ 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-586 -v /w/workspace/dgexfoundry_device-sdk-go_PR-586:/w/workspace/dgexfoundry_device-sdk-go_PR-586:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:50:38 $ docker top 94336e6d5fe7d08df205cf9be47d9792d6593220e8a0632768f3297130571f22 -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:38 + mkdir -p /var/log/sa [Pipeline] sh 18:50:39 + ls /var/log/sa-host 18:50:39 + sadf -c /var/log/sa-host/sa05 18:50:39 file_magic: OK 18:50:39 HZ: Using current value: 100 18:50:39 file_header: OK 18:50:39 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 18:50:39 Statistics: 18:50:39 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:50:39 File successfully converted to sysstat format version 12.2.1 18:50:39 + sadf -c /var/log/sa-host/sa15 18:50:39 file_magic: OK 18:50:39 HZ: Using current value: 100 18:50:39 file_header: OK 18:50:39 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 18:50:39 Statistics: 18:50:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:50:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:50:39 provisioning config files... 18:50:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config6497226202385203888tmp [Pipeline] { [Pipeline] echo 18:50:39 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:50:39 ---> create-netrc.sh [Pipeline] echo 18:50:39 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:50:39 ---> logs-deploy.sh 18:50:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-586/6 18:50:39 INFO: archiving workspace using pattern(s): 18:50:41 Archives upload complete. 18:50:41 INFO: archiving logs to Nexus 18:50:42 ---> uname -a: 18:50:42 Linux 94336e6d5fe7 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 18:50:42 18:50:42 18:50:42 ---> lscpu: 18:50:42 Architecture: x86_64 18:50:42 CPU op-mode(s): 32-bit, 64-bit 18:50:42 Byte Order: Little Endian 18:50:42 Address sizes: 40 bits physical, 48 bits virtual 18:50:42 CPU(s): 4 18:50:42 On-line CPU(s) list: 0-3 18:50:42 Thread(s) per core: 1 18:50:42 Core(s) per socket: 1 18:50:42 Socket(s): 4 18:50:42 NUMA node(s): 1 18:50:42 Vendor ID: GenuineIntel 18:50:42 CPU family: 6 18:50:42 Model: 44 18:50:42 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 18:50:42 Stepping: 1 18:50:42 CPU MHz: 2933.396 18:50:42 BogoMIPS: 5866.79 18:50:42 Virtualization: VT-x 18:50:42 Hypervisor vendor: KVM 18:50:42 Virtualization type: full 18:50:42 L1d cache: 128 KiB 18:50:42 L1i cache: 128 KiB 18:50:42 L2 cache: 16 MiB 18:50:42 L3 cache: 64 MiB 18:50:42 NUMA node0 CPU(s): 0-3 18:50:42 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 18:50:42 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 18:50:42 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 18:50:42 Vulnerability Meltdown: Mitigation; PTI 18:50:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:50:42 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 18:50:42 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 18:50:42 Vulnerability Tsx async abort: Not affected 18:50:42 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 18:50:42 18:50:42 18:50:42 ---> nproc: 18:50:42 4 18:50:42 18:50:42 18:50:42 ---> df -h: 18:50:42 Filesystem Size Used Available Use% Mounted on 18:50:42 overlay 50.0G 7.0G 43.0G 14% / 18:50:42 tmpfs 64.0M 0 64.0M 0% /dev 18:50:42 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 18:50:42 shm 64.0M 0 64.0M 0% /dev/shm 18:50:42 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 18:50:42 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 18:50:42 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 18:50:42 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 18:50:42 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-586 18:50:42 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp 18:50:42 18:50:42 18:50:42 ---> free -m: 18:50:42 total used free shared buff/cache available 18:50:42 Mem: 1837 670 146 0 1021 1060 18:50:42 Swap: 1023 0 1023 18:50:42 18:50:42 18:50:42 ---> ip addr: 18:50:42 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 18:50:42 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:50:42 inet 127.0.0.1/8 scope host lo 18:50:42 valid_lft forever preferred_lft forever 18:50:42 6: eth0@if7: mtu 1458 qdisc noqueue state UP 18:50:42 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 18:50:42 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 18:50:42 valid_lft forever preferred_lft forever 18:50:42 18:50:42 18:50:42 ---> sar -b -r -n DEV: 18:50:42 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) 18:50:42 18:50:42 18:41:38 LINUX RESTART (4 CPU) 18:50:42 18:50:42 18:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:50:42 18:43:02 192.73 101.33 91.39 0.00 11938.65 40355.64 0.00 18:50:42 18:44:01 3.62 0.00 3.62 0.00 0.00 115.12 0.00 18:50:42 18:45:01 0.47 0.00 0.47 0.00 0.00 7.66 0.00 18:50:42 18:46:01 0.27 0.00 0.27 0.00 0.00 3.91 0.00 18:50:42 18:47:01 0.23 0.00 0.23 0.00 0.00 3.11 0.00 18:50:42 18:48:01 0.72 0.00 0.72 0.00 0.00 9.69 0.00 18:50:42 18:49:01 0.58 0.02 0.57 0.00 0.13 6.36 0.00 18:50:42 18:50:01 0.40 0.00 0.40 0.00 0.00 4.83 0.00 18:50:42 Average: 24.93 12.70 12.23 0.00 1496.24 5076.24 0.00 18:50:42 18:50:42 18:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:50:42 18:43:02 171644 0 590920 31.41 2620 1116372 1110708 37.91 441788 1108796 120 18:50:42 18:44:01 175648 0 586912 31.19 2620 1116376 1098856 37.50 440096 1106924 16 18:50:42 18:45:01 174528 0 588028 31.25 2620 1116380 1095848 37.40 442072 1106568 20 18:50:42 18:46:01 174480 0 588068 31.25 2620 1116388 1095964 37.40 442296 1106568 16 18:50:42 18:47:01 172664 0 589880 31.35 2620 1116392 1096076 37.41 447588 1102936 12 18:50:42 18:48:01 173756 0 588780 31.29 2620 1116400 1091868 37.26 448276 1101240 12 18:50:42 18:49:01 173824 0 588708 31.29 2620 1116404 1091880 37.26 448216 1101240 8 18:50:42 18:50:01 175188 0 587336 31.22 2620 1116412 1081576 36.91 439396 1109004 8 18:50:42 Average: 173966 0 588579 31.28 2620 1116390 1095347 37.38 443716 1105410 26 18:50:42 18:50:42 18:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:50:42 18:43:02 eth0 493.69 320.41 1079.50 114.44 0.00 0.00 0.00 0.00 18:50:42 18:43:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 18:43:02 docker0 9.57 7.26 1.24 18.40 0.00 0.00 0.00 0.00 18:50:42 18:44:01 eth0 2.83 0.51 0.70 0.25 0.00 0.00 0.00 0.00 18:50:42 18:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 18:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 18:45:01 eth0 3.73 1.00 1.23 0.75 0.00 0.00 0.00 0.00 18:50:42 18:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 18:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 18:46:01 eth0 2.30 0.52 0.67 0.39 0.00 0.00 0.00 0.00 18:50:42 18:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 18:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 18:47:01 eth0 2.85 0.75 0.74 0.41 0.00 0.00 0.00 0.00 18:50:42 18:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 18:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 18:48:01 eth0 1.53 0.67 0.74 0.46 0.00 0.00 0.00 0.00 18:50:42 18:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 18:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 18:49:01 eth0 0.53 0.37 0.27 0.24 0.00 0.00 0.00 0.00 18:50:42 18:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 18:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 18:50:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:50:42 18:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 18:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 Average: eth0 63.61 40.64 135.83 14.65 0.00 0.00 0.00 0.00 18:50:42 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:50:42 Average: docker0 1.20 0.91 0.16 2.31 0.00 0.00 0.00 0.00 18:50:42 18:50:42 18:50:42 ---> sar -P ALL: 18:50:42 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) 18:50:42 18:50:42 18:41:38 LINUX RESTART (4 CPU) 18:50:42 18:50:42 18:42:01 CPU %user %nice %system %iowait %steal %idle 18:50:42 18:43:02 all 16.01 0.00 8.68 9.64 0.03 65.63 18:50:42 18:43:02 0 14.70 0.00 10.60 8.91 0.03 65.76 18:50:42 18:43:02 1 16.42 0.00 8.24 10.95 0.03 64.36 18:50:42 18:43:02 2 17.55 0.00 7.68 8.34 0.03 66.39 18:50:42 18:43:02 3 15.38 0.00 8.20 10.36 0.03 66.02 18:50:42 18:44:01 all 0.15 0.00 0.05 0.00 0.00 99.80 18:50:42 18:44:01 0 0.05 0.00 0.03 0.00 0.00 99.92 18:50:42 18:44:01 1 0.05 0.00 0.07 0.00 0.00 99.88 18:50:42 18:44:01 2 0.47 0.00 0.07 0.00 0.00 99.46 18:50:42 18:44:01 3 0.03 0.00 0.03 0.00 0.00 99.93 18:50:42 18:45:01 all 0.13 0.00 0.05 0.00 0.00 99.81 18:50:42 18:45:01 0 0.07 0.00 0.05 0.00 0.00 99.88 18:50:42 18:45:01 1 0.07 0.00 0.03 0.00 0.00 99.90 18:50:42 18:45:01 2 0.30 0.00 0.08 0.00 0.02 99.60 18:50:42 18:45:01 3 0.10 0.00 0.03 0.00 0.00 99.87 18:50:42 18:46:01 all 0.15 0.00 0.03 0.00 0.00 99.82 18:50:42 18:46:01 0 0.03 0.00 0.03 0.00 0.00 99.93 18:50:42 18:46:01 1 0.05 0.00 0.07 0.00 0.00 99.88 18:50:42 18:46:01 2 0.50 0.00 0.02 0.00 0.00 99.48 18:50:42 18:46:01 3 0.02 0.00 0.02 0.00 0.00 99.97 18:50:42 18:47:01 all 0.17 0.00 0.05 0.00 0.00 99.78 18:50:42 18:47:01 0 0.03 0.00 0.07 0.00 0.00 99.90 18:50:42 18:47:01 1 0.08 0.00 0.05 0.00 0.00 99.87 18:50:42 18:47:01 2 0.53 0.00 0.03 0.00 0.00 99.43 18:50:42 18:47:01 3 0.05 0.00 0.03 0.00 0.00 99.92 18:50:42 18:48:01 all 0.15 0.00 0.09 0.00 0.00 99.75 18:50:42 18:48:01 0 0.02 0.00 0.23 0.00 0.00 99.75 18:50:42 18:48:01 1 0.05 0.00 0.07 0.00 0.00 99.88 18:50:42 18:48:01 2 0.52 0.00 0.05 0.00 0.00 99.43 18:50:42 18:48:01 3 0.03 0.00 0.02 0.00 0.00 99.95 18:50:42 18:49:01 all 0.10 0.00 0.04 0.00 0.00 99.85 18:50:42 18:49:01 0 0.03 0.00 0.03 0.00 0.00 99.93 18:50:42 18:49:01 1 0.03 0.00 0.03 0.00 0.00 99.93 18:50:42 18:49:01 2 0.33 0.00 0.08 0.00 0.00 99.58 18:50:42 18:49:01 3 0.02 0.00 0.02 0.00 0.00 99.97 18:50:42 18:50:01 all 0.03 0.00 0.03 0.00 0.00 99.95 18:50:42 18:50:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:50:42 18:50:01 1 0.03 0.00 0.03 0.00 0.00 99.93 18:50:42 18:50:01 2 0.02 0.00 0.03 0.00 0.00 99.95 18:50:42 18:50:01 3 0.03 0.00 0.02 0.00 0.00 99.95 18:50:42 Average: all 2.10 0.00 1.12 1.20 0.00 95.59 18:50:42 Average: 0 1.85 0.00 1.37 1.10 0.00 95.67 18:50:42 Average: 1 2.09 0.00 1.07 1.36 0.00 95.48 18:50:42 Average: 2 2.51 0.00 1.00 1.03 0.01 95.45 18:50:42 Average: 3 1.94 0.00 1.04 1.28 0.00 95.74 18:50:42 18:50:42 18:50:42