Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2bbf6af02697b011a7a794463910a22f9bcbb85f+0bbcb663a9153978e7e9ef8c297d5988e58906d0 (10cde016af53a7d152a222caa7814c3c2d8949ee) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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 ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-8585 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 > 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 Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 2bbf6af02697b011a7a794463910a22f9bcbb85f Merge succeeded, producing 6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f Checking out Revision 6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f (PR-614) > git config core.sparsecheckout # timeout=10 > git checkout -f 2bbf6af02697b011a7a794463910a22f9bcbb85f # 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 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f # timeout=10 Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:22 ========================================================= 02:43:22 EdgeX Global Pipelines Version Info 02:43:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f9789e8da003b8f6a4a5652df9a6d518ab676f61 # timeout=10 02:43:24 ------------------- 02:43:24 stable info: 02:43:24 ------------------- 02:43:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:24 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 02:43:24 Message: update stable to v1.0.148 02:43:25 ------------------- 02:43:25 experimental info: 02:43:25 ------------------- 02:43:25 Commited By: **** collab-it+edgex@linuxfoundation.org 02:43:25 Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc 02:43:25 Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ba7cfc [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:29 + git log --format=format:%s -1 6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f [Pipeline] echo 02:43:29 GIT_COMMIT: 6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f, Commit Message: Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD [Pipeline] echo 02:43:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:30 02:43:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:31 latest: Pulling from edgex-devops/git-semver 02:43:31 31603596830f: Pulling fs layer 02:43:31 2a8b12db71e7: Pulling fs layer 02:43:31 6ca5941a6612: Pulling fs layer 02:43:31 ecc8261a40a4: Pulling fs layer 02:43:31 ecc8261a40a4: Waiting 02:43:31 2a8b12db71e7: Verifying Checksum 02:43:31 2a8b12db71e7: Download complete 02:43:31 31603596830f: Verifying Checksum 02:43:31 31603596830f: Download complete 02:43:31 ecc8261a40a4: Verifying Checksum 02:43:31 ecc8261a40a4: Download complete 02:43:31 6ca5941a6612: Verifying Checksum 02:43:31 6ca5941a6612: Download complete 02:43:31 31603596830f: Pull complete 02:43:31 2a8b12db71e7: Pull complete 02:43:32 6ca5941a6612: Pull complete 02:43:32 ecc8261a40a4: Pull complete 02:43:32 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:32 prd-centos7-docker-4c-2g-8585 does not seem to be running inside a container 02:43:32 $ 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 02:43:35 $ docker top bebfae0d469181e9dc85f3a1eaf61dcec05f34d03f119cd7869b1c524f5b73ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:35 [ssh-agent] Looking for ssh-agent implementation... 02:43:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:35 $ docker exec bebfae0d469181e9dc85f3a1eaf61dcec05f34d03f119cd7869b1c524f5b73ee ssh-agent 02:43:35 SSH_AUTH_SOCK=/tmp/ssh-0GiwHrLg8PJw/agent.11 02:43:35 SSH_AGENT_PID=16 02:43:35 Running ssh-add (command line suppressed) 02:43:35 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_235182794430135662.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_235182794430135662.key) 02:43:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:36 + git tag --points-at HEAD [Pipeline] } 02:43:36 $ docker exec --env ******** --env ******** bebfae0d469181e9dc85f3a1eaf61dcec05f34d03f119cd7869b1c524f5b73ee ssh-agent -k 02:43:36 unset SSH_AUTH_SOCK; 02:43:36 unset SSH_AGENT_PID; 02:43:36 echo Agent pid 16 killed; 02:43:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:36 [ssh-agent] Looking for ssh-agent implementation... 02:43:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:36 $ docker exec bebfae0d469181e9dc85f3a1eaf61dcec05f34d03f119cd7869b1c524f5b73ee ssh-agent 02:43:37 SSH_AUTH_SOCK=/tmp/ssh-xw5vykCUg55w/agent.45 02:43:37 SSH_AGENT_PID=51 02:43:37 Running ssh-add (command line suppressed) 02:43:37 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_6522579418700296275.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_6522579418700296275.key) 02:43:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:37 + git semver init 02:43:37 # -> Open(): unable to determine branch for HEAD 02:43:37 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git 02:43:37 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 02:43:37 # $SEMVER_REMOTE_NAME = origin 02:43:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:37 # $SEMVER_USER_NAME = edgex-jenkins 02:43:37 # $SEMVER_BRANCH = PR-614 02:43:37 # $SEMVER_TEMP = /tmp/semver-853003600 02:43:37 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:38 # '/tmp/semver-853003600' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' 02:43:38 # -> Force: false 02:43:38 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } 02:43:38 $ docker exec --env ******** --env ******** bebfae0d469181e9dc85f3a1eaf61dcec05f34d03f119cd7869b1c524f5b73ee ssh-agent -k 02:43:38 unset SSH_AUTH_SOCK; 02:43:38 unset SSH_AGENT_PID; 02:43:38 echo Agent pid 51 killed; 02:43:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:39 + git semver [Pipeline] } 02:43:39 $ docker stop --time=1 bebfae0d469181e9dc85f3a1eaf61dcec05f34d03f119cd7869b1c524f5b73ee 02:43:40 $ docker rm -f bebfae0d469181e9dc85f3a1eaf61dcec05f34d03f119cd7869b1c524f5b73ee [Pipeline] // withDockerContainer [Pipeline] sh 02:43:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:41 Stashed 1 file(s) [Pipeline] echo 02:43:41 [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 02:43:57 Still waiting to schedule task 02:43:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:43:57 Still waiting to schedule task 02:43:57 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:45:50 Running on prd-centos7-docker-4c-2g-8590 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 02:45:50 Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout 02:45:53 using credential edgex-jenkins-ssh 02:45:53 Cloning the remote Git repository 02:45:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:53 > git init /w/workspace/device-sdk-go/16 # timeout=10 02:45:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:53 > git --version # timeout=10 02:45:53 > git --version # 'git version 2.16.5' 02:45:53 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:54 Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 2bbf6af02697b011a7a794463910a22f9bcbb85f 02:45:54 Merge succeeded, producing 8cbee61bbbb65140c77fc6e3b139b7a0f56b7275 02:45:54 Checking out Revision 8cbee61bbbb65140c77fc6e3b139b7a0f56b7275 (PR-614) 02:45:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:54 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:54 > 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 02:45:54 > git config core.sparsecheckout # timeout=10 02:45:54 > git checkout -f 2bbf6af02697b011a7a794463910a22f9bcbb85f # timeout=10 02:45:54 > git remote # timeout=10 02:45:54 > git config --get remote.origin.url # timeout=10 02:45:54 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:54 > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 02:45:54 > git rev-parse HEAD^{commit} # timeout=10 02:45:54 > git config core.sparsecheckout # timeout=10 02:45:54 > git checkout -f 8cbee61bbbb65140c77fc6e3b139b7a0f56b7275 # timeout=10 02:45:58 Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" 02:45:58 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 02:45:58 > git rev-list --no-walk f9789e8da003b8f6a4a5652df9a6d518ab676f61 # timeout=10 [Pipeline] echo 02:45:59 ========================================================= 02:45:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:00 + 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 . 02:46:01 Sending build context to Docker daemon 2.351MB 02:46:01 Step 1/8 : ARG BASE=golang:1.15-alpine 02:46:01 Step 2/8 : FROM ${BASE} 02:46:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:46:01 df20fa9351a1: Pulling fs layer 02:46:01 ed8968b2872e: Pulling fs layer 02:46:01 a92cc7c5fd73: Pulling fs layer 02:46:01 e871e8e8d7a9: Pulling fs layer 02:46:01 e73272ec9a57: Pulling fs layer 02:46:01 1e910a182e73: Pulling fs layer 02:46:01 4e634b169226: Pulling fs layer 02:46:01 1e910a182e73: Waiting 02:46:01 4e634b169226: Waiting 02:46:01 e73272ec9a57: Waiting 02:46:01 e871e8e8d7a9: Waiting 02:46:01 a92cc7c5fd73: Verifying Checksum 02:46:01 a92cc7c5fd73: Download complete 02:46:01 ed8968b2872e: Verifying Checksum 02:46:01 ed8968b2872e: Download complete 02:46:01 e73272ec9a57: Verifying Checksum 02:46:01 e73272ec9a57: Download complete 02:46:01 1e910a182e73: Verifying Checksum 02:46:01 1e910a182e73: Download complete 02:46:01 df20fa9351a1: Verifying Checksum 02:46:01 df20fa9351a1: Download complete 02:46:01 df20fa9351a1: Pull complete 02:46:01 ed8968b2872e: Pull complete 02:46:01 a92cc7c5fd73: Pull complete 02:46:03 4e634b169226: Verifying Checksum 02:46:03 4e634b169226: Download complete 02:46:03 e871e8e8d7a9: Verifying Checksum 02:46:03 e871e8e8d7a9: Download complete 02:46:08 e871e8e8d7a9: Pull complete 02:46:08 e73272ec9a57: Pull complete 02:46:08 1e910a182e73: Pull complete 02:46:18 4e634b169226: Pull complete 02:46:18 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:46:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:46:18 ---> f7629b54cfaa 02:46:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:18 ---> Running in 5e8edf74f6a4 02:46:18 Removing intermediate container 5e8edf74f6a4 02:46:18 ---> 7282fb0a12f8 02:46:18 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:18 ---> Running in fc81e2252038 02:46:19 Removing intermediate container fc81e2252038 02:46:19 ---> 6cd0be69f65d 02:46:19 Step 5/8 : RUN apk add --no-cache make git 02:46:19 ---> Running in 7874e33a5fa6 02:46:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:21 OK: 166 MiB in 39 packages 02:46:21 Removing intermediate container 7874e33a5fa6 02:46:21 ---> ba7c3d52efae 02:46:21 Step 6/8 : WORKDIR /device-sdk-go 02:46:21 ---> Running in cdc06900cf69 02:46:21 Removing intermediate container cdc06900cf69 02:46:21 ---> 61c234ca7440 02:46:21 Step 7/8 : COPY . . 02:46:23 ---> 432ce3770b7f 02:46:23 Step 8/8 : RUN go mod download 02:46:23 ---> Running in 7ff393aea6f9 02:46:41 Removing intermediate container 7ff393aea6f9 02:46:41 ---> ca85a68a46c6 02:46:41 Successfully built ca85a68a46c6 02:46:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:41 + docker inspect -f . ci-base-image-x86_64 02:46:41 . [Pipeline] withDockerContainer 02:46:41 prd-centos7-docker-4c-2g-8590 does not seem to be running inside a container 02:46:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 02:46:42 $ docker top 25b02d3bef7637f74ddf3a42c11aa54f2a65c02970c5e8d5a18ee2f6b1a73bd5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:43 + go version 02:46:43 go version go1.15.2 linux/amd64 [Pipeline] } 02:46:43 $ docker stop --time=1 25b02d3bef7637f74ddf3a42c11aa54f2a65c02970c5e8d5a18ee2f6b1a73bd5 02:46:44 $ docker rm -f 25b02d3bef7637f74ddf3a42c11aa54f2a65c02970c5e8d5a18ee2f6b1a73bd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:45 + docker inspect -f . ci-base-image-x86_64 02:46:45 . [Pipeline] withDockerContainer 02:46:45 prd-centos7-docker-4c-2g-8590 does not seem to be running inside a container 02:46:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 02:46:45 $ docker top ac4e6e57dbe2f878712384eb0f25b5228b1e94bb7cefcb25cfb476accc82c128 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:46 + make test 02:46:46 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:54 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:47:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8595 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 02:47:03 Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout 02:47:06 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:47:06 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:47:06 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:47:07 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.057s coverage: 21.4% of statements 02:47:08 using credential edgex-jenkins-ssh 02:47:08 Cloning the remote Git repository 02:47:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:08 > git init /w/workspace/device-sdk-go/16 # timeout=10 02:47:09 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.446s coverage: 97.1% of statements 02:47:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:08 > git --version # timeout=10 02:47:08 > git --version # 'git version 2.17.1' 02:47:08 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:10 Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 2bbf6af02697b011a7a794463910a22f9bcbb85f 02:47:10 Merge succeeded, producing faeb13b7f09beb216d4563277766e2f417a5cd12 02:47:10 Checking out Revision faeb13b7f09beb216d4563277766e2f417a5cd12 (PR-614) 02:47:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:09 > 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 02:47:10 > git config core.sparsecheckout # timeout=10 02:47:10 > git checkout -f 2bbf6af02697b011a7a794463910a22f9bcbb85f # timeout=10 02:47:10 > git remote # timeout=10 02:47:10 > git config --get remote.origin.url # timeout=10 02:47:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:10 > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 02:47:10 > git rev-parse HEAD^{commit} # timeout=10 02:47:10 > git config core.sparsecheckout # timeout=10 02:47:10 > git checkout -f faeb13b7f09beb216d4563277766e2f417a5cd12 # timeout=10 02:47:14 Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" 02:47:14 First time build. Skipping changelog. 02:47:14 > git rev-list --no-walk f9789e8da003b8f6a4a5652df9a6d518ab676f61 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:47:15 ========================================================= 02:47:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:16 + 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 . 02:47:17 Sending build context to Docker daemon 2.351MB 02:47:17 Step 1/8 : ARG BASE=golang:1.15-alpine 02:47:17 Step 2/8 : FROM ${BASE} 02:47:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:18 b538f80385f9: Pulling fs layer 02:47:18 74f711af9a0d: Pulling fs layer 02:47:18 99f96fe45779: Pulling fs layer 02:47:18 8529a6b9a6be: Pulling fs layer 02:47:18 45590311c82a: Pulling fs layer 02:47:18 69ca0ff8b7b3: Pulling fs layer 02:47:18 209524e5b208: Pulling fs layer 02:47:18 45590311c82a: Waiting 02:47:18 69ca0ff8b7b3: Waiting 02:47:18 209524e5b208: Waiting 02:47:18 8529a6b9a6be: Waiting 02:47:18 99f96fe45779: Verifying Checksum 02:47:18 99f96fe45779: Download complete 02:47:18 74f711af9a0d: Verifying Checksum 02:47:18 74f711af9a0d: Download complete 02:47:18 45590311c82a: Verifying Checksum 02:47:18 45590311c82a: Download complete 02:47:18 69ca0ff8b7b3: Verifying Checksum 02:47:18 69ca0ff8b7b3: Download complete 02:47:18 b538f80385f9: Verifying Checksum 02:47:18 b538f80385f9: Download complete 02:47:18 b538f80385f9: Pull complete 02:47:19 74f711af9a0d: Pull complete 02:47:19 99f96fe45779: Pull complete 02:47:20 209524e5b208: Verifying Checksum 02:47:20 209524e5b208: Download complete 02:47:21 8529a6b9a6be: Verifying Checksum 02:47:21 8529a6b9a6be: Download complete 02:47:31 8529a6b9a6be: Pull complete 02:47:31 45590311c82a: Pull complete 02:47:31 69ca0ff8b7b3: Pull complete 02:47:35 209524e5b208: Pull complete 02:47:35 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:47:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:35 ---> 5bddaf1c2fca 02:47:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:37 ---> Running in e23449e8d626 02:47:38 Removing intermediate container e23449e8d626 02:47:38 ---> e97db2d434af 02:47:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:38 ---> Running in f845fa706bcf 02:47:41 Removing intermediate container f845fa706bcf 02:47:41 ---> 41fe8dd8a80b 02:47:41 Step 5/8 : RUN apk add --no-cache make git 02:47:41 ---> Running in c55a701d4f9a 02:47:41 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.066s coverage: 9.4% of statements 02:47:41 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.059s coverage: 21.9% of statements 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:47:41 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.205s coverage: 42.6% of statements 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:47:41 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.266s coverage: 68.9% of statements 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:47:41 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.052s coverage: 52.6% of statements 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:47:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:47:41 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.465s coverage: 68.9% of statements 02:47:41 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.053s coverage: 4.7% of statements 02:47:41 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:47:41 GO111MODULE=on go vet ./... 02:47:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:44 OK: 142 MiB in 39 packages 02:47:45 Removing intermediate container c55a701d4f9a 02:47:45 ---> bf63735ddca7 02:47:45 Step 6/8 : WORKDIR /device-sdk-go 02:47:45 ---> Running in 6f0819184bc1 02:47:46 Removing intermediate container 6f0819184bc1 02:47:46 ---> 9476ccd5ffaa 02:47:46 Step 7/8 : COPY . . 02:47:47 ---> d8c64315c2b0 02:47:47 Step 8/8 : RUN go mod download 02:47:47 ---> Running in 73d45cfe149e 02:47:48 gofmt -l . 02:47:48 [ "`gofmt -l .`" = "" ] 02:47:48 ./bin/test-attribution-txt.sh 02:47:48 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:47:49 Stashed 1 file(s) [Pipeline] } 02:47:49 $ docker stop --time=1 ac4e6e57dbe2f878712384eb0f25b5228b1e94bb7cefcb25cfb476accc82c128 02:47:51 $ docker rm -f ac4e6e57dbe2f878712384eb0f25b5228b1e94bb7cefcb25cfb476accc82c128 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:47:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:52 + ls -al . 02:47:52 total 208 02:47:52 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 24 02:47 . 02:47:52 drwxrwxr-x. 4 jenkins jenkins 30 Oct 24 02:45 .. 02:47:52 drwxrwxr-x. 2 jenkins jenkins 64 Oct 24 02:45 bin 02:47:52 -rw-r--r--. 1 jenkins jenkins 127612 Oct 24 02:47 coverage.out 02:47:52 -rw-rw-r--. 1 jenkins jenkins 936 Oct 24 02:45 Dockerfile.build 02:47:52 -rw-rw-r--. 1 jenkins jenkins 140 Oct 24 02:45 .dockerignore 02:47:52 drwxrwxr-x. 4 jenkins jenkins 48 Oct 24 02:45 example 02:47:52 drwxrwxr-x. 8 jenkins jenkins 179 Oct 24 02:45 .git 02:47:52 drwxrwxr-x. 2 jenkins jenkins 60 Oct 24 02:45 .github 02:47:52 -rw-rw-r--. 1 jenkins jenkins 138 Oct 24 02:45 .gitignore 02:47:52 -rw-r--r--. 1 jenkins jenkins 517 Oct 24 02:47 go.mod 02:47:52 -rw-r--r--. 1 jenkins jenkins 13821 Oct 24 02:47 go.sum 02:47:52 drwxrwxr-x. 15 jenkins jenkins 211 Oct 24 02:45 internal 02:47:52 -rw-rw-r--. 1 jenkins jenkins 901 Oct 24 02:45 Jenkinsfile 02:47:52 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 24 02:45 LICENSE 02:47:52 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 24 02:45 Makefile 02:47:52 drwxrwxr-x. 4 jenkins jenkins 26 Oct 24 02:45 openapi 02:47:52 drwxrwxr-x. 5 jenkins jenkins 50 Oct 24 02:45 pkg 02:47:52 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 24 02:45 README.md 02:47:52 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 24 02:45 RELEASE-NOTES.txt 02:47:52 drwxrwxr-x. 4 jenkins jenkins 54 Oct 24 02:45 snap 02:47:52 -rw-rw-r--. 1 jenkins jenkins 5 Oct 24 02:43 VERSION 02:47:52 -rw-rw-r--. 1 jenkins jenkins 222 Oct 24 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:53 + 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=6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f --label arch=amd64 --label version=0.0.0 . 02:47:53 Sending build context to Docker daemon 2.48MB 02:47:53 Step 1/24 : ARG BASE=golang:1.15-alpine 02:47:53 Step 2/24 : FROM ${BASE} AS builder 02:47:53 ---> ca85a68a46c6 02:47:53 Step 3/24 : ARG MAKE='make build' 02:47:53 ---> Running in 71cba90600d3 02:47:54 Removing intermediate container 71cba90600d3 02:47:54 ---> 289727367eb5 02:47:54 Step 4/24 : WORKDIR /device-sdk-go 02:47:54 ---> Running in e336c729c68b 02:47:54 Removing intermediate container e336c729c68b 02:47:54 ---> d2438dcb3424 02:47:54 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:54 ---> Running in dc4a7e364060 02:47:54 Removing intermediate container dc4a7e364060 02:47:54 ---> 543b2864c0bb 02:47:54 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:54 ---> Running in f5253dec75e5 02:47:55 Removing intermediate container f5253dec75e5 02:47:55 ---> f0f5cf64df86 02:47:55 Step 7/24 : RUN apk add --update --no-cache make git 02:47:55 ---> Running in 5fbaea8e77ab 02:47:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:56 OK: 166 MiB in 39 packages 02:47:57 Removing intermediate container 5fbaea8e77ab 02:47:57 ---> 5837c405b657 02:47:57 Step 8/24 : COPY . . 02:47:58 ---> e2f8758223bd 02:47:58 Step 9/24 : RUN ${MAKE} 02:47:58 ---> Running in 59a4d0ed3e1e 02:47:59 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 02:48:07 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:08 Removing intermediate container 59a4d0ed3e1e 02:48:08 ---> 2ae4a12bf081 02:48:08 Step 10/24 : FROM scratch 02:48:08 ---> 02:48:08 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:08 ---> Running in 6f4234ad6067 02:48:08 Removing intermediate container 6f4234ad6067 02:48:08 ---> dbf47ecfb60d 02:48:08 Step 12/24 : ENV APP_PORT=49990 02:48:08 ---> Running in 019f15de9cdd 02:48:08 Removing intermediate container 019f15de9cdd 02:48:08 ---> 8156f222db6e 02:48:08 Step 13/24 : EXPOSE $APP_PORT 02:48:08 ---> Running in 251e2343f75f 02:48:09 Removing intermediate container 251e2343f75f 02:48:09 ---> 3a590f62559f 02:48:09 Step 14/24 : WORKDIR / 02:48:09 ---> Running in 8d8df0750304 02:48:09 Removing intermediate container 8d8df0750304 02:48:09 ---> 2abefa63307f 02:48:09 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:09 Removing intermediate container 73d45cfe149e 02:48:09 ---> 187fb2acb4b8 02:48:09 Successfully built 187fb2acb4b8 02:48:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:09 ---> acf4cd0d3da7 02:48:09 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:10 ---> cd8f652f82cf 02:48:10 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:10 + docker inspect -f . ci-base-image-arm64 02:48:10 . [Pipeline] withDockerContainer 02:48:10 ---> 57a493053bc3 02:48:10 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:10 prd-ubuntu18.04-docker-arm64-4c-16g-8595 does not seem to be running inside a container 02:48:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 02:48:10 ---> 16031460794f 02:48:10 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:10 ---> dcdc65f67075 02:48:10 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:10 ---> Running in ebebba7e6ba0 02:48:10 Removing intermediate container ebebba7e6ba0 02:48:10 ---> b5ff6c36bb3f 02:48:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:10 ---> Running in e6cdc6233ab7 02:48:11 Removing intermediate container e6cdc6233ab7 02:48:11 ---> 333fe21f8f11 02:48:11 Step 22/24 : LABEL arch=amd64 02:48:11 ---> Running in f590ec9c2180 02:48:11 Removing intermediate container f590ec9c2180 02:48:11 ---> a69a31bf64dd 02:48:11 Step 23/24 : LABEL git_sha=6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f 02:48:11 ---> Running in 9744b7d0a4e0 02:48:11 Removing intermediate container 9744b7d0a4e0 02:48:11 ---> 814db9e7df4a 02:48:11 Step 24/24 : LABEL version=0.0.0 02:48:11 ---> Running in 4d462f0b25c2 02:48:11 Removing intermediate container 4d462f0b25c2 02:48:11 ---> 7bc2ccd07320 02:48:11 [Warning] One or more build-args [ARCH] were not consumed 02:48:11 Successfully built 7bc2ccd07320 02:48:11 Successfully tagged docker-device-sdk-simple:latest 02:48:12 $ docker top b71dc841c452727d125c67116cbaa4d47c7f668e6720d8e5504e4819daec0836 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [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] } 02:48:13 + go version 02:48:13 go version go1.15.2 linux/arm64 [Pipeline] // node [Pipeline] } [Pipeline] } 02:48:13 $ docker stop --time=1 b71dc841c452727d125c67116cbaa4d47c7f668e6720d8e5504e4819daec0836 02:48:15 $ docker rm -f b71dc841c452727d125c67116cbaa4d47c7f668e6720d8e5504e4819daec0836 [Pipeline] // stage [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:16 + docker inspect -f . ci-base-image-arm64 02:48:16 . [Pipeline] withDockerContainer 02:48:16 prd-ubuntu18.04-docker-arm64-4c-16g-8595 does not seem to be running inside a container 02:48:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 02:48:18 $ docker top eec96aede6a879d20e7a37a487ad12a75e2fd24f325d3733ffe153004ef39e6d -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:20 + make test 02:48:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:42 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:49:21 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:49:21 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:49:21 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:49:21 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.137s coverage: 21.4% of statements 02:49:22 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.359s coverage: 97.1% of statements 02:49:55 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.123s coverage: 9.4% of statements 02:49:55 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.114s coverage: 21.9% of statements 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:49:55 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.616s coverage: 42.6% of statements 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:49:55 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.740s coverage: 68.9% of statements 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:49:55 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.187s coverage: 52.6% of statements 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:49:55 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.728s coverage: 68.9% of statements 02:49:55 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.7% of statements 02:49:55 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:49:55 GO111MODULE=on go vet ./... 02:50:27 gofmt -l . 02:50:27 [ "`gofmt -l .`" = "" ] 02:50:27 ./bin/test-attribution-txt.sh 02:50:27 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:50:27 Warning: overwriting stash ‘coverage-report’ 02:50:28 Stashed 1 file(s) [Pipeline] } 02:50:28 $ docker stop --time=1 eec96aede6a879d20e7a37a487ad12a75e2fd24f325d3733ffe153004ef39e6d 02:50:30 $ docker rm -f eec96aede6a879d20e7a37a487ad12a75e2fd24f325d3733ffe153004ef39e6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:32 + ls -al . 02:50:32 total 244 02:50:32 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 02:50 . 02:50:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:47 .. 02:50:32 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 02:47 .dockerignore 02:50:32 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 02:47 .git 02:50:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 02:47 .github 02:50:32 -rw-rw-r-- 1 jenkins jenkins 138 Oct 24 02:47 .gitignore 02:50:32 -rw-rw-r-- 1 jenkins jenkins 936 Oct 24 02:47 Dockerfile.build 02:50:32 -rw-rw-r-- 1 jenkins jenkins 901 Oct 24 02:47 Jenkinsfile 02:50:32 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 02:47 LICENSE 02:50:32 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 24 02:47 Makefile 02:50:32 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 24 02:47 README.md 02:50:32 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 24 02:47 RELEASE-NOTES.txt 02:50:32 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 02:43 VERSION 02:50:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 02:47 bin 02:50:32 -rw-r--r-- 1 jenkins jenkins 127611 Oct 24 02:49 coverage.out 02:50:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:47 example 02:50:32 -rw-r--r-- 1 jenkins jenkins 517 Oct 24 02:50 go.mod 02:50:32 -rw-r--r-- 1 jenkins jenkins 13821 Oct 24 02:50 go.sum 02:50:32 drwxrwxr-x 15 jenkins jenkins 4096 Oct 24 02:47 internal 02:50:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:47 openapi 02:50:32 drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 02:47 pkg 02:50:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:47 snap 02:50:32 -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:50:32 + 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=6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f --label arch=arm64 --label version=0.0.0 . 02:50:33 Sending build context to Docker daemon 2.48MB 02:50:33 Step 1/24 : ARG BASE=golang:1.15-alpine 02:50:33 Step 2/24 : FROM ${BASE} AS builder 02:50:33 ---> 187fb2acb4b8 02:50:33 Step 3/24 : ARG MAKE='make build' 02:50:33 ---> Running in 86ce4dc8be9f 02:50:33 Removing intermediate container 86ce4dc8be9f 02:50:33 ---> e13a9bf64689 02:50:33 Step 4/24 : WORKDIR /device-sdk-go 02:50:34 ---> Running in 66d8002866af 02:50:34 Removing intermediate container 66d8002866af 02:50:34 ---> 0b835890bf2c 02:50:34 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:34 ---> Running in 2e16c51a2cac 02:50:35 Removing intermediate container 2e16c51a2cac 02:50:35 ---> 72124e3cd018 02:50:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:35 ---> Running in 750cf572a4a9 02:50:38 Removing intermediate container 750cf572a4a9 02:50:38 ---> a6fe991240e0 02:50:38 Step 7/24 : RUN apk add --update --no-cache make git 02:50:38 ---> Running in dea907a6c5a9 02:50:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:40 OK: 142 MiB in 39 packages 02:50:41 Removing intermediate container dea907a6c5a9 02:50:41 ---> 4d0dac907163 02:50:41 Step 8/24 : COPY . . 02:50:43 ---> 41e96edc19ae 02:50:43 Step 9/24 : RUN ${MAKE} 02:50:43 ---> Running in b54822272e0c 02:50:44 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 02:51:11 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:11 Removing intermediate container b54822272e0c 02:51:11 ---> d7bc276e5fed 02:51:11 Step 10/24 : FROM scratch 02:51:11 ---> 02:51:11 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:11 ---> Running in 1e19c4aba847 02:51:11 Removing intermediate container 1e19c4aba847 02:51:11 ---> 77784cb0321a 02:51:11 Step 12/24 : ENV APP_PORT=49990 02:51:11 ---> Running in acbac459b617 02:51:11 Removing intermediate container acbac459b617 02:51:11 ---> a4c7e4739f14 02:51:11 Step 13/24 : EXPOSE $APP_PORT 02:51:11 ---> Running in 5f68296a467b 02:51:12 Removing intermediate container 5f68296a467b 02:51:12 ---> 22c361381256 02:51:12 Step 14/24 : WORKDIR / 02:51:12 ---> Running in e442300111ea 02:51:12 Removing intermediate container e442300111ea 02:51:12 ---> 2f29b9dad988 02:51:12 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:14 ---> ce449ba37900 02:51:14 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:14 ---> c991c0b0ad1e 02:51:14 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:15 ---> d3fe1358bc2c 02:51:15 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:16 ---> bbd147aab46f 02:51:16 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:16 ---> 69de3f95023f 02:51:16 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:51:16 ---> Running in 12c462fdbdf5 02:51:17 Removing intermediate container 12c462fdbdf5 02:51:17 ---> 551a86a88df4 02:51:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:17 ---> Running in c45c493ad549 02:51:17 Removing intermediate container c45c493ad549 02:51:17 ---> 1290f574ff83 02:51:17 Step 22/24 : LABEL arch=arm64 02:51:18 ---> Running in 3c48bc27962c 02:51:18 Removing intermediate container 3c48bc27962c 02:51:18 ---> e0194093c549 02:51:18 Step 23/24 : LABEL git_sha=6ba7cfcdc0ef50863d628a5f7e521ddb080ab88f 02:51:18 ---> Running in 225882ae4a56 02:51:18 Removing intermediate container 225882ae4a56 02:51:18 ---> 90cd07d17e87 02:51:18 Step 24/24 : LABEL version=0.0.0 02:51:19 ---> Running in 7792f7f8a4f9 02:51:19 Removing intermediate container 7792f7f8a4f9 02:51:19 ---> 79744c917147 02:51:19 [Warning] One or more build-args [ARCH] were not consumed 02:51:19 Successfully built 79744c917147 02:51:19 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 02:51:21 provisioning config files... 02:51:21 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config8486137891644546558tmp [Pipeline] { [Pipeline] sh 02:51:21 + set +x 02:51:21 + curl -s https://codecov.io/bash 02:51:21 + bash -s -- 02:51:22 02:51:22 _____ _ 02:51:22 / ____| | | 02:51:22 | | ___ __| | ___ ___ _____ __ 02:51:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:22 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:22 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:22 Bash-20201009-048fee3 02:51:22 02:51:22 02:51:22 ==> Jenkins CI detected. 02:51:22 project root: . 02:51:22 Fixing merge commit SHA 02:51:22 --> token set from env 02:51:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:22 ==> Running gcov in . (disable via -X gcov) 02:51:22 ==> Python coveragepy not found 02:51:22 ==> Searching for coverage reports in: 02:51:22 + . 02:51:22 -> Found 1 reports 02:51:22 ==> Detecting git/mercurial file structure 02:51:22 ==> Reading reports 02:51:22 + ./coverage.out bytes=127611 02:51:22 ==> Appending adjustments 02:51:22 https://docs.codecov.io/docs/fixing-reports 02:51:22 + Found adjustments 02:51:22 ==> Gzipping contents 02:51:22 ==> Uploading reports 02:51:22 url: https://codecov.io 02:51:22 query: branch=PR-614&commit=0bbcb663a9153978e7e9ef8c297d5988e58906d0&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 02:51:22 -> Pinging Codecov 02:51:22 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-614&commit=0bbcb663a9153978e7e9ef8c297d5988e58906d0&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 02:51:23 -> Uploading to 02:51:23 02:51:23 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:23 Dload Upload Total Spent Left Speed 02:51:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 02:51:23 X> Failed to upload 02:51:23 ==> Uploading to Codecov 02:51:23 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:23 Dload Upload Total Spent Left Speed 02:51:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20968 100 110 100 20858 218 41513 --:--:-- --:--:-- --:--:-- 41549 02:51:23 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0bbcb663a9153978e7e9ef8c297d5988e58906d0 [Pipeline] } 02:51:23 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 02:51:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:27 ---> package-listing.sh 02:51:27 ++ tr '[:upper:]' '[:lower:]' 02:51:27 ++ facter osfamily 02:51:27 + OS_FAMILY=redhat 02:51:27 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 02:51:27 + START_PACKAGES=/tmp/packages_start.txt 02:51:27 + END_PACKAGES=/tmp/packages_end.txt 02:51:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:27 + PACKAGES=/tmp/packages_start.txt 02:51:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 02:51:27 + PACKAGES=/tmp/packages_end.txt 02:51:27 + case "${OS_FAMILY}" in 02:51:27 + rpm -qa 02:51:27 + sort 02:51:31 + '[' -f /tmp/packages_start.txt ']' 02:51:31 + '[' -f /tmp/packages_end.txt ']' 02:51:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 02:51:31 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ 02:51:31 + 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 02:51:31 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 02:51:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:51:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:31 02:51:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:32 alpine: Pulling from edgex-lftools-log-publisher 02:51:32 df20fa9351a1: Pulling fs layer 02:51:32 36b3adc4ff6f: Pulling fs layer 02:51:32 8ad3a11d3b57: Pulling fs layer 02:51:32 46f8f816bc3b: Pulling fs layer 02:51:32 93b61091891f: Pulling fs layer 02:51:32 93b9cdb0e59b: Pulling fs layer 02:51:32 5e14af77c1be: Pulling fs layer 02:51:32 01666e4c0597: Pulling fs layer 02:51:32 aa168da1d23b: Pulling fs layer 02:51:32 46f8f816bc3b: Waiting 02:51:32 93b61091891f: Waiting 02:51:32 93b9cdb0e59b: Waiting 02:51:32 5e14af77c1be: Waiting 02:51:32 01666e4c0597: Waiting 02:51:32 aa168da1d23b: Waiting 02:51:32 36b3adc4ff6f: Verifying Checksum 02:51:32 36b3adc4ff6f: Download complete 02:51:32 46f8f816bc3b: Verifying Checksum 02:51:32 46f8f816bc3b: Download complete 02:51:32 df20fa9351a1: Verifying Checksum 02:51:32 df20fa9351a1: Download complete 02:51:32 93b9cdb0e59b: Verifying Checksum 02:51:32 93b9cdb0e59b: Download complete 02:51:32 5e14af77c1be: Verifying Checksum 02:51:32 5e14af77c1be: Download complete 02:51:32 01666e4c0597: Verifying Checksum 02:51:32 01666e4c0597: Download complete 02:51:32 93b61091891f: Verifying Checksum 02:51:32 93b61091891f: Download complete 02:51:32 df20fa9351a1: Pull complete 02:51:32 8ad3a11d3b57: Verifying Checksum 02:51:32 8ad3a11d3b57: Download complete 02:51:33 36b3adc4ff6f: Pull complete 02:51:33 8ad3a11d3b57: Pull complete 02:51:33 46f8f816bc3b: Pull complete 02:51:34 93b61091891f: Pull complete 02:51:34 93b9cdb0e59b: Pull complete 02:51:34 5e14af77c1be: Pull complete 02:51:34 aa168da1d23b: Verifying Checksum 02:51:34 aa168da1d23b: Download complete 02:51:34 01666e4c0597: Pull complete 02:51:41 aa168da1d23b: Pull complete 02:51:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:51:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:41 prd-centos7-docker-4c-2g-8585 does not seem to be running inside a container 02:51:41 $ 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 02:51:46 $ docker top dd1ca3156815168a8b4b0ed428c1c0e84a03edc9dce28491fdf43bf375d23981 -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:46 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:47 + mkdir -p /var/log/sa [Pipeline] sh 02:51:47 + ls /var/log/sa-host 02:51:47 + sadf -c /var/log/sa-host/sa05 02:51:47 file_magic: OK 02:51:47 HZ: Using current value: 100 02:51:47 file_header: OK 02:51:47 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 02:51:47 Statistics: 02:51:47 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:47 File successfully converted to sysstat format version 12.2.1 02:51:47 + sadf -c /var/log/sa-host/sa24 02:51:47 file_magic: OK 02:51:47 HZ: Using current value: 100 02:51:47 file_header: OK 02:51:47 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 02:51:47 Statistics: 02:51:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:47 provisioning config files... 02:51:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config5281772371595568729tmp [Pipeline] { [Pipeline] echo 02:51:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:48 ---> create-netrc.sh [Pipeline] } 02:51:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:48 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:48 ---> python-tools-install.sh [Pipeline] echo 02:51:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:48 ---> sudo-logs.sh 02:51:48 Archiving 'sudo' log.. [Pipeline] echo 02:51:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:49 ---> job-cost.sh 02:51:49 lf-activate-venv: SKIPPING 02:51:49 INFO: No Stack... 02:51:50 INFO: Retrieving Pricing Info for: v1-standard-2 02:51:50 INFO: Archiving Costs [Pipeline] echo 02:51:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:51 ---> logs-deploy.sh 02:51:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/16 02:51:51 INFO: archiving workspace using pattern(s): 02:51:53 Archives upload complete. 02:51:53 INFO: archiving logs to Nexus