Pull request #641 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 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89+6cec193abf44cabffe02bbcaff9748adb3f719d5 (f85bfee04500b5c619754471775020728af6777b) 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-641/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-641/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-8112 in /w/workspace/dgexfoundry_device-sdk-go_PR-641 [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-641 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 Merge succeeded, producing 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 Checking out Revision 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 (PR-641) > 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/641/head:refs/remotes/origin/PR-641 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 # 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 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 # timeout=10 Commit message: "refactor: update LogLevel for pushing event to coredata" 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-22T02:53:55.209Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-22T02:53:55.592Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-22T02:53:55.765Z] ========================================================= [2020-10-22T02:53:55.765Z] EdgeX Global Pipelines Version Info [2020-10-22T02:53:55.765Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-22T02:53:57.283Z] ------------------- [2020-10-22T02:53:57.284Z] stable info: [2020-10-22T02:53:57.284Z] ------------------- [2020-10-22T02:53:57.284Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-22T02:53:57.284Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-22T02:53:57.284Z] Message: update stable to v1.0.144 [2020-10-22T02:53:58.243Z] ------------------- [2020-10-22T02:53:58.243Z] experimental info: [2020-10-22T02:53:58.243Z] ------------------- [2020-10-22T02:53:58.244Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-22T02:53:58.244Z] Commit SHA: 621c85e0770955ed183ee9564161f3cbfe69c868 [2020-10-22T02:53:58.244Z] Message: update experimental to v1.0.147 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-22T02:53:58.805Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-22T02:53:58.961Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-22T02:53:59.101Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-22T02:53:59.236Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-22T02:53:59.388Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-22T02:53:59.518Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-22T02:53:59.662Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-22T02:53:59.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-22T02:53:59.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-22T02:54:00.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-22T02:54:00.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-22T02:54:00.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-22T02:54:00.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-22T02:54:00.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-22T02:54:00.775Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-22T02:54:00.932Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-22T02:54:01.066Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-22T02:54:01.211Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-22T02:54:01.345Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-22T02:54:01.588Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-22T02:54:01.765Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-22T02:54:01.925Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-22T02:54:02.069Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-22T02:54:02.201Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-22T02:54:02.387Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-22T02:54:02.559Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-641 [Pipeline] echo [2020-10-22T02:54:02.710Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-641 [Pipeline] echo [2020-10-22T02:54:02.840Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-641 [Pipeline] echo [2020-10-22T02:54:02.958Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 [Pipeline] echo [2020-10-22T02:54:03.087Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f6ce52 [Pipeline] echo [2020-10-22T02:54:03.212Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-22T02:54:03.988Z] + git log --format=format:%s -1 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 [Pipeline] echo [2020-10-22T02:54:04.073Z] GIT_COMMIT: 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89, Commit Message: refactor: update LogLevel for pushing event to coredata [Pipeline] echo [2020-10-22T02:54:04.147Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-22T02:54:05.255Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-22T02:54:05.518Z] [2020-10-22T02:54:05.518Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-22T02:54:05.961Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-22T02:54:05.961Z] latest: Pulling from edgex-devops/git-semver [2020-10-22T02:54:05.961Z] 31603596830f: Pulling fs layer [2020-10-22T02:54:05.961Z] 2a8b12db71e7: Pulling fs layer [2020-10-22T02:54:05.961Z] 6ca5941a6612: Pulling fs layer [2020-10-22T02:54:05.961Z] ecc8261a40a4: Pulling fs layer [2020-10-22T02:54:05.961Z] ecc8261a40a4: Waiting [2020-10-22T02:54:05.961Z] 2a8b12db71e7: Verifying Checksum [2020-10-22T02:54:05.961Z] 2a8b12db71e7: Download complete [2020-10-22T02:54:05.961Z] 31603596830f: Verifying Checksum [2020-10-22T02:54:05.961Z] 31603596830f: Download complete [2020-10-22T02:54:06.226Z] ecc8261a40a4: Verifying Checksum [2020-10-22T02:54:06.226Z] ecc8261a40a4: Download complete [2020-10-22T02:54:06.226Z] 6ca5941a6612: Verifying Checksum [2020-10-22T02:54:06.226Z] 6ca5941a6612: Download complete [2020-10-22T02:54:06.488Z] 31603596830f: Pull complete [2020-10-22T02:54:06.488Z] 2a8b12db71e7: Pull complete [2020-10-22T02:54:07.435Z] 6ca5941a6612: Pull complete [2020-10-22T02:54:07.697Z] ecc8261a40a4: Pull complete [2020-10-22T02:54:07.697Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-22T02:54:07.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-22T02:54:07.697Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-22T02:54:07.823Z] prd-centos7-docker-4c-2g-8112 does not seem to be running inside a container [2020-10-22T02:54:07.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-641 -v /w/workspace/dgexfoundry_device-sdk-go_PR-641:/w/workspace/dgexfoundry_device-sdk-go_PR-641:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-641@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-22T02:54:10.012Z] $ docker top d4bc21371d42b6d704262d984e279daf5ecc3a3a815237da1968a55c56a31108 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-22T02:54:10.451Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-22T02:54:10.451Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-22T02:54:10.703Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-22T02:54:10.710Z] $ docker exec d4bc21371d42b6d704262d984e279daf5ecc3a3a815237da1968a55c56a31108 ssh-agent [2020-10-22T02:54:10.887Z] SSH_AUTH_SOCK=/tmp/ssh-SQ86r1s2RYvO/agent.12 [2020-10-22T02:54:10.887Z] SSH_AGENT_PID=17 [2020-10-22T02:54:10.900Z] Running ssh-add (command line suppressed) [2020-10-22T02:54:11.036Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/private_key_1847942797622229393.key (/w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/private_key_1847942797622229393.key) [2020-10-22T02:54:11.086Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-22T02:54:11.465Z] + git tag --points-at HEAD [Pipeline] } [2020-10-22T02:54:11.564Z] $ docker exec --env ******** --env ******** d4bc21371d42b6d704262d984e279daf5ecc3a3a815237da1968a55c56a31108 ssh-agent -k [2020-10-22T02:54:11.706Z] unset SSH_AUTH_SOCK; [2020-10-22T02:54:11.707Z] unset SSH_AGENT_PID; [2020-10-22T02:54:11.707Z] echo Agent pid 17 killed; [2020-10-22T02:54:11.752Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-22T02:54:11.934Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-22T02:54:11.934Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-22T02:54:12.108Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-22T02:54:12.114Z] $ docker exec d4bc21371d42b6d704262d984e279daf5ecc3a3a815237da1968a55c56a31108 ssh-agent [2020-10-22T02:54:12.276Z] SSH_AUTH_SOCK=/tmp/ssh-7baUsgTBchJc/agent.46 [2020-10-22T02:54:12.276Z] SSH_AGENT_PID=52 [2020-10-22T02:54:12.283Z] Running ssh-add (command line suppressed) [2020-10-22T02:54:12.403Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/private_key_7903827780790373007.key (/w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/private_key_7903827780790373007.key) [2020-10-22T02:54:12.450Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-22T02:54:12.828Z] + git semver init [2020-10-22T02:54:12.828Z] # -> Open(): unable to determine branch for HEAD [2020-10-22T02:54:12.828Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-641/.git [2020-10-22T02:54:12.828Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-641 [2020-10-22T02:54:12.828Z] # $SEMVER_REMOTE_NAME = origin [2020-10-22T02:54:12.828Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-22T02:54:12.828Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-22T02:54:12.828Z] # $SEMVER_BRANCH = PR-641 [2020-10-22T02:54:12.828Z] # $SEMVER_TEMP = /tmp/semver-836393989 [2020-10-22T02:54:12.828Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-22T02:54:13.408Z] # '/tmp/semver-836393989' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-641/.semver' [2020-10-22T02:54:13.408Z] # -> Force: false [2020-10-22T02:54:13.408Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-641/.semver [Pipeline] } [2020-10-22T02:54:13.433Z] $ docker exec --env ******** --env ******** d4bc21371d42b6d704262d984e279daf5ecc3a3a815237da1968a55c56a31108 ssh-agent -k [2020-10-22T02:54:13.588Z] unset SSH_AUTH_SOCK; [2020-10-22T02:54:13.588Z] unset SSH_AGENT_PID; [2020-10-22T02:54:13.588Z] echo Agent pid 52 killed; [2020-10-22T02:54:13.640Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-22T02:54:14.211Z] + git semver [Pipeline] } [2020-10-22T02:54:14.245Z] $ docker stop --time=1 d4bc21371d42b6d704262d984e279daf5ecc3a3a815237da1968a55c56a31108 [2020-10-22T02:54:15.842Z] $ docker rm -f d4bc21371d42b6d704262d984e279daf5ecc3a3a815237da1968a55c56a31108 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-22T02:54:16.375Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-22T02:54:16.839Z] Stashed 1 file(s) [Pipeline] echo [2020-10-22T02:54:16.860Z] [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-22T02:54:32.742Z] Still waiting to schedule task [2020-10-22T02:54:32.742Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-22T02:54:32.770Z] Still waiting to schedule task [2020-10-22T02:54:32.770Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-22T02:56:14.585Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8113 in /w/workspace/dgexfoundry_device-sdk-go_PR-641 [Pipeline] { [Pipeline] ws [2020-10-22T02:56:14.694Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-22T02:56:19.343Z] using credential edgex-jenkins-ssh [2020-10-22T02:56:19.422Z] Cloning the remote Git repository [2020-10-22T02:56:19.480Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T02:56:19.582Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-22T02:56:19.659Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T02:56:19.660Z] > git --version # timeout=10 [2020-10-22T02:56:19.680Z] > git --version # 'git version 2.17.1' [2020-10-22T02:56:19.682Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T02:56:19.762Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-22T02:56:20.855Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-22T02:56:20.877Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-22T02:56:20.899Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-22T02:56:20.933Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T02:56:20.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T02:56:20.945Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/641/head:refs/remotes/origin/PR-641 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-22T02:56:21.555Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 [2020-10-22T02:56:21.781Z] Merge succeeded, producing 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 [2020-10-22T02:56:21.781Z] Checking out Revision 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 (PR-641) [2020-10-22T02:56:21.578Z] > git config core.sparsecheckout # timeout=10 [2020-10-22T02:56:21.592Z] > git checkout -f 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 # timeout=10 [2020-10-22T02:56:21.703Z] > git remote # timeout=10 [2020-10-22T02:56:21.720Z] > git config --get remote.origin.url # timeout=10 [2020-10-22T02:56:21.736Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T02:56:21.746Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-22T02:56:21.768Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-22T02:56:21.790Z] > git config core.sparsecheckout # timeout=10 [2020-10-22T02:56:21.806Z] > git checkout -f 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 # timeout=10 [2020-10-22T02:56:26.330Z] Commit message: "refactor: update LogLevel for pushing event to coredata" [2020-10-22T02:56:26.402Z] > git --version # timeout=10 [2020-10-22T02:56:26.416Z] > git --version # 'git version 2.17.1' [2020-10-22T02:56:26.439Z] fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-22T02:56:27.791Z] ========================================================= [2020-10-22T02:56:27.791Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-22T02:56:27.791Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-22T02:56:28.854Z] + 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-22T02:56:29.851Z] Sending build context to Docker daemon 2.333MB [2020-10-22T02:56:29.851Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-22T02:56:29.851Z] Step 2/8 : FROM ${BASE} [2020-10-22T02:56:30.125Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-22T02:56:30.125Z] b538f80385f9: Pulling fs layer [2020-10-22T02:56:30.125Z] 74f711af9a0d: Pulling fs layer [2020-10-22T02:56:30.125Z] 99f96fe45779: Pulling fs layer [2020-10-22T02:56:30.125Z] 8529a6b9a6be: Pulling fs layer [2020-10-22T02:56:30.125Z] 45590311c82a: Pulling fs layer [2020-10-22T02:56:30.125Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-22T02:56:30.125Z] 209524e5b208: Pulling fs layer [2020-10-22T02:56:30.125Z] 8529a6b9a6be: Waiting [2020-10-22T02:56:30.125Z] 45590311c82a: Waiting [2020-10-22T02:56:30.125Z] 69ca0ff8b7b3: Waiting [2020-10-22T02:56:30.125Z] 209524e5b208: Waiting [2020-10-22T02:56:30.125Z] 99f96fe45779: Verifying Checksum [2020-10-22T02:56:30.125Z] 99f96fe45779: Download complete [2020-10-22T02:56:30.125Z] 74f711af9a0d: Download complete [2020-10-22T02:56:30.125Z] 45590311c82a: Verifying Checksum [2020-10-22T02:56:30.125Z] 45590311c82a: Download complete [2020-10-22T02:56:30.125Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-22T02:56:30.125Z] 69ca0ff8b7b3: Download complete [2020-10-22T02:56:30.728Z] b538f80385f9: Verifying Checksum [2020-10-22T02:56:30.728Z] b538f80385f9: Download complete [2020-10-22T02:56:31.335Z] b538f80385f9: Pull complete [2020-10-22T02:56:31.938Z] 74f711af9a0d: Pull complete [2020-10-22T02:56:32.543Z] 99f96fe45779: Pull complete [2020-10-22T02:56:33.531Z] 209524e5b208: Verifying Checksum [2020-10-22T02:56:33.531Z] 209524e5b208: Download complete [2020-10-22T02:56:34.130Z] 8529a6b9a6be: Verifying Checksum [2020-10-22T02:56:34.130Z] 8529a6b9a6be: Download complete [2020-10-22T02:56:46.549Z] 8529a6b9a6be: Pull complete [2020-10-22T02:56:46.549Z] 45590311c82a: Pull complete [2020-10-22T02:56:46.549Z] 69ca0ff8b7b3: Pull complete [2020-10-22T02:56:49.179Z] 209524e5b208: Pull complete [2020-10-22T02:56:49.179Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-22T02:56:49.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-22T02:56:49.179Z] ---> 5bddaf1c2fca [2020-10-22T02:56:49.179Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T02:56:51.795Z] ---> Running in fd2f17821f76 [2020-10-22T02:56:52.386Z] Removing intermediate container fd2f17821f76 [2020-10-22T02:56:52.386Z] ---> 46fd288e279b [2020-10-22T02:56:52.386Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-22T02:56:52.386Z] ---> Running in b58f8426e38e [2020-10-22T02:56:55.017Z] Removing intermediate container b58f8426e38e [2020-10-22T02:56:55.017Z] ---> f9b5e3e85300 [2020-10-22T02:56:55.017Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-22T02:56:55.017Z] ---> Running in 983d7f91cd3d [2020-10-22T02:56:56.456Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-22T02:56:57.431Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-22T02:56:58.027Z] OK: 142 MiB in 39 packages [2020-10-22T02:56:59.467Z] Removing intermediate container 983d7f91cd3d [2020-10-22T02:56:59.467Z] ---> 731cc0c61e0a [2020-10-22T02:56:59.467Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-22T02:56:59.467Z] ---> Running in ab431335dabf [2020-10-22T02:56:59.755Z] Removing intermediate container ab431335dabf [2020-10-22T02:56:59.756Z] ---> 35e3aa047d11 [2020-10-22T02:56:59.756Z] Step 7/8 : COPY . . [2020-10-22T02:57:01.211Z] ---> e55c4b616fe3 [2020-10-22T02:57:01.211Z] Step 8/8 : RUN go mod download [2020-10-22T02:57:01.494Z] ---> Running in 62f28a17df70 [2020-10-22T02:57:02.591Z] Running on prd-centos7-docker-4c-2g-8114 in /w/workspace/dgexfoundry_device-sdk-go_PR-641 [Pipeline] { [Pipeline] ws [2020-10-22T02:57:02.735Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-22T02:57:05.555Z] using credential edgex-jenkins-ssh [2020-10-22T02:57:05.611Z] Cloning the remote Git repository [2020-10-22T02:57:05.622Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T02:57:05.705Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-22T02:57:06.345Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T02:57:06.345Z] > git --version # timeout=10 [2020-10-22T02:57:06.357Z] > git --version # 'git version 2.16.5' [2020-10-22T02:57:06.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T02:57:06.399Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-22T02:57:07.102Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-22T02:57:07.107Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-22T02:57:07.118Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-22T02:57:07.131Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T02:57:07.131Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T02:57:07.136Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/641/head:refs/remotes/origin/PR-641 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-22T02:57:07.587Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 [2020-10-22T02:57:07.682Z] Merge succeeded, producing 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 [2020-10-22T02:57:07.683Z] Checking out Revision 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 (PR-641) [2020-10-22T02:57:07.597Z] > git config core.sparsecheckout # timeout=10 [2020-10-22T02:57:07.603Z] > git checkout -f 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 # timeout=10 [2020-10-22T02:57:07.652Z] > git remote # timeout=10 [2020-10-22T02:57:07.658Z] > git config --get remote.origin.url # timeout=10 [2020-10-22T02:57:07.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T02:57:07.667Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-22T02:57:07.679Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-22T02:57:07.687Z] > git config core.sparsecheckout # timeout=10 [2020-10-22T02:57:07.692Z] > git checkout -f 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 # timeout=10 [2020-10-22T02:57:11.312Z] Commit message: "refactor: update LogLevel for pushing event to coredata" [2020-10-22T02:57:11.338Z] > git --version # timeout=10 [2020-10-22T02:57:11.342Z] > git --version # 'git version 2.16.5' [2020-10-22T02:57:11.347Z] fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-22T02:57:12.228Z] ========================================================= [2020-10-22T02:57:12.228Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-22T02:57:12.228Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-22T02:57:12.870Z] + 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-22T02:57:13.447Z] Sending build context to Docker daemon 2.333MB [2020-10-22T02:57:13.447Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-22T02:57:13.447Z] Step 2/8 : FROM ${BASE} [2020-10-22T02:57:13.447Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-22T02:57:13.447Z] df20fa9351a1: Pulling fs layer [2020-10-22T02:57:13.447Z] ed8968b2872e: Pulling fs layer [2020-10-22T02:57:13.447Z] a92cc7c5fd73: Pulling fs layer [2020-10-22T02:57:13.447Z] e871e8e8d7a9: Pulling fs layer [2020-10-22T02:57:13.447Z] e73272ec9a57: Pulling fs layer [2020-10-22T02:57:13.447Z] 1e910a182e73: Pulling fs layer [2020-10-22T02:57:13.447Z] 4e634b169226: Pulling fs layer [2020-10-22T02:57:13.447Z] e73272ec9a57: Waiting [2020-10-22T02:57:13.447Z] 4e634b169226: Waiting [2020-10-22T02:57:13.447Z] e871e8e8d7a9: Waiting [2020-10-22T02:57:13.447Z] a92cc7c5fd73: Verifying Checksum [2020-10-22T02:57:13.447Z] a92cc7c5fd73: Download complete [2020-10-22T02:57:13.447Z] ed8968b2872e: Download complete [2020-10-22T02:57:13.447Z] e73272ec9a57: Verifying Checksum [2020-10-22T02:57:13.447Z] e73272ec9a57: Download complete [2020-10-22T02:57:13.447Z] 1e910a182e73: Verifying Checksum [2020-10-22T02:57:13.447Z] 1e910a182e73: Download complete [2020-10-22T02:57:13.447Z] df20fa9351a1: Verifying Checksum [2020-10-22T02:57:13.447Z] df20fa9351a1: Download complete [2020-10-22T02:57:13.712Z] df20fa9351a1: Pull complete [2020-10-22T02:57:13.975Z] ed8968b2872e: Pull complete [2020-10-22T02:57:13.975Z] a92cc7c5fd73: Pull complete [2020-10-22T02:57:15.372Z] 4e634b169226: Verifying Checksum [2020-10-22T02:57:15.372Z] 4e634b169226: Download complete [2020-10-22T02:57:16.325Z] e871e8e8d7a9: Verifying Checksum [2020-10-22T02:57:16.325Z] e871e8e8d7a9: Download complete [2020-10-22T02:57:22.959Z] e871e8e8d7a9: Pull complete [2020-10-22T02:57:22.959Z] e73272ec9a57: Pull complete [2020-10-22T02:57:22.959Z] 1e910a182e73: Pull complete [2020-10-22T02:57:23.722Z] Removing intermediate container 62f28a17df70 [2020-10-22T02:57:23.722Z] ---> 6903102b869f [2020-10-22T02:57:23.722Z] Successfully built 6903102b869f [2020-10-22T02:57:23.722Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-22T02:57:24.146Z] + docker inspect -f . ci-base-image-arm64 [2020-10-22T02:57:24.146Z] . [Pipeline] withDockerContainer [2020-10-22T02:57:24.397Z] prd-ubuntu18.04-docker-arm64-4c-16g-8113 does not seem to be running inside a container [2020-10-22T02:57:24.484Z] $ 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-22T02:57:26.224Z] $ docker top 1db0644de1621403d938e063622a96c9a07a03dfa4c032e756bc06141bb197a5 -eo pid,comm [2020-10-22T02:57:26.289Z] 4e634b169226: Pull complete [2020-10-22T02:57:26.289Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-22T02:57:26.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-22T02:57:26.289Z] ---> f7629b54cfaa [2020-10-22T02:57:26.289Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T02:57:26.289Z] ---> Running in dd35cfdbcfc9 [Pipeline] { [2020-10-22T02:57:26.579Z] Removing intermediate container dd35cfdbcfc9 [2020-10-22T02:57:26.579Z] ---> b6009490ccdb [2020-10-22T02:57:26.579Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-22T02:57:26.579Z] ---> Running in 5b47b943cb08 [Pipeline] sh [2020-10-22T02:57:27.692Z] + go version [2020-10-22T02:57:27.692Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-22T02:57:27.742Z] $ docker stop --time=1 1db0644de1621403d938e063622a96c9a07a03dfa4c032e756bc06141bb197a5 [2020-10-22T02:57:27.993Z] Removing intermediate container 5b47b943cb08 [2020-10-22T02:57:27.993Z] ---> 93ab0c13a887 [2020-10-22T02:57:27.993Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-22T02:57:28.256Z] ---> Running in 4326aba462f4 [2020-10-22T02:57:28.519Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-22T02:57:29.468Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-22T02:57:29.661Z] $ docker rm -f 1db0644de1621403d938e063622a96c9a07a03dfa4c032e756bc06141bb197a5 [Pipeline] // withDockerContainer [2020-10-22T02:57:30.047Z] OK: 166 MiB in 39 packages [Pipeline] } [Pipeline] // script [Pipeline] } [2020-10-22T02:57:30.310Z] Removing intermediate container 4326aba462f4 [2020-10-22T02:57:30.310Z] ---> f95bd992402f [2020-10-22T02:57:30.310Z] Step 6/8 : WORKDIR /device-sdk-go [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2020-10-22T02:57:30.572Z] ---> Running in 788387e95246 [2020-10-22T02:57:30.572Z] Removing intermediate container 788387e95246 [2020-10-22T02:57:30.572Z] ---> 0428f663b290 [2020-10-22T02:57:30.572Z] Step 7/8 : COPY . . [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-22T02:57:31.078Z] + docker inspect -f . ci-base-image-arm64 [2020-10-22T02:57:31.078Z] . [Pipeline] withDockerContainer [2020-10-22T02:57:31.322Z] prd-ubuntu18.04-docker-arm64-4c-16g-8113 does not seem to be running inside a container [2020-10-22T02:57:31.415Z] $ 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-22T02:57:31.524Z] ---> 6ce400204e06 [2020-10-22T02:57:31.524Z] Step 8/8 : RUN go mod download [2020-10-22T02:57:31.792Z] ---> Running in 35707cbc5367 [2020-10-22T02:57:33.228Z] $ docker top 5dbcff504486d636feadd4f1a64508d48ae37d18a16633ca54434441f3b6884f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-22T02:57:34.749Z] + make test [2020-10-22T02:57:34.749Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-22T02:57:53.826Z] Removing intermediate container 35707cbc5367 [2020-10-22T02:57:53.826Z] ---> ac2935d4ea7d [2020-10-22T02:57:53.826Z] Successfully built ac2935d4ea7d [2020-10-22T02:57:53.826Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-22T02:57:54.318Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-22T02:57:54.318Z] . [Pipeline] withDockerContainer [2020-10-22T02:57:54.447Z] prd-centos7-docker-4c-2g-8114 does not seem to be running inside a container [2020-10-22T02:57:54.506Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2020-10-22T02:57:55.292Z] $ docker top 5a79efc4d362176ebcb597ccda0a871473baeb83f003d657f7cd9389cf0a7a07 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-22T02:57:55.838Z] + go version [2020-10-22T02:57:55.838Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-22T02:57:55.876Z] $ docker stop --time=1 5a79efc4d362176ebcb597ccda0a871473baeb83f003d657f7cd9389cf0a7a07 [2020-10-22T02:57:56.946Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-22T02:57:57.203Z] $ docker rm -f 5a79efc4d362176ebcb597ccda0a871473baeb83f003d657f7cd9389cf0a7a07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-22T02:57:58.369Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-22T02:57:58.370Z] . [Pipeline] withDockerContainer [2020-10-22T02:57:58.498Z] prd-centos7-docker-4c-2g-8114 does not seem to be running inside a container [2020-10-22T02:57:58.554Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2020-10-22T02:57:59.114Z] $ docker top 20623f15d97c8c420a8bd8dce51308ea642b48b2f94ca6228e12d40d5c39cf78 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-22T02:57:59.647Z] + make test [2020-10-22T02:57:59.647Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-22T02:58:06.300Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-22T02:58:21.376Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-22T02:58:21.376Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-22T02:58:21.376Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-22T02:58:21.376Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.056s coverage: 21.6% of statements [2020-10-22T02:58:21.646Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.437s coverage: 97.1% of statements [2020-10-22T02:58:36.026Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-22T02:58:36.026Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-22T02:58:36.026Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-22T02:58:36.026Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.153s coverage: 21.6% of statements [2020-10-22T02:58:38.674Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.132s coverage: 97.1% of statements [2020-10-22T02:58:53.851Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.063s coverage: 9.4% of statements [2020-10-22T02:58:53.851Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements [2020-10-22T02:58:53.851Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-22T02:58:53.851Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.222s coverage: 42.6% of statements [2020-10-22T02:58:53.851Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-22T02:58:53.851Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.275s coverage: 68.9% of statements [2020-10-22T02:58:53.851Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-22T02:58:53.851Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-22T02:58:53.851Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-22T02:58:53.851Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-22T02:58:53.851Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements [2020-10-22T02:58:53.851Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-22T02:58:53.851Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-22T02:58:53.851Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-22T02:58:53.851Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.327s coverage: 68.9% of statements [2020-10-22T02:58:53.851Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-22T02:58:53.851Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-22T02:58:53.851Z] GO111MODULE=on go vet ./... [2020-10-22T02:59:00.537Z] gofmt -l . [2020-10-22T02:59:00.537Z] [ "`gofmt -l .`" = "" ] [2020-10-22T02:59:00.537Z] ./bin/test-attribution-txt.sh [2020-10-22T02:59:01.115Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-22T02:59:01.847Z] Stashed 1 file(s) [Pipeline] } [2020-10-22T02:59:01.893Z] $ docker stop --time=1 20623f15d97c8c420a8bd8dce51308ea642b48b2f94ca6228e12d40d5c39cf78 [2020-10-22T02:59:03.886Z] $ docker rm -f 20623f15d97c8c420a8bd8dce51308ea642b48b2f94ca6228e12d40d5c39cf78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-22T02:59:07.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-22T02:59:08.016Z] + ls -al . [2020-10-22T02:59:08.016Z] total 188 [2020-10-22T02:59:08.016Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 22 02:59 . [2020-10-22T02:59:08.016Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 22 02:57 .. [2020-10-22T02:59:08.016Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 22 02:57 bin [2020-10-22T02:59:08.016Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 22 02:58 coverage.out [2020-10-22T02:59:08.016Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 22 02:57 Dockerfile.build [2020-10-22T02:59:08.016Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 22 02:57 .dockerignore [2020-10-22T02:59:08.016Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 22 02:57 example [2020-10-22T02:59:08.016Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 22 02:57 .git [2020-10-22T02:59:08.016Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 22 02:57 .github [2020-10-22T02:59:08.016Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 22 02:57 .gitignore [2020-10-22T02:59:08.016Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 22 02:59 go.mod [2020-10-22T02:59:08.016Z] -rw-r--r--. 1 jenkins jenkins 13737 Oct 22 02:59 go.sum [2020-10-22T02:59:08.016Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 22 02:57 internal [2020-10-22T02:59:08.016Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 22 02:57 Jenkinsfile [2020-10-22T02:59:08.016Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 22 02:57 LICENSE [2020-10-22T02:59:08.016Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 22 02:57 Makefile [2020-10-22T02:59:08.016Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 22 02:57 openapi [2020-10-22T02:59:08.016Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 22 02:57 pkg [2020-10-22T02:59:08.016Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 22 02:57 README.md [2020-10-22T02:59:08.016Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 22 02:57 RELEASE-NOTES.txt [2020-10-22T02:59:08.016Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 22 02:57 snap [2020-10-22T02:59:08.016Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 22 02:54 VERSION [2020-10-22T02:59:08.016Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 22 02:57 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-22T02:59:08.460Z] + 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=4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 --label arch=amd64 --label version=0.0.0 . [2020-10-22T02:59:08.727Z] Sending build context to Docker daemon 2.444MB [2020-10-22T02:59:08.727Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-22T02:59:08.727Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-22T02:59:08.727Z] ---> ac2935d4ea7d [2020-10-22T02:59:08.727Z] Step 3/24 : ARG MAKE='make build' [2020-10-22T02:59:09.303Z] ---> Running in 10db914de07c [2020-10-22T02:59:09.565Z] Removing intermediate container 10db914de07c [2020-10-22T02:59:09.565Z] ---> f5c686fedf7d [2020-10-22T02:59:09.565Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-22T02:59:09.565Z] ---> Running in ca119a810c5e [2020-10-22T02:59:09.830Z] Removing intermediate container ca119a810c5e [2020-10-22T02:59:09.830Z] ---> e428a645c31e [2020-10-22T02:59:09.830Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T02:59:09.830Z] ---> Running in f6324d44d9dc [2020-10-22T02:59:09.830Z] Removing intermediate container f6324d44d9dc [2020-10-22T02:59:09.830Z] ---> e03b520aa74b [2020-10-22T02:59:09.830Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-22T02:59:10.094Z] ---> Running in 701b773ab750 [2020-10-22T02:59:11.023Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.131s coverage: 9.4% of statements [2020-10-22T02:59:11.023Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.114s coverage: 21.9% of statements [2020-10-22T02:59:11.023Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-22T02:59:11.023Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.569s coverage: 42.6% of statements [2020-10-22T02:59:11.023Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-22T02:59:11.023Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.817s coverage: 68.9% of statements [2020-10-22T02:59:11.023Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-22T02:59:11.023Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-22T02:59:11.023Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-22T02:59:11.023Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-22T02:59:11.023Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.185s coverage: 52.6% of statements [2020-10-22T02:59:11.023Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-22T02:59:11.023Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-22T02:59:11.023Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-22T02:59:11.023Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.640s coverage: 68.9% of statements [2020-10-22T02:59:11.023Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-22T02:59:11.023Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-22T02:59:11.023Z] GO111MODULE=on go vet ./... [2020-10-22T02:59:11.053Z] Removing intermediate container 701b773ab750 [2020-10-22T02:59:11.053Z] ---> 1d8b2b6273a3 [2020-10-22T02:59:11.053Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-22T02:59:11.053Z] ---> Running in 85627bc82765 [2020-10-22T02:59:11.630Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-22T02:59:12.205Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-22T02:59:12.778Z] OK: 166 MiB in 39 packages [2020-10-22T02:59:13.045Z] Removing intermediate container 85627bc82765 [2020-10-22T02:59:13.045Z] ---> b191306f0f18 [2020-10-22T02:59:13.045Z] Step 8/24 : COPY . . [2020-10-22T02:59:14.441Z] ---> 60fc7f4e1c47 [2020-10-22T02:59:14.441Z] Step 9/24 : RUN ${MAKE} [2020-10-22T02:59:14.441Z] ---> Running in 2cf8b923d261 [2020-10-22T02:59:14.716Z] 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-22T02:59:22.957Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-22T02:59:24.879Z] Removing intermediate container 2cf8b923d261 [2020-10-22T02:59:24.879Z] ---> eb570ee236eb [2020-10-22T02:59:24.879Z] Step 10/24 : FROM scratch [2020-10-22T02:59:24.879Z] ---> [2020-10-22T02:59:24.879Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T02:59:24.879Z] ---> Running in 185b65e011fa [2020-10-22T02:59:24.879Z] Removing intermediate container 185b65e011fa [2020-10-22T02:59:24.879Z] ---> 3e9a7bb24964 [2020-10-22T02:59:24.879Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-22T02:59:24.879Z] ---> Running in 65e5c2239e0f [2020-10-22T02:59:25.142Z] Removing intermediate container 65e5c2239e0f [2020-10-22T02:59:25.142Z] ---> 22806631dc71 [2020-10-22T02:59:25.142Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-22T02:59:25.142Z] ---> Running in 3c126ab588f7 [2020-10-22T02:59:25.142Z] Removing intermediate container 3c126ab588f7 [2020-10-22T02:59:25.142Z] ---> 8529343daa58 [2020-10-22T02:59:25.142Z] Step 14/24 : WORKDIR / [2020-10-22T02:59:25.404Z] ---> Running in 20c1e9f0d899 [2020-10-22T02:59:25.404Z] Removing intermediate container 20c1e9f0d899 [2020-10-22T02:59:25.404Z] ---> 8cc02685a028 [2020-10-22T02:59:25.404Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-22T02:59:25.979Z] ---> 7aa5ab504474 [2020-10-22T02:59:25.979Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-22T02:59:26.249Z] ---> d1385a72eec6 [2020-10-22T02:59:26.249Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-22T02:59:26.249Z] ---> 85fa8258867e [2020-10-22T02:59:26.249Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-22T02:59:26.514Z] ---> 9f3e2b65ecc2 [2020-10-22T02:59:26.514Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-22T02:59:26.777Z] ---> 7749e7f69c84 [2020-10-22T02:59:26.777Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-22T02:59:26.777Z] ---> Running in 7f19eb1b7bc6 [2020-10-22T02:59:27.045Z] Removing intermediate container 7f19eb1b7bc6 [2020-10-22T02:59:27.045Z] ---> bb3bbdcabedb [2020-10-22T02:59:27.045Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-22T02:59:27.045Z] ---> Running in 040d312733c8 [2020-10-22T02:59:27.308Z] Removing intermediate container 040d312733c8 [2020-10-22T02:59:27.308Z] ---> d520fd8e819d [2020-10-22T02:59:27.308Z] Step 22/24 : LABEL arch=amd64 [2020-10-22T02:59:27.308Z] ---> Running in 7efcd52c4bfa [2020-10-22T02:59:27.308Z] Removing intermediate container 7efcd52c4bfa [2020-10-22T02:59:27.308Z] ---> 49287fefcf46 [2020-10-22T02:59:27.308Z] Step 23/24 : LABEL git_sha=4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 [2020-10-22T02:59:27.572Z] ---> Running in 834ac170bcd8 [2020-10-22T02:59:27.572Z] Removing intermediate container 834ac170bcd8 [2020-10-22T02:59:27.572Z] ---> 9577145026b5 [2020-10-22T02:59:27.572Z] Step 24/24 : LABEL version=0.0.0 [2020-10-22T02:59:27.573Z] ---> Running in 0c079cff7069 [2020-10-22T02:59:27.835Z] Removing intermediate container 0c079cff7069 [2020-10-22T02:59:27.835Z] ---> 8dee1c5ffd01 [2020-10-22T02:59:27.835Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-22T02:59:27.835Z] Successfully built 8dee1c5ffd01 [2020-10-22T02:59:27.835Z] 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-22T02:59:37.900Z] gofmt -l . [2020-10-22T02:59:37.900Z] [ "`gofmt -l .`" = "" ] [2020-10-22T02:59:37.900Z] ./bin/test-attribution-txt.sh [2020-10-22T02:59:37.900Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-22T02:59:38.258Z] Warning: overwriting stash ‘coverage-report’ [2020-10-22T02:59:39.159Z] Stashed 1 file(s) [Pipeline] } [2020-10-22T02:59:39.245Z] $ docker stop --time=1 5dbcff504486d636feadd4f1a64508d48ae37d18a16633ca54434441f3b6884f [2020-10-22T02:59:41.517Z] $ docker rm -f 5dbcff504486d636feadd4f1a64508d48ae37d18a16633ca54434441f3b6884f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-22T02:59:43.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-22T02:59:43.695Z] + ls -al . [2020-10-22T02:59:43.695Z] total 224 [2020-10-22T02:59:43.695Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 02:59 . [2020-10-22T02:59:43.695Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 02:56 .. [2020-10-22T02:59:43.695Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 22 02:56 .dockerignore [2020-10-22T02:59:43.695Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 02:56 .git [2020-10-22T02:59:43.695Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 02:56 .github [2020-10-22T02:59:43.695Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 22 02:56 .gitignore [2020-10-22T02:59:43.695Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 22 02:56 Dockerfile.build [2020-10-22T02:59:43.695Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 22 02:56 Jenkinsfile [2020-10-22T02:59:43.695Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 22 02:56 LICENSE [2020-10-22T02:59:43.695Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 22 02:56 Makefile [2020-10-22T02:59:43.695Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 22 02:56 README.md [2020-10-22T02:59:43.695Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 22 02:56 RELEASE-NOTES.txt [2020-10-22T02:59:43.695Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 02:54 VERSION [2020-10-22T02:59:43.695Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 02:56 bin [2020-10-22T02:59:43.695Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 22 02:59 coverage.out [2020-10-22T02:59:43.695Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 02:56 example [2020-10-22T02:59:43.695Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 22 02:59 go.mod [2020-10-22T02:59:43.695Z] -rw-r--r-- 1 jenkins jenkins 13737 Oct 22 02:59 go.sum [2020-10-22T02:59:43.695Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 22 02:56 internal [2020-10-22T02:59:43.695Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 02:56 openapi [2020-10-22T02:59:43.695Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 22 02:56 pkg [2020-10-22T02:59:43.695Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 02:56 snap [2020-10-22T02:59:43.695Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 22 02:56 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-22T02:59:44.209Z] + 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=4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 --label arch=arm64 --label version=0.0.0 . [2020-10-22T02:59:44.810Z] Sending build context to Docker daemon 2.444MB [2020-10-22T02:59:44.810Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-22T02:59:44.810Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-22T02:59:44.810Z] ---> 6903102b869f [2020-10-22T02:59:44.810Z] Step 3/24 : ARG MAKE='make build' [2020-10-22T02:59:45.085Z] ---> Running in 5b1a06a28131 [2020-10-22T02:59:45.360Z] Removing intermediate container 5b1a06a28131 [2020-10-22T02:59:45.360Z] ---> ca4a833bbf64 [2020-10-22T02:59:45.360Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-22T02:59:45.636Z] ---> Running in 7a2c12947597 [2020-10-22T02:59:46.232Z] Removing intermediate container 7a2c12947597 [2020-10-22T02:59:46.232Z] ---> c686b86b2a99 [2020-10-22T02:59:46.232Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T02:59:46.232Z] ---> Running in 94b36a27c58c [2020-10-22T02:59:46.833Z] Removing intermediate container 94b36a27c58c [2020-10-22T02:59:46.833Z] ---> af4a0cb9a0de [2020-10-22T02:59:46.833Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-22T02:59:46.833Z] ---> Running in 77a8e6f308d1 [2020-10-22T02:59:49.462Z] Removing intermediate container 77a8e6f308d1 [2020-10-22T02:59:49.462Z] ---> 540b5d678c95 [2020-10-22T02:59:49.462Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-22T02:59:49.462Z] ---> Running in c284160e54d5 [2020-10-22T02:59:50.909Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-22T02:59:51.502Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-22T02:59:52.483Z] OK: 142 MiB in 39 packages [2020-10-22T02:59:53.466Z] Removing intermediate container c284160e54d5 [2020-10-22T02:59:53.466Z] ---> fbe2a5ff369f [2020-10-22T02:59:53.466Z] Step 8/24 : COPY . . [2020-10-22T02:59:54.899Z] ---> 53c5f87b61e1 [2020-10-22T02:59:54.899Z] Step 9/24 : RUN ${MAKE} [2020-10-22T02:59:54.899Z] ---> Running in 2962aaa8fd2b [2020-10-22T02:59:56.337Z] 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-22T03:00:23.195Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-22T03:00:23.195Z] Removing intermediate container 2962aaa8fd2b [2020-10-22T03:00:23.195Z] ---> 2a8be676e4af [2020-10-22T03:00:23.195Z] Step 10/24 : FROM scratch [2020-10-22T03:00:23.195Z] ---> [2020-10-22T03:00:23.195Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T03:00:23.195Z] ---> Running in 443bc310fe5d [2020-10-22T03:00:23.195Z] Removing intermediate container 443bc310fe5d [2020-10-22T03:00:23.195Z] ---> 2b4d7cda3610 [2020-10-22T03:00:23.195Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-22T03:00:23.195Z] ---> Running in 51cd3b55e48f [2020-10-22T03:00:23.475Z] Removing intermediate container 51cd3b55e48f [2020-10-22T03:00:23.475Z] ---> 37eb7f24518e [2020-10-22T03:00:23.475Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-22T03:00:23.475Z] ---> Running in a73c60553039 [2020-10-22T03:00:24.070Z] Removing intermediate container a73c60553039 [2020-10-22T03:00:24.070Z] ---> 009045fd624e [2020-10-22T03:00:24.070Z] Step 14/24 : WORKDIR / [2020-10-22T03:00:24.070Z] ---> Running in bf7fcfb68f8a [2020-10-22T03:00:24.673Z] Removing intermediate container bf7fcfb68f8a [2020-10-22T03:00:24.673Z] ---> 783b93d98947 [2020-10-22T03:00:24.673Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-22T03:00:25.684Z] ---> abf929546c9b [2020-10-22T03:00:25.684Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-22T03:00:26.669Z] ---> 5e8a6fc582b9 [2020-10-22T03:00:26.669Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-22T03:00:27.265Z] ---> 1beb8f8507d4 [2020-10-22T03:00:27.265Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-22T03:00:28.244Z] ---> 77e78709f02d [2020-10-22T03:00:28.244Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-22T03:00:28.846Z] ---> 0a3af74e9116 [2020-10-22T03:00:28.846Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-22T03:00:28.846Z] ---> Running in 6bd9ab12a068 [2020-10-22T03:00:29.443Z] Removing intermediate container 6bd9ab12a068 [2020-10-22T03:00:29.443Z] ---> 5863bb6dc503 [2020-10-22T03:00:29.443Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-22T03:00:29.443Z] ---> Running in f9f2b2fdfdcd [2020-10-22T03:00:30.039Z] Removing intermediate container f9f2b2fdfdcd [2020-10-22T03:00:30.039Z] ---> dd25de5c7b09 [2020-10-22T03:00:30.039Z] Step 22/24 : LABEL arch=arm64 [2020-10-22T03:00:30.039Z] ---> Running in 5c3c94173b70 [2020-10-22T03:00:30.317Z] Removing intermediate container 5c3c94173b70 [2020-10-22T03:00:30.317Z] ---> 279a796891e1 [2020-10-22T03:00:30.317Z] Step 23/24 : LABEL git_sha=4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 [2020-10-22T03:00:30.595Z] ---> Running in 7d9e8987aa41 [2020-10-22T03:00:30.868Z] Removing intermediate container 7d9e8987aa41 [2020-10-22T03:00:30.868Z] ---> 1ffb08c6d73d [2020-10-22T03:00:30.868Z] Step 24/24 : LABEL version=0.0.0 [2020-10-22T03:00:31.144Z] ---> Running in 4d5b74dbc1e7 [2020-10-22T03:00:31.419Z] Removing intermediate container 4d5b74dbc1e7 [2020-10-22T03:00:31.419Z] ---> 08e5e3bbc017 [2020-10-22T03:00:31.419Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-22T03:00:31.692Z] Successfully built 08e5e3bbc017 [2020-10-22T03:00:31.692Z] 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-22T03:00:34.913Z] provisioning config files... [2020-10-22T03:00:34.958Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/config7266659043246415127tmp [Pipeline] { [Pipeline] sh [2020-10-22T03:00:35.398Z] + set +x [2020-10-22T03:00:35.398Z] + curl -s https://codecov.io/bash [2020-10-22T03:00:35.398Z] + bash -s -- [2020-10-22T03:00:35.661Z] [2020-10-22T03:00:35.661Z] _____ _ [2020-10-22T03:00:35.661Z] / ____| | | [2020-10-22T03:00:35.661Z] | | ___ __| | ___ ___ _____ __ [2020-10-22T03:00:35.661Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-22T03:00:35.661Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-22T03:00:35.661Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-22T03:00:35.661Z] Bash-20201009-048fee3 [2020-10-22T03:00:35.661Z] [2020-10-22T03:00:35.661Z] [2020-10-22T03:00:35.661Z] ==> Jenkins CI detected. [2020-10-22T03:00:35.661Z] project root: . [2020-10-22T03:00:35.661Z] --> token set from env [2020-10-22T03:00:35.661Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-22T03:00:35.661Z] ==> Running gcov in . (disable via -X gcov) [2020-10-22T03:00:35.661Z] ==> Python coveragepy not found [2020-10-22T03:00:35.661Z] ==> Searching for coverage reports in: [2020-10-22T03:00:35.661Z] + . [2020-10-22T03:00:35.661Z] -> Found 1 reports [2020-10-22T03:00:35.661Z] ==> Detecting git/mercurial file structure [2020-10-22T03:00:35.661Z] ==> Reading reports [2020-10-22T03:00:35.661Z] + ./coverage.out bytes=110398 [2020-10-22T03:00:35.661Z] ==> Appending adjustments [2020-10-22T03:00:35.661Z] https://docs.codecov.io/docs/fixing-reports [2020-10-22T03:00:36.235Z] + Found adjustments [2020-10-22T03:00:36.235Z] ==> Gzipping contents [2020-10-22T03:00:36.235Z] ==> Uploading reports [2020-10-22T03:00:36.235Z] url: https://codecov.io [2020-10-22T03:00:36.235Z] query: branch=PR-641&commit=4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-641%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=641&job=&cmd_args= [2020-10-22T03:00:36.236Z] -> Pinging Codecov [2020-10-22T03:00:36.236Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-641&commit=4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-641%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=641&job=&cmd_args= [2020-10-22T03:00:36.499Z] -> Uploading to [2020-10-22T03:00:36.499Z] [2020-10-22T03:00:36.499Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-22T03:00:36.499Z] Dload Upload Total Spent Left Speed [2020-10-22T03:00:36.499Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-22T03:00:36.499Z] X> Failed to upload [2020-10-22T03:00:36.499Z] ==> Uploading to Codecov [2020-10-22T03:00:36.499Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-22T03:00:36.499Z] Dload Upload Total Spent Left Speed [2020-10-22T03:00:37.074Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19201 0 0 100 19091 0 38139 --:--:-- --:--:-- --:--:-- 38105 100 19201 100 110 100 19091 219 38123 --:--:-- --:--:-- --:--:-- 38105 [2020-10-22T03:00:37.074Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 [Pipeline] } [2020-10-22T03:00:37.103Z] 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-22T03:00:46.957Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T03:00:47.568Z] ---> package-listing.sh [2020-10-22T03:00:47.568Z] ++ facter osfamily [2020-10-22T03:00:47.568Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-22T03:00:47.568Z] + OS_FAMILY=redhat [2020-10-22T03:00:47.568Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-641 [2020-10-22T03:00:47.568Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-22T03:00:47.568Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-22T03:00:47.568Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-22T03:00:47.568Z] + PACKAGES=/tmp/packages_start.txt [2020-10-22T03:00:47.568Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-641 ']' [2020-10-22T03:00:47.568Z] + PACKAGES=/tmp/packages_end.txt [2020-10-22T03:00:47.568Z] + case "${OS_FAMILY}" in [2020-10-22T03:00:47.568Z] + rpm -qa [2020-10-22T03:00:47.568Z] + sort [2020-10-22T03:00:51.816Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-22T03:00:51.816Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-22T03:00:51.816Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-22T03:00:51.816Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-641 ']' [2020-10-22T03:00:51.816Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-641/archives/ [2020-10-22T03:00:51.816Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-641/archives/ [Pipeline] echo [2020-10-22T03:00:51.847Z] 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-641/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-22T03:00:52.163Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-22T03:00:52.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-22T03:00:52.585Z] [2020-10-22T03:00:52.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-22T03:00:53.003Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-22T03:00:53.004Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-22T03:00:53.004Z] df20fa9351a1: Pulling fs layer [2020-10-22T03:00:53.004Z] 36b3adc4ff6f: Pulling fs layer [2020-10-22T03:00:53.004Z] 8ad3a11d3b57: Pulling fs layer [2020-10-22T03:00:53.004Z] 46f8f816bc3b: Pulling fs layer [2020-10-22T03:00:53.004Z] 93b61091891f: Pulling fs layer [2020-10-22T03:00:53.004Z] 93b9cdb0e59b: Pulling fs layer [2020-10-22T03:00:53.004Z] 5e14af77c1be: Pulling fs layer [2020-10-22T03:00:53.004Z] 01666e4c0597: Pulling fs layer [2020-10-22T03:00:53.004Z] aa168da1d23b: Pulling fs layer [2020-10-22T03:00:53.004Z] 46f8f816bc3b: Waiting [2020-10-22T03:00:53.004Z] 93b61091891f: Waiting [2020-10-22T03:00:53.004Z] 93b9cdb0e59b: Waiting [2020-10-22T03:00:53.004Z] 5e14af77c1be: Waiting [2020-10-22T03:00:53.004Z] 01666e4c0597: Waiting [2020-10-22T03:00:53.004Z] aa168da1d23b: Waiting [2020-10-22T03:00:53.004Z] 36b3adc4ff6f: Verifying Checksum [2020-10-22T03:00:53.004Z] 36b3adc4ff6f: Download complete [2020-10-22T03:00:53.004Z] 46f8f816bc3b: Verifying Checksum [2020-10-22T03:00:53.004Z] 46f8f816bc3b: Download complete [2020-10-22T03:00:53.281Z] df20fa9351a1: Verifying Checksum [2020-10-22T03:00:53.281Z] df20fa9351a1: Download complete [2020-10-22T03:00:53.281Z] 93b9cdb0e59b: Verifying Checksum [2020-10-22T03:00:53.281Z] 93b9cdb0e59b: Download complete [2020-10-22T03:00:53.281Z] 5e14af77c1be: Download complete [2020-10-22T03:00:53.281Z] 01666e4c0597: Verifying Checksum [2020-10-22T03:00:53.281Z] 01666e4c0597: Download complete [2020-10-22T03:00:53.281Z] 93b61091891f: Verifying Checksum [2020-10-22T03:00:53.281Z] 93b61091891f: Download complete [2020-10-22T03:00:53.281Z] 8ad3a11d3b57: Verifying Checksum [2020-10-22T03:00:53.281Z] 8ad3a11d3b57: Download complete [2020-10-22T03:00:53.550Z] df20fa9351a1: Pull complete [2020-10-22T03:00:53.844Z] 36b3adc4ff6f: Pull complete [2020-10-22T03:00:54.428Z] 8ad3a11d3b57: Pull complete [2020-10-22T03:00:54.693Z] 46f8f816bc3b: Pull complete [2020-10-22T03:00:55.282Z] 93b61091891f: Pull complete [2020-10-22T03:00:55.282Z] aa168da1d23b: Verifying Checksum [2020-10-22T03:00:55.282Z] aa168da1d23b: Download complete [2020-10-22T03:00:55.282Z] 93b9cdb0e59b: Pull complete [2020-10-22T03:00:55.553Z] 5e14af77c1be: Pull complete [2020-10-22T03:00:55.553Z] 01666e4c0597: Pull complete [2020-10-22T03:01:02.196Z] aa168da1d23b: Pull complete [2020-10-22T03:01:02.196Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-22T03:01:02.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-22T03:01:02.196Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-22T03:01:02.420Z] prd-centos7-docker-4c-2g-8112 does not seem to be running inside a container [2020-10-22T03:01:02.469Z] $ 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-641/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-641 -v /w/workspace/dgexfoundry_device-sdk-go_PR-641:/w/workspace/dgexfoundry_device-sdk-go_PR-641:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-641@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-22T03:01:08.321Z] $ docker top 616eb8d1c92460e4d6c79ef478b644cdd516e63217cd6dd19133f57ff29784b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-22T03:01:08.878Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-22T03:01:09.200Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-22T03:01:09.519Z] + ls /var/log/sa-host [2020-10-22T03:01:09.519Z] + sadf -c /var/log/sa-host/sa05 [2020-10-22T03:01:09.519Z] file_magic: OK [2020-10-22T03:01:09.519Z] HZ: Using current value: 100 [2020-10-22T03:01:09.519Z] file_header: OK [2020-10-22T03:01:09.519Z] 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-22T03:01:09.519Z] Statistics: [2020-10-22T03:01:09.519Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-22T03:01:09.519Z] File successfully converted to sysstat format version 12.2.1 [2020-10-22T03:01:09.519Z] + sadf -c /var/log/sa-host/sa22 [2020-10-22T03:01:09.519Z] file_magic: OK [2020-10-22T03:01:09.519Z] HZ: Using current value: 100 [2020-10-22T03:01:09.519Z] file_header: OK [2020-10-22T03:01:09.519Z] 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-22T03:01:09.519Z] Statistics: [2020-10-22T03:01:09.519Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-22T03:01:09.519Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-22T03:01:10.181Z] provisioning config files... [2020-10-22T03:01:10.196Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/config9040525741113559358tmp [Pipeline] { [Pipeline] echo [2020-10-22T03:01:10.338Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T03:01:10.668Z] ---> create-netrc.sh [Pipeline] } [2020-10-22T03:01:10.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-22T03:01:10.857Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T03:01:11.191Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-22T03:01:11.218Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T03:01:11.559Z] ---> sudo-logs.sh [2020-10-22T03:01:11.559Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-22T03:01:11.583Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T03:01:11.933Z] ---> job-cost.sh [2020-10-22T03:01:11.933Z] lf-activate-venv: SKIPPING [2020-10-22T03:01:11.933Z] INFO: No Stack... [2020-10-22T03:01:12.922Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-22T03:01:13.513Z] INFO: Archiving Costs [Pipeline] echo [2020-10-22T03:01:13.559Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T03:01:13.969Z] ---> logs-deploy.sh [2020-10-22T03:01:13.969Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-641/1 [2020-10-22T03:01:13.969Z] INFO: archiving workspace using pattern(s): [2020-10-22T03:01:15.513Z] Archives upload complete. [2020-10-22T03:01:15.513Z] INFO: archiving logs to Nexus