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 06:24:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:24:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:24:43 ========================================================= 06:24:43 EdgeX Global Pipelines Version Info 06:24:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:24:46 ------------------- 06:24:46 stable info: 06:24:46 ------------------- 06:24:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:24:46 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:24:46 Message: update stable to v1.0.144 06:24:47 ------------------- 06:24:47 experimental info: 06:24:47 ------------------- 06:24:47 Commited By: **** collab-it+edgex@linuxfoundation.org 06:24:47 Commit SHA: c640cc8e0f176a0a86b153ebfcb15f3e2f33f7bd 06:24:47 Message: update experimental to v1.0.145 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:24:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:24:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:24:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:24:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:24:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:24:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:24:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:24:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:24:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:24:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:24:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:24:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:24:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:24:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:24:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:24:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:24:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:24:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:24:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:24:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:24:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:24:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-635 [Pipeline] echo 06:24:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-635 [Pipeline] echo 06:24:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-635 [Pipeline] echo 06:24:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 866a592f760587635d110c2b8c46546ce57dd958 [Pipeline] echo 06:24:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 866a592 [Pipeline] echo 06:24:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:24:53 + git log --format=format:%s -1 866a592f760587635d110c2b8c46546ce57dd958 [Pipeline] echo 06:24:54 GIT_COMMIT: 866a592f760587635d110c2b8c46546ce57dd958, Commit Message: fix(sdk): let autoevents only handled by callback [Pipeline] echo 06:24:54 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:24:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:24:55 06:24:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:24:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:24:56 latest: Pulling from edgex-devops/git-semver 06:24:56 31603596830f: Pulling fs layer 06:24:56 2a8b12db71e7: Pulling fs layer 06:24:56 6ca5941a6612: Pulling fs layer 06:24:56 ecc8261a40a4: Pulling fs layer 06:24:56 ecc8261a40a4: Waiting 06:24:56 2a8b12db71e7: Verifying Checksum 06:24:56 2a8b12db71e7: Download complete 06:24:56 31603596830f: Verifying Checksum 06:24:56 31603596830f: Download complete 06:24:57 ecc8261a40a4: Verifying Checksum 06:24:57 ecc8261a40a4: Download complete 06:24:57 31603596830f: Pull complete 06:24:57 6ca5941a6612: Verifying Checksum 06:24:57 6ca5941a6612: Download complete 06:24:57 2a8b12db71e7: Pull complete 06:24:59 6ca5941a6612: Pull complete 06:24:59 ecc8261a40a4: Pull complete 06:24:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:24:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:24:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:24:59 prd-centos7-docker-4c-2g-6893 does not seem to be running inside a container 06:25:00 $ 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 06:25:03 $ docker top a6194e47c64e282ddf64d71286397949dd58f5eec7b9783b7df8ca42b86e8b98 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:25:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:25:04 [ssh-agent] Looking for ssh-agent implementation... 06:25:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:25:04 $ docker exec a6194e47c64e282ddf64d71286397949dd58f5eec7b9783b7df8ca42b86e8b98 ssh-agent 06:25:05 SSH_AUTH_SOCK=/tmp/ssh-DYDf1MmqCp6F/agent.13 06:25:05 SSH_AGENT_PID=18 06:25:05 Running ssh-add (command line suppressed) 06:25:05 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) 06:25:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:25:05 + git tag --points-at HEAD [Pipeline] } 06:25:05 $ docker exec --env ******** --env ******** a6194e47c64e282ddf64d71286397949dd58f5eec7b9783b7df8ca42b86e8b98 ssh-agent -k 06:25:06 unset SSH_AUTH_SOCK; 06:25:06 unset SSH_AGENT_PID; 06:25:06 echo Agent pid 18 killed; 06:25:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:25:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:25:06 [ssh-agent] Looking for ssh-agent implementation... 06:25:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:25:06 $ docker exec a6194e47c64e282ddf64d71286397949dd58f5eec7b9783b7df8ca42b86e8b98 ssh-agent 06:25:07 SSH_AUTH_SOCK=/tmp/ssh-Zs2PvX0blYBI/agent.46 06:25:07 SSH_AGENT_PID=51 06:25:07 Running ssh-add (command line suppressed) 06:25:07 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) 06:25:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:25:07 + git semver init 06:25:07 # -> Open(): unable to determine branch for HEAD 06:25:07 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-635/.git 06:25:07 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-635 06:25:07 # $SEMVER_REMOTE_NAME = origin 06:25:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:25:07 # $SEMVER_USER_NAME = edgex-jenkins 06:25:07 # $SEMVER_BRANCH = PR-635 06:25:07 # $SEMVER_TEMP = /tmp/semver-439980411 06:25:07 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:25:08 # '/tmp/semver-439980411' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-635/.semver' 06:25:08 # -> Force: false 06:25:08 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-635/.semver [Pipeline] } 06:25:08 $ docker exec --env ******** --env ******** a6194e47c64e282ddf64d71286397949dd58f5eec7b9783b7df8ca42b86e8b98 ssh-agent -k 06:25:09 unset SSH_AUTH_SOCK; 06:25:09 unset SSH_AGENT_PID; 06:25:09 echo Agent pid 51 killed; 06:25:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:25:10 + git semver [Pipeline] } 06:25:10 $ docker stop --time=1 a6194e47c64e282ddf64d71286397949dd58f5eec7b9783b7df8ca42b86e8b98 06:25:12 $ docker rm -f a6194e47c64e282ddf64d71286397949dd58f5eec7b9783b7df8ca42b86e8b98 [Pipeline] // withDockerContainer [Pipeline] sh 06:25:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:25:13 Stashed 1 file(s) [Pipeline] echo 06:25:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:25:29 Still waiting to schedule task 06:25:29 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:25:29 Still waiting to schedule task 06:25:29 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:27:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6906 in /w/workspace/dgexfoundry_device-sdk-go_PR-635 [Pipeline] { [Pipeline] ws 06:27:29 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:27:34 using credential edgex-jenkins-ssh 06:27:34 Cloning the remote Git repository 06:27:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:27:34 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:27:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:27:34 > git --version # timeout=10 06:27:34 > git --version # 'git version 2.17.1' 06:27:34 using GIT_SSH to set credentials SSH Credentials for GitHub 06:27:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:27:36 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 866a592f760587635d110c2b8c46546ce57dd958 06:27:36 Merge succeeded, producing 866a592f760587635d110c2b8c46546ce57dd958 06:27:36 Checking out Revision 866a592f760587635d110c2b8c46546ce57dd958 (PR-635) 06:27:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:27:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:27:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:27:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:27:35 using GIT_SSH to set credentials SSH Credentials for GitHub 06:27:35 > 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 06:27:36 > git config core.sparsecheckout # timeout=10 06:27:36 > git checkout -f 866a592f760587635d110c2b8c46546ce57dd958 # timeout=10 06:27:36 > git remote # timeout=10 06:27:36 > git config --get remote.origin.url # timeout=10 06:27:36 using GIT_SSH to set credentials SSH Credentials for GitHub 06:27:36 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 06:27:36 > git rev-parse HEAD^{commit} # timeout=10 06:27:36 > git config core.sparsecheckout # timeout=10 06:27:36 > git checkout -f 866a592f760587635d110c2b8c46546ce57dd958 # timeout=10 06:27:41 Commit message: "fix(sdk): let autoevents only handled by callback" 06:27:41 > git --version # timeout=10 06:27:41 > git --version # 'git version 2.17.1' 06:27:41 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:27:42 ========================================================= 06:27:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:27:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:27:43 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:27:44 Sending build context to Docker daemon 2.334MB 06:27:44 Step 1/8 : ARG BASE=golang:1.15-alpine 06:27:44 Step 2/8 : FROM ${BASE} 06:27:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:27:44 b538f80385f9: Pulling fs layer 06:27:44 74f711af9a0d: Pulling fs layer 06:27:44 99f96fe45779: Pulling fs layer 06:27:44 8529a6b9a6be: Pulling fs layer 06:27:44 45590311c82a: Pulling fs layer 06:27:44 69ca0ff8b7b3: Pulling fs layer 06:27:44 209524e5b208: Pulling fs layer 06:27:44 8529a6b9a6be: Waiting 06:27:44 45590311c82a: Waiting 06:27:44 69ca0ff8b7b3: Waiting 06:27:44 209524e5b208: Waiting 06:27:44 99f96fe45779: Verifying Checksum 06:27:44 99f96fe45779: Download complete 06:27:44 74f711af9a0d: Verifying Checksum 06:27:44 74f711af9a0d: Download complete 06:27:44 45590311c82a: Verifying Checksum 06:27:44 45590311c82a: Download complete 06:27:44 69ca0ff8b7b3: Verifying Checksum 06:27:45 b538f80385f9: Verifying Checksum 06:27:45 b538f80385f9: Download complete 06:27:45 b538f80385f9: Pull complete 06:27:46 74f711af9a0d: Pull complete 06:27:47 99f96fe45779: Pull complete 06:27:48 209524e5b208: Verifying Checksum 06:27:48 209524e5b208: Download complete 06:27:49 8529a6b9a6be: Verifying Checksum 06:27:49 8529a6b9a6be: Download complete 06:27:59 8529a6b9a6be: Pull complete 06:27:59 45590311c82a: Pull complete 06:27:59 69ca0ff8b7b3: Pull complete 06:28:03 209524e5b208: Pull complete 06:28:03 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:28:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:28:03 ---> 5bddaf1c2fca 06:28:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:28:05 ---> Running in 74e456c7d792 06:28:06 Removing intermediate container 74e456c7d792 06:28:06 ---> a183edaedaee 06:28:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:28:06 ---> Running in d1a757163e74 06:28:09 Removing intermediate container d1a757163e74 06:28:09 ---> bce36a92b9b4 06:28:09 Step 5/8 : RUN apk add --no-cache make git 06:28:09 ---> Running in 9d547a3cf003 06:28:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:28:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:28:12 OK: 142 MiB in 39 packages 06:28:13 Removing intermediate container 9d547a3cf003 06:28:13 ---> 35c34b856796 06:28:13 Step 6/8 : WORKDIR /device-sdk-go 06:28:13 ---> Running in ea16acd4b684 06:28:14 Removing intermediate container ea16acd4b684 06:28:14 ---> 8507c28cb174 06:28:14 Step 7/8 : COPY . . 06:28:15 ---> 45f7cf6ace1e 06:28:15 Step 8/8 : RUN go mod download 06:28:15 ---> Running in 10eb0a36e3f7 06:28:37 Removing intermediate container 10eb0a36e3f7 06:28:37 ---> b5aeda089c8a 06:28:37 Successfully built b5aeda089c8a 06:28:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:28:38 + docker inspect -f . ci-base-image-arm64 06:28:38 . [Pipeline] withDockerContainer 06:28:38 prd-ubuntu18.04-docker-arm64-4c-16g-6906 does not seem to be running inside a container 06:28:38 $ 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 06:28:40 $ docker top ae0b11622c695c3b06a421bdb90eae8041a1021d066a88d5a14bd6e9214d4101 -eo pid,comm [Pipeline] { [Pipeline] sh 06:28:42 + go version 06:28:42 go version go1.15.2 linux/arm64 [Pipeline] } 06:28:42 $ docker stop --time=1 ae0b11622c695c3b06a421bdb90eae8041a1021d066a88d5a14bd6e9214d4101 06:28:44 $ docker rm -f ae0b11622c695c3b06a421bdb90eae8041a1021d066a88d5a14bd6e9214d4101 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:28:45 + docker inspect -f . ci-base-image-arm64 06:28:45 . [Pipeline] withDockerContainer 06:28:46 prd-ubuntu18.04-docker-arm64-4c-16g-6906 does not seem to be running inside a container 06:28:46 $ 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 06:28:48 $ docker top 9712d7e550cc72d974702336757c786c279aa28835393c3b7c16d08ea464edfa -eo pid,comm [Pipeline] { [Pipeline] sh 06:28:49 + make test 06:28:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:29:11 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:29:12 Running on prd-centos7-docker-4c-2g-6907 in /w/workspace/dgexfoundry_device-sdk-go_PR-635 [Pipeline] { [Pipeline] ws 06:29:12 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:29:15 using credential edgex-jenkins-ssh 06:29:15 Cloning the remote Git repository 06:29:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:29:16 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:29:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:29:16 > git --version # timeout=10 06:29:16 > git --version # 'git version 2.16.5' 06:29:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:29:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:29:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:29:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:29:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:29:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:16 > 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 06:29:17 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 866a592f760587635d110c2b8c46546ce57dd958 06:29:17 Merge succeeded, producing 866a592f760587635d110c2b8c46546ce57dd958 06:29:17 Checking out Revision 866a592f760587635d110c2b8c46546ce57dd958 (PR-635) 06:29:17 > git config core.sparsecheckout # timeout=10 06:29:17 > git checkout -f 866a592f760587635d110c2b8c46546ce57dd958 # timeout=10 06:29:17 > git remote # timeout=10 06:29:17 > git config --get remote.origin.url # timeout=10 06:29:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:17 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 06:29:17 > git rev-parse HEAD^{commit} # timeout=10 06:29:17 > git config core.sparsecheckout # timeout=10 06:29:17 > git checkout -f 866a592f760587635d110c2b8c46546ce57dd958 # timeout=10 06:29:21 Commit message: "fix(sdk): let autoevents only handled by callback" 06:29:21 > git --version # timeout=10 06:29:21 > git --version # 'git version 2.16.5' 06:29:21 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:29:22 ========================================================= 06:29:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:29:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:29:23 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:29:23 Sending build context to Docker daemon 2.334MB 06:29:23 Step 1/8 : ARG BASE=golang:1.15-alpine 06:29:23 Step 2/8 : FROM ${BASE} 06:29:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:29:23 df20fa9351a1: Pulling fs layer 06:29:23 ed8968b2872e: Pulling fs layer 06:29:23 a92cc7c5fd73: Pulling fs layer 06:29:23 e871e8e8d7a9: Pulling fs layer 06:29:23 e73272ec9a57: Pulling fs layer 06:29:23 1e910a182e73: Pulling fs layer 06:29:23 4e634b169226: Pulling fs layer 06:29:23 e73272ec9a57: Waiting 06:29:23 1e910a182e73: Waiting 06:29:23 4e634b169226: Waiting 06:29:23 e871e8e8d7a9: Waiting 06:29:23 a92cc7c5fd73: Verifying Checksum 06:29:23 a92cc7c5fd73: Download complete 06:29:23 ed8968b2872e: Verifying Checksum 06:29:23 ed8968b2872e: Download complete 06:29:23 e73272ec9a57: Verifying Checksum 06:29:23 e73272ec9a57: Download complete 06:29:23 1e910a182e73: Verifying Checksum 06:29:23 1e910a182e73: Download complete 06:29:23 df20fa9351a1: Download complete 06:29:23 df20fa9351a1: Pull complete 06:29:24 ed8968b2872e: Pull complete 06:29:24 a92cc7c5fd73: Pull complete 06:29:26 4e634b169226: Verifying Checksum 06:29:26 4e634b169226: Download complete 06:29:26 e871e8e8d7a9: Download complete 06:29:31 e871e8e8d7a9: Pull complete 06:29:31 e73272ec9a57: Pull complete 06:29:31 1e910a182e73: Pull complete 06:29:36 4e634b169226: Pull complete 06:29:36 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:29:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:29:36 ---> f7629b54cfaa 06:29:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:29:36 ---> Running in 43c52879a501 06:29:36 Removing intermediate container 43c52879a501 06:29:36 ---> e220e21326a7 06:29:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:29:36 ---> Running in 7ecc456d8979 06:29:37 Removing intermediate container 7ecc456d8979 06:29:37 ---> a0443a49bf79 06:29:37 Step 5/8 : RUN apk add --no-cache make git 06:29:37 ---> Running in 205020e11336 06:29:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:29:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:29:39 OK: 166 MiB in 39 packages 06:29:39 Removing intermediate container 205020e11336 06:29:39 ---> d7e1fa039d56 06:29:39 Step 6/8 : WORKDIR /device-sdk-go 06:29:39 ---> Running in 509f88a1bd93 06:29:39 Removing intermediate container 509f88a1bd93 06:29:39 ---> 9d1b76fca4bb 06:29:39 Step 7/8 : COPY . . 06:29:41 ---> 8666ae80dcb4 06:29:41 Step 8/8 : RUN go mod download 06:29:41 ---> Running in 7a8b26e2da7d 06:29:50 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:29:50 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:29:50 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:29:50 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.123s coverage: 23.3% of statements 06:29:55 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.182s coverage: 97.1% of statements 06:29:59 Removing intermediate container 7a8b26e2da7d 06:29:59 ---> 6d80ee86d2be 06:29:59 Successfully built 6d80ee86d2be 06:29:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:29:59 + docker inspect -f . ci-base-image-x86_64 06:29:59 . [Pipeline] withDockerContainer 06:30:00 prd-centos7-docker-4c-2g-6907 does not seem to be running inside a container 06:30:00 $ 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 06:30:00 $ docker top 7eae9689f6ee64416cca4c79bb7c8088cfbbefddcae546a74ff6cba59d9d6806 -eo pid,comm [Pipeline] { [Pipeline] sh 06:30:01 + go version 06:30:01 go version go1.15.2 linux/amd64 [Pipeline] } 06:30:01 $ docker stop --time=1 7eae9689f6ee64416cca4c79bb7c8088cfbbefddcae546a74ff6cba59d9d6806 06:30:03 $ docker rm -f 7eae9689f6ee64416cca4c79bb7c8088cfbbefddcae546a74ff6cba59d9d6806 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:30:04 + docker inspect -f . ci-base-image-x86_64 06:30:04 . [Pipeline] withDockerContainer 06:30:04 prd-centos7-docker-4c-2g-6907 does not seem to be running inside a container 06:30:04 $ 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 06:30:05 $ docker top 7e7606cd9567e31f51a2fdffce1c5b30ba5ad990eaffc91ae04ac13461356612 -eo pid,comm [Pipeline] { [Pipeline] sh 06:30:05 + make test 06:30:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:30:12 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:30:22 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.175s coverage: 9.4% of statements 06:30:22 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.131s coverage: 21.9% of statements 06:30:22 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:30:22 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.571s coverage: 42.6% of statements 06:30:22 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:30:22 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.716s coverage: 68.9% of statements 06:30:22 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:30:22 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:30:22 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:30:22 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:30:22 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.166s coverage: 52.6% of statements 06:30:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:30:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:30:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:30:22 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.695s coverage: 68.9% of statements 06:30:22 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:30:22 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:30:22 GO111MODULE=on go vet ./... 06:30:27 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:30:27 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:30:27 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:30:27 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.050s coverage: 23.3% of statements 06:30:28 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.452s coverage: 97.1% of statements 06:30:54 gofmt -l . 06:30:54 [ "`gofmt -l .`" = "" ] 06:30:54 ./bin/test-attribution-txt.sh 06:30:54 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:30:55 Stashed 1 file(s) [Pipeline] } 06:30:55 $ docker stop --time=1 9712d7e550cc72d974702336757c786c279aa28835393c3b7c16d08ea464edfa 06:30:57 $ docker rm -f 9712d7e550cc72d974702336757c786c279aa28835393c3b7c16d08ea464edfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 06:31:00 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.061s coverage: 9.4% of statements 06:31:00 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements 06:31:00 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:31:00 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.208s coverage: 42.6% of statements 06:31:00 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:31:00 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.269s coverage: 68.9% of statements 06:31:00 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:31:00 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:31:00 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:31:00 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:31:00 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.059s coverage: 52.6% of statements 06:31:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:31:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:31:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:31:00 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.267s coverage: 68.9% of statements 06:31:00 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:31:00 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:31:00 GO111MODULE=on go vet ./... [Pipeline] sh 06:31:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:31:01 + ls -al . 06:31:01 total 224 06:31:01 drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 06:30 . 06:31:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 06:27 .. 06:31:01 -rw-rw-r-- 1 jenkins jenkins 140 Oct 20 06:27 .dockerignore 06:31:01 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 06:27 .git 06:31:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 06:27 .github 06:31:01 -rw-rw-r-- 1 jenkins jenkins 138 Oct 20 06:27 .gitignore 06:31:01 -rw-rw-r-- 1 jenkins jenkins 936 Oct 20 06:27 Dockerfile.build 06:31:01 -rw-rw-r-- 1 jenkins jenkins 901 Oct 20 06:27 Jenkinsfile 06:31:01 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 20 06:27 LICENSE 06:31:01 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 20 06:27 Makefile 06:31:01 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 20 06:27 README.md 06:31:01 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 20 06:27 RELEASE-NOTES.txt 06:31:01 -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 06:25 VERSION 06:31:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 06:27 bin 06:31:01 -rw-r--r-- 1 jenkins jenkins 110058 Oct 20 06:30 coverage.out 06:31:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 06:27 example 06:31:01 -rw-r--r-- 1 jenkins jenkins 517 Oct 20 06:30 go.mod 06:31:01 -rw-r--r-- 1 jenkins jenkins 13737 Oct 20 06:30 go.sum 06:31:01 drwxrwxr-x 15 jenkins jenkins 4096 Oct 20 06:27 internal 06:31:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 06:27 openapi 06:31:01 drwxrwxr-x 5 jenkins jenkins 4096 Oct 20 06:27 pkg 06:31:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 06:27 snap 06:31:01 -rw-rw-r-- 1 jenkins jenkins 222 Oct 20 06:27 version.go [Pipeline] isUnix [Pipeline] sh 06:31:02 + 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 . 06:31:02 Sending build context to Docker daemon 2.444MB 06:31:02 Step 1/24 : ARG BASE=golang:1.15-alpine 06:31:02 Step 2/24 : FROM ${BASE} AS builder 06:31:02 ---> b5aeda089c8a 06:31:02 Step 3/24 : ARG MAKE='make build' 06:31:03 ---> Running in acc9c92a1ea0 06:31:03 Removing intermediate container acc9c92a1ea0 06:31:03 ---> 121a0affcf5f 06:31:03 Step 4/24 : WORKDIR /device-sdk-go 06:31:03 ---> Running in e521b6248a68 06:31:04 Removing intermediate container e521b6248a68 06:31:04 ---> a9481ca89fde 06:31:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:31:04 ---> Running in 4c355cc86ae1 06:31:04 Removing intermediate container 4c355cc86ae1 06:31:04 ---> 2447d44d8b0a 06:31:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:31:04 ---> Running in d6f684d3d9e3 06:31:06 gofmt -l . 06:31:06 [ "`gofmt -l .`" = "" ] 06:31:06 ./bin/test-attribution-txt.sh 06:31:06 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:31:07 Warning: overwriting stash ‘coverage-report’ 06:31:07 Removing intermediate container d6f684d3d9e3 06:31:07 ---> e8b7558a7d12 06:31:07 Step 7/24 : RUN apk add --update --no-cache make git 06:31:07 ---> Running in 353819b45f9d 06:31:07 Stashed 1 file(s) [Pipeline] } 06:31:07 $ docker stop --time=1 7e7606cd9567e31f51a2fdffce1c5b30ba5ad990eaffc91ae04ac13461356612 06:31:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:31:09 $ docker rm -f 7e7606cd9567e31f51a2fdffce1c5b30ba5ad990eaffc91ae04ac13461356612 06:31:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 06:31:10 OK: 142 MiB in 39 packages [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:31:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:31:11 + ls -al . 06:31:11 total 188 06:31:11 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 20 06:31 . 06:31:11 drwxrwxr-x. 4 jenkins jenkins 28 Oct 20 06:29 .. 06:31:11 drwxrwxr-x. 2 jenkins jenkins 64 Oct 20 06:29 bin 06:31:11 -rw-r--r--. 1 jenkins jenkins 110058 Oct 20 06:30 coverage.out 06:31:11 -rw-rw-r--. 1 jenkins jenkins 936 Oct 20 06:29 Dockerfile.build 06:31:11 -rw-rw-r--. 1 jenkins jenkins 140 Oct 20 06:29 .dockerignore 06:31:11 drwxrwxr-x. 4 jenkins jenkins 48 Oct 20 06:29 example 06:31:11 drwxrwxr-x. 8 jenkins jenkins 179 Oct 20 06:29 .git 06:31:11 drwxrwxr-x. 2 jenkins jenkins 60 Oct 20 06:29 .github 06:31:11 -rw-rw-r--. 1 jenkins jenkins 138 Oct 20 06:29 .gitignore 06:31:11 -rw-r--r--. 1 jenkins jenkins 517 Oct 20 06:31 go.mod 06:31:11 -rw-r--r--. 1 jenkins jenkins 13737 Oct 20 06:31 go.sum 06:31:11 drwxrwxr-x. 15 jenkins jenkins 211 Oct 20 06:29 internal 06:31:11 -rw-rw-r--. 1 jenkins jenkins 901 Oct 20 06:29 Jenkinsfile 06:31:11 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 20 06:29 LICENSE 06:31:11 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 20 06:29 Makefile 06:31:11 drwxrwxr-x. 4 jenkins jenkins 26 Oct 20 06:29 openapi 06:31:11 drwxrwxr-x. 5 jenkins jenkins 50 Oct 20 06:29 pkg 06:31:11 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 20 06:29 README.md 06:31:11 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 20 06:29 RELEASE-NOTES.txt 06:31:11 drwxrwxr-x. 4 jenkins jenkins 54 Oct 20 06:29 snap 06:31:11 -rw-rw-r--. 1 jenkins jenkins 5 Oct 20 06:25 VERSION 06:31:11 -rw-rw-r--. 1 jenkins jenkins 222 Oct 20 06:29 version.go [Pipeline] isUnix [Pipeline] sh 06:31:11 + 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 . 06:31:11 Removing intermediate container 353819b45f9d 06:31:11 ---> c23ce1a7ce2f 06:31:11 Step 8/24 : COPY . . 06:31:11 Sending build context to Docker daemon 2.444MB 06:31:11 Step 1/24 : ARG BASE=golang:1.15-alpine 06:31:11 Step 2/24 : FROM ${BASE} AS builder 06:31:11 ---> 6d80ee86d2be 06:31:11 Step 3/24 : ARG MAKE='make build' 06:31:12 ---> Running in e639700dd447 06:31:12 Removing intermediate container e639700dd447 06:31:12 ---> dbf47be0aed0 06:31:12 Step 4/24 : WORKDIR /device-sdk-go 06:31:12 ---> Running in 35830416d4e4 06:31:12 Removing intermediate container 35830416d4e4 06:31:12 ---> 26d7fe1499dc 06:31:12 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:31:12 ---> Running in 88b8dd45bd5f 06:31:12 Removing intermediate container 88b8dd45bd5f 06:31:12 ---> f1464cbef00d 06:31:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:31:12 ---> Running in 08f7af793b22 06:31:13 ---> 8b544c8f3733 06:31:13 Step 9/24 : RUN ${MAKE} 06:31:13 ---> Running in c4e7361d3b4e 06:31:13 Removing intermediate container 08f7af793b22 06:31:13 ---> 85153e190009 06:31:13 Step 7/24 : RUN apk add --update --no-cache make git 06:31:13 ---> Running in 18ffbe462e17 06:31:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:31:14 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:31:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:31:15 OK: 166 MiB in 39 packages 06:31:15 Removing intermediate container 18ffbe462e17 06:31:15 ---> 21c79c786e88 06:31:15 Step 8/24 : COPY . . 06:31:17 ---> d1ed7bb76679 06:31:17 Step 9/24 : RUN ${MAKE} 06:31:17 ---> Running in b37f0a5550f5 06:31:17 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:31:25 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:31:27 Removing intermediate container b37f0a5550f5 06:31:27 ---> 29654554bd54 06:31:27 Step 10/24 : FROM scratch 06:31:27 ---> 06:31:27 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:31:27 ---> Running in d41d5354dbc0 06:31:27 Removing intermediate container d41d5354dbc0 06:31:27 ---> 4f4a5baa9772 06:31:27 Step 12/24 : ENV APP_PORT=49990 06:31:27 ---> Running in 5655462812fe 06:31:27 Removing intermediate container 5655462812fe 06:31:27 ---> a64ef7c04681 06:31:27 Step 13/24 : EXPOSE $APP_PORT 06:31:27 ---> Running in b51aa507e678 06:31:27 Removing intermediate container b51aa507e678 06:31:27 ---> f02737777c95 06:31:27 Step 14/24 : WORKDIR / 06:31:27 ---> Running in ba0ef66e690d 06:31:27 Removing intermediate container ba0ef66e690d 06:31:27 ---> 429b9174560a 06:31:27 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:31:28 ---> 96b25b34bfde 06:31:28 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:31:28 ---> b20c3de41805 06:31:28 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:31:28 ---> f4819201d3de 06:31:28 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:31:29 ---> 5ebd6421357f 06:31:29 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:31:29 ---> 634d5774de1d 06:31:29 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:31:29 ---> Running in 4cc60adc71b9 06:31:29 Removing intermediate container 4cc60adc71b9 06:31:29 ---> 3d75bf3d8742 06:31:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:31:29 ---> Running in ce8047849364 06:31:29 Removing intermediate container ce8047849364 06:31:29 ---> 24b968687a08 06:31:29 Step 22/24 : LABEL arch=amd64 06:31:29 ---> Running in 9bd5406c8f48 06:31:29 Removing intermediate container 9bd5406c8f48 06:31:29 ---> 6b4778acaeb3 06:31:29 Step 23/24 : LABEL git_sha=866a592f760587635d110c2b8c46546ce57dd958 06:31:30 ---> Running in 33a7df6d04f5 06:31:30 Removing intermediate container 33a7df6d04f5 06:31:30 ---> d9b43b1c900a 06:31:30 Step 24/24 : LABEL version=0.0.0 06:31:30 ---> Running in 87b08b2d37d9 06:31:30 Removing intermediate container 87b08b2d37d9 06:31:30 ---> 90b961ec7bdd 06:31:30 [Warning] One or more build-args [ARCH] were not consumed 06:31:30 Successfully built 90b961ec7bdd 06:31:30 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:31:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:31:41 Removing intermediate container c4e7361d3b4e 06:31:41 ---> 903641784ce5 06:31:41 Step 10/24 : FROM scratch 06:31:41 ---> 06:31:41 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:31:41 ---> Running in db31bbaeadcc 06:31:41 Removing intermediate container db31bbaeadcc 06:31:41 ---> 7fd31babbdce 06:31:41 Step 12/24 : ENV APP_PORT=49990 06:31:42 ---> Running in 507bdbf3679b 06:31:42 Removing intermediate container 507bdbf3679b 06:31:42 ---> 26db78f7b5b0 06:31:42 Step 13/24 : EXPOSE $APP_PORT 06:31:42 ---> Running in 797b780de494 06:31:43 Removing intermediate container 797b780de494 06:31:43 ---> ba1d9f98490e 06:31:43 Step 14/24 : WORKDIR / 06:31:43 ---> Running in 59ce66a32fb5 06:31:43 Removing intermediate container 59ce66a32fb5 06:31:43 ---> bfba171df074 06:31:43 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:31:45 ---> aefc48626f74 06:31:45 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:31:45 ---> f677736e0232 06:31:45 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:31:46 ---> b9581b3c75cf 06:31:46 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:31:47 ---> fc8b5e82fe16 06:31:47 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:31:47 ---> 2fa7baa1ec23 06:31:47 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:31:47 ---> Running in c5173d3a3418 06:31:48 Removing intermediate container c5173d3a3418 06:31:48 ---> 386a43ea52cf 06:31:48 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:31:48 ---> Running in e688a66c6419 06:31:49 Removing intermediate container e688a66c6419 06:31:49 ---> a7bcc1599888 06:31:49 Step 22/24 : LABEL arch=arm64 06:31:49 ---> Running in 1ae775e258bc 06:31:49 Removing intermediate container 1ae775e258bc 06:31:49 ---> 8892e12ea48a 06:31:49 Step 23/24 : LABEL git_sha=866a592f760587635d110c2b8c46546ce57dd958 06:31:49 ---> Running in 83a03e2a0d49 06:31:49 Removing intermediate container 83a03e2a0d49 06:31:49 ---> 505283ee3a07 06:31:49 Step 24/24 : LABEL version=0.0.0 06:31:50 ---> Running in 9e6626d217e8 06:31:50 Removing intermediate container 9e6626d217e8 06:31:50 ---> 116d27b6ef22 06:31:50 [Warning] One or more build-args [ARCH] were not consumed 06:31:50 Successfully built 116d27b6ef22 06:31:50 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:31:53 provisioning config files... 06:31:53 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/config51185648471230177tmp [Pipeline] { [Pipeline] sh 06:31:54 + set +x 06:31:54 + curl -s https://codecov.io/bash 06:31:54 + bash -s -- 06:31:54 06:31:54 _____ _ 06:31:54 / ____| | | 06:31:54 | | ___ __| | ___ ___ _____ __ 06:31:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:31:54 | |___| (_) | (_| | __/ (_| (_) \ V / 06:31:54 \_____\___/ \__,_|\___|\___\___/ \_/ 06:31:54 Bash-20201009-048fee3 06:31:54 06:31:54 06:31:54 ==> Jenkins CI detected. 06:31:54 project root: . 06:31:54 --> token set from env 06:31:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:31:54 ==> Running gcov in . (disable via -X gcov) 06:31:54 ==> Python coveragepy not found 06:31:54 ==> Searching for coverage reports in: 06:31:54 + . 06:31:54 -> Found 1 reports 06:31:54 ==> Detecting git/mercurial file structure 06:31:54 ==> Reading reports 06:31:54 + ./coverage.out bytes=110058 06:31:54 ==> Appending adjustments 06:31:54 https://docs.codecov.io/docs/fixing-reports 06:31:55 + Found adjustments 06:31:55 ==> Gzipping contents 06:31:55 ==> Uploading reports 06:31:55 url: https://codecov.io 06:31:55 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= 06:31:55 -> Pinging Codecov 06:31:55 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= 06:31:55 -> Uploading to 06:31:55 06:31:55 % Total % Received % Xferd Average Speed Time Time Time Current 06:31:55 Dload Upload Total Spent Left Speed 06:31:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:31:55 X> Failed to upload 06:31:55 ==> Uploading to Codecov 06:31:55 % Total % Received % Xferd Average Speed Time Time Time Current 06:31:55 Dload Upload Total Spent Left Speed 06:31:56 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 06:31:56 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/866a592f760587635d110c2b8c46546ce57dd958 [Pipeline] } 06:31:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:32:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:32:00 ---> package-listing.sh 06:32:00 ++ facter osfamily 06:32:00 ++ tr '[:upper:]' '[:lower:]' 06:32:01 + OS_FAMILY=redhat 06:32:01 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-635 06:32:01 + START_PACKAGES=/tmp/packages_start.txt 06:32:01 + END_PACKAGES=/tmp/packages_end.txt 06:32:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:32:01 + PACKAGES=/tmp/packages_start.txt 06:32:01 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-635 ']' 06:32:01 + PACKAGES=/tmp/packages_end.txt 06:32:01 + case "${OS_FAMILY}" in 06:32:01 + rpm -qa 06:32:01 + sort 06:32:06 + '[' -f /tmp/packages_start.txt ']' 06:32:06 + '[' -f /tmp/packages_end.txt ']' 06:32:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:32:06 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-635 ']' 06:32:06 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-635/archives/ 06:32:06 + 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 06:32:06 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 06:32:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:32:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:32:07 06:32:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:32:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:32:08 alpine: Pulling from edgex-lftools-log-publisher 06:32:08 df20fa9351a1: Pulling fs layer 06:32:08 36b3adc4ff6f: Pulling fs layer 06:32:08 8ad3a11d3b57: Pulling fs layer 06:32:08 46f8f816bc3b: Pulling fs layer 06:32:08 93b61091891f: Pulling fs layer 06:32:08 93b9cdb0e59b: Pulling fs layer 06:32:08 5e14af77c1be: Pulling fs layer 06:32:08 01666e4c0597: Pulling fs layer 06:32:08 aa168da1d23b: Pulling fs layer 06:32:08 5e14af77c1be: Waiting 06:32:08 01666e4c0597: Waiting 06:32:08 aa168da1d23b: Waiting 06:32:08 46f8f816bc3b: Waiting 06:32:08 93b61091891f: Waiting 06:32:08 93b9cdb0e59b: Waiting 06:32:08 36b3adc4ff6f: Verifying Checksum 06:32:08 36b3adc4ff6f: Download complete 06:32:08 46f8f816bc3b: Verifying Checksum 06:32:08 46f8f816bc3b: Download complete 06:32:08 df20fa9351a1: Verifying Checksum 06:32:08 df20fa9351a1: Download complete 06:32:08 93b9cdb0e59b: Verifying Checksum 06:32:08 93b9cdb0e59b: Download complete 06:32:08 5e14af77c1be: Verifying Checksum 06:32:08 5e14af77c1be: Download complete 06:32:08 01666e4c0597: Verifying Checksum 06:32:08 01666e4c0597: Download complete 06:32:08 df20fa9351a1: Pull complete 06:32:09 93b61091891f: Download complete 06:32:09 36b3adc4ff6f: Pull complete 06:32:10 8ad3a11d3b57: Verifying Checksum 06:32:10 8ad3a11d3b57: Download complete 06:32:12 8ad3a11d3b57: Pull complete 06:32:12 46f8f816bc3b: Pull complete 06:32:13 93b61091891f: Pull complete 06:32:13 93b9cdb0e59b: Pull complete 06:32:14 5e14af77c1be: Pull complete 06:32:14 01666e4c0597: Pull complete 06:32:19 aa168da1d23b: Verifying Checksum 06:32:19 aa168da1d23b: Download complete 06:32:31 aa168da1d23b: Pull complete 06:32:31 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:32:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:32:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:32:32 prd-centos7-docker-4c-2g-6893 does not seem to be running inside a container 06:32:32 $ 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 06:32:37 $ docker top aac2b38a06fd9fdaf950f9ff94c62c54551ea30bd74f07ae689a8b962edac2ac -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:38 + touch /tmp/pre-build-complete [Pipeline] sh 06:32:39 + mkdir -p /var/log/sa [Pipeline] sh 06:32:39 + ls /var/log/sa-host 06:32:39 + sadf -c /var/log/sa-host/sa05 06:32:39 file_magic: OK 06:32:39 HZ: Using current value: 100 06:32:39 file_header: OK 06:32:39 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:32:39 Statistics: 06:32:39 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:32:39 File successfully converted to sysstat format version 12.2.1 06:32:39 + sadf -c /var/log/sa-host/sa20 06:32:39 file_magic: OK 06:32:39 HZ: Using current value: 100 06:32:39 file_header: OK 06:32:39 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:32:39 Statistics: 06:32:39 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... 06:32:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:32:40 provisioning config files... 06:32:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/config9077457391133604994tmp [Pipeline] { [Pipeline] echo 06:32:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:32:41 ---> create-netrc.sh [Pipeline] } 06:32:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:32:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:32:41 ---> python-tools-install.sh [Pipeline] echo 06:32:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:32:42 ---> sudo-logs.sh 06:32:42 Archiving 'sudo' log.. [Pipeline] echo 06:32:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:32:42 ---> job-cost.sh 06:32:42 lf-activate-venv: SKIPPING 06:32:42 INFO: No Stack... 06:32:44 INFO: Retrieving Pricing Info for: v1-standard-2 06:32:44 INFO: Archiving Costs [Pipeline] echo 06:32:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:32:44 ---> logs-deploy.sh 06:32:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-635/1 06:32:45 INFO: archiving workspace using pattern(s): 06:32:48 Archives upload complete. 06:32:48 INFO: archiving logs to Nexus