Pull request #638 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7+6cec193abf44cabffe02bbcaff9748adb3f719d5 (0b767829ee749368cfa7b87ab9faea7f2c90e55a) 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-638/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-638/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-7418 in /w/workspace/dgexfoundry_device-sdk-go_PR-638 [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-638 # 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 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 Merge succeeded, producing ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 Checking out Revision ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 (PR-638) 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/638/head:refs/remotes/origin/PR-638 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 # 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 ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 # 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 06:11:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:11:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:11:55 ========================================================= 06:11:55 EdgeX Global Pipelines Version Info 06:11:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:11:57 ------------------- 06:11:57 stable info: 06:11:57 ------------------- 06:11:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:11:57 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:11:57 Message: update stable to v1.0.144 06:11:58 ------------------- 06:11:58 experimental info: 06:11:58 ------------------- 06:11:58 Commited By: **** collab-it+edgex@linuxfoundation.org 06:11:58 Commit SHA: 0fb566d11309be12c9baf3de23def7053bac1c97 06:11:58 Message: update experimental to v1.0.146 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:11:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:11:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:11:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:11:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:11:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:11:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:11:59 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:12:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:12:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:12:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:12:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:12:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:12:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:12:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:12:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:12:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:12:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:12:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:12:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:12:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:12:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:12:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:12:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:12:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-638 [Pipeline] echo 06:12:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-638 [Pipeline] echo 06:12:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-638 [Pipeline] echo 06:12:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 [Pipeline] echo 06:12:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca4cf48 [Pipeline] echo 06:12:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:12:04 + git log --format=format:%s -1 ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 [Pipeline] echo 06:12:04 GIT_COMMIT: ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo 06:12:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:12:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:12:05 06:12:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:12:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:12:05 latest: Pulling from edgex-devops/git-semver 06:12:05 31603596830f: Pulling fs layer 06:12:05 2a8b12db71e7: Pulling fs layer 06:12:05 6ca5941a6612: Pulling fs layer 06:12:05 ecc8261a40a4: Pulling fs layer 06:12:05 ecc8261a40a4: Waiting 06:12:05 2a8b12db71e7: Verifying Checksum 06:12:05 2a8b12db71e7: Download complete 06:12:05 31603596830f: Verifying Checksum 06:12:05 31603596830f: Download complete 06:12:05 6ca5941a6612: Verifying Checksum 06:12:05 6ca5941a6612: Download complete 06:12:05 ecc8261a40a4: Verifying Checksum 06:12:05 ecc8261a40a4: Download complete 06:12:06 31603596830f: Pull complete 06:12:06 2a8b12db71e7: Pull complete 06:12:07 6ca5941a6612: Pull complete 06:12:07 ecc8261a40a4: Pull complete 06:12:07 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:12:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:12:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:12:07 prd-centos7-docker-4c-2g-7418 does not seem to be running inside a container 06:12:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-638 -v /w/workspace/dgexfoundry_device-sdk-go_PR-638:/w/workspace/dgexfoundry_device-sdk-go_PR-638:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-638@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:12:09 $ docker top 0852f4fdfa74f31a128ae8b7e1927051712a6aced83ec20d39945426d5baba7d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:12:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:12:10 [ssh-agent] Looking for ssh-agent implementation... 06:12:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:12:10 $ docker exec 0852f4fdfa74f31a128ae8b7e1927051712a6aced83ec20d39945426d5baba7d ssh-agent 06:12:10 SSH_AUTH_SOCK=/tmp/ssh-7cj9Y2RhQy2J/agent.13 06:12:10 SSH_AGENT_PID=18 06:12:10 Running ssh-add (command line suppressed) 06:12:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/private_key_5136126404450561515.key (/w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/private_key_5136126404450561515.key) 06:12:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:12:11 + git tag --points-at HEAD [Pipeline] } 06:12:11 $ docker exec --env ******** --env ******** 0852f4fdfa74f31a128ae8b7e1927051712a6aced83ec20d39945426d5baba7d ssh-agent -k 06:12:11 unset SSH_AUTH_SOCK; 06:12:11 unset SSH_AGENT_PID; 06:12:11 echo Agent pid 18 killed; 06:12:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:12:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:12:11 [ssh-agent] Looking for ssh-agent implementation... 06:12:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:12:11 $ docker exec 0852f4fdfa74f31a128ae8b7e1927051712a6aced83ec20d39945426d5baba7d ssh-agent 06:12:11 SSH_AUTH_SOCK=/tmp/ssh-Bc2Qc9nEyEmc/agent.48 06:12:11 SSH_AGENT_PID=53 06:12:11 Running ssh-add (command line suppressed) 06:12:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/private_key_1117234754852411546.key (/w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/private_key_1117234754852411546.key) 06:12:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:12:12 + git semver init 06:12:12 # -> Open(): unable to determine branch for HEAD 06:12:12 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-638/.git 06:12:12 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-638 06:12:12 # $SEMVER_REMOTE_NAME = origin 06:12:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:12:12 # $SEMVER_USER_NAME = edgex-jenkins 06:12:12 # $SEMVER_BRANCH = PR-638 06:12:12 # $SEMVER_TEMP = /tmp/semver-480237232 06:12:12 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:12:13 # '/tmp/semver-480237232' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-638/.semver' 06:12:13 # -> Force: false 06:12:13 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-638/.semver [Pipeline] } 06:12:13 $ docker exec --env ******** --env ******** 0852f4fdfa74f31a128ae8b7e1927051712a6aced83ec20d39945426d5baba7d ssh-agent -k 06:12:13 unset SSH_AUTH_SOCK; 06:12:13 unset SSH_AGENT_PID; 06:12:13 echo Agent pid 53 killed; 06:12:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:12:14 + git semver [Pipeline] } 06:12:14 $ docker stop --time=1 0852f4fdfa74f31a128ae8b7e1927051712a6aced83ec20d39945426d5baba7d 06:12:15 $ docker rm -f 0852f4fdfa74f31a128ae8b7e1927051712a6aced83ec20d39945426d5baba7d [Pipeline] // withDockerContainer [Pipeline] sh 06:12:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:12:16 Stashed 1 file(s) [Pipeline] echo 06:12:16 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:12:32 Still waiting to schedule task 06:12:32 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:12:32 Still waiting to schedule task 06:12:32 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:14:00 Running on prd-centos7-docker-4c-2g-7421 in /w/workspace/dgexfoundry_device-sdk-go_PR-638 [Pipeline] { [Pipeline] ws 06:14:00 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:14:03 using credential edgex-jenkins-ssh 06:14:03 Cloning the remote Git repository 06:14:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:14:03 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:14:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:14:03 > git --version # timeout=10 06:14:03 > git --version # 'git version 2.16.5' 06:14:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:14:04 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 06:14:04 Merge succeeded, producing ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 06:14:04 Checking out Revision ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 (PR-638) 06:14:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:14:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:14:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:14:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:14:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/638/head:refs/remotes/origin/PR-638 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:14:04 > git config core.sparsecheckout # timeout=10 06:14:04 > git checkout -f ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 # timeout=10 06:14:04 > git remote # timeout=10 06:14:04 > git config --get remote.origin.url # timeout=10 06:14:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:04 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 06:14:04 > git rev-parse HEAD^{commit} # timeout=10 06:14:04 > git config core.sparsecheckout # timeout=10 06:14:04 > git checkout -f ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 # timeout=10 06:14:08 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 06:14:08 > git --version # timeout=10 06:14:08 > git --version # 'git version 2.16.5' 06:14:08 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:14:09 ========================================================= 06:14:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:14:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:14:10 + 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:10 Sending build context to Docker daemon 2.322MB 06:14:10 Step 1/8 : ARG BASE=golang:1.15-alpine 06:14:10 Step 2/8 : FROM ${BASE} 06:14:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:14:10 df20fa9351a1: Pulling fs layer 06:14:10 ed8968b2872e: Pulling fs layer 06:14:10 a92cc7c5fd73: Pulling fs layer 06:14:10 e871e8e8d7a9: Pulling fs layer 06:14:10 e73272ec9a57: Pulling fs layer 06:14:10 1e910a182e73: Pulling fs layer 06:14:10 4e634b169226: Pulling fs layer 06:14:10 e73272ec9a57: Waiting 06:14:10 1e910a182e73: Waiting 06:14:10 4e634b169226: Waiting 06:14:10 e871e8e8d7a9: Waiting 06:14:10 a92cc7c5fd73: Verifying Checksum 06:14:10 a92cc7c5fd73: Download complete 06:14:10 ed8968b2872e: Verifying Checksum 06:14:10 ed8968b2872e: Download complete 06:14:10 e73272ec9a57: Download complete 06:14:10 1e910a182e73: Verifying Checksum 06:14:10 1e910a182e73: Download complete 06:14:10 df20fa9351a1: Verifying Checksum 06:14:10 df20fa9351a1: Download complete 06:14:10 df20fa9351a1: Pull complete 06:14:11 ed8968b2872e: Pull complete 06:14:11 a92cc7c5fd73: Pull complete 06:14:13 4e634b169226: Verifying Checksum 06:14:13 4e634b169226: Download complete 06:14:13 e871e8e8d7a9: Verifying Checksum 06:14:13 e871e8e8d7a9: Download complete 06:14:19 e871e8e8d7a9: Pull complete 06:14:19 e73272ec9a57: Pull complete 06:14:19 1e910a182e73: Pull complete 06:14:23 4e634b169226: Pull complete 06:14:23 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:14:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:14:23 ---> f7629b54cfaa 06:14:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:14:23 ---> Running in 69f83cb75ca5 06:14:23 Removing intermediate container 69f83cb75ca5 06:14:23 ---> c5f314ab03ec 06:14:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:14:24 ---> Running in 17844128db66 06:14:25 Removing intermediate container 17844128db66 06:14:25 ---> 4b602d5af546 06:14:25 Step 5/8 : RUN apk add --no-cache make git 06:14:25 ---> Running in 313974856d1b 06:14:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:14:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:14:27 OK: 166 MiB in 39 packages 06:14:27 Removing intermediate container 313974856d1b 06:14:27 ---> ccc4529d7911 06:14:27 Step 6/8 : WORKDIR /device-sdk-go 06:14:27 ---> Running in f43a268a5407 06:14:27 Removing intermediate container f43a268a5407 06:14:27 ---> 5a4f503c4a7d 06:14:27 Step 7/8 : COPY . . 06:14:29 ---> c78a5b99f718 06:14:29 Step 8/8 : RUN go mod download 06:14:29 ---> Running in cbb724724239 06:14:47 Removing intermediate container cbb724724239 06:14:47 ---> 85ca44670d24 06:14:47 Successfully built 85ca44670d24 06:14:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:14:48 + docker inspect -f . ci-base-image-x86_64 06:14:48 . [Pipeline] withDockerContainer 06:14:48 prd-centos7-docker-4c-2g-7421 does not seem to be running inside a container 06:14:48 $ 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:14:49 $ docker top ca317884f02eb94a84517bbdf1fa4435ef408ae58b27d3cd407c585989151ef2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:50 + go version 06:14:50 go version go1.15.2 linux/amd64 [Pipeline] } 06:14:50 $ docker stop --time=1 ca317884f02eb94a84517bbdf1fa4435ef408ae58b27d3cd407c585989151ef2 06:14:51 $ docker rm -f ca317884f02eb94a84517bbdf1fa4435ef408ae58b27d3cd407c585989151ef2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:14:52 + docker inspect -f . ci-base-image-x86_64 06:14:52 . [Pipeline] withDockerContainer 06:14:52 prd-centos7-docker-4c-2g-7421 does not seem to be running inside a container 06:14:53 $ 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:14:53 $ docker top 70a8a7b30e7e59a1ffb56913f9dbf544965035695d15d5c85be1c30a1d43a1b0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:54 + make test 06:14:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:15:01 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:15:16 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:15:16 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:15:16 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:15:16 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.063s coverage: 21.6% of statements 06:15:16 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.533s coverage: 97.1% of statements 06:15:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-7423 in /w/workspace/dgexfoundry_device-sdk-go_PR-638 [Pipeline] { [Pipeline] ws 06:15:35 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:15:41 using credential edgex-jenkins-ssh 06:15:41 Cloning the remote Git repository 06:15:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:15:41 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:15:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:15:41 > git --version # timeout=10 06:15:41 > git --version # 'git version 2.17.1' 06:15:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:43 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 06:15:43 Merge succeeded, producing ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 06:15:43 Checking out Revision ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 (PR-638) 06:15:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:15:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:15:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:15:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/638/head:refs/remotes/origin/PR-638 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:15:43 > git config core.sparsecheckout # timeout=10 06:15:43 > git checkout -f ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 # timeout=10 06:15:43 > git remote # timeout=10 06:15:43 > git config --get remote.origin.url # timeout=10 06:15:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:43 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 06:15:43 > git rev-parse HEAD^{commit} # timeout=10 06:15:43 > git config core.sparsecheckout # timeout=10 06:15:43 > git checkout -f ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 # timeout=10 06:15:47 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 06:15:47 > git --version # timeout=10 06:15:48 > git --version # 'git version 2.17.1' 06:15:48 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 06:15:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.080s coverage: 9.4% of statements 06:15:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.063s coverage: 21.9% of statements 06:15:48 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:15:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.224s coverage: 42.6% of statements 06:15:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:15:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.339s coverage: 68.9% of statements 06:15:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:15:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:15:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:15:48 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:15:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 06:15:48 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:15:48 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:15:48 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:15:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.391s coverage: 68.9% of statements 06:15:48 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:15:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:15:48 GO111MODULE=on go vet ./... [Pipeline] echo 06:15:49 ========================================================= 06:15:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:15:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:15: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 . 06:15:51 Sending build context to Docker daemon 2.323MB 06:15:51 Step 1/8 : ARG BASE=golang:1.15-alpine 06:15:51 Step 2/8 : FROM ${BASE} 06:15:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:15:51 b538f80385f9: Pulling fs layer 06:15:51 74f711af9a0d: Pulling fs layer 06:15:51 99f96fe45779: Pulling fs layer 06:15:51 8529a6b9a6be: Pulling fs layer 06:15:51 45590311c82a: Pulling fs layer 06:15:51 69ca0ff8b7b3: Pulling fs layer 06:15:51 209524e5b208: Pulling fs layer 06:15:51 8529a6b9a6be: Waiting 06:15:51 45590311c82a: Waiting 06:15:51 209524e5b208: Waiting 06:15:51 69ca0ff8b7b3: Waiting 06:15:51 99f96fe45779: Verifying Checksum 06:15:51 99f96fe45779: Download complete 06:15:51 74f711af9a0d: Download complete 06:15:51 45590311c82a: Verifying Checksum 06:15:51 45590311c82a: Download complete 06:15:51 69ca0ff8b7b3: Verifying Checksum 06:15:51 69ca0ff8b7b3: Download complete 06:15:52 b538f80385f9: Verifying Checksum 06:15:52 b538f80385f9: Download complete 06:15:52 b538f80385f9: Pull complete 06:15:53 74f711af9a0d: Pull complete 06:15:53 99f96fe45779: Pull complete 06:15:54 209524e5b208: Verifying Checksum 06:15:54 209524e5b208: Download complete 06:15:55 8529a6b9a6be: Verifying Checksum 06:15:55 8529a6b9a6be: Download complete 06:15:55 gofmt -l . 06:15:55 [ "`gofmt -l .`" = "" ] 06:15:55 ./bin/test-attribution-txt.sh 06:15:55 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:15:56 Stashed 1 file(s) [Pipeline] } 06:15:56 $ docker stop --time=1 70a8a7b30e7e59a1ffb56913f9dbf544965035695d15d5c85be1c30a1d43a1b0 06:15:58 $ docker rm -f 70a8a7b30e7e59a1ffb56913f9dbf544965035695d15d5c85be1c30a1d43a1b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:16:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:16:01 + ls -al . 06:16:01 total 188 06:16:01 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 21 06:15 . 06:16:01 drwxrwxr-x. 4 jenkins jenkins 28 Oct 21 06:14 .. 06:16:01 drwxrwxr-x. 2 jenkins jenkins 64 Oct 21 06:14 bin 06:16:01 -rw-r--r--. 1 jenkins jenkins 110398 Oct 21 06:15 coverage.out 06:16:01 -rw-rw-r--. 1 jenkins jenkins 936 Oct 21 06:14 Dockerfile.build 06:16:01 -rw-rw-r--. 1 jenkins jenkins 140 Oct 21 06:14 .dockerignore 06:16:01 drwxrwxr-x. 4 jenkins jenkins 48 Oct 21 06:14 example 06:16:01 drwxrwxr-x. 8 jenkins jenkins 179 Oct 21 06:14 .git 06:16:01 drwxrwxr-x. 2 jenkins jenkins 60 Oct 21 06:14 .github 06:16:01 -rw-rw-r--. 1 jenkins jenkins 138 Oct 21 06:14 .gitignore 06:16:01 -rw-r--r--. 1 jenkins jenkins 518 Oct 21 06:15 go.mod 06:16:01 -rw-r--r--. 1 jenkins jenkins 13545 Oct 21 06:15 go.sum 06:16:01 drwxrwxr-x. 15 jenkins jenkins 211 Oct 21 06:14 internal 06:16:01 -rw-rw-r--. 1 jenkins jenkins 901 Oct 21 06:14 Jenkinsfile 06:16:01 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 21 06:14 LICENSE 06:16:01 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 21 06:14 Makefile 06:16:01 drwxrwxr-x. 4 jenkins jenkins 26 Oct 21 06:14 openapi 06:16:01 drwxrwxr-x. 5 jenkins jenkins 50 Oct 21 06:14 pkg 06:16:01 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 21 06:14 README.md 06:16:01 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 21 06:14 RELEASE-NOTES.txt 06:16:01 drwxrwxr-x. 4 jenkins jenkins 54 Oct 21 06:14 snap 06:16:01 -rw-rw-r--. 1 jenkins jenkins 5 Oct 21 06:12 VERSION 06:16:01 -rw-rw-r--. 1 jenkins jenkins 222 Oct 21 06:14 version.go [Pipeline] isUnix [Pipeline] sh 06:16:01 + 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=ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 --label arch=amd64 --label version=0.0.0 . 06:16:01 Sending build context to Docker daemon 2.434MB 06:16:01 Step 1/24 : ARG BASE=golang:1.15-alpine 06:16:01 Step 2/24 : FROM ${BASE} AS builder 06:16:01 ---> 85ca44670d24 06:16:01 Step 3/24 : ARG MAKE='make build' 06:16:02 ---> Running in 5af990aabcce 06:16:02 Removing intermediate container 5af990aabcce 06:16:02 ---> 9ac6fd03631d 06:16:02 Step 4/24 : WORKDIR /device-sdk-go 06:16:02 ---> Running in 727404316dd1 06:16:02 Removing intermediate container 727404316dd1 06:16:02 ---> 716c672a39b8 06:16:02 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:16:02 ---> Running in 9f058ba15008 06:16:03 Removing intermediate container 9f058ba15008 06:16:03 ---> 51e49136cc8d 06:16:03 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:03 ---> Running in fae5d0061eca 06:16:03 Removing intermediate container fae5d0061eca 06:16:03 ---> b643b734112e 06:16:03 Step 7/24 : RUN apk add --update --no-cache make git 06:16:03 ---> Running in 7036dd7ba66f 06:16:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:16:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:16:05 8529a6b9a6be: Pull complete 06:16:05 45590311c82a: Pull complete 06:16:05 69ca0ff8b7b3: Pull complete 06:16:06 OK: 166 MiB in 39 packages 06:16:06 Removing intermediate container 7036dd7ba66f 06:16:06 ---> 1b5ebb53ba70 06:16:06 Step 8/24 : COPY . . 06:16:07 ---> 29e64b519764 06:16:07 Step 9/24 : RUN ${MAKE} 06:16:07 ---> Running in afa3469ecdac 06:16:07 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:09 209524e5b208: Pull complete 06:16:09 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:16:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:16:09 ---> 5bddaf1c2fca 06:16:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:16:12 ---> Running in fc493066e6d3 06:16:12 Removing intermediate container fc493066e6d3 06:16:12 ---> 928fbe0b10de 06:16:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:13 ---> Running in 3b52105d4829 06:16:15 Removing intermediate container 3b52105d4829 06:16:15 ---> 6ab5ed2af05b 06:16:15 Step 5/8 : RUN apk add --no-cache make git 06:16:16 ---> Running in e3bbb21c3f4f 06:16:16 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:16:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:16:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:16:18 Removing intermediate container afa3469ecdac 06:16:18 ---> 4d52bbe1e4b8 06:16:18 Step 10/24 : FROM scratch 06:16:18 ---> 06:16:18 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:16:18 ---> Running in defc350f6bcf 06:16:18 Removing intermediate container defc350f6bcf 06:16:18 ---> ec5dae03be3b 06:16:18 Step 12/24 : ENV APP_PORT=49990 06:16:18 ---> Running in fb731605101e 06:16:18 Removing intermediate container fb731605101e 06:16:18 ---> 36549d64750c 06:16:18 Step 13/24 : EXPOSE $APP_PORT 06:16:18 ---> Running in e42de28d2db3 06:16:18 Removing intermediate container e42de28d2db3 06:16:18 ---> 7a9895fbe1fb 06:16:18 Step 14/24 : WORKDIR / 06:16:18 ---> Running in 2ad7bf6bdd52 06:16:18 Removing intermediate container 2ad7bf6bdd52 06:16:18 ---> dd8b649a993c 06:16:18 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:16:19 OK: 142 MiB in 39 packages 06:16:19 ---> 72d98bf172a1 06:16:19 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:16:19 ---> bee31cba3d7d 06:16:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:16:20 ---> 2b43c6264ba2 06:16:20 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:16:20 Removing intermediate container e3bbb21c3f4f 06:16:20 ---> 49efad309b0a 06:16:20 Step 6/8 : WORKDIR /device-sdk-go 06:16:20 ---> Running in 30e419a10ed6 06:16:20 ---> d417d720812f 06:16:20 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:16:20 ---> a2f140808892 06:16:20 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:16:20 ---> Running in acdea42f8b13 06:16:20 Removing intermediate container acdea42f8b13 06:16:20 ---> 2bc2d2f64789 06:16:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:16:20 ---> Running in e626ea0fa8d2 06:16:20 Removing intermediate container e626ea0fa8d2 06:16:20 ---> 2281ce37f38e 06:16:20 Step 22/24 : LABEL arch=amd64 06:16:20 ---> Running in 2ceae2bc70b5 06:16:20 Removing intermediate container 30e419a10ed6 06:16:20 ---> e4c71beb9594 06:16:20 Step 7/8 : COPY . . 06:16:21 Removing intermediate container 2ceae2bc70b5 06:16:21 ---> 4bfcd43f9369 06:16:21 Step 23/24 : LABEL git_sha=ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 06:16:21 ---> Running in 54bf74b383a5 06:16:21 Removing intermediate container 54bf74b383a5 06:16:21 ---> d2020d28ece8 06:16:21 Step 24/24 : LABEL version=0.0.0 06:16:21 ---> Running in 8fc285b810d6 06:16:21 Removing intermediate container 8fc285b810d6 06:16:21 ---> f5d77fcf7481 06:16:21 [Warning] One or more build-args [ARCH] were not consumed 06:16:21 Successfully built f5d77fcf7481 06:16:21 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] } 06:16:22 ---> 562ddffdb0ca 06:16:22 Step 8/8 : RUN go mod download 06:16:22 ---> Running in affeee44746d [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:16:44 Removing intermediate container affeee44746d 06:16:44 ---> 17abdab8bcb1 06:16:44 Successfully built 17abdab8bcb1 06:16:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:16:45 + docker inspect -f . ci-base-image-arm64 06:16:45 . [Pipeline] withDockerContainer 06:16:46 prd-ubuntu18.04-docker-arm64-4c-16g-7423 does not seem to be running inside a container 06:16:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:16:48 $ docker top db3a22cc7999aeae1614f95840dfb10b7a14130c61f412028d0c3ac929d5cca6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:49 + go version 06:16:49 go version go1.15.2 linux/arm64 [Pipeline] } 06:16:49 $ docker stop --time=1 db3a22cc7999aeae1614f95840dfb10b7a14130c61f412028d0c3ac929d5cca6 06:16:51 $ docker rm -f db3a22cc7999aeae1614f95840dfb10b7a14130c61f412028d0c3ac929d5cca6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:16:53 + docker inspect -f . ci-base-image-arm64 06:16:53 . [Pipeline] withDockerContainer 06:16:53 prd-ubuntu18.04-docker-arm64-4c-16g-7423 does not seem to be running inside a container 06:16:53 $ 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:16:55 $ docker top a75ecd132ae3628712263916c21e652e419808ee5bfc026d046b5711436311ee -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:57 + make test 06:16:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:17:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:18:06 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:18:06 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:18:06 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:18:06 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.142s coverage: 21.6% of statements 06:18:06 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.475s coverage: 97.1% of statements 06:18:33 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.125s coverage: 9.4% of statements 06:18:33 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.114s coverage: 21.9% of statements 06:18:33 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:18:33 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.624s coverage: 42.6% of statements 06:18:33 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:18:33 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.766s coverage: 68.9% of statements 06:18:33 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:18:33 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:18:33 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:18:33 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:18:33 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.212s coverage: 52.6% of statements 06:18:33 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:18:33 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:18:33 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:18:33 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.662s coverage: 68.9% of statements 06:18:33 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:18:33 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:18:33 GO111MODULE=on go vet ./... 06:19:13 gofmt -l . 06:19:13 [ "`gofmt -l .`" = "" ] 06:19:13 ./bin/test-attribution-txt.sh 06:19:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:19:13 Warning: overwriting stash ‘coverage-report’ 06:19:14 Stashed 1 file(s) [Pipeline] } 06:19:14 $ docker stop --time=1 a75ecd132ae3628712263916c21e652e419808ee5bfc026d046b5711436311ee 06:19:16 $ docker rm -f a75ecd132ae3628712263916c21e652e419808ee5bfc026d046b5711436311ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:19:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:19:18 + ls -al . 06:19:18 total 224 06:19:18 drwxrwxr-x 10 jenkins jenkins 4096 Oct 21 06:19 . 06:19:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 06:15 .. 06:19:18 -rw-rw-r-- 1 jenkins jenkins 140 Oct 21 06:15 .dockerignore 06:19:18 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 06:15 .git 06:19:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 06:15 .github 06:19:18 -rw-rw-r-- 1 jenkins jenkins 138 Oct 21 06:15 .gitignore 06:19:18 -rw-rw-r-- 1 jenkins jenkins 936 Oct 21 06:15 Dockerfile.build 06:19:18 -rw-rw-r-- 1 jenkins jenkins 901 Oct 21 06:15 Jenkinsfile 06:19:18 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 21 06:15 LICENSE 06:19:18 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 21 06:15 Makefile 06:19:18 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 21 06:15 README.md 06:19:18 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 21 06:15 RELEASE-NOTES.txt 06:19:18 -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 06:12 VERSION 06:19:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 06:15 bin 06:19:18 -rw-r--r-- 1 jenkins jenkins 110398 Oct 21 06:18 coverage.out 06:19:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 06:15 example 06:19:18 -rw-r--r-- 1 jenkins jenkins 518 Oct 21 06:19 go.mod 06:19:18 -rw-r--r-- 1 jenkins jenkins 13545 Oct 21 06:19 go.sum 06:19:18 drwxrwxr-x 15 jenkins jenkins 4096 Oct 21 06:15 internal 06:19:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 06:15 openapi 06:19:18 drwxrwxr-x 5 jenkins jenkins 4096 Oct 21 06:15 pkg 06:19:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 06:15 snap 06:19:18 -rw-rw-r-- 1 jenkins jenkins 222 Oct 21 06:15 version.go [Pipeline] isUnix [Pipeline] sh 06:19: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=ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 --label arch=arm64 --label version=0.0.0 . 06:19:19 Sending build context to Docker daemon 2.434MB 06:19:19 Step 1/24 : ARG BASE=golang:1.15-alpine 06:19:19 Step 2/24 : FROM ${BASE} AS builder 06:19:19 ---> 17abdab8bcb1 06:19:19 Step 3/24 : ARG MAKE='make build' 06:19:19 ---> Running in 8a07bf088c95 06:19:20 Removing intermediate container 8a07bf088c95 06:19:20 ---> f2e44e17d601 06:19:20 Step 4/24 : WORKDIR /device-sdk-go 06:19:20 ---> Running in 27c30fd8aee6 06:19:20 Removing intermediate container 27c30fd8aee6 06:19:20 ---> 5dda28ba7da1 06:19:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:19:20 ---> Running in ca0e4fea29ca 06:19:21 Removing intermediate container ca0e4fea29ca 06:19:21 ---> adc20713294d 06:19:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:19:21 ---> Running in ec79928add42 06:19:24 Removing intermediate container ec79928add42 06:19:24 ---> d7b32c1f80f7 06:19:24 Step 7/24 : RUN apk add --update --no-cache make git 06:19:24 ---> Running in 37bb10ca071c 06:19:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:19:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:19:27 OK: 142 MiB in 39 packages 06:19:28 Removing intermediate container 37bb10ca071c 06:19:28 ---> 358c0dc62a09 06:19:28 Step 8/24 : COPY . . 06:19:29 ---> f85cc098541c 06:19:29 Step 9/24 : RUN ${MAKE} 06:19:29 ---> Running in 88848e7b080c 06:19:30 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:19:57 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:19:59 Removing intermediate container 88848e7b080c 06:19:59 ---> 17ff1ea236fc 06:19:59 Step 10/24 : FROM scratch 06:19:59 ---> 06:19:59 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:19:59 ---> Running in 1d18e1dd4598 06:19:59 Removing intermediate container 1d18e1dd4598 06:19:59 ---> 1c655a98c92b 06:19:59 Step 12/24 : ENV APP_PORT=49990 06:19:59 ---> Running in ea9e29c73c9b 06:20:00 Removing intermediate container ea9e29c73c9b 06:20:00 ---> 0dc66479e1ec 06:20:00 Step 13/24 : EXPOSE $APP_PORT 06:20:00 ---> Running in cccbaf3eca38 06:20:00 Removing intermediate container cccbaf3eca38 06:20:00 ---> 768cbe252db0 06:20:00 Step 14/24 : WORKDIR / 06:20:01 ---> Running in 79f5a00cc3b4 06:20:01 Removing intermediate container 79f5a00cc3b4 06:20:01 ---> b1acc904139d 06:20:01 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:20:02 ---> b494d89c0a8a 06:20:02 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:20:03 ---> bb5d5006efe8 06:20:03 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:20:04 ---> 0ce432582139 06:20:04 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:20:04 ---> 0b40efef800f 06:20:04 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:20:05 ---> ce845553c518 06:20:05 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:20:05 ---> Running in 83af48bd4028 06:20:06 Removing intermediate container 83af48bd4028 06:20:06 ---> 79079adf5b0a 06:20:06 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:20:06 ---> Running in cf9aa2264e46 06:20:06 Removing intermediate container cf9aa2264e46 06:20:06 ---> ac07bb00c98e 06:20:06 Step 22/24 : LABEL arch=arm64 06:20:06 ---> Running in ccc67b2fadc2 06:20:07 Removing intermediate container ccc67b2fadc2 06:20:07 ---> bc40ad496e03 06:20:07 Step 23/24 : LABEL git_sha=ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 06:20:07 ---> Running in 4900cda3014c 06:20:08 Removing intermediate container 4900cda3014c 06:20:08 ---> 67884315ea2e 06:20:08 Step 24/24 : LABEL version=0.0.0 06:20:08 ---> Running in 05b062be970e 06:20:08 Removing intermediate container 05b062be970e 06:20:08 ---> c3aae36a5ca9 06:20:08 [Warning] One or more build-args [ARCH] were not consumed 06:20:08 Successfully built c3aae36a5ca9 06:20:08 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:20:11 provisioning config files... 06:20:11 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/config7284430909545504096tmp [Pipeline] { [Pipeline] sh 06:20:12 + set +x 06:20:12 + curl -s https://codecov.io/bash 06:20:12 + bash -s -- 06:20:12 06:20:12 _____ _ 06:20:12 / ____| | | 06:20:12 | | ___ __| | ___ ___ _____ __ 06:20:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:20:12 | |___| (_) | (_| | __/ (_| (_) \ V / 06:20:12 \_____\___/ \__,_|\___|\___\___/ \_/ 06:20:12 Bash-20201009-048fee3 06:20:12 06:20:12 06:20:12 ==> Jenkins CI detected. 06:20:12 project root: . 06:20:12 --> token set from env 06:20:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:20:12 ==> Running gcov in . (disable via -X gcov) 06:20:12 ==> Python coveragepy not found 06:20:12 ==> Searching for coverage reports in: 06:20:12 + . 06:20:12 -> Found 1 reports 06:20:12 ==> Detecting git/mercurial file structure 06:20:12 ==> Reading reports 06:20:12 + ./coverage.out bytes=110398 06:20:12 ==> Appending adjustments 06:20:12 https://docs.codecov.io/docs/fixing-reports 06:20:13 + Found adjustments 06:20:13 ==> Gzipping contents 06:20:13 ==> Uploading reports 06:20:13 url: https://codecov.io 06:20:13 query: branch=PR-638&commit=ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-638%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=638&job=&cmd_args= 06:20:13 -> Pinging Codecov 06:20:13 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-638&commit=ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-638%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=638&job=&cmd_args= 06:20:13 -> Uploading to 06:20:13 06:20:13 % Total % Received % Xferd Average Speed Time Time Time Current 06:20:13 Dload Upload Total Spent Left Speed 06:20:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:20:13 X> Failed to upload 06:20:13 ==> Uploading to Codecov 06:20:13 % Total % Received % Xferd Average Speed Time Time Time Current 06:20:13 Dload Upload Total Spent Left Speed 06:20:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19132 0 0 100 19022 0 32881 --:--:-- --:--:-- --:--:-- 32853 100 19132 100 110 100 19022 190 32869 --:--:-- --:--:-- --:--:-- 32853 06:20:13 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 [Pipeline] } 06:20:13 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:20:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:20:18 ---> package-listing.sh 06:20:18 ++ facter osfamily 06:20:18 ++ tr '[:upper:]' '[:lower:]' 06:20:18 + OS_FAMILY=redhat 06:20:18 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-638 06:20:18 + START_PACKAGES=/tmp/packages_start.txt 06:20:18 + END_PACKAGES=/tmp/packages_end.txt 06:20:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:20:18 + PACKAGES=/tmp/packages_start.txt 06:20:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-638 ']' 06:20:18 + PACKAGES=/tmp/packages_end.txt 06:20:18 + case "${OS_FAMILY}" in 06:20:18 + rpm -qa 06:20:18 + sort 06:20:22 + '[' -f /tmp/packages_start.txt ']' 06:20:22 + '[' -f /tmp/packages_end.txt ']' 06:20:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:20:22 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-638 ']' 06:20:22 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-638/archives/ 06:20:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-638/archives/ [Pipeline] echo 06:20:22 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-638/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:20:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:20:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:20:24 06:20:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:20:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:20:25 alpine: Pulling from edgex-lftools-log-publisher 06:20:25 df20fa9351a1: Pulling fs layer 06:20:25 36b3adc4ff6f: Pulling fs layer 06:20:25 8ad3a11d3b57: Pulling fs layer 06:20:25 46f8f816bc3b: Pulling fs layer 06:20:25 93b61091891f: Pulling fs layer 06:20:25 93b9cdb0e59b: Pulling fs layer 06:20:25 5e14af77c1be: Pulling fs layer 06:20:25 01666e4c0597: Pulling fs layer 06:20:25 aa168da1d23b: Pulling fs layer 06:20:25 46f8f816bc3b: Waiting 06:20:25 93b61091891f: Waiting 06:20:25 93b9cdb0e59b: Waiting 06:20:25 5e14af77c1be: Waiting 06:20:25 01666e4c0597: Waiting 06:20:25 aa168da1d23b: Waiting 06:20:25 36b3adc4ff6f: Verifying Checksum 06:20:25 36b3adc4ff6f: Download complete 06:20:25 46f8f816bc3b: Download complete 06:20:25 df20fa9351a1: Verifying Checksum 06:20:25 df20fa9351a1: Download complete 06:20:25 93b9cdb0e59b: Verifying Checksum 06:20:25 93b9cdb0e59b: Download complete 06:20:25 5e14af77c1be: Verifying Checksum 06:20:25 5e14af77c1be: Download complete 06:20:25 01666e4c0597: Verifying Checksum 06:20:25 01666e4c0597: Download complete 06:20:25 93b61091891f: Verifying Checksum 06:20:25 93b61091891f: Download complete 06:20:25 df20fa9351a1: Pull complete 06:20:25 8ad3a11d3b57: Verifying Checksum 06:20:25 8ad3a11d3b57: Download complete 06:20:25 36b3adc4ff6f: Pull complete 06:20:26 8ad3a11d3b57: Pull complete 06:20:26 46f8f816bc3b: Pull complete 06:20:27 93b61091891f: Pull complete 06:20:27 93b9cdb0e59b: Pull complete 06:20:27 5e14af77c1be: Pull complete 06:20:27 01666e4c0597: Pull complete 06:20:28 aa168da1d23b: Verifying Checksum 06:20:28 aa168da1d23b: Download complete 06:20:37 aa168da1d23b: Pull complete 06:20:37 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:20:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:20:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:20:37 prd-centos7-docker-4c-2g-7418 does not seem to be running inside a container 06:20:37 $ 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-638/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-638 -v /w/workspace/dgexfoundry_device-sdk-go_PR-638:/w/workspace/dgexfoundry_device-sdk-go_PR-638:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-638@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:20:40 $ docker top 5475359addbbdaac3951b2cd6734532d4ee9604c743c4a7785897cf8ce11782b -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:41 + touch /tmp/pre-build-complete [Pipeline] sh 06:20:41 + mkdir -p /var/log/sa [Pipeline] sh 06:20:41 + ls /var/log/sa-host 06:20:41 + sadf -c /var/log/sa-host/sa05 06:20:41 file_magic: OK 06:20:41 HZ: Using current value: 100 06:20:41 file_header: OK 06:20:41 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:20:41 Statistics: 06:20:41 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:20:41 File successfully converted to sysstat format version 12.2.1 06:20:41 + sadf -c /var/log/sa-host/sa21 06:20:41 file_magic: OK 06:20:41 HZ: Using current value: 100 06:20:41 file_header: OK 06:20:41 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:20:41 Statistics: 06:20:41 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:20:41 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:20:42 provisioning config files... 06:20:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/config8042787513152782723tmp [Pipeline] { [Pipeline] echo 06:20:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:20:42 ---> create-netrc.sh [Pipeline] } 06:20:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:20:42 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:20:43 ---> python-tools-install.sh [Pipeline] echo 06:20:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:20:43 ---> sudo-logs.sh 06:20:43 Archiving 'sudo' log.. [Pipeline] echo 06:20:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:20:44 ---> job-cost.sh 06:20:44 lf-activate-venv: SKIPPING 06:20:44 INFO: No Stack... 06:20:45 INFO: Retrieving Pricing Info for: v1-standard-2 06:20:45 INFO: Archiving Costs [Pipeline] echo 06:20:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:20:46 ---> logs-deploy.sh 06:20:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-638/1 06:20:46 INFO: archiving workspace using pattern(s): 06:20:48 Archives upload complete. 06:20:48 INFO: archiving logs to Nexus