Pull request #614 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from aeebf2d9aa22fd9b1e07aa593dc85181f71c6882+10f5d80329275e8e77aa5b449b49b1589ab3bade (62cc293becb11b4cae26c7409079509ed195e1bd) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 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:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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:lfit/releng-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, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5793 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-614 # 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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 Merge succeeded, producing aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 Checking out Revision aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 (PR-614) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 # 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 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 # timeout=10 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" First time build. Skipping changelog. > git rev-list --no-walk aa6048348649fdf9d8f01dc6bdddbbf8ac990e84 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:52:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:52:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:52:26 ========================================================= 06:52:26 EdgeX Global Pipelines Version Info 06:52:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:52:27 ------------------- 06:52:27 stable info: 06:52:27 ------------------- 06:52:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:52:27 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:52:27 Message: update stable to v1.0.144 06:52:28 ------------------- 06:52:28 experimental info: 06:52:28 ------------------- 06:52:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:52:28 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:52:28 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:52:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:52:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:52:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:52:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:52:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:52:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:52:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:52:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:52:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:52:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:52:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:52:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:52:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:52:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:52:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:52:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:52:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:52:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:52:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:52:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:52:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:52:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:52:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:52:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:52:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo 06:52:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo 06:52:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo 06:52:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 [Pipeline] echo 06:52:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aeebf2d [Pipeline] echo 06:52:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:52:33 + git log --format=format:%s -1 aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 [Pipeline] echo 06:52:33 GIT_COMMIT: aeebf2d9aa22fd9b1e07aa593dc85181f71c6882, Commit Message: build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1 [Pipeline] echo 06:52:33 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:52:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:52:34 06:52:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:52:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:52:34 latest: Pulling from edgex-devops/git-semver 06:52:34 31603596830f: Pulling fs layer 06:52:34 2a8b12db71e7: Pulling fs layer 06:52:34 6ca5941a6612: Pulling fs layer 06:52:34 ecc8261a40a4: Pulling fs layer 06:52:34 ecc8261a40a4: Waiting 06:52:34 2a8b12db71e7: Verifying Checksum 06:52:34 2a8b12db71e7: Download complete 06:52:34 6ca5941a6612: Verifying Checksum 06:52:34 6ca5941a6612: Download complete 06:52:35 ecc8261a40a4: Verifying Checksum 06:52:35 ecc8261a40a4: Download complete 06:52:35 31603596830f: Download complete 06:52:35 31603596830f: Pull complete 06:52:35 2a8b12db71e7: Pull complete 06:52:36 6ca5941a6612: Pull complete 06:52:36 ecc8261a40a4: Pull complete 06:52:36 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:52:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:52:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:52:36 prd-centos7-docker-4c-2g-5793 does not seem to be running inside a container 06:52:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:52:39 $ docker top 30bcc02dc0f19e08cdddc9d45801e86d7e9239cb5f1535e3687e4df5776df682 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:52:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:52:39 [ssh-agent] Looking for ssh-agent implementation... 06:52:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:52:39 $ docker exec 30bcc02dc0f19e08cdddc9d45801e86d7e9239cb5f1535e3687e4df5776df682 ssh-agent 06:52:40 SSH_AUTH_SOCK=/tmp/ssh-Y6epntTVtx6v/agent.11 06:52:40 SSH_AGENT_PID=16 06:52:40 Running ssh-add (command line suppressed) 06:52:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_2880455571203635643.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_2880455571203635643.key) 06:52:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:52:40 + git tag --points-at HEAD [Pipeline] } 06:52:40 $ docker exec --env ******** --env ******** 30bcc02dc0f19e08cdddc9d45801e86d7e9239cb5f1535e3687e4df5776df682 ssh-agent -k 06:52:40 unset SSH_AUTH_SOCK; 06:52:40 unset SSH_AGENT_PID; 06:52:40 echo Agent pid 16 killed; 06:52:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:52:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:52:41 [ssh-agent] Looking for ssh-agent implementation... 06:52:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:52:41 $ docker exec 30bcc02dc0f19e08cdddc9d45801e86d7e9239cb5f1535e3687e4df5776df682 ssh-agent 06:52:41 SSH_AUTH_SOCK=/tmp/ssh-EYZoznCoD6v8/agent.45 06:52:41 SSH_AGENT_PID=50 06:52:41 Running ssh-add (command line suppressed) 06:52:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_1359791222360305095.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_1359791222360305095.key) 06:52:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:52:42 + git semver init 06:52:42 # -> Open(): unable to determine branch for HEAD 06:52:42 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git 06:52:42 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 06:52:42 # $SEMVER_REMOTE_NAME = origin 06:52:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:52:42 # $SEMVER_USER_NAME = edgex-jenkins 06:52:42 # $SEMVER_BRANCH = PR-614 06:52:42 # $SEMVER_TEMP = /tmp/semver-691886009 06:52:42 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:52:42 # '/tmp/semver-691886009' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' 06:52:42 # -> Force: false 06:52:42 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } 06:52:42 $ docker exec --env ******** --env ******** 30bcc02dc0f19e08cdddc9d45801e86d7e9239cb5f1535e3687e4df5776df682 ssh-agent -k 06:52:42 unset SSH_AUTH_SOCK; 06:52:42 unset SSH_AGENT_PID; 06:52:42 echo Agent pid 50 killed; 06:52:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:52:43 + git semver [Pipeline] } 06:52:43 $ docker stop --time=1 30bcc02dc0f19e08cdddc9d45801e86d7e9239cb5f1535e3687e4df5776df682 06:52:44 $ docker rm -f 30bcc02dc0f19e08cdddc9d45801e86d7e9239cb5f1535e3687e4df5776df682 [Pipeline] // withDockerContainer [Pipeline] sh 06:52:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:52:46 Stashed 1 file(s) [Pipeline] echo 06:52:46 [edgeXSemver]: initialized semver on 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 06:53:01 Still waiting to schedule task 06:53:01 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:53:01 Still waiting to schedule task 06:53:01 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:53:57 Running on prd-centos7-docker-4c-2g-5800 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 06:53:58 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 06:54:01 using credential edgex-jenkins-ssh 06:54:01 Cloning the remote Git repository 06:54:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:54:01 > git init /w/workspace/device-sdk-go/8 # timeout=10 06:54:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:54:01 > git --version # timeout=10 06:54:01 > git --version # 'git version 2.16.5' 06:54:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:54:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:54:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:54:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:54:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:54:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:54:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:54:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:54:03 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 06:54:03 Merge succeeded, producing aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 06:54:03 Checking out Revision aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 (PR-614) 06:54:03 > git config core.sparsecheckout # timeout=10 06:54:03 > git checkout -f aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 # timeout=10 06:54:03 > git remote # timeout=10 06:54:03 > git config --get remote.origin.url # timeout=10 06:54:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:54:03 > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 06:54:03 > git rev-parse HEAD^{commit} # timeout=10 06:54:03 > git config core.sparsecheckout # timeout=10 06:54:03 > git checkout -f aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 # timeout=10 06:54:07 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:54:08 ========================================================= 06:54:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:54:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:54:08 + 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 . 06:54:09 Sending build context to Docker daemon 2.315MB 06:54:09 Step 1/8 : ARG BASE=golang:1.15-alpine 06:54:09 Step 2/8 : FROM ${BASE} 06:54:09 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:54:09 df20fa9351a1: Pulling fs layer 06:54:09 ed8968b2872e: Pulling fs layer 06:54:09 a92cc7c5fd73: Pulling fs layer 06:54:09 e871e8e8d7a9: Pulling fs layer 06:54:09 e73272ec9a57: Pulling fs layer 06:54:09 1e910a182e73: Pulling fs layer 06:54:09 4e634b169226: Pulling fs layer 06:54:09 e73272ec9a57: Waiting 06:54:09 1e910a182e73: Waiting 06:54:09 4e634b169226: Waiting 06:54:09 e871e8e8d7a9: Waiting 06:54:09 a92cc7c5fd73: Verifying Checksum 06:54:09 a92cc7c5fd73: Download complete 06:54:09 ed8968b2872e: Verifying Checksum 06:54:09 ed8968b2872e: Download complete 06:54:09 e73272ec9a57: Verifying Checksum 06:54:09 e73272ec9a57: Download complete 06:54:09 1e910a182e73: Download complete 06:54:09 df20fa9351a1: Verifying Checksum 06:54:09 df20fa9351a1: Download complete 06:54:09 df20fa9351a1: Pull complete 06:54:09 ed8968b2872e: Pull complete 06:54:09 a92cc7c5fd73: Pull complete 06:54:14 4e634b169226: Verifying Checksum 06:54:14 4e634b169226: Download complete 06:54:15 e871e8e8d7a9: Verifying Checksum 06:54:15 e871e8e8d7a9: Download complete 06:54:19 e871e8e8d7a9: Pull complete 06:54:19 e73272ec9a57: Pull complete 06:54:19 1e910a182e73: Pull complete 06:54:27 4e634b169226: Pull complete 06:54:27 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:54:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:54:27 ---> f7629b54cfaa 06:54:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:54:27 ---> Running in e3e47f2a7a31 06:54:27 Removing intermediate container e3e47f2a7a31 06:54:27 ---> b0c13927ccd9 06:54:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:54:27 ---> Running in 14d1301000e9 06:54:28 Removing intermediate container 14d1301000e9 06:54:28 ---> ced068d069a8 06:54:28 Step 5/8 : RUN apk add --no-cache make git 06:54:29 ---> Running in 7d8f50f6a772 06:54:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:54:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:54:31 OK: 166 MiB in 39 packages 06:54:31 Removing intermediate container 7d8f50f6a772 06:54:31 ---> 67b6cef31d36 06:54:31 Step 6/8 : WORKDIR /device-sdk-go 06:54:32 ---> Running in b5e90ba73625 06:54:32 Removing intermediate container b5e90ba73625 06:54:32 ---> 849baea65f51 06:54:32 Step 7/8 : COPY . . 06:54:33 ---> 0a5fc60a6fdf 06:54:33 Step 8/8 : RUN go mod download 06:54:33 ---> Running in 5da70f5d5917 06:54:51 Removing intermediate container 5da70f5d5917 06:54:51 ---> 8eb1889029ba 06:54:51 Successfully built 8eb1889029ba 06:54:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:54:52 + docker inspect -f . ci-base-image-x86_64 06:54:52 . [Pipeline] withDockerContainer 06:54:52 prd-centos7-docker-4c-2g-5800 does not seem to be running inside a container 06:54:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:54:52 $ docker top 7342e42f80e1e0771ab7d32292019e301364ba9780def24bf35296ce24ca5321 -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:53 + go version 06:54:53 go version go1.15.2 linux/amd64 [Pipeline] } 06:54:53 $ docker stop --time=1 7342e42f80e1e0771ab7d32292019e301364ba9780def24bf35296ce24ca5321 06:54:54 $ docker rm -f 7342e42f80e1e0771ab7d32292019e301364ba9780def24bf35296ce24ca5321 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:54:55 + docker inspect -f . ci-base-image-x86_64 06:54:55 . [Pipeline] withDockerContainer 06:54:55 prd-centos7-docker-4c-2g-5800 does not seem to be running inside a container 06:54:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:54:56 $ docker top a005da197439aa4512d1041f754cb7ddbad54445fb6751cdbb35bced86144f8b -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:56 + make test 06:54:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:55:03 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:55:18 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:55:18 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:55:18 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:55:18 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.076s coverage: 21.6% of statements 06:55:18 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.738s coverage: 97.1% of statements 06:55:50 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.069s coverage: 9.4% of statements 06:55:50 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements 06:55:50 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:55:50 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.209s coverage: 42.6% of statements 06:55:50 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:55:50 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.277s coverage: 68.9% of statements 06:55:50 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:55:50 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:55:50 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:55:50 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:55:50 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements 06:55:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:55:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:55:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:55:50 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.316s coverage: 68.9% of statements 06:55:50 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:55:50 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:55:50 GO111MODULE=on go vet ./... 06:55:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5803 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 06:55:55 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 06:55:56 gofmt -l . 06:55:56 [ "`gofmt -l .`" = "" ] 06:55:56 ./bin/test-attribution-txt.sh 06:55:56 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:55:57 Stashed 1 file(s) [Pipeline] } 06:55:57 $ docker stop --time=1 a005da197439aa4512d1041f754cb7ddbad54445fb6751cdbb35bced86144f8b 06:55:58 $ docker rm -f a005da197439aa4512d1041f754cb7ddbad54445fb6751cdbb35bced86144f8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:56:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:56:00 + ls -al . 06:56:00 total 188 06:56:00 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 06:55 . 06:56:00 drwxrwxr-x. 4 jenkins jenkins 28 Oct 16 06:54 .. 06:56:00 drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 06:54 bin 06:56:00 -rw-r--r--. 1 jenkins jenkins 110398 Oct 16 06:55 coverage.out 06:56:00 -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 06:54 Dockerfile.build 06:56:00 -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 06:54 .dockerignore 06:56:00 drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 06:54 example 06:56:00 drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 06:54 .git 06:56:00 drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 06:54 .github 06:56:00 -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 06:54 .gitignore 06:56:00 -rw-r--r--. 1 jenkins jenkins 517 Oct 16 06:55 go.mod 06:56:00 -rw-r--r--. 1 jenkins jenkins 13736 Oct 16 06:55 go.sum 06:56:00 drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 06:54 internal 06:56:00 -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 06:54 Jenkinsfile 06:56:00 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 06:54 LICENSE 06:56:00 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 06:54 Makefile 06:56:00 drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 06:54 openapi 06:56:00 drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 06:54 pkg 06:56:00 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 06:54 README.md 06:56:00 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 06:54 RELEASE-NOTES.txt 06:56:00 drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 06:54 snap 06:56:00 -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 06:52 VERSION 06:56:00 -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 06:54 version.go [Pipeline] isUnix [Pipeline] sh 06:56:01 + 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=aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 --label arch=amd64 --label version=0.0.0 . 06:56:01 using credential edgex-jenkins-ssh 06:56:01 Cloning the remote Git repository 06:56:01 Sending build context to Docker daemon 2.426MB 06:56:01 Step 1/24 : ARG BASE=golang:1.15-alpine 06:56:01 Step 2/24 : FROM ${BASE} AS builder 06:56:01 ---> 8eb1889029ba 06:56:01 Step 3/24 : ARG MAKE='make build' 06:56:01 ---> Running in 2f061f37ee97 06:56:01 Removing intermediate container 2f061f37ee97 06:56:01 ---> c918c8ff9401 06:56:01 Step 4/24 : WORKDIR /device-sdk-go 06:56:02 ---> Running in 7b74516b3829 06:56:02 Removing intermediate container 7b74516b3829 06:56:02 ---> f5b36cca46f1 06:56:02 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:56:02 ---> Running in b34d5157d8bd 06:56:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:56:01 > git init /w/workspace/device-sdk-go/8 # timeout=10 06:56:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:56:01 > git --version # timeout=10 06:56:01 > git --version # 'git version 2.17.1' 06:56:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:56:02 Removing intermediate container b34d5157d8bd 06:56:02 ---> 5c37b321151b 06:56:02 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:56:02 ---> Running in bd913cea49b5 06:56:03 Removing intermediate container bd913cea49b5 06:56:03 ---> 5dad78762aa0 06:56:03 Step 7/24 : RUN apk add --update --no-cache make git 06:56:03 ---> Running in 7c7f6ad4f909 06:56:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:56:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:56:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:56:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:56:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:56:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:56:04 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 06:56:04 Merge succeeded, producing aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 06:56:04 Checking out Revision aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 (PR-614) 06:56:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:56:04 OK: 166 MiB in 39 packages 06:56:04 > git config core.sparsecheckout # timeout=10 06:56:04 > git checkout -f aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 # timeout=10 06:56:04 > git remote # timeout=10 06:56:04 > git config --get remote.origin.url # timeout=10 06:56:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:04 > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 06:56:04 > git rev-parse HEAD^{commit} # timeout=10 06:56:04 > git config core.sparsecheckout # timeout=10 06:56:04 > git checkout -f aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 # timeout=10 06:56:05 Removing intermediate container 7c7f6ad4f909 06:56:05 ---> 4798493c6426 06:56:05 Step 8/24 : COPY . . 06:56:06 ---> 8960213fc0f3 06:56:06 Step 9/24 : RUN ${MAKE} 06:56:06 ---> Running in 9abbfe986c4e 06:56:06 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 06:56:08 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:56:09 ========================================================= 06:56:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:56:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:56:10 + 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 . 06:56:11 Sending build context to Docker daemon 2.313MB 06:56:11 Step 1/8 : ARG BASE=golang:1.15-alpine 06:56:11 Step 2/8 : FROM ${BASE} 06:56:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:56:12 b538f80385f9: Pulling fs layer 06:56:12 74f711af9a0d: Pulling fs layer 06:56:12 99f96fe45779: Pulling fs layer 06:56:12 8529a6b9a6be: Pulling fs layer 06:56:12 45590311c82a: Pulling fs layer 06:56:12 69ca0ff8b7b3: Pulling fs layer 06:56:12 209524e5b208: Pulling fs layer 06:56:12 45590311c82a: Waiting 06:56:12 69ca0ff8b7b3: Waiting 06:56:12 209524e5b208: Waiting 06:56:12 8529a6b9a6be: Waiting 06:56:12 99f96fe45779: Download complete 06:56:12 74f711af9a0d: Verifying Checksum 06:56:12 74f711af9a0d: Download complete 06:56:12 45590311c82a: Verifying Checksum 06:56:12 45590311c82a: Download complete 06:56:12 69ca0ff8b7b3: Verifying Checksum 06:56:12 69ca0ff8b7b3: Download complete 06:56:12 b538f80385f9: Download complete 06:56:13 b538f80385f9: Pull complete 06:56:13 74f711af9a0d: Pull complete 06:56:14 99f96fe45779: Pull complete 06:56:14 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:56:15 Removing intermediate container 9abbfe986c4e 06:56:15 ---> 4878d62cc15b 06:56:15 Step 10/24 : FROM scratch 06:56:15 ---> 06:56:15 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:56:15 ---> Running in 13fd8377adf5 06:56:16 Removing intermediate container 13fd8377adf5 06:56:16 ---> a8e91102908f 06:56:16 Step 12/24 : ENV APP_PORT=49990 06:56:16 ---> Running in 7f1a7c066f7d 06:56:16 Removing intermediate container 7f1a7c066f7d 06:56:16 ---> 3dce52143eca 06:56:16 Step 13/24 : EXPOSE $APP_PORT 06:56:16 209524e5b208: Verifying Checksum 06:56:16 209524e5b208: Download complete 06:56:16 ---> Running in dea475ed72b0 06:56:16 Removing intermediate container dea475ed72b0 06:56:16 ---> fb4360389745 06:56:16 Step 14/24 : WORKDIR / 06:56:16 ---> Running in 40e14d35e1d3 06:56:16 Removing intermediate container 40e14d35e1d3 06:56:16 ---> 37e6862ac139 06:56:16 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:56:17 ---> 237c718fce24 06:56:17 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:56:17 ---> 29cc08e75b3a 06:56:17 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:56:17 ---> 297be6f791b5 06:56:17 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:56:17 ---> 0688d9e18b4f 06:56:17 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:56:17 ---> d622086efc17 06:56:17 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:56:17 ---> Running in 33e7455b9d78 06:56:17 Removing intermediate container 33e7455b9d78 06:56:17 ---> a7a3f3041372 06:56:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:56:18 ---> Running in 8002592d5453 06:56:18 Removing intermediate container 8002592d5453 06:56:18 ---> fc8591fcc876 06:56:18 Step 22/24 : LABEL arch=amd64 06:56:18 ---> Running in cf8ec8ca8d3f 06:56:18 Removing intermediate container cf8ec8ca8d3f 06:56:18 ---> 8475b18fdb19 06:56:18 Step 23/24 : LABEL git_sha=aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 06:56:18 ---> Running in 0ba51b850fb8 06:56:18 Removing intermediate container 0ba51b850fb8 06:56:18 ---> e47d1351d942 06:56:18 Step 24/24 : LABEL version=0.0.0 06:56:18 ---> Running in 7b03910a18b7 06:56:18 8529a6b9a6be: Verifying Checksum 06:56:18 8529a6b9a6be: Download complete 06:56:19 Removing intermediate container 7b03910a18b7 06:56:19 ---> d5bfc3d2743c 06:56:19 [Warning] One or more build-args [ARCH] were not consumed 06:56:19 Successfully built d5bfc3d2743c 06:56:19 Successfully tagged docker-device-sdk-simple:latest [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] } 06:56:29 8529a6b9a6be: Pull complete 06:56:29 45590311c82a: Pull complete 06:56:29 69ca0ff8b7b3: Pull complete 06:56:33 209524e5b208: Pull complete 06:56:33 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:56:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:56:33 ---> 5bddaf1c2fca 06:56:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:56:35 ---> Running in 587f660ed949 06:56:36 Removing intermediate container 587f660ed949 06:56:36 ---> 6c786db81566 06:56:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:56:36 ---> Running in 6d0b965b9d0c 06:56:39 Removing intermediate container 6d0b965b9d0c 06:56:39 ---> db7020d04792 06:56:39 Step 5/8 : RUN apk add --no-cache make git 06:56:39 ---> Running in a7fa88363271 06:56:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:56:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:56:43 OK: 142 MiB in 39 packages 06:56:44 Removing intermediate container a7fa88363271 06:56:44 ---> edef87f10b9b 06:56:44 Step 6/8 : WORKDIR /device-sdk-go 06:56:44 ---> Running in 3e6312822ed5 06:56:44 Removing intermediate container 3e6312822ed5 06:56:44 ---> 334fcfcb8515 06:56:44 Step 7/8 : COPY . . 06:56:47 ---> 4a68ad2e2b2d 06:56:47 Step 8/8 : RUN go mod download 06:56:47 ---> Running in 2bc512c1ed51 06:57:13 Removing intermediate container 2bc512c1ed51 06:57:13 ---> a05882b73b0f 06:57:13 Successfully built a05882b73b0f 06:57:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:57:14 + docker inspect -f . ci-base-image-arm64 06:57:14 . [Pipeline] withDockerContainer 06:57:14 prd-ubuntu18.04-docker-arm64-4c-16g-5803 does not seem to be running inside a container 06:57:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:57:16 $ docker top 5531edb388ac843efc003afd3076cb4275e46fc891a67f7a5850ca50e61643ea -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:18 + go version 06:57:18 go version go1.15.2 linux/arm64 [Pipeline] } 06:57:18 $ docker stop --time=1 5531edb388ac843efc003afd3076cb4275e46fc891a67f7a5850ca50e61643ea 06:57:20 $ docker rm -f 5531edb388ac843efc003afd3076cb4275e46fc891a67f7a5850ca50e61643ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:57:21 + docker inspect -f . ci-base-image-arm64 06:57:21 . [Pipeline] withDockerContainer 06:57:21 prd-ubuntu18.04-docker-arm64-4c-16g-5803 does not seem to be running inside a container 06:57:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:57:23 $ docker top aa6ccc36258d3902d2525d744d2aed4722303cef20d1765f94640f5ee2e0cf0e -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:25 + make test 06:57:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:57:51 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:58:38 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:58:38 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:58:38 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:58:38 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.166s coverage: 21.6% of statements 06:58:38 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.250s coverage: 97.1% of statements 06:59:11 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.133s coverage: 9.4% of statements 06:59:11 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.149s coverage: 21.9% of statements 06:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:59:11 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.640s coverage: 42.6% of statements 06:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:59:11 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.818s coverage: 68.9% of statements 06:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:59:11 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.182s coverage: 52.6% of statements 06:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:59:11 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.817s coverage: 68.9% of statements 06:59:11 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:59:11 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:59:11 GO111MODULE=on go vet ./... 06:59:39 gofmt -l . 06:59:39 [ "`gofmt -l .`" = "" ] 06:59:39 ./bin/test-attribution-txt.sh 06:59:40 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:59:41 Warning: overwriting stash ‘coverage-report’ 06:59:42 Stashed 1 file(s) [Pipeline] } 06:59:42 $ docker stop --time=1 aa6ccc36258d3902d2525d744d2aed4722303cef20d1765f94640f5ee2e0cf0e 06:59:44 $ docker rm -f aa6ccc36258d3902d2525d744d2aed4722303cef20d1765f94640f5ee2e0cf0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:59:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:59:47 + ls -al . 06:59:47 total 224 06:59:47 drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 06:59 . 06:59:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 .. 06:59:47 -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 06:56 .dockerignore 06:59:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 06:56 .git 06:59:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:56 .github 06:59:47 -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 06:56 .gitignore 06:59:47 -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 06:56 Dockerfile.build 06:59:47 -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 06:56 Jenkinsfile 06:59:47 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 06:56 LICENSE 06:59:47 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 06:56 Makefile 06:59:47 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 06:56 README.md 06:59:47 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 06:56 RELEASE-NOTES.txt 06:59:47 -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 06:52 VERSION 06:59:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:56 bin 06:59:47 -rw-r--r-- 1 jenkins jenkins 110398 Oct 16 06:59 coverage.out 06:59:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 example 06:59:47 -rw-r--r-- 1 jenkins jenkins 517 Oct 16 06:59 go.mod 06:59:47 -rw-r--r-- 1 jenkins jenkins 13736 Oct 16 06:59 go.sum 06:59:47 drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 06:56 internal 06:59:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 openapi 06:59:47 drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 06:56 pkg 06:59:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 snap 06:59:47 -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 06:56 version.go [Pipeline] isUnix [Pipeline] sh 06:59:47 + 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=aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 --label arch=arm64 --label version=0.0.0 . 06:59:48 Sending build context to Docker daemon 2.424MB 06:59:48 Step 1/24 : ARG BASE=golang:1.15-alpine 06:59:48 Step 2/24 : FROM ${BASE} AS builder 06:59:48 ---> a05882b73b0f 06:59:48 Step 3/24 : ARG MAKE='make build' 06:59:48 ---> Running in bcca6a5d9001 06:59:48 Removing intermediate container bcca6a5d9001 06:59:48 ---> ee1ef8510c5a 06:59:48 Step 4/24 : WORKDIR /device-sdk-go 06:59:48 ---> Running in 11830f226502 06:59:49 Removing intermediate container 11830f226502 06:59:49 ---> be5504130f2b 06:59:49 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:59:49 ---> Running in 2a4c7620c02d 06:59:50 Removing intermediate container 2a4c7620c02d 06:59:50 ---> 8502b67fc0ca 06:59:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:59:50 ---> Running in 0fc10d0df6dc 06:59:53 Removing intermediate container 0fc10d0df6dc 06:59:53 ---> 62b71cedeef5 06:59:53 Step 7/24 : RUN apk add --update --no-cache make git 06:59:53 ---> Running in de7cf932e0f2 06:59:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:59:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:59:56 OK: 142 MiB in 39 packages 06:59:57 Removing intermediate container de7cf932e0f2 06:59:57 ---> e5f175011ad2 06:59:57 Step 8/24 : COPY . . 06:59:59 ---> 2873ddf60b8d 06:59:59 Step 9/24 : RUN ${MAKE} 06:59:59 ---> Running in b4513deada12 07:00:01 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 07:00:28 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:00:30 Removing intermediate container b4513deada12 07:00:30 ---> f3a09bc91795 07:00:30 Step 10/24 : FROM scratch 07:00:30 ---> 07:00:30 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:00:30 ---> Running in 8fc0c209f0f7 07:00:30 Removing intermediate container 8fc0c209f0f7 07:00:30 ---> 58c1560ca8b8 07:00:30 Step 12/24 : ENV APP_PORT=49990 07:00:31 ---> Running in 3856fba94ce8 07:00:31 Removing intermediate container 3856fba94ce8 07:00:31 ---> ab4dc681a8ef 07:00:31 Step 13/24 : EXPOSE $APP_PORT 07:00:31 ---> Running in 13b2b75ae94b 07:00:31 Removing intermediate container 13b2b75ae94b 07:00:31 ---> 9a6b6d57295b 07:00:31 Step 14/24 : WORKDIR / 07:00:31 ---> Running in c42b94d2bbe4 07:00:32 Removing intermediate container c42b94d2bbe4 07:00:32 ---> ad9045d787d0 07:00:32 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:00:33 ---> c9d280d5bde4 07:00:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:00:34 ---> cdf89e4af079 07:00:34 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:00:35 ---> 1d9c4116a863 07:00:35 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:00:35 ---> d4f06e4a815c 07:00:35 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:00:36 ---> 16db155c36ea 07:00:36 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:00:36 ---> Running in ebfb3a7c4d4a 07:00:36 Removing intermediate container ebfb3a7c4d4a 07:00:36 ---> 6e01faec8662 07:00:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:00:37 ---> Running in f437eb9b42f9 07:00:37 Removing intermediate container f437eb9b42f9 07:00:37 ---> 64d0d0744831 07:00:37 Step 22/24 : LABEL arch=arm64 07:00:37 ---> Running in c27455001c52 07:00:38 Removing intermediate container c27455001c52 07:00:38 ---> 61536362a6a1 07:00:38 Step 23/24 : LABEL git_sha=aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 07:00:38 ---> Running in ca28f80b1093 07:00:38 Removing intermediate container ca28f80b1093 07:00:38 ---> c7d21e2860e0 07:00:38 Step 24/24 : LABEL version=0.0.0 07:00:38 ---> Running in 3244a275782f 07:00:39 Removing intermediate container 3244a275782f 07:00:39 ---> 63d773b18f92 07:00:39 [Warning] One or more build-args [ARCH] were not consumed 07:00:39 Successfully built 63d773b18f92 07:00:39 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 07:00:41 provisioning config files... 07:00:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config5436952346245117405tmp [Pipeline] { [Pipeline] sh 07:00:42 + set +x 07:00:42 + curl -s https://codecov.io/bash 07:00:42 + bash -s -- 07:00:42 07:00:42 _____ _ 07:00:42 / ____| | | 07:00:42 | | ___ __| | ___ ___ _____ __ 07:00:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:00:42 | |___| (_) | (_| | __/ (_| (_) \ V / 07:00:42 \_____\___/ \__,_|\___|\___\___/ \_/ 07:00:42 Bash-20201009-048fee3 07:00:42 07:00:42 07:00:42 ==> Jenkins CI detected. 07:00:42 project root: . 07:00:42 --> token set from env 07:00:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:00:42 ==> Running gcov in . (disable via -X gcov) 07:00:42 ==> Python coveragepy not found 07:00:42 ==> Searching for coverage reports in: 07:00:42 + . 07:00:42 -> Found 1 reports 07:00:42 ==> Detecting git/mercurial file structure 07:00:42 ==> Reading reports 07:00:42 + ./coverage.out bytes=110398 07:00:42 ==> Appending adjustments 07:00:42 https://docs.codecov.io/docs/fixing-reports 07:00:43 + Found adjustments 07:00:43 ==> Gzipping contents 07:00:43 ==> Uploading reports 07:00:43 url: https://codecov.io 07:00:43 query: branch=PR-614&commit=aeebf2d9aa22fd9b1e07aa593dc85181f71c6882&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 07:00:43 -> Pinging Codecov 07:00:43 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-614&commit=aeebf2d9aa22fd9b1e07aa593dc85181f71c6882&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 07:00:43 -> Uploading to 07:00:43 07:00:43 % Total % Received % Xferd Average Speed Time Time Time Current 07:00:43 Dload Upload Total Spent Left Speed 07:00:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 07:00:43 X> Failed to upload 07:00:43 ==> Uploading to Codecov 07:00:43 % Total % Received % Xferd Average Speed Time Time Time Current 07:00:43 Dload Upload Total Spent Left Speed 07:00:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19130 0 0 100 19020 0 37407 --:--:-- --:--:-- --:--:-- 37367 100 19130 100 110 100 19020 216 37382 --:--:-- --:--:-- --:--:-- 37367 07:00:43 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/aeebf2d9aa22fd9b1e07aa593dc85181f71c6882 [Pipeline] } 07:00:43 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] { (Archive Prep) Stage "Archive Prep" 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 07:00:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:00:47 ---> package-listing.sh 07:00:47 ++ facter osfamily 07:00:47 ++ tr '[:upper:]' '[:lower:]' 07:00:47 + OS_FAMILY=redhat 07:00:47 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 07:00:47 + START_PACKAGES=/tmp/packages_start.txt 07:00:47 + END_PACKAGES=/tmp/packages_end.txt 07:00:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:00:47 + PACKAGES=/tmp/packages_start.txt 07:00:47 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 07:00:47 + PACKAGES=/tmp/packages_end.txt 07:00:47 + case "${OS_FAMILY}" in 07:00:47 + rpm -qa 07:00:47 + sort 07:00:51 + '[' -f /tmp/packages_start.txt ']' 07:00:51 + '[' -f /tmp/packages_end.txt ']' 07:00:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:00:51 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 07:00:51 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ 07:00:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] echo 07:00:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-614/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:00:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:00:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:00:52 07:00:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:00:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:00:52 alpine: Pulling from edgex-lftools-log-publisher 07:00:52 df20fa9351a1: Pulling fs layer 07:00:52 36b3adc4ff6f: Pulling fs layer 07:00:52 8ad3a11d3b57: Pulling fs layer 07:00:52 46f8f816bc3b: Pulling fs layer 07:00:52 93b61091891f: Pulling fs layer 07:00:52 93b9cdb0e59b: Pulling fs layer 07:00:52 5e14af77c1be: Pulling fs layer 07:00:52 01666e4c0597: Pulling fs layer 07:00:52 aa168da1d23b: Pulling fs layer 07:00:52 93b61091891f: Waiting 07:00:52 93b9cdb0e59b: Waiting 07:00:52 5e14af77c1be: Waiting 07:00:52 01666e4c0597: Waiting 07:00:52 aa168da1d23b: Waiting 07:00:52 46f8f816bc3b: Waiting 07:00:52 36b3adc4ff6f: Verifying Checksum 07:00:52 36b3adc4ff6f: Download complete 07:00:52 46f8f816bc3b: Verifying Checksum 07:00:52 46f8f816bc3b: Download complete 07:00:52 df20fa9351a1: Verifying Checksum 07:00:52 df20fa9351a1: Download complete 07:00:52 93b9cdb0e59b: Verifying Checksum 07:00:52 93b9cdb0e59b: Download complete 07:00:52 5e14af77c1be: Verifying Checksum 07:00:52 5e14af77c1be: Download complete 07:00:52 93b61091891f: Verifying Checksum 07:00:52 93b61091891f: Download complete 07:00:52 01666e4c0597: Verifying Checksum 07:00:52 01666e4c0597: Download complete 07:00:53 df20fa9351a1: Pull complete 07:00:53 36b3adc4ff6f: Pull complete 07:00:53 8ad3a11d3b57: Verifying Checksum 07:00:53 8ad3a11d3b57: Download complete 07:00:54 8ad3a11d3b57: Pull complete 07:00:54 46f8f816bc3b: Pull complete 07:00:55 93b61091891f: Pull complete 07:00:55 93b9cdb0e59b: Pull complete 07:00:55 5e14af77c1be: Pull complete 07:00:55 01666e4c0597: Pull complete 07:00:56 aa168da1d23b: Verifying Checksum 07:00:56 aa168da1d23b: Download complete 07:01:05 aa168da1d23b: Pull complete 07:01:05 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:01:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:01:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:01:05 prd-centos7-docker-4c-2g-5793 does not seem to be running inside a container 07:01:05 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-614/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:01:07 $ docker top 714d2bd0f2d74b493a0f84a1b78dbd0c578e0a564e2767d0595e088ed4f80aa7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:08 + touch /tmp/pre-build-complete [Pipeline] sh 07:01:08 + mkdir -p /var/log/sa [Pipeline] sh 07:01:09 + ls /var/log/sa-host 07:01:09 + sadf -c /var/log/sa-host/sa05 07:01:09 file_magic: OK 07:01:09 HZ: Using current value: 100 07:01:09 file_header: OK 07:01:09 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 07:01:09 Statistics: 07:01:09 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:01:09 File successfully converted to sysstat format version 12.2.1 07:01:09 + sadf -c /var/log/sa-host/sa16 07:01:09 file_magic: OK 07:01:09 HZ: Using current value: 100 07:01:09 file_header: OK 07:01:09 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 07:01:09 Statistics: 07:01:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:01:09 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:01:09 provisioning config files... 07:01:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config6655870186301660015tmp [Pipeline] { [Pipeline] echo 07:01:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:01:09 ---> create-netrc.sh [Pipeline] } 07:01:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:01:09 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:01:10 ---> python-tools-install.sh [Pipeline] echo 07:01:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:01:10 ---> sudo-logs.sh 07:01:10 Archiving 'sudo' log.. [Pipeline] echo 07:01:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:01:10 ---> job-cost.sh 07:01:10 lf-activate-venv: SKIPPING 07:01:10 INFO: No Stack... 07:01:11 INFO: Retrieving Pricing Info for: v1-standard-2 07:01:12 INFO: Archiving Costs [Pipeline] echo 07:01:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:01:12 ---> logs-deploy.sh 07:01:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/8 07:01:12 INFO: archiving workspace using pattern(s): 07:01:14 Archives upload complete. 07:01:14 INFO: archiving logs to Nexus