Pull request #627 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 497e2f194a1f22d65b0a6a02dce5da02c75df54e+d41dfb76324865f87a7aea80ddd0df968928e1d8 (fd2a897cd07c67ec437d3913c29e9cbb3ae09056) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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-5841 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [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-627 # 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/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d41dfb76324865f87a7aea80ddd0df968928e1d8 into PR head commit 497e2f194a1f22d65b0a6a02dce5da02c75df54e Merge succeeded, producing 497e2f194a1f22d65b0a6a02dce5da02c75df54e Checking out Revision 497e2f194a1f22d65b0a6a02dce5da02c75df54e (PR-627) > git config core.sparsecheckout # timeout=10 > git checkout -f 497e2f194a1f22d65b0a6a02dce5da02c75df54e # 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 d41dfb76324865f87a7aea80ddd0df968928e1d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 497e2f194a1f22d65b0a6a02dce5da02c75df54e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:14:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 49b28ccd6e709240114db596a1dd1b52e7ad0695 # timeout=10 [Pipeline] withCredentials 09:14:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:14:08 ========================================================= 09:14:08 EdgeX Global Pipelines Version Info 09:14:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:14:10 ------------------- 09:14:10 stable info: 09:14:10 ------------------- 09:14:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:14:10 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 09:14:10 Message: update stable to v1.0.144 09:14:10 ------------------- 09:14:10 experimental info: 09:14:10 ------------------- 09:14:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:14:10 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 09:14:10 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:14:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:14:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:14:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:14:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:14:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:14:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:14:11 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:14:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:14:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:14:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:14:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:14:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:14:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:14:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:14:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:14:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:14:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:14:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:14:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:14:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:14:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:14:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:14:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:14:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:14:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:14:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-627 [Pipeline] echo 09:14:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-627 [Pipeline] echo 09:14:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-627 [Pipeline] echo 09:14:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 497e2f194a1f22d65b0a6a02dce5da02c75df54e [Pipeline] echo 09:14:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 497e2f1 [Pipeline] echo 09:14:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:14:15 + git log --format=format:%s -1 497e2f194a1f22d65b0a6a02dce5da02c75df54e [Pipeline] echo 09:14:15 GIT_COMMIT: 497e2f194a1f22d65b0a6a02dce5da02c75df54e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo 09:14:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:14:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:14:16 09:14:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:14:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:14:16 latest: Pulling from edgex-devops/git-semver 09:14:16 31603596830f: Pulling fs layer 09:14:16 2a8b12db71e7: Pulling fs layer 09:14:16 6ca5941a6612: Pulling fs layer 09:14:16 ecc8261a40a4: Pulling fs layer 09:14:16 2a8b12db71e7: Verifying Checksum 09:14:16 2a8b12db71e7: Download complete 09:14:16 31603596830f: Verifying Checksum 09:14:16 31603596830f: Download complete 09:14:16 ecc8261a40a4: Verifying Checksum 09:14:16 ecc8261a40a4: Download complete 09:14:16 6ca5941a6612: Verifying Checksum 09:14:16 6ca5941a6612: Download complete 09:14:16 31603596830f: Pull complete 09:14:17 2a8b12db71e7: Pull complete 09:14:17 6ca5941a6612: Pull complete 09:14:18 ecc8261a40a4: Pull complete 09:14:18 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:14:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:14:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:14:18 prd-centos7-docker-4c-2g-5841 does not seem to be running inside a container 09:14:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-627 -v /w/workspace/dgexfoundry_device-sdk-go_PR-627:/w/workspace/dgexfoundry_device-sdk-go_PR-627:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-627@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:14:20 $ docker top ea5a5396698dca8d268e56b636ca899851e37d0a2d4460376b79cefbd6db9fab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:14:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:21 [ssh-agent] Looking for ssh-agent implementation... 09:14:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:21 $ docker exec ea5a5396698dca8d268e56b636ca899851e37d0a2d4460376b79cefbd6db9fab ssh-agent 09:14:21 SSH_AUTH_SOCK=/tmp/ssh-4ByyQuWZfMCy/agent.11 09:14:21 SSH_AGENT_PID=16 09:14:21 Running ssh-add (command line suppressed) 09:14:21 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_3224753423083072711.key (/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_3224753423083072711.key) 09:14:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:22 + git tag --points-at HEAD [Pipeline] } 09:14:22 $ docker exec --env ******** --env ******** ea5a5396698dca8d268e56b636ca899851e37d0a2d4460376b79cefbd6db9fab ssh-agent -k 09:14:22 unset SSH_AUTH_SOCK; 09:14:22 unset SSH_AGENT_PID; 09:14:22 echo Agent pid 16 killed; 09:14:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:14:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:22 [ssh-agent] Looking for ssh-agent implementation... 09:14:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:22 $ docker exec ea5a5396698dca8d268e56b636ca899851e37d0a2d4460376b79cefbd6db9fab ssh-agent 09:14:22 SSH_AUTH_SOCK=/tmp/ssh-SAGD04eMgPv6/agent.44 09:14:22 SSH_AGENT_PID=49 09:14:22 Running ssh-add (command line suppressed) 09:14:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_22557923558235837.key (/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_22557923558235837.key) 09:14:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:23 + git semver init 09:14:23 # -> Open(): unable to determine branch for HEAD 09:14:23 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-627/.git 09:14:23 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-627 09:14:23 # $SEMVER_REMOTE_NAME = origin 09:14:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:14:23 # $SEMVER_USER_NAME = edgex-jenkins 09:14:23 # $SEMVER_BRANCH = PR-627 09:14:23 # $SEMVER_TEMP = /tmp/semver-116194951 09:14:23 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:14:23 # '/tmp/semver-116194951' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-627/.semver' 09:14:23 # -> Force: false 09:14:23 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-627/.semver [Pipeline] } 09:14:23 $ docker exec --env ******** --env ******** ea5a5396698dca8d268e56b636ca899851e37d0a2d4460376b79cefbd6db9fab ssh-agent -k 09:14:23 unset SSH_AUTH_SOCK; 09:14:23 unset SSH_AGENT_PID; 09:14:23 echo Agent pid 49 killed; 09:14:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:14:24 + git semver [Pipeline] } 09:14:24 $ docker stop --time=1 ea5a5396698dca8d268e56b636ca899851e37d0a2d4460376b79cefbd6db9fab 09:14:25 $ docker rm -f ea5a5396698dca8d268e56b636ca899851e37d0a2d4460376b79cefbd6db9fab [Pipeline] // withDockerContainer [Pipeline] sh 09:14:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:14:27 Stashed 1 file(s) [Pipeline] echo 09:14:27 [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 09:14:42 Still waiting to schedule task 09:14:42 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:14:42 Still waiting to schedule task 09:14:42 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 09:17:03 Running on prd-centos7-docker-4c-2g-5842 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [Pipeline] { [Pipeline] ws 09:17:03 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 09:17:05 using credential edgex-jenkins-ssh 09:17:05 Cloning the remote Git repository 09:17:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:17:06 > git init /w/workspace/device-sdk-go/6 # timeout=10 09:17:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:17:06 > git --version # timeout=10 09:17:06 > git --version # 'git version 2.16.5' 09:17:06 using GIT_SSH to set credentials SSH Credentials for GitHub 09:17:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:17:07 Merging remotes/origin/master commit d41dfb76324865f87a7aea80ddd0df968928e1d8 into PR head commit 497e2f194a1f22d65b0a6a02dce5da02c75df54e 09:17:07 Merge succeeded, producing 497e2f194a1f22d65b0a6a02dce5da02c75df54e 09:17:07 Checking out Revision 497e2f194a1f22d65b0a6a02dce5da02c75df54e (PR-627) 09:17:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:17:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:17:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:17:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:17:06 using GIT_SSH to set credentials SSH Credentials for GitHub 09:17:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:17:07 > git config core.sparsecheckout # timeout=10 09:17:07 > git checkout -f 497e2f194a1f22d65b0a6a02dce5da02c75df54e # timeout=10 09:17:07 > git remote # timeout=10 09:17:07 > git config --get remote.origin.url # timeout=10 09:17:07 using GIT_SSH to set credentials SSH Credentials for GitHub 09:17:07 > git merge d41dfb76324865f87a7aea80ddd0df968928e1d8 # timeout=10 09:17:07 > git rev-parse HEAD^{commit} # timeout=10 09:17:07 > git config core.sparsecheckout # timeout=10 09:17:07 > git checkout -f 497e2f194a1f22d65b0a6a02dce5da02c75df54e # timeout=10 09:17:10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:17:12 ========================================================= 09:17:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:17:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:17:12 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 09:17:12 Sending build context to Docker daemon 2.319MB 09:17:12 Step 1/8 : ARG BASE=golang:1.15-alpine 09:17:12 Step 2/8 : FROM ${BASE} 09:17:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:17:13 df20fa9351a1: Pulling fs layer 09:17:13 ed8968b2872e: Pulling fs layer 09:17:13 a92cc7c5fd73: Pulling fs layer 09:17:13 e871e8e8d7a9: Pulling fs layer 09:17:13 e73272ec9a57: Pulling fs layer 09:17:13 1e910a182e73: Pulling fs layer 09:17:13 4e634b169226: Pulling fs layer 09:17:13 e73272ec9a57: Waiting 09:17:13 1e910a182e73: Waiting 09:17:13 4e634b169226: Waiting 09:17:13 e871e8e8d7a9: Waiting 09:17:13 a92cc7c5fd73: Verifying Checksum 09:17:13 a92cc7c5fd73: Download complete 09:17:13 ed8968b2872e: Verifying Checksum 09:17:13 ed8968b2872e: Download complete 09:17:13 e73272ec9a57: Verifying Checksum 09:17:13 e73272ec9a57: Download complete 09:17:13 1e910a182e73: Verifying Checksum 09:17:13 1e910a182e73: Download complete 09:17:13 df20fa9351a1: Verifying Checksum 09:17:13 df20fa9351a1: Download complete 09:17:13 df20fa9351a1: Pull complete 09:17:13 ed8968b2872e: Pull complete 09:17:13 a92cc7c5fd73: Pull complete 09:17:15 4e634b169226: Verifying Checksum 09:17:15 4e634b169226: Download complete 09:17:16 e871e8e8d7a9: Verifying Checksum 09:17:16 e871e8e8d7a9: Download complete 09:17:21 e871e8e8d7a9: Pull complete 09:17:21 e73272ec9a57: Pull complete 09:17:21 1e910a182e73: Pull complete 09:17:26 4e634b169226: Pull complete 09:17:26 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:17:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:17:26 ---> f7629b54cfaa 09:17:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:17:26 ---> Running in 9e5ec912e101 09:17:26 Removing intermediate container 9e5ec912e101 09:17:26 ---> dfed04c35594 09:17:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:17:27 ---> Running in bfaf42b233f5 09:17:28 Removing intermediate container bfaf42b233f5 09:17:28 ---> c2057a27448b 09:17:28 Step 5/8 : RUN apk add --no-cache make git 09:17:28 ---> Running in f69f7206ffc6 09:17:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:17:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:17:30 OK: 166 MiB in 39 packages 09:17:30 Removing intermediate container f69f7206ffc6 09:17:30 ---> 021e6b24dfbb 09:17:30 Step 6/8 : WORKDIR /device-sdk-go 09:17:30 ---> Running in ea0bbe27d826 09:17:30 Removing intermediate container ea0bbe27d826 09:17:30 ---> 85a185475ca8 09:17:30 Step 7/8 : COPY . . 09:17:32 ---> 1bb4b78dea36 09:17:32 Step 8/8 : RUN go mod download 09:17:32 ---> Running in 076ae52e81d6 09:17:50 Removing intermediate container 076ae52e81d6 09:17:50 ---> a292c725cbb8 09:17:50 Successfully built a292c725cbb8 09:17:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:17:51 + docker inspect -f . ci-base-image-x86_64 09:17:51 . [Pipeline] withDockerContainer 09:17:51 prd-centos7-docker-4c-2g-5842 does not seem to be running inside a container 09:17:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:17:51 $ docker top 55e5cc3c7a549b446d6fd81283219cbb3568e9634610057e50c018ee221ca912 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:52 + go version 09:17:52 go version go1.15.2 linux/amd64 [Pipeline] } 09:17:52 $ docker stop --time=1 55e5cc3c7a549b446d6fd81283219cbb3568e9634610057e50c018ee221ca912 09:17:53 $ docker rm -f 55e5cc3c7a549b446d6fd81283219cbb3568e9634610057e50c018ee221ca912 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:17:54 + docker inspect -f . ci-base-image-x86_64 09:17:54 . [Pipeline] withDockerContainer 09:17:54 prd-centos7-docker-4c-2g-5842 does not seem to be running inside a container 09:17:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:17:55 $ docker top 1139e6d346bf9a779408ffed86963c419d2688cb95494bcd5a187c7566bdc311 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:56 + make test 09:17:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:18:02 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:18:17 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:18:17 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:18:17 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:18:17 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.049s coverage: 21.6% of statements 09:18:17 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.419s coverage: 97.1% of statements 09:18:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5843 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [Pipeline] { [Pipeline] ws 09:18:36 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 09:18:41 using credential edgex-jenkins-ssh 09:18:42 Cloning the remote Git repository 09:18:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:18:42 > git init /w/workspace/device-sdk-go/6 # timeout=10 09:18:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:18:42 > git --version # timeout=10 09:18:42 > git --version # 'git version 2.17.1' 09:18:42 using GIT_SSH to set credentials SSH Credentials for GitHub 09:18:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:18:44 Merging remotes/origin/master commit d41dfb76324865f87a7aea80ddd0df968928e1d8 into PR head commit 497e2f194a1f22d65b0a6a02dce5da02c75df54e 09:18:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:18:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:18:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:18:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:18:43 using GIT_SSH to set credentials SSH Credentials for GitHub 09:18:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:18:44 > git config core.sparsecheckout # timeout=10 09:18:44 > git checkout -f 497e2f194a1f22d65b0a6a02dce5da02c75df54e # timeout=10 09:18:44 > git remote # timeout=10 09:18:44 Merge succeeded, producing 497e2f194a1f22d65b0a6a02dce5da02c75df54e 09:18:44 Checking out Revision 497e2f194a1f22d65b0a6a02dce5da02c75df54e (PR-627) 09:18:44 > git config --get remote.origin.url # timeout=10 09:18:44 using GIT_SSH to set credentials SSH Credentials for GitHub 09:18:44 > git merge d41dfb76324865f87a7aea80ddd0df968928e1d8 # timeout=10 09:18:44 > git rev-parse HEAD^{commit} # timeout=10 09:18:44 > git config core.sparsecheckout # timeout=10 09:18:44 > git checkout -f 497e2f194a1f22d65b0a6a02dce5da02c75df54e # timeout=10 09:18:48 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:18:49 ========================================================= 09:18:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:18:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:18:49 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.068s coverage: 9.4% of statements 09:18:49 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 21.9% of statements 09:18:49 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:18:49 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.224s coverage: 42.6% of statements 09:18:49 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:18:49 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.242s coverage: 68.9% of statements 09:18:49 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:18:49 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:18:49 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:18:49 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:18:49 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.076s coverage: 52.6% of statements 09:18:49 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:18:49 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:18:49 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:18:49 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.518s coverage: 68.9% of statements 09:18:49 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:18:49 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:18:49 GO111MODULE=on go vet ./... 09:18: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 . 09:18:51 Sending build context to Docker daemon 2.318MB 09:18:51 Step 1/8 : ARG BASE=golang:1.15-alpine 09:18:51 Step 2/8 : FROM ${BASE} 09:18:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:18:52 b538f80385f9: Pulling fs layer 09:18:52 74f711af9a0d: Pulling fs layer 09:18:52 99f96fe45779: Pulling fs layer 09:18:52 8529a6b9a6be: Pulling fs layer 09:18:52 45590311c82a: Pulling fs layer 09:18:52 8529a6b9a6be: Waiting 09:18:52 69ca0ff8b7b3: Pulling fs layer 09:18:52 209524e5b208: Pulling fs layer 09:18:52 45590311c82a: Waiting 09:18:52 69ca0ff8b7b3: Waiting 09:18:52 209524e5b208: Waiting 09:18:52 99f96fe45779: Verifying Checksum 09:18:52 99f96fe45779: Download complete 09:18:52 74f711af9a0d: Verifying Checksum 09:18:52 74f711af9a0d: Download complete 09:18:52 45590311c82a: Download complete 09:18:52 69ca0ff8b7b3: Verifying Checksum 09:18:52 69ca0ff8b7b3: Download complete 09:18:52 b538f80385f9: Verifying Checksum 09:18:52 b538f80385f9: Download complete 09:18:53 b538f80385f9: Pull complete 09:18:53 74f711af9a0d: Pull complete 09:18:54 99f96fe45779: Pull complete 09:18:55 209524e5b208: Verifying Checksum 09:18:55 209524e5b208: Download complete 09:18:56 8529a6b9a6be: Download complete 09:18:56 gofmt -l . 09:18:56 [ "`gofmt -l .`" = "" ] 09:18:56 ./bin/test-attribution-txt.sh 09:18:56 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:18:57 Stashed 1 file(s) [Pipeline] } 09:18:57 $ docker stop --time=1 1139e6d346bf9a779408ffed86963c419d2688cb95494bcd5a187c7566bdc311 09:18:59 $ docker rm -f 1139e6d346bf9a779408ffed86963c419d2688cb95494bcd5a187c7566bdc311 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:19:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:19:01 + ls -al . 09:19:01 total 188 09:19:01 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 09:18 . 09:19:01 drwxrwxr-x. 4 jenkins jenkins 28 Oct 16 09:17 .. 09:19:01 drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 09:17 bin 09:19:01 -rw-r--r--. 1 jenkins jenkins 110398 Oct 16 09:18 coverage.out 09:19:01 -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 09:17 Dockerfile.build 09:19:01 -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 09:17 .dockerignore 09:19:01 drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 09:17 example 09:19:01 drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 09:17 .git 09:19:01 drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 09:17 .github 09:19:01 -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 09:17 .gitignore 09:19:01 -rw-r--r--. 1 jenkins jenkins 517 Oct 16 09:18 go.mod 09:19:01 -rw-r--r--. 1 jenkins jenkins 13658 Oct 16 09:18 go.sum 09:19:01 drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 09:17 internal 09:19:01 -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 09:17 Jenkinsfile 09:19:01 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 09:17 LICENSE 09:19:01 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 09:17 Makefile 09:19:01 drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 09:17 openapi 09:19:01 drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 09:17 pkg 09:19:01 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 09:17 README.md 09:19:01 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 09:17 RELEASE-NOTES.txt 09:19:01 drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 09:17 snap 09:19:01 -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 09:14 VERSION 09:19:01 -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 09:17 version.go [Pipeline] isUnix [Pipeline] sh 09:19: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=497e2f194a1f22d65b0a6a02dce5da02c75df54e --label arch=amd64 --label version=0.0.0 . 09:19:01 Sending build context to Docker daemon 2.43MB 09:19:01 Step 1/24 : ARG BASE=golang:1.15-alpine 09:19:01 Step 2/24 : FROM ${BASE} AS builder 09:19:01 ---> a292c725cbb8 09:19:01 Step 3/24 : ARG MAKE='make build' 09:19:02 ---> Running in f2b555bc1180 09:19:02 Removing intermediate container f2b555bc1180 09:19:02 ---> 53587f50dd49 09:19:02 Step 4/24 : WORKDIR /device-sdk-go 09:19:02 ---> Running in 8d121d52b6c7 09:19:02 Removing intermediate container 8d121d52b6c7 09:19:02 ---> c39ec9c3ca01 09:19:02 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:19:02 ---> Running in c7a3b289cda0 09:19:03 Removing intermediate container c7a3b289cda0 09:19:03 ---> 5dfc8ff51173 09:19:03 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:19:03 ---> Running in d3c6f383a96b 09:19:04 Removing intermediate container d3c6f383a96b 09:19:04 ---> 8b96d5ba5607 09:19:04 Step 7/24 : RUN apk add --update --no-cache make git 09:19:04 ---> Running in 01aaf42888ef 09:19:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:19:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:19:05 OK: 166 MiB in 39 packages 09:19:06 Removing intermediate container 01aaf42888ef 09:19:06 ---> b93f232b0438 09:19:06 Step 8/24 : COPY . . 09:19:06 8529a6b9a6be: Pull complete 09:19:06 45590311c82a: Pull complete 09:19:07 69ca0ff8b7b3: Pull complete 09:19:07 ---> 9e17f0861c3f 09:19:07 Step 9/24 : RUN ${MAKE} 09:19:07 ---> Running in 4f0bab11e8b4 09:19: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 09:19:11 209524e5b208: Pull complete 09:19:11 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:19:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:19:11 ---> 5bddaf1c2fca 09:19:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:19:13 ---> Running in 03a4421cb3a8 09:19:13 Removing intermediate container 03a4421cb3a8 09:19:13 ---> 244151807b4d 09:19:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:19:14 ---> Running in ae684d094ee6 09:19:16 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:19:16 Removing intermediate container 4f0bab11e8b4 09:19:16 ---> 7ee16485f3f5 09:19:16 Step 10/24 : FROM scratch 09:19:16 ---> 09:19:16 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:19:16 Removing intermediate container ae684d094ee6 09:19:16 ---> 418e35400776 09:19:16 Step 5/8 : RUN apk add --no-cache make git 09:19:16 ---> Running in 7ba2a0ae0e54 09:19:17 ---> Running in 8e7a7ad868f9 09:19:17 Removing intermediate container 8e7a7ad868f9 09:19:17 ---> f384255bf249 09:19:17 Step 12/24 : ENV APP_PORT=49990 09:19:17 ---> Running in 42d01c35a812 09:19:17 Removing intermediate container 42d01c35a812 09:19:17 ---> 7a86be683271 09:19:17 Step 13/24 : EXPOSE $APP_PORT 09:19:17 ---> Running in ed47aa99c94e 09:19:17 Removing intermediate container ed47aa99c94e 09:19:17 ---> d6b25ce25207 09:19:17 Step 14/24 : WORKDIR / 09:19:17 ---> Running in 7aa9d9a431c7 09:19:17 Removing intermediate container 7aa9d9a431c7 09:19:17 ---> 70951c10c7db 09:19:17 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:19:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:19:18 ---> 67ff0053f6f8 09:19:18 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:19:18 ---> 416645ddfbe1 09:19:18 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:19:18 ---> 264f8044be8c 09:19:18 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:19:19 ---> 844e9dce6847 09:19:19 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:19:19 ---> 3ccb0abae559 09:19:19 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:19:19 ---> Running in fc3485727fdb 09:19:19 Removing intermediate container fc3485727fdb 09:19:19 ---> ab0880b449c1 09:19:19 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:19:19 ---> Running in 04a3a070c2fc 09:19:19 Removing intermediate container 04a3a070c2fc 09:19:19 ---> ef5a13917de8 09:19:19 Step 22/24 : LABEL arch=amd64 09:19:19 ---> Running in 54e19af4d13d 09:19:19 Removing intermediate container 54e19af4d13d 09:19:19 ---> ac009b09ded8 09:19:19 Step 23/24 : LABEL git_sha=497e2f194a1f22d65b0a6a02dce5da02c75df54e 09:19:19 ---> Running in af60963f1a7d 09:19:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:19:19 OK: 142 MiB in 39 packages 09:19:20 Removing intermediate container af60963f1a7d 09:19:20 ---> 88fc851a3b3b 09:19:20 Step 24/24 : LABEL version=0.0.0 09:19:20 ---> Running in ce6402e86539 09:19:20 Removing intermediate container ce6402e86539 09:19:20 ---> 1fe4a242c4fe 09:19:20 [Warning] One or more build-args [ARCH] were not consumed 09:19:20 Successfully built 1fe4a242c4fe 09:19:20 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } 09:19:20 Removing intermediate container 7ba2a0ae0e54 09:19:20 ---> 458ab265ff19 09:19:20 Step 6/8 : WORKDIR /device-sdk-go [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 09:19:20 ---> Running in e9097d25568a [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } 09:19:21 Removing intermediate container e9097d25568a 09:19:21 ---> eedc81280583 09:19:21 Step 7/8 : COPY . . [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 09:19:22 ---> 4d1350877e87 09:19:22 Step 8/8 : RUN go mod download [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:19:22 ---> Running in b0fa04dbdf2c 09:19:45 Removing intermediate container b0fa04dbdf2c 09:19:45 ---> 786987880cd7 09:19:45 Successfully built 786987880cd7 09:19:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:19:45 + docker inspect -f . ci-base-image-arm64 09:19:45 . [Pipeline] withDockerContainer 09:19:45 prd-ubuntu18.04-docker-arm64-4c-16g-5843 does not seem to be running inside a container 09:19:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:19:47 $ docker top 4b2365fadc876b2d2b7bd744c3a3a2e31619b7e0c7cab2f50972a058c69a5ad6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:19:49 + go version 09:19:49 go version go1.15.2 linux/arm64 [Pipeline] } 09:19:49 $ docker stop --time=1 4b2365fadc876b2d2b7bd744c3a3a2e31619b7e0c7cab2f50972a058c69a5ad6 09:19:51 $ docker rm -f 4b2365fadc876b2d2b7bd744c3a3a2e31619b7e0c7cab2f50972a058c69a5ad6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:19:52 + docker inspect -f . ci-base-image-arm64 09:19:52 . [Pipeline] withDockerContainer 09:19:52 prd-ubuntu18.04-docker-arm64-4c-16g-5843 does not seem to be running inside a container 09:19:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:19:54 $ docker top b8233257054aed57ce1638c6f7ac59f2b7a560e9239208b223c75c4dabbb00be -eo pid,comm [Pipeline] { [Pipeline] sh 09:19:55 + make test 09:19:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:20:18 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:20:57 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:20:57 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:20:57 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:20:57 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.158s coverage: 21.6% of statements 09:20:59 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.136s coverage: 97.1% of statements 09:21:32 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.161s coverage: 9.4% of statements 09:21:32 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.9% of statements 09:21:32 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:21:32 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.589s coverage: 42.6% of statements 09:21:32 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:21:32 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.763s coverage: 68.9% of statements 09:21:32 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:21:32 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:21:32 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:21:32 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:21:32 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.187s coverage: 52.6% of statements 09:21:32 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:21:32 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:21:32 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:21:32 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.838s coverage: 68.9% of statements 09:21:32 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:21:32 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:21:32 GO111MODULE=on go vet ./... 09:21:59 gofmt -l . 09:21:59 [ "`gofmt -l .`" = "" ] 09:21:59 ./bin/test-attribution-txt.sh 09:21:59 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:21:59 Warning: overwriting stash ‘coverage-report’ 09:22:00 Stashed 1 file(s) [Pipeline] } 09:22:00 $ docker stop --time=1 b8233257054aed57ce1638c6f7ac59f2b7a560e9239208b223c75c4dabbb00be 09:22:02 $ docker rm -f b8233257054aed57ce1638c6f7ac59f2b7a560e9239208b223c75c4dabbb00be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:22:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:22:04 + ls -al . 09:22:04 total 224 09:22:04 drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 09:21 . 09:22:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:18 .. 09:22:04 -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 09:18 .dockerignore 09:22:04 drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 09:18 .git 09:22:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:18 .github 09:22:04 -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 09:18 .gitignore 09:22:04 -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 09:18 Dockerfile.build 09:22:04 -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 09:18 Jenkinsfile 09:22:04 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 09:18 LICENSE 09:22:04 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 09:18 Makefile 09:22:04 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 09:18 README.md 09:22:04 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 09:18 RELEASE-NOTES.txt 09:22:04 -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 09:14 VERSION 09:22:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:18 bin 09:22:04 -rw-r--r-- 1 jenkins jenkins 110398 Oct 16 09:21 coverage.out 09:22:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:18 example 09:22:04 -rw-r--r-- 1 jenkins jenkins 517 Oct 16 09:21 go.mod 09:22:04 -rw-r--r-- 1 jenkins jenkins 13658 Oct 16 09:21 go.sum 09:22:04 drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 09:18 internal 09:22:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:18 openapi 09:22:04 drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 09:18 pkg 09:22:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:18 snap 09:22:04 -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 09:18 version.go [Pipeline] isUnix [Pipeline] sh 09:22:04 + 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=497e2f194a1f22d65b0a6a02dce5da02c75df54e --label arch=arm64 --label version=0.0.0 . 09:22:05 Sending build context to Docker daemon 2.429MB 09:22:05 Step 1/24 : ARG BASE=golang:1.15-alpine 09:22:05 Step 2/24 : FROM ${BASE} AS builder 09:22:05 ---> 786987880cd7 09:22:05 Step 3/24 : ARG MAKE='make build' 09:22:05 ---> Running in 72a415139758 09:22:05 Removing intermediate container 72a415139758 09:22:05 ---> 144ae604b8e7 09:22:05 Step 4/24 : WORKDIR /device-sdk-go 09:22:06 ---> Running in dc1488460702 09:22:06 Removing intermediate container dc1488460702 09:22:06 ---> cb228adea57d 09:22:06 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:22:06 ---> Running in f61c9113bca6 09:22:07 Removing intermediate container f61c9113bca6 09:22:07 ---> 295d842b0597 09:22:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:07 ---> Running in 8d6fc436139c 09:22:10 Removing intermediate container 8d6fc436139c 09:22:10 ---> 8214178a4141 09:22:10 Step 7/24 : RUN apk add --update --no-cache make git 09:22:10 ---> Running in 607c98cd5686 09:22:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:22:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:22:13 OK: 142 MiB in 39 packages 09:22:14 Removing intermediate container 607c98cd5686 09:22:14 ---> 1d9cd2884f94 09:22:14 Step 8/24 : COPY . . 09:22:15 ---> 7a87e0989e71 09:22:15 Step 9/24 : RUN ${MAKE} 09:22:15 ---> Running in 64955ac865d4 09:22:16 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 09:22:43 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:22:43 Removing intermediate container 64955ac865d4 09:22:43 ---> 29242b50ff16 09:22:43 Step 10/24 : FROM scratch 09:22:43 ---> 09:22:43 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:22:43 ---> Running in 16f04ff892c0 09:22:43 Removing intermediate container 16f04ff892c0 09:22:43 ---> b7d16d87fac4 09:22:43 Step 12/24 : ENV APP_PORT=49990 09:22:43 ---> Running in f8bbad96e3e5 09:22:43 Removing intermediate container f8bbad96e3e5 09:22:43 ---> 993125eedf9c 09:22:43 Step 13/24 : EXPOSE $APP_PORT 09:22:43 ---> Running in cbc96ef4ad8a 09:22:44 Removing intermediate container cbc96ef4ad8a 09:22:44 ---> e0b1a043a153 09:22:44 Step 14/24 : WORKDIR / 09:22:44 ---> Running in cb5b0b63f79b 09:22:44 Removing intermediate container cb5b0b63f79b 09:22:44 ---> cdbc5f83eab5 09:22:44 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:22:46 ---> c8e52656543a 09:22:46 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:22:46 ---> 458a2e84e02a 09:22:46 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:22:47 ---> f226f911dbce 09:22:47 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:22:48 ---> 085470474589 09:22:48 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:22:48 ---> 3518319a6c89 09:22:48 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:22:48 ---> Running in c8d7e5d701c8 09:22:49 Removing intermediate container c8d7e5d701c8 09:22:49 ---> 95b46a08c2bb 09:22:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:22:49 ---> Running in 4921f88c5d38 09:22:50 Removing intermediate container 4921f88c5d38 09:22:50 ---> 919c2aefbbfe 09:22:50 Step 22/24 : LABEL arch=arm64 09:22:50 ---> Running in 6b5cb7c0d3e0 09:22:50 Removing intermediate container 6b5cb7c0d3e0 09:22:50 ---> 83f71d65d3a2 09:22:50 Step 23/24 : LABEL git_sha=497e2f194a1f22d65b0a6a02dce5da02c75df54e 09:22:50 ---> Running in aac1c14eb006 09:22:51 Removing intermediate container aac1c14eb006 09:22:51 ---> 53ddb00f3af4 09:22:51 Step 24/24 : LABEL version=0.0.0 09:22:51 ---> Running in 869ab3cb7588 09:22:51 Removing intermediate container 869ab3cb7588 09:22:51 ---> 1bcab7127c50 09:22:51 [Warning] One or more build-args [ARCH] were not consumed 09:22:51 Successfully built 1bcab7127c50 09:22:51 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 09:22:54 provisioning config files... 09:22:54 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/config1092053799546105602tmp [Pipeline] { [Pipeline] sh 09:22:54 + set +x 09:22:54 + curl -s https://codecov.io/bash 09:22:54 + bash -s -- 09:22:54 09:22:54 _____ _ 09:22:54 / ____| | | 09:22:54 | | ___ __| | ___ ___ _____ __ 09:22:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:22:54 | |___| (_) | (_| | __/ (_| (_) \ V / 09:22:54 \_____\___/ \__,_|\___|\___\___/ \_/ 09:22:54 Bash-20201009-048fee3 09:22:54 09:22:54 09:22:54 ==> Jenkins CI detected. 09:22:54 project root: . 09:22:54 --> token set from env 09:22:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:22:54 ==> Running gcov in . (disable via -X gcov) 09:22:54 ==> Python coveragepy not found 09:22:54 ==> Searching for coverage reports in: 09:22:54 + . 09:22:54 -> Found 1 reports 09:22:54 ==> Detecting git/mercurial file structure 09:22:54 ==> Reading reports 09:22:54 + ./coverage.out bytes=110398 09:22:54 ==> Appending adjustments 09:22:54 https://docs.codecov.io/docs/fixing-reports 09:22:55 + Found adjustments 09:22:55 ==> Gzipping contents 09:22:55 ==> Uploading reports 09:22:55 url: https://codecov.io 09:22:55 query: branch=PR-627&commit=497e2f194a1f22d65b0a6a02dce5da02c75df54e&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-627%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=627&job=&cmd_args= 09:22:55 -> Pinging Codecov 09:22:55 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-627&commit=497e2f194a1f22d65b0a6a02dce5da02c75df54e&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-627%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=627&job=&cmd_args= 09:22:56 -> Uploading to 09:22:56 09:22:56 % Total % Received % Xferd Average Speed Time Time Time Current 09:22:56 Dload Upload Total Spent Left Speed 09:22:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 09:22:56 X> Failed to upload 09:22:56 ==> Uploading to Codecov 09:22:56 % Total % Received % Xferd Average Speed Time Time Time Current 09:22:56 Dload Upload Total Spent Left Speed 09:22:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19198 100 110 100 19088 206 35912 --:--:-- --:--:-- --:--:-- 35947 09:22:56 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/497e2f194a1f22d65b0a6a02dce5da02c75df54e [Pipeline] } 09:22:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:22:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:23:00 ---> package-listing.sh 09:23:00 ++ facter osfamily 09:23:00 ++ tr '[:upper:]' '[:lower:]' 09:23:00 + OS_FAMILY=redhat 09:23:00 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-627 09:23:00 + START_PACKAGES=/tmp/packages_start.txt 09:23:00 + END_PACKAGES=/tmp/packages_end.txt 09:23:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:23:00 + PACKAGES=/tmp/packages_start.txt 09:23:00 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-627 ']' 09:23:00 + PACKAGES=/tmp/packages_end.txt 09:23:00 + case "${OS_FAMILY}" in 09:23:00 + rpm -qa 09:23:00 + sort 09:23:04 + '[' -f /tmp/packages_start.txt ']' 09:23:04 + '[' -f /tmp/packages_end.txt ']' 09:23:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:23:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-627 ']' 09:23:04 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-627/archives/ 09:23:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-627/archives/ [Pipeline] echo 09:23:04 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-627/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:23:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:23:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:23:04 09:23:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:23:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:23:05 alpine: Pulling from edgex-lftools-log-publisher 09:23:05 df20fa9351a1: Pulling fs layer 09:23:05 36b3adc4ff6f: Pulling fs layer 09:23:05 8ad3a11d3b57: Pulling fs layer 09:23:05 46f8f816bc3b: Pulling fs layer 09:23:05 93b61091891f: Pulling fs layer 09:23:05 93b9cdb0e59b: Pulling fs layer 09:23:05 5e14af77c1be: Pulling fs layer 09:23:05 01666e4c0597: Pulling fs layer 09:23:05 aa168da1d23b: Pulling fs layer 09:23:05 93b9cdb0e59b: Waiting 09:23:05 5e14af77c1be: Waiting 09:23:05 aa168da1d23b: Waiting 09:23:05 01666e4c0597: Waiting 09:23:05 93b61091891f: Waiting 09:23:05 46f8f816bc3b: Waiting 09:23:05 36b3adc4ff6f: Verifying Checksum 09:23:05 36b3adc4ff6f: Download complete 09:23:05 46f8f816bc3b: Verifying Checksum 09:23:05 46f8f816bc3b: Download complete 09:23:05 df20fa9351a1: Verifying Checksum 09:23:05 df20fa9351a1: Download complete 09:23:05 93b9cdb0e59b: Verifying Checksum 09:23:05 93b9cdb0e59b: Download complete 09:23:05 93b61091891f: Verifying Checksum 09:23:05 93b61091891f: Download complete 09:23:05 5e14af77c1be: Verifying Checksum 09:23:05 5e14af77c1be: Download complete 09:23:05 01666e4c0597: Verifying Checksum 09:23:05 01666e4c0597: Download complete 09:23:05 df20fa9351a1: Pull complete 09:23:06 36b3adc4ff6f: Pull complete 09:23:06 8ad3a11d3b57: Verifying Checksum 09:23:06 8ad3a11d3b57: Download complete 09:23:07 8ad3a11d3b57: Pull complete 09:23:07 46f8f816bc3b: Pull complete 09:23:07 93b61091891f: Pull complete 09:23:07 93b9cdb0e59b: Pull complete 09:23:07 5e14af77c1be: Pull complete 09:23:08 01666e4c0597: Pull complete 09:23:08 aa168da1d23b: Verifying Checksum 09:23:08 aa168da1d23b: Download complete 09:23:16 aa168da1d23b: Pull complete 09:23:16 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:23:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:23:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:23:16 prd-centos7-docker-4c-2g-5841 does not seem to be running inside a container 09:23:16 $ 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-627/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-627 -v /w/workspace/dgexfoundry_device-sdk-go_PR-627:/w/workspace/dgexfoundry_device-sdk-go_PR-627:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-627@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:23:20 $ docker top bf97179edfc0d566157316ff33798658ee09636e6d38d530c858e5b938f191eb -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:20 + touch /tmp/pre-build-complete [Pipeline] sh 09:23:21 + mkdir -p /var/log/sa [Pipeline] sh 09:23:21 + ls /var/log/sa-host 09:23:21 + sadf -c /var/log/sa-host/sa05 09:23:21 file_magic: OK 09:23:21 HZ: Using current value: 100 09:23:21 file_header: OK 09:23:21 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 09:23:21 Statistics: 09:23:21 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:23:21 File successfully converted to sysstat format version 12.2.1 09:23:21 + sadf -c /var/log/sa-host/sa16 09:23:21 file_magic: OK 09:23:21 HZ: Using current value: 100 09:23:21 file_header: OK 09:23:21 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 09:23:21 Statistics: 09:23:21 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:23:21 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:23:22 provisioning config files... 09:23:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/config7870636006953937129tmp [Pipeline] { [Pipeline] echo 09:23:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:23:22 ---> create-netrc.sh [Pipeline] } 09:23:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:23:22 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:23:23 ---> python-tools-install.sh [Pipeline] echo 09:23:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:23:23 ---> sudo-logs.sh 09:23:23 Archiving 'sudo' log.. [Pipeline] echo 09:23:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:23:24 ---> job-cost.sh 09:23:24 lf-activate-venv: SKIPPING 09:23:24 INFO: No Stack... 09:23:25 INFO: Retrieving Pricing Info for: v1-standard-2 09:23:26 INFO: Archiving Costs [Pipeline] echo 09:23:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:23:26 ---> logs-deploy.sh 09:23:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-627/6 09:23:26 INFO: archiving workspace using pattern(s): 09:23:28 Archives upload complete. 09:23:28 INFO: archiving logs to Nexus