Pull request #645 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ee875456f6072c1d2ed9eb5d05418b5d5698d85a+0bbcb663a9153978e7e9ef8c297d5988e58906d0 (6a32d60f11b85dbea5cd81c716f4b606ab20c929) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-645/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-645/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f3f382fce060f16c10d6f597981912fab355381a 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-9442 in /w/workspace/dgexfoundry_device-sdk-go_PR-645 [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-645 # 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 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit ee875456f6072c1d2ed9eb5d05418b5d5698d85a Merge succeeded, producing ee875456f6072c1d2ed9eb5d05418b5d5698d85a Checking out Revision ee875456f6072c1d2ed9eb5d05418b5d5698d85a (PR-645) > 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/645/head:refs/remotes/origin/PR-645 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee875456f6072c1d2ed9eb5d05418b5d5698d85a # 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 ee875456f6072c1d2ed9eb5d05418b5d5698d85a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:32:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:32:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:32:28 ========================================================= 06:32:28 EdgeX Global Pipelines Version Info 06:32:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:32:29 ------------------- 06:32:29 stable info: 06:32:29 ------------------- 06:32:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:32:29 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 06:32:29 Message: update stable to v1.0.148 06:32:30 ------------------- 06:32:30 experimental info: 06:32:30 ------------------- 06:32:30 Commited By: **** collab-it+edgex@linuxfoundation.org 06:32:30 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 06:32:30 Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:32:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:32:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:32:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:32:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:32:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:32:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:32:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:32:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:32:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:32:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:32:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:32:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:32:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:32:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:32:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-645 [Pipeline] echo 06:32:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-645 [Pipeline] echo 06:32:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-645 [Pipeline] echo 06:32:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee875456f6072c1d2ed9eb5d05418b5d5698d85a [Pipeline] echo 06:32:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee87545 [Pipeline] echo 06:32:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:32:36 + git log --format=format:%s -1 ee875456f6072c1d2ed9eb5d05418b5d5698d85a [Pipeline] echo 06:32:36 GIT_COMMIT: ee875456f6072c1d2ed9eb5d05418b5d5698d85a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:32:36 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:32:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:32:37 06:32:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:32:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:32:38 latest: Pulling from edgex-devops/git-semver 06:32:38 31603596830f: Pulling fs layer 06:32:38 2a8b12db71e7: Pulling fs layer 06:32:38 6ca5941a6612: Pulling fs layer 06:32:38 ecc8261a40a4: Pulling fs layer 06:32:38 ecc8261a40a4: Waiting 06:32:38 2a8b12db71e7: Verifying Checksum 06:32:38 2a8b12db71e7: Download complete 06:32:38 31603596830f: Verifying Checksum 06:32:38 31603596830f: Download complete 06:32:38 ecc8261a40a4: Verifying Checksum 06:32:38 ecc8261a40a4: Download complete 06:32:38 6ca5941a6612: Verifying Checksum 06:32:38 6ca5941a6612: Download complete 06:32:38 31603596830f: Pull complete 06:32:38 2a8b12db71e7: Pull complete 06:32:39 6ca5941a6612: Pull complete 06:32:39 ecc8261a40a4: Pull complete 06:32:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:32:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:32:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:32:40 prd-centos7-docker-4c-2g-9442 does not seem to be running inside a container 06:32:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-645 -v /w/workspace/dgexfoundry_device-sdk-go_PR-645:/w/workspace/dgexfoundry_device-sdk-go_PR-645:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:32:42 $ docker top 76f3c7de88199fe7331d06c2da2369299ead12b14776041abedef191c281d9e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:32:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:32:42 [ssh-agent] Looking for ssh-agent implementation... 06:32:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:32:43 $ docker exec 76f3c7de88199fe7331d06c2da2369299ead12b14776041abedef191c281d9e3 ssh-agent 06:32:43 SSH_AUTH_SOCK=/tmp/ssh-l1HjX0sdJuio/agent.11 06:32:43 SSH_AGENT_PID=16 06:32:43 Running ssh-add (command line suppressed) 06:32:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/private_key_5497429427144373915.key (/w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/private_key_5497429427144373915.key) 06:32:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:32:44 + git tag --points-at HEAD [Pipeline] } 06:32:44 $ docker exec --env ******** --env ******** 76f3c7de88199fe7331d06c2da2369299ead12b14776041abedef191c281d9e3 ssh-agent -k 06:32:44 unset SSH_AUTH_SOCK; 06:32:44 unset SSH_AGENT_PID; 06:32:44 echo Agent pid 16 killed; 06:32:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:32:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:32:44 [ssh-agent] Looking for ssh-agent implementation... 06:32:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:32:44 $ docker exec 76f3c7de88199fe7331d06c2da2369299ead12b14776041abedef191c281d9e3 ssh-agent 06:32:44 SSH_AUTH_SOCK=/tmp/ssh-DSHozGZyYm4a/agent.45 06:32:44 SSH_AGENT_PID=51 06:32:44 Running ssh-add (command line suppressed) 06:32:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/private_key_2917122561580310998.key (/w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/private_key_2917122561580310998.key) 06:32:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:32:45 + git semver init 06:32:45 # -> Open(): unable to determine branch for HEAD 06:32:45 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-645/.git 06:32:45 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-645 06:32:45 # $SEMVER_REMOTE_NAME = origin 06:32:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:32:45 # $SEMVER_USER_NAME = edgex-jenkins 06:32:45 # $SEMVER_BRANCH = PR-645 06:32:45 # $SEMVER_TEMP = /tmp/semver-071447027 06:32:45 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:32:45 # '/tmp/semver-071447027' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-645/.semver' 06:32:45 # -> Force: false 06:32:45 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-645/.semver [Pipeline] } 06:32:46 $ docker exec --env ******** --env ******** 76f3c7de88199fe7331d06c2da2369299ead12b14776041abedef191c281d9e3 ssh-agent -k 06:32:46 unset SSH_AUTH_SOCK; 06:32:46 unset SSH_AGENT_PID; 06:32:46 echo Agent pid 51 killed; 06:32:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:32:46 + git semver [Pipeline] } 06:32:46 $ docker stop --time=1 76f3c7de88199fe7331d06c2da2369299ead12b14776041abedef191c281d9e3 06:32:48 $ docker rm -f 76f3c7de88199fe7331d06c2da2369299ead12b14776041abedef191c281d9e3 [Pipeline] // withDockerContainer [Pipeline] sh 06:32:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:32:49 Stashed 1 file(s) [Pipeline] echo 06:32:49 [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:33:05 Still waiting to schedule task 06:33:05 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:33:05 Still waiting to schedule task 06:33:05 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:34:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-9443 in /w/workspace/dgexfoundry_device-sdk-go_PR-645 [Pipeline] { [Pipeline] ws 06:34:57 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:35:02 using credential edgex-jenkins-ssh 06:35:02 Cloning the remote Git repository 06:35:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:35:02 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:35:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:35:02 > git --version # timeout=10 06:35:02 > git --version # 'git version 2.17.1' 06:35:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:35:04 Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit ee875456f6072c1d2ed9eb5d05418b5d5698d85a 06:35:04 Merge succeeded, producing ee875456f6072c1d2ed9eb5d05418b5d5698d85a 06:35:04 Checking out Revision ee875456f6072c1d2ed9eb5d05418b5d5698d85a (PR-645) 06:35:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:35:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:35:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:35:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:35:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/645/head:refs/remotes/origin/PR-645 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:35:04 > git config core.sparsecheckout # timeout=10 06:35:04 > git checkout -f ee875456f6072c1d2ed9eb5d05418b5d5698d85a # timeout=10 06:35:04 > git remote # timeout=10 06:35:04 > git config --get remote.origin.url # timeout=10 06:35:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:04 > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 06:35:04 > git rev-parse HEAD^{commit} # timeout=10 06:35:04 > git config core.sparsecheckout # timeout=10 06:35:04 > git checkout -f ee875456f6072c1d2ed9eb5d05418b5d5698d85a # timeout=10 06:35:09 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 06:35:09 > git --version # timeout=10 06:35:09 > git --version # 'git version 2.17.1' 06:35:09 fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:35:10 ========================================================= 06:35:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:35:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:35:11 + 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:35:12 Sending build context to Docker daemon 2.348MB 06:35:12 Step 1/8 : ARG BASE=golang:1.15-alpine 06:35:12 Step 2/8 : FROM ${BASE} 06:35:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:35:12 b538f80385f9: Pulling fs layer 06:35:12 74f711af9a0d: Pulling fs layer 06:35:12 99f96fe45779: Pulling fs layer 06:35:12 8529a6b9a6be: Pulling fs layer 06:35:12 45590311c82a: Pulling fs layer 06:35:12 69ca0ff8b7b3: Pulling fs layer 06:35:12 209524e5b208: Pulling fs layer 06:35:12 8529a6b9a6be: Waiting 06:35:12 45590311c82a: Waiting 06:35:12 69ca0ff8b7b3: Waiting 06:35:12 209524e5b208: Waiting 06:35:12 99f96fe45779: Verifying Checksum 06:35:12 99f96fe45779: Download complete 06:35:12 74f711af9a0d: Download complete 06:35:12 45590311c82a: Verifying Checksum 06:35:12 45590311c82a: Download complete 06:35:12 69ca0ff8b7b3: Verifying Checksum 06:35:12 69ca0ff8b7b3: Download complete 06:35:12 b538f80385f9: Verifying Checksum 06:35:12 b538f80385f9: Download complete 06:35:13 b538f80385f9: Pull complete 06:35:14 74f711af9a0d: Pull complete 06:35:14 99f96fe45779: Pull complete 06:35:15 209524e5b208: Verifying Checksum 06:35:15 209524e5b208: Download complete 06:35:16 8529a6b9a6be: Verifying Checksum 06:35:16 8529a6b9a6be: Download complete 06:35:26 8529a6b9a6be: Pull complete 06:35:27 45590311c82a: Pull complete 06:35:27 69ca0ff8b7b3: Pull complete 06:35:31 209524e5b208: Pull complete 06:35:31 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:35:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:35:31 ---> 5bddaf1c2fca 06:35:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:35:34 ---> Running in 3ae58d1c91bc 06:35:35 Removing intermediate container 3ae58d1c91bc 06:35:35 ---> c83f8244ab0e 06:35:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:35:35 ---> Running in 5430a2aba299 06:35:39 Removing intermediate container 5430a2aba299 06:35:39 ---> 21d653945e56 06:35:39 Step 5/8 : RUN apk add --no-cache make git 06:35:40 ---> Running in 7f8966e98664 06:35:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:35:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:35:43 OK: 142 MiB in 39 packages 06:35:45 Removing intermediate container 7f8966e98664 06:35:45 ---> 1cd2b4586d50 06:35:45 Step 6/8 : WORKDIR /device-sdk-go 06:35:46 ---> Running in dd879b5bc7c6 06:35:47 Removing intermediate container dd879b5bc7c6 06:35:47 ---> d9b7d1842241 06:35:47 Step 7/8 : COPY . . 06:35:49 ---> 26c6d039833f 06:35:49 Step 8/8 : RUN go mod download 06:35:49 ---> Running in 6ccbe397655c 06:35:52 Running on prd-centos7-docker-4c-2g-9444 in /w/workspace/dgexfoundry_device-sdk-go_PR-645 [Pipeline] { [Pipeline] ws 06:35:52 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:35:56 using credential edgex-jenkins-ssh 06:35:56 Cloning the remote Git repository 06:35:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:35:56 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:35:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:35:56 > git --version # timeout=10 06:35:56 > git --version # 'git version 2.16.5' 06:35:56 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:35:57 Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit ee875456f6072c1d2ed9eb5d05418b5d5698d85a 06:35:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:35:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:35:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:35:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:35:57 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/645/head:refs/remotes/origin/PR-645 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:35:57 > git config core.sparsecheckout # timeout=10 06:35:57 > git checkout -f ee875456f6072c1d2ed9eb5d05418b5d5698d85a # timeout=10 06:35:57 > git remote # timeout=10 06:35:57 > git config --get remote.origin.url # timeout=10 06:35:57 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:57 > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 06:35:57 Merge succeeded, producing ee875456f6072c1d2ed9eb5d05418b5d5698d85a 06:35:57 Checking out Revision ee875456f6072c1d2ed9eb5d05418b5d5698d85a (PR-645) 06:35:57 > git rev-parse HEAD^{commit} # timeout=10 06:35:57 > git config core.sparsecheckout # timeout=10 06:35:57 > git checkout -f ee875456f6072c1d2ed9eb5d05418b5d5698d85a # timeout=10 06:36:01 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 06:36:01 > git --version # timeout=10 06:36:01 > git --version # 'git version 2.16.5' 06:36:01 fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:36:02 ========================================================= 06:36:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:36:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:36:03 + 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:36:03 Sending build context to Docker daemon 2.345MB 06:36:03 Step 1/8 : ARG BASE=golang:1.15-alpine 06:36:03 Step 2/8 : FROM ${BASE} 06:36:03 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:36:03 df20fa9351a1: Pulling fs layer 06:36:03 ed8968b2872e: Pulling fs layer 06:36:03 a92cc7c5fd73: Pulling fs layer 06:36:03 e871e8e8d7a9: Pulling fs layer 06:36:03 e73272ec9a57: Pulling fs layer 06:36:03 1e910a182e73: Pulling fs layer 06:36:03 4e634b169226: Pulling fs layer 06:36:03 e73272ec9a57: Waiting 06:36:03 1e910a182e73: Waiting 06:36:03 4e634b169226: Waiting 06:36:03 e871e8e8d7a9: Waiting 06:36:03 a92cc7c5fd73: Verifying Checksum 06:36:03 a92cc7c5fd73: Download complete 06:36:03 ed8968b2872e: Verifying Checksum 06:36:03 ed8968b2872e: Download complete 06:36:03 e73272ec9a57: Verifying Checksum 06:36:03 e73272ec9a57: Download complete 06:36:03 1e910a182e73: Verifying Checksum 06:36:03 1e910a182e73: Download complete 06:36:03 df20fa9351a1: Verifying Checksum 06:36:03 df20fa9351a1: Download complete 06:36:04 df20fa9351a1: Pull complete 06:36:04 ed8968b2872e: Pull complete 06:36:04 a92cc7c5fd73: Pull complete 06:36:05 4e634b169226: Verifying Checksum 06:36:05 4e634b169226: Download complete 06:36:06 e871e8e8d7a9: Verifying Checksum 06:36:06 e871e8e8d7a9: Download complete 06:36:11 e871e8e8d7a9: Pull complete 06:36:11 e73272ec9a57: Pull complete 06:36:11 1e910a182e73: Pull complete 06:36:16 Removing intermediate container 6ccbe397655c 06:36:16 ---> ddf3d96994a1 06:36:16 Successfully built ddf3d96994a1 06:36:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:36:17 + docker inspect -f . ci-base-image-arm64 06:36:17 . [Pipeline] withDockerContainer 06:36:17 prd-ubuntu18.04-docker-arm64-4c-16g-9443 does not seem to be running inside a container 06:36:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 06:36:19 4e634b169226: Pull complete 06:36:19 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:36:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:36:19 ---> f7629b54cfaa 06:36:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:36:19 ---> Running in 71b73970842c 06:36:19 Removing intermediate container 71b73970842c 06:36:19 ---> a53ff16b116f 06:36:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:36:19 ---> Running in 69ef9e241920 06:36:19 $ docker top 6739552c631bbda62182c05efa1a81a858c9a97a0911d53338c83fd635d49dd0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:21 Removing intermediate container 69ef9e241920 06:36:21 ---> a325d50a29c8 06:36:21 Step 5/8 : RUN apk add --no-cache make git 06:36:21 ---> Running in bcd97d3a6373 06:36:21 + go version 06:36:21 go version go1.15.2 linux/arm64 [Pipeline] } 06:36:21 $ docker stop --time=1 6739552c631bbda62182c05efa1a81a858c9a97a0911d53338c83fd635d49dd0 06:36:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:36:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:36:22 OK: 166 MiB in 39 packages 06:36:23 Removing intermediate container bcd97d3a6373 06:36:23 ---> 753fb880ab6a 06:36:23 Step 6/8 : WORKDIR /device-sdk-go 06:36:23 ---> Running in 5c0858e3b5e1 06:36:23 $ docker rm -f 6739552c631bbda62182c05efa1a81a858c9a97a0911d53338c83fd635d49dd0 06:36:23 Removing intermediate container 5c0858e3b5e1 06:36:23 ---> 905941668689 06:36:23 Step 7/8 : COPY . . [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:36:25 + docker inspect -f . ci-base-image-arm64 06:36:25 . [Pipeline] withDockerContainer 06:36:25 ---> 4fbd0555a01e 06:36:25 Step 8/8 : RUN go mod download 06:36:25 ---> Running in bcfd9bd8facd 06:36:25 prd-ubuntu18.04-docker-arm64-4c-16g-9443 does not seem to be running inside a container 06:36:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 06:36:28 $ docker top 830e16b6c4527177b7c8b594d1d30e224adbeedd0829e05250b70e415c650e5b -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:29 + make test 06:36:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:36:43 Removing intermediate container bcfd9bd8facd 06:36:43 ---> c2801762beff 06:36:43 Successfully built c2801762beff 06:36:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:36:43 + docker inspect -f . ci-base-image-x86_64 06:36:43 . [Pipeline] withDockerContainer 06:36:44 prd-centos7-docker-4c-2g-9444 does not seem to be running inside a container 06:36:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 06:36:44 $ docker top f1c518ab28c9b3df296b25f456d9487f82359d6580f49dedbf9f01fc01e4e2dc -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:45 + go version 06:36:45 go version go1.15.2 linux/amd64 [Pipeline] } 06:36:45 $ docker stop --time=1 f1c518ab28c9b3df296b25f456d9487f82359d6580f49dedbf9f01fc01e4e2dc 06:36:46 $ docker rm -f f1c518ab28c9b3df296b25f456d9487f82359d6580f49dedbf9f01fc01e4e2dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:36:47 + docker inspect -f . ci-base-image-x86_64 06:36:47 . [Pipeline] withDockerContainer 06:36:48 prd-centos7-docker-4c-2g-9444 does not seem to be running inside a container 06:36:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 06:36:49 $ docker top ea61022c4af94474addfdeaa1883fba5395aa868f7891bd494445c42d70e8f64 -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:49 + make test 06:36:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:36:51 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:36:56 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:37:11 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:37:11 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:37:11 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:37:11 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.070s coverage: 21.4% of statements 06:37:13 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.451s coverage: 97.1% of statements 06:37:30 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:37:30 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:37:30 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:37:30 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.132s coverage: 21.4% of statements 06:37:33 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.200s coverage: 97.1% of statements 06:37:45 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements 06:37:45 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.9% of statements 06:37:45 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:37:45 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.215s coverage: 42.6% of statements 06:37:45 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:37:45 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.277s coverage: 68.9% of statements 06:37:45 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:37:45 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:37:45 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:37:45 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:37:45 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 06:37:45 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:37:45 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:37:45 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:37:45 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.474s coverage: 68.9% of statements 06:37:45 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.7% of statements 06:37:45 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:37:45 GO111MODULE=on go vet ./... 06:37:52 gofmt -l . 06:37:52 [ "`gofmt -l .`" = "" ] 06:37:52 ./bin/test-attribution-txt.sh 06:37:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:37:53 Stashed 1 file(s) [Pipeline] } 06:37:53 $ docker stop --time=1 ea61022c4af94474addfdeaa1883fba5395aa868f7891bd494445c42d70e8f64 06:37:55 $ docker rm -f ea61022c4af94474addfdeaa1883fba5395aa868f7891bd494445c42d70e8f64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:37:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:37:58 + ls -al . 06:37:58 total 208 06:37:58 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 28 06:37 . 06:37:58 drwxrwxr-x. 4 jenkins jenkins 28 Oct 28 06:35 .. 06:37:58 drwxrwxr-x. 2 jenkins jenkins 64 Oct 28 06:35 bin 06:37:58 -rw-r--r--. 1 jenkins jenkins 127611 Oct 28 06:37 coverage.out 06:37:58 -rw-rw-r--. 1 jenkins jenkins 936 Oct 28 06:35 Dockerfile.build 06:37:58 -rw-rw-r--. 1 jenkins jenkins 140 Oct 28 06:35 .dockerignore 06:37:58 drwxrwxr-x. 4 jenkins jenkins 48 Oct 28 06:35 example 06:37:58 drwxrwxr-x. 8 jenkins jenkins 179 Oct 28 06:36 .git 06:37:58 drwxrwxr-x. 2 jenkins jenkins 60 Oct 28 06:35 .github 06:37:58 -rw-rw-r--. 1 jenkins jenkins 138 Oct 28 06:35 .gitignore 06:37:58 -rw-r--r--. 1 jenkins jenkins 518 Oct 28 06:37 go.mod 06:37:58 -rw-r--r--. 1 jenkins jenkins 13739 Oct 28 06:37 go.sum 06:37:58 drwxrwxr-x. 15 jenkins jenkins 211 Oct 28 06:35 internal 06:37:58 -rw-rw-r--. 1 jenkins jenkins 901 Oct 28 06:35 Jenkinsfile 06:37:58 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 28 06:35 LICENSE 06:37:58 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 28 06:35 Makefile 06:37:58 drwxrwxr-x. 4 jenkins jenkins 26 Oct 28 06:35 openapi 06:37:58 drwxrwxr-x. 5 jenkins jenkins 50 Oct 28 06:35 pkg 06:37:58 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 28 06:35 README.md 06:37:58 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 28 06:35 RELEASE-NOTES.txt 06:37:58 drwxrwxr-x. 4 jenkins jenkins 54 Oct 28 06:35 snap 06:37:58 -rw-rw-r--. 1 jenkins jenkins 5 Oct 28 06:32 VERSION 06:37:58 -rw-rw-r--. 1 jenkins jenkins 222 Oct 28 06:35 version.go [Pipeline] isUnix [Pipeline] sh 06:37:58 + 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=ee875456f6072c1d2ed9eb5d05418b5d5698d85a --label arch=amd64 --label version=0.0.0 . 06:37:59 Sending build context to Docker daemon 2.473MB 06:37:59 Step 1/24 : ARG BASE=golang:1.15-alpine 06:37:59 Step 2/24 : FROM ${BASE} AS builder 06:37:59 ---> c2801762beff 06:37:59 Step 3/24 : ARG MAKE='make build' 06:37:59 ---> Running in 0f8a7e2e7649 06:37:59 Removing intermediate container 0f8a7e2e7649 06:37:59 ---> 126ecf037c48 06:37:59 Step 4/24 : WORKDIR /device-sdk-go 06:37:59 ---> Running in d4f87c12b97b 06:37:59 Removing intermediate container d4f87c12b97b 06:37:59 ---> 7ead1583b877 06:37:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:38:00 ---> Running in 8b5adb339abe 06:38:00 Removing intermediate container 8b5adb339abe 06:38:00 ---> 691e99725cd8 06:38:00 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:38:00 ---> Running in c60c83c2ad02 06:38:01 Removing intermediate container c60c83c2ad02 06:38:01 ---> 8f3425928bfd 06:38:01 Step 7/24 : RUN apk add --update --no-cache make git 06:38:01 ---> Running in b21cb44604b3 06:38:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:38:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:38:03 OK: 166 MiB in 39 packages 06:38:03 Removing intermediate container b21cb44604b3 06:38:03 ---> 44afd1572265 06:38:03 Step 8/24 : COPY . . 06:38:04 ---> e6c65c905d31 06:38:04 Step 9/24 : RUN ${MAKE} 06:38:04 ---> Running in af086fd63bb4 06:38:05 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:38:05 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.131s coverage: 9.4% of statements 06:38:05 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.113s coverage: 21.9% of statements 06:38:05 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:38:05 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.622s coverage: 42.6% of statements 06:38:05 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:38:05 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.755s coverage: 68.9% of statements 06:38:05 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:38:05 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:38:05 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:38:05 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:38:05 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.193s coverage: 52.6% of statements 06:38:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:38:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:38:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:38:05 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.903s coverage: 68.9% of statements 06:38:05 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.7% of statements 06:38:05 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:38:05 GO111MODULE=on go vet ./... 06:38:13 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:38:14 Removing intermediate container af086fd63bb4 06:38:14 ---> 522e1a65ab6c 06:38:14 Step 10/24 : FROM scratch 06:38:14 ---> 06:38:14 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:38:15 ---> Running in 6b39c27fd3e4 06:38:15 Removing intermediate container 6b39c27fd3e4 06:38:15 ---> e1a18fa2ad0d 06:38:15 Step 12/24 : ENV APP_PORT=49990 06:38:15 ---> Running in 72045d9f7352 06:38:15 Removing intermediate container 72045d9f7352 06:38:15 ---> 667b364d5493 06:38:15 Step 13/24 : EXPOSE $APP_PORT 06:38:15 ---> Running in 3aa266479633 06:38:15 Removing intermediate container 3aa266479633 06:38:15 ---> 40e07fca2151 06:38:15 Step 14/24 : WORKDIR / 06:38:15 ---> Running in cf079ee03843 06:38:15 Removing intermediate container cf079ee03843 06:38:15 ---> c81edc62d979 06:38:15 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:38:16 ---> a1c8d411b198 06:38:16 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:38:16 ---> 3350e815d7cf 06:38:16 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:38:16 ---> 69641a74f755 06:38:16 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:38:16 ---> f77f1b886f1d 06:38:16 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:38:17 ---> f58586a5c1f7 06:38:17 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:38:17 ---> Running in dd8c5e755aa0 06:38:17 Removing intermediate container dd8c5e755aa0 06:38:17 ---> 01271b253b5c 06:38:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:38:17 ---> Running in 87aab5bedca8 06:38:17 Removing intermediate container 87aab5bedca8 06:38:17 ---> cab630541f88 06:38:17 Step 22/24 : LABEL arch=amd64 06:38:17 ---> Running in 9ae1a7174a02 06:38:17 Removing intermediate container 9ae1a7174a02 06:38:17 ---> 542ba7f83aaa 06:38:17 Step 23/24 : LABEL git_sha=ee875456f6072c1d2ed9eb5d05418b5d5698d85a 06:38:18 ---> Running in 0fd88244688d 06:38:18 Removing intermediate container 0fd88244688d 06:38:18 ---> 90742a795f3e 06:38:18 Step 24/24 : LABEL version=0.0.0 06:38:18 ---> Running in 615aa134c526 06:38:18 Removing intermediate container 615aa134c526 06:38:18 ---> 0eec3269edab 06:38:18 [Warning] One or more build-args [ARCH] were not consumed 06:38:18 Successfully built 0eec3269edab 06:38:18 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:38:32 gofmt -l . 06:38:32 [ "`gofmt -l .`" = "" ] 06:38:33 ./bin/test-attribution-txt.sh 06:38:34 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:38:34 Warning: overwriting stash ‘coverage-report’ 06:38:35 Stashed 1 file(s) [Pipeline] } 06:38:35 $ docker stop --time=1 830e16b6c4527177b7c8b594d1d30e224adbeedd0829e05250b70e415c650e5b 06:38:37 $ docker rm -f 830e16b6c4527177b7c8b594d1d30e224adbeedd0829e05250b70e415c650e5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:38:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:38:40 + ls -al . 06:38:40 total 244 06:38:40 drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 06:38 . 06:38:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 06:35 .. 06:38:40 -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 06:35 .dockerignore 06:38:40 drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 06:35 .git 06:38:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 06:35 .github 06:38:40 -rw-rw-r-- 1 jenkins jenkins 138 Oct 28 06:35 .gitignore 06:38:40 -rw-rw-r-- 1 jenkins jenkins 936 Oct 28 06:35 Dockerfile.build 06:38:40 -rw-rw-r-- 1 jenkins jenkins 901 Oct 28 06:35 Jenkinsfile 06:38:40 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 28 06:35 LICENSE 06:38:40 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 28 06:35 Makefile 06:38:40 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 28 06:35 README.md 06:38:40 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 28 06:35 RELEASE-NOTES.txt 06:38:40 -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 06:32 VERSION 06:38:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 06:35 bin 06:38:40 -rw-r--r-- 1 jenkins jenkins 127611 Oct 28 06:38 coverage.out 06:38:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 06:35 example 06:38:40 -rw-r--r-- 1 jenkins jenkins 518 Oct 28 06:38 go.mod 06:38:40 -rw-r--r-- 1 jenkins jenkins 13739 Oct 28 06:38 go.sum 06:38:40 drwxrwxr-x 15 jenkins jenkins 4096 Oct 28 06:35 internal 06:38:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 06:35 openapi 06:38:40 drwxrwxr-x 5 jenkins jenkins 4096 Oct 28 06:35 pkg 06:38:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 06:35 snap 06:38:40 -rw-rw-r-- 1 jenkins jenkins 222 Oct 28 06:35 version.go [Pipeline] isUnix [Pipeline] sh 06:38:40 + 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=ee875456f6072c1d2ed9eb5d05418b5d5698d85a --label arch=arm64 --label version=0.0.0 . 06:38:41 Sending build context to Docker daemon 2.476MB 06:38:41 Step 1/24 : ARG BASE=golang:1.15-alpine 06:38:41 Step 2/24 : FROM ${BASE} AS builder 06:38:41 ---> ddf3d96994a1 06:38:41 Step 3/24 : ARG MAKE='make build' 06:38:41 ---> Running in 77c6e7770420 06:38:41 Removing intermediate container 77c6e7770420 06:38:41 ---> e02918f1ba30 06:38:41 Step 4/24 : WORKDIR /device-sdk-go 06:38:41 ---> Running in e4a339801823 06:38:42 Removing intermediate container e4a339801823 06:38:42 ---> 51cb8e7fcd9a 06:38:42 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:38:42 ---> Running in 957f060748e3 06:38:43 Removing intermediate container 957f060748e3 06:38:43 ---> b1be09be6b05 06:38:43 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:38:43 ---> Running in 581fbc2781c1 06:38:45 Removing intermediate container 581fbc2781c1 06:38:45 ---> 0d2fad1b963b 06:38:45 Step 7/24 : RUN apk add --update --no-cache make git 06:38:45 ---> Running in 76ece60f5791 06:38:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:38:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:38:48 OK: 142 MiB in 39 packages 06:38:49 Removing intermediate container 76ece60f5791 06:38:49 ---> 6b8855fe5a4f 06:38:49 Step 8/24 : COPY . . 06:38:50 ---> 7fa472d77fd2 06:38:50 Step 9/24 : RUN ${MAKE} 06:38:50 ---> Running in d08c2e5a85cc 06:38:52 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:39:19 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:39:19 Removing intermediate container d08c2e5a85cc 06:39:19 ---> 45a56b0c6779 06:39:19 Step 10/24 : FROM scratch 06:39:19 ---> 06:39:19 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:39:19 ---> Running in cdc277b5f345 06:39:20 Removing intermediate container cdc277b5f345 06:39:20 ---> 86223daf213f 06:39:20 Step 12/24 : ENV APP_PORT=49990 06:39:20 ---> Running in 58b8888bba9c 06:39:20 Removing intermediate container 58b8888bba9c 06:39:20 ---> de1bd2a5e776 06:39:20 Step 13/24 : EXPOSE $APP_PORT 06:39:20 ---> Running in e14e6e53983f 06:39:20 Removing intermediate container e14e6e53983f 06:39:20 ---> c36172fe8b13 06:39:20 Step 14/24 : WORKDIR / 06:39:21 ---> Running in 035d26fe5fc2 06:39:21 Removing intermediate container 035d26fe5fc2 06:39:21 ---> 3b4ff04dcdf6 06:39:21 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:39:22 ---> 244678d24da2 06:39:22 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:39:23 ---> 4bcee981e4e1 06:39:23 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:39:24 ---> c4c52dcaeec4 06:39:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:39:25 ---> 51d09d7068ac 06:39:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:39:25 ---> 4d64ae4aea72 06:39:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:39:25 ---> Running in 1bd63c612758 06:39:26 Removing intermediate container 1bd63c612758 06:39:26 ---> f03f64bccb78 06:39:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:39:26 ---> Running in ba0ad53b714b 06:39:26 Removing intermediate container ba0ad53b714b 06:39:26 ---> cb1fbf9ff1d7 06:39:26 Step 22/24 : LABEL arch=arm64 06:39:26 ---> Running in ae178c78219a 06:39:27 Removing intermediate container ae178c78219a 06:39:27 ---> f501eceddfa4 06:39:27 Step 23/24 : LABEL git_sha=ee875456f6072c1d2ed9eb5d05418b5d5698d85a 06:39:27 ---> Running in 6f3f2de7d9ef 06:39:27 Removing intermediate container 6f3f2de7d9ef 06:39:27 ---> c6a4e851381a 06:39:27 Step 24/24 : LABEL version=0.0.0 06:39:27 ---> Running in 0313a9b131aa 06:39:28 Removing intermediate container 0313a9b131aa 06:39:28 ---> c51d93466ca8 06:39:28 [Warning] One or more build-args [ARCH] were not consumed 06:39:28 Successfully built c51d93466ca8 06:39:28 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 06:39:31 provisioning config files... 06:39:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/config3770911235981055691tmp [Pipeline] { [Pipeline] sh 06:39:31 + set +x 06:39:31 + curl -s https://codecov.io/bash 06:39:31 + bash -s -- 06:39:32 06:39:32 _____ _ 06:39:32 / ____| | | 06:39:32 | | ___ __| | ___ ___ _____ __ 06:39:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:39:32 | |___| (_) | (_| | __/ (_| (_) \ V / 06:39:32 \_____\___/ \__,_|\___|\___\___/ \_/ 06:39:32 Bash-20201009-048fee3 06:39:32 06:39:32 06:39:32 ==> Jenkins CI detected. 06:39:32 project root: . 06:39:32 --> token set from env 06:39:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:39:32 ==> Running gcov in . (disable via -X gcov) 06:39:32 ==> Python coveragepy not found 06:39:32 ==> Searching for coverage reports in: 06:39:32 + . 06:39:32 -> Found 1 reports 06:39:32 ==> Detecting git/mercurial file structure 06:39:32 ==> Reading reports 06:39:32 + ./coverage.out bytes=127611 06:39:32 ==> Appending adjustments 06:39:32 https://docs.codecov.io/docs/fixing-reports 06:39:33 + Found adjustments 06:39:33 ==> Gzipping contents 06:39:33 ==> Uploading reports 06:39:33 url: https://codecov.io 06:39:33 query: branch=PR-645&commit=ee875456f6072c1d2ed9eb5d05418b5d5698d85a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-645%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=645&job=&cmd_args= 06:39:33 -> Pinging Codecov 06:39:33 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-645&commit=ee875456f6072c1d2ed9eb5d05418b5d5698d85a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-645%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=645&job=&cmd_args= 06:39:33 -> Uploading to 06:39:33 06:39:33 % Total % Received % Xferd Average Speed Time Time Time Current 06:39:33 Dload Upload Total Spent Left Speed 06:39:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:39:33 X> Failed to upload 06:39:33 ==> Uploading to Codecov 06:39:33 % Total % Received % Xferd Average Speed Time Time Time Current 06:39:33 Dload Upload Total Spent Left Speed 06:39:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20949 100 110 100 20839 227 43114 --:--:-- --:--:-- --:--:-- 43144 06:39:33 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ee875456f6072c1d2ed9eb5d05418b5d5698d85a [Pipeline] } 06:39:33 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 06:39:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:39:38 ---> package-listing.sh 06:39:38 ++ facter osfamily 06:39:38 ++ tr '[:upper:]' '[:lower:]' 06:39:38 + OS_FAMILY=redhat 06:39:38 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-645 06:39:38 + START_PACKAGES=/tmp/packages_start.txt 06:39:38 + END_PACKAGES=/tmp/packages_end.txt 06:39:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:39:38 + PACKAGES=/tmp/packages_start.txt 06:39:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-645 ']' 06:39:38 + PACKAGES=/tmp/packages_end.txt 06:39:38 + case "${OS_FAMILY}" in 06:39:38 + rpm -qa 06:39:38 + sort 06:39:42 + '[' -f /tmp/packages_start.txt ']' 06:39:42 + '[' -f /tmp/packages_end.txt ']' 06:39:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:39:42 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-645 ']' 06:39:42 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-645/archives/ 06:39:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-645/archives/ [Pipeline] echo 06:39:42 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-645/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:39:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:39:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:39:43 06:39:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:39:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:39:43 alpine: Pulling from edgex-lftools-log-publisher 06:39:43 df20fa9351a1: Pulling fs layer 06:39:43 36b3adc4ff6f: Pulling fs layer 06:39:43 8ad3a11d3b57: Pulling fs layer 06:39:43 46f8f816bc3b: Pulling fs layer 06:39:43 93b61091891f: Pulling fs layer 06:39:43 93b9cdb0e59b: Pulling fs layer 06:39:43 5e14af77c1be: Pulling fs layer 06:39:43 01666e4c0597: Pulling fs layer 06:39:43 aa168da1d23b: Pulling fs layer 06:39:43 46f8f816bc3b: Waiting 06:39:43 93b9cdb0e59b: Waiting 06:39:43 5e14af77c1be: Waiting 06:39:43 93b61091891f: Waiting 06:39:43 01666e4c0597: Waiting 06:39:43 aa168da1d23b: Waiting 06:39:43 36b3adc4ff6f: Verifying Checksum 06:39:43 36b3adc4ff6f: Download complete 06:39:43 46f8f816bc3b: Verifying Checksum 06:39:43 46f8f816bc3b: Download complete 06:39:43 df20fa9351a1: Verifying Checksum 06:39:43 df20fa9351a1: Download complete 06:39:44 93b9cdb0e59b: Verifying Checksum 06:39:44 93b9cdb0e59b: Download complete 06:39:44 93b61091891f: Download complete 06:39:44 5e14af77c1be: Verifying Checksum 06:39:44 5e14af77c1be: Download complete 06:39:44 01666e4c0597: Verifying Checksum 06:39:44 01666e4c0597: Download complete 06:39:44 8ad3a11d3b57: Verifying Checksum 06:39:44 8ad3a11d3b57: Download complete 06:39:44 df20fa9351a1: Pull complete 06:39:44 36b3adc4ff6f: Pull complete 06:39:45 8ad3a11d3b57: Pull complete 06:39:45 46f8f816bc3b: Pull complete 06:39:45 93b61091891f: Pull complete 06:39:46 aa168da1d23b: Verifying Checksum 06:39:46 aa168da1d23b: Download complete 06:39:46 93b9cdb0e59b: Pull complete 06:39:46 5e14af77c1be: Pull complete 06:39:46 01666e4c0597: Pull complete 06:39:53 aa168da1d23b: Pull complete 06:39:53 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:39:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:39:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:39:53 prd-centos7-docker-4c-2g-9442 does not seem to be running inside a container 06:39:53 $ 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-645/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-645 -v /w/workspace/dgexfoundry_device-sdk-go_PR-645:/w/workspace/dgexfoundry_device-sdk-go_PR-645:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:40:00 $ docker top 723c30c93f91077c3aec7e8509b92360fd8bd5ca12ce4469dd8119cb23a65acb -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:01 + touch /tmp/pre-build-complete [Pipeline] sh 06:40:01 + mkdir -p /var/log/sa [Pipeline] sh 06:40:02 + ls /var/log/sa-host 06:40:02 + sadf -c /var/log/sa-host/sa05 06:40:02 file_magic: OK 06:40:02 HZ: Using current value: 100 06:40:02 file_header: OK 06:40:02 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 06:40:02 Statistics: 06:40:02 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:40:02 File successfully converted to sysstat format version 12.2.1 06:40:02 + sadf -c /var/log/sa-host/sa28 06:40:02 file_magic: OK 06:40:02 HZ: Using current value: 100 06:40:02 file_header: OK 06:40:02 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 06:40:02 Statistics: 06:40:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:40:02 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:40:02 provisioning config files... 06:40:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/config7916873063278733796tmp [Pipeline] { [Pipeline] echo 06:40:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:40:03 ---> create-netrc.sh [Pipeline] } 06:40:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:40:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:40:03 ---> python-tools-install.sh [Pipeline] echo 06:40:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:40:04 ---> sudo-logs.sh 06:40:04 Archiving 'sudo' log.. [Pipeline] echo 06:40:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:40:04 ---> job-cost.sh 06:40:04 lf-activate-venv: SKIPPING 06:40:04 INFO: No Stack... 06:40:05 INFO: Retrieving Pricing Info for: v1-standard-2 06:40:06 INFO: Archiving Costs [Pipeline] echo 06:40:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:40:06 ---> logs-deploy.sh 06:40:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-645/1 06:40:06 INFO: archiving workspace using pattern(s): 06:40:09 Archives upload complete. 06:40:09 INFO: archiving logs to Nexus 06:40:09 ---> uname -a: 06:40:09 Linux prd-centos7-docker-4c-2g-9442.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 06:40:09 06:40:09