Pull request #634 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from dffcd411d75bb1b49b88adcef65a33257b8cfd7e+6cec193abf44cabffe02bbcaff9748adb3f719d5 (b3c24721ee717935f30df74990f8470273d462b6) 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-634/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-634/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-6879 in /w/workspace/dgexfoundry_device-sdk-go_PR-634 [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-634 # 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/634/head:refs/remotes/origin/PR-634 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit dffcd411d75bb1b49b88adcef65a33257b8cfd7e Merge succeeded, producing dffcd411d75bb1b49b88adcef65a33257b8cfd7e Checking out Revision dffcd411d75bb1b49b88adcef65a33257b8cfd7e (PR-634) > git config core.sparsecheckout # timeout=10 > git checkout -f dffcd411d75bb1b49b88adcef65a33257b8cfd7e # 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 dffcd411d75bb1b49b88adcef65a33257b8cfd7e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 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 05:46:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:46:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:46:24 ========================================================= 05:46:24 EdgeX Global Pipelines Version Info 05:46:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:46:26 ------------------- 05:46:26 stable info: 05:46:26 ------------------- 05:46:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:46:26 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 05:46:26 Message: update stable to v1.0.144 05:46:27 ------------------- 05:46:27 experimental info: 05:46:27 ------------------- 05:46:27 Commited By: **** collab-it+edgex@linuxfoundation.org 05:46:27 Commit SHA: c640cc8e0f176a0a86b153ebfcb15f3e2f33f7bd 05:46:27 Message: update experimental to v1.0.145 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:46:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:46:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:46:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:46:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:46:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:46:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:46:28 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:46:28 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:46:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:46:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:46:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:46:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:46:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:46:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:46:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:46:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:46:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:46:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:46:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:46:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:46:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:46:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:46:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:46:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:46:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:46:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-634 [Pipeline] echo 05:46:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-634 [Pipeline] echo 05:46:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-634 [Pipeline] echo 05:46:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dffcd411d75bb1b49b88adcef65a33257b8cfd7e [Pipeline] echo 05:46:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dffcd41 [Pipeline] echo 05:46:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:46:32 + git log --format=format:%s -1 dffcd411d75bb1b49b88adcef65a33257b8cfd7e [Pipeline] echo 05:46:32 GIT_COMMIT: dffcd411d75bb1b49b88adcef65a33257b8cfd7e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo 05:46:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:46:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:46:33 05:46:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:46:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:46:34 latest: Pulling from edgex-devops/git-semver 05:46:34 31603596830f: Pulling fs layer 05:46:34 2a8b12db71e7: Pulling fs layer 05:46:34 6ca5941a6612: Pulling fs layer 05:46:34 ecc8261a40a4: Pulling fs layer 05:46:34 ecc8261a40a4: Waiting 05:46:34 2a8b12db71e7: Verifying Checksum 05:46:34 2a8b12db71e7: Download complete 05:46:34 31603596830f: Verifying Checksum 05:46:34 31603596830f: Download complete 05:46:34 ecc8261a40a4: Verifying Checksum 05:46:34 ecc8261a40a4: Download complete 05:46:34 6ca5941a6612: Verifying Checksum 05:46:34 6ca5941a6612: Download complete 05:46:34 31603596830f: Pull complete 05:46:34 2a8b12db71e7: Pull complete 05:46:35 6ca5941a6612: Pull complete 05:46:35 ecc8261a40a4: Pull complete 05:46:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:46:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:46:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:46:35 prd-centos7-docker-4c-2g-6879 does not seem to be running inside a container 05:46:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-634 -v /w/workspace/dgexfoundry_device-sdk-go_PR-634:/w/workspace/dgexfoundry_device-sdk-go_PR-634:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-634@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 05:46:38 $ docker top d11c96d820b4cc0298600f29ecdc837fdaf5f9306fda0aa7ac010ad93b720351 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:38 [ssh-agent] Looking for ssh-agent implementation... 05:46:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:39 $ docker exec d11c96d820b4cc0298600f29ecdc837fdaf5f9306fda0aa7ac010ad93b720351 ssh-agent 05:46:39 SSH_AUTH_SOCK=/tmp/ssh-YHHFaUVZQhDW/agent.12 05:46:39 SSH_AGENT_PID=17 05:46:39 Running ssh-add (command line suppressed) 05:46:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp/private_key_4290840400939725978.key (/w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp/private_key_4290840400939725978.key) 05:46:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:39 + git tag --points-at HEAD [Pipeline] } 05:46:39 $ docker exec --env ******** --env ******** d11c96d820b4cc0298600f29ecdc837fdaf5f9306fda0aa7ac010ad93b720351 ssh-agent -k 05:46:39 unset SSH_AUTH_SOCK; 05:46:39 unset SSH_AGENT_PID; 05:46:39 echo Agent pid 17 killed; 05:46:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:46:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:40 [ssh-agent] Looking for ssh-agent implementation... 05:46:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:40 $ docker exec d11c96d820b4cc0298600f29ecdc837fdaf5f9306fda0aa7ac010ad93b720351 ssh-agent 05:46:40 SSH_AUTH_SOCK=/tmp/ssh-uVmCVCwGyNxr/agent.46 05:46:40 SSH_AGENT_PID=51 05:46:40 Running ssh-add (command line suppressed) 05:46:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp/private_key_7348742923741972486.key (/w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp/private_key_7348742923741972486.key) 05:46:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:41 + git semver init 05:46:41 # -> Open(): unable to determine branch for HEAD 05:46:41 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-634/.git 05:46:41 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-634 05:46:41 # $SEMVER_REMOTE_NAME = origin 05:46:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:46:41 # $SEMVER_USER_NAME = edgex-jenkins 05:46:41 # $SEMVER_BRANCH = PR-634 05:46:41 # $SEMVER_TEMP = /tmp/semver-552212125 05:46:41 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:46:42 # '/tmp/semver-552212125' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-634/.semver' 05:46:42 # -> Force: false 05:46:42 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-634/.semver [Pipeline] } 05:46:42 $ docker exec --env ******** --env ******** d11c96d820b4cc0298600f29ecdc837fdaf5f9306fda0aa7ac010ad93b720351 ssh-agent -k 05:46:42 unset SSH_AUTH_SOCK; 05:46:42 unset SSH_AGENT_PID; 05:46:42 echo Agent pid 51 killed; 05:46:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:42 + git semver [Pipeline] } 05:46:42 $ docker stop --time=1 d11c96d820b4cc0298600f29ecdc837fdaf5f9306fda0aa7ac010ad93b720351 05:46:44 $ docker rm -f d11c96d820b4cc0298600f29ecdc837fdaf5f9306fda0aa7ac010ad93b720351 [Pipeline] // withDockerContainer [Pipeline] sh 05:46:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:46:45 Stashed 1 file(s) [Pipeline] echo 05:46:45 [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 05:47:01 Still waiting to schedule task 05:47:01 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6873’ is offline; ‘prd-centos7-docker-4c-2g-6881’ is offline; ‘prd-centos7-docker-8c-8g-6877’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’ 05:47:01 Still waiting to schedule task 05:47:01 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:49:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6882 in /w/workspace/dgexfoundry_device-sdk-go_PR-634 [Pipeline] { [Pipeline] ws 05:49:36 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:49:41 using credential edgex-jenkins-ssh 05:49:41 Cloning the remote Git repository 05:49:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:49:41 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:49:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:49:41 > git --version # timeout=10 05:49:41 > git --version # 'git version 2.17.1' 05:49:41 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:49:43 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit dffcd411d75bb1b49b88adcef65a33257b8cfd7e 05:49:43 Merge succeeded, producing dffcd411d75bb1b49b88adcef65a33257b8cfd7e 05:49:43 Checking out Revision dffcd411d75bb1b49b88adcef65a33257b8cfd7e (PR-634) 05:49:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:49:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:49:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:49:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:49:42 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/634/head:refs/remotes/origin/PR-634 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:49:43 > git config core.sparsecheckout # timeout=10 05:49:43 > git checkout -f dffcd411d75bb1b49b88adcef65a33257b8cfd7e # timeout=10 05:49:43 > git remote # timeout=10 05:49:43 > git config --get remote.origin.url # timeout=10 05:49:43 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:43 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 05:49:43 > git rev-parse HEAD^{commit} # timeout=10 05:49:43 > git config core.sparsecheckout # timeout=10 05:49:43 > git checkout -f dffcd411d75bb1b49b88adcef65a33257b8cfd7e # timeout=10 05:49:47 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 05:49:48 > git --version # timeout=10 05:49:48 > git --version # 'git version 2.17.1' 05:49:48 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:49:49 ========================================================= 05:49:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:49:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:49:50 + 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 . 05:49:51 Sending build context to Docker daemon 2.32MB 05:49:51 Step 1/8 : ARG BASE=golang:1.15-alpine 05:49:51 Step 2/8 : FROM ${BASE} 05:49:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:49:51 b538f80385f9: Pulling fs layer 05:49:51 74f711af9a0d: Pulling fs layer 05:49:51 99f96fe45779: Pulling fs layer 05:49:51 8529a6b9a6be: Pulling fs layer 05:49:51 45590311c82a: Pulling fs layer 05:49:51 69ca0ff8b7b3: Pulling fs layer 05:49:51 209524e5b208: Pulling fs layer 05:49:51 8529a6b9a6be: Waiting 05:49:51 69ca0ff8b7b3: Waiting 05:49:51 45590311c82a: Waiting 05:49:51 209524e5b208: Waiting 05:49:51 99f96fe45779: Verifying Checksum 05:49:51 99f96fe45779: Download complete 05:49:51 74f711af9a0d: Download complete 05:49:51 45590311c82a: Download complete 05:49:51 69ca0ff8b7b3: Verifying Checksum 05:49:51 69ca0ff8b7b3: Download complete 05:49:52 b538f80385f9: Verifying Checksum 05:49:52 b538f80385f9: Download complete 05:49:52 b538f80385f9: Pull complete 05:49:53 74f711af9a0d: Pull complete 05:49:53 99f96fe45779: Pull complete 05:49:54 209524e5b208: Verifying Checksum 05:49:54 209524e5b208: Download complete 05:49:55 8529a6b9a6be: Verifying Checksum 05:49:55 8529a6b9a6be: Download complete 05:50:05 8529a6b9a6be: Pull complete 05:50:05 45590311c82a: Pull complete 05:50:06 69ca0ff8b7b3: Pull complete 05:50:10 209524e5b208: Pull complete 05:50:10 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 05:50:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:50:10 ---> 5bddaf1c2fca 05:50:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:50:13 ---> Running in 3a29644b0b02 05:50:13 Removing intermediate container 3a29644b0b02 05:50:13 ---> 2db631e76699 05:50:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:50:13 ---> Running in c300eb133f8a 05:50:15 Removing intermediate container c300eb133f8a 05:50:15 ---> ade09a01dd7b 05:50:15 Step 5/8 : RUN apk add --no-cache make git 05:50:15 ---> Running in b227ebace592 05:50:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:50:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:50:19 OK: 142 MiB in 39 packages 05:50:20 Removing intermediate container b227ebace592 05:50:20 ---> 35bd7b4837b1 05:50:20 Step 6/8 : WORKDIR /device-sdk-go 05:50:21 ---> Running in 5aa66365bc32 05:50:21 Removing intermediate container 5aa66365bc32 05:50:21 ---> 7158c1da391b 05:50:21 Step 7/8 : COPY . . 05:50:22 ---> ef34aae60b68 05:50:22 Step 8/8 : RUN go mod download 05:50:22 ---> Running in 7af6a60beb85 05:50:44 Running on prd-centos7-docker-4c-2g-6883 in /w/workspace/dgexfoundry_device-sdk-go_PR-634 [Pipeline] { [Pipeline] ws 05:50:44 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:50:47 using credential edgex-jenkins-ssh 05:50:47 Cloning the remote Git repository 05:50:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:50:47 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:50:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:50:47 > git --version # timeout=10 05:50:47 > git --version # 'git version 2.16.5' 05:50:47 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:50:48 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit dffcd411d75bb1b49b88adcef65a33257b8cfd7e 05:50:48 Merge succeeded, producing dffcd411d75bb1b49b88adcef65a33257b8cfd7e 05:50:48 Checking out Revision dffcd411d75bb1b49b88adcef65a33257b8cfd7e (PR-634) 05:50:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:50:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:50:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:50:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:50:48 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/634/head:refs/remotes/origin/PR-634 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:50:48 > git config core.sparsecheckout # timeout=10 05:50:48 > git checkout -f dffcd411d75bb1b49b88adcef65a33257b8cfd7e # timeout=10 05:50:48 > git remote # timeout=10 05:50:48 > git config --get remote.origin.url # timeout=10 05:50:48 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:48 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 05:50:48 > git rev-parse HEAD^{commit} # timeout=10 05:50:48 > git config core.sparsecheckout # timeout=10 05:50:48 > git checkout -f dffcd411d75bb1b49b88adcef65a33257b8cfd7e # timeout=10 05:50:52 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 05:50:52 > git --version # timeout=10 05:50:52 > git --version # 'git version 2.16.5' 05:50:52 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:50:53 ========================================================= 05:50:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:50:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:50:54 + 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 . 05:50:54 Sending build context to Docker daemon 2.319MB 05:50:54 Step 1/8 : ARG BASE=golang:1.15-alpine 05:50:54 Step 2/8 : FROM ${BASE} 05:50:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:50:54 df20fa9351a1: Pulling fs layer 05:50:54 ed8968b2872e: Pulling fs layer 05:50:54 a92cc7c5fd73: Pulling fs layer 05:50:54 e871e8e8d7a9: Pulling fs layer 05:50:54 e73272ec9a57: Pulling fs layer 05:50:54 1e910a182e73: Pulling fs layer 05:50:54 4e634b169226: Pulling fs layer 05:50:54 e73272ec9a57: Waiting 05:50:54 1e910a182e73: Waiting 05:50:54 4e634b169226: Waiting 05:50:54 e871e8e8d7a9: Waiting 05:50:54 a92cc7c5fd73: Verifying Checksum 05:50:54 a92cc7c5fd73: Download complete 05:50:54 ed8968b2872e: Verifying Checksum 05:50:54 ed8968b2872e: Download complete 05:50:54 e73272ec9a57: Verifying Checksum 05:50:54 e73272ec9a57: Download complete 05:50:54 1e910a182e73: Verifying Checksum 05:50:54 1e910a182e73: Download complete 05:50:54 df20fa9351a1: Verifying Checksum 05:50:54 df20fa9351a1: Download complete 05:50:54 df20fa9351a1: Pull complete 05:50:55 ed8968b2872e: Pull complete 05:50:55 a92cc7c5fd73: Pull complete 05:50:55 Removing intermediate container 7af6a60beb85 05:50:55 ---> 03b5dc793279 05:50:55 Successfully built 03b5dc793279 05:50:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:50:55 + docker inspect -f . ci-base-image-arm64 05:50:55 . [Pipeline] withDockerContainer 05:50:55 prd-ubuntu18.04-docker-arm64-4c-16g-6882 does not seem to be running inside a container 05:50:56 $ 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 05:50:56 4e634b169226: Download complete 05:50:57 e871e8e8d7a9: Verifying Checksum 05:50:57 e871e8e8d7a9: Download complete 05:50:57 $ docker top 2dd686e80c141668083884bd995a12d86fbc5f07554443567d00b5f85dec33d1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:59 + go version 05:50:59 go version go1.15.2 linux/arm64 [Pipeline] } 05:50:59 $ docker stop --time=1 2dd686e80c141668083884bd995a12d86fbc5f07554443567d00b5f85dec33d1 05:51:01 $ docker rm -f 2dd686e80c141668083884bd995a12d86fbc5f07554443567d00b5f85dec33d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:51:02 e871e8e8d7a9: Pull complete 05:51:02 e73272ec9a57: Pull complete 05:51:02 1e910a182e73: Pull complete 05:51:02 + docker inspect -f . ci-base-image-arm64 05:51:02 . [Pipeline] withDockerContainer 05:51:03 prd-ubuntu18.04-docker-arm64-4c-16g-6882 does not seem to be running inside a container 05:51:03 $ 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 05:51:04 $ docker top b5c5f4f24b7d2e18eff123efcd3c0a09121d37680e92b855f2b0330d78d7e7e0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:06 + make test 05:51:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:51:10 4e634b169226: Pull complete 05:51:10 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 05:51:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:51:10 ---> f7629b54cfaa 05:51:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:10 ---> Running in fbe186c9cd92 05:51:10 Removing intermediate container fbe186c9cd92 05:51:10 ---> 5fa033f9a724 05:51:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:10 ---> Running in ba111d574ef3 05:51:12 Removing intermediate container ba111d574ef3 05:51:12 ---> 08a9374d29f3 05:51:12 Step 5/8 : RUN apk add --no-cache make git 05:51:12 ---> Running in edb56a0c6e88 05:51:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:51:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:51:14 OK: 166 MiB in 39 packages 05:51:14 Removing intermediate container edb56a0c6e88 05:51:14 ---> 9b0e4183c895 05:51:14 Step 6/8 : WORKDIR /device-sdk-go 05:51:14 ---> Running in 0afa35496e9a 05:51:14 Removing intermediate container 0afa35496e9a 05:51:14 ---> 143c508091b3 05:51:14 Step 7/8 : COPY . . 05:51:16 ---> 35aa4bbf21b0 05:51:16 Step 8/8 : RUN go mod download 05:51:16 ---> Running in 7a510168ab48 05:51:28 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:51:38 Removing intermediate container 7a510168ab48 05:51:38 ---> 1131162689d9 05:51:38 Successfully built 1131162689d9 05:51:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:51:38 + docker inspect -f . ci-base-image-x86_64 05:51:38 . [Pipeline] withDockerContainer 05:51:39 prd-centos7-docker-4c-2g-6883 does not seem to be running inside a container 05:51:39 $ 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 ******** ci-base-image-x86_64 cat 05:51:39 $ docker top 990bd943edb3b5d32bf5f42cac06087337b58ddca4033e3c18768d1e57a59ae0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:40 + go version 05:51:40 go version go1.15.2 linux/amd64 [Pipeline] } 05:51:40 $ docker stop --time=1 990bd943edb3b5d32bf5f42cac06087337b58ddca4033e3c18768d1e57a59ae0 05:51:41 $ docker rm -f 990bd943edb3b5d32bf5f42cac06087337b58ddca4033e3c18768d1e57a59ae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:51:43 + docker inspect -f . ci-base-image-x86_64 05:51:43 . [Pipeline] withDockerContainer 05:51:43 prd-centos7-docker-4c-2g-6883 does not seem to be running inside a container 05:51:43 $ 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 ******** ci-base-image-x86_64 cat 05:51:43 $ docker top f28863f0ba92a0864fc64aad15ba36f9de7b1058f15909a94ab1b209561f7acf -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:44 + make test 05:51:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:51:51 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:52:06 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:52:06 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:52:06 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:52:06 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.044s coverage: 21.6% of statements 05:52:07 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.431s coverage: 97.1% of statements 05:52:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:52:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:52:07 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:52:07 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.147s coverage: 21.6% of statements 05:52:10 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.177s coverage: 97.1% of statements 05:52:39 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.074s coverage: 9.4% of statements 05:52:39 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 21.9% of statements 05:52:39 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:52:39 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.235s coverage: 42.6% of statements 05:52:39 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:52:39 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.272s coverage: 68.9% of statements 05:52:39 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:52:39 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:52:39 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:52:39 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:52:39 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements 05:52:39 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 05:52:39 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 05:52:39 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:52:39 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.256s coverage: 68.9% of statements 05:52:39 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:52:39 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:52:39 GO111MODULE=on go vet ./... 05:52:42 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.129s coverage: 9.4% of statements 05:52:42 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements 05:52:42 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:52:42 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.574s coverage: 42.6% of statements 05:52:42 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:52:42 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.757s coverage: 68.9% of statements 05:52:42 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:52:42 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:52:42 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:52:42 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:52:42 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.181s coverage: 52.6% of statements 05:52:42 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 05:52:42 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 05:52:42 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:52:42 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.657s coverage: 68.9% of statements 05:52:42 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:52:42 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:52:42 GO111MODULE=on go vet ./... 05:52:46 gofmt -l . 05:52:46 [ "`gofmt -l .`" = "" ] 05:52:46 ./bin/test-attribution-txt.sh 05:52:46 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:52:46 Stashed 1 file(s) [Pipeline] } 05:52:46 $ docker stop --time=1 f28863f0ba92a0864fc64aad15ba36f9de7b1058f15909a94ab1b209561f7acf 05:52:48 $ docker rm -f f28863f0ba92a0864fc64aad15ba36f9de7b1058f15909a94ab1b209561f7acf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:52:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:52:50 + ls -al . 05:52:50 total 188 05:52:50 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 20 05:52 . 05:52:50 drwxrwxr-x. 4 jenkins jenkins 28 Oct 20 05:50 .. 05:52:50 drwxrwxr-x. 2 jenkins jenkins 64 Oct 20 05:50 bin 05:52:50 -rw-r--r--. 1 jenkins jenkins 110398 Oct 20 05:52 coverage.out 05:52:50 -rw-rw-r--. 1 jenkins jenkins 936 Oct 20 05:50 Dockerfile.build 05:52:50 -rw-rw-r--. 1 jenkins jenkins 140 Oct 20 05:50 .dockerignore 05:52:50 drwxrwxr-x. 4 jenkins jenkins 48 Oct 20 05:50 example 05:52:50 drwxrwxr-x. 8 jenkins jenkins 179 Oct 20 05:50 .git 05:52:50 drwxrwxr-x. 2 jenkins jenkins 60 Oct 20 05:50 .github 05:52:50 -rw-rw-r--. 1 jenkins jenkins 138 Oct 20 05:50 .gitignore 05:52:50 -rw-r--r--. 1 jenkins jenkins 518 Oct 20 05:52 go.mod 05:52:50 -rw-r--r--. 1 jenkins jenkins 13545 Oct 20 05:52 go.sum 05:52:50 drwxrwxr-x. 15 jenkins jenkins 211 Oct 20 05:50 internal 05:52:50 -rw-rw-r--. 1 jenkins jenkins 901 Oct 20 05:50 Jenkinsfile 05:52:50 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 20 05:50 LICENSE 05:52:50 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 20 05:50 Makefile 05:52:50 drwxrwxr-x. 4 jenkins jenkins 26 Oct 20 05:50 openapi 05:52:50 drwxrwxr-x. 5 jenkins jenkins 50 Oct 20 05:50 pkg 05:52:50 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 20 05:50 README.md 05:52:50 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 20 05:50 RELEASE-NOTES.txt 05:52:50 drwxrwxr-x. 4 jenkins jenkins 54 Oct 20 05:50 snap 05:52:50 -rw-rw-r--. 1 jenkins jenkins 5 Oct 20 05:46 VERSION 05:52:50 -rw-rw-r--. 1 jenkins jenkins 222 Oct 20 05:50 version.go [Pipeline] isUnix [Pipeline] sh 05:52:51 + 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=dffcd411d75bb1b49b88adcef65a33257b8cfd7e --label arch=amd64 --label version=0.0.0 . 05:52:51 Sending build context to Docker daemon 2.43MB 05:52:51 Step 1/24 : ARG BASE=golang:1.15-alpine 05:52:51 Step 2/24 : FROM ${BASE} AS builder 05:52:51 ---> 1131162689d9 05:52:51 Step 3/24 : ARG MAKE='make build' 05:52:52 ---> Running in ea2c673f7ddc 05:52:52 Removing intermediate container ea2c673f7ddc 05:52:52 ---> a4f65a7c1c38 05:52:52 Step 4/24 : WORKDIR /device-sdk-go 05:52:52 ---> Running in 4fb07a1d971a 05:52:52 Removing intermediate container 4fb07a1d971a 05:52:52 ---> 8c96728e0d0c 05:52:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:52:52 ---> Running in 002ebac84342 05:52:52 Removing intermediate container 002ebac84342 05:52:52 ---> 69a20a2417d8 05:52:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:52:52 ---> Running in 1314aa03dd44 05:52:53 Removing intermediate container 1314aa03dd44 05:52:53 ---> 8db9bcb93192 05:52:53 Step 7/24 : RUN apk add --update --no-cache make git 05:52:53 ---> Running in 1bf6655d7a94 05:52:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:52:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:52:56 OK: 166 MiB in 39 packages 05:52:56 Removing intermediate container 1bf6655d7a94 05:52:56 ---> e4d0f9bd0e60 05:52:56 Step 8/24 : COPY . . 05:52:57 ---> d9fcd02ec937 05:52:57 Step 9/24 : RUN ${MAKE} 05:52:57 ---> Running in 2cc732c3fdd8 05:52:57 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 05:53:06 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:53:08 Removing intermediate container 2cc732c3fdd8 05:53:08 ---> 34c3e2ee18d8 05:53:08 Step 10/24 : FROM scratch 05:53:08 ---> 05:53:08 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:08 ---> Running in 0fc8e4c3b97c 05:53:08 Removing intermediate container 0fc8e4c3b97c 05:53:08 ---> 89fd8cd34948 05:53:08 Step 12/24 : ENV APP_PORT=49990 05:53:08 ---> Running in 6be83b754a44 05:53:08 Removing intermediate container 6be83b754a44 05:53:08 ---> e2561bd7fa21 05:53:08 Step 13/24 : EXPOSE $APP_PORT 05:53:08 ---> Running in dfc9447993f4 05:53:08 Removing intermediate container dfc9447993f4 05:53:08 ---> 9c8100da3593 05:53:08 Step 14/24 : WORKDIR / 05:53:08 ---> Running in 76a360d557b0 05:53:08 Removing intermediate container 76a360d557b0 05:53:08 ---> b3429eed4f71 05:53:08 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:53:09 ---> d8e6518c32d0 05:53:09 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:53:09 ---> 2ab06c1a6435 05:53:09 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:53:09 gofmt -l . 05:53:09 [ "`gofmt -l .`" = "" ] 05:53:09 ./bin/test-attribution-txt.sh 05:53:09 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:53:09 Warning: overwriting stash ‘coverage-report’ 05:53:09 ---> 4db4d0f55c84 05:53:09 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:53:09 ---> ce905b51fd54 05:53:09 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:53:10 ---> 56fd5a2b0a00 05:53:10 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:53:10 ---> Running in 0ff20a1ec3e1 05:53:10 Stashed 1 file(s) [Pipeline] } 05:53:10 $ docker stop --time=1 b5c5f4f24b7d2e18eff123efcd3c0a09121d37680e92b855f2b0330d78d7e7e0 05:53:10 Removing intermediate container 0ff20a1ec3e1 05:53:10 ---> 499110c281d8 05:53:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:53:10 ---> Running in cc38494e0e2b 05:53:10 Removing intermediate container cc38494e0e2b 05:53:10 ---> 2694d99570d3 05:53:10 Step 22/24 : LABEL arch=amd64 05:53:10 ---> Running in 35981ead1071 05:53:10 Removing intermediate container 35981ead1071 05:53:10 ---> 5b662c61547d 05:53:10 Step 23/24 : LABEL git_sha=dffcd411d75bb1b49b88adcef65a33257b8cfd7e 05:53:10 ---> Running in a9f7ad5e851e 05:53:11 Removing intermediate container a9f7ad5e851e 05:53:11 ---> 957d433dc6d6 05:53:11 Step 24/24 : LABEL version=0.0.0 05:53:11 ---> Running in cdbd6b2a8195 05:53:11 Removing intermediate container cdbd6b2a8195 05:53:11 ---> f43d24464afd 05:53:11 [Warning] One or more build-args [ARCH] were not consumed 05:53:11 Successfully built f43d24464afd 05:53:11 Successfully tagged docker-device-sdk-simple:latest 05:53:12 $ docker rm -f b5c5f4f24b7d2e18eff123efcd3c0a09121d37680e92b855f2b0330d78d7e7e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Build) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } 05:53:14 + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } 05:53:15 + ls -al . 05:53:15 total 224 05:53:15 drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 05:53 . 05:53:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 05:49 .. 05:53:15 -rw-rw-r-- 1 jenkins jenkins 140 Oct 20 05:49 .dockerignore 05:53:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 05:49 .git 05:53:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 05:49 .github 05:53:15 -rw-rw-r-- 1 jenkins jenkins 138 Oct 20 05:49 .gitignore 05:53:15 -rw-rw-r-- 1 jenkins jenkins 936 Oct 20 05:49 Dockerfile.build 05:53:15 -rw-rw-r-- 1 jenkins jenkins 901 Oct 20 05:49 Jenkinsfile 05:53:15 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 20 05:49 LICENSE 05:53:15 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 20 05:49 Makefile 05:53:15 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 20 05:49 README.md 05:53:15 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 20 05:49 RELEASE-NOTES.txt 05:53:15 -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 05:46 VERSION 05:53:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 05:49 bin 05:53:15 -rw-r--r-- 1 jenkins jenkins 110398 Oct 20 05:52 coverage.out 05:53:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 05:49 example 05:53:15 -rw-r--r-- 1 jenkins jenkins 518 Oct 20 05:53 go.mod 05:53:15 -rw-r--r-- 1 jenkins jenkins 13545 Oct 20 05:53 go.sum 05:53:15 drwxrwxr-x 15 jenkins jenkins 4096 Oct 20 05:49 internal 05:53:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 05:49 openapi 05:53:15 drwxrwxr-x 5 jenkins jenkins 4096 Oct 20 05:49 pkg 05:53:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 05:49 snap 05:53:15 -rw-rw-r-- 1 jenkins jenkins 222 Oct 20 05:49 version.go [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] } 05:53:16 + 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=dffcd411d75bb1b49b88adcef65a33257b8cfd7e --label arch=arm64 --label version=0.0.0 . 05:53:16 Sending build context to Docker daemon 2.431MB 05:53:16 Step 1/24 : ARG BASE=golang:1.15-alpine 05:53:16 Step 2/24 : FROM ${BASE} AS builder 05:53:16 ---> 03b5dc793279 05:53:16 Step 3/24 : ARG MAKE='make build' 05:53:16 ---> Running in 08dace0873cb 05:53:17 Removing intermediate container 08dace0873cb 05:53:17 ---> 503e5aafaa1e 05:53:17 Step 4/24 : WORKDIR /device-sdk-go 05:53:17 ---> Running in ef7f5c1b79af 05:53:17 Removing intermediate container ef7f5c1b79af 05:53:17 ---> 11868c5a8e85 05:53:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:17 ---> Running in 93d8eda74d60 05:53:18 Removing intermediate container 93d8eda74d60 05:53:18 ---> 97aca67939ab 05:53:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:18 ---> Running in bdee7151593a 05:53:21 Removing intermediate container bdee7151593a 05:53:21 ---> 0f2019b8dfaa 05:53:21 Step 7/24 : RUN apk add --update --no-cache make git 05:53:21 ---> Running in c8ec03b10ae8 05:53:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:53:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:53:24 OK: 142 MiB in 39 packages 05:53:25 Removing intermediate container c8ec03b10ae8 05:53:25 ---> 4d0393c34c2c 05:53:25 Step 8/24 : COPY . . 05:53:26 ---> 3c2878aed0aa 05:53:26 Step 9/24 : RUN ${MAKE} 05:53:26 ---> Running in a767dd322195 05:53:28 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 05:53:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:53:54 Removing intermediate container a767dd322195 05:53:54 ---> 36f901522d51 05:53:54 Step 10/24 : FROM scratch 05:53:54 ---> 05:53:54 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:54 ---> Running in 7eb8b3442a1c 05:53:55 Removing intermediate container 7eb8b3442a1c 05:53:55 ---> b607d8281b97 05:53:55 Step 12/24 : ENV APP_PORT=49990 05:53:55 ---> Running in 4b0ca5370a59 05:53:55 Removing intermediate container 4b0ca5370a59 05:53:55 ---> 7f9aacbd6e51 05:53:55 Step 13/24 : EXPOSE $APP_PORT 05:53:55 ---> Running in f4bfd39fba21 05:53:56 Removing intermediate container f4bfd39fba21 05:53:56 ---> fae5e637cbb4 05:53:56 Step 14/24 : WORKDIR / 05:53:56 ---> Running in e05cb1190d8e 05:53:56 Removing intermediate container e05cb1190d8e 05:53:56 ---> 6b33819e3c76 05:53:56 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:53:57 ---> 712a494650a9 05:53:57 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:53:58 ---> 8931967560df 05:53:58 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:53:59 ---> e163d69a9bdd 05:53:59 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:54:00 ---> 0b54fe2c4ec5 05:54:00 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:54:00 ---> 8470b0a3a9f4 05:54:00 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:54:00 ---> Running in 81d3ca06f671 05:54:01 Removing intermediate container 81d3ca06f671 05:54:01 ---> 4f6be58d3857 05:54:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:54:01 ---> Running in 70eada84d300 05:54:01 Removing intermediate container 70eada84d300 05:54:01 ---> 1b94d5fc2975 05:54:01 Step 22/24 : LABEL arch=arm64 05:54:01 ---> Running in 158ed7b03970 05:54:02 Removing intermediate container 158ed7b03970 05:54:02 ---> 976b1acb9fe2 05:54:02 Step 23/24 : LABEL git_sha=dffcd411d75bb1b49b88adcef65a33257b8cfd7e 05:54:02 ---> Running in c1c3b8a03aa5 05:54:02 Removing intermediate container c1c3b8a03aa5 05:54:02 ---> b5a7cd4aed28 05:54:02 Step 24/24 : LABEL version=0.0.0 05:54:02 ---> Running in 70e37d1f3b7e 05:54:03 Removing intermediate container 70e37d1f3b7e 05:54:03 ---> 718a550a5b91 05:54:03 [Warning] One or more build-args [ARCH] were not consumed 05:54:03 Successfully built 718a550a5b91 05:54:03 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 05:54:06 provisioning config files... 05:54:06 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp/config2643166620638919036tmp [Pipeline] { [Pipeline] sh 05:54:06 + set +x 05:54:06 + curl -s https://codecov.io/bash 05:54:06 + bash -s -- 05:54:06 05:54:06 _____ _ 05:54:06 / ____| | | 05:54:06 | | ___ __| | ___ ___ _____ __ 05:54:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:54:06 | |___| (_) | (_| | __/ (_| (_) \ V / 05:54:06 \_____\___/ \__,_|\___|\___\___/ \_/ 05:54:06 Bash-20201009-048fee3 05:54:06 05:54:06 05:54:06 ==> Jenkins CI detected. 05:54:06 project root: . 05:54:06 --> token set from env 05:54:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:54:06 ==> Running gcov in . (disable via -X gcov) 05:54:06 ==> Python coveragepy not found 05:54:06 ==> Searching for coverage reports in: 05:54:06 + . 05:54:06 -> Found 1 reports 05:54:06 ==> Detecting git/mercurial file structure 05:54:06 ==> Reading reports 05:54:06 + ./coverage.out bytes=110398 05:54:06 ==> Appending adjustments 05:54:06 https://docs.codecov.io/docs/fixing-reports 05:54:07 + Found adjustments 05:54:07 ==> Gzipping contents 05:54:07 ==> Uploading reports 05:54:07 url: https://codecov.io 05:54:07 query: branch=PR-634&commit=dffcd411d75bb1b49b88adcef65a33257b8cfd7e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-634%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=634&job=&cmd_args= 05:54:07 -> Pinging Codecov 05:54:07 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-634&commit=dffcd411d75bb1b49b88adcef65a33257b8cfd7e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-634%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=634&job=&cmd_args= 05:54:07 -> Uploading to 05:54:07 05:54:07 % Total % Received % Xferd Average Speed Time Time Time Current 05:54:07 Dload Upload Total Spent Left Speed 05:54:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 05:54:07 X> Failed to upload 05:54:07 ==> Uploading to Codecov 05:54:07 % Total % Received % Xferd Average Speed Time Time Time Current 05:54:07 Dload Upload Total Spent Left Speed 05:54:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19144 100 110 100 19034 230 39948 --:--:-- --:--:-- --:--:-- 39987 05:54:08 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/dffcd411d75bb1b49b88adcef65a33257b8cfd7e [Pipeline] } 05:54:08 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 05:54:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:54:12 ---> package-listing.sh 05:54:12 ++ facter osfamily 05:54:12 ++ tr '[:upper:]' '[:lower:]' 05:54:12 + OS_FAMILY=redhat 05:54:12 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-634 05:54:12 + START_PACKAGES=/tmp/packages_start.txt 05:54:12 + END_PACKAGES=/tmp/packages_end.txt 05:54:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:54:12 + PACKAGES=/tmp/packages_start.txt 05:54:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-634 ']' 05:54:12 + PACKAGES=/tmp/packages_end.txt 05:54:12 + case "${OS_FAMILY}" in 05:54:12 + rpm -qa 05:54:12 + sort 05:54:16 + '[' -f /tmp/packages_start.txt ']' 05:54:16 + '[' -f /tmp/packages_end.txt ']' 05:54:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:54:16 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-634 ']' 05:54:16 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-634/archives/ 05:54:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-634/archives/ [Pipeline] echo 05:54:16 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-634/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:54:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:54:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:54:17 05:54:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:54:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:54:17 alpine: Pulling from edgex-lftools-log-publisher 05:54:17 df20fa9351a1: Pulling fs layer 05:54:17 36b3adc4ff6f: Pulling fs layer 05:54:17 8ad3a11d3b57: Pulling fs layer 05:54:17 46f8f816bc3b: Pulling fs layer 05:54:17 93b61091891f: Pulling fs layer 05:54:17 93b9cdb0e59b: Pulling fs layer 05:54:17 5e14af77c1be: Pulling fs layer 05:54:17 01666e4c0597: Pulling fs layer 05:54:17 aa168da1d23b: Pulling fs layer 05:54:17 93b9cdb0e59b: Waiting 05:54:17 5e14af77c1be: Waiting 05:54:17 01666e4c0597: Waiting 05:54:17 aa168da1d23b: Waiting 05:54:17 46f8f816bc3b: Waiting 05:54:17 93b61091891f: Waiting 05:54:17 36b3adc4ff6f: Verifying Checksum 05:54:17 36b3adc4ff6f: Download complete 05:54:17 46f8f816bc3b: Download complete 05:54:17 df20fa9351a1: Download complete 05:54:17 93b9cdb0e59b: Verifying Checksum 05:54:17 93b9cdb0e59b: Download complete 05:54:18 93b61091891f: Verifying Checksum 05:54:18 93b61091891f: Download complete 05:54:18 5e14af77c1be: Verifying Checksum 05:54:18 5e14af77c1be: Download complete 05:54:18 01666e4c0597: Verifying Checksum 05:54:18 01666e4c0597: Download complete 05:54:18 df20fa9351a1: Pull complete 05:54:18 36b3adc4ff6f: Pull complete 05:54:18 8ad3a11d3b57: Download complete 05:54:19 8ad3a11d3b57: Pull complete 05:54:19 46f8f816bc3b: Pull complete 05:54:20 93b61091891f: Pull complete 05:54:20 aa168da1d23b: Verifying Checksum 05:54:20 aa168da1d23b: Download complete 05:54:20 93b9cdb0e59b: Pull complete 05:54:20 5e14af77c1be: Pull complete 05:54:20 01666e4c0597: Pull complete 05:54:27 aa168da1d23b: Pull complete 05:54:27 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:54:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:54:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:54:27 prd-centos7-docker-4c-2g-6879 does not seem to be running inside a container 05:54:27 $ 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-634/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-634 -v /w/workspace/dgexfoundry_device-sdk-go_PR-634:/w/workspace/dgexfoundry_device-sdk-go_PR-634:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-634@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 05:54:33 $ docker top 54e18d39bfa8c5a7a71a097c9675cd440eb6ca7b9faaff66af62bf7aa15a7c21 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:34 + touch /tmp/pre-build-complete [Pipeline] sh 05:54:34 + mkdir -p /var/log/sa [Pipeline] sh 05:54:34 + ls /var/log/sa-host 05:54:34 + sadf -c /var/log/sa-host/sa05 05:54:34 file_magic: OK 05:54:34 HZ: Using current value: 100 05:54:34 file_header: OK 05:54:34 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 05:54:34 Statistics: 05:54:34 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:54:34 File successfully converted to sysstat format version 12.2.1 05:54:34 + sadf -c /var/log/sa-host/sa20 05:54:34 file_magic: OK 05:54:34 HZ: Using current value: 100 05:54:34 file_header: OK 05:54:34 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 05:54:34 Statistics: 05:54:34 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:54:34 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:54:35 provisioning config files... 05:54:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-634@tmp/config7383412105555170874tmp [Pipeline] { [Pipeline] echo 05:54:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:54:35 ---> create-netrc.sh [Pipeline] } 05:54:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:54:35 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:54:36 ---> python-tools-install.sh [Pipeline] echo 05:54:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:54:36 ---> sudo-logs.sh 05:54:36 Archiving 'sudo' log.. [Pipeline] echo 05:54:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:54:36 ---> job-cost.sh 05:54:36 lf-activate-venv: SKIPPING 05:54:36 INFO: No Stack... 05:54:37 INFO: Retrieving Pricing Info for: v1-standard-2 05:54:38 INFO: Archiving Costs [Pipeline] echo 05:54:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:54:38 ---> logs-deploy.sh 05:54:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-634/1 05:54:38 INFO: archiving workspace using pattern(s): 05:54:40 Archives upload complete. 05:54:40 INFO: archiving logs to Nexus