Pull request #641 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89+6cec193abf44cabffe02bbcaff9748adb3f719d5 (f85bfee04500b5c619754471775020728af6777b) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-641/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-641/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8112 in /w/workspace/dgexfoundry_device-sdk-go_PR-641 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-641 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 Merge succeeded, producing 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 Checking out Revision 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 (PR-641) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/641/head:refs/remotes/origin/PR-641 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 # timeout=10 Commit message: "refactor: update LogLevel for pushing event to coredata" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:53:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:53:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:53:55 ========================================================= 02:53:55 EdgeX Global Pipelines Version Info 02:53:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:53:57 ------------------- 02:53:57 stable info: 02:53:57 ------------------- 02:53:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:53:57 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 02:53:57 Message: update stable to v1.0.144 02:53:58 ------------------- 02:53:58 experimental info: 02:53:58 ------------------- 02:53:58 Commited By: **** collab-it+edgex@linuxfoundation.org 02:53:58 Commit SHA: 621c85e0770955ed183ee9564161f3cbfe69c868 02:53:58 Message: update experimental to v1.0.147 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:53:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:53:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:53:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:53:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:53:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:53:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:53:59 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:53:59 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:53:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:54:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:54:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:54:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:54:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:54:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:54:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:54:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:54:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:54:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:54:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:54:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:54:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:54:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:54:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:54:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:54:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:54:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-641 [Pipeline] echo 02:54:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-641 [Pipeline] echo 02:54:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-641 [Pipeline] echo 02:54:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 [Pipeline] echo 02:54:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f6ce52 [Pipeline] echo 02:54:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:54:03 + git log --format=format:%s -1 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 [Pipeline] echo 02:54:04 GIT_COMMIT: 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89, Commit Message: refactor: update LogLevel for pushing event to coredata [Pipeline] echo 02:54:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:54:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:54:05 02:54:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:54:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:54:05 latest: Pulling from edgex-devops/git-semver 02:54:05 31603596830f: Pulling fs layer 02:54:05 2a8b12db71e7: Pulling fs layer 02:54:05 6ca5941a6612: Pulling fs layer 02:54:05 ecc8261a40a4: Pulling fs layer 02:54:05 ecc8261a40a4: Waiting 02:54:05 2a8b12db71e7: Verifying Checksum 02:54:05 2a8b12db71e7: Download complete 02:54:05 31603596830f: Verifying Checksum 02:54:05 31603596830f: Download complete 02:54:06 ecc8261a40a4: Verifying Checksum 02:54:06 ecc8261a40a4: Download complete 02:54:06 6ca5941a6612: Verifying Checksum 02:54:06 6ca5941a6612: Download complete 02:54:06 31603596830f: Pull complete 02:54:06 2a8b12db71e7: Pull complete 02:54:07 6ca5941a6612: Pull complete 02:54:07 ecc8261a40a4: Pull complete 02:54:07 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:54:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:54:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:54:07 prd-centos7-docker-4c-2g-8112 does not seem to be running inside a container 02:54:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-641 -v /w/workspace/dgexfoundry_device-sdk-go_PR-641:/w/workspace/dgexfoundry_device-sdk-go_PR-641:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:54:10 $ docker top d4bc21371d42b6d704262d984e279daf5ecc3a3a815237da1968a55c56a31108 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:54:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:54:10 [ssh-agent] Looking for ssh-agent implementation... 02:54:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:54:10 $ docker exec d4bc21371d42b6d704262d984e279daf5ecc3a3a815237da1968a55c56a31108 ssh-agent 02:54:10 SSH_AUTH_SOCK=/tmp/ssh-SQ86r1s2RYvO/agent.12 02:54:10 SSH_AGENT_PID=17 02:54:10 Running ssh-add (command line suppressed) 02:54:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/private_key_1847942797622229393.key (/w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/private_key_1847942797622229393.key) 02:54:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:54:11 + git tag --points-at HEAD [Pipeline] } 02:54:11 $ docker exec --env ******** --env ******** d4bc21371d42b6d704262d984e279daf5ecc3a3a815237da1968a55c56a31108 ssh-agent -k 02:54:11 unset SSH_AUTH_SOCK; 02:54:11 unset SSH_AGENT_PID; 02:54:11 echo Agent pid 17 killed; 02:54:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:54:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:54:11 [ssh-agent] Looking for ssh-agent implementation... 02:54:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:54:12 $ docker exec d4bc21371d42b6d704262d984e279daf5ecc3a3a815237da1968a55c56a31108 ssh-agent 02:54:12 SSH_AUTH_SOCK=/tmp/ssh-7baUsgTBchJc/agent.46 02:54:12 SSH_AGENT_PID=52 02:54:12 Running ssh-add (command line suppressed) 02:54:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/private_key_7903827780790373007.key (/w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/private_key_7903827780790373007.key) 02:54:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:54:12 + git semver init 02:54:12 # -> Open(): unable to determine branch for HEAD 02:54:12 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-641/.git 02:54:12 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-641 02:54:12 # $SEMVER_REMOTE_NAME = origin 02:54:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:54:12 # $SEMVER_USER_NAME = edgex-jenkins 02:54:12 # $SEMVER_BRANCH = PR-641 02:54:12 # $SEMVER_TEMP = /tmp/semver-836393989 02:54:12 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:54:13 # '/tmp/semver-836393989' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-641/.semver' 02:54:13 # -> Force: false 02:54:13 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-641/.semver [Pipeline] } 02:54:13 $ docker exec --env ******** --env ******** d4bc21371d42b6d704262d984e279daf5ecc3a3a815237da1968a55c56a31108 ssh-agent -k 02:54:13 unset SSH_AUTH_SOCK; 02:54:13 unset SSH_AGENT_PID; 02:54:13 echo Agent pid 52 killed; 02:54:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:54:14 + git semver [Pipeline] } 02:54:14 $ docker stop --time=1 d4bc21371d42b6d704262d984e279daf5ecc3a3a815237da1968a55c56a31108 02:54:15 $ docker rm -f d4bc21371d42b6d704262d984e279daf5ecc3a3a815237da1968a55c56a31108 [Pipeline] // withDockerContainer [Pipeline] sh 02:54:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:54:16 Stashed 1 file(s) [Pipeline] echo 02:54:16 [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 02:54:32 Still waiting to schedule task 02:54:32 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:54:32 Still waiting to schedule task 02:54:32 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:56:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8113 in /w/workspace/dgexfoundry_device-sdk-go_PR-641 [Pipeline] { [Pipeline] ws 02:56:14 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 02:56:19 using credential edgex-jenkins-ssh 02:56:19 Cloning the remote Git repository 02:56:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:56:19 > git init /w/workspace/device-sdk-go/1 # timeout=10 02:56:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:56:19 > git --version # timeout=10 02:56:19 > git --version # 'git version 2.17.1' 02:56:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:56:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:56:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:56:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:56:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:56:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:56:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:56:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/641/head:refs/remotes/origin/PR-641 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:56:21 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 02:56:21 Merge succeeded, producing 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 02:56:21 Checking out Revision 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 (PR-641) 02:56:21 > git config core.sparsecheckout # timeout=10 02:56:21 > git checkout -f 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 # timeout=10 02:56:21 > git remote # timeout=10 02:56:21 > git config --get remote.origin.url # timeout=10 02:56:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:56:21 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 02:56:21 > git rev-parse HEAD^{commit} # timeout=10 02:56:21 > git config core.sparsecheckout # timeout=10 02:56:21 > git checkout -f 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 # timeout=10 02:56:26 Commit message: "refactor: update LogLevel for pushing event to coredata" 02:56:26 > git --version # timeout=10 02:56:26 > git --version # 'git version 2.17.1' 02:56:26 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:56:27 ========================================================= 02:56:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:56:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:56:28 + 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 . 02:56:29 Sending build context to Docker daemon 2.333MB 02:56:29 Step 1/8 : ARG BASE=golang:1.15-alpine 02:56:29 Step 2/8 : FROM ${BASE} 02:56:30 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:56:30 b538f80385f9: Pulling fs layer 02:56:30 74f711af9a0d: Pulling fs layer 02:56:30 99f96fe45779: Pulling fs layer 02:56:30 8529a6b9a6be: Pulling fs layer 02:56:30 45590311c82a: Pulling fs layer 02:56:30 69ca0ff8b7b3: Pulling fs layer 02:56:30 209524e5b208: Pulling fs layer 02:56:30 8529a6b9a6be: Waiting 02:56:30 45590311c82a: Waiting 02:56:30 69ca0ff8b7b3: Waiting 02:56:30 209524e5b208: Waiting 02:56:30 99f96fe45779: Verifying Checksum 02:56:30 99f96fe45779: Download complete 02:56:30 74f711af9a0d: Download complete 02:56:30 45590311c82a: Verifying Checksum 02:56:30 45590311c82a: Download complete 02:56:30 69ca0ff8b7b3: Verifying Checksum 02:56:30 69ca0ff8b7b3: Download complete 02:56:30 b538f80385f9: Verifying Checksum 02:56:30 b538f80385f9: Download complete 02:56:31 b538f80385f9: Pull complete 02:56:31 74f711af9a0d: Pull complete 02:56:32 99f96fe45779: Pull complete 02:56:33 209524e5b208: Verifying Checksum 02:56:33 209524e5b208: Download complete 02:56:34 8529a6b9a6be: Verifying Checksum 02:56:34 8529a6b9a6be: Download complete 02:56:46 8529a6b9a6be: Pull complete 02:56:46 45590311c82a: Pull complete 02:56:46 69ca0ff8b7b3: Pull complete 02:56:49 209524e5b208: Pull complete 02:56:49 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:56:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:56:49 ---> 5bddaf1c2fca 02:56:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:56:51 ---> Running in fd2f17821f76 02:56:52 Removing intermediate container fd2f17821f76 02:56:52 ---> 46fd288e279b 02:56:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:56:52 ---> Running in b58f8426e38e 02:56:55 Removing intermediate container b58f8426e38e 02:56:55 ---> f9b5e3e85300 02:56:55 Step 5/8 : RUN apk add --no-cache make git 02:56:55 ---> Running in 983d7f91cd3d 02:56:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:56:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:56:58 OK: 142 MiB in 39 packages 02:56:59 Removing intermediate container 983d7f91cd3d 02:56:59 ---> 731cc0c61e0a 02:56:59 Step 6/8 : WORKDIR /device-sdk-go 02:56:59 ---> Running in ab431335dabf 02:56:59 Removing intermediate container ab431335dabf 02:56:59 ---> 35e3aa047d11 02:56:59 Step 7/8 : COPY . . 02:57:01 ---> e55c4b616fe3 02:57:01 Step 8/8 : RUN go mod download 02:57:01 ---> Running in 62f28a17df70 02:57:02 Running on prd-centos7-docker-4c-2g-8114 in /w/workspace/dgexfoundry_device-sdk-go_PR-641 [Pipeline] { [Pipeline] ws 02:57:02 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 02:57:05 using credential edgex-jenkins-ssh 02:57:05 Cloning the remote Git repository 02:57:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:57:05 > git init /w/workspace/device-sdk-go/1 # timeout=10 02:57:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:57:06 > git --version # timeout=10 02:57:06 > git --version # 'git version 2.16.5' 02:57:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:57:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:57:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:57:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:57:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:57:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:57:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:57:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/641/head:refs/remotes/origin/PR-641 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:57:07 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 02:57:07 Merge succeeded, producing 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 02:57:07 Checking out Revision 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 (PR-641) 02:57:07 > git config core.sparsecheckout # timeout=10 02:57:07 > git checkout -f 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 # timeout=10 02:57:07 > git remote # timeout=10 02:57:07 > git config --get remote.origin.url # timeout=10 02:57:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:57:07 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 02:57:07 > git rev-parse HEAD^{commit} # timeout=10 02:57:07 > git config core.sparsecheckout # timeout=10 02:57:07 > git checkout -f 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 # timeout=10 02:57:11 Commit message: "refactor: update LogLevel for pushing event to coredata" 02:57:11 > git --version # timeout=10 02:57:11 > git --version # 'git version 2.16.5' 02:57:11 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:57:12 ========================================================= 02:57:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:57:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:57:12 + 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 . 02:57:13 Sending build context to Docker daemon 2.333MB 02:57:13 Step 1/8 : ARG BASE=golang:1.15-alpine 02:57:13 Step 2/8 : FROM ${BASE} 02:57:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:57:13 df20fa9351a1: Pulling fs layer 02:57:13 ed8968b2872e: Pulling fs layer 02:57:13 a92cc7c5fd73: Pulling fs layer 02:57:13 e871e8e8d7a9: Pulling fs layer 02:57:13 e73272ec9a57: Pulling fs layer 02:57:13 1e910a182e73: Pulling fs layer 02:57:13 4e634b169226: Pulling fs layer 02:57:13 e73272ec9a57: Waiting 02:57:13 4e634b169226: Waiting 02:57:13 e871e8e8d7a9: Waiting 02:57:13 a92cc7c5fd73: Verifying Checksum 02:57:13 a92cc7c5fd73: Download complete 02:57:13 ed8968b2872e: Download complete 02:57:13 e73272ec9a57: Verifying Checksum 02:57:13 e73272ec9a57: Download complete 02:57:13 1e910a182e73: Verifying Checksum 02:57:13 1e910a182e73: Download complete 02:57:13 df20fa9351a1: Verifying Checksum 02:57:13 df20fa9351a1: Download complete 02:57:13 df20fa9351a1: Pull complete 02:57:13 ed8968b2872e: Pull complete 02:57:13 a92cc7c5fd73: Pull complete 02:57:15 4e634b169226: Verifying Checksum 02:57:15 4e634b169226: Download complete 02:57:16 e871e8e8d7a9: Verifying Checksum 02:57:16 e871e8e8d7a9: Download complete 02:57:22 e871e8e8d7a9: Pull complete 02:57:22 e73272ec9a57: Pull complete 02:57:22 1e910a182e73: Pull complete 02:57:23 Removing intermediate container 62f28a17df70 02:57:23 ---> 6903102b869f 02:57:23 Successfully built 6903102b869f 02:57:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:57:24 + docker inspect -f . ci-base-image-arm64 02:57:24 . [Pipeline] withDockerContainer 02:57:24 prd-ubuntu18.04-docker-arm64-4c-16g-8113 does not seem to be running inside a container 02:57:24 $ 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 02:57:26 $ docker top 1db0644de1621403d938e063622a96c9a07a03dfa4c032e756bc06141bb197a5 -eo pid,comm 02:57:26 4e634b169226: Pull complete 02:57:26 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:57:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:57:26 ---> f7629b54cfaa 02:57:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:57:26 ---> Running in dd35cfdbcfc9 [Pipeline] { 02:57:26 Removing intermediate container dd35cfdbcfc9 02:57:26 ---> b6009490ccdb 02:57:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:57:26 ---> Running in 5b47b943cb08 [Pipeline] sh 02:57:27 + go version 02:57:27 go version go1.15.2 linux/arm64 [Pipeline] } 02:57:27 $ docker stop --time=1 1db0644de1621403d938e063622a96c9a07a03dfa4c032e756bc06141bb197a5 02:57:27 Removing intermediate container 5b47b943cb08 02:57:27 ---> 93ab0c13a887 02:57:27 Step 5/8 : RUN apk add --no-cache make git 02:57:28 ---> Running in 4326aba462f4 02:57:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:57:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:57:29 $ docker rm -f 1db0644de1621403d938e063622a96c9a07a03dfa4c032e756bc06141bb197a5 [Pipeline] // withDockerContainer 02:57:30 OK: 166 MiB in 39 packages [Pipeline] } [Pipeline] // script [Pipeline] } 02:57:30 Removing intermediate container 4326aba462f4 02:57:30 ---> f95bd992402f 02:57:30 Step 6/8 : WORKDIR /device-sdk-go [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 02:57:30 ---> Running in 788387e95246 02:57:30 Removing intermediate container 788387e95246 02:57:30 ---> 0428f663b290 02:57:30 Step 7/8 : COPY . . [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:57:31 + docker inspect -f . ci-base-image-arm64 02:57:31 . [Pipeline] withDockerContainer 02:57:31 prd-ubuntu18.04-docker-arm64-4c-16g-8113 does not seem to be running inside a container 02:57:31 $ 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 02:57:31 ---> 6ce400204e06 02:57:31 Step 8/8 : RUN go mod download 02:57:31 ---> Running in 35707cbc5367 02:57:33 $ docker top 5dbcff504486d636feadd4f1a64508d48ae37d18a16633ca54434441f3b6884f -eo pid,comm [Pipeline] { [Pipeline] sh 02:57:34 + make test 02:57:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:57:53 Removing intermediate container 35707cbc5367 02:57:53 ---> ac2935d4ea7d 02:57:53 Successfully built ac2935d4ea7d 02:57:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:57:54 + docker inspect -f . ci-base-image-x86_64 02:57:54 . [Pipeline] withDockerContainer 02:57:54 prd-centos7-docker-4c-2g-8114 does not seem to be running inside a container 02:57:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:57:55 $ docker top 5a79efc4d362176ebcb597ccda0a871473baeb83f003d657f7cd9389cf0a7a07 -eo pid,comm [Pipeline] { [Pipeline] sh 02:57:55 + go version 02:57:55 go version go1.15.2 linux/amd64 [Pipeline] } 02:57:55 $ docker stop --time=1 5a79efc4d362176ebcb597ccda0a871473baeb83f003d657f7cd9389cf0a7a07 02:57:56 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:57:57 $ docker rm -f 5a79efc4d362176ebcb597ccda0a871473baeb83f003d657f7cd9389cf0a7a07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:57:58 + docker inspect -f . ci-base-image-x86_64 02:57:58 . [Pipeline] withDockerContainer 02:57:58 prd-centos7-docker-4c-2g-8114 does not seem to be running inside a container 02:57:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:57:59 $ docker top 20623f15d97c8c420a8bd8dce51308ea642b48b2f94ca6228e12d40d5c39cf78 -eo pid,comm [Pipeline] { [Pipeline] sh 02:57:59 + make test 02:57:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:58:06 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:58:21 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:58:21 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:58:21 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:58:21 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.056s coverage: 21.6% of statements 02:58:21 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.437s coverage: 97.1% of statements 02:58:36 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:58:36 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:58:36 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:58:36 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.153s coverage: 21.6% of statements 02:58:38 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.132s coverage: 97.1% of statements 02:58:53 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.063s coverage: 9.4% of statements 02:58:53 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements 02:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:58:53 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.222s coverage: 42.6% of statements 02:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:58:53 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.275s coverage: 68.9% of statements 02:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:58:53 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements 02:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:58:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:58:53 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.327s coverage: 68.9% of statements 02:58:53 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:58:53 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:58:53 GO111MODULE=on go vet ./... 02:59:00 gofmt -l . 02:59:00 [ "`gofmt -l .`" = "" ] 02:59:00 ./bin/test-attribution-txt.sh 02:59:01 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:59:01 Stashed 1 file(s) [Pipeline] } 02:59:01 $ docker stop --time=1 20623f15d97c8c420a8bd8dce51308ea642b48b2f94ca6228e12d40d5c39cf78 02:59:03 $ docker rm -f 20623f15d97c8c420a8bd8dce51308ea642b48b2f94ca6228e12d40d5c39cf78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:59:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:59:08 + ls -al . 02:59:08 total 188 02:59:08 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 22 02:59 . 02:59:08 drwxrwxr-x. 4 jenkins jenkins 28 Oct 22 02:57 .. 02:59:08 drwxrwxr-x. 2 jenkins jenkins 64 Oct 22 02:57 bin 02:59:08 -rw-r--r--. 1 jenkins jenkins 110398 Oct 22 02:58 coverage.out 02:59:08 -rw-rw-r--. 1 jenkins jenkins 936 Oct 22 02:57 Dockerfile.build 02:59:08 -rw-rw-r--. 1 jenkins jenkins 140 Oct 22 02:57 .dockerignore 02:59:08 drwxrwxr-x. 4 jenkins jenkins 48 Oct 22 02:57 example 02:59:08 drwxrwxr-x. 8 jenkins jenkins 179 Oct 22 02:57 .git 02:59:08 drwxrwxr-x. 2 jenkins jenkins 60 Oct 22 02:57 .github 02:59:08 -rw-rw-r--. 1 jenkins jenkins 138 Oct 22 02:57 .gitignore 02:59:08 -rw-r--r--. 1 jenkins jenkins 517 Oct 22 02:59 go.mod 02:59:08 -rw-r--r--. 1 jenkins jenkins 13737 Oct 22 02:59 go.sum 02:59:08 drwxrwxr-x. 15 jenkins jenkins 211 Oct 22 02:57 internal 02:59:08 -rw-rw-r--. 1 jenkins jenkins 901 Oct 22 02:57 Jenkinsfile 02:59:08 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 22 02:57 LICENSE 02:59:08 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 22 02:57 Makefile 02:59:08 drwxrwxr-x. 4 jenkins jenkins 26 Oct 22 02:57 openapi 02:59:08 drwxrwxr-x. 5 jenkins jenkins 50 Oct 22 02:57 pkg 02:59:08 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 22 02:57 README.md 02:59:08 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 22 02:57 RELEASE-NOTES.txt 02:59:08 drwxrwxr-x. 4 jenkins jenkins 54 Oct 22 02:57 snap 02:59:08 -rw-rw-r--. 1 jenkins jenkins 5 Oct 22 02:54 VERSION 02:59:08 -rw-rw-r--. 1 jenkins jenkins 222 Oct 22 02:57 version.go [Pipeline] isUnix [Pipeline] sh 02:59:08 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 --label arch=amd64 --label version=0.0.0 . 02:59:08 Sending build context to Docker daemon 2.444MB 02:59:08 Step 1/24 : ARG BASE=golang:1.15-alpine 02:59:08 Step 2/24 : FROM ${BASE} AS builder 02:59:08 ---> ac2935d4ea7d 02:59:08 Step 3/24 : ARG MAKE='make build' 02:59:09 ---> Running in 10db914de07c 02:59:09 Removing intermediate container 10db914de07c 02:59:09 ---> f5c686fedf7d 02:59:09 Step 4/24 : WORKDIR /device-sdk-go 02:59:09 ---> Running in ca119a810c5e 02:59:09 Removing intermediate container ca119a810c5e 02:59:09 ---> e428a645c31e 02:59:09 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:59:09 ---> Running in f6324d44d9dc 02:59:09 Removing intermediate container f6324d44d9dc 02:59:09 ---> e03b520aa74b 02:59:09 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:59:10 ---> Running in 701b773ab750 02:59:11 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.131s coverage: 9.4% of statements 02:59:11 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.114s coverage: 21.9% of statements 02:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:59:11 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.569s coverage: 42.6% of statements 02:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:59:11 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.817s coverage: 68.9% of statements 02:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:59:11 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.185s coverage: 52.6% of statements 02:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:59:11 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:59:11 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.640s coverage: 68.9% of statements 02:59:11 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:59:11 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:59:11 GO111MODULE=on go vet ./... 02:59:11 Removing intermediate container 701b773ab750 02:59:11 ---> 1d8b2b6273a3 02:59:11 Step 7/24 : RUN apk add --update --no-cache make git 02:59:11 ---> Running in 85627bc82765 02:59:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:59:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:59:12 OK: 166 MiB in 39 packages 02:59:13 Removing intermediate container 85627bc82765 02:59:13 ---> b191306f0f18 02:59:13 Step 8/24 : COPY . . 02:59:14 ---> 60fc7f4e1c47 02:59:14 Step 9/24 : RUN ${MAKE} 02:59:14 ---> Running in 2cf8b923d261 02:59: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 02:59:22 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:59:24 Removing intermediate container 2cf8b923d261 02:59:24 ---> eb570ee236eb 02:59:24 Step 10/24 : FROM scratch 02:59:24 ---> 02:59:24 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:59:24 ---> Running in 185b65e011fa 02:59:24 Removing intermediate container 185b65e011fa 02:59:24 ---> 3e9a7bb24964 02:59:24 Step 12/24 : ENV APP_PORT=49990 02:59:24 ---> Running in 65e5c2239e0f 02:59:25 Removing intermediate container 65e5c2239e0f 02:59:25 ---> 22806631dc71 02:59:25 Step 13/24 : EXPOSE $APP_PORT 02:59:25 ---> Running in 3c126ab588f7 02:59:25 Removing intermediate container 3c126ab588f7 02:59:25 ---> 8529343daa58 02:59:25 Step 14/24 : WORKDIR / 02:59:25 ---> Running in 20c1e9f0d899 02:59:25 Removing intermediate container 20c1e9f0d899 02:59:25 ---> 8cc02685a028 02:59:25 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:59:25 ---> 7aa5ab504474 02:59:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:59:26 ---> d1385a72eec6 02:59:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:59:26 ---> 85fa8258867e 02:59:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:59:26 ---> 9f3e2b65ecc2 02:59:26 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:59:26 ---> 7749e7f69c84 02:59:26 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:59:26 ---> Running in 7f19eb1b7bc6 02:59:27 Removing intermediate container 7f19eb1b7bc6 02:59:27 ---> bb3bbdcabedb 02:59:27 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:59:27 ---> Running in 040d312733c8 02:59:27 Removing intermediate container 040d312733c8 02:59:27 ---> d520fd8e819d 02:59:27 Step 22/24 : LABEL arch=amd64 02:59:27 ---> Running in 7efcd52c4bfa 02:59:27 Removing intermediate container 7efcd52c4bfa 02:59:27 ---> 49287fefcf46 02:59:27 Step 23/24 : LABEL git_sha=4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 02:59:27 ---> Running in 834ac170bcd8 02:59:27 Removing intermediate container 834ac170bcd8 02:59:27 ---> 9577145026b5 02:59:27 Step 24/24 : LABEL version=0.0.0 02:59:27 ---> Running in 0c079cff7069 02:59:27 Removing intermediate container 0c079cff7069 02:59:27 ---> 8dee1c5ffd01 02:59:27 [Warning] One or more build-args [ARCH] were not consumed 02:59:27 Successfully built 8dee1c5ffd01 02:59:27 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] } 02:59:37 gofmt -l . 02:59:37 [ "`gofmt -l .`" = "" ] 02:59:37 ./bin/test-attribution-txt.sh 02:59:37 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:59:38 Warning: overwriting stash ‘coverage-report’ 02:59:39 Stashed 1 file(s) [Pipeline] } 02:59:39 $ docker stop --time=1 5dbcff504486d636feadd4f1a64508d48ae37d18a16633ca54434441f3b6884f 02:59:41 $ docker rm -f 5dbcff504486d636feadd4f1a64508d48ae37d18a16633ca54434441f3b6884f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:59:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:59:43 + ls -al . 02:59:43 total 224 02:59:43 drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 02:59 . 02:59:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 02:56 .. 02:59:43 -rw-rw-r-- 1 jenkins jenkins 140 Oct 22 02:56 .dockerignore 02:59:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 02:56 .git 02:59:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 02:56 .github 02:59:43 -rw-rw-r-- 1 jenkins jenkins 138 Oct 22 02:56 .gitignore 02:59:43 -rw-rw-r-- 1 jenkins jenkins 936 Oct 22 02:56 Dockerfile.build 02:59:43 -rw-rw-r-- 1 jenkins jenkins 901 Oct 22 02:56 Jenkinsfile 02:59:43 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 22 02:56 LICENSE 02:59:43 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 22 02:56 Makefile 02:59:43 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 22 02:56 README.md 02:59:43 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 22 02:56 RELEASE-NOTES.txt 02:59:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 02:54 VERSION 02:59:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 02:56 bin 02:59:43 -rw-r--r-- 1 jenkins jenkins 110398 Oct 22 02:59 coverage.out 02:59:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 02:56 example 02:59:43 -rw-r--r-- 1 jenkins jenkins 517 Oct 22 02:59 go.mod 02:59:43 -rw-r--r-- 1 jenkins jenkins 13737 Oct 22 02:59 go.sum 02:59:43 drwxrwxr-x 15 jenkins jenkins 4096 Oct 22 02:56 internal 02:59:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 02:56 openapi 02:59:43 drwxrwxr-x 5 jenkins jenkins 4096 Oct 22 02:56 pkg 02:59:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 02:56 snap 02:59:43 -rw-rw-r-- 1 jenkins jenkins 222 Oct 22 02:56 version.go [Pipeline] isUnix [Pipeline] sh 02:59:44 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 --label arch=arm64 --label version=0.0.0 . 02:59:44 Sending build context to Docker daemon 2.444MB 02:59:44 Step 1/24 : ARG BASE=golang:1.15-alpine 02:59:44 Step 2/24 : FROM ${BASE} AS builder 02:59:44 ---> 6903102b869f 02:59:44 Step 3/24 : ARG MAKE='make build' 02:59:45 ---> Running in 5b1a06a28131 02:59:45 Removing intermediate container 5b1a06a28131 02:59:45 ---> ca4a833bbf64 02:59:45 Step 4/24 : WORKDIR /device-sdk-go 02:59:45 ---> Running in 7a2c12947597 02:59:46 Removing intermediate container 7a2c12947597 02:59:46 ---> c686b86b2a99 02:59:46 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:59:46 ---> Running in 94b36a27c58c 02:59:46 Removing intermediate container 94b36a27c58c 02:59:46 ---> af4a0cb9a0de 02:59:46 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:59:46 ---> Running in 77a8e6f308d1 02:59:49 Removing intermediate container 77a8e6f308d1 02:59:49 ---> 540b5d678c95 02:59:49 Step 7/24 : RUN apk add --update --no-cache make git 02:59:49 ---> Running in c284160e54d5 02:59:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:59:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:59:52 OK: 142 MiB in 39 packages 02:59:53 Removing intermediate container c284160e54d5 02:59:53 ---> fbe2a5ff369f 02:59:53 Step 8/24 : COPY . . 02:59:54 ---> 53c5f87b61e1 02:59:54 Step 9/24 : RUN ${MAKE} 02:59:54 ---> Running in 2962aaa8fd2b 02:59:56 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 03:00:23 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:00:23 Removing intermediate container 2962aaa8fd2b 03:00:23 ---> 2a8be676e4af 03:00:23 Step 10/24 : FROM scratch 03:00:23 ---> 03:00:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:00:23 ---> Running in 443bc310fe5d 03:00:23 Removing intermediate container 443bc310fe5d 03:00:23 ---> 2b4d7cda3610 03:00:23 Step 12/24 : ENV APP_PORT=49990 03:00:23 ---> Running in 51cd3b55e48f 03:00:23 Removing intermediate container 51cd3b55e48f 03:00:23 ---> 37eb7f24518e 03:00:23 Step 13/24 : EXPOSE $APP_PORT 03:00:23 ---> Running in a73c60553039 03:00:24 Removing intermediate container a73c60553039 03:00:24 ---> 009045fd624e 03:00:24 Step 14/24 : WORKDIR / 03:00:24 ---> Running in bf7fcfb68f8a 03:00:24 Removing intermediate container bf7fcfb68f8a 03:00:24 ---> 783b93d98947 03:00:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:00:25 ---> abf929546c9b 03:00:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:00:26 ---> 5e8a6fc582b9 03:00:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:00:27 ---> 1beb8f8507d4 03:00:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:00:28 ---> 77e78709f02d 03:00:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:00:28 ---> 0a3af74e9116 03:00:28 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:00:28 ---> Running in 6bd9ab12a068 03:00:29 Removing intermediate container 6bd9ab12a068 03:00:29 ---> 5863bb6dc503 03:00:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:00:29 ---> Running in f9f2b2fdfdcd 03:00:30 Removing intermediate container f9f2b2fdfdcd 03:00:30 ---> dd25de5c7b09 03:00:30 Step 22/24 : LABEL arch=arm64 03:00:30 ---> Running in 5c3c94173b70 03:00:30 Removing intermediate container 5c3c94173b70 03:00:30 ---> 279a796891e1 03:00:30 Step 23/24 : LABEL git_sha=4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 03:00:30 ---> Running in 7d9e8987aa41 03:00:30 Removing intermediate container 7d9e8987aa41 03:00:30 ---> 1ffb08c6d73d 03:00:30 Step 24/24 : LABEL version=0.0.0 03:00:31 ---> Running in 4d5b74dbc1e7 03:00:31 Removing intermediate container 4d5b74dbc1e7 03:00:31 ---> 08e5e3bbc017 03:00:31 [Warning] One or more build-args [ARCH] were not consumed 03:00:31 Successfully built 08e5e3bbc017 03:00:31 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 03:00:34 provisioning config files... 03:00:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/config7266659043246415127tmp [Pipeline] { [Pipeline] sh 03:00:35 + set +x 03:00:35 + curl -s https://codecov.io/bash 03:00:35 + bash -s -- 03:00:35 03:00:35 _____ _ 03:00:35 / ____| | | 03:00:35 | | ___ __| | ___ ___ _____ __ 03:00:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:00:35 | |___| (_) | (_| | __/ (_| (_) \ V / 03:00:35 \_____\___/ \__,_|\___|\___\___/ \_/ 03:00:35 Bash-20201009-048fee3 03:00:35 03:00:35 03:00:35 ==> Jenkins CI detected. 03:00:35 project root: . 03:00:35 --> token set from env 03:00:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:00:35 ==> Running gcov in . (disable via -X gcov) 03:00:35 ==> Python coveragepy not found 03:00:35 ==> Searching for coverage reports in: 03:00:35 + . 03:00:35 -> Found 1 reports 03:00:35 ==> Detecting git/mercurial file structure 03:00:35 ==> Reading reports 03:00:35 + ./coverage.out bytes=110398 03:00:35 ==> Appending adjustments 03:00:35 https://docs.codecov.io/docs/fixing-reports 03:00:36 + Found adjustments 03:00:36 ==> Gzipping contents 03:00:36 ==> Uploading reports 03:00:36 url: https://codecov.io 03:00:36 query: branch=PR-641&commit=4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-641%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=641&job=&cmd_args= 03:00:36 -> Pinging Codecov 03:00:36 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-641&commit=4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-641%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=641&job=&cmd_args= 03:00:36 -> Uploading to 03:00:36 03:00:36 % Total % Received % Xferd Average Speed Time Time Time Current 03:00:36 Dload Upload Total Spent Left Speed 03:00:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 03:00:36 X> Failed to upload 03:00:36 ==> Uploading to Codecov 03:00:36 % Total % Received % Xferd Average Speed Time Time Time Current 03:00:36 Dload Upload Total Spent Left Speed 03:00:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19201 0 0 100 19091 0 38139 --:--:-- --:--:-- --:--:-- 38105 100 19201 100 110 100 19091 219 38123 --:--:-- --:--:-- --:--:-- 38105 03:00:37 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 [Pipeline] } 03:00:37 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 03:00:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:00:47 ---> package-listing.sh 03:00:47 ++ facter osfamily 03:00:47 ++ tr '[:upper:]' '[:lower:]' 03:00:47 + OS_FAMILY=redhat 03:00:47 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-641 03:00:47 + START_PACKAGES=/tmp/packages_start.txt 03:00:47 + END_PACKAGES=/tmp/packages_end.txt 03:00:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:00:47 + PACKAGES=/tmp/packages_start.txt 03:00:47 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-641 ']' 03:00:47 + PACKAGES=/tmp/packages_end.txt 03:00:47 + case "${OS_FAMILY}" in 03:00:47 + rpm -qa 03:00:47 + sort 03:00:51 + '[' -f /tmp/packages_start.txt ']' 03:00:51 + '[' -f /tmp/packages_end.txt ']' 03:00:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:00:51 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-641 ']' 03:00:51 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-641/archives/ 03:00:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-641/archives/ [Pipeline] echo 03:00:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-641/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:00:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:00:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:00:52 03:00:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:00:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:00:53 alpine: Pulling from edgex-lftools-log-publisher 03:00:53 df20fa9351a1: Pulling fs layer 03:00:53 36b3adc4ff6f: Pulling fs layer 03:00:53 8ad3a11d3b57: Pulling fs layer 03:00:53 46f8f816bc3b: Pulling fs layer 03:00:53 93b61091891f: Pulling fs layer 03:00:53 93b9cdb0e59b: Pulling fs layer 03:00:53 5e14af77c1be: Pulling fs layer 03:00:53 01666e4c0597: Pulling fs layer 03:00:53 aa168da1d23b: Pulling fs layer 03:00:53 46f8f816bc3b: Waiting 03:00:53 93b61091891f: Waiting 03:00:53 93b9cdb0e59b: Waiting 03:00:53 5e14af77c1be: Waiting 03:00:53 01666e4c0597: Waiting 03:00:53 aa168da1d23b: Waiting 03:00:53 36b3adc4ff6f: Verifying Checksum 03:00:53 36b3adc4ff6f: Download complete 03:00:53 46f8f816bc3b: Verifying Checksum 03:00:53 46f8f816bc3b: Download complete 03:00:53 df20fa9351a1: Verifying Checksum 03:00:53 df20fa9351a1: Download complete 03:00:53 93b9cdb0e59b: Verifying Checksum 03:00:53 93b9cdb0e59b: Download complete 03:00:53 5e14af77c1be: Download complete 03:00:53 01666e4c0597: Verifying Checksum 03:00:53 01666e4c0597: Download complete 03:00:53 93b61091891f: Verifying Checksum 03:00:53 93b61091891f: Download complete 03:00:53 8ad3a11d3b57: Verifying Checksum 03:00:53 8ad3a11d3b57: Download complete 03:00:53 df20fa9351a1: Pull complete 03:00:53 36b3adc4ff6f: Pull complete 03:00:54 8ad3a11d3b57: Pull complete 03:00:54 46f8f816bc3b: Pull complete 03:00:55 93b61091891f: Pull complete 03:00:55 aa168da1d23b: Verifying Checksum 03:00:55 aa168da1d23b: Download complete 03:00:55 93b9cdb0e59b: Pull complete 03:00:55 5e14af77c1be: Pull complete 03:00:55 01666e4c0597: Pull complete 03:01:02 aa168da1d23b: Pull complete 03:01:02 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:01:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:01:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:01:02 prd-centos7-docker-4c-2g-8112 does not seem to be running inside a container 03:01:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-641/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-641 -v /w/workspace/dgexfoundry_device-sdk-go_PR-641:/w/workspace/dgexfoundry_device-sdk-go_PR-641:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:01:08 $ docker top 616eb8d1c92460e4d6c79ef478b644cdd516e63217cd6dd19133f57ff29784b0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:01:08 + touch /tmp/pre-build-complete [Pipeline] sh 03:01:09 + mkdir -p /var/log/sa [Pipeline] sh 03:01:09 + ls /var/log/sa-host 03:01:09 + sadf -c /var/log/sa-host/sa05 03:01:09 file_magic: OK 03:01:09 HZ: Using current value: 100 03:01:09 file_header: OK 03:01:09 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 03:01:09 Statistics: 03:01:09 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:01:09 File successfully converted to sysstat format version 12.2.1 03:01:09 + sadf -c /var/log/sa-host/sa22 03:01:09 file_magic: OK 03:01:09 HZ: Using current value: 100 03:01:09 file_header: OK 03:01:09 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 03:01:09 Statistics: 03:01:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:01:09 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:01:10 provisioning config files... 03:01:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/config9040525741113559358tmp [Pipeline] { [Pipeline] echo 03:01:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:01:10 ---> create-netrc.sh [Pipeline] } 03:01:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 03:01:10 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 03:01:11 ---> python-tools-install.sh [Pipeline] echo 03:01:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:01:11 ---> sudo-logs.sh 03:01:11 Archiving 'sudo' log.. [Pipeline] echo 03:01:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:01:11 ---> job-cost.sh 03:01:11 lf-activate-venv: SKIPPING 03:01:11 INFO: No Stack... 03:01:12 INFO: Retrieving Pricing Info for: v1-standard-2 03:01:13 INFO: Archiving Costs [Pipeline] echo 03:01:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:01:13 ---> logs-deploy.sh 03:01:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-641/1 03:01:13 INFO: archiving workspace using pattern(s): 03:01:15 Archives upload complete. 03:01:15 INFO: archiving logs to Nexus