Pull request #639 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5c193f582c261f6dda3e0a4faf843856b5ce4cf5+6cec193abf44cabffe02bbcaff9748adb3f719d5 (c26a403d81b04c21de5939a4bf7482974c96f54d) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh 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-639/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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-639/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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-7419 in /w/workspace/dgexfoundry_device-sdk-go_PR-639 [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-639 # 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/639/head:refs/remotes/origin/PR-639 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 Merge succeeded, producing 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 Checking out Revision 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 (PR-639) > git config core.sparsecheckout # timeout=10 > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # 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 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-21T06:12:56.390Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-21T06:12:56.787Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-21T06:12:57.009Z] ========================================================= [2020-10-21T06:12:57.009Z] EdgeX Global Pipelines Version Info [2020-10-21T06:12:57.009Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-21T06:12:58.588Z] ------------------- [2020-10-21T06:12:58.588Z] stable info: [2020-10-21T06:12:58.588Z] ------------------- [2020-10-21T06:12:58.589Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-21T06:12:58.589Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-21T06:12:58.589Z] Message: update stable to v1.0.144 [2020-10-21T06:12:59.538Z] ------------------- [2020-10-21T06:12:59.538Z] experimental info: [2020-10-21T06:12:59.538Z] ------------------- [2020-10-21T06:12:59.538Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-21T06:12:59.538Z] Commit SHA: 0fb566d11309be12c9baf3de23def7053bac1c97 [2020-10-21T06:12:59.538Z] Message: update experimental to v1.0.146 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-21T06:13:00.054Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-21T06:13:00.173Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-21T06:13:00.322Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-21T06:13:00.467Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-21T06:13:00.602Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-21T06:13:00.731Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-21T06:13:00.921Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-21T06:13:01.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-21T06:13:01.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-21T06:13:01.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-21T06:13:01.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-21T06:13:01.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-21T06:13:01.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-21T06:13:01.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-21T06:13:02.107Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-21T06:13:02.275Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-21T06:13:02.397Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-21T06:13:02.516Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-21T06:13:02.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-21T06:13:02.751Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-21T06:13:02.937Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-21T06:13:03.071Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-21T06:13:03.215Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-21T06:13:03.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-21T06:13:03.474Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-21T06:13:03.657Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-639 [Pipeline] echo [2020-10-21T06:13:03.790Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-639 [Pipeline] echo [2020-10-21T06:13:03.927Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-639 [Pipeline] echo [2020-10-21T06:13:04.057Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [Pipeline] echo [2020-10-21T06:13:04.191Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c193f5 [Pipeline] echo [2020-10-21T06:13:04.330Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-21T06:13:05.061Z] + git log --format=format:%s -1 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [Pipeline] echo [2020-10-21T06:13:05.145Z] GIT_COMMIT: 5c193f582c261f6dda3e0a4faf843856b5ce4cf5, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-10-21T06:13:05.218Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-21T06:13:06.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-21T06:13:06.032Z] [2020-10-21T06:13:06.032Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-21T06:13:06.422Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-21T06:13:06.422Z] latest: Pulling from edgex-devops/git-semver [2020-10-21T06:13:06.422Z] 31603596830f: Pulling fs layer [2020-10-21T06:13:06.422Z] 2a8b12db71e7: Pulling fs layer [2020-10-21T06:13:06.422Z] 6ca5941a6612: Pulling fs layer [2020-10-21T06:13:06.422Z] ecc8261a40a4: Pulling fs layer [2020-10-21T06:13:06.422Z] ecc8261a40a4: Waiting [2020-10-21T06:13:06.422Z] 2a8b12db71e7: Verifying Checksum [2020-10-21T06:13:06.422Z] 2a8b12db71e7: Download complete [2020-10-21T06:13:06.684Z] 31603596830f: Verifying Checksum [2020-10-21T06:13:06.684Z] 31603596830f: Download complete [2020-10-21T06:13:06.684Z] ecc8261a40a4: Verifying Checksum [2020-10-21T06:13:06.684Z] ecc8261a40a4: Download complete [2020-10-21T06:13:06.684Z] 6ca5941a6612: Verifying Checksum [2020-10-21T06:13:06.684Z] 6ca5941a6612: Download complete [2020-10-21T06:13:06.955Z] 31603596830f: Pull complete [2020-10-21T06:13:06.955Z] 2a8b12db71e7: Pull complete [2020-10-21T06:13:07.907Z] 6ca5941a6612: Pull complete [2020-10-21T06:13:08.169Z] ecc8261a40a4: Pull complete [2020-10-21T06:13:08.169Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-21T06:13:08.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-21T06:13:08.169Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-21T06:13:08.298Z] prd-centos7-docker-4c-2g-7419 does not seem to be running inside a container [2020-10-21T06:13:08.351Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-639 -v /w/workspace/dgexfoundry_device-sdk-go_PR-639:/w/workspace/dgexfoundry_device-sdk-go_PR-639:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-639@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-21T06:13:10.548Z] $ docker top 270214412f3082f349407044fe2fa5e9e20e807856f1ef312ad4ba517438a6eb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-21T06:13:11.019Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-21T06:13:11.019Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-21T06:13:11.250Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-21T06:13:11.257Z] $ docker exec 270214412f3082f349407044fe2fa5e9e20e807856f1ef312ad4ba517438a6eb ssh-agent [2020-10-21T06:13:11.447Z] SSH_AUTH_SOCK=/tmp/ssh-u2mcvoEzwntO/agent.12 [2020-10-21T06:13:11.447Z] SSH_AGENT_PID=18 [2020-10-21T06:13:11.461Z] Running ssh-add (command line suppressed) [2020-10-21T06:13:11.589Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_4561743729248068475.key (/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_4561743729248068475.key) [2020-10-21T06:13:11.641Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-21T06:13:12.121Z] + git tag --points-at HEAD [Pipeline] } [2020-10-21T06:13:12.266Z] $ docker exec --env ******** --env ******** 270214412f3082f349407044fe2fa5e9e20e807856f1ef312ad4ba517438a6eb ssh-agent -k [2020-10-21T06:13:12.382Z] unset SSH_AUTH_SOCK; [2020-10-21T06:13:12.382Z] unset SSH_AGENT_PID; [2020-10-21T06:13:12.383Z] echo Agent pid 18 killed; [2020-10-21T06:13:12.437Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-21T06:13:12.679Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-21T06:13:12.679Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-21T06:13:12.857Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-21T06:13:12.863Z] $ docker exec 270214412f3082f349407044fe2fa5e9e20e807856f1ef312ad4ba517438a6eb ssh-agent [2020-10-21T06:13:13.028Z] SSH_AUTH_SOCK=/tmp/ssh-4Unf7eMczYMN/agent.47 [2020-10-21T06:13:13.028Z] SSH_AGENT_PID=52 [2020-10-21T06:13:13.034Z] Running ssh-add (command line suppressed) [2020-10-21T06:13:13.162Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_4625459933420518994.key (/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_4625459933420518994.key) [2020-10-21T06:13:13.211Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-21T06:13:13.602Z] + git semver init [2020-10-21T06:13:13.602Z] # -> Open(): unable to determine branch for HEAD [2020-10-21T06:13:13.602Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-639/.git [2020-10-21T06:13:13.602Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-639 [2020-10-21T06:13:13.602Z] # $SEMVER_REMOTE_NAME = origin [2020-10-21T06:13:13.602Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-21T06:13:13.602Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-21T06:13:13.602Z] # $SEMVER_BRANCH = PR-639 [2020-10-21T06:13:13.602Z] # $SEMVER_TEMP = /tmp/semver-088855393 [2020-10-21T06:13:13.602Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-21T06:13:14.178Z] # '/tmp/semver-088855393' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-639/.semver' [2020-10-21T06:13:14.178Z] # -> Force: false [2020-10-21T06:13:14.178Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-639/.semver [Pipeline] } [2020-10-21T06:13:14.200Z] $ docker exec --env ******** --env ******** 270214412f3082f349407044fe2fa5e9e20e807856f1ef312ad4ba517438a6eb ssh-agent -k [2020-10-21T06:13:14.328Z] unset SSH_AUTH_SOCK; [2020-10-21T06:13:14.328Z] unset SSH_AGENT_PID; [2020-10-21T06:13:14.329Z] echo Agent pid 52 killed; [2020-10-21T06:13:14.375Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-21T06:13:15.019Z] + git semver [Pipeline] } [2020-10-21T06:13:15.054Z] $ docker stop --time=1 270214412f3082f349407044fe2fa5e9e20e807856f1ef312ad4ba517438a6eb [2020-10-21T06:13:16.698Z] $ docker rm -f 270214412f3082f349407044fe2fa5e9e20e807856f1ef312ad4ba517438a6eb [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-21T06:13:17.266Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-21T06:13:17.755Z] Stashed 1 file(s) [Pipeline] echo [2020-10-21T06:13:17.798Z] [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-21T06:13:33.760Z] Still waiting to schedule task [2020-10-21T06:13:33.760Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-21T06:13:33.786Z] Still waiting to schedule task [2020-10-21T06:13:33.786Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-21T06:14:10.441Z] Running on prd-centos7-docker-4c-2g-7422 in /w/workspace/dgexfoundry_device-sdk-go_PR-639 [Pipeline] { [Pipeline] ws [2020-10-21T06:14:10.540Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-21T06:14:13.071Z] using credential edgex-jenkins-ssh [2020-10-21T06:14:13.153Z] Cloning the remote Git repository [2020-10-21T06:14:13.179Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T06:14:13.247Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-21T06:14:14.037Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T06:14:14.038Z] > git --version # timeout=10 [2020-10-21T06:14:14.045Z] > git --version # 'git version 2.16.5' [2020-10-21T06:14:14.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T06:14:14.222Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T06:14:15.200Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-21T06:14:15.207Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T06:14:15.217Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-21T06:14:15.232Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T06:14:15.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T06:14:15.238Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/639/head:refs/remotes/origin/PR-639 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-21T06:14:15.588Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [2020-10-21T06:14:15.701Z] Merge succeeded, producing 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [2020-10-21T06:14:15.701Z] Checking out Revision 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 (PR-639) [2020-10-21T06:14:15.600Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T06:14:15.605Z] > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 [2020-10-21T06:14:15.665Z] > git remote # timeout=10 [2020-10-21T06:14:15.671Z] > git config --get remote.origin.url # timeout=10 [2020-10-21T06:14:15.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T06:14:15.686Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-21T06:14:15.697Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-21T06:14:15.708Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T06:14:15.713Z] > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 [2020-10-21T06:14:19.470Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-10-21T06:14:19.503Z] > git --version # timeout=10 [2020-10-21T06:14:19.509Z] > git --version # 'git version 2.16.5' [2020-10-21T06:14:19.516Z] fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-21T06:14:20.567Z] ========================================================= [2020-10-21T06:14:20.567Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-21T06:14:20.567Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-21T06:14:21.426Z] + 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-21T06:14:21.692Z] Sending build context to Docker daemon 2.322MB [2020-10-21T06:14:21.692Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-21T06:14:21.692Z] Step 2/8 : FROM ${BASE} [2020-10-21T06:14:21.692Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-21T06:14:21.692Z] df20fa9351a1: Pulling fs layer [2020-10-21T06:14:21.692Z] ed8968b2872e: Pulling fs layer [2020-10-21T06:14:21.692Z] a92cc7c5fd73: Pulling fs layer [2020-10-21T06:14:21.692Z] e871e8e8d7a9: Pulling fs layer [2020-10-21T06:14:21.692Z] e73272ec9a57: Pulling fs layer [2020-10-21T06:14:21.692Z] 1e910a182e73: Pulling fs layer [2020-10-21T06:14:21.692Z] 4e634b169226: Pulling fs layer [2020-10-21T06:14:21.692Z] e73272ec9a57: Waiting [2020-10-21T06:14:21.692Z] 4e634b169226: Waiting [2020-10-21T06:14:21.692Z] 1e910a182e73: Waiting [2020-10-21T06:14:21.692Z] e871e8e8d7a9: Waiting [2020-10-21T06:14:21.961Z] a92cc7c5fd73: Verifying Checksum [2020-10-21T06:14:21.961Z] a92cc7c5fd73: Download complete [2020-10-21T06:14:21.961Z] ed8968b2872e: Verifying Checksum [2020-10-21T06:14:21.961Z] ed8968b2872e: Download complete [2020-10-21T06:14:21.961Z] e73272ec9a57: Verifying Checksum [2020-10-21T06:14:21.961Z] e73272ec9a57: Download complete [2020-10-21T06:14:21.961Z] 1e910a182e73: Verifying Checksum [2020-10-21T06:14:21.961Z] 1e910a182e73: Download complete [2020-10-21T06:14:21.961Z] df20fa9351a1: Verifying Checksum [2020-10-21T06:14:21.961Z] df20fa9351a1: Download complete [2020-10-21T06:14:22.239Z] df20fa9351a1: Pull complete [2020-10-21T06:14:22.507Z] ed8968b2872e: Pull complete [2020-10-21T06:14:22.507Z] a92cc7c5fd73: Pull complete [2020-10-21T06:14:23.930Z] 4e634b169226: Verifying Checksum [2020-10-21T06:14:23.930Z] 4e634b169226: Download complete [2020-10-21T06:14:24.516Z] e871e8e8d7a9: Verifying Checksum [2020-10-21T06:14:24.516Z] e871e8e8d7a9: Download complete [2020-10-21T06:14:29.889Z] e871e8e8d7a9: Pull complete [2020-10-21T06:14:30.163Z] e73272ec9a57: Pull complete [2020-10-21T06:14:30.163Z] 1e910a182e73: Pull complete [2020-10-21T06:14:36.827Z] 4e634b169226: Pull complete [2020-10-21T06:14:36.827Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-21T06:14:36.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-21T06:14:36.827Z] ---> f7629b54cfaa [2020-10-21T06:14:36.827Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T06:14:37.110Z] ---> Running in 93313682e93d [2020-10-21T06:14:37.378Z] Removing intermediate container 93313682e93d [2020-10-21T06:14:37.378Z] ---> fed55ec38a43 [2020-10-21T06:14:37.378Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-21T06:14:37.378Z] ---> Running in 558f37b2c497 [2020-10-21T06:14:38.794Z] Removing intermediate container 558f37b2c497 [2020-10-21T06:14:38.794Z] ---> 1c2da5e2d873 [2020-10-21T06:14:38.794Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-21T06:14:38.794Z] ---> Running in 21816769b613 [2020-10-21T06:14:39.379Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-21T06:14:40.339Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-21T06:14:40.608Z] OK: 166 MiB in 39 packages [2020-10-21T06:14:41.189Z] Removing intermediate container 21816769b613 [2020-10-21T06:14:41.189Z] ---> 7c947e5808d7 [2020-10-21T06:14:41.189Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-21T06:14:41.189Z] ---> Running in 1a643c16ee53 [2020-10-21T06:14:41.455Z] Removing intermediate container 1a643c16ee53 [2020-10-21T06:14:41.455Z] ---> 02a7d24d653b [2020-10-21T06:14:41.455Z] Step 7/8 : COPY . . [2020-10-21T06:14:42.852Z] ---> d40722deda6e [2020-10-21T06:14:42.852Z] Step 8/8 : RUN go mod download [2020-10-21T06:14:42.852Z] ---> Running in 6272e7607744 [2020-10-21T06:15:01.058Z] Removing intermediate container 6272e7607744 [2020-10-21T06:15:01.058Z] ---> 544c03d9534a [2020-10-21T06:15:01.058Z] Successfully built 544c03d9534a [2020-10-21T06:15:01.058Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-21T06:15:01.539Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-21T06:15:01.539Z] . [Pipeline] withDockerContainer [2020-10-21T06:15:01.671Z] prd-centos7-docker-4c-2g-7422 does not seem to be running inside a container [2020-10-21T06:15:01.739Z] $ 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 ******** ci-base-image-x86_64 cat [2020-10-21T06:15:02.557Z] $ docker top 43585c71726fd0485f2803f7541f0f3e5b5a8283c73c7c124ab1882221ef2bf6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T06:15:03.200Z] + go version [2020-10-21T06:15:03.200Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-21T06:15:03.250Z] $ docker stop --time=1 43585c71726fd0485f2803f7541f0f3e5b5a8283c73c7c124ab1882221ef2bf6 [2020-10-21T06:15:04.597Z] $ docker rm -f 43585c71726fd0485f2803f7541f0f3e5b5a8283c73c7c124ab1882221ef2bf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-21T06:15:05.797Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-21T06:15:05.797Z] . [Pipeline] withDockerContainer [2020-10-21T06:15:05.936Z] prd-centos7-docker-4c-2g-7422 does not seem to be running inside a container [2020-10-21T06:15:05.992Z] $ 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 ******** ci-base-image-x86_64 cat [2020-10-21T06:15:06.701Z] $ docker top c1f5dd0d4aeea03b925b61f199f48afe8a5651ab0e7670dd1f8061d23587cdcf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T06:15:07.377Z] + make test [2020-10-21T06:15:07.377Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-21T06:15:15.607Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-21T06:15:30.659Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-21T06:15:30.659Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-21T06:15:30.659Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-21T06:15:30.659Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.055s coverage: 21.6% of statements [2020-10-21T06:15:31.626Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.432s coverage: 97.1% of statements [2020-10-21T06:16:03.832Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.063s coverage: 9.4% of statements [2020-10-21T06:16:03.832Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements [2020-10-21T06:16:03.832Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-21T06:16:03.832Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.228s coverage: 42.6% of statements [2020-10-21T06:16:03.832Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-21T06:16:03.832Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.278s coverage: 68.9% of statements [2020-10-21T06:16:03.832Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-21T06:16:03.832Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-21T06:16:03.832Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-21T06:16:03.832Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-21T06:16:03.832Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-10-21T06:16:03.832Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-21T06:16:03.832Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-21T06:16:03.832Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-21T06:16:03.832Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.268s coverage: 68.9% of statements [2020-10-21T06:16:03.832Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-21T06:16:03.832Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-21T06:16:03.832Z] GO111MODULE=on go vet ./... [2020-10-21T06:16:12.132Z] gofmt -l . [2020-10-21T06:16:12.132Z] [ "`gofmt -l .`" = "" ] [2020-10-21T06:16:12.132Z] ./bin/test-attribution-txt.sh [2020-10-21T06:16:12.715Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-21T06:16:13.377Z] Stashed 1 file(s) [Pipeline] } [2020-10-21T06:16:13.407Z] $ docker stop --time=1 c1f5dd0d4aeea03b925b61f199f48afe8a5651ab0e7670dd1f8061d23587cdcf [2020-10-21T06:16:15.352Z] $ docker rm -f c1f5dd0d4aeea03b925b61f199f48afe8a5651ab0e7670dd1f8061d23587cdcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-21T06:16:17.481Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-21T06:16:17.842Z] + ls -al . [2020-10-21T06:16:17.842Z] total 188 [2020-10-21T06:16:17.842Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 21 06:16 . [2020-10-21T06:16:17.842Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 21 06:14 .. [2020-10-21T06:16:17.842Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 21 06:14 bin [2020-10-21T06:16:17.842Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 21 06:16 coverage.out [2020-10-21T06:16:17.842Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 21 06:14 Dockerfile.build [2020-10-21T06:16:17.842Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 21 06:14 .dockerignore [2020-10-21T06:16:17.842Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 21 06:14 example [2020-10-21T06:16:17.842Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 21 06:14 .git [2020-10-21T06:16:17.842Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 21 06:14 .github [2020-10-21T06:16:17.842Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 21 06:14 .gitignore [2020-10-21T06:16:17.842Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 21 06:16 go.mod [2020-10-21T06:16:17.842Z] -rw-r--r--. 1 jenkins jenkins 13739 Oct 21 06:16 go.sum [2020-10-21T06:16:17.842Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 21 06:14 internal [2020-10-21T06:16:17.842Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 21 06:14 Jenkinsfile [2020-10-21T06:16:17.842Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 21 06:14 LICENSE [2020-10-21T06:16:17.842Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 21 06:14 Makefile [2020-10-21T06:16:17.842Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 21 06:14 openapi [2020-10-21T06:16:17.842Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 21 06:14 pkg [2020-10-21T06:16:17.842Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 21 06:14 README.md [2020-10-21T06:16:17.842Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 21 06:14 RELEASE-NOTES.txt [2020-10-21T06:16:17.842Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 21 06:14 snap [2020-10-21T06:16:17.842Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 21 06:13 VERSION [2020-10-21T06:16:17.842Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 21 06:14 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-21T06:16:18.235Z] + 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=5c193f582c261f6dda3e0a4faf843856b5ce4cf5 --label arch=amd64 --label version=0.0.0 . [2020-10-21T06:16:18.524Z] Sending build context to Docker daemon 2.434MB [2020-10-21T06:16:18.524Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-21T06:16:18.524Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-21T06:16:18.524Z] ---> 544c03d9534a [2020-10-21T06:16:18.524Z] Step 3/24 : ARG MAKE='make build' [2020-10-21T06:16:19.141Z] ---> Running in 3379e0f218ef [2020-10-21T06:16:19.141Z] Removing intermediate container 3379e0f218ef [2020-10-21T06:16:19.141Z] ---> cdee3a942838 [2020-10-21T06:16:19.141Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-21T06:16:19.141Z] ---> Running in aefd101fd241 [2020-10-21T06:16:19.426Z] Removing intermediate container aefd101fd241 [2020-10-21T06:16:19.426Z] ---> 988c70fbc8ea [2020-10-21T06:16:19.426Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T06:16:19.426Z] ---> Running in 59625d43d0ef [2020-10-21T06:16:19.702Z] Removing intermediate container 59625d43d0ef [2020-10-21T06:16:19.702Z] ---> 95bbc2df2d2c [2020-10-21T06:16:19.702Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-21T06:16:19.702Z] ---> Running in 9113e276f96c [2020-10-21T06:16:20.694Z] Removing intermediate container 9113e276f96c [2020-10-21T06:16:20.694Z] ---> 8f5fd56de66c [2020-10-21T06:16:20.694Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-21T06:16:20.694Z] ---> Running in 7e8887e12a6c [2020-10-21T06:16:21.285Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-21T06:16:21.889Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-21T06:16:22.921Z] OK: 166 MiB in 39 packages [2020-10-21T06:16:23.193Z] Removing intermediate container 7e8887e12a6c [2020-10-21T06:16:23.193Z] ---> 8a9241bb39db [2020-10-21T06:16:23.193Z] Step 8/24 : COPY . . [2020-10-21T06:16:24.146Z] ---> cec09375eba7 [2020-10-21T06:16:24.146Z] Step 9/24 : RUN ${MAKE} [2020-10-21T06:16:24.417Z] ---> Running in 48cc6dd1c85d [2020-10-21T06:16:25.003Z] 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-21T06:16:33.279Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-21T06:16:35.220Z] Removing intermediate container 48cc6dd1c85d [2020-10-21T06:16:35.220Z] ---> 505221fd009b [2020-10-21T06:16:35.220Z] Step 10/24 : FROM scratch [2020-10-21T06:16:35.220Z] ---> [2020-10-21T06:16:35.220Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T06:16:35.220Z] ---> Running in b797b7a2b621 [2020-10-21T06:16:35.220Z] Removing intermediate container b797b7a2b621 [2020-10-21T06:16:35.220Z] ---> 96c991f18a1a [2020-10-21T06:16:35.220Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-21T06:16:35.220Z] ---> Running in 2705f24a8f22 [2020-10-21T06:16:35.220Z] Removing intermediate container 2705f24a8f22 [2020-10-21T06:16:35.220Z] ---> e3506e703024 [2020-10-21T06:16:35.220Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-21T06:16:35.491Z] ---> Running in ea4d96f03df5 [2020-10-21T06:16:35.491Z] Removing intermediate container ea4d96f03df5 [2020-10-21T06:16:35.491Z] ---> ff1bbf44e15f [2020-10-21T06:16:35.491Z] Step 14/24 : WORKDIR / [2020-10-21T06:16:35.491Z] ---> Running in 2fc6fa7f331b [2020-10-21T06:16:35.758Z] Removing intermediate container 2fc6fa7f331b [2020-10-21T06:16:35.758Z] ---> f04248ea2ffd [2020-10-21T06:16:35.758Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-21T06:16:36.346Z] ---> da5eabaf15b9 [2020-10-21T06:16:36.346Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-21T06:16:36.615Z] ---> ef64488bf014 [2020-10-21T06:16:36.615Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-21T06:16:36.615Z] ---> 97e28d5622ac [2020-10-21T06:16:36.615Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-21T06:16:36.881Z] ---> f9d051cddead [2020-10-21T06:16:36.881Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-21T06:16:37.144Z] ---> 7853561531e6 [2020-10-21T06:16:37.144Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-21T06:16:37.408Z] ---> Running in 784b09484ea3 [2020-10-21T06:16:37.408Z] Removing intermediate container 784b09484ea3 [2020-10-21T06:16:37.408Z] ---> b67324e0b659 [2020-10-21T06:16:37.408Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-21T06:16:37.676Z] ---> Running in 1f23b898c5fa [2020-10-21T06:16:37.676Z] Removing intermediate container 1f23b898c5fa [2020-10-21T06:16:37.676Z] ---> fba74ae2d350 [2020-10-21T06:16:37.676Z] Step 22/24 : LABEL arch=amd64 [2020-10-21T06:16:37.676Z] ---> Running in 850154b936cc [2020-10-21T06:16:37.949Z] Removing intermediate container 850154b936cc [2020-10-21T06:16:37.949Z] ---> a3796ecc33e2 [2020-10-21T06:16:37.949Z] Step 23/24 : LABEL git_sha=5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [2020-10-21T06:16:37.949Z] ---> Running in 4ea70caf95d7 [2020-10-21T06:16:38.213Z] Removing intermediate container 4ea70caf95d7 [2020-10-21T06:16:38.213Z] ---> 4289c5b38e9e [2020-10-21T06:16:38.213Z] Step 24/24 : LABEL version=0.0.0 [2020-10-21T06:16:38.213Z] ---> Running in 1ee7a33ee884 [2020-10-21T06:16:38.479Z] Removing intermediate container 1ee7a33ee884 [2020-10-21T06:16:38.479Z] ---> dd82dd7b382a [2020-10-21T06:16:38.479Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-21T06:16:38.479Z] Successfully built dd82dd7b382a [2020-10-21T06:16:38.479Z] 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 [2020-10-21T06:16:40.199Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-7424 in /w/workspace/dgexfoundry_device-sdk-go_PR-639 [Pipeline] } [Pipeline] { [Pipeline] ws [2020-10-21T06:16:40.355Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-21T06:16:45.995Z] using credential edgex-jenkins-ssh [2020-10-21T06:16:46.071Z] Cloning the remote Git repository [2020-10-21T06:16:46.138Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T06:16:46.275Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-21T06:16:46.352Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T06:16:46.353Z] > git --version # timeout=10 [2020-10-21T06:16:46.367Z] > git --version # 'git version 2.17.1' [2020-10-21T06:16:46.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T06:16:46.443Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T06:16:47.520Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-21T06:16:47.542Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T06:16:47.571Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-21T06:16:47.609Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T06:16:47.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T06:16:47.620Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/639/head:refs/remotes/origin/PR-639 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-21T06:16:48.114Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [2020-10-21T06:16:48.356Z] Merge succeeded, producing 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [2020-10-21T06:16:48.356Z] Checking out Revision 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 (PR-639) [2020-10-21T06:16:48.139Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T06:16:48.159Z] > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 [2020-10-21T06:16:48.274Z] > git remote # timeout=10 [2020-10-21T06:16:48.299Z] > git config --get remote.origin.url # timeout=10 [2020-10-21T06:16:48.313Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T06:16:48.322Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-21T06:16:48.342Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-21T06:16:48.367Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T06:16:48.381Z] > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 [2020-10-21T06:16:52.754Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-10-21T06:16:52.825Z] > git --version # timeout=10 [2020-10-21T06:16:52.843Z] > git --version # 'git version 2.17.1' [2020-10-21T06:16:52.861Z] fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-21T06:16:54.092Z] ========================================================= [2020-10-21T06:16:54.092Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-21T06:16:54.093Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-21T06:16:55.013Z] + 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-21T06:16:55.999Z] Sending build context to Docker daemon 2.323MB [2020-10-21T06:16:55.999Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-21T06:16:55.999Z] Step 2/8 : FROM ${BASE} [2020-10-21T06:16:56.279Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-21T06:16:56.279Z] b538f80385f9: Pulling fs layer [2020-10-21T06:16:56.279Z] 74f711af9a0d: Pulling fs layer [2020-10-21T06:16:56.279Z] 99f96fe45779: Pulling fs layer [2020-10-21T06:16:56.279Z] 8529a6b9a6be: Pulling fs layer [2020-10-21T06:16:56.279Z] 45590311c82a: Pulling fs layer [2020-10-21T06:16:56.279Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-21T06:16:56.279Z] 209524e5b208: Pulling fs layer [2020-10-21T06:16:56.279Z] 8529a6b9a6be: Waiting [2020-10-21T06:16:56.279Z] 45590311c82a: Waiting [2020-10-21T06:16:56.279Z] 69ca0ff8b7b3: Waiting [2020-10-21T06:16:56.279Z] 99f96fe45779: Verifying Checksum [2020-10-21T06:16:56.279Z] 99f96fe45779: Download complete [2020-10-21T06:16:56.279Z] 74f711af9a0d: Verifying Checksum [2020-10-21T06:16:56.279Z] 74f711af9a0d: Download complete [2020-10-21T06:16:56.279Z] 45590311c82a: Verifying Checksum [2020-10-21T06:16:56.279Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-21T06:16:56.279Z] 69ca0ff8b7b3: Download complete [2020-10-21T06:16:56.882Z] b538f80385f9: Verifying Checksum [2020-10-21T06:16:56.882Z] b538f80385f9: Download complete [2020-10-21T06:16:57.493Z] b538f80385f9: Pull complete [2020-10-21T06:16:58.097Z] 74f711af9a0d: Pull complete [2020-10-21T06:16:58.713Z] 99f96fe45779: Pull complete [2020-10-21T06:16:59.705Z] 209524e5b208: Verifying Checksum [2020-10-21T06:16:59.705Z] 209524e5b208: Download complete [2020-10-21T06:17:00.315Z] 8529a6b9a6be: Download complete [2020-10-21T06:17:10.548Z] 8529a6b9a6be: Pull complete [2020-10-21T06:17:10.548Z] 45590311c82a: Pull complete [2020-10-21T06:17:10.548Z] 69ca0ff8b7b3: Pull complete [2020-10-21T06:17:13.960Z] 209524e5b208: Pull complete [2020-10-21T06:17:13.960Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-21T06:17:13.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-21T06:17:13.960Z] ---> 5bddaf1c2fca [2020-10-21T06:17:13.960Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T06:17:17.374Z] ---> Running in 0ae4864b09bf [2020-10-21T06:17:17.647Z] Removing intermediate container 0ae4864b09bf [2020-10-21T06:17:17.647Z] ---> 346ee76f7fc8 [2020-10-21T06:17:17.647Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-21T06:17:17.647Z] ---> Running in dd219f0ec303 [2020-10-21T06:17:21.054Z] Removing intermediate container dd219f0ec303 [2020-10-21T06:17:21.054Z] ---> 7758daf04846 [2020-10-21T06:17:21.054Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-21T06:17:21.054Z] ---> Running in d39874fcb87f [2020-10-21T06:17:22.531Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-21T06:17:23.515Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-21T06:17:25.499Z] OK: 142 MiB in 39 packages [2020-10-21T06:17:26.507Z] Removing intermediate container d39874fcb87f [2020-10-21T06:17:26.507Z] ---> f7075f2b83aa [2020-10-21T06:17:26.507Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-21T06:17:26.507Z] ---> Running in 6b239a13b8b8 [2020-10-21T06:17:27.109Z] Removing intermediate container 6b239a13b8b8 [2020-10-21T06:17:27.109Z] ---> 677717e68462 [2020-10-21T06:17:27.109Z] Step 7/8 : COPY . . [2020-10-21T06:17:28.553Z] ---> cda4caa8b2aa [2020-10-21T06:17:28.553Z] Step 8/8 : RUN go mod download [2020-10-21T06:17:28.553Z] ---> Running in 527921ac7541 [2020-10-21T06:17:50.793Z] Removing intermediate container 527921ac7541 [2020-10-21T06:17:50.793Z] ---> 46a6656b27a2 [2020-10-21T06:17:50.793Z] Successfully built 46a6656b27a2 [2020-10-21T06:17:51.066Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-21T06:17:51.550Z] + docker inspect -f . ci-base-image-arm64 [2020-10-21T06:17:51.550Z] . [Pipeline] withDockerContainer [2020-10-21T06:17:51.877Z] prd-ubuntu18.04-docker-arm64-4c-16g-7424 does not seem to be running inside a container [2020-10-21T06:17:52.064Z] $ 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 ******** ci-base-image-arm64 cat [2020-10-21T06:17:54.245Z] $ docker top f7041f2f3d2abd80246f74fa8c79979b6706c60fa93c69a8b94998d229624334 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T06:17:55.791Z] + go version [2020-10-21T06:17:55.791Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-21T06:17:55.837Z] $ docker stop --time=1 f7041f2f3d2abd80246f74fa8c79979b6706c60fa93c69a8b94998d229624334 [2020-10-21T06:17:57.860Z] $ docker rm -f f7041f2f3d2abd80246f74fa8c79979b6706c60fa93c69a8b94998d229624334 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-21T06:17:59.206Z] + docker inspect -f . ci-base-image-arm64 [2020-10-21T06:17:59.207Z] . [Pipeline] withDockerContainer [2020-10-21T06:17:59.528Z] prd-ubuntu18.04-docker-arm64-4c-16g-7424 does not seem to be running inside a container [2020-10-21T06:17:59.621Z] $ 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 ******** ci-base-image-arm64 cat [2020-10-21T06:18:01.605Z] $ docker top 34d43163e78c35bbf4e53225aa2b97f752c86e55d02bf6a666195396312e189f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T06:18:03.117Z] + make test [2020-10-21T06:18:03.117Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-21T06:18:25.305Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-21T06:19:12.332Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-21T06:19:12.332Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-21T06:19:12.332Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-21T06:19:12.332Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.170s coverage: 21.6% of statements [2020-10-21T06:19:12.333Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.182s coverage: 97.1% of statements [2020-10-21T06:19:39.132Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.138s coverage: 9.4% of statements [2020-10-21T06:19:39.132Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.135s coverage: 21.9% of statements [2020-10-21T06:19:39.132Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-21T06:19:39.132Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.577s coverage: 42.6% of statements [2020-10-21T06:19:39.132Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-21T06:19:39.132Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.802s coverage: 68.9% of statements [2020-10-21T06:19:39.132Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-21T06:19:39.132Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-21T06:19:39.132Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-21T06:19:39.132Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-21T06:19:39.132Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.189s coverage: 52.6% of statements [2020-10-21T06:19:39.132Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-21T06:19:39.132Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-21T06:19:39.132Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-21T06:19:39.132Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.996s coverage: 68.9% of statements [2020-10-21T06:19:39.132Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-21T06:19:39.132Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-21T06:19:39.410Z] GO111MODULE=on go vet ./... [2020-10-21T06:20:11.795Z] gofmt -l . [2020-10-21T06:20:11.795Z] [ "`gofmt -l .`" = "" ] [2020-10-21T06:20:11.795Z] ./bin/test-attribution-txt.sh [2020-10-21T06:20:12.394Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-21T06:20:13.032Z] Warning: overwriting stash ‘coverage-report’ [2020-10-21T06:20:14.012Z] Stashed 1 file(s) [Pipeline] } [2020-10-21T06:20:14.036Z] $ docker stop --time=1 34d43163e78c35bbf4e53225aa2b97f752c86e55d02bf6a666195396312e189f [2020-10-21T06:20:16.296Z] $ docker rm -f 34d43163e78c35bbf4e53225aa2b97f752c86e55d02bf6a666195396312e189f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-21T06:20:17.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-21T06:20:18.355Z] + ls -al . [2020-10-21T06:20:18.355Z] total 224 [2020-10-21T06:20:18.355Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 21 06:20 . [2020-10-21T06:20:18.355Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 06:16 .. [2020-10-21T06:20:18.355Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 21 06:16 .dockerignore [2020-10-21T06:20:18.355Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 06:16 .git [2020-10-21T06:20:18.355Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 06:16 .github [2020-10-21T06:20:18.355Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 21 06:16 .gitignore [2020-10-21T06:20:18.355Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 21 06:16 Dockerfile.build [2020-10-21T06:20:18.355Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 21 06:16 Jenkinsfile [2020-10-21T06:20:18.355Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 21 06:16 LICENSE [2020-10-21T06:20:18.355Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 21 06:16 Makefile [2020-10-21T06:20:18.355Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 21 06:16 README.md [2020-10-21T06:20:18.355Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 21 06:16 RELEASE-NOTES.txt [2020-10-21T06:20:18.355Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 06:13 VERSION [2020-10-21T06:20:18.355Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 06:16 bin [2020-10-21T06:20:18.355Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 21 06:19 coverage.out [2020-10-21T06:20:18.355Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 06:16 example [2020-10-21T06:20:18.355Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 21 06:20 go.mod [2020-10-21T06:20:18.355Z] -rw-r--r-- 1 jenkins jenkins 13739 Oct 21 06:20 go.sum [2020-10-21T06:20:18.355Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 21 06:16 internal [2020-10-21T06:20:18.355Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 06:16 openapi [2020-10-21T06:20:18.355Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 21 06:16 pkg [2020-10-21T06:20:18.355Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 06:16 snap [2020-10-21T06:20:18.355Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 21 06:16 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-21T06:20:18.750Z] + 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=5c193f582c261f6dda3e0a4faf843856b5ce4cf5 --label arch=arm64 --label version=0.0.0 . [2020-10-21T06:20:19.027Z] Sending build context to Docker daemon 2.434MB [2020-10-21T06:20:19.027Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-21T06:20:19.027Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-21T06:20:19.027Z] ---> 46a6656b27a2 [2020-10-21T06:20:19.027Z] Step 3/24 : ARG MAKE='make build' [2020-10-21T06:20:19.625Z] ---> Running in 6db48deea691 [2020-10-21T06:20:19.902Z] Removing intermediate container 6db48deea691 [2020-10-21T06:20:19.902Z] ---> 8fa6abc469d9 [2020-10-21T06:20:19.902Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-21T06:20:19.902Z] ---> Running in ffe4a09f3542 [2020-10-21T06:20:20.500Z] Removing intermediate container ffe4a09f3542 [2020-10-21T06:20:20.500Z] ---> 0b0cfa98a123 [2020-10-21T06:20:20.500Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T06:20:20.500Z] ---> Running in 44da54ebbaac [2020-10-21T06:20:21.097Z] Removing intermediate container 44da54ebbaac [2020-10-21T06:20:21.097Z] ---> a5ed58d51022 [2020-10-21T06:20:21.097Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-21T06:20:21.097Z] ---> Running in 6a39c74e7014 [2020-10-21T06:20:25.001Z] Removing intermediate container 6a39c74e7014 [2020-10-21T06:20:25.001Z] ---> 733ec31ead3f [2020-10-21T06:20:25.001Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-21T06:20:25.001Z] ---> Running in e8b1a14a8120 [2020-10-21T06:20:25.278Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-21T06:20:26.269Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-21T06:20:28.287Z] OK: 142 MiB in 39 packages [2020-10-21T06:20:29.289Z] Removing intermediate container e8b1a14a8120 [2020-10-21T06:20:29.289Z] ---> f97a63c957bd [2020-10-21T06:20:29.289Z] Step 8/24 : COPY . . [2020-10-21T06:20:30.290Z] ---> 9f7acf58865e [2020-10-21T06:20:30.291Z] Step 9/24 : RUN ${MAKE} [2020-10-21T06:20:30.291Z] ---> Running in 7347ea42d106 [2020-10-21T06:20:31.729Z] 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-21T06:20:58.612Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-21T06:20:58.612Z] Removing intermediate container 7347ea42d106 [2020-10-21T06:20:58.612Z] ---> 9fe00ebf4826 [2020-10-21T06:20:58.612Z] Step 10/24 : FROM scratch [2020-10-21T06:20:58.612Z] ---> [2020-10-21T06:20:58.612Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T06:20:58.612Z] ---> Running in e15734405064 [2020-10-21T06:20:58.885Z] Removing intermediate container e15734405064 [2020-10-21T06:20:58.885Z] ---> f0a40e3b8b63 [2020-10-21T06:20:58.885Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-21T06:20:58.885Z] ---> Running in be5b5de0af5f [2020-10-21T06:20:59.488Z] Removing intermediate container be5b5de0af5f [2020-10-21T06:20:59.488Z] ---> 927b545963e2 [2020-10-21T06:20:59.488Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-21T06:20:59.488Z] ---> Running in b3d6088856cb [2020-10-21T06:20:59.763Z] Removing intermediate container b3d6088856cb [2020-10-21T06:20:59.763Z] ---> 14892ffd412d [2020-10-21T06:20:59.763Z] Step 14/24 : WORKDIR / [2020-10-21T06:21:00.039Z] ---> Running in b229d413f082 [2020-10-21T06:21:00.315Z] Removing intermediate container b229d413f082 [2020-10-21T06:21:00.315Z] ---> 8cad6b171366 [2020-10-21T06:21:00.315Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-21T06:21:01.757Z] ---> f5cab412dd4f [2020-10-21T06:21:01.757Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-21T06:21:02.360Z] ---> 8658b814ee64 [2020-10-21T06:21:02.360Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-21T06:21:02.960Z] ---> 5af51f171d51 [2020-10-21T06:21:02.960Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-21T06:21:04.016Z] ---> 4bb02edf6ba6 [2020-10-21T06:21:04.016Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-21T06:21:04.620Z] ---> cd2b23130a1f [2020-10-21T06:21:04.620Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-21T06:21:04.620Z] ---> Running in f1c8c403a8bf [2020-10-21T06:21:05.227Z] Removing intermediate container f1c8c403a8bf [2020-10-21T06:21:05.227Z] ---> e1819268185e [2020-10-21T06:21:05.227Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-21T06:21:05.227Z] ---> Running in 2c7200ee25ac [2020-10-21T06:21:05.826Z] Removing intermediate container 2c7200ee25ac [2020-10-21T06:21:05.826Z] ---> d7db4420f359 [2020-10-21T06:21:05.826Z] Step 22/24 : LABEL arch=arm64 [2020-10-21T06:21:05.826Z] ---> Running in 0679f0dccbac [2020-10-21T06:21:06.424Z] Removing intermediate container 0679f0dccbac [2020-10-21T06:21:06.424Z] ---> dfd8e9227b9e [2020-10-21T06:21:06.424Z] Step 23/24 : LABEL git_sha=5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [2020-10-21T06:21:06.424Z] ---> Running in e239d4c6535d [2020-10-21T06:21:07.022Z] Removing intermediate container e239d4c6535d [2020-10-21T06:21:07.022Z] ---> f68cb0e1c6c5 [2020-10-21T06:21:07.022Z] Step 24/24 : LABEL version=0.0.0 [2020-10-21T06:21:07.022Z] ---> Running in 2d2673775c4c [2020-10-21T06:21:07.615Z] Removing intermediate container 2d2673775c4c [2020-10-21T06:21:07.615Z] ---> a75f2dc331c1 [2020-10-21T06:21:07.615Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-21T06:21:07.615Z] Successfully built a75f2dc331c1 [2020-10-21T06:21:07.615Z] 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-21T06:21:10.267Z] provisioning config files... [2020-10-21T06:21:10.280Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/config178179202791291421tmp [Pipeline] { [Pipeline] sh [2020-10-21T06:21:10.714Z] + set +x [2020-10-21T06:21:10.714Z] + curl -s https://codecov.io/bash [2020-10-21T06:21:10.714Z] + bash -s -- [2020-10-21T06:21:10.977Z] [2020-10-21T06:21:10.977Z] _____ _ [2020-10-21T06:21:10.977Z] / ____| | | [2020-10-21T06:21:10.977Z] | | ___ __| | ___ ___ _____ __ [2020-10-21T06:21:10.977Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-21T06:21:10.977Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-21T06:21:10.977Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-21T06:21:10.977Z] Bash-20201009-048fee3 [2020-10-21T06:21:10.977Z] [2020-10-21T06:21:10.977Z] [2020-10-21T06:21:10.977Z] ==> Jenkins CI detected. [2020-10-21T06:21:10.977Z] project root: . [2020-10-21T06:21:10.977Z] --> token set from env [2020-10-21T06:21:10.977Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-21T06:21:10.977Z] ==> Running gcov in . (disable via -X gcov) [2020-10-21T06:21:10.977Z] ==> Python coveragepy not found [2020-10-21T06:21:10.977Z] ==> Searching for coverage reports in: [2020-10-21T06:21:10.977Z] + . [2020-10-21T06:21:10.977Z] -> Found 1 reports [2020-10-21T06:21:10.977Z] ==> Detecting git/mercurial file structure [2020-10-21T06:21:10.977Z] ==> Reading reports [2020-10-21T06:21:10.977Z] + ./coverage.out bytes=110398 [2020-10-21T06:21:10.977Z] ==> Appending adjustments [2020-10-21T06:21:10.977Z] https://docs.codecov.io/docs/fixing-reports [2020-10-21T06:21:11.553Z] + Found adjustments [2020-10-21T06:21:11.553Z] ==> Gzipping contents [2020-10-21T06:21:11.553Z] ==> Uploading reports [2020-10-21T06:21:11.553Z] url: https://codecov.io [2020-10-21T06:21:11.553Z] query: branch=PR-639&commit=5c193f582c261f6dda3e0a4faf843856b5ce4cf5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-639%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=639&job=&cmd_args= [2020-10-21T06:21:11.553Z] -> Pinging Codecov [2020-10-21T06:21:11.553Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-639&commit=5c193f582c261f6dda3e0a4faf843856b5ce4cf5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-639%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=639&job=&cmd_args= [2020-10-21T06:21:11.553Z] -> Uploading to [2020-10-21T06:21:11.553Z] [2020-10-21T06:21:11.815Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-21T06:21:11.815Z] Dload Upload Total Spent Left Speed [2020-10-21T06:21:11.815Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-21T06:21:11.815Z] X> Failed to upload [2020-10-21T06:21:11.815Z] ==> Uploading to Codecov [2020-10-21T06:21:11.815Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-21T06:21:11.815Z] Dload Upload Total Spent Left Speed [2020-10-21T06:21:12.407Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 19033 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19143 100 110 100 19033 188 32669 --:--:-- --:--:-- --:--:-- 32646 [2020-10-21T06:21:12.407Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [Pipeline] } [2020-10-21T06:21:12.434Z] 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-21T06:21:16.331Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T06:21:16.958Z] ---> package-listing.sh [2020-10-21T06:21:16.958Z] ++ facter osfamily [2020-10-21T06:21:16.958Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-21T06:21:16.958Z] + OS_FAMILY=redhat [2020-10-21T06:21:16.958Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-639 [2020-10-21T06:21:16.958Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-21T06:21:16.958Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-21T06:21:16.958Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-21T06:21:16.958Z] + PACKAGES=/tmp/packages_start.txt [2020-10-21T06:21:16.958Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-639 ']' [2020-10-21T06:21:16.958Z] + PACKAGES=/tmp/packages_end.txt [2020-10-21T06:21:16.958Z] + case "${OS_FAMILY}" in [2020-10-21T06:21:16.958Z] + rpm -qa [2020-10-21T06:21:16.958Z] + sort [2020-10-21T06:21:21.205Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-21T06:21:21.205Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-21T06:21:21.205Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-21T06:21:21.205Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-639 ']' [2020-10-21T06:21:21.205Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-639/archives/ [2020-10-21T06:21:21.205Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-639/archives/ [Pipeline] echo [2020-10-21T06:21:21.235Z] 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-639/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-21T06:21:21.558Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-21T06:21:21.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T06:21:21.914Z] [2020-10-21T06:21:21.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-21T06:21:22.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T06:21:22.315Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-21T06:21:22.315Z] df20fa9351a1: Pulling fs layer [2020-10-21T06:21:22.315Z] 36b3adc4ff6f: Pulling fs layer [2020-10-21T06:21:22.315Z] 8ad3a11d3b57: Pulling fs layer [2020-10-21T06:21:22.315Z] 46f8f816bc3b: Pulling fs layer [2020-10-21T06:21:22.315Z] 93b61091891f: Pulling fs layer [2020-10-21T06:21:22.315Z] 93b9cdb0e59b: Pulling fs layer [2020-10-21T06:21:22.315Z] 5e14af77c1be: Pulling fs layer [2020-10-21T06:21:22.315Z] 01666e4c0597: Pulling fs layer [2020-10-21T06:21:22.315Z] aa168da1d23b: Pulling fs layer [2020-10-21T06:21:22.315Z] 46f8f816bc3b: Waiting [2020-10-21T06:21:22.315Z] 93b61091891f: Waiting [2020-10-21T06:21:22.315Z] 93b9cdb0e59b: Waiting [2020-10-21T06:21:22.315Z] 5e14af77c1be: Waiting [2020-10-21T06:21:22.315Z] 01666e4c0597: Waiting [2020-10-21T06:21:22.315Z] aa168da1d23b: Waiting [2020-10-21T06:21:22.315Z] 36b3adc4ff6f: Download complete [2020-10-21T06:21:22.315Z] 46f8f816bc3b: Verifying Checksum [2020-10-21T06:21:22.315Z] 46f8f816bc3b: Download complete [2020-10-21T06:21:22.315Z] df20fa9351a1: Verifying Checksum [2020-10-21T06:21:22.315Z] df20fa9351a1: Download complete [2020-10-21T06:21:22.315Z] 93b9cdb0e59b: Verifying Checksum [2020-10-21T06:21:22.315Z] 93b9cdb0e59b: Download complete [2020-10-21T06:21:22.315Z] 5e14af77c1be: Verifying Checksum [2020-10-21T06:21:22.315Z] 5e14af77c1be: Download complete [2020-10-21T06:21:22.581Z] 01666e4c0597: Verifying Checksum [2020-10-21T06:21:22.581Z] 01666e4c0597: Download complete [2020-10-21T06:21:22.581Z] 93b61091891f: Verifying Checksum [2020-10-21T06:21:22.581Z] 93b61091891f: Download complete [2020-10-21T06:21:22.581Z] 8ad3a11d3b57: Verifying Checksum [2020-10-21T06:21:22.581Z] 8ad3a11d3b57: Download complete [2020-10-21T06:21:22.581Z] df20fa9351a1: Pull complete [2020-10-21T06:21:22.848Z] 36b3adc4ff6f: Pull complete [2020-10-21T06:21:23.813Z] 8ad3a11d3b57: Pull complete [2020-10-21T06:21:23.813Z] 46f8f816bc3b: Pull complete [2020-10-21T06:21:24.388Z] 93b61091891f: Pull complete [2020-10-21T06:21:24.388Z] 93b9cdb0e59b: Pull complete [2020-10-21T06:21:24.659Z] 5e14af77c1be: Pull complete [2020-10-21T06:21:24.659Z] aa168da1d23b: Verifying Checksum [2020-10-21T06:21:24.659Z] aa168da1d23b: Download complete [2020-10-21T06:21:24.659Z] 01666e4c0597: Pull complete [2020-10-21T06:21:31.298Z] aa168da1d23b: Pull complete [2020-10-21T06:21:31.298Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-21T06:21:31.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T06:21:31.298Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-21T06:21:31.599Z] prd-centos7-docker-4c-2g-7419 does not seem to be running inside a container [2020-10-21T06:21:31.661Z] $ 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-639/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-639 -v /w/workspace/dgexfoundry_device-sdk-go_PR-639:/w/workspace/dgexfoundry_device-sdk-go_PR-639:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-639@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:10003/edgex-lftools-log-publisher:alpine cat [2020-10-21T06:21:38.557Z] $ docker top d48fa50579d6fce64a010c89c27a01f04ad2adc19a797b877bfd1c9466282a1f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T06:21:39.146Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-21T06:21:39.491Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-21T06:21:39.819Z] + ls /var/log/sa-host [2020-10-21T06:21:39.819Z] + sadf -c /var/log/sa-host/sa05 [2020-10-21T06:21:39.819Z] file_magic: OK [2020-10-21T06:21:39.819Z] HZ: Using current value: 100 [2020-10-21T06:21:39.819Z] file_header: OK [2020-10-21T06:21:39.819Z] 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-21T06:21:39.819Z] Statistics: [2020-10-21T06:21:39.819Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-21T06:21:39.819Z] File successfully converted to sysstat format version 12.2.1 [2020-10-21T06:21:39.819Z] + sadf -c /var/log/sa-host/sa21 [2020-10-21T06:21:39.819Z] file_magic: OK [2020-10-21T06:21:39.819Z] HZ: Using current value: 100 [2020-10-21T06:21:39.819Z] file_header: OK [2020-10-21T06:21:39.819Z] 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-21T06:21:39.819Z] Statistics: [2020-10-21T06:21:39.819Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-21T06:21:39.819Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-21T06:21:40.107Z] provisioning config files... [2020-10-21T06:21:40.139Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/config8601606079337581168tmp [Pipeline] { [Pipeline] echo [2020-10-21T06:21:40.259Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T06:21:40.617Z] ---> create-netrc.sh [Pipeline] } [2020-10-21T06:21:40.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-21T06:21:40.814Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T06:21:41.147Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-21T06:21:41.174Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T06:21:41.550Z] ---> sudo-logs.sh [2020-10-21T06:21:41.550Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-21T06:21:41.583Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T06:21:41.920Z] ---> job-cost.sh [2020-10-21T06:21:41.920Z] lf-activate-venv: SKIPPING [2020-10-21T06:21:41.920Z] INFO: No Stack... [2020-10-21T06:21:43.353Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-21T06:21:43.618Z] INFO: Archiving Costs [Pipeline] echo [2020-10-21T06:21:43.653Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T06:21:43.981Z] ---> logs-deploy.sh [2020-10-21T06:21:43.981Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-639/1 [2020-10-21T06:21:43.981Z] INFO: archiving workspace using pattern(s): [2020-10-21T06:21:45.915Z] Archives upload complete. [2020-10-21T06:21:45.915Z] INFO: archiving logs to Nexus