Pull request #628 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e2910eae30c90f31d7fa9147c6880f90b3bc1d16+abee7d5846637e135dd277469e99a0143c7ff265 (a9ddd374926425c94cafab3834e7a3482e24f945) 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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-628/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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f fc09f7fe5f69055b0e322e50b0bb9debbc716db4 # timeout=10 Commit message: "Merge pull request #271 from ernestojeda/documentation-changes" > 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-628/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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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-5586 in /w/workspace/dgexfoundry_device-sdk-go_PR-628 [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-628 # 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/628/head:refs/remotes/origin/PR-628 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit e2910eae30c90f31d7fa9147c6880f90b3bc1d16 Merge succeeded, producing e2910eae30c90f31d7fa9147c6880f90b3bc1d16 Checking out Revision e2910eae30c90f31d7fa9147c6880f90b3bc1d16 (PR-628) > git config core.sparsecheckout # timeout=10 > git checkout -f e2910eae30c90f31d7fa9147c6880f90b3bc1d16 # 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 abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2910eae30c90f31d7fa9147c6880f90b3bc1d16 # timeout=10 Commit message: "feat(sdk): start auto-discovery upon service startup" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-15T09:13:42.349Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-15T09:13:42.697Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-15T09:13:42.944Z] ========================================================= [2020-10-15T09:13:42.944Z] EdgeX Global Pipelines Version Info [2020-10-15T09:13:42.944Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-15T09:13:44.889Z] ------------------- [2020-10-15T09:13:44.889Z] stable info: [2020-10-15T09:13:44.889Z] ------------------- [2020-10-15T09:13:44.889Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-15T09:13:44.889Z] Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [2020-10-15T09:13:44.889Z] Message: update stable to v1.0.142 [2020-10-15T09:13:45.466Z] ------------------- [2020-10-15T09:13:45.466Z] experimental info: [2020-10-15T09:13:45.467Z] ------------------- [2020-10-15T09:13:45.467Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-15T09:13:45.467Z] Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 [2020-10-15T09:13:45.467Z] Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-15T09:13:45.999Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-15T09:13:46.165Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-15T09:13:46.299Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-15T09:13:46.431Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-15T09:13:46.562Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-15T09:13:46.689Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-15T09:13:46.818Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-15T09:13:46.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-15T09:13:47.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-15T09:13:47.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-15T09:13:47.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-15T09:13:47.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-15T09:13:47.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-15T09:13:47.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-15T09:13:47.951Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-15T09:13:48.090Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T09:13:48.221Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T09:13:48.406Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T09:13:48.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-15T09:13:48.684Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-15T09:13:48.841Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-15T09:13:48.970Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-15T09:13:49.121Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-15T09:13:49.281Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-15T09:13:49.441Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-15T09:13:49.601Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-628 [Pipeline] echo [2020-10-15T09:13:49.768Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-628 [Pipeline] echo [2020-10-15T09:13:49.935Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-628 [Pipeline] echo [2020-10-15T09:13:50.105Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2910eae30c90f31d7fa9147c6880f90b3bc1d16 [Pipeline] echo [2020-10-15T09:13:50.326Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2910ea [Pipeline] echo [2020-10-15T09:13:50.477Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T09:13:51.331Z] + git log --format=format:%s -1 e2910eae30c90f31d7fa9147c6880f90b3bc1d16 [Pipeline] echo [2020-10-15T09:13:51.412Z] GIT_COMMIT: e2910eae30c90f31d7fa9147c6880f90b3bc1d16, Commit Message: feat(sdk): start auto-discovery upon service startup [Pipeline] echo [2020-10-15T09:13:51.489Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-15T09:13:52.561Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T09:13:52.823Z] [2020-10-15T09:13:52.823Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T09:13:53.217Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T09:13:53.217Z] latest: Pulling from edgex-devops/git-semver [2020-10-15T09:13:53.217Z] 31603596830f: Pulling fs layer [2020-10-15T09:13:53.217Z] 2a8b12db71e7: Pulling fs layer [2020-10-15T09:13:53.217Z] 6ca5941a6612: Pulling fs layer [2020-10-15T09:13:53.217Z] ecc8261a40a4: Pulling fs layer [2020-10-15T09:13:53.217Z] 2a8b12db71e7: Verifying Checksum [2020-10-15T09:13:53.217Z] 2a8b12db71e7: Download complete [2020-10-15T09:13:53.481Z] 31603596830f: Download complete [2020-10-15T09:13:53.481Z] ecc8261a40a4: Verifying Checksum [2020-10-15T09:13:53.481Z] ecc8261a40a4: Download complete [2020-10-15T09:13:53.747Z] 6ca5941a6612: Verifying Checksum [2020-10-15T09:13:53.747Z] 6ca5941a6612: Download complete [2020-10-15T09:13:53.747Z] 31603596830f: Pull complete [2020-10-15T09:13:54.010Z] 2a8b12db71e7: Pull complete [2020-10-15T09:13:54.960Z] 6ca5941a6612: Pull complete [2020-10-15T09:13:54.960Z] ecc8261a40a4: Pull complete [2020-10-15T09:13:54.960Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-15T09:13:54.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T09:13:54.960Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-15T09:13:55.124Z] prd-centos7-docker-4c-2g-5586 does not seem to be running inside a container [2020-10-15T09:13:55.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-628 -v /w/workspace/dgexfoundry_device-sdk-go_PR-628:/w/workspace/dgexfoundry_device-sdk-go_PR-628:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-628@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 [2020-10-15T09:13:57.266Z] $ docker top 4e0938a89958a11c21793c3988171a3ca3576b7d60ec1caefc3a87d8e6660979 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-15T09:13:57.682Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T09:13:57.682Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T09:13:57.892Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T09:13:57.896Z] $ docker exec 4e0938a89958a11c21793c3988171a3ca3576b7d60ec1caefc3a87d8e6660979 ssh-agent [2020-10-15T09:13:58.052Z] SSH_AUTH_SOCK=/tmp/ssh-0AdhUgDCboqD/agent.11 [2020-10-15T09:13:58.052Z] SSH_AGENT_PID=16 [2020-10-15T09:13:58.067Z] Running ssh-add (command line suppressed) [2020-10-15T09:13:58.188Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_8493595146338897653.key (/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_8493595146338897653.key) [2020-10-15T09:13:58.246Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T09:13:58.631Z] + git tag --points-at HEAD [Pipeline] } [2020-10-15T09:13:58.717Z] $ docker exec --env ******** --env ******** 4e0938a89958a11c21793c3988171a3ca3576b7d60ec1caefc3a87d8e6660979 ssh-agent -k [2020-10-15T09:13:58.832Z] unset SSH_AUTH_SOCK; [2020-10-15T09:13:58.833Z] unset SSH_AGENT_PID; [2020-10-15T09:13:58.833Z] echo Agent pid 16 killed; [2020-10-15T09:13:58.876Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-15T09:13:59.090Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T09:13:59.090Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T09:13:59.252Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T09:13:59.256Z] $ docker exec 4e0938a89958a11c21793c3988171a3ca3576b7d60ec1caefc3a87d8e6660979 ssh-agent [2020-10-15T09:13:59.416Z] SSH_AUTH_SOCK=/tmp/ssh-lQmvDQrJTz3F/agent.45 [2020-10-15T09:13:59.417Z] SSH_AGENT_PID=50 [2020-10-15T09:13:59.423Z] Running ssh-add (command line suppressed) [2020-10-15T09:13:59.540Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_1673446991440330368.key (/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_1673446991440330368.key) [2020-10-15T09:13:59.592Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T09:13:59.982Z] + git semver init [2020-10-15T09:13:59.982Z] # -> Open(): unable to determine branch for HEAD [2020-10-15T09:13:59.982Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-628/.git [2020-10-15T09:13:59.982Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-628 [2020-10-15T09:13:59.982Z] # $SEMVER_REMOTE_NAME = origin [2020-10-15T09:13:59.982Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-15T09:13:59.982Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-15T09:13:59.982Z] # $SEMVER_BRANCH = PR-628 [2020-10-15T09:13:59.982Z] # $SEMVER_TEMP = /tmp/semver-272162755 [2020-10-15T09:13:59.982Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-15T09:14:00.932Z] # '/tmp/semver-272162755' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-628/.semver' [2020-10-15T09:14:00.932Z] # -> Force: false [2020-10-15T09:14:00.932Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-628/.semver [Pipeline] } [2020-10-15T09:14:00.960Z] $ docker exec --env ******** --env ******** 4e0938a89958a11c21793c3988171a3ca3576b7d60ec1caefc3a87d8e6660979 ssh-agent -k [2020-10-15T09:14:01.107Z] unset SSH_AUTH_SOCK; [2020-10-15T09:14:01.107Z] unset SSH_AGENT_PID; [2020-10-15T09:14:01.107Z] echo Agent pid 50 killed; [2020-10-15T09:14:01.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-15T09:14:01.788Z] + git semver [Pipeline] } [2020-10-15T09:14:01.830Z] $ docker stop --time=1 4e0938a89958a11c21793c3988171a3ca3576b7d60ec1caefc3a87d8e6660979 [2020-10-15T09:14:03.184Z] $ docker rm -f 4e0938a89958a11c21793c3988171a3ca3576b7d60ec1caefc3a87d8e6660979 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-15T09:14:03.976Z] Stashed 1 file(s) [Pipeline] echo [2020-10-15T09:14:04.013Z] [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 [2020-10-15T09:14:19.935Z] Still waiting to schedule task [2020-10-15T09:14:19.935Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-15T09:14:19.966Z] Still waiting to schedule task [2020-10-15T09:14:19.966Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-15T09:16:14.259Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5587 in /w/workspace/dgexfoundry_device-sdk-go_PR-628 [Pipeline] { [Pipeline] ws [2020-10-15T09:16:14.385Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-15T09:16:19.423Z] using credential edgex-jenkins-ssh [2020-10-15T09:16:19.492Z] Cloning the remote Git repository [2020-10-15T09:16:19.559Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T09:16:19.671Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-15T09:16:19.740Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T09:16:19.741Z] > git --version # timeout=10 [2020-10-15T09:16:19.761Z] > git --version # 'git version 2.17.1' [2020-10-15T09:16:19.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T09:16:19.838Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T09:16:21.384Z] Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit e2910eae30c90f31d7fa9147c6880f90b3bc1d16 [2020-10-15T09:16:21.609Z] Merge succeeded, producing e2910eae30c90f31d7fa9147c6880f90b3bc1d16 [2020-10-15T09:16:21.610Z] Checking out Revision e2910eae30c90f31d7fa9147c6880f90b3bc1d16 (PR-628) [2020-10-15T09:16:20.762Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T09:16:20.782Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T09:16:20.805Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T09:16:20.836Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T09:16:20.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T09:16:20.848Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/628/head:refs/remotes/origin/PR-628 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-15T09:16:21.413Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T09:16:21.431Z] > git checkout -f e2910eae30c90f31d7fa9147c6880f90b3bc1d16 # timeout=10 [2020-10-15T09:16:21.545Z] > git remote # timeout=10 [2020-10-15T09:16:21.562Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T09:16:21.574Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T09:16:21.585Z] > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 [2020-10-15T09:16:21.606Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T09:16:21.628Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T09:16:21.643Z] > git checkout -f e2910eae30c90f31d7fa9147c6880f90b3bc1d16 # timeout=10 [2020-10-15T09:16:26.011Z] Commit message: "feat(sdk): start auto-discovery upon service startup" [2020-10-15T09:16:26.078Z] > git --version # timeout=10 [2020-10-15T09:16:26.102Z] > git --version # 'git version 2.17.1' [2020-10-15T09:16:26.118Z] fatal: bad object fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-15T09:16:27.330Z] ========================================================= [2020-10-15T09:16:27.330Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-15T09:16:27.330Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-15T09:16:28.372Z] + 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 . [2020-10-15T09:16:29.365Z] Sending build context to Docker daemon 2.313MB [2020-10-15T09:16:29.365Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T09:16:29.365Z] Step 2/8 : FROM ${BASE} [2020-10-15T09:16:29.646Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-15T09:16:29.646Z] b538f80385f9: Pulling fs layer [2020-10-15T09:16:29.646Z] 74f711af9a0d: Pulling fs layer [2020-10-15T09:16:29.646Z] 99f96fe45779: Pulling fs layer [2020-10-15T09:16:29.646Z] 8529a6b9a6be: Pulling fs layer [2020-10-15T09:16:29.646Z] 45590311c82a: Pulling fs layer [2020-10-15T09:16:29.646Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-15T09:16:29.646Z] 8529a6b9a6be: Waiting [2020-10-15T09:16:29.646Z] 209524e5b208: Pulling fs layer [2020-10-15T09:16:29.646Z] 45590311c82a: Waiting [2020-10-15T09:16:29.646Z] 69ca0ff8b7b3: Waiting [2020-10-15T09:16:29.646Z] 209524e5b208: Waiting [2020-10-15T09:16:29.646Z] 99f96fe45779: Download complete [2020-10-15T09:16:29.646Z] 74f711af9a0d: Verifying Checksum [2020-10-15T09:16:29.646Z] 74f711af9a0d: Download complete [2020-10-15T09:16:29.646Z] 45590311c82a: Verifying Checksum [2020-10-15T09:16:29.646Z] 45590311c82a: Download complete [2020-10-15T09:16:30.245Z] 69ca0ff8b7b3: Download complete [2020-10-15T09:16:30.523Z] b538f80385f9: Verifying Checksum [2020-10-15T09:16:30.523Z] b538f80385f9: Download complete [2020-10-15T09:16:31.130Z] b538f80385f9: Pull complete [2020-10-15T09:16:31.737Z] 74f711af9a0d: Pull complete [2020-10-15T09:16:32.354Z] 99f96fe45779: Pull complete [2020-10-15T09:16:32.955Z] 209524e5b208: Verifying Checksum [2020-10-15T09:16:32.955Z] 209524e5b208: Download complete [2020-10-15T09:16:34.402Z] 8529a6b9a6be: Verifying Checksum [2020-10-15T09:16:34.402Z] 8529a6b9a6be: Download complete [2020-10-15T09:16:44.566Z] 8529a6b9a6be: Pull complete [2020-10-15T09:16:44.566Z] 45590311c82a: Pull complete [2020-10-15T09:16:44.566Z] 69ca0ff8b7b3: Pull complete [2020-10-15T09:16:47.998Z] 209524e5b208: Pull complete [2020-10-15T09:16:47.998Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-15T09:16:47.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-15T09:16:47.998Z] ---> 5bddaf1c2fca [2020-10-15T09:16:47.998Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T09:16:50.797Z] ---> Running in 2b01f7b212ea [2020-10-15T09:16:50.797Z] Removing intermediate container 2b01f7b212ea [2020-10-15T09:16:50.797Z] ---> ce614d1f4dbf [2020-10-15T09:16:50.797Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T09:16:50.797Z] ---> Running in 7b5ebc9d0390 [2020-10-15T09:16:53.547Z] Removing intermediate container 7b5ebc9d0390 [2020-10-15T09:16:53.547Z] ---> 7f3306d6020a [2020-10-15T09:16:53.547Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T09:16:53.843Z] ---> Running in d6dd1f948ab2 [2020-10-15T09:16:55.362Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T09:16:55.998Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T09:16:56.639Z] OK: 142 MiB in 39 packages [2020-10-15T09:16:57.695Z] Removing intermediate container d6dd1f948ab2 [2020-10-15T09:16:57.695Z] ---> b544beb74e50 [2020-10-15T09:16:57.695Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T09:16:57.695Z] ---> Running in 46209086bf29 [2020-10-15T09:16:58.347Z] Removing intermediate container 46209086bf29 [2020-10-15T09:16:58.347Z] ---> 058cb4fb37f8 [2020-10-15T09:16:58.347Z] Step 7/8 : COPY . . [2020-10-15T09:16:59.882Z] ---> 0d6009c182da [2020-10-15T09:16:59.882Z] Step 8/8 : RUN go mod download [2020-10-15T09:16:59.882Z] ---> Running in 677641e42e98 [2020-10-15T09:17:07.745Z] Running on prd-centos7-docker-4c-2g-5588 in /w/workspace/dgexfoundry_device-sdk-go_PR-628 [Pipeline] { [Pipeline] ws [2020-10-15T09:17:07.854Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-15T09:17:10.453Z] using credential edgex-jenkins-ssh [2020-10-15T09:17:10.534Z] Cloning the remote Git repository [2020-10-15T09:17:10.483Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T09:17:10.566Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-15T09:17:10.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T09:17:10.623Z] > git --version # timeout=10 [2020-10-15T09:17:10.630Z] > git --version # 'git version 2.16.5' [2020-10-15T09:17:10.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T09:17:10.666Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T09:17:12.069Z] Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit e2910eae30c90f31d7fa9147c6880f90b3bc1d16 [2020-10-15T09:17:12.165Z] Merge succeeded, producing e2910eae30c90f31d7fa9147c6880f90b3bc1d16 [2020-10-15T09:17:12.166Z] Checking out Revision e2910eae30c90f31d7fa9147c6880f90b3bc1d16 (PR-628) [2020-10-15T09:17:11.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T09:17:11.450Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T09:17:11.461Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T09:17:11.477Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T09:17:11.477Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T09:17:11.481Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/628/head:refs/remotes/origin/PR-628 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-15T09:17:12.080Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T09:17:12.088Z] > git checkout -f e2910eae30c90f31d7fa9147c6880f90b3bc1d16 # timeout=10 [2020-10-15T09:17:12.138Z] > git remote # timeout=10 [2020-10-15T09:17:12.143Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T09:17:12.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T09:17:12.151Z] > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 [2020-10-15T09:17:12.161Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T09:17:12.171Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T09:17:12.177Z] > git checkout -f e2910eae30c90f31d7fa9147c6880f90b3bc1d16 # timeout=10 [2020-10-15T09:17:15.807Z] Commit message: "feat(sdk): start auto-discovery upon service startup" [2020-10-15T09:17:15.839Z] > git --version # timeout=10 [2020-10-15T09:17:15.843Z] > git --version # 'git version 2.16.5' [2020-10-15T09:17:15.849Z] fatal: bad object fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-15T09:17:16.898Z] ========================================================= [2020-10-15T09:17:16.898Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-15T09:17:16.898Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-15T09:17:17.593Z] + 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 . [2020-10-15T09:17:18.544Z] Sending build context to Docker daemon 2.313MB [2020-10-15T09:17:18.544Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T09:17:18.544Z] Step 2/8 : FROM ${BASE} [2020-10-15T09:17:18.807Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-15T09:17:18.807Z] df20fa9351a1: Pulling fs layer [2020-10-15T09:17:18.807Z] ed8968b2872e: Pulling fs layer [2020-10-15T09:17:18.807Z] a92cc7c5fd73: Pulling fs layer [2020-10-15T09:17:18.807Z] e871e8e8d7a9: Pulling fs layer [2020-10-15T09:17:18.807Z] e73272ec9a57: Pulling fs layer [2020-10-15T09:17:18.807Z] 1e910a182e73: Pulling fs layer [2020-10-15T09:17:18.807Z] 4e634b169226: Pulling fs layer [2020-10-15T09:17:18.807Z] 1e910a182e73: Waiting [2020-10-15T09:17:18.807Z] e73272ec9a57: Waiting [2020-10-15T09:17:18.807Z] 4e634b169226: Waiting [2020-10-15T09:17:18.807Z] e871e8e8d7a9: Waiting [2020-10-15T09:17:18.807Z] a92cc7c5fd73: Verifying Checksum [2020-10-15T09:17:18.807Z] a92cc7c5fd73: Download complete [2020-10-15T09:17:18.807Z] ed8968b2872e: Verifying Checksum [2020-10-15T09:17:18.807Z] ed8968b2872e: Download complete [2020-10-15T09:17:18.807Z] e73272ec9a57: Verifying Checksum [2020-10-15T09:17:18.807Z] e73272ec9a57: Download complete [2020-10-15T09:17:18.807Z] df20fa9351a1: Verifying Checksum [2020-10-15T09:17:18.807Z] df20fa9351a1: Download complete [2020-10-15T09:17:18.807Z] 1e910a182e73: Verifying Checksum [2020-10-15T09:17:18.807Z] 1e910a182e73: Download complete [2020-10-15T09:17:19.091Z] df20fa9351a1: Pull complete [2020-10-15T09:17:19.359Z] ed8968b2872e: Pull complete [2020-10-15T09:17:19.625Z] a92cc7c5fd73: Pull complete [2020-10-15T09:17:21.040Z] 4e634b169226: Verifying Checksum [2020-10-15T09:17:21.040Z] 4e634b169226: Download complete [2020-10-15T09:17:21.991Z] e871e8e8d7a9: Verifying Checksum [2020-10-15T09:17:21.991Z] e871e8e8d7a9: Download complete [2020-10-15T09:17:22.154Z] Removing intermediate container 677641e42e98 [2020-10-15T09:17:22.154Z] ---> f40f609f12b4 [2020-10-15T09:17:22.154Z] Successfully built f40f609f12b4 [2020-10-15T09:17:22.154Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T09:17:22.590Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T09:17:22.590Z] . [Pipeline] withDockerContainer [2020-10-15T09:17:22.856Z] prd-ubuntu18.04-docker-arm64-4c-16g-5587 does not seem to be running inside a container [2020-10-15T09:17:22.958Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-15T09:17:24.763Z] $ docker top 3c764d579261200f40a428383ff3cb412d47deff93bed3622a814d22abe94247 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T09:17:27.328Z] e871e8e8d7a9: Pull complete [2020-10-15T09:17:27.328Z] e73272ec9a57: Pull complete [2020-10-15T09:17:27.597Z] 1e910a182e73: Pull complete [2020-10-15T09:17:27.986Z] + go version [2020-10-15T09:17:27.986Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-15T09:17:28.025Z] $ docker stop --time=1 3c764d579261200f40a428383ff3cb412d47deff93bed3622a814d22abe94247 [2020-10-15T09:17:30.014Z] $ docker rm -f 3c764d579261200f40a428383ff3cb412d47deff93bed3622a814d22abe94247 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T09:17:31.544Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T09:17:31.545Z] . [Pipeline] withDockerContainer [2020-10-15T09:17:31.841Z] prd-ubuntu18.04-docker-arm64-4c-16g-5587 does not seem to be running inside a container [2020-10-15T09:17:31.845Z] 4e634b169226: Pull complete [2020-10-15T09:17:31.845Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-15T09:17:31.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-15T09:17:31.845Z] ---> f7629b54cfaa [2020-10-15T09:17:31.845Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T09:17:31.845Z] ---> Running in 33e981ecc2f8 [2020-10-15T09:17:31.931Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-15T09:17:32.110Z] Removing intermediate container 33e981ecc2f8 [2020-10-15T09:17:32.110Z] ---> 374c1cf05f1e [2020-10-15T09:17:32.110Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T09:17:32.110Z] ---> Running in 48bb203549aa [2020-10-15T09:17:33.510Z] Removing intermediate container 48bb203549aa [2020-10-15T09:17:33.511Z] ---> 2f83d806521e [2020-10-15T09:17:33.511Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T09:17:33.511Z] ---> Running in cbbba69ccfac [2020-10-15T09:17:33.852Z] $ docker top bcd81208f7d1b6709767c189d8247acf9982d45987d41bc6f4fefdd882a396e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T09:17:34.459Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T09:17:35.033Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T09:17:35.391Z] + make test [2020-10-15T09:17:35.391Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T09:17:35.610Z] OK: 166 MiB in 39 packages [2020-10-15T09:17:35.873Z] Removing intermediate container cbbba69ccfac [2020-10-15T09:17:35.873Z] ---> 1c48ebc0cdc6 [2020-10-15T09:17:35.873Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T09:17:36.135Z] ---> Running in 8df16577b45b [2020-10-15T09:17:36.135Z] Removing intermediate container 8df16577b45b [2020-10-15T09:17:36.135Z] ---> fa93bbc6ece7 [2020-10-15T09:17:36.135Z] Step 7/8 : COPY . . [2020-10-15T09:17:37.529Z] ---> 19a77205be6d [2020-10-15T09:17:37.529Z] Step 8/8 : RUN go mod download [2020-10-15T09:17:37.529Z] ---> Running in 38a4d94ec8ec [2020-10-15T09:17:55.710Z] Removing intermediate container 38a4d94ec8ec [2020-10-15T09:17:55.710Z] ---> d99a3ba575e2 [2020-10-15T09:17:55.710Z] Successfully built d99a3ba575e2 [2020-10-15T09:17:55.710Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T09:17:56.212Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T09:17:56.212Z] . [Pipeline] withDockerContainer [2020-10-15T09:17:56.355Z] prd-centos7-docker-4c-2g-5588 does not seem to be running inside a container [2020-10-15T09:17:56.407Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-15T09:17:57.585Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T09:17:57.948Z] $ docker top 0bd45f85d1f3b8de6378fc444f31ae2ddac217ca5e95dc2d06972f7bdfb494ad -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T09:17:58.536Z] + go version [2020-10-15T09:17:58.536Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-15T09:17:58.571Z] $ docker stop --time=1 0bd45f85d1f3b8de6378fc444f31ae2ddac217ca5e95dc2d06972f7bdfb494ad [2020-10-15T09:17:59.904Z] $ docker rm -f 0bd45f85d1f3b8de6378fc444f31ae2ddac217ca5e95dc2d06972f7bdfb494ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T09:18:01.123Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T09:18:01.123Z] . [Pipeline] withDockerContainer [2020-10-15T09:18:01.246Z] prd-centos7-docker-4c-2g-5588 does not seem to be running inside a container [2020-10-15T09:18:01.302Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-15T09:18:01.854Z] $ docker top 499cf7ff0574df59b6473df35c8fc0ed5f2d5f00c691d87f2e6dc50badca1e9b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T09:18:02.421Z] + make test [2020-10-15T09:18:02.421Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T09:18:09.077Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T09:18:24.101Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T09:18:24.102Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T09:18:24.102Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T09:18:24.102Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.099s coverage: 21.6% of statements [2020-10-15T09:18:24.369Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.432s coverage: 97.1% of statements [2020-10-15T09:18:36.673Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T09:18:36.673Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T09:18:36.673Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T09:18:36.673Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.156s coverage: 21.6% of statements [2020-10-15T09:18:40.082Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.230s coverage: 97.1% of statements [2020-10-15T09:18:56.548Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 9.4% of statements [2020-10-15T09:18:56.549Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.060s coverage: 21.9% of statements [2020-10-15T09:18:56.549Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T09:18:56.549Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.186s coverage: 40.8% of statements [2020-10-15T09:18:56.549Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T09:18:56.549Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.275s coverage: 68.9% of statements [2020-10-15T09:18:56.549Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T09:18:56.549Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T09:18:56.549Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T09:18:56.549Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T09:18:56.549Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements [2020-10-15T09:18:56.549Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-15T09:18:56.549Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T09:18:56.549Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T09:18:56.549Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.259s coverage: 68.9% of statements [2020-10-15T09:18:56.549Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T09:18:56.549Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T09:18:56.549Z] GO111MODULE=on go vet ./... [2020-10-15T09:19:03.223Z] gofmt -l . [2020-10-15T09:19:03.223Z] [ "`gofmt -l .`" = "" ] [2020-10-15T09:19:03.223Z] ./bin/test-attribution-txt.sh [2020-10-15T09:19:03.805Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T09:19:04.430Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T09:19:04.453Z] $ docker stop --time=1 499cf7ff0574df59b6473df35c8fc0ed5f2d5f00c691d87f2e6dc50badca1e9b [2020-10-15T09:19:06.361Z] $ docker rm -f 499cf7ff0574df59b6473df35c8fc0ed5f2d5f00c691d87f2e6dc50badca1e9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-15T09:19:09.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T09:19:10.035Z] + ls -al . [2020-10-15T09:19:10.035Z] total 188 [2020-10-15T09:19:10.035Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 15 09:19 . [2020-10-15T09:19:10.035Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 15 09:17 .. [2020-10-15T09:19:10.035Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 15 09:17 bin [2020-10-15T09:19:10.035Z] -rw-r--r--. 1 jenkins jenkins 110396 Oct 15 09:18 coverage.out [2020-10-15T09:19:10.035Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 15 09:17 Dockerfile.build [2020-10-15T09:19:10.035Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 15 09:17 .dockerignore [2020-10-15T09:19:10.035Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 15 09:17 example [2020-10-15T09:19:10.035Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 15 09:17 .git [2020-10-15T09:19:10.036Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 15 09:17 .github [2020-10-15T09:19:10.036Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 15 09:17 .gitignore [2020-10-15T09:19:10.036Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 15 09:19 go.mod [2020-10-15T09:19:10.036Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 15 09:19 go.sum [2020-10-15T09:19:10.036Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 15 09:17 internal [2020-10-15T09:19:10.036Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 15 09:17 Jenkinsfile [2020-10-15T09:19:10.036Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 15 09:17 LICENSE [2020-10-15T09:19:10.036Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 15 09:17 Makefile [2020-10-15T09:19:10.036Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 15 09:17 openapi [2020-10-15T09:19:10.036Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 15 09:17 pkg [2020-10-15T09:19:10.036Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 15 09:17 README.md [2020-10-15T09:19:10.036Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 15 09:17 RELEASE-NOTES.txt [2020-10-15T09:19:10.036Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 15 09:17 snap [2020-10-15T09:19:10.036Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 15 09:14 VERSION [2020-10-15T09:19:10.036Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 15 09:17 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T09:19:10.379Z] + 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=e2910eae30c90f31d7fa9147c6880f90b3bc1d16 --label arch=amd64 --label version=0.0.0 . [2020-10-15T09:19:10.642Z] Sending build context to Docker daemon 2.424MB [2020-10-15T09:19:10.642Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T09:19:10.642Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T09:19:10.642Z] ---> d99a3ba575e2 [2020-10-15T09:19:10.642Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T09:19:11.216Z] ---> Running in cce1822446fb [2020-10-15T09:19:11.216Z] Removing intermediate container cce1822446fb [2020-10-15T09:19:11.216Z] ---> 7a16c01b797f [2020-10-15T09:19:11.216Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T09:19:11.481Z] ---> Running in 9595755e4eb3 [2020-10-15T09:19:11.481Z] Removing intermediate container 9595755e4eb3 [2020-10-15T09:19:11.481Z] ---> a13871190e3b [2020-10-15T09:19:11.481Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T09:19:11.742Z] ---> Running in 5472b6cba104 [2020-10-15T09:19:12.006Z] Removing intermediate container 5472b6cba104 [2020-10-15T09:19:12.006Z] ---> d2a7389caa88 [2020-10-15T09:19:12.006Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T09:19:12.006Z] ---> Running in dc69cb4249f9 [2020-10-15T09:19:12.452Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.149s coverage: 9.4% of statements [2020-10-15T09:19:12.452Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.124s coverage: 21.9% of statements [2020-10-15T09:19:12.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T09:19:12.452Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.542s coverage: 40.8% of statements [2020-10-15T09:19:12.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T09:19:12.452Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.776s coverage: 68.9% of statements [2020-10-15T09:19:12.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T09:19:12.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T09:19:12.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T09:19:12.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T09:19:12.452Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.172s coverage: 52.6% of statements [2020-10-15T09:19:12.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-15T09:19:12.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T09:19:12.452Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T09:19:12.452Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.780s coverage: 68.9% of statements [2020-10-15T09:19:12.452Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T09:19:12.452Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T09:19:12.452Z] GO111MODULE=on go vet ./... [2020-10-15T09:19:13.408Z] Removing intermediate container dc69cb4249f9 [2020-10-15T09:19:13.408Z] ---> 38884e647403 [2020-10-15T09:19:13.408Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T09:19:13.408Z] ---> Running in aa5757083b9f [2020-10-15T09:19:13.670Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T09:19:14.248Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T09:19:14.829Z] OK: 166 MiB in 39 packages [2020-10-15T09:19:15.404Z] Removing intermediate container aa5757083b9f [2020-10-15T09:19:15.404Z] ---> c268b20fd2e0 [2020-10-15T09:19:15.404Z] Step 8/24 : COPY . . [2020-10-15T09:19:16.797Z] ---> a3e48ae86b5c [2020-10-15T09:19:16.797Z] Step 9/24 : RUN ${MAKE} [2020-10-15T09:19:16.797Z] ---> Running in 129d995baff1 [2020-10-15T09:19:17.060Z] 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 [2020-10-15T09:19:25.303Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T09:19:26.702Z] Removing intermediate container 129d995baff1 [2020-10-15T09:19:26.702Z] ---> 019606845799 [2020-10-15T09:19:26.702Z] Step 10/24 : FROM scratch [2020-10-15T09:19:26.702Z] ---> [2020-10-15T09:19:26.702Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T09:19:26.702Z] ---> Running in 74dd2220d46a [2020-10-15T09:19:26.965Z] Removing intermediate container 74dd2220d46a [2020-10-15T09:19:26.965Z] ---> 9670243908c6 [2020-10-15T09:19:26.965Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T09:19:27.916Z] ---> Running in e12bee42a6f4 [2020-10-15T09:19:27.916Z] Removing intermediate container e12bee42a6f4 [2020-10-15T09:19:27.916Z] ---> 793072f7c330 [2020-10-15T09:19:27.916Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T09:19:27.916Z] ---> Running in 4d126865fa00 [2020-10-15T09:19:28.178Z] Removing intermediate container 4d126865fa00 [2020-10-15T09:19:28.178Z] ---> dc4172f0f64a [2020-10-15T09:19:28.178Z] Step 14/24 : WORKDIR / [2020-10-15T09:19:28.178Z] ---> Running in 342a5359bf95 [2020-10-15T09:19:28.441Z] Removing intermediate container 342a5359bf95 [2020-10-15T09:19:28.441Z] ---> 59ab64f5d898 [2020-10-15T09:19:28.441Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T09:19:28.704Z] ---> 0a562ba45346 [2020-10-15T09:19:28.704Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T09:19:28.966Z] ---> 0c85f7b68a59 [2020-10-15T09:19:28.966Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T09:19:29.228Z] ---> 36fcced47559 [2020-10-15T09:19:29.228Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T09:19:29.491Z] ---> bff6aa21be2a [2020-10-15T09:19:29.491Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T09:19:29.754Z] ---> 17a25aac856f [2020-10-15T09:19:29.754Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T09:19:29.754Z] ---> Running in d1a730d65b5c [2020-10-15T09:19:30.017Z] Removing intermediate container d1a730d65b5c [2020-10-15T09:19:30.017Z] ---> c7e25950e6dc [2020-10-15T09:19:30.017Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T09:19:30.017Z] ---> Running in a04b008788a2 [2020-10-15T09:19:30.279Z] Removing intermediate container a04b008788a2 [2020-10-15T09:19:30.279Z] ---> 2ddbfc154167 [2020-10-15T09:19:30.279Z] Step 22/24 : LABEL arch=amd64 [2020-10-15T09:19:30.279Z] ---> Running in 86e7748d23d1 [2020-10-15T09:19:30.279Z] Removing intermediate container 86e7748d23d1 [2020-10-15T09:19:30.279Z] ---> 3a5f96265e37 [2020-10-15T09:19:30.279Z] Step 23/24 : LABEL git_sha=e2910eae30c90f31d7fa9147c6880f90b3bc1d16 [2020-10-15T09:19:30.542Z] ---> Running in 87304b525f96 [2020-10-15T09:19:30.543Z] Removing intermediate container 87304b525f96 [2020-10-15T09:19:30.543Z] ---> 1297e0a9e649 [2020-10-15T09:19:30.543Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T09:19:30.805Z] ---> Running in 19bbee8feaad [2020-10-15T09:19:30.805Z] Removing intermediate container 19bbee8feaad [2020-10-15T09:19:30.805Z] ---> e81d022bc8ac [2020-10-15T09:19:30.805Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T09:19:30.805Z] Successfully built e81d022bc8ac [2020-10-15T09:19:31.068Z] 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] } [2020-10-15T09:19:39.314Z] gofmt -l . [2020-10-15T09:19:39.314Z] [ "`gofmt -l .`" = "" ] [2020-10-15T09:19:39.314Z] ./bin/test-attribution-txt.sh [2020-10-15T09:19:39.314Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T09:19:39.359Z] Warning: overwriting stash ‘coverage-report’ [2020-10-15T09:19:40.240Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T09:19:40.269Z] $ docker stop --time=1 bcd81208f7d1b6709767c189d8247acf9982d45987d41bc6f4fefdd882a396e6 [2020-10-15T09:19:42.609Z] $ docker rm -f bcd81208f7d1b6709767c189d8247acf9982d45987d41bc6f4fefdd882a396e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T09:19:44.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T09:19:44.760Z] + ls -al . [2020-10-15T09:19:44.760Z] total 224 [2020-10-15T09:19:44.760Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 09:19 . [2020-10-15T09:19:44.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 09:16 .. [2020-10-15T09:19:44.760Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 09:16 .dockerignore [2020-10-15T09:19:44.760Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 09:16 .git [2020-10-15T09:19:44.760Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 09:16 .github [2020-10-15T09:19:44.760Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 15 09:16 .gitignore [2020-10-15T09:19:44.760Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 15 09:16 Dockerfile.build [2020-10-15T09:19:44.760Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 15 09:16 Jenkinsfile [2020-10-15T09:19:44.760Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 15 09:16 LICENSE [2020-10-15T09:19:44.760Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 15 09:16 Makefile [2020-10-15T09:19:44.760Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 15 09:16 README.md [2020-10-15T09:19:44.760Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 15 09:16 RELEASE-NOTES.txt [2020-10-15T09:19:44.760Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 09:14 VERSION [2020-10-15T09:19:44.760Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 09:16 bin [2020-10-15T09:19:44.760Z] -rw-r--r-- 1 jenkins jenkins 110396 Oct 15 09:19 coverage.out [2020-10-15T09:19:44.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 09:16 example [2020-10-15T09:19:44.760Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 15 09:19 go.mod [2020-10-15T09:19:44.760Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 15 09:19 go.sum [2020-10-15T09:19:44.760Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 15 09:16 internal [2020-10-15T09:19:44.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 09:16 openapi [2020-10-15T09:19:44.760Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 15 09:16 pkg [2020-10-15T09:19:44.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 09:16 snap [2020-10-15T09:19:44.760Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 15 09:16 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T09:19:45.181Z] + 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=e2910eae30c90f31d7fa9147c6880f90b3bc1d16 --label arch=arm64 --label version=0.0.0 . [2020-10-15T09:19:45.787Z] Sending build context to Docker daemon 2.424MB [2020-10-15T09:19:45.787Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T09:19:45.787Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T09:19:45.787Z] ---> f40f609f12b4 [2020-10-15T09:19:45.787Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T09:19:46.061Z] ---> Running in d27819046577 [2020-10-15T09:19:46.334Z] Removing intermediate container d27819046577 [2020-10-15T09:19:46.334Z] ---> 0f24fe67df61 [2020-10-15T09:19:46.334Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T09:19:46.607Z] ---> Running in b15f0e732be3 [2020-10-15T09:19:46.881Z] Removing intermediate container b15f0e732be3 [2020-10-15T09:19:46.881Z] ---> 137566108e78 [2020-10-15T09:19:46.881Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T09:19:47.155Z] ---> Running in 279c1b784a3d [2020-10-15T09:19:47.752Z] Removing intermediate container 279c1b784a3d [2020-10-15T09:19:47.752Z] ---> 3edfb1f3c024 [2020-10-15T09:19:47.752Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T09:19:47.752Z] ---> Running in 9cbfa76deb83 [2020-10-15T09:19:50.373Z] Removing intermediate container 9cbfa76deb83 [2020-10-15T09:19:50.373Z] ---> 0eafa697a811 [2020-10-15T09:19:50.373Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T09:19:50.373Z] ---> Running in 58241b787ded [2020-10-15T09:19:51.808Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T09:19:52.783Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T09:19:53.377Z] OK: 142 MiB in 39 packages [2020-10-15T09:19:54.359Z] Removing intermediate container 58241b787ded [2020-10-15T09:19:54.359Z] ---> ab48eb01d6a2 [2020-10-15T09:19:54.359Z] Step 8/24 : COPY . . [2020-10-15T09:19:55.798Z] ---> 10365d8bd312 [2020-10-15T09:19:55.798Z] Step 9/24 : RUN ${MAKE} [2020-10-15T09:19:55.798Z] ---> Running in 103d4804400d [2020-10-15T09:19:57.229Z] 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 [2020-10-15T09:20:24.055Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T09:20:24.055Z] Removing intermediate container 103d4804400d [2020-10-15T09:20:24.055Z] ---> 8ceb2c57e323 [2020-10-15T09:20:24.055Z] Step 10/24 : FROM scratch [2020-10-15T09:20:24.055Z] ---> [2020-10-15T09:20:24.055Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T09:20:24.055Z] ---> Running in c68d77bcddf2 [2020-10-15T09:20:24.055Z] Removing intermediate container c68d77bcddf2 [2020-10-15T09:20:24.055Z] ---> a1acbd131cba [2020-10-15T09:20:24.055Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T09:20:24.329Z] ---> Running in d8d57742a17d [2020-10-15T09:20:24.603Z] Removing intermediate container d8d57742a17d [2020-10-15T09:20:24.603Z] ---> 3077a5f8f4d3 [2020-10-15T09:20:24.603Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T09:20:24.875Z] ---> Running in 842a0e667744 [2020-10-15T09:20:25.148Z] Removing intermediate container 842a0e667744 [2020-10-15T09:20:25.148Z] ---> 136879a29109 [2020-10-15T09:20:25.149Z] Step 14/24 : WORKDIR / [2020-10-15T09:20:25.149Z] ---> Running in 03829fdf1af8 [2020-10-15T09:20:25.747Z] Removing intermediate container 03829fdf1af8 [2020-10-15T09:20:25.747Z] ---> 36e2195fd9fe [2020-10-15T09:20:25.747Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T09:20:26.732Z] ---> 1e8aea7deda9 [2020-10-15T09:20:26.732Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T09:20:27.709Z] ---> ac35850d3dc8 [2020-10-15T09:20:27.709Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T09:20:28.308Z] ---> 931c074740f6 [2020-10-15T09:20:28.308Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T09:20:28.904Z] ---> b4a110fa54f8 [2020-10-15T09:20:28.904Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T09:20:29.501Z] ---> a6996ea09f2c [2020-10-15T09:20:29.501Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T09:20:29.780Z] ---> Running in 93687fc24140 [2020-10-15T09:20:30.375Z] Removing intermediate container 93687fc24140 [2020-10-15T09:20:30.375Z] ---> 0163879a6b58 [2020-10-15T09:20:30.375Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T09:20:30.375Z] ---> Running in 4b8b545ff0d6 [2020-10-15T09:20:30.648Z] Removing intermediate container 4b8b545ff0d6 [2020-10-15T09:20:30.648Z] ---> 045a92bc3659 [2020-10-15T09:20:30.648Z] Step 22/24 : LABEL arch=arm64 [2020-10-15T09:20:30.920Z] ---> Running in 6a583ce31ab1 [2020-10-15T09:20:31.517Z] Removing intermediate container 6a583ce31ab1 [2020-10-15T09:20:31.517Z] ---> 0f7de6af3fd7 [2020-10-15T09:20:31.517Z] Step 23/24 : LABEL git_sha=e2910eae30c90f31d7fa9147c6880f90b3bc1d16 [2020-10-15T09:20:31.518Z] ---> Running in 99931a691209 [2020-10-15T09:20:32.114Z] Removing intermediate container 99931a691209 [2020-10-15T09:20:32.114Z] ---> c5e691e7731f [2020-10-15T09:20:32.114Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T09:20:32.114Z] ---> Running in 99497d326eef [2020-10-15T09:20:32.387Z] Removing intermediate container 99497d326eef [2020-10-15T09:20:32.387Z] ---> c65478694161 [2020-10-15T09:20:32.387Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T09:20:32.659Z] Successfully built c65478694161 [2020-10-15T09:20:32.659Z] 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 [2020-10-15T09:20:35.389Z] provisioning config files... [2020-10-15T09:20:35.402Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/config7060155763904857693tmp [Pipeline] { [Pipeline] sh [2020-10-15T09:20:35.832Z] + set +x [2020-10-15T09:20:35.832Z] + curl -s https://codecov.io/bash [2020-10-15T09:20:35.832Z] + bash -s -- [2020-10-15T09:20:36.095Z] [2020-10-15T09:20:36.095Z] _____ _ [2020-10-15T09:20:36.095Z] / ____| | | [2020-10-15T09:20:36.095Z] | | ___ __| | ___ ___ _____ __ [2020-10-15T09:20:36.095Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-15T09:20:36.095Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-15T09:20:36.095Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-15T09:20:36.095Z] Bash-20201009-048fee3 [2020-10-15T09:20:36.095Z] [2020-10-15T09:20:36.095Z] [2020-10-15T09:20:36.095Z] ==> Jenkins CI detected. [2020-10-15T09:20:36.095Z] project root: . [2020-10-15T09:20:36.095Z] --> token set from env [2020-10-15T09:20:36.095Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-15T09:20:36.095Z] ==> Running gcov in . (disable via -X gcov) [2020-10-15T09:20:36.095Z] find: ‘./.semver’: Permission denied [2020-10-15T09:20:36.095Z] ==> Python coveragepy not found [2020-10-15T09:20:36.095Z] ==> Searching for coverage reports in: [2020-10-15T09:20:36.095Z] + . [2020-10-15T09:20:36.095Z] -> Found 1 reports [2020-10-15T09:20:36.095Z] ==> Detecting git/mercurial file structure [2020-10-15T09:20:36.095Z] ==> Reading reports [2020-10-15T09:20:36.095Z] + ./coverage.out bytes=110396 [2020-10-15T09:20:36.095Z] ==> Appending adjustments [2020-10-15T09:20:36.095Z] https://docs.codecov.io/docs/fixing-reports [2020-10-15T09:20:36.669Z] find: ‘./.semver’: Permission denied [2020-10-15T09:20:36.669Z] find: ‘./.semver’: Permission denied [2020-10-15T09:20:36.669Z] find: ‘./.semver’: Permission denied [2020-10-15T09:20:36.669Z] [2020-10-15T09:20:36.669Z] + Found adjustments [2020-10-15T09:20:36.669Z] ==> Gzipping contents [2020-10-15T09:20:36.669Z] ==> Uploading reports [2020-10-15T09:20:36.669Z] url: https://codecov.io [2020-10-15T09:20:36.669Z] query: branch=PR-628&commit=e2910eae30c90f31d7fa9147c6880f90b3bc1d16&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-628%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=628&job=&cmd_args= [2020-10-15T09:20:36.669Z] -> Pinging Codecov [2020-10-15T09:20:36.669Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-628&commit=e2910eae30c90f31d7fa9147c6880f90b3bc1d16&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-628%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=628&job=&cmd_args= [2020-10-15T09:20:36.669Z] -> Uploading to [2020-10-15T09:20:36.669Z] [2020-10-15T09:20:36.669Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T09:20:36.669Z] Dload Upload Total Spent Left Speed [2020-10-15T09:20:36.669Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-15T09:20:36.669Z] X> Failed to upload [2020-10-15T09:20:36.669Z] ==> Uploading to Codecov [2020-10-15T09:20:36.931Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T09:20:36.931Z] Dload Upload Total Spent Left Speed [2020-10-15T09:20:38.140Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18889 0 0 100 18889 0 16127 0:00:01 0:00:01 --:--:-- 16116 100 18999 100 110 100 18889 82 14177 0:00:01 0:00:01 --:--:-- 14170 [2020-10-15T09:20:38.140Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e2910eae30c90f31d7fa9147c6880f90b3bc1d16 [Pipeline] } [2020-10-15T09:20:38.173Z] 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 [2020-10-15T09:20:44.403Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T09:20:45.014Z] ---> package-listing.sh [2020-10-15T09:20:45.014Z] ++ facter osfamily [2020-10-15T09:20:45.014Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-15T09:20:45.014Z] + OS_FAMILY=redhat [2020-10-15T09:20:45.014Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-628 [2020-10-15T09:20:45.014Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-15T09:20:45.014Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-15T09:20:45.014Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-15T09:20:45.014Z] + PACKAGES=/tmp/packages_start.txt [2020-10-15T09:20:45.014Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-628 ']' [2020-10-15T09:20:45.014Z] + PACKAGES=/tmp/packages_end.txt [2020-10-15T09:20:45.014Z] + case "${OS_FAMILY}" in [2020-10-15T09:20:45.014Z] + rpm -qa [2020-10-15T09:20:45.014Z] + sort [2020-10-15T09:20:49.250Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-15T09:20:49.250Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-15T09:20:49.250Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-15T09:20:49.250Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-628 ']' [2020-10-15T09:20:49.250Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-628/archives/ [2020-10-15T09:20:49.251Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-628/archives/ [Pipeline] echo [2020-10-15T09:20:49.286Z] 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-628/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-15T09:20:49.595Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-15T09:20:49.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T09:20:49.931Z] [2020-10-15T09:20:49.931Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-15T09:20:50.324Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T09:20:50.324Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-15T09:20:50.324Z] df20fa9351a1: Pulling fs layer [2020-10-15T09:20:50.324Z] 36b3adc4ff6f: Pulling fs layer [2020-10-15T09:20:50.324Z] 8ad3a11d3b57: Pulling fs layer [2020-10-15T09:20:50.324Z] 46f8f816bc3b: Pulling fs layer [2020-10-15T09:20:50.324Z] 93b61091891f: Pulling fs layer [2020-10-15T09:20:50.324Z] 93b9cdb0e59b: Pulling fs layer [2020-10-15T09:20:50.324Z] 5e14af77c1be: Pulling fs layer [2020-10-15T09:20:50.324Z] 01666e4c0597: Pulling fs layer [2020-10-15T09:20:50.324Z] aa168da1d23b: Pulling fs layer [2020-10-15T09:20:50.324Z] 93b9cdb0e59b: Waiting [2020-10-15T09:20:50.324Z] 5e14af77c1be: Waiting [2020-10-15T09:20:50.324Z] 01666e4c0597: Waiting [2020-10-15T09:20:50.324Z] aa168da1d23b: Waiting [2020-10-15T09:20:50.324Z] 93b61091891f: Waiting [2020-10-15T09:20:50.324Z] 46f8f816bc3b: Waiting [2020-10-15T09:20:50.324Z] 36b3adc4ff6f: Verifying Checksum [2020-10-15T09:20:50.324Z] 36b3adc4ff6f: Download complete [2020-10-15T09:20:50.324Z] 46f8f816bc3b: Verifying Checksum [2020-10-15T09:20:50.324Z] 46f8f816bc3b: Download complete [2020-10-15T09:20:50.587Z] df20fa9351a1: Verifying Checksum [2020-10-15T09:20:50.587Z] df20fa9351a1: Download complete [2020-10-15T09:20:50.587Z] 93b9cdb0e59b: Verifying Checksum [2020-10-15T09:20:50.587Z] 93b9cdb0e59b: Download complete [2020-10-15T09:20:50.587Z] 5e14af77c1be: Verifying Checksum [2020-10-15T09:20:50.587Z] 5e14af77c1be: Download complete [2020-10-15T09:20:50.587Z] 93b61091891f: Verifying Checksum [2020-10-15T09:20:50.587Z] 93b61091891f: Download complete [2020-10-15T09:20:50.587Z] 01666e4c0597: Verifying Checksum [2020-10-15T09:20:50.587Z] 01666e4c0597: Download complete [2020-10-15T09:20:50.851Z] df20fa9351a1: Pull complete [2020-10-15T09:20:51.117Z] 36b3adc4ff6f: Pull complete [2020-10-15T09:20:51.384Z] 8ad3a11d3b57: Verifying Checksum [2020-10-15T09:20:51.384Z] 8ad3a11d3b57: Download complete [2020-10-15T09:20:52.340Z] 8ad3a11d3b57: Pull complete [2020-10-15T09:20:52.340Z] 46f8f816bc3b: Pull complete [2020-10-15T09:20:52.916Z] 93b61091891f: Pull complete [2020-10-15T09:20:53.178Z] aa168da1d23b: Verifying Checksum [2020-10-15T09:20:53.178Z] aa168da1d23b: Download complete [2020-10-15T09:20:53.178Z] 93b9cdb0e59b: Pull complete [2020-10-15T09:20:53.446Z] 5e14af77c1be: Pull complete [2020-10-15T09:20:53.446Z] 01666e4c0597: Pull complete [2020-10-15T09:21:00.050Z] aa168da1d23b: Pull complete [2020-10-15T09:21:00.050Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-15T09:21:00.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T09:21:00.050Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-15T09:21:00.207Z] prd-centos7-docker-4c-2g-5586 does not seem to be running inside a container [2020-10-15T09:21:00.253Z] $ 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-628/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-628 -v /w/workspace/dgexfoundry_device-sdk-go_PR-628:/w/workspace/dgexfoundry_device-sdk-go_PR-628:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-628@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 [2020-10-15T09:21:04.013Z] $ docker top 263aa885b057ffa7284fcfe8006535c53284a8f70fa1729058af1b777506bea8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T09:21:04.649Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-15T09:21:04.969Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-15T09:21:05.288Z] + ls /var/log/sa-host [2020-10-15T09:21:05.288Z] + sadf -c /var/log/sa-host/sa05 [2020-10-15T09:21:05.288Z] file_magic: OK [2020-10-15T09:21:05.288Z] HZ: Using current value: 100 [2020-10-15T09:21:05.288Z] file_header: OK [2020-10-15T09:21:05.288Z] 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 [2020-10-15T09:21:05.288Z] Statistics: [2020-10-15T09:21:05.288Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T09:21:05.288Z] File successfully converted to sysstat format version 12.2.1 [2020-10-15T09:21:05.288Z] + sadf -c /var/log/sa-host/sa15 [2020-10-15T09:21:05.288Z] file_magic: OK [2020-10-15T09:21:05.288Z] HZ: Using current value: 100 [2020-10-15T09:21:05.288Z] file_header: OK [2020-10-15T09:21:05.288Z] 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 [2020-10-15T09:21:05.288Z] Statistics: [2020-10-15T09:21:05.288Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T09:21:05.288Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-15T09:21:06.014Z] provisioning config files... [2020-10-15T09:21:06.034Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/config2398241493356853346tmp [Pipeline] { [Pipeline] echo [2020-10-15T09:21:06.163Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T09:21:06.519Z] ---> create-netrc.sh [Pipeline] } [2020-10-15T09:21:06.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-15T09:21:06.715Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T09:21:07.049Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-15T09:21:07.081Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T09:21:07.416Z] ---> sudo-logs.sh [2020-10-15T09:21:07.416Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-15T09:21:07.447Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T09:21:07.785Z] ---> job-cost.sh [2020-10-15T09:21:07.785Z] lf-activate-venv: SKIPPING [2020-10-15T09:21:07.785Z] INFO: No Stack... [2020-10-15T09:21:09.176Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-15T09:21:09.750Z] INFO: Archiving Costs [Pipeline] echo [2020-10-15T09:21:09.783Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T09:21:10.116Z] ---> logs-deploy.sh [2020-10-15T09:21:10.116Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-628/1 [2020-10-15T09:21:10.116Z] INFO: archiving workspace using pattern(s): [2020-10-15T09:21:12.045Z] Archives upload complete. [2020-10-15T09:21:12.045Z] INFO: archiving logs to Nexus