Pull request #614 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c2bebaee10cac6903836b89e8da6d7a54a29d409+2d9730a214a0d2600c47b6e1f4d312ee14057382 (8a1d62a4251261e357023a4a594ab4f7601f2e1c) 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-6201 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [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-614 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit c2bebaee10cac6903836b89e8da6d7a54a29d409 Merge succeeded, producing af773452b0b919b6d7fecf3302e438e42853c964 Checking out Revision af773452b0b919b6d7fecf3302e438e42853c964 (PR-614) > 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/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2bebaee10cac6903836b89e8da6d7a54a29d409 # 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 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af773452b0b919b6d7fecf3302e438e42853c964 # timeout=10 Commit message: "Merge commit '2d9730a214a0d2600c47b6e1f4d312ee14057382' into HEAD" > git rev-list --no-walk c2bebaee10cac6903836b89e8da6d7a54a29d409 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-19T07:09:55.921Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-19T07:09:56.210Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-19T07:09:56.308Z] ========================================================= [2020-10-19T07:09:56.308Z] EdgeX Global Pipelines Version Info [2020-10-19T07:09:56.308Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:09:57.730Z] ------------------- [2020-10-19T07:09:57.730Z] stable info: [2020-10-19T07:09:57.730Z] ------------------- [2020-10-19T07:09:57.730Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:09:57.730Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:09:57.730Z] Message: update stable to v1.0.144 [2020-10-19T07:09:58.684Z] ------------------- [2020-10-19T07:09:58.684Z] experimental info: [2020-10-19T07:09:58.684Z] ------------------- [2020-10-19T07:09:58.684Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:09:58.684Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:09:58.684Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-19T07:09:59.033Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-19T07:09:59.130Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-19T07:09:59.224Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-19T07:09:59.378Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-19T07:10:00.247Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-19T07:10:00.409Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-19T07:10:00.508Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-19T07:10:00.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-19T07:10:00.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-19T07:10:00.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-19T07:10:00.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-19T07:10:00.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-19T07:10:01.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-19T07:10:01.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-19T07:10:01.326Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-19T07:10:01.432Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:10:01.529Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:10:01.618Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:10:01.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-19T07:10:01.933Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-19T07:10:02.056Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-19T07:10:02.166Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-19T07:10:02.267Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-19T07:10:02.361Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-19T07:10:02.540Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-19T07:10:02.689Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo [2020-10-19T07:10:02.782Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo [2020-10-19T07:10:02.924Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo [2020-10-19T07:10:03.017Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af773452b0b919b6d7fecf3302e438e42853c964 [Pipeline] echo [2020-10-19T07:10:03.150Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af77345 [Pipeline] echo [2020-10-19T07:10:03.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:10:03.888Z] + git log --format=format:%s -1 af773452b0b919b6d7fecf3302e438e42853c964 [Pipeline] echo [2020-10-19T07:10:03.956Z] GIT_COMMIT: af773452b0b919b6d7fecf3302e438e42853c964, Commit Message: Merge commit '2d9730a214a0d2600c47b6e1f4d312ee14057382' into HEAD [Pipeline] echo [2020-10-19T07:10:04.009Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:10:04.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:10:04.667Z] [2020-10-19T07:10:04.667Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:10:05.018Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:10:05.018Z] latest: Pulling from edgex-devops/git-semver [2020-10-19T07:10:05.018Z] 31603596830f: Pulling fs layer [2020-10-19T07:10:05.018Z] 2a8b12db71e7: Pulling fs layer [2020-10-19T07:10:05.018Z] 6ca5941a6612: Pulling fs layer [2020-10-19T07:10:05.018Z] ecc8261a40a4: Pulling fs layer [2020-10-19T07:10:05.018Z] ecc8261a40a4: Waiting [2020-10-19T07:10:05.018Z] 2a8b12db71e7: Verifying Checksum [2020-10-19T07:10:05.018Z] 2a8b12db71e7: Download complete [2020-10-19T07:10:05.279Z] 31603596830f: Verifying Checksum [2020-10-19T07:10:05.279Z] 31603596830f: Download complete [2020-10-19T07:10:05.279Z] 6ca5941a6612: Verifying Checksum [2020-10-19T07:10:05.279Z] 6ca5941a6612: Download complete [2020-10-19T07:10:05.279Z] ecc8261a40a4: Verifying Checksum [2020-10-19T07:10:05.279Z] ecc8261a40a4: Download complete [2020-10-19T07:10:05.541Z] 31603596830f: Pull complete [2020-10-19T07:10:05.541Z] 2a8b12db71e7: Pull complete [2020-10-19T07:10:06.488Z] 6ca5941a6612: Pull complete [2020-10-19T07:10:06.488Z] ecc8261a40a4: Pull complete [2020-10-19T07:10:06.488Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-19T07:10:06.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:10:06.488Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-19T07:10:06.592Z] prd-centos7-docker-4c-2g-6201 does not seem to be running inside a container [2020-10-19T07:10:06.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-19T07:10:08.367Z] $ docker top bed7486f0d63163fb774a994981b89f59cf6580d4ca248fc58094d8b92d1a232 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-19T07:10:08.754Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:10:08.754Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:10:08.962Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:10:08.968Z] $ docker exec bed7486f0d63163fb774a994981b89f59cf6580d4ca248fc58094d8b92d1a232 ssh-agent [2020-10-19T07:10:09.123Z] SSH_AUTH_SOCK=/tmp/ssh-vwXu6F7Lt1Qt/agent.11 [2020-10-19T07:10:09.123Z] SSH_AGENT_PID=16 [2020-10-19T07:10:09.138Z] Running ssh-add (command line suppressed) [2020-10-19T07:10:09.254Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_8286917648685850342.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_8286917648685850342.key) [2020-10-19T07:10:09.371Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:10:09.741Z] + git tag --points-at HEAD [Pipeline] } [2020-10-19T07:10:09.777Z] $ docker exec --env ******** --env ******** bed7486f0d63163fb774a994981b89f59cf6580d4ca248fc58094d8b92d1a232 ssh-agent -k [2020-10-19T07:10:09.887Z] unset SSH_AUTH_SOCK; [2020-10-19T07:10:09.888Z] unset SSH_AGENT_PID; [2020-10-19T07:10:09.888Z] echo Agent pid 16 killed; [2020-10-19T07:10:09.930Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-19T07:10:10.117Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:10:10.117Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:10:10.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:10:10.284Z] $ docker exec bed7486f0d63163fb774a994981b89f59cf6580d4ca248fc58094d8b92d1a232 ssh-agent [2020-10-19T07:10:10.437Z] SSH_AUTH_SOCK=/tmp/ssh-TJqXB7fvVFN2/agent.44 [2020-10-19T07:10:10.438Z] SSH_AGENT_PID=49 [2020-10-19T07:10:10.445Z] Running ssh-add (command line suppressed) [2020-10-19T07:10:10.555Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_1078876103429668311.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_1078876103429668311.key) [2020-10-19T07:10:10.600Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:10:10.935Z] + git semver init [2020-10-19T07:10:10.935Z] # -> Open(): unable to determine branch for HEAD [2020-10-19T07:10:10.936Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git [2020-10-19T07:10:10.936Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-19T07:10:10.936Z] # $SEMVER_REMOTE_NAME = origin [2020-10-19T07:10:10.936Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-19T07:10:10.936Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-19T07:10:10.936Z] # $SEMVER_BRANCH = PR-614 [2020-10-19T07:10:10.936Z] # $SEMVER_TEMP = /tmp/semver-271708860 [2020-10-19T07:10:10.936Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-19T07:10:11.508Z] # '/tmp/semver-271708860' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' [2020-10-19T07:10:11.508Z] # -> Force: false [2020-10-19T07:10:11.508Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } [2020-10-19T07:10:11.521Z] $ docker exec --env ******** --env ******** bed7486f0d63163fb774a994981b89f59cf6580d4ca248fc58094d8b92d1a232 ssh-agent -k [2020-10-19T07:10:11.626Z] unset SSH_AUTH_SOCK; [2020-10-19T07:10:11.626Z] unset SSH_AGENT_PID; [2020-10-19T07:10:11.627Z] echo Agent pid 49 killed; [2020-10-19T07:10:11.667Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-19T07:10:12.205Z] + git semver [Pipeline] } [2020-10-19T07:10:12.223Z] $ docker stop --time=1 bed7486f0d63163fb774a994981b89f59cf6580d4ca248fc58094d8b92d1a232 [2020-10-19T07:10:13.569Z] $ docker rm -f bed7486f0d63163fb774a994981b89f59cf6580d4ca248fc58094d8b92d1a232 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-19T07:10:14.067Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-19T07:10:14.526Z] Stashed 1 file(s) [Pipeline] echo [2020-10-19T07:10:14.528Z] [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 [2020-10-19T07:10:30.136Z] Still waiting to schedule task [2020-10-19T07:10:30.137Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-19T07:10:30.139Z] Still waiting to schedule task [2020-10-19T07:10:30.139Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-19T07:12:24.229Z] Running on prd-centos7-docker-4c-2g-6210 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-19T07:12:24.281Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2020-10-19T07:12:27.814Z] using credential edgex-jenkins-ssh [2020-10-19T07:12:27.919Z] Cloning the remote Git repository [2020-10-19T07:12:27.949Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:12:28.019Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2020-10-19T07:12:28.074Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:12:28.074Z] > git --version # timeout=10 [2020-10-19T07:12:28.081Z] > git --version # 'git version 2.16.5' [2020-10-19T07:12:28.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:12:28.112Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:12:28.800Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:12:28.807Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:12:28.818Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:12:28.832Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:12:28.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:12:28.837Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T07:12:29.193Z] Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit c2bebaee10cac6903836b89e8da6d7a54a29d409 [2020-10-19T07:12:29.323Z] Merge succeeded, producing 9da8068a7a1a1aa0a276e03a35960cc33d33a37d [2020-10-19T07:12:29.323Z] Checking out Revision 9da8068a7a1a1aa0a276e03a35960cc33d33a37d (PR-614) [2020-10-19T07:12:29.208Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:12:29.216Z] > git checkout -f c2bebaee10cac6903836b89e8da6d7a54a29d409 # timeout=10 [2020-10-19T07:12:29.270Z] > git remote # timeout=10 [2020-10-19T07:12:29.276Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:12:29.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:12:29.286Z] > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 [2020-10-19T07:12:29.319Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:12:29.328Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:12:29.332Z] > git checkout -f 9da8068a7a1a1aa0a276e03a35960cc33d33a37d # timeout=10 [2020-10-19T07:12:33.032Z] Commit message: "Merge commit '2d9730a214a0d2600c47b6e1f4d312ee14057382' into HEAD" [2020-10-19T07:12:33.038Z] > git rev-list --no-walk c2bebaee10cac6903836b89e8da6d7a54a29d409 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:12:33.804Z] ========================================================= [2020-10-19T07:12:33.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-19T07:12:33.804Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:12:34.556Z] + 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 . [2020-10-19T07:12:34.828Z] Sending build context to Docker daemon 2.318MB [2020-10-19T07:12:34.828Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:12:34.828Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:12:35.104Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-19T07:12:35.104Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:12:35.104Z] ed8968b2872e: Pulling fs layer [2020-10-19T07:12:35.104Z] a92cc7c5fd73: Pulling fs layer [2020-10-19T07:12:35.104Z] e871e8e8d7a9: Pulling fs layer [2020-10-19T07:12:35.104Z] e73272ec9a57: Pulling fs layer [2020-10-19T07:12:35.104Z] 1e910a182e73: Pulling fs layer [2020-10-19T07:12:35.104Z] 4e634b169226: Pulling fs layer [2020-10-19T07:12:35.104Z] e73272ec9a57: Waiting [2020-10-19T07:12:35.104Z] 1e910a182e73: Waiting [2020-10-19T07:12:35.104Z] 4e634b169226: Waiting [2020-10-19T07:12:35.104Z] e871e8e8d7a9: Waiting [2020-10-19T07:12:35.104Z] a92cc7c5fd73: Download complete [2020-10-19T07:12:35.104Z] ed8968b2872e: Verifying Checksum [2020-10-19T07:12:35.104Z] ed8968b2872e: Download complete [2020-10-19T07:12:35.104Z] e73272ec9a57: Verifying Checksum [2020-10-19T07:12:35.104Z] e73272ec9a57: Download complete [2020-10-19T07:12:35.686Z] df20fa9351a1: Verifying Checksum [2020-10-19T07:12:35.686Z] df20fa9351a1: Download complete [2020-10-19T07:12:35.954Z] df20fa9351a1: Pull complete [2020-10-19T07:12:36.224Z] ed8968b2872e: Pull complete [2020-10-19T07:12:36.224Z] 1e910a182e73: Verifying Checksum [2020-10-19T07:12:36.224Z] 1e910a182e73: Download complete [2020-10-19T07:12:36.224Z] a92cc7c5fd73: Pull complete [2020-10-19T07:12:38.798Z] 4e634b169226: Verifying Checksum [2020-10-19T07:12:39.754Z] e871e8e8d7a9: Verifying Checksum [2020-10-19T07:12:39.754Z] e871e8e8d7a9: Download complete [2020-10-19T07:12:45.149Z] e871e8e8d7a9: Pull complete [2020-10-19T07:12:45.149Z] e73272ec9a57: Pull complete [2020-10-19T07:12:45.149Z] 1e910a182e73: Pull complete [2020-10-19T07:12:50.590Z] 4e634b169226: Pull complete [2020-10-19T07:12:50.590Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-19T07:12:50.590Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-19T07:12:50.590Z] ---> f7629b54cfaa [2020-10-19T07:12:50.590Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:12:50.590Z] ---> Running in b4c38fda5d14 [2020-10-19T07:12:50.590Z] Removing intermediate container b4c38fda5d14 [2020-10-19T07:12:50.590Z] ---> b4f0e21fd09a [2020-10-19T07:12:50.590Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:12:50.590Z] ---> Running in aa92772b61dd [2020-10-19T07:12:52.000Z] Removing intermediate container aa92772b61dd [2020-10-19T07:12:52.000Z] ---> 2f3c08593602 [2020-10-19T07:12:52.000Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:12:52.000Z] ---> Running in 5d3812aac8d3 [2020-10-19T07:12:52.577Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:12:54.506Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:12:55.897Z] OK: 166 MiB in 39 packages [2020-10-19T07:12:56.159Z] Removing intermediate container 5d3812aac8d3 [2020-10-19T07:12:56.159Z] ---> beb6ed8c11bb [2020-10-19T07:12:56.159Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:12:56.159Z] ---> Running in 4517403f5f7a [2020-10-19T07:12:56.432Z] Removing intermediate container 4517403f5f7a [2020-10-19T07:12:56.432Z] ---> 7ae06f9a6d4b [2020-10-19T07:12:56.432Z] Step 7/8 : COPY . . [2020-10-19T07:12:57.387Z] ---> 40f56bbc61a9 [2020-10-19T07:12:57.387Z] Step 8/8 : RUN go mod download [2020-10-19T07:12:57.387Z] ---> Running in eddac08c81fa [2020-10-19T07:13:19.436Z] Removing intermediate container eddac08c81fa [2020-10-19T07:13:19.436Z] ---> 99b6f2c68d4a [2020-10-19T07:13:19.436Z] Successfully built 99b6f2c68d4a [2020-10-19T07:13:19.436Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:13:19.917Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:13:19.917Z] . [Pipeline] withDockerContainer [2020-10-19T07:13:20.034Z] prd-centos7-docker-4c-2g-6210 does not seem to be running inside a container [2020-10-19T07:13:20.090Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-19T07:13:20.924Z] $ docker top b2671c76f4dedb17398b3aa1732cdc66e7f77b95d9c4521c3b919ded51ff4c84 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:13:21.476Z] + go version [2020-10-19T07:13:21.476Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-19T07:13:21.494Z] $ docker stop --time=1 b2671c76f4dedb17398b3aa1732cdc66e7f77b95d9c4521c3b919ded51ff4c84 [2020-10-19T07:13:22.849Z] $ docker rm -f b2671c76f4dedb17398b3aa1732cdc66e7f77b95d9c4521c3b919ded51ff4c84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:13:23.898Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:13:23.898Z] . [Pipeline] withDockerContainer [2020-10-19T07:13:24.011Z] prd-centos7-docker-4c-2g-6210 does not seem to be running inside a container [2020-10-19T07:13:24.074Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-19T07:13:24.728Z] $ docker top 4161df5de6ffac1e40cfde94d870d1c5d36c995d38130d0484a80ccc6354e204 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:13:25.226Z] + make test [2020-10-19T07:13:25.226Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T07:13:33.471Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:13:34.194Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6213 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-19T07:13:34.250Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2020-10-19T07:13:41.235Z] using credential edgex-jenkins-ssh [2020-10-19T07:13:41.343Z] Cloning the remote Git repository [2020-10-19T07:13:41.426Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:13:41.557Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2020-10-19T07:13:41.655Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:13:41.656Z] > git --version # timeout=10 [2020-10-19T07:13:41.679Z] > git --version # 'git version 2.17.1' [2020-10-19T07:13:41.680Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:13:41.770Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:13:42.887Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:13:42.907Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:13:42.936Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:13:42.993Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:13:42.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:13:43.011Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T07:13:43.529Z] Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit c2bebaee10cac6903836b89e8da6d7a54a29d409 [2020-10-19T07:13:43.942Z] Merge succeeded, producing 6a613c7e8af53c0d9dc5085b5ebc9c44ec396a85 [2020-10-19T07:13:43.943Z] Checking out Revision 6a613c7e8af53c0d9dc5085b5ebc9c44ec396a85 (PR-614) [2020-10-19T07:13:43.557Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:13:43.590Z] > git checkout -f c2bebaee10cac6903836b89e8da6d7a54a29d409 # timeout=10 [2020-10-19T07:13:43.740Z] > git remote # timeout=10 [2020-10-19T07:13:43.767Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:13:43.795Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:13:43.808Z] > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 [2020-10-19T07:13:43.914Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:13:43.954Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:13:43.972Z] > git checkout -f 6a613c7e8af53c0d9dc5085b5ebc9c44ec396a85 # timeout=10 [2020-10-19T07:13:48.530Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:13:48.530Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:13:48.530Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:13:48.530Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.075s coverage: 21.6% of statements [2020-10-19T07:13:48.706Z] Commit message: "Merge commit '2d9730a214a0d2600c47b6e1f4d312ee14057382' into HEAD" [2020-10-19T07:13:48.722Z] > git rev-list --no-walk c2bebaee10cac6903836b89e8da6d7a54a29d409 # timeout=10 [2020-10-19T07:13:49.132Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.450s coverage: 97.1% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:13:49.845Z] ========================================================= [2020-10-19T07:13:49.845Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-19T07:13:49.845Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:13:51.049Z] + 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 . [2020-10-19T07:13:52.050Z] Sending build context to Docker daemon 2.318MB [2020-10-19T07:13:52.050Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:13:52.050Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:13:52.685Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-19T07:13:52.685Z] b538f80385f9: Pulling fs layer [2020-10-19T07:13:52.685Z] 74f711af9a0d: Pulling fs layer [2020-10-19T07:13:52.685Z] 99f96fe45779: Pulling fs layer [2020-10-19T07:13:52.685Z] 8529a6b9a6be: Pulling fs layer [2020-10-19T07:13:52.685Z] 45590311c82a: Pulling fs layer [2020-10-19T07:13:52.685Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-19T07:13:52.685Z] 209524e5b208: Pulling fs layer [2020-10-19T07:13:52.685Z] 8529a6b9a6be: Waiting [2020-10-19T07:13:52.685Z] 45590311c82a: Waiting [2020-10-19T07:13:52.685Z] 69ca0ff8b7b3: Waiting [2020-10-19T07:13:52.685Z] 209524e5b208: Waiting [2020-10-19T07:13:52.685Z] 99f96fe45779: Verifying Checksum [2020-10-19T07:13:52.685Z] 99f96fe45779: Download complete [2020-10-19T07:13:52.685Z] 74f711af9a0d: Verifying Checksum [2020-10-19T07:13:52.685Z] 74f711af9a0d: Download complete [2020-10-19T07:13:52.963Z] 45590311c82a: Verifying Checksum [2020-10-19T07:13:52.963Z] 45590311c82a: Download complete [2020-10-19T07:13:52.963Z] b538f80385f9: Verifying Checksum [2020-10-19T07:13:52.963Z] b538f80385f9: Download complete [2020-10-19T07:13:52.963Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-19T07:13:52.963Z] 69ca0ff8b7b3: Download complete [2020-10-19T07:13:53.964Z] b538f80385f9: Pull complete [2020-10-19T07:13:54.573Z] 74f711af9a0d: Pull complete [2020-10-19T07:13:55.177Z] 99f96fe45779: Pull complete [2020-10-19T07:13:55.177Z] 209524e5b208: Verifying Checksum [2020-10-19T07:13:55.177Z] 209524e5b208: Download complete [2020-10-19T07:13:57.184Z] 8529a6b9a6be: Verifying Checksum [2020-10-19T07:13:57.184Z] 8529a6b9a6be: Download complete [2020-10-19T07:14:07.383Z] 8529a6b9a6be: Pull complete [2020-10-19T07:14:07.383Z] 45590311c82a: Pull complete [2020-10-19T07:14:07.383Z] 69ca0ff8b7b3: Pull complete [2020-10-19T07:14:10.788Z] 209524e5b208: Pull complete [2020-10-19T07:14:10.788Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-19T07:14:11.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-19T07:14:11.067Z] ---> 5bddaf1c2fca [2020-10-19T07:14:11.067Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:14:14.504Z] ---> Running in 3190400e937d [2020-10-19T07:14:14.784Z] Removing intermediate container 3190400e937d [2020-10-19T07:14:14.784Z] ---> 419a32bbf095 [2020-10-19T07:14:14.784Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:14:14.784Z] ---> Running in a18e3d4daaae [2020-10-19T07:14:17.401Z] Removing intermediate container a18e3d4daaae [2020-10-19T07:14:17.401Z] ---> fd6c009f2695 [2020-10-19T07:14:17.401Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:14:17.401Z] ---> Running in 9c1cead2be7e [2020-10-19T07:14:18.836Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:14:19.822Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:14:20.420Z] OK: 142 MiB in 39 packages [2020-10-19T07:14:21.306Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.063s coverage: 9.4% of statements [2020-10-19T07:14:21.307Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.059s coverage: 21.9% of statements [2020-10-19T07:14:21.307Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:14:21.307Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.225s coverage: 42.6% of statements [2020-10-19T07:14:21.307Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:14:21.307Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.274s coverage: 68.9% of statements [2020-10-19T07:14:21.307Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:14:21.307Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:14:21.307Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:14:21.307Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:14:21.307Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-10-19T07:14:21.307Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:14:21.307Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:14:21.307Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:14:21.307Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.444s coverage: 68.9% of statements [2020-10-19T07:14:21.307Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:14:21.307Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:14:21.307Z] GO111MODULE=on go vet ./... [2020-10-19T07:14:21.859Z] Removing intermediate container 9c1cead2be7e [2020-10-19T07:14:21.859Z] ---> e04d69e8a391 [2020-10-19T07:14:21.859Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:14:21.859Z] ---> Running in e84590850577 [2020-10-19T07:14:22.139Z] Removing intermediate container e84590850577 [2020-10-19T07:14:22.139Z] ---> 31b226245480 [2020-10-19T07:14:22.139Z] Step 7/8 : COPY . . [2020-10-19T07:14:23.587Z] ---> 91e4f37cdb8b [2020-10-19T07:14:23.587Z] Step 8/8 : RUN go mod download [2020-10-19T07:14:23.587Z] ---> Running in 9895f1fc520d [2020-10-19T07:14:29.549Z] gofmt -l . [2020-10-19T07:14:29.549Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:14:29.549Z] ./bin/test-attribution-txt.sh [2020-10-19T07:14:29.549Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T07:14:29.945Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:14:29.957Z] $ docker stop --time=1 4161df5de6ffac1e40cfde94d870d1c5d36c995d38130d0484a80ccc6354e204 [2020-10-19T07:14:31.865Z] $ docker rm -f 4161df5de6ffac1e40cfde94d870d1c5d36c995d38130d0484a80ccc6354e204 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-19T07:14:33.416Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:14:33.717Z] + ls -al . [2020-10-19T07:14:33.717Z] total 188 [2020-10-19T07:14:33.717Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 07:14 . [2020-10-19T07:14:33.717Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 19 07:12 .. [2020-10-19T07:14:33.717Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 19 07:12 bin [2020-10-19T07:14:33.717Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 19 07:14 coverage.out [2020-10-19T07:14:33.717Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 19 07:12 Dockerfile.build [2020-10-19T07:14:33.717Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 07:12 .dockerignore [2020-10-19T07:14:33.717Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 19 07:12 example [2020-10-19T07:14:33.717Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 07:12 .git [2020-10-19T07:14:33.717Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 19 07:12 .github [2020-10-19T07:14:33.717Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 19 07:12 .gitignore [2020-10-19T07:14:33.717Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 19 07:14 go.mod [2020-10-19T07:14:33.717Z] -rw-r--r--. 1 jenkins jenkins 13742 Oct 19 07:14 go.sum [2020-10-19T07:14:33.717Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 19 07:12 internal [2020-10-19T07:14:33.717Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 19 07:12 Jenkinsfile [2020-10-19T07:14:33.717Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 07:12 LICENSE [2020-10-19T07:14:33.717Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 19 07:12 Makefile [2020-10-19T07:14:33.717Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 19 07:12 openapi [2020-10-19T07:14:33.717Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 07:12 pkg [2020-10-19T07:14:33.717Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 19 07:12 README.md [2020-10-19T07:14:33.717Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 19 07:12 RELEASE-NOTES.txt [2020-10-19T07:14:33.717Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 07:12 snap [2020-10-19T07:14:33.717Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 07:10 VERSION [2020-10-19T07:14:33.717Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 07:12 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:14:34.025Z] + 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=af773452b0b919b6d7fecf3302e438e42853c964 --label arch=amd64 --label version=0.0.0 . [2020-10-19T07:14:34.288Z] Sending build context to Docker daemon 2.429MB [2020-10-19T07:14:34.288Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:14:34.288Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:14:34.288Z] ---> 99b6f2c68d4a [2020-10-19T07:14:34.288Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:14:34.867Z] ---> Running in 217ff3a2d116 [2020-10-19T07:14:34.867Z] Removing intermediate container 217ff3a2d116 [2020-10-19T07:14:34.867Z] ---> fa98c82472ab [2020-10-19T07:14:34.867Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:14:35.131Z] ---> Running in 4e39ae3ba798 [2020-10-19T07:14:35.131Z] Removing intermediate container 4e39ae3ba798 [2020-10-19T07:14:35.131Z] ---> 90f432f9ae99 [2020-10-19T07:14:35.131Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:14:35.393Z] ---> Running in 9d1078c5a981 [2020-10-19T07:14:35.968Z] Removing intermediate container 9d1078c5a981 [2020-10-19T07:14:35.968Z] ---> 663b86c70513 [2020-10-19T07:14:35.968Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:14:36.235Z] ---> Running in 5358ea3f9173 [2020-10-19T07:14:37.189Z] Removing intermediate container 5358ea3f9173 [2020-10-19T07:14:37.189Z] ---> e57a5bbf8ae5 [2020-10-19T07:14:37.189Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:14:37.189Z] ---> Running in 0b953ca41fb6 [2020-10-19T07:14:37.767Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:14:38.725Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:14:39.675Z] OK: 166 MiB in 39 packages [2020-10-19T07:14:39.942Z] Removing intermediate container 0b953ca41fb6 [2020-10-19T07:14:39.942Z] ---> d1be641dda53 [2020-10-19T07:14:39.942Z] Step 8/24 : COPY . . [2020-10-19T07:14:41.337Z] ---> bb3736921302 [2020-10-19T07:14:41.337Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:14:41.337Z] ---> Running in 046151fca19e [2020-10-19T07:14:41.605Z] 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 [2020-10-19T07:14:49.839Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:14:50.447Z] Removing intermediate container 9895f1fc520d [2020-10-19T07:14:50.447Z] ---> 2edc299a797f [2020-10-19T07:14:50.447Z] Successfully built 2edc299a797f [2020-10-19T07:14:50.447Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:14:50.871Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:14:50.871Z] . [Pipeline] withDockerContainer [2020-10-19T07:14:51.133Z] prd-ubuntu18.04-docker-arm64-4c-16g-6213 does not seem to be running inside a container [2020-10-19T07:14:51.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-19T07:14:51.764Z] Removing intermediate container 046151fca19e [2020-10-19T07:14:51.764Z] ---> d72e5e49edff [2020-10-19T07:14:51.764Z] Step 10/24 : FROM scratch [2020-10-19T07:14:51.764Z] ---> [2020-10-19T07:14:51.764Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:14:51.764Z] ---> Running in ec798bc90e7d [2020-10-19T07:14:51.764Z] Removing intermediate container ec798bc90e7d [2020-10-19T07:14:51.764Z] ---> 5966f5c15ff7 [2020-10-19T07:14:51.764Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:14:51.764Z] ---> Running in 13ad181aaf2f [2020-10-19T07:14:52.026Z] Removing intermediate container 13ad181aaf2f [2020-10-19T07:14:52.026Z] ---> 95b486b846ab [2020-10-19T07:14:52.026Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:14:52.026Z] ---> Running in cbcff0c07f81 [2020-10-19T07:14:52.026Z] Removing intermediate container cbcff0c07f81 [2020-10-19T07:14:52.026Z] ---> 4b3c737babdf [2020-10-19T07:14:52.026Z] Step 14/24 : WORKDIR / [2020-10-19T07:14:52.287Z] ---> Running in 286b0609d090 [2020-10-19T07:14:52.287Z] Removing intermediate container 286b0609d090 [2020-10-19T07:14:52.287Z] ---> 1b55ddcbe6df [2020-10-19T07:14:52.287Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:14:52.861Z] ---> f4aaf5efbd28 [2020-10-19T07:14:52.861Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:14:53.122Z] ---> 4355b0fe9d4c [2020-10-19T07:14:53.122Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:14:53.165Z] $ docker top c97942d805b4c0cb909a67785e8bd86b60d18e951c2773c3482c5b1b894a4cf4 -eo pid,comm [2020-10-19T07:14:53.385Z] ---> 653319415931 [2020-10-19T07:14:53.385Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] { [Pipeline] sh [2020-10-19T07:14:53.649Z] ---> cb9f678b2241 [2020-10-19T07:14:53.649Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:14:53.649Z] ---> b5b273fe5d5f [2020-10-19T07:14:53.649Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:14:53.911Z] ---> Running in b8d50ab07e7a [2020-10-19T07:14:53.912Z] Removing intermediate container b8d50ab07e7a [2020-10-19T07:14:53.912Z] ---> 01aa3fc97a9b [2020-10-19T07:14:53.912Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:14:54.175Z] ---> Running in c30a26ba1792 [2020-10-19T07:14:54.175Z] Removing intermediate container c30a26ba1792 [2020-10-19T07:14:54.175Z] ---> 5342d865cb30 [2020-10-19T07:14:54.175Z] Step 22/24 : LABEL arch=amd64 [2020-10-19T07:14:54.175Z] ---> Running in 8d945842df54 [2020-10-19T07:14:54.439Z] Removing intermediate container 8d945842df54 [2020-10-19T07:14:54.439Z] ---> a548f9485303 [2020-10-19T07:14:54.439Z] Step 23/24 : LABEL git_sha=af773452b0b919b6d7fecf3302e438e42853c964 [2020-10-19T07:14:54.439Z] ---> Running in 23abaf509845 [2020-10-19T07:14:54.556Z] + go version [2020-10-19T07:14:54.556Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-19T07:14:54.591Z] $ docker stop --time=1 c97942d805b4c0cb909a67785e8bd86b60d18e951c2773c3482c5b1b894a4cf4 [2020-10-19T07:14:54.704Z] Removing intermediate container 23abaf509845 [2020-10-19T07:14:54.704Z] ---> b510f53e3213 [2020-10-19T07:14:54.704Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:14:54.704Z] ---> Running in bcce200ec12a [2020-10-19T07:14:54.967Z] Removing intermediate container bcce200ec12a [2020-10-19T07:14:54.967Z] ---> 72bbda46c9aa [2020-10-19T07:14:54.967Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:14:54.967Z] Successfully built 72bbda46c9aa [2020-10-19T07:14:54.967Z] Successfully tagged docker-device-sdk-simple:latest [2020-10-19T07:14:56.634Z] $ docker rm -f c97942d805b4c0cb909a67785e8bd86b60d18e951c2773c3482c5b1b894a4cf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Test) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2020-10-19T07:14:57.958Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:14:57.958Z] . [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] withDockerContainer [2020-10-19T07:14:58.371Z] prd-ubuntu18.04-docker-arm64-4c-16g-6213 does not seem to be running inside a container [2020-10-19T07:14:58.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-19T07:15:00.510Z] $ docker top 4a926abd38c2a0368f75003f271eb89b22920501cfaaaa9ececcc2ec57e02392 -eo pid,comm [Pipeline] { [Pipeline] // node [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] } [2020-10-19T07:15:02.141Z] + make test [2020-10-19T07:15:02.141Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T07:15:29.036Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:16:16.074Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:16:16.074Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:16:16.074Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:16:16.074Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.154s coverage: 21.6% of statements [2020-10-19T07:16:16.682Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.264s coverage: 97.1% of statements [2020-10-19T07:16:43.525Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.171s coverage: 9.4% of statements [2020-10-19T07:16:43.525Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.175s coverage: 21.9% of statements [2020-10-19T07:16:43.525Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:16:43.525Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.627s coverage: 42.6% of statements [2020-10-19T07:16:43.525Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:16:43.525Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.864s coverage: 68.9% of statements [2020-10-19T07:16:43.525Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:16:43.525Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:16:43.525Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:16:43.525Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:16:43.525Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.184s coverage: 52.6% of statements [2020-10-19T07:16:43.525Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:16:43.525Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:16:43.525Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:16:43.525Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.841s coverage: 68.9% of statements [2020-10-19T07:16:43.525Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:16:43.525Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:16:44.127Z] GO111MODULE=on go vet ./... [2020-10-19T07:17:16.595Z] gofmt -l . [2020-10-19T07:17:17.198Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:17:17.473Z] ./bin/test-attribution-txt.sh [2020-10-19T07:17:18.450Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T07:17:18.738Z] Warning: overwriting stash ‘coverage-report’ [2020-10-19T07:17:19.581Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:17:19.607Z] $ docker stop --time=1 4a926abd38c2a0368f75003f271eb89b22920501cfaaaa9ececcc2ec57e02392 [2020-10-19T07:17:21.931Z] $ docker rm -f 4a926abd38c2a0368f75003f271eb89b22920501cfaaaa9ececcc2ec57e02392 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:17:23.443Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:17:23.787Z] + ls -al . [2020-10-19T07:17:23.787Z] total 224 [2020-10-19T07:17:23.787Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 07:17 . [2020-10-19T07:17:23.787Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:13 .. [2020-10-19T07:17:23.787Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 07:13 .dockerignore [2020-10-19T07:17:23.787Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 07:13 .git [2020-10-19T07:17:23.787Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:13 .github [2020-10-19T07:17:23.787Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 19 07:13 .gitignore [2020-10-19T07:17:23.787Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 19 07:13 Dockerfile.build [2020-10-19T07:17:23.787Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 19 07:13 Jenkinsfile [2020-10-19T07:17:23.787Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 07:13 LICENSE [2020-10-19T07:17:23.787Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 19 07:13 Makefile [2020-10-19T07:17:23.787Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 19 07:13 README.md [2020-10-19T07:17:23.787Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 19 07:13 RELEASE-NOTES.txt [2020-10-19T07:17:23.787Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 07:10 VERSION [2020-10-19T07:17:23.787Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:13 bin [2020-10-19T07:17:23.787Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 19 07:16 coverage.out [2020-10-19T07:17:23.787Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:13 example [2020-10-19T07:17:23.787Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 19 07:17 go.mod [2020-10-19T07:17:23.787Z] -rw-r--r-- 1 jenkins jenkins 13742 Oct 19 07:17 go.sum [2020-10-19T07:17:23.787Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 07:13 internal [2020-10-19T07:17:23.787Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:13 openapi [2020-10-19T07:17:23.787Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 07:13 pkg [2020-10-19T07:17:23.787Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:13 snap [2020-10-19T07:17:23.787Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 07:13 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:17:24.135Z] + 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=af773452b0b919b6d7fecf3302e438e42853c964 --label arch=arm64 --label version=0.0.0 . [2020-10-19T07:17:24.741Z] Sending build context to Docker daemon 2.429MB [2020-10-19T07:17:24.741Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:17:24.741Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:17:24.741Z] ---> 2edc299a797f [2020-10-19T07:17:24.741Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:17:25.016Z] ---> Running in 01c28896a6fc [2020-10-19T07:17:25.619Z] Removing intermediate container 01c28896a6fc [2020-10-19T07:17:25.619Z] ---> 394cb88de1f0 [2020-10-19T07:17:25.619Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:17:25.619Z] ---> Running in 6618bf35f164 [2020-10-19T07:17:26.225Z] Removing intermediate container 6618bf35f164 [2020-10-19T07:17:26.225Z] ---> 256796a2134f [2020-10-19T07:17:26.225Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:17:26.225Z] ---> Running in 9dee72a0c146 [2020-10-19T07:17:26.833Z] Removing intermediate container 9dee72a0c146 [2020-10-19T07:17:26.833Z] ---> 6ed81a9eeee2 [2020-10-19T07:17:26.833Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:17:26.833Z] ---> Running in c71e0c5a0a3e [2020-10-19T07:17:29.466Z] Removing intermediate container c71e0c5a0a3e [2020-10-19T07:17:29.466Z] ---> 1e9241dde5bc [2020-10-19T07:17:29.466Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:17:29.466Z] ---> Running in fb152b2d9246 [2020-10-19T07:17:30.904Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:17:31.878Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:17:32.861Z] OK: 142 MiB in 39 packages [2020-10-19T07:17:33.844Z] Removing intermediate container fb152b2d9246 [2020-10-19T07:17:33.844Z] ---> b311955d2e63 [2020-10-19T07:17:33.844Z] Step 8/24 : COPY . . [2020-10-19T07:17:35.285Z] ---> bed3f22df59d [2020-10-19T07:17:35.285Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:17:35.285Z] ---> Running in def55a45ae56 [2020-10-19T07:17:36.725Z] 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 [2020-10-19T07:18:03.573Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:18:05.571Z] Removing intermediate container def55a45ae56 [2020-10-19T07:18:05.571Z] ---> d46ec9f7a690 [2020-10-19T07:18:05.571Z] Step 10/24 : FROM scratch [2020-10-19T07:18:05.571Z] ---> [2020-10-19T07:18:05.571Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:18:05.571Z] ---> Running in 55b1d5bd1215 [2020-10-19T07:18:06.168Z] Removing intermediate container 55b1d5bd1215 [2020-10-19T07:18:06.168Z] ---> b629bfb8ae55 [2020-10-19T07:18:06.168Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:18:06.168Z] ---> Running in 853c47ce592a [2020-10-19T07:18:06.765Z] Removing intermediate container 853c47ce592a [2020-10-19T07:18:06.765Z] ---> 0785abcfc0f0 [2020-10-19T07:18:06.765Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:18:06.765Z] ---> Running in dadda1fc2ed5 [2020-10-19T07:18:07.038Z] Removing intermediate container dadda1fc2ed5 [2020-10-19T07:18:07.038Z] ---> 865e6029cecf [2020-10-19T07:18:07.038Z] Step 14/24 : WORKDIR / [2020-10-19T07:18:07.314Z] ---> Running in 1260998b4a5d [2020-10-19T07:18:07.588Z] Removing intermediate container 1260998b4a5d [2020-10-19T07:18:07.588Z] ---> e4af343d60e8 [2020-10-19T07:18:07.588Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:18:09.035Z] ---> 24611b2513eb [2020-10-19T07:18:09.035Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:18:09.634Z] ---> cba8abd9e4ce [2020-10-19T07:18:09.634Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:18:10.622Z] ---> d55085749d14 [2020-10-19T07:18:10.622Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:18:11.222Z] ---> b12789355d51 [2020-10-19T07:18:11.222Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:18:11.821Z] ---> adf6f035ca7b [2020-10-19T07:18:11.821Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:18:12.109Z] ---> Running in 69a251650e85 [2020-10-19T07:18:12.394Z] Removing intermediate container 69a251650e85 [2020-10-19T07:18:12.394Z] ---> dbb6d885f649 [2020-10-19T07:18:12.394Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:18:12.670Z] ---> Running in e4cecc397faa [2020-10-19T07:18:13.268Z] Removing intermediate container e4cecc397faa [2020-10-19T07:18:13.268Z] ---> 69f90329623d [2020-10-19T07:18:13.268Z] Step 22/24 : LABEL arch=arm64 [2020-10-19T07:18:13.268Z] ---> Running in 3995fde31419 [2020-10-19T07:18:13.866Z] Removing intermediate container 3995fde31419 [2020-10-19T07:18:13.866Z] ---> e59897100bbe [2020-10-19T07:18:13.866Z] Step 23/24 : LABEL git_sha=af773452b0b919b6d7fecf3302e438e42853c964 [2020-10-19T07:18:13.866Z] ---> Running in 82157c005ee7 [2020-10-19T07:18:14.468Z] Removing intermediate container 82157c005ee7 [2020-10-19T07:18:14.468Z] ---> 8d71f886967c [2020-10-19T07:18:14.468Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:18:14.468Z] ---> Running in 31e0e7dacf97 [2020-10-19T07:18:15.063Z] Removing intermediate container 31e0e7dacf97 [2020-10-19T07:18:15.063Z] ---> c1e7272ca5ae [2020-10-19T07:18:15.063Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:18:15.063Z] Successfully built c1e7272ca5ae [2020-10-19T07:18:15.063Z] 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 [2020-10-19T07:18:16.758Z] provisioning config files... [2020-10-19T07:18:16.774Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config1263479517992560039tmp [Pipeline] { [Pipeline] sh [2020-10-19T07:18:17.143Z] + set +x [2020-10-19T07:18:17.143Z] + curl -s https://codecov.io/bash [2020-10-19T07:18:17.143Z] + bash -s -- [2020-10-19T07:18:17.143Z] [2020-10-19T07:18:17.143Z] _____ _ [2020-10-19T07:18:17.143Z] / ____| | | [2020-10-19T07:18:17.143Z] | | ___ __| | ___ ___ _____ __ [2020-10-19T07:18:17.143Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-19T07:18:17.143Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-19T07:18:17.143Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-19T07:18:17.143Z] Bash-20201009-048fee3 [2020-10-19T07:18:17.143Z] [2020-10-19T07:18:17.143Z] [2020-10-19T07:18:17.143Z] ==> Jenkins CI detected. [2020-10-19T07:18:17.143Z] project root: . [2020-10-19T07:18:17.405Z] Fixing merge commit SHA [2020-10-19T07:18:17.405Z] --> token set from env [2020-10-19T07:18:17.405Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-19T07:18:17.405Z] ==> Running gcov in . (disable via -X gcov) [2020-10-19T07:18:17.405Z] ==> Python coveragepy not found [2020-10-19T07:18:17.405Z] ==> Searching for coverage reports in: [2020-10-19T07:18:17.405Z] + . [2020-10-19T07:18:17.405Z] -> Found 1 reports [2020-10-19T07:18:17.405Z] ==> Detecting git/mercurial file structure [2020-10-19T07:18:17.405Z] ==> Reading reports [2020-10-19T07:18:17.405Z] + ./coverage.out bytes=110398 [2020-10-19T07:18:17.405Z] ==> Appending adjustments [2020-10-19T07:18:17.405Z] https://docs.codecov.io/docs/fixing-reports [2020-10-19T07:18:17.665Z] + Found adjustments [2020-10-19T07:18:17.666Z] ==> Gzipping contents [2020-10-19T07:18:17.666Z] ==> Uploading reports [2020-10-19T07:18:17.666Z] url: https://codecov.io [2020-10-19T07:18:17.666Z] query: branch=PR-614&commit=2d9730a214a0d2600c47b6e1f4d312ee14057382&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-19T07:18:17.666Z] -> Pinging Codecov [2020-10-19T07:18:17.666Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-614&commit=2d9730a214a0d2600c47b6e1f4d312ee14057382&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-19T07:18:17.928Z] -> Uploading to [2020-10-19T07:18:17.928Z] [2020-10-19T07:18:17.928Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:18:17.928Z] Dload Upload Total Spent Left Speed [2020-10-19T07:18:17.928Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-19T07:18:17.928Z] X> Failed to upload [2020-10-19T07:18:17.928Z] ==> Uploading to Codecov [2020-10-19T07:18:17.928Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:18:17.928Z] Dload Upload Total Spent Left Speed [2020-10-19T07:18:18.502Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19144 0 0 100 19034 0 38401 --:--:-- --:--:-- --:--:-- 38375 100 19144 100 110 100 19034 221 38387 --:--:-- --:--:-- --:--:-- 38375 [2020-10-19T07:18:18.502Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2d9730a214a0d2600c47b6e1f4d312ee14057382 [Pipeline] } [2020-10-19T07:18:18.512Z] 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 [2020-10-19T07:18:21.074Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:18:21.643Z] ---> package-listing.sh [2020-10-19T07:18:21.643Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-19T07:18:21.643Z] ++ facter osfamily [2020-10-19T07:18:21.643Z] + OS_FAMILY=redhat [2020-10-19T07:18:21.643Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-19T07:18:21.643Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-19T07:18:21.643Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-19T07:18:21.643Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-19T07:18:21.643Z] + PACKAGES=/tmp/packages_start.txt [2020-10-19T07:18:21.643Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-19T07:18:21.643Z] + PACKAGES=/tmp/packages_end.txt [2020-10-19T07:18:21.643Z] + case "${OS_FAMILY}" in [2020-10-19T07:18:21.643Z] + rpm -qa [2020-10-19T07:18:21.643Z] + sort [2020-10-19T07:18:25.858Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-19T07:18:25.858Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-19T07:18:25.859Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-19T07:18:25.859Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-19T07:18:25.859Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [2020-10-19T07:18:25.859Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] echo [2020-10-19T07:18:25.874Z] 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-614/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-19T07:18:26.163Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:18:26.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:18:26.465Z] [2020-10-19T07:18:26.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:18:26.817Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:18:26.817Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-19T07:18:26.817Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:18:26.817Z] 36b3adc4ff6f: Pulling fs layer [2020-10-19T07:18:26.817Z] 8ad3a11d3b57: Pulling fs layer [2020-10-19T07:18:26.817Z] 46f8f816bc3b: Pulling fs layer [2020-10-19T07:18:26.817Z] 93b61091891f: Pulling fs layer [2020-10-19T07:18:26.817Z] 93b9cdb0e59b: Pulling fs layer [2020-10-19T07:18:26.817Z] 5e14af77c1be: Pulling fs layer [2020-10-19T07:18:26.817Z] 01666e4c0597: Pulling fs layer [2020-10-19T07:18:26.817Z] aa168da1d23b: Pulling fs layer [2020-10-19T07:18:26.817Z] 93b9cdb0e59b: Waiting [2020-10-19T07:18:26.817Z] 46f8f816bc3b: Waiting [2020-10-19T07:18:26.817Z] 93b61091891f: Waiting [2020-10-19T07:18:26.817Z] 5e14af77c1be: Waiting [2020-10-19T07:18:26.817Z] aa168da1d23b: Waiting [2020-10-19T07:18:26.817Z] 01666e4c0597: Waiting [2020-10-19T07:18:26.817Z] 36b3adc4ff6f: Verifying Checksum [2020-10-19T07:18:26.817Z] 36b3adc4ff6f: Download complete [2020-10-19T07:18:26.817Z] 46f8f816bc3b: Verifying Checksum [2020-10-19T07:18:26.817Z] 46f8f816bc3b: Download complete [2020-10-19T07:18:26.817Z] df20fa9351a1: Download complete [2020-10-19T07:18:26.817Z] 93b9cdb0e59b: Verifying Checksum [2020-10-19T07:18:26.817Z] 93b9cdb0e59b: Download complete [2020-10-19T07:18:26.817Z] 5e14af77c1be: Verifying Checksum [2020-10-19T07:18:26.817Z] 5e14af77c1be: Download complete [2020-10-19T07:18:27.080Z] 01666e4c0597: Verifying Checksum [2020-10-19T07:18:27.080Z] 01666e4c0597: Download complete [2020-10-19T07:18:27.080Z] 93b61091891f: Verifying Checksum [2020-10-19T07:18:27.080Z] 93b61091891f: Download complete [2020-10-19T07:18:27.080Z] df20fa9351a1: Pull complete [2020-10-19T07:18:27.345Z] 36b3adc4ff6f: Pull complete [2020-10-19T07:18:27.346Z] 8ad3a11d3b57: Verifying Checksum [2020-10-19T07:18:27.346Z] 8ad3a11d3b57: Download complete [2020-10-19T07:18:27.923Z] 8ad3a11d3b57: Pull complete [2020-10-19T07:18:28.187Z] 46f8f816bc3b: Pull complete [2020-10-19T07:18:28.774Z] 93b61091891f: Pull complete [2020-10-19T07:18:28.774Z] 93b9cdb0e59b: Pull complete [2020-10-19T07:18:29.040Z] 5e14af77c1be: Pull complete [2020-10-19T07:18:29.040Z] aa168da1d23b: Verifying Checksum [2020-10-19T07:18:29.040Z] aa168da1d23b: Download complete [2020-10-19T07:18:29.040Z] 01666e4c0597: Pull complete [2020-10-19T07:18:35.668Z] aa168da1d23b: Pull complete [2020-10-19T07:18:35.668Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-19T07:18:35.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:18:35.668Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-19T07:18:35.824Z] prd-centos7-docker-4c-2g-6201 does not seem to be running inside a container [2020-10-19T07:18:35.868Z] $ 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-614/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-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-19T07:18:39.944Z] $ docker top 5bdd3bc3464ff060120061ac21b3d3623764cc0e0e9c4babb88aa5a1e846f747 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:18:40.408Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-19T07:18:40.703Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-19T07:18:40.998Z] + ls /var/log/sa-host [2020-10-19T07:18:40.998Z] + sadf -c /var/log/sa-host/sa05 [2020-10-19T07:18:40.998Z] file_magic: OK [2020-10-19T07:18:40.998Z] HZ: Using current value: 100 [2020-10-19T07:18:40.998Z] file_header: OK [2020-10-19T07:18:40.998Z] 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 [2020-10-19T07:18:40.998Z] Statistics: [2020-10-19T07:18:40.998Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:18:40.998Z] File successfully converted to sysstat format version 12.2.1 [2020-10-19T07:18:40.998Z] + sadf -c /var/log/sa-host/sa19 [2020-10-19T07:18:40.998Z] file_magic: OK [2020-10-19T07:18:40.998Z] HZ: Using current value: 100 [2020-10-19T07:18:40.998Z] file_header: OK [2020-10-19T07:18:40.998Z] 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 [2020-10-19T07:18:40.998Z] Statistics: [2020-10-19T07:18:40.998Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:18:40.998Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-19T07:18:41.239Z] provisioning config files... [2020-10-19T07:18:41.267Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config5298835956288795661tmp [Pipeline] { [Pipeline] echo [2020-10-19T07:18:41.334Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:18:41.639Z] ---> create-netrc.sh [Pipeline] } [2020-10-19T07:18:41.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-19T07:18:41.778Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:18:42.075Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-19T07:18:42.087Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:18:42.383Z] ---> sudo-logs.sh [2020-10-19T07:18:42.383Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-19T07:18:42.394Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:18:42.692Z] ---> job-cost.sh [2020-10-19T07:18:42.693Z] lf-activate-venv: SKIPPING [2020-10-19T07:18:42.693Z] INFO: No Stack... [2020-10-19T07:18:43.637Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-19T07:18:44.214Z] INFO: Archiving Costs [Pipeline] echo [2020-10-19T07:18:44.227Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:18:44.538Z] ---> logs-deploy.sh [2020-10-19T07:18:44.538Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/11 [2020-10-19T07:18:44.538Z] INFO: archiving workspace using pattern(s): [2020-10-19T07:18:45.933Z] Archives upload complete. [2020-10-19T07:18:45.933Z] INFO: archiving logs to Nexus