Pull request #639 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5c193f582c261f6dda3e0a4faf843856b5ce4cf5+6cec193abf44cabffe02bbcaff9748adb3f719d5 (c26a403d81b04c21de5939a4bf7482974c96f54d) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-639/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-639/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-7419 in /w/workspace/dgexfoundry_device-sdk-go_PR-639 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-639 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/639/head:refs/remotes/origin/PR-639 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 Merge succeeded, producing 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 Checking out Revision 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 (PR-639) > git config core.sparsecheckout # timeout=10 > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:12:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:12:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:12:57 ========================================================= 06:12:57 EdgeX Global Pipelines Version Info 06:12:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:12:58 ------------------- 06:12:58 stable info: 06:12:58 ------------------- 06:12:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:12:58 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:12:58 Message: update stable to v1.0.144 06:12:59 ------------------- 06:12:59 experimental info: 06:12:59 ------------------- 06:12:59 Commited By: **** collab-it+edgex@linuxfoundation.org 06:12:59 Commit SHA: 0fb566d11309be12c9baf3de23def7053bac1c97 06:12:59 Message: update experimental to v1.0.146 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:13:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:13:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:13:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:13:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:13:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:13:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:13:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:13:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:13:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:13:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:13:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:13:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:13:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:13:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:13:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:13:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:13:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:13:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:13:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-639 [Pipeline] echo 06:13:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-639 [Pipeline] echo 06:13:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-639 [Pipeline] echo 06:13:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [Pipeline] echo 06:13:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c193f5 [Pipeline] echo 06:13:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:13:05 + git log --format=format:%s -1 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [Pipeline] echo 06:13:05 GIT_COMMIT: 5c193f582c261f6dda3e0a4faf843856b5ce4cf5, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:13:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:13:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:13:06 06:13:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:13:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:13:06 latest: Pulling from edgex-devops/git-semver 06:13:06 31603596830f: Pulling fs layer 06:13:06 2a8b12db71e7: Pulling fs layer 06:13:06 6ca5941a6612: Pulling fs layer 06:13:06 ecc8261a40a4: Pulling fs layer 06:13:06 ecc8261a40a4: Waiting 06:13:06 2a8b12db71e7: Verifying Checksum 06:13:06 2a8b12db71e7: Download complete 06:13:06 31603596830f: Verifying Checksum 06:13:06 31603596830f: Download complete 06:13:06 ecc8261a40a4: Verifying Checksum 06:13:06 ecc8261a40a4: Download complete 06:13:06 6ca5941a6612: Verifying Checksum 06:13:06 6ca5941a6612: Download complete 06:13:06 31603596830f: Pull complete 06:13:06 2a8b12db71e7: Pull complete 06:13:07 6ca5941a6612: Pull complete 06:13:08 ecc8261a40a4: Pull complete 06:13:08 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:13:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:13:08 prd-centos7-docker-4c-2g-7419 does not seem to be running inside a container 06:13:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-639 -v /w/workspace/dgexfoundry_device-sdk-go_PR-639:/w/workspace/dgexfoundry_device-sdk-go_PR-639:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:13:10 $ docker top 270214412f3082f349407044fe2fa5e9e20e807856f1ef312ad4ba517438a6eb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:13:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:13:11 [ssh-agent] Looking for ssh-agent implementation... 06:13:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:13:11 $ docker exec 270214412f3082f349407044fe2fa5e9e20e807856f1ef312ad4ba517438a6eb ssh-agent 06:13:11 SSH_AUTH_SOCK=/tmp/ssh-u2mcvoEzwntO/agent.12 06:13:11 SSH_AGENT_PID=18 06:13:11 Running ssh-add (command line suppressed) 06:13:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_4561743729248068475.key (/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_4561743729248068475.key) 06:13:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:13:12 + git tag --points-at HEAD [Pipeline] } 06:13:12 $ docker exec --env ******** --env ******** 270214412f3082f349407044fe2fa5e9e20e807856f1ef312ad4ba517438a6eb ssh-agent -k 06:13:12 unset SSH_AUTH_SOCK; 06:13:12 unset SSH_AGENT_PID; 06:13:12 echo Agent pid 18 killed; 06:13:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:13:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:13:12 [ssh-agent] Looking for ssh-agent implementation... 06:13:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:13:12 $ docker exec 270214412f3082f349407044fe2fa5e9e20e807856f1ef312ad4ba517438a6eb ssh-agent 06:13:13 SSH_AUTH_SOCK=/tmp/ssh-4Unf7eMczYMN/agent.47 06:13:13 SSH_AGENT_PID=52 06:13:13 Running ssh-add (command line suppressed) 06:13:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_4625459933420518994.key (/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_4625459933420518994.key) 06:13:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:13:13 + git semver init 06:13:13 # -> Open(): unable to determine branch for HEAD 06:13:13 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-639/.git 06:13:13 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-639 06:13:13 # $SEMVER_REMOTE_NAME = origin 06:13:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:13:13 # $SEMVER_USER_NAME = edgex-jenkins 06:13:13 # $SEMVER_BRANCH = PR-639 06:13:13 # $SEMVER_TEMP = /tmp/semver-088855393 06:13:13 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:13:14 # '/tmp/semver-088855393' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-639/.semver' 06:13:14 # -> Force: false 06:13:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-639/.semver [Pipeline] } 06:13:14 $ docker exec --env ******** --env ******** 270214412f3082f349407044fe2fa5e9e20e807856f1ef312ad4ba517438a6eb ssh-agent -k 06:13:14 unset SSH_AUTH_SOCK; 06:13:14 unset SSH_AGENT_PID; 06:13:14 echo Agent pid 52 killed; 06:13:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:13:15 + git semver [Pipeline] } 06:13:15 $ docker stop --time=1 270214412f3082f349407044fe2fa5e9e20e807856f1ef312ad4ba517438a6eb 06:13:16 $ docker rm -f 270214412f3082f349407044fe2fa5e9e20e807856f1ef312ad4ba517438a6eb [Pipeline] // withDockerContainer [Pipeline] sh 06:13:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:13:17 Stashed 1 file(s) [Pipeline] echo 06:13:17 [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:13:33 Still waiting to schedule task 06:13:33 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:13:33 Still waiting to schedule task 06:13:33 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:14:10 Running on prd-centos7-docker-4c-2g-7422 in /w/workspace/dgexfoundry_device-sdk-go_PR-639 [Pipeline] { [Pipeline] ws 06:14:10 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:14:13 using credential edgex-jenkins-ssh 06:14:13 Cloning the remote Git repository 06:14:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:14:13 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:14:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:14:14 > git --version # timeout=10 06:14:14 > git --version # 'git version 2.16.5' 06:14:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:14:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:14:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:14:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:14:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:14:15 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/639/head:refs/remotes/origin/PR-639 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:14:15 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 06:14:15 Merge succeeded, producing 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 06:14:15 Checking out Revision 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 (PR-639) 06:14:15 > git config core.sparsecheckout # timeout=10 06:14:15 > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 06:14:15 > git remote # timeout=10 06:14:15 > git config --get remote.origin.url # timeout=10 06:14:15 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:15 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 06:14:15 > git rev-parse HEAD^{commit} # timeout=10 06:14:15 > git config core.sparsecheckout # timeout=10 06:14:15 > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 06:14:19 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 06:14:19 > git --version # timeout=10 06:14:19 > git --version # 'git version 2.16.5' 06:14:19 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:14:20 ========================================================= 06:14:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:14:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:14:21 + 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:14:21 Sending build context to Docker daemon 2.322MB 06:14:21 Step 1/8 : ARG BASE=golang:1.15-alpine 06:14:21 Step 2/8 : FROM ${BASE} 06:14:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:14:21 df20fa9351a1: Pulling fs layer 06:14:21 ed8968b2872e: Pulling fs layer 06:14:21 a92cc7c5fd73: Pulling fs layer 06:14:21 e871e8e8d7a9: Pulling fs layer 06:14:21 e73272ec9a57: Pulling fs layer 06:14:21 1e910a182e73: Pulling fs layer 06:14:21 4e634b169226: Pulling fs layer 06:14:21 e73272ec9a57: Waiting 06:14:21 4e634b169226: Waiting 06:14:21 1e910a182e73: Waiting 06:14:21 e871e8e8d7a9: Waiting 06:14:21 a92cc7c5fd73: Verifying Checksum 06:14:21 a92cc7c5fd73: Download complete 06:14:21 ed8968b2872e: Verifying Checksum 06:14:21 ed8968b2872e: Download complete 06:14:21 e73272ec9a57: Verifying Checksum 06:14:21 e73272ec9a57: Download complete 06:14:21 1e910a182e73: Verifying Checksum 06:14:21 1e910a182e73: Download complete 06:14:21 df20fa9351a1: Verifying Checksum 06:14:21 df20fa9351a1: Download complete 06:14:22 df20fa9351a1: Pull complete 06:14:22 ed8968b2872e: Pull complete 06:14:22 a92cc7c5fd73: Pull complete 06:14:23 4e634b169226: Verifying Checksum 06:14:23 4e634b169226: Download complete 06:14:24 e871e8e8d7a9: Verifying Checksum 06:14:24 e871e8e8d7a9: Download complete 06:14:29 e871e8e8d7a9: Pull complete 06:14:30 e73272ec9a57: Pull complete 06:14:30 1e910a182e73: Pull complete 06:14:36 4e634b169226: Pull complete 06:14:36 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:14:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:14:36 ---> f7629b54cfaa 06:14:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:14:37 ---> Running in 93313682e93d 06:14:37 Removing intermediate container 93313682e93d 06:14:37 ---> fed55ec38a43 06:14:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:14:37 ---> Running in 558f37b2c497 06:14:38 Removing intermediate container 558f37b2c497 06:14:38 ---> 1c2da5e2d873 06:14:38 Step 5/8 : RUN apk add --no-cache make git 06:14:38 ---> Running in 21816769b613 06:14:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:14:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:14:40 OK: 166 MiB in 39 packages 06:14:41 Removing intermediate container 21816769b613 06:14:41 ---> 7c947e5808d7 06:14:41 Step 6/8 : WORKDIR /device-sdk-go 06:14:41 ---> Running in 1a643c16ee53 06:14:41 Removing intermediate container 1a643c16ee53 06:14:41 ---> 02a7d24d653b 06:14:41 Step 7/8 : COPY . . 06:14:42 ---> d40722deda6e 06:14:42 Step 8/8 : RUN go mod download 06:14:42 ---> Running in 6272e7607744 06:15:01 Removing intermediate container 6272e7607744 06:15:01 ---> 544c03d9534a 06:15:01 Successfully built 544c03d9534a 06:15:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:15:01 + docker inspect -f . ci-base-image-x86_64 06:15:01 . [Pipeline] withDockerContainer 06:15:01 prd-centos7-docker-4c-2g-7422 does not seem to be running inside a container 06:15:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:15:02 $ docker top 43585c71726fd0485f2803f7541f0f3e5b5a8283c73c7c124ab1882221ef2bf6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:03 + go version 06:15:03 go version go1.15.2 linux/amd64 [Pipeline] } 06:15:03 $ docker stop --time=1 43585c71726fd0485f2803f7541f0f3e5b5a8283c73c7c124ab1882221ef2bf6 06:15:04 $ docker rm -f 43585c71726fd0485f2803f7541f0f3e5b5a8283c73c7c124ab1882221ef2bf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:15:05 + docker inspect -f . ci-base-image-x86_64 06:15:05 . [Pipeline] withDockerContainer 06:15:05 prd-centos7-docker-4c-2g-7422 does not seem to be running inside a container 06:15:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:15:06 $ docker top c1f5dd0d4aeea03b925b61f199f48afe8a5651ab0e7670dd1f8061d23587cdcf -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:07 + make test 06:15:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:15:15 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:15:30 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:15:30 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:15:30 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:15:30 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.055s coverage: 21.6% of statements 06:15:31 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.432s coverage: 97.1% of statements 06:16:03 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.063s coverage: 9.4% of statements 06:16:03 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements 06:16:03 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:16:03 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.228s coverage: 42.6% of statements 06:16:03 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:16:03 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.278s coverage: 68.9% of statements 06:16:03 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:16:03 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:16:03 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:16:03 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:16:03 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 06:16:03 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:16:03 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:16:03 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:16:03 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.268s coverage: 68.9% of statements 06:16:03 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:16:03 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:16:03 GO111MODULE=on go vet ./... 06:16:12 gofmt -l . 06:16:12 [ "`gofmt -l .`" = "" ] 06:16:12 ./bin/test-attribution-txt.sh 06:16:12 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:16:13 Stashed 1 file(s) [Pipeline] } 06:16:13 $ docker stop --time=1 c1f5dd0d4aeea03b925b61f199f48afe8a5651ab0e7670dd1f8061d23587cdcf 06:16:15 $ docker rm -f c1f5dd0d4aeea03b925b61f199f48afe8a5651ab0e7670dd1f8061d23587cdcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:16:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:16:17 + ls -al . 06:16:17 total 188 06:16:17 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 21 06:16 . 06:16:17 drwxrwxr-x. 4 jenkins jenkins 28 Oct 21 06:14 .. 06:16:17 drwxrwxr-x. 2 jenkins jenkins 64 Oct 21 06:14 bin 06:16:17 -rw-r--r--. 1 jenkins jenkins 110398 Oct 21 06:16 coverage.out 06:16:17 -rw-rw-r--. 1 jenkins jenkins 936 Oct 21 06:14 Dockerfile.build 06:16:17 -rw-rw-r--. 1 jenkins jenkins 140 Oct 21 06:14 .dockerignore 06:16:17 drwxrwxr-x. 4 jenkins jenkins 48 Oct 21 06:14 example 06:16:17 drwxrwxr-x. 8 jenkins jenkins 179 Oct 21 06:14 .git 06:16:17 drwxrwxr-x. 2 jenkins jenkins 60 Oct 21 06:14 .github 06:16:17 -rw-rw-r--. 1 jenkins jenkins 138 Oct 21 06:14 .gitignore 06:16:17 -rw-r--r--. 1 jenkins jenkins 518 Oct 21 06:16 go.mod 06:16:17 -rw-r--r--. 1 jenkins jenkins 13739 Oct 21 06:16 go.sum 06:16:17 drwxrwxr-x. 15 jenkins jenkins 211 Oct 21 06:14 internal 06:16:17 -rw-rw-r--. 1 jenkins jenkins 901 Oct 21 06:14 Jenkinsfile 06:16:17 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 21 06:14 LICENSE 06:16:17 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 21 06:14 Makefile 06:16:17 drwxrwxr-x. 4 jenkins jenkins 26 Oct 21 06:14 openapi 06:16:17 drwxrwxr-x. 5 jenkins jenkins 50 Oct 21 06:14 pkg 06:16:17 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 21 06:14 README.md 06:16:17 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 21 06:14 RELEASE-NOTES.txt 06:16:17 drwxrwxr-x. 4 jenkins jenkins 54 Oct 21 06:14 snap 06:16:17 -rw-rw-r--. 1 jenkins jenkins 5 Oct 21 06:13 VERSION 06:16:17 -rw-rw-r--. 1 jenkins jenkins 222 Oct 21 06:14 version.go [Pipeline] isUnix [Pipeline] sh 06:16:18 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=5c193f582c261f6dda3e0a4faf843856b5ce4cf5 --label arch=amd64 --label version=0.0.0 . 06:16:18 Sending build context to Docker daemon 2.434MB 06:16:18 Step 1/24 : ARG BASE=golang:1.15-alpine 06:16:18 Step 2/24 : FROM ${BASE} AS builder 06:16:18 ---> 544c03d9534a 06:16:18 Step 3/24 : ARG MAKE='make build' 06:16:19 ---> Running in 3379e0f218ef 06:16:19 Removing intermediate container 3379e0f218ef 06:16:19 ---> cdee3a942838 06:16:19 Step 4/24 : WORKDIR /device-sdk-go 06:16:19 ---> Running in aefd101fd241 06:16:19 Removing intermediate container aefd101fd241 06:16:19 ---> 988c70fbc8ea 06:16:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:16:19 ---> Running in 59625d43d0ef 06:16:19 Removing intermediate container 59625d43d0ef 06:16:19 ---> 95bbc2df2d2c 06:16:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:19 ---> Running in 9113e276f96c 06:16:20 Removing intermediate container 9113e276f96c 06:16:20 ---> 8f5fd56de66c 06:16:20 Step 7/24 : RUN apk add --update --no-cache make git 06:16:20 ---> Running in 7e8887e12a6c 06:16:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:16:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:16:22 OK: 166 MiB in 39 packages 06:16:23 Removing intermediate container 7e8887e12a6c 06:16:23 ---> 8a9241bb39db 06:16:23 Step 8/24 : COPY . . 06:16:24 ---> cec09375eba7 06:16:24 Step 9/24 : RUN ${MAKE} 06:16:24 ---> Running in 48cc6dd1c85d 06:16:25 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:16:33 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:16:35 Removing intermediate container 48cc6dd1c85d 06:16:35 ---> 505221fd009b 06:16:35 Step 10/24 : FROM scratch 06:16:35 ---> 06:16:35 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:16:35 ---> Running in b797b7a2b621 06:16:35 Removing intermediate container b797b7a2b621 06:16:35 ---> 96c991f18a1a 06:16:35 Step 12/24 : ENV APP_PORT=49990 06:16:35 ---> Running in 2705f24a8f22 06:16:35 Removing intermediate container 2705f24a8f22 06:16:35 ---> e3506e703024 06:16:35 Step 13/24 : EXPOSE $APP_PORT 06:16:35 ---> Running in ea4d96f03df5 06:16:35 Removing intermediate container ea4d96f03df5 06:16:35 ---> ff1bbf44e15f 06:16:35 Step 14/24 : WORKDIR / 06:16:35 ---> Running in 2fc6fa7f331b 06:16:35 Removing intermediate container 2fc6fa7f331b 06:16:35 ---> f04248ea2ffd 06:16:35 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:16:36 ---> da5eabaf15b9 06:16:36 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:16:36 ---> ef64488bf014 06:16:36 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:16:36 ---> 97e28d5622ac 06:16:36 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:16:36 ---> f9d051cddead 06:16:36 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:16:37 ---> 7853561531e6 06:16:37 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:16:37 ---> Running in 784b09484ea3 06:16:37 Removing intermediate container 784b09484ea3 06:16:37 ---> b67324e0b659 06:16:37 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:16:37 ---> Running in 1f23b898c5fa 06:16:37 Removing intermediate container 1f23b898c5fa 06:16:37 ---> fba74ae2d350 06:16:37 Step 22/24 : LABEL arch=amd64 06:16:37 ---> Running in 850154b936cc 06:16:37 Removing intermediate container 850154b936cc 06:16:37 ---> a3796ecc33e2 06:16:37 Step 23/24 : LABEL git_sha=5c193f582c261f6dda3e0a4faf843856b5ce4cf5 06:16:37 ---> Running in 4ea70caf95d7 06:16:38 Removing intermediate container 4ea70caf95d7 06:16:38 ---> 4289c5b38e9e 06:16:38 Step 24/24 : LABEL version=0.0.0 06:16:38 ---> Running in 1ee7a33ee884 06:16:38 Removing intermediate container 1ee7a33ee884 06:16:38 ---> dd82dd7b382a 06:16:38 [Warning] One or more build-args [ARCH] were not consumed 06:16:38 Successfully built dd82dd7b382a 06:16:38 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 06:16:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-7424 in /w/workspace/dgexfoundry_device-sdk-go_PR-639 [Pipeline] } [Pipeline] { [Pipeline] ws 06:16:40 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:16:45 using credential edgex-jenkins-ssh 06:16:46 Cloning the remote Git repository 06:16:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:16:46 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:16:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:16:46 > git --version # timeout=10 06:16:46 > git --version # 'git version 2.17.1' 06:16:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:16:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:16:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:16:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/639/head:refs/remotes/origin/PR-639 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:16:48 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 06:16:48 Merge succeeded, producing 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 06:16:48 Checking out Revision 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 (PR-639) 06:16:48 > git config core.sparsecheckout # timeout=10 06:16:48 > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 06:16:48 > git remote # timeout=10 06:16:48 > git config --get remote.origin.url # timeout=10 06:16:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:48 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 06:16:48 > git rev-parse HEAD^{commit} # timeout=10 06:16:48 > git config core.sparsecheckout # timeout=10 06:16:48 > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 06:16:52 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 06:16:52 > git --version # timeout=10 06:16:52 > git --version # 'git version 2.17.1' 06:16:52 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:16:54 ========================================================= 06:16:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:16:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:16:55 + 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:16:55 Sending build context to Docker daemon 2.323MB 06:16:55 Step 1/8 : ARG BASE=golang:1.15-alpine 06:16:55 Step 2/8 : FROM ${BASE} 06:16:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:16:56 b538f80385f9: Pulling fs layer 06:16:56 74f711af9a0d: Pulling fs layer 06:16:56 99f96fe45779: Pulling fs layer 06:16:56 8529a6b9a6be: Pulling fs layer 06:16:56 45590311c82a: Pulling fs layer 06:16:56 69ca0ff8b7b3: Pulling fs layer 06:16:56 209524e5b208: Pulling fs layer 06:16:56 8529a6b9a6be: Waiting 06:16:56 45590311c82a: Waiting 06:16:56 69ca0ff8b7b3: Waiting 06:16:56 99f96fe45779: Verifying Checksum 06:16:56 99f96fe45779: Download complete 06:16:56 74f711af9a0d: Verifying Checksum 06:16:56 74f711af9a0d: Download complete 06:16:56 45590311c82a: Verifying Checksum 06:16:56 69ca0ff8b7b3: Verifying Checksum 06:16:56 69ca0ff8b7b3: Download complete 06:16:56 b538f80385f9: Verifying Checksum 06:16:56 b538f80385f9: Download complete 06:16:57 b538f80385f9: Pull complete 06:16:58 74f711af9a0d: Pull complete 06:16:58 99f96fe45779: Pull complete 06:16:59 209524e5b208: Verifying Checksum 06:16:59 209524e5b208: Download complete 06:17:00 8529a6b9a6be: Download complete 06:17:10 8529a6b9a6be: Pull complete 06:17:10 45590311c82a: Pull complete 06:17:10 69ca0ff8b7b3: Pull complete 06:17:13 209524e5b208: Pull complete 06:17:13 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:17:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:17:13 ---> 5bddaf1c2fca 06:17:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:17:17 ---> Running in 0ae4864b09bf 06:17:17 Removing intermediate container 0ae4864b09bf 06:17:17 ---> 346ee76f7fc8 06:17:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:17:17 ---> Running in dd219f0ec303 06:17:21 Removing intermediate container dd219f0ec303 06:17:21 ---> 7758daf04846 06:17:21 Step 5/8 : RUN apk add --no-cache make git 06:17:21 ---> Running in d39874fcb87f 06:17:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:17:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:17:25 OK: 142 MiB in 39 packages 06:17:26 Removing intermediate container d39874fcb87f 06:17:26 ---> f7075f2b83aa 06:17:26 Step 6/8 : WORKDIR /device-sdk-go 06:17:26 ---> Running in 6b239a13b8b8 06:17:27 Removing intermediate container 6b239a13b8b8 06:17:27 ---> 677717e68462 06:17:27 Step 7/8 : COPY . . 06:17:28 ---> cda4caa8b2aa 06:17:28 Step 8/8 : RUN go mod download 06:17:28 ---> Running in 527921ac7541 06:17:50 Removing intermediate container 527921ac7541 06:17:50 ---> 46a6656b27a2 06:17:50 Successfully built 46a6656b27a2 06:17:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:17:51 + docker inspect -f . ci-base-image-arm64 06:17:51 . [Pipeline] withDockerContainer 06:17:51 prd-ubuntu18.04-docker-arm64-4c-16g-7424 does not seem to be running inside a container 06:17:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:17:54 $ docker top f7041f2f3d2abd80246f74fa8c79979b6706c60fa93c69a8b94998d229624334 -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:55 + go version 06:17:55 go version go1.15.2 linux/arm64 [Pipeline] } 06:17:55 $ docker stop --time=1 f7041f2f3d2abd80246f74fa8c79979b6706c60fa93c69a8b94998d229624334 06:17:57 $ docker rm -f f7041f2f3d2abd80246f74fa8c79979b6706c60fa93c69a8b94998d229624334 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:17:59 + docker inspect -f . ci-base-image-arm64 06:17:59 . [Pipeline] withDockerContainer 06:17:59 prd-ubuntu18.04-docker-arm64-4c-16g-7424 does not seem to be running inside a container 06:17:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:18:01 $ docker top 34d43163e78c35bbf4e53225aa2b97f752c86e55d02bf6a666195396312e189f -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:03 + make test 06:18:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:18:25 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:19:12 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:19:12 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:19:12 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:19:12 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.170s coverage: 21.6% of statements 06:19:12 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.182s coverage: 97.1% of statements 06:19:39 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.138s coverage: 9.4% of statements 06:19:39 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.135s coverage: 21.9% of statements 06:19:39 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:19:39 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.577s coverage: 42.6% of statements 06:19:39 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:19:39 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.802s coverage: 68.9% of statements 06:19:39 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:19:39 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:19:39 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:19:39 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:19:39 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.189s coverage: 52.6% of statements 06:19:39 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:19:39 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:19:39 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:19:39 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.996s coverage: 68.9% of statements 06:19:39 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:19:39 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:19:39 GO111MODULE=on go vet ./... 06:20:11 gofmt -l . 06:20:11 [ "`gofmt -l .`" = "" ] 06:20:11 ./bin/test-attribution-txt.sh 06:20:12 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:20:13 Warning: overwriting stash ‘coverage-report’ 06:20:14 Stashed 1 file(s) [Pipeline] } 06:20:14 $ docker stop --time=1 34d43163e78c35bbf4e53225aa2b97f752c86e55d02bf6a666195396312e189f 06:20:16 $ docker rm -f 34d43163e78c35bbf4e53225aa2b97f752c86e55d02bf6a666195396312e189f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:20:18 + ls -al . 06:20:18 total 224 06:20:18 drwxrwxr-x 10 jenkins jenkins 4096 Oct 21 06:20 . 06:20:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 06:16 .. 06:20:18 -rw-rw-r-- 1 jenkins jenkins 140 Oct 21 06:16 .dockerignore 06:20:18 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 06:16 .git 06:20:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 06:16 .github 06:20:18 -rw-rw-r-- 1 jenkins jenkins 138 Oct 21 06:16 .gitignore 06:20:18 -rw-rw-r-- 1 jenkins jenkins 936 Oct 21 06:16 Dockerfile.build 06:20:18 -rw-rw-r-- 1 jenkins jenkins 901 Oct 21 06:16 Jenkinsfile 06:20:18 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 21 06:16 LICENSE 06:20:18 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 21 06:16 Makefile 06:20:18 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 21 06:16 README.md 06:20:18 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 21 06:16 RELEASE-NOTES.txt 06:20:18 -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 06:13 VERSION 06:20:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 06:16 bin 06:20:18 -rw-r--r-- 1 jenkins jenkins 110398 Oct 21 06:19 coverage.out 06:20:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 06:16 example 06:20:18 -rw-r--r-- 1 jenkins jenkins 518 Oct 21 06:20 go.mod 06:20:18 -rw-r--r-- 1 jenkins jenkins 13739 Oct 21 06:20 go.sum 06:20:18 drwxrwxr-x 15 jenkins jenkins 4096 Oct 21 06:16 internal 06:20:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 06:16 openapi 06:20:18 drwxrwxr-x 5 jenkins jenkins 4096 Oct 21 06:16 pkg 06:20:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 06:16 snap 06:20:18 -rw-rw-r-- 1 jenkins jenkins 222 Oct 21 06:16 version.go [Pipeline] isUnix [Pipeline] sh 06:20:18 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5c193f582c261f6dda3e0a4faf843856b5ce4cf5 --label arch=arm64 --label version=0.0.0 . 06:20:19 Sending build context to Docker daemon 2.434MB 06:20:19 Step 1/24 : ARG BASE=golang:1.15-alpine 06:20:19 Step 2/24 : FROM ${BASE} AS builder 06:20:19 ---> 46a6656b27a2 06:20:19 Step 3/24 : ARG MAKE='make build' 06:20:19 ---> Running in 6db48deea691 06:20:19 Removing intermediate container 6db48deea691 06:20:19 ---> 8fa6abc469d9 06:20:19 Step 4/24 : WORKDIR /device-sdk-go 06:20:19 ---> Running in ffe4a09f3542 06:20:20 Removing intermediate container ffe4a09f3542 06:20:20 ---> 0b0cfa98a123 06:20:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:20:20 ---> Running in 44da54ebbaac 06:20:21 Removing intermediate container 44da54ebbaac 06:20:21 ---> a5ed58d51022 06:20:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:20:21 ---> Running in 6a39c74e7014 06:20:25 Removing intermediate container 6a39c74e7014 06:20:25 ---> 733ec31ead3f 06:20:25 Step 7/24 : RUN apk add --update --no-cache make git 06:20:25 ---> Running in e8b1a14a8120 06:20:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:20:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:20:28 OK: 142 MiB in 39 packages 06:20:29 Removing intermediate container e8b1a14a8120 06:20:29 ---> f97a63c957bd 06:20:29 Step 8/24 : COPY . . 06:20:30 ---> 9f7acf58865e 06:20:30 Step 9/24 : RUN ${MAKE} 06:20:30 ---> Running in 7347ea42d106 06:20:31 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:20:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:20:58 Removing intermediate container 7347ea42d106 06:20:58 ---> 9fe00ebf4826 06:20:58 Step 10/24 : FROM scratch 06:20:58 ---> 06:20:58 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:20:58 ---> Running in e15734405064 06:20:58 Removing intermediate container e15734405064 06:20:58 ---> f0a40e3b8b63 06:20:58 Step 12/24 : ENV APP_PORT=49990 06:20:58 ---> Running in be5b5de0af5f 06:20:59 Removing intermediate container be5b5de0af5f 06:20:59 ---> 927b545963e2 06:20:59 Step 13/24 : EXPOSE $APP_PORT 06:20:59 ---> Running in b3d6088856cb 06:20:59 Removing intermediate container b3d6088856cb 06:20:59 ---> 14892ffd412d 06:20:59 Step 14/24 : WORKDIR / 06:21:00 ---> Running in b229d413f082 06:21:00 Removing intermediate container b229d413f082 06:21:00 ---> 8cad6b171366 06:21:00 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:21:01 ---> f5cab412dd4f 06:21:01 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:21:02 ---> 8658b814ee64 06:21:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:21:02 ---> 5af51f171d51 06:21:02 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:21:04 ---> 4bb02edf6ba6 06:21:04 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:21:04 ---> cd2b23130a1f 06:21:04 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:21:04 ---> Running in f1c8c403a8bf 06:21:05 Removing intermediate container f1c8c403a8bf 06:21:05 ---> e1819268185e 06:21:05 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:21:05 ---> Running in 2c7200ee25ac 06:21:05 Removing intermediate container 2c7200ee25ac 06:21:05 ---> d7db4420f359 06:21:05 Step 22/24 : LABEL arch=arm64 06:21:05 ---> Running in 0679f0dccbac 06:21:06 Removing intermediate container 0679f0dccbac 06:21:06 ---> dfd8e9227b9e 06:21:06 Step 23/24 : LABEL git_sha=5c193f582c261f6dda3e0a4faf843856b5ce4cf5 06:21:06 ---> Running in e239d4c6535d 06:21:07 Removing intermediate container e239d4c6535d 06:21:07 ---> f68cb0e1c6c5 06:21:07 Step 24/24 : LABEL version=0.0.0 06:21:07 ---> Running in 2d2673775c4c 06:21:07 Removing intermediate container 2d2673775c4c 06:21:07 ---> a75f2dc331c1 06:21:07 [Warning] One or more build-args [ARCH] were not consumed 06:21:07 Successfully built a75f2dc331c1 06:21:07 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:21:10 provisioning config files... 06:21:10 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/config178179202791291421tmp [Pipeline] { [Pipeline] sh 06:21:10 + set +x 06:21:10 + curl -s https://codecov.io/bash 06:21:10 + bash -s -- 06:21:10 06:21:10 _____ _ 06:21:10 / ____| | | 06:21:10 | | ___ __| | ___ ___ _____ __ 06:21:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:21:10 | |___| (_) | (_| | __/ (_| (_) \ V / 06:21:10 \_____\___/ \__,_|\___|\___\___/ \_/ 06:21:10 Bash-20201009-048fee3 06:21:10 06:21:10 06:21:10 ==> Jenkins CI detected. 06:21:10 project root: . 06:21:10 --> token set from env 06:21:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:21:10 ==> Running gcov in . (disable via -X gcov) 06:21:10 ==> Python coveragepy not found 06:21:10 ==> Searching for coverage reports in: 06:21:10 + . 06:21:10 -> Found 1 reports 06:21:10 ==> Detecting git/mercurial file structure 06:21:10 ==> Reading reports 06:21:10 + ./coverage.out bytes=110398 06:21:10 ==> Appending adjustments 06:21:10 https://docs.codecov.io/docs/fixing-reports 06:21:11 + Found adjustments 06:21:11 ==> Gzipping contents 06:21:11 ==> Uploading reports 06:21:11 url: https://codecov.io 06:21:11 query: branch=PR-639&commit=5c193f582c261f6dda3e0a4faf843856b5ce4cf5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-639%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=639&job=&cmd_args= 06:21:11 -> Pinging Codecov 06:21:11 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-639&commit=5c193f582c261f6dda3e0a4faf843856b5ce4cf5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-639%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=639&job=&cmd_args= 06:21:11 -> Uploading to 06:21:11 06:21:11 % Total % Received % Xferd Average Speed Time Time Time Current 06:21:11 Dload Upload Total Spent Left Speed 06:21:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:21:11 X> Failed to upload 06:21:11 ==> Uploading to Codecov 06:21:11 % Total % Received % Xferd Average Speed Time Time Time Current 06:21:11 Dload Upload Total Spent Left Speed 06:21:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 19033 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19143 100 110 100 19033 188 32669 --:--:-- --:--:-- --:--:-- 32646 06:21:12 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [Pipeline] } 06:21:12 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:21:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:21:16 ---> package-listing.sh 06:21:16 ++ facter osfamily 06:21:16 ++ tr '[:upper:]' '[:lower:]' 06:21:16 + OS_FAMILY=redhat 06:21:16 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-639 06:21:16 + START_PACKAGES=/tmp/packages_start.txt 06:21:16 + END_PACKAGES=/tmp/packages_end.txt 06:21:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:21:16 + PACKAGES=/tmp/packages_start.txt 06:21:16 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-639 ']' 06:21:16 + PACKAGES=/tmp/packages_end.txt 06:21:16 + case "${OS_FAMILY}" in 06:21:16 + rpm -qa 06:21:16 + sort 06:21:21 + '[' -f /tmp/packages_start.txt ']' 06:21:21 + '[' -f /tmp/packages_end.txt ']' 06:21:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:21:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-639 ']' 06:21:21 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-639/archives/ 06:21:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-639/archives/ [Pipeline] echo 06:21:21 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-639/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:21:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:21:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:21:21 06:21:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:21:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:21:22 alpine: Pulling from edgex-lftools-log-publisher 06:21:22 df20fa9351a1: Pulling fs layer 06:21:22 36b3adc4ff6f: Pulling fs layer 06:21:22 8ad3a11d3b57: Pulling fs layer 06:21:22 46f8f816bc3b: Pulling fs layer 06:21:22 93b61091891f: Pulling fs layer 06:21:22 93b9cdb0e59b: Pulling fs layer 06:21:22 5e14af77c1be: Pulling fs layer 06:21:22 01666e4c0597: Pulling fs layer 06:21:22 aa168da1d23b: Pulling fs layer 06:21:22 46f8f816bc3b: Waiting 06:21:22 93b61091891f: Waiting 06:21:22 93b9cdb0e59b: Waiting 06:21:22 5e14af77c1be: Waiting 06:21:22 01666e4c0597: Waiting 06:21:22 aa168da1d23b: Waiting 06:21:22 36b3adc4ff6f: Download complete 06:21:22 46f8f816bc3b: Verifying Checksum 06:21:22 46f8f816bc3b: Download complete 06:21:22 df20fa9351a1: Verifying Checksum 06:21:22 df20fa9351a1: Download complete 06:21:22 93b9cdb0e59b: Verifying Checksum 06:21:22 93b9cdb0e59b: Download complete 06:21:22 5e14af77c1be: Verifying Checksum 06:21:22 5e14af77c1be: Download complete 06:21:22 01666e4c0597: Verifying Checksum 06:21:22 01666e4c0597: Download complete 06:21:22 93b61091891f: Verifying Checksum 06:21:22 93b61091891f: Download complete 06:21:22 8ad3a11d3b57: Verifying Checksum 06:21:22 8ad3a11d3b57: Download complete 06:21:22 df20fa9351a1: Pull complete 06:21:22 36b3adc4ff6f: Pull complete 06:21:23 8ad3a11d3b57: Pull complete 06:21:23 46f8f816bc3b: Pull complete 06:21:24 93b61091891f: Pull complete 06:21:24 93b9cdb0e59b: Pull complete 06:21:24 5e14af77c1be: Pull complete 06:21:24 aa168da1d23b: Verifying Checksum 06:21:24 aa168da1d23b: Download complete 06:21:24 01666e4c0597: Pull complete 06:21:31 aa168da1d23b: Pull complete 06:21:31 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:21:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:21:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:21:31 prd-centos7-docker-4c-2g-7419 does not seem to be running inside a container 06:21:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-639/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-639 -v /w/workspace/dgexfoundry_device-sdk-go_PR-639:/w/workspace/dgexfoundry_device-sdk-go_PR-639:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:21:38 $ docker top d48fa50579d6fce64a010c89c27a01f04ad2adc19a797b877bfd1c9466282a1f -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:39 + touch /tmp/pre-build-complete [Pipeline] sh 06:21:39 + mkdir -p /var/log/sa [Pipeline] sh 06:21:39 + ls /var/log/sa-host 06:21:39 + sadf -c /var/log/sa-host/sa05 06:21:39 file_magic: OK 06:21:39 HZ: Using current value: 100 06:21:39 file_header: OK 06:21: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:21:39 Statistics: 06:21:39 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:21:39 File successfully converted to sysstat format version 12.2.1 06:21:39 + sadf -c /var/log/sa-host/sa21 06:21:39 file_magic: OK 06:21:39 HZ: Using current value: 100 06:21:39 file_header: OK 06:21: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:21:39 Statistics: 06:21:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:21:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:40 provisioning config files... 06:21:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/config8601606079337581168tmp [Pipeline] { [Pipeline] echo 06:21:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:21:40 ---> create-netrc.sh [Pipeline] } 06:21:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:21:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:21:41 ---> python-tools-install.sh [Pipeline] echo 06:21:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:21:41 ---> sudo-logs.sh 06:21:41 Archiving 'sudo' log.. [Pipeline] echo 06:21:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:21:41 ---> job-cost.sh 06:21:41 lf-activate-venv: SKIPPING 06:21:41 INFO: No Stack... 06:21:43 INFO: Retrieving Pricing Info for: v1-standard-2 06:21:43 INFO: Archiving Costs [Pipeline] echo 06:21:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:21:43 ---> logs-deploy.sh 06:21:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-639/1 06:21:43 INFO: archiving workspace using pattern(s): 06:21:45 Archives upload complete. 06:21:45 INFO: archiving logs to Nexus