Pull request #635 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 866a592f760587635d110c2b8c46546ce57dd958+6cec193abf44cabffe02bbcaff9748adb3f719d5 (d241997a338e23faeb617eb3c26d4815cfa4822c) 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-635/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-635/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 Running on prd-centos7-docker-4c-2g-6893 in /w/workspace/dgexfoundry_device-sdk-go_PR-635 [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-635 # 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 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 866a592f760587635d110c2b8c46546ce57dd958 > 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/635/head:refs/remotes/origin/PR-635 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 866a592f760587635d110c2b8c46546ce57dd958 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing 866a592f760587635d110c2b8c46546ce57dd958 Checking out Revision 866a592f760587635d110c2b8c46546ce57dd958 (PR-635) > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 866a592f760587635d110c2b8c46546ce57dd958 # timeout=10 Commit message: "fix(sdk): let autoevents only handled by callback" 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-20T06:24:43.284Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-20T06:24:43.651Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-20T06:24:43.863Z] ========================================================= [2020-10-20T06:24:43.863Z] EdgeX Global Pipelines Version Info [2020-10-20T06:24:43.863Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-20T06:24:46.704Z] ------------------- [2020-10-20T06:24:46.704Z] stable info: [2020-10-20T06:24:46.704Z] ------------------- [2020-10-20T06:24:46.704Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-20T06:24:46.704Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-20T06:24:46.704Z] Message: update stable to v1.0.144 [2020-10-20T06:24:47.809Z] ------------------- [2020-10-20T06:24:47.809Z] experimental info: [2020-10-20T06:24:47.809Z] ------------------- [2020-10-20T06:24:47.809Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-20T06:24:47.809Z] Commit SHA: c640cc8e0f176a0a86b153ebfcb15f3e2f33f7bd [2020-10-20T06:24:47.809Z] Message: update experimental to v1.0.145 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-20T06:24:48.588Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-20T06:24:48.716Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-20T06:24:48.894Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-20T06:24:49.020Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-20T06:24:49.145Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-20T06:24:49.277Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-20T06:24:49.397Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-20T06:24:49.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-20T06:24:49.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-20T06:24:49.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-20T06:24:49.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-20T06:24:50.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-20T06:24:50.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-20T06:24:50.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-20T06:24:50.595Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-20T06:24:50.725Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-20T06:24:50.847Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-20T06:24:50.976Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-20T06:24:51.119Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-20T06:24:51.250Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-20T06:24:51.380Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-20T06:24:51.576Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-20T06:24:51.721Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-20T06:24:51.911Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-20T06:24:52.040Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-20T06:24:52.170Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-635 [Pipeline] echo [2020-10-20T06:24:52.296Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-635 [Pipeline] echo [2020-10-20T06:24:52.426Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-635 [Pipeline] echo [2020-10-20T06:24:52.592Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 866a592f760587635d110c2b8c46546ce57dd958 [Pipeline] echo [2020-10-20T06:24:52.778Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 866a592 [Pipeline] echo [2020-10-20T06:24:52.918Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-20T06:24:53.839Z] + git log --format=format:%s -1 866a592f760587635d110c2b8c46546ce57dd958 [Pipeline] echo [2020-10-20T06:24:54.144Z] GIT_COMMIT: 866a592f760587635d110c2b8c46546ce57dd958, Commit Message: fix(sdk): let autoevents only handled by callback [Pipeline] echo [2020-10-20T06:24:54.232Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-20T06:24:55.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-20T06:24:55.599Z] [2020-10-20T06:24:55.599Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-20T06:24:56.134Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-20T06:24:56.426Z] latest: Pulling from edgex-devops/git-semver [2020-10-20T06:24:56.426Z] 31603596830f: Pulling fs layer [2020-10-20T06:24:56.426Z] 2a8b12db71e7: Pulling fs layer [2020-10-20T06:24:56.426Z] 6ca5941a6612: Pulling fs layer [2020-10-20T06:24:56.426Z] ecc8261a40a4: Pulling fs layer [2020-10-20T06:24:56.426Z] ecc8261a40a4: Waiting [2020-10-20T06:24:56.426Z] 2a8b12db71e7: Verifying Checksum [2020-10-20T06:24:56.426Z] 2a8b12db71e7: Download complete [2020-10-20T06:24:56.723Z] 31603596830f: Verifying Checksum [2020-10-20T06:24:56.723Z] 31603596830f: Download complete [2020-10-20T06:24:57.099Z] ecc8261a40a4: Verifying Checksum [2020-10-20T06:24:57.099Z] ecc8261a40a4: Download complete [2020-10-20T06:24:57.374Z] 31603596830f: Pull complete [2020-10-20T06:24:57.374Z] 6ca5941a6612: Verifying Checksum [2020-10-20T06:24:57.374Z] 6ca5941a6612: Download complete [2020-10-20T06:24:57.646Z] 2a8b12db71e7: Pull complete [2020-10-20T06:24:59.083Z] 6ca5941a6612: Pull complete [2020-10-20T06:24:59.674Z] ecc8261a40a4: Pull complete [2020-10-20T06:24:59.674Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-20T06:24:59.674Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-20T06:24:59.674Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-20T06:24:59.865Z] prd-centos7-docker-4c-2g-6893 does not seem to be running inside a container [2020-10-20T06:25:00.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-635 -v /w/workspace/dgexfoundry_device-sdk-go_PR-635:/w/workspace/dgexfoundry_device-sdk-go_PR-635:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-635@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-20T06:25:03.309Z] $ docker top a6194e47c64e282ddf64d71286397949dd58f5eec7b9783b7df8ca42b86e8b98 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-20T06:25:04.043Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-20T06:25:04.043Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-20T06:25:04.622Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-20T06:25:04.629Z] $ docker exec a6194e47c64e282ddf64d71286397949dd58f5eec7b9783b7df8ca42b86e8b98 ssh-agent [2020-10-20T06:25:05.129Z] SSH_AUTH_SOCK=/tmp/ssh-DYDf1MmqCp6F/agent.13 [2020-10-20T06:25:05.129Z] SSH_AGENT_PID=18 [2020-10-20T06:25:05.193Z] Running ssh-add (command line suppressed) [2020-10-20T06:25:05.387Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/private_key_4261930770777276589.key (/w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/private_key_4261930770777276589.key) [2020-10-20T06:25:05.458Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-20T06:25:05.889Z] + git tag --points-at HEAD [Pipeline] } [2020-10-20T06:25:05.951Z] $ docker exec --env ******** --env ******** a6194e47c64e282ddf64d71286397949dd58f5eec7b9783b7df8ca42b86e8b98 ssh-agent -k [2020-10-20T06:25:06.134Z] unset SSH_AUTH_SOCK; [2020-10-20T06:25:06.135Z] unset SSH_AGENT_PID; [2020-10-20T06:25:06.135Z] echo Agent pid 18 killed; [2020-10-20T06:25:06.218Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-20T06:25:06.430Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-20T06:25:06.430Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-20T06:25:06.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-20T06:25:06.908Z] $ docker exec a6194e47c64e282ddf64d71286397949dd58f5eec7b9783b7df8ca42b86e8b98 ssh-agent [2020-10-20T06:25:07.230Z] SSH_AUTH_SOCK=/tmp/ssh-Zs2PvX0blYBI/agent.46 [2020-10-20T06:25:07.230Z] SSH_AGENT_PID=51 [2020-10-20T06:25:07.242Z] Running ssh-add (command line suppressed) [2020-10-20T06:25:07.457Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/private_key_1449432432208702842.key (/w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/private_key_1449432432208702842.key) [2020-10-20T06:25:07.547Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-20T06:25:07.997Z] + git semver init [2020-10-20T06:25:07.997Z] # -> Open(): unable to determine branch for HEAD [2020-10-20T06:25:07.997Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-635/.git [2020-10-20T06:25:07.997Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-635 [2020-10-20T06:25:07.997Z] # $SEMVER_REMOTE_NAME = origin [2020-10-20T06:25:07.997Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-20T06:25:07.997Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-20T06:25:07.997Z] # $SEMVER_BRANCH = PR-635 [2020-10-20T06:25:07.997Z] # $SEMVER_TEMP = /tmp/semver-439980411 [2020-10-20T06:25:07.997Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-20T06:25:08.961Z] # '/tmp/semver-439980411' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-635/.semver' [2020-10-20T06:25:08.961Z] # -> Force: false [2020-10-20T06:25:08.961Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-635/.semver [Pipeline] } [2020-10-20T06:25:08.990Z] $ docker exec --env ******** --env ******** a6194e47c64e282ddf64d71286397949dd58f5eec7b9783b7df8ca42b86e8b98 ssh-agent -k [2020-10-20T06:25:09.206Z] unset SSH_AUTH_SOCK; [2020-10-20T06:25:09.207Z] unset SSH_AGENT_PID; [2020-10-20T06:25:09.207Z] echo Agent pid 51 killed; [2020-10-20T06:25:09.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-20T06:25:10.081Z] + git semver [Pipeline] } [2020-10-20T06:25:10.218Z] $ docker stop --time=1 a6194e47c64e282ddf64d71286397949dd58f5eec7b9783b7df8ca42b86e8b98 [2020-10-20T06:25:12.055Z] $ docker rm -f a6194e47c64e282ddf64d71286397949dd58f5eec7b9783b7df8ca42b86e8b98 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-20T06:25:12.773Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-20T06:25:13.798Z] Stashed 1 file(s) [Pipeline] echo [2020-10-20T06:25:13.817Z] [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-20T06:25:29.756Z] Still waiting to schedule task [2020-10-20T06:25:29.757Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-20T06:25:29.796Z] Still waiting to schedule task [2020-10-20T06:25:29.796Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-20T06:27:29.303Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6906 in /w/workspace/dgexfoundry_device-sdk-go_PR-635 [Pipeline] { [Pipeline] ws [2020-10-20T06:27:29.398Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-20T06:27:34.383Z] using credential edgex-jenkins-ssh [2020-10-20T06:27:34.444Z] Cloning the remote Git repository [2020-10-20T06:27:34.495Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-20T06:27:34.603Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-20T06:27:34.685Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-20T06:27:34.686Z] > git --version # timeout=10 [2020-10-20T06:27:34.705Z] > git --version # 'git version 2.17.1' [2020-10-20T06:27:34.707Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T06:27:34.756Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-20T06:27:36.489Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 866a592f760587635d110c2b8c46546ce57dd958 [2020-10-20T06:27:36.728Z] Merge succeeded, producing 866a592f760587635d110c2b8c46546ce57dd958 [2020-10-20T06:27:36.729Z] Checking out Revision 866a592f760587635d110c2b8c46546ce57dd958 (PR-635) [2020-10-20T06:27:35.791Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-20T06:27:35.806Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-20T06:27:35.840Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-20T06:27:35.875Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-20T06:27:35.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T06:27:35.889Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/635/head:refs/remotes/origin/PR-635 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-20T06:27:36.505Z] > git config core.sparsecheckout # timeout=10 [2020-10-20T06:27:36.527Z] > git checkout -f 866a592f760587635d110c2b8c46546ce57dd958 # timeout=10 [2020-10-20T06:27:36.638Z] > git remote # timeout=10 [2020-10-20T06:27:36.656Z] > git config --get remote.origin.url # timeout=10 [2020-10-20T06:27:36.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T06:27:36.689Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-20T06:27:36.710Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-20T06:27:36.734Z] > git config core.sparsecheckout # timeout=10 [2020-10-20T06:27:36.743Z] > git checkout -f 866a592f760587635d110c2b8c46546ce57dd958 # timeout=10 [2020-10-20T06:27:41.277Z] Commit message: "fix(sdk): let autoevents only handled by callback" [2020-10-20T06:27:41.338Z] > git --version # timeout=10 [2020-10-20T06:27:41.348Z] > git --version # 'git version 2.17.1' [2020-10-20T06:27:41.365Z] fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-20T06:27:42.625Z] ========================================================= [2020-10-20T06:27:42.625Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-20T06:27:42.625Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-20T06:27:43.671Z] + 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-20T06:27:44.666Z] Sending build context to Docker daemon 2.334MB [2020-10-20T06:27:44.666Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-20T06:27:44.666Z] Step 2/8 : FROM ${BASE} [2020-10-20T06:27:44.944Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-20T06:27:44.944Z] b538f80385f9: Pulling fs layer [2020-10-20T06:27:44.944Z] 74f711af9a0d: Pulling fs layer [2020-10-20T06:27:44.944Z] 99f96fe45779: Pulling fs layer [2020-10-20T06:27:44.944Z] 8529a6b9a6be: Pulling fs layer [2020-10-20T06:27:44.944Z] 45590311c82a: Pulling fs layer [2020-10-20T06:27:44.944Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-20T06:27:44.944Z] 209524e5b208: Pulling fs layer [2020-10-20T06:27:44.944Z] 8529a6b9a6be: Waiting [2020-10-20T06:27:44.944Z] 45590311c82a: Waiting [2020-10-20T06:27:44.944Z] 69ca0ff8b7b3: Waiting [2020-10-20T06:27:44.944Z] 209524e5b208: Waiting [2020-10-20T06:27:44.944Z] 99f96fe45779: Verifying Checksum [2020-10-20T06:27:44.944Z] 99f96fe45779: Download complete [2020-10-20T06:27:44.944Z] 74f711af9a0d: Verifying Checksum [2020-10-20T06:27:44.944Z] 74f711af9a0d: Download complete [2020-10-20T06:27:44.944Z] 45590311c82a: Verifying Checksum [2020-10-20T06:27:44.944Z] 45590311c82a: Download complete [2020-10-20T06:27:44.944Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-20T06:27:45.219Z] b538f80385f9: Verifying Checksum [2020-10-20T06:27:45.219Z] b538f80385f9: Download complete [2020-10-20T06:27:45.827Z] b538f80385f9: Pull complete [2020-10-20T06:27:46.445Z] 74f711af9a0d: Pull complete [2020-10-20T06:27:47.046Z] 99f96fe45779: Pull complete [2020-10-20T06:27:48.036Z] 209524e5b208: Verifying Checksum [2020-10-20T06:27:48.036Z] 209524e5b208: Download complete [2020-10-20T06:27:49.025Z] 8529a6b9a6be: Verifying Checksum [2020-10-20T06:27:49.025Z] 8529a6b9a6be: Download complete [2020-10-20T06:27:59.198Z] 8529a6b9a6be: Pull complete [2020-10-20T06:27:59.198Z] 45590311c82a: Pull complete [2020-10-20T06:27:59.472Z] 69ca0ff8b7b3: Pull complete [2020-10-20T06:28:03.794Z] 209524e5b208: Pull complete [2020-10-20T06:28:03.794Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-20T06:28:03.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-20T06:28:03.794Z] ---> 5bddaf1c2fca [2020-10-20T06:28:03.794Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-20T06:28:05.775Z] ---> Running in 74e456c7d792 [2020-10-20T06:28:06.380Z] Removing intermediate container 74e456c7d792 [2020-10-20T06:28:06.380Z] ---> a183edaedaee [2020-10-20T06:28:06.380Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-20T06:28:06.380Z] ---> Running in d1a757163e74 [2020-10-20T06:28:09.778Z] Removing intermediate container d1a757163e74 [2020-10-20T06:28:09.778Z] ---> bce36a92b9b4 [2020-10-20T06:28:09.778Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-20T06:28:09.778Z] ---> Running in 9d547a3cf003 [2020-10-20T06:28:10.757Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-20T06:28:11.741Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-20T06:28:12.337Z] OK: 142 MiB in 39 packages [2020-10-20T06:28:13.782Z] Removing intermediate container 9d547a3cf003 [2020-10-20T06:28:13.782Z] ---> 35c34b856796 [2020-10-20T06:28:13.782Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-20T06:28:13.782Z] ---> Running in ea16acd4b684 [2020-10-20T06:28:14.380Z] Removing intermediate container ea16acd4b684 [2020-10-20T06:28:14.380Z] ---> 8507c28cb174 [2020-10-20T06:28:14.380Z] Step 7/8 : COPY . . [2020-10-20T06:28:15.364Z] ---> 45f7cf6ace1e [2020-10-20T06:28:15.364Z] Step 8/8 : RUN go mod download [2020-10-20T06:28:15.639Z] ---> Running in 10eb0a36e3f7 [2020-10-20T06:28:37.822Z] Removing intermediate container 10eb0a36e3f7 [2020-10-20T06:28:37.822Z] ---> b5aeda089c8a [2020-10-20T06:28:37.822Z] Successfully built b5aeda089c8a [2020-10-20T06:28:37.822Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-20T06:28:38.292Z] + docker inspect -f . ci-base-image-arm64 [2020-10-20T06:28:38.292Z] . [Pipeline] withDockerContainer [2020-10-20T06:28:38.598Z] prd-ubuntu18.04-docker-arm64-4c-16g-6906 does not seem to be running inside a container [2020-10-20T06:28:38.690Z] $ 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-20T06:28:40.615Z] $ docker top ae0b11622c695c3b06a421bdb90eae8041a1021d066a88d5a14bd6e9214d4101 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T06:28:42.168Z] + go version [2020-10-20T06:28:42.168Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-20T06:28:42.230Z] $ docker stop --time=1 ae0b11622c695c3b06a421bdb90eae8041a1021d066a88d5a14bd6e9214d4101 [2020-10-20T06:28:44.359Z] $ docker rm -f ae0b11622c695c3b06a421bdb90eae8041a1021d066a88d5a14bd6e9214d4101 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-20T06:28:45.741Z] + docker inspect -f . ci-base-image-arm64 [2020-10-20T06:28:45.741Z] . [Pipeline] withDockerContainer [2020-10-20T06:28:46.032Z] prd-ubuntu18.04-docker-arm64-4c-16g-6906 does not seem to be running inside a container [2020-10-20T06:28:46.120Z] $ 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-20T06:28:48.011Z] $ docker top 9712d7e550cc72d974702336757c786c279aa28835393c3b7c16d08ea464edfa -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T06:28:49.480Z] + make test [2020-10-20T06:28:49.480Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-20T06:29:11.667Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-20T06:29:12.317Z] Running on prd-centos7-docker-4c-2g-6907 in /w/workspace/dgexfoundry_device-sdk-go_PR-635 [Pipeline] { [Pipeline] ws [2020-10-20T06:29:12.421Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-20T06:29:15.909Z] using credential edgex-jenkins-ssh [2020-10-20T06:29:15.964Z] Cloning the remote Git repository [2020-10-20T06:29:15.992Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-20T06:29:16.059Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-20T06:29:16.118Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-20T06:29:16.118Z] > git --version # timeout=10 [2020-10-20T06:29:16.125Z] > git --version # 'git version 2.16.5' [2020-10-20T06:29:16.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T06:29:16.156Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-20T06:29:16.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-20T06:29:16.919Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-20T06:29:16.930Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-20T06:29:16.942Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-20T06:29:16.942Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T06:29:16.946Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/635/head:refs/remotes/origin/PR-635 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-20T06:29:17.421Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 866a592f760587635d110c2b8c46546ce57dd958 [2020-10-20T06:29:17.517Z] Merge succeeded, producing 866a592f760587635d110c2b8c46546ce57dd958 [2020-10-20T06:29:17.518Z] Checking out Revision 866a592f760587635d110c2b8c46546ce57dd958 (PR-635) [2020-10-20T06:29:17.431Z] > git config core.sparsecheckout # timeout=10 [2020-10-20T06:29:17.437Z] > git checkout -f 866a592f760587635d110c2b8c46546ce57dd958 # timeout=10 [2020-10-20T06:29:17.489Z] > git remote # timeout=10 [2020-10-20T06:29:17.494Z] > git config --get remote.origin.url # timeout=10 [2020-10-20T06:29:17.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-20T06:29:17.503Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-20T06:29:17.513Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-20T06:29:17.523Z] > git config core.sparsecheckout # timeout=10 [2020-10-20T06:29:17.529Z] > git checkout -f 866a592f760587635d110c2b8c46546ce57dd958 # timeout=10 [2020-10-20T06:29:21.153Z] Commit message: "fix(sdk): let autoevents only handled by callback" [2020-10-20T06:29:21.180Z] > git --version # timeout=10 [2020-10-20T06:29:21.184Z] > git --version # 'git version 2.16.5' [2020-10-20T06:29:21.191Z] fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-20T06:29:22.282Z] ========================================================= [2020-10-20T06:29:22.282Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-20T06:29:22.282Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-20T06:29:23.029Z] + 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-20T06:29:23.292Z] Sending build context to Docker daemon 2.334MB [2020-10-20T06:29:23.292Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-20T06:29:23.292Z] Step 2/8 : FROM ${BASE} [2020-10-20T06:29:23.558Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-20T06:29:23.558Z] df20fa9351a1: Pulling fs layer [2020-10-20T06:29:23.558Z] ed8968b2872e: Pulling fs layer [2020-10-20T06:29:23.558Z] a92cc7c5fd73: Pulling fs layer [2020-10-20T06:29:23.558Z] e871e8e8d7a9: Pulling fs layer [2020-10-20T06:29:23.558Z] e73272ec9a57: Pulling fs layer [2020-10-20T06:29:23.558Z] 1e910a182e73: Pulling fs layer [2020-10-20T06:29:23.558Z] 4e634b169226: Pulling fs layer [2020-10-20T06:29:23.558Z] e73272ec9a57: Waiting [2020-10-20T06:29:23.558Z] 1e910a182e73: Waiting [2020-10-20T06:29:23.558Z] 4e634b169226: Waiting [2020-10-20T06:29:23.558Z] e871e8e8d7a9: Waiting [2020-10-20T06:29:23.558Z] a92cc7c5fd73: Verifying Checksum [2020-10-20T06:29:23.558Z] a92cc7c5fd73: Download complete [2020-10-20T06:29:23.558Z] ed8968b2872e: Verifying Checksum [2020-10-20T06:29:23.558Z] ed8968b2872e: Download complete [2020-10-20T06:29:23.558Z] e73272ec9a57: Verifying Checksum [2020-10-20T06:29:23.558Z] e73272ec9a57: Download complete [2020-10-20T06:29:23.558Z] 1e910a182e73: Verifying Checksum [2020-10-20T06:29:23.558Z] 1e910a182e73: Download complete [2020-10-20T06:29:23.558Z] df20fa9351a1: Download complete [2020-10-20T06:29:23.821Z] df20fa9351a1: Pull complete [2020-10-20T06:29:24.083Z] ed8968b2872e: Pull complete [2020-10-20T06:29:24.083Z] a92cc7c5fd73: Pull complete [2020-10-20T06:29:26.007Z] 4e634b169226: Verifying Checksum [2020-10-20T06:29:26.008Z] 4e634b169226: Download complete [2020-10-20T06:29:26.592Z] e871e8e8d7a9: Download complete [2020-10-20T06:29:31.935Z] e871e8e8d7a9: Pull complete [2020-10-20T06:29:31.935Z] e73272ec9a57: Pull complete [2020-10-20T06:29:31.935Z] 1e910a182e73: Pull complete [2020-10-20T06:29:36.187Z] 4e634b169226: Pull complete [2020-10-20T06:29:36.187Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-20T06:29:36.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-20T06:29:36.187Z] ---> f7629b54cfaa [2020-10-20T06:29:36.187Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-20T06:29:36.187Z] ---> Running in 43c52879a501 [2020-10-20T06:29:36.187Z] Removing intermediate container 43c52879a501 [2020-10-20T06:29:36.187Z] ---> e220e21326a7 [2020-10-20T06:29:36.187Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-20T06:29:36.187Z] ---> Running in 7ecc456d8979 [2020-10-20T06:29:37.579Z] Removing intermediate container 7ecc456d8979 [2020-10-20T06:29:37.579Z] ---> a0443a49bf79 [2020-10-20T06:29:37.579Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-20T06:29:37.579Z] ---> Running in 205020e11336 [2020-10-20T06:29:38.164Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-20T06:29:38.740Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-20T06:29:39.319Z] OK: 166 MiB in 39 packages [2020-10-20T06:29:39.590Z] Removing intermediate container 205020e11336 [2020-10-20T06:29:39.590Z] ---> d7e1fa039d56 [2020-10-20T06:29:39.590Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-20T06:29:39.853Z] ---> Running in 509f88a1bd93 [2020-10-20T06:29:39.853Z] Removing intermediate container 509f88a1bd93 [2020-10-20T06:29:39.853Z] ---> 9d1b76fca4bb [2020-10-20T06:29:39.853Z] Step 7/8 : COPY . . [2020-10-20T06:29:41.245Z] ---> 8666ae80dcb4 [2020-10-20T06:29:41.245Z] Step 8/8 : RUN go mod download [2020-10-20T06:29:41.245Z] ---> Running in 7a8b26e2da7d [2020-10-20T06:29:50.759Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-20T06:29:50.759Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-20T06:29:50.759Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-20T06:29:50.759Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.123s coverage: 23.3% of statements [2020-10-20T06:29:55.107Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.182s coverage: 97.1% of statements [2020-10-20T06:29:59.409Z] Removing intermediate container 7a8b26e2da7d [2020-10-20T06:29:59.409Z] ---> 6d80ee86d2be [2020-10-20T06:29:59.409Z] Successfully built 6d80ee86d2be [2020-10-20T06:29:59.409Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-20T06:29:59.797Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-20T06:29:59.797Z] . [Pipeline] withDockerContainer [2020-10-20T06:30:00.006Z] prd-centos7-docker-4c-2g-6907 does not seem to be running inside a container [2020-10-20T06:30:00.171Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-20T06:30:00.868Z] $ docker top 7eae9689f6ee64416cca4c79bb7c8088cfbbefddcae546a74ff6cba59d9d6806 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T06:30:01.452Z] + go version [2020-10-20T06:30:01.453Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-20T06:30:01.485Z] $ docker stop --time=1 7eae9689f6ee64416cca4c79bb7c8088cfbbefddcae546a74ff6cba59d9d6806 [2020-10-20T06:30:03.247Z] $ docker rm -f 7eae9689f6ee64416cca4c79bb7c8088cfbbefddcae546a74ff6cba59d9d6806 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-20T06:30:04.455Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-20T06:30:04.455Z] . [Pipeline] withDockerContainer [2020-10-20T06:30:04.571Z] prd-centos7-docker-4c-2g-6907 does not seem to be running inside a container [2020-10-20T06:30:04.625Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-20T06:30:05.231Z] $ docker top 7e7606cd9567e31f51a2fdffce1c5b30ba5ad990eaffc91ae04ac13461356612 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T06:30:05.807Z] + make test [2020-10-20T06:30:05.808Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-20T06:30:12.466Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-20T06:30:22.008Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.175s coverage: 9.4% of statements [2020-10-20T06:30:22.008Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.131s coverage: 21.9% of statements [2020-10-20T06:30:22.008Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-20T06:30:22.008Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.571s coverage: 42.6% of statements [2020-10-20T06:30:22.008Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-20T06:30:22.008Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.716s coverage: 68.9% of statements [2020-10-20T06:30:22.008Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-20T06:30:22.008Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-20T06:30:22.008Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-20T06:30:22.008Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-20T06:30:22.008Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.166s coverage: 52.6% of statements [2020-10-20T06:30:22.008Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-20T06:30:22.008Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-20T06:30:22.008Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-20T06:30:22.008Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.695s coverage: 68.9% of statements [2020-10-20T06:30:22.008Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-20T06:30:22.008Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-20T06:30:22.282Z] GO111MODULE=on go vet ./... [2020-10-20T06:30:27.518Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-20T06:30:27.518Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-20T06:30:27.518Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-20T06:30:27.518Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.050s coverage: 23.3% of statements [2020-10-20T06:30:28.093Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.452s coverage: 97.1% of statements [2020-10-20T06:30:54.651Z] gofmt -l . [2020-10-20T06:30:54.651Z] [ "`gofmt -l .`" = "" ] [2020-10-20T06:30:54.651Z] ./bin/test-attribution-txt.sh [2020-10-20T06:30:54.651Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-20T06:30:55.513Z] Stashed 1 file(s) [Pipeline] } [2020-10-20T06:30:55.536Z] $ docker stop --time=1 9712d7e550cc72d974702336757c786c279aa28835393c3b7c16d08ea464edfa [2020-10-20T06:30:57.752Z] $ docker rm -f 9712d7e550cc72d974702336757c786c279aa28835393c3b7c16d08ea464edfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-10-20T06:31:00.295Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.061s coverage: 9.4% of statements [2020-10-20T06:31:00.295Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements [2020-10-20T06:31:00.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-20T06:31:00.295Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.208s coverage: 42.6% of statements [2020-10-20T06:31:00.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-20T06:31:00.295Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.269s coverage: 68.9% of statements [2020-10-20T06:31:00.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-20T06:31:00.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-20T06:31:00.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-20T06:31:00.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-20T06:31:00.295Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.059s coverage: 52.6% of statements [2020-10-20T06:31:00.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-20T06:31:00.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-20T06:31:00.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-20T06:31:00.295Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.267s coverage: 68.9% of statements [2020-10-20T06:31:00.295Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-20T06:31:00.295Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-20T06:31:00.296Z] GO111MODULE=on go vet ./... [Pipeline] sh [2020-10-20T06:31:01.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-20T06:31:01.938Z] + ls -al . [2020-10-20T06:31:01.938Z] total 224 [2020-10-20T06:31:01.938Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 06:30 . [2020-10-20T06:31:01.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 06:27 .. [2020-10-20T06:31:01.938Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 20 06:27 .dockerignore [2020-10-20T06:31:01.938Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 06:27 .git [2020-10-20T06:31:01.938Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 06:27 .github [2020-10-20T06:31:01.938Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 20 06:27 .gitignore [2020-10-20T06:31:01.938Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 20 06:27 Dockerfile.build [2020-10-20T06:31:01.938Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 20 06:27 Jenkinsfile [2020-10-20T06:31:01.938Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 20 06:27 LICENSE [2020-10-20T06:31:01.938Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 20 06:27 Makefile [2020-10-20T06:31:01.938Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 20 06:27 README.md [2020-10-20T06:31:01.938Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 20 06:27 RELEASE-NOTES.txt [2020-10-20T06:31:01.938Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 06:25 VERSION [2020-10-20T06:31:01.938Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 06:27 bin [2020-10-20T06:31:01.938Z] -rw-r--r-- 1 jenkins jenkins 110058 Oct 20 06:30 coverage.out [2020-10-20T06:31:01.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 06:27 example [2020-10-20T06:31:01.938Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 20 06:30 go.mod [2020-10-20T06:31:01.938Z] -rw-r--r-- 1 jenkins jenkins 13737 Oct 20 06:30 go.sum [2020-10-20T06:31:01.938Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 20 06:27 internal [2020-10-20T06:31:01.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 06:27 openapi [2020-10-20T06:31:01.938Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 20 06:27 pkg [2020-10-20T06:31:01.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 06:27 snap [2020-10-20T06:31:01.938Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 20 06:27 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-20T06:31:02.320Z] + 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=866a592f760587635d110c2b8c46546ce57dd958 --label arch=arm64 --label version=0.0.0 . [2020-10-20T06:31:02.916Z] Sending build context to Docker daemon 2.444MB [2020-10-20T06:31:02.916Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-20T06:31:02.916Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-20T06:31:02.916Z] ---> b5aeda089c8a [2020-10-20T06:31:02.916Z] Step 3/24 : ARG MAKE='make build' [2020-10-20T06:31:03.190Z] ---> Running in acc9c92a1ea0 [2020-10-20T06:31:03.464Z] Removing intermediate container acc9c92a1ea0 [2020-10-20T06:31:03.464Z] ---> 121a0affcf5f [2020-10-20T06:31:03.464Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-20T06:31:03.736Z] ---> Running in e521b6248a68 [2020-10-20T06:31:04.333Z] Removing intermediate container e521b6248a68 [2020-10-20T06:31:04.333Z] ---> a9481ca89fde [2020-10-20T06:31:04.333Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-20T06:31:04.333Z] ---> Running in 4c355cc86ae1 [2020-10-20T06:31:04.607Z] Removing intermediate container 4c355cc86ae1 [2020-10-20T06:31:04.607Z] ---> 2447d44d8b0a [2020-10-20T06:31:04.607Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-20T06:31:04.887Z] ---> Running in d6f684d3d9e3 [2020-10-20T06:31:06.975Z] gofmt -l . [2020-10-20T06:31:06.975Z] [ "`gofmt -l .`" = "" ] [2020-10-20T06:31:06.975Z] ./bin/test-attribution-txt.sh [2020-10-20T06:31:06.975Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-20T06:31:07.280Z] Warning: overwriting stash ‘coverage-report’ [2020-10-20T06:31:07.533Z] Removing intermediate container d6f684d3d9e3 [2020-10-20T06:31:07.533Z] ---> e8b7558a7d12 [2020-10-20T06:31:07.533Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-20T06:31:07.533Z] ---> Running in 353819b45f9d [2020-10-20T06:31:07.616Z] Stashed 1 file(s) [Pipeline] } [2020-10-20T06:31:07.640Z] $ docker stop --time=1 7e7606cd9567e31f51a2fdffce1c5b30ba5ad990eaffc91ae04ac13461356612 [2020-10-20T06:31:08.980Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-20T06:31:09.469Z] $ docker rm -f 7e7606cd9567e31f51a2fdffce1c5b30ba5ad990eaffc91ae04ac13461356612 [2020-10-20T06:31:09.584Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-10-20T06:31:10.186Z] OK: 142 MiB in 39 packages [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-20T06:31:10.832Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-20T06:31:11.195Z] + ls -al . [2020-10-20T06:31:11.195Z] total 188 [2020-10-20T06:31:11.195Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 20 06:31 . [2020-10-20T06:31:11.195Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 20 06:29 .. [2020-10-20T06:31:11.195Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 20 06:29 bin [2020-10-20T06:31:11.195Z] -rw-r--r--. 1 jenkins jenkins 110058 Oct 20 06:30 coverage.out [2020-10-20T06:31:11.195Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 20 06:29 Dockerfile.build [2020-10-20T06:31:11.195Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 20 06:29 .dockerignore [2020-10-20T06:31:11.195Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 20 06:29 example [2020-10-20T06:31:11.195Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 20 06:29 .git [2020-10-20T06:31:11.195Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 20 06:29 .github [2020-10-20T06:31:11.195Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 20 06:29 .gitignore [2020-10-20T06:31:11.195Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 20 06:31 go.mod [2020-10-20T06:31:11.195Z] -rw-r--r--. 1 jenkins jenkins 13737 Oct 20 06:31 go.sum [2020-10-20T06:31:11.195Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 20 06:29 internal [2020-10-20T06:31:11.195Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 20 06:29 Jenkinsfile [2020-10-20T06:31:11.195Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 20 06:29 LICENSE [2020-10-20T06:31:11.195Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 20 06:29 Makefile [2020-10-20T06:31:11.195Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 20 06:29 openapi [2020-10-20T06:31:11.195Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 20 06:29 pkg [2020-10-20T06:31:11.195Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 20 06:29 README.md [2020-10-20T06:31:11.195Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 20 06:29 RELEASE-NOTES.txt [2020-10-20T06:31:11.195Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 20 06:29 snap [2020-10-20T06:31:11.195Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 20 06:25 VERSION [2020-10-20T06:31:11.195Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 20 06:29 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-20T06:31:11.549Z] + 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=866a592f760587635d110c2b8c46546ce57dd958 --label arch=amd64 --label version=0.0.0 . [2020-10-20T06:31:11.644Z] Removing intermediate container 353819b45f9d [2020-10-20T06:31:11.644Z] ---> c23ce1a7ce2f [2020-10-20T06:31:11.644Z] Step 8/24 : COPY . . [2020-10-20T06:31:11.815Z] Sending build context to Docker daemon 2.444MB [2020-10-20T06:31:11.815Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-20T06:31:11.815Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-20T06:31:11.815Z] ---> 6d80ee86d2be [2020-10-20T06:31:11.815Z] Step 3/24 : ARG MAKE='make build' [2020-10-20T06:31:12.395Z] ---> Running in e639700dd447 [2020-10-20T06:31:12.395Z] Removing intermediate container e639700dd447 [2020-10-20T06:31:12.395Z] ---> dbf47be0aed0 [2020-10-20T06:31:12.395Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-20T06:31:12.395Z] ---> Running in 35830416d4e4 [2020-10-20T06:31:12.659Z] Removing intermediate container 35830416d4e4 [2020-10-20T06:31:12.659Z] ---> 26d7fe1499dc [2020-10-20T06:31:12.659Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-20T06:31:12.659Z] ---> Running in 88b8dd45bd5f [2020-10-20T06:31:12.923Z] Removing intermediate container 88b8dd45bd5f [2020-10-20T06:31:12.923Z] ---> f1464cbef00d [2020-10-20T06:31:12.923Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-20T06:31:12.923Z] ---> Running in 08f7af793b22 [2020-10-20T06:31:13.101Z] ---> 8b544c8f3733 [2020-10-20T06:31:13.101Z] Step 9/24 : RUN ${MAKE} [2020-10-20T06:31:13.101Z] ---> Running in c4e7361d3b4e [2020-10-20T06:31:13.874Z] Removing intermediate container 08f7af793b22 [2020-10-20T06:31:13.874Z] ---> 85153e190009 [2020-10-20T06:31:13.874Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-20T06:31:13.874Z] ---> Running in 18ffbe462e17 [2020-10-20T06:31:14.456Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-20T06:31:14.544Z] 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-20T06:31:15.044Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-20T06:31:15.628Z] OK: 166 MiB in 39 packages [2020-10-20T06:31:15.893Z] Removing intermediate container 18ffbe462e17 [2020-10-20T06:31:15.893Z] ---> 21c79c786e88 [2020-10-20T06:31:15.893Z] Step 8/24 : COPY . . [2020-10-20T06:31:17.301Z] ---> d1ed7bb76679 [2020-10-20T06:31:17.301Z] Step 9/24 : RUN ${MAKE} [2020-10-20T06:31:17.301Z] ---> Running in b37f0a5550f5 [2020-10-20T06:31:17.569Z] 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-20T06:31:25.834Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-20T06:31:27.245Z] Removing intermediate container b37f0a5550f5 [2020-10-20T06:31:27.245Z] ---> 29654554bd54 [2020-10-20T06:31:27.245Z] Step 10/24 : FROM scratch [2020-10-20T06:31:27.245Z] ---> [2020-10-20T06:31:27.245Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-20T06:31:27.245Z] ---> Running in d41d5354dbc0 [2020-10-20T06:31:27.245Z] Removing intermediate container d41d5354dbc0 [2020-10-20T06:31:27.245Z] ---> 4f4a5baa9772 [2020-10-20T06:31:27.245Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-20T06:31:27.245Z] ---> Running in 5655462812fe [2020-10-20T06:31:27.512Z] Removing intermediate container 5655462812fe [2020-10-20T06:31:27.512Z] ---> a64ef7c04681 [2020-10-20T06:31:27.512Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-20T06:31:27.512Z] ---> Running in b51aa507e678 [2020-10-20T06:31:27.775Z] Removing intermediate container b51aa507e678 [2020-10-20T06:31:27.775Z] ---> f02737777c95 [2020-10-20T06:31:27.775Z] Step 14/24 : WORKDIR / [2020-10-20T06:31:27.775Z] ---> Running in ba0ef66e690d [2020-10-20T06:31:27.775Z] Removing intermediate container ba0ef66e690d [2020-10-20T06:31:27.775Z] ---> 429b9174560a [2020-10-20T06:31:27.775Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-20T06:31:28.352Z] ---> 96b25b34bfde [2020-10-20T06:31:28.352Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-20T06:31:28.616Z] ---> b20c3de41805 [2020-10-20T06:31:28.616Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-20T06:31:28.885Z] ---> f4819201d3de [2020-10-20T06:31:28.885Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-20T06:31:29.149Z] ---> 5ebd6421357f [2020-10-20T06:31:29.149Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-20T06:31:29.149Z] ---> 634d5774de1d [2020-10-20T06:31:29.149Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-20T06:31:29.414Z] ---> Running in 4cc60adc71b9 [2020-10-20T06:31:29.414Z] Removing intermediate container 4cc60adc71b9 [2020-10-20T06:31:29.414Z] ---> 3d75bf3d8742 [2020-10-20T06:31:29.414Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-20T06:31:29.695Z] ---> Running in ce8047849364 [2020-10-20T06:31:29.695Z] Removing intermediate container ce8047849364 [2020-10-20T06:31:29.695Z] ---> 24b968687a08 [2020-10-20T06:31:29.695Z] Step 22/24 : LABEL arch=amd64 [2020-10-20T06:31:29.695Z] ---> Running in 9bd5406c8f48 [2020-10-20T06:31:29.970Z] Removing intermediate container 9bd5406c8f48 [2020-10-20T06:31:29.970Z] ---> 6b4778acaeb3 [2020-10-20T06:31:29.970Z] Step 23/24 : LABEL git_sha=866a592f760587635d110c2b8c46546ce57dd958 [2020-10-20T06:31:30.236Z] ---> Running in 33a7df6d04f5 [2020-10-20T06:31:30.513Z] Removing intermediate container 33a7df6d04f5 [2020-10-20T06:31:30.513Z] ---> d9b43b1c900a [2020-10-20T06:31:30.513Z] Step 24/24 : LABEL version=0.0.0 [2020-10-20T06:31:30.513Z] ---> Running in 87b08b2d37d9 [2020-10-20T06:31:30.513Z] Removing intermediate container 87b08b2d37d9 [2020-10-20T06:31:30.513Z] ---> 90b961ec7bdd [2020-10-20T06:31:30.514Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-20T06:31:30.514Z] Successfully built 90b961ec7bdd [2020-10-20T06:31:30.514Z] 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-20T06:31:41.449Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-20T06:31:41.449Z] Removing intermediate container c4e7361d3b4e [2020-10-20T06:31:41.449Z] ---> 903641784ce5 [2020-10-20T06:31:41.449Z] Step 10/24 : FROM scratch [2020-10-20T06:31:41.449Z] ---> [2020-10-20T06:31:41.449Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-20T06:31:41.722Z] ---> Running in db31bbaeadcc [2020-10-20T06:31:41.995Z] Removing intermediate container db31bbaeadcc [2020-10-20T06:31:41.995Z] ---> 7fd31babbdce [2020-10-20T06:31:41.995Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-20T06:31:42.266Z] ---> Running in 507bdbf3679b [2020-10-20T06:31:42.539Z] Removing intermediate container 507bdbf3679b [2020-10-20T06:31:42.539Z] ---> 26db78f7b5b0 [2020-10-20T06:31:42.539Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-20T06:31:42.835Z] ---> Running in 797b780de494 [2020-10-20T06:31:43.114Z] Removing intermediate container 797b780de494 [2020-10-20T06:31:43.114Z] ---> ba1d9f98490e [2020-10-20T06:31:43.114Z] Step 14/24 : WORKDIR / [2020-10-20T06:31:43.386Z] ---> Running in 59ce66a32fb5 [2020-10-20T06:31:43.658Z] Removing intermediate container 59ce66a32fb5 [2020-10-20T06:31:43.658Z] ---> bfba171df074 [2020-10-20T06:31:43.658Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-20T06:31:45.090Z] ---> aefc48626f74 [2020-10-20T06:31:45.090Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-20T06:31:45.685Z] ---> f677736e0232 [2020-10-20T06:31:45.685Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-20T06:31:46.285Z] ---> b9581b3c75cf [2020-10-20T06:31:46.285Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-20T06:31:47.289Z] ---> fc8b5e82fe16 [2020-10-20T06:31:47.289Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-20T06:31:47.886Z] ---> 2fa7baa1ec23 [2020-10-20T06:31:47.886Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-20T06:31:47.886Z] ---> Running in c5173d3a3418 [2020-10-20T06:31:48.485Z] Removing intermediate container c5173d3a3418 [2020-10-20T06:31:48.485Z] ---> 386a43ea52cf [2020-10-20T06:31:48.485Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-20T06:31:48.485Z] ---> Running in e688a66c6419 [2020-10-20T06:31:49.085Z] Removing intermediate container e688a66c6419 [2020-10-20T06:31:49.085Z] ---> a7bcc1599888 [2020-10-20T06:31:49.085Z] Step 22/24 : LABEL arch=arm64 [2020-10-20T06:31:49.085Z] ---> Running in 1ae775e258bc [2020-10-20T06:31:49.682Z] Removing intermediate container 1ae775e258bc [2020-10-20T06:31:49.682Z] ---> 8892e12ea48a [2020-10-20T06:31:49.682Z] Step 23/24 : LABEL git_sha=866a592f760587635d110c2b8c46546ce57dd958 [2020-10-20T06:31:49.682Z] ---> Running in 83a03e2a0d49 [2020-10-20T06:31:49.959Z] Removing intermediate container 83a03e2a0d49 [2020-10-20T06:31:49.959Z] ---> 505283ee3a07 [2020-10-20T06:31:49.959Z] Step 24/24 : LABEL version=0.0.0 [2020-10-20T06:31:50.235Z] ---> Running in 9e6626d217e8 [2020-10-20T06:31:50.830Z] Removing intermediate container 9e6626d217e8 [2020-10-20T06:31:50.830Z] ---> 116d27b6ef22 [2020-10-20T06:31:50.830Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-20T06:31:50.830Z] Successfully built 116d27b6ef22 [2020-10-20T06:31:50.830Z] 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-20T06:31:53.622Z] provisioning config files... [2020-10-20T06:31:53.732Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/config51185648471230177tmp [Pipeline] { [Pipeline] sh [2020-10-20T06:31:54.400Z] + set +x [2020-10-20T06:31:54.400Z] + curl -s https://codecov.io/bash [2020-10-20T06:31:54.400Z] + bash -s -- [2020-10-20T06:31:54.692Z] [2020-10-20T06:31:54.692Z] _____ _ [2020-10-20T06:31:54.692Z] / ____| | | [2020-10-20T06:31:54.692Z] | | ___ __| | ___ ___ _____ __ [2020-10-20T06:31:54.692Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-20T06:31:54.692Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-20T06:31:54.692Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-20T06:31:54.692Z] Bash-20201009-048fee3 [2020-10-20T06:31:54.692Z] [2020-10-20T06:31:54.692Z] [2020-10-20T06:31:54.692Z] ==> Jenkins CI detected. [2020-10-20T06:31:54.692Z] project root: . [2020-10-20T06:31:54.692Z] --> token set from env [2020-10-20T06:31:54.692Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-20T06:31:54.692Z] ==> Running gcov in . (disable via -X gcov) [2020-10-20T06:31:54.692Z] ==> Python coveragepy not found [2020-10-20T06:31:54.692Z] ==> Searching for coverage reports in: [2020-10-20T06:31:54.692Z] + . [2020-10-20T06:31:54.692Z] -> Found 1 reports [2020-10-20T06:31:54.692Z] ==> Detecting git/mercurial file structure [2020-10-20T06:31:54.692Z] ==> Reading reports [2020-10-20T06:31:54.964Z] + ./coverage.out bytes=110058 [2020-10-20T06:31:54.964Z] ==> Appending adjustments [2020-10-20T06:31:54.964Z] https://docs.codecov.io/docs/fixing-reports [2020-10-20T06:31:55.565Z] + Found adjustments [2020-10-20T06:31:55.565Z] ==> Gzipping contents [2020-10-20T06:31:55.565Z] ==> Uploading reports [2020-10-20T06:31:55.565Z] url: https://codecov.io [2020-10-20T06:31:55.565Z] query: branch=PR-635&commit=866a592f760587635d110c2b8c46546ce57dd958&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-635%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=635&job=&cmd_args= [2020-10-20T06:31:55.565Z] -> Pinging Codecov [2020-10-20T06:31:55.565Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-635&commit=866a592f760587635d110c2b8c46546ce57dd958&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-635%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=635&job=&cmd_args= [2020-10-20T06:31:55.830Z] -> Uploading to [2020-10-20T06:31:55.830Z] [2020-10-20T06:31:55.830Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-20T06:31:55.830Z] Dload Upload Total Spent Left Speed [2020-10-20T06:31:55.830Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-20T06:31:55.830Z] X> Failed to upload [2020-10-20T06:31:55.830Z] ==> Uploading to Codecov [2020-10-20T06:31:55.830Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-20T06:31:55.830Z] Dload Upload Total Spent Left Speed [2020-10-20T06:31:56.423Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19120 0 0 100 19010 0 32427 --:--:-- --:--:-- --:--:-- 32440 100 19120 100 110 100 19010 187 32382 --:--:-- --:--:-- --:--:-- 32385 [2020-10-20T06:31:56.423Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/866a592f760587635d110c2b8c46546ce57dd958 [Pipeline] } [2020-10-20T06:31:56.466Z] 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-20T06:32:00.061Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T06:32:00.753Z] ---> package-listing.sh [2020-10-20T06:32:00.753Z] ++ facter osfamily [2020-10-20T06:32:00.753Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-20T06:32:01.017Z] + OS_FAMILY=redhat [2020-10-20T06:32:01.017Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-635 [2020-10-20T06:32:01.017Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-20T06:32:01.017Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-20T06:32:01.017Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-20T06:32:01.017Z] + PACKAGES=/tmp/packages_start.txt [2020-10-20T06:32:01.017Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-635 ']' [2020-10-20T06:32:01.017Z] + PACKAGES=/tmp/packages_end.txt [2020-10-20T06:32:01.017Z] + case "${OS_FAMILY}" in [2020-10-20T06:32:01.017Z] + rpm -qa [2020-10-20T06:32:01.017Z] + sort [2020-10-20T06:32:06.593Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-20T06:32:06.593Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-20T06:32:06.593Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-20T06:32:06.593Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-635 ']' [2020-10-20T06:32:06.593Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-635/archives/ [2020-10-20T06:32:06.593Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-635/archives/ [Pipeline] echo [2020-10-20T06:32:06.640Z] 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-635/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-20T06:32:06.984Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-20T06:32:07.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-20T06:32:07.627Z] [2020-10-20T06:32:07.627Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-20T06:32:08.032Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-20T06:32:08.032Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-20T06:32:08.032Z] df20fa9351a1: Pulling fs layer [2020-10-20T06:32:08.032Z] 36b3adc4ff6f: Pulling fs layer [2020-10-20T06:32:08.032Z] 8ad3a11d3b57: Pulling fs layer [2020-10-20T06:32:08.032Z] 46f8f816bc3b: Pulling fs layer [2020-10-20T06:32:08.032Z] 93b61091891f: Pulling fs layer [2020-10-20T06:32:08.032Z] 93b9cdb0e59b: Pulling fs layer [2020-10-20T06:32:08.032Z] 5e14af77c1be: Pulling fs layer [2020-10-20T06:32:08.032Z] 01666e4c0597: Pulling fs layer [2020-10-20T06:32:08.032Z] aa168da1d23b: Pulling fs layer [2020-10-20T06:32:08.032Z] 5e14af77c1be: Waiting [2020-10-20T06:32:08.032Z] 01666e4c0597: Waiting [2020-10-20T06:32:08.032Z] aa168da1d23b: Waiting [2020-10-20T06:32:08.032Z] 46f8f816bc3b: Waiting [2020-10-20T06:32:08.032Z] 93b61091891f: Waiting [2020-10-20T06:32:08.032Z] 93b9cdb0e59b: Waiting [2020-10-20T06:32:08.032Z] 36b3adc4ff6f: Verifying Checksum [2020-10-20T06:32:08.032Z] 36b3adc4ff6f: Download complete [2020-10-20T06:32:08.298Z] 46f8f816bc3b: Verifying Checksum [2020-10-20T06:32:08.298Z] 46f8f816bc3b: Download complete [2020-10-20T06:32:08.298Z] df20fa9351a1: Verifying Checksum [2020-10-20T06:32:08.298Z] df20fa9351a1: Download complete [2020-10-20T06:32:08.298Z] 93b9cdb0e59b: Verifying Checksum [2020-10-20T06:32:08.298Z] 93b9cdb0e59b: Download complete [2020-10-20T06:32:08.298Z] 5e14af77c1be: Verifying Checksum [2020-10-20T06:32:08.298Z] 5e14af77c1be: Download complete [2020-10-20T06:32:08.298Z] 01666e4c0597: Verifying Checksum [2020-10-20T06:32:08.298Z] 01666e4c0597: Download complete [2020-10-20T06:32:08.905Z] df20fa9351a1: Pull complete [2020-10-20T06:32:09.307Z] 93b61091891f: Download complete [2020-10-20T06:32:09.307Z] 36b3adc4ff6f: Pull complete [2020-10-20T06:32:10.355Z] 8ad3a11d3b57: Verifying Checksum [2020-10-20T06:32:10.355Z] 8ad3a11d3b57: Download complete [2020-10-20T06:32:12.610Z] 8ad3a11d3b57: Pull complete [2020-10-20T06:32:12.610Z] 46f8f816bc3b: Pull complete [2020-10-20T06:32:13.657Z] 93b61091891f: Pull complete [2020-10-20T06:32:13.657Z] 93b9cdb0e59b: Pull complete [2020-10-20T06:32:14.392Z] 5e14af77c1be: Pull complete [2020-10-20T06:32:14.731Z] 01666e4c0597: Pull complete [2020-10-20T06:32:19.339Z] aa168da1d23b: Verifying Checksum [2020-10-20T06:32:19.339Z] aa168da1d23b: Download complete [2020-10-20T06:32:31.929Z] aa168da1d23b: Pull complete [2020-10-20T06:32:31.929Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-20T06:32:31.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-20T06:32:31.929Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-20T06:32:32.276Z] prd-centos7-docker-4c-2g-6893 does not seem to be running inside a container [2020-10-20T06:32:32.393Z] $ 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-635/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-635 -v /w/workspace/dgexfoundry_device-sdk-go_PR-635:/w/workspace/dgexfoundry_device-sdk-go_PR-635:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-635@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-20T06:32:37.899Z] $ docker top aac2b38a06fd9fdaf950f9ff94c62c54551ea30bd74f07ae689a8b962edac2ac -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-20T06:32:38.766Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-20T06:32:39.420Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-20T06:32:39.800Z] + ls /var/log/sa-host [2020-10-20T06:32:39.800Z] + sadf -c /var/log/sa-host/sa05 [2020-10-20T06:32:39.800Z] file_magic: OK [2020-10-20T06:32:39.800Z] HZ: Using current value: 100 [2020-10-20T06:32:39.800Z] file_header: OK [2020-10-20T06:32:39.800Z] 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-20T06:32:39.800Z] Statistics: [2020-10-20T06:32:39.800Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-20T06:32:39.800Z] File successfully converted to sysstat format version 12.2.1 [2020-10-20T06:32:39.800Z] + sadf -c /var/log/sa-host/sa20 [2020-10-20T06:32:39.800Z] file_magic: OK [2020-10-20T06:32:39.800Z] HZ: Using current value: 100 [2020-10-20T06:32:39.800Z] file_header: OK [2020-10-20T06:32:39.800Z] 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-20T06:32:39.800Z] Statistics: [2020-10-20T06:32:39.800Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-20T06:32:39.800Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-20T06:32:40.116Z] provisioning config files... [2020-10-20T06:32:40.161Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/config9077457391133604994tmp [Pipeline] { [Pipeline] echo [2020-10-20T06:32:40.289Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T06:32:41.016Z] ---> create-netrc.sh [Pipeline] } [2020-10-20T06:32:41.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-20T06:32:41.206Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T06:32:41.650Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-20T06:32:41.710Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T06:32:42.169Z] ---> sudo-logs.sh [2020-10-20T06:32:42.169Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-20T06:32:42.238Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T06:32:42.797Z] ---> job-cost.sh [2020-10-20T06:32:42.797Z] lf-activate-venv: SKIPPING [2020-10-20T06:32:42.797Z] INFO: No Stack... [2020-10-20T06:32:44.255Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-20T06:32:44.523Z] INFO: Archiving Costs [Pipeline] echo [2020-10-20T06:32:44.571Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-20T06:32:44.952Z] ---> logs-deploy.sh [2020-10-20T06:32:45.227Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-635/1 [2020-10-20T06:32:45.227Z] INFO: archiving workspace using pattern(s): [2020-10-20T06:32:48.082Z] Archives upload complete. [2020-10-20T06:32:48.082Z] INFO: archiving logs to Nexus